@examplary/sdk 2.6.0 → 2.8.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 +413 -20
- package/dist/index.d.ts +413 -20
- package/dist/index.js +46 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -466,7 +466,11 @@ interface paths {
|
|
|
466
466
|
delete: operations["exams.sessions.delete"];
|
|
467
467
|
options?: never;
|
|
468
468
|
head?: never;
|
|
469
|
-
|
|
469
|
+
/**
|
|
470
|
+
* Update session
|
|
471
|
+
* @description Update an exam session. Currently supports renaming the student, which is not allowed for sessions taken by a signed-in student.
|
|
472
|
+
*/
|
|
473
|
+
patch: operations["exams.sessions.update"];
|
|
470
474
|
trace?: never;
|
|
471
475
|
};
|
|
472
476
|
"/exams/{id}/sessions/{sessionId}/feedback": {
|
|
@@ -814,11 +818,7 @@ interface paths {
|
|
|
814
818
|
*/
|
|
815
819
|
get: operations["exams.get"];
|
|
816
820
|
put?: never;
|
|
817
|
-
|
|
818
|
-
* Update exam
|
|
819
|
-
* @description Update an existing exam.
|
|
820
|
-
*/
|
|
821
|
-
post: operations["exams.update"];
|
|
821
|
+
post: operations["postExams:id"];
|
|
822
822
|
/**
|
|
823
823
|
* Delete exam
|
|
824
824
|
* @description Delete the exam.
|
|
@@ -826,7 +826,11 @@ interface paths {
|
|
|
826
826
|
delete: operations["exams.delete"];
|
|
827
827
|
options?: never;
|
|
828
828
|
head?: never;
|
|
829
|
-
|
|
829
|
+
/**
|
|
830
|
+
* Update exam
|
|
831
|
+
* @description Update an existing exam.
|
|
832
|
+
*/
|
|
833
|
+
patch: operations["exams.update"];
|
|
830
834
|
trace?: never;
|
|
831
835
|
};
|
|
832
836
|
"/exams/{id}/duplicate": {
|
|
@@ -1744,6 +1748,26 @@ interface paths {
|
|
|
1744
1748
|
patch?: never;
|
|
1745
1749
|
trace?: never;
|
|
1746
1750
|
};
|
|
1751
|
+
"/items": {
|
|
1752
|
+
parameters: {
|
|
1753
|
+
query?: never;
|
|
1754
|
+
header?: never;
|
|
1755
|
+
path?: never;
|
|
1756
|
+
cookie?: never;
|
|
1757
|
+
};
|
|
1758
|
+
/**
|
|
1759
|
+
* List items
|
|
1760
|
+
* @description Get a list of items (tests and practice spaces) within your workspace. Returns everything by default; filter by `type` or `folder`.
|
|
1761
|
+
*/
|
|
1762
|
+
get: operations["items.list"];
|
|
1763
|
+
put?: never;
|
|
1764
|
+
post?: never;
|
|
1765
|
+
delete?: never;
|
|
1766
|
+
options?: never;
|
|
1767
|
+
head?: never;
|
|
1768
|
+
patch?: never;
|
|
1769
|
+
trace?: never;
|
|
1770
|
+
};
|
|
1747
1771
|
"/folders": {
|
|
1748
1772
|
parameters: {
|
|
1749
1773
|
query?: never;
|
|
@@ -1777,11 +1801,7 @@ interface paths {
|
|
|
1777
1801
|
};
|
|
1778
1802
|
get?: never;
|
|
1779
1803
|
put?: never;
|
|
1780
|
-
|
|
1781
|
-
* Update folder
|
|
1782
|
-
* @description Update an existing folder in the current workspace.
|
|
1783
|
-
*/
|
|
1784
|
-
post: operations["folders.update"];
|
|
1804
|
+
post: operations["postFolders:id"];
|
|
1785
1805
|
/**
|
|
1786
1806
|
* Delete folder
|
|
1787
1807
|
* @description Delete a folder from the current workspace. If there are any exams in the folder, they will be moved out of the folder.
|
|
@@ -1789,7 +1809,11 @@ interface paths {
|
|
|
1789
1809
|
delete: operations["folders.delete"];
|
|
1790
1810
|
options?: never;
|
|
1791
1811
|
head?: never;
|
|
1792
|
-
|
|
1812
|
+
/**
|
|
1813
|
+
* Update folder
|
|
1814
|
+
* @description Update an existing folder in the current workspace.
|
|
1815
|
+
*/
|
|
1816
|
+
patch: operations["folders.update"];
|
|
1793
1817
|
trace?: never;
|
|
1794
1818
|
};
|
|
1795
1819
|
"/groups": {
|
|
@@ -1888,6 +1912,54 @@ interface paths {
|
|
|
1888
1912
|
patch: operations["groups.updateMember"];
|
|
1889
1913
|
trace?: never;
|
|
1890
1914
|
};
|
|
1915
|
+
"/integrations": {
|
|
1916
|
+
parameters: {
|
|
1917
|
+
query?: never;
|
|
1918
|
+
header?: never;
|
|
1919
|
+
path?: never;
|
|
1920
|
+
cookie?: never;
|
|
1921
|
+
};
|
|
1922
|
+
/**
|
|
1923
|
+
* List integrations
|
|
1924
|
+
* @description List all available integrations and whether they are configured for the current workspace. Settings and field metadata are only included for Admin/Owner.
|
|
1925
|
+
*/
|
|
1926
|
+
get: operations["integrations.list"];
|
|
1927
|
+
put?: never;
|
|
1928
|
+
post?: never;
|
|
1929
|
+
delete?: never;
|
|
1930
|
+
options?: never;
|
|
1931
|
+
head?: never;
|
|
1932
|
+
patch?: never;
|
|
1933
|
+
trace?: never;
|
|
1934
|
+
};
|
|
1935
|
+
"/integrations/{integrationType}": {
|
|
1936
|
+
parameters: {
|
|
1937
|
+
query?: never;
|
|
1938
|
+
header?: never;
|
|
1939
|
+
path?: never;
|
|
1940
|
+
cookie?: never;
|
|
1941
|
+
};
|
|
1942
|
+
/**
|
|
1943
|
+
* Get integration
|
|
1944
|
+
* @description Get a single integration configured for the current workspace.
|
|
1945
|
+
*/
|
|
1946
|
+
get: operations["integrations.get"];
|
|
1947
|
+
put?: never;
|
|
1948
|
+
/**
|
|
1949
|
+
* Configure integration
|
|
1950
|
+
* @description Create or update the integration of this type. Settings are validated against the integration before saving.
|
|
1951
|
+
*/
|
|
1952
|
+
post: operations["integrations.upsert"];
|
|
1953
|
+
/**
|
|
1954
|
+
* Remove integration
|
|
1955
|
+
* @description Remove the integration of this type from the current workspace.
|
|
1956
|
+
*/
|
|
1957
|
+
delete: operations["integrations.delete"];
|
|
1958
|
+
options?: never;
|
|
1959
|
+
head?: never;
|
|
1960
|
+
patch?: never;
|
|
1961
|
+
trace?: never;
|
|
1962
|
+
};
|
|
1891
1963
|
"/question-bank": {
|
|
1892
1964
|
parameters: {
|
|
1893
1965
|
query?: never;
|
|
@@ -2181,6 +2253,91 @@ interface operations {
|
|
|
2181
2253
|
/** @description Optional instructions to guide AI in grading this question type */
|
|
2182
2254
|
instructions?: string | string[];
|
|
2183
2255
|
};
|
|
2256
|
+
/** @description Options for response processing */
|
|
2257
|
+
responseProcessing?: {
|
|
2258
|
+
/** @description JSONata expression string starting with '=' that evaluates to a boolean to determine if the response is correct */
|
|
2259
|
+
condition: string;
|
|
2260
|
+
/** @description Array of test cases to validate the response processing logic for this question type */
|
|
2261
|
+
testCases?: {
|
|
2262
|
+
answer: {
|
|
2263
|
+
value?: (string | (string | null)[]) | null;
|
|
2264
|
+
} & {
|
|
2265
|
+
[key: string]: unknown;
|
|
2266
|
+
};
|
|
2267
|
+
question: {
|
|
2268
|
+
/** @description Question ID */
|
|
2269
|
+
id?: string;
|
|
2270
|
+
/** @description ID of the question type */
|
|
2271
|
+
type?: string;
|
|
2272
|
+
/** @description Title for the question (stem) */
|
|
2273
|
+
title?: string | null;
|
|
2274
|
+
/** @description Optional description for the question */
|
|
2275
|
+
description?: string | null;
|
|
2276
|
+
/** @description Settings for the question, often specific to the question type */
|
|
2277
|
+
settings?: {
|
|
2278
|
+
[key: string]: unknown;
|
|
2279
|
+
};
|
|
2280
|
+
/** @description Scoring configuration for the question */
|
|
2281
|
+
scoring?: {
|
|
2282
|
+
/** @description The type of rubric. Different rubric types have different shapes. */
|
|
2283
|
+
rubricType?: ("simple" | "analytical" | "holistic" | "exact-values") | null;
|
|
2284
|
+
/** @description The criteria for scoring the question. For 'simple' rubric type, criteria have no levels, and their points stack (total = sum of points for all criteria that apply). For 'analytical' rubric type, there should be at least one criteria, with levels. For each criteria, a matching level is picked. For 'holistic' rubric type, there should be multiple criteria, without levels (score = single selected criteria). For 'exact-values' rubric type, each criteria represents a specific value that must be matched exactly. */
|
|
2285
|
+
criteria?: {
|
|
2286
|
+
id: string;
|
|
2287
|
+
/** @description The title of the scoring criterion or level. Only applies to analytical levels and holistic criteria. */
|
|
2288
|
+
title?: string | null;
|
|
2289
|
+
/** @description The description of the scoring criterion or level. For analytical levels, this describes the specific requirements to earn the points for that level. For holistic criteria, this describes the overall requirement to earn the points for that criterion. */
|
|
2290
|
+
description?: string | null;
|
|
2291
|
+
/** @description The default amount of points to assign if this criterion or level is selected. */
|
|
2292
|
+
points?: number | null;
|
|
2293
|
+
/** @description The minimum amount of points that can be assigned if this criterion or level is selected. */
|
|
2294
|
+
minPoints?: number | null;
|
|
2295
|
+
/** @description The maximum amount of points that can be assigned if this criterion or level is selected. */
|
|
2296
|
+
maxPoints?: number | null;
|
|
2297
|
+
/** @description The levels of a analytical rubric criterion. Each level represents a different point value and description for the same criterion. */
|
|
2298
|
+
levels?: {
|
|
2299
|
+
id: string;
|
|
2300
|
+
/** @description The title of the scoring criterion or level. Only applies to analytical levels and holistic criteria. */
|
|
2301
|
+
title?: string | null;
|
|
2302
|
+
/** @description The description of the scoring criterion or level. For analytical levels, this describes the specific requirements to earn the points for that level. For holistic criteria, this describes the overall requirement to earn the points for that criterion. */
|
|
2303
|
+
description?: string | null;
|
|
2304
|
+
/** @description The default amount of points to assign if this criterion or level is selected. */
|
|
2305
|
+
points?: number | null;
|
|
2306
|
+
/** @description The minimum amount of points that can be assigned if this criterion or level is selected. */
|
|
2307
|
+
minPoints?: number | null;
|
|
2308
|
+
/** @description The maximum amount of points that can be assigned if this criterion or level is selected. */
|
|
2309
|
+
maxPoints?: number | null;
|
|
2310
|
+
}[] | null;
|
|
2311
|
+
}[] | null;
|
|
2312
|
+
/** @description Whether exact values matching should be case insensitive. Only applicable for 'exact-values' rubric type. */
|
|
2313
|
+
exactValuesCaseInsensitive?: boolean | null;
|
|
2314
|
+
/** @description Optional additional grading guidance text. */
|
|
2315
|
+
guidance?: string | null;
|
|
2316
|
+
/** @description Optional example model answer text to show to graders. */
|
|
2317
|
+
modelAnswer?: string | null;
|
|
2318
|
+
/** @description The ID of the scoring template applied, if any. */
|
|
2319
|
+
templateId?: string | null;
|
|
2320
|
+
} | null;
|
|
2321
|
+
/** @description Tags associated with the question for categorization and search */
|
|
2322
|
+
tags?: string[] | null;
|
|
2323
|
+
/** @description Optional external ID for the question, used to link to external systems */
|
|
2324
|
+
externalId?: string | null;
|
|
2325
|
+
/** @description Metadata for the question */
|
|
2326
|
+
metadata?: {
|
|
2327
|
+
[key: string]: string | number | boolean | null;
|
|
2328
|
+
} | null;
|
|
2329
|
+
/** @description Version number, incremented when question is edited */
|
|
2330
|
+
v?: number | null;
|
|
2331
|
+
/** @description ID of the question in the question bank */
|
|
2332
|
+
questionBankItemId?: string | null;
|
|
2333
|
+
/** @description Trace IDs for internal tracking of AI generation processes */
|
|
2334
|
+
traceIds?: string[] | null;
|
|
2335
|
+
} & {
|
|
2336
|
+
[key: string]: unknown;
|
|
2337
|
+
};
|
|
2338
|
+
expectedOutcome: boolean;
|
|
2339
|
+
}[];
|
|
2340
|
+
};
|
|
2184
2341
|
/** @description Options for AI question scanning */
|
|
2185
2342
|
scanning?: {
|
|
2186
2343
|
/** @description Optional instructions to guide AI in converting answers for this question type when scanning documents */
|
|
@@ -3098,6 +3255,25 @@ interface operations {
|
|
|
3098
3255
|
requestBody?: never;
|
|
3099
3256
|
responses: never;
|
|
3100
3257
|
};
|
|
3258
|
+
"exams.sessions.update": {
|
|
3259
|
+
parameters: {
|
|
3260
|
+
query?: never;
|
|
3261
|
+
header?: never;
|
|
3262
|
+
path: {
|
|
3263
|
+
id: string;
|
|
3264
|
+
sessionId: string;
|
|
3265
|
+
};
|
|
3266
|
+
cookie?: never;
|
|
3267
|
+
};
|
|
3268
|
+
requestBody?: {
|
|
3269
|
+
content: {
|
|
3270
|
+
"application/json": {
|
|
3271
|
+
studentName: string;
|
|
3272
|
+
};
|
|
3273
|
+
};
|
|
3274
|
+
};
|
|
3275
|
+
responses: never;
|
|
3276
|
+
};
|
|
3101
3277
|
"exams.sessions.saveFeedback": {
|
|
3102
3278
|
parameters: {
|
|
3103
3279
|
query?: never;
|
|
@@ -3581,7 +3757,7 @@ interface operations {
|
|
|
3581
3757
|
requestBody?: never;
|
|
3582
3758
|
responses: never;
|
|
3583
3759
|
};
|
|
3584
|
-
"
|
|
3760
|
+
"postExams:id": {
|
|
3585
3761
|
parameters: {
|
|
3586
3762
|
query?: never;
|
|
3587
3763
|
header?: never;
|
|
@@ -3605,6 +3781,18 @@ interface operations {
|
|
|
3605
3781
|
requestBody?: never;
|
|
3606
3782
|
responses: never;
|
|
3607
3783
|
};
|
|
3784
|
+
"exams.update": {
|
|
3785
|
+
parameters: {
|
|
3786
|
+
query?: never;
|
|
3787
|
+
header?: never;
|
|
3788
|
+
path: {
|
|
3789
|
+
id: string;
|
|
3790
|
+
};
|
|
3791
|
+
cookie?: never;
|
|
3792
|
+
};
|
|
3793
|
+
requestBody?: never;
|
|
3794
|
+
responses: never;
|
|
3795
|
+
};
|
|
3608
3796
|
"exams.duplicate": {
|
|
3609
3797
|
parameters: {
|
|
3610
3798
|
query?: never;
|
|
@@ -4124,6 +4312,15 @@ interface operations {
|
|
|
4124
4312
|
/** Format: date-time */
|
|
4125
4313
|
updatedAt: string;
|
|
4126
4314
|
createdBy: string;
|
|
4315
|
+
/** @description Present when the actor inherits access because the resource lives in a shared folder. */
|
|
4316
|
+
inheritedFrom?: {
|
|
4317
|
+
object: string;
|
|
4318
|
+
/** @constant */
|
|
4319
|
+
type: "folder";
|
|
4320
|
+
name?: string;
|
|
4321
|
+
/** @enum {string} */
|
|
4322
|
+
role: "owner" | "manager" | "editor" | "viewer" | "participant";
|
|
4323
|
+
};
|
|
4127
4324
|
}[];
|
|
4128
4325
|
};
|
|
4129
4326
|
};
|
|
@@ -4194,6 +4391,15 @@ interface operations {
|
|
|
4194
4391
|
/** Format: date-time */
|
|
4195
4392
|
updatedAt: string;
|
|
4196
4393
|
createdBy: string;
|
|
4394
|
+
/** @description Present when the actor inherits access because the resource lives in a shared folder. */
|
|
4395
|
+
inheritedFrom?: {
|
|
4396
|
+
object: string;
|
|
4397
|
+
/** @constant */
|
|
4398
|
+
type: "folder";
|
|
4399
|
+
name?: string;
|
|
4400
|
+
/** @enum {string} */
|
|
4401
|
+
role: "owner" | "manager" | "editor" | "viewer" | "participant";
|
|
4402
|
+
};
|
|
4197
4403
|
};
|
|
4198
4404
|
};
|
|
4199
4405
|
};
|
|
@@ -4244,6 +4450,15 @@ interface operations {
|
|
|
4244
4450
|
/** Format: date-time */
|
|
4245
4451
|
updatedAt: string;
|
|
4246
4452
|
createdBy: string;
|
|
4453
|
+
/** @description Present when the actor inherits access because the resource lives in a shared folder. */
|
|
4454
|
+
inheritedFrom?: {
|
|
4455
|
+
object: string;
|
|
4456
|
+
/** @constant */
|
|
4457
|
+
type: "folder";
|
|
4458
|
+
name?: string;
|
|
4459
|
+
/** @enum {string} */
|
|
4460
|
+
role: "owner" | "manager" | "editor" | "viewer" | "participant";
|
|
4461
|
+
};
|
|
4247
4462
|
};
|
|
4248
4463
|
};
|
|
4249
4464
|
};
|
|
@@ -4398,10 +4613,12 @@ interface operations {
|
|
|
4398
4613
|
taxonomyId?: string | null;
|
|
4399
4614
|
duration?: number | null;
|
|
4400
4615
|
intendedDuration?: unknown | null;
|
|
4401
|
-
enforceOrder?: boolean | null;
|
|
4402
4616
|
enforceTimeLimit?: boolean | null;
|
|
4617
|
+
enforceOrder?: boolean | null;
|
|
4403
4618
|
requirePasscode?: boolean | null;
|
|
4404
4619
|
passcode?: string | null;
|
|
4620
|
+
startDateTime?: string | null;
|
|
4621
|
+
endDateTime?: string | null;
|
|
4405
4622
|
showPoints?: boolean | null;
|
|
4406
4623
|
showFeedback?: boolean | null;
|
|
4407
4624
|
showTableOfContents?: boolean | null;
|
|
@@ -4498,10 +4715,12 @@ interface operations {
|
|
|
4498
4715
|
taxonomyId?: string | null;
|
|
4499
4716
|
duration?: number | null;
|
|
4500
4717
|
intendedDuration?: unknown | null;
|
|
4501
|
-
enforceOrder?: boolean | null;
|
|
4502
4718
|
enforceTimeLimit?: boolean | null;
|
|
4719
|
+
enforceOrder?: boolean | null;
|
|
4503
4720
|
requirePasscode?: boolean | null;
|
|
4504
4721
|
passcode?: string | null;
|
|
4722
|
+
startDateTime?: string | null;
|
|
4723
|
+
endDateTime?: string | null;
|
|
4505
4724
|
showPoints?: boolean | null;
|
|
4506
4725
|
showFeedback?: boolean | null;
|
|
4507
4726
|
showTableOfContents?: boolean | null;
|
|
@@ -5111,6 +5330,21 @@ interface operations {
|
|
|
5111
5330
|
};
|
|
5112
5331
|
};
|
|
5113
5332
|
};
|
|
5333
|
+
"items.list": {
|
|
5334
|
+
parameters: {
|
|
5335
|
+
query?: {
|
|
5336
|
+
/** @description Optional filter by item type. */
|
|
5337
|
+
type?: "exam" | "practice-space";
|
|
5338
|
+
/** @description Optional filter by folder ID, or `none` for items not in any folder. */
|
|
5339
|
+
folder?: string;
|
|
5340
|
+
};
|
|
5341
|
+
header?: never;
|
|
5342
|
+
path?: never;
|
|
5343
|
+
cookie?: never;
|
|
5344
|
+
};
|
|
5345
|
+
requestBody?: never;
|
|
5346
|
+
responses: never;
|
|
5347
|
+
};
|
|
5114
5348
|
"folders.list": {
|
|
5115
5349
|
parameters: {
|
|
5116
5350
|
query?: never;
|
|
@@ -5137,7 +5371,7 @@ interface operations {
|
|
|
5137
5371
|
};
|
|
5138
5372
|
responses: never;
|
|
5139
5373
|
};
|
|
5140
|
-
"
|
|
5374
|
+
"postFolders:id": {
|
|
5141
5375
|
parameters: {
|
|
5142
5376
|
query?: never;
|
|
5143
5377
|
header?: never;
|
|
@@ -5167,6 +5401,24 @@ interface operations {
|
|
|
5167
5401
|
requestBody?: never;
|
|
5168
5402
|
responses: never;
|
|
5169
5403
|
};
|
|
5404
|
+
"folders.update": {
|
|
5405
|
+
parameters: {
|
|
5406
|
+
query?: never;
|
|
5407
|
+
header?: never;
|
|
5408
|
+
path: {
|
|
5409
|
+
id: string;
|
|
5410
|
+
};
|
|
5411
|
+
cookie?: never;
|
|
5412
|
+
};
|
|
5413
|
+
requestBody?: {
|
|
5414
|
+
content: {
|
|
5415
|
+
"application/json": {
|
|
5416
|
+
name: string;
|
|
5417
|
+
};
|
|
5418
|
+
};
|
|
5419
|
+
};
|
|
5420
|
+
responses: never;
|
|
5421
|
+
};
|
|
5170
5422
|
"groups.list": {
|
|
5171
5423
|
parameters: {
|
|
5172
5424
|
query?: never;
|
|
@@ -5196,6 +5448,9 @@ interface operations {
|
|
|
5196
5448
|
content: {
|
|
5197
5449
|
"application/json": {
|
|
5198
5450
|
name: string;
|
|
5451
|
+
metadata?: {
|
|
5452
|
+
[key: string]: string | number | boolean | null;
|
|
5453
|
+
};
|
|
5199
5454
|
};
|
|
5200
5455
|
};
|
|
5201
5456
|
};
|
|
@@ -5262,7 +5517,10 @@ interface operations {
|
|
|
5262
5517
|
requestBody?: {
|
|
5263
5518
|
content: {
|
|
5264
5519
|
"application/json": {
|
|
5265
|
-
name
|
|
5520
|
+
name?: string | null;
|
|
5521
|
+
metadata?: {
|
|
5522
|
+
[key: string]: string | number | boolean | null;
|
|
5523
|
+
} | null;
|
|
5266
5524
|
};
|
|
5267
5525
|
};
|
|
5268
5526
|
};
|
|
@@ -5448,6 +5706,52 @@ interface operations {
|
|
|
5448
5706
|
};
|
|
5449
5707
|
};
|
|
5450
5708
|
};
|
|
5709
|
+
"integrations.list": {
|
|
5710
|
+
parameters: {
|
|
5711
|
+
query?: never;
|
|
5712
|
+
header?: never;
|
|
5713
|
+
path?: never;
|
|
5714
|
+
cookie?: never;
|
|
5715
|
+
};
|
|
5716
|
+
requestBody?: never;
|
|
5717
|
+
responses: never;
|
|
5718
|
+
};
|
|
5719
|
+
"integrations.get": {
|
|
5720
|
+
parameters: {
|
|
5721
|
+
query?: never;
|
|
5722
|
+
header?: never;
|
|
5723
|
+
path: {
|
|
5724
|
+
integrationType: string;
|
|
5725
|
+
};
|
|
5726
|
+
cookie?: never;
|
|
5727
|
+
};
|
|
5728
|
+
requestBody?: never;
|
|
5729
|
+
responses: never;
|
|
5730
|
+
};
|
|
5731
|
+
"integrations.upsert": {
|
|
5732
|
+
parameters: {
|
|
5733
|
+
query?: never;
|
|
5734
|
+
header?: never;
|
|
5735
|
+
path: {
|
|
5736
|
+
integrationType: string;
|
|
5737
|
+
};
|
|
5738
|
+
cookie?: never;
|
|
5739
|
+
};
|
|
5740
|
+
requestBody?: never;
|
|
5741
|
+
responses: never;
|
|
5742
|
+
};
|
|
5743
|
+
"integrations.delete": {
|
|
5744
|
+
parameters: {
|
|
5745
|
+
query?: never;
|
|
5746
|
+
header?: never;
|
|
5747
|
+
path: {
|
|
5748
|
+
integrationType: string;
|
|
5749
|
+
};
|
|
5750
|
+
cookie?: never;
|
|
5751
|
+
};
|
|
5752
|
+
requestBody?: never;
|
|
5753
|
+
responses: never;
|
|
5754
|
+
};
|
|
5451
5755
|
"questionBank.list": {
|
|
5452
5756
|
parameters: {
|
|
5453
5757
|
query?: never;
|
|
@@ -5953,6 +6257,10 @@ interface _PathOverrides {
|
|
|
5953
6257
|
examId: string;
|
|
5954
6258
|
sessionId: string;
|
|
5955
6259
|
};
|
|
6260
|
+
"exams.sessions.update": {
|
|
6261
|
+
examId: string;
|
|
6262
|
+
sessionId: string;
|
|
6263
|
+
};
|
|
5956
6264
|
"exams.sessions.saveFeedback": {
|
|
5957
6265
|
examId: string;
|
|
5958
6266
|
sessionId: string;
|
|
@@ -6023,6 +6331,9 @@ interface _PathOverrides {
|
|
|
6023
6331
|
"exams.update": {
|
|
6024
6332
|
id: string;
|
|
6025
6333
|
};
|
|
6334
|
+
"postExams:id": {
|
|
6335
|
+
id: string;
|
|
6336
|
+
};
|
|
6026
6337
|
"exams.delete": {
|
|
6027
6338
|
id: string;
|
|
6028
6339
|
};
|
|
@@ -6137,6 +6448,9 @@ interface _PathOverrides {
|
|
|
6137
6448
|
"folders.update": {
|
|
6138
6449
|
id: string;
|
|
6139
6450
|
};
|
|
6451
|
+
"postFolders:id": {
|
|
6452
|
+
id: string;
|
|
6453
|
+
};
|
|
6140
6454
|
"folders.delete": {
|
|
6141
6455
|
id: string;
|
|
6142
6456
|
};
|
|
@@ -6160,6 +6474,15 @@ interface _PathOverrides {
|
|
|
6160
6474
|
groupId: string;
|
|
6161
6475
|
userId: string;
|
|
6162
6476
|
};
|
|
6477
|
+
"integrations.get": {
|
|
6478
|
+
integrationType: string;
|
|
6479
|
+
};
|
|
6480
|
+
"integrations.upsert": {
|
|
6481
|
+
integrationType: string;
|
|
6482
|
+
};
|
|
6483
|
+
"integrations.delete": {
|
|
6484
|
+
integrationType: string;
|
|
6485
|
+
};
|
|
6163
6486
|
"questionBank.update": {
|
|
6164
6487
|
id: string;
|
|
6165
6488
|
};
|
|
@@ -6536,6 +6859,14 @@ declare class ExamsSessions {
|
|
|
6536
6859
|
* API endpoint: `DELETE /exams/{examId}/sessions/{sessionId}`
|
|
6537
6860
|
*/
|
|
6538
6861
|
delete(args: Args<"exams.sessions.delete">, options?: ExamplaryRequestOptions): Promise<Response<"exams.sessions.delete">>;
|
|
6862
|
+
/**
|
|
6863
|
+
* Update session
|
|
6864
|
+
*
|
|
6865
|
+
* Update an exam session. Currently supports renaming the student, which is not allowed for sessions taken by a signed-in student.
|
|
6866
|
+
*
|
|
6867
|
+
* API endpoint: `PATCH /exams/{examId}/sessions/{sessionId}`
|
|
6868
|
+
*/
|
|
6869
|
+
update(args: Args<"exams.sessions.update">, options?: ExamplaryRequestOptions): Promise<Response<"exams.sessions.update">>;
|
|
6539
6870
|
/**
|
|
6540
6871
|
* Provide feedback
|
|
6541
6872
|
*
|
|
@@ -6687,7 +7018,7 @@ declare class Exams {
|
|
|
6687
7018
|
*
|
|
6688
7019
|
* Update an existing exam.
|
|
6689
7020
|
*
|
|
6690
|
-
* API endpoint: `
|
|
7021
|
+
* API endpoint: `PATCH /exams/{id}`
|
|
6691
7022
|
*/
|
|
6692
7023
|
update(id: string, options?: ExamplaryRequestOptions): Promise<Response<"exams.update">>;
|
|
6693
7024
|
update(args: Args<"exams.update">, options?: ExamplaryRequestOptions): Promise<Response<"exams.update">>;
|
|
@@ -7269,6 +7600,18 @@ declare class SourceMaterials {
|
|
|
7269
7600
|
*/
|
|
7270
7601
|
slice(args: Args<"sourceMaterials.slice">, options?: ExamplaryRequestOptions): Promise<Response<"sourceMaterials.slice">>;
|
|
7271
7602
|
}
|
|
7603
|
+
declare class Items {
|
|
7604
|
+
private readonly ctx;
|
|
7605
|
+
constructor(ctx: ClientContext);
|
|
7606
|
+
/**
|
|
7607
|
+
* List items
|
|
7608
|
+
*
|
|
7609
|
+
* Get a list of items (tests and practice spaces) within your workspace. Returns everything by default; filter by `type` or `folder`.
|
|
7610
|
+
*
|
|
7611
|
+
* API endpoint: `GET /items`
|
|
7612
|
+
*/
|
|
7613
|
+
list(args?: Args<"items.list">, options?: ExamplaryRequestOptions): Promise<Response<"items.list">>;
|
|
7614
|
+
}
|
|
7272
7615
|
declare class Folders {
|
|
7273
7616
|
private readonly ctx;
|
|
7274
7617
|
constructor(ctx: ClientContext);
|
|
@@ -7293,7 +7636,7 @@ declare class Folders {
|
|
|
7293
7636
|
*
|
|
7294
7637
|
* Update an existing folder in the current workspace.
|
|
7295
7638
|
*
|
|
7296
|
-
* API endpoint: `
|
|
7639
|
+
* API endpoint: `PATCH /folders/{id}`
|
|
7297
7640
|
*/
|
|
7298
7641
|
update(args: Args<"folders.update">, options?: ExamplaryRequestOptions): Promise<Response<"folders.update">>;
|
|
7299
7642
|
/**
|
|
@@ -7376,6 +7719,45 @@ declare class Groups {
|
|
|
7376
7719
|
*/
|
|
7377
7720
|
removeMember(args: Args<"groups.removeMember">, options?: ExamplaryRequestOptions): Promise<Response<"groups.removeMember">>;
|
|
7378
7721
|
}
|
|
7722
|
+
declare class Integrations {
|
|
7723
|
+
private readonly ctx;
|
|
7724
|
+
constructor(ctx: ClientContext);
|
|
7725
|
+
/**
|
|
7726
|
+
* List integrations
|
|
7727
|
+
*
|
|
7728
|
+
* List all available integrations and whether they are configured for the current workspace. Settings and field metadata are only included for Admin/Owner.
|
|
7729
|
+
*
|
|
7730
|
+
* API endpoint: `GET /integrations`
|
|
7731
|
+
*/
|
|
7732
|
+
list(args?: Args<"integrations.list">, options?: ExamplaryRequestOptions): Promise<Response<"integrations.list">>;
|
|
7733
|
+
/**
|
|
7734
|
+
* Get integration
|
|
7735
|
+
*
|
|
7736
|
+
* Get a single integration configured for the current workspace.
|
|
7737
|
+
*
|
|
7738
|
+
* API endpoint: `GET /integrations/{integrationType}`
|
|
7739
|
+
*/
|
|
7740
|
+
get(integrationType: string, options?: ExamplaryRequestOptions): Promise<Response<"integrations.get">>;
|
|
7741
|
+
get(args: Args<"integrations.get">, options?: ExamplaryRequestOptions): Promise<Response<"integrations.get">>;
|
|
7742
|
+
/**
|
|
7743
|
+
* Configure integration
|
|
7744
|
+
*
|
|
7745
|
+
* Create or update the integration of this type. Settings are validated against the integration before saving.
|
|
7746
|
+
*
|
|
7747
|
+
* API endpoint: `POST /integrations/{integrationType}`
|
|
7748
|
+
*/
|
|
7749
|
+
upsert(integrationType: string, options?: ExamplaryRequestOptions): Promise<Response<"integrations.upsert">>;
|
|
7750
|
+
upsert(args: Args<"integrations.upsert">, options?: ExamplaryRequestOptions): Promise<Response<"integrations.upsert">>;
|
|
7751
|
+
/**
|
|
7752
|
+
* Remove integration
|
|
7753
|
+
*
|
|
7754
|
+
* Remove the integration of this type from the current workspace.
|
|
7755
|
+
*
|
|
7756
|
+
* API endpoint: `DELETE /integrations/{integrationType}`
|
|
7757
|
+
*/
|
|
7758
|
+
delete(integrationType: string, options?: ExamplaryRequestOptions): Promise<Response<"integrations.delete">>;
|
|
7759
|
+
delete(args: Args<"integrations.delete">, options?: ExamplaryRequestOptions): Promise<Response<"integrations.delete">>;
|
|
7760
|
+
}
|
|
7379
7761
|
declare class QuestionBank {
|
|
7380
7762
|
private readonly ctx;
|
|
7381
7763
|
constructor(ctx: ClientContext);
|
|
@@ -7492,12 +7874,23 @@ declare class Examplary {
|
|
|
7492
7874
|
readonly users: Users;
|
|
7493
7875
|
readonly practiceSpaces: PracticeSpaces;
|
|
7494
7876
|
readonly sourceMaterials: SourceMaterials;
|
|
7877
|
+
readonly items: Items;
|
|
7495
7878
|
readonly folders: Folders;
|
|
7496
7879
|
readonly groups: Groups;
|
|
7880
|
+
readonly integrations: Integrations;
|
|
7497
7881
|
readonly questionBank: QuestionBank;
|
|
7498
7882
|
readonly prompts: Prompts;
|
|
7499
7883
|
readonly jobs: Jobs;
|
|
7500
7884
|
constructor(options: ExamplaryClientOptions);
|
|
7885
|
+
/**
|
|
7886
|
+
* API endpoint: `POST /exams/{id}`
|
|
7887
|
+
*/
|
|
7888
|
+
postExamsId(id: string, options?: ExamplaryRequestOptions): Promise<Response<"postExams:id">>;
|
|
7889
|
+
postExamsId(args: Args<"postExams:id">, options?: ExamplaryRequestOptions): Promise<Response<"postExams:id">>;
|
|
7890
|
+
/**
|
|
7891
|
+
* API endpoint: `POST /folders/{id}`
|
|
7892
|
+
*/
|
|
7893
|
+
postFoldersId(args: Args<"postFolders:id">, options?: ExamplaryRequestOptions): Promise<Response<"postFolders:id">>;
|
|
7501
7894
|
/**
|
|
7502
7895
|
* Get rubrics
|
|
7503
7896
|
*
|