@examplary/sdk 2.8.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 +378 -17
- package/dist/index.d.ts +378 -17
- package/dist/index.js +25 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -291,6 +291,18 @@ 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
|
+
}
|
|
298
|
+
scanImages(arg, options) {
|
|
299
|
+
const args = arg;
|
|
300
|
+
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-images", ["examId"], [], true, args, options);
|
|
301
|
+
}
|
|
302
|
+
scanStudentName(arg, options) {
|
|
303
|
+
const args = arg;
|
|
304
|
+
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-student-name", ["examId"], [], true, args, options);
|
|
305
|
+
}
|
|
294
306
|
scanDocument(arg, options) {
|
|
295
307
|
const args = arg;
|
|
296
308
|
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-document", ["examId"], [], true, args, options);
|
|
@@ -307,6 +319,10 @@ var ExamsSessions = class {
|
|
|
307
319
|
const args = arg;
|
|
308
320
|
return request(this.ctx, "PATCH", "/exams/{examId}/sessions/{sessionId}", ["examId", "sessionId"], [], true, args, options);
|
|
309
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
|
+
}
|
|
310
326
|
saveFeedback(arg, options) {
|
|
311
327
|
const args = arg;
|
|
312
328
|
return request(this.ctx, "POST", "/exams/{examId}/sessions/{sessionId}/feedback", ["examId", "sessionId"], [], true, args, options);
|
|
@@ -348,6 +364,10 @@ var ExamsQuestions = class {
|
|
|
348
364
|
const args = arg;
|
|
349
365
|
return request(this.ctx, "GET", "/exams/{examId}/questions/{questionId}", ["examId", "questionId"], ["format"], false, args, options);
|
|
350
366
|
}
|
|
367
|
+
update(arg, options) {
|
|
368
|
+
const args = arg;
|
|
369
|
+
return request(this.ctx, "PATCH", "/exams/{examId}/questions/{questionId}", ["examId", "questionId"], [], true, args, options);
|
|
370
|
+
}
|
|
351
371
|
regenerate(arg, options) {
|
|
352
372
|
const args = arg;
|
|
353
373
|
return request(this.ctx, "POST", "/exams/{examId}/questions/{questionId}/generate", ["examId", "questionId"], [], true, args, options);
|
|
@@ -572,7 +592,7 @@ var Permissions = class {
|
|
|
572
592
|
}
|
|
573
593
|
autocomplete(arg, options) {
|
|
574
594
|
const args = arg;
|
|
575
|
-
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);
|
|
576
596
|
}
|
|
577
597
|
list(arg, options) {
|
|
578
598
|
const args = typeof arg === "string" ? { resource: arg } : arg;
|
|
@@ -705,6 +725,10 @@ var PracticeSpaces = class {
|
|
|
705
725
|
const args = arg;
|
|
706
726
|
return request(this.ctx, "POST", "/practice-spaces/{practiceSpaceId}/progress/topic-feedback", ["practiceSpaceId"], [], true, args, options);
|
|
707
727
|
}
|
|
728
|
+
updateQuestion(arg, options) {
|
|
729
|
+
const args = arg;
|
|
730
|
+
return request(this.ctx, "PATCH", "/practice-spaces/{practiceSpaceId}/questions/{questionId}", ["practiceSpaceId", "questionId"], [], true, args, options);
|
|
731
|
+
}
|
|
708
732
|
};
|
|
709
733
|
var SourceMaterials = class {
|
|
710
734
|
constructor(ctx) {
|