@faiber/faiber-lms 0.24.1 → 1.1.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.
@@ -1,8 +1,9 @@
1
- import type { ApiEnvelope, BackendJson, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
1
+ import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
2
2
  /** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
3
- /** Backend response type: api. */
4
- export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
5
- }
3
+ /** Backend response type: HealthResponse. */
4
+ export type RouterRootStatusGetResponse = import("@faiber/sdk-core").ServiceHealthResponse;
5
+ /** Backend response type: utoipa::openapi::OpenApi. */
6
+ export type RouterOpenapiJsonGetResponse = import("@faiber/sdk-core").ServiceOpenApiDocument;
6
7
  /** Backend request type: SubmitExamRequest. */
7
8
  export type AcademySubmitExamPostInput = import("./types.js").AcademySubmitExamInput;
8
9
  /** Backend response type: Value. */
@@ -27,151 +28,20 @@ export type AcademyStartExamPostResponse = import("./types.js").AcademyExamAttem
27
28
  export type AcademyCompleteSessionPostInput = import("./types.js").AcademyCompleteSessionInput;
28
29
  /** Backend response type: Value. */
29
30
  export type AcademyCompleteSessionPostResponse = import("./types.js").AcademySessionCompletionResponse;
30
- /** Backend query type: JobQuery. */
31
- export interface AiSummaryJobsGetQuery extends QueryParams {
32
- "page"?: number | null;
33
- "page_size"?: number | null;
34
- "status"?: string | null;
35
- "role"?: string | null;
36
- "user_id"?: string | null;
37
- }
38
- /** Backend response type: Value. */
39
- export interface AiSummaryJobsGetResponse extends ApiEnvelope<JsonValue> {
40
- }
41
- /** Backend query type: LatestQuery. */
42
- export interface AiSummaryLatestGetQuery extends QueryParams {
43
- "role": string;
44
- "user_id"?: string | null;
45
- }
46
- /** Backend response type: LatestSummary. */
47
- export interface AiSummaryLatestGetResponseData extends JsonObject {
48
- "subject_user_id": string;
49
- "role": string;
50
- "enabled": boolean;
51
- "state": string;
52
- "freshness": string;
53
- "language"?: string | null;
54
- "model_ref"?: string | null;
55
- "classroom_ids": string[];
56
- "evidence_cutoff"?: string | null;
57
- "generated_at"?: string | null;
58
- "next_refresh_at"?: string | null;
59
- "summary"?: JsonValue | null;
60
- }
61
- export interface AiSummaryLatestGetResponse extends ApiEnvelope<AiSummaryLatestGetResponseData> {
62
- }
63
- /** Backend response type: Vec<ModelOption>. */
64
- export interface AiSummaryModelsGetResponseItem extends JsonObject {
65
- "model_ref": string;
66
- "model": string;
67
- "provider_label": string;
68
- "source": string;
69
- }
70
- export interface AiSummaryModelsGetResponse extends ApiEnvelope<AiSummaryModelsGetResponseItem[]> {
71
- }
72
- /** Backend request type: BulkRefreshRequest. */
73
- export interface AiSummaryRefreshManyPostInput extends JsonObject {
74
- "role": string;
75
- "user_ids": string[];
76
- }
77
- /** Backend response type: BulkRefreshResponse. */
78
- export interface AiSummaryRefreshManyPostResponseDataQueued extends JsonObject {
79
- "subject_user_id": string;
80
- "role": string;
81
- "state": string;
82
- "due_at": string;
83
- }
84
- export interface AiSummaryRefreshManyPostResponseData extends JsonObject {
85
- "queued": AiSummaryRefreshManyPostResponseDataQueued[];
86
- }
87
- export interface AiSummaryRefreshManyPostResponse extends ApiEnvelope<AiSummaryRefreshManyPostResponseData> {
88
- }
89
- /** Backend response type: SummarySettings. */
90
- export interface AiSummarySettingsGetResponseDataRoles extends JsonObject {
91
- "role": string;
92
- "enabled": boolean;
93
- "model_ref"?: string | null;
94
- "language": string;
95
- "guidance": string;
96
- "quiet_minutes": number;
97
- "max_wait_minutes": number;
98
- "config_revision": number;
99
- }
100
- export interface AiSummarySettingsGetResponseData extends JsonObject {
101
- "globally_enabled": boolean;
102
- "concurrency_limit": number;
103
- "financial_owner_user_id"?: string | null;
104
- "roles": AiSummarySettingsGetResponseDataRoles[];
105
- }
106
- export interface AiSummarySettingsGetResponse extends ApiEnvelope<AiSummarySettingsGetResponseData> {
107
- }
108
- /** Backend request type: UpdateSummarySettings. */
109
- export interface AiSummaryUpdateSettingsPutInputRoles extends JsonObject {
110
- "role": string;
111
- "enabled": boolean;
112
- "model_ref"?: string | null;
113
- "language": string;
114
- "guidance"?: string;
115
- "quiet_minutes": number;
116
- "max_wait_minutes": number;
117
- }
118
- export interface AiSummaryUpdateSettingsPutInput extends JsonObject {
119
- "globally_enabled": boolean;
120
- "concurrency_limit"?: number;
121
- "roles": AiSummaryUpdateSettingsPutInputRoles[];
122
- }
123
- /** Backend response type: SummarySettings. */
124
- export interface AiSummaryUpdateSettingsPutResponseDataRoles extends JsonObject {
125
- "role": string;
126
- "enabled": boolean;
127
- "model_ref"?: string | null;
128
- "language": string;
129
- "guidance": string;
130
- "quiet_minutes": number;
131
- "max_wait_minutes": number;
132
- "config_revision": number;
133
- }
134
- export interface AiSummaryUpdateSettingsPutResponseData extends JsonObject {
135
- "globally_enabled": boolean;
136
- "concurrency_limit": number;
137
- "financial_owner_user_id"?: string | null;
138
- "roles": AiSummaryUpdateSettingsPutResponseDataRoles[];
139
- }
140
- export interface AiSummaryUpdateSettingsPutResponse extends ApiEnvelope<AiSummaryUpdateSettingsPutResponseData> {
141
- }
142
- /** Backend query type: JobQuery. */
143
- export interface AiSummarySummariesGetQuery extends QueryParams {
144
- "page"?: number | null;
145
- "page_size"?: number | null;
146
- "status"?: string | null;
147
- "role"?: string | null;
148
- "user_id"?: string | null;
149
- }
150
- /** Backend response type: Value. */
151
- export interface AiSummarySummariesGetResponse extends ApiEnvelope<JsonValue> {
152
- }
153
- /** Backend response type: RefreshResponse. */
154
- export interface AiSummaryRefreshPostResponseData extends JsonObject {
155
- "subject_user_id": string;
156
- "role": string;
157
- "state": string;
158
- "due_at": string;
159
- }
160
- export interface AiSummaryRefreshPostResponse extends ApiEnvelope<AiSummaryRefreshPostResponseData> {
161
- }
162
31
  /** Backend response type: SessionResponse. */
163
32
  export interface SessionGetSelfGetResponseDataProfile extends JsonObject {
164
33
  "user_id": string;
165
- "first_name"?: JsonValue | null;
166
- "last_name"?: JsonValue | null;
167
- "email"?: string | null;
168
- "national_code"?: string | null;
169
- "phone"?: string | null;
170
- "gender"?: string | null;
34
+ "short_id"?: string | null;
35
+ "first_name": JsonValue | null;
36
+ "last_name": JsonValue | null;
37
+ "email": string | null;
38
+ "national_code": string | null;
39
+ "phone": string | null;
40
+ "gender": string | null;
171
41
  }
172
42
  export interface SessionGetSelfGetResponseData extends JsonObject {
173
43
  "user_id": string;
174
- "profile"?: SessionGetSelfGetResponseDataProfile | null;
44
+ "profile": SessionGetSelfGetResponseDataProfile | null;
175
45
  "roles": string[];
176
46
  "permissions": string[];
177
47
  }
@@ -179,8 +49,8 @@ export interface SessionGetSelfGetResponse extends ApiEnvelope<SessionGetSelfGet
179
49
  }
180
50
  /** Backend query type: PaginationQuery. */
181
51
  export interface CertificateIndexCertificateGetQuery extends QueryParams {
182
- "page_number"?: number | null;
183
- "page_size"?: number | null;
52
+ "page[number]"?: number | null;
53
+ "page[size]"?: number | null;
184
54
  }
185
55
  /** Backend response type: crate::models::PagedResult<models::CertificateResponse>. */
186
56
  export type CertificateIndexCertificateGetResponse = import("./types.js").CertificateListResponse;
@@ -196,8 +66,8 @@ export type CertificateUpdateCertificatePatchInput = import("./types.js").Update
196
66
  export type CertificateUpdateCertificatePatchResponse = import("./types.js").CertificateResponse;
197
67
  /** Backend query type: PaginationQuery. */
198
68
  export interface CertificateIndexTemplateGetQuery extends QueryParams {
199
- "page_number"?: number | null;
200
- "page_size"?: number | null;
69
+ "page[number]"?: number | null;
70
+ "page[size]"?: number | null;
201
71
  }
202
72
  /** Backend response type: crate::models::PagedResult<models::CertificateTemplateResponse>. */
203
73
  export type CertificateIndexTemplateGetResponse = import("./types.js").CertificateTemplateListResponse;
@@ -211,14 +81,14 @@ export type CertificateShowTemplateGetResponse = import("./types.js").Certificat
211
81
  export type CertificateUpdateTemplatePatchInput = import("./types.js").UpdateCertificateTemplateInput;
212
82
  /** Backend response type: models::CertificateTemplateResponse. */
213
83
  export type CertificateUpdateTemplatePatchResponse = import("./types.js").CertificateTemplateResponse;
214
- /** Backend query type: ReviewedIntegrationQuery. */
84
+ /** Backend query type: ContactsQuery. */
215
85
  export type ContactsContactsGetQuery = import("./notification-settings.js").EligibleContactQuery;
216
- /** Backend response type: api. */
86
+ /** Backend response type: ContactPage. */
217
87
  export type ContactsContactsGetResponse = import("./notification-settings.js").LmsNotificationResponse<import("./notification-settings.js").EligibleContactPage>;
218
88
  /** Backend query type: models::ClassroomListQuery. */
219
89
  export interface ClassroomIndexClassroomGetQuery extends QueryParams {
220
- "page_number"?: number | null;
221
- "page_size"?: number | null;
90
+ "page[number]"?: number | null;
91
+ "page[size]"?: number | null;
222
92
  "search"?: string | null;
223
93
  "status"?: string | null;
224
94
  "course_id"?: string | null;
@@ -232,62 +102,67 @@ export interface ClassroomIndexClassroomGetQuery extends QueryParams {
232
102
  /** Backend response type: crate::models::PagedResult<models::ClassroomResponse>. */
233
103
  export interface ClassroomIndexClassroomGetResponseItemTeacherProfile extends JsonObject {
234
104
  "user_id": string;
235
- "first_name"?: JsonValue | null;
236
- "last_name"?: JsonValue | null;
237
- "email"?: string | null;
238
- "national_code"?: string | null;
239
- "phone"?: string | null;
240
- "gender"?: string | null;
105
+ "short_id"?: string | null;
106
+ "first_name": JsonValue | null;
107
+ "last_name": JsonValue | null;
108
+ "email": string | null;
109
+ "national_code": string | null;
110
+ "phone": string | null;
111
+ "gender": string | null;
241
112
  }
242
113
  export interface ClassroomIndexClassroomGetResponseItemConsultantProfile extends JsonObject {
243
114
  "user_id": string;
244
- "first_name"?: JsonValue | null;
245
- "last_name"?: JsonValue | null;
246
- "email"?: string | null;
247
- "national_code"?: string | null;
248
- "phone"?: string | null;
249
- "gender"?: string | null;
115
+ "short_id"?: string | null;
116
+ "first_name": JsonValue | null;
117
+ "last_name": JsonValue | null;
118
+ "email": string | null;
119
+ "national_code": string | null;
120
+ "phone": string | null;
121
+ "gender": string | null;
250
122
  }
251
123
  export interface ClassroomIndexClassroomGetResponseItemSupportProfile extends JsonObject {
252
124
  "user_id": string;
253
- "first_name"?: JsonValue | null;
254
- "last_name"?: JsonValue | null;
255
- "email"?: string | null;
256
- "national_code"?: string | null;
257
- "phone"?: string | null;
258
- "gender"?: string | null;
125
+ "short_id"?: string | null;
126
+ "first_name": JsonValue | null;
127
+ "last_name": JsonValue | null;
128
+ "email": string | null;
129
+ "national_code": string | null;
130
+ "phone": string | null;
131
+ "gender": string | null;
259
132
  }
260
133
  export interface ClassroomIndexClassroomGetResponseItem extends JsonObject {
261
134
  "id": string;
135
+ "short_id": string;
262
136
  "course_id": string;
263
- "course_name"?: string | null;
264
- "course_category_id"?: string | null;
265
- "course_sort_order"?: number | null;
266
- "course_passing_mark"?: number | null;
267
- "current_user_score"?: number | null;
268
- "current_user_passed"?: boolean | null;
137
+ "course_name": string | null;
138
+ "course_category_id": string | null;
139
+ "course_sort_order": number | null;
140
+ "course_passing_mark": number | null;
141
+ "current_user_score": number | null;
142
+ "current_user_passed": boolean | null;
269
143
  "session_count": number;
270
144
  "completed_session_count": number;
271
145
  "progress_rate": number;
272
146
  "name": string;
273
- "code"?: string | null;
274
- "description"?: string | null;
275
- "info"?: string | null;
276
- "classroom_type_id"?: string | null;
277
- "school_grade_id"?: string | null;
278
- "grade_id"?: string | null;
279
- "teacher_user_id"?: string | null;
280
- "teacher_profile"?: ClassroomIndexClassroomGetResponseItemTeacherProfile | null;
281
- "consultant_user_id"?: string | null;
282
- "consultant_profile"?: ClassroomIndexClassroomGetResponseItemConsultantProfile | null;
283
- "support_user_id"?: string | null;
284
- "support_profile"?: ClassroomIndexClassroomGetResponseItemSupportProfile | null;
285
- "capacity"?: number | null;
147
+ "code": string | null;
148
+ "description": string | null;
149
+ "info": string | null;
150
+ "classroom_type_id": string | null;
151
+ "school_grade_id": string | null;
152
+ "grade_id": string | null;
153
+ "teacher_user_id": string | null;
154
+ "teacher_profile": ClassroomIndexClassroomGetResponseItemTeacherProfile | null;
155
+ "consultant_user_id": string | null;
156
+ "consultant_profile": ClassroomIndexClassroomGetResponseItemConsultantProfile | null;
157
+ "support_user_id": string | null;
158
+ "support_profile": ClassroomIndexClassroomGetResponseItemSupportProfile | null;
159
+ "student_count": number;
160
+ "capacity": number | null;
286
161
  "notifications": JsonValue;
287
162
  "weekly_schedule": import("./types.js").ClassroomWeeklyScheduleRule[];
288
163
  "check_sessions": JsonValue;
289
- "starts_at"?: string | null;
290
- "ends_at"?: string | null;
164
+ "starts_at": string | null;
165
+ "ends_at": string | null;
291
166
  "status": string;
292
167
  "created_at": string;
293
168
  "updated_at": string;
@@ -328,62 +203,67 @@ export interface ClassroomStoreClassroomPostInput extends JsonObject {
328
203
  /** Backend response type: models::ClassroomResponse. */
329
204
  export interface ClassroomStoreClassroomPostResponseDataTeacherProfile extends JsonObject {
330
205
  "user_id": string;
331
- "first_name"?: JsonValue | null;
332
- "last_name"?: JsonValue | null;
333
- "email"?: string | null;
334
- "national_code"?: string | null;
335
- "phone"?: string | null;
336
- "gender"?: string | null;
206
+ "short_id"?: string | null;
207
+ "first_name": JsonValue | null;
208
+ "last_name": JsonValue | null;
209
+ "email": string | null;
210
+ "national_code": string | null;
211
+ "phone": string | null;
212
+ "gender": string | null;
337
213
  }
338
214
  export interface ClassroomStoreClassroomPostResponseDataConsultantProfile extends JsonObject {
339
215
  "user_id": string;
340
- "first_name"?: JsonValue | null;
341
- "last_name"?: JsonValue | null;
342
- "email"?: string | null;
343
- "national_code"?: string | null;
344
- "phone"?: string | null;
345
- "gender"?: string | null;
216
+ "short_id"?: string | null;
217
+ "first_name": JsonValue | null;
218
+ "last_name": JsonValue | null;
219
+ "email": string | null;
220
+ "national_code": string | null;
221
+ "phone": string | null;
222
+ "gender": string | null;
346
223
  }
347
224
  export interface ClassroomStoreClassroomPostResponseDataSupportProfile extends JsonObject {
348
225
  "user_id": string;
349
- "first_name"?: JsonValue | null;
350
- "last_name"?: JsonValue | null;
351
- "email"?: string | null;
352
- "national_code"?: string | null;
353
- "phone"?: string | null;
354
- "gender"?: string | null;
226
+ "short_id"?: string | null;
227
+ "first_name": JsonValue | null;
228
+ "last_name": JsonValue | null;
229
+ "email": string | null;
230
+ "national_code": string | null;
231
+ "phone": string | null;
232
+ "gender": string | null;
355
233
  }
356
234
  export interface ClassroomStoreClassroomPostResponseData extends JsonObject {
357
235
  "id": string;
236
+ "short_id": string;
358
237
  "course_id": string;
359
- "course_name"?: string | null;
360
- "course_category_id"?: string | null;
361
- "course_sort_order"?: number | null;
362
- "course_passing_mark"?: number | null;
363
- "current_user_score"?: number | null;
364
- "current_user_passed"?: boolean | null;
238
+ "course_name": string | null;
239
+ "course_category_id": string | null;
240
+ "course_sort_order": number | null;
241
+ "course_passing_mark": number | null;
242
+ "current_user_score": number | null;
243
+ "current_user_passed": boolean | null;
365
244
  "session_count": number;
366
245
  "completed_session_count": number;
367
246
  "progress_rate": number;
368
247
  "name": string;
369
- "code"?: string | null;
370
- "description"?: string | null;
371
- "info"?: string | null;
372
- "classroom_type_id"?: string | null;
373
- "school_grade_id"?: string | null;
374
- "grade_id"?: string | null;
375
- "teacher_user_id"?: string | null;
376
- "teacher_profile"?: ClassroomStoreClassroomPostResponseDataTeacherProfile | null;
377
- "consultant_user_id"?: string | null;
378
- "consultant_profile"?: ClassroomStoreClassroomPostResponseDataConsultantProfile | null;
379
- "support_user_id"?: string | null;
380
- "support_profile"?: ClassroomStoreClassroomPostResponseDataSupportProfile | null;
381
- "capacity"?: number | null;
248
+ "code": string | null;
249
+ "description": string | null;
250
+ "info": string | null;
251
+ "classroom_type_id": string | null;
252
+ "school_grade_id": string | null;
253
+ "grade_id": string | null;
254
+ "teacher_user_id": string | null;
255
+ "teacher_profile": ClassroomStoreClassroomPostResponseDataTeacherProfile | null;
256
+ "consultant_user_id": string | null;
257
+ "consultant_profile": ClassroomStoreClassroomPostResponseDataConsultantProfile | null;
258
+ "support_user_id": string | null;
259
+ "support_profile": ClassroomStoreClassroomPostResponseDataSupportProfile | null;
260
+ "student_count": number;
261
+ "capacity": number | null;
382
262
  "notifications": JsonValue;
383
263
  "weekly_schedule": import("./types.js").ClassroomWeeklyScheduleRule[];
384
264
  "check_sessions": JsonValue;
385
- "starts_at"?: string | null;
386
- "ends_at"?: string | null;
265
+ "starts_at": string | null;
266
+ "ends_at": string | null;
387
267
  "status": string;
388
268
  "created_at": string;
389
269
  "updated_at": string;
@@ -391,67 +271,71 @@ export interface ClassroomStoreClassroomPostResponseData extends JsonObject {
391
271
  export interface ClassroomStoreClassroomPostResponse extends ApiEnvelope<ClassroomStoreClassroomPostResponseData> {
392
272
  }
393
273
  /** Backend response type: serde_json::Value. */
394
- export interface ClassroomDestroyClassroomDeleteResponse extends ApiEnvelope<JsonValue> {
395
- }
274
+ export type ClassroomDestroyClassroomDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
396
275
  /** Backend response type: models::ClassroomResponse. */
397
276
  export interface ClassroomShowClassroomGetResponseDataTeacherProfile extends JsonObject {
398
277
  "user_id": string;
399
- "first_name"?: JsonValue | null;
400
- "last_name"?: JsonValue | null;
401
- "email"?: string | null;
402
- "national_code"?: string | null;
403
- "phone"?: string | null;
404
- "gender"?: string | null;
278
+ "short_id"?: string | null;
279
+ "first_name": JsonValue | null;
280
+ "last_name": JsonValue | null;
281
+ "email": string | null;
282
+ "national_code": string | null;
283
+ "phone": string | null;
284
+ "gender": string | null;
405
285
  }
406
286
  export interface ClassroomShowClassroomGetResponseDataConsultantProfile extends JsonObject {
407
287
  "user_id": string;
408
- "first_name"?: JsonValue | null;
409
- "last_name"?: JsonValue | null;
410
- "email"?: string | null;
411
- "national_code"?: string | null;
412
- "phone"?: string | null;
413
- "gender"?: string | null;
288
+ "short_id"?: string | null;
289
+ "first_name": JsonValue | null;
290
+ "last_name": JsonValue | null;
291
+ "email": string | null;
292
+ "national_code": string | null;
293
+ "phone": string | null;
294
+ "gender": string | null;
414
295
  }
415
296
  export interface ClassroomShowClassroomGetResponseDataSupportProfile extends JsonObject {
416
297
  "user_id": string;
417
- "first_name"?: JsonValue | null;
418
- "last_name"?: JsonValue | null;
419
- "email"?: string | null;
420
- "national_code"?: string | null;
421
- "phone"?: string | null;
422
- "gender"?: string | null;
298
+ "short_id"?: string | null;
299
+ "first_name": JsonValue | null;
300
+ "last_name": JsonValue | null;
301
+ "email": string | null;
302
+ "national_code": string | null;
303
+ "phone": string | null;
304
+ "gender": string | null;
423
305
  }
424
306
  export interface ClassroomShowClassroomGetResponseData extends JsonObject {
425
307
  "id": string;
308
+ "short_id": string;
426
309
  "course_id": string;
427
- "course_name"?: string | null;
428
- "course_category_id"?: string | null;
429
- "course_sort_order"?: number | null;
430
- "course_passing_mark"?: number | null;
431
- "current_user_score"?: number | null;
432
- "current_user_passed"?: boolean | null;
310
+ "course_name": string | null;
311
+ "course_category_id": string | null;
312
+ "course_sort_order": number | null;
313
+ "course_passing_mark": number | null;
314
+ "current_user_score": number | null;
315
+ "current_user_passed": boolean | null;
433
316
  "session_count": number;
434
317
  "completed_session_count": number;
435
318
  "progress_rate": number;
436
319
  "name": string;
437
- "code"?: string | null;
438
- "description"?: string | null;
439
- "info"?: string | null;
440
- "classroom_type_id"?: string | null;
441
- "school_grade_id"?: string | null;
442
- "grade_id"?: string | null;
443
- "teacher_user_id"?: string | null;
444
- "teacher_profile"?: ClassroomShowClassroomGetResponseDataTeacherProfile | null;
445
- "consultant_user_id"?: string | null;
446
- "consultant_profile"?: ClassroomShowClassroomGetResponseDataConsultantProfile | null;
447
- "support_user_id"?: string | null;
448
- "support_profile"?: ClassroomShowClassroomGetResponseDataSupportProfile | null;
449
- "capacity"?: number | null;
320
+ "code": string | null;
321
+ "description": string | null;
322
+ "info": string | null;
323
+ "classroom_type_id": string | null;
324
+ "school_grade_id": string | null;
325
+ "grade_id": string | null;
326
+ "teacher_user_id": string | null;
327
+ "teacher_profile": ClassroomShowClassroomGetResponseDataTeacherProfile | null;
328
+ "consultant_user_id": string | null;
329
+ "consultant_profile": ClassroomShowClassroomGetResponseDataConsultantProfile | null;
330
+ "support_user_id": string | null;
331
+ "support_profile": ClassroomShowClassroomGetResponseDataSupportProfile | null;
332
+ "student_count": number;
333
+ "capacity": number | null;
450
334
  "notifications": JsonValue;
451
335
  "weekly_schedule": import("./types.js").ClassroomWeeklyScheduleRule[];
452
336
  "check_sessions": JsonValue;
453
- "starts_at"?: string | null;
454
- "ends_at"?: string | null;
337
+ "starts_at": string | null;
338
+ "ends_at": string | null;
455
339
  "status": string;
456
340
  "created_at": string;
457
341
  "updated_at": string;
@@ -482,62 +366,67 @@ export interface ClassroomUpdateClassroomPatchInput extends JsonObject {
482
366
  /** Backend response type: models::ClassroomResponse. */
483
367
  export interface ClassroomUpdateClassroomPatchResponseDataTeacherProfile extends JsonObject {
484
368
  "user_id": string;
485
- "first_name"?: JsonValue | null;
486
- "last_name"?: JsonValue | null;
487
- "email"?: string | null;
488
- "national_code"?: string | null;
489
- "phone"?: string | null;
490
- "gender"?: string | null;
369
+ "short_id"?: string | null;
370
+ "first_name": JsonValue | null;
371
+ "last_name": JsonValue | null;
372
+ "email": string | null;
373
+ "national_code": string | null;
374
+ "phone": string | null;
375
+ "gender": string | null;
491
376
  }
492
377
  export interface ClassroomUpdateClassroomPatchResponseDataConsultantProfile extends JsonObject {
493
378
  "user_id": string;
494
- "first_name"?: JsonValue | null;
495
- "last_name"?: JsonValue | null;
496
- "email"?: string | null;
497
- "national_code"?: string | null;
498
- "phone"?: string | null;
499
- "gender"?: string | null;
379
+ "short_id"?: string | null;
380
+ "first_name": JsonValue | null;
381
+ "last_name": JsonValue | null;
382
+ "email": string | null;
383
+ "national_code": string | null;
384
+ "phone": string | null;
385
+ "gender": string | null;
500
386
  }
501
387
  export interface ClassroomUpdateClassroomPatchResponseDataSupportProfile extends JsonObject {
502
388
  "user_id": string;
503
- "first_name"?: JsonValue | null;
504
- "last_name"?: JsonValue | null;
505
- "email"?: string | null;
506
- "national_code"?: string | null;
507
- "phone"?: string | null;
508
- "gender"?: string | null;
389
+ "short_id"?: string | null;
390
+ "first_name": JsonValue | null;
391
+ "last_name": JsonValue | null;
392
+ "email": string | null;
393
+ "national_code": string | null;
394
+ "phone": string | null;
395
+ "gender": string | null;
509
396
  }
510
397
  export interface ClassroomUpdateClassroomPatchResponseData extends JsonObject {
511
398
  "id": string;
399
+ "short_id": string;
512
400
  "course_id": string;
513
- "course_name"?: string | null;
514
- "course_category_id"?: string | null;
515
- "course_sort_order"?: number | null;
516
- "course_passing_mark"?: number | null;
517
- "current_user_score"?: number | null;
518
- "current_user_passed"?: boolean | null;
401
+ "course_name": string | null;
402
+ "course_category_id": string | null;
403
+ "course_sort_order": number | null;
404
+ "course_passing_mark": number | null;
405
+ "current_user_score": number | null;
406
+ "current_user_passed": boolean | null;
519
407
  "session_count": number;
520
408
  "completed_session_count": number;
521
409
  "progress_rate": number;
522
410
  "name": string;
523
- "code"?: string | null;
524
- "description"?: string | null;
525
- "info"?: string | null;
526
- "classroom_type_id"?: string | null;
527
- "school_grade_id"?: string | null;
528
- "grade_id"?: string | null;
529
- "teacher_user_id"?: string | null;
530
- "teacher_profile"?: ClassroomUpdateClassroomPatchResponseDataTeacherProfile | null;
531
- "consultant_user_id"?: string | null;
532
- "consultant_profile"?: ClassroomUpdateClassroomPatchResponseDataConsultantProfile | null;
533
- "support_user_id"?: string | null;
534
- "support_profile"?: ClassroomUpdateClassroomPatchResponseDataSupportProfile | null;
535
- "capacity"?: number | null;
411
+ "code": string | null;
412
+ "description": string | null;
413
+ "info": string | null;
414
+ "classroom_type_id": string | null;
415
+ "school_grade_id": string | null;
416
+ "grade_id": string | null;
417
+ "teacher_user_id": string | null;
418
+ "teacher_profile": ClassroomUpdateClassroomPatchResponseDataTeacherProfile | null;
419
+ "consultant_user_id": string | null;
420
+ "consultant_profile": ClassroomUpdateClassroomPatchResponseDataConsultantProfile | null;
421
+ "support_user_id": string | null;
422
+ "support_profile": ClassroomUpdateClassroomPatchResponseDataSupportProfile | null;
423
+ "student_count": number;
424
+ "capacity": number | null;
536
425
  "notifications": JsonValue;
537
426
  "weekly_schedule": import("./types.js").ClassroomWeeklyScheduleRule[];
538
427
  "check_sessions": JsonValue;
539
- "starts_at"?: string | null;
540
- "ends_at"?: string | null;
428
+ "starts_at": string | null;
429
+ "ends_at": string | null;
541
430
  "status": string;
542
431
  "created_at": string;
543
432
  "updated_at": string;
@@ -556,27 +445,28 @@ export interface ClassroomShowCompletionGetResponseDataCertificateTemplates exte
556
445
  }
557
446
  export interface ClassroomShowCompletionGetResponseDataStudentsProfile extends JsonObject {
558
447
  "user_id": string;
559
- "first_name"?: JsonValue | null;
560
- "last_name"?: JsonValue | null;
561
- "email"?: string | null;
562
- "national_code"?: string | null;
563
- "phone"?: string | null;
564
- "gender"?: string | null;
448
+ "short_id"?: string | null;
449
+ "first_name": JsonValue | null;
450
+ "last_name": JsonValue | null;
451
+ "email": string | null;
452
+ "national_code": string | null;
453
+ "phone": string | null;
454
+ "gender": string | null;
565
455
  }
566
456
  export interface ClassroomShowCompletionGetResponseDataStudentsExamScores extends JsonObject {
567
457
  "exam_session_id": string;
568
- "score"?: number | null;
569
- "teacher_score"?: number | null;
570
- "effective_score"?: number | null;
458
+ "score": number | null;
459
+ "teacher_score": number | null;
460
+ "effective_score": number | null;
571
461
  "status": string;
572
462
  }
573
463
  export interface ClassroomShowCompletionGetResponseDataStudents extends JsonObject {
574
464
  "user_id": string;
575
- "profile"?: ClassroomShowCompletionGetResponseDataStudentsProfile | null;
465
+ "profile": ClassroomShowCompletionGetResponseDataStudentsProfile | null;
576
466
  "exam_scores": ClassroomShowCompletionGetResponseDataStudentsExamScores[];
577
- "suggested_final_score"?: number | null;
578
- "final_score"?: number | null;
579
- "passed"?: boolean | null;
467
+ "suggested_final_score": number | null;
468
+ "final_score": number | null;
469
+ "passed": boolean | null;
580
470
  }
581
471
  export interface ClassroomShowCompletionGetResponseData extends JsonObject {
582
472
  "classroom_id": string;
@@ -584,7 +474,7 @@ export interface ClassroomShowCompletionGetResponseData extends JsonObject {
584
474
  "classroom_status": string;
585
475
  "course_id": string;
586
476
  "course_name": string;
587
- "passing_mark"?: number | null;
477
+ "passing_mark": number | null;
588
478
  "exams": ClassroomShowCompletionGetResponseDataExams[];
589
479
  "certificate_templates": ClassroomShowCompletionGetResponseDataCertificateTemplates[];
590
480
  "students": ClassroomShowCompletionGetResponseDataStudents[];
@@ -611,25 +501,26 @@ export interface ClassroomFinalizeClassroomPostResponse extends ApiEnvelope<Clas
611
501
  }
612
502
  /** Backend query type: PaginationQuery. */
613
503
  export interface ClassroomIndexClassroomUsersGetQuery extends QueryParams {
614
- "page_number"?: number | null;
615
- "page_size"?: number | null;
504
+ "page[number]"?: number | null;
505
+ "page[size]"?: number | null;
616
506
  }
617
507
  /** Backend response type: crate::models::PagedResult<models::ClassroomUserResponse>. */
618
508
  export interface ClassroomIndexClassroomUsersGetResponseItemProfile extends JsonObject {
619
509
  "user_id": string;
620
- "first_name"?: JsonValue | null;
621
- "last_name"?: JsonValue | null;
622
- "email"?: string | null;
623
- "national_code"?: string | null;
624
- "phone"?: string | null;
625
- "gender"?: string | null;
510
+ "short_id"?: string | null;
511
+ "first_name": JsonValue | null;
512
+ "last_name": JsonValue | null;
513
+ "email": string | null;
514
+ "national_code": string | null;
515
+ "phone": string | null;
516
+ "gender": string | null;
626
517
  }
627
518
  export interface ClassroomIndexClassroomUsersGetResponseItem extends JsonObject {
628
519
  "id": string;
629
520
  "classroom_id": string;
630
521
  "user_id": string;
631
- "profile"?: ClassroomIndexClassroomUsersGetResponseItemProfile | null;
632
- "score"?: number | null;
522
+ "profile": ClassroomIndexClassroomUsersGetResponseItemProfile | null;
523
+ "score": number | null;
633
524
  "status": string;
634
525
  "created_at": string;
635
526
  "updated_at": string;
@@ -655,19 +546,20 @@ export interface ClassroomEnrollClassroomUserPostInput extends JsonObject {
655
546
  /** Backend response type: models::ClassroomUserResponse. */
656
547
  export interface ClassroomEnrollClassroomUserPostResponseDataProfile extends JsonObject {
657
548
  "user_id": string;
658
- "first_name"?: JsonValue | null;
659
- "last_name"?: JsonValue | null;
660
- "email"?: string | null;
661
- "national_code"?: string | null;
662
- "phone"?: string | null;
663
- "gender"?: string | null;
549
+ "short_id"?: string | null;
550
+ "first_name": JsonValue | null;
551
+ "last_name": JsonValue | null;
552
+ "email": string | null;
553
+ "national_code": string | null;
554
+ "phone": string | null;
555
+ "gender": string | null;
664
556
  }
665
557
  export interface ClassroomEnrollClassroomUserPostResponseData extends JsonObject {
666
558
  "id": string;
667
559
  "classroom_id": string;
668
560
  "user_id": string;
669
- "profile"?: ClassroomEnrollClassroomUserPostResponseDataProfile | null;
670
- "score"?: number | null;
561
+ "profile": ClassroomEnrollClassroomUserPostResponseDataProfile | null;
562
+ "score": number | null;
671
563
  "status": string;
672
564
  "created_at": string;
673
565
  "updated_at": string;
@@ -675,8 +567,7 @@ export interface ClassroomEnrollClassroomUserPostResponseData extends JsonObject
675
567
  export interface ClassroomEnrollClassroomUserPostResponse extends ApiEnvelope<ClassroomEnrollClassroomUserPostResponseData> {
676
568
  }
677
569
  /** Backend response type: (). */
678
- export interface ClassroomRemoveClassroomUserDeleteResponse extends ApiEnvelope<JsonObject> {
679
- }
570
+ export type ClassroomRemoveClassroomUserDeleteResponse = ApiEnvelope<null>;
680
571
  /** Backend request type: models::UpdateClassroomUserRequest. */
681
572
  export interface ClassroomUpdateClassroomUserPatchInput extends JsonObject {
682
573
  "score"?: number | null;
@@ -685,19 +576,20 @@ export interface ClassroomUpdateClassroomUserPatchInput extends JsonObject {
685
576
  /** Backend response type: models::ClassroomUserResponse. */
686
577
  export interface ClassroomUpdateClassroomUserPatchResponseDataProfile extends JsonObject {
687
578
  "user_id": string;
688
- "first_name"?: JsonValue | null;
689
- "last_name"?: JsonValue | null;
690
- "email"?: string | null;
691
- "national_code"?: string | null;
692
- "phone"?: string | null;
693
- "gender"?: string | null;
579
+ "short_id"?: string | null;
580
+ "first_name": JsonValue | null;
581
+ "last_name": JsonValue | null;
582
+ "email": string | null;
583
+ "national_code": string | null;
584
+ "phone": string | null;
585
+ "gender": string | null;
694
586
  }
695
587
  export interface ClassroomUpdateClassroomUserPatchResponseData extends JsonObject {
696
588
  "id": string;
697
589
  "classroom_id": string;
698
590
  "user_id": string;
699
- "profile"?: ClassroomUpdateClassroomUserPatchResponseDataProfile | null;
700
- "score"?: number | null;
591
+ "profile": ClassroomUpdateClassroomUserPatchResponseDataProfile | null;
592
+ "score": number | null;
701
593
  "status": string;
702
594
  "created_at": string;
703
595
  "updated_at": string;
@@ -709,14 +601,14 @@ export interface IntegrationBatchClassroomsPostInput extends JsonObject {
709
601
  "ids"?: string[];
710
602
  }
711
603
  /** Backend response type: Value. */
712
- export interface IntegrationBatchClassroomsPostResponse extends ApiEnvelope<JsonValue> {
713
- }
604
+ export type IntegrationBatchClassroomsPostResponseData = import("./wire.types.js").LmsBatchClassrooms;
605
+ export type IntegrationBatchClassroomsPostResponse = ApiEnvelope<import("./wire.types.js").LmsBatchClassrooms>;
714
606
  /** Backend response type: Vec<models::ClassroomSessionTypeResponse>. */
715
607
  export interface ClassroomIndexSessionTypesGetResponseItem extends JsonObject {
716
608
  "id": string;
717
609
  "code": string;
718
610
  "name": string;
719
- "name_fa"?: string | null;
611
+ "name_fa": string | null;
720
612
  "is_online": boolean;
721
613
  "status": string;
722
614
  "sort_order": number;
@@ -727,8 +619,8 @@ export interface ClassroomIndexSessionTypesGetResponse extends ApiEnvelope<Class
727
619
  }
728
620
  /** Backend query type: models::SessionListQuery. */
729
621
  export interface ClassroomIndexSessionGetQuery extends QueryParams {
730
- "page_number"?: number | null;
731
- "page_size"?: number | null;
622
+ "page[number]"?: number | null;
623
+ "page[size]"?: number | null;
732
624
  "status"?: string | null;
733
625
  "classroom_id"?: string | null;
734
626
  "user_id"?: string | null;
@@ -740,18 +632,18 @@ export interface ClassroomIndexSessionGetResponseItemCourseSession extends JsonO
740
632
  "id": string;
741
633
  "course_id": string;
742
634
  "name": string;
743
- "description"?: string | null;
635
+ "description": string | null;
744
636
  "sort_order": number;
745
637
  "session_type": string;
746
- "session_type_id"?: string | null;
747
- "duration_minutes"?: number | null;
638
+ "session_type_id": string | null;
639
+ "duration_minutes": number | null;
748
640
  "status": string;
749
641
  }
750
642
  export interface ClassroomIndexSessionGetResponseItemSessionType extends JsonObject {
751
643
  "id": string;
752
644
  "code": string;
753
645
  "name": string;
754
- "name_fa"?: string | null;
646
+ "name_fa": string | null;
755
647
  "is_online": boolean;
756
648
  "status": string;
757
649
  "sort_order": number;
@@ -760,39 +652,39 @@ export interface ClassroomIndexSessionGetResponseItemSessionType extends JsonObj
760
652
  }
761
653
  export interface ClassroomIndexSessionGetResponseItemTeacherProfile extends JsonObject {
762
654
  "user_id": string;
763
- "first_name"?: JsonValue | null;
764
- "last_name"?: JsonValue | null;
765
- "email"?: string | null;
766
- "national_code"?: string | null;
767
- "phone"?: string | null;
768
- "gender"?: string | null;
655
+ "short_id"?: string | null;
656
+ "first_name": JsonValue | null;
657
+ "last_name": JsonValue | null;
658
+ "email": string | null;
659
+ "national_code": string | null;
660
+ "phone": string | null;
661
+ "gender": string | null;
769
662
  }
770
663
  export interface ClassroomIndexSessionGetResponseItem extends JsonObject {
771
664
  "id": string;
772
665
  "classroom_id": string;
773
- "classroom_name"?: string | null;
774
- "course_session_id"?: string | null;
775
- "course_session"?: ClassroomIndexSessionGetResponseItemCourseSession | null;
776
- "course_session_type_id"?: string | null;
777
- "session_type"?: ClassroomIndexSessionGetResponseItemSessionType | null;
778
- "name"?: string | null;
779
- "session_number"?: number | null;
780
- "duration_minutes"?: number | null;
781
- "description"?: string | null;
782
- "teacher_user_id"?: string | null;
783
- "teacher_profile"?: ClassroomIndexSessionGetResponseItemTeacherProfile | null;
666
+ "classroom_name": string | null;
667
+ "course_session_id": string | null;
668
+ "course_session": ClassroomIndexSessionGetResponseItemCourseSession | null;
669
+ "course_session_type_id": string | null;
670
+ "session_type": ClassroomIndexSessionGetResponseItemSessionType | null;
671
+ "name": string | null;
672
+ "session_number": number | null;
673
+ "duration_minutes": number | null;
674
+ "description": string | null;
675
+ "teacher_user_id": string | null;
676
+ "teacher_profile": ClassroomIndexSessionGetResponseItemTeacherProfile | null;
784
677
  "locked": boolean;
785
678
  "auto_unlock": boolean;
786
679
  "auto_present": boolean;
787
680
  "invited": boolean;
788
- "student_user_ids"?: string[] | null;
789
- "session_room_id"?: string | null;
790
- "session_lifecycle_status"?: string | null;
681
+ "student_user_ids": string[] | null;
682
+ "session_room_id": string | null;
683
+ "session_lifecycle_status": string | null;
791
684
  "session_access_mode": string;
792
685
  "session_archive_ready": boolean;
793
- "legacy_source_id"?: number | null;
794
- "starts_at"?: string | null;
795
- "ends_at"?: string | null;
686
+ "starts_at": string | null;
687
+ "ends_at": string | null;
796
688
  "status": string;
797
689
  "created_at": string;
798
690
  "updated_at": string;
@@ -832,18 +724,18 @@ export interface ClassroomStoreSessionPostResponseDataCourseSession extends Json
832
724
  "id": string;
833
725
  "course_id": string;
834
726
  "name": string;
835
- "description"?: string | null;
727
+ "description": string | null;
836
728
  "sort_order": number;
837
729
  "session_type": string;
838
- "session_type_id"?: string | null;
839
- "duration_minutes"?: number | null;
730
+ "session_type_id": string | null;
731
+ "duration_minutes": number | null;
840
732
  "status": string;
841
733
  }
842
734
  export interface ClassroomStoreSessionPostResponseDataSessionType extends JsonObject {
843
735
  "id": string;
844
736
  "code": string;
845
737
  "name": string;
846
- "name_fa"?: string | null;
738
+ "name_fa": string | null;
847
739
  "is_online": boolean;
848
740
  "status": string;
849
741
  "sort_order": number;
@@ -852,39 +744,39 @@ export interface ClassroomStoreSessionPostResponseDataSessionType extends JsonOb
852
744
  }
853
745
  export interface ClassroomStoreSessionPostResponseDataTeacherProfile extends JsonObject {
854
746
  "user_id": string;
855
- "first_name"?: JsonValue | null;
856
- "last_name"?: JsonValue | null;
857
- "email"?: string | null;
858
- "national_code"?: string | null;
859
- "phone"?: string | null;
860
- "gender"?: string | null;
747
+ "short_id"?: string | null;
748
+ "first_name": JsonValue | null;
749
+ "last_name": JsonValue | null;
750
+ "email": string | null;
751
+ "national_code": string | null;
752
+ "phone": string | null;
753
+ "gender": string | null;
861
754
  }
862
755
  export interface ClassroomStoreSessionPostResponseData extends JsonObject {
863
756
  "id": string;
864
757
  "classroom_id": string;
865
- "classroom_name"?: string | null;
866
- "course_session_id"?: string | null;
867
- "course_session"?: ClassroomStoreSessionPostResponseDataCourseSession | null;
868
- "course_session_type_id"?: string | null;
869
- "session_type"?: ClassroomStoreSessionPostResponseDataSessionType | null;
870
- "name"?: string | null;
871
- "session_number"?: number | null;
872
- "duration_minutes"?: number | null;
873
- "description"?: string | null;
874
- "teacher_user_id"?: string | null;
875
- "teacher_profile"?: ClassroomStoreSessionPostResponseDataTeacherProfile | null;
758
+ "classroom_name": string | null;
759
+ "course_session_id": string | null;
760
+ "course_session": ClassroomStoreSessionPostResponseDataCourseSession | null;
761
+ "course_session_type_id": string | null;
762
+ "session_type": ClassroomStoreSessionPostResponseDataSessionType | null;
763
+ "name": string | null;
764
+ "session_number": number | null;
765
+ "duration_minutes": number | null;
766
+ "description": string | null;
767
+ "teacher_user_id": string | null;
768
+ "teacher_profile": ClassroomStoreSessionPostResponseDataTeacherProfile | null;
876
769
  "locked": boolean;
877
770
  "auto_unlock": boolean;
878
771
  "auto_present": boolean;
879
772
  "invited": boolean;
880
- "student_user_ids"?: string[] | null;
881
- "session_room_id"?: string | null;
882
- "session_lifecycle_status"?: string | null;
773
+ "student_user_ids": string[] | null;
774
+ "session_room_id": string | null;
775
+ "session_lifecycle_status": string | null;
883
776
  "session_access_mode": string;
884
777
  "session_archive_ready": boolean;
885
- "legacy_source_id"?: number | null;
886
- "starts_at"?: string | null;
887
- "ends_at"?: string | null;
778
+ "starts_at": string | null;
779
+ "ends_at": string | null;
888
780
  "status": string;
889
781
  "created_at": string;
890
782
  "updated_at": string;
@@ -896,18 +788,18 @@ export interface ClassroomShowSessionGetResponseDataCourseSession extends JsonOb
896
788
  "id": string;
897
789
  "course_id": string;
898
790
  "name": string;
899
- "description"?: string | null;
791
+ "description": string | null;
900
792
  "sort_order": number;
901
793
  "session_type": string;
902
- "session_type_id"?: string | null;
903
- "duration_minutes"?: number | null;
794
+ "session_type_id": string | null;
795
+ "duration_minutes": number | null;
904
796
  "status": string;
905
797
  }
906
798
  export interface ClassroomShowSessionGetResponseDataSessionType extends JsonObject {
907
799
  "id": string;
908
800
  "code": string;
909
801
  "name": string;
910
- "name_fa"?: string | null;
802
+ "name_fa": string | null;
911
803
  "is_online": boolean;
912
804
  "status": string;
913
805
  "sort_order": number;
@@ -916,39 +808,39 @@ export interface ClassroomShowSessionGetResponseDataSessionType extends JsonObje
916
808
  }
917
809
  export interface ClassroomShowSessionGetResponseDataTeacherProfile extends JsonObject {
918
810
  "user_id": string;
919
- "first_name"?: JsonValue | null;
920
- "last_name"?: JsonValue | null;
921
- "email"?: string | null;
922
- "national_code"?: string | null;
923
- "phone"?: string | null;
924
- "gender"?: string | null;
811
+ "short_id"?: string | null;
812
+ "first_name": JsonValue | null;
813
+ "last_name": JsonValue | null;
814
+ "email": string | null;
815
+ "national_code": string | null;
816
+ "phone": string | null;
817
+ "gender": string | null;
925
818
  }
926
819
  export interface ClassroomShowSessionGetResponseData extends JsonObject {
927
820
  "id": string;
928
821
  "classroom_id": string;
929
- "classroom_name"?: string | null;
930
- "course_session_id"?: string | null;
931
- "course_session"?: ClassroomShowSessionGetResponseDataCourseSession | null;
932
- "course_session_type_id"?: string | null;
933
- "session_type"?: ClassroomShowSessionGetResponseDataSessionType | null;
934
- "name"?: string | null;
935
- "session_number"?: number | null;
936
- "duration_minutes"?: number | null;
937
- "description"?: string | null;
938
- "teacher_user_id"?: string | null;
939
- "teacher_profile"?: ClassroomShowSessionGetResponseDataTeacherProfile | null;
822
+ "classroom_name": string | null;
823
+ "course_session_id": string | null;
824
+ "course_session": ClassroomShowSessionGetResponseDataCourseSession | null;
825
+ "course_session_type_id": string | null;
826
+ "session_type": ClassroomShowSessionGetResponseDataSessionType | null;
827
+ "name": string | null;
828
+ "session_number": number | null;
829
+ "duration_minutes": number | null;
830
+ "description": string | null;
831
+ "teacher_user_id": string | null;
832
+ "teacher_profile": ClassroomShowSessionGetResponseDataTeacherProfile | null;
940
833
  "locked": boolean;
941
834
  "auto_unlock": boolean;
942
835
  "auto_present": boolean;
943
836
  "invited": boolean;
944
- "student_user_ids"?: string[] | null;
945
- "session_room_id"?: string | null;
946
- "session_lifecycle_status"?: string | null;
837
+ "student_user_ids": string[] | null;
838
+ "session_room_id": string | null;
839
+ "session_lifecycle_status": string | null;
947
840
  "session_access_mode": string;
948
841
  "session_archive_ready": boolean;
949
- "legacy_source_id"?: number | null;
950
- "starts_at"?: string | null;
951
- "ends_at"?: string | null;
842
+ "starts_at": string | null;
843
+ "ends_at": string | null;
952
844
  "status": string;
953
845
  "created_at": string;
954
846
  "updated_at": string;
@@ -979,18 +871,18 @@ export interface ClassroomUpdateSessionPatchResponseDataCourseSession extends Js
979
871
  "id": string;
980
872
  "course_id": string;
981
873
  "name": string;
982
- "description"?: string | null;
874
+ "description": string | null;
983
875
  "sort_order": number;
984
876
  "session_type": string;
985
- "session_type_id"?: string | null;
986
- "duration_minutes"?: number | null;
877
+ "session_type_id": string | null;
878
+ "duration_minutes": number | null;
987
879
  "status": string;
988
880
  }
989
881
  export interface ClassroomUpdateSessionPatchResponseDataSessionType extends JsonObject {
990
882
  "id": string;
991
883
  "code": string;
992
884
  "name": string;
993
- "name_fa"?: string | null;
885
+ "name_fa": string | null;
994
886
  "is_online": boolean;
995
887
  "status": string;
996
888
  "sort_order": number;
@@ -999,39 +891,39 @@ export interface ClassroomUpdateSessionPatchResponseDataSessionType extends Json
999
891
  }
1000
892
  export interface ClassroomUpdateSessionPatchResponseDataTeacherProfile extends JsonObject {
1001
893
  "user_id": string;
1002
- "first_name"?: JsonValue | null;
1003
- "last_name"?: JsonValue | null;
1004
- "email"?: string | null;
1005
- "national_code"?: string | null;
1006
- "phone"?: string | null;
1007
- "gender"?: string | null;
894
+ "short_id"?: string | null;
895
+ "first_name": JsonValue | null;
896
+ "last_name": JsonValue | null;
897
+ "email": string | null;
898
+ "national_code": string | null;
899
+ "phone": string | null;
900
+ "gender": string | null;
1008
901
  }
1009
902
  export interface ClassroomUpdateSessionPatchResponseData extends JsonObject {
1010
903
  "id": string;
1011
904
  "classroom_id": string;
1012
- "classroom_name"?: string | null;
1013
- "course_session_id"?: string | null;
1014
- "course_session"?: ClassroomUpdateSessionPatchResponseDataCourseSession | null;
1015
- "course_session_type_id"?: string | null;
1016
- "session_type"?: ClassroomUpdateSessionPatchResponseDataSessionType | null;
1017
- "name"?: string | null;
1018
- "session_number"?: number | null;
1019
- "duration_minutes"?: number | null;
1020
- "description"?: string | null;
1021
- "teacher_user_id"?: string | null;
1022
- "teacher_profile"?: ClassroomUpdateSessionPatchResponseDataTeacherProfile | null;
905
+ "classroom_name": string | null;
906
+ "course_session_id": string | null;
907
+ "course_session": ClassroomUpdateSessionPatchResponseDataCourseSession | null;
908
+ "course_session_type_id": string | null;
909
+ "session_type": ClassroomUpdateSessionPatchResponseDataSessionType | null;
910
+ "name": string | null;
911
+ "session_number": number | null;
912
+ "duration_minutes": number | null;
913
+ "description": string | null;
914
+ "teacher_user_id": string | null;
915
+ "teacher_profile": ClassroomUpdateSessionPatchResponseDataTeacherProfile | null;
1023
916
  "locked": boolean;
1024
917
  "auto_unlock": boolean;
1025
918
  "auto_present": boolean;
1026
919
  "invited": boolean;
1027
- "student_user_ids"?: string[] | null;
1028
- "session_room_id"?: string | null;
1029
- "session_lifecycle_status"?: string | null;
920
+ "student_user_ids": string[] | null;
921
+ "session_room_id": string | null;
922
+ "session_lifecycle_status": string | null;
1030
923
  "session_access_mode": string;
1031
924
  "session_archive_ready": boolean;
1032
- "legacy_source_id"?: number | null;
1033
- "starts_at"?: string | null;
1034
- "ends_at"?: string | null;
925
+ "starts_at": string | null;
926
+ "ends_at": string | null;
1035
927
  "status": string;
1036
928
  "created_at": string;
1037
929
  "updated_at": string;
@@ -1040,30 +932,31 @@ export interface ClassroomUpdateSessionPatchResponse extends ApiEnvelope<Classro
1040
932
  }
1041
933
  /** Backend query type: PaginationQuery. */
1042
934
  export interface ClassroomIndexAttendanceGetQuery extends QueryParams {
1043
- "page_number"?: number | null;
1044
- "page_size"?: number | null;
935
+ "page[number]"?: number | null;
936
+ "page[size]"?: number | null;
1045
937
  }
1046
938
  /** Backend response type: crate::models::PagedResult<models::AbsenceResponse>. */
1047
939
  export interface ClassroomIndexAttendanceGetResponseItemProfile extends JsonObject {
1048
940
  "user_id": string;
1049
- "first_name"?: JsonValue | null;
1050
- "last_name"?: JsonValue | null;
1051
- "email"?: string | null;
1052
- "national_code"?: string | null;
1053
- "phone"?: string | null;
1054
- "gender"?: string | null;
941
+ "short_id"?: string | null;
942
+ "first_name": JsonValue | null;
943
+ "last_name": JsonValue | null;
944
+ "email": string | null;
945
+ "national_code": string | null;
946
+ "phone": string | null;
947
+ "gender": string | null;
1055
948
  }
1056
949
  export interface ClassroomIndexAttendanceGetResponseItem extends JsonObject {
1057
950
  "id": string;
1058
951
  "classroom_session_id": string;
1059
952
  "user_id": string;
1060
- "profile"?: ClassroomIndexAttendanceGetResponseItemProfile | null;
953
+ "profile": ClassroomIndexAttendanceGetResponseItemProfile | null;
1061
954
  "status": string;
1062
- "absence_reason"?: string | null;
955
+ "absence_reason": string | null;
1063
956
  "attendance_mode": "online" | "in_person";
1064
957
  "online": boolean;
1065
- "attended_seconds"?: number | null;
1066
- "description"?: string | null;
958
+ "attended_seconds": number | null;
959
+ "description": string | null;
1067
960
  "ratings": JsonValue;
1068
961
  "created_at": string;
1069
962
  "updated_at": string;
@@ -1103,8 +996,8 @@ export interface ClassroomRecordAttendancePutResponse extends ApiEnvelope<Classr
1103
996
  }
1104
997
  /** Backend query type: models::TodaySessionListQuery. */
1105
998
  export interface ClassroomIndexTodaySessionsGetQuery extends QueryParams {
1106
- "page_number"?: number | null;
1107
- "page_size"?: number | null;
999
+ "page[number]"?: number | null;
1000
+ "page[size]"?: number | null;
1108
1001
  "date"?: string | null;
1109
1002
  "timezone_offset_minutes"?: number | null;
1110
1003
  }
@@ -1113,18 +1006,18 @@ export interface ClassroomIndexTodaySessionsGetResponseItemCourseSession extends
1113
1006
  "id": string;
1114
1007
  "course_id": string;
1115
1008
  "name": string;
1116
- "description"?: string | null;
1009
+ "description": string | null;
1117
1010
  "sort_order": number;
1118
1011
  "session_type": string;
1119
- "session_type_id"?: string | null;
1120
- "duration_minutes"?: number | null;
1012
+ "session_type_id": string | null;
1013
+ "duration_minutes": number | null;
1121
1014
  "status": string;
1122
1015
  }
1123
1016
  export interface ClassroomIndexTodaySessionsGetResponseItemSessionType extends JsonObject {
1124
1017
  "id": string;
1125
1018
  "code": string;
1126
1019
  "name": string;
1127
- "name_fa"?: string | null;
1020
+ "name_fa": string | null;
1128
1021
  "is_online": boolean;
1129
1022
  "status": string;
1130
1023
  "sort_order": number;
@@ -1133,39 +1026,39 @@ export interface ClassroomIndexTodaySessionsGetResponseItemSessionType extends J
1133
1026
  }
1134
1027
  export interface ClassroomIndexTodaySessionsGetResponseItemTeacherProfile extends JsonObject {
1135
1028
  "user_id": string;
1136
- "first_name"?: JsonValue | null;
1137
- "last_name"?: JsonValue | null;
1138
- "email"?: string | null;
1139
- "national_code"?: string | null;
1140
- "phone"?: string | null;
1141
- "gender"?: string | null;
1029
+ "short_id"?: string | null;
1030
+ "first_name": JsonValue | null;
1031
+ "last_name": JsonValue | null;
1032
+ "email": string | null;
1033
+ "national_code": string | null;
1034
+ "phone": string | null;
1035
+ "gender": string | null;
1142
1036
  }
1143
1037
  export interface ClassroomIndexTodaySessionsGetResponseItem extends JsonObject {
1144
1038
  "id": string;
1145
1039
  "classroom_id": string;
1146
- "classroom_name"?: string | null;
1147
- "course_session_id"?: string | null;
1148
- "course_session"?: ClassroomIndexTodaySessionsGetResponseItemCourseSession | null;
1149
- "course_session_type_id"?: string | null;
1150
- "session_type"?: ClassroomIndexTodaySessionsGetResponseItemSessionType | null;
1151
- "name"?: string | null;
1152
- "session_number"?: number | null;
1153
- "duration_minutes"?: number | null;
1154
- "description"?: string | null;
1155
- "teacher_user_id"?: string | null;
1156
- "teacher_profile"?: ClassroomIndexTodaySessionsGetResponseItemTeacherProfile | null;
1040
+ "classroom_name": string | null;
1041
+ "course_session_id": string | null;
1042
+ "course_session": ClassroomIndexTodaySessionsGetResponseItemCourseSession | null;
1043
+ "course_session_type_id": string | null;
1044
+ "session_type": ClassroomIndexTodaySessionsGetResponseItemSessionType | null;
1045
+ "name": string | null;
1046
+ "session_number": number | null;
1047
+ "duration_minutes": number | null;
1048
+ "description": string | null;
1049
+ "teacher_user_id": string | null;
1050
+ "teacher_profile": ClassroomIndexTodaySessionsGetResponseItemTeacherProfile | null;
1157
1051
  "locked": boolean;
1158
1052
  "auto_unlock": boolean;
1159
1053
  "auto_present": boolean;
1160
1054
  "invited": boolean;
1161
- "student_user_ids"?: string[] | null;
1162
- "session_room_id"?: string | null;
1163
- "session_lifecycle_status"?: string | null;
1055
+ "student_user_ids": string[] | null;
1056
+ "session_room_id": string | null;
1057
+ "session_lifecycle_status": string | null;
1164
1058
  "session_access_mode": string;
1165
1059
  "session_archive_ready": boolean;
1166
- "legacy_source_id"?: number | null;
1167
- "starts_at"?: string | null;
1168
- "ends_at"?: string | null;
1060
+ "starts_at": string | null;
1061
+ "ends_at": string | null;
1169
1062
  "status": string;
1170
1063
  "created_at": string;
1171
1064
  "updated_at": string;
@@ -1183,41 +1076,42 @@ export interface ClassroomIndexTodaySessionsGetResponseData extends JsonObject {
1183
1076
  export interface ClassroomIndexTodaySessionsGetResponse extends ApiEnvelope<ClassroomIndexTodaySessionsGetResponseData> {
1184
1077
  }
1185
1078
  /** Backend response type: Value. */
1186
- export interface IntegrationCurrentClassroomUsersGetResponse extends ApiEnvelope<JsonValue> {
1187
- }
1079
+ export type IntegrationCurrentClassroomUsersGetResponseData = import("./wire.types.js").LmsCurrentClassroomUsers;
1080
+ export type IntegrationCurrentClassroomUsersGetResponse = ApiEnvelope<import("./wire.types.js").LmsCurrentClassroomUsers>;
1188
1081
  /** Backend request type: UserIdBatch. */
1189
1082
  export interface IntegrationDropoutEligibilityPostInput extends JsonObject {
1190
1083
  "user_ids"?: string[];
1191
1084
  }
1192
1085
  /** Backend response type: Value. */
1193
- export interface IntegrationDropoutEligibilityPostResponse extends ApiEnvelope<JsonValue> {
1194
- }
1086
+ export type IntegrationDropoutEligibilityPostResponseData = import("./wire.types.js").LmsDropoutEligibility;
1087
+ export type IntegrationDropoutEligibilityPostResponse = ApiEnvelope<import("./wire.types.js").LmsDropoutEligibility>;
1195
1088
  /** Backend query type: PaginationQuery. */
1196
1089
  export interface ClassroomIndexAbsencesGetQuery extends QueryParams {
1197
- "page_number"?: number | null;
1198
- "page_size"?: number | null;
1090
+ "page[number]"?: number | null;
1091
+ "page[size]"?: number | null;
1199
1092
  }
1200
1093
  /** Backend response type: crate::models::PagedResult<models::AbsenceResponse>. */
1201
1094
  export interface ClassroomIndexAbsencesGetResponseItemProfile extends JsonObject {
1202
1095
  "user_id": string;
1203
- "first_name"?: JsonValue | null;
1204
- "last_name"?: JsonValue | null;
1205
- "email"?: string | null;
1206
- "national_code"?: string | null;
1207
- "phone"?: string | null;
1208
- "gender"?: string | null;
1096
+ "short_id"?: string | null;
1097
+ "first_name": JsonValue | null;
1098
+ "last_name": JsonValue | null;
1099
+ "email": string | null;
1100
+ "national_code": string | null;
1101
+ "phone": string | null;
1102
+ "gender": string | null;
1209
1103
  }
1210
1104
  export interface ClassroomIndexAbsencesGetResponseItem extends JsonObject {
1211
1105
  "id": string;
1212
1106
  "classroom_session_id": string;
1213
1107
  "user_id": string;
1214
- "profile"?: ClassroomIndexAbsencesGetResponseItemProfile | null;
1108
+ "profile": ClassroomIndexAbsencesGetResponseItemProfile | null;
1215
1109
  "status": string;
1216
- "absence_reason"?: string | null;
1110
+ "absence_reason": string | null;
1217
1111
  "attendance_mode": "online" | "in_person";
1218
1112
  "online": boolean;
1219
- "attended_seconds"?: number | null;
1220
- "description"?: string | null;
1113
+ "attended_seconds": number | null;
1114
+ "description": string | null;
1221
1115
  "ratings": JsonValue;
1222
1116
  "created_at": string;
1223
1117
  "updated_at": string;
@@ -1235,39 +1129,22 @@ export interface ClassroomIndexAbsencesGetResponseData extends JsonObject {
1235
1129
  export interface ClassroomIndexAbsencesGetResponse extends ApiEnvelope<ClassroomIndexAbsencesGetResponseData> {
1236
1130
  }
1237
1131
  /** Backend response type: Branding. */
1238
- export interface BrandingShowGetResponseData extends JsonObject {
1239
- "title"?: string | null;
1240
- "localizations": Record<string, BackendJson<"BrandText">>;
1241
- "icon_asset_key"?: string | null;
1242
- "icon_url"?: string | null;
1243
- }
1244
- export interface BrandingShowGetResponse extends ApiEnvelope<BrandingShowGetResponseData> {
1245
- }
1132
+ export type BrandingShowGetResponseData = import("./branding.types.js").LmsBranding;
1133
+ export type BrandingShowGetResponse = import("@faiber/sdk-core").ApiEnvelope<import("./branding.types.js").LmsBranding>;
1246
1134
  /** Backend request type: Branding. */
1247
- export interface BrandingUpdatePutInput extends JsonObject {
1248
- "title"?: string | null;
1249
- "localizations": Record<string, BackendJson<"BrandText">>;
1250
- "icon_asset_key"?: string | null;
1251
- "icon_url"?: string | null;
1252
- }
1135
+ export type BrandingUpdatePutInput = import("./branding.types.js").LmsBrandingInput;
1253
1136
  /** Backend response type: Branding. */
1254
- export interface BrandingUpdatePutResponseData extends JsonObject {
1255
- "title"?: string | null;
1256
- "localizations": Record<string, BackendJson<"BrandText">>;
1257
- "icon_asset_key"?: string | null;
1258
- "icon_url"?: string | null;
1259
- }
1260
- export interface BrandingUpdatePutResponse extends ApiEnvelope<BrandingUpdatePutResponseData> {
1261
- }
1137
+ export type BrandingUpdatePutResponseData = import("./branding.types.js").LmsBranding;
1138
+ export type BrandingUpdatePutResponse = import("@faiber/sdk-core").ApiEnvelope<import("./branding.types.js").LmsBranding>;
1262
1139
  /** Backend request type: multipart/form-data. */
1263
1140
  export type BrandingUploadPostInput = FormData;
1264
1141
  /** Backend response type: serde_json::Value. */
1265
- export interface BrandingUploadPostResponse extends ApiEnvelope<JsonValue> {
1266
- }
1142
+ export type BrandingUploadPostResponseData = import("./wire.types.js").LmsBrandingUpload;
1143
+ export type BrandingUploadPostResponse = ApiEnvelope<import("./wire.types.js").LmsBrandingUpload>;
1267
1144
  /** Backend query type: PaginationQuery. */
1268
1145
  export interface ConfigIndexClassroomTypeGetQuery extends QueryParams {
1269
- "page_number"?: number | null;
1270
- "page_size"?: number | null;
1146
+ "page[number]"?: number | null;
1147
+ "page[size]"?: number | null;
1271
1148
  }
1272
1149
  /** Backend response type: crate::models::PagedResult<models::ClassroomTypeResponse>. */
1273
1150
  export interface ConfigIndexClassroomTypeGetResponseItem extends JsonObject {
@@ -1321,15 +1198,15 @@ export interface ConfigUpdateClassroomTypePatchResponse extends ApiEnvelope<Conf
1321
1198
  }
1322
1199
  /** Backend query type: PaginationQuery. */
1323
1200
  export interface ConfigIndexEducationDayGetQuery extends QueryParams {
1324
- "page_number"?: number | null;
1325
- "page_size"?: number | null;
1201
+ "page[number]"?: number | null;
1202
+ "page[size]"?: number | null;
1326
1203
  }
1327
1204
  /** Backend response type: crate::models::PagedResult<models::EducationDayResponse>. */
1328
1205
  export interface ConfigIndexEducationDayGetResponseItem extends JsonObject {
1329
1206
  "id": string;
1330
1207
  "day_date": string;
1331
1208
  "is_holiday": boolean;
1332
- "label"?: string | null;
1209
+ "label": string | null;
1333
1210
  "created_at": string;
1334
1211
  }
1335
1212
  export interface ConfigIndexEducationDayGetResponsePageMeta extends JsonObject {
@@ -1355,7 +1232,7 @@ export interface ConfigStoreEducationDayPostResponseData extends JsonObject {
1355
1232
  "id": string;
1356
1233
  "day_date": string;
1357
1234
  "is_holiday": boolean;
1358
- "label"?: string | null;
1235
+ "label": string | null;
1359
1236
  "created_at": string;
1360
1237
  }
1361
1238
  export interface ConfigStoreEducationDayPostResponse extends ApiEnvelope<ConfigStoreEducationDayPostResponseData> {
@@ -1365,7 +1242,7 @@ export interface ConfigShowEducationDayGetResponseData extends JsonObject {
1365
1242
  "id": string;
1366
1243
  "day_date": string;
1367
1244
  "is_holiday": boolean;
1368
- "label"?: string | null;
1245
+ "label": string | null;
1369
1246
  "created_at": string;
1370
1247
  }
1371
1248
  export interface ConfigShowEducationDayGetResponse extends ApiEnvelope<ConfigShowEducationDayGetResponseData> {
@@ -1381,15 +1258,15 @@ export interface ConfigUpdateEducationDayPatchResponseData extends JsonObject {
1381
1258
  "id": string;
1382
1259
  "day_date": string;
1383
1260
  "is_holiday": boolean;
1384
- "label"?: string | null;
1261
+ "label": string | null;
1385
1262
  "created_at": string;
1386
1263
  }
1387
1264
  export interface ConfigUpdateEducationDayPatchResponse extends ApiEnvelope<ConfigUpdateEducationDayPatchResponseData> {
1388
1265
  }
1389
1266
  /** Backend query type: PaginationQuery. */
1390
1267
  export interface ConfigIndexGradeGetQuery extends QueryParams {
1391
- "page_number"?: number | null;
1392
- "page_size"?: number | null;
1268
+ "page[number]"?: number | null;
1269
+ "page[size]"?: number | null;
1393
1270
  }
1394
1271
  /** Backend response type: crate::models::PagedResult<models::GradeResponse>. */
1395
1272
  export interface ConfigIndexGradeGetResponseItem extends JsonObject {
@@ -1449,14 +1326,14 @@ export interface ConfigUpdateGradePatchResponse extends ApiEnvelope<ConfigUpdate
1449
1326
  }
1450
1327
  /** Backend query type: PaginationQuery. */
1451
1328
  export interface ConfigIndexHolidayGetQuery extends QueryParams {
1452
- "page_number"?: number | null;
1453
- "page_size"?: number | null;
1329
+ "page[number]"?: number | null;
1330
+ "page[size]"?: number | null;
1454
1331
  }
1455
1332
  /** Backend response type: crate::models::PagedResult<models::HolidayResponse>. */
1456
1333
  export interface ConfigIndexHolidayGetResponseItem extends JsonObject {
1457
1334
  "id": string;
1458
1335
  "name": string;
1459
- "description"?: string | null;
1336
+ "description": string | null;
1460
1337
  "holiday_date": string;
1461
1338
  "sort_order": number;
1462
1339
  "status": string;
@@ -1487,7 +1364,7 @@ export interface ConfigStoreHolidayPostInput extends JsonObject {
1487
1364
  export interface ConfigStoreHolidayPostResponseData extends JsonObject {
1488
1365
  "id": string;
1489
1366
  "name": string;
1490
- "description"?: string | null;
1367
+ "description": string | null;
1491
1368
  "holiday_date": string;
1492
1369
  "sort_order": number;
1493
1370
  "status": string;
@@ -1500,7 +1377,7 @@ export interface ConfigStoreHolidayPostResponse extends ApiEnvelope<ConfigStoreH
1500
1377
  export interface ConfigShowHolidayGetResponseData extends JsonObject {
1501
1378
  "id": string;
1502
1379
  "name": string;
1503
- "description"?: string | null;
1380
+ "description": string | null;
1504
1381
  "holiday_date": string;
1505
1382
  "sort_order": number;
1506
1383
  "status": string;
@@ -1521,7 +1398,7 @@ export interface ConfigUpdateHolidayPatchInput extends JsonObject {
1521
1398
  export interface ConfigUpdateHolidayPatchResponseData extends JsonObject {
1522
1399
  "id": string;
1523
1400
  "name": string;
1524
- "description"?: string | null;
1401
+ "description": string | null;
1525
1402
  "holiday_date": string;
1526
1403
  "sort_order": number;
1527
1404
  "status": string;
@@ -1532,8 +1409,8 @@ export interface ConfigUpdateHolidayPatchResponse extends ApiEnvelope<ConfigUpda
1532
1409
  }
1533
1410
  /** Backend query type: PaginationQuery. */
1534
1411
  export interface ConfigIndexWeekendGetQuery extends QueryParams {
1535
- "page_number"?: number | null;
1536
- "page_size"?: number | null;
1412
+ "page[number]"?: number | null;
1413
+ "page[size]"?: number | null;
1537
1414
  }
1538
1415
  /** Backend response type: crate::models::PagedResult<models::WeekendResponse>. */
1539
1416
  export interface ConfigIndexWeekendGetResponseItem extends JsonObject {
@@ -1587,26 +1464,26 @@ export interface ConfigUpdateWeekendPatchResponse extends ApiEnvelope<ConfigUpda
1587
1464
  }
1588
1465
  /** Backend query type: CourseListQuery. */
1589
1466
  export interface CourseIndexCourseGetQuery extends QueryParams {
1590
- "page_number"?: number | null;
1591
- "page_size"?: number | null;
1467
+ "page[number]"?: number | null;
1468
+ "page[size]"?: number | null;
1592
1469
  "category_ids"?: string | null;
1593
1470
  "search"?: string | null;
1594
1471
  }
1595
1472
  /** Backend response type: crate::models::PagedResult<models::CourseResponse>. */
1596
1473
  export interface CourseIndexCourseGetResponseItem extends JsonObject {
1597
1474
  "id": string;
1598
- "category_id"?: string | null;
1475
+ "category_id": string | null;
1599
1476
  "name": string;
1600
- "title"?: string | null;
1601
- "description"?: string | null;
1602
- "cover_url"?: string | null;
1477
+ "title": string | null;
1478
+ "description": string | null;
1479
+ "cover_url": string | null;
1603
1480
  "sort_order": number;
1604
- "duration"?: string | null;
1605
- "passing_mark"?: number | null;
1481
+ "duration": string | null;
1482
+ "passing_mark": number | null;
1606
1483
  "certificate_template_ids": string[];
1607
- "price"?: string | null;
1608
- "in_person_price"?: string | null;
1609
- "online_price"?: string | null;
1484
+ "price": string | null;
1485
+ "in_person_price": string | null;
1486
+ "online_price": string | null;
1610
1487
  "status": string;
1611
1488
  "created_at": string;
1612
1489
  "updated_at": string;
@@ -1642,18 +1519,18 @@ export interface CourseStoreCoursePostInput extends JsonObject {
1642
1519
  /** Backend response type: models::CourseResponse. */
1643
1520
  export interface CourseStoreCoursePostResponseData extends JsonObject {
1644
1521
  "id": string;
1645
- "category_id"?: string | null;
1522
+ "category_id": string | null;
1646
1523
  "name": string;
1647
- "title"?: string | null;
1648
- "description"?: string | null;
1649
- "cover_url"?: string | null;
1524
+ "title": string | null;
1525
+ "description": string | null;
1526
+ "cover_url": string | null;
1650
1527
  "sort_order": number;
1651
- "duration"?: string | null;
1652
- "passing_mark"?: number | null;
1528
+ "duration": string | null;
1529
+ "passing_mark": number | null;
1653
1530
  "certificate_template_ids": string[];
1654
- "price"?: string | null;
1655
- "in_person_price"?: string | null;
1656
- "online_price"?: string | null;
1531
+ "price": string | null;
1532
+ "in_person_price": string | null;
1533
+ "online_price": string | null;
1657
1534
  "status": string;
1658
1535
  "created_at": string;
1659
1536
  "updated_at": string;
@@ -1662,25 +1539,25 @@ export interface CourseStoreCoursePostResponse extends ApiEnvelope<CourseStoreCo
1662
1539
  }
1663
1540
  /** Backend query type: PaginationQuery. */
1664
1541
  export interface CourseIndexSessionGetQuery extends QueryParams {
1665
- "page_number"?: number | null;
1666
- "page_size"?: number | null;
1542
+ "page[number]"?: number | null;
1543
+ "page[size]"?: number | null;
1667
1544
  }
1668
1545
  /** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
1669
1546
  export interface CourseIndexSessionGetResponseItem extends JsonObject {
1670
1547
  "id": string;
1671
1548
  "course_id": string;
1672
1549
  "name": string;
1673
- "description"?: string | null;
1550
+ "description": string | null;
1674
1551
  "sort_order": number;
1675
1552
  "session_type": string;
1676
- "session_type_id"?: string | null;
1677
- "exam_id"?: string | null;
1678
- "duration_minutes"?: number | null;
1553
+ "session_type_id": string | null;
1554
+ "exam_id": string | null;
1555
+ "duration_minutes": number | null;
1679
1556
  "auto_unlock": boolean;
1680
- "info"?: string | null;
1681
- "video_type"?: string | null;
1682
- "external_url"?: string | null;
1683
- "drm_mixed_media_id"?: string | null;
1557
+ "info": string | null;
1558
+ "video_type": string | null;
1559
+ "external_url": string | null;
1560
+ "drm_mixed_media_id": string | null;
1684
1561
  "status": string;
1685
1562
  "created_at": string;
1686
1563
  "updated_at": string;
@@ -1719,17 +1596,17 @@ export interface CourseStoreSessionPostResponseData extends JsonObject {
1719
1596
  "id": string;
1720
1597
  "course_id": string;
1721
1598
  "name": string;
1722
- "description"?: string | null;
1599
+ "description": string | null;
1723
1600
  "sort_order": number;
1724
1601
  "session_type": string;
1725
- "session_type_id"?: string | null;
1726
- "exam_id"?: string | null;
1727
- "duration_minutes"?: number | null;
1602
+ "session_type_id": string | null;
1603
+ "exam_id": string | null;
1604
+ "duration_minutes": number | null;
1728
1605
  "auto_unlock": boolean;
1729
- "info"?: string | null;
1730
- "video_type"?: string | null;
1731
- "external_url"?: string | null;
1732
- "drm_mixed_media_id"?: string | null;
1606
+ "info": string | null;
1607
+ "video_type": string | null;
1608
+ "external_url": string | null;
1609
+ "drm_mixed_media_id": string | null;
1733
1610
  "status": string;
1734
1611
  "created_at": string;
1735
1612
  "updated_at": string;
@@ -1737,24 +1614,23 @@ export interface CourseStoreSessionPostResponseData extends JsonObject {
1737
1614
  export interface CourseStoreSessionPostResponse extends ApiEnvelope<CourseStoreSessionPostResponseData> {
1738
1615
  }
1739
1616
  /** Backend response type: serde_json::Value. */
1740
- export interface CourseDestroySessionDeleteResponse extends ApiEnvelope<JsonValue> {
1741
- }
1617
+ export type CourseDestroySessionDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
1742
1618
  /** Backend response type: models::SessionResponse. */
1743
1619
  export interface CourseShowSessionGetResponseData extends JsonObject {
1744
1620
  "id": string;
1745
1621
  "course_id": string;
1746
1622
  "name": string;
1747
- "description"?: string | null;
1623
+ "description": string | null;
1748
1624
  "sort_order": number;
1749
1625
  "session_type": string;
1750
- "session_type_id"?: string | null;
1751
- "exam_id"?: string | null;
1752
- "duration_minutes"?: number | null;
1626
+ "session_type_id": string | null;
1627
+ "exam_id": string | null;
1628
+ "duration_minutes": number | null;
1753
1629
  "auto_unlock": boolean;
1754
- "info"?: string | null;
1755
- "video_type"?: string | null;
1756
- "external_url"?: string | null;
1757
- "drm_mixed_media_id"?: string | null;
1630
+ "info": string | null;
1631
+ "video_type": string | null;
1632
+ "external_url": string | null;
1633
+ "drm_mixed_media_id": string | null;
1758
1634
  "status": string;
1759
1635
  "created_at": string;
1760
1636
  "updated_at": string;
@@ -1782,17 +1658,17 @@ export interface CourseUpdateSessionPatchResponseData extends JsonObject {
1782
1658
  "id": string;
1783
1659
  "course_id": string;
1784
1660
  "name": string;
1785
- "description"?: string | null;
1661
+ "description": string | null;
1786
1662
  "sort_order": number;
1787
1663
  "session_type": string;
1788
- "session_type_id"?: string | null;
1789
- "exam_id"?: string | null;
1790
- "duration_minutes"?: number | null;
1664
+ "session_type_id": string | null;
1665
+ "exam_id": string | null;
1666
+ "duration_minutes": number | null;
1791
1667
  "auto_unlock": boolean;
1792
- "info"?: string | null;
1793
- "video_type"?: string | null;
1794
- "external_url"?: string | null;
1795
- "drm_mixed_media_id"?: string | null;
1668
+ "info": string | null;
1669
+ "video_type": string | null;
1670
+ "external_url": string | null;
1671
+ "drm_mixed_media_id": string | null;
1796
1672
  "status": string;
1797
1673
  "created_at": string;
1798
1674
  "updated_at": string;
@@ -1800,23 +1676,22 @@ export interface CourseUpdateSessionPatchResponseData extends JsonObject {
1800
1676
  export interface CourseUpdateSessionPatchResponse extends ApiEnvelope<CourseUpdateSessionPatchResponseData> {
1801
1677
  }
1802
1678
  /** Backend response type: serde_json::Value. */
1803
- export interface CourseDestroyCourseDeleteResponse extends ApiEnvelope<JsonValue> {
1804
- }
1679
+ export type CourseDestroyCourseDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
1805
1680
  /** Backend response type: models::CourseResponse. */
1806
1681
  export interface CourseShowCourseGetResponseData extends JsonObject {
1807
1682
  "id": string;
1808
- "category_id"?: string | null;
1683
+ "category_id": string | null;
1809
1684
  "name": string;
1810
- "title"?: string | null;
1811
- "description"?: string | null;
1812
- "cover_url"?: string | null;
1685
+ "title": string | null;
1686
+ "description": string | null;
1687
+ "cover_url": string | null;
1813
1688
  "sort_order": number;
1814
- "duration"?: string | null;
1815
- "passing_mark"?: number | null;
1689
+ "duration": string | null;
1690
+ "passing_mark": number | null;
1816
1691
  "certificate_template_ids": string[];
1817
- "price"?: string | null;
1818
- "in_person_price"?: string | null;
1819
- "online_price"?: string | null;
1692
+ "price": string | null;
1693
+ "in_person_price": string | null;
1694
+ "online_price": string | null;
1820
1695
  "status": string;
1821
1696
  "created_at": string;
1822
1697
  "updated_at": string;
@@ -1842,18 +1717,18 @@ export interface CourseUpdateCoursePatchInput extends JsonObject {
1842
1717
  /** Backend response type: models::CourseResponse. */
1843
1718
  export interface CourseUpdateCoursePatchResponseData extends JsonObject {
1844
1719
  "id": string;
1845
- "category_id"?: string | null;
1720
+ "category_id": string | null;
1846
1721
  "name": string;
1847
- "title"?: string | null;
1848
- "description"?: string | null;
1849
- "cover_url"?: string | null;
1722
+ "title": string | null;
1723
+ "description": string | null;
1724
+ "cover_url": string | null;
1850
1725
  "sort_order": number;
1851
- "duration"?: string | null;
1852
- "passing_mark"?: number | null;
1726
+ "duration": string | null;
1727
+ "passing_mark": number | null;
1853
1728
  "certificate_template_ids": string[];
1854
- "price"?: string | null;
1855
- "in_person_price"?: string | null;
1856
- "online_price"?: string | null;
1729
+ "price": string | null;
1730
+ "in_person_price": string | null;
1731
+ "online_price": string | null;
1857
1732
  "status": string;
1858
1733
  "created_at": string;
1859
1734
  "updated_at": string;
@@ -1865,19 +1740,19 @@ export interface IntegrationBatchCoursesPostInput extends JsonObject {
1865
1740
  "ids"?: string[];
1866
1741
  }
1867
1742
  /** Backend response type: Value. */
1868
- export interface IntegrationBatchCoursesPostResponse extends ApiEnvelope<JsonValue> {
1869
- }
1743
+ export type IntegrationBatchCoursesPostResponseData = import("./wire.types.js").LmsBatchCourses;
1744
+ export type IntegrationBatchCoursesPostResponse = ApiEnvelope<import("./wire.types.js").LmsBatchCourses>;
1870
1745
  /** Backend query type: PaginationQuery. */
1871
1746
  export interface CourseIndexCategoryGetQuery extends QueryParams {
1872
- "page_number"?: number | null;
1873
- "page_size"?: number | null;
1747
+ "page[number]"?: number | null;
1748
+ "page[size]"?: number | null;
1874
1749
  }
1875
1750
  /** Backend response type: crate::models::PagedResult<models::CategoryResponse>. */
1876
1751
  export interface CourseIndexCategoryGetResponseItem extends JsonObject {
1877
1752
  "id": string;
1878
1753
  "name": string;
1879
- "description"?: string | null;
1880
- "image_url"?: string | null;
1754
+ "description": string | null;
1755
+ "image_url": string | null;
1881
1756
  "sort_order": number;
1882
1757
  "status": string;
1883
1758
  "created_at": string;
@@ -1907,8 +1782,8 @@ export interface CourseStoreCategoryPostInput extends JsonObject {
1907
1782
  export interface CourseStoreCategoryPostResponseData extends JsonObject {
1908
1783
  "id": string;
1909
1784
  "name": string;
1910
- "description"?: string | null;
1911
- "image_url"?: string | null;
1785
+ "description": string | null;
1786
+ "image_url": string | null;
1912
1787
  "sort_order": number;
1913
1788
  "status": string;
1914
1789
  "created_at": string;
@@ -1917,14 +1792,13 @@ export interface CourseStoreCategoryPostResponseData extends JsonObject {
1917
1792
  export interface CourseStoreCategoryPostResponse extends ApiEnvelope<CourseStoreCategoryPostResponseData> {
1918
1793
  }
1919
1794
  /** Backend response type: serde_json::Value. */
1920
- export interface CourseDestroyCategoryDeleteResponse extends ApiEnvelope<JsonValue> {
1921
- }
1795
+ export type CourseDestroyCategoryDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
1922
1796
  /** Backend response type: models::CategoryResponse. */
1923
1797
  export interface CourseShowCategoryGetResponseData extends JsonObject {
1924
1798
  "id": string;
1925
1799
  "name": string;
1926
- "description"?: string | null;
1927
- "image_url"?: string | null;
1800
+ "description": string | null;
1801
+ "image_url": string | null;
1928
1802
  "sort_order": number;
1929
1803
  "status": string;
1930
1804
  "created_at": string;
@@ -1944,8 +1818,8 @@ export interface CourseUpdateCategoryPatchInput extends JsonObject {
1944
1818
  export interface CourseUpdateCategoryPatchResponseData extends JsonObject {
1945
1819
  "id": string;
1946
1820
  "name": string;
1947
- "description"?: string | null;
1948
- "image_url"?: string | null;
1821
+ "description": string | null;
1822
+ "image_url": string | null;
1949
1823
  "sort_order": number;
1950
1824
  "status": string;
1951
1825
  "created_at": string;
@@ -1959,23 +1833,21 @@ export interface CourseReorderCategoriesPatchInput extends JsonObject {
1959
1833
  "over_id": string;
1960
1834
  }
1961
1835
  /** Backend response type: serde_json::Value. */
1962
- export interface CourseReorderCategoriesPatchResponse extends ApiEnvelope<JsonValue> {
1963
- }
1836
+ export type CourseReorderCategoriesPatchResponse = import("./wire.types.js").LmsEmptyMutationResponse;
1964
1837
  /** Backend request type: models::ReorderRequest. */
1965
1838
  export interface CourseReorderCoursesPatchInput extends JsonObject {
1966
1839
  "active_id": string;
1967
1840
  "over_id": string;
1968
1841
  }
1969
1842
  /** Backend response type: serde_json::Value. */
1970
- export interface CourseReorderCoursesPatchResponse extends ApiEnvelope<JsonValue> {
1971
- }
1843
+ export type CourseReorderCoursesPatchResponse = import("./wire.types.js").LmsEmptyMutationResponse;
1972
1844
  /** Backend request type: IdBatch. */
1973
1845
  export interface IntegrationBatchCourseSuccessorsPostInput extends JsonObject {
1974
1846
  "ids"?: string[];
1975
1847
  }
1976
1848
  /** Backend response type: Value. */
1977
- export interface IntegrationBatchCourseSuccessorsPostResponse extends ApiEnvelope<JsonValue> {
1978
- }
1849
+ export type IntegrationBatchCourseSuccessorsPostResponseData = import("./wire.types.js").LmsCourseSuccessors;
1850
+ export type IntegrationBatchCourseSuccessorsPostResponse = ApiEnvelope<import("./wire.types.js").LmsCourseSuccessors>;
1979
1851
  /** Backend query type: models::DashboardQuery. */
1980
1852
  export interface DashboardIndexGetQuery extends QueryParams {
1981
1853
  "mode"?: string | null;
@@ -2031,12 +1903,13 @@ export interface DrmRoutesIndexCompositionsGetResponse extends ApiEnvelope<DrmRo
2031
1903
  /** Backend response type: models::EvaluationContext. */
2032
1904
  export interface EvaluationGetContextGetResponseDataTeacherRatingsTargetsProfile extends JsonObject {
2033
1905
  "user_id": string;
2034
- "first_name"?: JsonValue | null;
2035
- "last_name"?: JsonValue | null;
2036
- "email"?: string | null;
2037
- "national_code"?: string | null;
2038
- "phone"?: string | null;
2039
- "gender"?: string | null;
1906
+ "short_id"?: string | null;
1907
+ "first_name": JsonValue | null;
1908
+ "last_name": JsonValue | null;
1909
+ "email": string | null;
1910
+ "national_code": string | null;
1911
+ "phone": string | null;
1912
+ "gender": string | null;
2040
1913
  }
2041
1914
  export interface EvaluationGetContextGetResponseDataTeacherRatingsTargetsQuestions extends JsonObject {
2042
1915
  "stable_id": string;
@@ -2049,15 +1922,15 @@ export interface EvaluationGetContextGetResponseDataTeacherRatingsTargetsQuestio
2049
1922
  "description_fa": string;
2050
1923
  "allow_not_applicable": boolean;
2051
1924
  "enabled": boolean;
2052
- "archived"?: boolean;
1925
+ "archived": boolean;
2053
1926
  "sort_order": number;
2054
1927
  }
2055
1928
  export interface EvaluationGetContextGetResponseDataTeacherRatingsTargets extends JsonObject {
2056
1929
  "user_id": string;
2057
- "profile"?: EvaluationGetContextGetResponseDataTeacherRatingsTargetsProfile | null;
1930
+ "profile": EvaluationGetContextGetResponseDataTeacherRatingsTargetsProfile | null;
2058
1931
  "submitted": boolean;
2059
- "scores"?: JsonValue | null;
2060
- "description"?: string | null;
1932
+ "scores": JsonValue | null;
1933
+ "description": string | null;
2061
1934
  "questions": EvaluationGetContextGetResponseDataTeacherRatingsTargetsQuestions[];
2062
1935
  }
2063
1936
  export interface EvaluationGetContextGetResponseDataTeacherRatingsQuestions extends JsonObject {
@@ -2071,7 +1944,7 @@ export interface EvaluationGetContextGetResponseDataTeacherRatingsQuestions exte
2071
1944
  "description_fa": string;
2072
1945
  "allow_not_applicable": boolean;
2073
1946
  "enabled": boolean;
2074
- "archived"?: boolean;
1947
+ "archived": boolean;
2075
1948
  "sort_order": number;
2076
1949
  }
2077
1950
  export interface EvaluationGetContextGetResponseDataTeacherRatings extends JsonObject {
@@ -2092,15 +1965,15 @@ export interface EvaluationGetContextGetResponseDataStudentFeedbackQuestions ext
2092
1965
  "description_fa": string;
2093
1966
  "allow_not_applicable": boolean;
2094
1967
  "enabled": boolean;
2095
- "archived"?: boolean;
1968
+ "archived": boolean;
2096
1969
  "sort_order": number;
2097
1970
  }
2098
1971
  export interface EvaluationGetContextGetResponseDataStudentFeedback extends JsonObject {
2099
1972
  "enabled": boolean;
2100
1973
  "applicable": boolean;
2101
1974
  "submitted": boolean;
2102
- "scores"?: JsonValue | null;
2103
- "description"?: string | null;
1975
+ "scores": JsonValue | null;
1976
+ "description": string | null;
2104
1977
  "fields": string[];
2105
1978
  "questions": EvaluationGetContextGetResponseDataStudentFeedbackQuestions[];
2106
1979
  }
@@ -2113,12 +1986,7 @@ export interface EvaluationGetContextGetResponseData extends JsonObject {
2113
1986
  export interface EvaluationGetContextGetResponse extends ApiEnvelope<EvaluationGetContextGetResponseData> {
2114
1987
  }
2115
1988
  /** Backend request type: models::SubmitEvaluation. */
2116
- export interface EvaluationSubmitPostInput extends JsonObject {
2117
- "kind": string;
2118
- "target_user_id"?: string | null;
2119
- "scores": JsonValue;
2120
- "description"?: string | null;
2121
- }
1989
+ export type EvaluationSubmitPostInput = import("./wire.types.js").LmsSubmitEvaluationInput;
2122
1990
  /** Backend response type: models::SubmitEvaluationResponse. */
2123
1991
  export interface EvaluationSubmitPostResponseData extends JsonObject {
2124
1992
  "id": string;
@@ -2138,7 +2006,7 @@ export interface EvaluationGetSettingsGetResponseDataQuestions extends JsonObjec
2138
2006
  "description_fa": string;
2139
2007
  "allow_not_applicable": boolean;
2140
2008
  "enabled": boolean;
2141
- "archived"?: boolean;
2009
+ "archived": boolean;
2142
2010
  "sort_order": number;
2143
2011
  }
2144
2012
  export interface EvaluationGetSettingsGetResponseData extends JsonObject {
@@ -2179,7 +2047,7 @@ export interface EvaluationUpdateSettingsPutResponseDataQuestions extends JsonOb
2179
2047
  "description_fa": string;
2180
2048
  "allow_not_applicable": boolean;
2181
2049
  "enabled": boolean;
2182
- "archived"?: boolean;
2050
+ "archived": boolean;
2183
2051
  "sort_order": number;
2184
2052
  }
2185
2053
  export interface EvaluationUpdateSettingsPutResponseData extends JsonObject {
@@ -2191,8 +2059,8 @@ export interface EvaluationUpdateSettingsPutResponse extends ApiEnvelope<Evaluat
2191
2059
  }
2192
2060
  /** Backend query type: models::ExamListQuery. */
2193
2061
  export interface ExamIndexExamGetQuery extends QueryParams {
2194
- "page_number"?: number | null;
2195
- "page_size"?: number | null;
2062
+ "page[number]"?: number | null;
2063
+ "page[size]"?: number | null;
2196
2064
  "search"?: string | null;
2197
2065
  "status"?: string | null;
2198
2066
  "course_id"?: string | null;
@@ -2206,18 +2074,18 @@ export interface ExamIndexExamGetQuery extends QueryParams {
2206
2074
  /** Backend response type: crate::models::PagedResult<models::ExamResponse>. */
2207
2075
  export interface ExamIndexExamGetResponseItem extends JsonObject {
2208
2076
  "id": string;
2209
- "course_id"?: string | null;
2210
- "grade_id"?: string | null;
2077
+ "course_id": string | null;
2078
+ "grade_id": string | null;
2211
2079
  "name": string;
2212
- "description"?: string | null;
2213
- "info"?: string | null;
2214
- "cover_url"?: string | null;
2215
- "duration_minutes"?: number | null;
2216
- "passing_mark"?: number | null;
2217
- "questions_count"?: number | null;
2218
- "easy_count"?: number | null;
2219
- "medium_count"?: number | null;
2220
- "hard_count"?: number | null;
2080
+ "description": string | null;
2081
+ "info": string | null;
2082
+ "cover_url": string | null;
2083
+ "duration_minutes": number | null;
2084
+ "passing_mark": number | null;
2085
+ "questions_count": number | null;
2086
+ "easy_count": number | null;
2087
+ "medium_count": number | null;
2088
+ "hard_count": number | null;
2221
2089
  "selection_mode": string;
2222
2090
  "status": string;
2223
2091
  "created_at": string;
@@ -2255,18 +2123,18 @@ export interface ExamStoreExamPostInput extends JsonObject {
2255
2123
  /** Backend response type: models::ExamResponse. */
2256
2124
  export interface ExamStoreExamPostResponseData extends JsonObject {
2257
2125
  "id": string;
2258
- "course_id"?: string | null;
2259
- "grade_id"?: string | null;
2126
+ "course_id": string | null;
2127
+ "grade_id": string | null;
2260
2128
  "name": string;
2261
- "description"?: string | null;
2262
- "info"?: string | null;
2263
- "cover_url"?: string | null;
2264
- "duration_minutes"?: number | null;
2265
- "passing_mark"?: number | null;
2266
- "questions_count"?: number | null;
2267
- "easy_count"?: number | null;
2268
- "medium_count"?: number | null;
2269
- "hard_count"?: number | null;
2129
+ "description": string | null;
2130
+ "info": string | null;
2131
+ "cover_url": string | null;
2132
+ "duration_minutes": number | null;
2133
+ "passing_mark": number | null;
2134
+ "questions_count": number | null;
2135
+ "easy_count": number | null;
2136
+ "medium_count": number | null;
2137
+ "hard_count": number | null;
2270
2138
  "selection_mode": string;
2271
2139
  "status": string;
2272
2140
  "created_at": string;
@@ -2275,23 +2143,22 @@ export interface ExamStoreExamPostResponseData extends JsonObject {
2275
2143
  export interface ExamStoreExamPostResponse extends ApiEnvelope<ExamStoreExamPostResponseData> {
2276
2144
  }
2277
2145
  /** Backend response type: serde_json::Value. */
2278
- export interface ExamDestroyExamDeleteResponse extends ApiEnvelope<JsonValue> {
2279
- }
2146
+ export type ExamDestroyExamDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
2280
2147
  /** Backend response type: models::ExamResponse. */
2281
2148
  export interface ExamShowExamGetResponseData extends JsonObject {
2282
2149
  "id": string;
2283
- "course_id"?: string | null;
2284
- "grade_id"?: string | null;
2150
+ "course_id": string | null;
2151
+ "grade_id": string | null;
2285
2152
  "name": string;
2286
- "description"?: string | null;
2287
- "info"?: string | null;
2288
- "cover_url"?: string | null;
2289
- "duration_minutes"?: number | null;
2290
- "passing_mark"?: number | null;
2291
- "questions_count"?: number | null;
2292
- "easy_count"?: number | null;
2293
- "medium_count"?: number | null;
2294
- "hard_count"?: number | null;
2153
+ "description": string | null;
2154
+ "info": string | null;
2155
+ "cover_url": string | null;
2156
+ "duration_minutes": number | null;
2157
+ "passing_mark": number | null;
2158
+ "questions_count": number | null;
2159
+ "easy_count": number | null;
2160
+ "medium_count": number | null;
2161
+ "hard_count": number | null;
2295
2162
  "selection_mode": string;
2296
2163
  "status": string;
2297
2164
  "created_at": string;
@@ -2319,18 +2186,18 @@ export interface ExamUpdateExamPatchInput extends JsonObject {
2319
2186
  /** Backend response type: models::ExamResponse. */
2320
2187
  export interface ExamUpdateExamPatchResponseData extends JsonObject {
2321
2188
  "id": string;
2322
- "course_id"?: string | null;
2323
- "grade_id"?: string | null;
2189
+ "course_id": string | null;
2190
+ "grade_id": string | null;
2324
2191
  "name": string;
2325
- "description"?: string | null;
2326
- "info"?: string | null;
2327
- "cover_url"?: string | null;
2328
- "duration_minutes"?: number | null;
2329
- "passing_mark"?: number | null;
2330
- "questions_count"?: number | null;
2331
- "easy_count"?: number | null;
2332
- "medium_count"?: number | null;
2333
- "hard_count"?: number | null;
2192
+ "description": string | null;
2193
+ "info": string | null;
2194
+ "cover_url": string | null;
2195
+ "duration_minutes": number | null;
2196
+ "passing_mark": number | null;
2197
+ "questions_count": number | null;
2198
+ "easy_count": number | null;
2199
+ "medium_count": number | null;
2200
+ "hard_count": number | null;
2334
2201
  "selection_mode": string;
2335
2202
  "status": string;
2336
2203
  "created_at": string;
@@ -2340,8 +2207,8 @@ export interface ExamUpdateExamPatchResponse extends ApiEnvelope<ExamUpdateExamP
2340
2207
  }
2341
2208
  /** Backend query type: models::AttemptListQuery. */
2342
2209
  export interface ExamIndexAttemptGetQuery extends QueryParams {
2343
- "page_number"?: number | null;
2344
- "page_size"?: number | null;
2210
+ "page[number]"?: number | null;
2211
+ "page[size]"?: number | null;
2345
2212
  "status"?: string | null;
2346
2213
  "exam_session_id"?: string | null;
2347
2214
  "user_id"?: string | null;
@@ -2351,32 +2218,33 @@ export interface ExamIndexAttemptGetQuery extends QueryParams {
2351
2218
  /** Backend response type: crate::models::PagedResult<models::AttemptResponse>. */
2352
2219
  export interface ExamIndexAttemptGetResponseItemProfile extends JsonObject {
2353
2220
  "user_id": string;
2354
- "first_name"?: JsonValue | null;
2355
- "last_name"?: JsonValue | null;
2356
- "email"?: string | null;
2357
- "national_code"?: string | null;
2358
- "phone"?: string | null;
2359
- "gender"?: string | null;
2221
+ "short_id"?: string | null;
2222
+ "first_name": JsonValue | null;
2223
+ "last_name": JsonValue | null;
2224
+ "email": string | null;
2225
+ "national_code": string | null;
2226
+ "phone": string | null;
2227
+ "gender": string | null;
2360
2228
  }
2361
2229
  export interface ExamIndexAttemptGetResponseItem extends JsonObject {
2362
2230
  "id": string;
2363
2231
  "exam_session_id": string;
2364
- "exam_id"?: string | null;
2365
- "exam_name"?: string | null;
2366
- "classroom_id"?: string | null;
2367
- "classroom_name"?: string | null;
2368
- "course_id"?: string | null;
2369
- "course_name"?: string | null;
2232
+ "exam_id": string | null;
2233
+ "exam_name": string | null;
2234
+ "classroom_id": string | null;
2235
+ "classroom_name": string | null;
2236
+ "course_id": string | null;
2237
+ "course_name": string | null;
2370
2238
  "user_id": string;
2371
- "profile"?: ExamIndexAttemptGetResponseItemProfile | null;
2372
- "score"?: number | null;
2373
- "teacher_score"?: number | null;
2374
- "description"?: string | null;
2239
+ "profile": ExamIndexAttemptGetResponseItemProfile | null;
2240
+ "score": number | null;
2241
+ "teacher_score": number | null;
2242
+ "description": string | null;
2375
2243
  "extend_time_minutes": number;
2376
- "deadline_at"?: string | null;
2244
+ "deadline_at": string | null;
2377
2245
  "status": string;
2378
- "started_at"?: string | null;
2379
- "finished_at"?: string | null;
2246
+ "started_at": string | null;
2247
+ "finished_at": string | null;
2380
2248
  "created_at": string;
2381
2249
  "updated_at": string;
2382
2250
  }
@@ -2395,32 +2263,33 @@ export interface ExamIndexAttemptGetResponse extends ApiEnvelope<ExamIndexAttemp
2395
2263
  /** Backend response type: models::AttemptResponse. */
2396
2264
  export interface ExamShowAttemptGetResponseDataProfile extends JsonObject {
2397
2265
  "user_id": string;
2398
- "first_name"?: JsonValue | null;
2399
- "last_name"?: JsonValue | null;
2400
- "email"?: string | null;
2401
- "national_code"?: string | null;
2402
- "phone"?: string | null;
2403
- "gender"?: string | null;
2266
+ "short_id"?: string | null;
2267
+ "first_name": JsonValue | null;
2268
+ "last_name": JsonValue | null;
2269
+ "email": string | null;
2270
+ "national_code": string | null;
2271
+ "phone": string | null;
2272
+ "gender": string | null;
2404
2273
  }
2405
2274
  export interface ExamShowAttemptGetResponseData extends JsonObject {
2406
2275
  "id": string;
2407
2276
  "exam_session_id": string;
2408
- "exam_id"?: string | null;
2409
- "exam_name"?: string | null;
2410
- "classroom_id"?: string | null;
2411
- "classroom_name"?: string | null;
2412
- "course_id"?: string | null;
2413
- "course_name"?: string | null;
2277
+ "exam_id": string | null;
2278
+ "exam_name": string | null;
2279
+ "classroom_id": string | null;
2280
+ "classroom_name": string | null;
2281
+ "course_id": string | null;
2282
+ "course_name": string | null;
2414
2283
  "user_id": string;
2415
- "profile"?: ExamShowAttemptGetResponseDataProfile | null;
2416
- "score"?: number | null;
2417
- "teacher_score"?: number | null;
2418
- "description"?: string | null;
2284
+ "profile": ExamShowAttemptGetResponseDataProfile | null;
2285
+ "score": number | null;
2286
+ "teacher_score": number | null;
2287
+ "description": string | null;
2419
2288
  "extend_time_minutes": number;
2420
- "deadline_at"?: string | null;
2289
+ "deadline_at": string | null;
2421
2290
  "status": string;
2422
- "started_at"?: string | null;
2423
- "finished_at"?: string | null;
2291
+ "started_at": string | null;
2292
+ "finished_at": string | null;
2424
2293
  "created_at": string;
2425
2294
  "updated_at": string;
2426
2295
  }
@@ -2438,32 +2307,33 @@ export interface ExamUpdateAttemptPatchInput extends JsonObject {
2438
2307
  /** Backend response type: models::AttemptResponse. */
2439
2308
  export interface ExamUpdateAttemptPatchResponseDataProfile extends JsonObject {
2440
2309
  "user_id": string;
2441
- "first_name"?: JsonValue | null;
2442
- "last_name"?: JsonValue | null;
2443
- "email"?: string | null;
2444
- "national_code"?: string | null;
2445
- "phone"?: string | null;
2446
- "gender"?: string | null;
2310
+ "short_id"?: string | null;
2311
+ "first_name": JsonValue | null;
2312
+ "last_name": JsonValue | null;
2313
+ "email": string | null;
2314
+ "national_code": string | null;
2315
+ "phone": string | null;
2316
+ "gender": string | null;
2447
2317
  }
2448
2318
  export interface ExamUpdateAttemptPatchResponseData extends JsonObject {
2449
2319
  "id": string;
2450
2320
  "exam_session_id": string;
2451
- "exam_id"?: string | null;
2452
- "exam_name"?: string | null;
2453
- "classroom_id"?: string | null;
2454
- "classroom_name"?: string | null;
2455
- "course_id"?: string | null;
2456
- "course_name"?: string | null;
2321
+ "exam_id": string | null;
2322
+ "exam_name": string | null;
2323
+ "classroom_id": string | null;
2324
+ "classroom_name": string | null;
2325
+ "course_id": string | null;
2326
+ "course_name": string | null;
2457
2327
  "user_id": string;
2458
- "profile"?: ExamUpdateAttemptPatchResponseDataProfile | null;
2459
- "score"?: number | null;
2460
- "teacher_score"?: number | null;
2461
- "description"?: string | null;
2328
+ "profile": ExamUpdateAttemptPatchResponseDataProfile | null;
2329
+ "score": number | null;
2330
+ "teacher_score": number | null;
2331
+ "description": string | null;
2462
2332
  "extend_time_minutes": number;
2463
- "deadline_at"?: string | null;
2333
+ "deadline_at": string | null;
2464
2334
  "status": string;
2465
- "started_at"?: string | null;
2466
- "finished_at"?: string | null;
2335
+ "started_at": string | null;
2336
+ "finished_at": string | null;
2467
2337
  "created_at": string;
2468
2338
  "updated_at": string;
2469
2339
  }
@@ -2484,12 +2354,13 @@ export interface ExamSaveAttemptAnswerPutResponse extends ApiEnvelope<ExamSaveAt
2484
2354
  /** Backend response type: models::AttemptDeliveryResponse. */
2485
2355
  export interface ExamShowAttemptDeliveryGetResponseDataProfile extends JsonObject {
2486
2356
  "user_id": string;
2487
- "first_name"?: JsonValue | null;
2488
- "last_name"?: JsonValue | null;
2489
- "email"?: string | null;
2490
- "national_code"?: string | null;
2491
- "phone"?: string | null;
2492
- "gender"?: string | null;
2357
+ "short_id"?: string | null;
2358
+ "first_name": JsonValue | null;
2359
+ "last_name": JsonValue | null;
2360
+ "email": string | null;
2361
+ "national_code": string | null;
2362
+ "phone": string | null;
2363
+ "gender": string | null;
2493
2364
  }
2494
2365
  export interface ExamShowAttemptDeliveryGetResponseDataQuestions extends JsonObject {
2495
2366
  "position": number;
@@ -2499,37 +2370,37 @@ export interface ExamShowAttemptDeliveryGetResponseDataQuestions extends JsonObj
2499
2370
  "options": JsonValue;
2500
2371
  "points": number;
2501
2372
  "media": JsonValue;
2502
- "answer"?: JsonValue | null;
2503
- "answered_at"?: string | null;
2504
- "is_correct"?: boolean | null;
2505
- "awarded_score"?: number | null;
2373
+ "answer": JsonValue | null;
2374
+ "answered_at": string | null;
2375
+ "is_correct": boolean | null;
2376
+ "awarded_score": number | null;
2506
2377
  "correct_answer"?: string | null;
2507
2378
  }
2508
2379
  export interface ExamShowAttemptDeliveryGetResponseData extends JsonObject {
2509
2380
  "attempt_id": string;
2510
2381
  "exam_session_id": string;
2511
2382
  "user_id": string;
2512
- "profile"?: ExamShowAttemptDeliveryGetResponseDataProfile | null;
2383
+ "profile": ExamShowAttemptDeliveryGetResponseDataProfile | null;
2513
2384
  "exam_id": string;
2514
2385
  "exam_name": string;
2515
- "exam_description"?: string | null;
2516
- "exam_info"?: string | null;
2517
- "cover_url"?: string | null;
2518
- "classroom_id"?: string | null;
2519
- "classroom_name"?: string | null;
2386
+ "exam_description": string | null;
2387
+ "exam_info": string | null;
2388
+ "cover_url": string | null;
2389
+ "classroom_id": string | null;
2390
+ "classroom_name": string | null;
2520
2391
  "access": string;
2521
2392
  "state": string;
2522
2393
  "server_now": string;
2523
- "starts_at"?: string | null;
2524
- "closes_at"?: string | null;
2525
- "started_at"?: string | null;
2526
- "finished_at"?: string | null;
2527
- "duration_minutes"?: number | null;
2394
+ "starts_at": string | null;
2395
+ "closes_at": string | null;
2396
+ "started_at": string | null;
2397
+ "finished_at": string | null;
2398
+ "duration_minutes": number | null;
2528
2399
  "remaining_seconds": number;
2529
- "score"?: number | null;
2530
- "teacher_score"?: number | null;
2531
- "passing_mark"?: number | null;
2532
- "passed"?: boolean | null;
2400
+ "score": number | null;
2401
+ "teacher_score": number | null;
2402
+ "passing_mark": number | null;
2403
+ "passed": boolean | null;
2533
2404
  "answered_count": number;
2534
2405
  "correct_count": number;
2535
2406
  "incorrect_count": number;
@@ -2544,12 +2415,13 @@ export interface ExamShowAttemptDeliveryGetResponse extends ApiEnvelope<ExamShow
2544
2415
  /** Backend response type: models::AttemptDeliveryResponse. */
2545
2416
  export interface ExamStartAttemptPostResponseDataProfile extends JsonObject {
2546
2417
  "user_id": string;
2547
- "first_name"?: JsonValue | null;
2548
- "last_name"?: JsonValue | null;
2549
- "email"?: string | null;
2550
- "national_code"?: string | null;
2551
- "phone"?: string | null;
2552
- "gender"?: string | null;
2418
+ "short_id"?: string | null;
2419
+ "first_name": JsonValue | null;
2420
+ "last_name": JsonValue | null;
2421
+ "email": string | null;
2422
+ "national_code": string | null;
2423
+ "phone": string | null;
2424
+ "gender": string | null;
2553
2425
  }
2554
2426
  export interface ExamStartAttemptPostResponseDataQuestions extends JsonObject {
2555
2427
  "position": number;
@@ -2559,37 +2431,37 @@ export interface ExamStartAttemptPostResponseDataQuestions extends JsonObject {
2559
2431
  "options": JsonValue;
2560
2432
  "points": number;
2561
2433
  "media": JsonValue;
2562
- "answer"?: JsonValue | null;
2563
- "answered_at"?: string | null;
2564
- "is_correct"?: boolean | null;
2565
- "awarded_score"?: number | null;
2434
+ "answer": JsonValue | null;
2435
+ "answered_at": string | null;
2436
+ "is_correct": boolean | null;
2437
+ "awarded_score": number | null;
2566
2438
  "correct_answer"?: string | null;
2567
2439
  }
2568
2440
  export interface ExamStartAttemptPostResponseData extends JsonObject {
2569
2441
  "attempt_id": string;
2570
2442
  "exam_session_id": string;
2571
2443
  "user_id": string;
2572
- "profile"?: ExamStartAttemptPostResponseDataProfile | null;
2444
+ "profile": ExamStartAttemptPostResponseDataProfile | null;
2573
2445
  "exam_id": string;
2574
2446
  "exam_name": string;
2575
- "exam_description"?: string | null;
2576
- "exam_info"?: string | null;
2577
- "cover_url"?: string | null;
2578
- "classroom_id"?: string | null;
2579
- "classroom_name"?: string | null;
2447
+ "exam_description": string | null;
2448
+ "exam_info": string | null;
2449
+ "cover_url": string | null;
2450
+ "classroom_id": string | null;
2451
+ "classroom_name": string | null;
2580
2452
  "access": string;
2581
2453
  "state": string;
2582
2454
  "server_now": string;
2583
- "starts_at"?: string | null;
2584
- "closes_at"?: string | null;
2585
- "started_at"?: string | null;
2586
- "finished_at"?: string | null;
2587
- "duration_minutes"?: number | null;
2455
+ "starts_at": string | null;
2456
+ "closes_at": string | null;
2457
+ "started_at": string | null;
2458
+ "finished_at": string | null;
2459
+ "duration_minutes": number | null;
2588
2460
  "remaining_seconds": number;
2589
- "score"?: number | null;
2590
- "teacher_score"?: number | null;
2591
- "passing_mark"?: number | null;
2592
- "passed"?: boolean | null;
2461
+ "score": number | null;
2462
+ "teacher_score": number | null;
2463
+ "passing_mark": number | null;
2464
+ "passed": boolean | null;
2593
2465
  "answered_count": number;
2594
2466
  "correct_count": number;
2595
2467
  "incorrect_count": number;
@@ -2604,12 +2476,13 @@ export interface ExamStartAttemptPostResponse extends ApiEnvelope<ExamStartAttem
2604
2476
  /** Backend response type: models::AttemptDeliveryResponse. */
2605
2477
  export interface ExamSubmitAttemptPostResponseDataProfile extends JsonObject {
2606
2478
  "user_id": string;
2607
- "first_name"?: JsonValue | null;
2608
- "last_name"?: JsonValue | null;
2609
- "email"?: string | null;
2610
- "national_code"?: string | null;
2611
- "phone"?: string | null;
2612
- "gender"?: string | null;
2479
+ "short_id"?: string | null;
2480
+ "first_name": JsonValue | null;
2481
+ "last_name": JsonValue | null;
2482
+ "email": string | null;
2483
+ "national_code": string | null;
2484
+ "phone": string | null;
2485
+ "gender": string | null;
2613
2486
  }
2614
2487
  export interface ExamSubmitAttemptPostResponseDataQuestions extends JsonObject {
2615
2488
  "position": number;
@@ -2619,37 +2492,37 @@ export interface ExamSubmitAttemptPostResponseDataQuestions extends JsonObject {
2619
2492
  "options": JsonValue;
2620
2493
  "points": number;
2621
2494
  "media": JsonValue;
2622
- "answer"?: JsonValue | null;
2623
- "answered_at"?: string | null;
2624
- "is_correct"?: boolean | null;
2625
- "awarded_score"?: number | null;
2495
+ "answer": JsonValue | null;
2496
+ "answered_at": string | null;
2497
+ "is_correct": boolean | null;
2498
+ "awarded_score": number | null;
2626
2499
  "correct_answer"?: string | null;
2627
2500
  }
2628
2501
  export interface ExamSubmitAttemptPostResponseData extends JsonObject {
2629
2502
  "attempt_id": string;
2630
2503
  "exam_session_id": string;
2631
2504
  "user_id": string;
2632
- "profile"?: ExamSubmitAttemptPostResponseDataProfile | null;
2505
+ "profile": ExamSubmitAttemptPostResponseDataProfile | null;
2633
2506
  "exam_id": string;
2634
2507
  "exam_name": string;
2635
- "exam_description"?: string | null;
2636
- "exam_info"?: string | null;
2637
- "cover_url"?: string | null;
2638
- "classroom_id"?: string | null;
2639
- "classroom_name"?: string | null;
2508
+ "exam_description": string | null;
2509
+ "exam_info": string | null;
2510
+ "cover_url": string | null;
2511
+ "classroom_id": string | null;
2512
+ "classroom_name": string | null;
2640
2513
  "access": string;
2641
2514
  "state": string;
2642
2515
  "server_now": string;
2643
- "starts_at"?: string | null;
2644
- "closes_at"?: string | null;
2645
- "started_at"?: string | null;
2646
- "finished_at"?: string | null;
2647
- "duration_minutes"?: number | null;
2516
+ "starts_at": string | null;
2517
+ "closes_at": string | null;
2518
+ "started_at": string | null;
2519
+ "finished_at": string | null;
2520
+ "duration_minutes": number | null;
2648
2521
  "remaining_seconds": number;
2649
- "score"?: number | null;
2650
- "teacher_score"?: number | null;
2651
- "passing_mark"?: number | null;
2652
- "passed"?: boolean | null;
2522
+ "score": number | null;
2523
+ "teacher_score": number | null;
2524
+ "passing_mark": number | null;
2525
+ "passed": boolean | null;
2653
2526
  "answered_count": number;
2654
2527
  "correct_count": number;
2655
2528
  "incorrect_count": number;
@@ -2663,22 +2536,22 @@ export interface ExamSubmitAttemptPostResponse extends ApiEnvelope<ExamSubmitAtt
2663
2536
  }
2664
2537
  /** Backend query type: models::QuestionListQuery. */
2665
2538
  export interface ExamIndexQuestionGetQuery extends QueryParams {
2666
- "page_number"?: number | null;
2667
- "page_size"?: number | null;
2539
+ "page[number]"?: number | null;
2540
+ "page[size]"?: number | null;
2668
2541
  "exam_id"?: string | null;
2669
2542
  }
2670
2543
  /** Backend response type: crate::models::PagedResult<models::QuestionResponse>. */
2671
2544
  export interface ExamIndexQuestionGetResponseItem extends JsonObject {
2672
2545
  "id": string;
2673
- "exam_id"?: string | null;
2546
+ "exam_id": string | null;
2674
2547
  "question_text": string;
2675
2548
  "question_type": string;
2676
- "options"?: BackendJson<"sea_orm::prelude::Json"> | null;
2677
- "correct_answer"?: string | null;
2549
+ "options": JsonValue | null;
2550
+ "correct_answer": string | null;
2678
2551
  "sort_order": number;
2679
2552
  "difficulty": string;
2680
2553
  "points": number;
2681
- "media": BackendJson<"sea_orm::prelude::Json">;
2554
+ "media": JsonValue;
2682
2555
  "status": string;
2683
2556
  "created_at": string;
2684
2557
  "updated_at": string;
@@ -2700,26 +2573,26 @@ export interface ExamStoreQuestionPostInput extends JsonObject {
2700
2573
  "exam_id"?: string | null;
2701
2574
  "question_text": string;
2702
2575
  "question_type": string;
2703
- "options"?: BackendJson<"sea_orm::prelude::Json"> | null;
2576
+ "options"?: JsonValue | null;
2704
2577
  "correct_answer"?: string | null;
2705
2578
  "sort_order": number;
2706
2579
  "difficulty"?: string | null;
2707
2580
  "points"?: number | null;
2708
- "media"?: BackendJson<"sea_orm::prelude::Json"> | null;
2581
+ "media"?: JsonValue | null;
2709
2582
  "status"?: string | null;
2710
2583
  }
2711
2584
  /** Backend response type: models::QuestionResponse. */
2712
2585
  export interface ExamStoreQuestionPostResponseData extends JsonObject {
2713
2586
  "id": string;
2714
- "exam_id"?: string | null;
2587
+ "exam_id": string | null;
2715
2588
  "question_text": string;
2716
2589
  "question_type": string;
2717
- "options"?: BackendJson<"sea_orm::prelude::Json"> | null;
2718
- "correct_answer"?: string | null;
2590
+ "options": JsonValue | null;
2591
+ "correct_answer": string | null;
2719
2592
  "sort_order": number;
2720
2593
  "difficulty": string;
2721
2594
  "points": number;
2722
- "media": BackendJson<"sea_orm::prelude::Json">;
2595
+ "media": JsonValue;
2723
2596
  "status": string;
2724
2597
  "created_at": string;
2725
2598
  "updated_at": string;
@@ -2727,20 +2600,19 @@ export interface ExamStoreQuestionPostResponseData extends JsonObject {
2727
2600
  export interface ExamStoreQuestionPostResponse extends ApiEnvelope<ExamStoreQuestionPostResponseData> {
2728
2601
  }
2729
2602
  /** Backend response type: serde_json::Value. */
2730
- export interface ExamDestroyQuestionDeleteResponse extends ApiEnvelope<JsonValue> {
2731
- }
2603
+ export type ExamDestroyQuestionDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
2732
2604
  /** Backend response type: models::QuestionResponse. */
2733
2605
  export interface ExamShowQuestionGetResponseData extends JsonObject {
2734
2606
  "id": string;
2735
- "exam_id"?: string | null;
2607
+ "exam_id": string | null;
2736
2608
  "question_text": string;
2737
2609
  "question_type": string;
2738
- "options"?: BackendJson<"sea_orm::prelude::Json"> | null;
2739
- "correct_answer"?: string | null;
2610
+ "options": JsonValue | null;
2611
+ "correct_answer": string | null;
2740
2612
  "sort_order": number;
2741
2613
  "difficulty": string;
2742
2614
  "points": number;
2743
- "media": BackendJson<"sea_orm::prelude::Json">;
2615
+ "media": JsonValue;
2744
2616
  "status": string;
2745
2617
  "created_at": string;
2746
2618
  "updated_at": string;
@@ -2752,26 +2624,26 @@ export interface ExamUpdateQuestionPatchInput extends JsonObject {
2752
2624
  "exam_id"?: string | null;
2753
2625
  "question_text"?: string | null;
2754
2626
  "question_type"?: string | null;
2755
- "options"?: BackendJson<"sea_orm::prelude::Json"> | null;
2627
+ "options"?: JsonValue | null;
2756
2628
  "correct_answer"?: string | null;
2757
2629
  "sort_order"?: number | null;
2758
2630
  "difficulty"?: string | null;
2759
2631
  "points"?: number | null;
2760
- "media"?: BackendJson<"sea_orm::prelude::Json"> | null;
2632
+ "media"?: JsonValue | null;
2761
2633
  "status"?: string | null;
2762
2634
  }
2763
2635
  /** Backend response type: models::QuestionResponse. */
2764
2636
  export interface ExamUpdateQuestionPatchResponseData extends JsonObject {
2765
2637
  "id": string;
2766
- "exam_id"?: string | null;
2638
+ "exam_id": string | null;
2767
2639
  "question_text": string;
2768
2640
  "question_type": string;
2769
- "options"?: BackendJson<"sea_orm::prelude::Json"> | null;
2770
- "correct_answer"?: string | null;
2641
+ "options": JsonValue | null;
2642
+ "correct_answer": string | null;
2771
2643
  "sort_order": number;
2772
2644
  "difficulty": string;
2773
2645
  "points": number;
2774
- "media": BackendJson<"sea_orm::prelude::Json">;
2646
+ "media": JsonValue;
2775
2647
  "status": string;
2776
2648
  "created_at": string;
2777
2649
  "updated_at": string;
@@ -2780,8 +2652,8 @@ export interface ExamUpdateQuestionPatchResponse extends ApiEnvelope<ExamUpdateQ
2780
2652
  }
2781
2653
  /** Backend query type: models::SessionListQuery. */
2782
2654
  export interface ExamIndexSessionGetQuery extends QueryParams {
2783
- "page_number"?: number | null;
2784
- "page_size"?: number | null;
2655
+ "page[number]"?: number | null;
2656
+ "page[size]"?: number | null;
2785
2657
  "search"?: string | null;
2786
2658
  "status"?: string | null;
2787
2659
  "exam_id"?: string | null;
@@ -2797,60 +2669,63 @@ export interface ExamIndexSessionGetQuery extends QueryParams {
2797
2669
  /** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
2798
2670
  export interface ExamIndexSessionGetResponseItemTeacherProfile extends JsonObject {
2799
2671
  "user_id": string;
2800
- "first_name"?: JsonValue | null;
2801
- "last_name"?: JsonValue | null;
2802
- "email"?: string | null;
2803
- "national_code"?: string | null;
2804
- "phone"?: string | null;
2805
- "gender"?: string | null;
2672
+ "short_id"?: string | null;
2673
+ "first_name": JsonValue | null;
2674
+ "last_name": JsonValue | null;
2675
+ "email": string | null;
2676
+ "national_code": string | null;
2677
+ "phone": string | null;
2678
+ "gender": string | null;
2806
2679
  }
2807
2680
  export interface ExamIndexSessionGetResponseItemConsultantProfile extends JsonObject {
2808
2681
  "user_id": string;
2809
- "first_name"?: JsonValue | null;
2810
- "last_name"?: JsonValue | null;
2811
- "email"?: string | null;
2812
- "national_code"?: string | null;
2813
- "phone"?: string | null;
2814
- "gender"?: string | null;
2682
+ "short_id"?: string | null;
2683
+ "first_name": JsonValue | null;
2684
+ "last_name": JsonValue | null;
2685
+ "email": string | null;
2686
+ "national_code": string | null;
2687
+ "phone": string | null;
2688
+ "gender": string | null;
2815
2689
  }
2816
2690
  export interface ExamIndexSessionGetResponseItemSupportProfile extends JsonObject {
2817
2691
  "user_id": string;
2818
- "first_name"?: JsonValue | null;
2819
- "last_name"?: JsonValue | null;
2820
- "email"?: string | null;
2821
- "national_code"?: string | null;
2822
- "phone"?: string | null;
2823
- "gender"?: string | null;
2692
+ "short_id"?: string | null;
2693
+ "first_name": JsonValue | null;
2694
+ "last_name": JsonValue | null;
2695
+ "email": string | null;
2696
+ "national_code": string | null;
2697
+ "phone": string | null;
2698
+ "gender": string | null;
2824
2699
  }
2825
2700
  export interface ExamIndexSessionGetResponseItem extends JsonObject {
2826
2701
  "id": string;
2827
2702
  "exam_id": string;
2828
- "exam_name"?: string | null;
2829
- "classroom_id"?: string | null;
2830
- "classroom_name"?: string | null;
2831
- "classroom_session_id"?: string | null;
2832
- "name"?: string | null;
2833
- "description"?: string | null;
2834
- "info"?: string | null;
2835
- "duration_minutes"?: number | null;
2836
- "questions_count"?: number | null;
2837
- "easy_count"?: number | null;
2838
- "medium_count"?: number | null;
2839
- "hard_count"?: number | null;
2703
+ "exam_name": string | null;
2704
+ "classroom_id": string | null;
2705
+ "classroom_name": string | null;
2706
+ "classroom_session_id": string | null;
2707
+ "name": string | null;
2708
+ "description": string | null;
2709
+ "info": string | null;
2710
+ "duration_minutes": number | null;
2711
+ "questions_count": number | null;
2712
+ "easy_count": number | null;
2713
+ "medium_count": number | null;
2714
+ "hard_count": number | null;
2840
2715
  "selection_mode": string;
2841
- "teacher_user_id"?: string | null;
2842
- "teacher_profile"?: ExamIndexSessionGetResponseItemTeacherProfile | null;
2843
- "consultant_user_id"?: string | null;
2844
- "consultant_profile"?: ExamIndexSessionGetResponseItemConsultantProfile | null;
2845
- "support_user_id"?: string | null;
2846
- "support_profile"?: ExamIndexSessionGetResponseItemSupportProfile | null;
2847
- "starts_at"?: string | null;
2848
- "ends_at"?: string | null;
2716
+ "teacher_user_id": string | null;
2717
+ "teacher_profile": ExamIndexSessionGetResponseItemTeacherProfile | null;
2718
+ "consultant_user_id": string | null;
2719
+ "consultant_profile": ExamIndexSessionGetResponseItemConsultantProfile | null;
2720
+ "support_user_id": string | null;
2721
+ "support_profile": ExamIndexSessionGetResponseItemSupportProfile | null;
2722
+ "starts_at": string | null;
2723
+ "ends_at": string | null;
2849
2724
  "status": string;
2850
2725
  "attempts_total": number;
2851
2726
  "attempts_active": number;
2852
2727
  "attempts_completed": number;
2853
- "average_score"?: number | null;
2728
+ "average_score": number | null;
2854
2729
  "created_at": string;
2855
2730
  "updated_at": string;
2856
2731
  }
@@ -2890,208 +2765,197 @@ export interface ExamStoreSessionPostInput extends JsonObject {
2890
2765
  /** Backend response type: models::SessionResponse. */
2891
2766
  export interface ExamStoreSessionPostResponseDataTeacherProfile extends JsonObject {
2892
2767
  "user_id": string;
2893
- "first_name"?: JsonValue | null;
2894
- "last_name"?: JsonValue | null;
2895
- "email"?: string | null;
2896
- "national_code"?: string | null;
2897
- "phone"?: string | null;
2898
- "gender"?: string | null;
2768
+ "short_id"?: string | null;
2769
+ "first_name": JsonValue | null;
2770
+ "last_name": JsonValue | null;
2771
+ "email": string | null;
2772
+ "national_code": string | null;
2773
+ "phone": string | null;
2774
+ "gender": string | null;
2899
2775
  }
2900
2776
  export interface ExamStoreSessionPostResponseDataConsultantProfile extends JsonObject {
2901
2777
  "user_id": string;
2902
- "first_name"?: JsonValue | null;
2903
- "last_name"?: JsonValue | null;
2904
- "email"?: string | null;
2905
- "national_code"?: string | null;
2906
- "phone"?: string | null;
2907
- "gender"?: string | null;
2778
+ "short_id"?: string | null;
2779
+ "first_name": JsonValue | null;
2780
+ "last_name": JsonValue | null;
2781
+ "email": string | null;
2782
+ "national_code": string | null;
2783
+ "phone": string | null;
2784
+ "gender": string | null;
2908
2785
  }
2909
2786
  export interface ExamStoreSessionPostResponseDataSupportProfile extends JsonObject {
2910
2787
  "user_id": string;
2911
- "first_name"?: JsonValue | null;
2912
- "last_name"?: JsonValue | null;
2913
- "email"?: string | null;
2914
- "national_code"?: string | null;
2915
- "phone"?: string | null;
2916
- "gender"?: string | null;
2788
+ "short_id"?: string | null;
2789
+ "first_name": JsonValue | null;
2790
+ "last_name": JsonValue | null;
2791
+ "email": string | null;
2792
+ "national_code": string | null;
2793
+ "phone": string | null;
2794
+ "gender": string | null;
2917
2795
  }
2918
2796
  export interface ExamStoreSessionPostResponseData extends JsonObject {
2919
2797
  "id": string;
2920
2798
  "exam_id": string;
2921
- "exam_name"?: string | null;
2922
- "classroom_id"?: string | null;
2923
- "classroom_name"?: string | null;
2924
- "classroom_session_id"?: string | null;
2925
- "name"?: string | null;
2926
- "description"?: string | null;
2927
- "info"?: string | null;
2928
- "duration_minutes"?: number | null;
2929
- "questions_count"?: number | null;
2930
- "easy_count"?: number | null;
2931
- "medium_count"?: number | null;
2932
- "hard_count"?: number | null;
2799
+ "exam_name": string | null;
2800
+ "classroom_id": string | null;
2801
+ "classroom_name": string | null;
2802
+ "classroom_session_id": string | null;
2803
+ "name": string | null;
2804
+ "description": string | null;
2805
+ "info": string | null;
2806
+ "duration_minutes": number | null;
2807
+ "questions_count": number | null;
2808
+ "easy_count": number | null;
2809
+ "medium_count": number | null;
2810
+ "hard_count": number | null;
2933
2811
  "selection_mode": string;
2934
- "teacher_user_id"?: string | null;
2935
- "teacher_profile"?: ExamStoreSessionPostResponseDataTeacherProfile | null;
2936
- "consultant_user_id"?: string | null;
2937
- "consultant_profile"?: ExamStoreSessionPostResponseDataConsultantProfile | null;
2938
- "support_user_id"?: string | null;
2939
- "support_profile"?: ExamStoreSessionPostResponseDataSupportProfile | null;
2940
- "starts_at"?: string | null;
2941
- "ends_at"?: string | null;
2812
+ "teacher_user_id": string | null;
2813
+ "teacher_profile": ExamStoreSessionPostResponseDataTeacherProfile | null;
2814
+ "consultant_user_id": string | null;
2815
+ "consultant_profile": ExamStoreSessionPostResponseDataConsultantProfile | null;
2816
+ "support_user_id": string | null;
2817
+ "support_profile": ExamStoreSessionPostResponseDataSupportProfile | null;
2818
+ "starts_at": string | null;
2819
+ "ends_at": string | null;
2942
2820
  "status": string;
2943
2821
  "attempts_total": number;
2944
2822
  "attempts_active": number;
2945
2823
  "attempts_completed": number;
2946
- "average_score"?: number | null;
2824
+ "average_score": number | null;
2947
2825
  "created_at": string;
2948
2826
  "updated_at": string;
2949
2827
  }
2950
2828
  export interface ExamStoreSessionPostResponse extends ApiEnvelope<ExamStoreSessionPostResponseData> {
2951
2829
  }
2952
2830
  /** Backend response type: serde_json::Value. */
2953
- export interface ExamDestroySessionDeleteResponse extends ApiEnvelope<JsonValue> {
2954
- }
2831
+ export type ExamDestroySessionDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
2955
2832
  /** Backend response type: models::SessionResponse. */
2956
2833
  export interface ExamShowSessionGetResponseDataTeacherProfile extends JsonObject {
2957
2834
  "user_id": string;
2958
- "first_name"?: JsonValue | null;
2959
- "last_name"?: JsonValue | null;
2960
- "email"?: string | null;
2961
- "national_code"?: string | null;
2962
- "phone"?: string | null;
2963
- "gender"?: string | null;
2835
+ "short_id"?: string | null;
2836
+ "first_name": JsonValue | null;
2837
+ "last_name": JsonValue | null;
2838
+ "email": string | null;
2839
+ "national_code": string | null;
2840
+ "phone": string | null;
2841
+ "gender": string | null;
2964
2842
  }
2965
2843
  export interface ExamShowSessionGetResponseDataConsultantProfile extends JsonObject {
2966
2844
  "user_id": string;
2967
- "first_name"?: JsonValue | null;
2968
- "last_name"?: JsonValue | null;
2969
- "email"?: string | null;
2970
- "national_code"?: string | null;
2971
- "phone"?: string | null;
2972
- "gender"?: string | null;
2845
+ "short_id"?: string | null;
2846
+ "first_name": JsonValue | null;
2847
+ "last_name": JsonValue | null;
2848
+ "email": string | null;
2849
+ "national_code": string | null;
2850
+ "phone": string | null;
2851
+ "gender": string | null;
2973
2852
  }
2974
2853
  export interface ExamShowSessionGetResponseDataSupportProfile extends JsonObject {
2975
2854
  "user_id": string;
2976
- "first_name"?: JsonValue | null;
2977
- "last_name"?: JsonValue | null;
2978
- "email"?: string | null;
2979
- "national_code"?: string | null;
2980
- "phone"?: string | null;
2981
- "gender"?: string | null;
2855
+ "short_id"?: string | null;
2856
+ "first_name": JsonValue | null;
2857
+ "last_name": JsonValue | null;
2858
+ "email": string | null;
2859
+ "national_code": string | null;
2860
+ "phone": string | null;
2861
+ "gender": string | null;
2982
2862
  }
2983
2863
  export interface ExamShowSessionGetResponseData extends JsonObject {
2984
2864
  "id": string;
2985
2865
  "exam_id": string;
2986
- "exam_name"?: string | null;
2987
- "classroom_id"?: string | null;
2988
- "classroom_name"?: string | null;
2989
- "classroom_session_id"?: string | null;
2990
- "name"?: string | null;
2991
- "description"?: string | null;
2992
- "info"?: string | null;
2993
- "duration_minutes"?: number | null;
2994
- "questions_count"?: number | null;
2995
- "easy_count"?: number | null;
2996
- "medium_count"?: number | null;
2997
- "hard_count"?: number | null;
2866
+ "exam_name": string | null;
2867
+ "classroom_id": string | null;
2868
+ "classroom_name": string | null;
2869
+ "classroom_session_id": string | null;
2870
+ "name": string | null;
2871
+ "description": string | null;
2872
+ "info": string | null;
2873
+ "duration_minutes": number | null;
2874
+ "questions_count": number | null;
2875
+ "easy_count": number | null;
2876
+ "medium_count": number | null;
2877
+ "hard_count": number | null;
2998
2878
  "selection_mode": string;
2999
- "teacher_user_id"?: string | null;
3000
- "teacher_profile"?: ExamShowSessionGetResponseDataTeacherProfile | null;
3001
- "consultant_user_id"?: string | null;
3002
- "consultant_profile"?: ExamShowSessionGetResponseDataConsultantProfile | null;
3003
- "support_user_id"?: string | null;
3004
- "support_profile"?: ExamShowSessionGetResponseDataSupportProfile | null;
3005
- "starts_at"?: string | null;
3006
- "ends_at"?: string | null;
2879
+ "teacher_user_id": string | null;
2880
+ "teacher_profile": ExamShowSessionGetResponseDataTeacherProfile | null;
2881
+ "consultant_user_id": string | null;
2882
+ "consultant_profile": ExamShowSessionGetResponseDataConsultantProfile | null;
2883
+ "support_user_id": string | null;
2884
+ "support_profile": ExamShowSessionGetResponseDataSupportProfile | null;
2885
+ "starts_at": string | null;
2886
+ "ends_at": string | null;
3007
2887
  "status": string;
3008
2888
  "attempts_total": number;
3009
2889
  "attempts_active": number;
3010
2890
  "attempts_completed": number;
3011
- "average_score"?: number | null;
2891
+ "average_score": number | null;
3012
2892
  "created_at": string;
3013
2893
  "updated_at": string;
3014
2894
  }
3015
2895
  export interface ExamShowSessionGetResponse extends ApiEnvelope<ExamShowSessionGetResponseData> {
3016
2896
  }
3017
2897
  /** Backend request type: models::UpdateSessionRequest. */
3018
- export interface ExamUpdateSessionPatchInput extends JsonObject {
3019
- "exam_id"?: string | null;
3020
- "classroom_id"?: BackendJson<"PatchField<Uuid>">;
3021
- "classroom_session_id"?: BackendJson<"PatchField<Uuid>">;
3022
- "name"?: BackendJson<"PatchField<String>">;
3023
- "description"?: BackendJson<"PatchField<String>">;
3024
- "info"?: BackendJson<"PatchField<String>">;
3025
- "duration_minutes"?: BackendJson<"PatchField<i32>">;
3026
- "questions_count"?: BackendJson<"PatchField<i32>">;
3027
- "easy_count"?: BackendJson<"PatchField<i32>">;
3028
- "medium_count"?: BackendJson<"PatchField<i32>">;
3029
- "hard_count"?: BackendJson<"PatchField<i32>">;
3030
- "selection_mode"?: string | null;
3031
- "teacher_user_id"?: BackendJson<"PatchField<String>">;
3032
- "consultant_user_id"?: BackendJson<"PatchField<String>">;
3033
- "support_user_id"?: BackendJson<"PatchField<String>">;
3034
- "starts_at"?: BackendJson<"PatchField<String>">;
3035
- "ends_at"?: BackendJson<"PatchField<String>">;
3036
- "status"?: string | null;
3037
- }
2898
+ export type ExamUpdateSessionPatchInput = import("./types.js").UpdateExamSessionInput;
3038
2899
  /** Backend response type: models::SessionResponse. */
3039
2900
  export interface ExamUpdateSessionPatchResponseDataTeacherProfile extends JsonObject {
3040
2901
  "user_id": string;
3041
- "first_name"?: JsonValue | null;
3042
- "last_name"?: JsonValue | null;
3043
- "email"?: string | null;
3044
- "national_code"?: string | null;
3045
- "phone"?: string | null;
3046
- "gender"?: string | null;
2902
+ "short_id"?: string | null;
2903
+ "first_name": JsonValue | null;
2904
+ "last_name": JsonValue | null;
2905
+ "email": string | null;
2906
+ "national_code": string | null;
2907
+ "phone": string | null;
2908
+ "gender": string | null;
3047
2909
  }
3048
2910
  export interface ExamUpdateSessionPatchResponseDataConsultantProfile extends JsonObject {
3049
2911
  "user_id": string;
3050
- "first_name"?: JsonValue | null;
3051
- "last_name"?: JsonValue | null;
3052
- "email"?: string | null;
3053
- "national_code"?: string | null;
3054
- "phone"?: string | null;
3055
- "gender"?: string | null;
2912
+ "short_id"?: string | null;
2913
+ "first_name": JsonValue | null;
2914
+ "last_name": JsonValue | null;
2915
+ "email": string | null;
2916
+ "national_code": string | null;
2917
+ "phone": string | null;
2918
+ "gender": string | null;
3056
2919
  }
3057
2920
  export interface ExamUpdateSessionPatchResponseDataSupportProfile extends JsonObject {
3058
2921
  "user_id": string;
3059
- "first_name"?: JsonValue | null;
3060
- "last_name"?: JsonValue | null;
3061
- "email"?: string | null;
3062
- "national_code"?: string | null;
3063
- "phone"?: string | null;
3064
- "gender"?: string | null;
2922
+ "short_id"?: string | null;
2923
+ "first_name": JsonValue | null;
2924
+ "last_name": JsonValue | null;
2925
+ "email": string | null;
2926
+ "national_code": string | null;
2927
+ "phone": string | null;
2928
+ "gender": string | null;
3065
2929
  }
3066
2930
  export interface ExamUpdateSessionPatchResponseData extends JsonObject {
3067
2931
  "id": string;
3068
2932
  "exam_id": string;
3069
- "exam_name"?: string | null;
3070
- "classroom_id"?: string | null;
3071
- "classroom_name"?: string | null;
3072
- "classroom_session_id"?: string | null;
3073
- "name"?: string | null;
3074
- "description"?: string | null;
3075
- "info"?: string | null;
3076
- "duration_minutes"?: number | null;
3077
- "questions_count"?: number | null;
3078
- "easy_count"?: number | null;
3079
- "medium_count"?: number | null;
3080
- "hard_count"?: number | null;
2933
+ "exam_name": string | null;
2934
+ "classroom_id": string | null;
2935
+ "classroom_name": string | null;
2936
+ "classroom_session_id": string | null;
2937
+ "name": string | null;
2938
+ "description": string | null;
2939
+ "info": string | null;
2940
+ "duration_minutes": number | null;
2941
+ "questions_count": number | null;
2942
+ "easy_count": number | null;
2943
+ "medium_count": number | null;
2944
+ "hard_count": number | null;
3081
2945
  "selection_mode": string;
3082
- "teacher_user_id"?: string | null;
3083
- "teacher_profile"?: ExamUpdateSessionPatchResponseDataTeacherProfile | null;
3084
- "consultant_user_id"?: string | null;
3085
- "consultant_profile"?: ExamUpdateSessionPatchResponseDataConsultantProfile | null;
3086
- "support_user_id"?: string | null;
3087
- "support_profile"?: ExamUpdateSessionPatchResponseDataSupportProfile | null;
3088
- "starts_at"?: string | null;
3089
- "ends_at"?: string | null;
2946
+ "teacher_user_id": string | null;
2947
+ "teacher_profile": ExamUpdateSessionPatchResponseDataTeacherProfile | null;
2948
+ "consultant_user_id": string | null;
2949
+ "consultant_profile": ExamUpdateSessionPatchResponseDataConsultantProfile | null;
2950
+ "support_user_id": string | null;
2951
+ "support_profile": ExamUpdateSessionPatchResponseDataSupportProfile | null;
2952
+ "starts_at": string | null;
2953
+ "ends_at": string | null;
3090
2954
  "status": string;
3091
2955
  "attempts_total": number;
3092
2956
  "attempts_active": number;
3093
2957
  "attempts_completed": number;
3094
- "average_score"?: number | null;
2958
+ "average_score": number | null;
3095
2959
  "created_at": string;
3096
2960
  "updated_at": string;
3097
2961
  }
@@ -3099,8 +2963,8 @@ export interface ExamUpdateSessionPatchResponse extends ApiEnvelope<ExamUpdateSe
3099
2963
  }
3100
2964
  /** Backend query type: models::HomeworkBankListQuery. */
3101
2965
  export interface HomeworkIndexBankGetQuery extends QueryParams {
3102
- "page_number"?: number | null;
3103
- "page_size"?: number | null;
2966
+ "page[number]"?: number | null;
2967
+ "page[size]"?: number | null;
3104
2968
  "search"?: string | null;
3105
2969
  "status"?: string | null;
3106
2970
  "teacher_user_id"?: string | null;
@@ -3109,16 +2973,16 @@ export interface HomeworkIndexBankGetQuery extends QueryParams {
3109
2973
  /** Backend response type: crate::models::PagedResult<models::HomeworkBankResponse>. */
3110
2974
  export interface HomeworkIndexBankGetResponseItem extends JsonObject {
3111
2975
  "id": string;
3112
- "course_id"?: string | null;
3113
- "course_name"?: string | null;
3114
- "grade_id"?: string | null;
3115
- "teacher_grade_id"?: string | null;
2976
+ "course_id": string | null;
2977
+ "course_name": string | null;
2978
+ "grade_id": string | null;
2979
+ "teacher_grade_id": string | null;
3116
2980
  "name": string;
3117
- "title"?: string | null;
3118
- "description"?: string | null;
2981
+ "title": string | null;
2982
+ "description": string | null;
3119
2983
  "status": string;
3120
2984
  "sort_order": number;
3121
- "difficulty"?: string | null;
2985
+ "difficulty": string | null;
3122
2986
  "points": number;
3123
2987
  "created_at": string;
3124
2988
  "updated_at": string;
@@ -3151,16 +3015,16 @@ export interface HomeworkStoreBankPostInput extends JsonObject {
3151
3015
  /** Backend response type: models::HomeworkBankResponse. */
3152
3016
  export interface HomeworkStoreBankPostResponseData extends JsonObject {
3153
3017
  "id": string;
3154
- "course_id"?: string | null;
3155
- "course_name"?: string | null;
3156
- "grade_id"?: string | null;
3157
- "teacher_grade_id"?: string | null;
3018
+ "course_id": string | null;
3019
+ "course_name": string | null;
3020
+ "grade_id": string | null;
3021
+ "teacher_grade_id": string | null;
3158
3022
  "name": string;
3159
- "title"?: string | null;
3160
- "description"?: string | null;
3023
+ "title": string | null;
3024
+ "description": string | null;
3161
3025
  "status": string;
3162
3026
  "sort_order": number;
3163
- "difficulty"?: string | null;
3027
+ "difficulty": string | null;
3164
3028
  "points": number;
3165
3029
  "created_at": string;
3166
3030
  "updated_at": string;
@@ -3169,8 +3033,8 @@ export interface HomeworkStoreBankPostResponse extends ApiEnvelope<HomeworkStore
3169
3033
  }
3170
3034
  /** Backend query type: models::BankHomeworkListQuery. */
3171
3035
  export interface HomeworkIndexBankHomeworkGetQuery extends QueryParams {
3172
- "page_number"?: number | null;
3173
- "page_size"?: number | null;
3036
+ "page[number]"?: number | null;
3037
+ "page[size]"?: number | null;
3174
3038
  "search"?: string | null;
3175
3039
  "status"?: string | null;
3176
3040
  "question_type"?: string | null;
@@ -3181,12 +3045,12 @@ export interface HomeworkIndexBankHomeworkGetResponseItem extends JsonObject {
3181
3045
  "id": string;
3182
3046
  "homework_id": string;
3183
3047
  "name": string;
3184
- "bank_name"?: string | null;
3048
+ "bank_name": string | null;
3185
3049
  "assignable": boolean;
3186
- "assignment_block_reason"?: string | null;
3050
+ "assignment_block_reason": string | null;
3187
3051
  "question_text": string;
3188
- "description"?: string | null;
3189
- "answer"?: string | null;
3052
+ "description": string | null;
3053
+ "answer": string | null;
3190
3054
  "question_type": string;
3191
3055
  "kind": string;
3192
3056
  "points": number;
@@ -3228,12 +3092,12 @@ export interface HomeworkStoreBankHomeworkPostResponseData extends JsonObject {
3228
3092
  "id": string;
3229
3093
  "homework_id": string;
3230
3094
  "name": string;
3231
- "bank_name"?: string | null;
3095
+ "bank_name": string | null;
3232
3096
  "assignable": boolean;
3233
- "assignment_block_reason"?: string | null;
3097
+ "assignment_block_reason": string | null;
3234
3098
  "question_text": string;
3235
- "description"?: string | null;
3236
- "answer"?: string | null;
3099
+ "description": string | null;
3100
+ "answer": string | null;
3237
3101
  "question_type": string;
3238
3102
  "kind": string;
3239
3103
  "points": number;
@@ -3247,19 +3111,18 @@ export interface HomeworkStoreBankHomeworkPostResponseData extends JsonObject {
3247
3111
  export interface HomeworkStoreBankHomeworkPostResponse extends ApiEnvelope<HomeworkStoreBankHomeworkPostResponseData> {
3248
3112
  }
3249
3113
  /** Backend response type: serde_json::Value. */
3250
- export interface HomeworkDestroyBankHomeworkDeleteResponse extends ApiEnvelope<JsonValue> {
3251
- }
3114
+ export type HomeworkDestroyBankHomeworkDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
3252
3115
  /** Backend response type: models::QuestionResponse. */
3253
3116
  export interface HomeworkShowBankHomeworkGetResponseData extends JsonObject {
3254
3117
  "id": string;
3255
3118
  "homework_id": string;
3256
3119
  "name": string;
3257
- "bank_name"?: string | null;
3120
+ "bank_name": string | null;
3258
3121
  "assignable": boolean;
3259
- "assignment_block_reason"?: string | null;
3122
+ "assignment_block_reason": string | null;
3260
3123
  "question_text": string;
3261
- "description"?: string | null;
3262
- "answer"?: string | null;
3124
+ "description": string | null;
3125
+ "answer": string | null;
3263
3126
  "question_type": string;
3264
3127
  "kind": string;
3265
3128
  "points": number;
@@ -3291,12 +3154,12 @@ export interface HomeworkUpdateBankHomeworkPatchResponseData extends JsonObject
3291
3154
  "id": string;
3292
3155
  "homework_id": string;
3293
3156
  "name": string;
3294
- "bank_name"?: string | null;
3157
+ "bank_name": string | null;
3295
3158
  "assignable": boolean;
3296
- "assignment_block_reason"?: string | null;
3159
+ "assignment_block_reason": string | null;
3297
3160
  "question_text": string;
3298
- "description"?: string | null;
3299
- "answer"?: string | null;
3161
+ "description": string | null;
3162
+ "answer": string | null;
3300
3163
  "question_type": string;
3301
3164
  "kind": string;
3302
3165
  "points": number;
@@ -3310,21 +3173,20 @@ export interface HomeworkUpdateBankHomeworkPatchResponseData extends JsonObject
3310
3173
  export interface HomeworkUpdateBankHomeworkPatchResponse extends ApiEnvelope<HomeworkUpdateBankHomeworkPatchResponseData> {
3311
3174
  }
3312
3175
  /** Backend response type: serde_json::Value. */
3313
- export interface HomeworkDestroyBankDeleteResponse extends ApiEnvelope<JsonValue> {
3314
- }
3176
+ export type HomeworkDestroyBankDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
3315
3177
  /** Backend response type: models::HomeworkBankResponse. */
3316
3178
  export interface HomeworkShowBankGetResponseData extends JsonObject {
3317
3179
  "id": string;
3318
- "course_id"?: string | null;
3319
- "course_name"?: string | null;
3320
- "grade_id"?: string | null;
3321
- "teacher_grade_id"?: string | null;
3180
+ "course_id": string | null;
3181
+ "course_name": string | null;
3182
+ "grade_id": string | null;
3183
+ "teacher_grade_id": string | null;
3322
3184
  "name": string;
3323
- "title"?: string | null;
3324
- "description"?: string | null;
3185
+ "title": string | null;
3186
+ "description": string | null;
3325
3187
  "status": string;
3326
3188
  "sort_order": number;
3327
- "difficulty"?: string | null;
3189
+ "difficulty": string | null;
3328
3190
  "points": number;
3329
3191
  "created_at": string;
3330
3192
  "updated_at": string;
@@ -3347,16 +3209,16 @@ export interface HomeworkUpdateBankPatchInput extends JsonObject {
3347
3209
  /** Backend response type: models::HomeworkBankResponse. */
3348
3210
  export interface HomeworkUpdateBankPatchResponseData extends JsonObject {
3349
3211
  "id": string;
3350
- "course_id"?: string | null;
3351
- "course_name"?: string | null;
3352
- "grade_id"?: string | null;
3353
- "teacher_grade_id"?: string | null;
3212
+ "course_id": string | null;
3213
+ "course_name": string | null;
3214
+ "grade_id": string | null;
3215
+ "teacher_grade_id": string | null;
3354
3216
  "name": string;
3355
- "title"?: string | null;
3356
- "description"?: string | null;
3217
+ "title": string | null;
3218
+ "description": string | null;
3357
3219
  "status": string;
3358
3220
  "sort_order": number;
3359
- "difficulty"?: string | null;
3221
+ "difficulty": string | null;
3360
3222
  "points": number;
3361
3223
  "created_at": string;
3362
3224
  "updated_at": string;
@@ -3365,8 +3227,8 @@ export interface HomeworkUpdateBankPatchResponse extends ApiEnvelope<HomeworkUpd
3365
3227
  }
3366
3228
  /** Backend query type: models::HomeworkListQuery. */
3367
3229
  export interface HomeworkIndexHomeworkGetQuery extends QueryParams {
3368
- "page_number"?: number | null;
3369
- "page_size"?: number | null;
3230
+ "page[number]"?: number | null;
3231
+ "page[size]"?: number | null;
3370
3232
  "search"?: string | null;
3371
3233
  "status"?: string | null;
3372
3234
  "homework_bank_id"?: string | null;
@@ -3381,17 +3243,17 @@ export interface HomeworkIndexHomeworkGetQuery extends QueryParams {
3381
3243
  /** Backend response type: crate::models::PagedResult<models::HomeworkResponse>. */
3382
3244
  export interface HomeworkIndexHomeworkGetResponseItem extends JsonObject {
3383
3245
  "id": string;
3384
- "homework_bank_id"?: string | null;
3385
- "course_id"?: string | null;
3386
- "course_name"?: string | null;
3387
- "grade_id"?: string | null;
3388
- "teacher_grade_id"?: string | null;
3246
+ "homework_bank_id": string | null;
3247
+ "course_id": string | null;
3248
+ "course_name": string | null;
3249
+ "grade_id": string | null;
3250
+ "teacher_grade_id": string | null;
3389
3251
  "name": string;
3390
- "title"?: string | null;
3391
- "description"?: string | null;
3252
+ "title": string | null;
3253
+ "description": string | null;
3392
3254
  "status": string;
3393
3255
  "sort_order": number;
3394
- "difficulty"?: string | null;
3256
+ "difficulty": string | null;
3395
3257
  "points": number;
3396
3258
  "created_at": string;
3397
3259
  "updated_at": string;
@@ -3425,17 +3287,17 @@ export interface HomeworkStoreHomeworkPostInput extends JsonObject {
3425
3287
  /** Backend response type: models::HomeworkResponse. */
3426
3288
  export interface HomeworkStoreHomeworkPostResponseData extends JsonObject {
3427
3289
  "id": string;
3428
- "homework_bank_id"?: string | null;
3429
- "course_id"?: string | null;
3430
- "course_name"?: string | null;
3431
- "grade_id"?: string | null;
3432
- "teacher_grade_id"?: string | null;
3290
+ "homework_bank_id": string | null;
3291
+ "course_id": string | null;
3292
+ "course_name": string | null;
3293
+ "grade_id": string | null;
3294
+ "teacher_grade_id": string | null;
3433
3295
  "name": string;
3434
- "title"?: string | null;
3435
- "description"?: string | null;
3296
+ "title": string | null;
3297
+ "description": string | null;
3436
3298
  "status": string;
3437
3299
  "sort_order": number;
3438
- "difficulty"?: string | null;
3300
+ "difficulty": string | null;
3439
3301
  "points": number;
3440
3302
  "created_at": string;
3441
3303
  "updated_at": string;
@@ -3443,22 +3305,21 @@ export interface HomeworkStoreHomeworkPostResponseData extends JsonObject {
3443
3305
  export interface HomeworkStoreHomeworkPostResponse extends ApiEnvelope<HomeworkStoreHomeworkPostResponseData> {
3444
3306
  }
3445
3307
  /** Backend response type: serde_json::Value. */
3446
- export interface HomeworkDestroyHomeworkDeleteResponse extends ApiEnvelope<JsonValue> {
3447
- }
3308
+ export type HomeworkDestroyHomeworkDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
3448
3309
  /** Backend response type: models::HomeworkResponse. */
3449
3310
  export interface HomeworkShowHomeworkGetResponseData extends JsonObject {
3450
3311
  "id": string;
3451
- "homework_bank_id"?: string | null;
3452
- "course_id"?: string | null;
3453
- "course_name"?: string | null;
3454
- "grade_id"?: string | null;
3455
- "teacher_grade_id"?: string | null;
3312
+ "homework_bank_id": string | null;
3313
+ "course_id": string | null;
3314
+ "course_name": string | null;
3315
+ "grade_id": string | null;
3316
+ "teacher_grade_id": string | null;
3456
3317
  "name": string;
3457
- "title"?: string | null;
3458
- "description"?: string | null;
3318
+ "title": string | null;
3319
+ "description": string | null;
3459
3320
  "status": string;
3460
3321
  "sort_order": number;
3461
- "difficulty"?: string | null;
3322
+ "difficulty": string | null;
3462
3323
  "points": number;
3463
3324
  "created_at": string;
3464
3325
  "updated_at": string;
@@ -3482,17 +3343,17 @@ export interface HomeworkUpdateHomeworkPatchInput extends JsonObject {
3482
3343
  /** Backend response type: models::HomeworkResponse. */
3483
3344
  export interface HomeworkUpdateHomeworkPatchResponseData extends JsonObject {
3484
3345
  "id": string;
3485
- "homework_bank_id"?: string | null;
3486
- "course_id"?: string | null;
3487
- "course_name"?: string | null;
3488
- "grade_id"?: string | null;
3489
- "teacher_grade_id"?: string | null;
3346
+ "homework_bank_id": string | null;
3347
+ "course_id": string | null;
3348
+ "course_name": string | null;
3349
+ "grade_id": string | null;
3350
+ "teacher_grade_id": string | null;
3490
3351
  "name": string;
3491
- "title"?: string | null;
3492
- "description"?: string | null;
3352
+ "title": string | null;
3353
+ "description": string | null;
3493
3354
  "status": string;
3494
3355
  "sort_order": number;
3495
- "difficulty"?: string | null;
3356
+ "difficulty": string | null;
3496
3357
  "points": number;
3497
3358
  "created_at": string;
3498
3359
  "updated_at": string;
@@ -3501,8 +3362,8 @@ export interface HomeworkUpdateHomeworkPatchResponse extends ApiEnvelope<Homewor
3501
3362
  }
3502
3363
  /** Backend query type: models::AssignmentListQuery. */
3503
3364
  export interface HomeworkIndexAssignmentGetQuery extends QueryParams {
3504
- "page_number"?: number | null;
3505
- "page_size"?: number | null;
3365
+ "page[number]"?: number | null;
3366
+ "page[size]"?: number | null;
3506
3367
  "status"?: string | null;
3507
3368
  "homework_id"?: string | null;
3508
3369
  "course_id"?: string | null;
@@ -3518,66 +3379,70 @@ export interface HomeworkIndexAssignmentGetQuery extends QueryParams {
3518
3379
  /** Backend response type: crate::models::PagedResult<models::AssignmentResponse>. */
3519
3380
  export interface HomeworkIndexAssignmentGetResponseItemProfile extends JsonObject {
3520
3381
  "user_id": string;
3521
- "first_name"?: JsonValue | null;
3522
- "last_name"?: JsonValue | null;
3523
- "email"?: string | null;
3524
- "national_code"?: string | null;
3525
- "phone"?: string | null;
3526
- "gender"?: string | null;
3382
+ "short_id"?: string | null;
3383
+ "first_name": JsonValue | null;
3384
+ "last_name": JsonValue | null;
3385
+ "email": string | null;
3386
+ "national_code": string | null;
3387
+ "phone": string | null;
3388
+ "gender": string | null;
3527
3389
  }
3528
3390
  export interface HomeworkIndexAssignmentGetResponseItemTeacherProfile extends JsonObject {
3529
3391
  "user_id": string;
3530
- "first_name"?: JsonValue | null;
3531
- "last_name"?: JsonValue | null;
3532
- "email"?: string | null;
3533
- "national_code"?: string | null;
3534
- "phone"?: string | null;
3535
- "gender"?: string | null;
3392
+ "short_id"?: string | null;
3393
+ "first_name": JsonValue | null;
3394
+ "last_name": JsonValue | null;
3395
+ "email": string | null;
3396
+ "national_code": string | null;
3397
+ "phone": string | null;
3398
+ "gender": string | null;
3536
3399
  }
3537
3400
  export interface HomeworkIndexAssignmentGetResponseItemConsultantProfile extends JsonObject {
3538
3401
  "user_id": string;
3539
- "first_name"?: JsonValue | null;
3540
- "last_name"?: JsonValue | null;
3541
- "email"?: string | null;
3542
- "national_code"?: string | null;
3543
- "phone"?: string | null;
3544
- "gender"?: string | null;
3402
+ "short_id"?: string | null;
3403
+ "first_name": JsonValue | null;
3404
+ "last_name": JsonValue | null;
3405
+ "email": string | null;
3406
+ "national_code": string | null;
3407
+ "phone": string | null;
3408
+ "gender": string | null;
3545
3409
  }
3546
3410
  export interface HomeworkIndexAssignmentGetResponseItemSupportProfile extends JsonObject {
3547
3411
  "user_id": string;
3548
- "first_name"?: JsonValue | null;
3549
- "last_name"?: JsonValue | null;
3550
- "email"?: string | null;
3551
- "national_code"?: string | null;
3552
- "phone"?: string | null;
3553
- "gender"?: string | null;
3412
+ "short_id"?: string | null;
3413
+ "first_name": JsonValue | null;
3414
+ "last_name": JsonValue | null;
3415
+ "email": string | null;
3416
+ "national_code": string | null;
3417
+ "phone": string | null;
3418
+ "gender": string | null;
3554
3419
  }
3555
3420
  export interface HomeworkIndexAssignmentGetResponseItem extends JsonObject {
3556
3421
  "id": string;
3557
3422
  "homework_id": string;
3558
- "homework_question_id"?: string | null;
3559
- "homework_name"?: string | null;
3560
- "homework"?: import("./types.js").Homework | null;
3561
- "homework_question"?: import("./types.js").HomeworkQuestion | null;
3562
- "course_id"?: string | null;
3563
- "classroom_id"?: string | null;
3564
- "classroom_name"?: string | null;
3565
- "user_id"?: string | null;
3566
- "profile"?: HomeworkIndexAssignmentGetResponseItemProfile | null;
3567
- "teacher_user_id"?: string | null;
3568
- "teacher_profile"?: HomeworkIndexAssignmentGetResponseItemTeacherProfile | null;
3569
- "consultant_user_id"?: string | null;
3570
- "consultant_profile"?: HomeworkIndexAssignmentGetResponseItemConsultantProfile | null;
3571
- "support_user_id"?: string | null;
3572
- "support_profile"?: HomeworkIndexAssignmentGetResponseItemSupportProfile | null;
3573
- "chat_conversation_id"?: string | null;
3574
- "due_at"?: string | null;
3423
+ "homework_question_id": string | null;
3424
+ "homework_name": string | null;
3425
+ "homework": import("./types.js").Homework | null;
3426
+ "homework_question": import("./types.js").HomeworkQuestion | null;
3427
+ "course_id": string | null;
3428
+ "classroom_id": string | null;
3429
+ "classroom_name": string | null;
3430
+ "user_id": string | null;
3431
+ "profile": HomeworkIndexAssignmentGetResponseItemProfile | null;
3432
+ "teacher_user_id": string | null;
3433
+ "teacher_profile": HomeworkIndexAssignmentGetResponseItemTeacherProfile | null;
3434
+ "consultant_user_id": string | null;
3435
+ "consultant_profile": HomeworkIndexAssignmentGetResponseItemConsultantProfile | null;
3436
+ "support_user_id": string | null;
3437
+ "support_profile": HomeworkIndexAssignmentGetResponseItemSupportProfile | null;
3438
+ "chat_conversation_id": string | null;
3439
+ "due_at": string | null;
3575
3440
  "status": string;
3576
- "answer_text"?: string | null;
3577
- "description"?: string | null;
3578
- "score"?: number | null;
3579
- "active_until"?: string | null;
3580
- "resolved_at"?: string | null;
3441
+ "answer_text": string | null;
3442
+ "description": string | null;
3443
+ "score": number | null;
3444
+ "active_until": string | null;
3445
+ "resolved_at": string | null;
3581
3446
  "created_at": string;
3582
3447
  "updated_at": string;
3583
3448
  }
@@ -3594,152 +3459,148 @@ export interface HomeworkIndexAssignmentGetResponseData extends JsonObject {
3594
3459
  export interface HomeworkIndexAssignmentGetResponse extends ApiEnvelope<HomeworkIndexAssignmentGetResponseData> {
3595
3460
  }
3596
3461
  /** Backend request type: models::CreateAssignmentRequest. */
3597
- export interface HomeworkStoreAssignmentPostInput extends JsonObject {
3598
- "homework_id": string;
3599
- "classroom_id"?: string | null;
3600
- "user_id"?: string | null;
3601
- "teacher_user_id"?: string | null;
3602
- "consultant_user_id"?: string | null;
3603
- "support_user_id"?: string | null;
3604
- "due_at"?: string | null;
3605
- "status": string;
3606
- "answer_text"?: string | null;
3607
- "score"?: number | null;
3608
- }
3462
+ export type HomeworkStoreAssignmentPostInput = import("./wire.types.js").LmsCreateAssignmentInput;
3609
3463
  /** Backend response type: models::AssignmentResponse. */
3610
3464
  export interface HomeworkStoreAssignmentPostResponseDataProfile extends JsonObject {
3611
3465
  "user_id": string;
3612
- "first_name"?: JsonValue | null;
3613
- "last_name"?: JsonValue | null;
3614
- "email"?: string | null;
3615
- "national_code"?: string | null;
3616
- "phone"?: string | null;
3617
- "gender"?: string | null;
3466
+ "short_id"?: string | null;
3467
+ "first_name": JsonValue | null;
3468
+ "last_name": JsonValue | null;
3469
+ "email": string | null;
3470
+ "national_code": string | null;
3471
+ "phone": string | null;
3472
+ "gender": string | null;
3618
3473
  }
3619
3474
  export interface HomeworkStoreAssignmentPostResponseDataTeacherProfile extends JsonObject {
3620
3475
  "user_id": string;
3621
- "first_name"?: JsonValue | null;
3622
- "last_name"?: JsonValue | null;
3623
- "email"?: string | null;
3624
- "national_code"?: string | null;
3625
- "phone"?: string | null;
3626
- "gender"?: string | null;
3476
+ "short_id"?: string | null;
3477
+ "first_name": JsonValue | null;
3478
+ "last_name": JsonValue | null;
3479
+ "email": string | null;
3480
+ "national_code": string | null;
3481
+ "phone": string | null;
3482
+ "gender": string | null;
3627
3483
  }
3628
3484
  export interface HomeworkStoreAssignmentPostResponseDataConsultantProfile extends JsonObject {
3629
3485
  "user_id": string;
3630
- "first_name"?: JsonValue | null;
3631
- "last_name"?: JsonValue | null;
3632
- "email"?: string | null;
3633
- "national_code"?: string | null;
3634
- "phone"?: string | null;
3635
- "gender"?: string | null;
3486
+ "short_id"?: string | null;
3487
+ "first_name": JsonValue | null;
3488
+ "last_name": JsonValue | null;
3489
+ "email": string | null;
3490
+ "national_code": string | null;
3491
+ "phone": string | null;
3492
+ "gender": string | null;
3636
3493
  }
3637
3494
  export interface HomeworkStoreAssignmentPostResponseDataSupportProfile extends JsonObject {
3638
3495
  "user_id": string;
3639
- "first_name"?: JsonValue | null;
3640
- "last_name"?: JsonValue | null;
3641
- "email"?: string | null;
3642
- "national_code"?: string | null;
3643
- "phone"?: string | null;
3644
- "gender"?: string | null;
3496
+ "short_id"?: string | null;
3497
+ "first_name": JsonValue | null;
3498
+ "last_name": JsonValue | null;
3499
+ "email": string | null;
3500
+ "national_code": string | null;
3501
+ "phone": string | null;
3502
+ "gender": string | null;
3645
3503
  }
3646
3504
  export interface HomeworkStoreAssignmentPostResponseData extends JsonObject {
3647
3505
  "id": string;
3648
3506
  "homework_id": string;
3649
- "homework_question_id"?: string | null;
3650
- "homework_name"?: string | null;
3651
- "homework"?: import("./types.js").Homework | null;
3652
- "homework_question"?: import("./types.js").HomeworkQuestion | null;
3653
- "course_id"?: string | null;
3654
- "classroom_id"?: string | null;
3655
- "classroom_name"?: string | null;
3656
- "user_id"?: string | null;
3657
- "profile"?: HomeworkStoreAssignmentPostResponseDataProfile | null;
3658
- "teacher_user_id"?: string | null;
3659
- "teacher_profile"?: HomeworkStoreAssignmentPostResponseDataTeacherProfile | null;
3660
- "consultant_user_id"?: string | null;
3661
- "consultant_profile"?: HomeworkStoreAssignmentPostResponseDataConsultantProfile | null;
3662
- "support_user_id"?: string | null;
3663
- "support_profile"?: HomeworkStoreAssignmentPostResponseDataSupportProfile | null;
3664
- "chat_conversation_id"?: string | null;
3665
- "due_at"?: string | null;
3507
+ "homework_question_id": string | null;
3508
+ "homework_name": string | null;
3509
+ "homework": import("./types.js").Homework | null;
3510
+ "homework_question": import("./types.js").HomeworkQuestion | null;
3511
+ "course_id": string | null;
3512
+ "classroom_id": string | null;
3513
+ "classroom_name": string | null;
3514
+ "user_id": string | null;
3515
+ "profile": HomeworkStoreAssignmentPostResponseDataProfile | null;
3516
+ "teacher_user_id": string | null;
3517
+ "teacher_profile": HomeworkStoreAssignmentPostResponseDataTeacherProfile | null;
3518
+ "consultant_user_id": string | null;
3519
+ "consultant_profile": HomeworkStoreAssignmentPostResponseDataConsultantProfile | null;
3520
+ "support_user_id": string | null;
3521
+ "support_profile": HomeworkStoreAssignmentPostResponseDataSupportProfile | null;
3522
+ "chat_conversation_id": string | null;
3523
+ "due_at": string | null;
3666
3524
  "status": string;
3667
- "answer_text"?: string | null;
3668
- "description"?: string | null;
3669
- "score"?: number | null;
3670
- "active_until"?: string | null;
3671
- "resolved_at"?: string | null;
3525
+ "answer_text": string | null;
3526
+ "description": string | null;
3527
+ "score": number | null;
3528
+ "active_until": string | null;
3529
+ "resolved_at": string | null;
3672
3530
  "created_at": string;
3673
3531
  "updated_at": string;
3674
3532
  }
3675
3533
  export interface HomeworkStoreAssignmentPostResponse extends ApiEnvelope<HomeworkStoreAssignmentPostResponseData> {
3676
3534
  }
3677
3535
  /** Backend response type: serde_json::Value. */
3678
- export interface HomeworkDestroyAssignmentDeleteResponse extends ApiEnvelope<JsonValue> {
3679
- }
3536
+ export type HomeworkDestroyAssignmentDeleteResponse = import("./wire.types.js").LmsEmptyMutationResponse;
3680
3537
  /** Backend response type: models::AssignmentResponse. */
3681
3538
  export interface HomeworkShowAssignmentGetResponseDataProfile extends JsonObject {
3682
3539
  "user_id": string;
3683
- "first_name"?: JsonValue | null;
3684
- "last_name"?: JsonValue | null;
3685
- "email"?: string | null;
3686
- "national_code"?: string | null;
3687
- "phone"?: string | null;
3688
- "gender"?: string | null;
3540
+ "short_id"?: string | null;
3541
+ "first_name": JsonValue | null;
3542
+ "last_name": JsonValue | null;
3543
+ "email": string | null;
3544
+ "national_code": string | null;
3545
+ "phone": string | null;
3546
+ "gender": string | null;
3689
3547
  }
3690
3548
  export interface HomeworkShowAssignmentGetResponseDataTeacherProfile extends JsonObject {
3691
3549
  "user_id": string;
3692
- "first_name"?: JsonValue | null;
3693
- "last_name"?: JsonValue | null;
3694
- "email"?: string | null;
3695
- "national_code"?: string | null;
3696
- "phone"?: string | null;
3697
- "gender"?: string | null;
3550
+ "short_id"?: string | null;
3551
+ "first_name": JsonValue | null;
3552
+ "last_name": JsonValue | null;
3553
+ "email": string | null;
3554
+ "national_code": string | null;
3555
+ "phone": string | null;
3556
+ "gender": string | null;
3698
3557
  }
3699
3558
  export interface HomeworkShowAssignmentGetResponseDataConsultantProfile extends JsonObject {
3700
3559
  "user_id": string;
3701
- "first_name"?: JsonValue | null;
3702
- "last_name"?: JsonValue | null;
3703
- "email"?: string | null;
3704
- "national_code"?: string | null;
3705
- "phone"?: string | null;
3706
- "gender"?: string | null;
3560
+ "short_id"?: string | null;
3561
+ "first_name": JsonValue | null;
3562
+ "last_name": JsonValue | null;
3563
+ "email": string | null;
3564
+ "national_code": string | null;
3565
+ "phone": string | null;
3566
+ "gender": string | null;
3707
3567
  }
3708
3568
  export interface HomeworkShowAssignmentGetResponseDataSupportProfile extends JsonObject {
3709
3569
  "user_id": string;
3710
- "first_name"?: JsonValue | null;
3711
- "last_name"?: JsonValue | null;
3712
- "email"?: string | null;
3713
- "national_code"?: string | null;
3714
- "phone"?: string | null;
3715
- "gender"?: string | null;
3570
+ "short_id"?: string | null;
3571
+ "first_name": JsonValue | null;
3572
+ "last_name": JsonValue | null;
3573
+ "email": string | null;
3574
+ "national_code": string | null;
3575
+ "phone": string | null;
3576
+ "gender": string | null;
3716
3577
  }
3717
3578
  export interface HomeworkShowAssignmentGetResponseData extends JsonObject {
3718
3579
  "id": string;
3719
3580
  "homework_id": string;
3720
- "homework_question_id"?: string | null;
3721
- "homework_name"?: string | null;
3722
- "homework"?: import("./types.js").Homework | null;
3723
- "homework_question"?: import("./types.js").HomeworkQuestion | null;
3724
- "course_id"?: string | null;
3725
- "classroom_id"?: string | null;
3726
- "classroom_name"?: string | null;
3727
- "user_id"?: string | null;
3728
- "profile"?: HomeworkShowAssignmentGetResponseDataProfile | null;
3729
- "teacher_user_id"?: string | null;
3730
- "teacher_profile"?: HomeworkShowAssignmentGetResponseDataTeacherProfile | null;
3731
- "consultant_user_id"?: string | null;
3732
- "consultant_profile"?: HomeworkShowAssignmentGetResponseDataConsultantProfile | null;
3733
- "support_user_id"?: string | null;
3734
- "support_profile"?: HomeworkShowAssignmentGetResponseDataSupportProfile | null;
3735
- "chat_conversation_id"?: string | null;
3736
- "due_at"?: string | null;
3581
+ "homework_question_id": string | null;
3582
+ "homework_name": string | null;
3583
+ "homework": import("./types.js").Homework | null;
3584
+ "homework_question": import("./types.js").HomeworkQuestion | null;
3585
+ "course_id": string | null;
3586
+ "classroom_id": string | null;
3587
+ "classroom_name": string | null;
3588
+ "user_id": string | null;
3589
+ "profile": HomeworkShowAssignmentGetResponseDataProfile | null;
3590
+ "teacher_user_id": string | null;
3591
+ "teacher_profile": HomeworkShowAssignmentGetResponseDataTeacherProfile | null;
3592
+ "consultant_user_id": string | null;
3593
+ "consultant_profile": HomeworkShowAssignmentGetResponseDataConsultantProfile | null;
3594
+ "support_user_id": string | null;
3595
+ "support_profile": HomeworkShowAssignmentGetResponseDataSupportProfile | null;
3596
+ "chat_conversation_id": string | null;
3597
+ "due_at": string | null;
3737
3598
  "status": string;
3738
- "answer_text"?: string | null;
3739
- "description"?: string | null;
3740
- "score"?: number | null;
3741
- "active_until"?: string | null;
3742
- "resolved_at"?: string | null;
3599
+ "answer_text": string | null;
3600
+ "description": string | null;
3601
+ "score": number | null;
3602
+ "active_until": string | null;
3603
+ "resolved_at": string | null;
3743
3604
  "created_at": string;
3744
3605
  "updated_at": string;
3745
3606
  }
@@ -3764,66 +3625,70 @@ export interface HomeworkUpdateAssignmentPatchInput extends JsonObject {
3764
3625
  /** Backend response type: models::AssignmentResponse. */
3765
3626
  export interface HomeworkUpdateAssignmentPatchResponseDataProfile extends JsonObject {
3766
3627
  "user_id": string;
3767
- "first_name"?: JsonValue | null;
3768
- "last_name"?: JsonValue | null;
3769
- "email"?: string | null;
3770
- "national_code"?: string | null;
3771
- "phone"?: string | null;
3772
- "gender"?: string | null;
3628
+ "short_id"?: string | null;
3629
+ "first_name": JsonValue | null;
3630
+ "last_name": JsonValue | null;
3631
+ "email": string | null;
3632
+ "national_code": string | null;
3633
+ "phone": string | null;
3634
+ "gender": string | null;
3773
3635
  }
3774
3636
  export interface HomeworkUpdateAssignmentPatchResponseDataTeacherProfile extends JsonObject {
3775
3637
  "user_id": string;
3776
- "first_name"?: JsonValue | null;
3777
- "last_name"?: JsonValue | null;
3778
- "email"?: string | null;
3779
- "national_code"?: string | null;
3780
- "phone"?: string | null;
3781
- "gender"?: string | null;
3638
+ "short_id"?: string | null;
3639
+ "first_name": JsonValue | null;
3640
+ "last_name": JsonValue | null;
3641
+ "email": string | null;
3642
+ "national_code": string | null;
3643
+ "phone": string | null;
3644
+ "gender": string | null;
3782
3645
  }
3783
3646
  export interface HomeworkUpdateAssignmentPatchResponseDataConsultantProfile extends JsonObject {
3784
3647
  "user_id": string;
3785
- "first_name"?: JsonValue | null;
3786
- "last_name"?: JsonValue | null;
3787
- "email"?: string | null;
3788
- "national_code"?: string | null;
3789
- "phone"?: string | null;
3790
- "gender"?: string | null;
3648
+ "short_id"?: string | null;
3649
+ "first_name": JsonValue | null;
3650
+ "last_name": JsonValue | null;
3651
+ "email": string | null;
3652
+ "national_code": string | null;
3653
+ "phone": string | null;
3654
+ "gender": string | null;
3791
3655
  }
3792
3656
  export interface HomeworkUpdateAssignmentPatchResponseDataSupportProfile extends JsonObject {
3793
3657
  "user_id": string;
3794
- "first_name"?: JsonValue | null;
3795
- "last_name"?: JsonValue | null;
3796
- "email"?: string | null;
3797
- "national_code"?: string | null;
3798
- "phone"?: string | null;
3799
- "gender"?: string | null;
3658
+ "short_id"?: string | null;
3659
+ "first_name": JsonValue | null;
3660
+ "last_name": JsonValue | null;
3661
+ "email": string | null;
3662
+ "national_code": string | null;
3663
+ "phone": string | null;
3664
+ "gender": string | null;
3800
3665
  }
3801
3666
  export interface HomeworkUpdateAssignmentPatchResponseData extends JsonObject {
3802
3667
  "id": string;
3803
3668
  "homework_id": string;
3804
- "homework_question_id"?: string | null;
3805
- "homework_name"?: string | null;
3806
- "homework"?: import("./types.js").Homework | null;
3807
- "homework_question"?: import("./types.js").HomeworkQuestion | null;
3808
- "course_id"?: string | null;
3809
- "classroom_id"?: string | null;
3810
- "classroom_name"?: string | null;
3811
- "user_id"?: string | null;
3812
- "profile"?: HomeworkUpdateAssignmentPatchResponseDataProfile | null;
3813
- "teacher_user_id"?: string | null;
3814
- "teacher_profile"?: HomeworkUpdateAssignmentPatchResponseDataTeacherProfile | null;
3815
- "consultant_user_id"?: string | null;
3816
- "consultant_profile"?: HomeworkUpdateAssignmentPatchResponseDataConsultantProfile | null;
3817
- "support_user_id"?: string | null;
3818
- "support_profile"?: HomeworkUpdateAssignmentPatchResponseDataSupportProfile | null;
3819
- "chat_conversation_id"?: string | null;
3820
- "due_at"?: string | null;
3669
+ "homework_question_id": string | null;
3670
+ "homework_name": string | null;
3671
+ "homework": import("./types.js").Homework | null;
3672
+ "homework_question": import("./types.js").HomeworkQuestion | null;
3673
+ "course_id": string | null;
3674
+ "classroom_id": string | null;
3675
+ "classroom_name": string | null;
3676
+ "user_id": string | null;
3677
+ "profile": HomeworkUpdateAssignmentPatchResponseDataProfile | null;
3678
+ "teacher_user_id": string | null;
3679
+ "teacher_profile": HomeworkUpdateAssignmentPatchResponseDataTeacherProfile | null;
3680
+ "consultant_user_id": string | null;
3681
+ "consultant_profile": HomeworkUpdateAssignmentPatchResponseDataConsultantProfile | null;
3682
+ "support_user_id": string | null;
3683
+ "support_profile": HomeworkUpdateAssignmentPatchResponseDataSupportProfile | null;
3684
+ "chat_conversation_id": string | null;
3685
+ "due_at": string | null;
3821
3686
  "status": string;
3822
- "answer_text"?: string | null;
3823
- "description"?: string | null;
3824
- "score"?: number | null;
3825
- "active_until"?: string | null;
3826
- "resolved_at"?: string | null;
3687
+ "answer_text": string | null;
3688
+ "description": string | null;
3689
+ "score": number | null;
3690
+ "active_until": string | null;
3691
+ "resolved_at": string | null;
3827
3692
  "created_at": string;
3828
3693
  "updated_at": string;
3829
3694
  }
@@ -3831,8 +3696,8 @@ export interface HomeworkUpdateAssignmentPatchResponse extends ApiEnvelope<Homew
3831
3696
  }
3832
3697
  /** Backend query type: models::AssignmentListQuery. */
3833
3698
  export interface HomeworkIndexCurrentTermAssignmentGetQuery extends QueryParams {
3834
- "page_number"?: number | null;
3835
- "page_size"?: number | null;
3699
+ "page[number]"?: number | null;
3700
+ "page[size]"?: number | null;
3836
3701
  "status"?: string | null;
3837
3702
  "homework_id"?: string | null;
3838
3703
  "course_id"?: string | null;
@@ -3848,66 +3713,70 @@ export interface HomeworkIndexCurrentTermAssignmentGetQuery extends QueryParams
3848
3713
  /** Backend response type: crate::models::PagedResult<models::AssignmentResponse>. */
3849
3714
  export interface HomeworkIndexCurrentTermAssignmentGetResponseItemProfile extends JsonObject {
3850
3715
  "user_id": string;
3851
- "first_name"?: JsonValue | null;
3852
- "last_name"?: JsonValue | null;
3853
- "email"?: string | null;
3854
- "national_code"?: string | null;
3855
- "phone"?: string | null;
3856
- "gender"?: string | null;
3716
+ "short_id"?: string | null;
3717
+ "first_name": JsonValue | null;
3718
+ "last_name": JsonValue | null;
3719
+ "email": string | null;
3720
+ "national_code": string | null;
3721
+ "phone": string | null;
3722
+ "gender": string | null;
3857
3723
  }
3858
3724
  export interface HomeworkIndexCurrentTermAssignmentGetResponseItemTeacherProfile extends JsonObject {
3859
3725
  "user_id": string;
3860
- "first_name"?: JsonValue | null;
3861
- "last_name"?: JsonValue | null;
3862
- "email"?: string | null;
3863
- "national_code"?: string | null;
3864
- "phone"?: string | null;
3865
- "gender"?: string | null;
3726
+ "short_id"?: string | null;
3727
+ "first_name": JsonValue | null;
3728
+ "last_name": JsonValue | null;
3729
+ "email": string | null;
3730
+ "national_code": string | null;
3731
+ "phone": string | null;
3732
+ "gender": string | null;
3866
3733
  }
3867
3734
  export interface HomeworkIndexCurrentTermAssignmentGetResponseItemConsultantProfile extends JsonObject {
3868
3735
  "user_id": string;
3869
- "first_name"?: JsonValue | null;
3870
- "last_name"?: JsonValue | null;
3871
- "email"?: string | null;
3872
- "national_code"?: string | null;
3873
- "phone"?: string | null;
3874
- "gender"?: string | null;
3736
+ "short_id"?: string | null;
3737
+ "first_name": JsonValue | null;
3738
+ "last_name": JsonValue | null;
3739
+ "email": string | null;
3740
+ "national_code": string | null;
3741
+ "phone": string | null;
3742
+ "gender": string | null;
3875
3743
  }
3876
3744
  export interface HomeworkIndexCurrentTermAssignmentGetResponseItemSupportProfile extends JsonObject {
3877
3745
  "user_id": string;
3878
- "first_name"?: JsonValue | null;
3879
- "last_name"?: JsonValue | null;
3880
- "email"?: string | null;
3881
- "national_code"?: string | null;
3882
- "phone"?: string | null;
3883
- "gender"?: string | null;
3746
+ "short_id"?: string | null;
3747
+ "first_name": JsonValue | null;
3748
+ "last_name": JsonValue | null;
3749
+ "email": string | null;
3750
+ "national_code": string | null;
3751
+ "phone": string | null;
3752
+ "gender": string | null;
3884
3753
  }
3885
3754
  export interface HomeworkIndexCurrentTermAssignmentGetResponseItem extends JsonObject {
3886
3755
  "id": string;
3887
3756
  "homework_id": string;
3888
- "homework_question_id"?: string | null;
3889
- "homework_name"?: string | null;
3890
- "homework"?: import("./types.js").Homework | null;
3891
- "homework_question"?: import("./types.js").HomeworkQuestion | null;
3892
- "course_id"?: string | null;
3893
- "classroom_id"?: string | null;
3894
- "classroom_name"?: string | null;
3895
- "user_id"?: string | null;
3896
- "profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemProfile | null;
3897
- "teacher_user_id"?: string | null;
3898
- "teacher_profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemTeacherProfile | null;
3899
- "consultant_user_id"?: string | null;
3900
- "consultant_profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemConsultantProfile | null;
3901
- "support_user_id"?: string | null;
3902
- "support_profile"?: HomeworkIndexCurrentTermAssignmentGetResponseItemSupportProfile | null;
3903
- "chat_conversation_id"?: string | null;
3904
- "due_at"?: string | null;
3757
+ "homework_question_id": string | null;
3758
+ "homework_name": string | null;
3759
+ "homework": import("./types.js").Homework | null;
3760
+ "homework_question": import("./types.js").HomeworkQuestion | null;
3761
+ "course_id": string | null;
3762
+ "classroom_id": string | null;
3763
+ "classroom_name": string | null;
3764
+ "user_id": string | null;
3765
+ "profile": HomeworkIndexCurrentTermAssignmentGetResponseItemProfile | null;
3766
+ "teacher_user_id": string | null;
3767
+ "teacher_profile": HomeworkIndexCurrentTermAssignmentGetResponseItemTeacherProfile | null;
3768
+ "consultant_user_id": string | null;
3769
+ "consultant_profile": HomeworkIndexCurrentTermAssignmentGetResponseItemConsultantProfile | null;
3770
+ "support_user_id": string | null;
3771
+ "support_profile": HomeworkIndexCurrentTermAssignmentGetResponseItemSupportProfile | null;
3772
+ "chat_conversation_id": string | null;
3773
+ "due_at": string | null;
3905
3774
  "status": string;
3906
- "answer_text"?: string | null;
3907
- "description"?: string | null;
3908
- "score"?: number | null;
3909
- "active_until"?: string | null;
3910
- "resolved_at"?: string | null;
3775
+ "answer_text": string | null;
3776
+ "description": string | null;
3777
+ "score": number | null;
3778
+ "active_until": string | null;
3779
+ "resolved_at": string | null;
3911
3780
  "created_at": string;
3912
3781
  "updated_at": string;
3913
3782
  }
@@ -3925,8 +3794,8 @@ export interface HomeworkIndexCurrentTermAssignmentGetResponse extends ApiEnvelo
3925
3794
  }
3926
3795
  /** Backend query type: models::QuestionListQuery. */
3927
3796
  export interface HomeworkIndexQuestionGetQuery extends QueryParams {
3928
- "page_number"?: number | null;
3929
- "page_size"?: number | null;
3797
+ "page[number]"?: number | null;
3798
+ "page[size]"?: number | null;
3930
3799
  "homework_id"?: string | null;
3931
3800
  "search"?: string | null;
3932
3801
  "status"?: string | null;
@@ -3938,12 +3807,12 @@ export interface HomeworkIndexQuestionGetResponseItem extends JsonObject {
3938
3807
  "id": string;
3939
3808
  "homework_id": string;
3940
3809
  "name": string;
3941
- "bank_name"?: string | null;
3810
+ "bank_name": string | null;
3942
3811
  "assignable": boolean;
3943
- "assignment_block_reason"?: string | null;
3812
+ "assignment_block_reason": string | null;
3944
3813
  "question_text": string;
3945
- "description"?: string | null;
3946
- "answer"?: string | null;
3814
+ "description": string | null;
3815
+ "answer": string | null;
3947
3816
  "question_type": string;
3948
3817
  "kind": string;
3949
3818
  "points": number;
@@ -3986,12 +3855,12 @@ export interface HomeworkStoreQuestionPostResponseData extends JsonObject {
3986
3855
  "id": string;
3987
3856
  "homework_id": string;
3988
3857
  "name": string;
3989
- "bank_name"?: string | null;
3858
+ "bank_name": string | null;
3990
3859
  "assignable": boolean;
3991
- "assignment_block_reason"?: string | null;
3860
+ "assignment_block_reason": string | null;
3992
3861
  "question_text": string;
3993
- "description"?: string | null;
3994
- "answer"?: string | null;
3862
+ "description": string | null;
3863
+ "answer": string | null;
3995
3864
  "question_type": string;
3996
3865
  "kind": string;
3997
3866
  "points": number;
@@ -4009,12 +3878,12 @@ export interface HomeworkShowQuestionGetResponseData extends JsonObject {
4009
3878
  "id": string;
4010
3879
  "homework_id": string;
4011
3880
  "name": string;
4012
- "bank_name"?: string | null;
3881
+ "bank_name": string | null;
4013
3882
  "assignable": boolean;
4014
- "assignment_block_reason"?: string | null;
3883
+ "assignment_block_reason": string | null;
4015
3884
  "question_text": string;
4016
- "description"?: string | null;
4017
- "answer"?: string | null;
3885
+ "description": string | null;
3886
+ "answer": string | null;
4018
3887
  "question_type": string;
4019
3888
  "kind": string;
4020
3889
  "points": number;
@@ -4047,12 +3916,12 @@ export interface HomeworkUpdateQuestionPatchResponseData extends JsonObject {
4047
3916
  "id": string;
4048
3917
  "homework_id": string;
4049
3918
  "name": string;
4050
- "bank_name"?: string | null;
3919
+ "bank_name": string | null;
4051
3920
  "assignable": boolean;
4052
- "assignment_block_reason"?: string | null;
3921
+ "assignment_block_reason": string | null;
4053
3922
  "question_text": string;
4054
- "description"?: string | null;
4055
- "answer"?: string | null;
3923
+ "description": string | null;
3924
+ "answer": string | null;
4056
3925
  "question_type": string;
4057
3926
  "kind": string;
4058
3927
  "points": number;
@@ -4070,15 +3939,26 @@ export type TransferTransferUserDataPostInput = import("./types.js").TransferUse
4070
3939
  /** Backend response type: TransferUserDataResponse. */
4071
3940
  export type TransferTransferUserDataPostResponse = import("./types.js").TransferUserDataResponse;
4072
3941
  /** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
4073
- export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
4074
- }
3942
+ export type IntegrationFlowIntegrationShowGetResponseData = import("./wire.types.js").LmsFlowIntegration;
3943
+ export type IntegrationFlowIntegrationShowGetResponse = ApiEnvelope<import("./wire.types.js").LmsFlowIntegration>;
4075
3944
  /** Backend request type: LegacyIdBatch. */
4076
3945
  export interface IntegrationResolveLegacyIdsPostInput extends JsonObject {
4077
3946
  "courses"?: number[];
4078
3947
  "classrooms"?: number[];
4079
3948
  }
4080
3949
  /** Backend response type: Value. */
4081
- export interface IntegrationResolveLegacyIdsPostResponse extends ApiEnvelope<JsonValue> {
3950
+ export type IntegrationResolveLegacyIdsPostResponseData = import("./wire.types.js").LmsLegacyResolution;
3951
+ export type IntegrationResolveLegacyIdsPostResponse = ApiEnvelope<import("./wire.types.js").LmsLegacyResolution>;
3952
+ /** Backend request type: RelationshipRequest. */
3953
+ export interface NotificationsRelationshipPostInput extends JsonObject {
3954
+ "first_user_id": string;
3955
+ "second_user_id": string;
3956
+ }
3957
+ /** Backend response type: RelationshipResponse. */
3958
+ export interface NotificationsRelationshipPostResponseData extends JsonObject {
3959
+ "allowed": boolean;
3960
+ }
3961
+ export interface NotificationsRelationshipPostResponse extends ApiEnvelope<NotificationsRelationshipPostResponseData> {
4082
3962
  }
4083
3963
  /** Backend response type: Value. */
4084
3964
  export type InteractiveCatalogGetResponse = import("./interactive.js").LearningEnvelope<import("./interactive.js").LearningCatalogItem[]>;
@@ -4130,17 +4010,16 @@ export interface MediaUploadImagePostResponseData extends JsonObject {
4130
4010
  export interface MediaUploadImagePostResponse extends ApiEnvelope<MediaUploadImagePostResponseData> {
4131
4011
  }
4132
4012
  /** Backend response type: raw-response. */
4133
- export interface MediaDownloadImageGetResponse extends ApiEnvelope<JsonValue> {
4134
- }
4135
- /** Backend query type: ReviewedIntegrationQuery. */
4013
+ export type MediaDownloadImageGetResponse = ArrayBuffer | Uint8Array;
4014
+ /** Backend query type: RulesQuery. */
4136
4015
  export type ModIndexGetQuery = import("./notification-settings.js").NotificationRuleQuery;
4137
- /** Backend response type: api. */
4016
+ /** Backend response type: Vec<NotificationRule>. */
4138
4017
  export type ModIndexGetResponse = import("./notification-settings.js").LmsNotificationResponse<import("./notification-settings.js").StudentNotificationRule[]>;
4139
- /** Backend request type: ReviewedIntegrationInput. */
4018
+ /** Backend request type: UpdateRule. */
4140
4019
  export type ModUpdatePutInput = import("./notification-settings.js").UpdateNotificationRule;
4141
- /** Backend response type: api. */
4020
+ /** Backend response type: NotificationRule. */
4142
4021
  export type ModUpdatePutResponse = import("./notification-settings.js").LmsNotificationResponse<import("./notification-settings.js").StudentNotificationRule>;
4143
- /** Backend response type: api. */
4022
+ /** Backend response type: RulePreview. */
4144
4023
  export type ModPreviewPostResponse = import("./notification-settings.js").LmsNotificationResponse<import("./notification-settings.js").NotificationRulePreview>;
4145
4024
  /** Backend query type: ProfileSearchQuery. */
4146
4025
  export interface ProfileRoutesIndexGetQuery extends QueryParams {
@@ -4151,12 +4030,13 @@ export interface ProfileRoutesIndexGetQuery extends QueryParams {
4151
4030
  /** Backend response type: PagedResult<ProfileSummary>. */
4152
4031
  export interface ProfileRoutesIndexGetResponseItem extends JsonObject {
4153
4032
  "user_id": string;
4154
- "first_name"?: JsonValue | null;
4155
- "last_name"?: JsonValue | null;
4156
- "email"?: string | null;
4157
- "national_code"?: string | null;
4158
- "phone"?: string | null;
4159
- "gender"?: string | null;
4033
+ "short_id"?: string | null;
4034
+ "first_name": JsonValue | null;
4035
+ "last_name": JsonValue | null;
4036
+ "email": string | null;
4037
+ "national_code": string | null;
4038
+ "phone": string | null;
4039
+ "gender": string | null;
4160
4040
  }
4161
4041
  export interface ProfileRoutesIndexGetResponsePageMeta extends JsonObject {
4162
4042
  "page": number;
@@ -4171,39 +4051,33 @@ export interface ProfileRoutesIndexGetResponseData extends JsonObject {
4171
4051
  export interface ProfileRoutesIndexGetResponse extends ApiEnvelope<ProfileRoutesIndexGetResponseData> {
4172
4052
  }
4173
4053
  /** Backend response type: Option<ProfileSummary>. */
4174
- export interface ProfileRoutesShowGetResponse extends ApiEnvelope<BackendJson<"ProfileSummary"> | null> {
4175
- }
4176
- /** Backend response type: Branding. */
4177
- export interface BrandingPublicShowGetResponseData extends JsonObject {
4178
- "title"?: string | null;
4179
- "localizations": Record<string, BackendJson<"BrandText">>;
4180
- "icon_asset_key"?: string | null;
4181
- "icon_url"?: string | null;
4182
- }
4183
- export interface BrandingPublicShowGetResponse extends ApiEnvelope<BrandingPublicShowGetResponseData> {
4184
- }
4054
+ export type ProfileRoutesShowGetResponseData = import("./wire.types.js").LmsProfileSummary | null;
4055
+ export type ProfileRoutesShowGetResponse = ApiEnvelope<import("./wire.types.js").LmsProfileSummary | null>;
4056
+ /** Backend response type: PublicBranding. */
4057
+ export type BrandingPublicShowGetResponseData = import("./branding.types.js").LmsPublicBranding;
4058
+ export type BrandingPublicShowGetResponse = import("@faiber/sdk-core").ApiEnvelope<import("./branding.types.js").LmsPublicBranding>;
4185
4059
  /** Backend response type: raw-response. */
4186
- export interface BrandingAssetGetResponse extends ApiEnvelope<JsonValue> {
4187
- }
4060
+ export type BrandingAssetGetResponse = ArrayBuffer | Uint8Array;
4188
4061
  /** Backend response type: models::PublicCertificateResponse. */
4189
4062
  export type CertificateVerifyCertificateGetResponse = import("./types.js").PublicCertificateResponse;
4190
4063
  /** Backend response type: raw-response. */
4191
4064
  export type CertificateRenderCertificateImageGetResponse = import("./types.js").CertificateSvgResponse;
4192
4065
  /** Backend query type: models::AssignedStudentsQuery. */
4193
4066
  export interface ReportAssignedChatContactsGetQuery extends QueryParams {
4194
- "page_number"?: number | null;
4195
- "page_size"?: number | null;
4067
+ "page[number]"?: number | null;
4068
+ "page[size]"?: number | null;
4196
4069
  "search"?: string | null;
4197
4070
  }
4198
4071
  /** Backend response type: crate::models::PagedResult<models::AssignedChatContact>. */
4199
4072
  export interface ReportAssignedChatContactsGetResponseItem extends JsonObject {
4200
4073
  "user_id": string;
4201
- "first_name"?: JsonValue | null;
4202
- "last_name"?: JsonValue | null;
4203
- "email"?: string | null;
4204
- "national_code"?: string | null;
4205
- "phone"?: string | null;
4206
- "gender"?: string | null;
4074
+ "short_id"?: string | null;
4075
+ "first_name": JsonValue | null;
4076
+ "last_name": JsonValue | null;
4077
+ "email": string | null;
4078
+ "national_code": string | null;
4079
+ "phone": string | null;
4080
+ "gender": string | null;
4207
4081
  "contact_role": string;
4208
4082
  }
4209
4083
  export interface ReportAssignedChatContactsGetResponsePageMeta extends JsonObject {
@@ -4220,19 +4094,20 @@ export interface ReportAssignedChatContactsGetResponse extends ApiEnvelope<Repor
4220
4094
  }
4221
4095
  /** Backend query type: models::AssignedStudentsQuery. */
4222
4096
  export interface ReportAssignedStudentsGetQuery extends QueryParams {
4223
- "page_number"?: number | null;
4224
- "page_size"?: number | null;
4097
+ "page[number]"?: number | null;
4098
+ "page[size]"?: number | null;
4225
4099
  "search"?: string | null;
4226
4100
  }
4227
4101
  /** Backend response type: crate::models::PagedResult<crate::profile::ProfileSummary>. */
4228
4102
  export interface ReportAssignedStudentsGetResponseItem extends JsonObject {
4229
4103
  "user_id": string;
4230
- "first_name"?: JsonValue | null;
4231
- "last_name"?: JsonValue | null;
4232
- "email"?: string | null;
4233
- "national_code"?: string | null;
4234
- "phone"?: string | null;
4235
- "gender"?: string | null;
4104
+ "short_id"?: string | null;
4105
+ "first_name": JsonValue | null;
4106
+ "last_name": JsonValue | null;
4107
+ "email": string | null;
4108
+ "national_code": string | null;
4109
+ "phone": string | null;
4110
+ "gender": string | null;
4236
4111
  }
4237
4112
  export interface ReportAssignedStudentsGetResponsePageMeta extends JsonObject {
4238
4113
  "page": number;
@@ -4255,31 +4130,33 @@ export interface ReportClassroomsGetQuery extends QueryParams {
4255
4130
  /** Backend response type: Vec<models::ClassroomReport>. */
4256
4131
  export interface ReportClassroomsGetResponseItemTeacherProfile extends JsonObject {
4257
4132
  "user_id": string;
4258
- "first_name"?: JsonValue | null;
4259
- "last_name"?: JsonValue | null;
4260
- "email"?: string | null;
4261
- "national_code"?: string | null;
4262
- "phone"?: string | null;
4263
- "gender"?: string | null;
4133
+ "short_id"?: string | null;
4134
+ "first_name": JsonValue | null;
4135
+ "last_name": JsonValue | null;
4136
+ "email": string | null;
4137
+ "national_code": string | null;
4138
+ "phone": string | null;
4139
+ "gender": string | null;
4264
4140
  }
4265
4141
  export interface ReportClassroomsGetResponseItemConsultantProfile extends JsonObject {
4266
4142
  "user_id": string;
4267
- "first_name"?: JsonValue | null;
4268
- "last_name"?: JsonValue | null;
4269
- "email"?: string | null;
4270
- "national_code"?: string | null;
4271
- "phone"?: string | null;
4272
- "gender"?: string | null;
4143
+ "short_id"?: string | null;
4144
+ "first_name": JsonValue | null;
4145
+ "last_name": JsonValue | null;
4146
+ "email": string | null;
4147
+ "national_code": string | null;
4148
+ "phone": string | null;
4149
+ "gender": string | null;
4273
4150
  }
4274
4151
  export interface ReportClassroomsGetResponseItem extends JsonObject {
4275
4152
  "classroom_id": string;
4276
4153
  "course_id": string;
4277
4154
  "name": string;
4278
4155
  "status": string;
4279
- "teacher_user_id"?: string | null;
4280
- "teacher_profile"?: ReportClassroomsGetResponseItemTeacherProfile | null;
4281
- "consultant_user_id"?: string | null;
4282
- "consultant_profile"?: ReportClassroomsGetResponseItemConsultantProfile | null;
4156
+ "teacher_user_id": string | null;
4157
+ "teacher_profile": ReportClassroomsGetResponseItemTeacherProfile | null;
4158
+ "consultant_user_id": string | null;
4159
+ "consultant_profile": ReportClassroomsGetResponseItemConsultantProfile | null;
4283
4160
  "student_count": number;
4284
4161
  "session_count": number;
4285
4162
  "completed_session_count": number;
@@ -4298,16 +4175,17 @@ export interface ReportConsultantsGetQuery extends QueryParams {
4298
4175
  /** Backend response type: Vec<models::ConsultantReport>. */
4299
4176
  export interface ReportConsultantsGetResponseItemConsultantProfile extends JsonObject {
4300
4177
  "user_id": string;
4301
- "first_name"?: JsonValue | null;
4302
- "last_name"?: JsonValue | null;
4303
- "email"?: string | null;
4304
- "national_code"?: string | null;
4305
- "phone"?: string | null;
4306
- "gender"?: string | null;
4178
+ "short_id"?: string | null;
4179
+ "first_name": JsonValue | null;
4180
+ "last_name": JsonValue | null;
4181
+ "email": string | null;
4182
+ "national_code": string | null;
4183
+ "phone": string | null;
4184
+ "gender": string | null;
4307
4185
  }
4308
4186
  export interface ReportConsultantsGetResponseItem extends JsonObject {
4309
4187
  "consultant_user_id": string;
4310
- "consultant_profile"?: ReportConsultantsGetResponseItemConsultantProfile | null;
4188
+ "consultant_profile": ReportConsultantsGetResponseItemConsultantProfile | null;
4311
4189
  "classroom_count": number;
4312
4190
  "active_classroom_count": number;
4313
4191
  "student_count": number;
@@ -4326,16 +4204,18 @@ export interface ReportCoursesGetQuery extends QueryParams {
4326
4204
  "status"?: string | null;
4327
4205
  }
4328
4206
  /** Backend response type: Vec<models::CourseReport>. */
4329
- export type ReportCoursesGetResponse = import("./types.js").AcademyCoursesResponse;
4207
+ export type ReportCoursesGetResponseData = import("./wire.types.js").LmsCourseReport[];
4208
+ export type ReportCoursesGetResponse = ApiEnvelope<import("./wire.types.js").LmsCourseReport[]>;
4330
4209
  /** Backend response type: Vec<crate::profile::ProfileSummary>. */
4331
4210
  export interface ReportMyStudentsGetResponseItem extends JsonObject {
4332
4211
  "user_id": string;
4333
- "first_name"?: JsonValue | null;
4334
- "last_name"?: JsonValue | null;
4335
- "email"?: string | null;
4336
- "national_code"?: string | null;
4337
- "phone"?: string | null;
4338
- "gender"?: string | null;
4212
+ "short_id"?: string | null;
4213
+ "first_name": JsonValue | null;
4214
+ "last_name": JsonValue | null;
4215
+ "email": string | null;
4216
+ "national_code": string | null;
4217
+ "phone": string | null;
4218
+ "gender": string | null;
4339
4219
  }
4340
4220
  export interface ReportMyStudentsGetResponse extends ApiEnvelope<ReportMyStudentsGetResponseItem[]> {
4341
4221
  }
@@ -4347,27 +4227,8 @@ export interface ReportStudentSummaryGetQuery extends QueryParams {
4347
4227
  "student_user_id"?: string | null;
4348
4228
  }
4349
4229
  /** Backend response type: models::StudentReport. */
4350
- export interface ReportStudentSummaryGetResponseDataProfile extends JsonObject {
4351
- "user_id": string;
4352
- "first_name"?: JsonValue | null;
4353
- "last_name"?: JsonValue | null;
4354
- "email"?: string | null;
4355
- "national_code"?: string | null;
4356
- "phone"?: string | null;
4357
- "gender"?: string | null;
4358
- }
4359
- export interface ReportStudentSummaryGetResponseData extends JsonObject {
4360
- "courses"?: JsonValue[] | null;
4361
- "user_id": string;
4362
- "profile"?: ReportStudentSummaryGetResponseDataProfile | null;
4363
- "classroom_count": number;
4364
- "session_count": number;
4365
- "attendance_count": number;
4366
- "absence_count": number;
4367
- "attendance_rate": number;
4368
- }
4369
- export interface ReportStudentSummaryGetResponse extends ApiEnvelope<ReportStudentSummaryGetResponseData> {
4370
- }
4230
+ export type ReportStudentSummaryGetResponseData = import("./wire.types.js").LmsStudentReport;
4231
+ export type ReportStudentSummaryGetResponse = ApiEnvelope<import("./wire.types.js").LmsStudentReport>;
4371
4232
  /** Backend query type: models::ReportQuery. */
4372
4233
  export interface ReportStudentsGetQuery extends QueryParams {
4373
4234
  "from"?: string | null;
@@ -4375,27 +4236,8 @@ export interface ReportStudentsGetQuery extends QueryParams {
4375
4236
  "status"?: string | null;
4376
4237
  }
4377
4238
  /** Backend response type: Vec<models::StudentReport>. */
4378
- export interface ReportStudentsGetResponseItemProfile extends JsonObject {
4379
- "user_id": string;
4380
- "first_name"?: JsonValue | null;
4381
- "last_name"?: JsonValue | null;
4382
- "email"?: string | null;
4383
- "national_code"?: string | null;
4384
- "phone"?: string | null;
4385
- "gender"?: string | null;
4386
- }
4387
- export interface ReportStudentsGetResponseItem extends JsonObject {
4388
- "courses"?: JsonValue[] | null;
4389
- "user_id": string;
4390
- "profile"?: ReportStudentsGetResponseItemProfile | null;
4391
- "classroom_count": number;
4392
- "session_count": number;
4393
- "attendance_count": number;
4394
- "absence_count": number;
4395
- "attendance_rate": number;
4396
- }
4397
- export interface ReportStudentsGetResponse extends ApiEnvelope<ReportStudentsGetResponseItem[]> {
4398
- }
4239
+ export type ReportStudentsGetResponseData = import("./wire.types.js").LmsStudentReport[];
4240
+ export type ReportStudentsGetResponse = ApiEnvelope<import("./wire.types.js").LmsStudentReport[]>;
4399
4241
  /** Backend query type: models::ReportQuery. */
4400
4242
  export interface ReportTeachersGetQuery extends QueryParams {
4401
4243
  "from"?: string | null;
@@ -4405,16 +4247,17 @@ export interface ReportTeachersGetQuery extends QueryParams {
4405
4247
  /** Backend response type: Vec<models::TeacherReport>. */
4406
4248
  export interface ReportTeachersGetResponseItemTeacherProfile extends JsonObject {
4407
4249
  "user_id": string;
4408
- "first_name"?: JsonValue | null;
4409
- "last_name"?: JsonValue | null;
4410
- "email"?: string | null;
4411
- "national_code"?: string | null;
4412
- "phone"?: string | null;
4413
- "gender"?: string | null;
4250
+ "short_id"?: string | null;
4251
+ "first_name": JsonValue | null;
4252
+ "last_name": JsonValue | null;
4253
+ "email": string | null;
4254
+ "national_code": string | null;
4255
+ "phone": string | null;
4256
+ "gender": string | null;
4414
4257
  }
4415
4258
  export interface ReportTeachersGetResponseItem extends JsonObject {
4416
4259
  "teacher_user_id": string;
4417
- "teacher_profile"?: ReportTeachersGetResponseItemTeacherProfile | null;
4260
+ "teacher_profile": ReportTeachersGetResponseItemTeacherProfile | null;
4418
4261
  "classroom_count": number;
4419
4262
  "active_classroom_count": number;
4420
4263
  "student_count": number;
@@ -4437,7 +4280,8 @@ export interface ServiceCheckLicenceGetResponseData extends JsonObject {
4437
4280
  }
4438
4281
  export interface ServiceCheckLicenceGetResponse extends ApiEnvelope<ServiceCheckLicenceGetResponseData> {
4439
4282
  }
4440
- /** Backend response type: api. */
4441
- export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
4442
- }
4283
+ /** Backend response type: HealthResponse. */
4284
+ export type RouterStatusRouteGetResponse = import("@faiber/sdk-core").ServiceHealthResponse;
4285
+ /** Backend response type: HealthResponse. */
4286
+ export type RouterUpGetResponse = import("@faiber/sdk-core").ServiceHealthResponse;
4443
4287
  //# sourceMappingURL=operations.types.d.ts.map