@instructure/athena-api-client 3.6.0 → 3.6.1
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/README.md +0 -3
- package/dist/apis/StudyObjectiveConceptsApi.d.ts +5 -7
- package/dist/apis/StudyObjectiveConceptsApi.js +7 -10
- package/dist/esm/apis/StudyObjectiveConceptsApi.d.ts +5 -7
- package/dist/esm/apis/StudyObjectiveConceptsApi.js +7 -10
- package/dist/esm/models/StudyObjectiveConceptAttachment.d.ts +4 -4
- package/dist/esm/models/StudyObjectiveConceptAttachment.js +4 -4
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionItemStatus.d.ts +5 -11
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionItemStatus.js +4 -4
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionRequest.d.ts +8 -13
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionRequest.js +5 -8
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionResponse.d.ts +1 -1
- package/dist/esm/models/index.d.ts +0 -3
- package/dist/esm/models/index.js +0 -3
- package/dist/models/StudyObjectiveConceptAttachment.d.ts +4 -4
- package/dist/models/StudyObjectiveConceptAttachment.js +4 -4
- package/dist/models/TriggerStudyObjectiveConceptExtractionItemStatus.d.ts +5 -11
- package/dist/models/TriggerStudyObjectiveConceptExtractionItemStatus.js +4 -4
- package/dist/models/TriggerStudyObjectiveConceptExtractionRequest.d.ts +8 -13
- package/dist/models/TriggerStudyObjectiveConceptExtractionRequest.js +5 -8
- package/dist/models/TriggerStudyObjectiveConceptExtractionResponse.d.ts +1 -1
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -270,9 +270,6 @@ All URIs are relative to *http://localhost:3000*
|
|
|
270
270
|
- [TaxonomySummary](docs/TaxonomySummary.md)
|
|
271
271
|
- [TriggerStudyObjectiveConceptExtractionItemStatus](docs/TriggerStudyObjectiveConceptExtractionItemStatus.md)
|
|
272
272
|
- [TriggerStudyObjectiveConceptExtractionRequest](docs/TriggerStudyObjectiveConceptExtractionRequest.md)
|
|
273
|
-
- [TriggerStudyObjectiveConceptExtractionRequestItemsInner](docs/TriggerStudyObjectiveConceptExtractionRequestItemsInner.md)
|
|
274
|
-
- [TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf](docs/TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf.md)
|
|
275
|
-
- [TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf1](docs/TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf1.md)
|
|
276
273
|
- [TriggerStudyObjectiveConceptExtractionResponse](docs/TriggerStudyObjectiveConceptExtractionResponse.md)
|
|
277
274
|
- [TriggerSyllabusAnalysisRequest](docs/TriggerSyllabusAnalysisRequest.md)
|
|
278
275
|
- [TriggerSyllabusAnalysisRequestFile](docs/TriggerSyllabusAnalysisRequestFile.md)
|
|
@@ -12,10 +12,8 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { StudyObjectiveConceptAttachmentList, TriggerStudyObjectiveConceptExtractionRequest, TriggerStudyObjectiveConceptExtractionResponse } from '../models/index';
|
|
14
14
|
export interface ListStudyObjectiveConceptsRequest {
|
|
15
|
+
studyObjectiveIds: Array<string>;
|
|
15
16
|
xUserId: string;
|
|
16
|
-
canvasCourseId?: string;
|
|
17
|
-
canvasObjectIds?: Array<string>;
|
|
18
|
-
studyObjectiveIds?: Array<string>;
|
|
19
17
|
}
|
|
20
18
|
export interface TriggerStudyObjectiveConceptExtractionOperationRequest {
|
|
21
19
|
xUserId: string;
|
|
@@ -28,22 +26,22 @@ export interface TriggerStudyObjectiveConceptExtractionOperationRequest {
|
|
|
28
26
|
*/
|
|
29
27
|
export declare class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
30
28
|
/**
|
|
31
|
-
* Batch read of concept attachments for the
|
|
29
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
32
30
|
* List study-objective concept attachments
|
|
33
31
|
*/
|
|
34
32
|
listStudyObjectiveConceptsRaw(requestParameters: ListStudyObjectiveConceptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StudyObjectiveConceptAttachmentList>>;
|
|
35
33
|
/**
|
|
36
|
-
* Batch read of concept attachments for the
|
|
34
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
37
35
|
* List study-objective concept attachments
|
|
38
36
|
*/
|
|
39
37
|
listStudyObjectiveConcepts(requestParameters: ListStudyObjectiveConceptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StudyObjectiveConceptAttachmentList>;
|
|
40
38
|
/**
|
|
41
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
39
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
42
40
|
* Trigger study-objective concept extraction
|
|
43
41
|
*/
|
|
44
42
|
triggerStudyObjectiveConceptExtractionRaw(requestParameters: TriggerStudyObjectiveConceptExtractionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TriggerStudyObjectiveConceptExtractionResponse>>;
|
|
45
43
|
/**
|
|
46
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
44
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
47
45
|
* Trigger study-objective concept extraction
|
|
48
46
|
*/
|
|
49
47
|
triggerStudyObjectiveConceptExtraction(requestParameters: TriggerStudyObjectiveConceptExtractionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TriggerStudyObjectiveConceptExtractionResponse>;
|
|
@@ -30,21 +30,18 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* Batch read of concept attachments for the
|
|
33
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
34
34
|
* List study-objective concept attachments
|
|
35
35
|
*/
|
|
36
36
|
listStudyObjectiveConceptsRaw(requestParameters, initOverrides) {
|
|
37
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
if (requestParameters['studyObjectiveIds'] == null) {
|
|
39
|
+
throw new runtime.RequiredError('studyObjectiveIds', 'Required parameter "studyObjectiveIds" was null or undefined when calling listStudyObjectiveConcepts().');
|
|
40
|
+
}
|
|
38
41
|
if (requestParameters['xUserId'] == null) {
|
|
39
42
|
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling listStudyObjectiveConcepts().');
|
|
40
43
|
}
|
|
41
44
|
const queryParameters = {};
|
|
42
|
-
if (requestParameters['canvasCourseId'] != null) {
|
|
43
|
-
queryParameters['canvasCourseId'] = requestParameters['canvasCourseId'];
|
|
44
|
-
}
|
|
45
|
-
if (requestParameters['canvasObjectIds'] != null) {
|
|
46
|
-
queryParameters['canvasObjectIds'] = requestParameters['canvasObjectIds'];
|
|
47
|
-
}
|
|
48
45
|
if (requestParameters['studyObjectiveIds'] != null) {
|
|
49
46
|
queryParameters['studyObjectiveIds'] = requestParameters['studyObjectiveIds'];
|
|
50
47
|
}
|
|
@@ -66,7 +63,7 @@ class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
|
66
63
|
});
|
|
67
64
|
}
|
|
68
65
|
/**
|
|
69
|
-
* Batch read of concept attachments for the
|
|
66
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
70
67
|
* List study-objective concept attachments
|
|
71
68
|
*/
|
|
72
69
|
listStudyObjectiveConcepts(requestParameters, initOverrides) {
|
|
@@ -76,7 +73,7 @@ class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
|
76
73
|
});
|
|
77
74
|
}
|
|
78
75
|
/**
|
|
79
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
76
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
80
77
|
* Trigger study-objective concept extraction
|
|
81
78
|
*/
|
|
82
79
|
triggerStudyObjectiveConceptExtractionRaw(requestParameters, initOverrides) {
|
|
@@ -114,7 +111,7 @@ class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
|
114
111
|
});
|
|
115
112
|
}
|
|
116
113
|
/**
|
|
117
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
114
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
118
115
|
* Trigger study-objective concept extraction
|
|
119
116
|
*/
|
|
120
117
|
triggerStudyObjectiveConceptExtraction(requestParameters, initOverrides) {
|
|
@@ -12,10 +12,8 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { StudyObjectiveConceptAttachmentList, TriggerStudyObjectiveConceptExtractionRequest, TriggerStudyObjectiveConceptExtractionResponse } from '../models/index';
|
|
14
14
|
export interface ListStudyObjectiveConceptsRequest {
|
|
15
|
+
studyObjectiveIds: Array<string>;
|
|
15
16
|
xUserId: string;
|
|
16
|
-
canvasCourseId?: string;
|
|
17
|
-
canvasObjectIds?: Array<string>;
|
|
18
|
-
studyObjectiveIds?: Array<string>;
|
|
19
17
|
}
|
|
20
18
|
export interface TriggerStudyObjectiveConceptExtractionOperationRequest {
|
|
21
19
|
xUserId: string;
|
|
@@ -28,22 +26,22 @@ export interface TriggerStudyObjectiveConceptExtractionOperationRequest {
|
|
|
28
26
|
*/
|
|
29
27
|
export declare class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
30
28
|
/**
|
|
31
|
-
* Batch read of concept attachments for the
|
|
29
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
32
30
|
* List study-objective concept attachments
|
|
33
31
|
*/
|
|
34
32
|
listStudyObjectiveConceptsRaw(requestParameters: ListStudyObjectiveConceptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StudyObjectiveConceptAttachmentList>>;
|
|
35
33
|
/**
|
|
36
|
-
* Batch read of concept attachments for the
|
|
34
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
37
35
|
* List study-objective concept attachments
|
|
38
36
|
*/
|
|
39
37
|
listStudyObjectiveConcepts(requestParameters: ListStudyObjectiveConceptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StudyObjectiveConceptAttachmentList>;
|
|
40
38
|
/**
|
|
41
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
39
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
42
40
|
* Trigger study-objective concept extraction
|
|
43
41
|
*/
|
|
44
42
|
triggerStudyObjectiveConceptExtractionRaw(requestParameters: TriggerStudyObjectiveConceptExtractionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TriggerStudyObjectiveConceptExtractionResponse>>;
|
|
45
43
|
/**
|
|
46
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
44
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
47
45
|
* Trigger study-objective concept extraction
|
|
48
46
|
*/
|
|
49
47
|
triggerStudyObjectiveConceptExtraction(requestParameters: TriggerStudyObjectiveConceptExtractionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TriggerStudyObjectiveConceptExtractionResponse>;
|
|
@@ -27,21 +27,18 @@ import { StudyObjectiveConceptAttachmentListFromJSON, TriggerStudyObjectiveConce
|
|
|
27
27
|
*/
|
|
28
28
|
export class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
* Batch read of concept attachments for the
|
|
30
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
31
31
|
* List study-objective concept attachments
|
|
32
32
|
*/
|
|
33
33
|
listStudyObjectiveConceptsRaw(requestParameters, initOverrides) {
|
|
34
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
if (requestParameters['studyObjectiveIds'] == null) {
|
|
36
|
+
throw new runtime.RequiredError('studyObjectiveIds', 'Required parameter "studyObjectiveIds" was null or undefined when calling listStudyObjectiveConcepts().');
|
|
37
|
+
}
|
|
35
38
|
if (requestParameters['xUserId'] == null) {
|
|
36
39
|
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling listStudyObjectiveConcepts().');
|
|
37
40
|
}
|
|
38
41
|
const queryParameters = {};
|
|
39
|
-
if (requestParameters['canvasCourseId'] != null) {
|
|
40
|
-
queryParameters['canvasCourseId'] = requestParameters['canvasCourseId'];
|
|
41
|
-
}
|
|
42
|
-
if (requestParameters['canvasObjectIds'] != null) {
|
|
43
|
-
queryParameters['canvasObjectIds'] = requestParameters['canvasObjectIds'];
|
|
44
|
-
}
|
|
45
42
|
if (requestParameters['studyObjectiveIds'] != null) {
|
|
46
43
|
queryParameters['studyObjectiveIds'] = requestParameters['studyObjectiveIds'];
|
|
47
44
|
}
|
|
@@ -63,7 +60,7 @@ export class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
|
63
60
|
});
|
|
64
61
|
}
|
|
65
62
|
/**
|
|
66
|
-
* Batch read of concept attachments for the
|
|
63
|
+
* Batch read of concept attachments for the caller\'s study objectives, identified by id. Returns one entry per requested objective with a status snapshot, last error (if any), and the attached concepts — read from the shared Canvas-object store for canvas-sourced objectives and from the per-objective store for custom objectives. Ownership is enforced: objectives the caller doesn\'t own return a `missing` status with no concepts.
|
|
67
64
|
* List study-objective concept attachments
|
|
68
65
|
*/
|
|
69
66
|
listStudyObjectiveConcepts(requestParameters, initOverrides) {
|
|
@@ -73,7 +70,7 @@ export class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
|
73
70
|
});
|
|
74
71
|
}
|
|
75
72
|
/**
|
|
76
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
73
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
77
74
|
* Trigger study-objective concept extraction
|
|
78
75
|
*/
|
|
79
76
|
triggerStudyObjectiveConceptExtractionRaw(requestParameters, initOverrides) {
|
|
@@ -111,7 +108,7 @@ export class StudyObjectiveConceptsApi extends runtime.BaseAPI {
|
|
|
111
108
|
});
|
|
112
109
|
}
|
|
113
110
|
/**
|
|
114
|
-
* Begins content assembly and LLM-driven concept extraction for one or more
|
|
111
|
+
* Begins content assembly and LLM-driven concept extraction for one or more study objectives, identified by id. Each objective is routed by its canvas link: a canvas-sourced objective extracts from live Canvas content (assignment, quiz, page, module item) and stores concepts on the shared Canvas object; a custom objective extracts from its title, notes, and attachments. Returns 202 with a per-objective status snapshot; extraction runs in the background. Canvas credentials are read from `X-Canvas-Token` / `X-Canvas-Domain` headers (never the body) and are required when the request includes a canvas-sourced objective.
|
|
115
112
|
* Trigger study-objective concept extraction
|
|
116
113
|
*/
|
|
117
114
|
triggerStudyObjectiveConceptExtraction(requestParameters, initOverrides) {
|
|
@@ -17,17 +17,17 @@ import type { StudyObjectiveConceptSummary } from './StudyObjectiveConceptSummar
|
|
|
17
17
|
*/
|
|
18
18
|
export interface StudyObjectiveConceptAttachment {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The study objective this attachment is for. The list endpoint returns one attachment per requested objective id.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof StudyObjectiveConceptAttachment
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
studyObjectiveId: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Which store served the concepts. `canvas_object` means the objective is canvas-sourced and its concepts are shared across the account via the linked Canvas object; `study_objective` means a custom objective with concepts private to it.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof StudyObjectiveConceptAttachment
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
kind: StudyObjectiveConceptAttachmentKindEnum;
|
|
31
31
|
/**
|
|
32
32
|
* Sidecar status snapshot. `missing` is returned for ids that have no sidecar row yet (kill switch off, first call, or trigger soft-failed).
|
|
33
33
|
* @type {string}
|
|
@@ -33,9 +33,9 @@ export const StudyObjectiveConceptAttachmentStatusEnum = {
|
|
|
33
33
|
* Check if a given object implements the StudyObjectiveConceptAttachment interface.
|
|
34
34
|
*/
|
|
35
35
|
export function instanceOfStudyObjectiveConceptAttachment(value) {
|
|
36
|
-
if (!('
|
|
36
|
+
if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
-
if (!('
|
|
38
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
39
39
|
return false;
|
|
40
40
|
if (!('status' in value) || value['status'] === undefined)
|
|
41
41
|
return false;
|
|
@@ -53,8 +53,8 @@ export function StudyObjectiveConceptAttachmentFromJSONTyped(json, ignoreDiscrim
|
|
|
53
53
|
return json;
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
56
|
+
'studyObjectiveId': json['studyObjectiveId'],
|
|
56
57
|
'kind': json['kind'],
|
|
57
|
-
'key': json['key'],
|
|
58
58
|
'status': json['status'],
|
|
59
59
|
'lastError': json['lastError'],
|
|
60
60
|
'concepts': (json['concepts'].map(StudyObjectiveConceptSummaryFromJSON)),
|
|
@@ -68,8 +68,8 @@ export function StudyObjectiveConceptAttachmentToJSONTyped(value, ignoreDiscrimi
|
|
|
68
68
|
return value;
|
|
69
69
|
}
|
|
70
70
|
return {
|
|
71
|
+
'studyObjectiveId': value['studyObjectiveId'],
|
|
71
72
|
'kind': value['kind'],
|
|
72
|
-
'key': value['key'],
|
|
73
73
|
'status': value['status'],
|
|
74
74
|
'lastError': value['lastError'],
|
|
75
75
|
'concepts': (value['concepts'].map(StudyObjectiveConceptSummaryToJSON)),
|
|
@@ -16,25 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface TriggerStudyObjectiveConceptExtractionItemStatus {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The requested study objective.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Canvas object id from the request (present when kind = canvas_object).
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
28
|
-
*/
|
|
29
|
-
canvasObjectId?: string;
|
|
23
|
+
studyObjectiveId: string;
|
|
30
24
|
/**
|
|
31
|
-
*
|
|
25
|
+
* Which storage path the extraction took. `canvas_object` means the objective is canvas-sourced (concepts shared across the account via the linked Canvas object); `study_objective` means a custom objective tracked on its own.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
34
28
|
*/
|
|
35
|
-
|
|
29
|
+
kind: TriggerStudyObjectiveConceptExtractionItemStatusKindEnum;
|
|
36
30
|
/**
|
|
37
|
-
* Sidecar status snapshot at the moment the trigger returned. `cooling-down` (canvas only) means a recent Canvas 429 set a cooldown. `skipped-disabled` is returned for every
|
|
31
|
+
* Sidecar status snapshot at the moment the trigger returned. `cooling-down` (canvas-sourced only) means a recent Canvas 429 set a cooldown. `skipped-disabled` is returned for every objective when the kill switch is off. `not-found` means the objective isn't owned by the caller, so no sidecar was created.
|
|
38
32
|
* @type {string}
|
|
39
33
|
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
40
34
|
*/
|
|
@@ -34,6 +34,8 @@ export const TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum = {
|
|
|
34
34
|
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionItemStatus interface.
|
|
35
35
|
*/
|
|
36
36
|
export function instanceOfTriggerStudyObjectiveConceptExtractionItemStatus(value) {
|
|
37
|
+
if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
|
|
38
|
+
return false;
|
|
37
39
|
if (!('kind' in value) || value['kind'] === undefined)
|
|
38
40
|
return false;
|
|
39
41
|
if (!('status' in value) || value['status'] === undefined)
|
|
@@ -48,9 +50,8 @@ export function TriggerStudyObjectiveConceptExtractionItemStatusFromJSONTyped(js
|
|
|
48
50
|
return json;
|
|
49
51
|
}
|
|
50
52
|
return {
|
|
53
|
+
'studyObjectiveId': json['studyObjectiveId'],
|
|
51
54
|
'kind': json['kind'],
|
|
52
|
-
'canvasObjectId': json['canvasObjectId'] == null ? undefined : json['canvasObjectId'],
|
|
53
|
-
'studyObjectiveId': json['studyObjectiveId'] == null ? undefined : json['studyObjectiveId'],
|
|
54
55
|
'status': json['status'],
|
|
55
56
|
};
|
|
56
57
|
}
|
|
@@ -62,9 +63,8 @@ export function TriggerStudyObjectiveConceptExtractionItemStatusToJSONTyped(valu
|
|
|
62
63
|
return value;
|
|
63
64
|
}
|
|
64
65
|
return {
|
|
65
|
-
'kind': value['kind'],
|
|
66
|
-
'canvasObjectId': value['canvasObjectId'],
|
|
67
66
|
'studyObjectiveId': value['studyObjectiveId'],
|
|
67
|
+
'kind': value['kind'],
|
|
68
68
|
'status': value['status'],
|
|
69
69
|
};
|
|
70
70
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { TriggerStudyObjectiveConceptExtractionRequestItemsInner } from './TriggerStudyObjectiveConceptExtractionRequestItemsInner';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -17,23 +16,19 @@ import type { TriggerStudyObjectiveConceptExtractionRequestItemsInner } from './
|
|
|
17
16
|
*/
|
|
18
17
|
export interface TriggerStudyObjectiveConceptExtractionRequest {
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
19
|
+
* One to fifty study-objective UUIDs (custom and/or canvas-sourced) owned by the caller, whose concepts should be extracted.
|
|
20
|
+
* @type {Array<string>}
|
|
22
21
|
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
23
22
|
*/
|
|
24
|
-
|
|
23
|
+
studyObjectiveIds: Array<string>;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
25
|
+
* Course syllabus HTML/text keyed by Canvas local course id, applied to canvas-sourced objectives only.
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
28
27
|
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
29
28
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* @type {Array<TriggerStudyObjectiveConceptExtractionRequestItemsInner>}
|
|
34
|
-
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
35
|
-
*/
|
|
36
|
-
items: Array<TriggerStudyObjectiveConceptExtractionRequestItemsInner>;
|
|
29
|
+
syllabusHtmlByCanvasCourseId?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
37
32
|
}
|
|
38
33
|
/**
|
|
39
34
|
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequest interface.
|
|
@@ -11,12 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON, TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON, } from './TriggerStudyObjectiveConceptExtractionRequestItemsInner';
|
|
15
14
|
/**
|
|
16
15
|
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequest interface.
|
|
17
16
|
*/
|
|
18
17
|
export function instanceOfTriggerStudyObjectiveConceptExtractionRequest(value) {
|
|
19
|
-
if (!('
|
|
18
|
+
if (!('studyObjectiveIds' in value) || value['studyObjectiveIds'] === undefined)
|
|
20
19
|
return false;
|
|
21
20
|
return true;
|
|
22
21
|
}
|
|
@@ -28,9 +27,8 @@ export function TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped(json,
|
|
|
28
27
|
return json;
|
|
29
28
|
}
|
|
30
29
|
return {
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'items': (json['items'].map(TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON)),
|
|
30
|
+
'studyObjectiveIds': json['studyObjectiveIds'],
|
|
31
|
+
'syllabusHtmlByCanvasCourseId': json['syllabusHtmlByCanvasCourseId'] == null ? undefined : json['syllabusHtmlByCanvasCourseId'],
|
|
34
32
|
};
|
|
35
33
|
}
|
|
36
34
|
export function TriggerStudyObjectiveConceptExtractionRequestToJSON(json) {
|
|
@@ -41,8 +39,7 @@ export function TriggerStudyObjectiveConceptExtractionRequestToJSONTyped(value,
|
|
|
41
39
|
return value;
|
|
42
40
|
}
|
|
43
41
|
return {
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'items': (value['items'].map(TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON)),
|
|
42
|
+
'studyObjectiveIds': value['studyObjectiveIds'],
|
|
43
|
+
'syllabusHtmlByCanvasCourseId': value['syllabusHtmlByCanvasCourseId'],
|
|
47
44
|
};
|
|
48
45
|
}
|
|
@@ -17,7 +17,7 @@ import type { TriggerStudyObjectiveConceptExtractionItemStatus } from './Trigger
|
|
|
17
17
|
*/
|
|
18
18
|
export interface TriggerStudyObjectiveConceptExtractionResponse {
|
|
19
19
|
/**
|
|
20
|
-
* One entry per requested
|
|
20
|
+
* One entry per requested study objective, in request order.
|
|
21
21
|
* @type {Array<TriggerStudyObjectiveConceptExtractionItemStatus>}
|
|
22
22
|
* @memberof TriggerStudyObjectiveConceptExtractionResponse
|
|
23
23
|
*/
|
|
@@ -105,9 +105,6 @@ export * from './TaxonomyProgressNode';
|
|
|
105
105
|
export * from './TaxonomySummary';
|
|
106
106
|
export * from './TriggerStudyObjectiveConceptExtractionItemStatus';
|
|
107
107
|
export * from './TriggerStudyObjectiveConceptExtractionRequest';
|
|
108
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInner';
|
|
109
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf';
|
|
110
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf1';
|
|
111
108
|
export * from './TriggerStudyObjectiveConceptExtractionResponse';
|
|
112
109
|
export * from './TriggerSyllabusAnalysisRequest';
|
|
113
110
|
export * from './TriggerSyllabusAnalysisRequestFile';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -107,9 +107,6 @@ export * from './TaxonomyProgressNode';
|
|
|
107
107
|
export * from './TaxonomySummary';
|
|
108
108
|
export * from './TriggerStudyObjectiveConceptExtractionItemStatus';
|
|
109
109
|
export * from './TriggerStudyObjectiveConceptExtractionRequest';
|
|
110
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInner';
|
|
111
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf';
|
|
112
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf1';
|
|
113
110
|
export * from './TriggerStudyObjectiveConceptExtractionResponse';
|
|
114
111
|
export * from './TriggerSyllabusAnalysisRequest';
|
|
115
112
|
export * from './TriggerSyllabusAnalysisRequestFile';
|
|
@@ -17,17 +17,17 @@ import type { StudyObjectiveConceptSummary } from './StudyObjectiveConceptSummar
|
|
|
17
17
|
*/
|
|
18
18
|
export interface StudyObjectiveConceptAttachment {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The study objective this attachment is for. The list endpoint returns one attachment per requested objective id.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof StudyObjectiveConceptAttachment
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
studyObjectiveId: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Which store served the concepts. `canvas_object` means the objective is canvas-sourced and its concepts are shared across the account via the linked Canvas object; `study_objective` means a custom objective with concepts private to it.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof StudyObjectiveConceptAttachment
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
kind: StudyObjectiveConceptAttachmentKindEnum;
|
|
31
31
|
/**
|
|
32
32
|
* Sidecar status snapshot. `missing` is returned for ids that have no sidecar row yet (kill switch off, first call, or trigger soft-failed).
|
|
33
33
|
* @type {string}
|
|
@@ -41,9 +41,9 @@ exports.StudyObjectiveConceptAttachmentStatusEnum = {
|
|
|
41
41
|
* Check if a given object implements the StudyObjectiveConceptAttachment interface.
|
|
42
42
|
*/
|
|
43
43
|
function instanceOfStudyObjectiveConceptAttachment(value) {
|
|
44
|
-
if (!('
|
|
44
|
+
if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
|
|
45
45
|
return false;
|
|
46
|
-
if (!('
|
|
46
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
47
47
|
return false;
|
|
48
48
|
if (!('status' in value) || value['status'] === undefined)
|
|
49
49
|
return false;
|
|
@@ -61,8 +61,8 @@ function StudyObjectiveConceptAttachmentFromJSONTyped(json, ignoreDiscriminator)
|
|
|
61
61
|
return json;
|
|
62
62
|
}
|
|
63
63
|
return {
|
|
64
|
+
'studyObjectiveId': json['studyObjectiveId'],
|
|
64
65
|
'kind': json['kind'],
|
|
65
|
-
'key': json['key'],
|
|
66
66
|
'status': json['status'],
|
|
67
67
|
'lastError': json['lastError'],
|
|
68
68
|
'concepts': (json['concepts'].map(StudyObjectiveConceptSummary_1.StudyObjectiveConceptSummaryFromJSON)),
|
|
@@ -76,8 +76,8 @@ function StudyObjectiveConceptAttachmentToJSONTyped(value, ignoreDiscriminator =
|
|
|
76
76
|
return value;
|
|
77
77
|
}
|
|
78
78
|
return {
|
|
79
|
+
'studyObjectiveId': value['studyObjectiveId'],
|
|
79
80
|
'kind': value['kind'],
|
|
80
|
-
'key': value['key'],
|
|
81
81
|
'status': value['status'],
|
|
82
82
|
'lastError': value['lastError'],
|
|
83
83
|
'concepts': (value['concepts'].map(StudyObjectiveConceptSummary_1.StudyObjectiveConceptSummaryToJSON)),
|
|
@@ -16,25 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface TriggerStudyObjectiveConceptExtractionItemStatus {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The requested study objective.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Canvas object id from the request (present when kind = canvas_object).
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
28
|
-
*/
|
|
29
|
-
canvasObjectId?: string;
|
|
23
|
+
studyObjectiveId: string;
|
|
30
24
|
/**
|
|
31
|
-
*
|
|
25
|
+
* Which storage path the extraction took. `canvas_object` means the objective is canvas-sourced (concepts shared across the account via the linked Canvas object); `study_objective` means a custom objective tracked on its own.
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
34
28
|
*/
|
|
35
|
-
|
|
29
|
+
kind: TriggerStudyObjectiveConceptExtractionItemStatusKindEnum;
|
|
36
30
|
/**
|
|
37
|
-
* Sidecar status snapshot at the moment the trigger returned. `cooling-down` (canvas only) means a recent Canvas 429 set a cooldown. `skipped-disabled` is returned for every
|
|
31
|
+
* Sidecar status snapshot at the moment the trigger returned. `cooling-down` (canvas-sourced only) means a recent Canvas 429 set a cooldown. `skipped-disabled` is returned for every objective when the kill switch is off. `not-found` means the objective isn't owned by the caller, so no sidecar was created.
|
|
38
32
|
* @type {string}
|
|
39
33
|
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
40
34
|
*/
|
|
@@ -42,6 +42,8 @@ exports.TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum = {
|
|
|
42
42
|
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionItemStatus interface.
|
|
43
43
|
*/
|
|
44
44
|
function instanceOfTriggerStudyObjectiveConceptExtractionItemStatus(value) {
|
|
45
|
+
if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
|
|
46
|
+
return false;
|
|
45
47
|
if (!('kind' in value) || value['kind'] === undefined)
|
|
46
48
|
return false;
|
|
47
49
|
if (!('status' in value) || value['status'] === undefined)
|
|
@@ -56,9 +58,8 @@ function TriggerStudyObjectiveConceptExtractionItemStatusFromJSONTyped(json, ign
|
|
|
56
58
|
return json;
|
|
57
59
|
}
|
|
58
60
|
return {
|
|
61
|
+
'studyObjectiveId': json['studyObjectiveId'],
|
|
59
62
|
'kind': json['kind'],
|
|
60
|
-
'canvasObjectId': json['canvasObjectId'] == null ? undefined : json['canvasObjectId'],
|
|
61
|
-
'studyObjectiveId': json['studyObjectiveId'] == null ? undefined : json['studyObjectiveId'],
|
|
62
63
|
'status': json['status'],
|
|
63
64
|
};
|
|
64
65
|
}
|
|
@@ -70,9 +71,8 @@ function TriggerStudyObjectiveConceptExtractionItemStatusToJSONTyped(value, igno
|
|
|
70
71
|
return value;
|
|
71
72
|
}
|
|
72
73
|
return {
|
|
73
|
-
'kind': value['kind'],
|
|
74
|
-
'canvasObjectId': value['canvasObjectId'],
|
|
75
74
|
'studyObjectiveId': value['studyObjectiveId'],
|
|
75
|
+
'kind': value['kind'],
|
|
76
76
|
'status': value['status'],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { TriggerStudyObjectiveConceptExtractionRequestItemsInner } from './TriggerStudyObjectiveConceptExtractionRequestItemsInner';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -17,23 +16,19 @@ import type { TriggerStudyObjectiveConceptExtractionRequestItemsInner } from './
|
|
|
17
16
|
*/
|
|
18
17
|
export interface TriggerStudyObjectiveConceptExtractionRequest {
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
19
|
+
* One to fifty study-objective UUIDs (custom and/or canvas-sourced) owned by the caller, whose concepts should be extracted.
|
|
20
|
+
* @type {Array<string>}
|
|
22
21
|
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
23
22
|
*/
|
|
24
|
-
|
|
23
|
+
studyObjectiveIds: Array<string>;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
25
|
+
* Course syllabus HTML/text keyed by Canvas local course id, applied to canvas-sourced objectives only.
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
28
27
|
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
29
28
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* @type {Array<TriggerStudyObjectiveConceptExtractionRequestItemsInner>}
|
|
34
|
-
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
35
|
-
*/
|
|
36
|
-
items: Array<TriggerStudyObjectiveConceptExtractionRequestItemsInner>;
|
|
29
|
+
syllabusHtmlByCanvasCourseId?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
37
32
|
}
|
|
38
33
|
/**
|
|
39
34
|
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequest interface.
|
|
@@ -18,12 +18,11 @@ exports.TriggerStudyObjectiveConceptExtractionRequestFromJSON = TriggerStudyObje
|
|
|
18
18
|
exports.TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped = TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped;
|
|
19
19
|
exports.TriggerStudyObjectiveConceptExtractionRequestToJSON = TriggerStudyObjectiveConceptExtractionRequestToJSON;
|
|
20
20
|
exports.TriggerStudyObjectiveConceptExtractionRequestToJSONTyped = TriggerStudyObjectiveConceptExtractionRequestToJSONTyped;
|
|
21
|
-
const TriggerStudyObjectiveConceptExtractionRequestItemsInner_1 = require("./TriggerStudyObjectiveConceptExtractionRequestItemsInner");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequest interface.
|
|
24
23
|
*/
|
|
25
24
|
function instanceOfTriggerStudyObjectiveConceptExtractionRequest(value) {
|
|
26
|
-
if (!('
|
|
25
|
+
if (!('studyObjectiveIds' in value) || value['studyObjectiveIds'] === undefined)
|
|
27
26
|
return false;
|
|
28
27
|
return true;
|
|
29
28
|
}
|
|
@@ -35,9 +34,8 @@ function TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped(json, ignore
|
|
|
35
34
|
return json;
|
|
36
35
|
}
|
|
37
36
|
return {
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'items': (json['items'].map(TriggerStudyObjectiveConceptExtractionRequestItemsInner_1.TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON)),
|
|
37
|
+
'studyObjectiveIds': json['studyObjectiveIds'],
|
|
38
|
+
'syllabusHtmlByCanvasCourseId': json['syllabusHtmlByCanvasCourseId'] == null ? undefined : json['syllabusHtmlByCanvasCourseId'],
|
|
41
39
|
};
|
|
42
40
|
}
|
|
43
41
|
function TriggerStudyObjectiveConceptExtractionRequestToJSON(json) {
|
|
@@ -48,8 +46,7 @@ function TriggerStudyObjectiveConceptExtractionRequestToJSONTyped(value, ignoreD
|
|
|
48
46
|
return value;
|
|
49
47
|
}
|
|
50
48
|
return {
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'items': (value['items'].map(TriggerStudyObjectiveConceptExtractionRequestItemsInner_1.TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON)),
|
|
49
|
+
'studyObjectiveIds': value['studyObjectiveIds'],
|
|
50
|
+
'syllabusHtmlByCanvasCourseId': value['syllabusHtmlByCanvasCourseId'],
|
|
54
51
|
};
|
|
55
52
|
}
|
|
@@ -17,7 +17,7 @@ import type { TriggerStudyObjectiveConceptExtractionItemStatus } from './Trigger
|
|
|
17
17
|
*/
|
|
18
18
|
export interface TriggerStudyObjectiveConceptExtractionResponse {
|
|
19
19
|
/**
|
|
20
|
-
* One entry per requested
|
|
20
|
+
* One entry per requested study objective, in request order.
|
|
21
21
|
* @type {Array<TriggerStudyObjectiveConceptExtractionItemStatus>}
|
|
22
22
|
* @memberof TriggerStudyObjectiveConceptExtractionResponse
|
|
23
23
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -105,9 +105,6 @@ export * from './TaxonomyProgressNode';
|
|
|
105
105
|
export * from './TaxonomySummary';
|
|
106
106
|
export * from './TriggerStudyObjectiveConceptExtractionItemStatus';
|
|
107
107
|
export * from './TriggerStudyObjectiveConceptExtractionRequest';
|
|
108
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInner';
|
|
109
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf';
|
|
110
|
-
export * from './TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf1';
|
|
111
108
|
export * from './TriggerStudyObjectiveConceptExtractionResponse';
|
|
112
109
|
export * from './TriggerSyllabusAnalysisRequest';
|
|
113
110
|
export * from './TriggerSyllabusAnalysisRequestFile';
|
package/dist/models/index.js
CHANGED
|
@@ -123,9 +123,6 @@ __exportStar(require("./TaxonomyProgressNode"), exports);
|
|
|
123
123
|
__exportStar(require("./TaxonomySummary"), exports);
|
|
124
124
|
__exportStar(require("./TriggerStudyObjectiveConceptExtractionItemStatus"), exports);
|
|
125
125
|
__exportStar(require("./TriggerStudyObjectiveConceptExtractionRequest"), exports);
|
|
126
|
-
__exportStar(require("./TriggerStudyObjectiveConceptExtractionRequestItemsInner"), exports);
|
|
127
|
-
__exportStar(require("./TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf"), exports);
|
|
128
|
-
__exportStar(require("./TriggerStudyObjectiveConceptExtractionRequestItemsInnerAnyOf1"), exports);
|
|
129
126
|
__exportStar(require("./TriggerStudyObjectiveConceptExtractionResponse"), exports);
|
|
130
127
|
__exportStar(require("./TriggerSyllabusAnalysisRequest"), exports);
|
|
131
128
|
__exportStar(require("./TriggerSyllabusAnalysisRequestFile"), exports);
|