@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.js CHANGED
@@ -326,6 +326,18 @@ var ExamsSessions = class {
326
326
  const args = typeof arg === "string" ? { examId: arg } : arg;
327
327
  return request(this.ctx, "POST", "/exams/{examId}/sessions/scan", ["examId"], [], false, args, options);
328
328
  }
329
+ releaseGrades(arg, options) {
330
+ const args = arg;
331
+ return request(this.ctx, "POST", "/exams/{examId}/sessions/release-grades", ["examId"], [], true, args, options);
332
+ }
333
+ scanImages(arg, options) {
334
+ const args = arg;
335
+ return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-images", ["examId"], [], true, args, options);
336
+ }
337
+ scanStudentName(arg, options) {
338
+ const args = arg;
339
+ return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-student-name", ["examId"], [], true, args, options);
340
+ }
329
341
  scanDocument(arg, options) {
330
342
  const args = arg;
331
343
  return request(this.ctx, "POST", "/exams/{examId}/sessions/scan-document", ["examId"], [], true, args, options);
@@ -342,6 +354,10 @@ var ExamsSessions = class {
342
354
  const args = arg;
343
355
  return request(this.ctx, "PATCH", "/exams/{examId}/sessions/{sessionId}", ["examId", "sessionId"], [], true, args, options);
344
356
  }
357
+ assignUser(arg, options) {
358
+ const args = arg;
359
+ return request(this.ctx, "PUT", "/exams/{examId}/sessions/{sessionId}/user", ["examId", "sessionId"], [], true, args, options);
360
+ }
345
361
  saveFeedback(arg, options) {
346
362
  const args = arg;
347
363
  return request(this.ctx, "POST", "/exams/{examId}/sessions/{sessionId}/feedback", ["examId", "sessionId"], [], true, args, options);
@@ -383,6 +399,10 @@ var ExamsQuestions = class {
383
399
  const args = arg;
384
400
  return request(this.ctx, "GET", "/exams/{examId}/questions/{questionId}", ["examId", "questionId"], ["format"], false, args, options);
385
401
  }
402
+ update(arg, options) {
403
+ const args = arg;
404
+ return request(this.ctx, "PATCH", "/exams/{examId}/questions/{questionId}", ["examId", "questionId"], [], true, args, options);
405
+ }
386
406
  regenerate(arg, options) {
387
407
  const args = arg;
388
408
  return request(this.ctx, "POST", "/exams/{examId}/questions/{questionId}/generate", ["examId", "questionId"], [], true, args, options);
@@ -607,7 +627,7 @@ var Permissions = class {
607
627
  }
608
628
  autocomplete(arg, options) {
609
629
  const args = arg;
610
- return request(this.ctx, "GET", "/permissions/autocomplete", [], ["q", "type"], false, args, options);
630
+ return request(this.ctx, "GET", "/permissions/autocomplete", [], ["q", "type", "role"], false, args, options);
611
631
  }
612
632
  list(arg, options) {
613
633
  const args = typeof arg === "string" ? { resource: arg } : arg;
@@ -740,6 +760,10 @@ var PracticeSpaces = class {
740
760
  const args = arg;
741
761
  return request(this.ctx, "POST", "/practice-spaces/{practiceSpaceId}/progress/topic-feedback", ["practiceSpaceId"], [], true, args, options);
742
762
  }
763
+ updateQuestion(arg, options) {
764
+ const args = arg;
765
+ return request(this.ctx, "PATCH", "/practice-spaces/{practiceSpaceId}/questions/{questionId}", ["practiceSpaceId", "questionId"], [], true, args, options);
766
+ }
743
767
  };
744
768
  var SourceMaterials = class {
745
769
  constructor(ctx) {