@faiber/faiber-lms 0.24.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/branding.types.d.ts +24 -0
- package/dist/branding.types.d.ts.map +1 -0
- package/dist/branding.types.js +2 -0
- package/dist/branding.types.js.map +1 -0
- package/dist/index.d.ts +72 -65
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -17
- package/dist/index.js.map +1 -1
- package/dist/interactive.d.ts +14 -14
- package/dist/interactive.d.ts.map +1 -1
- package/dist/media.d.ts +1 -1
- package/dist/notification-settings.d.ts +4 -4
- package/dist/operations.d.ts +702 -748
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +533 -589
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +1317 -1548
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +88 -364
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -1
- package/dist/wire.types.d.ts +203 -0
- package/dist/wire.types.d.ts.map +1 -0
- package/dist/wire.types.js +2 -0
- package/dist/wire.types.js.map +1 -0
- package/package.json +4 -3
- package/provenance.json +32 -0
package/dist/operations.js
CHANGED
|
@@ -2,1655 +2,1578 @@ import { ServiceApi, urlEncoded } from "@faiber/sdk-core";
|
|
|
2
2
|
import { AxiosHeaders } from "axios";
|
|
3
3
|
export class LmsOperations extends ServiceApi {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Read the LMS process version in a success envelope. This endpoint does not probe database readiness.
|
|
6
|
+
* Calls `GET /` through the shared IDP-aware Faiber client.
|
|
7
|
+
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
8
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
9
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no handler permission check; deployment gateway policy is separate.
|
|
10
|
+
*/
|
|
11
|
+
routerRootStatusGet(options) {
|
|
12
|
+
return this.client.request({ ...options, method: "GET", url: `/` });
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Read the raw OpenAPI document. The mounted router remains authoritative because this document omits several supported operations.
|
|
6
16
|
* Calls `GET /api/openapi.json` through the shared IDP-aware Faiber client.
|
|
7
17
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
8
|
-
* @returns The complete Axios response, including the typed
|
|
9
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
18
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
19
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no handler permission check; deployment gateway policy is separate.
|
|
10
20
|
*/
|
|
11
21
|
routerOpenapiJsonGet(options) {
|
|
12
22
|
return this.client.request({ ...options, method: "GET", url: `/api/openapi.json` });
|
|
13
23
|
}
|
|
14
24
|
/**
|
|
15
|
-
*
|
|
25
|
+
* Submit exam definition records through the mounted LMS academy::routes handler.
|
|
16
26
|
* Calls `POST /api/v1/academy/attempts/{id}/submit` through the shared IDP-aware Faiber client.
|
|
17
27
|
* @param id Backend path identifier `id`.
|
|
18
28
|
* @param data Typed JSON request body.
|
|
19
29
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
20
|
-
* @returns The complete Axios response, including the typed
|
|
30
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
21
31
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
22
32
|
*/
|
|
23
33
|
academySubmitExamPost(id, data, options) {
|
|
24
34
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/academy/attempts/${encodeURIComponent(id)}/submit`, data: data });
|
|
25
35
|
}
|
|
26
36
|
/**
|
|
27
|
-
*
|
|
37
|
+
* Categories records through the mounted LMS academy::routes handler.
|
|
28
38
|
* Calls `GET /api/v1/academy/categories` through the shared IDP-aware Faiber client.
|
|
29
39
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
30
|
-
* @returns The complete Axios response, including the typed
|
|
40
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
31
41
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
32
42
|
*/
|
|
33
43
|
academyCategoriesGet(options) {
|
|
34
44
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/academy/categories` });
|
|
35
45
|
}
|
|
36
46
|
/**
|
|
37
|
-
*
|
|
47
|
+
* Courses records through the mounted LMS academy::routes handler.
|
|
38
48
|
* Calls `GET /api/v1/academy/courses` through the shared IDP-aware Faiber client.
|
|
39
49
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
40
50
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
41
|
-
* @returns The complete Axios response, including the typed
|
|
51
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
42
52
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
43
53
|
*/
|
|
44
54
|
academyCoursesGet(params, options) {
|
|
45
55
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/academy/courses`, params });
|
|
46
56
|
}
|
|
47
57
|
/**
|
|
48
|
-
*
|
|
58
|
+
* Course records through the mounted LMS academy::routes handler.
|
|
49
59
|
* Calls `GET /api/v1/academy/courses/{id}` through the shared IDP-aware Faiber client.
|
|
50
60
|
* @param id Backend path identifier `id`.
|
|
51
61
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
52
|
-
* @returns The complete Axios response, including the typed
|
|
62
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
53
63
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
54
64
|
*/
|
|
55
65
|
academyCourseGet(id, options) {
|
|
56
66
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/academy/courses/${encodeURIComponent(id)}` });
|
|
57
67
|
}
|
|
58
68
|
/**
|
|
59
|
-
*
|
|
69
|
+
* Enroll records through the mounted LMS academy::routes handler.
|
|
60
70
|
* Calls `POST /api/v1/academy/courses/{id}/enroll` through the shared IDP-aware Faiber client.
|
|
61
71
|
* @param id Backend path identifier `id`.
|
|
62
72
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
63
|
-
* @returns The complete Axios response, including the typed
|
|
73
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
64
74
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
65
75
|
*/
|
|
66
76
|
academyEnrollPost(id, options) {
|
|
67
77
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/academy/courses/${encodeURIComponent(id)}/enroll` });
|
|
68
78
|
}
|
|
69
79
|
/**
|
|
70
|
-
*
|
|
80
|
+
* My enrollments records through the mounted LMS academy::routes handler.
|
|
71
81
|
* Calls `GET /api/v1/academy/enrollments` through the shared IDP-aware Faiber client.
|
|
72
82
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
73
|
-
* @returns The complete Axios response, including the typed
|
|
83
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
74
84
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
75
85
|
*/
|
|
76
86
|
academyMyEnrollmentsGet(options) {
|
|
77
87
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/academy/enrollments` });
|
|
78
88
|
}
|
|
79
89
|
/**
|
|
80
|
-
*
|
|
90
|
+
* Start exam definition records through the mounted LMS academy::routes handler.
|
|
81
91
|
* Calls `POST /api/v1/academy/enrollments/{id}/exams/{exam_id}/attempts` through the shared IDP-aware Faiber client.
|
|
82
92
|
* @param id Backend path identifier `id`.
|
|
83
93
|
* @param examId Backend path identifier `exam_id`.
|
|
84
94
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
85
|
-
* @returns The complete Axios response, including the typed
|
|
95
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
86
96
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
87
97
|
*/
|
|
88
98
|
academyStartExamPost(id, examId, options) {
|
|
89
99
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/academy/enrollments/${encodeURIComponent(id)}/exams/${encodeURIComponent(examId)}/attempts` });
|
|
90
100
|
}
|
|
91
101
|
/**
|
|
92
|
-
*
|
|
102
|
+
* Complete session records through the mounted LMS academy::routes handler.
|
|
93
103
|
* Calls `POST /api/v1/academy/enrollments/{id}/sessions/{session_id}/complete` through the shared IDP-aware Faiber client.
|
|
94
104
|
* @param id Backend path identifier `id`.
|
|
95
105
|
* @param sessionId Backend path identifier `session_id`.
|
|
96
106
|
* @param data Typed JSON request body.
|
|
97
107
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
98
|
-
* @returns The complete Axios response, including the typed
|
|
108
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
99
109
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
100
110
|
*/
|
|
101
111
|
academyCompleteSessionPost(id, sessionId, data, options) {
|
|
102
112
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/academy/enrollments/${encodeURIComponent(id)}/sessions/${encodeURIComponent(sessionId)}/complete`, data: data });
|
|
103
113
|
}
|
|
104
114
|
/**
|
|
105
|
-
*
|
|
106
|
-
* Calls `GET /api/v1/ai-summaries/jobs` through the shared IDP-aware Faiber client.
|
|
107
|
-
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
108
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
109
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
110
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:ai_summary:manage.
|
|
111
|
-
*/
|
|
112
|
-
aiSummaryJobsGet(params, options) {
|
|
113
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/jobs`, params });
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Performs the latest operation for the ai summary capability.
|
|
117
|
-
* Calls `GET /api/v1/ai-summaries/latest` through the shared IDP-aware Faiber client.
|
|
118
|
-
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
119
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
120
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
121
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:ai_summary:read_own.
|
|
122
|
-
*/
|
|
123
|
-
aiSummaryLatestGet(params, options) {
|
|
124
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/latest`, params });
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Performs the models operation for the ai summary capability.
|
|
128
|
-
* Calls `GET /api/v1/ai-summaries/models` through the shared IDP-aware Faiber client.
|
|
129
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
130
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
131
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
132
|
-
*/
|
|
133
|
-
aiSummaryModelsGet(options) {
|
|
134
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/models` });
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Performs the refresh many operation for the ai summary capability.
|
|
138
|
-
* Calls `POST /api/v1/ai-summaries/refresh` through the shared IDP-aware Faiber client.
|
|
139
|
-
* @param data Typed JSON request body.
|
|
140
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
141
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
142
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:ai_summary:manage.
|
|
143
|
-
*/
|
|
144
|
-
aiSummaryRefreshManyPost(data, options) {
|
|
145
|
-
return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/refresh`, data: data });
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Performs the settings operation for the ai summary capability.
|
|
149
|
-
* Calls `GET /api/v1/ai-summaries/settings` through the shared IDP-aware Faiber client.
|
|
150
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
151
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
152
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
153
|
-
*/
|
|
154
|
-
aiSummarySettingsGet(options) {
|
|
155
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/settings` });
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Performs the update settings operation for the ai summary capability.
|
|
159
|
-
* Calls `PUT /api/v1/ai-summaries/settings` through the shared IDP-aware Faiber client.
|
|
160
|
-
* @param data Typed JSON request body.
|
|
161
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
162
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
163
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
164
|
-
*/
|
|
165
|
-
aiSummaryUpdateSettingsPut(data, options) {
|
|
166
|
-
return this.client.request({ ...options, method: "PUT", url: `/api/v1/ai-summaries/settings`, data: data });
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Performs the summaries operation for the ai summary capability.
|
|
170
|
-
* Calls `GET /api/v1/ai-summaries/summaries` through the shared IDP-aware Faiber client.
|
|
171
|
-
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
172
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
173
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
174
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:ai_summary:manage.
|
|
175
|
-
*/
|
|
176
|
-
aiSummarySummariesGet(params, options) {
|
|
177
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/ai-summaries/summaries`, params });
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Performs the refresh operation for the ai summary capability.
|
|
181
|
-
* Calls `POST /api/v1/ai-summaries/users/{user_id}/{role}/refresh` through the shared IDP-aware Faiber client.
|
|
182
|
-
* @param userId Backend path identifier `user_id`.
|
|
183
|
-
* @param role Backend path identifier `role`.
|
|
184
|
-
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
185
|
-
* @returns The complete Axios response, including the typed service envelope, status, and headers.
|
|
186
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:ai_summary:manage.
|
|
187
|
-
*/
|
|
188
|
-
aiSummaryRefreshPost(userId, role, options) {
|
|
189
|
-
return this.client.request({ ...options, method: "POST", url: `/api/v1/ai-summaries/users/${encodeURIComponent(userId)}/${encodeURIComponent(role)}/refresh` });
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Performs the get self operation for the session capability.
|
|
115
|
+
* Get self records through the mounted LMS session::routes handler.
|
|
193
116
|
* Calls `GET /api/v1/auth/self` through the shared IDP-aware Faiber client.
|
|
194
117
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
195
|
-
* @returns The complete Axios response, including the typed
|
|
118
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
196
119
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
197
120
|
*/
|
|
198
121
|
sessionGetSelfGet(options) {
|
|
199
122
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/auth/self` });
|
|
200
123
|
}
|
|
201
124
|
/**
|
|
202
|
-
*
|
|
125
|
+
* List certificate records through the mounted LMS certificate::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
203
126
|
* Calls `GET /api/v1/certificates` through the shared IDP-aware Faiber client.
|
|
204
127
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
205
128
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
206
|
-
* @returns The complete Axios response, including the typed
|
|
207
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:read.
|
|
129
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
130
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:read; trusted gateway identity plus any handler-local checks apply.
|
|
208
131
|
*/
|
|
209
132
|
certificateIndexCertificateGet(params, options) {
|
|
210
133
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/certificates`, params });
|
|
211
134
|
}
|
|
212
135
|
/**
|
|
213
|
-
*
|
|
136
|
+
* Create certificate records through the mounted LMS certificate::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
214
137
|
* Calls `POST /api/v1/certificates` through the shared IDP-aware Faiber client.
|
|
215
138
|
* @param data Typed JSON request body.
|
|
216
139
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
217
|
-
* @returns The complete Axios response, including the typed
|
|
218
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:create.
|
|
140
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
141
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:create; trusted gateway identity plus any handler-local checks apply.
|
|
219
142
|
*/
|
|
220
143
|
certificateStoreCertificatePost(data, options) {
|
|
221
144
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/certificates`, data: data });
|
|
222
145
|
}
|
|
223
146
|
/**
|
|
224
|
-
*
|
|
147
|
+
* Read certificate records through the mounted LMS certificate::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
225
148
|
* Calls `GET /api/v1/certificates/{id}` through the shared IDP-aware Faiber client.
|
|
226
149
|
* @param id Backend path identifier `id`.
|
|
227
150
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
228
|
-
* @returns The complete Axios response, including the typed
|
|
229
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:read.
|
|
151
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
152
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:read; trusted gateway identity plus any handler-local checks apply.
|
|
230
153
|
*/
|
|
231
154
|
certificateShowCertificateGet(id, options) {
|
|
232
155
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/certificates/${encodeURIComponent(id)}` });
|
|
233
156
|
}
|
|
234
157
|
/**
|
|
235
|
-
*
|
|
158
|
+
* Patch certificate records through the mounted LMS certificate::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
236
159
|
* Calls `PATCH /api/v1/certificates/{id}` through the shared IDP-aware Faiber client.
|
|
237
160
|
* @param id Backend path identifier `id`.
|
|
238
161
|
* @param data Typed JSON request body.
|
|
239
162
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
240
|
-
* @returns The complete Axios response, including the typed
|
|
241
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:update.
|
|
163
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
164
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:update; trusted gateway identity plus any handler-local checks apply.
|
|
242
165
|
*/
|
|
243
166
|
certificateUpdateCertificatePatch(id, data, options) {
|
|
244
167
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/certificates/${encodeURIComponent(id)}`, data: data });
|
|
245
168
|
}
|
|
246
169
|
/**
|
|
247
|
-
*
|
|
170
|
+
* List certificate template records through the mounted LMS certificate::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
248
171
|
* Calls `GET /api/v1/certificates/templates` through the shared IDP-aware Faiber client.
|
|
249
172
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
250
173
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
251
|
-
* @returns The complete Axios response, including the typed
|
|
252
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:read.
|
|
174
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
175
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:read; trusted gateway identity plus any handler-local checks apply.
|
|
253
176
|
*/
|
|
254
177
|
certificateIndexTemplateGet(params, options) {
|
|
255
178
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/certificates/templates`, params });
|
|
256
179
|
}
|
|
257
180
|
/**
|
|
258
|
-
*
|
|
181
|
+
* Create certificate template records through the mounted LMS certificate::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
259
182
|
* Calls `POST /api/v1/certificates/templates` through the shared IDP-aware Faiber client.
|
|
260
183
|
* @param data Typed JSON request body.
|
|
261
184
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
262
|
-
* @returns The complete Axios response, including the typed
|
|
263
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:create.
|
|
185
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
186
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:create; trusted gateway identity plus any handler-local checks apply.
|
|
264
187
|
*/
|
|
265
188
|
certificateStoreTemplatePost(data, options) {
|
|
266
189
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/certificates/templates`, data: data });
|
|
267
190
|
}
|
|
268
191
|
/**
|
|
269
|
-
*
|
|
192
|
+
* Read certificate template records through the mounted LMS certificate::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
270
193
|
* Calls `GET /api/v1/certificates/templates/{id}` through the shared IDP-aware Faiber client.
|
|
271
194
|
* @param id Backend path identifier `id`.
|
|
272
195
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
273
|
-
* @returns The complete Axios response, including the typed
|
|
274
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:read.
|
|
196
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
197
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:read; trusted gateway identity plus any handler-local checks apply.
|
|
275
198
|
*/
|
|
276
199
|
certificateShowTemplateGet(id, options) {
|
|
277
200
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/certificates/templates/${encodeURIComponent(id)}` });
|
|
278
201
|
}
|
|
279
202
|
/**
|
|
280
|
-
*
|
|
203
|
+
* Patch certificate template records through the mounted LMS certificate::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
281
204
|
* Calls `PATCH /api/v1/certificates/templates/{id}` through the shared IDP-aware Faiber client.
|
|
282
205
|
* @param id Backend path identifier `id`.
|
|
283
206
|
* @param data Typed JSON request body.
|
|
284
207
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
285
|
-
* @returns The complete Axios response, including the typed
|
|
286
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:update.
|
|
208
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
209
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:certificate:update; trusted gateway identity plus any handler-local checks apply.
|
|
287
210
|
*/
|
|
288
211
|
certificateUpdateTemplatePatch(id, data, options) {
|
|
289
212
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/certificates/templates/${encodeURIComponent(id)}`, data: data });
|
|
290
213
|
}
|
|
291
214
|
/**
|
|
292
|
-
*
|
|
215
|
+
* Contacts records through the mounted LMS notifications::contacts handler.
|
|
293
216
|
* Calls `GET /api/v1/chat/contacts` through the shared IDP-aware Faiber client.
|
|
294
217
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
295
218
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
296
|
-
* @returns The complete Axios response, including the typed
|
|
297
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:chat:contacts:read.
|
|
219
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
220
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:chat:contacts:read; trusted gateway identity plus any handler-local checks apply.
|
|
298
221
|
*/
|
|
299
222
|
contactsContactsGet(params, options) {
|
|
300
223
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/chat/contacts`, params });
|
|
301
224
|
}
|
|
302
225
|
/**
|
|
303
|
-
*
|
|
226
|
+
* List classroom records through the mounted LMS classroom::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
304
227
|
* Calls `GET /api/v1/classrooms` through the shared IDP-aware Faiber client.
|
|
305
228
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
306
229
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
307
|
-
* @returns The complete Axios response, including the typed
|
|
308
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
230
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
231
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
309
232
|
*/
|
|
310
233
|
classroomIndexClassroomGet(params, options) {
|
|
311
234
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms`, params });
|
|
312
235
|
}
|
|
313
236
|
/**
|
|
314
|
-
*
|
|
237
|
+
* Create classroom records through the mounted LMS classroom::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
315
238
|
* Calls `POST /api/v1/classrooms` through the shared IDP-aware Faiber client.
|
|
316
239
|
* @param data Typed JSON request body.
|
|
317
240
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
318
|
-
* @returns The complete Axios response, including the typed
|
|
319
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:create.
|
|
241
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
242
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:create; trusted gateway identity plus any handler-local checks apply.
|
|
320
243
|
*/
|
|
321
244
|
classroomStoreClassroomPost(data, options) {
|
|
322
245
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/classrooms`, data: data });
|
|
323
246
|
}
|
|
324
247
|
/**
|
|
325
|
-
*
|
|
248
|
+
* Delete classroom records through the mounted LMS classroom::routes handler. Successful deletion returns an empty data object.
|
|
326
249
|
* Calls `DELETE /api/v1/classrooms/{id}` through the shared IDP-aware Faiber client.
|
|
327
250
|
* @param id Backend path identifier `id`.
|
|
328
251
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
329
|
-
* @returns The complete Axios response, including the typed
|
|
330
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:delete.
|
|
252
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
253
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:delete; trusted gateway identity plus any handler-local checks apply.
|
|
331
254
|
*/
|
|
332
255
|
classroomDestroyClassroomDelete(id, options) {
|
|
333
256
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/classrooms/${encodeURIComponent(id)}` });
|
|
334
257
|
}
|
|
335
258
|
/**
|
|
336
|
-
*
|
|
259
|
+
* Read classroom records through the mounted LMS classroom::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
337
260
|
* Calls `GET /api/v1/classrooms/{id}` through the shared IDP-aware Faiber client.
|
|
338
261
|
* @param id Backend path identifier `id`.
|
|
339
262
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
340
|
-
* @returns The complete Axios response, including the typed
|
|
341
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
263
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
264
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
342
265
|
*/
|
|
343
266
|
classroomShowClassroomGet(id, options) {
|
|
344
267
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/${encodeURIComponent(id)}` });
|
|
345
268
|
}
|
|
346
269
|
/**
|
|
347
|
-
*
|
|
270
|
+
* Patch classroom records through the mounted LMS classroom::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
348
271
|
* Calls `PATCH /api/v1/classrooms/{id}` through the shared IDP-aware Faiber client.
|
|
349
272
|
* @param id Backend path identifier `id`.
|
|
350
273
|
* @param data Typed JSON request body.
|
|
351
274
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
352
|
-
* @returns The complete Axios response, including the typed
|
|
353
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:update.
|
|
275
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
276
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:update; trusted gateway identity plus any handler-local checks apply.
|
|
354
277
|
*/
|
|
355
278
|
classroomUpdateClassroomPatch(id, data, options) {
|
|
356
279
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/classrooms/${encodeURIComponent(id)}`, data: data });
|
|
357
280
|
}
|
|
358
281
|
/**
|
|
359
|
-
*
|
|
282
|
+
* Read completion records through the mounted LMS classroom::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
360
283
|
* Calls `GET /api/v1/classrooms/{id}/completion` through the shared IDP-aware Faiber client.
|
|
361
284
|
* @param id Backend path identifier `id`.
|
|
362
285
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
363
|
-
* @returns The complete Axios response, including the typed
|
|
364
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
286
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
287
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
365
288
|
*/
|
|
366
289
|
classroomShowCompletionGet(id, options) {
|
|
367
290
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/${encodeURIComponent(id)}/completion` });
|
|
368
291
|
}
|
|
369
292
|
/**
|
|
370
|
-
*
|
|
293
|
+
* Finalize classroom records through the mounted LMS classroom::routes handler.
|
|
371
294
|
* Calls `POST /api/v1/classrooms/{id}/finalize` through the shared IDP-aware Faiber client.
|
|
372
295
|
* @param id Backend path identifier `id`.
|
|
373
296
|
* @param data Typed JSON request body.
|
|
374
297
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
375
|
-
* @returns The complete Axios response, including the typed
|
|
376
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:finalize.
|
|
298
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
299
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:finalize; trusted gateway identity plus any handler-local checks apply.
|
|
377
300
|
*/
|
|
378
301
|
classroomFinalizeClassroomPost(id, data, options) {
|
|
379
302
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/classrooms/${encodeURIComponent(id)}/finalize`, data: data });
|
|
380
303
|
}
|
|
381
304
|
/**
|
|
382
|
-
*
|
|
305
|
+
* List classroom enrollment records through the mounted LMS classroom::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
383
306
|
* Calls `GET /api/v1/classrooms/{id}/users` through the shared IDP-aware Faiber client.
|
|
384
307
|
* @param id Backend path identifier `id`.
|
|
385
308
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
386
309
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
387
|
-
* @returns The complete Axios response, including the typed
|
|
388
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
310
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
311
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
389
312
|
*/
|
|
390
313
|
classroomIndexClassroomUsersGet(id, params, options) {
|
|
391
314
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/${encodeURIComponent(id)}/users`, params });
|
|
392
315
|
}
|
|
393
316
|
/**
|
|
394
|
-
*
|
|
317
|
+
* Enroll classroom user records through the mounted LMS classroom::routes handler.
|
|
395
318
|
* Calls `POST /api/v1/classrooms/{id}/users` through the shared IDP-aware Faiber client.
|
|
396
319
|
* @param id Backend path identifier `id`.
|
|
397
320
|
* @param data Typed JSON request body.
|
|
398
321
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
399
|
-
* @returns The complete Axios response, including the typed
|
|
400
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:create.
|
|
322
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
323
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:create; trusted gateway identity plus any handler-local checks apply.
|
|
401
324
|
*/
|
|
402
325
|
classroomEnrollClassroomUserPost(id, data, options) {
|
|
403
326
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/classrooms/${encodeURIComponent(id)}/users`, data: data });
|
|
404
327
|
}
|
|
405
328
|
/**
|
|
406
|
-
*
|
|
329
|
+
* Remove a classroom enrollment. The successful JSON envelope contains data:null; no deleted flag is returned.
|
|
407
330
|
* Calls `DELETE /api/v1/classrooms/{id}/users/{user_id}` through the shared IDP-aware Faiber client.
|
|
408
331
|
* @param id Backend path identifier `id`.
|
|
409
332
|
* @param userId Backend path identifier `user_id`.
|
|
410
333
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
411
|
-
* @returns The complete Axios response, including the typed
|
|
412
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:update.
|
|
334
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
335
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:update; trusted gateway identity plus any handler-local checks apply.
|
|
413
336
|
*/
|
|
414
337
|
classroomRemoveClassroomUserDelete(id, userId, options) {
|
|
415
338
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/classrooms/${encodeURIComponent(id)}/users/${encodeURIComponent(userId)}` });
|
|
416
339
|
}
|
|
417
340
|
/**
|
|
418
|
-
*
|
|
341
|
+
* Patch classroom user records through the mounted LMS classroom::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
419
342
|
* Calls `PATCH /api/v1/classrooms/{id}/users/{user_id}` through the shared IDP-aware Faiber client.
|
|
420
343
|
* @param id Backend path identifier `id`.
|
|
421
344
|
* @param userId Backend path identifier `user_id`.
|
|
422
345
|
* @param data Typed JSON request body.
|
|
423
346
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
424
|
-
* @returns The complete Axios response, including the typed
|
|
425
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:update, lms:classroom:score:update.
|
|
347
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
348
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:update, lms:classroom:score:update; trusted gateway identity plus any handler-local checks apply.
|
|
426
349
|
*/
|
|
427
350
|
classroomUpdateClassroomUserPatch(id, userId, data, options) {
|
|
428
351
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/classrooms/${encodeURIComponent(id)}/users/${encodeURIComponent(userId)}`, data: data });
|
|
429
352
|
}
|
|
430
353
|
/**
|
|
431
|
-
*
|
|
354
|
+
* Batch classrooms records through the mounted LMS integration::routes handler.
|
|
432
355
|
* Calls `POST /api/v1/classrooms/batch` through the shared IDP-aware Faiber client.
|
|
433
356
|
* @param data Typed JSON request body.
|
|
434
357
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
435
|
-
* @returns The complete Axios response, including the typed
|
|
358
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
436
359
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
437
360
|
*/
|
|
438
361
|
integrationBatchClassroomsPost(data, options) {
|
|
439
362
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/classrooms/batch`, data: data });
|
|
440
363
|
}
|
|
441
364
|
/**
|
|
442
|
-
*
|
|
365
|
+
* List session types records through the mounted LMS classroom::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
443
366
|
* Calls `GET /api/v1/classrooms/session-types` through the shared IDP-aware Faiber client.
|
|
444
367
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
445
|
-
* @returns The complete Axios response, including the typed
|
|
446
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
368
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
369
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
447
370
|
*/
|
|
448
371
|
classroomIndexSessionTypesGet(options) {
|
|
449
372
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/session-types` });
|
|
450
373
|
}
|
|
451
374
|
/**
|
|
452
|
-
*
|
|
375
|
+
* List session records through the mounted LMS classroom::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
453
376
|
* Calls `GET /api/v1/classrooms/sessions` through the shared IDP-aware Faiber client.
|
|
454
377
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
455
378
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
456
|
-
* @returns The complete Axios response, including the typed
|
|
457
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
379
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
380
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
458
381
|
*/
|
|
459
382
|
classroomIndexSessionGet(params, options) {
|
|
460
383
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/sessions`, params });
|
|
461
384
|
}
|
|
462
385
|
/**
|
|
463
|
-
*
|
|
386
|
+
* Create session records through the mounted LMS classroom::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
464
387
|
* Calls `POST /api/v1/classrooms/sessions` through the shared IDP-aware Faiber client.
|
|
465
388
|
* @param data Typed JSON request body.
|
|
466
389
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
467
|
-
* @returns The complete Axios response, including the typed
|
|
468
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:create.
|
|
390
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
391
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:create; trusted gateway identity plus any handler-local checks apply.
|
|
469
392
|
*/
|
|
470
393
|
classroomStoreSessionPost(data, options) {
|
|
471
394
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/classrooms/sessions`, data: data });
|
|
472
395
|
}
|
|
473
396
|
/**
|
|
474
|
-
*
|
|
397
|
+
* Read session records through the mounted LMS classroom::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
475
398
|
* Calls `GET /api/v1/classrooms/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
476
399
|
* @param id Backend path identifier `id`.
|
|
477
400
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
478
|
-
* @returns The complete Axios response, including the typed
|
|
479
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
401
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
402
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
480
403
|
*/
|
|
481
404
|
classroomShowSessionGet(id, options) {
|
|
482
405
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/sessions/${encodeURIComponent(id)}` });
|
|
483
406
|
}
|
|
484
407
|
/**
|
|
485
|
-
*
|
|
408
|
+
* Patch session records through the mounted LMS classroom::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
486
409
|
* Calls `PATCH /api/v1/classrooms/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
487
410
|
* @param id Backend path identifier `id`.
|
|
488
411
|
* @param data Typed JSON request body.
|
|
489
412
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
490
|
-
* @returns The complete Axios response, including the typed
|
|
491
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:update.
|
|
413
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
414
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:update; trusted gateway identity plus any handler-local checks apply.
|
|
492
415
|
*/
|
|
493
416
|
classroomUpdateSessionPatch(id, data, options) {
|
|
494
417
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/classrooms/sessions/${encodeURIComponent(id)}`, data: data });
|
|
495
418
|
}
|
|
496
419
|
/**
|
|
497
|
-
*
|
|
420
|
+
* List attendance records through the mounted LMS classroom::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
498
421
|
* Calls `GET /api/v1/classrooms/sessions/{id}/attendance` through the shared IDP-aware Faiber client.
|
|
499
422
|
* @param id Backend path identifier `id`.
|
|
500
423
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
501
424
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
502
|
-
* @returns The complete Axios response, including the typed
|
|
503
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
425
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
426
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
504
427
|
*/
|
|
505
428
|
classroomIndexAttendanceGet(id, params, options) {
|
|
506
429
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/sessions/${encodeURIComponent(id)}/attendance`, params });
|
|
507
430
|
}
|
|
508
431
|
/**
|
|
509
|
-
*
|
|
432
|
+
* Record attendance records through the mounted LMS classroom::routes handler.
|
|
510
433
|
* Calls `PUT /api/v1/classrooms/sessions/{id}/attendance` through the shared IDP-aware Faiber client.
|
|
511
434
|
* @param id Backend path identifier `id`.
|
|
512
435
|
* @param data Typed JSON request body.
|
|
513
436
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
514
|
-
* @returns The complete Axios response, including the typed
|
|
515
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:attendance:update.
|
|
437
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
438
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:attendance:update; trusted gateway identity plus any handler-local checks apply.
|
|
516
439
|
*/
|
|
517
440
|
classroomRecordAttendancePut(id, data, options) {
|
|
518
441
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/classrooms/sessions/${encodeURIComponent(id)}/attendance`, data: data });
|
|
519
442
|
}
|
|
520
443
|
/**
|
|
521
|
-
*
|
|
444
|
+
* List today sessions records through the mounted LMS classroom::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
522
445
|
* Calls `GET /api/v1/classrooms/sessions/today` through the shared IDP-aware Faiber client.
|
|
523
446
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
524
447
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
525
|
-
* @returns The complete Axios response, including the typed
|
|
526
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
448
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
449
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
527
450
|
*/
|
|
528
451
|
classroomIndexTodaySessionsGet(params, options) {
|
|
529
452
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/sessions/today`, params });
|
|
530
453
|
}
|
|
531
454
|
/**
|
|
532
|
-
*
|
|
455
|
+
* Current classroom enrollment records through the mounted LMS integration::routes handler.
|
|
533
456
|
* Calls `GET /api/v1/classrooms/users/current` through the shared IDP-aware Faiber client.
|
|
534
457
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
535
|
-
* @returns The complete Axios response, including the typed
|
|
458
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
536
459
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
537
460
|
*/
|
|
538
461
|
integrationCurrentClassroomUsersGet(options) {
|
|
539
462
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/users/current` });
|
|
540
463
|
}
|
|
541
464
|
/**
|
|
542
|
-
*
|
|
465
|
+
* Dropout eligibility records through the mounted LMS integration::routes handler.
|
|
543
466
|
* Calls `POST /api/v1/classrooms/users/dropout-eligibility` through the shared IDP-aware Faiber client.
|
|
544
467
|
* @param data Typed JSON request body.
|
|
545
468
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
546
|
-
* @returns The complete Axios response, including the typed
|
|
469
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
547
470
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
548
471
|
*/
|
|
549
472
|
integrationDropoutEligibilityPost(data, options) {
|
|
550
473
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/classrooms/users/dropout-eligibility`, data: data });
|
|
551
474
|
}
|
|
552
475
|
/**
|
|
553
|
-
*
|
|
476
|
+
* List absence records through the mounted LMS classroom::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
554
477
|
* Calls `GET /api/v1/classrooms/users/sessions/absences` through the shared IDP-aware Faiber client.
|
|
555
478
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
556
479
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
557
|
-
* @returns The complete Axios response, including the typed
|
|
558
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
480
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
481
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
559
482
|
*/
|
|
560
483
|
classroomIndexAbsencesGet(params, options) {
|
|
561
484
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/classrooms/users/sessions/absences`, params });
|
|
562
485
|
}
|
|
563
486
|
/**
|
|
564
|
-
*
|
|
487
|
+
* Read persisted learner branding. The handler checks a nonnil actor and lms:config:read.
|
|
565
488
|
* Calls `GET /api/v1/config/branding` through the shared IDP-aware Faiber client.
|
|
566
489
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
567
|
-
* @returns The complete Axios response, including the typed
|
|
568
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
490
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
491
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
569
492
|
*/
|
|
570
493
|
brandingShowGet(options) {
|
|
571
494
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/branding` });
|
|
572
495
|
}
|
|
573
496
|
/**
|
|
574
|
-
*
|
|
497
|
+
* Replace learner branding, normalize localized titles, and derive icon_url from a previously uploaded icon_asset_key. Requires a nonnil actor and lms:config:update; omitted fields reset to defaults.
|
|
575
498
|
* Calls `PUT /api/v1/config/branding` through the shared IDP-aware Faiber client.
|
|
576
499
|
* @param data Typed JSON request body.
|
|
577
500
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
578
|
-
* @returns The complete Axios response, including the typed
|
|
579
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
501
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
502
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
580
503
|
*/
|
|
581
504
|
brandingUpdatePut(data, options) {
|
|
582
505
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/config/branding`, data: data });
|
|
583
506
|
}
|
|
584
507
|
/**
|
|
585
|
-
*
|
|
508
|
+
* Upload one file multipart field containing PNG, JPEG, or WebP bytes up to 8 MiB. Returns asset_key and public URL; saving branding is a separate request.
|
|
586
509
|
* Calls `POST /api/v1/config/branding/assets` through the shared IDP-aware Faiber client.
|
|
587
510
|
* @param data Typed multipart form.
|
|
588
511
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
589
|
-
* @returns The complete Axios response, including the typed
|
|
590
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
512
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
513
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
591
514
|
*/
|
|
592
515
|
brandingUploadPost(data, options) {
|
|
593
516
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/config/branding/assets`, data: data });
|
|
594
517
|
}
|
|
595
518
|
/**
|
|
596
|
-
*
|
|
519
|
+
* List classroom type records through the mounted LMS config::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
597
520
|
* Calls `GET /api/v1/config/classroom-types` through the shared IDP-aware Faiber client.
|
|
598
521
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
599
522
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
600
|
-
* @returns The complete Axios response, including the typed
|
|
601
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
523
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
524
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
602
525
|
*/
|
|
603
526
|
configIndexClassroomTypeGet(params, options) {
|
|
604
527
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/classroom-types`, params });
|
|
605
528
|
}
|
|
606
529
|
/**
|
|
607
|
-
*
|
|
530
|
+
* Create classroom type records through the mounted LMS config::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
608
531
|
* Calls `POST /api/v1/config/classroom-types` through the shared IDP-aware Faiber client.
|
|
609
532
|
* @param data Typed JSON request body.
|
|
610
533
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
611
|
-
* @returns The complete Axios response, including the typed
|
|
612
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:create.
|
|
534
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
535
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:create; trusted gateway identity plus any handler-local checks apply.
|
|
613
536
|
*/
|
|
614
537
|
configStoreClassroomTypePost(data, options) {
|
|
615
538
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/config/classroom-types`, data: data });
|
|
616
539
|
}
|
|
617
540
|
/**
|
|
618
|
-
*
|
|
541
|
+
* Read classroom type records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
619
542
|
* Calls `GET /api/v1/config/classroom-types/{id}` through the shared IDP-aware Faiber client.
|
|
620
543
|
* @param id Backend path identifier `id`.
|
|
621
544
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
622
|
-
* @returns The complete Axios response, including the typed
|
|
623
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
545
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
546
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
624
547
|
*/
|
|
625
548
|
configShowClassroomTypeGet(id, options) {
|
|
626
549
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/classroom-types/${encodeURIComponent(id)}` });
|
|
627
550
|
}
|
|
628
551
|
/**
|
|
629
|
-
*
|
|
552
|
+
* Patch classroom type records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
630
553
|
* Calls `PATCH /api/v1/config/classroom-types/{id}` through the shared IDP-aware Faiber client.
|
|
631
554
|
* @param id Backend path identifier `id`.
|
|
632
555
|
* @param data Typed JSON request body.
|
|
633
556
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
634
|
-
* @returns The complete Axios response, including the typed
|
|
635
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
557
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
558
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
636
559
|
*/
|
|
637
560
|
configUpdateClassroomTypePatch(id, data, options) {
|
|
638
561
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/config/classroom-types/${encodeURIComponent(id)}`, data: data });
|
|
639
562
|
}
|
|
640
563
|
/**
|
|
641
|
-
*
|
|
564
|
+
* List education day records through the mounted LMS config::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
642
565
|
* Calls `GET /api/v1/config/education-days` through the shared IDP-aware Faiber client.
|
|
643
566
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
644
567
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
645
|
-
* @returns The complete Axios response, including the typed
|
|
646
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
568
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
569
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
647
570
|
*/
|
|
648
571
|
configIndexEducationDayGet(params, options) {
|
|
649
572
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/education-days`, params });
|
|
650
573
|
}
|
|
651
574
|
/**
|
|
652
|
-
*
|
|
575
|
+
* Create education day records through the mounted LMS config::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
653
576
|
* Calls `POST /api/v1/config/education-days` through the shared IDP-aware Faiber client.
|
|
654
577
|
* @param data Typed JSON request body.
|
|
655
578
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
656
|
-
* @returns The complete Axios response, including the typed
|
|
657
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:create.
|
|
579
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
580
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:create; trusted gateway identity plus any handler-local checks apply.
|
|
658
581
|
*/
|
|
659
582
|
configStoreEducationDayPost(data, options) {
|
|
660
583
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/config/education-days`, data: data });
|
|
661
584
|
}
|
|
662
585
|
/**
|
|
663
|
-
*
|
|
586
|
+
* Read education day records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
664
587
|
* Calls `GET /api/v1/config/education-days/{id}` through the shared IDP-aware Faiber client.
|
|
665
588
|
* @param id Backend path identifier `id`.
|
|
666
589
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
667
|
-
* @returns The complete Axios response, including the typed
|
|
668
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
590
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
591
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
669
592
|
*/
|
|
670
593
|
configShowEducationDayGet(id, options) {
|
|
671
594
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/education-days/${encodeURIComponent(id)}` });
|
|
672
595
|
}
|
|
673
596
|
/**
|
|
674
|
-
*
|
|
597
|
+
* Patch education day records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
675
598
|
* Calls `PATCH /api/v1/config/education-days/{id}` through the shared IDP-aware Faiber client.
|
|
676
599
|
* @param id Backend path identifier `id`.
|
|
677
600
|
* @param data Typed JSON request body.
|
|
678
601
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
679
|
-
* @returns The complete Axios response, including the typed
|
|
680
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
602
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
603
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
681
604
|
*/
|
|
682
605
|
configUpdateEducationDayPatch(id, data, options) {
|
|
683
606
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/config/education-days/${encodeURIComponent(id)}`, data: data });
|
|
684
607
|
}
|
|
685
608
|
/**
|
|
686
|
-
*
|
|
609
|
+
* List school grade records through the mounted LMS config::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
687
610
|
* Calls `GET /api/v1/config/grades` through the shared IDP-aware Faiber client.
|
|
688
611
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
689
612
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
690
|
-
* @returns The complete Axios response, including the typed
|
|
691
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
613
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
614
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
692
615
|
*/
|
|
693
616
|
configIndexGradeGet(params, options) {
|
|
694
617
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/grades`, params });
|
|
695
618
|
}
|
|
696
619
|
/**
|
|
697
|
-
*
|
|
620
|
+
* Create school grade records through the mounted LMS config::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
698
621
|
* Calls `POST /api/v1/config/grades` through the shared IDP-aware Faiber client.
|
|
699
622
|
* @param data Typed JSON request body.
|
|
700
623
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
701
|
-
* @returns The complete Axios response, including the typed
|
|
702
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:create.
|
|
624
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
625
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:create; trusted gateway identity plus any handler-local checks apply.
|
|
703
626
|
*/
|
|
704
627
|
configStoreGradePost(data, options) {
|
|
705
628
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/config/grades`, data: data });
|
|
706
629
|
}
|
|
707
630
|
/**
|
|
708
|
-
*
|
|
631
|
+
* Read school grade records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
709
632
|
* Calls `GET /api/v1/config/grades/{id}` through the shared IDP-aware Faiber client.
|
|
710
633
|
* @param id Backend path identifier `id`.
|
|
711
634
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
712
|
-
* @returns The complete Axios response, including the typed
|
|
713
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
635
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
636
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
714
637
|
*/
|
|
715
638
|
configShowGradeGet(id, options) {
|
|
716
639
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/grades/${encodeURIComponent(id)}` });
|
|
717
640
|
}
|
|
718
641
|
/**
|
|
719
|
-
*
|
|
642
|
+
* Patch school grade records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
720
643
|
* Calls `PATCH /api/v1/config/grades/{id}` through the shared IDP-aware Faiber client.
|
|
721
644
|
* @param id Backend path identifier `id`.
|
|
722
645
|
* @param data Typed JSON request body.
|
|
723
646
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
724
|
-
* @returns The complete Axios response, including the typed
|
|
725
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
647
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
648
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
726
649
|
*/
|
|
727
650
|
configUpdateGradePatch(id, data, options) {
|
|
728
651
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/config/grades/${encodeURIComponent(id)}`, data: data });
|
|
729
652
|
}
|
|
730
653
|
/**
|
|
731
|
-
*
|
|
654
|
+
* List holiday records through the mounted LMS config::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
732
655
|
* Calls `GET /api/v1/config/holidays` through the shared IDP-aware Faiber client.
|
|
733
656
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
734
657
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
735
|
-
* @returns The complete Axios response, including the typed
|
|
736
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
658
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
659
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
737
660
|
*/
|
|
738
661
|
configIndexHolidayGet(params, options) {
|
|
739
662
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/holidays`, params });
|
|
740
663
|
}
|
|
741
664
|
/**
|
|
742
|
-
*
|
|
665
|
+
* Create holiday records through the mounted LMS config::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
743
666
|
* Calls `POST /api/v1/config/holidays` through the shared IDP-aware Faiber client.
|
|
744
667
|
* @param data Typed JSON request body.
|
|
745
668
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
746
|
-
* @returns The complete Axios response, including the typed
|
|
747
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:create.
|
|
669
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
670
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:create; trusted gateway identity plus any handler-local checks apply.
|
|
748
671
|
*/
|
|
749
672
|
configStoreHolidayPost(data, options) {
|
|
750
673
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/config/holidays`, data: data });
|
|
751
674
|
}
|
|
752
675
|
/**
|
|
753
|
-
*
|
|
676
|
+
* Read holiday records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
754
677
|
* Calls `GET /api/v1/config/holidays/{id}` through the shared IDP-aware Faiber client.
|
|
755
678
|
* @param id Backend path identifier `id`.
|
|
756
679
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
757
|
-
* @returns The complete Axios response, including the typed
|
|
758
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
680
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
681
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
759
682
|
*/
|
|
760
683
|
configShowHolidayGet(id, options) {
|
|
761
684
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/holidays/${encodeURIComponent(id)}` });
|
|
762
685
|
}
|
|
763
686
|
/**
|
|
764
|
-
*
|
|
687
|
+
* Patch holiday records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
765
688
|
* Calls `PATCH /api/v1/config/holidays/{id}` through the shared IDP-aware Faiber client.
|
|
766
689
|
* @param id Backend path identifier `id`.
|
|
767
690
|
* @param data Typed JSON request body.
|
|
768
691
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
769
|
-
* @returns The complete Axios response, including the typed
|
|
770
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
692
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
693
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
771
694
|
*/
|
|
772
695
|
configUpdateHolidayPatch(id, data, options) {
|
|
773
696
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/config/holidays/${encodeURIComponent(id)}`, data: data });
|
|
774
697
|
}
|
|
775
698
|
/**
|
|
776
|
-
*
|
|
699
|
+
* List weekend weekday records through the mounted LMS config::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
777
700
|
* Calls `GET /api/v1/config/weekends` through the shared IDP-aware Faiber client.
|
|
778
701
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
779
702
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
780
|
-
* @returns The complete Axios response, including the typed
|
|
781
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
703
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
704
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
782
705
|
*/
|
|
783
706
|
configIndexWeekendGet(params, options) {
|
|
784
707
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/weekends`, params });
|
|
785
708
|
}
|
|
786
709
|
/**
|
|
787
|
-
*
|
|
710
|
+
* Create weekend weekday records through the mounted LMS config::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
788
711
|
* Calls `POST /api/v1/config/weekends` through the shared IDP-aware Faiber client.
|
|
789
712
|
* @param data Typed JSON request body.
|
|
790
713
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
791
|
-
* @returns The complete Axios response, including the typed
|
|
792
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:create.
|
|
714
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
715
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:create; trusted gateway identity plus any handler-local checks apply.
|
|
793
716
|
*/
|
|
794
717
|
configStoreWeekendPost(data, options) {
|
|
795
718
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/config/weekends`, data: data });
|
|
796
719
|
}
|
|
797
720
|
/**
|
|
798
|
-
*
|
|
721
|
+
* Read weekend weekday records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
799
722
|
* Calls `GET /api/v1/config/weekends/{id}` through the shared IDP-aware Faiber client.
|
|
800
723
|
* @param id Backend path identifier `id`.
|
|
801
724
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
802
|
-
* @returns The complete Axios response, including the typed
|
|
803
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
725
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
726
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
804
727
|
*/
|
|
805
728
|
configShowWeekendGet(id, options) {
|
|
806
729
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/config/weekends/${encodeURIComponent(id)}` });
|
|
807
730
|
}
|
|
808
731
|
/**
|
|
809
|
-
*
|
|
732
|
+
* Patch weekend weekday records through the mounted LMS config::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
810
733
|
* Calls `PATCH /api/v1/config/weekends/{id}` through the shared IDP-aware Faiber client.
|
|
811
734
|
* @param id Backend path identifier `id`.
|
|
812
735
|
* @param data Typed JSON request body.
|
|
813
736
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
814
|
-
* @returns The complete Axios response, including the typed
|
|
815
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
737
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
738
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
816
739
|
*/
|
|
817
740
|
configUpdateWeekendPatch(id, data, options) {
|
|
818
741
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/config/weekends/${encodeURIComponent(id)}`, data: data });
|
|
819
742
|
}
|
|
820
743
|
/**
|
|
821
|
-
*
|
|
744
|
+
* List course records through the mounted LMS course::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
822
745
|
* Calls `GET /api/v1/courses` through the shared IDP-aware Faiber client.
|
|
823
746
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
824
747
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
825
|
-
* @returns The complete Axios response, including the typed
|
|
826
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
748
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
749
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:read; trusted gateway identity plus any handler-local checks apply.
|
|
827
750
|
*/
|
|
828
751
|
courseIndexCourseGet(params, options) {
|
|
829
752
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/courses`, params });
|
|
830
753
|
}
|
|
831
754
|
/**
|
|
832
|
-
*
|
|
755
|
+
* Create course records through the mounted LMS course::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
833
756
|
* Calls `POST /api/v1/courses` through the shared IDP-aware Faiber client.
|
|
834
757
|
* @param data Typed JSON request body.
|
|
835
758
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
836
|
-
* @returns The complete Axios response, including the typed
|
|
837
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:create.
|
|
759
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
760
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:create; trusted gateway identity plus any handler-local checks apply.
|
|
838
761
|
*/
|
|
839
762
|
courseStoreCoursePost(data, options) {
|
|
840
763
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/courses`, data: data });
|
|
841
764
|
}
|
|
842
765
|
/**
|
|
843
|
-
*
|
|
766
|
+
* List session records through the mounted LMS course::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
844
767
|
* Calls `GET /api/v1/courses/{course_id}/sessions` through the shared IDP-aware Faiber client.
|
|
845
768
|
* @param courseId Backend path identifier `course_id`.
|
|
846
769
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
847
770
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
848
|
-
* @returns The complete Axios response, including the typed
|
|
849
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
771
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
772
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:read; trusted gateway identity plus any handler-local checks apply.
|
|
850
773
|
*/
|
|
851
774
|
courseIndexSessionGet(courseId, params, options) {
|
|
852
775
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/courses/${encodeURIComponent(courseId)}/sessions`, params });
|
|
853
776
|
}
|
|
854
777
|
/**
|
|
855
|
-
*
|
|
778
|
+
* Create session records through the mounted LMS course::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
856
779
|
* Calls `POST /api/v1/courses/{course_id}/sessions` through the shared IDP-aware Faiber client.
|
|
857
780
|
* @param courseId Backend path identifier `course_id`.
|
|
858
781
|
* @param data Typed JSON request body.
|
|
859
782
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
860
|
-
* @returns The complete Axios response, including the typed
|
|
861
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:create.
|
|
783
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
784
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:create; trusted gateway identity plus any handler-local checks apply.
|
|
862
785
|
*/
|
|
863
786
|
courseStoreSessionPost(courseId, data, options) {
|
|
864
787
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/courses/${encodeURIComponent(courseId)}/sessions`, data: data });
|
|
865
788
|
}
|
|
866
789
|
/**
|
|
867
|
-
*
|
|
790
|
+
* Delete session records through the mounted LMS course::routes handler. Successful deletion returns an empty data object.
|
|
868
791
|
* Calls `DELETE /api/v1/courses/{course_id}/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
869
792
|
* @param courseId Backend path identifier `course_id`.
|
|
870
793
|
* @param id Backend path identifier `id`.
|
|
871
794
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
872
|
-
* @returns The complete Axios response, including the typed
|
|
873
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:delete.
|
|
795
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
796
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:delete; trusted gateway identity plus any handler-local checks apply.
|
|
874
797
|
*/
|
|
875
798
|
courseDestroySessionDelete(courseId, id, options) {
|
|
876
799
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/courses/${encodeURIComponent(courseId)}/sessions/${encodeURIComponent(id)}` });
|
|
877
800
|
}
|
|
878
801
|
/**
|
|
879
|
-
*
|
|
802
|
+
* Read session records through the mounted LMS course::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
880
803
|
* Calls `GET /api/v1/courses/{course_id}/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
881
804
|
* @param courseId Backend path identifier `course_id`.
|
|
882
805
|
* @param id Backend path identifier `id`.
|
|
883
806
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
884
|
-
* @returns The complete Axios response, including the typed
|
|
885
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
807
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
808
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:read; trusted gateway identity plus any handler-local checks apply.
|
|
886
809
|
*/
|
|
887
810
|
courseShowSessionGet(courseId, id, options) {
|
|
888
811
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/courses/${encodeURIComponent(courseId)}/sessions/${encodeURIComponent(id)}` });
|
|
889
812
|
}
|
|
890
813
|
/**
|
|
891
|
-
*
|
|
814
|
+
* Patch session records through the mounted LMS course::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
892
815
|
* Calls `PATCH /api/v1/courses/{course_id}/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
893
816
|
* @param courseId Backend path identifier `course_id`.
|
|
894
817
|
* @param id Backend path identifier `id`.
|
|
895
818
|
* @param data Typed JSON request body.
|
|
896
819
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
897
|
-
* @returns The complete Axios response, including the typed
|
|
898
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
820
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
821
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:update; trusted gateway identity plus any handler-local checks apply.
|
|
899
822
|
*/
|
|
900
823
|
courseUpdateSessionPatch(courseId, id, data, options) {
|
|
901
824
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/courses/${encodeURIComponent(courseId)}/sessions/${encodeURIComponent(id)}`, data: data });
|
|
902
825
|
}
|
|
903
826
|
/**
|
|
904
|
-
*
|
|
827
|
+
* Delete course records through the mounted LMS course::routes handler. Successful deletion returns an empty data object.
|
|
905
828
|
* Calls `DELETE /api/v1/courses/{id}` through the shared IDP-aware Faiber client.
|
|
906
829
|
* @param id Backend path identifier `id`.
|
|
907
830
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
908
|
-
* @returns The complete Axios response, including the typed
|
|
909
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:delete.
|
|
831
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
832
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:delete; trusted gateway identity plus any handler-local checks apply.
|
|
910
833
|
*/
|
|
911
834
|
courseDestroyCourseDelete(id, options) {
|
|
912
835
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/courses/${encodeURIComponent(id)}` });
|
|
913
836
|
}
|
|
914
837
|
/**
|
|
915
|
-
*
|
|
838
|
+
* Read course records through the mounted LMS course::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
916
839
|
* Calls `GET /api/v1/courses/{id}` through the shared IDP-aware Faiber client.
|
|
917
840
|
* @param id Backend path identifier `id`.
|
|
918
841
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
919
|
-
* @returns The complete Axios response, including the typed
|
|
920
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
842
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
843
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:read; trusted gateway identity plus any handler-local checks apply.
|
|
921
844
|
*/
|
|
922
845
|
courseShowCourseGet(id, options) {
|
|
923
846
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/courses/${encodeURIComponent(id)}` });
|
|
924
847
|
}
|
|
925
848
|
/**
|
|
926
|
-
*
|
|
849
|
+
* Patch course records through the mounted LMS course::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
927
850
|
* Calls `PATCH /api/v1/courses/{id}` through the shared IDP-aware Faiber client.
|
|
928
851
|
* @param id Backend path identifier `id`.
|
|
929
852
|
* @param data Typed JSON request body.
|
|
930
853
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
931
|
-
* @returns The complete Axios response, including the typed
|
|
932
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
854
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
855
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:update; trusted gateway identity plus any handler-local checks apply.
|
|
933
856
|
*/
|
|
934
857
|
courseUpdateCoursePatch(id, data, options) {
|
|
935
858
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/courses/${encodeURIComponent(id)}`, data: data });
|
|
936
859
|
}
|
|
937
860
|
/**
|
|
938
|
-
*
|
|
861
|
+
* Batch courses records through the mounted LMS integration::routes handler.
|
|
939
862
|
* Calls `POST /api/v1/courses/batch` through the shared IDP-aware Faiber client.
|
|
940
863
|
* @param data Typed JSON request body.
|
|
941
864
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
942
|
-
* @returns The complete Axios response, including the typed
|
|
865
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
943
866
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
944
867
|
*/
|
|
945
868
|
integrationBatchCoursesPost(data, options) {
|
|
946
869
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/courses/batch`, data: data });
|
|
947
870
|
}
|
|
948
871
|
/**
|
|
949
|
-
*
|
|
872
|
+
* List course category records through the mounted LMS course::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
950
873
|
* Calls `GET /api/v1/courses/categories` through the shared IDP-aware Faiber client.
|
|
951
874
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
952
875
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
953
|
-
* @returns The complete Axios response, including the typed
|
|
954
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
876
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
877
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:read; trusted gateway identity plus any handler-local checks apply.
|
|
955
878
|
*/
|
|
956
879
|
courseIndexCategoryGet(params, options) {
|
|
957
880
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/courses/categories`, params });
|
|
958
881
|
}
|
|
959
882
|
/**
|
|
960
|
-
*
|
|
883
|
+
* Create course category records through the mounted LMS course::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
961
884
|
* Calls `POST /api/v1/courses/categories` through the shared IDP-aware Faiber client.
|
|
962
885
|
* @param data Typed JSON request body.
|
|
963
886
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
964
|
-
* @returns The complete Axios response, including the typed
|
|
965
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:create.
|
|
887
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
888
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:create; trusted gateway identity plus any handler-local checks apply.
|
|
966
889
|
*/
|
|
967
890
|
courseStoreCategoryPost(data, options) {
|
|
968
891
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/courses/categories`, data: data });
|
|
969
892
|
}
|
|
970
893
|
/**
|
|
971
|
-
*
|
|
894
|
+
* Delete course category records through the mounted LMS course::routes handler. Successful deletion returns an empty data object.
|
|
972
895
|
* Calls `DELETE /api/v1/courses/categories/{id}` through the shared IDP-aware Faiber client.
|
|
973
896
|
* @param id Backend path identifier `id`.
|
|
974
897
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
975
|
-
* @returns The complete Axios response, including the typed
|
|
976
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:delete.
|
|
898
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
899
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:delete; trusted gateway identity plus any handler-local checks apply.
|
|
977
900
|
*/
|
|
978
901
|
courseDestroyCategoryDelete(id, options) {
|
|
979
902
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/courses/categories/${encodeURIComponent(id)}` });
|
|
980
903
|
}
|
|
981
904
|
/**
|
|
982
|
-
*
|
|
905
|
+
* Read course category records through the mounted LMS course::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
983
906
|
* Calls `GET /api/v1/courses/categories/{id}` through the shared IDP-aware Faiber client.
|
|
984
907
|
* @param id Backend path identifier `id`.
|
|
985
908
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
986
|
-
* @returns The complete Axios response, including the typed
|
|
987
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
909
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
910
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:read; trusted gateway identity plus any handler-local checks apply.
|
|
988
911
|
*/
|
|
989
912
|
courseShowCategoryGet(id, options) {
|
|
990
913
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/courses/categories/${encodeURIComponent(id)}` });
|
|
991
914
|
}
|
|
992
915
|
/**
|
|
993
|
-
*
|
|
916
|
+
* Patch course category records through the mounted LMS course::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
994
917
|
* Calls `PATCH /api/v1/courses/categories/{id}` through the shared IDP-aware Faiber client.
|
|
995
918
|
* @param id Backend path identifier `id`.
|
|
996
919
|
* @param data Typed JSON request body.
|
|
997
920
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
998
|
-
* @returns The complete Axios response, including the typed
|
|
999
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
921
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
922
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:update; trusted gateway identity plus any handler-local checks apply.
|
|
1000
923
|
*/
|
|
1001
924
|
courseUpdateCategoryPatch(id, data, options) {
|
|
1002
925
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/courses/categories/${encodeURIComponent(id)}`, data: data });
|
|
1003
926
|
}
|
|
1004
927
|
/**
|
|
1005
|
-
*
|
|
928
|
+
* Reorder categories records through the mounted LMS course::routes handler.
|
|
1006
929
|
* Calls `PATCH /api/v1/courses/categories/reorder` through the shared IDP-aware Faiber client.
|
|
1007
930
|
* @param data Typed JSON request body.
|
|
1008
931
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1009
|
-
* @returns The complete Axios response, including the typed
|
|
1010
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
932
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
933
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:update; trusted gateway identity plus any handler-local checks apply.
|
|
1011
934
|
*/
|
|
1012
935
|
courseReorderCategoriesPatch(data, options) {
|
|
1013
936
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/courses/categories/reorder`, data: data });
|
|
1014
937
|
}
|
|
1015
938
|
/**
|
|
1016
|
-
*
|
|
939
|
+
* Reorder courses records through the mounted LMS course::routes handler.
|
|
1017
940
|
* Calls `PATCH /api/v1/courses/reorder` through the shared IDP-aware Faiber client.
|
|
1018
941
|
* @param data Typed JSON request body.
|
|
1019
942
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1020
|
-
* @returns The complete Axios response, including the typed
|
|
1021
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
943
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
944
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:update; trusted gateway identity plus any handler-local checks apply.
|
|
1022
945
|
*/
|
|
1023
946
|
courseReorderCoursesPatch(data, options) {
|
|
1024
947
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/courses/reorder`, data: data });
|
|
1025
948
|
}
|
|
1026
949
|
/**
|
|
1027
|
-
*
|
|
950
|
+
* Batch course successors records through the mounted LMS integration::routes handler.
|
|
1028
951
|
* Calls `POST /api/v1/courses/successors/batch` through the shared IDP-aware Faiber client.
|
|
1029
952
|
* @param data Typed JSON request body.
|
|
1030
953
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1031
|
-
* @returns The complete Axios response, including the typed
|
|
954
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1032
955
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
1033
956
|
*/
|
|
1034
957
|
integrationBatchCourseSuccessorsPost(data, options) {
|
|
1035
958
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/courses/successors/batch`, data: data });
|
|
1036
959
|
}
|
|
1037
960
|
/**
|
|
1038
|
-
*
|
|
961
|
+
* List records through the mounted LMS dashboard::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1039
962
|
* Calls `GET /api/v1/dashboard` through the shared IDP-aware Faiber client.
|
|
1040
963
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1041
964
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1042
|
-
* @returns The complete Axios response, including the typed
|
|
1043
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:dashboard:read.
|
|
965
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
966
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:dashboard:read; trusted gateway identity plus any handler-local checks apply.
|
|
1044
967
|
*/
|
|
1045
968
|
dashboardIndexGet(params, options) {
|
|
1046
969
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/dashboard`, params });
|
|
1047
970
|
}
|
|
1048
971
|
/**
|
|
1049
|
-
*
|
|
972
|
+
* Integration records through the mounted LMS docs::routes handler.
|
|
1050
973
|
* Calls `GET /api/v1/docs/integration` through the shared IDP-aware Faiber client.
|
|
1051
974
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1052
|
-
* @returns The complete Axios response, including the typed
|
|
1053
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:docs:read.
|
|
975
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
976
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:docs:read; trusted gateway identity plus any handler-local checks apply.
|
|
1054
977
|
*/
|
|
1055
978
|
docsIntegrationGet(options) {
|
|
1056
979
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/docs/integration` });
|
|
1057
980
|
}
|
|
1058
981
|
/**
|
|
1059
|
-
*
|
|
982
|
+
* Search published DRM compositions by page, size and search, retaining selected_id when applicable. Returns composition IDs, names and category paths.
|
|
1060
983
|
* Calls `GET /api/v1/drm/compositions` through the shared IDP-aware Faiber client.
|
|
1061
984
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1062
985
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1063
|
-
* @returns The complete Axios response, including the typed
|
|
1064
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update, lms:course:create.
|
|
986
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
987
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:update, lms:course:create; trusted gateway identity plus any handler-local checks apply.
|
|
1065
988
|
*/
|
|
1066
989
|
drmRoutesIndexCompositionsGet(params, options) {
|
|
1067
990
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/drm/compositions`, params });
|
|
1068
991
|
}
|
|
1069
992
|
/**
|
|
1070
|
-
*
|
|
993
|
+
* Get context records through the mounted LMS evaluation::routes handler.
|
|
1071
994
|
* Calls `GET /api/v1/evaluations/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
1072
995
|
* @param id Backend path identifier `id`.
|
|
1073
996
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1074
|
-
* @returns The complete Axios response, including the typed
|
|
997
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1075
998
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
1076
999
|
*/
|
|
1077
1000
|
evaluationGetContextGet(id, options) {
|
|
1078
1001
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/evaluations/sessions/${encodeURIComponent(id)}` });
|
|
1079
1002
|
}
|
|
1080
1003
|
/**
|
|
1081
|
-
*
|
|
1004
|
+
* Submit records through the mounted LMS evaluation::routes handler.
|
|
1082
1005
|
* Calls `POST /api/v1/evaluations/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
1083
1006
|
* @param id Backend path identifier `id`.
|
|
1084
1007
|
* @param data Typed JSON request body.
|
|
1085
1008
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1086
|
-
* @returns The complete Axios response, including the typed
|
|
1009
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1087
1010
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
1088
1011
|
*/
|
|
1089
1012
|
evaluationSubmitPost(id, data, options) {
|
|
1090
1013
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/evaluations/sessions/${encodeURIComponent(id)}`, data: data });
|
|
1091
1014
|
}
|
|
1092
1015
|
/**
|
|
1093
|
-
*
|
|
1016
|
+
* Get settings records through the mounted LMS evaluation::routes handler.
|
|
1094
1017
|
* Calls `GET /api/v1/evaluations/settings` through the shared IDP-aware Faiber client.
|
|
1095
1018
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1096
|
-
* @returns The complete Axios response, including the typed
|
|
1097
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:read.
|
|
1019
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1020
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:read; trusted gateway identity plus any handler-local checks apply.
|
|
1098
1021
|
*/
|
|
1099
1022
|
evaluationGetSettingsGet(options) {
|
|
1100
1023
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/evaluations/settings` });
|
|
1101
1024
|
}
|
|
1102
1025
|
/**
|
|
1103
|
-
*
|
|
1026
|
+
* Patch settings records through the mounted LMS evaluation::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1104
1027
|
* Calls `PUT /api/v1/evaluations/settings` through the shared IDP-aware Faiber client.
|
|
1105
1028
|
* @param data Typed JSON request body.
|
|
1106
1029
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1107
|
-
* @returns The complete Axios response, including the typed
|
|
1108
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:config:update.
|
|
1030
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1031
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:config:update; trusted gateway identity plus any handler-local checks apply.
|
|
1109
1032
|
*/
|
|
1110
1033
|
evaluationUpdateSettingsPut(data, options) {
|
|
1111
1034
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/evaluations/settings`, data: data });
|
|
1112
1035
|
}
|
|
1113
1036
|
/**
|
|
1114
|
-
*
|
|
1037
|
+
* List exam definition records through the mounted LMS exam::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1115
1038
|
* Calls `GET /api/v1/exams` through the shared IDP-aware Faiber client.
|
|
1116
1039
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1117
1040
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1118
|
-
* @returns The complete Axios response, including the typed
|
|
1119
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1041
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1042
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1120
1043
|
*/
|
|
1121
1044
|
examIndexExamGet(params, options) {
|
|
1122
1045
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams`, params });
|
|
1123
1046
|
}
|
|
1124
1047
|
/**
|
|
1125
|
-
*
|
|
1048
|
+
* Create exam definition records through the mounted LMS exam::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
1126
1049
|
* Calls `POST /api/v1/exams` through the shared IDP-aware Faiber client.
|
|
1127
1050
|
* @param data Typed JSON request body.
|
|
1128
1051
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1129
|
-
* @returns The complete Axios response, including the typed
|
|
1130
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:create.
|
|
1052
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1053
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:create; trusted gateway identity plus any handler-local checks apply.
|
|
1131
1054
|
*/
|
|
1132
1055
|
examStoreExamPost(data, options) {
|
|
1133
1056
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/exams`, data: data });
|
|
1134
1057
|
}
|
|
1135
1058
|
/**
|
|
1136
|
-
*
|
|
1059
|
+
* Delete exam definition records through the mounted LMS exam::routes handler. Successful deletion returns an empty data object.
|
|
1137
1060
|
* Calls `DELETE /api/v1/exams/{id}` through the shared IDP-aware Faiber client.
|
|
1138
1061
|
* @param id Backend path identifier `id`.
|
|
1139
1062
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1140
|
-
* @returns The complete Axios response, including the typed
|
|
1141
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:delete.
|
|
1063
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1064
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:delete; trusted gateway identity plus any handler-local checks apply.
|
|
1142
1065
|
*/
|
|
1143
1066
|
examDestroyExamDelete(id, options) {
|
|
1144
1067
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/exams/${encodeURIComponent(id)}` });
|
|
1145
1068
|
}
|
|
1146
1069
|
/**
|
|
1147
|
-
*
|
|
1070
|
+
* Read exam definition records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1148
1071
|
* Calls `GET /api/v1/exams/{id}` through the shared IDP-aware Faiber client.
|
|
1149
1072
|
* @param id Backend path identifier `id`.
|
|
1150
1073
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1151
|
-
* @returns The complete Axios response, including the typed
|
|
1152
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1074
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1075
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1153
1076
|
*/
|
|
1154
1077
|
examShowExamGet(id, options) {
|
|
1155
1078
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/${encodeURIComponent(id)}` });
|
|
1156
1079
|
}
|
|
1157
1080
|
/**
|
|
1158
|
-
*
|
|
1081
|
+
* Patch exam definition records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1159
1082
|
* Calls `PATCH /api/v1/exams/{id}` through the shared IDP-aware Faiber client.
|
|
1160
1083
|
* @param id Backend path identifier `id`.
|
|
1161
1084
|
* @param data Typed JSON request body.
|
|
1162
1085
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1163
|
-
* @returns The complete Axios response, including the typed
|
|
1164
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:update.
|
|
1086
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1087
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:update; trusted gateway identity plus any handler-local checks apply.
|
|
1165
1088
|
*/
|
|
1166
1089
|
examUpdateExamPatch(id, data, options) {
|
|
1167
1090
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/exams/${encodeURIComponent(id)}`, data: data });
|
|
1168
1091
|
}
|
|
1169
1092
|
/**
|
|
1170
|
-
*
|
|
1093
|
+
* List exam attempt records through the mounted LMS exam::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1171
1094
|
* Calls `GET /api/v1/exams/attempts` through the shared IDP-aware Faiber client.
|
|
1172
1095
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1173
1096
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1174
|
-
* @returns The complete Axios response, including the typed
|
|
1175
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1097
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1098
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1176
1099
|
*/
|
|
1177
1100
|
examIndexAttemptGet(params, options) {
|
|
1178
1101
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/attempts`, params });
|
|
1179
1102
|
}
|
|
1180
1103
|
/**
|
|
1181
|
-
*
|
|
1104
|
+
* Read exam attempt records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1182
1105
|
* Calls `GET /api/v1/exams/attempts/{id}` through the shared IDP-aware Faiber client.
|
|
1183
1106
|
* @param id Backend path identifier `id`.
|
|
1184
1107
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1185
|
-
* @returns The complete Axios response, including the typed
|
|
1186
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1108
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1109
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1187
1110
|
*/
|
|
1188
1111
|
examShowAttemptGet(id, options) {
|
|
1189
1112
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/attempts/${encodeURIComponent(id)}` });
|
|
1190
1113
|
}
|
|
1191
1114
|
/**
|
|
1192
|
-
*
|
|
1115
|
+
* Patch exam attempt records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1193
1116
|
* Calls `PATCH /api/v1/exams/attempts/{id}` through the shared IDP-aware Faiber client.
|
|
1194
1117
|
* @param id Backend path identifier `id`.
|
|
1195
1118
|
* @param data Typed JSON request body.
|
|
1196
1119
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1197
|
-
* @returns The complete Axios response, including the typed
|
|
1198
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:update.
|
|
1120
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1121
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:update; trusted gateway identity plus any handler-local checks apply.
|
|
1199
1122
|
*/
|
|
1200
1123
|
examUpdateAttemptPatch(id, data, options) {
|
|
1201
1124
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/exams/attempts/${encodeURIComponent(id)}`, data: data });
|
|
1202
1125
|
}
|
|
1203
1126
|
/**
|
|
1204
|
-
*
|
|
1127
|
+
* Save attempt answer records through the mounted LMS exam::routes handler.
|
|
1205
1128
|
* Calls `PUT /api/v1/exams/attempts/{id}/answers/{position}` through the shared IDP-aware Faiber client.
|
|
1206
1129
|
* @param id Backend path identifier `id`.
|
|
1207
1130
|
* @param position Backend path identifier `position`.
|
|
1208
1131
|
* @param data Typed JSON request body.
|
|
1209
1132
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1210
|
-
* @returns The complete Axios response, including the typed
|
|
1211
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1133
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1134
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1212
1135
|
*/
|
|
1213
1136
|
examSaveAttemptAnswerPut(id, position, data, options) {
|
|
1214
1137
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/exams/attempts/${encodeURIComponent(id)}/answers/${encodeURIComponent(position)}`, data: data });
|
|
1215
1138
|
}
|
|
1216
1139
|
/**
|
|
1217
|
-
*
|
|
1140
|
+
* Read attempt delivery records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1218
1141
|
* Calls `GET /api/v1/exams/attempts/{id}/delivery` through the shared IDP-aware Faiber client.
|
|
1219
1142
|
* @param id Backend path identifier `id`.
|
|
1220
1143
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1221
|
-
* @returns The complete Axios response, including the typed
|
|
1222
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1144
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1145
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1223
1146
|
*/
|
|
1224
1147
|
examShowAttemptDeliveryGet(id, options) {
|
|
1225
1148
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/attempts/${encodeURIComponent(id)}/delivery` });
|
|
1226
1149
|
}
|
|
1227
1150
|
/**
|
|
1228
|
-
*
|
|
1151
|
+
* Start exam attempt records through the mounted LMS exam::routes handler.
|
|
1229
1152
|
* Calls `POST /api/v1/exams/attempts/{id}/start` through the shared IDP-aware Faiber client.
|
|
1230
1153
|
* @param id Backend path identifier `id`.
|
|
1231
1154
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1232
|
-
* @returns The complete Axios response, including the typed
|
|
1233
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1155
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1156
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1234
1157
|
*/
|
|
1235
1158
|
examStartAttemptPost(id, options) {
|
|
1236
1159
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/exams/attempts/${encodeURIComponent(id)}/start` });
|
|
1237
1160
|
}
|
|
1238
1161
|
/**
|
|
1239
|
-
*
|
|
1162
|
+
* Submit exam attempt records through the mounted LMS exam::routes handler.
|
|
1240
1163
|
* Calls `POST /api/v1/exams/attempts/{id}/submit` through the shared IDP-aware Faiber client.
|
|
1241
1164
|
* @param id Backend path identifier `id`.
|
|
1242
1165
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1243
|
-
* @returns The complete Axios response, including the typed
|
|
1244
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1166
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1167
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1245
1168
|
*/
|
|
1246
1169
|
examSubmitAttemptPost(id, options) {
|
|
1247
1170
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/exams/attempts/${encodeURIComponent(id)}/submit` });
|
|
1248
1171
|
}
|
|
1249
1172
|
/**
|
|
1250
|
-
*
|
|
1173
|
+
* List exercise/question records through the mounted LMS exam::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1251
1174
|
* Calls `GET /api/v1/exams/questions` through the shared IDP-aware Faiber client.
|
|
1252
1175
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1253
1176
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1254
|
-
* @returns The complete Axios response, including the typed
|
|
1255
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1177
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1178
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1256
1179
|
*/
|
|
1257
1180
|
examIndexQuestionGet(params, options) {
|
|
1258
1181
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/questions`, params });
|
|
1259
1182
|
}
|
|
1260
1183
|
/**
|
|
1261
|
-
*
|
|
1184
|
+
* Create exercise/question records through the mounted LMS exam::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
1262
1185
|
* Calls `POST /api/v1/exams/questions` through the shared IDP-aware Faiber client.
|
|
1263
1186
|
* @param data Typed JSON request body.
|
|
1264
1187
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1265
|
-
* @returns The complete Axios response, including the typed
|
|
1266
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:create.
|
|
1188
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1189
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:create; trusted gateway identity plus any handler-local checks apply.
|
|
1267
1190
|
*/
|
|
1268
1191
|
examStoreQuestionPost(data, options) {
|
|
1269
1192
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/exams/questions`, data: data });
|
|
1270
1193
|
}
|
|
1271
1194
|
/**
|
|
1272
|
-
*
|
|
1195
|
+
* Delete exercise/question records through the mounted LMS exam::routes handler. Successful deletion returns an empty data object.
|
|
1273
1196
|
* Calls `DELETE /api/v1/exams/questions/{id}` through the shared IDP-aware Faiber client.
|
|
1274
1197
|
* @param id Backend path identifier `id`.
|
|
1275
1198
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1276
|
-
* @returns The complete Axios response, including the typed
|
|
1277
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:delete.
|
|
1199
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1200
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:delete; trusted gateway identity plus any handler-local checks apply.
|
|
1278
1201
|
*/
|
|
1279
1202
|
examDestroyQuestionDelete(id, options) {
|
|
1280
1203
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/exams/questions/${encodeURIComponent(id)}` });
|
|
1281
1204
|
}
|
|
1282
1205
|
/**
|
|
1283
|
-
*
|
|
1206
|
+
* Read exercise/question records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1284
1207
|
* Calls `GET /api/v1/exams/questions/{id}` through the shared IDP-aware Faiber client.
|
|
1285
1208
|
* @param id Backend path identifier `id`.
|
|
1286
1209
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1287
|
-
* @returns The complete Axios response, including the typed
|
|
1288
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1210
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1211
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1289
1212
|
*/
|
|
1290
1213
|
examShowQuestionGet(id, options) {
|
|
1291
1214
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/questions/${encodeURIComponent(id)}` });
|
|
1292
1215
|
}
|
|
1293
1216
|
/**
|
|
1294
|
-
*
|
|
1217
|
+
* Patch exercise/question records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1295
1218
|
* Calls `PATCH /api/v1/exams/questions/{id}` through the shared IDP-aware Faiber client.
|
|
1296
1219
|
* @param id Backend path identifier `id`.
|
|
1297
1220
|
* @param data Typed JSON request body.
|
|
1298
1221
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1299
|
-
* @returns The complete Axios response, including the typed
|
|
1300
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:update.
|
|
1222
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1223
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:update; trusted gateway identity plus any handler-local checks apply.
|
|
1301
1224
|
*/
|
|
1302
1225
|
examUpdateQuestionPatch(id, data, options) {
|
|
1303
1226
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/exams/questions/${encodeURIComponent(id)}`, data: data });
|
|
1304
1227
|
}
|
|
1305
1228
|
/**
|
|
1306
|
-
*
|
|
1229
|
+
* List session records through the mounted LMS exam::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1307
1230
|
* Calls `GET /api/v1/exams/sessions` through the shared IDP-aware Faiber client.
|
|
1308
1231
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1309
1232
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1310
|
-
* @returns The complete Axios response, including the typed
|
|
1311
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1233
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1234
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1312
1235
|
*/
|
|
1313
1236
|
examIndexSessionGet(params, options) {
|
|
1314
1237
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/sessions`, params });
|
|
1315
1238
|
}
|
|
1316
1239
|
/**
|
|
1317
|
-
*
|
|
1240
|
+
* Create session records through the mounted LMS exam::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
1318
1241
|
* Calls `POST /api/v1/exams/sessions` through the shared IDP-aware Faiber client.
|
|
1319
1242
|
* @param data Typed JSON request body.
|
|
1320
1243
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1321
|
-
* @returns The complete Axios response, including the typed
|
|
1322
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:create.
|
|
1244
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1245
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:create; trusted gateway identity plus any handler-local checks apply.
|
|
1323
1246
|
*/
|
|
1324
1247
|
examStoreSessionPost(data, options) {
|
|
1325
1248
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/exams/sessions`, data: data });
|
|
1326
1249
|
}
|
|
1327
1250
|
/**
|
|
1328
|
-
*
|
|
1251
|
+
* Delete session records through the mounted LMS exam::routes handler. Successful deletion returns an empty data object.
|
|
1329
1252
|
* Calls `DELETE /api/v1/exams/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
1330
1253
|
* @param id Backend path identifier `id`.
|
|
1331
1254
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1332
|
-
* @returns The complete Axios response, including the typed
|
|
1333
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:delete.
|
|
1255
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1256
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:delete; trusted gateway identity plus any handler-local checks apply.
|
|
1334
1257
|
*/
|
|
1335
1258
|
examDestroySessionDelete(id, options) {
|
|
1336
1259
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/exams/sessions/${encodeURIComponent(id)}` });
|
|
1337
1260
|
}
|
|
1338
1261
|
/**
|
|
1339
|
-
*
|
|
1262
|
+
* Read session records through the mounted LMS exam::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1340
1263
|
* Calls `GET /api/v1/exams/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
1341
1264
|
* @param id Backend path identifier `id`.
|
|
1342
1265
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1343
|
-
* @returns The complete Axios response, including the typed
|
|
1344
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:read.
|
|
1266
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1267
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:read; trusted gateway identity plus any handler-local checks apply.
|
|
1345
1268
|
*/
|
|
1346
1269
|
examShowSessionGet(id, options) {
|
|
1347
1270
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/exams/sessions/${encodeURIComponent(id)}` });
|
|
1348
1271
|
}
|
|
1349
1272
|
/**
|
|
1350
|
-
*
|
|
1273
|
+
* Patch an exam session. Omit a field to preserve it; explicit null clears PatchField members such as classroom_id, dates, staff, and counts. selection_mode and status use normal optional scalar semantics.
|
|
1351
1274
|
* Calls `PATCH /api/v1/exams/sessions/{id}` through the shared IDP-aware Faiber client.
|
|
1352
1275
|
* @param id Backend path identifier `id`.
|
|
1353
1276
|
* @param data Typed JSON request body.
|
|
1354
1277
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1355
|
-
* @returns The complete Axios response, including the typed
|
|
1356
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:exam:update.
|
|
1278
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1279
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:exam:update; trusted gateway identity plus any handler-local checks apply.
|
|
1357
1280
|
*/
|
|
1358
1281
|
examUpdateSessionPatch(id, data, options) {
|
|
1359
1282
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/exams/sessions/${encodeURIComponent(id)}`, data: data });
|
|
1360
1283
|
}
|
|
1361
1284
|
/**
|
|
1362
|
-
*
|
|
1285
|
+
* List homework bank records through the mounted LMS homework::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1363
1286
|
* Calls `GET /api/v1/homework-banks` through the shared IDP-aware Faiber client.
|
|
1364
1287
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1365
1288
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1366
|
-
* @returns The complete Axios response, including the typed
|
|
1367
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework_bank:read.
|
|
1289
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1290
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework_bank:read; trusted gateway identity plus any handler-local checks apply.
|
|
1368
1291
|
*/
|
|
1369
1292
|
homeworkIndexBankGet(params, options) {
|
|
1370
1293
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homework-banks`, params });
|
|
1371
1294
|
}
|
|
1372
1295
|
/**
|
|
1373
|
-
*
|
|
1296
|
+
* Create homework bank records through the mounted LMS homework::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
1374
1297
|
* Calls `POST /api/v1/homework-banks` through the shared IDP-aware Faiber client.
|
|
1375
1298
|
* @param data Typed JSON request body.
|
|
1376
1299
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1377
|
-
* @returns The complete Axios response, including the typed
|
|
1378
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework_bank:create.
|
|
1300
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1301
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework_bank:create; trusted gateway identity plus any handler-local checks apply.
|
|
1379
1302
|
*/
|
|
1380
1303
|
homeworkStoreBankPost(data, options) {
|
|
1381
1304
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/homework-banks`, data: data });
|
|
1382
1305
|
}
|
|
1383
1306
|
/**
|
|
1384
|
-
*
|
|
1307
|
+
* List bank exercise records through the mounted LMS homework::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1385
1308
|
* Calls `GET /api/v1/homework-banks/{homework_bank_id}/homeworks` through the shared IDP-aware Faiber client.
|
|
1386
1309
|
* @param homeworkBankId Backend path identifier `homework_bank_id`.
|
|
1387
1310
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1388
1311
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1389
|
-
* @returns The complete Axios response, including the typed
|
|
1390
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1312
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1313
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1391
1314
|
*/
|
|
1392
1315
|
homeworkIndexBankHomeworkGet(homeworkBankId, params, options) {
|
|
1393
1316
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homework-banks/${encodeURIComponent(homeworkBankId)}/homeworks`, params });
|
|
1394
1317
|
}
|
|
1395
1318
|
/**
|
|
1396
|
-
*
|
|
1319
|
+
* Create bank exercise records through the mounted LMS homework::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
1397
1320
|
* Calls `POST /api/v1/homework-banks/{homework_bank_id}/homeworks` through the shared IDP-aware Faiber client.
|
|
1398
1321
|
* @param homeworkBankId Backend path identifier `homework_bank_id`.
|
|
1399
1322
|
* @param data Typed JSON request body.
|
|
1400
1323
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1401
|
-
* @returns The complete Axios response, including the typed
|
|
1402
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:create.
|
|
1324
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1325
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:create; trusted gateway identity plus any handler-local checks apply.
|
|
1403
1326
|
*/
|
|
1404
1327
|
homeworkStoreBankHomeworkPost(homeworkBankId, data, options) {
|
|
1405
1328
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/homework-banks/${encodeURIComponent(homeworkBankId)}/homeworks`, data: data });
|
|
1406
1329
|
}
|
|
1407
1330
|
/**
|
|
1408
|
-
*
|
|
1331
|
+
* Delete bank exercise records through the mounted LMS homework::routes handler. Successful deletion returns an empty data object.
|
|
1409
1332
|
* Calls `DELETE /api/v1/homework-banks/{homework_bank_id}/homeworks/{homework_id}` through the shared IDP-aware Faiber client.
|
|
1410
1333
|
* @param homeworkBankId Backend path identifier `homework_bank_id`.
|
|
1411
1334
|
* @param homeworkId Backend path identifier `homework_id`.
|
|
1412
1335
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1413
|
-
* @returns The complete Axios response, including the typed
|
|
1414
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:delete.
|
|
1336
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1337
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:delete; trusted gateway identity plus any handler-local checks apply.
|
|
1415
1338
|
*/
|
|
1416
1339
|
homeworkDestroyBankHomeworkDelete(homeworkBankId, homeworkId, options) {
|
|
1417
1340
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/homework-banks/${encodeURIComponent(homeworkBankId)}/homeworks/${encodeURIComponent(homeworkId)}` });
|
|
1418
1341
|
}
|
|
1419
1342
|
/**
|
|
1420
|
-
*
|
|
1343
|
+
* Read bank exercise records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1421
1344
|
* Calls `GET /api/v1/homework-banks/{homework_bank_id}/homeworks/{homework_id}` through the shared IDP-aware Faiber client.
|
|
1422
1345
|
* @param homeworkBankId Backend path identifier `homework_bank_id`.
|
|
1423
1346
|
* @param homeworkId Backend path identifier `homework_id`.
|
|
1424
1347
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1425
|
-
* @returns The complete Axios response, including the typed
|
|
1426
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1348
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1349
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1427
1350
|
*/
|
|
1428
1351
|
homeworkShowBankHomeworkGet(homeworkBankId, homeworkId, options) {
|
|
1429
1352
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homework-banks/${encodeURIComponent(homeworkBankId)}/homeworks/${encodeURIComponent(homeworkId)}` });
|
|
1430
1353
|
}
|
|
1431
1354
|
/**
|
|
1432
|
-
*
|
|
1355
|
+
* Patch bank exercise records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1433
1356
|
* Calls `PATCH /api/v1/homework-banks/{homework_bank_id}/homeworks/{homework_id}` through the shared IDP-aware Faiber client.
|
|
1434
1357
|
* @param homeworkBankId Backend path identifier `homework_bank_id`.
|
|
1435
1358
|
* @param homeworkId Backend path identifier `homework_id`.
|
|
1436
1359
|
* @param data Typed JSON request body.
|
|
1437
1360
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1438
|
-
* @returns The complete Axios response, including the typed
|
|
1439
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:update.
|
|
1361
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1362
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:update; trusted gateway identity plus any handler-local checks apply.
|
|
1440
1363
|
*/
|
|
1441
1364
|
homeworkUpdateBankHomeworkPatch(homeworkBankId, homeworkId, data, options) {
|
|
1442
1365
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/homework-banks/${encodeURIComponent(homeworkBankId)}/homeworks/${encodeURIComponent(homeworkId)}`, data: data });
|
|
1443
1366
|
}
|
|
1444
1367
|
/**
|
|
1445
|
-
*
|
|
1368
|
+
* Delete homework bank records through the mounted LMS homework::routes handler. Successful deletion returns an empty data object.
|
|
1446
1369
|
* Calls `DELETE /api/v1/homework-banks/{id}` through the shared IDP-aware Faiber client.
|
|
1447
1370
|
* @param id Backend path identifier `id`.
|
|
1448
1371
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1449
|
-
* @returns The complete Axios response, including the typed
|
|
1450
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework_bank:delete.
|
|
1372
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1373
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework_bank:delete; trusted gateway identity plus any handler-local checks apply.
|
|
1451
1374
|
*/
|
|
1452
1375
|
homeworkDestroyBankDelete(id, options) {
|
|
1453
1376
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/homework-banks/${encodeURIComponent(id)}` });
|
|
1454
1377
|
}
|
|
1455
1378
|
/**
|
|
1456
|
-
*
|
|
1379
|
+
* Read homework bank records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1457
1380
|
* Calls `GET /api/v1/homework-banks/{id}` through the shared IDP-aware Faiber client.
|
|
1458
1381
|
* @param id Backend path identifier `id`.
|
|
1459
1382
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1460
|
-
* @returns The complete Axios response, including the typed
|
|
1461
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework_bank:read.
|
|
1383
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1384
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework_bank:read; trusted gateway identity plus any handler-local checks apply.
|
|
1462
1385
|
*/
|
|
1463
1386
|
homeworkShowBankGet(id, options) {
|
|
1464
1387
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homework-banks/${encodeURIComponent(id)}` });
|
|
1465
1388
|
}
|
|
1466
1389
|
/**
|
|
1467
|
-
*
|
|
1390
|
+
* Patch homework bank records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1468
1391
|
* Calls `PATCH /api/v1/homework-banks/{id}` through the shared IDP-aware Faiber client.
|
|
1469
1392
|
* @param id Backend path identifier `id`.
|
|
1470
1393
|
* @param data Typed JSON request body.
|
|
1471
1394
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1472
|
-
* @returns The complete Axios response, including the typed
|
|
1473
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework_bank:update.
|
|
1395
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1396
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework_bank:update; trusted gateway identity plus any handler-local checks apply.
|
|
1474
1397
|
*/
|
|
1475
1398
|
homeworkUpdateBankPatch(id, data, options) {
|
|
1476
1399
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/homework-banks/${encodeURIComponent(id)}`, data: data });
|
|
1477
1400
|
}
|
|
1478
1401
|
/**
|
|
1479
|
-
*
|
|
1402
|
+
* List homework definition records through the mounted LMS homework::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1480
1403
|
* Calls `GET /api/v1/homeworks` through the shared IDP-aware Faiber client.
|
|
1481
1404
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1482
1405
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1483
|
-
* @returns The complete Axios response, including the typed
|
|
1484
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1406
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1407
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1485
1408
|
*/
|
|
1486
1409
|
homeworkIndexHomeworkGet(params, options) {
|
|
1487
1410
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homeworks`, params });
|
|
1488
1411
|
}
|
|
1489
1412
|
/**
|
|
1490
|
-
*
|
|
1413
|
+
* Create homework definition records through the mounted LMS homework::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
1491
1414
|
* Calls `POST /api/v1/homeworks` through the shared IDP-aware Faiber client.
|
|
1492
1415
|
* @param data Typed JSON request body.
|
|
1493
1416
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1494
|
-
* @returns The complete Axios response, including the typed
|
|
1495
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:create.
|
|
1417
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1418
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:create; trusted gateway identity plus any handler-local checks apply.
|
|
1496
1419
|
*/
|
|
1497
1420
|
homeworkStoreHomeworkPost(data, options) {
|
|
1498
1421
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/homeworks`, data: data });
|
|
1499
1422
|
}
|
|
1500
1423
|
/**
|
|
1501
|
-
*
|
|
1424
|
+
* Delete homework definition records through the mounted LMS homework::routes handler. Successful deletion returns an empty data object.
|
|
1502
1425
|
* Calls `DELETE /api/v1/homeworks/{id}` through the shared IDP-aware Faiber client.
|
|
1503
1426
|
* @param id Backend path identifier `id`.
|
|
1504
1427
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1505
|
-
* @returns The complete Axios response, including the typed
|
|
1506
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:delete.
|
|
1428
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1429
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:delete; trusted gateway identity plus any handler-local checks apply.
|
|
1507
1430
|
*/
|
|
1508
1431
|
homeworkDestroyHomeworkDelete(id, options) {
|
|
1509
1432
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/homeworks/${encodeURIComponent(id)}` });
|
|
1510
1433
|
}
|
|
1511
1434
|
/**
|
|
1512
|
-
*
|
|
1435
|
+
* Read homework definition records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1513
1436
|
* Calls `GET /api/v1/homeworks/{id}` through the shared IDP-aware Faiber client.
|
|
1514
1437
|
* @param id Backend path identifier `id`.
|
|
1515
1438
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1516
|
-
* @returns The complete Axios response, including the typed
|
|
1517
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1439
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1440
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1518
1441
|
*/
|
|
1519
1442
|
homeworkShowHomeworkGet(id, options) {
|
|
1520
1443
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homeworks/${encodeURIComponent(id)}` });
|
|
1521
1444
|
}
|
|
1522
1445
|
/**
|
|
1523
|
-
*
|
|
1446
|
+
* Patch homework definition records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1524
1447
|
* Calls `PATCH /api/v1/homeworks/{id}` through the shared IDP-aware Faiber client.
|
|
1525
1448
|
* @param id Backend path identifier `id`.
|
|
1526
1449
|
* @param data Typed JSON request body.
|
|
1527
1450
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1528
|
-
* @returns The complete Axios response, including the typed
|
|
1529
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:update.
|
|
1451
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1452
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:update; trusted gateway identity plus any handler-local checks apply.
|
|
1530
1453
|
*/
|
|
1531
1454
|
homeworkUpdateHomeworkPatch(id, data, options) {
|
|
1532
1455
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/homeworks/${encodeURIComponent(id)}`, data: data });
|
|
1533
1456
|
}
|
|
1534
1457
|
/**
|
|
1535
|
-
*
|
|
1458
|
+
* List assignment records through the mounted LMS homework::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1536
1459
|
* Calls `GET /api/v1/homeworks/assignments` through the shared IDP-aware Faiber client.
|
|
1537
1460
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1538
1461
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1539
|
-
* @returns The complete Axios response, including the typed
|
|
1540
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1462
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1463
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1541
1464
|
*/
|
|
1542
1465
|
homeworkIndexAssignmentGet(params, options) {
|
|
1543
1466
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homeworks/assignments`, params });
|
|
1544
1467
|
}
|
|
1545
1468
|
/**
|
|
1546
|
-
*
|
|
1469
|
+
* Assign a real active exercise to an existing learner. homework_id identifies the exercise/question, not its bank. user_id is required by repository validation; a supplied classroom must contain that learner. Invalid targets return 422; Profile validation outages return 502.
|
|
1547
1470
|
* Calls `POST /api/v1/homeworks/assignments` through the shared IDP-aware Faiber client.
|
|
1548
1471
|
* @param data Typed JSON request body.
|
|
1549
1472
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1550
|
-
* @returns The complete Axios response, including the typed
|
|
1551
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:create.
|
|
1473
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1474
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:create; trusted gateway identity plus any handler-local checks apply.
|
|
1552
1475
|
*/
|
|
1553
1476
|
homeworkStoreAssignmentPost(data, options) {
|
|
1554
1477
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/homeworks/assignments`, data: data });
|
|
1555
1478
|
}
|
|
1556
1479
|
/**
|
|
1557
|
-
*
|
|
1480
|
+
* Delete assignment records through the mounted LMS homework::routes handler. Successful deletion returns an empty data object.
|
|
1558
1481
|
* Calls `DELETE /api/v1/homeworks/assignments/{id}` through the shared IDP-aware Faiber client.
|
|
1559
1482
|
* @param id Backend path identifier `id`.
|
|
1560
1483
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1561
|
-
* @returns The complete Axios response, including the typed
|
|
1562
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:delete.
|
|
1484
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1485
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:delete; trusted gateway identity plus any handler-local checks apply.
|
|
1563
1486
|
*/
|
|
1564
1487
|
homeworkDestroyAssignmentDelete(id, options) {
|
|
1565
1488
|
return this.client.request({ ...options, method: "DELETE", url: `/api/v1/homeworks/assignments/${encodeURIComponent(id)}` });
|
|
1566
1489
|
}
|
|
1567
1490
|
/**
|
|
1568
|
-
*
|
|
1491
|
+
* Read assignment records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1569
1492
|
* Calls `GET /api/v1/homeworks/assignments/{id}` through the shared IDP-aware Faiber client.
|
|
1570
1493
|
* @param id Backend path identifier `id`.
|
|
1571
1494
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1572
|
-
* @returns The complete Axios response, including the typed
|
|
1573
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1495
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1496
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1574
1497
|
*/
|
|
1575
1498
|
homeworkShowAssignmentGet(id, options) {
|
|
1576
1499
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homeworks/assignments/${encodeURIComponent(id)}` });
|
|
1577
1500
|
}
|
|
1578
1501
|
/**
|
|
1579
|
-
*
|
|
1502
|
+
* Patch assignment records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1580
1503
|
* Calls `PATCH /api/v1/homeworks/assignments/{id}` through the shared IDP-aware Faiber client.
|
|
1581
1504
|
* @param id Backend path identifier `id`.
|
|
1582
1505
|
* @param data Typed JSON request body.
|
|
1583
1506
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1584
|
-
* @returns The complete Axios response, including the typed
|
|
1585
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:update.
|
|
1507
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1508
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:update; trusted gateway identity plus any handler-local checks apply.
|
|
1586
1509
|
*/
|
|
1587
1510
|
homeworkUpdateAssignmentPatch(id, data, options) {
|
|
1588
1511
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/homeworks/assignments/${encodeURIComponent(id)}`, data: data });
|
|
1589
1512
|
}
|
|
1590
1513
|
/**
|
|
1591
|
-
*
|
|
1514
|
+
* List current term assignment records through the mounted LMS homework::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1592
1515
|
* Calls `GET /api/v1/homeworks/assignments/current-term` through the shared IDP-aware Faiber client.
|
|
1593
1516
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1594
1517
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1595
|
-
* @returns The complete Axios response, including the typed
|
|
1596
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1518
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1519
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1597
1520
|
*/
|
|
1598
1521
|
homeworkIndexCurrentTermAssignmentGet(params, options) {
|
|
1599
1522
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homeworks/assignments/current-term`, params });
|
|
1600
1523
|
}
|
|
1601
1524
|
/**
|
|
1602
|
-
*
|
|
1525
|
+
* List exercise/question records through the mounted LMS homework::routes handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1603
1526
|
* Calls `GET /api/v1/homeworks/questions` through the shared IDP-aware Faiber client.
|
|
1604
1527
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1605
1528
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1606
|
-
* @returns The complete Axios response, including the typed
|
|
1607
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1529
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1530
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1608
1531
|
*/
|
|
1609
1532
|
homeworkIndexQuestionGet(params, options) {
|
|
1610
1533
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homeworks/questions`, params });
|
|
1611
1534
|
}
|
|
1612
1535
|
/**
|
|
1613
|
-
*
|
|
1536
|
+
* Create exercise/question records through the mounted LMS homework::routes handler. Required JSON fields follow the named input DTO; server validation and database failures reject with AxiosError.
|
|
1614
1537
|
* Calls `POST /api/v1/homeworks/questions` through the shared IDP-aware Faiber client.
|
|
1615
1538
|
* @param data Typed JSON request body.
|
|
1616
1539
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1617
|
-
* @returns The complete Axios response, including the typed
|
|
1618
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:create.
|
|
1540
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1541
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:create; trusted gateway identity plus any handler-local checks apply.
|
|
1619
1542
|
*/
|
|
1620
1543
|
homeworkStoreQuestionPost(data, options) {
|
|
1621
1544
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/homeworks/questions`, data: data });
|
|
1622
1545
|
}
|
|
1623
1546
|
/**
|
|
1624
|
-
*
|
|
1547
|
+
* Read exercise/question records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1625
1548
|
* Calls `GET /api/v1/homeworks/questions/{id}` through the shared IDP-aware Faiber client.
|
|
1626
1549
|
* @param id Backend path identifier `id`.
|
|
1627
1550
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1628
|
-
* @returns The complete Axios response, including the typed
|
|
1629
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:read.
|
|
1551
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1552
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:read; trusted gateway identity plus any handler-local checks apply.
|
|
1630
1553
|
*/
|
|
1631
1554
|
homeworkShowQuestionGet(id, options) {
|
|
1632
1555
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/homeworks/questions/${encodeURIComponent(id)}` });
|
|
1633
1556
|
}
|
|
1634
1557
|
/**
|
|
1635
|
-
*
|
|
1558
|
+
* Patch exercise/question records through the mounted LMS homework::routes handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1636
1559
|
* Calls `PATCH /api/v1/homeworks/questions/{id}` through the shared IDP-aware Faiber client.
|
|
1637
1560
|
* @param id Backend path identifier `id`.
|
|
1638
1561
|
* @param data Typed JSON request body.
|
|
1639
1562
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1640
|
-
* @returns The complete Axios response, including the typed
|
|
1641
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:homework:update.
|
|
1563
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1564
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:homework:update; trusted gateway identity plus any handler-local checks apply.
|
|
1642
1565
|
*/
|
|
1643
1566
|
homeworkUpdateQuestionPatch(id, data, options) {
|
|
1644
1567
|
return this.client.request({ ...options, method: "PATCH", url: `/api/v1/homeworks/questions/${encodeURIComponent(id)}`, data: data });
|
|
1645
1568
|
}
|
|
1646
1569
|
/**
|
|
1647
|
-
*
|
|
1570
|
+
* Transfer learner-owned educational records transactionally between distinct nonnil Profile user UUIDs. Requires Idempotency-Key (1–128 printable ASCII characters without spaces); identical actor/key/payload retries replay success. Conflicts or active attempts return 409; Profile outages return 502. Declared IDP permission is user_data:transfer; the pinned handler itself checks actor presence.
|
|
1648
1571
|
* Calls `POST /api/v1/idp/option/transfer-user-data` through the shared IDP-aware Faiber client.
|
|
1649
1572
|
* @param idempotencyKey Stable printable ASCII key (1–128 characters, without spaces); reuse for identical retries.
|
|
1650
1573
|
* @param data Typed JSON request body.
|
|
1651
1574
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1652
|
-
* @returns The complete Axios response, including the typed
|
|
1653
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: user_data:transfer.
|
|
1575
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1576
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: user_data:transfer; trusted gateway identity plus any handler-local checks apply.
|
|
1654
1577
|
*/
|
|
1655
1578
|
transferUserDataPost(data, idempotencyKey, options) {
|
|
1656
1579
|
if (!/^[\x21-\x7e]{1,128}$/.test(idempotencyKey))
|
|
@@ -1660,431 +1583,452 @@ export class LmsOperations extends ServiceApi {
|
|
|
1660
1583
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/idp/option/transfer-user-data`, headers, data: data });
|
|
1661
1584
|
}
|
|
1662
1585
|
/**
|
|
1663
|
-
*
|
|
1586
|
+
* Flow integration show records through the mounted LMS integration::routes handler.
|
|
1664
1587
|
* Calls `GET /api/v1/integration/flow` through the shared IDP-aware Faiber client.
|
|
1665
1588
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1666
|
-
* @returns The complete Axios response, including the typed
|
|
1589
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1667
1590
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
1668
1591
|
*/
|
|
1669
1592
|
integrationFlowIntegrationShowGet(options) {
|
|
1670
1593
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/integration/flow` });
|
|
1671
1594
|
}
|
|
1672
1595
|
/**
|
|
1673
|
-
*
|
|
1596
|
+
* Resolve legacy ids records through the mounted LMS integration::routes handler.
|
|
1674
1597
|
* Calls `POST /api/v1/integration/legacy-ids/resolve` through the shared IDP-aware Faiber client.
|
|
1675
1598
|
* @param data Typed JSON request body.
|
|
1676
1599
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1677
|
-
* @returns The complete Axios response, including the typed
|
|
1600
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1678
1601
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
1679
1602
|
*/
|
|
1680
1603
|
integrationResolveLegacyIdsPost(data, options) {
|
|
1681
1604
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/integration/legacy-ids/resolve`, data: data });
|
|
1682
1605
|
}
|
|
1683
1606
|
/**
|
|
1684
|
-
*
|
|
1607
|
+
* Relationship records through the mounted LMS notifications::contacts handler.
|
|
1608
|
+
* Calls `POST /api/v1/integrations/chat/relationship` through the shared IDP-aware Faiber client.
|
|
1609
|
+
* @param data Typed JSON request body.
|
|
1610
|
+
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1611
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1612
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
1613
|
+
*/
|
|
1614
|
+
notificationsRelationshipPost(data, options) {
|
|
1615
|
+
return this.client.request({ ...options, method: "POST", url: `/api/v1/integrations/chat/relationship`, data: data });
|
|
1616
|
+
}
|
|
1617
|
+
/**
|
|
1618
|
+
* Catalog records through the mounted LMS interactive::routes handler.
|
|
1685
1619
|
* Calls `GET /api/v1/interactive/catalog` through the shared IDP-aware Faiber client.
|
|
1686
1620
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1687
|
-
* @returns The complete Axios response, including the typed
|
|
1621
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1688
1622
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public catalog.
|
|
1689
1623
|
*/
|
|
1690
1624
|
interactiveCatalogGet(options) {
|
|
1691
1625
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/catalog` });
|
|
1692
1626
|
}
|
|
1693
1627
|
/**
|
|
1694
|
-
*
|
|
1628
|
+
* My certificates records through the mounted LMS interactive::routes handler.
|
|
1695
1629
|
* Calls `GET /api/v1/interactive/certificates` through the shared IDP-aware Faiber client.
|
|
1696
1630
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1697
|
-
* @returns The complete Axios response, including the typed
|
|
1631
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1698
1632
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated learner; own awards only.
|
|
1699
1633
|
*/
|
|
1700
1634
|
interactiveMyCertificatesGet(options) {
|
|
1701
1635
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/certificates` });
|
|
1702
1636
|
}
|
|
1703
1637
|
/**
|
|
1704
|
-
* Claim
|
|
1638
|
+
* Claim certificate records through the mounted LMS interactive::routes handler.
|
|
1705
1639
|
* Calls `POST /api/v1/interactive/courses/{id}/certificate` through the shared IDP-aware Faiber client.
|
|
1706
1640
|
* @param id Backend path identifier `id`.
|
|
1707
1641
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1708
|
-
* @returns The complete Axios response, including the typed
|
|
1642
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1709
1643
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated active enrollment owner.
|
|
1710
1644
|
*/
|
|
1711
1645
|
interactiveClaimCertificatePost(id, options) {
|
|
1712
1646
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/interactive/courses/${encodeURIComponent(id)}/certificate` });
|
|
1713
1647
|
}
|
|
1714
1648
|
/**
|
|
1715
|
-
*
|
|
1649
|
+
* Definitions records through the mounted LMS interactive::routes handler.
|
|
1716
1650
|
* Calls `GET /api/v1/interactive/definitions` through the shared IDP-aware Faiber client.
|
|
1717
1651
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1718
|
-
* @returns The complete Axios response, including the typed
|
|
1652
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1719
1653
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
1720
1654
|
*/
|
|
1721
1655
|
interactiveDefinitionsGet(options) {
|
|
1722
1656
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/definitions` });
|
|
1723
1657
|
}
|
|
1724
1658
|
/**
|
|
1725
|
-
*
|
|
1659
|
+
* Definition records through the mounted LMS interactive::routes handler.
|
|
1726
1660
|
* Calls `GET /api/v1/interactive/definitions/{id}` through the shared IDP-aware Faiber client.
|
|
1727
1661
|
* @param id Backend path identifier `id`.
|
|
1728
1662
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1729
|
-
* @returns The complete Axios response, including the typed
|
|
1663
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1730
1664
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
1731
1665
|
*/
|
|
1732
1666
|
interactiveDefinitionGet(id, options) {
|
|
1733
1667
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/definitions/${encodeURIComponent(id)}` });
|
|
1734
1668
|
}
|
|
1735
1669
|
/**
|
|
1736
|
-
*
|
|
1670
|
+
* Publish records through the mounted LMS interactive::routes handler.
|
|
1737
1671
|
* Calls `POST /api/v1/interactive/definitions/{id}/publish` through the shared IDP-aware Faiber client.
|
|
1738
1672
|
* @param id Backend path identifier `id`.
|
|
1739
1673
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1740
|
-
* @returns The complete Axios response, including the typed
|
|
1674
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1741
1675
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
1742
1676
|
*/
|
|
1743
1677
|
interactivePublishPost(id, options) {
|
|
1744
1678
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/interactive/definitions/${encodeURIComponent(id)}/publish` });
|
|
1745
1679
|
}
|
|
1746
1680
|
/**
|
|
1747
|
-
*
|
|
1681
|
+
* Lesson records through the mounted LMS interactive::routes handler.
|
|
1748
1682
|
* Calls `GET /api/v1/interactive/lessons/{id}` through the shared IDP-aware Faiber client.
|
|
1749
1683
|
* @param id Backend path identifier `id`.
|
|
1750
1684
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1751
|
-
* @returns The complete Axios response, including the typed
|
|
1685
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1752
1686
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1753
1687
|
*/
|
|
1754
1688
|
interactiveLessonGet(id, options) {
|
|
1755
1689
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/lessons/${encodeURIComponent(id)}` });
|
|
1756
1690
|
}
|
|
1757
1691
|
/**
|
|
1758
|
-
*
|
|
1692
|
+
* Save definition records through the mounted LMS interactive::routes handler.
|
|
1759
1693
|
* Calls `POST /api/v1/interactive/lessons/{id}` through the shared IDP-aware Faiber client.
|
|
1760
1694
|
* @param id Backend path identifier `id`.
|
|
1761
1695
|
* @param data Typed JSON request body.
|
|
1762
1696
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1763
|
-
* @returns The complete Axios response, including the typed
|
|
1697
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1764
1698
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
1765
1699
|
*/
|
|
1766
1700
|
interactiveSaveDefinitionPost(id, data, options) {
|
|
1767
1701
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/interactive/lessons/${encodeURIComponent(id)}`, data: data });
|
|
1768
1702
|
}
|
|
1769
1703
|
/**
|
|
1770
|
-
*
|
|
1704
|
+
* Start records through the mounted LMS interactive::routes handler.
|
|
1771
1705
|
* Calls `POST /api/v1/interactive/lessons/{id}/start` through the shared IDP-aware Faiber client.
|
|
1772
1706
|
* @param id Backend path identifier `id`.
|
|
1773
1707
|
* @param data Typed JSON request body.
|
|
1774
1708
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1775
|
-
* @returns The complete Axios response, including the typed
|
|
1709
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1776
1710
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1777
1711
|
*/
|
|
1778
1712
|
interactiveStartPost(id, data, options) {
|
|
1779
1713
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/interactive/lessons/${encodeURIComponent(id)}/start`, data: data });
|
|
1780
1714
|
}
|
|
1781
1715
|
/**
|
|
1782
|
-
*
|
|
1716
|
+
* Runs records through the mounted LMS interactive::routes handler.
|
|
1783
1717
|
* Calls `GET /api/v1/interactive/runs` through the shared IDP-aware Faiber client.
|
|
1784
1718
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1785
|
-
* @returns The complete Axios response, including the typed
|
|
1719
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1786
1720
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1787
1721
|
*/
|
|
1788
1722
|
interactiveRunsGet(options) {
|
|
1789
1723
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/runs` });
|
|
1790
1724
|
}
|
|
1791
1725
|
/**
|
|
1792
|
-
*
|
|
1726
|
+
* Run records through the mounted LMS interactive::routes handler.
|
|
1793
1727
|
* Calls `GET /api/v1/interactive/runs/{id}` through the shared IDP-aware Faiber client.
|
|
1794
1728
|
* @param id Backend path identifier `id`.
|
|
1795
1729
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1796
|
-
* @returns The complete Axios response, including the typed
|
|
1730
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1797
1731
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1798
1732
|
*/
|
|
1799
1733
|
interactiveRunGet(id, options) {
|
|
1800
1734
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/runs/${encodeURIComponent(id)}` });
|
|
1801
1735
|
}
|
|
1802
1736
|
/**
|
|
1803
|
-
*
|
|
1737
|
+
* Submit records through the mounted LMS interactive::routes handler.
|
|
1804
1738
|
* Calls `POST /api/v1/interactive/runs/{id}/attempts` through the shared IDP-aware Faiber client.
|
|
1805
1739
|
* @param id Backend path identifier `id`.
|
|
1806
1740
|
* @param data Typed JSON request body.
|
|
1807
1741
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1808
|
-
* @returns The complete Axios response, including the typed
|
|
1742
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1809
1743
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1810
1744
|
*/
|
|
1811
1745
|
interactiveSubmitPost(id, data, options) {
|
|
1812
1746
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/interactive/runs/${encodeURIComponent(id)}/attempts`, data: data });
|
|
1813
1747
|
}
|
|
1814
1748
|
/**
|
|
1815
|
-
*
|
|
1749
|
+
* Draft records through the mounted LMS interactive::routes handler.
|
|
1816
1750
|
* Calls `PUT /api/v1/interactive/runs/{id}/draft` through the shared IDP-aware Faiber client.
|
|
1817
1751
|
* @param id Backend path identifier `id`.
|
|
1818
1752
|
* @param data Typed JSON request body.
|
|
1819
1753
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1820
|
-
* @returns The complete Axios response, including the typed
|
|
1754
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1821
1755
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1822
1756
|
*/
|
|
1823
1757
|
interactiveDraftPut(id, data, options) {
|
|
1824
1758
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/interactive/runs/${encodeURIComponent(id)}/draft`, data: data });
|
|
1825
1759
|
}
|
|
1826
1760
|
/**
|
|
1827
|
-
*
|
|
1761
|
+
* Hint records through the mounted LMS interactive::routes handler.
|
|
1828
1762
|
* Calls `POST /api/v1/interactive/runs/{id}/hints` through the shared IDP-aware Faiber client.
|
|
1829
1763
|
* @param id Backend path identifier `id`.
|
|
1830
1764
|
* @param data Typed JSON request body.
|
|
1831
1765
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1832
|
-
* @returns The complete Axios response, including the typed
|
|
1766
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1833
1767
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1834
1768
|
*/
|
|
1835
1769
|
interactiveHintPost(id, data, options) {
|
|
1836
1770
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/interactive/runs/${encodeURIComponent(id)}/hints`, data: data });
|
|
1837
1771
|
}
|
|
1838
1772
|
/**
|
|
1839
|
-
*
|
|
1773
|
+
* Teacher context records through the mounted LMS interactive::routes handler.
|
|
1840
1774
|
* Calls `GET /api/v1/interactive/runs/{id}/teacher-context` through the shared IDP-aware Faiber client.
|
|
1841
1775
|
* @param id Backend path identifier `id`.
|
|
1842
1776
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1843
|
-
* @returns The complete Axios response, including the typed
|
|
1777
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1844
1778
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: authenticated enrollment/run owner.
|
|
1845
1779
|
*/
|
|
1846
1780
|
interactiveTeacherContextGet(id, options) {
|
|
1847
1781
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/interactive/runs/${encodeURIComponent(id)}/teacher-context` });
|
|
1848
1782
|
}
|
|
1849
1783
|
/**
|
|
1850
|
-
*
|
|
1784
|
+
* Upload the first multipart image field containing PNG, JPEG, WebP or GIF bytes up to 10 MiB. Verifies MIME and magic bytes; returns the stored URL/key. Unsupported media returns 415, oversized data 413, storage failures 502.
|
|
1851
1785
|
* Calls `POST /api/v1/media/images` through the shared IDP-aware Faiber client.
|
|
1852
1786
|
* @param data Typed multipart form.
|
|
1853
1787
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1854
|
-
* @returns The complete Axios response, including the typed
|
|
1855
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:update.
|
|
1788
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1789
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:update; trusted gateway identity plus any handler-local checks apply.
|
|
1856
1790
|
*/
|
|
1857
1791
|
mediaUploadImagePost(data, options) {
|
|
1858
1792
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/media/images`, data: data });
|
|
1859
1793
|
}
|
|
1860
1794
|
/**
|
|
1861
|
-
*
|
|
1795
|
+
* Download raw image bytes with Content-Type and cache headers in the complete Axios response. This response has no JSON envelope; invalid or missing assets reject with AxiosError.
|
|
1862
1796
|
* Calls `GET /api/v1/media/images/{filename}` through the shared IDP-aware Faiber client.
|
|
1863
1797
|
* @param filename Backend path identifier `filename`.
|
|
1864
1798
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1865
|
-
* @returns The complete Axios response, including the typed
|
|
1866
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:course:read.
|
|
1799
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1800
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:course:read; trusted gateway identity plus any handler-local checks apply.
|
|
1867
1801
|
*/
|
|
1868
1802
|
mediaDownloadImageGet(filename, options) {
|
|
1869
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/media/images/${encodeURIComponent(filename)}
|
|
1803
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/media/images/${encodeURIComponent(filename)}`, responseType: "arraybuffer" });
|
|
1870
1804
|
}
|
|
1871
1805
|
/**
|
|
1872
|
-
*
|
|
1806
|
+
* List records through the mounted LMS notifications handler. Returns data.data rows and data.meta pagination (page 1, size 20 by default, maximum 100).
|
|
1873
1807
|
* Calls `GET /api/v1/notification-rules` through the shared IDP-aware Faiber client.
|
|
1874
1808
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1875
1809
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1876
|
-
* @returns The complete Axios response, including the typed
|
|
1877
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:notification:settings:read.
|
|
1810
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1811
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:notification:settings:read; trusted gateway identity plus any handler-local checks apply.
|
|
1878
1812
|
*/
|
|
1879
1813
|
modIndexGet(params, options) {
|
|
1880
1814
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/notification-rules`, params });
|
|
1881
1815
|
}
|
|
1882
1816
|
/**
|
|
1883
|
-
*
|
|
1817
|
+
* Patch records through the mounted LMS notifications handler. Missing resource identifiers return 404; optional scalar null members follow the Rust request model semantics.
|
|
1884
1818
|
* Calls `PUT /api/v1/notification-rules/{key}` through the shared IDP-aware Faiber client.
|
|
1885
1819
|
* @param key Backend path identifier `key`.
|
|
1886
1820
|
* @param data Typed JSON request body.
|
|
1887
1821
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1888
|
-
* @returns The complete Axios response, including the typed
|
|
1889
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:notification:settings:update.
|
|
1822
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1823
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:notification:settings:update; trusted gateway identity plus any handler-local checks apply.
|
|
1890
1824
|
*/
|
|
1891
1825
|
modUpdatePut(key, data, options) {
|
|
1892
1826
|
return this.client.request({ ...options, method: "PUT", url: `/api/v1/notification-rules/${encodeURIComponent(key)}`, data: data });
|
|
1893
1827
|
}
|
|
1894
1828
|
/**
|
|
1895
|
-
*
|
|
1829
|
+
* Preview records through the mounted LMS notifications handler.
|
|
1896
1830
|
* Calls `POST /api/v1/notification-rules/{key}/preview` through the shared IDP-aware Faiber client.
|
|
1897
1831
|
* @param key Backend path identifier `key`.
|
|
1898
1832
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1899
|
-
* @returns The complete Axios response, including the typed
|
|
1900
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:notification:settings:read.
|
|
1833
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1834
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:notification:settings:read; trusted gateway identity plus any handler-local checks apply.
|
|
1901
1835
|
*/
|
|
1902
1836
|
modPreviewPost(key, options) {
|
|
1903
1837
|
return this.client.request({ ...options, method: "POST", url: `/api/v1/notification-rules/${encodeURIComponent(key)}/preview` });
|
|
1904
1838
|
}
|
|
1905
1839
|
/**
|
|
1906
|
-
*
|
|
1840
|
+
* Search Profile summaries through the LMS proxy using page, per_page and filter[search]. Returns LMS pagination metadata.
|
|
1907
1841
|
* Calls `GET /api/v1/profiles` through the shared IDP-aware Faiber client.
|
|
1908
1842
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1909
1843
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1910
|
-
* @returns The complete Axios response, including the typed
|
|
1911
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
1844
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1845
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
1912
1846
|
*/
|
|
1913
1847
|
profileRoutesIndexGet(params, options) {
|
|
1914
1848
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/profiles`, params });
|
|
1915
1849
|
}
|
|
1916
1850
|
/**
|
|
1917
|
-
*
|
|
1851
|
+
* Read a Profile summary by user UUID. An absent profile returns data:null; an upstream failure returns 502.
|
|
1918
1852
|
* Calls `GET /api/v1/profiles/{user_id}` through the shared IDP-aware Faiber client.
|
|
1919
1853
|
* @param userId Backend path identifier `user_id`.
|
|
1920
1854
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1921
|
-
* @returns The complete Axios response, including the typed
|
|
1922
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:classroom:read.
|
|
1855
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1856
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:classroom:read; trusted gateway identity plus any handler-local checks apply.
|
|
1923
1857
|
*/
|
|
1924
1858
|
profileRoutesShowGet(userId, options) {
|
|
1925
1859
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/profiles/${encodeURIComponent(userId)}` });
|
|
1926
1860
|
}
|
|
1927
1861
|
/**
|
|
1928
|
-
*
|
|
1862
|
+
* Read public learner branding and runtime feedback_task_origin. The discovery key is present with null when unconfigured and is not persisted as branding.
|
|
1929
1863
|
* Calls `GET /api/v1/public/branding` through the shared IDP-aware Faiber client.
|
|
1930
1864
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1931
|
-
* @returns The complete Axios response, including the typed
|
|
1932
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
1865
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1866
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: public runtime branding/discovery; no actor or administration permission.
|
|
1933
1867
|
*/
|
|
1934
1868
|
brandingPublicShowGet(options) {
|
|
1935
1869
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/public/branding` });
|
|
1936
1870
|
}
|
|
1937
1871
|
/**
|
|
1938
|
-
*
|
|
1872
|
+
* Download raw image bytes with Content-Type and cache headers in the complete Axios response. This response has no JSON envelope; invalid or missing assets reject with AxiosError.
|
|
1939
1873
|
* Calls `GET /api/v1/public/branding/assets/{key}` through the shared IDP-aware Faiber client.
|
|
1940
1874
|
* @param key Backend path identifier `key`.
|
|
1941
1875
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1942
|
-
* @returns The complete Axios response, including the typed
|
|
1876
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1943
1877
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
1944
1878
|
*/
|
|
1945
1879
|
brandingAssetGet(key, options) {
|
|
1946
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/public/branding/assets/${encodeURIComponent(key)}
|
|
1880
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/public/branding/assets/${encodeURIComponent(key)}`, responseType: "arraybuffer" });
|
|
1947
1881
|
}
|
|
1948
1882
|
/**
|
|
1949
|
-
*
|
|
1883
|
+
* Verify a public, legacy, or verification code. Returns certificate identity, validity and result fields; unknown codes return 404.
|
|
1950
1884
|
* Calls `GET /api/v1/public/certificates/{code}` through the shared IDP-aware Faiber client.
|
|
1951
1885
|
* @param code Backend path identifier `code`.
|
|
1952
1886
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1953
|
-
* @returns The complete Axios response, including the typed
|
|
1954
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:verify.
|
|
1887
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1888
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata lms:certificate:verify; handler accepts public verification codes without an actor guard.
|
|
1955
1889
|
*/
|
|
1956
1890
|
certificateVerifyCertificateGet(code, options) {
|
|
1957
1891
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/public/certificates/${encodeURIComponent(code)}` });
|
|
1958
1892
|
}
|
|
1959
1893
|
/**
|
|
1960
|
-
*
|
|
1894
|
+
* Render or read the cached SVG for a public, legacy, or verification code. Returns a raw SVG string with cache headers; unknown codes return 404.
|
|
1961
1895
|
* Calls `GET /api/v1/public/certificates/{code}/image.svg` through the shared IDP-aware Faiber client.
|
|
1962
1896
|
* @param code Backend path identifier `code`.
|
|
1963
1897
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1964
|
-
* @returns The complete Axios response, including the typed
|
|
1965
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:certificate:verify.
|
|
1898
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1899
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata lms:certificate:verify; handler accepts public verification codes without an actor guard.
|
|
1966
1900
|
*/
|
|
1967
1901
|
certificateRenderCertificateImageGet(code, options) {
|
|
1968
|
-
return this.client.request({ ...options, method: "GET", url: `/api/v1/public/certificates/${encodeURIComponent(code)}/image.svg
|
|
1902
|
+
return this.client.request({ ...options, method: "GET", url: `/api/v1/public/certificates/${encodeURIComponent(code)}/image.svg`, responseType: "text" });
|
|
1969
1903
|
}
|
|
1970
1904
|
/**
|
|
1971
|
-
*
|
|
1905
|
+
* List authorized supervised students and their Profile-linked parents, with search and standard pagination. contact_role and Profile fields are flattened in each row; upstream validation failures return 502.
|
|
1972
1906
|
* Calls `GET /api/v1/reports/assigned-chat-contacts` through the shared IDP-aware Faiber client.
|
|
1973
1907
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1974
1908
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1975
|
-
* @returns The complete Axios response, including the typed
|
|
1976
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read_own.
|
|
1909
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1910
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read_own; trusted gateway identity plus any handler-local checks apply.
|
|
1977
1911
|
*/
|
|
1978
1912
|
reportAssignedChatContactsGet(params, options) {
|
|
1979
1913
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/assigned-chat-contacts`, params });
|
|
1980
1914
|
}
|
|
1981
1915
|
/**
|
|
1982
|
-
*
|
|
1916
|
+
* List students enrolled in classrooms supervised by the actor, with search and standard pagination. Removed/disabled memberships are excluded; rows are Profile summaries.
|
|
1983
1917
|
* Calls `GET /api/v1/reports/assigned-students` through the shared IDP-aware Faiber client.
|
|
1984
1918
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1985
1919
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1986
|
-
* @returns The complete Axios response, including the typed
|
|
1987
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read_own.
|
|
1920
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1921
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read_own; trusted gateway identity plus any handler-local checks apply.
|
|
1988
1922
|
*/
|
|
1989
1923
|
reportAssignedStudentsGet(params, options) {
|
|
1990
1924
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/assigned-students`, params });
|
|
1991
1925
|
}
|
|
1992
1926
|
/**
|
|
1993
|
-
*
|
|
1927
|
+
* Read one aggregate metrics row per classroom with teacher/consultant profiles and date/status filters. Requires broad report access.
|
|
1994
1928
|
* Calls `GET /api/v1/reports/classrooms` through the shared IDP-aware Faiber client.
|
|
1995
1929
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
1996
1930
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
1997
|
-
* @returns The complete Axios response, including the typed
|
|
1998
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read.
|
|
1931
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1932
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read; trusted gateway identity plus any handler-local checks apply.
|
|
1999
1933
|
*/
|
|
2000
1934
|
reportClassroomsGet(params, options) {
|
|
2001
1935
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/classrooms`, params });
|
|
2002
1936
|
}
|
|
2003
1937
|
/**
|
|
2004
|
-
*
|
|
1938
|
+
* Read aggregate classroom/student/session/attendance metrics grouped by assigned consultant. Date/status filters select classroom rows; requires broad report access.
|
|
2005
1939
|
* Calls `GET /api/v1/reports/consultants` through the shared IDP-aware Faiber client.
|
|
2006
1940
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
2007
1941
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2008
|
-
* @returns The complete Axios response, including the typed
|
|
2009
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read.
|
|
1942
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1943
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read; trusted gateway identity plus any handler-local checks apply.
|
|
2010
1944
|
*/
|
|
2011
1945
|
reportConsultantsGet(params, options) {
|
|
2012
1946
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/consultants`, params });
|
|
2013
1947
|
}
|
|
2014
1948
|
/**
|
|
2015
|
-
*
|
|
1949
|
+
* Read aggregate classroom/student/session/attendance metrics grouped by course. Returns course_id/course_name and counts, distinct from academy catalog DTOs; requires broad report access.
|
|
2016
1950
|
* Calls `GET /api/v1/reports/courses` through the shared IDP-aware Faiber client.
|
|
2017
1951
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
2018
1952
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2019
|
-
* @returns The complete Axios response, including the typed
|
|
2020
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read.
|
|
1953
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1954
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read; trusted gateway identity plus any handler-local checks apply.
|
|
2021
1955
|
*/
|
|
2022
1956
|
reportCoursesGet(params, options) {
|
|
2023
1957
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/courses`, params });
|
|
2024
1958
|
}
|
|
2025
1959
|
/**
|
|
2026
|
-
*
|
|
1960
|
+
* Read Profile-verified child summaries for the authenticated parent. Upstream Profile failure returns 502.
|
|
2027
1961
|
* Calls `GET /api/v1/reports/my-students` through the shared IDP-aware Faiber client.
|
|
2028
1962
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2029
|
-
* @returns The complete Axios response, including the typed
|
|
2030
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read_own.
|
|
1963
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1964
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read_own; trusted gateway identity plus any handler-local checks apply.
|
|
2031
1965
|
*/
|
|
2032
1966
|
reportMyStudentsGet(options) {
|
|
2033
1967
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/my-students` });
|
|
2034
1968
|
}
|
|
2035
1969
|
/**
|
|
2036
|
-
*
|
|
1970
|
+
* Read the authenticated learner or selected student_user_id summary and nested courses/sessions/deliveries/exams. Own access permits self or a Profile-verified child; unrelated students return 403 and Profile outages return 502.
|
|
2037
1971
|
* Calls `GET /api/v1/reports/student-summary` through the shared IDP-aware Faiber client.
|
|
2038
1972
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
2039
1973
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2040
|
-
* @returns The complete Axios response, including the typed
|
|
2041
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read_own.
|
|
1974
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1975
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read_own; trusted gateway identity plus any handler-local checks apply.
|
|
2042
1976
|
*/
|
|
2043
1977
|
reportStudentSummaryGet(params, options) {
|
|
2044
1978
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/student-summary`, params });
|
|
2045
1979
|
}
|
|
2046
1980
|
/**
|
|
2047
|
-
*
|
|
1981
|
+
* Read aggregate student classroom/attendance metrics. courses is omitted on this list; date/status filters apply through classroom scope. Requires broad report access.
|
|
2048
1982
|
* Calls `GET /api/v1/reports/students` through the shared IDP-aware Faiber client.
|
|
2049
1983
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
2050
1984
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2051
|
-
* @returns The complete Axios response, including the typed
|
|
2052
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read.
|
|
1985
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1986
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read; trusted gateway identity plus any handler-local checks apply.
|
|
2053
1987
|
*/
|
|
2054
1988
|
reportStudentsGet(params, options) {
|
|
2055
1989
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/students`, params });
|
|
2056
1990
|
}
|
|
2057
1991
|
/**
|
|
2058
|
-
*
|
|
1992
|
+
* Read aggregate classroom/student/session/attendance metrics grouped by assigned teacher. from/to accept RFC3339 or UTC dates and filter classroom starts; requires broad report access.
|
|
2059
1993
|
* Calls `GET /api/v1/reports/teachers` through the shared IDP-aware Faiber client.
|
|
2060
1994
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
2061
1995
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2062
|
-
* @returns The complete Axios response, including the typed
|
|
2063
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: lms:report:read.
|
|
1996
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
1997
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: IDP route metadata: lms:report:read; trusted gateway identity plus any handler-local checks apply.
|
|
2064
1998
|
*/
|
|
2065
1999
|
reportTeachersGet(params, options) {
|
|
2066
2000
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/reports/teachers`, params });
|
|
2067
2001
|
}
|
|
2068
2002
|
/**
|
|
2069
|
-
*
|
|
2003
|
+
* Check licence records through the mounted LMS service::routes handler.
|
|
2070
2004
|
* Calls `GET /api/v1/service/licence/check` through the shared IDP-aware Faiber client.
|
|
2071
2005
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
2072
2006
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2073
|
-
* @returns The complete Axios response, including the typed
|
|
2007
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
2074
2008
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: session-derived or public bootstrap route.
|
|
2075
2009
|
*/
|
|
2076
2010
|
serviceCheckLicenceGet(params, options) {
|
|
2077
2011
|
return this.client.request({ ...options, method: "GET", url: `/api/v1/service/licence/check`, params });
|
|
2078
2012
|
}
|
|
2079
2013
|
/**
|
|
2080
|
-
*
|
|
2014
|
+
* Read the LMS process version in a success envelope. This endpoint does not probe database readiness.
|
|
2081
2015
|
* Calls `GET /health` through the shared IDP-aware Faiber client.
|
|
2082
2016
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2083
|
-
* @returns The complete Axios response, including the typed
|
|
2084
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
2017
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
2018
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no handler permission check; deployment gateway policy is separate.
|
|
2085
2019
|
*/
|
|
2086
2020
|
routerStatusRouteGet(options) {
|
|
2087
2021
|
return this.client.request({ ...options, method: "GET", url: `/health` });
|
|
2088
2022
|
}
|
|
2023
|
+
/**
|
|
2024
|
+
* Read the LMS process version in a success envelope. This endpoint does not probe database readiness.
|
|
2025
|
+
* Calls `GET /up` through the shared IDP-aware Faiber client.
|
|
2026
|
+
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
2027
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
2028
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: no handler permission check; deployment gateway policy is separate.
|
|
2029
|
+
*/
|
|
2030
|
+
routerUpGet(options) {
|
|
2031
|
+
return this.client.request({ ...options, method: "GET", url: `/up` });
|
|
2032
|
+
}
|
|
2089
2033
|
}
|
|
2090
2034
|
//# sourceMappingURL=operations.js.map
|