@examplary/sdk 2.8.0 → 2.9.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 +258 -15
- package/dist/index.d.ts +258 -15
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -291,6 +291,14 @@ 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
|
+
scanImages(arg, options) {
|
|
295
|
+
const args = arg;
|
|
296
|
+
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-images", ["examId"], [], true, args, options);
|
|
297
|
+
}
|
|
298
|
+
scanStudentName(arg, options) {
|
|
299
|
+
const args = arg;
|
|
300
|
+
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-student-name", ["examId"], [], true, args, options);
|
|
301
|
+
}
|
|
294
302
|
scanDocument(arg, options) {
|
|
295
303
|
const args = arg;
|
|
296
304
|
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-document", ["examId"], [], true, args, options);
|
|
@@ -348,6 +356,10 @@ var ExamsQuestions = class {
|
|
|
348
356
|
const args = arg;
|
|
349
357
|
return request(this.ctx, "GET", "/exams/{examId}/questions/{questionId}", ["examId", "questionId"], ["format"], false, args, options);
|
|
350
358
|
}
|
|
359
|
+
update(arg, options) {
|
|
360
|
+
const args = arg;
|
|
361
|
+
return request(this.ctx, "PATCH", "/exams/{examId}/questions/{questionId}", ["examId", "questionId"], [], true, args, options);
|
|
362
|
+
}
|
|
351
363
|
regenerate(arg, options) {
|
|
352
364
|
const args = arg;
|
|
353
365
|
return request(this.ctx, "POST", "/exams/{examId}/questions/{questionId}/generate", ["examId", "questionId"], [], true, args, options);
|
|
@@ -705,6 +717,10 @@ var PracticeSpaces = class {
|
|
|
705
717
|
const args = arg;
|
|
706
718
|
return request(this.ctx, "POST", "/practice-spaces/{practiceSpaceId}/progress/topic-feedback", ["practiceSpaceId"], [], true, args, options);
|
|
707
719
|
}
|
|
720
|
+
updateQuestion(arg, options) {
|
|
721
|
+
const args = arg;
|
|
722
|
+
return request(this.ctx, "PATCH", "/practice-spaces/{practiceSpaceId}/questions/{questionId}", ["practiceSpaceId", "questionId"], [], true, args, options);
|
|
723
|
+
}
|
|
708
724
|
};
|
|
709
725
|
var SourceMaterials = class {
|
|
710
726
|
constructor(ctx) {
|