@examplary/sdk 2.9.0 → 2.10.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/dist/index.d.mts +120 -2
- package/dist/index.d.ts +120 -2
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -291,6 +291,10 @@ var ExamsSessions = class {
|
|
|
291
291
|
const args = typeof arg === "string" ? { examId: arg } : arg;
|
|
292
292
|
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan", ["examId"], [], false, args, options);
|
|
293
293
|
}
|
|
294
|
+
releaseGrades(arg, options) {
|
|
295
|
+
const args = arg;
|
|
296
|
+
return request(this.ctx, "POST", "/exams/{examId}/sessions/release-grades", ["examId"], [], true, args, options);
|
|
297
|
+
}
|
|
294
298
|
scanImages(arg, options) {
|
|
295
299
|
const args = arg;
|
|
296
300
|
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-images", ["examId"], [], true, args, options);
|
|
@@ -315,6 +319,10 @@ var ExamsSessions = class {
|
|
|
315
319
|
const args = arg;
|
|
316
320
|
return request(this.ctx, "PATCH", "/exams/{examId}/sessions/{sessionId}", ["examId", "sessionId"], [], true, args, options);
|
|
317
321
|
}
|
|
322
|
+
assignUser(arg, options) {
|
|
323
|
+
const args = arg;
|
|
324
|
+
return request(this.ctx, "PUT", "/exams/{examId}/sessions/{sessionId}/user", ["examId", "sessionId"], [], true, args, options);
|
|
325
|
+
}
|
|
318
326
|
saveFeedback(arg, options) {
|
|
319
327
|
const args = arg;
|
|
320
328
|
return request(this.ctx, "POST", "/exams/{examId}/sessions/{sessionId}/feedback", ["examId", "sessionId"], [], true, args, options);
|
|
@@ -584,7 +592,7 @@ var Permissions = class {
|
|
|
584
592
|
}
|
|
585
593
|
autocomplete(arg, options) {
|
|
586
594
|
const args = arg;
|
|
587
|
-
return request(this.ctx, "GET", "/permissions/autocomplete", [], ["q", "type"], false, args, options);
|
|
595
|
+
return request(this.ctx, "GET", "/permissions/autocomplete", [], ["q", "type", "role"], false, args, options);
|
|
588
596
|
}
|
|
589
597
|
list(arg, options) {
|
|
590
598
|
const args = typeof arg === "string" ? { resource: arg } : arg;
|