@faiber/faiber-lms 0.21.1 → 0.23.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 +42 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/contracts.types.d.ts +15 -0
- package/dist/contracts.types.d.ts.map +1 -0
- package/dist/contracts.types.js +2 -0
- package/dist/contracts.types.js.map +1 -0
- package/dist/index.d.ts +10 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +184 -28
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +206 -15
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +522 -396
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +44 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
|
@@ -167,6 +167,7 @@ export interface SessionGetSelfGetResponseDataProfile extends JsonObject {
|
|
|
167
167
|
"email"?: string | null;
|
|
168
168
|
"national_code"?: string | null;
|
|
169
169
|
"phone"?: string | null;
|
|
170
|
+
"gender"?: string | null;
|
|
170
171
|
}
|
|
171
172
|
export interface SessionGetSelfGetResponseData extends JsonObject {
|
|
172
173
|
"user_id": string;
|
|
@@ -232,6 +233,7 @@ export interface ClassroomIndexClassroomGetResponseItemTeacherProfile extends Js
|
|
|
232
233
|
"email"?: string | null;
|
|
233
234
|
"national_code"?: string | null;
|
|
234
235
|
"phone"?: string | null;
|
|
236
|
+
"gender"?: string | null;
|
|
235
237
|
}
|
|
236
238
|
export interface ClassroomIndexClassroomGetResponseItemConsultantProfile extends JsonObject {
|
|
237
239
|
"user_id": string;
|
|
@@ -240,6 +242,7 @@ export interface ClassroomIndexClassroomGetResponseItemConsultantProfile extends
|
|
|
240
242
|
"email"?: string | null;
|
|
241
243
|
"national_code"?: string | null;
|
|
242
244
|
"phone"?: string | null;
|
|
245
|
+
"gender"?: string | null;
|
|
243
246
|
}
|
|
244
247
|
export interface ClassroomIndexClassroomGetResponseItemSupportProfile extends JsonObject {
|
|
245
248
|
"user_id": string;
|
|
@@ -248,6 +251,7 @@ export interface ClassroomIndexClassroomGetResponseItemSupportProfile extends Js
|
|
|
248
251
|
"email"?: string | null;
|
|
249
252
|
"national_code"?: string | null;
|
|
250
253
|
"phone"?: string | null;
|
|
254
|
+
"gender"?: string | null;
|
|
251
255
|
}
|
|
252
256
|
export interface ClassroomIndexClassroomGetResponseItem extends JsonObject {
|
|
253
257
|
"id": string;
|
|
@@ -325,6 +329,7 @@ export interface ClassroomStoreClassroomPostResponseDataTeacherProfile extends J
|
|
|
325
329
|
"email"?: string | null;
|
|
326
330
|
"national_code"?: string | null;
|
|
327
331
|
"phone"?: string | null;
|
|
332
|
+
"gender"?: string | null;
|
|
328
333
|
}
|
|
329
334
|
export interface ClassroomStoreClassroomPostResponseDataConsultantProfile extends JsonObject {
|
|
330
335
|
"user_id": string;
|
|
@@ -333,6 +338,7 @@ export interface ClassroomStoreClassroomPostResponseDataConsultantProfile extend
|
|
|
333
338
|
"email"?: string | null;
|
|
334
339
|
"national_code"?: string | null;
|
|
335
340
|
"phone"?: string | null;
|
|
341
|
+
"gender"?: string | null;
|
|
336
342
|
}
|
|
337
343
|
export interface ClassroomStoreClassroomPostResponseDataSupportProfile extends JsonObject {
|
|
338
344
|
"user_id": string;
|
|
@@ -341,6 +347,7 @@ export interface ClassroomStoreClassroomPostResponseDataSupportProfile extends J
|
|
|
341
347
|
"email"?: string | null;
|
|
342
348
|
"national_code"?: string | null;
|
|
343
349
|
"phone"?: string | null;
|
|
350
|
+
"gender"?: string | null;
|
|
344
351
|
}
|
|
345
352
|
export interface ClassroomStoreClassroomPostResponseData extends JsonObject {
|
|
346
353
|
"id": string;
|
|
@@ -390,6 +397,7 @@ export interface ClassroomShowClassroomGetResponseDataTeacherProfile extends Jso
|
|
|
390
397
|
"email"?: string | null;
|
|
391
398
|
"national_code"?: string | null;
|
|
392
399
|
"phone"?: string | null;
|
|
400
|
+
"gender"?: string | null;
|
|
393
401
|
}
|
|
394
402
|
export interface ClassroomShowClassroomGetResponseDataConsultantProfile extends JsonObject {
|
|
395
403
|
"user_id": string;
|
|
@@ -398,6 +406,7 @@ export interface ClassroomShowClassroomGetResponseDataConsultantProfile extends
|
|
|
398
406
|
"email"?: string | null;
|
|
399
407
|
"national_code"?: string | null;
|
|
400
408
|
"phone"?: string | null;
|
|
409
|
+
"gender"?: string | null;
|
|
401
410
|
}
|
|
402
411
|
export interface ClassroomShowClassroomGetResponseDataSupportProfile extends JsonObject {
|
|
403
412
|
"user_id": string;
|
|
@@ -406,6 +415,7 @@ export interface ClassroomShowClassroomGetResponseDataSupportProfile extends Jso
|
|
|
406
415
|
"email"?: string | null;
|
|
407
416
|
"national_code"?: string | null;
|
|
408
417
|
"phone"?: string | null;
|
|
418
|
+
"gender"?: string | null;
|
|
409
419
|
}
|
|
410
420
|
export interface ClassroomShowClassroomGetResponseData extends JsonObject {
|
|
411
421
|
"id": string;
|
|
@@ -473,6 +483,7 @@ export interface ClassroomUpdateClassroomPatchResponseDataTeacherProfile extends
|
|
|
473
483
|
"email"?: string | null;
|
|
474
484
|
"national_code"?: string | null;
|
|
475
485
|
"phone"?: string | null;
|
|
486
|
+
"gender"?: string | null;
|
|
476
487
|
}
|
|
477
488
|
export interface ClassroomUpdateClassroomPatchResponseDataConsultantProfile extends JsonObject {
|
|
478
489
|
"user_id": string;
|
|
@@ -481,6 +492,7 @@ export interface ClassroomUpdateClassroomPatchResponseDataConsultantProfile exte
|
|
|
481
492
|
"email"?: string | null;
|
|
482
493
|
"national_code"?: string | null;
|
|
483
494
|
"phone"?: string | null;
|
|
495
|
+
"gender"?: string | null;
|
|
484
496
|
}
|
|
485
497
|
export interface ClassroomUpdateClassroomPatchResponseDataSupportProfile extends JsonObject {
|
|
486
498
|
"user_id": string;
|
|
@@ -489,6 +501,7 @@ export interface ClassroomUpdateClassroomPatchResponseDataSupportProfile extends
|
|
|
489
501
|
"email"?: string | null;
|
|
490
502
|
"national_code"?: string | null;
|
|
491
503
|
"phone"?: string | null;
|
|
504
|
+
"gender"?: string | null;
|
|
492
505
|
}
|
|
493
506
|
export interface ClassroomUpdateClassroomPatchResponseData extends JsonObject {
|
|
494
507
|
"id": string;
|
|
@@ -544,6 +557,7 @@ export interface ClassroomShowCompletionGetResponseDataStudentsProfile extends J
|
|
|
544
557
|
"email"?: string | null;
|
|
545
558
|
"national_code"?: string | null;
|
|
546
559
|
"phone"?: string | null;
|
|
560
|
+
"gender"?: string | null;
|
|
547
561
|
}
|
|
548
562
|
export interface ClassroomShowCompletionGetResponseDataStudentsExamScores extends JsonObject {
|
|
549
563
|
"exam_session_id": string;
|
|
@@ -575,7 +589,7 @@ export interface ClassroomShowCompletionGetResponse extends ApiEnvelope<Classroo
|
|
|
575
589
|
}
|
|
576
590
|
/** Backend request type: models::FinalizeClassroomRequest. */
|
|
577
591
|
export interface ClassroomFinalizeClassroomPostInputStudents extends JsonObject {
|
|
578
|
-
"user_id":
|
|
592
|
+
"user_id": string;
|
|
579
593
|
"final_score": number;
|
|
580
594
|
}
|
|
581
595
|
export interface ClassroomFinalizeClassroomPostInput extends JsonObject {
|
|
@@ -604,6 +618,7 @@ export interface ClassroomIndexClassroomUsersGetResponseItemProfile extends Json
|
|
|
604
618
|
"email"?: string | null;
|
|
605
619
|
"national_code"?: string | null;
|
|
606
620
|
"phone"?: string | null;
|
|
621
|
+
"gender"?: string | null;
|
|
607
622
|
}
|
|
608
623
|
export interface ClassroomIndexClassroomUsersGetResponseItem extends JsonObject {
|
|
609
624
|
"id": string;
|
|
@@ -641,6 +656,7 @@ export interface ClassroomEnrollClassroomUserPostResponseDataProfile extends Jso
|
|
|
641
656
|
"email"?: string | null;
|
|
642
657
|
"national_code"?: string | null;
|
|
643
658
|
"phone"?: string | null;
|
|
659
|
+
"gender"?: string | null;
|
|
644
660
|
}
|
|
645
661
|
export interface ClassroomEnrollClassroomUserPostResponseData extends JsonObject {
|
|
646
662
|
"id": string;
|
|
@@ -670,6 +686,7 @@ export interface ClassroomUpdateClassroomUserPatchResponseDataProfile extends Js
|
|
|
670
686
|
"email"?: string | null;
|
|
671
687
|
"national_code"?: string | null;
|
|
672
688
|
"phone"?: string | null;
|
|
689
|
+
"gender"?: string | null;
|
|
673
690
|
}
|
|
674
691
|
export interface ClassroomUpdateClassroomUserPatchResponseData extends JsonObject {
|
|
675
692
|
"id": string;
|
|
@@ -744,6 +761,7 @@ export interface ClassroomIndexSessionGetResponseItemTeacherProfile extends Json
|
|
|
744
761
|
"email"?: string | null;
|
|
745
762
|
"national_code"?: string | null;
|
|
746
763
|
"phone"?: string | null;
|
|
764
|
+
"gender"?: string | null;
|
|
747
765
|
}
|
|
748
766
|
export interface ClassroomIndexSessionGetResponseItem extends JsonObject {
|
|
749
767
|
"id": string;
|
|
@@ -763,10 +781,12 @@ export interface ClassroomIndexSessionGetResponseItem extends JsonObject {
|
|
|
763
781
|
"auto_unlock": boolean;
|
|
764
782
|
"auto_present": boolean;
|
|
765
783
|
"invited": boolean;
|
|
784
|
+
"student_user_ids"?: string[] | null;
|
|
766
785
|
"session_room_id"?: string | null;
|
|
767
786
|
"session_lifecycle_status"?: string | null;
|
|
768
787
|
"session_access_mode": string;
|
|
769
788
|
"session_archive_ready": boolean;
|
|
789
|
+
"legacy_source_id"?: number | null;
|
|
770
790
|
"starts_at"?: string | null;
|
|
771
791
|
"ends_at"?: string | null;
|
|
772
792
|
"status": string;
|
|
@@ -787,6 +807,7 @@ export interface ClassroomIndexSessionGetResponse extends ApiEnvelope<ClassroomI
|
|
|
787
807
|
}
|
|
788
808
|
/** Backend request type: models::CreateSessionRequest. */
|
|
789
809
|
export interface ClassroomStoreSessionPostInput extends JsonObject {
|
|
810
|
+
"student_user_ids"?: string[] | null;
|
|
790
811
|
"classroom_id": string;
|
|
791
812
|
"course_session_id"?: string | null;
|
|
792
813
|
"course_session_type_id"?: string | null;
|
|
@@ -832,6 +853,7 @@ export interface ClassroomStoreSessionPostResponseDataTeacherProfile extends Jso
|
|
|
832
853
|
"email"?: string | null;
|
|
833
854
|
"national_code"?: string | null;
|
|
834
855
|
"phone"?: string | null;
|
|
856
|
+
"gender"?: string | null;
|
|
835
857
|
}
|
|
836
858
|
export interface ClassroomStoreSessionPostResponseData extends JsonObject {
|
|
837
859
|
"id": string;
|
|
@@ -851,10 +873,12 @@ export interface ClassroomStoreSessionPostResponseData extends JsonObject {
|
|
|
851
873
|
"auto_unlock": boolean;
|
|
852
874
|
"auto_present": boolean;
|
|
853
875
|
"invited": boolean;
|
|
876
|
+
"student_user_ids"?: string[] | null;
|
|
854
877
|
"session_room_id"?: string | null;
|
|
855
878
|
"session_lifecycle_status"?: string | null;
|
|
856
879
|
"session_access_mode": string;
|
|
857
880
|
"session_archive_ready": boolean;
|
|
881
|
+
"legacy_source_id"?: number | null;
|
|
858
882
|
"starts_at"?: string | null;
|
|
859
883
|
"ends_at"?: string | null;
|
|
860
884
|
"status": string;
|
|
@@ -893,6 +917,7 @@ export interface ClassroomShowSessionGetResponseDataTeacherProfile extends JsonO
|
|
|
893
917
|
"email"?: string | null;
|
|
894
918
|
"national_code"?: string | null;
|
|
895
919
|
"phone"?: string | null;
|
|
920
|
+
"gender"?: string | null;
|
|
896
921
|
}
|
|
897
922
|
export interface ClassroomShowSessionGetResponseData extends JsonObject {
|
|
898
923
|
"id": string;
|
|
@@ -912,10 +937,12 @@ export interface ClassroomShowSessionGetResponseData extends JsonObject {
|
|
|
912
937
|
"auto_unlock": boolean;
|
|
913
938
|
"auto_present": boolean;
|
|
914
939
|
"invited": boolean;
|
|
940
|
+
"student_user_ids"?: string[] | null;
|
|
915
941
|
"session_room_id"?: string | null;
|
|
916
942
|
"session_lifecycle_status"?: string | null;
|
|
917
943
|
"session_access_mode": string;
|
|
918
944
|
"session_archive_ready": boolean;
|
|
945
|
+
"legacy_source_id"?: number | null;
|
|
919
946
|
"starts_at"?: string | null;
|
|
920
947
|
"ends_at"?: string | null;
|
|
921
948
|
"status": string;
|
|
@@ -973,6 +1000,7 @@ export interface ClassroomUpdateSessionPatchResponseDataTeacherProfile extends J
|
|
|
973
1000
|
"email"?: string | null;
|
|
974
1001
|
"national_code"?: string | null;
|
|
975
1002
|
"phone"?: string | null;
|
|
1003
|
+
"gender"?: string | null;
|
|
976
1004
|
}
|
|
977
1005
|
export interface ClassroomUpdateSessionPatchResponseData extends JsonObject {
|
|
978
1006
|
"id": string;
|
|
@@ -992,10 +1020,12 @@ export interface ClassroomUpdateSessionPatchResponseData extends JsonObject {
|
|
|
992
1020
|
"auto_unlock": boolean;
|
|
993
1021
|
"auto_present": boolean;
|
|
994
1022
|
"invited": boolean;
|
|
1023
|
+
"student_user_ids"?: string[] | null;
|
|
995
1024
|
"session_room_id"?: string | null;
|
|
996
1025
|
"session_lifecycle_status"?: string | null;
|
|
997
1026
|
"session_access_mode": string;
|
|
998
1027
|
"session_archive_ready": boolean;
|
|
1028
|
+
"legacy_source_id"?: number | null;
|
|
999
1029
|
"starts_at"?: string | null;
|
|
1000
1030
|
"ends_at"?: string | null;
|
|
1001
1031
|
"status": string;
|
|
@@ -1017,6 +1047,7 @@ export interface ClassroomIndexAttendanceGetResponseItemProfile extends JsonObje
|
|
|
1017
1047
|
"email"?: string | null;
|
|
1018
1048
|
"national_code"?: string | null;
|
|
1019
1049
|
"phone"?: string | null;
|
|
1050
|
+
"gender"?: string | null;
|
|
1020
1051
|
}
|
|
1021
1052
|
export interface ClassroomIndexAttendanceGetResponseItem extends JsonObject {
|
|
1022
1053
|
"id": string;
|
|
@@ -1047,7 +1078,7 @@ export interface ClassroomIndexAttendanceGetResponse extends ApiEnvelope<Classro
|
|
|
1047
1078
|
}
|
|
1048
1079
|
/** Backend request type: models::BatchAttendanceRequest. */
|
|
1049
1080
|
export interface ClassroomRecordAttendancePutInputItems extends JsonObject {
|
|
1050
|
-
"user_id":
|
|
1081
|
+
"user_id": string;
|
|
1051
1082
|
"status": string;
|
|
1052
1083
|
"absence_reason"?: string | null;
|
|
1053
1084
|
"ratings"?: JsonValue | null;
|
|
@@ -1103,6 +1134,7 @@ export interface ClassroomIndexTodaySessionsGetResponseItemTeacherProfile extend
|
|
|
1103
1134
|
"email"?: string | null;
|
|
1104
1135
|
"national_code"?: string | null;
|
|
1105
1136
|
"phone"?: string | null;
|
|
1137
|
+
"gender"?: string | null;
|
|
1106
1138
|
}
|
|
1107
1139
|
export interface ClassroomIndexTodaySessionsGetResponseItem extends JsonObject {
|
|
1108
1140
|
"id": string;
|
|
@@ -1122,10 +1154,12 @@ export interface ClassroomIndexTodaySessionsGetResponseItem extends JsonObject {
|
|
|
1122
1154
|
"auto_unlock": boolean;
|
|
1123
1155
|
"auto_present": boolean;
|
|
1124
1156
|
"invited": boolean;
|
|
1157
|
+
"student_user_ids"?: string[] | null;
|
|
1125
1158
|
"session_room_id"?: string | null;
|
|
1126
1159
|
"session_lifecycle_status"?: string | null;
|
|
1127
1160
|
"session_access_mode": string;
|
|
1128
1161
|
"session_archive_ready": boolean;
|
|
1162
|
+
"legacy_source_id"?: number | null;
|
|
1129
1163
|
"starts_at"?: string | null;
|
|
1130
1164
|
"ends_at"?: string | null;
|
|
1131
1165
|
"status": string;
|
|
@@ -1167,6 +1201,7 @@ export interface ClassroomIndexAbsencesGetResponseItemProfile extends JsonObject
|
|
|
1167
1201
|
"email"?: string | null;
|
|
1168
1202
|
"national_code"?: string | null;
|
|
1169
1203
|
"phone"?: string | null;
|
|
1204
|
+
"gender"?: string | null;
|
|
1170
1205
|
}
|
|
1171
1206
|
export interface ClassroomIndexAbsencesGetResponseItem extends JsonObject {
|
|
1172
1207
|
"id": string;
|
|
@@ -1198,7 +1233,7 @@ export interface ClassroomIndexAbsencesGetResponse extends ApiEnvelope<Classroom
|
|
|
1198
1233
|
/** Backend response type: Branding. */
|
|
1199
1234
|
export interface BrandingShowGetResponseData extends JsonObject {
|
|
1200
1235
|
"title"?: string | null;
|
|
1201
|
-
"localizations": Record<string,
|
|
1236
|
+
"localizations": Record<string, BackendJson<"BrandText">>;
|
|
1202
1237
|
"icon_asset_key"?: string | null;
|
|
1203
1238
|
"icon_url"?: string | null;
|
|
1204
1239
|
}
|
|
@@ -1207,14 +1242,14 @@ export interface BrandingShowGetResponse extends ApiEnvelope<BrandingShowGetResp
|
|
|
1207
1242
|
/** Backend request type: Branding. */
|
|
1208
1243
|
export interface BrandingUpdatePutInput extends JsonObject {
|
|
1209
1244
|
"title"?: string | null;
|
|
1210
|
-
"localizations": Record<string,
|
|
1245
|
+
"localizations": Record<string, BackendJson<"BrandText">>;
|
|
1211
1246
|
"icon_asset_key"?: string | null;
|
|
1212
1247
|
"icon_url"?: string | null;
|
|
1213
1248
|
}
|
|
1214
1249
|
/** Backend response type: Branding. */
|
|
1215
1250
|
export interface BrandingUpdatePutResponseData extends JsonObject {
|
|
1216
1251
|
"title"?: string | null;
|
|
1217
|
-
"localizations": Record<string,
|
|
1252
|
+
"localizations": Record<string, BackendJson<"BrandText">>;
|
|
1218
1253
|
"icon_asset_key"?: string | null;
|
|
1219
1254
|
"icon_url"?: string | null;
|
|
1220
1255
|
}
|
|
@@ -1626,7 +1661,7 @@ export interface CourseIndexSessionGetQuery extends QueryParams {
|
|
|
1626
1661
|
"page_size"?: number | null;
|
|
1627
1662
|
}
|
|
1628
1663
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
1629
|
-
export interface
|
|
1664
|
+
export interface CourseIndexSessionGetResponseItem extends JsonObject {
|
|
1630
1665
|
"id": string;
|
|
1631
1666
|
"course_id": string;
|
|
1632
1667
|
"name": string;
|
|
@@ -1634,52 +1669,13 @@ export interface CourseIndexSessionGetResponseItemCourseSession extends JsonObje
|
|
|
1634
1669
|
"sort_order": number;
|
|
1635
1670
|
"session_type": string;
|
|
1636
1671
|
"session_type_id"?: string | null;
|
|
1672
|
+
"exam_id"?: string | null;
|
|
1637
1673
|
"duration_minutes"?: number | null;
|
|
1638
|
-
"status": string;
|
|
1639
|
-
}
|
|
1640
|
-
export interface CourseIndexSessionGetResponseItemSessionType extends JsonObject {
|
|
1641
|
-
"id": string;
|
|
1642
|
-
"code": string;
|
|
1643
|
-
"name": string;
|
|
1644
|
-
"name_fa"?: string | null;
|
|
1645
|
-
"is_online": boolean;
|
|
1646
|
-
"status": string;
|
|
1647
|
-
"sort_order": number;
|
|
1648
|
-
"created_at": string;
|
|
1649
|
-
"updated_at": string;
|
|
1650
|
-
}
|
|
1651
|
-
export interface CourseIndexSessionGetResponseItemTeacherProfile extends JsonObject {
|
|
1652
|
-
"user_id": string;
|
|
1653
|
-
"first_name"?: JsonValue | null;
|
|
1654
|
-
"last_name"?: JsonValue | null;
|
|
1655
|
-
"email"?: string | null;
|
|
1656
|
-
"national_code"?: string | null;
|
|
1657
|
-
"phone"?: string | null;
|
|
1658
|
-
}
|
|
1659
|
-
export interface CourseIndexSessionGetResponseItem extends JsonObject {
|
|
1660
|
-
"id": string;
|
|
1661
|
-
"classroom_id": string;
|
|
1662
|
-
"classroom_name"?: string | null;
|
|
1663
|
-
"course_session_id"?: string | null;
|
|
1664
|
-
"course_session"?: CourseIndexSessionGetResponseItemCourseSession | null;
|
|
1665
|
-
"course_session_type_id"?: string | null;
|
|
1666
|
-
"session_type"?: CourseIndexSessionGetResponseItemSessionType | null;
|
|
1667
|
-
"name"?: string | null;
|
|
1668
|
-
"session_number"?: number | null;
|
|
1669
|
-
"duration_minutes"?: number | null;
|
|
1670
|
-
"description"?: string | null;
|
|
1671
|
-
"teacher_user_id"?: string | null;
|
|
1672
|
-
"teacher_profile"?: CourseIndexSessionGetResponseItemTeacherProfile | null;
|
|
1673
|
-
"locked": boolean;
|
|
1674
1674
|
"auto_unlock": boolean;
|
|
1675
|
-
"
|
|
1676
|
-
"
|
|
1677
|
-
"
|
|
1678
|
-
"
|
|
1679
|
-
"session_access_mode": string;
|
|
1680
|
-
"session_archive_ready": boolean;
|
|
1681
|
-
"starts_at"?: string | null;
|
|
1682
|
-
"ends_at"?: string | null;
|
|
1675
|
+
"info"?: string | null;
|
|
1676
|
+
"video_type"?: string | null;
|
|
1677
|
+
"external_url"?: string | null;
|
|
1678
|
+
"drm_mixed_media_id"?: string | null;
|
|
1683
1679
|
"status": string;
|
|
1684
1680
|
"created_at": string;
|
|
1685
1681
|
"updated_at": string;
|
|
@@ -1698,76 +1694,37 @@ export interface CourseIndexSessionGetResponse extends ApiEnvelope<CourseIndexSe
|
|
|
1698
1694
|
}
|
|
1699
1695
|
/** Backend request type: models::CreateSessionRequest. */
|
|
1700
1696
|
export interface CourseStoreSessionPostInput extends JsonObject {
|
|
1701
|
-
"classroom_id": string;
|
|
1702
|
-
"course_session_id"?: string | null;
|
|
1703
|
-
"course_session_type_id"?: string | null;
|
|
1704
|
-
"name"?: string | null;
|
|
1705
|
-
"session_number"?: number | null;
|
|
1706
|
-
"duration_minutes"?: number | null;
|
|
1707
|
-
"description"?: string | null;
|
|
1708
|
-
"teacher_user_id"?: string | null;
|
|
1709
|
-
"locked"?: boolean | null;
|
|
1710
|
-
"auto_unlock"?: boolean | null;
|
|
1711
|
-
"auto_present"?: boolean | null;
|
|
1712
|
-
"invited"?: boolean | null;
|
|
1713
|
-
"starts_at"?: string | null;
|
|
1714
|
-
"status": string;
|
|
1715
|
-
}
|
|
1716
|
-
/** Backend response type: models::SessionResponse. */
|
|
1717
|
-
export interface CourseStoreSessionPostResponseDataCourseSession extends JsonObject {
|
|
1718
|
-
"id": string;
|
|
1719
1697
|
"course_id": string;
|
|
1720
1698
|
"name": string;
|
|
1721
1699
|
"description"?: string | null;
|
|
1722
1700
|
"sort_order": number;
|
|
1723
|
-
"session_type"
|
|
1701
|
+
"session_type"?: string;
|
|
1724
1702
|
"session_type_id"?: string | null;
|
|
1703
|
+
"exam_id"?: string | null;
|
|
1725
1704
|
"duration_minutes"?: number | null;
|
|
1705
|
+
"auto_unlock": boolean;
|
|
1706
|
+
"info"?: string | null;
|
|
1707
|
+
"video_type"?: string | null;
|
|
1708
|
+
"external_url"?: string | null;
|
|
1709
|
+
"drm_mixed_media_id"?: string | null;
|
|
1726
1710
|
"status": string;
|
|
1727
1711
|
}
|
|
1728
|
-
|
|
1712
|
+
/** Backend response type: models::SessionResponse. */
|
|
1713
|
+
export interface CourseStoreSessionPostResponseData extends JsonObject {
|
|
1729
1714
|
"id": string;
|
|
1730
|
-
"
|
|
1715
|
+
"course_id": string;
|
|
1731
1716
|
"name": string;
|
|
1732
|
-
"
|
|
1733
|
-
"is_online": boolean;
|
|
1734
|
-
"status": string;
|
|
1717
|
+
"description"?: string | null;
|
|
1735
1718
|
"sort_order": number;
|
|
1736
|
-
"
|
|
1737
|
-
"
|
|
1738
|
-
|
|
1739
|
-
export interface CourseStoreSessionPostResponseDataTeacherProfile extends JsonObject {
|
|
1740
|
-
"user_id": string;
|
|
1741
|
-
"first_name"?: JsonValue | null;
|
|
1742
|
-
"last_name"?: JsonValue | null;
|
|
1743
|
-
"email"?: string | null;
|
|
1744
|
-
"national_code"?: string | null;
|
|
1745
|
-
"phone"?: string | null;
|
|
1746
|
-
}
|
|
1747
|
-
export interface CourseStoreSessionPostResponseData extends JsonObject {
|
|
1748
|
-
"id": string;
|
|
1749
|
-
"classroom_id": string;
|
|
1750
|
-
"classroom_name"?: string | null;
|
|
1751
|
-
"course_session_id"?: string | null;
|
|
1752
|
-
"course_session"?: CourseStoreSessionPostResponseDataCourseSession | null;
|
|
1753
|
-
"course_session_type_id"?: string | null;
|
|
1754
|
-
"session_type"?: CourseStoreSessionPostResponseDataSessionType | null;
|
|
1755
|
-
"name"?: string | null;
|
|
1756
|
-
"session_number"?: number | null;
|
|
1719
|
+
"session_type": string;
|
|
1720
|
+
"session_type_id"?: string | null;
|
|
1721
|
+
"exam_id"?: string | null;
|
|
1757
1722
|
"duration_minutes"?: number | null;
|
|
1758
|
-
"description"?: string | null;
|
|
1759
|
-
"teacher_user_id"?: string | null;
|
|
1760
|
-
"teacher_profile"?: CourseStoreSessionPostResponseDataTeacherProfile | null;
|
|
1761
|
-
"locked": boolean;
|
|
1762
1723
|
"auto_unlock": boolean;
|
|
1763
|
-
"
|
|
1764
|
-
"
|
|
1765
|
-
"
|
|
1766
|
-
"
|
|
1767
|
-
"session_access_mode": string;
|
|
1768
|
-
"session_archive_ready": boolean;
|
|
1769
|
-
"starts_at"?: string | null;
|
|
1770
|
-
"ends_at"?: string | null;
|
|
1724
|
+
"info"?: string | null;
|
|
1725
|
+
"video_type"?: string | null;
|
|
1726
|
+
"external_url"?: string | null;
|
|
1727
|
+
"drm_mixed_media_id"?: string | null;
|
|
1771
1728
|
"status": string;
|
|
1772
1729
|
"created_at": string;
|
|
1773
1730
|
"updated_at": string;
|
|
@@ -1778,7 +1735,7 @@ export interface CourseStoreSessionPostResponse extends ApiEnvelope<CourseStoreS
|
|
|
1778
1735
|
export interface CourseDestroySessionDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1779
1736
|
}
|
|
1780
1737
|
/** Backend response type: models::SessionResponse. */
|
|
1781
|
-
export interface
|
|
1738
|
+
export interface CourseShowSessionGetResponseData extends JsonObject {
|
|
1782
1739
|
"id": string;
|
|
1783
1740
|
"course_id": string;
|
|
1784
1741
|
"name": string;
|
|
@@ -1786,52 +1743,13 @@ export interface CourseShowSessionGetResponseDataCourseSession extends JsonObjec
|
|
|
1786
1743
|
"sort_order": number;
|
|
1787
1744
|
"session_type": string;
|
|
1788
1745
|
"session_type_id"?: string | null;
|
|
1746
|
+
"exam_id"?: string | null;
|
|
1789
1747
|
"duration_minutes"?: number | null;
|
|
1790
|
-
"status": string;
|
|
1791
|
-
}
|
|
1792
|
-
export interface CourseShowSessionGetResponseDataSessionType extends JsonObject {
|
|
1793
|
-
"id": string;
|
|
1794
|
-
"code": string;
|
|
1795
|
-
"name": string;
|
|
1796
|
-
"name_fa"?: string | null;
|
|
1797
|
-
"is_online": boolean;
|
|
1798
|
-
"status": string;
|
|
1799
|
-
"sort_order": number;
|
|
1800
|
-
"created_at": string;
|
|
1801
|
-
"updated_at": string;
|
|
1802
|
-
}
|
|
1803
|
-
export interface CourseShowSessionGetResponseDataTeacherProfile extends JsonObject {
|
|
1804
|
-
"user_id": string;
|
|
1805
|
-
"first_name"?: JsonValue | null;
|
|
1806
|
-
"last_name"?: JsonValue | null;
|
|
1807
|
-
"email"?: string | null;
|
|
1808
|
-
"national_code"?: string | null;
|
|
1809
|
-
"phone"?: string | null;
|
|
1810
|
-
}
|
|
1811
|
-
export interface CourseShowSessionGetResponseData extends JsonObject {
|
|
1812
|
-
"id": string;
|
|
1813
|
-
"classroom_id": string;
|
|
1814
|
-
"classroom_name"?: string | null;
|
|
1815
|
-
"course_session_id"?: string | null;
|
|
1816
|
-
"course_session"?: CourseShowSessionGetResponseDataCourseSession | null;
|
|
1817
|
-
"course_session_type_id"?: string | null;
|
|
1818
|
-
"session_type"?: CourseShowSessionGetResponseDataSessionType | null;
|
|
1819
|
-
"name"?: string | null;
|
|
1820
|
-
"session_number"?: number | null;
|
|
1821
|
-
"duration_minutes"?: number | null;
|
|
1822
|
-
"description"?: string | null;
|
|
1823
|
-
"teacher_user_id"?: string | null;
|
|
1824
|
-
"teacher_profile"?: CourseShowSessionGetResponseDataTeacherProfile | null;
|
|
1825
|
-
"locked": boolean;
|
|
1826
1748
|
"auto_unlock": boolean;
|
|
1827
|
-
"
|
|
1828
|
-
"
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
"session_access_mode": string;
|
|
1832
|
-
"session_archive_ready": boolean;
|
|
1833
|
-
"starts_at"?: string | null;
|
|
1834
|
-
"ends_at"?: string | null;
|
|
1749
|
+
"info"?: string | null;
|
|
1750
|
+
"video_type"?: string | null;
|
|
1751
|
+
"external_url"?: string | null;
|
|
1752
|
+
"drm_mixed_media_id"?: string | null;
|
|
1835
1753
|
"status": string;
|
|
1836
1754
|
"created_at": string;
|
|
1837
1755
|
"updated_at": string;
|
|
@@ -1840,25 +1758,22 @@ export interface CourseShowSessionGetResponse extends ApiEnvelope<CourseShowSess
|
|
|
1840
1758
|
}
|
|
1841
1759
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
1842
1760
|
export interface CourseUpdateSessionPatchInput extends JsonObject {
|
|
1843
|
-
"confirm_recording_reset"?: boolean;
|
|
1844
|
-
"shift_following_sessions"?: boolean;
|
|
1845
|
-
"classroom_id"?: string | null;
|
|
1846
|
-
"course_session_id"?: string | null;
|
|
1847
|
-
"course_session_type_id"?: string | null;
|
|
1848
1761
|
"name"?: string | null;
|
|
1849
|
-
"session_number"?: number | null;
|
|
1850
|
-
"duration_minutes"?: number | null;
|
|
1851
1762
|
"description"?: string | null;
|
|
1852
|
-
"
|
|
1853
|
-
"
|
|
1763
|
+
"sort_order"?: number | null;
|
|
1764
|
+
"session_type"?: string | null;
|
|
1765
|
+
"session_type_id"?: string | null;
|
|
1766
|
+
"exam_id"?: string | null;
|
|
1767
|
+
"duration_minutes"?: number | null;
|
|
1854
1768
|
"auto_unlock"?: boolean | null;
|
|
1855
|
-
"
|
|
1856
|
-
"
|
|
1857
|
-
"
|
|
1769
|
+
"info"?: string | null;
|
|
1770
|
+
"video_type"?: string | null;
|
|
1771
|
+
"external_url"?: string | null;
|
|
1772
|
+
"drm_mixed_media_id"?: string | null;
|
|
1858
1773
|
"status"?: string | null;
|
|
1859
1774
|
}
|
|
1860
1775
|
/** Backend response type: models::SessionResponse. */
|
|
1861
|
-
export interface
|
|
1776
|
+
export interface CourseUpdateSessionPatchResponseData extends JsonObject {
|
|
1862
1777
|
"id": string;
|
|
1863
1778
|
"course_id": string;
|
|
1864
1779
|
"name": string;
|
|
@@ -1866,52 +1781,13 @@ export interface CourseUpdateSessionPatchResponseDataCourseSession extends JsonO
|
|
|
1866
1781
|
"sort_order": number;
|
|
1867
1782
|
"session_type": string;
|
|
1868
1783
|
"session_type_id"?: string | null;
|
|
1784
|
+
"exam_id"?: string | null;
|
|
1869
1785
|
"duration_minutes"?: number | null;
|
|
1870
|
-
"status": string;
|
|
1871
|
-
}
|
|
1872
|
-
export interface CourseUpdateSessionPatchResponseDataSessionType extends JsonObject {
|
|
1873
|
-
"id": string;
|
|
1874
|
-
"code": string;
|
|
1875
|
-
"name": string;
|
|
1876
|
-
"name_fa"?: string | null;
|
|
1877
|
-
"is_online": boolean;
|
|
1878
|
-
"status": string;
|
|
1879
|
-
"sort_order": number;
|
|
1880
|
-
"created_at": string;
|
|
1881
|
-
"updated_at": string;
|
|
1882
|
-
}
|
|
1883
|
-
export interface CourseUpdateSessionPatchResponseDataTeacherProfile extends JsonObject {
|
|
1884
|
-
"user_id": string;
|
|
1885
|
-
"first_name"?: JsonValue | null;
|
|
1886
|
-
"last_name"?: JsonValue | null;
|
|
1887
|
-
"email"?: string | null;
|
|
1888
|
-
"national_code"?: string | null;
|
|
1889
|
-
"phone"?: string | null;
|
|
1890
|
-
}
|
|
1891
|
-
export interface CourseUpdateSessionPatchResponseData extends JsonObject {
|
|
1892
|
-
"id": string;
|
|
1893
|
-
"classroom_id": string;
|
|
1894
|
-
"classroom_name"?: string | null;
|
|
1895
|
-
"course_session_id"?: string | null;
|
|
1896
|
-
"course_session"?: CourseUpdateSessionPatchResponseDataCourseSession | null;
|
|
1897
|
-
"course_session_type_id"?: string | null;
|
|
1898
|
-
"session_type"?: CourseUpdateSessionPatchResponseDataSessionType | null;
|
|
1899
|
-
"name"?: string | null;
|
|
1900
|
-
"session_number"?: number | null;
|
|
1901
|
-
"duration_minutes"?: number | null;
|
|
1902
|
-
"description"?: string | null;
|
|
1903
|
-
"teacher_user_id"?: string | null;
|
|
1904
|
-
"teacher_profile"?: CourseUpdateSessionPatchResponseDataTeacherProfile | null;
|
|
1905
|
-
"locked": boolean;
|
|
1906
1786
|
"auto_unlock": boolean;
|
|
1907
|
-
"
|
|
1908
|
-
"
|
|
1909
|
-
"
|
|
1910
|
-
"
|
|
1911
|
-
"session_access_mode": string;
|
|
1912
|
-
"session_archive_ready": boolean;
|
|
1913
|
-
"starts_at"?: string | null;
|
|
1914
|
-
"ends_at"?: string | null;
|
|
1787
|
+
"info"?: string | null;
|
|
1788
|
+
"video_type"?: string | null;
|
|
1789
|
+
"external_url"?: string | null;
|
|
1790
|
+
"drm_mixed_media_id"?: string | null;
|
|
1915
1791
|
"status": string;
|
|
1916
1792
|
"created_at": string;
|
|
1917
1793
|
"updated_at": string;
|
|
@@ -2155,6 +2031,7 @@ export interface EvaluationGetContextGetResponseDataTeacherRatingsTargetsProfile
|
|
|
2155
2031
|
"email"?: string | null;
|
|
2156
2032
|
"national_code"?: string | null;
|
|
2157
2033
|
"phone"?: string | null;
|
|
2034
|
+
"gender"?: string | null;
|
|
2158
2035
|
}
|
|
2159
2036
|
export interface EvaluationGetContextGetResponseDataTeacherRatingsTargetsQuestions extends JsonObject {
|
|
2160
2037
|
"stable_id": string;
|
|
@@ -2316,6 +2193,10 @@ export interface ExamIndexExamGetQuery extends QueryParams {
|
|
|
2316
2193
|
"course_id"?: string | null;
|
|
2317
2194
|
"grade_id"?: string | null;
|
|
2318
2195
|
"user_id"?: string | null;
|
|
2196
|
+
/** Definitions delivered by this explicitly assigned teacher. */
|
|
2197
|
+
"teacher_user_id"?: string | null;
|
|
2198
|
+
/** Definitions delivered by this explicitly assigned support user. */
|
|
2199
|
+
"support_user_id"?: string | null;
|
|
2319
2200
|
"from"?: string | null;
|
|
2320
2201
|
"to"?: string | null;
|
|
2321
2202
|
}
|
|
@@ -2472,6 +2353,7 @@ export interface ExamIndexAttemptGetResponseItemProfile extends JsonObject {
|
|
|
2472
2353
|
"email"?: string | null;
|
|
2473
2354
|
"national_code"?: string | null;
|
|
2474
2355
|
"phone"?: string | null;
|
|
2356
|
+
"gender"?: string | null;
|
|
2475
2357
|
}
|
|
2476
2358
|
export interface ExamIndexAttemptGetResponseItem extends JsonObject {
|
|
2477
2359
|
"id": string;
|
|
@@ -2515,6 +2397,7 @@ export interface ExamShowAttemptGetResponseDataProfile extends JsonObject {
|
|
|
2515
2397
|
"email"?: string | null;
|
|
2516
2398
|
"national_code"?: string | null;
|
|
2517
2399
|
"phone"?: string | null;
|
|
2400
|
+
"gender"?: string | null;
|
|
2518
2401
|
}
|
|
2519
2402
|
export interface ExamShowAttemptGetResponseData extends JsonObject {
|
|
2520
2403
|
"id": string;
|
|
@@ -2557,6 +2440,7 @@ export interface ExamUpdateAttemptPatchResponseDataProfile extends JsonObject {
|
|
|
2557
2440
|
"email"?: string | null;
|
|
2558
2441
|
"national_code"?: string | null;
|
|
2559
2442
|
"phone"?: string | null;
|
|
2443
|
+
"gender"?: string | null;
|
|
2560
2444
|
}
|
|
2561
2445
|
export interface ExamUpdateAttemptPatchResponseData extends JsonObject {
|
|
2562
2446
|
"id": string;
|
|
@@ -2602,6 +2486,7 @@ export interface ExamShowAttemptDeliveryGetResponseDataProfile extends JsonObjec
|
|
|
2602
2486
|
"email"?: string | null;
|
|
2603
2487
|
"national_code"?: string | null;
|
|
2604
2488
|
"phone"?: string | null;
|
|
2489
|
+
"gender"?: string | null;
|
|
2605
2490
|
}
|
|
2606
2491
|
export interface ExamShowAttemptDeliveryGetResponseDataQuestions extends JsonObject {
|
|
2607
2492
|
"position": number;
|
|
@@ -2661,6 +2546,7 @@ export interface ExamStartAttemptPostResponseDataProfile extends JsonObject {
|
|
|
2661
2546
|
"email"?: string | null;
|
|
2662
2547
|
"national_code"?: string | null;
|
|
2663
2548
|
"phone"?: string | null;
|
|
2549
|
+
"gender"?: string | null;
|
|
2664
2550
|
}
|
|
2665
2551
|
export interface ExamStartAttemptPostResponseDataQuestions extends JsonObject {
|
|
2666
2552
|
"position": number;
|
|
@@ -2720,6 +2606,7 @@ export interface ExamSubmitAttemptPostResponseDataProfile extends JsonObject {
|
|
|
2720
2606
|
"email"?: string | null;
|
|
2721
2607
|
"national_code"?: string | null;
|
|
2722
2608
|
"phone"?: string | null;
|
|
2609
|
+
"gender"?: string | null;
|
|
2723
2610
|
}
|
|
2724
2611
|
export interface ExamSubmitAttemptPostResponseDataQuestions extends JsonObject {
|
|
2725
2612
|
"position": number;
|
|
@@ -2905,61 +2792,62 @@ export interface ExamIndexSessionGetQuery extends QueryParams {
|
|
|
2905
2792
|
"to"?: string | null;
|
|
2906
2793
|
}
|
|
2907
2794
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
2908
|
-
export interface
|
|
2909
|
-
"
|
|
2910
|
-
"
|
|
2911
|
-
"
|
|
2912
|
-
"
|
|
2913
|
-
"
|
|
2914
|
-
"
|
|
2915
|
-
"
|
|
2916
|
-
"duration_minutes"?: number | null;
|
|
2917
|
-
"status": string;
|
|
2795
|
+
export interface ExamIndexSessionGetResponseItemTeacherProfile extends JsonObject {
|
|
2796
|
+
"user_id": string;
|
|
2797
|
+
"first_name"?: JsonValue | null;
|
|
2798
|
+
"last_name"?: JsonValue | null;
|
|
2799
|
+
"email"?: string | null;
|
|
2800
|
+
"national_code"?: string | null;
|
|
2801
|
+
"phone"?: string | null;
|
|
2802
|
+
"gender"?: string | null;
|
|
2918
2803
|
}
|
|
2919
|
-
export interface
|
|
2920
|
-
"
|
|
2921
|
-
"
|
|
2922
|
-
"
|
|
2923
|
-
"
|
|
2924
|
-
"
|
|
2925
|
-
"
|
|
2926
|
-
"
|
|
2927
|
-
"created_at": string;
|
|
2928
|
-
"updated_at": string;
|
|
2804
|
+
export interface ExamIndexSessionGetResponseItemConsultantProfile extends JsonObject {
|
|
2805
|
+
"user_id": string;
|
|
2806
|
+
"first_name"?: JsonValue | null;
|
|
2807
|
+
"last_name"?: JsonValue | null;
|
|
2808
|
+
"email"?: string | null;
|
|
2809
|
+
"national_code"?: string | null;
|
|
2810
|
+
"phone"?: string | null;
|
|
2811
|
+
"gender"?: string | null;
|
|
2929
2812
|
}
|
|
2930
|
-
export interface
|
|
2813
|
+
export interface ExamIndexSessionGetResponseItemSupportProfile extends JsonObject {
|
|
2931
2814
|
"user_id": string;
|
|
2932
2815
|
"first_name"?: JsonValue | null;
|
|
2933
2816
|
"last_name"?: JsonValue | null;
|
|
2934
2817
|
"email"?: string | null;
|
|
2935
2818
|
"national_code"?: string | null;
|
|
2936
2819
|
"phone"?: string | null;
|
|
2820
|
+
"gender"?: string | null;
|
|
2937
2821
|
}
|
|
2938
2822
|
export interface ExamIndexSessionGetResponseItem extends JsonObject {
|
|
2939
2823
|
"id": string;
|
|
2940
|
-
"
|
|
2824
|
+
"exam_id": string;
|
|
2825
|
+
"exam_name"?: string | null;
|
|
2826
|
+
"classroom_id"?: string | null;
|
|
2941
2827
|
"classroom_name"?: string | null;
|
|
2942
|
-
"
|
|
2943
|
-
"course_session"?: ExamIndexSessionGetResponseItemCourseSession | null;
|
|
2944
|
-
"course_session_type_id"?: string | null;
|
|
2945
|
-
"session_type"?: ExamIndexSessionGetResponseItemSessionType | null;
|
|
2828
|
+
"classroom_session_id"?: string | null;
|
|
2946
2829
|
"name"?: string | null;
|
|
2947
|
-
"session_number"?: number | null;
|
|
2948
|
-
"duration_minutes"?: number | null;
|
|
2949
2830
|
"description"?: string | null;
|
|
2831
|
+
"info"?: string | null;
|
|
2832
|
+
"duration_minutes"?: number | null;
|
|
2833
|
+
"questions_count"?: number | null;
|
|
2834
|
+
"easy_count"?: number | null;
|
|
2835
|
+
"medium_count"?: number | null;
|
|
2836
|
+
"hard_count"?: number | null;
|
|
2837
|
+
"selection_mode": string;
|
|
2950
2838
|
"teacher_user_id"?: string | null;
|
|
2951
2839
|
"teacher_profile"?: ExamIndexSessionGetResponseItemTeacherProfile | null;
|
|
2952
|
-
"
|
|
2953
|
-
"
|
|
2954
|
-
"
|
|
2955
|
-
"
|
|
2956
|
-
"session_room_id"?: string | null;
|
|
2957
|
-
"session_lifecycle_status"?: string | null;
|
|
2958
|
-
"session_access_mode": string;
|
|
2959
|
-
"session_archive_ready": boolean;
|
|
2840
|
+
"consultant_user_id"?: string | null;
|
|
2841
|
+
"consultant_profile"?: ExamIndexSessionGetResponseItemConsultantProfile | null;
|
|
2842
|
+
"support_user_id"?: string | null;
|
|
2843
|
+
"support_profile"?: ExamIndexSessionGetResponseItemSupportProfile | null;
|
|
2960
2844
|
"starts_at"?: string | null;
|
|
2961
2845
|
"ends_at"?: string | null;
|
|
2962
2846
|
"status": string;
|
|
2847
|
+
"attempts_total": number;
|
|
2848
|
+
"attempts_active": number;
|
|
2849
|
+
"attempts_completed": number;
|
|
2850
|
+
"average_score"?: number | null;
|
|
2963
2851
|
"created_at": string;
|
|
2964
2852
|
"updated_at": string;
|
|
2965
2853
|
}
|
|
@@ -2977,77 +2865,82 @@ export interface ExamIndexSessionGetResponse extends ApiEnvelope<ExamIndexSessio
|
|
|
2977
2865
|
}
|
|
2978
2866
|
/** Backend request type: models::CreateSessionRequest. */
|
|
2979
2867
|
export interface ExamStoreSessionPostInput extends JsonObject {
|
|
2980
|
-
"
|
|
2981
|
-
"
|
|
2982
|
-
"
|
|
2868
|
+
"exam_id": string;
|
|
2869
|
+
"classroom_id"?: string | null;
|
|
2870
|
+
"classroom_session_id"?: string | null;
|
|
2983
2871
|
"name"?: string | null;
|
|
2984
|
-
"session_number"?: number | null;
|
|
2985
|
-
"duration_minutes"?: number | null;
|
|
2986
2872
|
"description"?: string | null;
|
|
2873
|
+
"info"?: string | null;
|
|
2874
|
+
"duration_minutes"?: number | null;
|
|
2875
|
+
"questions_count"?: number | null;
|
|
2876
|
+
"easy_count"?: number | null;
|
|
2877
|
+
"medium_count"?: number | null;
|
|
2878
|
+
"hard_count"?: number | null;
|
|
2879
|
+
"selection_mode"?: string | null;
|
|
2987
2880
|
"teacher_user_id"?: string | null;
|
|
2988
|
-
"
|
|
2989
|
-
"
|
|
2990
|
-
"auto_present"?: boolean | null;
|
|
2991
|
-
"invited"?: boolean | null;
|
|
2881
|
+
"consultant_user_id"?: string | null;
|
|
2882
|
+
"support_user_id"?: string | null;
|
|
2992
2883
|
"starts_at"?: string | null;
|
|
2884
|
+
"ends_at"?: string | null;
|
|
2993
2885
|
"status": string;
|
|
2994
2886
|
}
|
|
2995
2887
|
/** Backend response type: models::SessionResponse. */
|
|
2996
|
-
export interface
|
|
2997
|
-
"
|
|
2998
|
-
"
|
|
2999
|
-
"
|
|
3000
|
-
"
|
|
3001
|
-
"
|
|
3002
|
-
"
|
|
3003
|
-
"
|
|
3004
|
-
"duration_minutes"?: number | null;
|
|
3005
|
-
"status": string;
|
|
2888
|
+
export interface ExamStoreSessionPostResponseDataTeacherProfile extends JsonObject {
|
|
2889
|
+
"user_id": string;
|
|
2890
|
+
"first_name"?: JsonValue | null;
|
|
2891
|
+
"last_name"?: JsonValue | null;
|
|
2892
|
+
"email"?: string | null;
|
|
2893
|
+
"national_code"?: string | null;
|
|
2894
|
+
"phone"?: string | null;
|
|
2895
|
+
"gender"?: string | null;
|
|
3006
2896
|
}
|
|
3007
|
-
export interface
|
|
3008
|
-
"
|
|
3009
|
-
"
|
|
3010
|
-
"
|
|
3011
|
-
"
|
|
3012
|
-
"
|
|
3013
|
-
"
|
|
3014
|
-
"
|
|
3015
|
-
"created_at": string;
|
|
3016
|
-
"updated_at": string;
|
|
2897
|
+
export interface ExamStoreSessionPostResponseDataConsultantProfile extends JsonObject {
|
|
2898
|
+
"user_id": string;
|
|
2899
|
+
"first_name"?: JsonValue | null;
|
|
2900
|
+
"last_name"?: JsonValue | null;
|
|
2901
|
+
"email"?: string | null;
|
|
2902
|
+
"national_code"?: string | null;
|
|
2903
|
+
"phone"?: string | null;
|
|
2904
|
+
"gender"?: string | null;
|
|
3017
2905
|
}
|
|
3018
|
-
export interface
|
|
2906
|
+
export interface ExamStoreSessionPostResponseDataSupportProfile extends JsonObject {
|
|
3019
2907
|
"user_id": string;
|
|
3020
2908
|
"first_name"?: JsonValue | null;
|
|
3021
2909
|
"last_name"?: JsonValue | null;
|
|
3022
2910
|
"email"?: string | null;
|
|
3023
2911
|
"national_code"?: string | null;
|
|
3024
2912
|
"phone"?: string | null;
|
|
2913
|
+
"gender"?: string | null;
|
|
3025
2914
|
}
|
|
3026
2915
|
export interface ExamStoreSessionPostResponseData extends JsonObject {
|
|
3027
2916
|
"id": string;
|
|
3028
|
-
"
|
|
2917
|
+
"exam_id": string;
|
|
2918
|
+
"exam_name"?: string | null;
|
|
2919
|
+
"classroom_id"?: string | null;
|
|
3029
2920
|
"classroom_name"?: string | null;
|
|
3030
|
-
"
|
|
3031
|
-
"course_session"?: ExamStoreSessionPostResponseDataCourseSession | null;
|
|
3032
|
-
"course_session_type_id"?: string | null;
|
|
3033
|
-
"session_type"?: ExamStoreSessionPostResponseDataSessionType | null;
|
|
2921
|
+
"classroom_session_id"?: string | null;
|
|
3034
2922
|
"name"?: string | null;
|
|
3035
|
-
"session_number"?: number | null;
|
|
3036
|
-
"duration_minutes"?: number | null;
|
|
3037
2923
|
"description"?: string | null;
|
|
2924
|
+
"info"?: string | null;
|
|
2925
|
+
"duration_minutes"?: number | null;
|
|
2926
|
+
"questions_count"?: number | null;
|
|
2927
|
+
"easy_count"?: number | null;
|
|
2928
|
+
"medium_count"?: number | null;
|
|
2929
|
+
"hard_count"?: number | null;
|
|
2930
|
+
"selection_mode": string;
|
|
3038
2931
|
"teacher_user_id"?: string | null;
|
|
3039
2932
|
"teacher_profile"?: ExamStoreSessionPostResponseDataTeacherProfile | null;
|
|
3040
|
-
"
|
|
3041
|
-
"
|
|
3042
|
-
"
|
|
3043
|
-
"
|
|
3044
|
-
"session_room_id"?: string | null;
|
|
3045
|
-
"session_lifecycle_status"?: string | null;
|
|
3046
|
-
"session_access_mode": string;
|
|
3047
|
-
"session_archive_ready": boolean;
|
|
2933
|
+
"consultant_user_id"?: string | null;
|
|
2934
|
+
"consultant_profile"?: ExamStoreSessionPostResponseDataConsultantProfile | null;
|
|
2935
|
+
"support_user_id"?: string | null;
|
|
2936
|
+
"support_profile"?: ExamStoreSessionPostResponseDataSupportProfile | null;
|
|
3048
2937
|
"starts_at"?: string | null;
|
|
3049
2938
|
"ends_at"?: string | null;
|
|
3050
2939
|
"status": string;
|
|
2940
|
+
"attempts_total": number;
|
|
2941
|
+
"attempts_active": number;
|
|
2942
|
+
"attempts_completed": number;
|
|
2943
|
+
"average_score"?: number | null;
|
|
3051
2944
|
"created_at": string;
|
|
3052
2945
|
"updated_at": string;
|
|
3053
2946
|
}
|
|
@@ -3057,61 +2950,62 @@ export interface ExamStoreSessionPostResponse extends ApiEnvelope<ExamStoreSessi
|
|
|
3057
2950
|
export interface ExamDestroySessionDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
3058
2951
|
}
|
|
3059
2952
|
/** Backend response type: models::SessionResponse. */
|
|
3060
|
-
export interface
|
|
3061
|
-
"
|
|
3062
|
-
"
|
|
3063
|
-
"
|
|
3064
|
-
"
|
|
3065
|
-
"
|
|
3066
|
-
"
|
|
3067
|
-
"
|
|
3068
|
-
"duration_minutes"?: number | null;
|
|
3069
|
-
"status": string;
|
|
2953
|
+
export interface ExamShowSessionGetResponseDataTeacherProfile extends JsonObject {
|
|
2954
|
+
"user_id": string;
|
|
2955
|
+
"first_name"?: JsonValue | null;
|
|
2956
|
+
"last_name"?: JsonValue | null;
|
|
2957
|
+
"email"?: string | null;
|
|
2958
|
+
"national_code"?: string | null;
|
|
2959
|
+
"phone"?: string | null;
|
|
2960
|
+
"gender"?: string | null;
|
|
3070
2961
|
}
|
|
3071
|
-
export interface
|
|
3072
|
-
"
|
|
3073
|
-
"
|
|
3074
|
-
"
|
|
3075
|
-
"
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
3078
|
-
"
|
|
3079
|
-
"created_at": string;
|
|
3080
|
-
"updated_at": string;
|
|
2962
|
+
export interface ExamShowSessionGetResponseDataConsultantProfile extends JsonObject {
|
|
2963
|
+
"user_id": string;
|
|
2964
|
+
"first_name"?: JsonValue | null;
|
|
2965
|
+
"last_name"?: JsonValue | null;
|
|
2966
|
+
"email"?: string | null;
|
|
2967
|
+
"national_code"?: string | null;
|
|
2968
|
+
"phone"?: string | null;
|
|
2969
|
+
"gender"?: string | null;
|
|
3081
2970
|
}
|
|
3082
|
-
export interface
|
|
2971
|
+
export interface ExamShowSessionGetResponseDataSupportProfile extends JsonObject {
|
|
3083
2972
|
"user_id": string;
|
|
3084
2973
|
"first_name"?: JsonValue | null;
|
|
3085
2974
|
"last_name"?: JsonValue | null;
|
|
3086
2975
|
"email"?: string | null;
|
|
3087
2976
|
"national_code"?: string | null;
|
|
3088
2977
|
"phone"?: string | null;
|
|
2978
|
+
"gender"?: string | null;
|
|
3089
2979
|
}
|
|
3090
2980
|
export interface ExamShowSessionGetResponseData extends JsonObject {
|
|
3091
2981
|
"id": string;
|
|
3092
|
-
"
|
|
2982
|
+
"exam_id": string;
|
|
2983
|
+
"exam_name"?: string | null;
|
|
2984
|
+
"classroom_id"?: string | null;
|
|
3093
2985
|
"classroom_name"?: string | null;
|
|
3094
|
-
"
|
|
3095
|
-
"course_session"?: ExamShowSessionGetResponseDataCourseSession | null;
|
|
3096
|
-
"course_session_type_id"?: string | null;
|
|
3097
|
-
"session_type"?: ExamShowSessionGetResponseDataSessionType | null;
|
|
2986
|
+
"classroom_session_id"?: string | null;
|
|
3098
2987
|
"name"?: string | null;
|
|
3099
|
-
"session_number"?: number | null;
|
|
3100
|
-
"duration_minutes"?: number | null;
|
|
3101
2988
|
"description"?: string | null;
|
|
2989
|
+
"info"?: string | null;
|
|
2990
|
+
"duration_minutes"?: number | null;
|
|
2991
|
+
"questions_count"?: number | null;
|
|
2992
|
+
"easy_count"?: number | null;
|
|
2993
|
+
"medium_count"?: number | null;
|
|
2994
|
+
"hard_count"?: number | null;
|
|
2995
|
+
"selection_mode": string;
|
|
3102
2996
|
"teacher_user_id"?: string | null;
|
|
3103
2997
|
"teacher_profile"?: ExamShowSessionGetResponseDataTeacherProfile | null;
|
|
3104
|
-
"
|
|
3105
|
-
"
|
|
3106
|
-
"
|
|
3107
|
-
"
|
|
3108
|
-
"session_room_id"?: string | null;
|
|
3109
|
-
"session_lifecycle_status"?: string | null;
|
|
3110
|
-
"session_access_mode": string;
|
|
3111
|
-
"session_archive_ready": boolean;
|
|
2998
|
+
"consultant_user_id"?: string | null;
|
|
2999
|
+
"consultant_profile"?: ExamShowSessionGetResponseDataConsultantProfile | null;
|
|
3000
|
+
"support_user_id"?: string | null;
|
|
3001
|
+
"support_profile"?: ExamShowSessionGetResponseDataSupportProfile | null;
|
|
3112
3002
|
"starts_at"?: string | null;
|
|
3113
3003
|
"ends_at"?: string | null;
|
|
3114
3004
|
"status": string;
|
|
3005
|
+
"attempts_total": number;
|
|
3006
|
+
"attempts_active": number;
|
|
3007
|
+
"attempts_completed": number;
|
|
3008
|
+
"average_score"?: number | null;
|
|
3115
3009
|
"created_at": string;
|
|
3116
3010
|
"updated_at": string;
|
|
3117
3011
|
}
|
|
@@ -3119,79 +3013,82 @@ export interface ExamShowSessionGetResponse extends ApiEnvelope<ExamShowSessionG
|
|
|
3119
3013
|
}
|
|
3120
3014
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
3121
3015
|
export interface ExamUpdateSessionPatchInput extends JsonObject {
|
|
3122
|
-
"
|
|
3123
|
-
"
|
|
3124
|
-
"
|
|
3125
|
-
"
|
|
3126
|
-
"
|
|
3127
|
-
"
|
|
3128
|
-
"
|
|
3129
|
-
"
|
|
3130
|
-
"
|
|
3131
|
-
"
|
|
3132
|
-
"
|
|
3133
|
-
"
|
|
3134
|
-
"
|
|
3135
|
-
"
|
|
3136
|
-
"
|
|
3016
|
+
"exam_id"?: string | null;
|
|
3017
|
+
"classroom_id"?: BackendJson<"PatchField<Uuid>">;
|
|
3018
|
+
"classroom_session_id"?: BackendJson<"PatchField<Uuid>">;
|
|
3019
|
+
"name"?: BackendJson<"PatchField<String>">;
|
|
3020
|
+
"description"?: BackendJson<"PatchField<String>">;
|
|
3021
|
+
"info"?: BackendJson<"PatchField<String>">;
|
|
3022
|
+
"duration_minutes"?: BackendJson<"PatchField<i32>">;
|
|
3023
|
+
"questions_count"?: BackendJson<"PatchField<i32>">;
|
|
3024
|
+
"easy_count"?: BackendJson<"PatchField<i32>">;
|
|
3025
|
+
"medium_count"?: BackendJson<"PatchField<i32>">;
|
|
3026
|
+
"hard_count"?: BackendJson<"PatchField<i32>">;
|
|
3027
|
+
"selection_mode"?: string | null;
|
|
3028
|
+
"teacher_user_id"?: BackendJson<"PatchField<String>">;
|
|
3029
|
+
"consultant_user_id"?: BackendJson<"PatchField<String>">;
|
|
3030
|
+
"support_user_id"?: BackendJson<"PatchField<String>">;
|
|
3031
|
+
"starts_at"?: BackendJson<"PatchField<String>">;
|
|
3032
|
+
"ends_at"?: BackendJson<"PatchField<String>">;
|
|
3137
3033
|
"status"?: string | null;
|
|
3138
3034
|
}
|
|
3139
3035
|
/** Backend response type: models::SessionResponse. */
|
|
3140
|
-
export interface
|
|
3141
|
-
"
|
|
3142
|
-
"
|
|
3143
|
-
"
|
|
3144
|
-
"
|
|
3145
|
-
"
|
|
3146
|
-
"
|
|
3147
|
-
"
|
|
3148
|
-
"duration_minutes"?: number | null;
|
|
3149
|
-
"status": string;
|
|
3036
|
+
export interface ExamUpdateSessionPatchResponseDataTeacherProfile extends JsonObject {
|
|
3037
|
+
"user_id": string;
|
|
3038
|
+
"first_name"?: JsonValue | null;
|
|
3039
|
+
"last_name"?: JsonValue | null;
|
|
3040
|
+
"email"?: string | null;
|
|
3041
|
+
"national_code"?: string | null;
|
|
3042
|
+
"phone"?: string | null;
|
|
3043
|
+
"gender"?: string | null;
|
|
3150
3044
|
}
|
|
3151
|
-
export interface
|
|
3152
|
-
"
|
|
3153
|
-
"
|
|
3154
|
-
"
|
|
3155
|
-
"
|
|
3156
|
-
"
|
|
3157
|
-
"
|
|
3158
|
-
"
|
|
3159
|
-
"created_at": string;
|
|
3160
|
-
"updated_at": string;
|
|
3045
|
+
export interface ExamUpdateSessionPatchResponseDataConsultantProfile extends JsonObject {
|
|
3046
|
+
"user_id": string;
|
|
3047
|
+
"first_name"?: JsonValue | null;
|
|
3048
|
+
"last_name"?: JsonValue | null;
|
|
3049
|
+
"email"?: string | null;
|
|
3050
|
+
"national_code"?: string | null;
|
|
3051
|
+
"phone"?: string | null;
|
|
3052
|
+
"gender"?: string | null;
|
|
3161
3053
|
}
|
|
3162
|
-
export interface
|
|
3054
|
+
export interface ExamUpdateSessionPatchResponseDataSupportProfile extends JsonObject {
|
|
3163
3055
|
"user_id": string;
|
|
3164
3056
|
"first_name"?: JsonValue | null;
|
|
3165
3057
|
"last_name"?: JsonValue | null;
|
|
3166
3058
|
"email"?: string | null;
|
|
3167
3059
|
"national_code"?: string | null;
|
|
3168
3060
|
"phone"?: string | null;
|
|
3061
|
+
"gender"?: string | null;
|
|
3169
3062
|
}
|
|
3170
3063
|
export interface ExamUpdateSessionPatchResponseData extends JsonObject {
|
|
3171
3064
|
"id": string;
|
|
3172
|
-
"
|
|
3065
|
+
"exam_id": string;
|
|
3066
|
+
"exam_name"?: string | null;
|
|
3067
|
+
"classroom_id"?: string | null;
|
|
3173
3068
|
"classroom_name"?: string | null;
|
|
3174
|
-
"
|
|
3175
|
-
"course_session"?: ExamUpdateSessionPatchResponseDataCourseSession | null;
|
|
3176
|
-
"course_session_type_id"?: string | null;
|
|
3177
|
-
"session_type"?: ExamUpdateSessionPatchResponseDataSessionType | null;
|
|
3069
|
+
"classroom_session_id"?: string | null;
|
|
3178
3070
|
"name"?: string | null;
|
|
3179
|
-
"session_number"?: number | null;
|
|
3180
|
-
"duration_minutes"?: number | null;
|
|
3181
3071
|
"description"?: string | null;
|
|
3072
|
+
"info"?: string | null;
|
|
3073
|
+
"duration_minutes"?: number | null;
|
|
3074
|
+
"questions_count"?: number | null;
|
|
3075
|
+
"easy_count"?: number | null;
|
|
3076
|
+
"medium_count"?: number | null;
|
|
3077
|
+
"hard_count"?: number | null;
|
|
3078
|
+
"selection_mode": string;
|
|
3182
3079
|
"teacher_user_id"?: string | null;
|
|
3183
3080
|
"teacher_profile"?: ExamUpdateSessionPatchResponseDataTeacherProfile | null;
|
|
3184
|
-
"
|
|
3185
|
-
"
|
|
3186
|
-
"
|
|
3187
|
-
"
|
|
3188
|
-
"session_room_id"?: string | null;
|
|
3189
|
-
"session_lifecycle_status"?: string | null;
|
|
3190
|
-
"session_access_mode": string;
|
|
3191
|
-
"session_archive_ready": boolean;
|
|
3081
|
+
"consultant_user_id"?: string | null;
|
|
3082
|
+
"consultant_profile"?: ExamUpdateSessionPatchResponseDataConsultantProfile | null;
|
|
3083
|
+
"support_user_id"?: string | null;
|
|
3084
|
+
"support_profile"?: ExamUpdateSessionPatchResponseDataSupportProfile | null;
|
|
3192
3085
|
"starts_at"?: string | null;
|
|
3193
3086
|
"ends_at"?: string | null;
|
|
3194
3087
|
"status": string;
|
|
3088
|
+
"attempts_total": number;
|
|
3089
|
+
"attempts_active": number;
|
|
3090
|
+
"attempts_completed": number;
|
|
3091
|
+
"average_score"?: number | null;
|
|
3195
3092
|
"created_at": string;
|
|
3196
3093
|
"updated_at": string;
|
|
3197
3094
|
}
|
|
@@ -3203,6 +3100,8 @@ export interface HomeworkIndexBankGetQuery extends QueryParams {
|
|
|
3203
3100
|
"page_size"?: number | null;
|
|
3204
3101
|
"search"?: string | null;
|
|
3205
3102
|
"status"?: string | null;
|
|
3103
|
+
"teacher_user_id"?: string | null;
|
|
3104
|
+
"support_user_id"?: string | null;
|
|
3206
3105
|
}
|
|
3207
3106
|
/** Backend response type: crate::models::PagedResult<models::HomeworkBankResponse>. */
|
|
3208
3107
|
export interface HomeworkIndexBankGetResponseItem extends JsonObject {
|
|
@@ -3272,18 +3171,21 @@ export interface HomeworkIndexBankHomeworkGetQuery extends QueryParams {
|
|
|
3272
3171
|
"search"?: string | null;
|
|
3273
3172
|
"status"?: string | null;
|
|
3274
3173
|
"question_type"?: string | null;
|
|
3275
|
-
"kind"?:
|
|
3174
|
+
"kind"?: string | null;
|
|
3276
3175
|
}
|
|
3277
3176
|
/** Backend response type: crate::models::PagedResult<models::QuestionResponse>. */
|
|
3278
3177
|
export interface HomeworkIndexBankHomeworkGetResponseItem extends JsonObject {
|
|
3279
3178
|
"id": string;
|
|
3280
3179
|
"homework_id": string;
|
|
3281
3180
|
"name": string;
|
|
3181
|
+
"bank_name"?: string | null;
|
|
3182
|
+
"assignable": boolean;
|
|
3183
|
+
"assignment_block_reason"?: string | null;
|
|
3282
3184
|
"question_text": string;
|
|
3283
3185
|
"description"?: string | null;
|
|
3284
3186
|
"answer"?: string | null;
|
|
3285
3187
|
"question_type": string;
|
|
3286
|
-
"kind":
|
|
3188
|
+
"kind": string;
|
|
3287
3189
|
"points": number;
|
|
3288
3190
|
"is_final": boolean;
|
|
3289
3191
|
"media": JsonValue;
|
|
@@ -3311,7 +3213,7 @@ export interface HomeworkStoreBankHomeworkPostInput extends JsonObject {
|
|
|
3311
3213
|
"description"?: string | null;
|
|
3312
3214
|
"answer"?: string | null;
|
|
3313
3215
|
"question_type"?: string;
|
|
3314
|
-
"kind"?:
|
|
3216
|
+
"kind"?: string;
|
|
3315
3217
|
"points"?: number;
|
|
3316
3218
|
"is_final"?: boolean;
|
|
3317
3219
|
"media"?: JsonValue | null;
|
|
@@ -3323,11 +3225,14 @@ export interface HomeworkStoreBankHomeworkPostResponseData extends JsonObject {
|
|
|
3323
3225
|
"id": string;
|
|
3324
3226
|
"homework_id": string;
|
|
3325
3227
|
"name": string;
|
|
3228
|
+
"bank_name"?: string | null;
|
|
3229
|
+
"assignable": boolean;
|
|
3230
|
+
"assignment_block_reason"?: string | null;
|
|
3326
3231
|
"question_text": string;
|
|
3327
3232
|
"description"?: string | null;
|
|
3328
3233
|
"answer"?: string | null;
|
|
3329
3234
|
"question_type": string;
|
|
3330
|
-
"kind":
|
|
3235
|
+
"kind": string;
|
|
3331
3236
|
"points": number;
|
|
3332
3237
|
"is_final": boolean;
|
|
3333
3238
|
"media": JsonValue;
|
|
@@ -3346,11 +3251,14 @@ export interface HomeworkShowBankHomeworkGetResponseData extends JsonObject {
|
|
|
3346
3251
|
"id": string;
|
|
3347
3252
|
"homework_id": string;
|
|
3348
3253
|
"name": string;
|
|
3254
|
+
"bank_name"?: string | null;
|
|
3255
|
+
"assignable": boolean;
|
|
3256
|
+
"assignment_block_reason"?: string | null;
|
|
3349
3257
|
"question_text": string;
|
|
3350
3258
|
"description"?: string | null;
|
|
3351
3259
|
"answer"?: string | null;
|
|
3352
3260
|
"question_type": string;
|
|
3353
|
-
"kind":
|
|
3261
|
+
"kind": string;
|
|
3354
3262
|
"points": number;
|
|
3355
3263
|
"is_final": boolean;
|
|
3356
3264
|
"media": JsonValue;
|
|
@@ -3368,7 +3276,7 @@ export interface HomeworkUpdateBankHomeworkPatchInput extends JsonObject {
|
|
|
3368
3276
|
"description"?: string | null;
|
|
3369
3277
|
"answer"?: string | null;
|
|
3370
3278
|
"question_type"?: string | null;
|
|
3371
|
-
"kind"?:
|
|
3279
|
+
"kind"?: string | null;
|
|
3372
3280
|
"points"?: number | null;
|
|
3373
3281
|
"is_final"?: boolean | null;
|
|
3374
3282
|
"media"?: JsonValue | null;
|
|
@@ -3380,11 +3288,14 @@ export interface HomeworkUpdateBankHomeworkPatchResponseData extends JsonObject
|
|
|
3380
3288
|
"id": string;
|
|
3381
3289
|
"homework_id": string;
|
|
3382
3290
|
"name": string;
|
|
3291
|
+
"bank_name"?: string | null;
|
|
3292
|
+
"assignable": boolean;
|
|
3293
|
+
"assignment_block_reason"?: string | null;
|
|
3383
3294
|
"question_text": string;
|
|
3384
3295
|
"description"?: string | null;
|
|
3385
3296
|
"answer"?: string | null;
|
|
3386
3297
|
"question_type": string;
|
|
3387
|
-
"kind":
|
|
3298
|
+
"kind": string;
|
|
3388
3299
|
"points": number;
|
|
3389
3300
|
"is_final": boolean;
|
|
3390
3301
|
"media": JsonValue;
|
|
@@ -3459,13 +3370,17 @@ export interface HomeworkIndexHomeworkGetQuery extends QueryParams {
|
|
|
3459
3370
|
"difficulty"?: string | null;
|
|
3460
3371
|
"course_id"?: string | null;
|
|
3461
3372
|
"user_id"?: string | null;
|
|
3373
|
+
/** Definitions delivered by this explicitly assigned teacher. */
|
|
3374
|
+
"teacher_user_id"?: string | null;
|
|
3375
|
+
/** Definitions delivered by this explicitly assigned support user. */
|
|
3376
|
+
"support_user_id"?: string | null;
|
|
3462
3377
|
"from"?: string | null;
|
|
3463
3378
|
"to"?: string | null;
|
|
3464
3379
|
}
|
|
3465
3380
|
/** Backend response type: crate::models::PagedResult<models::HomeworkResponse>. */
|
|
3466
3381
|
export interface HomeworkIndexHomeworkGetResponseItem extends JsonObject {
|
|
3467
3382
|
"id": string;
|
|
3468
|
-
"homework_bank_id"
|
|
3383
|
+
"homework_bank_id"?: string | null;
|
|
3469
3384
|
"course_id"?: string | null;
|
|
3470
3385
|
"course_name"?: string | null;
|
|
3471
3386
|
"grade_id"?: string | null;
|
|
@@ -3509,7 +3424,7 @@ export interface HomeworkStoreHomeworkPostInput extends JsonObject {
|
|
|
3509
3424
|
/** Backend response type: models::HomeworkResponse. */
|
|
3510
3425
|
export interface HomeworkStoreHomeworkPostResponseData extends JsonObject {
|
|
3511
3426
|
"id": string;
|
|
3512
|
-
"homework_bank_id"
|
|
3427
|
+
"homework_bank_id"?: string | null;
|
|
3513
3428
|
"course_id"?: string | null;
|
|
3514
3429
|
"course_name"?: string | null;
|
|
3515
3430
|
"grade_id"?: string | null;
|
|
@@ -3532,7 +3447,7 @@ export interface HomeworkDestroyHomeworkDeleteResponse extends ApiEnvelope<JsonV
|
|
|
3532
3447
|
/** Backend response type: models::HomeworkResponse. */
|
|
3533
3448
|
export interface HomeworkShowHomeworkGetResponseData extends JsonObject {
|
|
3534
3449
|
"id": string;
|
|
3535
|
-
"homework_bank_id"
|
|
3450
|
+
"homework_bank_id"?: string | null;
|
|
3536
3451
|
"course_id"?: string | null;
|
|
3537
3452
|
"course_name"?: string | null;
|
|
3538
3453
|
"grade_id"?: string | null;
|
|
@@ -3566,7 +3481,7 @@ export interface HomeworkUpdateHomeworkPatchInput extends JsonObject {
|
|
|
3566
3481
|
/** Backend response type: models::HomeworkResponse. */
|
|
3567
3482
|
export interface HomeworkUpdateHomeworkPatchResponseData extends JsonObject {
|
|
3568
3483
|
"id": string;
|
|
3569
|
-
"homework_bank_id"
|
|
3484
|
+
"homework_bank_id"?: string | null;
|
|
3570
3485
|
"course_id"?: string | null;
|
|
3571
3486
|
"course_name"?: string | null;
|
|
3572
3487
|
"grade_id"?: string | null;
|
|
@@ -3589,6 +3504,7 @@ export interface HomeworkIndexAssignmentGetQuery extends QueryParams {
|
|
|
3589
3504
|
"page_size"?: number | null;
|
|
3590
3505
|
"status"?: string | null;
|
|
3591
3506
|
"homework_id"?: string | null;
|
|
3507
|
+
"course_id"?: string | null;
|
|
3592
3508
|
"classroom_id"?: string | null;
|
|
3593
3509
|
"user_id"?: string | null;
|
|
3594
3510
|
"student_user_id"?: string | null;
|
|
@@ -3606,6 +3522,7 @@ export interface HomeworkIndexAssignmentGetResponseItemProfile extends JsonObjec
|
|
|
3606
3522
|
"email"?: string | null;
|
|
3607
3523
|
"national_code"?: string | null;
|
|
3608
3524
|
"phone"?: string | null;
|
|
3525
|
+
"gender"?: string | null;
|
|
3609
3526
|
}
|
|
3610
3527
|
export interface HomeworkIndexAssignmentGetResponseItemTeacherProfile extends JsonObject {
|
|
3611
3528
|
"user_id": string;
|
|
@@ -3614,6 +3531,7 @@ export interface HomeworkIndexAssignmentGetResponseItemTeacherProfile extends Js
|
|
|
3614
3531
|
"email"?: string | null;
|
|
3615
3532
|
"national_code"?: string | null;
|
|
3616
3533
|
"phone"?: string | null;
|
|
3534
|
+
"gender"?: string | null;
|
|
3617
3535
|
}
|
|
3618
3536
|
export interface HomeworkIndexAssignmentGetResponseItemConsultantProfile extends JsonObject {
|
|
3619
3537
|
"user_id": string;
|
|
@@ -3622,6 +3540,7 @@ export interface HomeworkIndexAssignmentGetResponseItemConsultantProfile extends
|
|
|
3622
3540
|
"email"?: string | null;
|
|
3623
3541
|
"national_code"?: string | null;
|
|
3624
3542
|
"phone"?: string | null;
|
|
3543
|
+
"gender"?: string | null;
|
|
3625
3544
|
}
|
|
3626
3545
|
export interface HomeworkIndexAssignmentGetResponseItemSupportProfile extends JsonObject {
|
|
3627
3546
|
"user_id": string;
|
|
@@ -3630,6 +3549,7 @@ export interface HomeworkIndexAssignmentGetResponseItemSupportProfile extends Js
|
|
|
3630
3549
|
"email"?: string | null;
|
|
3631
3550
|
"national_code"?: string | null;
|
|
3632
3551
|
"phone"?: string | null;
|
|
3552
|
+
"gender"?: string | null;
|
|
3633
3553
|
}
|
|
3634
3554
|
export interface HomeworkIndexAssignmentGetResponseItem extends JsonObject {
|
|
3635
3555
|
"id": string;
|
|
@@ -3638,6 +3558,7 @@ export interface HomeworkIndexAssignmentGetResponseItem extends JsonObject {
|
|
|
3638
3558
|
"homework_name"?: string | null;
|
|
3639
3559
|
"homework"?: import("./types.js").Homework | null;
|
|
3640
3560
|
"homework_question"?: import("./types.js").HomeworkQuestion | null;
|
|
3561
|
+
"course_id"?: string | null;
|
|
3641
3562
|
"classroom_id"?: string | null;
|
|
3642
3563
|
"classroom_name"?: string | null;
|
|
3643
3564
|
"user_id"?: string | null;
|
|
@@ -3692,6 +3613,7 @@ export interface HomeworkStoreAssignmentPostResponseDataProfile extends JsonObje
|
|
|
3692
3613
|
"email"?: string | null;
|
|
3693
3614
|
"national_code"?: string | null;
|
|
3694
3615
|
"phone"?: string | null;
|
|
3616
|
+
"gender"?: string | null;
|
|
3695
3617
|
}
|
|
3696
3618
|
export interface HomeworkStoreAssignmentPostResponseDataTeacherProfile extends JsonObject {
|
|
3697
3619
|
"user_id": string;
|
|
@@ -3700,6 +3622,7 @@ export interface HomeworkStoreAssignmentPostResponseDataTeacherProfile extends J
|
|
|
3700
3622
|
"email"?: string | null;
|
|
3701
3623
|
"national_code"?: string | null;
|
|
3702
3624
|
"phone"?: string | null;
|
|
3625
|
+
"gender"?: string | null;
|
|
3703
3626
|
}
|
|
3704
3627
|
export interface HomeworkStoreAssignmentPostResponseDataConsultantProfile extends JsonObject {
|
|
3705
3628
|
"user_id": string;
|
|
@@ -3708,6 +3631,7 @@ export interface HomeworkStoreAssignmentPostResponseDataConsultantProfile extend
|
|
|
3708
3631
|
"email"?: string | null;
|
|
3709
3632
|
"national_code"?: string | null;
|
|
3710
3633
|
"phone"?: string | null;
|
|
3634
|
+
"gender"?: string | null;
|
|
3711
3635
|
}
|
|
3712
3636
|
export interface HomeworkStoreAssignmentPostResponseDataSupportProfile extends JsonObject {
|
|
3713
3637
|
"user_id": string;
|
|
@@ -3716,6 +3640,7 @@ export interface HomeworkStoreAssignmentPostResponseDataSupportProfile extends J
|
|
|
3716
3640
|
"email"?: string | null;
|
|
3717
3641
|
"national_code"?: string | null;
|
|
3718
3642
|
"phone"?: string | null;
|
|
3643
|
+
"gender"?: string | null;
|
|
3719
3644
|
}
|
|
3720
3645
|
export interface HomeworkStoreAssignmentPostResponseData extends JsonObject {
|
|
3721
3646
|
"id": string;
|
|
@@ -3724,6 +3649,7 @@ export interface HomeworkStoreAssignmentPostResponseData extends JsonObject {
|
|
|
3724
3649
|
"homework_name"?: string | null;
|
|
3725
3650
|
"homework"?: import("./types.js").Homework | null;
|
|
3726
3651
|
"homework_question"?: import("./types.js").HomeworkQuestion | null;
|
|
3652
|
+
"course_id"?: string | null;
|
|
3727
3653
|
"classroom_id"?: string | null;
|
|
3728
3654
|
"classroom_name"?: string | null;
|
|
3729
3655
|
"user_id"?: string | null;
|
|
@@ -3758,6 +3684,7 @@ export interface HomeworkShowAssignmentGetResponseDataProfile extends JsonObject
|
|
|
3758
3684
|
"email"?: string | null;
|
|
3759
3685
|
"national_code"?: string | null;
|
|
3760
3686
|
"phone"?: string | null;
|
|
3687
|
+
"gender"?: string | null;
|
|
3761
3688
|
}
|
|
3762
3689
|
export interface HomeworkShowAssignmentGetResponseDataTeacherProfile extends JsonObject {
|
|
3763
3690
|
"user_id": string;
|
|
@@ -3766,6 +3693,7 @@ export interface HomeworkShowAssignmentGetResponseDataTeacherProfile extends Jso
|
|
|
3766
3693
|
"email"?: string | null;
|
|
3767
3694
|
"national_code"?: string | null;
|
|
3768
3695
|
"phone"?: string | null;
|
|
3696
|
+
"gender"?: string | null;
|
|
3769
3697
|
}
|
|
3770
3698
|
export interface HomeworkShowAssignmentGetResponseDataConsultantProfile extends JsonObject {
|
|
3771
3699
|
"user_id": string;
|
|
@@ -3774,6 +3702,7 @@ export interface HomeworkShowAssignmentGetResponseDataConsultantProfile extends
|
|
|
3774
3702
|
"email"?: string | null;
|
|
3775
3703
|
"national_code"?: string | null;
|
|
3776
3704
|
"phone"?: string | null;
|
|
3705
|
+
"gender"?: string | null;
|
|
3777
3706
|
}
|
|
3778
3707
|
export interface HomeworkShowAssignmentGetResponseDataSupportProfile extends JsonObject {
|
|
3779
3708
|
"user_id": string;
|
|
@@ -3782,6 +3711,7 @@ export interface HomeworkShowAssignmentGetResponseDataSupportProfile extends Jso
|
|
|
3782
3711
|
"email"?: string | null;
|
|
3783
3712
|
"national_code"?: string | null;
|
|
3784
3713
|
"phone"?: string | null;
|
|
3714
|
+
"gender"?: string | null;
|
|
3785
3715
|
}
|
|
3786
3716
|
export interface HomeworkShowAssignmentGetResponseData extends JsonObject {
|
|
3787
3717
|
"id": string;
|
|
@@ -3790,6 +3720,7 @@ export interface HomeworkShowAssignmentGetResponseData extends JsonObject {
|
|
|
3790
3720
|
"homework_name"?: string | null;
|
|
3791
3721
|
"homework"?: import("./types.js").Homework | null;
|
|
3792
3722
|
"homework_question"?: import("./types.js").HomeworkQuestion | null;
|
|
3723
|
+
"course_id"?: string | null;
|
|
3793
3724
|
"classroom_id"?: string | null;
|
|
3794
3725
|
"classroom_name"?: string | null;
|
|
3795
3726
|
"user_id"?: string | null;
|
|
@@ -3826,6 +3757,8 @@ export interface HomeworkUpdateAssignmentPatchInput extends JsonObject {
|
|
|
3826
3757
|
"status"?: string | null;
|
|
3827
3758
|
"answer_text"?: string | null;
|
|
3828
3759
|
"score"?: number | null;
|
|
3760
|
+
"reward_tier"?: string | null;
|
|
3761
|
+
"verification_reason"?: string | null;
|
|
3829
3762
|
}
|
|
3830
3763
|
/** Backend response type: models::AssignmentResponse. */
|
|
3831
3764
|
export interface HomeworkUpdateAssignmentPatchResponseDataProfile extends JsonObject {
|
|
@@ -3835,6 +3768,7 @@ export interface HomeworkUpdateAssignmentPatchResponseDataProfile extends JsonOb
|
|
|
3835
3768
|
"email"?: string | null;
|
|
3836
3769
|
"national_code"?: string | null;
|
|
3837
3770
|
"phone"?: string | null;
|
|
3771
|
+
"gender"?: string | null;
|
|
3838
3772
|
}
|
|
3839
3773
|
export interface HomeworkUpdateAssignmentPatchResponseDataTeacherProfile extends JsonObject {
|
|
3840
3774
|
"user_id": string;
|
|
@@ -3843,6 +3777,7 @@ export interface HomeworkUpdateAssignmentPatchResponseDataTeacherProfile extends
|
|
|
3843
3777
|
"email"?: string | null;
|
|
3844
3778
|
"national_code"?: string | null;
|
|
3845
3779
|
"phone"?: string | null;
|
|
3780
|
+
"gender"?: string | null;
|
|
3846
3781
|
}
|
|
3847
3782
|
export interface HomeworkUpdateAssignmentPatchResponseDataConsultantProfile extends JsonObject {
|
|
3848
3783
|
"user_id": string;
|
|
@@ -3851,6 +3786,7 @@ export interface HomeworkUpdateAssignmentPatchResponseDataConsultantProfile exte
|
|
|
3851
3786
|
"email"?: string | null;
|
|
3852
3787
|
"national_code"?: string | null;
|
|
3853
3788
|
"phone"?: string | null;
|
|
3789
|
+
"gender"?: string | null;
|
|
3854
3790
|
}
|
|
3855
3791
|
export interface HomeworkUpdateAssignmentPatchResponseDataSupportProfile extends JsonObject {
|
|
3856
3792
|
"user_id": string;
|
|
@@ -3859,6 +3795,7 @@ export interface HomeworkUpdateAssignmentPatchResponseDataSupportProfile extends
|
|
|
3859
3795
|
"email"?: string | null;
|
|
3860
3796
|
"national_code"?: string | null;
|
|
3861
3797
|
"phone"?: string | null;
|
|
3798
|
+
"gender"?: string | null;
|
|
3862
3799
|
}
|
|
3863
3800
|
export interface HomeworkUpdateAssignmentPatchResponseData extends JsonObject {
|
|
3864
3801
|
"id": string;
|
|
@@ -3867,6 +3804,7 @@ export interface HomeworkUpdateAssignmentPatchResponseData extends JsonObject {
|
|
|
3867
3804
|
"homework_name"?: string | null;
|
|
3868
3805
|
"homework"?: import("./types.js").Homework | null;
|
|
3869
3806
|
"homework_question"?: import("./types.js").HomeworkQuestion | null;
|
|
3807
|
+
"course_id"?: string | null;
|
|
3870
3808
|
"classroom_id"?: string | null;
|
|
3871
3809
|
"classroom_name"?: string | null;
|
|
3872
3810
|
"user_id"?: string | null;
|
|
@@ -3890,6 +3828,100 @@ export interface HomeworkUpdateAssignmentPatchResponseData extends JsonObject {
|
|
|
3890
3828
|
}
|
|
3891
3829
|
export interface HomeworkUpdateAssignmentPatchResponse extends ApiEnvelope<HomeworkUpdateAssignmentPatchResponseData> {
|
|
3892
3830
|
}
|
|
3831
|
+
/** Backend query type: models::AssignmentListQuery. */
|
|
3832
|
+
export interface HomeworkIndexCurrentTermAssignmentGetQuery extends QueryParams {
|
|
3833
|
+
"page_number"?: number | null;
|
|
3834
|
+
"page_size"?: number | null;
|
|
3835
|
+
"status"?: string | null;
|
|
3836
|
+
"homework_id"?: string | null;
|
|
3837
|
+
"course_id"?: string | null;
|
|
3838
|
+
"classroom_id"?: string | null;
|
|
3839
|
+
"user_id"?: string | null;
|
|
3840
|
+
"student_user_id"?: string | null;
|
|
3841
|
+
"teacher_user_id"?: string | null;
|
|
3842
|
+
"consultant_user_id"?: string | null;
|
|
3843
|
+
"support_user_id"?: string | null;
|
|
3844
|
+
"from"?: string | null;
|
|
3845
|
+
"to"?: string | null;
|
|
3846
|
+
}
|
|
3847
|
+
/** Backend response type: crate::models::PagedResult<models::AssignmentResponse>. */
|
|
3848
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponseItemProfile extends JsonObject {
|
|
3849
|
+
"user_id": string;
|
|
3850
|
+
"first_name"?: JsonValue | null;
|
|
3851
|
+
"last_name"?: JsonValue | null;
|
|
3852
|
+
"email"?: string | null;
|
|
3853
|
+
"national_code"?: string | null;
|
|
3854
|
+
"phone"?: string | null;
|
|
3855
|
+
"gender"?: string | null;
|
|
3856
|
+
}
|
|
3857
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponseItemTeacherProfile extends JsonObject {
|
|
3858
|
+
"user_id": string;
|
|
3859
|
+
"first_name"?: JsonValue | null;
|
|
3860
|
+
"last_name"?: JsonValue | null;
|
|
3861
|
+
"email"?: string | null;
|
|
3862
|
+
"national_code"?: string | null;
|
|
3863
|
+
"phone"?: string | null;
|
|
3864
|
+
"gender"?: string | null;
|
|
3865
|
+
}
|
|
3866
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponseItemConsultantProfile extends JsonObject {
|
|
3867
|
+
"user_id": string;
|
|
3868
|
+
"first_name"?: JsonValue | null;
|
|
3869
|
+
"last_name"?: JsonValue | null;
|
|
3870
|
+
"email"?: string | null;
|
|
3871
|
+
"national_code"?: string | null;
|
|
3872
|
+
"phone"?: string | null;
|
|
3873
|
+
"gender"?: string | null;
|
|
3874
|
+
}
|
|
3875
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponseItemSupportProfile extends JsonObject {
|
|
3876
|
+
"user_id": string;
|
|
3877
|
+
"first_name"?: JsonValue | null;
|
|
3878
|
+
"last_name"?: JsonValue | null;
|
|
3879
|
+
"email"?: string | null;
|
|
3880
|
+
"national_code"?: string | null;
|
|
3881
|
+
"phone"?: string | null;
|
|
3882
|
+
"gender"?: string | null;
|
|
3883
|
+
}
|
|
3884
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponseItem extends JsonObject {
|
|
3885
|
+
"id": string;
|
|
3886
|
+
"homework_id": string;
|
|
3887
|
+
"homework_question_id"?: string | null;
|
|
3888
|
+
"homework_name"?: string | null;
|
|
3889
|
+
"homework"?: import("./types.js").Homework | null;
|
|
3890
|
+
"homework_question"?: import("./types.js").HomeworkQuestion | null;
|
|
3891
|
+
"course_id"?: string | null;
|
|
3892
|
+
"classroom_id"?: string | null;
|
|
3893
|
+
"classroom_name"?: string | null;
|
|
3894
|
+
"user_id"?: string | null;
|
|
3895
|
+
"profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemProfile | null;
|
|
3896
|
+
"teacher_user_id"?: string | null;
|
|
3897
|
+
"teacher_profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemTeacherProfile | null;
|
|
3898
|
+
"consultant_user_id"?: string | null;
|
|
3899
|
+
"consultant_profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemConsultantProfile | null;
|
|
3900
|
+
"support_user_id"?: string | null;
|
|
3901
|
+
"support_profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemSupportProfile | null;
|
|
3902
|
+
"chat_conversation_id"?: string | null;
|
|
3903
|
+
"due_at"?: string | null;
|
|
3904
|
+
"status": string;
|
|
3905
|
+
"answer_text"?: string | null;
|
|
3906
|
+
"description"?: string | null;
|
|
3907
|
+
"score"?: number | null;
|
|
3908
|
+
"active_until"?: string | null;
|
|
3909
|
+
"resolved_at"?: string | null;
|
|
3910
|
+
"created_at": string;
|
|
3911
|
+
"updated_at": string;
|
|
3912
|
+
}
|
|
3913
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponsePageMeta extends JsonObject {
|
|
3914
|
+
"page": number;
|
|
3915
|
+
"page_size": number;
|
|
3916
|
+
"total_items": number;
|
|
3917
|
+
"total_pages": number;
|
|
3918
|
+
}
|
|
3919
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponseData extends JsonObject {
|
|
3920
|
+
"data": HomeworkIndexCurrentTermAssignmentGetResponseItem[];
|
|
3921
|
+
"meta": HomeworkIndexCurrentTermAssignmentGetResponsePageMeta;
|
|
3922
|
+
}
|
|
3923
|
+
export interface HomeworkIndexCurrentTermAssignmentGetResponse extends ApiEnvelope<HomeworkIndexCurrentTermAssignmentGetResponseData> {
|
|
3924
|
+
}
|
|
3893
3925
|
/** Backend query type: models::QuestionListQuery. */
|
|
3894
3926
|
export interface HomeworkIndexQuestionGetQuery extends QueryParams {
|
|
3895
3927
|
"page_number"?: number | null;
|
|
@@ -3898,18 +3930,21 @@ export interface HomeworkIndexQuestionGetQuery extends QueryParams {
|
|
|
3898
3930
|
"search"?: string | null;
|
|
3899
3931
|
"status"?: string | null;
|
|
3900
3932
|
"question_type"?: string | null;
|
|
3901
|
-
"kind"?:
|
|
3933
|
+
"kind"?: string | null;
|
|
3902
3934
|
}
|
|
3903
3935
|
/** Backend response type: crate::models::PagedResult<models::QuestionResponse>. */
|
|
3904
3936
|
export interface HomeworkIndexQuestionGetResponseItem extends JsonObject {
|
|
3905
3937
|
"id": string;
|
|
3906
3938
|
"homework_id": string;
|
|
3907
3939
|
"name": string;
|
|
3940
|
+
"bank_name"?: string | null;
|
|
3941
|
+
"assignable": boolean;
|
|
3942
|
+
"assignment_block_reason"?: string | null;
|
|
3908
3943
|
"question_text": string;
|
|
3909
3944
|
"description"?: string | null;
|
|
3910
3945
|
"answer"?: string | null;
|
|
3911
3946
|
"question_type": string;
|
|
3912
|
-
"kind":
|
|
3947
|
+
"kind": string;
|
|
3913
3948
|
"points": number;
|
|
3914
3949
|
"is_final": boolean;
|
|
3915
3950
|
"media": JsonValue;
|
|
@@ -3938,7 +3973,7 @@ export interface HomeworkStoreQuestionPostInput extends JsonObject {
|
|
|
3938
3973
|
"description"?: string | null;
|
|
3939
3974
|
"answer"?: string | null;
|
|
3940
3975
|
"question_type"?: string;
|
|
3941
|
-
"kind"?:
|
|
3976
|
+
"kind"?: string;
|
|
3942
3977
|
"points"?: number;
|
|
3943
3978
|
"is_final"?: boolean;
|
|
3944
3979
|
"media"?: JsonValue | null;
|
|
@@ -3950,11 +3985,14 @@ export interface HomeworkStoreQuestionPostResponseData extends JsonObject {
|
|
|
3950
3985
|
"id": string;
|
|
3951
3986
|
"homework_id": string;
|
|
3952
3987
|
"name": string;
|
|
3988
|
+
"bank_name"?: string | null;
|
|
3989
|
+
"assignable": boolean;
|
|
3990
|
+
"assignment_block_reason"?: string | null;
|
|
3953
3991
|
"question_text": string;
|
|
3954
3992
|
"description"?: string | null;
|
|
3955
3993
|
"answer"?: string | null;
|
|
3956
3994
|
"question_type": string;
|
|
3957
|
-
"kind":
|
|
3995
|
+
"kind": string;
|
|
3958
3996
|
"points": number;
|
|
3959
3997
|
"is_final": boolean;
|
|
3960
3998
|
"media": JsonValue;
|
|
@@ -3970,11 +4008,14 @@ export interface HomeworkShowQuestionGetResponseData extends JsonObject {
|
|
|
3970
4008
|
"id": string;
|
|
3971
4009
|
"homework_id": string;
|
|
3972
4010
|
"name": string;
|
|
4011
|
+
"bank_name"?: string | null;
|
|
4012
|
+
"assignable": boolean;
|
|
4013
|
+
"assignment_block_reason"?: string | null;
|
|
3973
4014
|
"question_text": string;
|
|
3974
4015
|
"description"?: string | null;
|
|
3975
4016
|
"answer"?: string | null;
|
|
3976
4017
|
"question_type": string;
|
|
3977
|
-
"kind":
|
|
4018
|
+
"kind": string;
|
|
3978
4019
|
"points": number;
|
|
3979
4020
|
"is_final": boolean;
|
|
3980
4021
|
"media": JsonValue;
|
|
@@ -3993,7 +4034,7 @@ export interface HomeworkUpdateQuestionPatchInput extends JsonObject {
|
|
|
3993
4034
|
"description"?: string | null;
|
|
3994
4035
|
"answer"?: string | null;
|
|
3995
4036
|
"question_type"?: string | null;
|
|
3996
|
-
"kind"?:
|
|
4037
|
+
"kind"?: string | null;
|
|
3997
4038
|
"points"?: number | null;
|
|
3998
4039
|
"is_final"?: boolean | null;
|
|
3999
4040
|
"media"?: JsonValue | null;
|
|
@@ -4005,11 +4046,14 @@ export interface HomeworkUpdateQuestionPatchResponseData extends JsonObject {
|
|
|
4005
4046
|
"id": string;
|
|
4006
4047
|
"homework_id": string;
|
|
4007
4048
|
"name": string;
|
|
4049
|
+
"bank_name"?: string | null;
|
|
4050
|
+
"assignable": boolean;
|
|
4051
|
+
"assignment_block_reason"?: string | null;
|
|
4008
4052
|
"question_text": string;
|
|
4009
4053
|
"description"?: string | null;
|
|
4010
4054
|
"answer"?: string | null;
|
|
4011
4055
|
"question_type": string;
|
|
4012
|
-
"kind":
|
|
4056
|
+
"kind": string;
|
|
4013
4057
|
"points": number;
|
|
4014
4058
|
"is_final": boolean;
|
|
4015
4059
|
"media": JsonValue;
|
|
@@ -4020,6 +4064,10 @@ export interface HomeworkUpdateQuestionPatchResponseData extends JsonObject {
|
|
|
4020
4064
|
}
|
|
4021
4065
|
export interface HomeworkUpdateQuestionPatchResponse extends ApiEnvelope<HomeworkUpdateQuestionPatchResponseData> {
|
|
4022
4066
|
}
|
|
4067
|
+
/** Backend request type: TransferUserDataInput. */
|
|
4068
|
+
export type TransferTransferUserDataPostInput = import("./types.js").TransferUserDataInput;
|
|
4069
|
+
/** Backend response type: TransferUserDataResponse. */
|
|
4070
|
+
export type TransferTransferUserDataPostResponse = import("./types.js").TransferUserDataResponse;
|
|
4023
4071
|
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
4024
4072
|
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
|
|
4025
4073
|
}
|
|
@@ -4031,6 +4079,46 @@ export interface IntegrationResolveLegacyIdsPostInput extends JsonObject {
|
|
|
4031
4079
|
/** Backend response type: Value. */
|
|
4032
4080
|
export interface IntegrationResolveLegacyIdsPostResponse extends ApiEnvelope<JsonValue> {
|
|
4033
4081
|
}
|
|
4082
|
+
/** Backend response type: Value. */
|
|
4083
|
+
export type InteractiveCatalogGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningCatalogItem[]>;
|
|
4084
|
+
/** Backend response type: Vec<Value>. */
|
|
4085
|
+
export type InteractiveMyCertificatesGetResponse = import("./contracts.types.js").LearningCertificatesResponse;
|
|
4086
|
+
/** Backend response type: Value. */
|
|
4087
|
+
export type InteractiveClaimCertificatePostResponse = import("./contracts.types.js").LearningCertificateClaimResponse;
|
|
4088
|
+
/** Backend response type: Vec<DefinitionRecord>. */
|
|
4089
|
+
export type InteractiveDefinitionsGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningDefinitionRecord[]>;
|
|
4090
|
+
/** Backend response type: DefinitionRecord. */
|
|
4091
|
+
export type InteractiveDefinitionGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningDefinitionRecord>;
|
|
4092
|
+
/** Backend response type: DefinitionRecord. */
|
|
4093
|
+
export type InteractivePublishPostResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningDefinitionRecord>;
|
|
4094
|
+
/** Backend response type: DefinitionRecord. */
|
|
4095
|
+
export type InteractiveLessonGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningDefinitionRecord>;
|
|
4096
|
+
/** Backend request type: SaveDefinition. */
|
|
4097
|
+
export type InteractiveSaveDefinitionPostInput = import("./interactive.js").SaveLearningDefinitionInput;
|
|
4098
|
+
/** Backend response type: DefinitionRecord. */
|
|
4099
|
+
export type InteractiveSaveDefinitionPostResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningDefinitionRecord>;
|
|
4100
|
+
/** Backend request type: StartRun. */
|
|
4101
|
+
export type InteractiveStartPostInput = import("./interactive.js").StartLearningInput;
|
|
4102
|
+
/** Backend response type: RunResponse. */
|
|
4103
|
+
export type InteractiveStartPostResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningRun>;
|
|
4104
|
+
/** Backend response type: Vec<RunState>. */
|
|
4105
|
+
export type InteractiveRunsGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningState[]>;
|
|
4106
|
+
/** Backend response type: RunResponse. */
|
|
4107
|
+
export type InteractiveRunGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningRun>;
|
|
4108
|
+
/** Backend request type: AttemptInput. */
|
|
4109
|
+
export type InteractiveSubmitPostInput = import("./interactive.js").LearningAttemptInput;
|
|
4110
|
+
/** Backend response type: AttemptResponse. */
|
|
4111
|
+
export type InteractiveSubmitPostResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningAttempt>;
|
|
4112
|
+
/** Backend request type: DraftInput. */
|
|
4113
|
+
export type InteractiveDraftPutInput = import("./interactive.js").LearningDraftInput;
|
|
4114
|
+
/** Backend response type: RunResponse. */
|
|
4115
|
+
export type InteractiveDraftPutResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningRun>;
|
|
4116
|
+
/** Backend request type: HintInput. */
|
|
4117
|
+
export type InteractiveHintPostInput = import("./interactive.js").LearningHintInput;
|
|
4118
|
+
/** Backend response type: HintResponse. */
|
|
4119
|
+
export type InteractiveHintPostResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningHint>;
|
|
4120
|
+
/** Backend response type: Value. */
|
|
4121
|
+
export type InteractiveTeacherContextGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningTeacherContext>;
|
|
4034
4122
|
/** Backend request type: multipart/form-data. */
|
|
4035
4123
|
export type MediaUploadImagePostInput = FormData;
|
|
4036
4124
|
/** Backend response type: UploadResponse. */
|
|
@@ -4057,6 +4145,7 @@ export interface ProfileRoutesIndexGetResponseItem extends JsonObject {
|
|
|
4057
4145
|
"email"?: string | null;
|
|
4058
4146
|
"national_code"?: string | null;
|
|
4059
4147
|
"phone"?: string | null;
|
|
4148
|
+
"gender"?: string | null;
|
|
4060
4149
|
}
|
|
4061
4150
|
export interface ProfileRoutesIndexGetResponsePageMeta extends JsonObject {
|
|
4062
4151
|
"page": number;
|
|
@@ -4076,7 +4165,7 @@ export interface ProfileRoutesShowGetResponse extends ApiEnvelope<BackendJson<"P
|
|
|
4076
4165
|
/** Backend response type: Branding. */
|
|
4077
4166
|
export interface BrandingPublicShowGetResponseData extends JsonObject {
|
|
4078
4167
|
"title"?: string | null;
|
|
4079
|
-
"localizations": Record<string,
|
|
4168
|
+
"localizations": Record<string, BackendJson<"BrandText">>;
|
|
4080
4169
|
"icon_asset_key"?: string | null;
|
|
4081
4170
|
"icon_url"?: string | null;
|
|
4082
4171
|
}
|
|
@@ -4090,6 +4179,35 @@ export type CertificateVerifyCertificateGetResponse = import("./types.js").Publi
|
|
|
4090
4179
|
/** Backend response type: raw-response. */
|
|
4091
4180
|
export type CertificateRenderCertificateImageGetResponse = import("./types.js").CertificateSvgResponse;
|
|
4092
4181
|
/** Backend query type: models::AssignedStudentsQuery. */
|
|
4182
|
+
export interface ReportAssignedChatContactsGetQuery extends QueryParams {
|
|
4183
|
+
"page_number"?: number | null;
|
|
4184
|
+
"page_size"?: number | null;
|
|
4185
|
+
"search"?: string | null;
|
|
4186
|
+
}
|
|
4187
|
+
/** Backend response type: crate::models::PagedResult<models::AssignedChatContact>. */
|
|
4188
|
+
export interface ReportAssignedChatContactsGetResponseItem extends JsonObject {
|
|
4189
|
+
"user_id": string;
|
|
4190
|
+
"first_name"?: JsonValue | null;
|
|
4191
|
+
"last_name"?: JsonValue | null;
|
|
4192
|
+
"email"?: string | null;
|
|
4193
|
+
"national_code"?: string | null;
|
|
4194
|
+
"phone"?: string | null;
|
|
4195
|
+
"gender"?: string | null;
|
|
4196
|
+
"contact_role": string;
|
|
4197
|
+
}
|
|
4198
|
+
export interface ReportAssignedChatContactsGetResponsePageMeta extends JsonObject {
|
|
4199
|
+
"page": number;
|
|
4200
|
+
"page_size": number;
|
|
4201
|
+
"total_items": number;
|
|
4202
|
+
"total_pages": number;
|
|
4203
|
+
}
|
|
4204
|
+
export interface ReportAssignedChatContactsGetResponseData extends JsonObject {
|
|
4205
|
+
"data": ReportAssignedChatContactsGetResponseItem[];
|
|
4206
|
+
"meta": ReportAssignedChatContactsGetResponsePageMeta;
|
|
4207
|
+
}
|
|
4208
|
+
export interface ReportAssignedChatContactsGetResponse extends ApiEnvelope<ReportAssignedChatContactsGetResponseData> {
|
|
4209
|
+
}
|
|
4210
|
+
/** Backend query type: models::AssignedStudentsQuery. */
|
|
4093
4211
|
export interface ReportAssignedStudentsGetQuery extends QueryParams {
|
|
4094
4212
|
"page_number"?: number | null;
|
|
4095
4213
|
"page_size"?: number | null;
|
|
@@ -4103,6 +4221,7 @@ export interface ReportAssignedStudentsGetResponseItem extends JsonObject {
|
|
|
4103
4221
|
"email"?: string | null;
|
|
4104
4222
|
"national_code"?: string | null;
|
|
4105
4223
|
"phone"?: string | null;
|
|
4224
|
+
"gender"?: string | null;
|
|
4106
4225
|
}
|
|
4107
4226
|
export interface ReportAssignedStudentsGetResponsePageMeta extends JsonObject {
|
|
4108
4227
|
"page": number;
|
|
@@ -4130,6 +4249,7 @@ export interface ReportClassroomsGetResponseItemTeacherProfile extends JsonObjec
|
|
|
4130
4249
|
"email"?: string | null;
|
|
4131
4250
|
"national_code"?: string | null;
|
|
4132
4251
|
"phone"?: string | null;
|
|
4252
|
+
"gender"?: string | null;
|
|
4133
4253
|
}
|
|
4134
4254
|
export interface ReportClassroomsGetResponseItemConsultantProfile extends JsonObject {
|
|
4135
4255
|
"user_id": string;
|
|
@@ -4138,6 +4258,7 @@ export interface ReportClassroomsGetResponseItemConsultantProfile extends JsonOb
|
|
|
4138
4258
|
"email"?: string | null;
|
|
4139
4259
|
"national_code"?: string | null;
|
|
4140
4260
|
"phone"?: string | null;
|
|
4261
|
+
"gender"?: string | null;
|
|
4141
4262
|
}
|
|
4142
4263
|
export interface ReportClassroomsGetResponseItem extends JsonObject {
|
|
4143
4264
|
"classroom_id": string;
|
|
@@ -4171,6 +4292,7 @@ export interface ReportConsultantsGetResponseItemConsultantProfile extends JsonO
|
|
|
4171
4292
|
"email"?: string | null;
|
|
4172
4293
|
"national_code"?: string | null;
|
|
4173
4294
|
"phone"?: string | null;
|
|
4295
|
+
"gender"?: string | null;
|
|
4174
4296
|
}
|
|
4175
4297
|
export interface ReportConsultantsGetResponseItem extends JsonObject {
|
|
4176
4298
|
"consultant_user_id": string;
|
|
@@ -4202,6 +4324,7 @@ export interface ReportMyStudentsGetResponseItem extends JsonObject {
|
|
|
4202
4324
|
"email"?: string | null;
|
|
4203
4325
|
"national_code"?: string | null;
|
|
4204
4326
|
"phone"?: string | null;
|
|
4327
|
+
"gender"?: string | null;
|
|
4205
4328
|
}
|
|
4206
4329
|
export interface ReportMyStudentsGetResponse extends ApiEnvelope<ReportMyStudentsGetResponseItem[]> {
|
|
4207
4330
|
}
|
|
@@ -4220,6 +4343,7 @@ export interface ReportStudentSummaryGetResponseDataProfile extends JsonObject {
|
|
|
4220
4343
|
"email"?: string | null;
|
|
4221
4344
|
"national_code"?: string | null;
|
|
4222
4345
|
"phone"?: string | null;
|
|
4346
|
+
"gender"?: string | null;
|
|
4223
4347
|
}
|
|
4224
4348
|
export interface ReportStudentSummaryGetResponseData extends JsonObject {
|
|
4225
4349
|
"courses"?: JsonValue[] | null;
|
|
@@ -4247,6 +4371,7 @@ export interface ReportStudentsGetResponseItemProfile extends JsonObject {
|
|
|
4247
4371
|
"email"?: string | null;
|
|
4248
4372
|
"national_code"?: string | null;
|
|
4249
4373
|
"phone"?: string | null;
|
|
4374
|
+
"gender"?: string | null;
|
|
4250
4375
|
}
|
|
4251
4376
|
export interface ReportStudentsGetResponseItem extends JsonObject {
|
|
4252
4377
|
"courses"?: JsonValue[] | null;
|
|
@@ -4274,6 +4399,7 @@ export interface ReportTeachersGetResponseItemTeacherProfile extends JsonObject
|
|
|
4274
4399
|
"email"?: string | null;
|
|
4275
4400
|
"national_code"?: string | null;
|
|
4276
4401
|
"phone"?: string | null;
|
|
4402
|
+
"gender"?: string | null;
|
|
4277
4403
|
}
|
|
4278
4404
|
export interface ReportTeachersGetResponseItem extends JsonObject {
|
|
4279
4405
|
"teacher_user_id": string;
|