@examplary/sdk 2.15.0 → 2.16.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 +108 -49
- package/dist/index.d.ts +108 -49
- package/dist/index.js +20 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -288,8 +288,8 @@ var ExamsSessions = class {
|
|
|
288
288
|
return request(this.ctx, "POST", "/exams/{examId}/sessions", ["examId"], [], true, args, options);
|
|
289
289
|
}
|
|
290
290
|
scan(arg, options) {
|
|
291
|
-
const args =
|
|
292
|
-
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan", ["examId"], [],
|
|
291
|
+
const args = arg;
|
|
292
|
+
return request(this.ctx, "POST", "/exams/{examId}/sessions/scan", ["examId"], [], true, args, options);
|
|
293
293
|
}
|
|
294
294
|
releaseGrades(arg, options) {
|
|
295
295
|
const args = arg;
|
|
@@ -509,10 +509,28 @@ var OrgCustomDomain = class {
|
|
|
509
509
|
return request(this.ctx, "POST", "/org/custom-domain", [], [], true, args, options);
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
|
+
var OrgIdentityProvider = class {
|
|
513
|
+
constructor(ctx) {
|
|
514
|
+
this.ctx = ctx;
|
|
515
|
+
}
|
|
516
|
+
get(arg, options) {
|
|
517
|
+
const args = arg;
|
|
518
|
+
return request(this.ctx, "GET", "/org/identity-provider", [], [], false, args, options);
|
|
519
|
+
}
|
|
520
|
+
update(arg, options) {
|
|
521
|
+
const args = arg;
|
|
522
|
+
return request(this.ctx, "POST", "/org/identity-provider", [], [], true, args, options);
|
|
523
|
+
}
|
|
524
|
+
delete(arg, options) {
|
|
525
|
+
const args = arg;
|
|
526
|
+
return request(this.ctx, "DELETE", "/org/identity-provider", [], [], false, args, options);
|
|
527
|
+
}
|
|
528
|
+
};
|
|
512
529
|
var Org = class {
|
|
513
530
|
constructor(ctx) {
|
|
514
531
|
this.ctx = ctx;
|
|
515
532
|
this.customDomain = new OrgCustomDomain(this.ctx);
|
|
533
|
+
this.identityProvider = new OrgIdentityProvider(this.ctx);
|
|
516
534
|
}
|
|
517
535
|
get(arg, options) {
|
|
518
536
|
const args = arg;
|
|
@@ -965,14 +983,6 @@ var Examplary = class {
|
|
|
965
983
|
this.prompts = new Prompts(this.ctx);
|
|
966
984
|
this.jobs = new Jobs(this.ctx);
|
|
967
985
|
}
|
|
968
|
-
postExamsId(arg, options) {
|
|
969
|
-
const args = typeof arg === "string" ? { id: arg } : arg;
|
|
970
|
-
return request(this.ctx, "POST", "/exams/{id}", ["id"], [], false, args, options);
|
|
971
|
-
}
|
|
972
|
-
postFoldersId(arg, options) {
|
|
973
|
-
const args = arg;
|
|
974
|
-
return request(this.ctx, "POST", "/folders/{id}", ["id"], [], true, args, options);
|
|
975
|
-
}
|
|
976
986
|
getRubrics(arg, options) {
|
|
977
987
|
const args = arg;
|
|
978
988
|
return request(this.ctx, "GET", "/rubrics", [], [], false, args, options);
|