@faiber/faiber-lms 0.3.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +1191 -131
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +1215 -131
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +587 -526
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +91 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1,8 +1,32 @@
|
|
|
1
|
-
import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
1
|
+
import type { ApiEnvelope, BackendJson, 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:
|
|
3
|
+
/** Backend response type: api. */
|
|
4
4
|
export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
5
|
}
|
|
6
|
+
/** Backend request type: SubmitExamRequest. */
|
|
7
|
+
export type AcademySubmitExamPostInput = import("./types.js").AcademySubmitExamInput;
|
|
8
|
+
/** Backend response type: Value. */
|
|
9
|
+
export type AcademySubmitExamPostResponse = import("./types.js").AcademyExamResultResponse;
|
|
10
|
+
/** Backend response type: Value. */
|
|
11
|
+
export type AcademyCategoriesGetResponse = import("./types.js").AcademyCategoriesResponse;
|
|
12
|
+
/** Backend query type: CatalogQuery. */
|
|
13
|
+
export interface AcademyCoursesGetQuery extends QueryParams {
|
|
14
|
+
"category_id"?: number | null;
|
|
15
|
+
}
|
|
16
|
+
/** Backend response type: Value. */
|
|
17
|
+
export type AcademyCoursesGetResponse = import("./types.js").AcademyCoursesResponse;
|
|
18
|
+
/** Backend response type: Value. */
|
|
19
|
+
export type AcademyCourseGetResponse = import("./types.js").AcademyCourseResponse;
|
|
20
|
+
/** Backend response type: Value. */
|
|
21
|
+
export type AcademyEnrollPostResponse = import("./types.js").AcademyEnrollmentStartResponse;
|
|
22
|
+
/** Backend response type: Value. */
|
|
23
|
+
export type AcademyMyEnrollmentsGetResponse = import("./types.js").AcademyEnrollmentsResponse;
|
|
24
|
+
/** Backend response type: Value. */
|
|
25
|
+
export type AcademyStartExamPostResponse = import("./types.js").AcademyExamAttemptResponse;
|
|
26
|
+
/** Backend request type: CompleteRequest. */
|
|
27
|
+
export type AcademyCompleteSessionPostInput = import("./types.js").AcademyCompleteSessionInput;
|
|
28
|
+
/** Backend response type: Value. */
|
|
29
|
+
export type AcademyCompleteSessionPostResponse = import("./types.js").AcademySessionCompletionResponse;
|
|
6
30
|
/** Backend response type: SessionResponse. */
|
|
7
31
|
export interface SessionGetSelfGetResponseData extends JsonObject {
|
|
8
32
|
"user_id": string;
|
|
@@ -13,18 +37,18 @@ export interface SessionGetSelfGetResponse extends ApiEnvelope<SessionGetSelfGet
|
|
|
13
37
|
}
|
|
14
38
|
/** Backend query type: PaginationQuery. */
|
|
15
39
|
export interface CertificateIndexCertificateGetQuery extends QueryParams {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
40
|
+
"page_number"?: number | null;
|
|
41
|
+
"page_size"?: number | null;
|
|
18
42
|
}
|
|
19
43
|
/** Backend response type: crate::models::PagedResult<models::CertificateResponse>. */
|
|
20
44
|
export interface CertificateIndexCertificateGetResponseItem extends JsonObject {
|
|
21
45
|
"id": number;
|
|
22
46
|
"user_id": string;
|
|
23
|
-
"course_id"?: number;
|
|
24
|
-
"classroom_id"?: number;
|
|
47
|
+
"course_id"?: number | null;
|
|
48
|
+
"classroom_id"?: number | null;
|
|
25
49
|
"title": string;
|
|
26
50
|
"issued_at": string;
|
|
27
|
-
"media_url"?: string;
|
|
51
|
+
"media_url"?: string | null;
|
|
28
52
|
"created_at": string;
|
|
29
53
|
}
|
|
30
54
|
export interface CertificateIndexCertificateGetResponsePageMeta extends JsonObject {
|
|
@@ -42,21 +66,21 @@ export interface CertificateIndexCertificateGetResponse extends ApiEnvelope<Cert
|
|
|
42
66
|
/** Backend request type: models::CreateCertificateRequest. */
|
|
43
67
|
export interface CertificateStoreCertificatePostInput extends JsonObject {
|
|
44
68
|
"user_id": string;
|
|
45
|
-
"course_id"?: number;
|
|
46
|
-
"classroom_id"?: number;
|
|
69
|
+
"course_id"?: number | null;
|
|
70
|
+
"classroom_id"?: number | null;
|
|
47
71
|
"title": string;
|
|
48
72
|
"issued_at": string;
|
|
49
|
-
"media_url"?: string;
|
|
73
|
+
"media_url"?: string | null;
|
|
50
74
|
}
|
|
51
75
|
/** Backend response type: models::CertificateResponse. */
|
|
52
76
|
export interface CertificateStoreCertificatePostResponseData extends JsonObject {
|
|
53
77
|
"id": number;
|
|
54
78
|
"user_id": string;
|
|
55
|
-
"course_id"?: number;
|
|
56
|
-
"classroom_id"?: number;
|
|
79
|
+
"course_id"?: number | null;
|
|
80
|
+
"classroom_id"?: number | null;
|
|
57
81
|
"title": string;
|
|
58
82
|
"issued_at": string;
|
|
59
|
-
"media_url"?: string;
|
|
83
|
+
"media_url"?: string | null;
|
|
60
84
|
"created_at": string;
|
|
61
85
|
}
|
|
62
86
|
export interface CertificateStoreCertificatePostResponse extends ApiEnvelope<CertificateStoreCertificatePostResponseData> {
|
|
@@ -65,55 +89,55 @@ export interface CertificateStoreCertificatePostResponse extends ApiEnvelope<Cer
|
|
|
65
89
|
export interface CertificateShowCertificateGetResponseData extends JsonObject {
|
|
66
90
|
"id": number;
|
|
67
91
|
"user_id": string;
|
|
68
|
-
"course_id"?: number;
|
|
69
|
-
"classroom_id"?: number;
|
|
92
|
+
"course_id"?: number | null;
|
|
93
|
+
"classroom_id"?: number | null;
|
|
70
94
|
"title": string;
|
|
71
95
|
"issued_at": string;
|
|
72
|
-
"media_url"?: string;
|
|
96
|
+
"media_url"?: string | null;
|
|
73
97
|
"created_at": string;
|
|
74
98
|
}
|
|
75
99
|
export interface CertificateShowCertificateGetResponse extends ApiEnvelope<CertificateShowCertificateGetResponseData> {
|
|
76
100
|
}
|
|
77
101
|
/** Backend request type: models::UpdateCertificateRequest. */
|
|
78
102
|
export interface CertificateUpdateCertificatePatchInput extends JsonObject {
|
|
79
|
-
"user_id"?: string;
|
|
80
|
-
"course_id"?: number;
|
|
81
|
-
"classroom_id"?: number;
|
|
82
|
-
"title"?: string;
|
|
83
|
-
"issued_at"?: string;
|
|
84
|
-
"media_url"?: string;
|
|
103
|
+
"user_id"?: string | null;
|
|
104
|
+
"course_id"?: number | null;
|
|
105
|
+
"classroom_id"?: number | null;
|
|
106
|
+
"title"?: string | null;
|
|
107
|
+
"issued_at"?: string | null;
|
|
108
|
+
"media_url"?: string | null;
|
|
85
109
|
}
|
|
86
110
|
/** Backend response type: models::CertificateResponse. */
|
|
87
111
|
export interface CertificateUpdateCertificatePatchResponseData extends JsonObject {
|
|
88
112
|
"id": number;
|
|
89
113
|
"user_id": string;
|
|
90
|
-
"course_id"?: number;
|
|
91
|
-
"classroom_id"?: number;
|
|
114
|
+
"course_id"?: number | null;
|
|
115
|
+
"classroom_id"?: number | null;
|
|
92
116
|
"title": string;
|
|
93
117
|
"issued_at": string;
|
|
94
|
-
"media_url"?: string;
|
|
118
|
+
"media_url"?: string | null;
|
|
95
119
|
"created_at": string;
|
|
96
120
|
}
|
|
97
121
|
export interface CertificateUpdateCertificatePatchResponse extends ApiEnvelope<CertificateUpdateCertificatePatchResponseData> {
|
|
98
122
|
}
|
|
99
123
|
/** Backend query type: PaginationQuery. */
|
|
100
124
|
export interface ClassroomIndexClassroomGetQuery extends QueryParams {
|
|
101
|
-
"
|
|
102
|
-
"
|
|
125
|
+
"page_number"?: number | null;
|
|
126
|
+
"page_size"?: number | null;
|
|
103
127
|
}
|
|
104
128
|
/** Backend response type: crate::models::PagedResult<models::ClassroomResponse>. */
|
|
105
129
|
export interface ClassroomIndexClassroomGetResponseItem extends JsonObject {
|
|
106
130
|
"id": number;
|
|
107
131
|
"course_id": number;
|
|
108
132
|
"name": string;
|
|
109
|
-
"code"?: string;
|
|
110
|
-
"classroom_type_id"?: number;
|
|
111
|
-
"school_grade_id"?: number;
|
|
112
|
-
"teacher_user_id"?: string;
|
|
113
|
-
"consultant_user_id"?: string;
|
|
114
|
-
"capacity"?: number;
|
|
115
|
-
"starts_at"?: string;
|
|
116
|
-
"ends_at"?: string;
|
|
133
|
+
"code"?: string | null;
|
|
134
|
+
"classroom_type_id"?: number | null;
|
|
135
|
+
"school_grade_id"?: number | null;
|
|
136
|
+
"teacher_user_id"?: string | null;
|
|
137
|
+
"consultant_user_id"?: string | null;
|
|
138
|
+
"capacity"?: number | null;
|
|
139
|
+
"starts_at"?: string | null;
|
|
140
|
+
"ends_at"?: string | null;
|
|
117
141
|
"status": string;
|
|
118
142
|
"created_at": string;
|
|
119
143
|
"updated_at": string;
|
|
@@ -134,14 +158,14 @@ export interface ClassroomIndexClassroomGetResponse extends ApiEnvelope<Classroo
|
|
|
134
158
|
export interface ClassroomStoreClassroomPostInput extends JsonObject {
|
|
135
159
|
"course_id": number;
|
|
136
160
|
"name": string;
|
|
137
|
-
"code"?: string;
|
|
138
|
-
"classroom_type_id"?: number;
|
|
139
|
-
"school_grade_id"?: number;
|
|
140
|
-
"teacher_user_id"?: string;
|
|
141
|
-
"consultant_user_id"?: string;
|
|
142
|
-
"capacity"?: number;
|
|
143
|
-
"starts_at"?: string;
|
|
144
|
-
"ends_at"?: string;
|
|
161
|
+
"code"?: string | null;
|
|
162
|
+
"classroom_type_id"?: number | null;
|
|
163
|
+
"school_grade_id"?: number | null;
|
|
164
|
+
"teacher_user_id"?: string | null;
|
|
165
|
+
"consultant_user_id"?: string | null;
|
|
166
|
+
"capacity"?: number | null;
|
|
167
|
+
"starts_at"?: string | null;
|
|
168
|
+
"ends_at"?: string | null;
|
|
145
169
|
"status": string;
|
|
146
170
|
}
|
|
147
171
|
/** Backend response type: models::ClassroomResponse. */
|
|
@@ -149,14 +173,14 @@ export interface ClassroomStoreClassroomPostResponseData extends JsonObject {
|
|
|
149
173
|
"id": number;
|
|
150
174
|
"course_id": number;
|
|
151
175
|
"name": string;
|
|
152
|
-
"code"?: string;
|
|
153
|
-
"classroom_type_id"?: number;
|
|
154
|
-
"school_grade_id"?: number;
|
|
155
|
-
"teacher_user_id"?: string;
|
|
156
|
-
"consultant_user_id"?: string;
|
|
157
|
-
"capacity"?: number;
|
|
158
|
-
"starts_at"?: string;
|
|
159
|
-
"ends_at"?: string;
|
|
176
|
+
"code"?: string | null;
|
|
177
|
+
"classroom_type_id"?: number | null;
|
|
178
|
+
"school_grade_id"?: number | null;
|
|
179
|
+
"teacher_user_id"?: string | null;
|
|
180
|
+
"consultant_user_id"?: string | null;
|
|
181
|
+
"capacity"?: number | null;
|
|
182
|
+
"starts_at"?: string | null;
|
|
183
|
+
"ends_at"?: string | null;
|
|
160
184
|
"status": string;
|
|
161
185
|
"created_at": string;
|
|
162
186
|
"updated_at": string;
|
|
@@ -168,14 +192,14 @@ export interface ClassroomShowClassroomGetResponseData extends JsonObject {
|
|
|
168
192
|
"id": number;
|
|
169
193
|
"course_id": number;
|
|
170
194
|
"name": string;
|
|
171
|
-
"code"?: string;
|
|
172
|
-
"classroom_type_id"?: number;
|
|
173
|
-
"school_grade_id"?: number;
|
|
174
|
-
"teacher_user_id"?: string;
|
|
175
|
-
"consultant_user_id"?: string;
|
|
176
|
-
"capacity"?: number;
|
|
177
|
-
"starts_at"?: string;
|
|
178
|
-
"ends_at"?: string;
|
|
195
|
+
"code"?: string | null;
|
|
196
|
+
"classroom_type_id"?: number | null;
|
|
197
|
+
"school_grade_id"?: number | null;
|
|
198
|
+
"teacher_user_id"?: string | null;
|
|
199
|
+
"consultant_user_id"?: string | null;
|
|
200
|
+
"capacity"?: number | null;
|
|
201
|
+
"starts_at"?: string | null;
|
|
202
|
+
"ends_at"?: string | null;
|
|
179
203
|
"status": string;
|
|
180
204
|
"created_at": string;
|
|
181
205
|
"updated_at": string;
|
|
@@ -184,31 +208,31 @@ export interface ClassroomShowClassroomGetResponse extends ApiEnvelope<Classroom
|
|
|
184
208
|
}
|
|
185
209
|
/** Backend request type: models::UpdateClassroomRequest. */
|
|
186
210
|
export interface ClassroomUpdateClassroomPatchInput extends JsonObject {
|
|
187
|
-
"course_id"?: number;
|
|
188
|
-
"name"?: string;
|
|
189
|
-
"code"?: string;
|
|
190
|
-
"classroom_type_id"?: number;
|
|
191
|
-
"school_grade_id"?: number;
|
|
192
|
-
"teacher_user_id"?: string;
|
|
193
|
-
"consultant_user_id"?: string;
|
|
194
|
-
"capacity"?: number;
|
|
195
|
-
"starts_at"?: string;
|
|
196
|
-
"ends_at"?: string;
|
|
197
|
-
"status"?: string;
|
|
211
|
+
"course_id"?: number | null;
|
|
212
|
+
"name"?: string | null;
|
|
213
|
+
"code"?: string | null;
|
|
214
|
+
"classroom_type_id"?: number | null;
|
|
215
|
+
"school_grade_id"?: number | null;
|
|
216
|
+
"teacher_user_id"?: string | null;
|
|
217
|
+
"consultant_user_id"?: string | null;
|
|
218
|
+
"capacity"?: number | null;
|
|
219
|
+
"starts_at"?: string | null;
|
|
220
|
+
"ends_at"?: string | null;
|
|
221
|
+
"status"?: string | null;
|
|
198
222
|
}
|
|
199
223
|
/** Backend response type: models::ClassroomResponse. */
|
|
200
224
|
export interface ClassroomUpdateClassroomPatchResponseData extends JsonObject {
|
|
201
225
|
"id": number;
|
|
202
226
|
"course_id": number;
|
|
203
227
|
"name": string;
|
|
204
|
-
"code"?: string;
|
|
205
|
-
"classroom_type_id"?: number;
|
|
206
|
-
"school_grade_id"?: number;
|
|
207
|
-
"teacher_user_id"?: string;
|
|
208
|
-
"consultant_user_id"?: string;
|
|
209
|
-
"capacity"?: number;
|
|
210
|
-
"starts_at"?: string;
|
|
211
|
-
"ends_at"?: string;
|
|
228
|
+
"code"?: string | null;
|
|
229
|
+
"classroom_type_id"?: number | null;
|
|
230
|
+
"school_grade_id"?: number | null;
|
|
231
|
+
"teacher_user_id"?: string | null;
|
|
232
|
+
"consultant_user_id"?: string | null;
|
|
233
|
+
"capacity"?: number | null;
|
|
234
|
+
"starts_at"?: string | null;
|
|
235
|
+
"ends_at"?: string | null;
|
|
212
236
|
"status": string;
|
|
213
237
|
"created_at": string;
|
|
214
238
|
"updated_at": string;
|
|
@@ -217,15 +241,15 @@ export interface ClassroomUpdateClassroomPatchResponse extends ApiEnvelope<Class
|
|
|
217
241
|
}
|
|
218
242
|
/** Backend query type: PaginationQuery. */
|
|
219
243
|
export interface ClassroomIndexClassroomUsersGetQuery extends QueryParams {
|
|
220
|
-
"
|
|
221
|
-
"
|
|
244
|
+
"page_number"?: number | null;
|
|
245
|
+
"page_size"?: number | null;
|
|
222
246
|
}
|
|
223
247
|
/** Backend response type: crate::models::PagedResult<models::ClassroomUserResponse>. */
|
|
224
248
|
export interface ClassroomIndexClassroomUsersGetResponseItem extends JsonObject {
|
|
225
249
|
"id": number;
|
|
226
250
|
"classroom_id": number;
|
|
227
251
|
"user_id": string;
|
|
228
|
-
"score"?: number;
|
|
252
|
+
"score"?: number | null;
|
|
229
253
|
"status": string;
|
|
230
254
|
"created_at": string;
|
|
231
255
|
"updated_at": string;
|
|
@@ -245,15 +269,15 @@ export interface ClassroomIndexClassroomUsersGetResponse extends ApiEnvelope<Cla
|
|
|
245
269
|
/** Backend request type: models::EnrollClassroomUserRequest. */
|
|
246
270
|
export interface ClassroomEnrollClassroomUserPostInput extends JsonObject {
|
|
247
271
|
"user_id": string;
|
|
248
|
-
"score"?: number;
|
|
249
|
-
"status"?: string;
|
|
272
|
+
"score"?: number | null;
|
|
273
|
+
"status"?: string | null;
|
|
250
274
|
}
|
|
251
275
|
/** Backend response type: models::ClassroomUserResponse. */
|
|
252
276
|
export interface ClassroomEnrollClassroomUserPostResponseData extends JsonObject {
|
|
253
277
|
"id": number;
|
|
254
278
|
"classroom_id": number;
|
|
255
279
|
"user_id": string;
|
|
256
|
-
"score"?: number;
|
|
280
|
+
"score"?: number | null;
|
|
257
281
|
"status": string;
|
|
258
282
|
"created_at": string;
|
|
259
283
|
"updated_at": string;
|
|
@@ -265,15 +289,15 @@ export interface ClassroomRemoveClassroomUserDeleteResponse extends ApiEnvelope<
|
|
|
265
289
|
}
|
|
266
290
|
/** Backend request type: models::UpdateClassroomUserRequest. */
|
|
267
291
|
export interface ClassroomUpdateClassroomUserPatchInput extends JsonObject {
|
|
268
|
-
"score"?: number;
|
|
269
|
-
"status"?: string;
|
|
292
|
+
"score"?: number | null;
|
|
293
|
+
"status"?: string | null;
|
|
270
294
|
}
|
|
271
295
|
/** Backend response type: models::ClassroomUserResponse. */
|
|
272
296
|
export interface ClassroomUpdateClassroomUserPatchResponseData extends JsonObject {
|
|
273
297
|
"id": number;
|
|
274
298
|
"classroom_id": number;
|
|
275
299
|
"user_id": string;
|
|
276
|
-
"score"?: number;
|
|
300
|
+
"score"?: number | null;
|
|
277
301
|
"status": string;
|
|
278
302
|
"created_at": string;
|
|
279
303
|
"updated_at": string;
|
|
@@ -282,17 +306,17 @@ export interface ClassroomUpdateClassroomUserPatchResponse extends ApiEnvelope<C
|
|
|
282
306
|
}
|
|
283
307
|
/** Backend query type: PaginationQuery. */
|
|
284
308
|
export interface ClassroomIndexSessionGetQuery extends QueryParams {
|
|
285
|
-
"
|
|
286
|
-
"
|
|
309
|
+
"page_number"?: number | null;
|
|
310
|
+
"page_size"?: number | null;
|
|
287
311
|
}
|
|
288
312
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
289
313
|
export interface ClassroomIndexSessionGetResponseItem extends JsonObject {
|
|
290
314
|
"id": number;
|
|
291
315
|
"classroom_id": number;
|
|
292
|
-
"course_session_id"?: number;
|
|
293
|
-
"name"?: string;
|
|
294
|
-
"starts_at"?: string;
|
|
295
|
-
"ends_at"?: string;
|
|
316
|
+
"course_session_id"?: number | null;
|
|
317
|
+
"name"?: string | null;
|
|
318
|
+
"starts_at"?: string | null;
|
|
319
|
+
"ends_at"?: string | null;
|
|
296
320
|
"status": string;
|
|
297
321
|
"created_at": string;
|
|
298
322
|
"updated_at": string;
|
|
@@ -312,20 +336,20 @@ export interface ClassroomIndexSessionGetResponse extends ApiEnvelope<ClassroomI
|
|
|
312
336
|
/** Backend request type: models::CreateSessionRequest. */
|
|
313
337
|
export interface ClassroomStoreSessionPostInput extends JsonObject {
|
|
314
338
|
"classroom_id": number;
|
|
315
|
-
"course_session_id"?: number;
|
|
316
|
-
"name"?: string;
|
|
317
|
-
"starts_at"?: string;
|
|
318
|
-
"ends_at"?: string;
|
|
339
|
+
"course_session_id"?: number | null;
|
|
340
|
+
"name"?: string | null;
|
|
341
|
+
"starts_at"?: string | null;
|
|
342
|
+
"ends_at"?: string | null;
|
|
319
343
|
"status": string;
|
|
320
344
|
}
|
|
321
345
|
/** Backend response type: models::SessionResponse. */
|
|
322
346
|
export interface ClassroomStoreSessionPostResponseData extends JsonObject {
|
|
323
347
|
"id": number;
|
|
324
348
|
"classroom_id": number;
|
|
325
|
-
"course_session_id"?: number;
|
|
326
|
-
"name"?: string;
|
|
327
|
-
"starts_at"?: string;
|
|
328
|
-
"ends_at"?: string;
|
|
349
|
+
"course_session_id"?: number | null;
|
|
350
|
+
"name"?: string | null;
|
|
351
|
+
"starts_at"?: string | null;
|
|
352
|
+
"ends_at"?: string | null;
|
|
329
353
|
"status": string;
|
|
330
354
|
"created_at": string;
|
|
331
355
|
"updated_at": string;
|
|
@@ -336,10 +360,10 @@ export interface ClassroomStoreSessionPostResponse extends ApiEnvelope<Classroom
|
|
|
336
360
|
export interface ClassroomShowSessionGetResponseData extends JsonObject {
|
|
337
361
|
"id": number;
|
|
338
362
|
"classroom_id": number;
|
|
339
|
-
"course_session_id"?: number;
|
|
340
|
-
"name"?: string;
|
|
341
|
-
"starts_at"?: string;
|
|
342
|
-
"ends_at"?: string;
|
|
363
|
+
"course_session_id"?: number | null;
|
|
364
|
+
"name"?: string | null;
|
|
365
|
+
"starts_at"?: string | null;
|
|
366
|
+
"ends_at"?: string | null;
|
|
343
367
|
"status": string;
|
|
344
368
|
"created_at": string;
|
|
345
369
|
"updated_at": string;
|
|
@@ -348,21 +372,21 @@ export interface ClassroomShowSessionGetResponse extends ApiEnvelope<ClassroomSh
|
|
|
348
372
|
}
|
|
349
373
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
350
374
|
export interface ClassroomUpdateSessionPatchInput extends JsonObject {
|
|
351
|
-
"classroom_id"?: number;
|
|
352
|
-
"course_session_id"?: number;
|
|
353
|
-
"name"?: string;
|
|
354
|
-
"starts_at"?: string;
|
|
355
|
-
"ends_at"?: string;
|
|
356
|
-
"status"?: string;
|
|
375
|
+
"classroom_id"?: number | null;
|
|
376
|
+
"course_session_id"?: number | null;
|
|
377
|
+
"name"?: string | null;
|
|
378
|
+
"starts_at"?: string | null;
|
|
379
|
+
"ends_at"?: string | null;
|
|
380
|
+
"status"?: string | null;
|
|
357
381
|
}
|
|
358
382
|
/** Backend response type: models::SessionResponse. */
|
|
359
383
|
export interface ClassroomUpdateSessionPatchResponseData extends JsonObject {
|
|
360
384
|
"id": number;
|
|
361
385
|
"classroom_id": number;
|
|
362
|
-
"course_session_id"?: number;
|
|
363
|
-
"name"?: string;
|
|
364
|
-
"starts_at"?: string;
|
|
365
|
-
"ends_at"?: string;
|
|
386
|
+
"course_session_id"?: number | null;
|
|
387
|
+
"name"?: string | null;
|
|
388
|
+
"starts_at"?: string | null;
|
|
389
|
+
"ends_at"?: string | null;
|
|
366
390
|
"status": string;
|
|
367
391
|
"created_at": string;
|
|
368
392
|
"updated_at": string;
|
|
@@ -371,8 +395,8 @@ export interface ClassroomUpdateSessionPatchResponse extends ApiEnvelope<Classro
|
|
|
371
395
|
}
|
|
372
396
|
/** Backend query type: PaginationQuery. */
|
|
373
397
|
export interface ClassroomIndexAbsencesGetQuery extends QueryParams {
|
|
374
|
-
"
|
|
375
|
-
"
|
|
398
|
+
"page_number"?: number | null;
|
|
399
|
+
"page_size"?: number | null;
|
|
376
400
|
}
|
|
377
401
|
/** Backend response type: crate::models::PagedResult<models::AbsenceResponse>. */
|
|
378
402
|
export interface ClassroomIndexAbsencesGetResponseItem extends JsonObject {
|
|
@@ -380,7 +404,7 @@ export interface ClassroomIndexAbsencesGetResponseItem extends JsonObject {
|
|
|
380
404
|
"classroom_session_id": number;
|
|
381
405
|
"user_id": string;
|
|
382
406
|
"status": string;
|
|
383
|
-
"absence_reason"?: string;
|
|
407
|
+
"absence_reason"?: string | null;
|
|
384
408
|
"created_at": string;
|
|
385
409
|
}
|
|
386
410
|
export interface ClassroomIndexAbsencesGetResponsePageMeta extends JsonObject {
|
|
@@ -397,15 +421,15 @@ export interface ClassroomIndexAbsencesGetResponse extends ApiEnvelope<Classroom
|
|
|
397
421
|
}
|
|
398
422
|
/** Backend query type: PaginationQuery. */
|
|
399
423
|
export interface OpsIndexClubProjectGetQuery extends QueryParams {
|
|
400
|
-
"
|
|
401
|
-
"
|
|
424
|
+
"page_number"?: number | null;
|
|
425
|
+
"page_size"?: number | null;
|
|
402
426
|
}
|
|
403
427
|
/** Backend response type: crate::models::PagedResult<models::ClubProjectResponse>. */
|
|
404
428
|
export interface OpsIndexClubProjectGetResponseItem extends JsonObject {
|
|
405
429
|
"id": number;
|
|
406
430
|
"name": string;
|
|
407
|
-
"description"?: string;
|
|
408
|
-
"owner_user_id"?: string;
|
|
431
|
+
"description"?: string | null;
|
|
432
|
+
"owner_user_id"?: string | null;
|
|
409
433
|
"status": string;
|
|
410
434
|
"created_at": string;
|
|
411
435
|
}
|
|
@@ -424,16 +448,16 @@ export interface OpsIndexClubProjectGetResponse extends ApiEnvelope<OpsIndexClub
|
|
|
424
448
|
/** Backend request type: models::CreateClubProjectRequest. */
|
|
425
449
|
export interface OpsStoreClubProjectPostInput extends JsonObject {
|
|
426
450
|
"name": string;
|
|
427
|
-
"description"?: string;
|
|
428
|
-
"owner_user_id"?: string;
|
|
451
|
+
"description"?: string | null;
|
|
452
|
+
"owner_user_id"?: string | null;
|
|
429
453
|
"status": string;
|
|
430
454
|
}
|
|
431
455
|
/** Backend response type: models::ClubProjectResponse. */
|
|
432
456
|
export interface OpsStoreClubProjectPostResponseData extends JsonObject {
|
|
433
457
|
"id": number;
|
|
434
458
|
"name": string;
|
|
435
|
-
"description"?: string;
|
|
436
|
-
"owner_user_id"?: string;
|
|
459
|
+
"description"?: string | null;
|
|
460
|
+
"owner_user_id"?: string | null;
|
|
437
461
|
"status": string;
|
|
438
462
|
"created_at": string;
|
|
439
463
|
}
|
|
@@ -443,8 +467,8 @@ export interface OpsStoreClubProjectPostResponse extends ApiEnvelope<OpsStoreClu
|
|
|
443
467
|
export interface OpsShowClubProjectGetResponseData extends JsonObject {
|
|
444
468
|
"id": number;
|
|
445
469
|
"name": string;
|
|
446
|
-
"description"?: string;
|
|
447
|
-
"owner_user_id"?: string;
|
|
470
|
+
"description"?: string | null;
|
|
471
|
+
"owner_user_id"?: string | null;
|
|
448
472
|
"status": string;
|
|
449
473
|
"created_at": string;
|
|
450
474
|
}
|
|
@@ -452,17 +476,17 @@ export interface OpsShowClubProjectGetResponse extends ApiEnvelope<OpsShowClubPr
|
|
|
452
476
|
}
|
|
453
477
|
/** Backend request type: models::UpdateClubProjectRequest. */
|
|
454
478
|
export interface OpsUpdateClubProjectPatchInput extends JsonObject {
|
|
455
|
-
"name"?: string;
|
|
456
|
-
"description"?: string;
|
|
457
|
-
"owner_user_id"?: string;
|
|
458
|
-
"status"?: string;
|
|
479
|
+
"name"?: string | null;
|
|
480
|
+
"description"?: string | null;
|
|
481
|
+
"owner_user_id"?: string | null;
|
|
482
|
+
"status"?: string | null;
|
|
459
483
|
}
|
|
460
484
|
/** Backend response type: models::ClubProjectResponse. */
|
|
461
485
|
export interface OpsUpdateClubProjectPatchResponseData extends JsonObject {
|
|
462
486
|
"id": number;
|
|
463
487
|
"name": string;
|
|
464
|
-
"description"?: string;
|
|
465
|
-
"owner_user_id"?: string;
|
|
488
|
+
"description"?: string | null;
|
|
489
|
+
"owner_user_id"?: string | null;
|
|
466
490
|
"status": string;
|
|
467
491
|
"created_at": string;
|
|
468
492
|
}
|
|
@@ -470,8 +494,8 @@ export interface OpsUpdateClubProjectPatchResponse extends ApiEnvelope<OpsUpdate
|
|
|
470
494
|
}
|
|
471
495
|
/** Backend query type: PaginationQuery. */
|
|
472
496
|
export interface ConfigIndexClassroomTypeGetQuery extends QueryParams {
|
|
473
|
-
"
|
|
474
|
-
"
|
|
497
|
+
"page_number"?: number | null;
|
|
498
|
+
"page_size"?: number | null;
|
|
475
499
|
}
|
|
476
500
|
/** Backend response type: crate::models::PagedResult<models::ClassroomTypeResponse>. */
|
|
477
501
|
export interface ConfigIndexClassroomTypeGetResponseItem extends JsonObject {
|
|
@@ -513,7 +537,7 @@ export interface ConfigShowClassroomTypeGetResponse extends ApiEnvelope<ConfigSh
|
|
|
513
537
|
}
|
|
514
538
|
/** Backend request type: models::UpdateClassroomTypeRequest. */
|
|
515
539
|
export interface ConfigUpdateClassroomTypePatchInput extends JsonObject {
|
|
516
|
-
"name"?: string;
|
|
540
|
+
"name"?: string | null;
|
|
517
541
|
}
|
|
518
542
|
/** Backend response type: models::ClassroomTypeResponse. */
|
|
519
543
|
export interface ConfigUpdateClassroomTypePatchResponseData extends JsonObject {
|
|
@@ -525,15 +549,15 @@ export interface ConfigUpdateClassroomTypePatchResponse extends ApiEnvelope<Conf
|
|
|
525
549
|
}
|
|
526
550
|
/** Backend query type: PaginationQuery. */
|
|
527
551
|
export interface ConfigIndexEducationDayGetQuery extends QueryParams {
|
|
528
|
-
"
|
|
529
|
-
"
|
|
552
|
+
"page_number"?: number | null;
|
|
553
|
+
"page_size"?: number | null;
|
|
530
554
|
}
|
|
531
555
|
/** Backend response type: crate::models::PagedResult<models::EducationDayResponse>. */
|
|
532
556
|
export interface ConfigIndexEducationDayGetResponseItem extends JsonObject {
|
|
533
557
|
"id": number;
|
|
534
558
|
"day_date": string;
|
|
535
559
|
"is_holiday": boolean;
|
|
536
|
-
"label"?: string;
|
|
560
|
+
"label"?: string | null;
|
|
537
561
|
"created_at": string;
|
|
538
562
|
}
|
|
539
563
|
export interface ConfigIndexEducationDayGetResponsePageMeta extends JsonObject {
|
|
@@ -552,14 +576,14 @@ export interface ConfigIndexEducationDayGetResponse extends ApiEnvelope<ConfigIn
|
|
|
552
576
|
export interface ConfigStoreEducationDayPostInput extends JsonObject {
|
|
553
577
|
"day_date": string;
|
|
554
578
|
"is_holiday": boolean;
|
|
555
|
-
"label"?: string;
|
|
579
|
+
"label"?: string | null;
|
|
556
580
|
}
|
|
557
581
|
/** Backend response type: models::EducationDayResponse. */
|
|
558
582
|
export interface ConfigStoreEducationDayPostResponseData extends JsonObject {
|
|
559
583
|
"id": number;
|
|
560
584
|
"day_date": string;
|
|
561
585
|
"is_holiday": boolean;
|
|
562
|
-
"label"?: string;
|
|
586
|
+
"label"?: string | null;
|
|
563
587
|
"created_at": string;
|
|
564
588
|
}
|
|
565
589
|
export interface ConfigStoreEducationDayPostResponse extends ApiEnvelope<ConfigStoreEducationDayPostResponseData> {
|
|
@@ -569,31 +593,31 @@ export interface ConfigShowEducationDayGetResponseData extends JsonObject {
|
|
|
569
593
|
"id": number;
|
|
570
594
|
"day_date": string;
|
|
571
595
|
"is_holiday": boolean;
|
|
572
|
-
"label"?: string;
|
|
596
|
+
"label"?: string | null;
|
|
573
597
|
"created_at": string;
|
|
574
598
|
}
|
|
575
599
|
export interface ConfigShowEducationDayGetResponse extends ApiEnvelope<ConfigShowEducationDayGetResponseData> {
|
|
576
600
|
}
|
|
577
601
|
/** Backend request type: models::UpdateEducationDayRequest. */
|
|
578
602
|
export interface ConfigUpdateEducationDayPatchInput extends JsonObject {
|
|
579
|
-
"day_date"?: string;
|
|
580
|
-
"is_holiday"?: boolean;
|
|
581
|
-
"label"?: string;
|
|
603
|
+
"day_date"?: string | null;
|
|
604
|
+
"is_holiday"?: boolean | null;
|
|
605
|
+
"label"?: string | null;
|
|
582
606
|
}
|
|
583
607
|
/** Backend response type: models::EducationDayResponse. */
|
|
584
608
|
export interface ConfigUpdateEducationDayPatchResponseData extends JsonObject {
|
|
585
609
|
"id": number;
|
|
586
610
|
"day_date": string;
|
|
587
611
|
"is_holiday": boolean;
|
|
588
|
-
"label"?: string;
|
|
612
|
+
"label"?: string | null;
|
|
589
613
|
"created_at": string;
|
|
590
614
|
}
|
|
591
615
|
export interface ConfigUpdateEducationDayPatchResponse extends ApiEnvelope<ConfigUpdateEducationDayPatchResponseData> {
|
|
592
616
|
}
|
|
593
617
|
/** Backend query type: PaginationQuery. */
|
|
594
618
|
export interface ConfigIndexGradeGetQuery extends QueryParams {
|
|
595
|
-
"
|
|
596
|
-
"
|
|
619
|
+
"page_number"?: number | null;
|
|
620
|
+
"page_size"?: number | null;
|
|
597
621
|
}
|
|
598
622
|
/** Backend response type: crate::models::PagedResult<models::GradeResponse>. */
|
|
599
623
|
export interface ConfigIndexGradeGetResponseItem extends JsonObject {
|
|
@@ -639,8 +663,8 @@ export interface ConfigShowGradeGetResponse extends ApiEnvelope<ConfigShowGradeG
|
|
|
639
663
|
}
|
|
640
664
|
/** Backend request type: models::UpdateGradeRequest. */
|
|
641
665
|
export interface ConfigUpdateGradePatchInput extends JsonObject {
|
|
642
|
-
"name"?: string;
|
|
643
|
-
"sort_order"?: number;
|
|
666
|
+
"name"?: string | null;
|
|
667
|
+
"sort_order"?: number | null;
|
|
644
668
|
}
|
|
645
669
|
/** Backend response type: models::GradeResponse. */
|
|
646
670
|
export interface ConfigUpdateGradePatchResponseData extends JsonObject {
|
|
@@ -653,8 +677,8 @@ export interface ConfigUpdateGradePatchResponse extends ApiEnvelope<ConfigUpdate
|
|
|
653
677
|
}
|
|
654
678
|
/** Backend query type: PaginationQuery. */
|
|
655
679
|
export interface ConfigIndexTextTemplateGetQuery extends QueryParams {
|
|
656
|
-
"
|
|
657
|
-
"
|
|
680
|
+
"page_number"?: number | null;
|
|
681
|
+
"page_size"?: number | null;
|
|
658
682
|
}
|
|
659
683
|
/** Backend response type: crate::models::PagedResult<models::TextTemplateResponse>. */
|
|
660
684
|
export interface ConfigIndexTextTemplateGetResponseItem extends JsonObject {
|
|
@@ -704,9 +728,9 @@ export interface ConfigShowTextTemplateGetResponse extends ApiEnvelope<ConfigSho
|
|
|
704
728
|
}
|
|
705
729
|
/** Backend request type: models::UpdateTextTemplateRequest. */
|
|
706
730
|
export interface ConfigUpdateTextTemplatePatchInput extends JsonObject {
|
|
707
|
-
"name"?: string;
|
|
708
|
-
"body"?: string;
|
|
709
|
-
"template_type"?: string;
|
|
731
|
+
"name"?: string | null;
|
|
732
|
+
"body"?: string | null;
|
|
733
|
+
"template_type"?: string | null;
|
|
710
734
|
}
|
|
711
735
|
/** Backend response type: models::TextTemplateResponse. */
|
|
712
736
|
export interface ConfigUpdateTextTemplatePatchResponseData extends JsonObject {
|
|
@@ -720,8 +744,8 @@ export interface ConfigUpdateTextTemplatePatchResponse extends ApiEnvelope<Confi
|
|
|
720
744
|
}
|
|
721
745
|
/** Backend query type: PaginationQuery. */
|
|
722
746
|
export interface ConfigIndexWeekendGetQuery extends QueryParams {
|
|
723
|
-
"
|
|
724
|
-
"
|
|
747
|
+
"page_number"?: number | null;
|
|
748
|
+
"page_size"?: number | null;
|
|
725
749
|
}
|
|
726
750
|
/** Backend response type: crate::models::PagedResult<models::WeekendResponse>. */
|
|
727
751
|
export interface ConfigIndexWeekendGetResponseItem extends JsonObject {
|
|
@@ -763,7 +787,7 @@ export interface ConfigShowWeekendGetResponse extends ApiEnvelope<ConfigShowWeek
|
|
|
763
787
|
}
|
|
764
788
|
/** Backend request type: models::UpdateWeekendRequest. */
|
|
765
789
|
export interface ConfigUpdateWeekendPatchInput extends JsonObject {
|
|
766
|
-
"day_of_week"?: number;
|
|
790
|
+
"day_of_week"?: number | null;
|
|
767
791
|
}
|
|
768
792
|
/** Backend response type: models::WeekendResponse. */
|
|
769
793
|
export interface ConfigUpdateWeekendPatchResponseData extends JsonObject {
|
|
@@ -773,21 +797,23 @@ export interface ConfigUpdateWeekendPatchResponseData extends JsonObject {
|
|
|
773
797
|
}
|
|
774
798
|
export interface ConfigUpdateWeekendPatchResponse extends ApiEnvelope<ConfigUpdateWeekendPatchResponseData> {
|
|
775
799
|
}
|
|
776
|
-
/** Backend query type:
|
|
800
|
+
/** Backend query type: CourseListQuery. */
|
|
777
801
|
export interface CourseIndexCourseGetQuery extends QueryParams {
|
|
778
|
-
"
|
|
779
|
-
"
|
|
802
|
+
"page_number"?: number | null;
|
|
803
|
+
"page_size"?: number | null;
|
|
804
|
+
"category_ids"?: string | null;
|
|
780
805
|
}
|
|
781
806
|
/** Backend response type: crate::models::PagedResult<models::CourseResponse>. */
|
|
782
807
|
export interface CourseIndexCourseGetResponseItem extends JsonObject {
|
|
783
808
|
"id": number;
|
|
784
|
-
"category_id"?: number;
|
|
809
|
+
"category_id"?: number | null;
|
|
785
810
|
"name": string;
|
|
786
|
-
"title"?: string;
|
|
787
|
-
"description"?: string;
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"
|
|
811
|
+
"title"?: string | null;
|
|
812
|
+
"description"?: string | null;
|
|
813
|
+
"sort_order": number;
|
|
814
|
+
"duration"?: string | null;
|
|
815
|
+
"passing_mark"?: number | null;
|
|
816
|
+
"price"?: string | null;
|
|
791
817
|
"status": string;
|
|
792
818
|
"created_at": string;
|
|
793
819
|
"updated_at": string;
|
|
@@ -806,25 +832,27 @@ export interface CourseIndexCourseGetResponse extends ApiEnvelope<CourseIndexCou
|
|
|
806
832
|
}
|
|
807
833
|
/** Backend request type: models::CreateCourseRequest. */
|
|
808
834
|
export interface CourseStoreCoursePostInput extends JsonObject {
|
|
809
|
-
"category_id"?: number;
|
|
835
|
+
"category_id"?: number | null;
|
|
810
836
|
"name": string;
|
|
811
|
-
"title"?: string;
|
|
812
|
-
"description"?: string;
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
"
|
|
837
|
+
"title"?: string | null;
|
|
838
|
+
"description"?: string | null;
|
|
839
|
+
"sort_order": number;
|
|
840
|
+
"duration"?: string | null;
|
|
841
|
+
"passing_mark"?: number | null;
|
|
842
|
+
"price"?: string | null;
|
|
816
843
|
"status": string;
|
|
817
844
|
}
|
|
818
845
|
/** Backend response type: models::CourseResponse. */
|
|
819
846
|
export interface CourseStoreCoursePostResponseData extends JsonObject {
|
|
820
847
|
"id": number;
|
|
821
|
-
"category_id"?: number;
|
|
848
|
+
"category_id"?: number | null;
|
|
822
849
|
"name": string;
|
|
823
|
-
"title"?: string;
|
|
824
|
-
"description"?: string;
|
|
825
|
-
"
|
|
826
|
-
"
|
|
827
|
-
"
|
|
850
|
+
"title"?: string | null;
|
|
851
|
+
"description"?: string | null;
|
|
852
|
+
"sort_order": number;
|
|
853
|
+
"duration"?: string | null;
|
|
854
|
+
"passing_mark"?: number | null;
|
|
855
|
+
"price"?: string | null;
|
|
828
856
|
"status": string;
|
|
829
857
|
"created_at": string;
|
|
830
858
|
"updated_at": string;
|
|
@@ -833,18 +861,19 @@ export interface CourseStoreCoursePostResponse extends ApiEnvelope<CourseStoreCo
|
|
|
833
861
|
}
|
|
834
862
|
/** Backend query type: PaginationQuery. */
|
|
835
863
|
export interface CourseIndexSessionGetQuery extends QueryParams {
|
|
836
|
-
"
|
|
837
|
-
"
|
|
864
|
+
"page_number"?: number | null;
|
|
865
|
+
"page_size"?: number | null;
|
|
838
866
|
}
|
|
839
867
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
840
868
|
export interface CourseIndexSessionGetResponseItem extends JsonObject {
|
|
841
869
|
"id": number;
|
|
842
870
|
"course_id": number;
|
|
843
871
|
"name": string;
|
|
844
|
-
"description"?: string;
|
|
872
|
+
"description"?: string | null;
|
|
845
873
|
"sort_order": number;
|
|
846
874
|
"session_type": string;
|
|
847
|
-
"
|
|
875
|
+
"exam_id"?: number | null;
|
|
876
|
+
"duration_minutes"?: number | null;
|
|
848
877
|
"auto_unlock": boolean;
|
|
849
878
|
"status": string;
|
|
850
879
|
"created_at": string;
|
|
@@ -866,10 +895,11 @@ export interface CourseIndexSessionGetResponse extends ApiEnvelope<CourseIndexSe
|
|
|
866
895
|
export interface CourseStoreSessionPostInput extends JsonObject {
|
|
867
896
|
"course_id": number;
|
|
868
897
|
"name": string;
|
|
869
|
-
"description"?: string;
|
|
898
|
+
"description"?: string | null;
|
|
870
899
|
"sort_order": number;
|
|
871
900
|
"session_type": string;
|
|
872
|
-
"
|
|
901
|
+
"exam_id"?: number | null;
|
|
902
|
+
"duration_minutes"?: number | null;
|
|
873
903
|
"auto_unlock": boolean;
|
|
874
904
|
"status": string;
|
|
875
905
|
}
|
|
@@ -878,10 +908,11 @@ export interface CourseStoreSessionPostResponseData extends JsonObject {
|
|
|
878
908
|
"id": number;
|
|
879
909
|
"course_id": number;
|
|
880
910
|
"name": string;
|
|
881
|
-
"description"?: string;
|
|
911
|
+
"description"?: string | null;
|
|
882
912
|
"sort_order": number;
|
|
883
913
|
"session_type": string;
|
|
884
|
-
"
|
|
914
|
+
"exam_id"?: number | null;
|
|
915
|
+
"duration_minutes"?: number | null;
|
|
885
916
|
"auto_unlock": boolean;
|
|
886
917
|
"status": string;
|
|
887
918
|
"created_at": string;
|
|
@@ -897,10 +928,11 @@ export interface CourseShowSessionGetResponseData extends JsonObject {
|
|
|
897
928
|
"id": number;
|
|
898
929
|
"course_id": number;
|
|
899
930
|
"name": string;
|
|
900
|
-
"description"?: string;
|
|
931
|
+
"description"?: string | null;
|
|
901
932
|
"sort_order": number;
|
|
902
933
|
"session_type": string;
|
|
903
|
-
"
|
|
934
|
+
"exam_id"?: number | null;
|
|
935
|
+
"duration_minutes"?: number | null;
|
|
904
936
|
"auto_unlock": boolean;
|
|
905
937
|
"status": string;
|
|
906
938
|
"created_at": string;
|
|
@@ -910,23 +942,25 @@ export interface CourseShowSessionGetResponse extends ApiEnvelope<CourseShowSess
|
|
|
910
942
|
}
|
|
911
943
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
912
944
|
export interface CourseUpdateSessionPatchInput extends JsonObject {
|
|
913
|
-
"name"?: string;
|
|
914
|
-
"description"?: string;
|
|
915
|
-
"sort_order"?: number;
|
|
916
|
-
"session_type"?: string;
|
|
917
|
-
"
|
|
918
|
-
"
|
|
919
|
-
"
|
|
945
|
+
"name"?: string | null;
|
|
946
|
+
"description"?: string | null;
|
|
947
|
+
"sort_order"?: number | null;
|
|
948
|
+
"session_type"?: string | null;
|
|
949
|
+
"exam_id"?: number | null;
|
|
950
|
+
"duration_minutes"?: number | null;
|
|
951
|
+
"auto_unlock"?: boolean | null;
|
|
952
|
+
"status"?: string | null;
|
|
920
953
|
}
|
|
921
954
|
/** Backend response type: models::SessionResponse. */
|
|
922
955
|
export interface CourseUpdateSessionPatchResponseData extends JsonObject {
|
|
923
956
|
"id": number;
|
|
924
957
|
"course_id": number;
|
|
925
958
|
"name": string;
|
|
926
|
-
"description"?: string;
|
|
959
|
+
"description"?: string | null;
|
|
927
960
|
"sort_order": number;
|
|
928
961
|
"session_type": string;
|
|
929
|
-
"
|
|
962
|
+
"exam_id"?: number | null;
|
|
963
|
+
"duration_minutes"?: number | null;
|
|
930
964
|
"auto_unlock": boolean;
|
|
931
965
|
"status": string;
|
|
932
966
|
"created_at": string;
|
|
@@ -940,13 +974,14 @@ export interface CourseDestroyCourseDeleteResponse extends ApiEnvelope<JsonValue
|
|
|
940
974
|
/** Backend response type: models::CourseResponse. */
|
|
941
975
|
export interface CourseShowCourseGetResponseData extends JsonObject {
|
|
942
976
|
"id": number;
|
|
943
|
-
"category_id"?: number;
|
|
977
|
+
"category_id"?: number | null;
|
|
944
978
|
"name": string;
|
|
945
|
-
"title"?: string;
|
|
946
|
-
"description"?: string;
|
|
947
|
-
"
|
|
948
|
-
"
|
|
949
|
-
"
|
|
979
|
+
"title"?: string | null;
|
|
980
|
+
"description"?: string | null;
|
|
981
|
+
"sort_order": number;
|
|
982
|
+
"duration"?: string | null;
|
|
983
|
+
"passing_mark"?: number | null;
|
|
984
|
+
"price"?: string | null;
|
|
950
985
|
"status": string;
|
|
951
986
|
"created_at": string;
|
|
952
987
|
"updated_at": string;
|
|
@@ -955,25 +990,27 @@ export interface CourseShowCourseGetResponse extends ApiEnvelope<CourseShowCours
|
|
|
955
990
|
}
|
|
956
991
|
/** Backend request type: models::UpdateCourseRequest. */
|
|
957
992
|
export interface CourseUpdateCoursePatchInput extends JsonObject {
|
|
958
|
-
"category_id"?: number;
|
|
959
|
-
"name"?: string;
|
|
960
|
-
"title"?: string;
|
|
961
|
-
"description"?: string;
|
|
962
|
-
"
|
|
963
|
-
"
|
|
964
|
-
"
|
|
965
|
-
"
|
|
993
|
+
"category_id"?: number | null;
|
|
994
|
+
"name"?: string | null;
|
|
995
|
+
"title"?: string | null;
|
|
996
|
+
"description"?: string | null;
|
|
997
|
+
"sort_order"?: number | null;
|
|
998
|
+
"duration"?: string | null;
|
|
999
|
+
"passing_mark"?: number | null;
|
|
1000
|
+
"price"?: string | null;
|
|
1001
|
+
"status"?: string | null;
|
|
966
1002
|
}
|
|
967
1003
|
/** Backend response type: models::CourseResponse. */
|
|
968
1004
|
export interface CourseUpdateCoursePatchResponseData extends JsonObject {
|
|
969
1005
|
"id": number;
|
|
970
|
-
"category_id"?: number;
|
|
1006
|
+
"category_id"?: number | null;
|
|
971
1007
|
"name": string;
|
|
972
|
-
"title"?: string;
|
|
973
|
-
"description"?: string;
|
|
974
|
-
"
|
|
975
|
-
"
|
|
976
|
-
"
|
|
1008
|
+
"title"?: string | null;
|
|
1009
|
+
"description"?: string | null;
|
|
1010
|
+
"sort_order": number;
|
|
1011
|
+
"duration"?: string | null;
|
|
1012
|
+
"passing_mark"?: number | null;
|
|
1013
|
+
"price"?: string | null;
|
|
977
1014
|
"status": string;
|
|
978
1015
|
"created_at": string;
|
|
979
1016
|
"updated_at": string;
|
|
@@ -982,14 +1019,14 @@ export interface CourseUpdateCoursePatchResponse extends ApiEnvelope<CourseUpdat
|
|
|
982
1019
|
}
|
|
983
1020
|
/** Backend query type: PaginationQuery. */
|
|
984
1021
|
export interface CourseIndexCategoryGetQuery extends QueryParams {
|
|
985
|
-
"
|
|
986
|
-
"
|
|
1022
|
+
"page_number"?: number | null;
|
|
1023
|
+
"page_size"?: number | null;
|
|
987
1024
|
}
|
|
988
1025
|
/** Backend response type: crate::models::PagedResult<models::CategoryResponse>. */
|
|
989
1026
|
export interface CourseIndexCategoryGetResponseItem extends JsonObject {
|
|
990
1027
|
"id": number;
|
|
991
1028
|
"name": string;
|
|
992
|
-
"description"?: string;
|
|
1029
|
+
"description"?: string | null;
|
|
993
1030
|
"sort_order": number;
|
|
994
1031
|
"status": string;
|
|
995
1032
|
"created_at": string;
|
|
@@ -1010,7 +1047,7 @@ export interface CourseIndexCategoryGetResponse extends ApiEnvelope<CourseIndexC
|
|
|
1010
1047
|
/** Backend request type: models::CreateCategoryRequest. */
|
|
1011
1048
|
export interface CourseStoreCategoryPostInput extends JsonObject {
|
|
1012
1049
|
"name": string;
|
|
1013
|
-
"description"?: string;
|
|
1050
|
+
"description"?: string | null;
|
|
1014
1051
|
"sort_order": number;
|
|
1015
1052
|
"status": string;
|
|
1016
1053
|
}
|
|
@@ -1018,7 +1055,7 @@ export interface CourseStoreCategoryPostInput extends JsonObject {
|
|
|
1018
1055
|
export interface CourseStoreCategoryPostResponseData extends JsonObject {
|
|
1019
1056
|
"id": number;
|
|
1020
1057
|
"name": string;
|
|
1021
|
-
"description"?: string;
|
|
1058
|
+
"description"?: string | null;
|
|
1022
1059
|
"sort_order": number;
|
|
1023
1060
|
"status": string;
|
|
1024
1061
|
"created_at": string;
|
|
@@ -1033,7 +1070,7 @@ export interface CourseDestroyCategoryDeleteResponse extends ApiEnvelope<JsonVal
|
|
|
1033
1070
|
export interface CourseShowCategoryGetResponseData extends JsonObject {
|
|
1034
1071
|
"id": number;
|
|
1035
1072
|
"name": string;
|
|
1036
|
-
"description"?: string;
|
|
1073
|
+
"description"?: string | null;
|
|
1037
1074
|
"sort_order": number;
|
|
1038
1075
|
"status": string;
|
|
1039
1076
|
"created_at": string;
|
|
@@ -1043,16 +1080,16 @@ export interface CourseShowCategoryGetResponse extends ApiEnvelope<CourseShowCat
|
|
|
1043
1080
|
}
|
|
1044
1081
|
/** Backend request type: models::UpdateCategoryRequest. */
|
|
1045
1082
|
export interface CourseUpdateCategoryPatchInput extends JsonObject {
|
|
1046
|
-
"name"?: string;
|
|
1047
|
-
"description"?: string;
|
|
1048
|
-
"sort_order"?: number;
|
|
1049
|
-
"status"?: string;
|
|
1083
|
+
"name"?: string | null;
|
|
1084
|
+
"description"?: string | null;
|
|
1085
|
+
"sort_order"?: number | null;
|
|
1086
|
+
"status"?: string | null;
|
|
1050
1087
|
}
|
|
1051
1088
|
/** Backend response type: models::CategoryResponse. */
|
|
1052
1089
|
export interface CourseUpdateCategoryPatchResponseData extends JsonObject {
|
|
1053
1090
|
"id": number;
|
|
1054
1091
|
"name": string;
|
|
1055
|
-
"description"?: string;
|
|
1092
|
+
"description"?: string | null;
|
|
1056
1093
|
"sort_order": number;
|
|
1057
1094
|
"status": string;
|
|
1058
1095
|
"created_at": string;
|
|
@@ -1062,20 +1099,21 @@ export interface CourseUpdateCategoryPatchResponse extends ApiEnvelope<CourseUpd
|
|
|
1062
1099
|
}
|
|
1063
1100
|
/** Backend query type: PaginationQuery. */
|
|
1064
1101
|
export interface CourseIndexVideoSectionGetQuery extends QueryParams {
|
|
1065
|
-
"
|
|
1066
|
-
"
|
|
1102
|
+
"page_number"?: number | null;
|
|
1103
|
+
"page_size"?: number | null;
|
|
1067
1104
|
}
|
|
1068
1105
|
/** Backend response type: crate::models::PagedResult<models::VideoSectionResponse>. */
|
|
1069
1106
|
export interface CourseIndexVideoSectionGetResponseItem extends JsonObject {
|
|
1070
1107
|
"id": number;
|
|
1071
1108
|
"course_id": number;
|
|
1072
|
-
"course_session_id"?: number;
|
|
1109
|
+
"course_session_id"?: number | null;
|
|
1073
1110
|
"name": string;
|
|
1074
1111
|
"sort_order": number;
|
|
1075
|
-
"media_url"?: string;
|
|
1112
|
+
"media_url"?: string | null;
|
|
1076
1113
|
"video_type": string;
|
|
1077
|
-
"external_url"?: string;
|
|
1078
|
-
"drm_url"?: string;
|
|
1114
|
+
"external_url"?: string | null;
|
|
1115
|
+
"drm_url"?: string | null;
|
|
1116
|
+
"drm_media_id"?: BackendJson<"uuid::Uuid"> | null;
|
|
1079
1117
|
"created_at": string;
|
|
1080
1118
|
"updated_at": string;
|
|
1081
1119
|
}
|
|
@@ -1094,25 +1132,27 @@ export interface CourseIndexVideoSectionGetResponse extends ApiEnvelope<CourseIn
|
|
|
1094
1132
|
/** Backend request type: models::CreateVideoSectionRequest. */
|
|
1095
1133
|
export interface CourseStoreVideoSectionPostInput extends JsonObject {
|
|
1096
1134
|
"course_id": number;
|
|
1097
|
-
"course_session_id"?: number;
|
|
1135
|
+
"course_session_id"?: number | null;
|
|
1098
1136
|
"name": string;
|
|
1099
1137
|
"sort_order": number;
|
|
1100
|
-
"media_url"?: string;
|
|
1101
|
-
"video_type"?: string;
|
|
1102
|
-
"external_url"?: string;
|
|
1103
|
-
"drm_url"?: string;
|
|
1138
|
+
"media_url"?: string | null;
|
|
1139
|
+
"video_type"?: string | null;
|
|
1140
|
+
"external_url"?: string | null;
|
|
1141
|
+
"drm_url"?: string | null;
|
|
1142
|
+
"drm_media_id"?: BackendJson<"uuid::Uuid"> | null;
|
|
1104
1143
|
}
|
|
1105
1144
|
/** Backend response type: models::VideoSectionResponse. */
|
|
1106
1145
|
export interface CourseStoreVideoSectionPostResponseData extends JsonObject {
|
|
1107
1146
|
"id": number;
|
|
1108
1147
|
"course_id": number;
|
|
1109
|
-
"course_session_id"?: number;
|
|
1148
|
+
"course_session_id"?: number | null;
|
|
1110
1149
|
"name": string;
|
|
1111
1150
|
"sort_order": number;
|
|
1112
|
-
"media_url"?: string;
|
|
1151
|
+
"media_url"?: string | null;
|
|
1113
1152
|
"video_type": string;
|
|
1114
|
-
"external_url"?: string;
|
|
1115
|
-
"drm_url"?: string;
|
|
1153
|
+
"external_url"?: string | null;
|
|
1154
|
+
"drm_url"?: string | null;
|
|
1155
|
+
"drm_media_id"?: BackendJson<"uuid::Uuid"> | null;
|
|
1116
1156
|
"created_at": string;
|
|
1117
1157
|
"updated_at": string;
|
|
1118
1158
|
}
|
|
@@ -1125,13 +1165,14 @@ export interface CourseDestroyVideoSectionDeleteResponse extends ApiEnvelope<Jso
|
|
|
1125
1165
|
export interface CourseShowVideoSectionGetResponseData extends JsonObject {
|
|
1126
1166
|
"id": number;
|
|
1127
1167
|
"course_id": number;
|
|
1128
|
-
"course_session_id"?: number;
|
|
1168
|
+
"course_session_id"?: number | null;
|
|
1129
1169
|
"name": string;
|
|
1130
1170
|
"sort_order": number;
|
|
1131
|
-
"media_url"?: string;
|
|
1171
|
+
"media_url"?: string | null;
|
|
1132
1172
|
"video_type": string;
|
|
1133
|
-
"external_url"?: string;
|
|
1134
|
-
"drm_url"?: string;
|
|
1173
|
+
"external_url"?: string | null;
|
|
1174
|
+
"drm_url"?: string | null;
|
|
1175
|
+
"drm_media_id"?: BackendJson<"uuid::Uuid"> | null;
|
|
1135
1176
|
"created_at": string;
|
|
1136
1177
|
"updated_at": string;
|
|
1137
1178
|
}
|
|
@@ -1139,26 +1180,28 @@ export interface CourseShowVideoSectionGetResponse extends ApiEnvelope<CourseSho
|
|
|
1139
1180
|
}
|
|
1140
1181
|
/** Backend request type: models::UpdateVideoSectionRequest. */
|
|
1141
1182
|
export interface CourseUpdateVideoSectionPatchInput extends JsonObject {
|
|
1142
|
-
"course_id"?: number;
|
|
1143
|
-
"course_session_id"?: number;
|
|
1144
|
-
"name"?: string;
|
|
1145
|
-
"sort_order"?: number;
|
|
1146
|
-
"media_url"?: string;
|
|
1147
|
-
"video_type"?: string;
|
|
1148
|
-
"external_url"?: string;
|
|
1149
|
-
"drm_url"?: string;
|
|
1183
|
+
"course_id"?: number | null;
|
|
1184
|
+
"course_session_id"?: number | null;
|
|
1185
|
+
"name"?: string | null;
|
|
1186
|
+
"sort_order"?: number | null;
|
|
1187
|
+
"media_url"?: string | null;
|
|
1188
|
+
"video_type"?: string | null;
|
|
1189
|
+
"external_url"?: string | null;
|
|
1190
|
+
"drm_url"?: string | null;
|
|
1191
|
+
"drm_media_id"?: BackendJson<"uuid::Uuid"> | null;
|
|
1150
1192
|
}
|
|
1151
1193
|
/** Backend response type: models::VideoSectionResponse. */
|
|
1152
1194
|
export interface CourseUpdateVideoSectionPatchResponseData extends JsonObject {
|
|
1153
1195
|
"id": number;
|
|
1154
1196
|
"course_id": number;
|
|
1155
|
-
"course_session_id"?: number;
|
|
1197
|
+
"course_session_id"?: number | null;
|
|
1156
1198
|
"name": string;
|
|
1157
1199
|
"sort_order": number;
|
|
1158
|
-
"media_url"?: string;
|
|
1200
|
+
"media_url"?: string | null;
|
|
1159
1201
|
"video_type": string;
|
|
1160
|
-
"external_url"?: string;
|
|
1161
|
-
"drm_url"?: string;
|
|
1202
|
+
"external_url"?: string | null;
|
|
1203
|
+
"drm_url"?: string | null;
|
|
1204
|
+
"drm_media_id"?: BackendJson<"uuid::Uuid"> | null;
|
|
1162
1205
|
"created_at": string;
|
|
1163
1206
|
"updated_at": string;
|
|
1164
1207
|
}
|
|
@@ -1187,17 +1230,17 @@ export interface DocsIntegrationGetResponse extends ApiEnvelope<DocsIntegrationG
|
|
|
1187
1230
|
}
|
|
1188
1231
|
/** Backend query type: PaginationQuery. */
|
|
1189
1232
|
export interface EventIndexEventGetQuery extends QueryParams {
|
|
1190
|
-
"
|
|
1191
|
-
"
|
|
1233
|
+
"page_number"?: number | null;
|
|
1234
|
+
"page_size"?: number | null;
|
|
1192
1235
|
}
|
|
1193
1236
|
/** Backend response type: crate::models::PagedResult<models::EventResponse>. */
|
|
1194
1237
|
export interface EventIndexEventGetResponseItem extends JsonObject {
|
|
1195
1238
|
"id": number;
|
|
1196
|
-
"event_type_id"?: number;
|
|
1239
|
+
"event_type_id"?: number | null;
|
|
1197
1240
|
"name": string;
|
|
1198
|
-
"description"?: string;
|
|
1199
|
-
"starts_at"?: string;
|
|
1200
|
-
"ends_at"?: string;
|
|
1241
|
+
"description"?: string | null;
|
|
1242
|
+
"starts_at"?: string | null;
|
|
1243
|
+
"ends_at"?: string | null;
|
|
1201
1244
|
"status": string;
|
|
1202
1245
|
"created_at": string;
|
|
1203
1246
|
"updated_at": string;
|
|
@@ -1216,21 +1259,21 @@ export interface EventIndexEventGetResponse extends ApiEnvelope<EventIndexEventG
|
|
|
1216
1259
|
}
|
|
1217
1260
|
/** Backend request type: models::CreateEventRequest. */
|
|
1218
1261
|
export interface EventStoreEventPostInput extends JsonObject {
|
|
1219
|
-
"event_type_id"?: number;
|
|
1262
|
+
"event_type_id"?: number | null;
|
|
1220
1263
|
"name": string;
|
|
1221
|
-
"description"?: string;
|
|
1222
|
-
"starts_at"?: string;
|
|
1223
|
-
"ends_at"?: string;
|
|
1264
|
+
"description"?: string | null;
|
|
1265
|
+
"starts_at"?: string | null;
|
|
1266
|
+
"ends_at"?: string | null;
|
|
1224
1267
|
"status": string;
|
|
1225
1268
|
}
|
|
1226
1269
|
/** Backend response type: models::EventResponse. */
|
|
1227
1270
|
export interface EventStoreEventPostResponseData extends JsonObject {
|
|
1228
1271
|
"id": number;
|
|
1229
|
-
"event_type_id"?: number;
|
|
1272
|
+
"event_type_id"?: number | null;
|
|
1230
1273
|
"name": string;
|
|
1231
|
-
"description"?: string;
|
|
1232
|
-
"starts_at"?: string;
|
|
1233
|
-
"ends_at"?: string;
|
|
1274
|
+
"description"?: string | null;
|
|
1275
|
+
"starts_at"?: string | null;
|
|
1276
|
+
"ends_at"?: string | null;
|
|
1234
1277
|
"status": string;
|
|
1235
1278
|
"created_at": string;
|
|
1236
1279
|
"updated_at": string;
|
|
@@ -1239,8 +1282,8 @@ export interface EventStoreEventPostResponse extends ApiEnvelope<EventStoreEvent
|
|
|
1239
1282
|
}
|
|
1240
1283
|
/** Backend query type: PaginationQuery. */
|
|
1241
1284
|
export interface EventIndexUserGetQuery extends QueryParams {
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1285
|
+
"page_number"?: number | null;
|
|
1286
|
+
"page_size"?: number | null;
|
|
1244
1287
|
}
|
|
1245
1288
|
/** Backend response type: crate::models::PagedResult<models::UserResponse>. */
|
|
1246
1289
|
export interface EventIndexUserGetResponseItem extends JsonObject {
|
|
@@ -1290,8 +1333,8 @@ export interface EventShowUserGetResponse extends ApiEnvelope<EventShowUserGetRe
|
|
|
1290
1333
|
}
|
|
1291
1334
|
/** Backend request type: models::UpdateUserRequest. */
|
|
1292
1335
|
export interface EventUpdateUserPatchInput extends JsonObject {
|
|
1293
|
-
"user_id"?: string;
|
|
1294
|
-
"status"?: string;
|
|
1336
|
+
"user_id"?: string | null;
|
|
1337
|
+
"status"?: string | null;
|
|
1295
1338
|
}
|
|
1296
1339
|
/** Backend response type: models::UserResponse. */
|
|
1297
1340
|
export interface EventUpdateUserPatchResponseData extends JsonObject {
|
|
@@ -1306,11 +1349,11 @@ export interface EventUpdateUserPatchResponse extends ApiEnvelope<EventUpdateUse
|
|
|
1306
1349
|
/** Backend response type: models::EventResponse. */
|
|
1307
1350
|
export interface EventShowEventGetResponseData extends JsonObject {
|
|
1308
1351
|
"id": number;
|
|
1309
|
-
"event_type_id"?: number;
|
|
1352
|
+
"event_type_id"?: number | null;
|
|
1310
1353
|
"name": string;
|
|
1311
|
-
"description"?: string;
|
|
1312
|
-
"starts_at"?: string;
|
|
1313
|
-
"ends_at"?: string;
|
|
1354
|
+
"description"?: string | null;
|
|
1355
|
+
"starts_at"?: string | null;
|
|
1356
|
+
"ends_at"?: string | null;
|
|
1314
1357
|
"status": string;
|
|
1315
1358
|
"created_at": string;
|
|
1316
1359
|
"updated_at": string;
|
|
@@ -1319,21 +1362,21 @@ export interface EventShowEventGetResponse extends ApiEnvelope<EventShowEventGet
|
|
|
1319
1362
|
}
|
|
1320
1363
|
/** Backend request type: models::UpdateEventRequest. */
|
|
1321
1364
|
export interface EventUpdateEventPatchInput extends JsonObject {
|
|
1322
|
-
"event_type_id"?: number;
|
|
1323
|
-
"name"?: string;
|
|
1324
|
-
"description"?: string;
|
|
1325
|
-
"starts_at"?: string;
|
|
1326
|
-
"ends_at"?: string;
|
|
1327
|
-
"status"?: string;
|
|
1365
|
+
"event_type_id"?: number | null;
|
|
1366
|
+
"name"?: string | null;
|
|
1367
|
+
"description"?: string | null;
|
|
1368
|
+
"starts_at"?: string | null;
|
|
1369
|
+
"ends_at"?: string | null;
|
|
1370
|
+
"status"?: string | null;
|
|
1328
1371
|
}
|
|
1329
1372
|
/** Backend response type: models::EventResponse. */
|
|
1330
1373
|
export interface EventUpdateEventPatchResponseData extends JsonObject {
|
|
1331
1374
|
"id": number;
|
|
1332
|
-
"event_type_id"?: number;
|
|
1375
|
+
"event_type_id"?: number | null;
|
|
1333
1376
|
"name": string;
|
|
1334
|
-
"description"?: string;
|
|
1335
|
-
"starts_at"?: string;
|
|
1336
|
-
"ends_at"?: string;
|
|
1377
|
+
"description"?: string | null;
|
|
1378
|
+
"starts_at"?: string | null;
|
|
1379
|
+
"ends_at"?: string | null;
|
|
1337
1380
|
"status": string;
|
|
1338
1381
|
"created_at": string;
|
|
1339
1382
|
"updated_at": string;
|
|
@@ -1342,16 +1385,16 @@ export interface EventUpdateEventPatchResponse extends ApiEnvelope<EventUpdateEv
|
|
|
1342
1385
|
}
|
|
1343
1386
|
/** Backend query type: PaginationQuery. */
|
|
1344
1387
|
export interface EventIndexSessionGetQuery extends QueryParams {
|
|
1345
|
-
"
|
|
1346
|
-
"
|
|
1388
|
+
"page_number"?: number | null;
|
|
1389
|
+
"page_size"?: number | null;
|
|
1347
1390
|
}
|
|
1348
1391
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
1349
1392
|
export interface EventIndexSessionGetResponseItem extends JsonObject {
|
|
1350
1393
|
"id": number;
|
|
1351
1394
|
"event_id": number;
|
|
1352
|
-
"name"?: string;
|
|
1353
|
-
"starts_at"?: string;
|
|
1354
|
-
"ends_at"?: string;
|
|
1395
|
+
"name"?: string | null;
|
|
1396
|
+
"starts_at"?: string | null;
|
|
1397
|
+
"ends_at"?: string | null;
|
|
1355
1398
|
"created_at": string;
|
|
1356
1399
|
}
|
|
1357
1400
|
export interface EventIndexSessionGetResponsePageMeta extends JsonObject {
|
|
@@ -1369,17 +1412,17 @@ export interface EventIndexSessionGetResponse extends ApiEnvelope<EventIndexSess
|
|
|
1369
1412
|
/** Backend request type: models::CreateSessionRequest. */
|
|
1370
1413
|
export interface EventStoreSessionPostInput extends JsonObject {
|
|
1371
1414
|
"event_id": number;
|
|
1372
|
-
"name"?: string;
|
|
1373
|
-
"starts_at"?: string;
|
|
1374
|
-
"ends_at"?: string;
|
|
1415
|
+
"name"?: string | null;
|
|
1416
|
+
"starts_at"?: string | null;
|
|
1417
|
+
"ends_at"?: string | null;
|
|
1375
1418
|
}
|
|
1376
1419
|
/** Backend response type: models::SessionResponse. */
|
|
1377
1420
|
export interface EventStoreSessionPostResponseData extends JsonObject {
|
|
1378
1421
|
"id": number;
|
|
1379
1422
|
"event_id": number;
|
|
1380
|
-
"name"?: string;
|
|
1381
|
-
"starts_at"?: string;
|
|
1382
|
-
"ends_at"?: string;
|
|
1423
|
+
"name"?: string | null;
|
|
1424
|
+
"starts_at"?: string | null;
|
|
1425
|
+
"ends_at"?: string | null;
|
|
1383
1426
|
"created_at": string;
|
|
1384
1427
|
}
|
|
1385
1428
|
export interface EventStoreSessionPostResponse extends ApiEnvelope<EventStoreSessionPostResponseData> {
|
|
@@ -1388,44 +1431,44 @@ export interface EventStoreSessionPostResponse extends ApiEnvelope<EventStoreSes
|
|
|
1388
1431
|
export interface EventShowSessionGetResponseData extends JsonObject {
|
|
1389
1432
|
"id": number;
|
|
1390
1433
|
"event_id": number;
|
|
1391
|
-
"name"?: string;
|
|
1392
|
-
"starts_at"?: string;
|
|
1393
|
-
"ends_at"?: string;
|
|
1434
|
+
"name"?: string | null;
|
|
1435
|
+
"starts_at"?: string | null;
|
|
1436
|
+
"ends_at"?: string | null;
|
|
1394
1437
|
"created_at": string;
|
|
1395
1438
|
}
|
|
1396
1439
|
export interface EventShowSessionGetResponse extends ApiEnvelope<EventShowSessionGetResponseData> {
|
|
1397
1440
|
}
|
|
1398
1441
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
1399
1442
|
export interface EventUpdateSessionPatchInput extends JsonObject {
|
|
1400
|
-
"event_id"?: number;
|
|
1401
|
-
"name"?: string;
|
|
1402
|
-
"starts_at"?: string;
|
|
1403
|
-
"ends_at"?: string;
|
|
1443
|
+
"event_id"?: number | null;
|
|
1444
|
+
"name"?: string | null;
|
|
1445
|
+
"starts_at"?: string | null;
|
|
1446
|
+
"ends_at"?: string | null;
|
|
1404
1447
|
}
|
|
1405
1448
|
/** Backend response type: models::SessionResponse. */
|
|
1406
1449
|
export interface EventUpdateSessionPatchResponseData extends JsonObject {
|
|
1407
1450
|
"id": number;
|
|
1408
1451
|
"event_id": number;
|
|
1409
|
-
"name"?: string;
|
|
1410
|
-
"starts_at"?: string;
|
|
1411
|
-
"ends_at"?: string;
|
|
1452
|
+
"name"?: string | null;
|
|
1453
|
+
"starts_at"?: string | null;
|
|
1454
|
+
"ends_at"?: string | null;
|
|
1412
1455
|
"created_at": string;
|
|
1413
1456
|
}
|
|
1414
1457
|
export interface EventUpdateSessionPatchResponse extends ApiEnvelope<EventUpdateSessionPatchResponseData> {
|
|
1415
1458
|
}
|
|
1416
1459
|
/** Backend query type: PaginationQuery. */
|
|
1417
1460
|
export interface ExamIndexExamGetQuery extends QueryParams {
|
|
1418
|
-
"
|
|
1419
|
-
"
|
|
1461
|
+
"page_number"?: number | null;
|
|
1462
|
+
"page_size"?: number | null;
|
|
1420
1463
|
}
|
|
1421
1464
|
/** Backend response type: crate::models::PagedResult<models::ExamResponse>. */
|
|
1422
1465
|
export interface ExamIndexExamGetResponseItem extends JsonObject {
|
|
1423
1466
|
"id": number;
|
|
1424
|
-
"course_id"?: number;
|
|
1467
|
+
"course_id"?: number | null;
|
|
1425
1468
|
"name": string;
|
|
1426
|
-
"description"?: string;
|
|
1427
|
-
"duration_minutes"?: number;
|
|
1428
|
-
"passing_mark"?: number;
|
|
1469
|
+
"description"?: string | null;
|
|
1470
|
+
"duration_minutes"?: number | null;
|
|
1471
|
+
"passing_mark"?: number | null;
|
|
1429
1472
|
"status": string;
|
|
1430
1473
|
"created_at": string;
|
|
1431
1474
|
"updated_at": string;
|
|
@@ -1444,35 +1487,38 @@ export interface ExamIndexExamGetResponse extends ApiEnvelope<ExamIndexExamGetRe
|
|
|
1444
1487
|
}
|
|
1445
1488
|
/** Backend request type: models::CreateExamRequest. */
|
|
1446
1489
|
export interface ExamStoreExamPostInput extends JsonObject {
|
|
1447
|
-
"course_id"?: number;
|
|
1490
|
+
"course_id"?: number | null;
|
|
1448
1491
|
"name": string;
|
|
1449
|
-
"description"?: string;
|
|
1450
|
-
"duration_minutes"?: number;
|
|
1451
|
-
"passing_mark"?: number;
|
|
1492
|
+
"description"?: string | null;
|
|
1493
|
+
"duration_minutes"?: number | null;
|
|
1494
|
+
"passing_mark"?: number | null;
|
|
1452
1495
|
"status": string;
|
|
1453
1496
|
}
|
|
1454
1497
|
/** Backend response type: models::ExamResponse. */
|
|
1455
1498
|
export interface ExamStoreExamPostResponseData extends JsonObject {
|
|
1456
1499
|
"id": number;
|
|
1457
|
-
"course_id"?: number;
|
|
1500
|
+
"course_id"?: number | null;
|
|
1458
1501
|
"name": string;
|
|
1459
|
-
"description"?: string;
|
|
1460
|
-
"duration_minutes"?: number;
|
|
1461
|
-
"passing_mark"?: number;
|
|
1502
|
+
"description"?: string | null;
|
|
1503
|
+
"duration_minutes"?: number | null;
|
|
1504
|
+
"passing_mark"?: number | null;
|
|
1462
1505
|
"status": string;
|
|
1463
1506
|
"created_at": string;
|
|
1464
1507
|
"updated_at": string;
|
|
1465
1508
|
}
|
|
1466
1509
|
export interface ExamStoreExamPostResponse extends ApiEnvelope<ExamStoreExamPostResponseData> {
|
|
1467
1510
|
}
|
|
1511
|
+
/** Backend response type: serde_json::Value. */
|
|
1512
|
+
export interface ExamDestroyExamDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1513
|
+
}
|
|
1468
1514
|
/** Backend response type: models::ExamResponse. */
|
|
1469
1515
|
export interface ExamShowExamGetResponseData extends JsonObject {
|
|
1470
1516
|
"id": number;
|
|
1471
|
-
"course_id"?: number;
|
|
1517
|
+
"course_id"?: number | null;
|
|
1472
1518
|
"name": string;
|
|
1473
|
-
"description"?: string;
|
|
1474
|
-
"duration_minutes"?: number;
|
|
1475
|
-
"passing_mark"?: number;
|
|
1519
|
+
"description"?: string | null;
|
|
1520
|
+
"duration_minutes"?: number | null;
|
|
1521
|
+
"passing_mark"?: number | null;
|
|
1476
1522
|
"status": string;
|
|
1477
1523
|
"created_at": string;
|
|
1478
1524
|
"updated_at": string;
|
|
@@ -1481,21 +1527,21 @@ export interface ExamShowExamGetResponse extends ApiEnvelope<ExamShowExamGetResp
|
|
|
1481
1527
|
}
|
|
1482
1528
|
/** Backend request type: models::UpdateExamRequest. */
|
|
1483
1529
|
export interface ExamUpdateExamPatchInput extends JsonObject {
|
|
1484
|
-
"course_id"?: number;
|
|
1485
|
-
"name"?: string;
|
|
1486
|
-
"description"?: string;
|
|
1487
|
-
"duration_minutes"?: number;
|
|
1488
|
-
"passing_mark"?: number;
|
|
1489
|
-
"status"?: string;
|
|
1530
|
+
"course_id"?: number | null;
|
|
1531
|
+
"name"?: string | null;
|
|
1532
|
+
"description"?: string | null;
|
|
1533
|
+
"duration_minutes"?: number | null;
|
|
1534
|
+
"passing_mark"?: number | null;
|
|
1535
|
+
"status"?: string | null;
|
|
1490
1536
|
}
|
|
1491
1537
|
/** Backend response type: models::ExamResponse. */
|
|
1492
1538
|
export interface ExamUpdateExamPatchResponseData extends JsonObject {
|
|
1493
1539
|
"id": number;
|
|
1494
|
-
"course_id"?: number;
|
|
1540
|
+
"course_id"?: number | null;
|
|
1495
1541
|
"name": string;
|
|
1496
|
-
"description"?: string;
|
|
1497
|
-
"duration_minutes"?: number;
|
|
1498
|
-
"passing_mark"?: number;
|
|
1542
|
+
"description"?: string | null;
|
|
1543
|
+
"duration_minutes"?: number | null;
|
|
1544
|
+
"passing_mark"?: number | null;
|
|
1499
1545
|
"status": string;
|
|
1500
1546
|
"created_at": string;
|
|
1501
1547
|
"updated_at": string;
|
|
@@ -1504,17 +1550,17 @@ export interface ExamUpdateExamPatchResponse extends ApiEnvelope<ExamUpdateExamP
|
|
|
1504
1550
|
}
|
|
1505
1551
|
/** Backend query type: PaginationQuery. */
|
|
1506
1552
|
export interface ExamIndexQuestionGetQuery extends QueryParams {
|
|
1507
|
-
"
|
|
1508
|
-
"
|
|
1553
|
+
"page_number"?: number | null;
|
|
1554
|
+
"page_size"?: number | null;
|
|
1509
1555
|
}
|
|
1510
1556
|
/** Backend response type: crate::models::PagedResult<models::QuestionResponse>. */
|
|
1511
1557
|
export interface ExamIndexQuestionGetResponseItem extends JsonObject {
|
|
1512
1558
|
"id": number;
|
|
1513
|
-
"exam_id"?: number;
|
|
1559
|
+
"exam_id"?: number | null;
|
|
1514
1560
|
"question_text": string;
|
|
1515
1561
|
"question_type": string;
|
|
1516
|
-
"options"?:
|
|
1517
|
-
"correct_answer"?: string;
|
|
1562
|
+
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
1563
|
+
"correct_answer"?: string | null;
|
|
1518
1564
|
"sort_order": number;
|
|
1519
1565
|
"created_at": string;
|
|
1520
1566
|
}
|
|
@@ -1532,34 +1578,37 @@ export interface ExamIndexQuestionGetResponse extends ApiEnvelope<ExamIndexQuest
|
|
|
1532
1578
|
}
|
|
1533
1579
|
/** Backend request type: models::CreateQuestionRequest. */
|
|
1534
1580
|
export interface ExamStoreQuestionPostInput extends JsonObject {
|
|
1535
|
-
"exam_id"?: number;
|
|
1581
|
+
"exam_id"?: number | null;
|
|
1536
1582
|
"question_text": string;
|
|
1537
1583
|
"question_type": string;
|
|
1538
|
-
"options"?:
|
|
1539
|
-
"correct_answer"?: string;
|
|
1584
|
+
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
1585
|
+
"correct_answer"?: string | null;
|
|
1540
1586
|
"sort_order": number;
|
|
1541
1587
|
}
|
|
1542
1588
|
/** Backend response type: models::QuestionResponse. */
|
|
1543
1589
|
export interface ExamStoreQuestionPostResponseData extends JsonObject {
|
|
1544
1590
|
"id": number;
|
|
1545
|
-
"exam_id"?: number;
|
|
1591
|
+
"exam_id"?: number | null;
|
|
1546
1592
|
"question_text": string;
|
|
1547
1593
|
"question_type": string;
|
|
1548
|
-
"options"?:
|
|
1549
|
-
"correct_answer"?: string;
|
|
1594
|
+
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
1595
|
+
"correct_answer"?: string | null;
|
|
1550
1596
|
"sort_order": number;
|
|
1551
1597
|
"created_at": string;
|
|
1552
1598
|
}
|
|
1553
1599
|
export interface ExamStoreQuestionPostResponse extends ApiEnvelope<ExamStoreQuestionPostResponseData> {
|
|
1554
1600
|
}
|
|
1601
|
+
/** Backend response type: serde_json::Value. */
|
|
1602
|
+
export interface ExamDestroyQuestionDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1603
|
+
}
|
|
1555
1604
|
/** Backend response type: models::QuestionResponse. */
|
|
1556
1605
|
export interface ExamShowQuestionGetResponseData extends JsonObject {
|
|
1557
1606
|
"id": number;
|
|
1558
|
-
"exam_id"?: number;
|
|
1607
|
+
"exam_id"?: number | null;
|
|
1559
1608
|
"question_text": string;
|
|
1560
1609
|
"question_type": string;
|
|
1561
|
-
"options"?:
|
|
1562
|
-
"correct_answer"?: string;
|
|
1610
|
+
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
1611
|
+
"correct_answer"?: string | null;
|
|
1563
1612
|
"sort_order": number;
|
|
1564
1613
|
"created_at": string;
|
|
1565
1614
|
}
|
|
@@ -1567,21 +1616,21 @@ export interface ExamShowQuestionGetResponse extends ApiEnvelope<ExamShowQuestio
|
|
|
1567
1616
|
}
|
|
1568
1617
|
/** Backend request type: models::UpdateQuestionRequest. */
|
|
1569
1618
|
export interface ExamUpdateQuestionPatchInput extends JsonObject {
|
|
1570
|
-
"exam_id"?: number;
|
|
1571
|
-
"question_text"?: string;
|
|
1572
|
-
"question_type"?: string;
|
|
1573
|
-
"options"?:
|
|
1574
|
-
"correct_answer"?: string;
|
|
1575
|
-
"sort_order"?: number;
|
|
1619
|
+
"exam_id"?: number | null;
|
|
1620
|
+
"question_text"?: string | null;
|
|
1621
|
+
"question_type"?: string | null;
|
|
1622
|
+
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
1623
|
+
"correct_answer"?: string | null;
|
|
1624
|
+
"sort_order"?: number | null;
|
|
1576
1625
|
}
|
|
1577
1626
|
/** Backend response type: models::QuestionResponse. */
|
|
1578
1627
|
export interface ExamUpdateQuestionPatchResponseData extends JsonObject {
|
|
1579
1628
|
"id": number;
|
|
1580
|
-
"exam_id"?: number;
|
|
1629
|
+
"exam_id"?: number | null;
|
|
1581
1630
|
"question_text": string;
|
|
1582
1631
|
"question_type": string;
|
|
1583
|
-
"options"?:
|
|
1584
|
-
"correct_answer"?: string;
|
|
1632
|
+
"options"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
1633
|
+
"correct_answer"?: string | null;
|
|
1585
1634
|
"sort_order": number;
|
|
1586
1635
|
"created_at": string;
|
|
1587
1636
|
}
|
|
@@ -1589,16 +1638,16 @@ export interface ExamUpdateQuestionPatchResponse extends ApiEnvelope<ExamUpdateQ
|
|
|
1589
1638
|
}
|
|
1590
1639
|
/** Backend query type: PaginationQuery. */
|
|
1591
1640
|
export interface ExamIndexSessionGetQuery extends QueryParams {
|
|
1592
|
-
"
|
|
1593
|
-
"
|
|
1641
|
+
"page_number"?: number | null;
|
|
1642
|
+
"page_size"?: number | null;
|
|
1594
1643
|
}
|
|
1595
1644
|
/** Backend response type: crate::models::PagedResult<models::SessionResponse>. */
|
|
1596
1645
|
export interface ExamIndexSessionGetResponseItem extends JsonObject {
|
|
1597
1646
|
"id": number;
|
|
1598
1647
|
"exam_id": number;
|
|
1599
|
-
"classroom_id"?: number;
|
|
1600
|
-
"starts_at"?: string;
|
|
1601
|
-
"ends_at"?: string;
|
|
1648
|
+
"classroom_id"?: number | null;
|
|
1649
|
+
"starts_at"?: string | null;
|
|
1650
|
+
"ends_at"?: string | null;
|
|
1602
1651
|
"status": string;
|
|
1603
1652
|
"created_at": string;
|
|
1604
1653
|
}
|
|
@@ -1617,18 +1666,18 @@ export interface ExamIndexSessionGetResponse extends ApiEnvelope<ExamIndexSessio
|
|
|
1617
1666
|
/** Backend request type: models::CreateSessionRequest. */
|
|
1618
1667
|
export interface ExamStoreSessionPostInput extends JsonObject {
|
|
1619
1668
|
"exam_id": number;
|
|
1620
|
-
"classroom_id"?: number;
|
|
1621
|
-
"starts_at"?: string;
|
|
1622
|
-
"ends_at"?: string;
|
|
1669
|
+
"classroom_id"?: number | null;
|
|
1670
|
+
"starts_at"?: string | null;
|
|
1671
|
+
"ends_at"?: string | null;
|
|
1623
1672
|
"status": string;
|
|
1624
1673
|
}
|
|
1625
1674
|
/** Backend response type: models::SessionResponse. */
|
|
1626
1675
|
export interface ExamStoreSessionPostResponseData extends JsonObject {
|
|
1627
1676
|
"id": number;
|
|
1628
1677
|
"exam_id": number;
|
|
1629
|
-
"classroom_id"?: number;
|
|
1630
|
-
"starts_at"?: string;
|
|
1631
|
-
"ends_at"?: string;
|
|
1678
|
+
"classroom_id"?: number | null;
|
|
1679
|
+
"starts_at"?: string | null;
|
|
1680
|
+
"ends_at"?: string | null;
|
|
1632
1681
|
"status": string;
|
|
1633
1682
|
"created_at": string;
|
|
1634
1683
|
}
|
|
@@ -1638,9 +1687,9 @@ export interface ExamStoreSessionPostResponse extends ApiEnvelope<ExamStoreSessi
|
|
|
1638
1687
|
export interface ExamShowSessionGetResponseData extends JsonObject {
|
|
1639
1688
|
"id": number;
|
|
1640
1689
|
"exam_id": number;
|
|
1641
|
-
"classroom_id"?: number;
|
|
1642
|
-
"starts_at"?: string;
|
|
1643
|
-
"ends_at"?: string;
|
|
1690
|
+
"classroom_id"?: number | null;
|
|
1691
|
+
"starts_at"?: string | null;
|
|
1692
|
+
"ends_at"?: string | null;
|
|
1644
1693
|
"status": string;
|
|
1645
1694
|
"created_at": string;
|
|
1646
1695
|
}
|
|
@@ -1648,19 +1697,19 @@ export interface ExamShowSessionGetResponse extends ApiEnvelope<ExamShowSessionG
|
|
|
1648
1697
|
}
|
|
1649
1698
|
/** Backend request type: models::UpdateSessionRequest. */
|
|
1650
1699
|
export interface ExamUpdateSessionPatchInput extends JsonObject {
|
|
1651
|
-
"exam_id"?: number;
|
|
1652
|
-
"classroom_id"?: number;
|
|
1653
|
-
"starts_at"?: string;
|
|
1654
|
-
"ends_at"?: string;
|
|
1655
|
-
"status"?: string;
|
|
1700
|
+
"exam_id"?: number | null;
|
|
1701
|
+
"classroom_id"?: number | null;
|
|
1702
|
+
"starts_at"?: string | null;
|
|
1703
|
+
"ends_at"?: string | null;
|
|
1704
|
+
"status"?: string | null;
|
|
1656
1705
|
}
|
|
1657
1706
|
/** Backend response type: models::SessionResponse. */
|
|
1658
1707
|
export interface ExamUpdateSessionPatchResponseData extends JsonObject {
|
|
1659
1708
|
"id": number;
|
|
1660
1709
|
"exam_id": number;
|
|
1661
|
-
"classroom_id"?: number;
|
|
1662
|
-
"starts_at"?: string;
|
|
1663
|
-
"ends_at"?: string;
|
|
1710
|
+
"classroom_id"?: number | null;
|
|
1711
|
+
"starts_at"?: string | null;
|
|
1712
|
+
"ends_at"?: string | null;
|
|
1664
1713
|
"status": string;
|
|
1665
1714
|
"created_at": string;
|
|
1666
1715
|
}
|
|
@@ -1668,15 +1717,15 @@ export interface ExamUpdateSessionPatchResponse extends ApiEnvelope<ExamUpdateSe
|
|
|
1668
1717
|
}
|
|
1669
1718
|
/** Backend query type: PaginationQuery. */
|
|
1670
1719
|
export interface HomeworkIndexHomeworkGetQuery extends QueryParams {
|
|
1671
|
-
"
|
|
1672
|
-
"
|
|
1720
|
+
"page_number"?: number | null;
|
|
1721
|
+
"page_size"?: number | null;
|
|
1673
1722
|
}
|
|
1674
1723
|
/** Backend response type: crate::models::PagedResult<models::HomeworkResponse>. */
|
|
1675
1724
|
export interface HomeworkIndexHomeworkGetResponseItem extends JsonObject {
|
|
1676
1725
|
"id": number;
|
|
1677
|
-
"course_id"?: number;
|
|
1726
|
+
"course_id"?: number | null;
|
|
1678
1727
|
"name": string;
|
|
1679
|
-
"description"?: string;
|
|
1728
|
+
"description"?: string | null;
|
|
1680
1729
|
"status": string;
|
|
1681
1730
|
"created_at": string;
|
|
1682
1731
|
"updated_at": string;
|
|
@@ -1695,17 +1744,17 @@ export interface HomeworkIndexHomeworkGetResponse extends ApiEnvelope<HomeworkIn
|
|
|
1695
1744
|
}
|
|
1696
1745
|
/** Backend request type: models::CreateHomeworkRequest. */
|
|
1697
1746
|
export interface HomeworkStoreHomeworkPostInput extends JsonObject {
|
|
1698
|
-
"course_id"?: number;
|
|
1747
|
+
"course_id"?: number | null;
|
|
1699
1748
|
"name": string;
|
|
1700
|
-
"description"?: string;
|
|
1749
|
+
"description"?: string | null;
|
|
1701
1750
|
"status": string;
|
|
1702
1751
|
}
|
|
1703
1752
|
/** Backend response type: models::HomeworkResponse. */
|
|
1704
1753
|
export interface HomeworkStoreHomeworkPostResponseData extends JsonObject {
|
|
1705
1754
|
"id": number;
|
|
1706
|
-
"course_id"?: number;
|
|
1755
|
+
"course_id"?: number | null;
|
|
1707
1756
|
"name": string;
|
|
1708
|
-
"description"?: string;
|
|
1757
|
+
"description"?: string | null;
|
|
1709
1758
|
"status": string;
|
|
1710
1759
|
"created_at": string;
|
|
1711
1760
|
"updated_at": string;
|
|
@@ -1715,9 +1764,9 @@ export interface HomeworkStoreHomeworkPostResponse extends ApiEnvelope<HomeworkS
|
|
|
1715
1764
|
/** Backend response type: models::HomeworkResponse. */
|
|
1716
1765
|
export interface HomeworkShowHomeworkGetResponseData extends JsonObject {
|
|
1717
1766
|
"id": number;
|
|
1718
|
-
"course_id"?: number;
|
|
1767
|
+
"course_id"?: number | null;
|
|
1719
1768
|
"name": string;
|
|
1720
|
-
"description"?: string;
|
|
1769
|
+
"description"?: string | null;
|
|
1721
1770
|
"status": string;
|
|
1722
1771
|
"created_at": string;
|
|
1723
1772
|
"updated_at": string;
|
|
@@ -1726,17 +1775,17 @@ export interface HomeworkShowHomeworkGetResponse extends ApiEnvelope<HomeworkSho
|
|
|
1726
1775
|
}
|
|
1727
1776
|
/** Backend request type: models::UpdateHomeworkRequest. */
|
|
1728
1777
|
export interface HomeworkUpdateHomeworkPatchInput extends JsonObject {
|
|
1729
|
-
"course_id"?: number;
|
|
1730
|
-
"name"?: string;
|
|
1731
|
-
"description"?: string;
|
|
1732
|
-
"status"?: string;
|
|
1778
|
+
"course_id"?: number | null;
|
|
1779
|
+
"name"?: string | null;
|
|
1780
|
+
"description"?: string | null;
|
|
1781
|
+
"status"?: string | null;
|
|
1733
1782
|
}
|
|
1734
1783
|
/** Backend response type: models::HomeworkResponse. */
|
|
1735
1784
|
export interface HomeworkUpdateHomeworkPatchResponseData extends JsonObject {
|
|
1736
1785
|
"id": number;
|
|
1737
|
-
"course_id"?: number;
|
|
1786
|
+
"course_id"?: number | null;
|
|
1738
1787
|
"name": string;
|
|
1739
|
-
"description"?: string;
|
|
1788
|
+
"description"?: string | null;
|
|
1740
1789
|
"status": string;
|
|
1741
1790
|
"created_at": string;
|
|
1742
1791
|
"updated_at": string;
|
|
@@ -1745,19 +1794,19 @@ export interface HomeworkUpdateHomeworkPatchResponse extends ApiEnvelope<Homewor
|
|
|
1745
1794
|
}
|
|
1746
1795
|
/** Backend query type: PaginationQuery. */
|
|
1747
1796
|
export interface HomeworkIndexAssignmentGetQuery extends QueryParams {
|
|
1748
|
-
"
|
|
1749
|
-
"
|
|
1797
|
+
"page_number"?: number | null;
|
|
1798
|
+
"page_size"?: number | null;
|
|
1750
1799
|
}
|
|
1751
1800
|
/** Backend response type: crate::models::PagedResult<models::AssignmentResponse>. */
|
|
1752
1801
|
export interface HomeworkIndexAssignmentGetResponseItem extends JsonObject {
|
|
1753
1802
|
"id": number;
|
|
1754
1803
|
"homework_id": number;
|
|
1755
|
-
"classroom_id"?: number;
|
|
1756
|
-
"user_id"?: string;
|
|
1757
|
-
"due_at"?: string;
|
|
1804
|
+
"classroom_id"?: number | null;
|
|
1805
|
+
"user_id"?: string | null;
|
|
1806
|
+
"due_at"?: string | null;
|
|
1758
1807
|
"status": string;
|
|
1759
|
-
"answer_text"?: string;
|
|
1760
|
-
"score"?: number;
|
|
1808
|
+
"answer_text"?: string | null;
|
|
1809
|
+
"score"?: number | null;
|
|
1761
1810
|
"created_at": string;
|
|
1762
1811
|
"updated_at": string;
|
|
1763
1812
|
}
|
|
@@ -1776,23 +1825,23 @@ export interface HomeworkIndexAssignmentGetResponse extends ApiEnvelope<Homework
|
|
|
1776
1825
|
/** Backend request type: models::CreateAssignmentRequest. */
|
|
1777
1826
|
export interface HomeworkStoreAssignmentPostInput extends JsonObject {
|
|
1778
1827
|
"homework_id": number;
|
|
1779
|
-
"classroom_id"?: number;
|
|
1780
|
-
"user_id"?: string;
|
|
1781
|
-
"due_at"?: string;
|
|
1828
|
+
"classroom_id"?: number | null;
|
|
1829
|
+
"user_id"?: string | null;
|
|
1830
|
+
"due_at"?: string | null;
|
|
1782
1831
|
"status": string;
|
|
1783
|
-
"answer_text"?: string;
|
|
1784
|
-
"score"?: number;
|
|
1832
|
+
"answer_text"?: string | null;
|
|
1833
|
+
"score"?: number | null;
|
|
1785
1834
|
}
|
|
1786
1835
|
/** Backend response type: models::AssignmentResponse. */
|
|
1787
1836
|
export interface HomeworkStoreAssignmentPostResponseData extends JsonObject {
|
|
1788
1837
|
"id": number;
|
|
1789
1838
|
"homework_id": number;
|
|
1790
|
-
"classroom_id"?: number;
|
|
1791
|
-
"user_id"?: string;
|
|
1792
|
-
"due_at"?: string;
|
|
1839
|
+
"classroom_id"?: number | null;
|
|
1840
|
+
"user_id"?: string | null;
|
|
1841
|
+
"due_at"?: string | null;
|
|
1793
1842
|
"status": string;
|
|
1794
|
-
"answer_text"?: string;
|
|
1795
|
-
"score"?: number;
|
|
1843
|
+
"answer_text"?: string | null;
|
|
1844
|
+
"score"?: number | null;
|
|
1796
1845
|
"created_at": string;
|
|
1797
1846
|
"updated_at": string;
|
|
1798
1847
|
}
|
|
@@ -1802,12 +1851,12 @@ export interface HomeworkStoreAssignmentPostResponse extends ApiEnvelope<Homewor
|
|
|
1802
1851
|
export interface HomeworkShowAssignmentGetResponseData extends JsonObject {
|
|
1803
1852
|
"id": number;
|
|
1804
1853
|
"homework_id": number;
|
|
1805
|
-
"classroom_id"?: number;
|
|
1806
|
-
"user_id"?: string;
|
|
1807
|
-
"due_at"?: string;
|
|
1854
|
+
"classroom_id"?: number | null;
|
|
1855
|
+
"user_id"?: string | null;
|
|
1856
|
+
"due_at"?: string | null;
|
|
1808
1857
|
"status": string;
|
|
1809
|
-
"answer_text"?: string;
|
|
1810
|
-
"score"?: number;
|
|
1858
|
+
"answer_text"?: string | null;
|
|
1859
|
+
"score"?: number | null;
|
|
1811
1860
|
"created_at": string;
|
|
1812
1861
|
"updated_at": string;
|
|
1813
1862
|
}
|
|
@@ -1815,24 +1864,24 @@ export interface HomeworkShowAssignmentGetResponse extends ApiEnvelope<HomeworkS
|
|
|
1815
1864
|
}
|
|
1816
1865
|
/** Backend request type: models::UpdateAssignmentRequest. */
|
|
1817
1866
|
export interface HomeworkUpdateAssignmentPatchInput extends JsonObject {
|
|
1818
|
-
"homework_id"?: number;
|
|
1819
|
-
"classroom_id"?: number;
|
|
1820
|
-
"user_id"?: string;
|
|
1821
|
-
"due_at"?: string;
|
|
1822
|
-
"status"?: string;
|
|
1823
|
-
"answer_text"?: string;
|
|
1824
|
-
"score"?: number;
|
|
1867
|
+
"homework_id"?: number | null;
|
|
1868
|
+
"classroom_id"?: number | null;
|
|
1869
|
+
"user_id"?: string | null;
|
|
1870
|
+
"due_at"?: string | null;
|
|
1871
|
+
"status"?: string | null;
|
|
1872
|
+
"answer_text"?: string | null;
|
|
1873
|
+
"score"?: number | null;
|
|
1825
1874
|
}
|
|
1826
1875
|
/** Backend response type: models::AssignmentResponse. */
|
|
1827
1876
|
export interface HomeworkUpdateAssignmentPatchResponseData extends JsonObject {
|
|
1828
1877
|
"id": number;
|
|
1829
1878
|
"homework_id": number;
|
|
1830
|
-
"classroom_id"?: number;
|
|
1831
|
-
"user_id"?: string;
|
|
1832
|
-
"due_at"?: string;
|
|
1879
|
+
"classroom_id"?: number | null;
|
|
1880
|
+
"user_id"?: string | null;
|
|
1881
|
+
"due_at"?: string | null;
|
|
1833
1882
|
"status": string;
|
|
1834
|
-
"answer_text"?: string;
|
|
1835
|
-
"score"?: number;
|
|
1883
|
+
"answer_text"?: string | null;
|
|
1884
|
+
"score"?: number | null;
|
|
1836
1885
|
"created_at": string;
|
|
1837
1886
|
"updated_at": string;
|
|
1838
1887
|
}
|
|
@@ -1840,8 +1889,8 @@ export interface HomeworkUpdateAssignmentPatchResponse extends ApiEnvelope<Homew
|
|
|
1840
1889
|
}
|
|
1841
1890
|
/** Backend query type: PaginationQuery. */
|
|
1842
1891
|
export interface HomeworkIndexQuestionGetQuery extends QueryParams {
|
|
1843
|
-
"
|
|
1844
|
-
"
|
|
1892
|
+
"page_number"?: number | null;
|
|
1893
|
+
"page_size"?: number | null;
|
|
1845
1894
|
}
|
|
1846
1895
|
/** Backend response type: crate::models::PagedResult<models::QuestionResponse>. */
|
|
1847
1896
|
export interface HomeworkIndexQuestionGetResponseItem extends JsonObject {
|
|
@@ -1891,9 +1940,9 @@ export interface HomeworkShowQuestionGetResponse extends ApiEnvelope<HomeworkSho
|
|
|
1891
1940
|
}
|
|
1892
1941
|
/** Backend request type: models::UpdateQuestionRequest. */
|
|
1893
1942
|
export interface HomeworkUpdateQuestionPatchInput extends JsonObject {
|
|
1894
|
-
"homework_id"?: number;
|
|
1895
|
-
"question_text"?: string;
|
|
1896
|
-
"sort_order"?: number;
|
|
1943
|
+
"homework_id"?: number | null;
|
|
1944
|
+
"question_text"?: string | null;
|
|
1945
|
+
"sort_order"?: number | null;
|
|
1897
1946
|
}
|
|
1898
1947
|
/** Backend response type: models::QuestionResponse. */
|
|
1899
1948
|
export interface HomeworkUpdateQuestionPatchResponseData extends JsonObject {
|
|
@@ -1906,12 +1955,12 @@ export interface HomeworkUpdateQuestionPatchResponseData extends JsonObject {
|
|
|
1906
1955
|
export interface HomeworkUpdateQuestionPatchResponse extends ApiEnvelope<HomeworkUpdateQuestionPatchResponseData> {
|
|
1907
1956
|
}
|
|
1908
1957
|
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
1909
|
-
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<
|
|
1958
|
+
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
|
|
1910
1959
|
}
|
|
1911
1960
|
/** Backend query type: PaginationQuery. */
|
|
1912
1961
|
export interface InteractiveIndexCategoryGetQuery extends QueryParams {
|
|
1913
|
-
"
|
|
1914
|
-
"
|
|
1962
|
+
"page_number"?: number | null;
|
|
1963
|
+
"page_size"?: number | null;
|
|
1915
1964
|
}
|
|
1916
1965
|
/** Backend response type: crate::models::PagedResult<models::CategoryResponse>. */
|
|
1917
1966
|
export interface InteractiveIndexCategoryGetResponseItem extends JsonObject {
|
|
@@ -1957,8 +2006,8 @@ export interface InteractiveShowCategoryGetResponse extends ApiEnvelope<Interact
|
|
|
1957
2006
|
}
|
|
1958
2007
|
/** Backend request type: models::UpdateCategoryRequest. */
|
|
1959
2008
|
export interface InteractiveUpdateCategoryPatchInput extends JsonObject {
|
|
1960
|
-
"name"?: string;
|
|
1961
|
-
"sort_order"?: number;
|
|
2009
|
+
"name"?: string | null;
|
|
2010
|
+
"sort_order"?: number | null;
|
|
1962
2011
|
}
|
|
1963
2012
|
/** Backend response type: models::CategoryResponse. */
|
|
1964
2013
|
export interface InteractiveUpdateCategoryPatchResponseData extends JsonObject {
|
|
@@ -1971,16 +2020,16 @@ export interface InteractiveUpdateCategoryPatchResponse extends ApiEnvelope<Inte
|
|
|
1971
2020
|
}
|
|
1972
2021
|
/** Backend query type: PaginationQuery. */
|
|
1973
2022
|
export interface InteractiveIndexClassroomSessionGetQuery extends QueryParams {
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
2023
|
+
"page_number"?: number | null;
|
|
2024
|
+
"page_size"?: number | null;
|
|
1976
2025
|
}
|
|
1977
2026
|
/** Backend response type: crate::models::PagedResult<models::ClassroomSessionResponse>. */
|
|
1978
2027
|
export interface InteractiveIndexClassroomSessionGetResponseItem extends JsonObject {
|
|
1979
2028
|
"id": number;
|
|
1980
2029
|
"classroom_session_id": number;
|
|
1981
2030
|
"interactive_content_id": number;
|
|
1982
|
-
"room_code"?: string;
|
|
1983
|
-
"state"?:
|
|
2031
|
+
"room_code"?: string | null;
|
|
2032
|
+
"state"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
1984
2033
|
"created_at": string;
|
|
1985
2034
|
}
|
|
1986
2035
|
export interface InteractiveIndexClassroomSessionGetResponsePageMeta extends JsonObject {
|
|
@@ -1999,16 +2048,16 @@ export interface InteractiveIndexClassroomSessionGetResponse extends ApiEnvelope
|
|
|
1999
2048
|
export interface InteractiveStoreClassroomSessionPostInput extends JsonObject {
|
|
2000
2049
|
"classroom_session_id": number;
|
|
2001
2050
|
"interactive_content_id": number;
|
|
2002
|
-
"room_code"?: string;
|
|
2003
|
-
"state"?:
|
|
2051
|
+
"room_code"?: string | null;
|
|
2052
|
+
"state"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2004
2053
|
}
|
|
2005
2054
|
/** Backend response type: models::ClassroomSessionResponse. */
|
|
2006
2055
|
export interface InteractiveStoreClassroomSessionPostResponseData extends JsonObject {
|
|
2007
2056
|
"id": number;
|
|
2008
2057
|
"classroom_session_id": number;
|
|
2009
2058
|
"interactive_content_id": number;
|
|
2010
|
-
"room_code"?: string;
|
|
2011
|
-
"state"?:
|
|
2059
|
+
"room_code"?: string | null;
|
|
2060
|
+
"state"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2012
2061
|
"created_at": string;
|
|
2013
2062
|
}
|
|
2014
2063
|
export interface InteractiveStoreClassroomSessionPostResponse extends ApiEnvelope<InteractiveStoreClassroomSessionPostResponseData> {
|
|
@@ -2018,42 +2067,42 @@ export interface InteractiveShowClassroomSessionGetResponseData extends JsonObje
|
|
|
2018
2067
|
"id": number;
|
|
2019
2068
|
"classroom_session_id": number;
|
|
2020
2069
|
"interactive_content_id": number;
|
|
2021
|
-
"room_code"?: string;
|
|
2022
|
-
"state"?:
|
|
2070
|
+
"room_code"?: string | null;
|
|
2071
|
+
"state"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2023
2072
|
"created_at": string;
|
|
2024
2073
|
}
|
|
2025
2074
|
export interface InteractiveShowClassroomSessionGetResponse extends ApiEnvelope<InteractiveShowClassroomSessionGetResponseData> {
|
|
2026
2075
|
}
|
|
2027
2076
|
/** Backend request type: models::UpdateClassroomSessionRequest. */
|
|
2028
2077
|
export interface InteractiveUpdateClassroomSessionPatchInput extends JsonObject {
|
|
2029
|
-
"classroom_session_id"?: number;
|
|
2030
|
-
"interactive_content_id"?: number;
|
|
2031
|
-
"room_code"?: string;
|
|
2032
|
-
"state"?:
|
|
2078
|
+
"classroom_session_id"?: number | null;
|
|
2079
|
+
"interactive_content_id"?: number | null;
|
|
2080
|
+
"room_code"?: string | null;
|
|
2081
|
+
"state"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2033
2082
|
}
|
|
2034
2083
|
/** Backend response type: models::ClassroomSessionResponse. */
|
|
2035
2084
|
export interface InteractiveUpdateClassroomSessionPatchResponseData extends JsonObject {
|
|
2036
2085
|
"id": number;
|
|
2037
2086
|
"classroom_session_id": number;
|
|
2038
2087
|
"interactive_content_id": number;
|
|
2039
|
-
"room_code"?: string;
|
|
2040
|
-
"state"?:
|
|
2088
|
+
"room_code"?: string | null;
|
|
2089
|
+
"state"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2041
2090
|
"created_at": string;
|
|
2042
2091
|
}
|
|
2043
2092
|
export interface InteractiveUpdateClassroomSessionPatchResponse extends ApiEnvelope<InteractiveUpdateClassroomSessionPatchResponseData> {
|
|
2044
2093
|
}
|
|
2045
2094
|
/** Backend query type: PaginationQuery. */
|
|
2046
2095
|
export interface InteractiveIndexContentGetQuery extends QueryParams {
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2096
|
+
"page_number"?: number | null;
|
|
2097
|
+
"page_size"?: number | null;
|
|
2049
2098
|
}
|
|
2050
2099
|
/** Backend response type: crate::models::PagedResult<models::ContentResponse>. */
|
|
2051
2100
|
export interface InteractiveIndexContentGetResponseItem extends JsonObject {
|
|
2052
2101
|
"id": number;
|
|
2053
|
-
"category_id"?: number;
|
|
2102
|
+
"category_id"?: number | null;
|
|
2054
2103
|
"name": string;
|
|
2055
2104
|
"content_type": string;
|
|
2056
|
-
"payload"?:
|
|
2105
|
+
"payload"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2057
2106
|
"reward_points": number;
|
|
2058
2107
|
"status": string;
|
|
2059
2108
|
"created_at": string;
|
|
@@ -2073,20 +2122,20 @@ export interface InteractiveIndexContentGetResponse extends ApiEnvelope<Interact
|
|
|
2073
2122
|
}
|
|
2074
2123
|
/** Backend request type: models::CreateContentRequest. */
|
|
2075
2124
|
export interface InteractiveStoreContentPostInput extends JsonObject {
|
|
2076
|
-
"category_id"?: number;
|
|
2125
|
+
"category_id"?: number | null;
|
|
2077
2126
|
"name": string;
|
|
2078
2127
|
"content_type": string;
|
|
2079
|
-
"payload"?:
|
|
2128
|
+
"payload"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2080
2129
|
"reward_points": number;
|
|
2081
2130
|
"status": string;
|
|
2082
2131
|
}
|
|
2083
2132
|
/** Backend response type: models::ContentResponse. */
|
|
2084
2133
|
export interface InteractiveStoreContentPostResponseData extends JsonObject {
|
|
2085
2134
|
"id": number;
|
|
2086
|
-
"category_id"?: number;
|
|
2135
|
+
"category_id"?: number | null;
|
|
2087
2136
|
"name": string;
|
|
2088
2137
|
"content_type": string;
|
|
2089
|
-
"payload"?:
|
|
2138
|
+
"payload"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2090
2139
|
"reward_points": number;
|
|
2091
2140
|
"status": string;
|
|
2092
2141
|
"created_at": string;
|
|
@@ -2097,10 +2146,10 @@ export interface InteractiveStoreContentPostResponse extends ApiEnvelope<Interac
|
|
|
2097
2146
|
/** Backend response type: models::ContentResponse. */
|
|
2098
2147
|
export interface InteractiveShowContentGetResponseData extends JsonObject {
|
|
2099
2148
|
"id": number;
|
|
2100
|
-
"category_id"?: number;
|
|
2149
|
+
"category_id"?: number | null;
|
|
2101
2150
|
"name": string;
|
|
2102
2151
|
"content_type": string;
|
|
2103
|
-
"payload"?:
|
|
2152
|
+
"payload"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2104
2153
|
"reward_points": number;
|
|
2105
2154
|
"status": string;
|
|
2106
2155
|
"created_at": string;
|
|
@@ -2110,20 +2159,20 @@ export interface InteractiveShowContentGetResponse extends ApiEnvelope<Interacti
|
|
|
2110
2159
|
}
|
|
2111
2160
|
/** Backend request type: models::UpdateContentRequest. */
|
|
2112
2161
|
export interface InteractiveUpdateContentPatchInput extends JsonObject {
|
|
2113
|
-
"category_id"?: number;
|
|
2114
|
-
"name"?: string;
|
|
2115
|
-
"content_type"?: string;
|
|
2116
|
-
"payload"?:
|
|
2117
|
-
"reward_points"?: number;
|
|
2118
|
-
"status"?: string;
|
|
2162
|
+
"category_id"?: number | null;
|
|
2163
|
+
"name"?: string | null;
|
|
2164
|
+
"content_type"?: string | null;
|
|
2165
|
+
"payload"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2166
|
+
"reward_points"?: number | null;
|
|
2167
|
+
"status"?: string | null;
|
|
2119
2168
|
}
|
|
2120
2169
|
/** Backend response type: models::ContentResponse. */
|
|
2121
2170
|
export interface InteractiveUpdateContentPatchResponseData extends JsonObject {
|
|
2122
2171
|
"id": number;
|
|
2123
|
-
"category_id"?: number;
|
|
2172
|
+
"category_id"?: number | null;
|
|
2124
2173
|
"name": string;
|
|
2125
2174
|
"content_type": string;
|
|
2126
|
-
"payload"?:
|
|
2175
|
+
"payload"?: BackendJson<"sea_orm::prelude::Json"> | null;
|
|
2127
2176
|
"reward_points": number;
|
|
2128
2177
|
"status": string;
|
|
2129
2178
|
"created_at": string;
|
|
@@ -2133,15 +2182,15 @@ export interface InteractiveUpdateContentPatchResponse extends ApiEnvelope<Inter
|
|
|
2133
2182
|
}
|
|
2134
2183
|
/** Backend query type: PaginationQuery. */
|
|
2135
2184
|
export interface OpsIndexInvitationGetQuery extends QueryParams {
|
|
2136
|
-
"
|
|
2137
|
-
"
|
|
2185
|
+
"page_number"?: number | null;
|
|
2186
|
+
"page_size"?: number | null;
|
|
2138
2187
|
}
|
|
2139
2188
|
/** Backend response type: crate::models::PagedResult<models::InvitationResponse>. */
|
|
2140
2189
|
export interface OpsIndexInvitationGetResponseItem extends JsonObject {
|
|
2141
2190
|
"id": number;
|
|
2142
2191
|
"inviter_user_id": string;
|
|
2143
|
-
"invitee_user_id"?: string;
|
|
2144
|
-
"invitee_email"?: string;
|
|
2192
|
+
"invitee_user_id"?: string | null;
|
|
2193
|
+
"invitee_email"?: string | null;
|
|
2145
2194
|
"reward_status": string;
|
|
2146
2195
|
"created_at": string;
|
|
2147
2196
|
}
|
|
@@ -2160,16 +2209,16 @@ export interface OpsIndexInvitationGetResponse extends ApiEnvelope<OpsIndexInvit
|
|
|
2160
2209
|
/** Backend request type: models::CreateInvitationRequest. */
|
|
2161
2210
|
export interface OpsStoreInvitationPostInput extends JsonObject {
|
|
2162
2211
|
"inviter_user_id": string;
|
|
2163
|
-
"invitee_user_id"?: string;
|
|
2164
|
-
"invitee_email"?: string;
|
|
2212
|
+
"invitee_user_id"?: string | null;
|
|
2213
|
+
"invitee_email"?: string | null;
|
|
2165
2214
|
"reward_status": string;
|
|
2166
2215
|
}
|
|
2167
2216
|
/** Backend response type: models::InvitationResponse. */
|
|
2168
2217
|
export interface OpsStoreInvitationPostResponseData extends JsonObject {
|
|
2169
2218
|
"id": number;
|
|
2170
2219
|
"inviter_user_id": string;
|
|
2171
|
-
"invitee_user_id"?: string;
|
|
2172
|
-
"invitee_email"?: string;
|
|
2220
|
+
"invitee_user_id"?: string | null;
|
|
2221
|
+
"invitee_email"?: string | null;
|
|
2173
2222
|
"reward_status": string;
|
|
2174
2223
|
"created_at": string;
|
|
2175
2224
|
}
|
|
@@ -2179,8 +2228,8 @@ export interface OpsStoreInvitationPostResponse extends ApiEnvelope<OpsStoreInvi
|
|
|
2179
2228
|
export interface OpsShowInvitationGetResponseData extends JsonObject {
|
|
2180
2229
|
"id": number;
|
|
2181
2230
|
"inviter_user_id": string;
|
|
2182
|
-
"invitee_user_id"?: string;
|
|
2183
|
-
"invitee_email"?: string;
|
|
2231
|
+
"invitee_user_id"?: string | null;
|
|
2232
|
+
"invitee_email"?: string | null;
|
|
2184
2233
|
"reward_status": string;
|
|
2185
2234
|
"created_at": string;
|
|
2186
2235
|
}
|
|
@@ -2188,22 +2237,34 @@ export interface OpsShowInvitationGetResponse extends ApiEnvelope<OpsShowInvitat
|
|
|
2188
2237
|
}
|
|
2189
2238
|
/** Backend request type: models::UpdateInvitationRequest. */
|
|
2190
2239
|
export interface OpsUpdateInvitationPatchInput extends JsonObject {
|
|
2191
|
-
"inviter_user_id"?: string;
|
|
2192
|
-
"invitee_user_id"?: string;
|
|
2193
|
-
"invitee_email"?: string;
|
|
2194
|
-
"reward_status"?: string;
|
|
2240
|
+
"inviter_user_id"?: string | null;
|
|
2241
|
+
"invitee_user_id"?: string | null;
|
|
2242
|
+
"invitee_email"?: string | null;
|
|
2243
|
+
"reward_status"?: string | null;
|
|
2195
2244
|
}
|
|
2196
2245
|
/** Backend response type: models::InvitationResponse. */
|
|
2197
2246
|
export interface OpsUpdateInvitationPatchResponseData extends JsonObject {
|
|
2198
2247
|
"id": number;
|
|
2199
2248
|
"inviter_user_id": string;
|
|
2200
|
-
"invitee_user_id"?: string;
|
|
2201
|
-
"invitee_email"?: string;
|
|
2249
|
+
"invitee_user_id"?: string | null;
|
|
2250
|
+
"invitee_email"?: string | null;
|
|
2202
2251
|
"reward_status": string;
|
|
2203
2252
|
"created_at": string;
|
|
2204
2253
|
}
|
|
2205
2254
|
export interface OpsUpdateInvitationPatchResponse extends ApiEnvelope<OpsUpdateInvitationPatchResponseData> {
|
|
2206
2255
|
}
|
|
2256
|
+
/** Backend request type: multipart/form-data. */
|
|
2257
|
+
export type MediaUploadImagePostInput = FormData;
|
|
2258
|
+
/** Backend response type: UploadResponse. */
|
|
2259
|
+
export interface MediaUploadImagePostResponseData extends JsonObject {
|
|
2260
|
+
"url": string;
|
|
2261
|
+
"key": string;
|
|
2262
|
+
}
|
|
2263
|
+
export interface MediaUploadImagePostResponse extends ApiEnvelope<MediaUploadImagePostResponseData> {
|
|
2264
|
+
}
|
|
2265
|
+
/** Backend response type: raw-response. */
|
|
2266
|
+
export interface MediaDownloadImageGetResponse extends ApiEnvelope<JsonValue> {
|
|
2267
|
+
}
|
|
2207
2268
|
/** Backend response type: Vec<models::ClassroomReport>. */
|
|
2208
2269
|
export interface ReportClassroomsGetResponseItem extends JsonObject {
|
|
2209
2270
|
"classroom_id": number;
|
|
@@ -2241,15 +2302,15 @@ export interface ServiceCheckLicenceGetResponse extends ApiEnvelope<ServiceCheck
|
|
|
2241
2302
|
}
|
|
2242
2303
|
/** Backend query type: PaginationQuery. */
|
|
2243
2304
|
export interface OpsIndexSupportInteractionGetQuery extends QueryParams {
|
|
2244
|
-
"
|
|
2245
|
-
"
|
|
2305
|
+
"page_number"?: number | null;
|
|
2306
|
+
"page_size"?: number | null;
|
|
2246
2307
|
}
|
|
2247
2308
|
/** Backend response type: crate::models::PagedResult<models::SupportInteractionResponse>. */
|
|
2248
2309
|
export interface OpsIndexSupportInteractionGetResponseItem extends JsonObject {
|
|
2249
2310
|
"id": number;
|
|
2250
2311
|
"user_id": string;
|
|
2251
2312
|
"subject": string;
|
|
2252
|
-
"body"?: string;
|
|
2313
|
+
"body"?: string | null;
|
|
2253
2314
|
"status": string;
|
|
2254
2315
|
"created_at": string;
|
|
2255
2316
|
"updated_at": string;
|
|
@@ -2270,7 +2331,7 @@ export interface OpsIndexSupportInteractionGetResponse extends ApiEnvelope<OpsIn
|
|
|
2270
2331
|
export interface OpsStoreSupportInteractionPostInput extends JsonObject {
|
|
2271
2332
|
"user_id": string;
|
|
2272
2333
|
"subject": string;
|
|
2273
|
-
"body"?: string;
|
|
2334
|
+
"body"?: string | null;
|
|
2274
2335
|
"status": string;
|
|
2275
2336
|
}
|
|
2276
2337
|
/** Backend response type: models::SupportInteractionResponse. */
|
|
@@ -2278,7 +2339,7 @@ export interface OpsStoreSupportInteractionPostResponseData extends JsonObject {
|
|
|
2278
2339
|
"id": number;
|
|
2279
2340
|
"user_id": string;
|
|
2280
2341
|
"subject": string;
|
|
2281
|
-
"body"?: string;
|
|
2342
|
+
"body"?: string | null;
|
|
2282
2343
|
"status": string;
|
|
2283
2344
|
"created_at": string;
|
|
2284
2345
|
"updated_at": string;
|
|
@@ -2290,7 +2351,7 @@ export interface OpsShowSupportInteractionGetResponseData extends JsonObject {
|
|
|
2290
2351
|
"id": number;
|
|
2291
2352
|
"user_id": string;
|
|
2292
2353
|
"subject": string;
|
|
2293
|
-
"body"?: string;
|
|
2354
|
+
"body"?: string | null;
|
|
2294
2355
|
"status": string;
|
|
2295
2356
|
"created_at": string;
|
|
2296
2357
|
"updated_at": string;
|
|
@@ -2299,17 +2360,17 @@ export interface OpsShowSupportInteractionGetResponse extends ApiEnvelope<OpsSho
|
|
|
2299
2360
|
}
|
|
2300
2361
|
/** Backend request type: models::UpdateSupportInteractionRequest. */
|
|
2301
2362
|
export interface OpsUpdateSupportInteractionPatchInput extends JsonObject {
|
|
2302
|
-
"user_id"?: string;
|
|
2303
|
-
"subject"?: string;
|
|
2304
|
-
"body"?: string;
|
|
2305
|
-
"status"?: string;
|
|
2363
|
+
"user_id"?: string | null;
|
|
2364
|
+
"subject"?: string | null;
|
|
2365
|
+
"body"?: string | null;
|
|
2366
|
+
"status"?: string | null;
|
|
2306
2367
|
}
|
|
2307
2368
|
/** Backend response type: models::SupportInteractionResponse. */
|
|
2308
2369
|
export interface OpsUpdateSupportInteractionPatchResponseData extends JsonObject {
|
|
2309
2370
|
"id": number;
|
|
2310
2371
|
"user_id": string;
|
|
2311
2372
|
"subject": string;
|
|
2312
|
-
"body"?: string;
|
|
2373
|
+
"body"?: string | null;
|
|
2313
2374
|
"status": string;
|
|
2314
2375
|
"created_at": string;
|
|
2315
2376
|
"updated_at": string;
|
|
@@ -2318,17 +2379,17 @@ export interface OpsUpdateSupportInteractionPatchResponse extends ApiEnvelope<Op
|
|
|
2318
2379
|
}
|
|
2319
2380
|
/** Backend query type: PaginationQuery. */
|
|
2320
2381
|
export interface OpsIndexWorktimeGetQuery extends QueryParams {
|
|
2321
|
-
"
|
|
2322
|
-
"
|
|
2382
|
+
"page_number"?: number | null;
|
|
2383
|
+
"page_size"?: number | null;
|
|
2323
2384
|
}
|
|
2324
2385
|
/** Backend response type: crate::models::PagedResult<models::WorktimeResponse>. */
|
|
2325
2386
|
export interface OpsIndexWorktimeGetResponseItem extends JsonObject {
|
|
2326
2387
|
"id": number;
|
|
2327
2388
|
"teacher_user_id": string;
|
|
2328
2389
|
"starts_at": string;
|
|
2329
|
-
"ends_at"?: string;
|
|
2390
|
+
"ends_at"?: string | null;
|
|
2330
2391
|
"status": string;
|
|
2331
|
-
"notes"?: string;
|
|
2392
|
+
"notes"?: string | null;
|
|
2332
2393
|
"created_at": string;
|
|
2333
2394
|
}
|
|
2334
2395
|
export interface OpsIndexWorktimeGetResponsePageMeta extends JsonObject {
|
|
@@ -2347,18 +2408,18 @@ export interface OpsIndexWorktimeGetResponse extends ApiEnvelope<OpsIndexWorktim
|
|
|
2347
2408
|
export interface OpsStoreWorktimePostInput extends JsonObject {
|
|
2348
2409
|
"teacher_user_id": string;
|
|
2349
2410
|
"starts_at": string;
|
|
2350
|
-
"ends_at"?: string;
|
|
2411
|
+
"ends_at"?: string | null;
|
|
2351
2412
|
"status": string;
|
|
2352
|
-
"notes"?: string;
|
|
2413
|
+
"notes"?: string | null;
|
|
2353
2414
|
}
|
|
2354
2415
|
/** Backend response type: models::WorktimeResponse. */
|
|
2355
2416
|
export interface OpsStoreWorktimePostResponseData extends JsonObject {
|
|
2356
2417
|
"id": number;
|
|
2357
2418
|
"teacher_user_id": string;
|
|
2358
2419
|
"starts_at": string;
|
|
2359
|
-
"ends_at"?: string;
|
|
2420
|
+
"ends_at"?: string | null;
|
|
2360
2421
|
"status": string;
|
|
2361
|
-
"notes"?: string;
|
|
2422
|
+
"notes"?: string | null;
|
|
2362
2423
|
"created_at": string;
|
|
2363
2424
|
}
|
|
2364
2425
|
export interface OpsStoreWorktimePostResponse extends ApiEnvelope<OpsStoreWorktimePostResponseData> {
|
|
@@ -2368,34 +2429,34 @@ export interface OpsShowWorktimeGetResponseData extends JsonObject {
|
|
|
2368
2429
|
"id": number;
|
|
2369
2430
|
"teacher_user_id": string;
|
|
2370
2431
|
"starts_at": string;
|
|
2371
|
-
"ends_at"?: string;
|
|
2432
|
+
"ends_at"?: string | null;
|
|
2372
2433
|
"status": string;
|
|
2373
|
-
"notes"?: string;
|
|
2434
|
+
"notes"?: string | null;
|
|
2374
2435
|
"created_at": string;
|
|
2375
2436
|
}
|
|
2376
2437
|
export interface OpsShowWorktimeGetResponse extends ApiEnvelope<OpsShowWorktimeGetResponseData> {
|
|
2377
2438
|
}
|
|
2378
2439
|
/** Backend request type: models::UpdateWorktimeRequest. */
|
|
2379
2440
|
export interface OpsUpdateWorktimePatchInput extends JsonObject {
|
|
2380
|
-
"teacher_user_id"?: string;
|
|
2381
|
-
"starts_at"?: string;
|
|
2382
|
-
"ends_at"?: string;
|
|
2383
|
-
"status"?: string;
|
|
2384
|
-
"notes"?: string;
|
|
2441
|
+
"teacher_user_id"?: string | null;
|
|
2442
|
+
"starts_at"?: string | null;
|
|
2443
|
+
"ends_at"?: string | null;
|
|
2444
|
+
"status"?: string | null;
|
|
2445
|
+
"notes"?: string | null;
|
|
2385
2446
|
}
|
|
2386
2447
|
/** Backend response type: models::WorktimeResponse. */
|
|
2387
2448
|
export interface OpsUpdateWorktimePatchResponseData extends JsonObject {
|
|
2388
2449
|
"id": number;
|
|
2389
2450
|
"teacher_user_id": string;
|
|
2390
2451
|
"starts_at": string;
|
|
2391
|
-
"ends_at"?: string;
|
|
2452
|
+
"ends_at"?: string | null;
|
|
2392
2453
|
"status": string;
|
|
2393
|
-
"notes"?: string;
|
|
2454
|
+
"notes"?: string | null;
|
|
2394
2455
|
"created_at": string;
|
|
2395
2456
|
}
|
|
2396
2457
|
export interface OpsUpdateWorktimePatchResponse extends ApiEnvelope<OpsUpdateWorktimePatchResponseData> {
|
|
2397
2458
|
}
|
|
2398
|
-
/** Backend response type:
|
|
2459
|
+
/** Backend response type: api. */
|
|
2399
2460
|
export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
|
|
2400
2461
|
}
|
|
2401
2462
|
//# sourceMappingURL=operations.types.d.ts.map
|