@examplary/sdk 2.10.0 → 2.12.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 +15 -7
- package/dist/index.d.ts +15 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -543,7 +543,7 @@ interface paths {
|
|
|
543
543
|
get?: never;
|
|
544
544
|
/**
|
|
545
545
|
* Assign session to user
|
|
546
|
-
* @description Connect an anonymous exam session to
|
|
546
|
+
* @description Connect an anonymous exam session to a student account, by user ID or email address (inviting a new student if needed). Optionally notifies the student that their results are available for review. Only allowed when the session is not connected to a user yet.
|
|
547
547
|
*/
|
|
548
548
|
put: operations["exams.sessions.assignUser"];
|
|
549
549
|
post?: never;
|
|
@@ -1788,8 +1788,8 @@ interface paths {
|
|
|
1788
1788
|
cookie?: never;
|
|
1789
1789
|
};
|
|
1790
1790
|
/**
|
|
1791
|
-
* List source materials
|
|
1792
|
-
* @description Returns a list of source materials
|
|
1791
|
+
* List source materials
|
|
1792
|
+
* @description Returns a list of source materials the current user has access to.
|
|
1793
1793
|
*/
|
|
1794
1794
|
get: operations["sourceMaterials.list"];
|
|
1795
1795
|
put?: never;
|
|
@@ -3330,7 +3330,7 @@ interface operations {
|
|
|
3330
3330
|
requestBody?: {
|
|
3331
3331
|
content: {
|
|
3332
3332
|
"application/json": {
|
|
3333
|
-
|
|
3333
|
+
sendNotification?: boolean;
|
|
3334
3334
|
};
|
|
3335
3335
|
};
|
|
3336
3336
|
};
|
|
@@ -3453,6 +3453,14 @@ interface operations {
|
|
|
3453
3453
|
content: {
|
|
3454
3454
|
"application/json": {
|
|
3455
3455
|
user: string;
|
|
3456
|
+
sendNotification?: boolean;
|
|
3457
|
+
} | {
|
|
3458
|
+
/**
|
|
3459
|
+
* Format: email
|
|
3460
|
+
* @description The email of the student to link. Creates a new student account if no user with this email exists yet.
|
|
3461
|
+
*/
|
|
3462
|
+
email: string;
|
|
3463
|
+
sendNotification?: boolean;
|
|
3456
3464
|
};
|
|
3457
3465
|
};
|
|
3458
3466
|
};
|
|
@@ -7207,7 +7215,7 @@ declare class ExamsSessions {
|
|
|
7207
7215
|
/**
|
|
7208
7216
|
* Assign session to user
|
|
7209
7217
|
*
|
|
7210
|
-
* Connect an anonymous exam session to
|
|
7218
|
+
* Connect an anonymous exam session to a student account, by user ID or email address (inviting a new student if needed). Optionally notifies the student that their results are available for review. Only allowed when the session is not connected to a user yet.
|
|
7211
7219
|
*
|
|
7212
7220
|
* API endpoint: `PUT /exams/{examId}/sessions/{sessionId}/user`
|
|
7213
7221
|
*/
|
|
@@ -7911,9 +7919,9 @@ declare class SourceMaterials {
|
|
|
7911
7919
|
private readonly ctx;
|
|
7912
7920
|
constructor(ctx: ClientContext);
|
|
7913
7921
|
/**
|
|
7914
|
-
* List source materials
|
|
7922
|
+
* List source materials
|
|
7915
7923
|
*
|
|
7916
|
-
* Returns a list of source materials
|
|
7924
|
+
* Returns a list of source materials the current user has access to.
|
|
7917
7925
|
*
|
|
7918
7926
|
* API endpoint: `GET /source-materials`
|
|
7919
7927
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -543,7 +543,7 @@ interface paths {
|
|
|
543
543
|
get?: never;
|
|
544
544
|
/**
|
|
545
545
|
* Assign session to user
|
|
546
|
-
* @description Connect an anonymous exam session to
|
|
546
|
+
* @description Connect an anonymous exam session to a student account, by user ID or email address (inviting a new student if needed). Optionally notifies the student that their results are available for review. Only allowed when the session is not connected to a user yet.
|
|
547
547
|
*/
|
|
548
548
|
put: operations["exams.sessions.assignUser"];
|
|
549
549
|
post?: never;
|
|
@@ -1788,8 +1788,8 @@ interface paths {
|
|
|
1788
1788
|
cookie?: never;
|
|
1789
1789
|
};
|
|
1790
1790
|
/**
|
|
1791
|
-
* List source materials
|
|
1792
|
-
* @description Returns a list of source materials
|
|
1791
|
+
* List source materials
|
|
1792
|
+
* @description Returns a list of source materials the current user has access to.
|
|
1793
1793
|
*/
|
|
1794
1794
|
get: operations["sourceMaterials.list"];
|
|
1795
1795
|
put?: never;
|
|
@@ -3330,7 +3330,7 @@ interface operations {
|
|
|
3330
3330
|
requestBody?: {
|
|
3331
3331
|
content: {
|
|
3332
3332
|
"application/json": {
|
|
3333
|
-
|
|
3333
|
+
sendNotification?: boolean;
|
|
3334
3334
|
};
|
|
3335
3335
|
};
|
|
3336
3336
|
};
|
|
@@ -3453,6 +3453,14 @@ interface operations {
|
|
|
3453
3453
|
content: {
|
|
3454
3454
|
"application/json": {
|
|
3455
3455
|
user: string;
|
|
3456
|
+
sendNotification?: boolean;
|
|
3457
|
+
} | {
|
|
3458
|
+
/**
|
|
3459
|
+
* Format: email
|
|
3460
|
+
* @description The email of the student to link. Creates a new student account if no user with this email exists yet.
|
|
3461
|
+
*/
|
|
3462
|
+
email: string;
|
|
3463
|
+
sendNotification?: boolean;
|
|
3456
3464
|
};
|
|
3457
3465
|
};
|
|
3458
3466
|
};
|
|
@@ -7207,7 +7215,7 @@ declare class ExamsSessions {
|
|
|
7207
7215
|
/**
|
|
7208
7216
|
* Assign session to user
|
|
7209
7217
|
*
|
|
7210
|
-
* Connect an anonymous exam session to
|
|
7218
|
+
* Connect an anonymous exam session to a student account, by user ID or email address (inviting a new student if needed). Optionally notifies the student that their results are available for review. Only allowed when the session is not connected to a user yet.
|
|
7211
7219
|
*
|
|
7212
7220
|
* API endpoint: `PUT /exams/{examId}/sessions/{sessionId}/user`
|
|
7213
7221
|
*/
|
|
@@ -7911,9 +7919,9 @@ declare class SourceMaterials {
|
|
|
7911
7919
|
private readonly ctx;
|
|
7912
7920
|
constructor(ctx: ClientContext);
|
|
7913
7921
|
/**
|
|
7914
|
-
* List source materials
|
|
7922
|
+
* List source materials
|
|
7915
7923
|
*
|
|
7916
|
-
* Returns a list of source materials
|
|
7924
|
+
* Returns a list of source materials the current user has access to.
|
|
7917
7925
|
*
|
|
7918
7926
|
* API endpoint: `GET /source-materials`
|
|
7919
7927
|
*/
|