/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Reading Platform API * Reading Platform Backend Service API Documentation * OpenAPI spec version: 1.0.0 */ import type { BindStudentParams, ChangePasswordParams, ClassCreateRequest, ClassUpdateRequest, CompleteTaskParams, CourseCreateRequest, CourseLessonCreateRequest, CourseUpdateRequest, DeleteFileBody, FindAll1Params, FindAllItemsParams, FindAllLibrariesParams, GetActiveTeachersParams, GetClassPageParams, GetCoursePage1Params, GetCoursePageParams, GetGrowthRecordPage1Params, GetGrowthRecordPageParams, GetGrowthRecordsByStudentParams, GetLessonTrend1Params, GetLessonTrendParams, GetMyLessonsParams, GetMyNotifications1Params, GetMyNotificationsParams, GetParentPageParams, GetRecentActivitiesParams, GetRecentGrowthRecordsParams, GetStudentPageParams, GetTaskPage1Params, GetTaskPageParams, GetTasksByStudentParams, GetTeacherPageParams, GetTenantPageParams, GrowthRecordCreateRequest, GrowthRecordUpdateRequest, ItemCreateRequest, ItemUpdateRequest, LessonCreateRequest, LessonUpdateRequest, LibraryCreateRequest, LibraryUpdateRequest, LoginRequest, PackageCreateRequest, ParentCreateRequest, ParentUpdateRequest, RenewRequest, ResetPassword1Params, ResetPasswordParams, ReviewRequest, StepCreateRequest, StudentCreateRequest, StudentUpdateRequest, TaskCreateRequest, TaskUpdateRequest, TeacherCreateRequest, TeacherUpdateRequest, TenantCreateRequest, TenantUpdateRequest, ThemeCreateRequest, UploadFileBody, UploadFileParams } from './model'; import { customMutator } from './mutator'; export const getReadingPlatformAPI = () => { /** * @summary 查询主题详情 */ const findOne = ( id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/themes/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 更新主题 */ const update = ( id: number, themeCreateRequest: ThemeCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/themes/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: themeCreateRequest, responseType: 'blob' }, ); } /** * @summary 删除主题 */ const _delete = ( id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/themes/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary 重新排序主题 */ const reorder = ( reorderBody: number[], ) => { return customMutator( {url: `/api/v1/v1/admin/themes/reorder`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: reorderBody, responseType: 'blob' }, ); } /** * @summary 查询资源库详情 */ const findLibrary = ( id: string, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/libraries/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 更新资源库 */ const updateLibrary = ( id: string, libraryUpdateRequest: LibraryUpdateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/libraries/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: libraryUpdateRequest, responseType: 'blob' }, ); } /** * @summary 删除资源库 */ const deleteLibrary = ( id: string, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/libraries/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary 查询资源项目详情 */ const findItem = ( id: string, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/items/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 更新资源项目 */ const updateItem = ( id: string, itemUpdateRequest: ItemUpdateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/items/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: itemUpdateRequest, responseType: 'blob' }, ); } /** * @summary 删除资源项目 */ const deleteItem = ( id: string, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/items/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary 查询套餐详情 */ const findOne1 = ( id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 更新套餐 */ const update1 = ( id: number, packageCreateRequest: PackageCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: packageCreateRequest, responseType: 'blob' }, ); } /** * @summary 删除套餐 */ const delete1 = ( id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary 设置套餐课程 */ const setCourses = ( id: number, setCoursesBody: number[], ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}/courses`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: setCoursesBody, responseType: 'blob' }, ); } /** * @summary 重新排序教学环节 */ const reorderSteps = ( courseId: number, lessonId: number, reorderStepsBody: number[], ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/${lessonId}/steps/reorder`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: reorderStepsBody, responseType: 'blob' }, ); } /** * @summary 获取课程环节详情 */ const findOne2 = ( courseId: number, id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 更新课程环节 */ const update2 = ( courseId: number, id: number, courseLessonCreateRequest: CourseLessonCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: courseLessonCreateRequest, responseType: 'blob' }, ); } /** * @summary 删除课程环节 */ const delete2 = ( courseId: number, id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary 更新教学环节 */ const updateStep = ( courseId: number, stepId: number, stepCreateRequest: StepCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/steps/${stepId}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: stepCreateRequest, responseType: 'blob' }, ); } /** * @summary 删除教学环节 */ const removeStep = ( courseId: number, stepId: number, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/steps/${stepId}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary 重新排序课程环节 */ const reorder1 = ( courseId: number, reorder1Body: number[], ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/reorder`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: reorder1Body, responseType: 'blob' }, ); } /** * @summary Get task by ID */ const getTask = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/tasks/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update task */ const updateTask = ( id: number, taskUpdateRequest: TaskUpdateRequest, ) => { return customMutator( {url: `/api/v1/teacher/tasks/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: taskUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete task */ const deleteTask = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/tasks/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get lesson by ID */ const getLesson = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/lessons/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update lesson */ const updateLesson = ( id: number, lessonUpdateRequest: LessonUpdateRequest, ) => { return customMutator( {url: `/api/v1/teacher/lessons/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: lessonUpdateRequest, responseType: 'blob' }, ); } /** * @summary Get growth record by ID */ const getGrowthRecord = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/growth-records/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update growth record */ const updateGrowthRecord = ( id: number, growthRecordUpdateRequest: GrowthRecordUpdateRequest, ) => { return customMutator( {url: `/api/v1/teacher/growth-records/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: growthRecordUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete growth record */ const deleteGrowthRecord = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/growth-records/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get teacher by ID */ const getTeacher = ( id: number, ) => { return customMutator( {url: `/api/v1/school/teachers/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update teacher */ const updateTeacher = ( id: number, teacherUpdateRequest: TeacherUpdateRequest, ) => { return customMutator( {url: `/api/v1/school/teachers/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: teacherUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete teacher */ const deleteTeacher = ( id: number, ) => { return customMutator( {url: `/api/v1/school/teachers/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get task by ID */ const getTask1 = ( id: number, ) => { return customMutator( {url: `/api/v1/school/tasks/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update task */ const updateTask1 = ( id: number, taskUpdateRequest: TaskUpdateRequest, ) => { return customMutator( {url: `/api/v1/school/tasks/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: taskUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete task */ const deleteTask1 = ( id: number, ) => { return customMutator( {url: `/api/v1/school/tasks/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get student by ID */ const getStudent = ( id: number, ) => { return customMutator( {url: `/api/v1/school/students/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update student */ const updateStudent = ( id: number, studentUpdateRequest: StudentUpdateRequest, ) => { return customMutator( {url: `/api/v1/school/students/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: studentUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete student */ const deleteStudent = ( id: number, ) => { return customMutator( {url: `/api/v1/school/students/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get parent by ID */ const getParent = ( id: number, ) => { return customMutator( {url: `/api/v1/school/parents/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update parent */ const updateParent = ( id: number, parentUpdateRequest: ParentUpdateRequest, ) => { return customMutator( {url: `/api/v1/school/parents/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: parentUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete parent */ const deleteParent = ( id: number, ) => { return customMutator( {url: `/api/v1/school/parents/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get growth record by ID */ const getGrowthRecord1 = ( id: number, ) => { return customMutator( {url: `/api/v1/school/growth-records/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update growth record */ const updateGrowthRecord1 = ( id: number, growthRecordUpdateRequest: GrowthRecordUpdateRequest, ) => { return customMutator( {url: `/api/v1/school/growth-records/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: growthRecordUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete growth record */ const deleteGrowthRecord1 = ( id: number, ) => { return customMutator( {url: `/api/v1/school/growth-records/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get class by ID */ const getClass = ( id: number, ) => { return customMutator( {url: `/api/v1/school/classes/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update class */ const updateClass = ( id: number, classUpdateRequest: ClassUpdateRequest, ) => { return customMutator( {url: `/api/v1/school/classes/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: classUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete class */ const deleteClass = ( id: number, ) => { return customMutator( {url: `/api/v1/school/classes/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get growth record by ID */ const getGrowthRecord2 = ( id: number, ) => { return customMutator( {url: `/api/v1/parent/growth-records/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update growth record */ const updateGrowthRecord2 = ( id: number, growthRecordUpdateRequest: GrowthRecordUpdateRequest, ) => { return customMutator( {url: `/api/v1/parent/growth-records/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: growthRecordUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete growth record */ const deleteGrowthRecord2 = ( id: number, ) => { return customMutator( {url: `/api/v1/parent/growth-records/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get tenant by ID */ const getTenant = ( id: number, ) => { return customMutator( {url: `/api/v1/admin/tenants/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update tenant */ const updateTenant = ( id: number, tenantUpdateRequest: TenantUpdateRequest, ) => { return customMutator( {url: `/api/v1/admin/tenants/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: tenantUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete tenant */ const deleteTenant = ( id: number, ) => { return customMutator( {url: `/api/v1/admin/tenants/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Get course by ID */ const getCourse1 = ( id: number, ) => { return customMutator( {url: `/api/v1/admin/courses/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Update course */ const updateCourse = ( id: number, courseUpdateRequest: CourseUpdateRequest, ) => { return customMutator( {url: `/api/v1/admin/courses/${id}`, method: 'PUT', headers: {'Content-Type': 'application/json', }, data: courseUpdateRequest, responseType: 'blob' }, ); } /** * @summary Delete course */ const deleteCourse = ( id: number, ) => { return customMutator( {url: `/api/v1/admin/courses/${id}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary 上传文件 */ const uploadFile = ( uploadFileBody: UploadFileBody, params?: UploadFileParams, ) => { return customMutator( {url: `/api/v1/v1/files/upload`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: uploadFileBody, params, responseType: 'blob' }, ); } /** * @summary 查询所有主题 */ const findAll = ( ) => { return customMutator( {url: `/api/v1/v1/admin/themes`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 创建主题 */ const create = ( themeCreateRequest: ThemeCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/themes`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: themeCreateRequest, responseType: 'blob' }, ); } /** * @summary 分页查询资源库 */ const findAllLibraries = ( params?: FindAllLibrariesParams, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/libraries`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary 创建资源库 */ const createLibrary = ( libraryCreateRequest: LibraryCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/libraries`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: libraryCreateRequest, responseType: 'blob' }, ); } /** * @summary 分页查询资源项目 */ const findAllItems = ( params?: FindAllItemsParams, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/items`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary 创建资源项目 */ const createItem = ( itemCreateRequest: ItemCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/resources/items`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: itemCreateRequest, responseType: 'blob' }, ); } /** * @summary 批量删除资源项目 */ const batchDeleteItems = ( batchDeleteItemsBody: string[], ) => { return customMutator( {url: `/api/v1/v1/admin/resources/items/batch-delete`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: batchDeleteItemsBody, responseType: 'blob' }, ); } /** * @summary 分页查询套餐 */ const findAll1 = ( params?: FindAll1Params, ) => { return customMutator( {url: `/api/v1/v1/admin/packages`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary 创建套餐 */ const create1 = ( packageCreateRequest: PackageCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/packages`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: packageCreateRequest, responseType: 'blob' }, ); } /** * @summary 提交审核 */ const submit = ( id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}/submit`, method: 'POST', responseType: 'blob' }, ); } /** * @summary 审核套餐 */ const review = ( id: number, reviewRequest: ReviewRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}/review`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: reviewRequest, responseType: 'blob' }, ); } /** * @summary 发布套餐 */ const publish = ( id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}/publish`, method: 'POST', responseType: 'blob' }, ); } /** * @summary 下线套餐 */ const offline = ( id: number, ) => { return customMutator( {url: `/api/v1/v1/admin/packages/${id}/offline`, method: 'POST', responseType: 'blob' }, ); } /** * @summary 获取课程的所有环节 */ const findAll2 = ( courseId: number, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 创建课程环节 */ const create2 = ( courseId: number, courseLessonCreateRequest: CourseLessonCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: courseLessonCreateRequest, responseType: 'blob' }, ); } /** * @summary 获取课时的教学环节 */ const findSteps = ( courseId: number, lessonId: number, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/${lessonId}/steps`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 创建教学环节 */ const createStep = ( courseId: number, lessonId: number, stepCreateRequest: StepCreateRequest, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/${lessonId}/steps`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: stepCreateRequest, responseType: 'blob' }, ); } /** * @summary Get task page */ const getTaskPage = ( params?: GetTaskPageParams, ) => { return customMutator( {url: `/api/v1/teacher/tasks`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create task */ const createTask = ( taskCreateRequest: TaskCreateRequest, ) => { return customMutator( {url: `/api/v1/teacher/tasks`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: taskCreateRequest, responseType: 'blob' }, ); } /** * @summary Mark notification as read */ const markAsRead = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/notifications/${id}/read`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Mark all notifications as read */ const markAllAsRead = ( ) => { return customMutator( {url: `/api/v1/teacher/notifications/read-all`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Get my lessons */ const getMyLessons = ( params?: GetMyLessonsParams, ) => { return customMutator( {url: `/api/v1/teacher/lessons`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create lesson */ const createLesson = ( lessonCreateRequest: LessonCreateRequest, ) => { return customMutator( {url: `/api/v1/teacher/lessons`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: lessonCreateRequest, responseType: 'blob' }, ); } /** * @summary Start lesson */ const startLesson = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/lessons/${id}/start`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Complete lesson */ const completeLesson = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/lessons/${id}/complete`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Cancel lesson */ const cancelLesson = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/lessons/${id}/cancel`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Get growth record page */ const getGrowthRecordPage = ( params?: GetGrowthRecordPageParams, ) => { return customMutator( {url: `/api/v1/teacher/growth-records`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create growth record */ const createGrowthRecord = ( growthRecordCreateRequest: GrowthRecordCreateRequest, ) => { return customMutator( {url: `/api/v1/teacher/growth-records`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: growthRecordCreateRequest, responseType: 'blob' }, ); } /** * @summary Get teacher page */ const getTeacherPage = ( params?: GetTeacherPageParams, ) => { return customMutator( {url: `/api/v1/school/teachers`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create teacher */ const createTeacher = ( teacherCreateRequest: TeacherCreateRequest, ) => { return customMutator( {url: `/api/v1/school/teachers`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: teacherCreateRequest, responseType: 'blob' }, ); } /** * @summary Reset teacher password */ const resetPassword = ( id: number, params: ResetPasswordParams, ) => { return customMutator( {url: `/api/v1/school/teachers/${id}/reset-password`, method: 'POST', params, responseType: 'blob' }, ); } /** * @summary Get task page */ const getTaskPage1 = ( params?: GetTaskPage1Params, ) => { return customMutator( {url: `/api/v1/school/tasks`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create task */ const createTask1 = ( taskCreateRequest: TaskCreateRequest, ) => { return customMutator( {url: `/api/v1/school/tasks`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: taskCreateRequest, responseType: 'blob' }, ); } /** * @summary Get student page */ const getStudentPage = ( params?: GetStudentPageParams, ) => { return customMutator( {url: `/api/v1/school/students`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create student */ const createStudent = ( studentCreateRequest: StudentCreateRequest, ) => { return customMutator( {url: `/api/v1/school/students`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: studentCreateRequest, responseType: 'blob' }, ); } /** * @summary Get parent page */ const getParentPage = ( params?: GetParentPageParams, ) => { return customMutator( {url: `/api/v1/school/parents`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create parent */ const createParent = ( parentCreateRequest: ParentCreateRequest, ) => { return customMutator( {url: `/api/v1/school/parents`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: parentCreateRequest, responseType: 'blob' }, ); } /** * @summary Bind student to parent */ const bindStudent = ( parentId: number, studentId: number, params?: BindStudentParams, ) => { return customMutator( {url: `/api/v1/school/parents/${parentId}/students/${studentId}`, method: 'POST', params, responseType: 'blob' }, ); } /** * @summary Unbind student from parent */ const unbindStudent = ( parentId: number, studentId: number, ) => { return customMutator( {url: `/api/v1/school/parents/${parentId}/students/${studentId}`, method: 'DELETE', responseType: 'blob' }, ); } /** * @summary Reset parent password */ const resetPassword1 = ( id: number, params: ResetPassword1Params, ) => { return customMutator( {url: `/api/v1/school/parents/${id}/reset-password`, method: 'POST', params, responseType: 'blob' }, ); } /** * @summary 续费套餐 */ const renewPackage = ( id: number, renewRequest: RenewRequest, ) => { return customMutator( {url: `/api/v1/school/packages/${id}/renew`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: renewRequest, responseType: 'blob' }, ); } /** * @summary Get growth record page */ const getGrowthRecordPage1 = ( params?: GetGrowthRecordPage1Params, ) => { return customMutator( {url: `/api/v1/school/growth-records`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create growth record */ const createGrowthRecord1 = ( growthRecordCreateRequest: GrowthRecordCreateRequest, ) => { return customMutator( {url: `/api/v1/school/growth-records`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: growthRecordCreateRequest, responseType: 'blob' }, ); } /** * @summary Get class page */ const getClassPage = ( params?: GetClassPageParams, ) => { return customMutator( {url: `/api/v1/school/classes`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create class */ const createClass = ( classCreateRequest: ClassCreateRequest, ) => { return customMutator( {url: `/api/v1/school/classes`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: classCreateRequest, responseType: 'blob' }, ); } /** * @summary Assign teachers to class */ const assignTeachers = ( id: number, assignTeachersBody: number[], ) => { return customMutator( {url: `/api/v1/school/classes/${id}/teachers`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: assignTeachersBody, responseType: 'blob' }, ); } /** * @summary Assign students to class */ const assignStudents = ( id: number, assignStudentsBody: number[], ) => { return customMutator( {url: `/api/v1/school/classes/${id}/students`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: assignStudentsBody, responseType: 'blob' }, ); } /** * @summary Complete task */ const completeTask = ( taskId: number, params: CompleteTaskParams, ) => { return customMutator( {url: `/api/v1/parent/tasks/${taskId}/complete`, method: 'POST', params, responseType: 'blob' }, ); } /** * @summary Mark notification as read */ const markAsRead1 = ( id: number, ) => { return customMutator( {url: `/api/v1/parent/notifications/${id}/read`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Mark all notifications as read */ const markAllAsRead1 = ( ) => { return customMutator( {url: `/api/v1/parent/notifications/read-all`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Create growth record */ const createGrowthRecord2 = ( growthRecordCreateRequest: GrowthRecordCreateRequest, ) => { return customMutator( {url: `/api/v1/parent/growth-records`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: growthRecordCreateRequest, responseType: 'blob' }, ); } /** * @summary User login */ const login = ( loginRequest: LoginRequest, ) => { return customMutator( {url: `/api/v1/auth/login`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: loginRequest, responseType: 'blob' }, ); } /** * @summary Change password */ const changePassword = ( params: ChangePasswordParams, ) => { return customMutator( {url: `/api/v1/auth/change-password`, method: 'POST', params, responseType: 'blob' }, ); } /** * @summary Get tenant page */ const getTenantPage = ( params?: GetTenantPageParams, ) => { return customMutator( {url: `/api/v1/admin/tenants`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create tenant */ const createTenant = ( tenantCreateRequest: TenantCreateRequest, ) => { return customMutator( {url: `/api/v1/admin/tenants`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: tenantCreateRequest, responseType: 'blob' }, ); } /** * @summary Get system course page */ const getCoursePage1 = ( params?: GetCoursePage1Params, ) => { return customMutator( {url: `/api/v1/admin/courses`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Create system course */ const createCourse = ( courseCreateRequest: CourseCreateRequest, ) => { return customMutator( {url: `/api/v1/admin/courses`, method: 'POST', headers: {'Content-Type': 'application/json', }, data: courseCreateRequest, responseType: 'blob' }, ); } /** * @summary Publish course */ const publishCourse = ( id: number, ) => { return customMutator( {url: `/api/v1/admin/courses/${id}/publish`, method: 'POST', responseType: 'blob' }, ); } /** * @summary Archive course */ const archiveCourse = ( id: number, ) => { return customMutator( {url: `/api/v1/admin/courses/${id}/archive`, method: 'POST', responseType: 'blob' }, ); } /** * @summary 获取统计数据 */ const getStats = ( ) => { return customMutator( {url: `/api/v1/v1/admin/resources/stats`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 按类型获取课程环节 */ const findByType = ( courseId: number, lessonType: string, ) => { return customMutator( {url: `/api/v1/v1/admin/courses/${courseId}/lessons/type/${lessonType}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取本周统计 */ const getWeeklyStats = ( ) => { return customMutator( {url: `/api/v1/teacher/weekly-stats`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取今日课程 */ const getTodayLessons = ( ) => { return customMutator( {url: `/api/v1/teacher/today-lessons`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取推荐课程 */ const getRecommendedCourses = ( ) => { return customMutator( {url: `/api/v1/teacher/recommended-courses`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get my notifications */ const getMyNotifications = ( params?: GetMyNotificationsParams, ) => { return customMutator( {url: `/api/v1/teacher/notifications`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Get notification by ID */ const getNotification = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/notifications/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get unread count */ const getUnreadCount = ( ) => { return customMutator( {url: `/api/v1/teacher/notifications/unread-count`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get today's lessons */ const getTodayLessons1 = ( ) => { return customMutator( {url: `/api/v1/teacher/lessons/today`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取授课趋势 */ const getLessonTrend = ( params?: GetLessonTrendParams, ) => { return customMutator( {url: `/api/v1/teacher/lesson-trend`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary 获取教师端首页统计数据 */ const getDashboard = ( ) => { return customMutator( {url: `/api/v1/teacher/dashboard`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get course page */ const getCoursePage = ( params?: GetCoursePageParams, ) => { return customMutator( {url: `/api/v1/teacher/courses`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Get course by ID */ const getCourse = ( id: number, ) => { return customMutator( {url: `/api/v1/teacher/courses/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get all courses */ const getAllCourses = ( ) => { return customMutator( {url: `/api/v1/teacher/courses/all`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取课程使用统计 */ const getCourseUsage = ( ) => { return customMutator( {url: `/api/v1/teacher/course-usage`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get teacher's classes */ const getClasses = ( ) => { return customMutator( {url: `/api/v1/teacher/classes`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取学校统计数据 */ const getSchoolStats = ( ) => { return customMutator( {url: `/api/v1/school/stats`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取活跃教师排行 */ const getActiveTeachers = ( params?: GetActiveTeachersParams, ) => { return customMutator( {url: `/api/v1/school/stats/teachers`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary 获取授课趋势 */ const getLessonTrend1 = ( params?: GetLessonTrend1Params, ) => { return customMutator( {url: `/api/v1/school/stats/lesson-trend`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary 获取课程使用统计 */ const getCourseUsageStats = ( ) => { return customMutator( {url: `/api/v1/school/stats/courses`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取课程分布 */ const getCourseDistribution = ( ) => { return customMutator( {url: `/api/v1/school/stats/course-distribution`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取近期活动 */ const getRecentActivities = ( params?: GetRecentActivitiesParams, ) => { return customMutator( {url: `/api/v1/school/stats/activities`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary 查询租户套餐 */ const findTenantPackages = ( ) => { return customMutator( {url: `/api/v1/school/packages`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取学校课程列表 */ const getSchoolCourses = ( ) => { return customMutator( {url: `/api/v1/school/courses`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 获取课程详情 */ const getSchoolCourse = ( id: number, ) => { return customMutator( {url: `/api/v1/school/courses/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get task by ID */ const getTask2 = ( id: number, ) => { return customMutator( {url: `/api/v1/parent/tasks/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get tasks by student ID */ const getTasksByStudent = ( studentId: number, params?: GetTasksByStudentParams, ) => { return customMutator( {url: `/api/v1/parent/tasks/student/${studentId}`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Get my notifications */ const getMyNotifications1 = ( params?: GetMyNotifications1Params, ) => { return customMutator( {url: `/api/v1/parent/notifications`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Get notification by ID */ const getNotification1 = ( id: number, ) => { return customMutator( {url: `/api/v1/parent/notifications/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get unread count */ const getUnreadCount1 = ( ) => { return customMutator( {url: `/api/v1/parent/notifications/unread-count`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get growth records by student ID */ const getGrowthRecordsByStudent = ( studentId: number, params?: GetGrowthRecordsByStudentParams, ) => { return customMutator( {url: `/api/v1/parent/growth-records/student/${studentId}`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Get recent growth records */ const getRecentGrowthRecords = ( studentId: number, params?: GetRecentGrowthRecordsParams, ) => { return customMutator( {url: `/api/v1/parent/growth-records/student/${studentId}/recent`, method: 'GET', params, responseType: 'blob' }, ); } /** * @summary Get my children */ const getMyChildren = ( ) => { return customMutator( {url: `/api/v1/parent/children`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get child by ID */ const getChild = ( id: number, ) => { return customMutator( {url: `/api/v1/parent/children/${id}`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get current user info */ const getCurrentUser = ( ) => { return customMutator( {url: `/api/v1/auth/me`, method: 'GET', responseType: 'blob' }, ); } /** * @summary Get all active tenants */ const getAllActiveTenants = ( ) => { return customMutator( {url: `/api/v1/admin/tenants/active`, method: 'GET', responseType: 'blob' }, ); } /** * @summary 删除文件 */ const deleteFile = ( deleteFileBody: DeleteFileBody, ) => { return customMutator( {url: `/api/v1/v1/files/delete`, method: 'DELETE', headers: {'Content-Type': 'application/json', }, data: deleteFileBody, responseType: 'blob' }, ); } return {findOne,update,_delete,reorder,findLibrary,updateLibrary,deleteLibrary,findItem,updateItem,deleteItem,findOne1,update1,delete1,setCourses,reorderSteps,findOne2,update2,delete2,updateStep,removeStep,reorder1,getTask,updateTask,deleteTask,getLesson,updateLesson,getGrowthRecord,updateGrowthRecord,deleteGrowthRecord,getTeacher,updateTeacher,deleteTeacher,getTask1,updateTask1,deleteTask1,getStudent,updateStudent,deleteStudent,getParent,updateParent,deleteParent,getGrowthRecord1,updateGrowthRecord1,deleteGrowthRecord1,getClass,updateClass,deleteClass,getGrowthRecord2,updateGrowthRecord2,deleteGrowthRecord2,getTenant,updateTenant,deleteTenant,getCourse1,updateCourse,deleteCourse,uploadFile,findAll,create,findAllLibraries,createLibrary,findAllItems,createItem,batchDeleteItems,findAll1,create1,submit,review,publish,offline,findAll2,create2,findSteps,createStep,getTaskPage,createTask,markAsRead,markAllAsRead,getMyLessons,createLesson,startLesson,completeLesson,cancelLesson,getGrowthRecordPage,createGrowthRecord,getTeacherPage,createTeacher,resetPassword,getTaskPage1,createTask1,getStudentPage,createStudent,getParentPage,createParent,bindStudent,unbindStudent,resetPassword1,renewPackage,getGrowthRecordPage1,createGrowthRecord1,getClassPage,createClass,assignTeachers,assignStudents,completeTask,markAsRead1,markAllAsRead1,createGrowthRecord2,login,changePassword,getTenantPage,createTenant,getCoursePage1,createCourse,publishCourse,archiveCourse,getStats,findByType,getWeeklyStats,getTodayLessons,getRecommendedCourses,getMyNotifications,getNotification,getUnreadCount,getTodayLessons1,getLessonTrend,getDashboard,getCoursePage,getCourse,getAllCourses,getCourseUsage,getClasses,getSchoolStats,getActiveTeachers,getLessonTrend1,getCourseUsageStats,getCourseDistribution,getRecentActivities,findTenantPackages,getSchoolCourses,getSchoolCourse,getTask2,getTasksByStudent,getMyNotifications1,getNotification1,getUnreadCount1,getGrowthRecordsByStudent,getRecentGrowthRecords,getMyChildren,getChild,getCurrentUser,getAllActiveTenants,deleteFile}}; export type FindOneResult = NonNullable['findOne']>>> export type UpdateResult = NonNullable['update']>>> export type _DeleteResult = NonNullable['_delete']>>> export type ReorderResult = NonNullable['reorder']>>> export type FindLibraryResult = NonNullable['findLibrary']>>> export type UpdateLibraryResult = NonNullable['updateLibrary']>>> export type DeleteLibraryResult = NonNullable['deleteLibrary']>>> export type FindItemResult = NonNullable['findItem']>>> export type UpdateItemResult = NonNullable['updateItem']>>> export type DeleteItemResult = NonNullable['deleteItem']>>> export type FindOne1Result = NonNullable['findOne1']>>> export type Update1Result = NonNullable['update1']>>> export type Delete1Result = NonNullable['delete1']>>> export type SetCoursesResult = NonNullable['setCourses']>>> export type ReorderStepsResult = NonNullable['reorderSteps']>>> export type FindOne2Result = NonNullable['findOne2']>>> export type Update2Result = NonNullable['update2']>>> export type Delete2Result = NonNullable['delete2']>>> export type UpdateStepResult = NonNullable['updateStep']>>> export type RemoveStepResult = NonNullable['removeStep']>>> export type Reorder1Result = NonNullable['reorder1']>>> export type GetTaskResult = NonNullable['getTask']>>> export type UpdateTaskResult = NonNullable['updateTask']>>> export type DeleteTaskResult = NonNullable['deleteTask']>>> export type GetLessonResult = NonNullable['getLesson']>>> export type UpdateLessonResult = NonNullable['updateLesson']>>> export type GetGrowthRecordResult = NonNullable['getGrowthRecord']>>> export type UpdateGrowthRecordResult = NonNullable['updateGrowthRecord']>>> export type DeleteGrowthRecordResult = NonNullable['deleteGrowthRecord']>>> export type GetTeacherResult = NonNullable['getTeacher']>>> export type UpdateTeacherResult = NonNullable['updateTeacher']>>> export type DeleteTeacherResult = NonNullable['deleteTeacher']>>> export type GetTask1Result = NonNullable['getTask1']>>> export type UpdateTask1Result = NonNullable['updateTask1']>>> export type DeleteTask1Result = NonNullable['deleteTask1']>>> export type GetStudentResult = NonNullable['getStudent']>>> export type UpdateStudentResult = NonNullable['updateStudent']>>> export type DeleteStudentResult = NonNullable['deleteStudent']>>> export type GetParentResult = NonNullable['getParent']>>> export type UpdateParentResult = NonNullable['updateParent']>>> export type DeleteParentResult = NonNullable['deleteParent']>>> export type GetGrowthRecord1Result = NonNullable['getGrowthRecord1']>>> export type UpdateGrowthRecord1Result = NonNullable['updateGrowthRecord1']>>> export type DeleteGrowthRecord1Result = NonNullable['deleteGrowthRecord1']>>> export type GetClassResult = NonNullable['getClass']>>> export type UpdateClassResult = NonNullable['updateClass']>>> export type DeleteClassResult = NonNullable['deleteClass']>>> export type GetGrowthRecord2Result = NonNullable['getGrowthRecord2']>>> export type UpdateGrowthRecord2Result = NonNullable['updateGrowthRecord2']>>> export type DeleteGrowthRecord2Result = NonNullable['deleteGrowthRecord2']>>> export type GetTenantResult = NonNullable['getTenant']>>> export type UpdateTenantResult = NonNullable['updateTenant']>>> export type DeleteTenantResult = NonNullable['deleteTenant']>>> export type GetCourse1Result = NonNullable['getCourse1']>>> export type UpdateCourseResult = NonNullable['updateCourse']>>> export type DeleteCourseResult = NonNullable['deleteCourse']>>> export type UploadFileResult = NonNullable['uploadFile']>>> export type FindAllResult = NonNullable['findAll']>>> export type CreateResult = NonNullable['create']>>> export type FindAllLibrariesResult = NonNullable['findAllLibraries']>>> export type CreateLibraryResult = NonNullable['createLibrary']>>> export type FindAllItemsResult = NonNullable['findAllItems']>>> export type CreateItemResult = NonNullable['createItem']>>> export type BatchDeleteItemsResult = NonNullable['batchDeleteItems']>>> export type FindAll1Result = NonNullable['findAll1']>>> export type Create1Result = NonNullable['create1']>>> export type SubmitResult = NonNullable['submit']>>> export type ReviewResult = NonNullable['review']>>> export type PublishResult = NonNullable['publish']>>> export type OfflineResult = NonNullable['offline']>>> export type FindAll2Result = NonNullable['findAll2']>>> export type Create2Result = NonNullable['create2']>>> export type FindStepsResult = NonNullable['findSteps']>>> export type CreateStepResult = NonNullable['createStep']>>> export type GetTaskPageResult = NonNullable['getTaskPage']>>> export type CreateTaskResult = NonNullable['createTask']>>> export type MarkAsReadResult = NonNullable['markAsRead']>>> export type MarkAllAsReadResult = NonNullable['markAllAsRead']>>> export type GetMyLessonsResult = NonNullable['getMyLessons']>>> export type CreateLessonResult = NonNullable['createLesson']>>> export type StartLessonResult = NonNullable['startLesson']>>> export type CompleteLessonResult = NonNullable['completeLesson']>>> export type CancelLessonResult = NonNullable['cancelLesson']>>> export type GetGrowthRecordPageResult = NonNullable['getGrowthRecordPage']>>> export type CreateGrowthRecordResult = NonNullable['createGrowthRecord']>>> export type GetTeacherPageResult = NonNullable['getTeacherPage']>>> export type CreateTeacherResult = NonNullable['createTeacher']>>> export type ResetPasswordResult = NonNullable['resetPassword']>>> export type GetTaskPage1Result = NonNullable['getTaskPage1']>>> export type CreateTask1Result = NonNullable['createTask1']>>> export type GetStudentPageResult = NonNullable['getStudentPage']>>> export type CreateStudentResult = NonNullable['createStudent']>>> export type GetParentPageResult = NonNullable['getParentPage']>>> export type CreateParentResult = NonNullable['createParent']>>> export type BindStudentResult = NonNullable['bindStudent']>>> export type UnbindStudentResult = NonNullable['unbindStudent']>>> export type ResetPassword1Result = NonNullable['resetPassword1']>>> export type RenewPackageResult = NonNullable['renewPackage']>>> export type GetGrowthRecordPage1Result = NonNullable['getGrowthRecordPage1']>>> export type CreateGrowthRecord1Result = NonNullable['createGrowthRecord1']>>> export type GetClassPageResult = NonNullable['getClassPage']>>> export type CreateClassResult = NonNullable['createClass']>>> export type AssignTeachersResult = NonNullable['assignTeachers']>>> export type AssignStudentsResult = NonNullable['assignStudents']>>> export type CompleteTaskResult = NonNullable['completeTask']>>> export type MarkAsRead1Result = NonNullable['markAsRead1']>>> export type MarkAllAsRead1Result = NonNullable['markAllAsRead1']>>> export type CreateGrowthRecord2Result = NonNullable['createGrowthRecord2']>>> export type LoginResult = NonNullable['login']>>> export type ChangePasswordResult = NonNullable['changePassword']>>> export type GetTenantPageResult = NonNullable['getTenantPage']>>> export type CreateTenantResult = NonNullable['createTenant']>>> export type GetCoursePage1Result = NonNullable['getCoursePage1']>>> export type CreateCourseResult = NonNullable['createCourse']>>> export type PublishCourseResult = NonNullable['publishCourse']>>> export type ArchiveCourseResult = NonNullable['archiveCourse']>>> export type GetStatsResult = NonNullable['getStats']>>> export type FindByTypeResult = NonNullable['findByType']>>> export type GetWeeklyStatsResult = NonNullable['getWeeklyStats']>>> export type GetTodayLessonsResult = NonNullable['getTodayLessons']>>> export type GetRecommendedCoursesResult = NonNullable['getRecommendedCourses']>>> export type GetMyNotificationsResult = NonNullable['getMyNotifications']>>> export type GetNotificationResult = NonNullable['getNotification']>>> export type GetUnreadCountResult = NonNullable['getUnreadCount']>>> export type GetTodayLessons1Result = NonNullable['getTodayLessons1']>>> export type GetLessonTrendResult = NonNullable['getLessonTrend']>>> export type GetDashboardResult = NonNullable['getDashboard']>>> export type GetCoursePageResult = NonNullable['getCoursePage']>>> export type GetCourseResult = NonNullable['getCourse']>>> export type GetAllCoursesResult = NonNullable['getAllCourses']>>> export type GetCourseUsageResult = NonNullable['getCourseUsage']>>> export type GetClassesResult = NonNullable['getClasses']>>> export type GetSchoolStatsResult = NonNullable['getSchoolStats']>>> export type GetActiveTeachersResult = NonNullable['getActiveTeachers']>>> export type GetLessonTrend1Result = NonNullable['getLessonTrend1']>>> export type GetCourseUsageStatsResult = NonNullable['getCourseUsageStats']>>> export type GetCourseDistributionResult = NonNullable['getCourseDistribution']>>> export type GetRecentActivitiesResult = NonNullable['getRecentActivities']>>> export type FindTenantPackagesResult = NonNullable['findTenantPackages']>>> export type GetSchoolCoursesResult = NonNullable['getSchoolCourses']>>> export type GetSchoolCourseResult = NonNullable['getSchoolCourse']>>> export type GetTask2Result = NonNullable['getTask2']>>> export type GetTasksByStudentResult = NonNullable['getTasksByStudent']>>> export type GetMyNotifications1Result = NonNullable['getMyNotifications1']>>> export type GetNotification1Result = NonNullable['getNotification1']>>> export type GetUnreadCount1Result = NonNullable['getUnreadCount1']>>> export type GetGrowthRecordsByStudentResult = NonNullable['getGrowthRecordsByStudent']>>> export type GetRecentGrowthRecordsResult = NonNullable['getRecentGrowthRecords']>>> export type GetMyChildrenResult = NonNullable['getMyChildren']>>> export type GetChildResult = NonNullable['getChild']>>> export type GetCurrentUserResult = NonNullable['getCurrentUser']>>> export type GetAllActiveTenantsResult = NonNullable['getAllActiveTenants']>>> export type DeleteFileResult = NonNullable['deleteFile']>>>