@faiber/faiber-lms 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -10
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -0
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +100 -1
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +123 -2
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +579 -262
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +94 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -11,7 +11,7 @@ export type AcademySubmitExamPostResponse = import("./types.js").AcademyExamResu
|
|
|
11
11
|
export type AcademyCategoriesGetResponse = import("./types.js").AcademyCategoriesResponse;
|
|
12
12
|
/** Backend query type: CatalogQuery. */
|
|
13
13
|
export interface AcademyCoursesGetQuery extends QueryParams {
|
|
14
|
-
"category_id"?:
|
|
14
|
+
"category_id"?: string | null;
|
|
15
15
|
}
|
|
16
16
|
/** Backend response type: Value. */
|
|
17
17
|
export type AcademyCoursesGetResponse = import("./types.js").AcademyCoursesResponse;
|
|
@@ -43,15 +43,15 @@ export interface CertificateIndexCertificateGetQuery extends QueryParams {
|
|
|
43
43
|
}
|
|
44
44
|
/** Backend response type: crate::models::PagedResult<models::CertificateResponse>. */
|
|
45
45
|
export interface CertificateIndexCertificateGetResponseItem extends JsonObject {
|
|
46
|
-
"id":
|
|
46
|
+
"id": string;
|
|
47
47
|
"public_id": string;
|
|
48
48
|
"user_id": string;
|
|
49
49
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
50
|
-
"course_id"?:
|
|
51
|
-
"classroom_id"?:
|
|
50
|
+
"course_id"?: string | null;
|
|
51
|
+
"classroom_id"?: string | null;
|
|
52
52
|
"title": string;
|
|
53
|
-
"certificate_template_id"?:
|
|
54
|
-
"grade_id"?:
|
|
53
|
+
"certificate_template_id"?: string | null;
|
|
54
|
+
"grade_id"?: string | null;
|
|
55
55
|
"status": string;
|
|
56
56
|
"verification_code"?: string | null;
|
|
57
57
|
"legacy_code"?: string | null;
|
|
@@ -79,11 +79,11 @@ export interface CertificateIndexCertificateGetResponse extends ApiEnvelope<Cert
|
|
|
79
79
|
/** Backend request type: models::CreateCertificateRequest. */
|
|
80
80
|
export interface CertificateStoreCertificatePostInput extends JsonObject {
|
|
81
81
|
"user_id": string;
|
|
82
|
-
"course_id"?:
|
|
83
|
-
"classroom_id"?:
|
|
82
|
+
"course_id"?: string | null;
|
|
83
|
+
"classroom_id"?: string | null;
|
|
84
84
|
"title": string;
|
|
85
|
-
"certificate_template_id"?:
|
|
86
|
-
"grade_id"?:
|
|
85
|
+
"certificate_template_id"?: string | null;
|
|
86
|
+
"grade_id"?: string | null;
|
|
87
87
|
"status"?: string | null;
|
|
88
88
|
"verification_code"?: string | null;
|
|
89
89
|
"issued_by"?: string | null;
|
|
@@ -93,15 +93,15 @@ export interface CertificateStoreCertificatePostInput extends JsonObject {
|
|
|
93
93
|
}
|
|
94
94
|
/** Backend response type: models::CertificateResponse. */
|
|
95
95
|
export interface CertificateStoreCertificatePostResponseData extends JsonObject {
|
|
96
|
-
"id":
|
|
96
|
+
"id": string;
|
|
97
97
|
"public_id": string;
|
|
98
98
|
"user_id": string;
|
|
99
99
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
100
|
-
"course_id"?:
|
|
101
|
-
"classroom_id"?:
|
|
100
|
+
"course_id"?: string | null;
|
|
101
|
+
"classroom_id"?: string | null;
|
|
102
102
|
"title": string;
|
|
103
|
-
"certificate_template_id"?:
|
|
104
|
-
"grade_id"?:
|
|
103
|
+
"certificate_template_id"?: string | null;
|
|
104
|
+
"grade_id"?: string | null;
|
|
105
105
|
"status": string;
|
|
106
106
|
"verification_code"?: string | null;
|
|
107
107
|
"legacy_code"?: string | null;
|
|
@@ -116,17 +116,20 @@ export interface CertificateStoreCertificatePostResponseData extends JsonObject
|
|
|
116
116
|
}
|
|
117
117
|
export interface CertificateStoreCertificatePostResponse extends ApiEnvelope<CertificateStoreCertificatePostResponseData> {
|
|
118
118
|
}
|
|
119
|
+
/** Backend response type: raw-response. */
|
|
120
|
+
export interface CertificateRenderCertificateImageGetResponse extends ApiEnvelope<JsonValue> {
|
|
121
|
+
}
|
|
119
122
|
/** Backend response type: models::CertificateResponse. */
|
|
120
123
|
export interface CertificateShowCertificateGetResponseData extends JsonObject {
|
|
121
|
-
"id":
|
|
124
|
+
"id": string;
|
|
122
125
|
"public_id": string;
|
|
123
126
|
"user_id": string;
|
|
124
127
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
125
|
-
"course_id"?:
|
|
126
|
-
"classroom_id"?:
|
|
128
|
+
"course_id"?: string | null;
|
|
129
|
+
"classroom_id"?: string | null;
|
|
127
130
|
"title": string;
|
|
128
|
-
"certificate_template_id"?:
|
|
129
|
-
"grade_id"?:
|
|
131
|
+
"certificate_template_id"?: string | null;
|
|
132
|
+
"grade_id"?: string | null;
|
|
130
133
|
"status": string;
|
|
131
134
|
"verification_code"?: string | null;
|
|
132
135
|
"legacy_code"?: string | null;
|
|
@@ -144,8 +147,8 @@ export interface CertificateShowCertificateGetResponse extends ApiEnvelope<Certi
|
|
|
144
147
|
/** Backend request type: models::UpdateCertificateRequest. */
|
|
145
148
|
export interface CertificateUpdateCertificatePatchInput extends JsonObject {
|
|
146
149
|
"user_id"?: string | null;
|
|
147
|
-
"course_id"?:
|
|
148
|
-
"classroom_id"?:
|
|
150
|
+
"course_id"?: string | null;
|
|
151
|
+
"classroom_id"?: string | null;
|
|
149
152
|
"title"?: string | null;
|
|
150
153
|
"status"?: string | null;
|
|
151
154
|
"issued_at"?: string | null;
|
|
@@ -154,15 +157,15 @@ export interface CertificateUpdateCertificatePatchInput extends JsonObject {
|
|
|
154
157
|
}
|
|
155
158
|
/** Backend response type: models::CertificateResponse. */
|
|
156
159
|
export interface CertificateUpdateCertificatePatchResponseData extends JsonObject {
|
|
157
|
-
"id":
|
|
160
|
+
"id": string;
|
|
158
161
|
"public_id": string;
|
|
159
162
|
"user_id": string;
|
|
160
163
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
161
|
-
"course_id"?:
|
|
162
|
-
"classroom_id"?:
|
|
164
|
+
"course_id"?: string | null;
|
|
165
|
+
"classroom_id"?: string | null;
|
|
163
166
|
"title": string;
|
|
164
|
-
"certificate_template_id"?:
|
|
165
|
-
"grade_id"?:
|
|
167
|
+
"certificate_template_id"?: string | null;
|
|
168
|
+
"grade_id"?: string | null;
|
|
166
169
|
"status": string;
|
|
167
170
|
"verification_code"?: string | null;
|
|
168
171
|
"legacy_code"?: string | null;
|
|
@@ -177,32 +180,130 @@ export interface CertificateUpdateCertificatePatchResponseData extends JsonObjec
|
|
|
177
180
|
}
|
|
178
181
|
export interface CertificateUpdateCertificatePatchResponse extends ApiEnvelope<CertificateUpdateCertificatePatchResponseData> {
|
|
179
182
|
}
|
|
183
|
+
/** Backend query type: PaginationQuery. */
|
|
184
|
+
export interface CertificateIndexTemplateGetQuery extends QueryParams {
|
|
185
|
+
"page_number"?: number | null;
|
|
186
|
+
"page_size"?: number | null;
|
|
187
|
+
}
|
|
188
|
+
/** Backend response type: crate::models::PagedResult<models::CertificateTemplateResponse>. */
|
|
189
|
+
export interface CertificateIndexTemplateGetResponseItem extends JsonObject {
|
|
190
|
+
"id": string;
|
|
191
|
+
"name": string;
|
|
192
|
+
"name_en"?: string | null;
|
|
193
|
+
"background_url": string;
|
|
194
|
+
"canvas_width": number;
|
|
195
|
+
"canvas_height": number;
|
|
196
|
+
"layout": JsonValue;
|
|
197
|
+
"status": string;
|
|
198
|
+
"created_at": string;
|
|
199
|
+
"updated_at": string;
|
|
200
|
+
}
|
|
201
|
+
export interface CertificateIndexTemplateGetResponsePageMeta extends JsonObject {
|
|
202
|
+
"page": number;
|
|
203
|
+
"page_size": number;
|
|
204
|
+
"total_items": number;
|
|
205
|
+
"total_pages": number;
|
|
206
|
+
}
|
|
207
|
+
export interface CertificateIndexTemplateGetResponseData extends JsonObject {
|
|
208
|
+
"data": CertificateIndexTemplateGetResponseItem[];
|
|
209
|
+
"meta": CertificateIndexTemplateGetResponsePageMeta;
|
|
210
|
+
}
|
|
211
|
+
export interface CertificateIndexTemplateGetResponse extends ApiEnvelope<CertificateIndexTemplateGetResponseData> {
|
|
212
|
+
}
|
|
213
|
+
/** Backend request type: models::CreateCertificateTemplateRequest. */
|
|
214
|
+
export interface CertificateStoreTemplatePostInput extends JsonObject {
|
|
215
|
+
"name": string;
|
|
216
|
+
"name_en"?: string | null;
|
|
217
|
+
"background_url": string;
|
|
218
|
+
"canvas_width": number;
|
|
219
|
+
"canvas_height": number;
|
|
220
|
+
"layout"?: JsonValue | null;
|
|
221
|
+
"status"?: string | null;
|
|
222
|
+
}
|
|
223
|
+
/** Backend response type: models::CertificateTemplateResponse. */
|
|
224
|
+
export interface CertificateStoreTemplatePostResponseData extends JsonObject {
|
|
225
|
+
"id": string;
|
|
226
|
+
"name": string;
|
|
227
|
+
"name_en"?: string | null;
|
|
228
|
+
"background_url": string;
|
|
229
|
+
"canvas_width": number;
|
|
230
|
+
"canvas_height": number;
|
|
231
|
+
"layout": JsonValue;
|
|
232
|
+
"status": string;
|
|
233
|
+
"created_at": string;
|
|
234
|
+
"updated_at": string;
|
|
235
|
+
}
|
|
236
|
+
export interface CertificateStoreTemplatePostResponse extends ApiEnvelope<CertificateStoreTemplatePostResponseData> {
|
|
237
|
+
}
|
|
238
|
+
/** Backend response type: models::CertificateTemplateResponse. */
|
|
239
|
+
export interface CertificateShowTemplateGetResponseData extends JsonObject {
|
|
240
|
+
"id": string;
|
|
241
|
+
"name": string;
|
|
242
|
+
"name_en"?: string | null;
|
|
243
|
+
"background_url": string;
|
|
244
|
+
"canvas_width": number;
|
|
245
|
+
"canvas_height": number;
|
|
246
|
+
"layout": JsonValue;
|
|
247
|
+
"status": string;
|
|
248
|
+
"created_at": string;
|
|
249
|
+
"updated_at": string;
|
|
250
|
+
}
|
|
251
|
+
export interface CertificateShowTemplateGetResponse extends ApiEnvelope<CertificateShowTemplateGetResponseData> {
|
|
252
|
+
}
|
|
253
|
+
/** Backend request type: models::UpdateCertificateTemplateRequest. */
|
|
254
|
+
export interface CertificateUpdateTemplatePatchInput extends JsonObject {
|
|
255
|
+
"name"?: string | null;
|
|
256
|
+
"name_en"?: string | null;
|
|
257
|
+
"background_url"?: string | null;
|
|
258
|
+
"canvas_width"?: number | null;
|
|
259
|
+
"canvas_height"?: number | null;
|
|
260
|
+
"layout"?: JsonValue | null;
|
|
261
|
+
"status"?: string | null;
|
|
262
|
+
}
|
|
263
|
+
/** Backend response type: models::CertificateTemplateResponse. */
|
|
264
|
+
export interface CertificateUpdateTemplatePatchResponseData extends JsonObject {
|
|
265
|
+
"id": string;
|
|
266
|
+
"name": string;
|
|
267
|
+
"name_en"?: string | null;
|
|
268
|
+
"background_url": string;
|
|
269
|
+
"canvas_width": number;
|
|
270
|
+
"canvas_height": number;
|
|
271
|
+
"layout": JsonValue;
|
|
272
|
+
"status": string;
|
|
273
|
+
"created_at": string;
|
|
274
|
+
"updated_at": string;
|
|
275
|
+
}
|
|
276
|
+
export interface CertificateUpdateTemplatePatchResponse extends ApiEnvelope<CertificateUpdateTemplatePatchResponseData> {
|
|
277
|
+
}
|
|
180
278
|
/** Backend query type: models::ClassroomListQuery. */
|
|
181
279
|
export interface ClassroomIndexClassroomGetQuery extends QueryParams {
|
|
182
280
|
"page_number"?: number | null;
|
|
183
281
|
"page_size"?: number | null;
|
|
184
282
|
"search"?: string | null;
|
|
185
283
|
"status"?: string | null;
|
|
186
|
-
"course_id"?:
|
|
284
|
+
"course_id"?: string | null;
|
|
187
285
|
"teacher_user_id"?: string | null;
|
|
188
286
|
"consultant_user_id"?: string | null;
|
|
287
|
+
"support_user_id"?: string | null;
|
|
189
288
|
}
|
|
190
289
|
/** Backend response type: crate::models::PagedResult<models::ClassroomResponse>. */
|
|
191
290
|
export interface ClassroomIndexClassroomGetResponseItem extends JsonObject {
|
|
192
|
-
"id":
|
|
193
|
-
"course_id":
|
|
291
|
+
"id": string;
|
|
292
|
+
"course_id": string;
|
|
194
293
|
"course_name"?: string | null;
|
|
195
294
|
"name": string;
|
|
196
295
|
"code"?: string | null;
|
|
197
296
|
"description"?: string | null;
|
|
198
297
|
"info"?: string | null;
|
|
199
|
-
"classroom_type_id"?:
|
|
200
|
-
"school_grade_id"?:
|
|
201
|
-
"grade_id"?:
|
|
298
|
+
"classroom_type_id"?: string | null;
|
|
299
|
+
"school_grade_id"?: string | null;
|
|
300
|
+
"grade_id"?: string | null;
|
|
202
301
|
"teacher_user_id"?: string | null;
|
|
203
302
|
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
204
303
|
"consultant_user_id"?: string | null;
|
|
205
304
|
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
305
|
+
"support_user_id"?: string | null;
|
|
306
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
206
307
|
"capacity"?: number | null;
|
|
207
308
|
"notifications": JsonValue;
|
|
208
309
|
"weekly_schedule": JsonValue;
|
|
@@ -227,16 +328,17 @@ export interface ClassroomIndexClassroomGetResponse extends ApiEnvelope<Classroo
|
|
|
227
328
|
}
|
|
228
329
|
/** Backend request type: models::CreateClassroomRequest. */
|
|
229
330
|
export interface ClassroomStoreClassroomPostInput extends JsonObject {
|
|
230
|
-
"course_id":
|
|
331
|
+
"course_id": string;
|
|
231
332
|
"name": string;
|
|
232
333
|
"code"?: string | null;
|
|
233
334
|
"description"?: string | null;
|
|
234
335
|
"info"?: string | null;
|
|
235
|
-
"classroom_type_id"?:
|
|
236
|
-
"school_grade_id"?:
|
|
237
|
-
"grade_id"?:
|
|
336
|
+
"classroom_type_id"?: string | null;
|
|
337
|
+
"school_grade_id"?: string | null;
|
|
338
|
+
"grade_id"?: string | null;
|
|
238
339
|
"teacher_user_id"?: string | null;
|
|
239
340
|
"consultant_user_id"?: string | null;
|
|
341
|
+
"support_user_id"?: string | null;
|
|
240
342
|
"capacity"?: number | null;
|
|
241
343
|
"notifications"?: JsonValue | null;
|
|
242
344
|
"weekly_schedule"?: JsonValue | null;
|
|
@@ -247,20 +349,22 @@ export interface ClassroomStoreClassroomPostInput extends JsonObject {
|
|
|
247
349
|
}
|
|
248
350
|
/** Backend response type: models::ClassroomResponse. */
|
|
249
351
|
export interface ClassroomStoreClassroomPostResponseData extends JsonObject {
|
|
250
|
-
"id":
|
|
251
|
-
"course_id":
|
|
352
|
+
"id": string;
|
|
353
|
+
"course_id": string;
|
|
252
354
|
"course_name"?: string | null;
|
|
253
355
|
"name": string;
|
|
254
356
|
"code"?: string | null;
|
|
255
357
|
"description"?: string | null;
|
|
256
358
|
"info"?: string | null;
|
|
257
|
-
"classroom_type_id"?:
|
|
258
|
-
"school_grade_id"?:
|
|
259
|
-
"grade_id"?:
|
|
359
|
+
"classroom_type_id"?: string | null;
|
|
360
|
+
"school_grade_id"?: string | null;
|
|
361
|
+
"grade_id"?: string | null;
|
|
260
362
|
"teacher_user_id"?: string | null;
|
|
261
363
|
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
262
364
|
"consultant_user_id"?: string | null;
|
|
263
365
|
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
366
|
+
"support_user_id"?: string | null;
|
|
367
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
264
368
|
"capacity"?: number | null;
|
|
265
369
|
"notifications": JsonValue;
|
|
266
370
|
"weekly_schedule": JsonValue;
|
|
@@ -275,20 +379,22 @@ export interface ClassroomStoreClassroomPostResponse extends ApiEnvelope<Classro
|
|
|
275
379
|
}
|
|
276
380
|
/** Backend response type: models::ClassroomResponse. */
|
|
277
381
|
export interface ClassroomShowClassroomGetResponseData extends JsonObject {
|
|
278
|
-
"id":
|
|
279
|
-
"course_id":
|
|
382
|
+
"id": string;
|
|
383
|
+
"course_id": string;
|
|
280
384
|
"course_name"?: string | null;
|
|
281
385
|
"name": string;
|
|
282
386
|
"code"?: string | null;
|
|
283
387
|
"description"?: string | null;
|
|
284
388
|
"info"?: string | null;
|
|
285
|
-
"classroom_type_id"?:
|
|
286
|
-
"school_grade_id"?:
|
|
287
|
-
"grade_id"?:
|
|
389
|
+
"classroom_type_id"?: string | null;
|
|
390
|
+
"school_grade_id"?: string | null;
|
|
391
|
+
"grade_id"?: string | null;
|
|
288
392
|
"teacher_user_id"?: string | null;
|
|
289
393
|
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
290
394
|
"consultant_user_id"?: string | null;
|
|
291
395
|
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
396
|
+
"support_user_id"?: string | null;
|
|
397
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
292
398
|
"capacity"?: number | null;
|
|
293
399
|
"notifications": JsonValue;
|
|
294
400
|
"weekly_schedule": JsonValue;
|
|
@@ -303,16 +409,17 @@ export interface ClassroomShowClassroomGetResponse extends ApiEnvelope<Classroom
|
|
|
303
409
|
}
|
|
304
410
|
/** Backend request type: models::UpdateClassroomRequest. */
|
|
305
411
|
export interface ClassroomUpdateClassroomPatchInput extends JsonObject {
|
|
306
|
-
"course_id"?:
|
|
412
|
+
"course_id"?: string | null;
|
|
307
413
|
"name"?: string | null;
|
|
308
414
|
"code"?: string | null;
|
|
309
415
|
"description"?: string | null;
|
|
310
416
|
"info"?: string | null;
|
|
311
|
-
"classroom_type_id"?:
|
|
312
|
-
"school_grade_id"?:
|
|
313
|
-
"grade_id"?:
|
|
417
|
+
"classroom_type_id"?: string | null;
|
|
418
|
+
"school_grade_id"?: string | null;
|
|
419
|
+
"grade_id"?: string | null;
|
|
314
420
|
"teacher_user_id"?: string | null;
|
|
315
421
|
"consultant_user_id"?: string | null;
|
|
422
|
+
"support_user_id"?: string | null;
|
|
316
423
|
"capacity"?: number | null;
|
|
317
424
|
"notifications"?: JsonValue | null;
|
|
318
425
|
"weekly_schedule"?: JsonValue | null;
|
|
@@ -323,20 +430,22 @@ export interface ClassroomUpdateClassroomPatchInput extends JsonObject {
|
|
|
323
430
|
}
|
|
324
431
|
/** Backend response type: models::ClassroomResponse. */
|
|
325
432
|
export interface ClassroomUpdateClassroomPatchResponseData extends JsonObject {
|
|
326
|
-
"id":
|
|
327
|
-
"course_id":
|
|
433
|
+
"id": string;
|
|
434
|
+
"course_id": string;
|
|
328
435
|
"course_name"?: string | null;
|
|
329
436
|
"name": string;
|
|
330
437
|
"code"?: string | null;
|
|
331
438
|
"description"?: string | null;
|
|
332
439
|
"info"?: string | null;
|
|
333
|
-
"classroom_type_id"?:
|
|
334
|
-
"school_grade_id"?:
|
|
335
|
-
"grade_id"?:
|
|
440
|
+
"classroom_type_id"?: string | null;
|
|
441
|
+
"school_grade_id"?: string | null;
|
|
442
|
+
"grade_id"?: string | null;
|
|
336
443
|
"teacher_user_id"?: string | null;
|
|
337
444
|
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
338
445
|
"consultant_user_id"?: string | null;
|
|
339
446
|
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
447
|
+
"support_user_id"?: string | null;
|
|
448
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
340
449
|
"capacity"?: number | null;
|
|
341
450
|
"notifications": JsonValue;
|
|
342
451
|
"weekly_schedule": JsonValue;
|
|
@@ -349,13 +458,28 @@ export interface ClassroomUpdateClassroomPatchResponseData extends JsonObject {
|
|
|
349
458
|
}
|
|
350
459
|
export interface ClassroomUpdateClassroomPatchResponse extends ApiEnvelope<ClassroomUpdateClassroomPatchResponseData> {
|
|
351
460
|
}
|
|
461
|
+
/** Backend response type: models::CompletionReviewResponse. */
|
|
462
|
+
export interface ClassroomShowCompletionGetResponseData extends JsonObject {
|
|
463
|
+
"classroom_id": string;
|
|
464
|
+
"classroom_name": string;
|
|
465
|
+
"classroom_status": string;
|
|
466
|
+
"course_id": string;
|
|
467
|
+
"course_name": string;
|
|
468
|
+
"passing_mark"?: number | null;
|
|
469
|
+
"exams": BackendJson<"CompletionExam">[];
|
|
470
|
+
"certificate_templates": BackendJson<"CompletionCertificateTemplate">[];
|
|
471
|
+
"students": BackendJson<"CompletionStudent">[];
|
|
472
|
+
}
|
|
473
|
+
export interface ClassroomShowCompletionGetResponse extends ApiEnvelope<ClassroomShowCompletionGetResponseData> {
|
|
474
|
+
}
|
|
352
475
|
/** Backend request type: models::FinalizeClassroomRequest. */
|
|
353
476
|
export interface ClassroomFinalizeClassroomPostInput extends JsonObject {
|
|
354
477
|
"idempotency_key": string;
|
|
478
|
+
"students": BackendJson<"FinalScoreRequest">[];
|
|
355
479
|
}
|
|
356
480
|
/** Backend response type: models::FinalizeClassroomResponse. */
|
|
357
481
|
export interface ClassroomFinalizeClassroomPostResponseData extends JsonObject {
|
|
358
|
-
"classroom_id":
|
|
482
|
+
"classroom_id": string;
|
|
359
483
|
"grades_finalized": number;
|
|
360
484
|
"certificates_issued": number;
|
|
361
485
|
"already_finalized": boolean;
|
|
@@ -369,8 +493,8 @@ export interface ClassroomIndexClassroomUsersGetQuery extends QueryParams {
|
|
|
369
493
|
}
|
|
370
494
|
/** Backend response type: crate::models::PagedResult<models::ClassroomUserResponse>. */
|
|
371
495
|
export interface ClassroomIndexClassroomUsersGetResponseItem extends JsonObject {
|
|
372
|
-
"id":
|
|
373
|
-
"classroom_id":
|
|
496
|
+
"id": string;
|
|
497
|
+
"classroom_id": string;
|
|
374
498
|
"user_id": string;
|
|
375
499
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
376
500
|
"score"?: number | null;
|
|
@@ -398,8 +522,8 @@ export interface ClassroomEnrollClassroomUserPostInput extends JsonObject {
|
|
|
398
522
|
}
|
|
399
523
|
/** Backend response type: models::ClassroomUserResponse. */
|
|
400
524
|
export interface ClassroomEnrollClassroomUserPostResponseData extends JsonObject {
|
|
401
|
-
"id":
|
|
402
|
-
"classroom_id":
|
|
525
|
+
"id": string;
|
|
526
|
+
"classroom_id": string;
|
|
403
527
|
"user_id": string;
|
|
404
528
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
405
529
|
"score"?: number | null;
|
|
@@ -419,8 +543,8 @@ export interface ClassroomUpdateClassroomUserPatchInput extends JsonObject {
|
|
|
419
543
|
}
|
|
420
544
|
/** Backend response type: models::ClassroomUserResponse. */
|
|
421
545
|
export interface ClassroomUpdateClassroomUserPatchResponseData extends JsonObject {
|
|
422
|
-
"id":
|
|
423
|
-
"classroom_id":
|
|
546
|
+
"id": string;
|
|
547
|
+
"classroom_id": string;
|
|
424
548
|
"user_id": string;
|
|
425
549
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
426
550
|
"score"?: number | null;
|
|
@@ -430,21 +554,37 @@ export interface ClassroomUpdateClassroomUserPatchResponseData extends JsonObjec
|
|
|
430
554
|
}
|
|
431
555
|
export interface ClassroomUpdateClassroomUserPatchResponse extends ApiEnvelope<ClassroomUpdateClassroomUserPatchResponseData> {
|
|
432
556
|
}
|
|
557
|
+
/** Backend response type: Vec<models::ClassroomSessionTypeResponse>. */
|
|
558
|
+
export interface ClassroomIndexSessionTypesGetResponseItem extends JsonObject {
|
|
559
|
+
"id": string;
|
|
560
|
+
"code": string;
|
|
561
|
+
"name": string;
|
|
562
|
+
"name_en"?: string | null;
|
|
563
|
+
"is_online": boolean;
|
|
564
|
+
"status": string;
|
|
565
|
+
"sort_order": number;
|
|
566
|
+
"created_at": string;
|
|
567
|
+
"updated_at": string;
|
|
568
|
+
}
|
|
569
|
+
export interface ClassroomIndexSessionTypesGetResponse extends ApiEnvelope<ClassroomIndexSessionTypesGetResponseItem[]> {
|
|
570
|
+
}
|
|
433
571
|
/** Backend query type: models::SessionListQuery. */
|
|
434
572
|
export interface ClassroomIndexSessionGetQuery extends QueryParams {
|
|
435
573
|
"page_number"?: number | null;
|
|
436
574
|
"page_size"?: number | null;
|
|
437
575
|
"status"?: string | null;
|
|
438
|
-
"classroom_id"?:
|
|
576
|
+
"classroom_id"?: string | null;
|
|
439
577
|
"from"?: string | null;
|
|
440
578
|
"to"?: string | null;
|
|
441
579
|
}
|
|
442
580
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
443
581
|
export interface ClassroomIndexSessionGetResponseItem extends JsonObject {
|
|
444
|
-
"id":
|
|
445
|
-
"classroom_id":
|
|
582
|
+
"id": string;
|
|
583
|
+
"classroom_id": string;
|
|
446
584
|
"classroom_name"?: string | null;
|
|
447
|
-
"course_session_id"?:
|
|
585
|
+
"course_session_id"?: string | null;
|
|
586
|
+
"course_session_type_id"?: string | null;
|
|
587
|
+
"session_type"?: ClassroomIndexSessionTypesGetResponseItem | null;
|
|
448
588
|
"name"?: string | null;
|
|
449
589
|
"session_number"?: number | null;
|
|
450
590
|
"duration_minutes"?: number | null;
|
|
@@ -476,8 +616,8 @@ export interface ClassroomIndexSessionGetResponse extends ApiEnvelope<ClassroomI
|
|
|
476
616
|
}
|
|
477
617
|
/** Backend request type: models::CreateSessionRequest. */
|
|
478
618
|
export interface ClassroomStoreSessionPostInput extends JsonObject {
|
|
479
|
-
"classroom_id":
|
|
480
|
-
"course_session_id"?:
|
|
619
|
+
"classroom_id": string;
|
|
620
|
+
"course_session_id"?: string | null;
|
|
481
621
|
"name"?: string | null;
|
|
482
622
|
"session_number"?: number | null;
|
|
483
623
|
"duration_minutes"?: number | null;
|
|
@@ -493,10 +633,12 @@ export interface ClassroomStoreSessionPostInput extends JsonObject {
|
|
|
493
633
|
}
|
|
494
634
|
/** Backend response type: models::SessionResponse. */
|
|
495
635
|
export interface ClassroomStoreSessionPostResponseData extends JsonObject {
|
|
496
|
-
"id":
|
|
497
|
-
"classroom_id":
|
|
636
|
+
"id": string;
|
|
637
|
+
"classroom_id": string;
|
|
498
638
|
"classroom_name"?: string | null;
|
|
499
|
-
"course_session_id"?:
|
|
639
|
+
"course_session_id"?: string | null;
|
|
640
|
+
"course_session_type_id"?: string | null;
|
|
641
|
+
"session_type"?: ClassroomIndexSessionTypesGetResponseItem | null;
|
|
500
642
|
"name"?: string | null;
|
|
501
643
|
"session_number"?: number | null;
|
|
502
644
|
"duration_minutes"?: number | null;
|
|
@@ -518,10 +660,12 @@ export interface ClassroomStoreSessionPostResponse extends ApiEnvelope<Classroom
|
|
|
518
660
|
}
|
|
519
661
|
/** Backend response type: models::SessionResponse. */
|
|
520
662
|
export interface ClassroomShowSessionGetResponseData extends JsonObject {
|
|
521
|
-
"id":
|
|
522
|
-
"classroom_id":
|
|
663
|
+
"id": string;
|
|
664
|
+
"classroom_id": string;
|
|
523
665
|
"classroom_name"?: string | null;
|
|
524
|
-
"course_session_id"?:
|
|
666
|
+
"course_session_id"?: string | null;
|
|
667
|
+
"course_session_type_id"?: string | null;
|
|
668
|
+
"session_type"?: ClassroomIndexSessionTypesGetResponseItem | null;
|
|
525
669
|
"name"?: string | null;
|
|
526
670
|
"session_number"?: number | null;
|
|
527
671
|
"duration_minutes"?: number | null;
|
|
@@ -543,8 +687,8 @@ export interface ClassroomShowSessionGetResponse extends ApiEnvelope<ClassroomSh
|
|
|
543
687
|
}
|
|
544
688
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
545
689
|
export interface ClassroomUpdateSessionPatchInput extends JsonObject {
|
|
546
|
-
"classroom_id"?:
|
|
547
|
-
"course_session_id"?:
|
|
690
|
+
"classroom_id"?: string | null;
|
|
691
|
+
"course_session_id"?: string | null;
|
|
548
692
|
"name"?: string | null;
|
|
549
693
|
"session_number"?: number | null;
|
|
550
694
|
"duration_minutes"?: number | null;
|
|
@@ -560,10 +704,12 @@ export interface ClassroomUpdateSessionPatchInput extends JsonObject {
|
|
|
560
704
|
}
|
|
561
705
|
/** Backend response type: models::SessionResponse. */
|
|
562
706
|
export interface ClassroomUpdateSessionPatchResponseData extends JsonObject {
|
|
563
|
-
"id":
|
|
564
|
-
"classroom_id":
|
|
707
|
+
"id": string;
|
|
708
|
+
"classroom_id": string;
|
|
565
709
|
"classroom_name"?: string | null;
|
|
566
|
-
"course_session_id"?:
|
|
710
|
+
"course_session_id"?: string | null;
|
|
711
|
+
"course_session_type_id"?: string | null;
|
|
712
|
+
"session_type"?: ClassroomIndexSessionTypesGetResponseItem | null;
|
|
567
713
|
"name"?: string | null;
|
|
568
714
|
"session_number"?: number | null;
|
|
569
715
|
"duration_minutes"?: number | null;
|
|
@@ -590,8 +736,8 @@ export interface ClassroomIndexAttendanceGetQuery extends QueryParams {
|
|
|
590
736
|
}
|
|
591
737
|
/** Backend response type: crate::models::PagedResult<models::AbsenceResponse>. */
|
|
592
738
|
export interface ClassroomIndexAttendanceGetResponseItem extends JsonObject {
|
|
593
|
-
"id":
|
|
594
|
-
"classroom_session_id":
|
|
739
|
+
"id": string;
|
|
740
|
+
"classroom_session_id": string;
|
|
595
741
|
"user_id": string;
|
|
596
742
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
597
743
|
"status": string;
|
|
@@ -617,11 +763,55 @@ export interface ClassroomRecordAttendancePutInput extends JsonObject {
|
|
|
617
763
|
}
|
|
618
764
|
/** Backend response type: models::BatchAttendanceResponse. */
|
|
619
765
|
export interface ClassroomRecordAttendancePutResponseData extends JsonObject {
|
|
620
|
-
"classroom_session_id":
|
|
766
|
+
"classroom_session_id": string;
|
|
621
767
|
"updated": number;
|
|
622
768
|
}
|
|
623
769
|
export interface ClassroomRecordAttendancePutResponse extends ApiEnvelope<ClassroomRecordAttendancePutResponseData> {
|
|
624
770
|
}
|
|
771
|
+
/** Backend query type: models::TodaySessionListQuery. */
|
|
772
|
+
export interface ClassroomIndexTodaySessionsGetQuery extends QueryParams {
|
|
773
|
+
"page_number"?: number | null;
|
|
774
|
+
"page_size"?: number | null;
|
|
775
|
+
"date"?: string | null;
|
|
776
|
+
"timezone_offset_minutes"?: number | null;
|
|
777
|
+
}
|
|
778
|
+
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
779
|
+
export interface ClassroomIndexTodaySessionsGetResponseItem extends JsonObject {
|
|
780
|
+
"id": string;
|
|
781
|
+
"classroom_id": string;
|
|
782
|
+
"classroom_name"?: string | null;
|
|
783
|
+
"course_session_id"?: string | null;
|
|
784
|
+
"course_session_type_id"?: string | null;
|
|
785
|
+
"session_type"?: ClassroomIndexSessionTypesGetResponseItem | null;
|
|
786
|
+
"name"?: string | null;
|
|
787
|
+
"session_number"?: number | null;
|
|
788
|
+
"duration_minutes"?: number | null;
|
|
789
|
+
"description"?: string | null;
|
|
790
|
+
"teacher_user_id"?: string | null;
|
|
791
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
792
|
+
"locked": boolean;
|
|
793
|
+
"auto_unlock": boolean;
|
|
794
|
+
"auto_present": boolean;
|
|
795
|
+
"invited": boolean;
|
|
796
|
+
"session_room_id"?: string | null;
|
|
797
|
+
"starts_at"?: string | null;
|
|
798
|
+
"ends_at"?: string | null;
|
|
799
|
+
"status": string;
|
|
800
|
+
"created_at": string;
|
|
801
|
+
"updated_at": string;
|
|
802
|
+
}
|
|
803
|
+
export interface ClassroomIndexTodaySessionsGetResponsePageMeta extends JsonObject {
|
|
804
|
+
"page": number;
|
|
805
|
+
"page_size": number;
|
|
806
|
+
"total_items": number;
|
|
807
|
+
"total_pages": number;
|
|
808
|
+
}
|
|
809
|
+
export interface ClassroomIndexTodaySessionsGetResponseData extends JsonObject {
|
|
810
|
+
"data": ClassroomIndexTodaySessionsGetResponseItem[];
|
|
811
|
+
"meta": ClassroomIndexTodaySessionsGetResponsePageMeta;
|
|
812
|
+
}
|
|
813
|
+
export interface ClassroomIndexTodaySessionsGetResponse extends ApiEnvelope<ClassroomIndexTodaySessionsGetResponseData> {
|
|
814
|
+
}
|
|
625
815
|
/** Backend query type: PaginationQuery. */
|
|
626
816
|
export interface ClassroomIndexAbsencesGetQuery extends QueryParams {
|
|
627
817
|
"page_number"?: number | null;
|
|
@@ -629,8 +819,8 @@ export interface ClassroomIndexAbsencesGetQuery extends QueryParams {
|
|
|
629
819
|
}
|
|
630
820
|
/** Backend response type: crate::models::PagedResult<models::AbsenceResponse>. */
|
|
631
821
|
export interface ClassroomIndexAbsencesGetResponseItem extends JsonObject {
|
|
632
|
-
"id":
|
|
633
|
-
"classroom_session_id":
|
|
822
|
+
"id": string;
|
|
823
|
+
"classroom_session_id": string;
|
|
634
824
|
"user_id": string;
|
|
635
825
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
636
826
|
"status": string;
|
|
@@ -656,7 +846,7 @@ export interface ConfigIndexClassroomTypeGetQuery extends QueryParams {
|
|
|
656
846
|
}
|
|
657
847
|
/** Backend response type: crate::models::PagedResult<models::ClassroomTypeResponse>. */
|
|
658
848
|
export interface ConfigIndexClassroomTypeGetResponseItem extends JsonObject {
|
|
659
|
-
"id":
|
|
849
|
+
"id": string;
|
|
660
850
|
"name": string;
|
|
661
851
|
"created_at": string;
|
|
662
852
|
}
|
|
@@ -678,7 +868,7 @@ export interface ConfigStoreClassroomTypePostInput extends JsonObject {
|
|
|
678
868
|
}
|
|
679
869
|
/** Backend response type: models::ClassroomTypeResponse. */
|
|
680
870
|
export interface ConfigStoreClassroomTypePostResponseData extends JsonObject {
|
|
681
|
-
"id":
|
|
871
|
+
"id": string;
|
|
682
872
|
"name": string;
|
|
683
873
|
"created_at": string;
|
|
684
874
|
}
|
|
@@ -686,7 +876,7 @@ export interface ConfigStoreClassroomTypePostResponse extends ApiEnvelope<Config
|
|
|
686
876
|
}
|
|
687
877
|
/** Backend response type: models::ClassroomTypeResponse. */
|
|
688
878
|
export interface ConfigShowClassroomTypeGetResponseData extends JsonObject {
|
|
689
|
-
"id":
|
|
879
|
+
"id": string;
|
|
690
880
|
"name": string;
|
|
691
881
|
"created_at": string;
|
|
692
882
|
}
|
|
@@ -698,7 +888,7 @@ export interface ConfigUpdateClassroomTypePatchInput extends JsonObject {
|
|
|
698
888
|
}
|
|
699
889
|
/** Backend response type: models::ClassroomTypeResponse. */
|
|
700
890
|
export interface ConfigUpdateClassroomTypePatchResponseData extends JsonObject {
|
|
701
|
-
"id":
|
|
891
|
+
"id": string;
|
|
702
892
|
"name": string;
|
|
703
893
|
"created_at": string;
|
|
704
894
|
}
|
|
@@ -711,7 +901,7 @@ export interface ConfigIndexEducationDayGetQuery extends QueryParams {
|
|
|
711
901
|
}
|
|
712
902
|
/** Backend response type: crate::models::PagedResult<models::EducationDayResponse>. */
|
|
713
903
|
export interface ConfigIndexEducationDayGetResponseItem extends JsonObject {
|
|
714
|
-
"id":
|
|
904
|
+
"id": string;
|
|
715
905
|
"day_date": string;
|
|
716
906
|
"is_holiday": boolean;
|
|
717
907
|
"label"?: string | null;
|
|
@@ -737,7 +927,7 @@ export interface ConfigStoreEducationDayPostInput extends JsonObject {
|
|
|
737
927
|
}
|
|
738
928
|
/** Backend response type: models::EducationDayResponse. */
|
|
739
929
|
export interface ConfigStoreEducationDayPostResponseData extends JsonObject {
|
|
740
|
-
"id":
|
|
930
|
+
"id": string;
|
|
741
931
|
"day_date": string;
|
|
742
932
|
"is_holiday": boolean;
|
|
743
933
|
"label"?: string | null;
|
|
@@ -747,7 +937,7 @@ export interface ConfigStoreEducationDayPostResponse extends ApiEnvelope<ConfigS
|
|
|
747
937
|
}
|
|
748
938
|
/** Backend response type: models::EducationDayResponse. */
|
|
749
939
|
export interface ConfigShowEducationDayGetResponseData extends JsonObject {
|
|
750
|
-
"id":
|
|
940
|
+
"id": string;
|
|
751
941
|
"day_date": string;
|
|
752
942
|
"is_holiday": boolean;
|
|
753
943
|
"label"?: string | null;
|
|
@@ -763,7 +953,7 @@ export interface ConfigUpdateEducationDayPatchInput extends JsonObject {
|
|
|
763
953
|
}
|
|
764
954
|
/** Backend response type: models::EducationDayResponse. */
|
|
765
955
|
export interface ConfigUpdateEducationDayPatchResponseData extends JsonObject {
|
|
766
|
-
"id":
|
|
956
|
+
"id": string;
|
|
767
957
|
"day_date": string;
|
|
768
958
|
"is_holiday": boolean;
|
|
769
959
|
"label"?: string | null;
|
|
@@ -778,7 +968,7 @@ export interface ConfigIndexGradeGetQuery extends QueryParams {
|
|
|
778
968
|
}
|
|
779
969
|
/** Backend response type: crate::models::PagedResult<models::GradeResponse>. */
|
|
780
970
|
export interface ConfigIndexGradeGetResponseItem extends JsonObject {
|
|
781
|
-
"id":
|
|
971
|
+
"id": string;
|
|
782
972
|
"name": string;
|
|
783
973
|
"sort_order": number;
|
|
784
974
|
"created_at": string;
|
|
@@ -802,7 +992,7 @@ export interface ConfigStoreGradePostInput extends JsonObject {
|
|
|
802
992
|
}
|
|
803
993
|
/** Backend response type: models::GradeResponse. */
|
|
804
994
|
export interface ConfigStoreGradePostResponseData extends JsonObject {
|
|
805
|
-
"id":
|
|
995
|
+
"id": string;
|
|
806
996
|
"name": string;
|
|
807
997
|
"sort_order": number;
|
|
808
998
|
"created_at": string;
|
|
@@ -811,7 +1001,7 @@ export interface ConfigStoreGradePostResponse extends ApiEnvelope<ConfigStoreGra
|
|
|
811
1001
|
}
|
|
812
1002
|
/** Backend response type: models::GradeResponse. */
|
|
813
1003
|
export interface ConfigShowGradeGetResponseData extends JsonObject {
|
|
814
|
-
"id":
|
|
1004
|
+
"id": string;
|
|
815
1005
|
"name": string;
|
|
816
1006
|
"sort_order": number;
|
|
817
1007
|
"created_at": string;
|
|
@@ -825,7 +1015,7 @@ export interface ConfigUpdateGradePatchInput extends JsonObject {
|
|
|
825
1015
|
}
|
|
826
1016
|
/** Backend response type: models::GradeResponse. */
|
|
827
1017
|
export interface ConfigUpdateGradePatchResponseData extends JsonObject {
|
|
828
|
-
"id":
|
|
1018
|
+
"id": string;
|
|
829
1019
|
"name": string;
|
|
830
1020
|
"sort_order": number;
|
|
831
1021
|
"created_at": string;
|
|
@@ -839,7 +1029,7 @@ export interface ConfigIndexHolidayGetQuery extends QueryParams {
|
|
|
839
1029
|
}
|
|
840
1030
|
/** Backend response type: crate::models::PagedResult<models::HolidayResponse>. */
|
|
841
1031
|
export interface ConfigIndexHolidayGetResponseItem extends JsonObject {
|
|
842
|
-
"id":
|
|
1032
|
+
"id": string;
|
|
843
1033
|
"name": string;
|
|
844
1034
|
"description"?: string | null;
|
|
845
1035
|
"holiday_date": string;
|
|
@@ -870,7 +1060,7 @@ export interface ConfigStoreHolidayPostInput extends JsonObject {
|
|
|
870
1060
|
}
|
|
871
1061
|
/** Backend response type: models::HolidayResponse. */
|
|
872
1062
|
export interface ConfigStoreHolidayPostResponseData extends JsonObject {
|
|
873
|
-
"id":
|
|
1063
|
+
"id": string;
|
|
874
1064
|
"name": string;
|
|
875
1065
|
"description"?: string | null;
|
|
876
1066
|
"holiday_date": string;
|
|
@@ -883,7 +1073,7 @@ export interface ConfigStoreHolidayPostResponse extends ApiEnvelope<ConfigStoreH
|
|
|
883
1073
|
}
|
|
884
1074
|
/** Backend response type: models::HolidayResponse. */
|
|
885
1075
|
export interface ConfigShowHolidayGetResponseData extends JsonObject {
|
|
886
|
-
"id":
|
|
1076
|
+
"id": string;
|
|
887
1077
|
"name": string;
|
|
888
1078
|
"description"?: string | null;
|
|
889
1079
|
"holiday_date": string;
|
|
@@ -904,7 +1094,7 @@ export interface ConfigUpdateHolidayPatchInput extends JsonObject {
|
|
|
904
1094
|
}
|
|
905
1095
|
/** Backend response type: models::HolidayResponse. */
|
|
906
1096
|
export interface ConfigUpdateHolidayPatchResponseData extends JsonObject {
|
|
907
|
-
"id":
|
|
1097
|
+
"id": string;
|
|
908
1098
|
"name": string;
|
|
909
1099
|
"description"?: string | null;
|
|
910
1100
|
"holiday_date": string;
|
|
@@ -922,7 +1112,7 @@ export interface ConfigIndexWeekendGetQuery extends QueryParams {
|
|
|
922
1112
|
}
|
|
923
1113
|
/** Backend response type: crate::models::PagedResult<models::WeekendResponse>. */
|
|
924
1114
|
export interface ConfigIndexWeekendGetResponseItem extends JsonObject {
|
|
925
|
-
"id":
|
|
1115
|
+
"id": string;
|
|
926
1116
|
"day_of_week": number;
|
|
927
1117
|
"created_at": string;
|
|
928
1118
|
}
|
|
@@ -944,7 +1134,7 @@ export interface ConfigStoreWeekendPostInput extends JsonObject {
|
|
|
944
1134
|
}
|
|
945
1135
|
/** Backend response type: models::WeekendResponse. */
|
|
946
1136
|
export interface ConfigStoreWeekendPostResponseData extends JsonObject {
|
|
947
|
-
"id":
|
|
1137
|
+
"id": string;
|
|
948
1138
|
"day_of_week": number;
|
|
949
1139
|
"created_at": string;
|
|
950
1140
|
}
|
|
@@ -952,7 +1142,7 @@ export interface ConfigStoreWeekendPostResponse extends ApiEnvelope<ConfigStoreW
|
|
|
952
1142
|
}
|
|
953
1143
|
/** Backend response type: models::WeekendResponse. */
|
|
954
1144
|
export interface ConfigShowWeekendGetResponseData extends JsonObject {
|
|
955
|
-
"id":
|
|
1145
|
+
"id": string;
|
|
956
1146
|
"day_of_week": number;
|
|
957
1147
|
"created_at": string;
|
|
958
1148
|
}
|
|
@@ -964,7 +1154,7 @@ export interface ConfigUpdateWeekendPatchInput extends JsonObject {
|
|
|
964
1154
|
}
|
|
965
1155
|
/** Backend response type: models::WeekendResponse. */
|
|
966
1156
|
export interface ConfigUpdateWeekendPatchResponseData extends JsonObject {
|
|
967
|
-
"id":
|
|
1157
|
+
"id": string;
|
|
968
1158
|
"day_of_week": number;
|
|
969
1159
|
"created_at": string;
|
|
970
1160
|
}
|
|
@@ -978,8 +1168,8 @@ export interface CourseIndexCourseGetQuery extends QueryParams {
|
|
|
978
1168
|
}
|
|
979
1169
|
/** Backend response type: crate::models::PagedResult<models::CourseResponse>. */
|
|
980
1170
|
export interface CourseIndexCourseGetResponseItem extends JsonObject {
|
|
981
|
-
"id":
|
|
982
|
-
"category_id"?:
|
|
1171
|
+
"id": string;
|
|
1172
|
+
"category_id"?: string | null;
|
|
983
1173
|
"name": string;
|
|
984
1174
|
"title"?: string | null;
|
|
985
1175
|
"description"?: string | null;
|
|
@@ -987,6 +1177,7 @@ export interface CourseIndexCourseGetResponseItem extends JsonObject {
|
|
|
987
1177
|
"sort_order": number;
|
|
988
1178
|
"duration"?: string | null;
|
|
989
1179
|
"passing_mark"?: number | null;
|
|
1180
|
+
"certificate_template_ids": string[];
|
|
990
1181
|
"price"?: string | null;
|
|
991
1182
|
"status": string;
|
|
992
1183
|
"created_at": string;
|
|
@@ -1006,7 +1197,7 @@ export interface CourseIndexCourseGetResponse extends ApiEnvelope<CourseIndexCou
|
|
|
1006
1197
|
}
|
|
1007
1198
|
/** Backend request type: models::CreateCourseRequest. */
|
|
1008
1199
|
export interface CourseStoreCoursePostInput extends JsonObject {
|
|
1009
|
-
"category_id"?:
|
|
1200
|
+
"category_id"?: string | null;
|
|
1010
1201
|
"name": string;
|
|
1011
1202
|
"title"?: string | null;
|
|
1012
1203
|
"description"?: string | null;
|
|
@@ -1014,13 +1205,14 @@ export interface CourseStoreCoursePostInput extends JsonObject {
|
|
|
1014
1205
|
"sort_order"?: number;
|
|
1015
1206
|
"duration"?: string | null;
|
|
1016
1207
|
"passing_mark"?: number | null;
|
|
1208
|
+
"certificate_template_ids"?: string[];
|
|
1017
1209
|
"price"?: string | null;
|
|
1018
1210
|
"status": string;
|
|
1019
1211
|
}
|
|
1020
1212
|
/** Backend response type: models::CourseResponse. */
|
|
1021
1213
|
export interface CourseStoreCoursePostResponseData extends JsonObject {
|
|
1022
|
-
"id":
|
|
1023
|
-
"category_id"?:
|
|
1214
|
+
"id": string;
|
|
1215
|
+
"category_id"?: string | null;
|
|
1024
1216
|
"name": string;
|
|
1025
1217
|
"title"?: string | null;
|
|
1026
1218
|
"description"?: string | null;
|
|
@@ -1028,6 +1220,7 @@ export interface CourseStoreCoursePostResponseData extends JsonObject {
|
|
|
1028
1220
|
"sort_order": number;
|
|
1029
1221
|
"duration"?: string | null;
|
|
1030
1222
|
"passing_mark"?: number | null;
|
|
1223
|
+
"certificate_template_ids": string[];
|
|
1031
1224
|
"price"?: string | null;
|
|
1032
1225
|
"status": string;
|
|
1033
1226
|
"created_at": string;
|
|
@@ -1042,14 +1235,14 @@ export interface CourseIndexSessionGetQuery extends QueryParams {
|
|
|
1042
1235
|
}
|
|
1043
1236
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
1044
1237
|
export interface CourseIndexSessionGetResponseItem extends JsonObject {
|
|
1045
|
-
"id":
|
|
1046
|
-
"course_id":
|
|
1238
|
+
"id": string;
|
|
1239
|
+
"course_id": string;
|
|
1047
1240
|
"name": string;
|
|
1048
1241
|
"description"?: string | null;
|
|
1049
1242
|
"sort_order": number;
|
|
1050
1243
|
"session_type": string;
|
|
1051
|
-
"session_type_id"?:
|
|
1052
|
-
"exam_id"?:
|
|
1244
|
+
"session_type_id"?: string | null;
|
|
1245
|
+
"exam_id"?: string | null;
|
|
1053
1246
|
"duration_minutes"?: number | null;
|
|
1054
1247
|
"auto_unlock": boolean;
|
|
1055
1248
|
"info"?: string | null;
|
|
@@ -1072,13 +1265,13 @@ export interface CourseIndexSessionGetResponse extends ApiEnvelope<CourseIndexSe
|
|
|
1072
1265
|
}
|
|
1073
1266
|
/** Backend request type: models::CreateSessionRequest. */
|
|
1074
1267
|
export interface CourseStoreSessionPostInput extends JsonObject {
|
|
1075
|
-
"course_id":
|
|
1268
|
+
"course_id": string;
|
|
1076
1269
|
"name": string;
|
|
1077
1270
|
"description"?: string | null;
|
|
1078
1271
|
"sort_order": number;
|
|
1079
1272
|
"session_type": string;
|
|
1080
|
-
"session_type_id"?:
|
|
1081
|
-
"exam_id"?:
|
|
1273
|
+
"session_type_id"?: string | null;
|
|
1274
|
+
"exam_id"?: string | null;
|
|
1082
1275
|
"duration_minutes"?: number | null;
|
|
1083
1276
|
"auto_unlock": boolean;
|
|
1084
1277
|
"info"?: string | null;
|
|
@@ -1087,14 +1280,14 @@ export interface CourseStoreSessionPostInput extends JsonObject {
|
|
|
1087
1280
|
}
|
|
1088
1281
|
/** Backend response type: models::SessionResponse. */
|
|
1089
1282
|
export interface CourseStoreSessionPostResponseData extends JsonObject {
|
|
1090
|
-
"id":
|
|
1091
|
-
"course_id":
|
|
1283
|
+
"id": string;
|
|
1284
|
+
"course_id": string;
|
|
1092
1285
|
"name": string;
|
|
1093
1286
|
"description"?: string | null;
|
|
1094
1287
|
"sort_order": number;
|
|
1095
1288
|
"session_type": string;
|
|
1096
|
-
"session_type_id"?:
|
|
1097
|
-
"exam_id"?:
|
|
1289
|
+
"session_type_id"?: string | null;
|
|
1290
|
+
"exam_id"?: string | null;
|
|
1098
1291
|
"duration_minutes"?: number | null;
|
|
1099
1292
|
"auto_unlock": boolean;
|
|
1100
1293
|
"info"?: string | null;
|
|
@@ -1110,14 +1303,14 @@ export interface CourseDestroySessionDeleteResponse extends ApiEnvelope<JsonValu
|
|
|
1110
1303
|
}
|
|
1111
1304
|
/** Backend response type: models::SessionResponse. */
|
|
1112
1305
|
export interface CourseShowSessionGetResponseData extends JsonObject {
|
|
1113
|
-
"id":
|
|
1114
|
-
"course_id":
|
|
1306
|
+
"id": string;
|
|
1307
|
+
"course_id": string;
|
|
1115
1308
|
"name": string;
|
|
1116
1309
|
"description"?: string | null;
|
|
1117
1310
|
"sort_order": number;
|
|
1118
1311
|
"session_type": string;
|
|
1119
|
-
"session_type_id"?:
|
|
1120
|
-
"exam_id"?:
|
|
1312
|
+
"session_type_id"?: string | null;
|
|
1313
|
+
"exam_id"?: string | null;
|
|
1121
1314
|
"duration_minutes"?: number | null;
|
|
1122
1315
|
"auto_unlock": boolean;
|
|
1123
1316
|
"info"?: string | null;
|
|
@@ -1134,8 +1327,8 @@ export interface CourseUpdateSessionPatchInput extends JsonObject {
|
|
|
1134
1327
|
"description"?: string | null;
|
|
1135
1328
|
"sort_order"?: number | null;
|
|
1136
1329
|
"session_type"?: string | null;
|
|
1137
|
-
"session_type_id"?:
|
|
1138
|
-
"exam_id"?:
|
|
1330
|
+
"session_type_id"?: string | null;
|
|
1331
|
+
"exam_id"?: string | null;
|
|
1139
1332
|
"duration_minutes"?: number | null;
|
|
1140
1333
|
"auto_unlock"?: boolean | null;
|
|
1141
1334
|
"info"?: string | null;
|
|
@@ -1144,14 +1337,14 @@ export interface CourseUpdateSessionPatchInput extends JsonObject {
|
|
|
1144
1337
|
}
|
|
1145
1338
|
/** Backend response type: models::SessionResponse. */
|
|
1146
1339
|
export interface CourseUpdateSessionPatchResponseData extends JsonObject {
|
|
1147
|
-
"id":
|
|
1148
|
-
"course_id":
|
|
1340
|
+
"id": string;
|
|
1341
|
+
"course_id": string;
|
|
1149
1342
|
"name": string;
|
|
1150
1343
|
"description"?: string | null;
|
|
1151
1344
|
"sort_order": number;
|
|
1152
1345
|
"session_type": string;
|
|
1153
|
-
"session_type_id"?:
|
|
1154
|
-
"exam_id"?:
|
|
1346
|
+
"session_type_id"?: string | null;
|
|
1347
|
+
"exam_id"?: string | null;
|
|
1155
1348
|
"duration_minutes"?: number | null;
|
|
1156
1349
|
"auto_unlock": boolean;
|
|
1157
1350
|
"info"?: string | null;
|
|
@@ -1167,8 +1360,8 @@ export interface CourseDestroyCourseDeleteResponse extends ApiEnvelope<JsonValue
|
|
|
1167
1360
|
}
|
|
1168
1361
|
/** Backend response type: models::CourseResponse. */
|
|
1169
1362
|
export interface CourseShowCourseGetResponseData extends JsonObject {
|
|
1170
|
-
"id":
|
|
1171
|
-
"category_id"?:
|
|
1363
|
+
"id": string;
|
|
1364
|
+
"category_id"?: string | null;
|
|
1172
1365
|
"name": string;
|
|
1173
1366
|
"title"?: string | null;
|
|
1174
1367
|
"description"?: string | null;
|
|
@@ -1176,6 +1369,7 @@ export interface CourseShowCourseGetResponseData extends JsonObject {
|
|
|
1176
1369
|
"sort_order": number;
|
|
1177
1370
|
"duration"?: string | null;
|
|
1178
1371
|
"passing_mark"?: number | null;
|
|
1372
|
+
"certificate_template_ids": string[];
|
|
1179
1373
|
"price"?: string | null;
|
|
1180
1374
|
"status": string;
|
|
1181
1375
|
"created_at": string;
|
|
@@ -1185,7 +1379,7 @@ export interface CourseShowCourseGetResponse extends ApiEnvelope<CourseShowCours
|
|
|
1185
1379
|
}
|
|
1186
1380
|
/** Backend request type: models::UpdateCourseRequest. */
|
|
1187
1381
|
export interface CourseUpdateCoursePatchInput extends JsonObject {
|
|
1188
|
-
"category_id"?:
|
|
1382
|
+
"category_id"?: string | null;
|
|
1189
1383
|
"name"?: string | null;
|
|
1190
1384
|
"title"?: string | null;
|
|
1191
1385
|
"description"?: string | null;
|
|
@@ -1193,13 +1387,14 @@ export interface CourseUpdateCoursePatchInput extends JsonObject {
|
|
|
1193
1387
|
"sort_order"?: number | null;
|
|
1194
1388
|
"duration"?: string | null;
|
|
1195
1389
|
"passing_mark"?: number | null;
|
|
1390
|
+
"certificate_template_ids"?: string[] | null;
|
|
1196
1391
|
"price"?: string | null;
|
|
1197
1392
|
"status"?: string | null;
|
|
1198
1393
|
}
|
|
1199
1394
|
/** Backend response type: models::CourseResponse. */
|
|
1200
1395
|
export interface CourseUpdateCoursePatchResponseData extends JsonObject {
|
|
1201
|
-
"id":
|
|
1202
|
-
"category_id"?:
|
|
1396
|
+
"id": string;
|
|
1397
|
+
"category_id"?: string | null;
|
|
1203
1398
|
"name": string;
|
|
1204
1399
|
"title"?: string | null;
|
|
1205
1400
|
"description"?: string | null;
|
|
@@ -1207,6 +1402,7 @@ export interface CourseUpdateCoursePatchResponseData extends JsonObject {
|
|
|
1207
1402
|
"sort_order": number;
|
|
1208
1403
|
"duration"?: string | null;
|
|
1209
1404
|
"passing_mark"?: number | null;
|
|
1405
|
+
"certificate_template_ids": string[];
|
|
1210
1406
|
"price"?: string | null;
|
|
1211
1407
|
"status": string;
|
|
1212
1408
|
"created_at": string;
|
|
@@ -1221,7 +1417,7 @@ export interface CourseIndexCategoryGetQuery extends QueryParams {
|
|
|
1221
1417
|
}
|
|
1222
1418
|
/** Backend response type: crate::models::PagedResult<models::CategoryResponse>. */
|
|
1223
1419
|
export interface CourseIndexCategoryGetResponseItem extends JsonObject {
|
|
1224
|
-
"id":
|
|
1420
|
+
"id": string;
|
|
1225
1421
|
"name": string;
|
|
1226
1422
|
"description"?: string | null;
|
|
1227
1423
|
"image_url"?: string | null;
|
|
@@ -1252,7 +1448,7 @@ export interface CourseStoreCategoryPostInput extends JsonObject {
|
|
|
1252
1448
|
}
|
|
1253
1449
|
/** Backend response type: models::CategoryResponse. */
|
|
1254
1450
|
export interface CourseStoreCategoryPostResponseData extends JsonObject {
|
|
1255
|
-
"id":
|
|
1451
|
+
"id": string;
|
|
1256
1452
|
"name": string;
|
|
1257
1453
|
"description"?: string | null;
|
|
1258
1454
|
"image_url"?: string | null;
|
|
@@ -1268,7 +1464,7 @@ export interface CourseDestroyCategoryDeleteResponse extends ApiEnvelope<JsonVal
|
|
|
1268
1464
|
}
|
|
1269
1465
|
/** Backend response type: models::CategoryResponse. */
|
|
1270
1466
|
export interface CourseShowCategoryGetResponseData extends JsonObject {
|
|
1271
|
-
"id":
|
|
1467
|
+
"id": string;
|
|
1272
1468
|
"name": string;
|
|
1273
1469
|
"description"?: string | null;
|
|
1274
1470
|
"image_url"?: string | null;
|
|
@@ -1289,7 +1485,7 @@ export interface CourseUpdateCategoryPatchInput extends JsonObject {
|
|
|
1289
1485
|
}
|
|
1290
1486
|
/** Backend response type: models::CategoryResponse. */
|
|
1291
1487
|
export interface CourseUpdateCategoryPatchResponseData extends JsonObject {
|
|
1292
|
-
"id":
|
|
1488
|
+
"id": string;
|
|
1293
1489
|
"name": string;
|
|
1294
1490
|
"description"?: string | null;
|
|
1295
1491
|
"image_url"?: string | null;
|
|
@@ -1302,26 +1498,32 @@ export interface CourseUpdateCategoryPatchResponse extends ApiEnvelope<CourseUpd
|
|
|
1302
1498
|
}
|
|
1303
1499
|
/** Backend request type: models::ReorderRequest. */
|
|
1304
1500
|
export interface CourseReorderCategoriesPatchInput extends JsonObject {
|
|
1305
|
-
"active_id":
|
|
1306
|
-
"over_id":
|
|
1501
|
+
"active_id": string;
|
|
1502
|
+
"over_id": string;
|
|
1307
1503
|
}
|
|
1308
1504
|
/** Backend response type: serde_json::Value. */
|
|
1309
1505
|
export interface CourseReorderCategoriesPatchResponse extends ApiEnvelope<JsonValue> {
|
|
1310
1506
|
}
|
|
1311
1507
|
/** Backend request type: models::ReorderRequest. */
|
|
1312
1508
|
export interface CourseReorderCoursesPatchInput extends JsonObject {
|
|
1313
|
-
"active_id":
|
|
1314
|
-
"over_id":
|
|
1509
|
+
"active_id": string;
|
|
1510
|
+
"over_id": string;
|
|
1315
1511
|
}
|
|
1316
1512
|
/** Backend response type: serde_json::Value. */
|
|
1317
1513
|
export interface CourseReorderCoursesPatchResponse extends ApiEnvelope<JsonValue> {
|
|
1318
1514
|
}
|
|
1515
|
+
/** Backend query type: models::DashboardQuery. */
|
|
1516
|
+
export interface DashboardIndexGetQuery extends QueryParams {
|
|
1517
|
+
"mode"?: string | null;
|
|
1518
|
+
}
|
|
1319
1519
|
/** Backend response type: models::DashboardStats. */
|
|
1320
1520
|
export interface DashboardIndexGetResponseData extends JsonObject {
|
|
1321
1521
|
"courses": number;
|
|
1322
1522
|
"classrooms": number;
|
|
1323
1523
|
"students": number;
|
|
1324
1524
|
"pending_homework": number;
|
|
1525
|
+
"pending_final_homework": number;
|
|
1526
|
+
"pending_todo_homework": number;
|
|
1325
1527
|
"pending_exams": number;
|
|
1326
1528
|
}
|
|
1327
1529
|
export interface DashboardIndexGetResponse extends ApiEnvelope<DashboardIndexGetResponseData> {
|
|
@@ -1337,20 +1539,45 @@ export interface DocsIntegrationGetResponseData extends JsonObject {
|
|
|
1337
1539
|
}
|
|
1338
1540
|
export interface DocsIntegrationGetResponse extends ApiEnvelope<DocsIntegrationGetResponseData> {
|
|
1339
1541
|
}
|
|
1542
|
+
/** Backend query type: CompositionSearchQuery. */
|
|
1543
|
+
export interface DrmRoutesIndexCompositionsGetQuery extends QueryParams {
|
|
1544
|
+
"page"?: number;
|
|
1545
|
+
"size"?: number;
|
|
1546
|
+
"search"?: string | null;
|
|
1547
|
+
"selected_id"?: string | null;
|
|
1548
|
+
}
|
|
1549
|
+
/** Backend response type: PagedResult<CompositionOption>. */
|
|
1550
|
+
export interface DrmRoutesIndexCompositionsGetResponseItem extends JsonObject {
|
|
1551
|
+
"id": string;
|
|
1552
|
+
"name": string;
|
|
1553
|
+
"category_path": string;
|
|
1554
|
+
}
|
|
1555
|
+
export interface DrmRoutesIndexCompositionsGetResponsePageMeta extends JsonObject {
|
|
1556
|
+
"page": number;
|
|
1557
|
+
"page_size": number;
|
|
1558
|
+
"total_items": number;
|
|
1559
|
+
"total_pages": number;
|
|
1560
|
+
}
|
|
1561
|
+
export interface DrmRoutesIndexCompositionsGetResponseData extends JsonObject {
|
|
1562
|
+
"data": DrmRoutesIndexCompositionsGetResponseItem[];
|
|
1563
|
+
"meta": DrmRoutesIndexCompositionsGetResponsePageMeta;
|
|
1564
|
+
}
|
|
1565
|
+
export interface DrmRoutesIndexCompositionsGetResponse extends ApiEnvelope<DrmRoutesIndexCompositionsGetResponseData> {
|
|
1566
|
+
}
|
|
1340
1567
|
/** Backend query type: models::ExamListQuery. */
|
|
1341
1568
|
export interface ExamIndexExamGetQuery extends QueryParams {
|
|
1342
1569
|
"page_number"?: number | null;
|
|
1343
1570
|
"page_size"?: number | null;
|
|
1344
1571
|
"search"?: string | null;
|
|
1345
1572
|
"status"?: string | null;
|
|
1346
|
-
"course_id"?:
|
|
1347
|
-
"grade_id"?:
|
|
1573
|
+
"course_id"?: string | null;
|
|
1574
|
+
"grade_id"?: string | null;
|
|
1348
1575
|
}
|
|
1349
1576
|
/** Backend response type: crate::models::PagedResult<models::ExamResponse>. */
|
|
1350
1577
|
export interface ExamIndexExamGetResponseItem extends JsonObject {
|
|
1351
|
-
"id":
|
|
1352
|
-
"course_id"?:
|
|
1353
|
-
"grade_id"?:
|
|
1578
|
+
"id": string;
|
|
1579
|
+
"course_id"?: string | null;
|
|
1580
|
+
"grade_id"?: string | null;
|
|
1354
1581
|
"name": string;
|
|
1355
1582
|
"description"?: string | null;
|
|
1356
1583
|
"info"?: string | null;
|
|
@@ -1380,8 +1607,8 @@ export interface ExamIndexExamGetResponse extends ApiEnvelope<ExamIndexExamGetRe
|
|
|
1380
1607
|
}
|
|
1381
1608
|
/** Backend request type: models::CreateExamRequest. */
|
|
1382
1609
|
export interface ExamStoreExamPostInput extends JsonObject {
|
|
1383
|
-
"course_id"?:
|
|
1384
|
-
"grade_id"?:
|
|
1610
|
+
"course_id"?: string | null;
|
|
1611
|
+
"grade_id"?: string | null;
|
|
1385
1612
|
"name": string;
|
|
1386
1613
|
"description"?: string | null;
|
|
1387
1614
|
"info"?: string | null;
|
|
@@ -1397,9 +1624,9 @@ export interface ExamStoreExamPostInput extends JsonObject {
|
|
|
1397
1624
|
}
|
|
1398
1625
|
/** Backend response type: models::ExamResponse. */
|
|
1399
1626
|
export interface ExamStoreExamPostResponseData extends JsonObject {
|
|
1400
|
-
"id":
|
|
1401
|
-
"course_id"?:
|
|
1402
|
-
"grade_id"?:
|
|
1627
|
+
"id": string;
|
|
1628
|
+
"course_id"?: string | null;
|
|
1629
|
+
"grade_id"?: string | null;
|
|
1403
1630
|
"name": string;
|
|
1404
1631
|
"description"?: string | null;
|
|
1405
1632
|
"info"?: string | null;
|
|
@@ -1422,9 +1649,9 @@ export interface ExamDestroyExamDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
|
1422
1649
|
}
|
|
1423
1650
|
/** Backend response type: models::ExamResponse. */
|
|
1424
1651
|
export interface ExamShowExamGetResponseData extends JsonObject {
|
|
1425
|
-
"id":
|
|
1426
|
-
"course_id"?:
|
|
1427
|
-
"grade_id"?:
|
|
1652
|
+
"id": string;
|
|
1653
|
+
"course_id"?: string | null;
|
|
1654
|
+
"grade_id"?: string | null;
|
|
1428
1655
|
"name": string;
|
|
1429
1656
|
"description"?: string | null;
|
|
1430
1657
|
"info"?: string | null;
|
|
@@ -1444,8 +1671,8 @@ export interface ExamShowExamGetResponse extends ApiEnvelope<ExamShowExamGetResp
|
|
|
1444
1671
|
}
|
|
1445
1672
|
/** Backend request type: models::UpdateExamRequest. */
|
|
1446
1673
|
export interface ExamUpdateExamPatchInput extends JsonObject {
|
|
1447
|
-
"course_id"?:
|
|
1448
|
-
"grade_id"?:
|
|
1674
|
+
"course_id"?: string | null;
|
|
1675
|
+
"grade_id"?: string | null;
|
|
1449
1676
|
"name"?: string | null;
|
|
1450
1677
|
"description"?: string | null;
|
|
1451
1678
|
"info"?: string | null;
|
|
@@ -1461,9 +1688,9 @@ export interface ExamUpdateExamPatchInput extends JsonObject {
|
|
|
1461
1688
|
}
|
|
1462
1689
|
/** Backend response type: models::ExamResponse. */
|
|
1463
1690
|
export interface ExamUpdateExamPatchResponseData extends JsonObject {
|
|
1464
|
-
"id":
|
|
1465
|
-
"course_id"?:
|
|
1466
|
-
"grade_id"?:
|
|
1691
|
+
"id": string;
|
|
1692
|
+
"course_id"?: string | null;
|
|
1693
|
+
"grade_id"?: string | null;
|
|
1467
1694
|
"name": string;
|
|
1468
1695
|
"description"?: string | null;
|
|
1469
1696
|
"info"?: string | null;
|
|
@@ -1486,15 +1713,15 @@ export interface ExamIndexAttemptGetQuery extends QueryParams {
|
|
|
1486
1713
|
"page_number"?: number | null;
|
|
1487
1714
|
"page_size"?: number | null;
|
|
1488
1715
|
"status"?: string | null;
|
|
1489
|
-
"exam_session_id"?:
|
|
1716
|
+
"exam_session_id"?: string | null;
|
|
1490
1717
|
}
|
|
1491
1718
|
/** Backend response type: crate::models::PagedResult<models::AttemptResponse>. */
|
|
1492
1719
|
export interface ExamIndexAttemptGetResponseItem extends JsonObject {
|
|
1493
|
-
"id":
|
|
1494
|
-
"exam_session_id":
|
|
1495
|
-
"exam_id"?:
|
|
1720
|
+
"id": string;
|
|
1721
|
+
"exam_session_id": string;
|
|
1722
|
+
"exam_id"?: string | null;
|
|
1496
1723
|
"exam_name"?: string | null;
|
|
1497
|
-
"classroom_id"?:
|
|
1724
|
+
"classroom_id"?: string | null;
|
|
1498
1725
|
"classroom_name"?: string | null;
|
|
1499
1726
|
"user_id": string;
|
|
1500
1727
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
@@ -1523,11 +1750,11 @@ export interface ExamIndexAttemptGetResponse extends ApiEnvelope<ExamIndexAttemp
|
|
|
1523
1750
|
}
|
|
1524
1751
|
/** Backend response type: models::AttemptResponse. */
|
|
1525
1752
|
export interface ExamShowAttemptGetResponseData extends JsonObject {
|
|
1526
|
-
"id":
|
|
1527
|
-
"exam_session_id":
|
|
1528
|
-
"exam_id"?:
|
|
1753
|
+
"id": string;
|
|
1754
|
+
"exam_session_id": string;
|
|
1755
|
+
"exam_id"?: string | null;
|
|
1529
1756
|
"exam_name"?: string | null;
|
|
1530
|
-
"classroom_id"?:
|
|
1757
|
+
"classroom_id"?: string | null;
|
|
1531
1758
|
"classroom_name"?: string | null;
|
|
1532
1759
|
"user_id": string;
|
|
1533
1760
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
@@ -1555,11 +1782,11 @@ export interface ExamUpdateAttemptPatchInput extends JsonObject {
|
|
|
1555
1782
|
}
|
|
1556
1783
|
/** Backend response type: models::AttemptResponse. */
|
|
1557
1784
|
export interface ExamUpdateAttemptPatchResponseData extends JsonObject {
|
|
1558
|
-
"id":
|
|
1559
|
-
"exam_session_id":
|
|
1560
|
-
"exam_id"?:
|
|
1785
|
+
"id": string;
|
|
1786
|
+
"exam_session_id": string;
|
|
1787
|
+
"exam_id"?: string | null;
|
|
1561
1788
|
"exam_name"?: string | null;
|
|
1562
|
-
"classroom_id"?:
|
|
1789
|
+
"classroom_id"?: string | null;
|
|
1563
1790
|
"classroom_name"?: string | null;
|
|
1564
1791
|
"user_id": string;
|
|
1565
1792
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
@@ -1583,8 +1810,8 @@ export interface ExamIndexQuestionGetQuery extends QueryParams {
|
|
|
1583
1810
|
}
|
|
1584
1811
|
/** Backend response type: crate::models::PagedResult<models::QuestionResponse>. */
|
|
1585
1812
|
export interface ExamIndexQuestionGetResponseItem extends JsonObject {
|
|
1586
|
-
"id":
|
|
1587
|
-
"exam_id"?:
|
|
1813
|
+
"id": string;
|
|
1814
|
+
"exam_id"?: string | null;
|
|
1588
1815
|
"question_text": string;
|
|
1589
1816
|
"question_type": string;
|
|
1590
1817
|
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
@@ -1611,7 +1838,7 @@ export interface ExamIndexQuestionGetResponse extends ApiEnvelope<ExamIndexQuest
|
|
|
1611
1838
|
}
|
|
1612
1839
|
/** Backend request type: models::CreateQuestionRequest. */
|
|
1613
1840
|
export interface ExamStoreQuestionPostInput extends JsonObject {
|
|
1614
|
-
"exam_id"?:
|
|
1841
|
+
"exam_id"?: string | null;
|
|
1615
1842
|
"question_text": string;
|
|
1616
1843
|
"question_type": string;
|
|
1617
1844
|
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
@@ -1624,8 +1851,8 @@ export interface ExamStoreQuestionPostInput extends JsonObject {
|
|
|
1624
1851
|
}
|
|
1625
1852
|
/** Backend response type: models::QuestionResponse. */
|
|
1626
1853
|
export interface ExamStoreQuestionPostResponseData extends JsonObject {
|
|
1627
|
-
"id":
|
|
1628
|
-
"exam_id"?:
|
|
1854
|
+
"id": string;
|
|
1855
|
+
"exam_id"?: string | null;
|
|
1629
1856
|
"question_text": string;
|
|
1630
1857
|
"question_type": string;
|
|
1631
1858
|
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
@@ -1645,8 +1872,8 @@ export interface ExamDestroyQuestionDeleteResponse extends ApiEnvelope<JsonValue
|
|
|
1645
1872
|
}
|
|
1646
1873
|
/** Backend response type: models::QuestionResponse. */
|
|
1647
1874
|
export interface ExamShowQuestionGetResponseData extends JsonObject {
|
|
1648
|
-
"id":
|
|
1649
|
-
"exam_id"?:
|
|
1875
|
+
"id": string;
|
|
1876
|
+
"exam_id"?: string | null;
|
|
1650
1877
|
"question_text": string;
|
|
1651
1878
|
"question_type": string;
|
|
1652
1879
|
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
@@ -1663,7 +1890,7 @@ export interface ExamShowQuestionGetResponse extends ApiEnvelope<ExamShowQuestio
|
|
|
1663
1890
|
}
|
|
1664
1891
|
/** Backend request type: models::UpdateQuestionRequest. */
|
|
1665
1892
|
export interface ExamUpdateQuestionPatchInput extends JsonObject {
|
|
1666
|
-
"exam_id"?:
|
|
1893
|
+
"exam_id"?: string | null;
|
|
1667
1894
|
"question_text"?: string | null;
|
|
1668
1895
|
"question_type"?: string | null;
|
|
1669
1896
|
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
@@ -1676,8 +1903,8 @@ export interface ExamUpdateQuestionPatchInput extends JsonObject {
|
|
|
1676
1903
|
}
|
|
1677
1904
|
/** Backend response type: models::QuestionResponse. */
|
|
1678
1905
|
export interface ExamUpdateQuestionPatchResponseData extends JsonObject {
|
|
1679
|
-
"id":
|
|
1680
|
-
"exam_id"?:
|
|
1906
|
+
"id": string;
|
|
1907
|
+
"exam_id"?: string | null;
|
|
1681
1908
|
"question_text": string;
|
|
1682
1909
|
"question_type": string;
|
|
1683
1910
|
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
@@ -1697,18 +1924,24 @@ export interface ExamIndexSessionGetQuery extends QueryParams {
|
|
|
1697
1924
|
"page_number"?: number | null;
|
|
1698
1925
|
"page_size"?: number | null;
|
|
1699
1926
|
"status"?: string | null;
|
|
1700
|
-
"exam_id"?:
|
|
1701
|
-
"classroom_id"?:
|
|
1927
|
+
"exam_id"?: string | null;
|
|
1928
|
+
"classroom_id"?: string | null;
|
|
1702
1929
|
"from"?: string | null;
|
|
1703
1930
|
"to"?: string | null;
|
|
1704
1931
|
}
|
|
1705
1932
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
1706
1933
|
export interface ExamIndexSessionGetResponseItem extends JsonObject {
|
|
1707
|
-
"id":
|
|
1708
|
-
"exam_id":
|
|
1934
|
+
"id": string;
|
|
1935
|
+
"exam_id": string;
|
|
1709
1936
|
"exam_name"?: string | null;
|
|
1710
|
-
"classroom_id"?:
|
|
1937
|
+
"classroom_id"?: string | null;
|
|
1711
1938
|
"classroom_name"?: string | null;
|
|
1939
|
+
"teacher_user_id"?: string | null;
|
|
1940
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1941
|
+
"consultant_user_id"?: string | null;
|
|
1942
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1943
|
+
"support_user_id"?: string | null;
|
|
1944
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1712
1945
|
"starts_at"?: string | null;
|
|
1713
1946
|
"ends_at"?: string | null;
|
|
1714
1947
|
"status": string;
|
|
@@ -1728,19 +1961,28 @@ export interface ExamIndexSessionGetResponse extends ApiEnvelope<ExamIndexSessio
|
|
|
1728
1961
|
}
|
|
1729
1962
|
/** Backend request type: models::CreateSessionRequest. */
|
|
1730
1963
|
export interface ExamStoreSessionPostInput extends JsonObject {
|
|
1731
|
-
"exam_id":
|
|
1732
|
-
"classroom_id"?:
|
|
1964
|
+
"exam_id": string;
|
|
1965
|
+
"classroom_id"?: string | null;
|
|
1966
|
+
"teacher_user_id"?: string | null;
|
|
1967
|
+
"consultant_user_id"?: string | null;
|
|
1968
|
+
"support_user_id"?: string | null;
|
|
1733
1969
|
"starts_at"?: string | null;
|
|
1734
1970
|
"ends_at"?: string | null;
|
|
1735
1971
|
"status": string;
|
|
1736
1972
|
}
|
|
1737
1973
|
/** Backend response type: models::SessionResponse. */
|
|
1738
1974
|
export interface ExamStoreSessionPostResponseData extends JsonObject {
|
|
1739
|
-
"id":
|
|
1740
|
-
"exam_id":
|
|
1975
|
+
"id": string;
|
|
1976
|
+
"exam_id": string;
|
|
1741
1977
|
"exam_name"?: string | null;
|
|
1742
|
-
"classroom_id"?:
|
|
1978
|
+
"classroom_id"?: string | null;
|
|
1743
1979
|
"classroom_name"?: string | null;
|
|
1980
|
+
"teacher_user_id"?: string | null;
|
|
1981
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1982
|
+
"consultant_user_id"?: string | null;
|
|
1983
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1984
|
+
"support_user_id"?: string | null;
|
|
1985
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1744
1986
|
"starts_at"?: string | null;
|
|
1745
1987
|
"ends_at"?: string | null;
|
|
1746
1988
|
"status": string;
|
|
@@ -1750,11 +1992,17 @@ export interface ExamStoreSessionPostResponse extends ApiEnvelope<ExamStoreSessi
|
|
|
1750
1992
|
}
|
|
1751
1993
|
/** Backend response type: models::SessionResponse. */
|
|
1752
1994
|
export interface ExamShowSessionGetResponseData extends JsonObject {
|
|
1753
|
-
"id":
|
|
1754
|
-
"exam_id":
|
|
1995
|
+
"id": string;
|
|
1996
|
+
"exam_id": string;
|
|
1755
1997
|
"exam_name"?: string | null;
|
|
1756
|
-
"classroom_id"?:
|
|
1998
|
+
"classroom_id"?: string | null;
|
|
1757
1999
|
"classroom_name"?: string | null;
|
|
2000
|
+
"teacher_user_id"?: string | null;
|
|
2001
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2002
|
+
"consultant_user_id"?: string | null;
|
|
2003
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2004
|
+
"support_user_id"?: string | null;
|
|
2005
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1758
2006
|
"starts_at"?: string | null;
|
|
1759
2007
|
"ends_at"?: string | null;
|
|
1760
2008
|
"status": string;
|
|
@@ -1764,19 +2012,28 @@ export interface ExamShowSessionGetResponse extends ApiEnvelope<ExamShowSessionG
|
|
|
1764
2012
|
}
|
|
1765
2013
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
1766
2014
|
export interface ExamUpdateSessionPatchInput extends JsonObject {
|
|
1767
|
-
"exam_id"?:
|
|
1768
|
-
"classroom_id"?:
|
|
2015
|
+
"exam_id"?: string | null;
|
|
2016
|
+
"classroom_id"?: string | null;
|
|
2017
|
+
"teacher_user_id"?: string | null;
|
|
2018
|
+
"consultant_user_id"?: string | null;
|
|
2019
|
+
"support_user_id"?: string | null;
|
|
1769
2020
|
"starts_at"?: string | null;
|
|
1770
2021
|
"ends_at"?: string | null;
|
|
1771
2022
|
"status"?: string | null;
|
|
1772
2023
|
}
|
|
1773
2024
|
/** Backend response type: models::SessionResponse. */
|
|
1774
2025
|
export interface ExamUpdateSessionPatchResponseData extends JsonObject {
|
|
1775
|
-
"id":
|
|
1776
|
-
"exam_id":
|
|
2026
|
+
"id": string;
|
|
2027
|
+
"exam_id": string;
|
|
1777
2028
|
"exam_name"?: string | null;
|
|
1778
|
-
"classroom_id"?:
|
|
2029
|
+
"classroom_id"?: string | null;
|
|
1779
2030
|
"classroom_name"?: string | null;
|
|
2031
|
+
"teacher_user_id"?: string | null;
|
|
2032
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2033
|
+
"consultant_user_id"?: string | null;
|
|
2034
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2035
|
+
"support_user_id"?: string | null;
|
|
2036
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1780
2037
|
"starts_at"?: string | null;
|
|
1781
2038
|
"ends_at"?: string | null;
|
|
1782
2039
|
"status": string;
|
|
@@ -1790,15 +2047,15 @@ export interface HomeworkIndexHomeworkGetQuery extends QueryParams {
|
|
|
1790
2047
|
"page_size"?: number | null;
|
|
1791
2048
|
"search"?: string | null;
|
|
1792
2049
|
"status"?: string | null;
|
|
1793
|
-
"course_id"?:
|
|
2050
|
+
"course_id"?: string | null;
|
|
1794
2051
|
}
|
|
1795
2052
|
/** Backend response type: crate::models::PagedResult<models::HomeworkResponse>. */
|
|
1796
2053
|
export interface HomeworkIndexHomeworkGetResponseItem extends JsonObject {
|
|
1797
|
-
"id":
|
|
1798
|
-
"course_id"?:
|
|
2054
|
+
"id": string;
|
|
2055
|
+
"course_id"?: string | null;
|
|
1799
2056
|
"course_name"?: string | null;
|
|
1800
|
-
"grade_id"?:
|
|
1801
|
-
"teacher_grade_id"?:
|
|
2057
|
+
"grade_id"?: string | null;
|
|
2058
|
+
"teacher_grade_id"?: string | null;
|
|
1802
2059
|
"name": string;
|
|
1803
2060
|
"description"?: string | null;
|
|
1804
2061
|
"status": string;
|
|
@@ -1819,20 +2076,20 @@ export interface HomeworkIndexHomeworkGetResponse extends ApiEnvelope<HomeworkIn
|
|
|
1819
2076
|
}
|
|
1820
2077
|
/** Backend request type: models::CreateHomeworkRequest. */
|
|
1821
2078
|
export interface HomeworkStoreHomeworkPostInput extends JsonObject {
|
|
1822
|
-
"course_id"?:
|
|
1823
|
-
"grade_id"?:
|
|
1824
|
-
"teacher_grade_id"?:
|
|
2079
|
+
"course_id"?: string | null;
|
|
2080
|
+
"grade_id"?: string | null;
|
|
2081
|
+
"teacher_grade_id"?: string | null;
|
|
1825
2082
|
"name": string;
|
|
1826
2083
|
"description"?: string | null;
|
|
1827
2084
|
"status": string;
|
|
1828
2085
|
}
|
|
1829
2086
|
/** Backend response type: models::HomeworkResponse. */
|
|
1830
2087
|
export interface HomeworkStoreHomeworkPostResponseData extends JsonObject {
|
|
1831
|
-
"id":
|
|
1832
|
-
"course_id"?:
|
|
2088
|
+
"id": string;
|
|
2089
|
+
"course_id"?: string | null;
|
|
1833
2090
|
"course_name"?: string | null;
|
|
1834
|
-
"grade_id"?:
|
|
1835
|
-
"teacher_grade_id"?:
|
|
2091
|
+
"grade_id"?: string | null;
|
|
2092
|
+
"teacher_grade_id"?: string | null;
|
|
1836
2093
|
"name": string;
|
|
1837
2094
|
"description"?: string | null;
|
|
1838
2095
|
"status": string;
|
|
@@ -1843,11 +2100,11 @@ export interface HomeworkStoreHomeworkPostResponse extends ApiEnvelope<HomeworkS
|
|
|
1843
2100
|
}
|
|
1844
2101
|
/** Backend response type: models::HomeworkResponse. */
|
|
1845
2102
|
export interface HomeworkShowHomeworkGetResponseData extends JsonObject {
|
|
1846
|
-
"id":
|
|
1847
|
-
"course_id"?:
|
|
2103
|
+
"id": string;
|
|
2104
|
+
"course_id"?: string | null;
|
|
1848
2105
|
"course_name"?: string | null;
|
|
1849
|
-
"grade_id"?:
|
|
1850
|
-
"teacher_grade_id"?:
|
|
2106
|
+
"grade_id"?: string | null;
|
|
2107
|
+
"teacher_grade_id"?: string | null;
|
|
1851
2108
|
"name": string;
|
|
1852
2109
|
"description"?: string | null;
|
|
1853
2110
|
"status": string;
|
|
@@ -1858,20 +2115,20 @@ export interface HomeworkShowHomeworkGetResponse extends ApiEnvelope<HomeworkSho
|
|
|
1858
2115
|
}
|
|
1859
2116
|
/** Backend request type: models::UpdateHomeworkRequest. */
|
|
1860
2117
|
export interface HomeworkUpdateHomeworkPatchInput extends JsonObject {
|
|
1861
|
-
"course_id"?:
|
|
1862
|
-
"grade_id"?:
|
|
1863
|
-
"teacher_grade_id"?:
|
|
2118
|
+
"course_id"?: string | null;
|
|
2119
|
+
"grade_id"?: string | null;
|
|
2120
|
+
"teacher_grade_id"?: string | null;
|
|
1864
2121
|
"name"?: string | null;
|
|
1865
2122
|
"description"?: string | null;
|
|
1866
2123
|
"status"?: string | null;
|
|
1867
2124
|
}
|
|
1868
2125
|
/** Backend response type: models::HomeworkResponse. */
|
|
1869
2126
|
export interface HomeworkUpdateHomeworkPatchResponseData extends JsonObject {
|
|
1870
|
-
"id":
|
|
1871
|
-
"course_id"?:
|
|
2127
|
+
"id": string;
|
|
2128
|
+
"course_id"?: string | null;
|
|
1872
2129
|
"course_name"?: string | null;
|
|
1873
|
-
"grade_id"?:
|
|
1874
|
-
"teacher_grade_id"?:
|
|
2130
|
+
"grade_id"?: string | null;
|
|
2131
|
+
"teacher_grade_id"?: string | null;
|
|
1875
2132
|
"name": string;
|
|
1876
2133
|
"description"?: string | null;
|
|
1877
2134
|
"status": string;
|
|
@@ -1885,18 +2142,24 @@ export interface HomeworkIndexAssignmentGetQuery extends QueryParams {
|
|
|
1885
2142
|
"page_number"?: number | null;
|
|
1886
2143
|
"page_size"?: number | null;
|
|
1887
2144
|
"status"?: string | null;
|
|
1888
|
-
"homework_id"?:
|
|
1889
|
-
"classroom_id"?:
|
|
2145
|
+
"homework_id"?: string | null;
|
|
2146
|
+
"classroom_id"?: string | null;
|
|
1890
2147
|
}
|
|
1891
2148
|
/** Backend response type: crate::models::PagedResult<models::AssignmentResponse>. */
|
|
1892
2149
|
export interface HomeworkIndexAssignmentGetResponseItem extends JsonObject {
|
|
1893
|
-
"id":
|
|
1894
|
-
"homework_id":
|
|
2150
|
+
"id": string;
|
|
2151
|
+
"homework_id": string;
|
|
1895
2152
|
"homework_name"?: string | null;
|
|
1896
|
-
"classroom_id"?:
|
|
2153
|
+
"classroom_id"?: string | null;
|
|
1897
2154
|
"classroom_name"?: string | null;
|
|
1898
2155
|
"user_id"?: string | null;
|
|
1899
2156
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2157
|
+
"teacher_user_id"?: string | null;
|
|
2158
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2159
|
+
"consultant_user_id"?: string | null;
|
|
2160
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2161
|
+
"support_user_id"?: string | null;
|
|
2162
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1900
2163
|
"due_at"?: string | null;
|
|
1901
2164
|
"status": string;
|
|
1902
2165
|
"answer_text"?: string | null;
|
|
@@ -1918,9 +2181,12 @@ export interface HomeworkIndexAssignmentGetResponse extends ApiEnvelope<Homework
|
|
|
1918
2181
|
}
|
|
1919
2182
|
/** Backend request type: models::CreateAssignmentRequest. */
|
|
1920
2183
|
export interface HomeworkStoreAssignmentPostInput extends JsonObject {
|
|
1921
|
-
"homework_id":
|
|
1922
|
-
"classroom_id"?:
|
|
2184
|
+
"homework_id": string;
|
|
2185
|
+
"classroom_id"?: string | null;
|
|
1923
2186
|
"user_id"?: string | null;
|
|
2187
|
+
"teacher_user_id"?: string | null;
|
|
2188
|
+
"consultant_user_id"?: string | null;
|
|
2189
|
+
"support_user_id"?: string | null;
|
|
1924
2190
|
"due_at"?: string | null;
|
|
1925
2191
|
"status": string;
|
|
1926
2192
|
"answer_text"?: string | null;
|
|
@@ -1928,13 +2194,19 @@ export interface HomeworkStoreAssignmentPostInput extends JsonObject {
|
|
|
1928
2194
|
}
|
|
1929
2195
|
/** Backend response type: models::AssignmentResponse. */
|
|
1930
2196
|
export interface HomeworkStoreAssignmentPostResponseData extends JsonObject {
|
|
1931
|
-
"id":
|
|
1932
|
-
"homework_id":
|
|
2197
|
+
"id": string;
|
|
2198
|
+
"homework_id": string;
|
|
1933
2199
|
"homework_name"?: string | null;
|
|
1934
|
-
"classroom_id"?:
|
|
2200
|
+
"classroom_id"?: string | null;
|
|
1935
2201
|
"classroom_name"?: string | null;
|
|
1936
2202
|
"user_id"?: string | null;
|
|
1937
2203
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2204
|
+
"teacher_user_id"?: string | null;
|
|
2205
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2206
|
+
"consultant_user_id"?: string | null;
|
|
2207
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2208
|
+
"support_user_id"?: string | null;
|
|
2209
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1938
2210
|
"due_at"?: string | null;
|
|
1939
2211
|
"status": string;
|
|
1940
2212
|
"answer_text"?: string | null;
|
|
@@ -1946,13 +2218,19 @@ export interface HomeworkStoreAssignmentPostResponse extends ApiEnvelope<Homewor
|
|
|
1946
2218
|
}
|
|
1947
2219
|
/** Backend response type: models::AssignmentResponse. */
|
|
1948
2220
|
export interface HomeworkShowAssignmentGetResponseData extends JsonObject {
|
|
1949
|
-
"id":
|
|
1950
|
-
"homework_id":
|
|
2221
|
+
"id": string;
|
|
2222
|
+
"homework_id": string;
|
|
1951
2223
|
"homework_name"?: string | null;
|
|
1952
|
-
"classroom_id"?:
|
|
2224
|
+
"classroom_id"?: string | null;
|
|
1953
2225
|
"classroom_name"?: string | null;
|
|
1954
2226
|
"user_id"?: string | null;
|
|
1955
2227
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2228
|
+
"teacher_user_id"?: string | null;
|
|
2229
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2230
|
+
"consultant_user_id"?: string | null;
|
|
2231
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2232
|
+
"support_user_id"?: string | null;
|
|
2233
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1956
2234
|
"due_at"?: string | null;
|
|
1957
2235
|
"status": string;
|
|
1958
2236
|
"answer_text"?: string | null;
|
|
@@ -1964,9 +2242,12 @@ export interface HomeworkShowAssignmentGetResponse extends ApiEnvelope<HomeworkS
|
|
|
1964
2242
|
}
|
|
1965
2243
|
/** Backend request type: models::UpdateAssignmentRequest. */
|
|
1966
2244
|
export interface HomeworkUpdateAssignmentPatchInput extends JsonObject {
|
|
1967
|
-
"homework_id"?:
|
|
1968
|
-
"classroom_id"?:
|
|
2245
|
+
"homework_id"?: string | null;
|
|
2246
|
+
"classroom_id"?: string | null;
|
|
1969
2247
|
"user_id"?: string | null;
|
|
2248
|
+
"teacher_user_id"?: string | null;
|
|
2249
|
+
"consultant_user_id"?: string | null;
|
|
2250
|
+
"support_user_id"?: string | null;
|
|
1970
2251
|
"due_at"?: string | null;
|
|
1971
2252
|
"status"?: string | null;
|
|
1972
2253
|
"answer_text"?: string | null;
|
|
@@ -1974,13 +2255,19 @@ export interface HomeworkUpdateAssignmentPatchInput extends JsonObject {
|
|
|
1974
2255
|
}
|
|
1975
2256
|
/** Backend response type: models::AssignmentResponse. */
|
|
1976
2257
|
export interface HomeworkUpdateAssignmentPatchResponseData extends JsonObject {
|
|
1977
|
-
"id":
|
|
1978
|
-
"homework_id":
|
|
2258
|
+
"id": string;
|
|
2259
|
+
"homework_id": string;
|
|
1979
2260
|
"homework_name"?: string | null;
|
|
1980
|
-
"classroom_id"?:
|
|
2261
|
+
"classroom_id"?: string | null;
|
|
1981
2262
|
"classroom_name"?: string | null;
|
|
1982
2263
|
"user_id"?: string | null;
|
|
1983
2264
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2265
|
+
"teacher_user_id"?: string | null;
|
|
2266
|
+
"teacher_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2267
|
+
"consultant_user_id"?: string | null;
|
|
2268
|
+
"consultant_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2269
|
+
"support_user_id"?: string | null;
|
|
2270
|
+
"support_profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
1984
2271
|
"due_at"?: string | null;
|
|
1985
2272
|
"status": string;
|
|
1986
2273
|
"answer_text"?: string | null;
|
|
@@ -1997,8 +2284,8 @@ export interface HomeworkIndexQuestionGetQuery extends QueryParams {
|
|
|
1997
2284
|
}
|
|
1998
2285
|
/** Backend response type: crate::models::PagedResult<models::QuestionResponse>. */
|
|
1999
2286
|
export interface HomeworkIndexQuestionGetResponseItem extends JsonObject {
|
|
2000
|
-
"id":
|
|
2001
|
-
"homework_id":
|
|
2287
|
+
"id": string;
|
|
2288
|
+
"homework_id": string;
|
|
2002
2289
|
"question_text": string;
|
|
2003
2290
|
"description"?: string | null;
|
|
2004
2291
|
"answer"?: string | null;
|
|
@@ -2025,7 +2312,7 @@ export interface HomeworkIndexQuestionGetResponse extends ApiEnvelope<HomeworkIn
|
|
|
2025
2312
|
}
|
|
2026
2313
|
/** Backend request type: models::CreateQuestionRequest. */
|
|
2027
2314
|
export interface HomeworkStoreQuestionPostInput extends JsonObject {
|
|
2028
|
-
"homework_id":
|
|
2315
|
+
"homework_id": string;
|
|
2029
2316
|
"question_text": string;
|
|
2030
2317
|
"description"?: string | null;
|
|
2031
2318
|
"answer"?: string | null;
|
|
@@ -2038,8 +2325,8 @@ export interface HomeworkStoreQuestionPostInput extends JsonObject {
|
|
|
2038
2325
|
}
|
|
2039
2326
|
/** Backend response type: models::QuestionResponse. */
|
|
2040
2327
|
export interface HomeworkStoreQuestionPostResponseData extends JsonObject {
|
|
2041
|
-
"id":
|
|
2042
|
-
"homework_id":
|
|
2328
|
+
"id": string;
|
|
2329
|
+
"homework_id": string;
|
|
2043
2330
|
"question_text": string;
|
|
2044
2331
|
"description"?: string | null;
|
|
2045
2332
|
"answer"?: string | null;
|
|
@@ -2056,8 +2343,8 @@ export interface HomeworkStoreQuestionPostResponse extends ApiEnvelope<HomeworkS
|
|
|
2056
2343
|
}
|
|
2057
2344
|
/** Backend response type: models::QuestionResponse. */
|
|
2058
2345
|
export interface HomeworkShowQuestionGetResponseData extends JsonObject {
|
|
2059
|
-
"id":
|
|
2060
|
-
"homework_id":
|
|
2346
|
+
"id": string;
|
|
2347
|
+
"homework_id": string;
|
|
2061
2348
|
"question_text": string;
|
|
2062
2349
|
"description"?: string | null;
|
|
2063
2350
|
"answer"?: string | null;
|
|
@@ -2074,7 +2361,7 @@ export interface HomeworkShowQuestionGetResponse extends ApiEnvelope<HomeworkSho
|
|
|
2074
2361
|
}
|
|
2075
2362
|
/** Backend request type: models::UpdateQuestionRequest. */
|
|
2076
2363
|
export interface HomeworkUpdateQuestionPatchInput extends JsonObject {
|
|
2077
|
-
"homework_id"?:
|
|
2364
|
+
"homework_id"?: string | null;
|
|
2078
2365
|
"question_text"?: string | null;
|
|
2079
2366
|
"description"?: string | null;
|
|
2080
2367
|
"answer"?: string | null;
|
|
@@ -2087,8 +2374,8 @@ export interface HomeworkUpdateQuestionPatchInput extends JsonObject {
|
|
|
2087
2374
|
}
|
|
2088
2375
|
/** Backend response type: models::QuestionResponse. */
|
|
2089
2376
|
export interface HomeworkUpdateQuestionPatchResponseData extends JsonObject {
|
|
2090
|
-
"id":
|
|
2091
|
-
"homework_id":
|
|
2377
|
+
"id": string;
|
|
2378
|
+
"homework_id": string;
|
|
2092
2379
|
"question_text": string;
|
|
2093
2380
|
"description"?: string | null;
|
|
2094
2381
|
"answer"?: string | null;
|
|
@@ -2150,15 +2437,15 @@ export interface ProfileRoutesShowGetResponse extends ApiEnvelope<BackendJson<"P
|
|
|
2150
2437
|
}
|
|
2151
2438
|
/** Backend response type: models::CertificateResponse. */
|
|
2152
2439
|
export interface CertificateVerifyCertificateGetResponseData extends JsonObject {
|
|
2153
|
-
"id":
|
|
2440
|
+
"id": string;
|
|
2154
2441
|
"public_id": string;
|
|
2155
2442
|
"user_id": string;
|
|
2156
2443
|
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2157
|
-
"course_id"?:
|
|
2158
|
-
"classroom_id"?:
|
|
2444
|
+
"course_id"?: string | null;
|
|
2445
|
+
"classroom_id"?: string | null;
|
|
2159
2446
|
"title": string;
|
|
2160
|
-
"certificate_template_id"?:
|
|
2161
|
-
"grade_id"?:
|
|
2447
|
+
"certificate_template_id"?: string | null;
|
|
2448
|
+
"grade_id"?: string | null;
|
|
2162
2449
|
"status": string;
|
|
2163
2450
|
"verification_code"?: string | null;
|
|
2164
2451
|
"legacy_code"?: string | null;
|
|
@@ -2181,8 +2468,8 @@ export interface ReportClassroomsGetQuery extends QueryParams {
|
|
|
2181
2468
|
}
|
|
2182
2469
|
/** Backend response type: Vec<models::ClassroomReport>. */
|
|
2183
2470
|
export interface ReportClassroomsGetResponseItem extends JsonObject {
|
|
2184
|
-
"classroom_id":
|
|
2185
|
-
"course_id":
|
|
2471
|
+
"classroom_id": string;
|
|
2472
|
+
"course_id": string;
|
|
2186
2473
|
"name": string;
|
|
2187
2474
|
"status": string;
|
|
2188
2475
|
"teacher_user_id"?: string | null;
|
|
@@ -2227,6 +2514,36 @@ export interface ReportCoursesGetQuery extends QueryParams {
|
|
|
2227
2514
|
}
|
|
2228
2515
|
/** Backend response type: Vec<models::CourseReport>. */
|
|
2229
2516
|
export type ReportCoursesGetResponse = import("./types.js").AcademyCoursesResponse;
|
|
2517
|
+
/** Backend response type: Vec<crate::profile::ProfileSummary>. */
|
|
2518
|
+
export interface ReportMyStudentsGetResponseItem extends JsonObject {
|
|
2519
|
+
"user_id": string;
|
|
2520
|
+
"first_name"?: JsonValue | null;
|
|
2521
|
+
"last_name"?: JsonValue | null;
|
|
2522
|
+
"email"?: string | null;
|
|
2523
|
+
"national_code"?: string | null;
|
|
2524
|
+
"phone"?: string | null;
|
|
2525
|
+
}
|
|
2526
|
+
export interface ReportMyStudentsGetResponse extends ApiEnvelope<ReportMyStudentsGetResponseItem[]> {
|
|
2527
|
+
}
|
|
2528
|
+
/** Backend query type: models::StudentSummaryQuery. */
|
|
2529
|
+
export interface ReportStudentSummaryGetQuery extends QueryParams {
|
|
2530
|
+
"from"?: string | null;
|
|
2531
|
+
"to"?: string | null;
|
|
2532
|
+
"status"?: string | null;
|
|
2533
|
+
"student_user_id"?: string | null;
|
|
2534
|
+
}
|
|
2535
|
+
/** Backend response type: models::StudentReport. */
|
|
2536
|
+
export interface ReportStudentSummaryGetResponseData extends JsonObject {
|
|
2537
|
+
"user_id": string;
|
|
2538
|
+
"profile"?: BackendJson<"crate::profile::ProfileSummary"> | null;
|
|
2539
|
+
"classroom_count": number;
|
|
2540
|
+
"session_count": number;
|
|
2541
|
+
"attendance_count": number;
|
|
2542
|
+
"absence_count": number;
|
|
2543
|
+
"attendance_rate": number;
|
|
2544
|
+
}
|
|
2545
|
+
export interface ReportStudentSummaryGetResponse extends ApiEnvelope<ReportStudentSummaryGetResponseData> {
|
|
2546
|
+
}
|
|
2230
2547
|
/** Backend query type: models::ReportQuery. */
|
|
2231
2548
|
export interface ReportStudentsGetQuery extends QueryParams {
|
|
2232
2549
|
"from"?: string | null;
|
|
@@ -2269,7 +2586,7 @@ export interface ReportTeachersGetResponse extends ApiEnvelope<ReportTeachersGet
|
|
|
2269
2586
|
/** Backend query type: LicenceQuery. */
|
|
2270
2587
|
export interface ServiceCheckLicenceGetQuery extends QueryParams {
|
|
2271
2588
|
"user_id": string;
|
|
2272
|
-
"content_id":
|
|
2589
|
+
"content_id": string;
|
|
2273
2590
|
}
|
|
2274
2591
|
/** Backend response type: LicenceResponse. */
|
|
2275
2592
|
export interface ServiceCheckLicenceGetResponseData extends JsonObject {
|