feat(stats): 完善前端统计与任务 API

Made-with: Cursor
This commit is contained in:
zhonghua 2026-03-10 17:28:31 +08:00
parent 5d96c832f6
commit aa71d18dd4
202 changed files with 5030 additions and 811 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,5 @@
import { http } from './index'; import { http } from './index';
import { readingApi, GetTenantPageResult } from './client';
// ==================== 类型定义 ==================== // ==================== 类型定义 ====================
@ -165,51 +166,86 @@ export interface AdminSettings {
// ==================== 租户管理 ==================== // ==================== 租户管理 ====================
export const getTenants = (params: TenantQueryParams) => export const getTenants = (
http.get<{ items: Tenant[]; total: number; page: number; pageSize: number; totalPages: number }>( params: TenantQueryParams,
'/admin/tenants', ): Promise<GetTenantPageResult> =>
{ params } readingApi.getTenantPage(params as any).then((res) => res.data as any);
);
export const getTenant = (id: number) => export const getTenant = (id: number): Promise<TenantDetail> =>
http.get<TenantDetail>(`/admin/tenants/${id}`); readingApi.getTenant(id).then((res) => res.data as any);
export const createTenant = (data: CreateTenantDto) => export const createTenant = (
http.post<Tenant & { tempPassword: string }>('/admin/tenants', data); data: CreateTenantDto,
): Promise<Tenant & { tempPassword: string }> =>
readingApi.createTenant(data as any).then((res) => {
const map = res.data as any;
// Orval 将返回值定义为 ResultTenant / ResultMapStringString这里按现有前端期望结构进行兼容转换
return {
...(map as Tenant),
tempPassword: (map as any).tempPassword ?? '',
};
});
export const updateTenant = (id: number, data: UpdateTenantDto) => export const updateTenant = (
http.put<Tenant>(`/admin/tenants/${id}`, data); id: number,
data: UpdateTenantDto,
): Promise<Tenant> =>
readingApi.updateTenant(id, data as any).then((res) => res.data as any);
export const updateTenantQuota = (id: number, data: UpdateTenantQuotaDto) => export const updateTenantQuota = (
http.put<Tenant>(`/admin/tenants/${id}/quota`, data); id: number,
data: UpdateTenantQuotaDto,
): Promise<Tenant> =>
readingApi
.updateTenantQuota(id, data as any)
.then((res) => res.data as any);
export const updateTenantStatus = (id: number, status: string) => export const updateTenantStatus = (
http.put<{ id: number; name: string; status: string }>(`/admin/tenants/${id}/status`, { status }); id: number,
status: string,
): Promise<{ id: number; name: string; status: string }> =>
readingApi
.updateTenantStatus(id, { status } as any)
.then((res) => res.data as any);
export const resetTenantPassword = (id: number) => export const resetTenantPassword = (
http.post<{ tempPassword: string }>(`/admin/tenants/${id}/reset-password`); id: number,
): Promise<{ tempPassword: string }> =>
readingApi.resetTenantPassword(id).then((res) => res.data as any);
export const deleteTenant = (id: number) => export const deleteTenant = (id: number): Promise<{ success: boolean }> =>
http.delete<{ success: boolean }>(`/admin/tenants/${id}`); readingApi.deleteTenant(id).then(() => ({ success: true }));
// ==================== 统计数据 ==================== // ==================== 统计数据 ====================
export const getAdminStats = () => export const getAdminStats = (): Promise<AdminStats> =>
http.get<AdminStats>('/admin/stats'); readingApi.getStats3().then((res) => res.data as any);
export const getTrendData = () => export const getTrendData = (): Promise<TrendData[]> =>
http.get<TrendData[]>('/admin/stats/trend'); readingApi.getTrendData().then((res) => res.data as any);
export const getActiveTenants = (limit?: number) => export const getActiveTenants = (
http.get<ActiveTenant[]>('/admin/stats/tenants/active', { params: { limit } }); limit?: number,
): Promise<ActiveTenant[]> =>
readingApi
.getActiveTenants({ limit } as any)
.then((res) => res.data as any);
export const getPopularCourses = (limit?: number) => export const getPopularCourses = (
http.get<PopularCourse[]>('/admin/stats/courses/popular', { params: { limit } }); limit?: number,
): Promise<PopularCourse[]> =>
readingApi
.getPopularCourses({ limit } as any)
.then((res) => res.data as any);
// ==================== 系统设置 ==================== // ==================== 系统设置 ====================
export const getAdminSettings = () => export const getAdminSettings = (): Promise<AdminSettings> =>
http.get<AdminSettings>('/admin/settings'); readingApi.getSettings1().then((res) => res.data as any);
export const updateAdminSettings = (data: Record<string, any>) => export const updateAdminSettings = (
http.put<AdminSettings>('/admin/settings', data); data: Record<string, any>,
): Promise<AdminSettings> =>
readingApi
.updateSettings1(data as any)
.then(() => getAdminSettings());

View File

@ -1,24 +1,26 @@
import { readingApi } from './client' import { readingApi } from "./client";
import type { import type {
LoginRequest, LoginRequest,
LoginResponse as ApiLoginResponse, LoginResponse as ApiLoginResponse,
ResultLoginResponse, ResultLoginResponse,
ResultUserInfoResponse, ResultUserInfoResponse,
UserInfoResponse, UserInfoResponse,
} from './generated/model' } from "./generated/model";
export type LoginParams = LoginRequest export type LoginParams = LoginRequest;
// Java 后端返回的平铺结构(保持与现有业务使用一致) // Java 后端返回的平铺结构(保持与现有业务使用一致)
export interface LoginResponse extends Required<Omit<ApiLoginResponse, 'tenantId' | 'role'>> { export interface LoginResponse extends Required<
role: 'admin' | 'school' | 'teacher' | 'parent' Omit<ApiLoginResponse, "tenantId" | "role">
tenantId?: number > {
role: "admin" | "school" | "teacher" | "parent";
tenantId?: number;
} }
export interface UserProfile { export interface UserProfile {
id: number; id: number;
name: string; name: string;
role: 'admin' | 'school' | 'teacher'; role: "admin" | "school" | "teacher";
tenantId?: number; tenantId?: number;
tenantName?: string; tenantName?: string;
email?: string; email?: string;
@ -29,47 +31,47 @@ export interface UserProfile {
// 登录 // 登录
export function login(params: LoginParams): Promise<LoginResponse> { export function login(params: LoginParams): Promise<LoginResponse> {
return readingApi.login(params).then((res) => { return readingApi.login(params).then((res) => {
const wrapped = res as ResultLoginResponse const wrapped = res as ResultLoginResponse;
const data = (wrapped.data ?? {}) as ApiLoginResponse const data = (wrapped.data ?? {}) as ApiLoginResponse;
return { return {
token: data.token ?? '', token: data.token ?? "",
userId: data.userId ?? 0, userId: data.userId ?? 0,
username: data.username ?? '', username: data.username ?? "",
name: data.name ?? '', name: data.name ?? "",
role: (data.role as LoginResponse['role']) ?? 'teacher', role: (data.role as LoginResponse["role"]) ?? "teacher",
tenantId: data.tenantId, tenantId: data.tenantId,
} };
}) });
} }
// 登出 // 登出
export function logout(): Promise<void> { export function logout(): Promise<void> {
return readingApi.logout().then(() => undefined) return readingApi.logout().then(() => undefined);
} }
// 刷新Token // 刷新Token
export function refreshToken(): Promise<{ token: string }> { export function refreshToken(): Promise<{ token: string }> {
// OpenAPI 目前未定义 refresh 接口,暂时保留原有调用路径以兼容后端 // OpenAPI 目前未定义 refresh 接口,暂时保留原有调用路径以兼容后端
const { http } = require('./index') const { http } = require("./index");
return http.post('/auth/refresh') return http.post("/api/v1/auth/refresh");
} }
// 获取当前用户信息 // 获取当前用户信息
export function getProfile(): Promise<UserProfile> { export function getProfile(): Promise<UserProfile> {
return readingApi.getCurrentUser().then((res) => { return readingApi.getCurrentUser().then((res) => {
const wrapped = res as ResultUserInfoResponse const wrapped = res as ResultUserInfoResponse;
const data = (wrapped.data ?? {}) as UserInfoResponse const data = (wrapped.data ?? {}) as UserInfoResponse;
return { return {
id: data.id ?? 0, id: data.id ?? 0,
name: data.name ?? '', name: data.name ?? "",
role: (data.role as UserProfile['role']) ?? 'teacher', role: (data.role as UserProfile["role"]) ?? "teacher",
tenantId: data.tenantId, tenantId: data.tenantId,
tenantName: undefined, tenantName: undefined,
email: data.email, email: data.email,
phone: data.phone, phone: data.phone,
avatar: data.avatarUrl, avatar: data.avatarUrl,
} };
}) });
} }

View File

@ -11,6 +11,30 @@ export type ApiResultOf<K extends keyof ReturnType<typeof getReadingPlatformAPI>
// 如果后端统一使用 Result<T> 包裹,这个类型可以从中解包出 data // 如果后端统一使用 Result<T> 包裹,这个类型可以从中解包出 data
export type UnwrapResult<R> = R extends { data: infer D } ? D : R export type UnwrapResult<R> = R extends { data: infer D } ? D : R
// 针对分页 Result<PageResult<XXX>> 的统一解包类型
export type PageDataOf<R> = UnwrapResult<R> extends {
items: any[]
total: number
page: number
pageSize: number
}
? UnwrapResult<R>
: never
// 常用 Orval 分页结果类型别名(便于在各模块中统一使用)
export type GetTenantPageResult = PageDataOf<ApiResultOf<'getTenantPage'>>
export type GetTaskPageResult = PageDataOf<ApiResultOf<'getTaskPage'>>
export type GetTaskPage1Result = PageDataOf<ApiResultOf<'getTaskPage1'>>
export type GetTeacherPageResult = PageDataOf<ApiResultOf<'getTeacherPage'>>
export type GetStudentPageResult = PageDataOf<ApiResultOf<'getStudentPage'>>
export type GetSchedulePlansResult = PageDataOf<ApiResultOf<'getSchedulePlans'>>
export type GetSchedulePlans1Result = PageDataOf<ApiResultOf<'getSchedulePlans1'>>
export type GetPackagesResult = PageDataOf<ApiResultOf<'getPackages'>>
export type GetPackages1Result = PageDataOf<ApiResultOf<'getPackages1'>>
export type GetMyNotificationsResult = PageDataOf<ApiResultOf<'getMyNotifications'>>
export type GetMyNotifications1Result = PageDataOf<ApiResultOf<'getMyNotifications1'>>
export type GetMyNotifications2Result = PageDataOf<ApiResultOf<'getMyNotifications2'>>
// 示例:当前登录用户信息的解包类型 // 示例:当前登录用户信息的解包类型
export type CurrentUserInfo = UnwrapResult<ResultUserInfoResponse> export type CurrentUserInfo = UnwrapResult<ResultUserInfoResponse>

View File

@ -1,15 +1,15 @@
import { readingApi } from './client' import { readingApi } from "./client";
import type { import type {
GetCoursePage1Params, GetCoursePage1Params,
ResultPageResultCourse, ResultPageResultCourse,
Course as ApiCourse, Course as ApiCourse,
ApproveCourseParams, ApproveCourseParams,
RejectCourseParams, RejectCourseParams,
} from './generated/model' } from "./generated/model";
export type CourseQueryParams = GetCoursePage1Params export type CourseQueryParams = GetCoursePage1Params;
export type Course = ApiCourse export type Course = ApiCourse;
export interface CourseLesson { export interface CourseLesson {
id: number; id: number;
@ -64,25 +64,23 @@ export interface ValidationWarning {
} }
// 获取课程包列表(使用 Orval 生成的分页接口,并适配为原有扁平结构) // 获取课程包列表(使用 Orval 生成的分页接口,并适配为原有扁平结构)
export function getCourses( export function getCourses(params: CourseQueryParams): Promise<{
params: CourseQueryParams, items: Course[];
): Promise<{ total: number;
items: Course[] page: number;
total: number pageSize: number;
page: number
pageSize: number
}> { }> {
return readingApi.getCoursePage1(params).then((res) => { return readingApi.getCoursePage1(params).then((res) => {
const wrapped = res as ResultPageResultCourse const wrapped = res as ResultPageResultCourse;
const pageData = wrapped.data const pageData = wrapped.data;
return { return {
items: (pageData?.items as Course[]) ?? [], items: (pageData?.items as Course[]) ?? [],
total: pageData?.total ?? 0, total: pageData?.total ?? 0,
page: pageData?.page ?? params.page ?? 1, page: pageData?.page ?? params.page ?? 1,
pageSize: pageData?.pageSize ?? params.pageSize ?? 10, pageSize: pageData?.pageSize ?? params.pageSize ?? 10,
} };
}) });
} }
// 获取审核列表 // 获取审核列表
@ -94,116 +92,131 @@ export function getReviewList(params: CourseQueryParams): Promise<{
}> { }> {
// 审核列表对应 Orval 的 getReviewCoursePage返回结构同课程分页 // 审核列表对应 Orval 的 getReviewCoursePage返回结构同课程分页
return readingApi.getReviewCoursePage(params as any).then((res) => { return readingApi.getReviewCoursePage(params as any).then((res) => {
const wrapped = res as ResultPageResultCourse const wrapped = res as ResultPageResultCourse;
const pageData = wrapped.data const pageData = wrapped.data;
return { return {
items: (pageData?.items as Course[]) ?? [], items: (pageData?.items as Course[]) ?? [],
total: pageData?.total ?? 0, total: pageData?.total ?? 0,
page: pageData?.page ?? params.page ?? 1, page: pageData?.page ?? params.page ?? 1,
pageSize: pageData?.pageSize ?? params.pageSize ?? 10, pageSize: pageData?.pageSize ?? params.pageSize ?? 10,
} };
}) });
} }
// 获取课程包详情 // 获取课程包详情
export function getCourse(id: number): Promise<any> { export function getCourse(id: number): Promise<unknown> {
return readingApi.getCourse3(id).then((res) => res) return readingApi.getCourse3(id).then((res) => res);
} }
// 创建课程包 // 创建课程包
export function createCourse(data: any): Promise<any> { export function createCourse(data: unknown): Promise<unknown> {
return readingApi.createCourse1(data).then((res) => res) return readingApi.createCourse1(data as any).then((res) => res);
} }
// 更新课程包 // 更新课程包
export function updateCourse(id: number, data: any): Promise<any> { export function updateCourse(id: number, data: unknown): Promise<unknown> {
return readingApi.updateCourse1(id, data).then((res) => res) return readingApi.updateCourse1(id, data as any).then((res) => res);
} }
// 删除课程包 // 删除课程包
export function deleteCourse(id: number): Promise<any> { export function deleteCourse(id: number): Promise<unknown> {
return readingApi.deleteCourse1(id).then((res) => res) return readingApi.deleteCourse1(id).then((res) => res);
} }
// 验证课程完整性 // 验证课程完整性
export function validateCourse(id: number): Promise<ValidationResult> { export function validateCourse(id: number): Promise<ValidationResult> {
// 暂无对应 Orval 接口,继续使用旧路径 // 暂无对应 Orval 接口,继续使用旧路径
const { http } = require('./index') const { http } = require("./index");
return http.get(`/admin/courses/${id}/validate`) return http.get(`/api/v1/admin/courses/${id}/validate`);
} }
// 提交审核 // 提交审核
export function submitCourse(id: number, _copyrightConfirmed: boolean): Promise<any> { export function submitCourse(
id: number,
_copyrightConfirmed: boolean,
): Promise<unknown> {
// 后端接口签名只需要 ID版权确认逻辑在前端自行控制 // 后端接口签名只需要 ID版权确认逻辑在前端自行控制
return readingApi.submitCourse(id).then((res) => res) return readingApi.submitCourse(id).then((res) => res);
} }
// 撤销审核 // 撤销审核
export function withdrawCourse(id: number): Promise<any> { export function withdrawCourse(id: number): Promise<unknown> {
return readingApi.withdrawCourse(id).then((res) => res) return readingApi.withdrawCourse(id).then((res) => res);
} }
// 审核通过 // 审核通过
export function approveCourse(id: number, data: { checklist?: any; comment?: string }): Promise<any> { export function approveCourse(
id: number,
data: { checklist?: any; comment?: string },
): Promise<unknown> {
const params: ApproveCourseParams = { const params: ApproveCourseParams = {
comment: data.comment, comment: data.comment,
} };
return readingApi.approveCourse(id, params).then((res) => res) return readingApi.approveCourse(id, params).then((res) => res);
} }
// 审核驳回 // 审核驳回
export function rejectCourse(id: number, data: { checklist?: any; comment: string }): Promise<any> { export function rejectCourse(
id: number,
data: { checklist?: any; comment: string },
): Promise<unknown> {
const params: RejectCourseParams = { const params: RejectCourseParams = {
comment: data.comment, comment: data.comment,
} };
return readingApi.rejectCourse(id, params).then((res) => res) return readingApi.rejectCourse(id, params).then((res) => res);
} }
// 直接发布(超级管理员) // 直接发布(超级管理员)
export function directPublishCourse(id: number, _skipValidation?: boolean): Promise<any> { export function directPublishCourse(
id: number,
_skipValidation?: boolean,
): Promise<unknown> {
// skipValidation 由后端接口定义控制,这里总是调用“直接发布”接口 // skipValidation 由后端接口定义控制,这里总是调用“直接发布”接口
return readingApi.directPublishCourse(id).then((res) => res) return readingApi.directPublishCourse(id).then((res) => res);
} }
// 发布课程包兼容旧API // 发布课程包兼容旧API
export function publishCourse(id: number): Promise<any> { export function publishCourse(id: number): Promise<unknown> {
return readingApi.publishCourse(id).then((res) => res) return readingApi.publishCourse(id).then((res) => res);
} }
// 下架课程包 // 下架课程包
export function unpublishCourse(id: number): Promise<any> { export function unpublishCourse(id: number): Promise<unknown> {
return readingApi.unpublishCourse(id).then((res) => res) return readingApi.unpublishCourse(id).then((res) => res);
} }
// 重新发布 // 重新发布
export function republishCourse(id: number): Promise<any> { export function republishCourse(id: number): Promise<unknown> {
return readingApi.republishCourse(id).then((res) => res) return readingApi.republishCourse(id).then((res) => res);
} }
// 获取课程包统计数据 // 获取课程包统计数据
export function getCourseStats(id: number): Promise<any> { export function getCourseStats(id: number): Promise<unknown> {
// 统计接口在 OpenAPI 中与当前使用的字段含义略有差异,暂时保留旧实现 // 统计接口在 OpenAPI 中与当前使用的字段含义略有差异,暂时保留旧实现
const { http } = require('./index') const { http } = require("./index");
return http.get(`/admin/courses/${id}/stats`); return http.get(`/api/v1/admin/courses/${id}/stats`);
} }
// 获取版本历史 // 获取版本历史
export function getCourseVersions(id: number): Promise<any[]> { export function getCourseVersions(id: number): Promise<unknown[]> {
const { http } = require('./index') const { http } = require("./index");
return http.get(`/admin/courses/${id}/versions`); return http.get(`/api/v1/admin/courses/${id}/versions`);
} }
// 课程状态映射 // 课程状态映射
export const COURSE_STATUS_MAP: Record<string, { label: string; color: string }> = { export const COURSE_STATUS_MAP: Record<
DRAFT: { label: '草稿', color: 'default' }, string,
PENDING: { label: '审核中', color: 'processing' }, { label: string; color: string }
REJECTED: { label: '已驳回', color: 'error' }, > = {
PUBLISHED: { label: '已发布', color: 'success' }, DRAFT: { label: "草稿", color: "default" },
ARCHIVED: { label: '已下架', color: 'warning' }, PENDING: { label: "审核中", color: "processing" },
REJECTED: { label: "已驳回", color: "error" },
PUBLISHED: { label: "已发布", color: "success" },
ARCHIVED: { label: "已下架", color: "warning" },
}; };
// 获取状态显示信息 // 获取状态显示信息
export function getCourseStatusInfo(status: string) { export function getCourseStatusInfo(status: string) {
return COURSE_STATUS_MAP[status] || { label: status, color: 'default' }; return COURSE_STATUS_MAP[status] || { label: status, color: "default" };
} }

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation
@ -16,10 +16,14 @@ import type {
CourseLesson, CourseLesson,
CoursePackage, CoursePackage,
CourseUpdateRequest, CourseUpdateRequest,
CreateTaskFromTemplateRequest,
DeleteFileParams, DeleteFileParams,
GetActiveTeachersParams,
GetActiveTenantsParams, GetActiveTenantsParams,
GetActivitiesParams, GetActivitiesParams,
GetClassPageParams, GetClassPageParams,
GetCompletions1Params,
GetCompletionsParams,
GetCoursePage1Params, GetCoursePage1Params,
GetCoursePageParams, GetCoursePageParams,
GetCourses1Params, GetCourses1Params,
@ -28,16 +32,21 @@ import type {
GetGrowthRecordPageParams, GetGrowthRecordPageParams,
GetGrowthRecordsByStudentParams, GetGrowthRecordsByStudentParams,
GetItemsParams, GetItemsParams,
GetLessonTrendParams,
GetLibrariesParams, GetLibrariesParams,
GetLogs1Params, GetLogs1Params,
GetLogsParams, GetLogsParams,
GetMonthlyStats1Params,
GetMonthlyStatsParams,
GetMyLessonsParams, GetMyLessonsParams,
GetMyNotifications1Params, GetMyNotifications1Params,
GetMyNotifications2Params,
GetMyNotificationsParams, GetMyNotificationsParams,
GetPackages1Params, GetPackages1Params,
GetPackagesParams, GetPackagesParams,
GetParentPageParams, GetParentPageParams,
GetPopularCoursesParams, GetPopularCoursesParams,
GetRecentActivitiesParams,
GetRecentGrowthRecordsParams, GetRecentGrowthRecordsParams,
GetReviewCoursePageParams, GetReviewCoursePageParams,
GetSchedulePlans1Params, GetSchedulePlans1Params,
@ -48,8 +57,11 @@ import type {
GetTaskPageParams, GetTaskPageParams,
GetTasksByStudentParams, GetTasksByStudentParams,
GetTeacherPageParams, GetTeacherPageParams,
GetTemplates1Params,
GetTemplatesParams,
GetTenantPageParams, GetTenantPageParams,
GetThemesParams, GetThemesParams,
GetTimetableParams,
GrowthRecordCreateRequest, GrowthRecordCreateRequest,
GrowthRecordUpdateRequest, GrowthRecordUpdateRequest,
LessonCreateRequest, LessonCreateRequest,
@ -74,6 +86,7 @@ import type {
ResultListLesson, ResultListLesson,
ResultListMapStringObject, ResultListMapStringObject,
ResultListResourceLibrary, ResultListResourceLibrary,
ResultListSchedulePlan,
ResultListStudent, ResultListStudent,
ResultListTenantResponse, ResultListTenantResponse,
ResultListTheme, ResultListTheme,
@ -96,6 +109,8 @@ import type {
ResultPageResultSchoolCourse, ResultPageResultSchoolCourse,
ResultPageResultStudent, ResultPageResultStudent,
ResultPageResultTask, ResultPageResultTask,
ResultPageResultTaskCompletion,
ResultPageResultTaskTemplate,
ResultPageResultTeacher, ResultPageResultTeacher,
ResultPageResultTenant, ResultPageResultTenant,
ResultParent, ResultParent,
@ -106,6 +121,8 @@ import type {
ResultSchoolCourse, ResultSchoolCourse,
ResultStudent, ResultStudent,
ResultTask, ResultTask,
ResultTaskCompletion,
ResultTaskTemplate,
ResultTeacher, ResultTeacher,
ResultTenant, ResultTenant,
ResultTheme, ResultTheme,
@ -113,17 +130,23 @@ import type {
ResultVoid, ResultVoid,
ReviewPackageBody, ReviewPackageBody,
SchedulePlan, SchedulePlan,
SchedulePlanCreateRequest,
ScheduleTemplate, ScheduleTemplate,
ScheduleTemplateApplyRequest,
SchoolCourse, SchoolCourse,
StudentCreateRequest, StudentCreateRequest,
StudentUpdateRequest, StudentUpdateRequest,
TaskCreateRequest, TaskCreateRequest,
TaskTemplateCreateRequest,
TaskTemplateUpdateRequest,
TaskUpdateRequest, TaskUpdateRequest,
TeacherCreateRequest, TeacherCreateRequest,
TeacherUpdateRequest, TeacherUpdateRequest,
TenantCreateRequest, TenantCreateRequest,
TenantUpdateRequest, TenantUpdateRequest,
Theme, Theme,
UpdateCompletion1Params,
UpdateCompletionParams,
UpdateSettings1Body, UpdateSettings1Body,
UpdateSettingsBody, UpdateSettingsBody,
UpdateTenantQuotaBody, UpdateTenantQuotaBody,
@ -133,6 +156,21 @@ import type {
import { request } from '../request'; import { request } from '../request';
export const getReadingPlatformAPI = () => { export const getReadingPlatformAPI = () => {
/**
* @summary
*/
const updateCompletion = (
taskId: number,
studentId: number,
params: UpdateCompletionParams,
) => {
return request<ResultTaskCompletion>(
{url: `/api/v1/teacher/tasks/${taskId}/completions/${studentId}`, method: 'PUT',
params
},
);
}
/** /**
* @summary ID * @summary ID
*/ */
@ -277,6 +315,21 @@ const deleteTeacher = (
); );
} }
/**
* @summary
*/
const updateCompletion1 = (
taskId: number,
studentId: number,
params: UpdateCompletion1Params,
) => {
return request<ResultTaskCompletion>(
{url: `/api/v1/school/tasks/${taskId}/completions/${studentId}`, method: 'PUT',
params
},
);
}
/** /**
* @summary ID * @summary ID
*/ */
@ -316,6 +369,45 @@ const deleteTask1 = (
); );
} }
/**
* @summary ID
*/
const getTemplate1 = (
id: number,
) => {
return request<ResultTaskTemplate>(
{url: `/api/v1/school/tasks/task-templates/${id}`, method: 'GET'
},
);
}
/**
* @summary
*/
const updateTemplate = (
id: number,
taskTemplateUpdateRequest: TaskTemplateUpdateRequest,
) => {
return request<ResultTaskTemplate>(
{url: `/api/v1/school/tasks/task-templates/${id}`, method: 'PUT',
headers: {'Content-Type': 'application/json', },
data: taskTemplateUpdateRequest
},
);
}
/**
* @summary
*/
const deleteTemplate = (
id: number,
) => {
return request<ResultVoid>(
{url: `/api/v1/school/tasks/task-templates/${id}`, method: 'DELETE'
},
);
}
/** /**
* @summary ID获取学生 * @summary ID获取学生
*/ */
@ -459,6 +551,45 @@ const deleteSchedulePlan = (
); );
} }
/**
* @summary ID
*/
const getScheduleTemplate = (
id: number,
) => {
return request<ResultScheduleTemplate>(
{url: `/api/v1/school/schedules/templates/${id}`, method: 'GET'
},
);
}
/**
* @summary
*/
const updateScheduleTemplate = (
id: number,
scheduleTemplate: ScheduleTemplate,
) => {
return request<ResultScheduleTemplate>(
{url: `/api/v1/school/schedules/templates/${id}`, method: 'PUT',
headers: {'Content-Type': 'application/json', },
data: scheduleTemplate
},
);
}
/**
* @summary
*/
const deleteScheduleTemplate = (
id: number,
) => {
return request<ResultVoid>(
{url: `/api/v1/school/schedules/templates/${id}`, method: 'DELETE'
},
);
}
/** /**
* @summary Get parent by ID * @summary Get parent by ID
*/ */
@ -950,6 +1081,20 @@ const createTask = (
); );
} }
/**
* @summary
*/
const createFromTemplate = (
createTaskFromTemplateRequest: CreateTaskFromTemplateRequest,
) => {
return request<ResultTask>(
{url: `/api/v1/teacher/tasks/from-template`, method: 'POST',
headers: {'Content-Type': 'application/json', },
data: createTaskFromTemplateRequest
},
);
}
/** /**
* @summary * @summary
*/ */
@ -1132,6 +1277,47 @@ const createTask1 = (
); );
} }
/**
* @summary
*/
const getTemplates1 = (
params?: GetTemplates1Params,
) => {
return request<ResultPageResultTaskTemplate>(
{url: `/api/v1/school/tasks/task-templates`, method: 'GET',
params
},
);
}
/**
* @summary
*/
const createTemplate = (
taskTemplateCreateRequest: TaskTemplateCreateRequest,
) => {
return request<ResultTaskTemplate>(
{url: `/api/v1/school/tasks/task-templates`, method: 'POST',
headers: {'Content-Type': 'application/json', },
data: taskTemplateCreateRequest
},
);
}
/**
* @summary
*/
const createFromTemplate1 = (
createTaskFromTemplateRequest: CreateTaskFromTemplateRequest,
) => {
return request<ResultTask>(
{url: `/api/v1/school/tasks/from-template`, method: 'POST',
headers: {'Content-Type': 'application/json', },
data: createTaskFromTemplateRequest
},
);
}
/** /**
* @summary * @summary
*/ */
@ -1159,6 +1345,20 @@ const createStudent = (
); );
} }
/**
* @summary
*/
const importStudents = (
studentCreateRequest: StudentCreateRequest[],
) => {
return request<ResultListStudent>(
{url: `/api/v1/school/students/import`, method: 'POST',
headers: {'Content-Type': 'application/json', },
data: studentCreateRequest
},
);
}
/** /**
* @summary * @summary
*/ */
@ -1203,12 +1403,12 @@ const getSchedulePlans1 = (
* @summary * @summary
*/ */
const createSchedulePlan = ( const createSchedulePlan = (
schedulePlan: SchedulePlan, schedulePlanCreateRequest: SchedulePlanCreateRequest,
) => { ) => {
return request<ResultSchedulePlan>( return request<ResultSchedulePlan>(
{url: `/api/v1/school/schedules`, method: 'POST', {url: `/api/v1/school/schedules`, method: 'POST',
headers: {'Content-Type': 'application/json', }, headers: {'Content-Type': 'application/json', },
data: schedulePlan data: schedulePlanCreateRequest
}, },
); );
} }
@ -1240,6 +1440,35 @@ const createScheduleTemplate = (
); );
} }
/**
* @summary
*/
const applyScheduleTemplate = (
id: number,
scheduleTemplateApplyRequest: ScheduleTemplateApplyRequest,
) => {
return request<ResultListSchedulePlan>(
{url: `/api/v1/school/schedules/templates/${id}/apply`, method: 'POST',
headers: {'Content-Type': 'application/json', },
data: scheduleTemplateApplyRequest
},
);
}
/**
* @summary
*/
const batchCreateSchedules = (
schedulePlanCreateRequest: SchedulePlanCreateRequest[],
) => {
return request<ResultListSchedulePlan>(
{url: `/api/v1/school/schedules/batch`, method: 'POST',
headers: {'Content-Type': 'application/json', },
data: schedulePlanCreateRequest
},
);
}
/** /**
* @summary * @summary
*/ */
@ -1309,6 +1538,30 @@ const resetPassword1 = (
); );
} }
/**
* @summary
*/
const markAsRead1 = (
id: number,
) => {
return request<ResultVoid>(
{url: `/api/v1/school/notifications/${id}/read`, method: 'POST'
},
);
}
/**
* @summary
*/
const markAllAsRead1 = (
) => {
return request<ResultVoid>(
{url: `/api/v1/school/notifications/read-all`, method: 'POST'
},
);
}
/** /**
* @summary * @summary
*/ */
@ -1410,7 +1663,7 @@ const completeTask = (
/** /**
* @summary * @summary
*/ */
const markAsRead1 = ( const markAsRead2 = (
id: number, id: number,
) => { ) => {
return request<ResultVoid>( return request<ResultVoid>(
@ -1422,7 +1675,7 @@ const markAsRead1 = (
/** /**
* @summary * @summary
*/ */
const markAllAsRead1 = ( const markAllAsRead2 = (
) => { ) => {
return request<ResultVoid>( return request<ResultVoid>(
@ -1862,6 +2115,106 @@ const createLesson1 = (
); );
} }
/**
* @summary
*/
const getCompletions = (
id: number,
params?: GetCompletionsParams,
) => {
return request<ResultPageResultTaskCompletion>(
{url: `/api/v1/teacher/tasks/${id}/completions`, method: 'GET',
params
},
);
}
/**
* @summary
*/
const getTemplates = (
params?: GetTemplatesParams,
) => {
return request<ResultPageResultTaskTemplate>(
{url: `/api/v1/teacher/tasks/task-templates`, method: 'GET',
params
},
);
}
/**
* @summary ID
*/
const getTemplate = (
id: number,
) => {
return request<ResultTaskTemplate>(
{url: `/api/v1/teacher/tasks/task-templates/${id}`, method: 'GET'
},
);
}
/**
* @summary
*/
const getDefaultTemplate = (
taskType: string,
) => {
return request<ResultTaskTemplate>(
{url: `/api/v1/teacher/tasks/task-templates/default/${taskType}`, method: 'GET'
},
);
}
/**
* @summary
*/
const getStats = (
) => {
return request<ResultMapStringObject>(
{url: `/api/v1/teacher/tasks/stats`, method: 'GET'
},
);
}
/**
* @summary
*/
const getMonthlyStats = (
params?: GetMonthlyStatsParams,
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/teacher/tasks/stats/monthly`, method: 'GET',
params
},
);
}
/**
* @summary
*/
const getStatsByType = (
) => {
return request<ResultMapStringObject>(
{url: `/api/v1/teacher/tasks/stats/by-type`, method: 'GET'
},
);
}
/**
* @summary
*/
const getStatsByClass = (
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/teacher/tasks/stats/by-class`, method: 'GET'
},
);
}
/** /**
* @summary * @summary
*/ */
@ -2059,10 +2412,97 @@ const getAllCourses = (
); );
} }
/**
* @summary
*/
const getCompletions1 = (
id: number,
params?: GetCompletions1Params,
) => {
return request<ResultPageResultTaskCompletion>(
{url: `/api/v1/school/tasks/${id}/completions`, method: 'GET',
params
},
);
}
/**
* @summary
*/
const getDefaultTemplate1 = (
taskType: string,
) => {
return request<ResultTaskTemplate>(
{url: `/api/v1/school/tasks/task-templates/default/${taskType}`, method: 'GET'
},
);
}
/**
* @summary
*/
const getStats1 = (
) => {
return request<ResultMapStringObject>(
{url: `/api/v1/school/tasks/stats`, method: 'GET'
},
);
}
/**
* @summary
*/
const getMonthlyStats1 = (
params?: GetMonthlyStats1Params,
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/tasks/stats/monthly`, method: 'GET',
params
},
);
}
/**
* @summary
*/
const getStatsByType1 = (
) => {
return request<ResultMapStringObject>(
{url: `/api/v1/school/tasks/stats/by-type`, method: 'GET'
},
);
}
/**
* @summary
*/
const getStatsByClass1 = (
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/tasks/stats/by-class`, method: 'GET'
},
);
}
/**
* @summary
*/
const getImportTemplate = (
) => {
return request<ResultMapStringObject>(
{url: `/api/v1/school/students/import/template`, method: 'GET'
},
);
}
/** /**
* @summary * @summary
*/ */
const getStats = ( const getStats2 = (
) => { ) => {
return request<ResultMapStringObject>( return request<ResultMapStringObject>(
@ -2071,6 +2511,82 @@ const getStats = (
); );
} }
/**
* @summary
*/
const getActiveTeachers = (
params?: GetActiveTeachersParams,
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/stats/teachers`, method: 'GET',
params
},
);
}
/**
* @summary N
*/
const getLessonTrend = (
params?: GetLessonTrendParams,
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/stats/lesson-trend`, method: 'GET',
params
},
);
}
/**
* @summary 使
*/
const getCourseUsageStats = (
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/stats/courses`, method: 'GET'
},
);
}
/**
* @summary
*/
const getCourseDistribution = (
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/stats/course-distribution`, method: 'GET'
},
);
}
/**
* @summary
*/
const getRecentActivities = (
params?: GetRecentActivitiesParams,
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/stats/activities`, method: 'GET',
params
},
);
}
/**
* @summary
*/
const getTimetable = (
params?: GetTimetableParams,
) => {
return request<ResultListMapStringObject>(
{url: `/api/v1/school/schedules/timetable`, method: 'GET',
params
},
);
}
/** /**
* @summary * @summary
*/ */
@ -2084,6 +2600,43 @@ const getLogs = (
); );
} }
/**
* @summary
*/
const getMyNotifications1 = (
params?: GetMyNotifications1Params,
) => {
return request<ResultPageResultNotification>(
{url: `/api/v1/school/notifications`, method: 'GET',
params
},
);
}
/**
* @summary ID
*/
const getNotification1 = (
id: number,
) => {
return request<ResultNotification>(
{url: `/api/v1/school/notifications/${id}`, method: 'GET'
},
);
}
/**
* @summary
*/
const getUnreadCount1 = (
) => {
return request<ResultLong>(
{url: `/api/v1/school/notifications/unread-count`, method: 'GET'
},
);
}
/** /**
* @summary Excel * @summary Excel
*/ */
@ -2186,8 +2739,8 @@ const getTasksByStudent = (
/** /**
* @summary * @summary
*/ */
const getMyNotifications1 = ( const getMyNotifications2 = (
params?: GetMyNotifications1Params, params?: GetMyNotifications2Params,
) => { ) => {
return request<ResultPageResultNotification>( return request<ResultPageResultNotification>(
{url: `/api/v1/parent/notifications`, method: 'GET', {url: `/api/v1/parent/notifications`, method: 'GET',
@ -2199,7 +2752,7 @@ const getMyNotifications1 = (
/** /**
* @summary ID获取通知 * @summary ID获取通知
*/ */
const getNotification1 = ( const getNotification2 = (
id: number, id: number,
) => { ) => {
return request<ResultNotification>( return request<ResultNotification>(
@ -2211,7 +2764,7 @@ const getNotification1 = (
/** /**
* @summary * @summary
*/ */
const getUnreadCount1 = ( const getUnreadCount2 = (
) => { ) => {
return request<ResultLong>( return request<ResultLong>(
@ -2299,7 +2852,7 @@ const getAllActiveTenants = (
/** /**
* @summary * @summary
*/ */
const getStats1 = ( const getStats3 = (
) => { ) => {
return request<ResultMapStringObject>( return request<ResultMapStringObject>(
@ -2386,13 +2939,27 @@ const getReviewCoursePage = (
} }
/** /**
* @summary * @summary
*/ */
const deleteScheduleTemplate = ( const removeTeacher = (
id: number, id: number,
teacherId: number,
) => { ) => {
return request<ResultVoid>( return request<ResultVoid>(
{url: `/api/v1/school/schedules/templates/${id}`, method: 'DELETE' {url: `/api/v1/school/classes/${id}/teachers/${teacherId}`, method: 'DELETE'
},
);
}
/**
* @summary
*/
const removeStudent = (
id: number,
studentId: number,
) => {
return request<ResultVoid>(
{url: `/api/v1/school/classes/${id}/students/${studentId}`, method: 'DELETE'
}, },
); );
} }
@ -2410,7 +2977,8 @@ const deleteFile = (
); );
} }
return {getTask,updateTask,deleteTask,getLesson,updateLesson,getGrowthRecord,updateGrowthRecord,deleteGrowthRecord,getTeacher,updateTeacher,deleteTeacher,getTask1,updateTask1,deleteTask1,getStudent,updateStudent,deleteStudent,getSettings,updateSettings,getCourse2,updateCourse,deleteCourse,getSchedulePlan1,updateSchedulePlan,deleteSchedulePlan,getParent,updateParent,deleteParent,getGrowthRecord1,updateGrowthRecord1,deleteGrowthRecord1,getClass,updateClass,deleteClass,getGrowthRecord2,updateGrowthRecord2,deleteGrowthRecord2,getTheme,updateTheme,deleteTheme,getTenant,updateTenant,deleteTenant,updateTenantStatus,updateTenantQuota,getSettings1,updateSettings1,updateLibrary,deleteLibrary,updateItem,deleteItem,getPackage1,updatePackage,deletePackage,getCourse3,updateCourse1,deleteCourse1,getLesson2,updateLesson1,deleteLesson,getTaskPage,createTask,markAsRead,markAllAsRead,getMyLessons,createLesson,startLesson,completeLesson,cancelLesson,getGrowthRecordPage,createGrowthRecord,getTeacherPage,createTeacher,resetPassword,getTaskPage1,createTask1,getStudentPage,createStudent,getCourses1,createCourse,getSchedulePlans1,createSchedulePlan,getScheduleTemplates,createScheduleTemplate,getParentPage,createParent,bindStudent,unbindStudent,resetPassword1,getGrowthRecordPage1,createGrowthRecord1,getClassPage,createClass,assignTeachers,assignStudents,completeTask,markAsRead1,markAllAsRead1,createGrowthRecord2,uploadFile,logout,login,changePassword,getThemes,createTheme,getTenantPage,createTenant,resetTenantPassword,getLibraries,createLibrary,getItems,createItem,getPackages1,createPackage,submitPackage,reviewPackage,publishPackage,offlinePackage,getCoursePage1,createCourse1,withdrawCourse,unpublishCourse,submitCourse,republishCourse,rejectCourse,publishCourse,directPublishCourse,archiveCourse,approveCourse,getLessons1,createLesson1,getCourses,getCourse,getSchedulePlans,getSchedulePlan,getMyNotifications,getNotification,getUnreadCount,getTodayLessons,getDashboard,getWeeklyLessons,getTodayLessons1,getCoursePage,getCourse1,getLessons,getLesson1,getAllCourses,getStats,getLogs,exportTeachers,exportStudents,exportLessons,exportGrowthRecords,getPackages,getPackage,getTask2,getTasksByStudent,getMyNotifications1,getNotification1,getUnreadCount1,getGrowthRecordsByStudent,getRecentGrowthRecords,getMyChildren,getChild,getCurrentUser,getAllActiveTenants,getStats1,getTrendData,getActiveTenants,getPopularCourses,getActivities,getLogs1,getReviewCoursePage,deleteScheduleTemplate,deleteFile}}; return {updateCompletion,getTask,updateTask,deleteTask,getLesson,updateLesson,getGrowthRecord,updateGrowthRecord,deleteGrowthRecord,getTeacher,updateTeacher,deleteTeacher,updateCompletion1,getTask1,updateTask1,deleteTask1,getTemplate1,updateTemplate,deleteTemplate,getStudent,updateStudent,deleteStudent,getSettings,updateSettings,getCourse2,updateCourse,deleteCourse,getSchedulePlan1,updateSchedulePlan,deleteSchedulePlan,getScheduleTemplate,updateScheduleTemplate,deleteScheduleTemplate,getParent,updateParent,deleteParent,getGrowthRecord1,updateGrowthRecord1,deleteGrowthRecord1,getClass,updateClass,deleteClass,getGrowthRecord2,updateGrowthRecord2,deleteGrowthRecord2,getTheme,updateTheme,deleteTheme,getTenant,updateTenant,deleteTenant,updateTenantStatus,updateTenantQuota,getSettings1,updateSettings1,updateLibrary,deleteLibrary,updateItem,deleteItem,getPackage1,updatePackage,deletePackage,getCourse3,updateCourse1,deleteCourse1,getLesson2,updateLesson1,deleteLesson,getTaskPage,createTask,createFromTemplate,markAsRead,markAllAsRead,getMyLessons,createLesson,startLesson,completeLesson,cancelLesson,getGrowthRecordPage,createGrowthRecord,getTeacherPage,createTeacher,resetPassword,getTaskPage1,createTask1,getTemplates1,createTemplate,createFromTemplate1,getStudentPage,createStudent,importStudents,getCourses1,createCourse,getSchedulePlans1,createSchedulePlan,getScheduleTemplates,createScheduleTemplate,applyScheduleTemplate,batchCreateSchedules,getParentPage,createParent,bindStudent,unbindStudent,resetPassword1,markAsRead1,markAllAsRead1,getGrowthRecordPage1,createGrowthRecord1,getClassPage,createClass,assignTeachers,assignStudents,completeTask,markAsRead2,markAllAsRead2,createGrowthRecord2,uploadFile,logout,login,changePassword,getThemes,createTheme,getTenantPage,createTenant,resetTenantPassword,getLibraries,createLibrary,getItems,createItem,getPackages1,createPackage,submitPackage,reviewPackage,publishPackage,offlinePackage,getCoursePage1,createCourse1,withdrawCourse,unpublishCourse,submitCourse,republishCourse,rejectCourse,publishCourse,directPublishCourse,archiveCourse,approveCourse,getLessons1,createLesson1,getCompletions,getTemplates,getTemplate,getDefaultTemplate,getStats,getMonthlyStats,getStatsByType,getStatsByClass,getCourses,getCourse,getSchedulePlans,getSchedulePlan,getMyNotifications,getNotification,getUnreadCount,getTodayLessons,getDashboard,getWeeklyLessons,getTodayLessons1,getCoursePage,getCourse1,getLessons,getLesson1,getAllCourses,getCompletions1,getDefaultTemplate1,getStats1,getMonthlyStats1,getStatsByType1,getStatsByClass1,getImportTemplate,getStats2,getActiveTeachers,getLessonTrend,getCourseUsageStats,getCourseDistribution,getRecentActivities,getTimetable,getLogs,getMyNotifications1,getNotification1,getUnreadCount1,exportTeachers,exportStudents,exportLessons,exportGrowthRecords,getPackages,getPackage,getTask2,getTasksByStudent,getMyNotifications2,getNotification2,getUnreadCount2,getGrowthRecordsByStudent,getRecentGrowthRecords,getMyChildren,getChild,getCurrentUser,getAllActiveTenants,getStats3,getTrendData,getActiveTenants,getPopularCourses,getActivities,getLogs1,getReviewCoursePage,removeTeacher,removeStudent,deleteFile}};
export type UpdateCompletionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateCompletion']>>>
export type GetTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTask']>>> export type GetTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTask']>>>
export type UpdateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateTask']>>> export type UpdateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateTask']>>>
export type DeleteTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteTask']>>> export type DeleteTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteTask']>>>
@ -2422,9 +2990,13 @@ export type DeleteGrowthRecordResult = NonNullable<Awaited<ReturnType<ReturnType
export type GetTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTeacher']>>> export type GetTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTeacher']>>>
export type UpdateTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateTeacher']>>> export type UpdateTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateTeacher']>>>
export type DeleteTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteTeacher']>>> export type DeleteTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteTeacher']>>>
export type UpdateCompletion1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateCompletion1']>>>
export type GetTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTask1']>>> export type GetTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTask1']>>>
export type UpdateTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateTask1']>>> export type UpdateTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateTask1']>>>
export type DeleteTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteTask1']>>> export type DeleteTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteTask1']>>>
export type GetTemplate1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTemplate1']>>>
export type UpdateTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateTemplate']>>>
export type DeleteTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteTemplate']>>>
export type GetStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStudent']>>> export type GetStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStudent']>>>
export type UpdateStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateStudent']>>> export type UpdateStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateStudent']>>>
export type DeleteStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteStudent']>>> export type DeleteStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteStudent']>>>
@ -2436,6 +3008,9 @@ export type DeleteCourseResult = NonNullable<Awaited<ReturnType<ReturnType<typeo
export type GetSchedulePlan1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getSchedulePlan1']>>> export type GetSchedulePlan1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getSchedulePlan1']>>>
export type UpdateSchedulePlanResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateSchedulePlan']>>> export type UpdateSchedulePlanResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateSchedulePlan']>>>
export type DeleteSchedulePlanResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteSchedulePlan']>>> export type DeleteSchedulePlanResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteSchedulePlan']>>>
export type GetScheduleTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getScheduleTemplate']>>>
export type UpdateScheduleTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateScheduleTemplate']>>>
export type DeleteScheduleTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteScheduleTemplate']>>>
export type GetParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getParent']>>> export type GetParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getParent']>>>
export type UpdateParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateParent']>>> export type UpdateParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['updateParent']>>>
export type DeleteParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteParent']>>> export type DeleteParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteParent']>>>
@ -2473,6 +3048,7 @@ export type UpdateLesson1Result = NonNullable<Awaited<ReturnType<ReturnType<type
export type DeleteLessonResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteLesson']>>> export type DeleteLessonResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteLesson']>>>
export type GetTaskPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTaskPage']>>> export type GetTaskPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTaskPage']>>>
export type CreateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createTask']>>> export type CreateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createTask']>>>
export type CreateFromTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createFromTemplate']>>>
export type MarkAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAsRead']>>> export type MarkAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAsRead']>>>
export type MarkAllAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAllAsRead']>>> export type MarkAllAsReadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAllAsRead']>>>
export type GetMyLessonsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMyLessons']>>> export type GetMyLessonsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMyLessons']>>>
@ -2487,19 +3063,27 @@ export type CreateTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<type
export type ResetPasswordResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['resetPassword']>>> export type ResetPasswordResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['resetPassword']>>>
export type GetTaskPage1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTaskPage1']>>> export type GetTaskPage1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTaskPage1']>>>
export type CreateTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createTask1']>>> export type CreateTask1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createTask1']>>>
export type GetTemplates1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTemplates1']>>>
export type CreateTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createTemplate']>>>
export type CreateFromTemplate1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createFromTemplate1']>>>
export type GetStudentPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStudentPage']>>> export type GetStudentPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStudentPage']>>>
export type CreateStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createStudent']>>> export type CreateStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createStudent']>>>
export type ImportStudentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['importStudents']>>>
export type GetCourses1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourses1']>>> export type GetCourses1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourses1']>>>
export type CreateCourseResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createCourse']>>> export type CreateCourseResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createCourse']>>>
export type GetSchedulePlans1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getSchedulePlans1']>>> export type GetSchedulePlans1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getSchedulePlans1']>>>
export type CreateSchedulePlanResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createSchedulePlan']>>> export type CreateSchedulePlanResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createSchedulePlan']>>>
export type GetScheduleTemplatesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getScheduleTemplates']>>> export type GetScheduleTemplatesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getScheduleTemplates']>>>
export type CreateScheduleTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createScheduleTemplate']>>> export type CreateScheduleTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createScheduleTemplate']>>>
export type ApplyScheduleTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['applyScheduleTemplate']>>>
export type BatchCreateSchedulesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['batchCreateSchedules']>>>
export type GetParentPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getParentPage']>>> export type GetParentPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getParentPage']>>>
export type CreateParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createParent']>>> export type CreateParentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createParent']>>>
export type BindStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['bindStudent']>>> export type BindStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['bindStudent']>>>
export type UnbindStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['unbindStudent']>>> export type UnbindStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['unbindStudent']>>>
export type ResetPassword1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['resetPassword1']>>> export type ResetPassword1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['resetPassword1']>>>
export type MarkAsRead1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAsRead1']>>>
export type MarkAllAsRead1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAllAsRead1']>>>
export type GetGrowthRecordPage1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getGrowthRecordPage1']>>> export type GetGrowthRecordPage1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getGrowthRecordPage1']>>>
export type CreateGrowthRecord1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createGrowthRecord1']>>> export type CreateGrowthRecord1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createGrowthRecord1']>>>
export type GetClassPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getClassPage']>>> export type GetClassPageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getClassPage']>>>
@ -2507,8 +3091,8 @@ export type CreateClassResult = NonNullable<Awaited<ReturnType<ReturnType<typeof
export type AssignTeachersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['assignTeachers']>>> export type AssignTeachersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['assignTeachers']>>>
export type AssignStudentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['assignStudents']>>> export type AssignStudentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['assignStudents']>>>
export type CompleteTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['completeTask']>>> export type CompleteTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['completeTask']>>>
export type MarkAsRead1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAsRead1']>>> export type MarkAsRead2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAsRead2']>>>
export type MarkAllAsRead1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAllAsRead1']>>> export type MarkAllAsRead2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['markAllAsRead2']>>>
export type CreateGrowthRecord2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createGrowthRecord2']>>> export type CreateGrowthRecord2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createGrowthRecord2']>>>
export type UploadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['uploadFile']>>> export type UploadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['uploadFile']>>>
export type LogoutResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['logout']>>> export type LogoutResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['logout']>>>
@ -2542,6 +3126,14 @@ export type ArchiveCourseResult = NonNullable<Awaited<ReturnType<ReturnType<type
export type ApproveCourseResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['approveCourse']>>> export type ApproveCourseResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['approveCourse']>>>
export type GetLessons1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLessons1']>>> export type GetLessons1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLessons1']>>>
export type CreateLesson1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createLesson1']>>> export type CreateLesson1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['createLesson1']>>>
export type GetCompletionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCompletions']>>>
export type GetTemplatesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTemplates']>>>
export type GetTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTemplate']>>>
export type GetDefaultTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getDefaultTemplate']>>>
export type GetStatsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStats']>>>
export type GetMonthlyStatsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMonthlyStats']>>>
export type GetStatsByTypeResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStatsByType']>>>
export type GetStatsByClassResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStatsByClass']>>>
export type GetCoursesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourses']>>> export type GetCoursesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourses']>>>
export type GetCourseResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourse']>>> export type GetCourseResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourse']>>>
export type GetSchedulePlansResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getSchedulePlans']>>> export type GetSchedulePlansResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getSchedulePlans']>>>
@ -2558,8 +3150,24 @@ export type GetCourse1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof
export type GetLessonsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLessons']>>> export type GetLessonsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLessons']>>>
export type GetLesson1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLesson1']>>> export type GetLesson1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLesson1']>>>
export type GetAllCoursesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getAllCourses']>>> export type GetAllCoursesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getAllCourses']>>>
export type GetStatsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStats']>>> export type GetCompletions1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCompletions1']>>>
export type GetDefaultTemplate1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getDefaultTemplate1']>>>
export type GetStats1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStats1']>>>
export type GetMonthlyStats1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMonthlyStats1']>>>
export type GetStatsByType1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStatsByType1']>>>
export type GetStatsByClass1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStatsByClass1']>>>
export type GetImportTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getImportTemplate']>>>
export type GetStats2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStats2']>>>
export type GetActiveTeachersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getActiveTeachers']>>>
export type GetLessonTrendResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLessonTrend']>>>
export type GetCourseUsageStatsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourseUsageStats']>>>
export type GetCourseDistributionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCourseDistribution']>>>
export type GetRecentActivitiesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getRecentActivities']>>>
export type GetTimetableResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTimetable']>>>
export type GetLogsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLogs']>>> export type GetLogsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLogs']>>>
export type GetMyNotifications1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMyNotifications1']>>>
export type GetNotification1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getNotification1']>>>
export type GetUnreadCount1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getUnreadCount1']>>>
export type ExportTeachersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['exportTeachers']>>> export type ExportTeachersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['exportTeachers']>>>
export type ExportStudentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['exportStudents']>>> export type ExportStudentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['exportStudents']>>>
export type ExportLessonsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['exportLessons']>>> export type ExportLessonsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['exportLessons']>>>
@ -2568,21 +3176,22 @@ export type GetPackagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof
export type GetPackageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getPackage']>>> export type GetPackageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getPackage']>>>
export type GetTask2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTask2']>>> export type GetTask2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTask2']>>>
export type GetTasksByStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTasksByStudent']>>> export type GetTasksByStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTasksByStudent']>>>
export type GetMyNotifications1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMyNotifications1']>>> export type GetMyNotifications2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMyNotifications2']>>>
export type GetNotification1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getNotification1']>>> export type GetNotification2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getNotification2']>>>
export type GetUnreadCount1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getUnreadCount1']>>> export type GetUnreadCount2Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getUnreadCount2']>>>
export type GetGrowthRecordsByStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getGrowthRecordsByStudent']>>> export type GetGrowthRecordsByStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getGrowthRecordsByStudent']>>>
export type GetRecentGrowthRecordsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getRecentGrowthRecords']>>> export type GetRecentGrowthRecordsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getRecentGrowthRecords']>>>
export type GetMyChildrenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMyChildren']>>> export type GetMyChildrenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getMyChildren']>>>
export type GetChildResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getChild']>>> export type GetChildResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getChild']>>>
export type GetCurrentUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCurrentUser']>>> export type GetCurrentUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getCurrentUser']>>>
export type GetAllActiveTenantsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getAllActiveTenants']>>> export type GetAllActiveTenantsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getAllActiveTenants']>>>
export type GetStats1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStats1']>>> export type GetStats3Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getStats3']>>>
export type GetTrendDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTrendData']>>> export type GetTrendDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getTrendData']>>>
export type GetActiveTenantsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getActiveTenants']>>> export type GetActiveTenantsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getActiveTenants']>>>
export type GetPopularCoursesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getPopularCourses']>>> export type GetPopularCoursesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getPopularCourses']>>>
export type GetActivitiesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getActivities']>>> export type GetActivitiesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getActivities']>>>
export type GetLogs1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLogs1']>>> export type GetLogs1Result = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getLogs1']>>>
export type GetReviewCoursePageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getReviewCoursePage']>>> export type GetReviewCoursePageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['getReviewCoursePage']>>>
export type DeleteScheduleTemplateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteScheduleTemplate']>>> export type RemoveTeacherResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['removeTeacher']>>>
export type RemoveStudentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['removeStudent']>>>
export type DeleteFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteFile']>>> export type DeleteFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getReadingPlatformAPI>['deleteFile']>>>

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,23 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
/**
*
*/
export interface CreateTaskFromTemplateRequest {
/** 模板 ID */
templateId?: number;
/** 目标 ID 列表(班级 ID 或学生 ID */
targetIds: number[];
/** 目标类型CLASS-班级STUDENT-学生 */
targetType?: string;
/** 任务开始日期 */
startDate?: string;
/** 任务截止日期 */
endDate?: string;
}

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetActiveTeachersParams = {
limit?: number;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetCompletions1Params = {
page?: number;
pageSize?: number;
status?: string;
};

View File

@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetCompletionsParams = {
page?: number;
pageSize?: number;
status?: string;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetLessonTrendParams = {
months?: number;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetMonthlyStats1Params = {
months?: number;
};

View File

@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetMonthlyStatsParams = {
months?: number;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetMyNotifications2Params = {
page?: number;
pageSize?: number;
isRead?: number;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetRecentActivitiesParams = {
limit?: number;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation
@ -10,4 +10,6 @@ export type GetSchedulePlans1Params = {
pageNum?: number; pageNum?: number;
pageSize?: number; pageSize?: number;
classId?: number; classId?: number;
startDate?: string;
endDate?: string;
}; };

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,14 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetTemplates1Params = {
page?: number;
pageSize?: number;
keyword?: string;
type?: string;
};

View File

@ -0,0 +1,14 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetTemplatesParams = {
page?: number;
pageSize?: number;
keyword?: string;
type?: string;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
export type GetTimetableParams = {
startDate?: string;
endDate?: string;
classId?: number;
};

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation
@ -18,10 +18,14 @@ export * from './courseCreateRequest';
export * from './courseLesson'; export * from './courseLesson';
export * from './coursePackage'; export * from './coursePackage';
export * from './courseUpdateRequest'; export * from './courseUpdateRequest';
export * from './createTaskFromTemplateRequest';
export * from './deleteFileParams'; export * from './deleteFileParams';
export * from './getActiveTeachersParams';
export * from './getActiveTenantsParams'; export * from './getActiveTenantsParams';
export * from './getActivitiesParams'; export * from './getActivitiesParams';
export * from './getClassPageParams'; export * from './getClassPageParams';
export * from './getCompletions1Params';
export * from './getCompletionsParams';
export * from './getCoursePage1Params'; export * from './getCoursePage1Params';
export * from './getCoursePageParams'; export * from './getCoursePageParams';
export * from './getCourses1Params'; export * from './getCourses1Params';
@ -30,16 +34,21 @@ export * from './getGrowthRecordPage1Params';
export * from './getGrowthRecordPageParams'; export * from './getGrowthRecordPageParams';
export * from './getGrowthRecordsByStudentParams'; export * from './getGrowthRecordsByStudentParams';
export * from './getItemsParams'; export * from './getItemsParams';
export * from './getLessonTrendParams';
export * from './getLibrariesParams'; export * from './getLibrariesParams';
export * from './getLogs1Params'; export * from './getLogs1Params';
export * from './getLogsParams'; export * from './getLogsParams';
export * from './getMonthlyStats1Params';
export * from './getMonthlyStatsParams';
export * from './getMyLessonsParams'; export * from './getMyLessonsParams';
export * from './getMyNotifications1Params'; export * from './getMyNotifications1Params';
export * from './getMyNotifications2Params';
export * from './getMyNotificationsParams'; export * from './getMyNotificationsParams';
export * from './getPackages1Params'; export * from './getPackages1Params';
export * from './getPackagesParams'; export * from './getPackagesParams';
export * from './getParentPageParams'; export * from './getParentPageParams';
export * from './getPopularCoursesParams'; export * from './getPopularCoursesParams';
export * from './getRecentActivitiesParams';
export * from './getRecentGrowthRecordsParams'; export * from './getRecentGrowthRecordsParams';
export * from './getReviewCoursePageParams'; export * from './getReviewCoursePageParams';
export * from './getSchedulePlans1Params'; export * from './getSchedulePlans1Params';
@ -50,8 +59,11 @@ export * from './getTaskPage1Params';
export * from './getTaskPageParams'; export * from './getTaskPageParams';
export * from './getTasksByStudentParams'; export * from './getTasksByStudentParams';
export * from './getTeacherPageParams'; export * from './getTeacherPageParams';
export * from './getTemplates1Params';
export * from './getTemplatesParams';
export * from './getTenantPageParams'; export * from './getTenantPageParams';
export * from './getThemesParams'; export * from './getThemesParams';
export * from './getTimetableParams';
export * from './growthRecord'; export * from './growthRecord';
export * from './growthRecordCreateRequest'; export * from './growthRecordCreateRequest';
export * from './growthRecordUpdateRequest'; export * from './growthRecordUpdateRequest';
@ -77,6 +89,8 @@ export * from './pageResultScheduleTemplate';
export * from './pageResultSchoolCourse'; export * from './pageResultSchoolCourse';
export * from './pageResultStudent'; export * from './pageResultStudent';
export * from './pageResultTask'; export * from './pageResultTask';
export * from './pageResultTaskCompletion';
export * from './pageResultTaskTemplate';
export * from './pageResultTeacher'; export * from './pageResultTeacher';
export * from './pageResultTenant'; export * from './pageResultTenant';
export * from './parent'; export * from './parent';
@ -100,6 +114,7 @@ export * from './resultListLesson';
export * from './resultListMapStringObject'; export * from './resultListMapStringObject';
export * from './resultListMapStringObjectDataItem'; export * from './resultListMapStringObjectDataItem';
export * from './resultListResourceLibrary'; export * from './resultListResourceLibrary';
export * from './resultListSchedulePlan';
export * from './resultListStudent'; export * from './resultListStudent';
export * from './resultListTenantResponse'; export * from './resultListTenantResponse';
export * from './resultListTheme'; export * from './resultListTheme';
@ -124,6 +139,8 @@ export * from './resultPageResultScheduleTemplate';
export * from './resultPageResultSchoolCourse'; export * from './resultPageResultSchoolCourse';
export * from './resultPageResultStudent'; export * from './resultPageResultStudent';
export * from './resultPageResultTask'; export * from './resultPageResultTask';
export * from './resultPageResultTaskCompletion';
export * from './resultPageResultTaskTemplate';
export * from './resultPageResultTeacher'; export * from './resultPageResultTeacher';
export * from './resultPageResultTenant'; export * from './resultPageResultTenant';
export * from './resultParent'; export * from './resultParent';
@ -134,6 +151,8 @@ export * from './resultScheduleTemplate';
export * from './resultSchoolCourse'; export * from './resultSchoolCourse';
export * from './resultStudent'; export * from './resultStudent';
export * from './resultTask'; export * from './resultTask';
export * from './resultTaskCompletion';
export * from './resultTaskTemplate';
export * from './resultTeacher'; export * from './resultTeacher';
export * from './resultTenant'; export * from './resultTenant';
export * from './resultTheme'; export * from './resultTheme';
@ -142,13 +161,19 @@ export * from './resultVoid';
export * from './resultVoidData'; export * from './resultVoidData';
export * from './reviewPackageBody'; export * from './reviewPackageBody';
export * from './schedulePlan'; export * from './schedulePlan';
export * from './schedulePlanCreateRequest';
export * from './scheduleTemplate'; export * from './scheduleTemplate';
export * from './scheduleTemplateApplyRequest';
export * from './schoolCourse'; export * from './schoolCourse';
export * from './student'; export * from './student';
export * from './studentCreateRequest'; export * from './studentCreateRequest';
export * from './studentUpdateRequest'; export * from './studentUpdateRequest';
export * from './task'; export * from './task';
export * from './taskCompletion';
export * from './taskCreateRequest'; export * from './taskCreateRequest';
export * from './taskTemplate';
export * from './taskTemplateCreateRequest';
export * from './taskTemplateUpdateRequest';
export * from './taskUpdateRequest'; export * from './taskUpdateRequest';
export * from './teacher'; export * from './teacher';
export * from './teacherCreateRequest'; export * from './teacherCreateRequest';
@ -158,6 +183,8 @@ export * from './tenantCreateRequest';
export * from './tenantResponse'; export * from './tenantResponse';
export * from './tenantUpdateRequest'; export * from './tenantUpdateRequest';
export * from './theme'; export * from './theme';
export * from './updateCompletion1Params';
export * from './updateCompletionParams';
export * from './updateSettings1Body'; export * from './updateSettings1Body';
export * from './updateSettingsBody'; export * from './updateSettingsBody';
export * from './updateTenantQuotaBody'; export * from './updateTenantQuotaBody';

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -0,0 +1,16 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
import type { TaskCompletion } from './taskCompletion';
export interface PageResultTaskCompletion {
total?: number;
pageSize?: number;
items?: TaskCompletion[];
page?: number;
totalPages?: number;
}

View File

@ -0,0 +1,16 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Reading Platform API
* Reading Platform Backend Service API Documentation
* OpenAPI spec version: 1.0.0
*/
import type { TaskTemplate } from './taskTemplate';
export interface PageResultTaskTemplate {
total?: number;
pageSize?: number;
items?: TaskTemplate[];
page?: number;
totalPages?: number;
}

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

View File

@ -1,5 +1,5 @@
/** /**
* Generated by orval v7.13.2 🍺 * Generated by orval v7.21.0 🍺
* Do not edit manually. * Do not edit manually.
* Reading Platform API * Reading Platform API
* Reading Platform Backend Service API Documentation * Reading Platform Backend Service API Documentation

Some files were not shown because too many files have changed in this diff Show More