@instructure/athena-api-client 3.0.3 → 3.0.4
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 +39 -0
- package/dist/apis/ChatsApi.d.ts +2 -0
- package/dist/apis/ChatsApi.js +6 -0
- package/dist/apis/DailyQuizApi.d.ts +1 -0
- package/dist/apis/DailyQuizApi.js +3 -0
- package/dist/apis/MessagesApi.d.ts +1 -0
- package/dist/apis/MessagesApi.js +3 -0
- package/dist/apis/PracticeQuizzesApi.d.ts +1 -0
- package/dist/apis/PracticeQuizzesApi.js +3 -0
- package/dist/apis/StudyObjectiveConceptsApi.d.ts +50 -0
- package/dist/apis/StudyObjectiveConceptsApi.js +133 -0
- package/dist/apis/StudyObjectivesApi.d.ts +127 -0
- package/dist/apis/StudyObjectivesApi.js +378 -0
- package/dist/apis/UserFilesApi.d.ts +90 -0
- package/dist/apis/UserFilesApi.js +246 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/apis/ChatsApi.d.ts +2 -0
- package/dist/esm/apis/ChatsApi.js +6 -0
- package/dist/esm/apis/DailyQuizApi.d.ts +1 -0
- package/dist/esm/apis/DailyQuizApi.js +3 -0
- package/dist/esm/apis/MessagesApi.d.ts +1 -0
- package/dist/esm/apis/MessagesApi.js +3 -0
- package/dist/esm/apis/PracticeQuizzesApi.d.ts +1 -0
- package/dist/esm/apis/PracticeQuizzesApi.js +3 -0
- package/dist/esm/apis/StudyObjectiveConceptsApi.d.ts +50 -0
- package/dist/esm/apis/StudyObjectiveConceptsApi.js +129 -0
- package/dist/esm/apis/StudyObjectivesApi.d.ts +127 -0
- package/dist/esm/apis/StudyObjectivesApi.js +374 -0
- package/dist/esm/apis/UserFilesApi.d.ts +90 -0
- package/dist/esm/apis/UserFilesApi.js +242 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/AssociateUserFileRequest.d.ts +48 -0
- package/dist/esm/models/AssociateUserFileRequest.js +56 -0
- package/dist/esm/models/CreateObjectiveResourceDto.d.ts +47 -0
- package/dist/esm/models/CreateObjectiveResourceDto.js +55 -0
- package/dist/esm/models/CreateStudyObjectiveDto.d.ts +57 -0
- package/dist/esm/models/CreateStudyObjectiveDto.js +54 -0
- package/dist/esm/models/CreateStudyObjectiveDtoCanvasDocumentsInner.d.ts +50 -0
- package/dist/esm/models/CreateStudyObjectiveDtoCanvasDocumentsInner.js +55 -0
- package/dist/esm/models/ObjectiveResource.d.ts +71 -0
- package/dist/esm/models/ObjectiveResource.js +71 -0
- package/dist/esm/models/PaginatedObjectiveResources.d.ts +39 -0
- package/dist/esm/models/PaginatedObjectiveResources.js +48 -0
- package/dist/esm/models/PaginatedStudyObjectives.d.ts +39 -0
- package/dist/esm/models/PaginatedStudyObjectives.js +48 -0
- package/dist/esm/models/StudyObjective.d.ts +88 -0
- package/dist/esm/models/StudyObjective.js +81 -0
- package/dist/esm/models/StudyObjectiveCanvasDocument.d.ts +50 -0
- package/dist/esm/models/StudyObjectiveCanvasDocument.js +55 -0
- package/dist/esm/models/StudyObjectiveConceptAttachment.d.ts +76 -0
- package/dist/esm/models/StudyObjectiveConceptAttachment.js +77 -0
- package/dist/esm/models/StudyObjectiveConceptAttachmentList.d.ts +33 -0
- package/dist/esm/models/StudyObjectiveConceptAttachmentList.js +44 -0
- package/dist/esm/models/StudyObjectiveConceptSummary.d.ts +56 -0
- package/dist/esm/models/StudyObjectiveConceptSummary.js +59 -0
- package/dist/esm/models/StudyObjectiveFileAttachment.d.ts +56 -0
- package/dist/esm/models/StudyObjectiveFileAttachment.js +59 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionItemStatus.d.ts +50 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionItemStatus.js +58 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionRequest.d.ts +39 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionRequest.js +48 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionRequestItemsInner.d.ts +32 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionRequestItemsInner.js +43 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionResponse.d.ts +33 -0
- package/dist/esm/models/TriggerStudyObjectiveConceptExtractionResponse.js +44 -0
- package/dist/esm/models/UpdateStudyObjectiveDto.d.ts +51 -0
- package/dist/esm/models/UpdateStudyObjectiveDto.js +48 -0
- package/dist/esm/models/UserFile.d.ts +75 -0
- package/dist/esm/models/UserFile.js +72 -0
- package/dist/esm/models/UserFileAssociation.d.ts +60 -0
- package/dist/esm/models/UserFileAssociation.js +64 -0
- package/dist/esm/models/UserFileUploadUrlFile.d.ts +56 -0
- package/dist/esm/models/UserFileUploadUrlFile.js +59 -0
- package/dist/esm/models/UserFileUploadUrlRequest.d.ts +33 -0
- package/dist/esm/models/UserFileUploadUrlRequest.js +44 -0
- package/dist/esm/models/UserFileUploadUrlRequestFilesInner.d.ts +52 -0
- package/dist/esm/models/UserFileUploadUrlRequestFilesInner.js +58 -0
- package/dist/esm/models/UserFileUploadUrlResponse.d.ts +33 -0
- package/dist/esm/models/UserFileUploadUrlResponse.js +44 -0
- package/dist/esm/models/index.d.ts +24 -0
- package/dist/esm/models/index.js +24 -0
- package/dist/models/AssociateUserFileRequest.d.ts +48 -0
- package/dist/models/AssociateUserFileRequest.js +64 -0
- package/dist/models/CreateObjectiveResourceDto.d.ts +47 -0
- package/dist/models/CreateObjectiveResourceDto.js +63 -0
- package/dist/models/CreateStudyObjectiveDto.d.ts +57 -0
- package/dist/models/CreateStudyObjectiveDto.js +61 -0
- package/dist/models/CreateStudyObjectiveDtoCanvasDocumentsInner.d.ts +50 -0
- package/dist/models/CreateStudyObjectiveDtoCanvasDocumentsInner.js +62 -0
- package/dist/models/ObjectiveResource.d.ts +71 -0
- package/dist/models/ObjectiveResource.js +79 -0
- package/dist/models/PaginatedObjectiveResources.d.ts +39 -0
- package/dist/models/PaginatedObjectiveResources.js +55 -0
- package/dist/models/PaginatedStudyObjectives.d.ts +39 -0
- package/dist/models/PaginatedStudyObjectives.js +55 -0
- package/dist/models/StudyObjective.d.ts +88 -0
- package/dist/models/StudyObjective.js +88 -0
- package/dist/models/StudyObjectiveCanvasDocument.d.ts +50 -0
- package/dist/models/StudyObjectiveCanvasDocument.js +62 -0
- package/dist/models/StudyObjectiveConceptAttachment.d.ts +76 -0
- package/dist/models/StudyObjectiveConceptAttachment.js +85 -0
- package/dist/models/StudyObjectiveConceptAttachmentList.d.ts +33 -0
- package/dist/models/StudyObjectiveConceptAttachmentList.js +51 -0
- package/dist/models/StudyObjectiveConceptSummary.d.ts +56 -0
- package/dist/models/StudyObjectiveConceptSummary.js +66 -0
- package/dist/models/StudyObjectiveFileAttachment.d.ts +56 -0
- package/dist/models/StudyObjectiveFileAttachment.js +66 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionItemStatus.d.ts +50 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionItemStatus.js +66 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionRequest.d.ts +39 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionRequest.js +55 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionRequestItemsInner.d.ts +32 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionRequestItemsInner.js +50 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionResponse.d.ts +33 -0
- package/dist/models/TriggerStudyObjectiveConceptExtractionResponse.js +51 -0
- package/dist/models/UpdateStudyObjectiveDto.d.ts +51 -0
- package/dist/models/UpdateStudyObjectiveDto.js +55 -0
- package/dist/models/UserFile.d.ts +75 -0
- package/dist/models/UserFile.js +79 -0
- package/dist/models/UserFileAssociation.d.ts +60 -0
- package/dist/models/UserFileAssociation.js +72 -0
- package/dist/models/UserFileUploadUrlFile.d.ts +56 -0
- package/dist/models/UserFileUploadUrlFile.js +66 -0
- package/dist/models/UserFileUploadUrlRequest.d.ts +33 -0
- package/dist/models/UserFileUploadUrlRequest.js +51 -0
- package/dist/models/UserFileUploadUrlRequestFilesInner.d.ts +52 -0
- package/dist/models/UserFileUploadUrlRequestFilesInner.js +66 -0
- package/dist/models/UserFileUploadUrlResponse.d.ts +33 -0
- package/dist/models/UserFileUploadUrlResponse.js +51 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStudyObjective = instanceOfStudyObjective;
|
|
17
|
+
exports.StudyObjectiveFromJSON = StudyObjectiveFromJSON;
|
|
18
|
+
exports.StudyObjectiveFromJSONTyped = StudyObjectiveFromJSONTyped;
|
|
19
|
+
exports.StudyObjectiveToJSON = StudyObjectiveToJSON;
|
|
20
|
+
exports.StudyObjectiveToJSONTyped = StudyObjectiveToJSONTyped;
|
|
21
|
+
const StudyObjectiveFileAttachment_1 = require("./StudyObjectiveFileAttachment");
|
|
22
|
+
const StudyObjectiveCanvasDocument_1 = require("./StudyObjectiveCanvasDocument");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the StudyObjective interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfStudyObjective(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('accountUserId' in value) || value['accountUserId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('courseId' in value) || value['courseId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('notes' in value) || value['notes'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('fileAttachments' in value) || value['fileAttachments'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('canvasDocuments' in value) || value['canvasDocuments'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('dueAt' in value) || value['dueAt'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function StudyObjectiveFromJSON(json) {
|
|
50
|
+
return StudyObjectiveFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function StudyObjectiveFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': json['id'],
|
|
58
|
+
'accountUserId': json['accountUserId'],
|
|
59
|
+
'courseId': json['courseId'],
|
|
60
|
+
'title': json['title'],
|
|
61
|
+
'notes': json['notes'],
|
|
62
|
+
'fileAttachments': (json['fileAttachments'].map(StudyObjectiveFileAttachment_1.StudyObjectiveFileAttachmentFromJSON)),
|
|
63
|
+
'canvasDocuments': (json['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentFromJSON)),
|
|
64
|
+
'dueAt': (json['dueAt'] == null ? null : new Date(json['dueAt'])),
|
|
65
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
66
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function StudyObjectiveToJSON(json) {
|
|
70
|
+
return StudyObjectiveToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function StudyObjectiveToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'accountUserId': value['accountUserId'],
|
|
79
|
+
'courseId': value['courseId'],
|
|
80
|
+
'title': value['title'],
|
|
81
|
+
'notes': value['notes'],
|
|
82
|
+
'fileAttachments': (value['fileAttachments'].map(StudyObjectiveFileAttachment_1.StudyObjectiveFileAttachmentToJSON)),
|
|
83
|
+
'canvasDocuments': (value['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentToJSON)),
|
|
84
|
+
'dueAt': value['dueAt'] == null ? value['dueAt'] : value['dueAt'].toISOString(),
|
|
85
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
86
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StudyObjectiveCanvasDocument
|
|
16
|
+
*/
|
|
17
|
+
export interface StudyObjectiveCanvasDocument {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StudyObjectiveCanvasDocument
|
|
22
|
+
*/
|
|
23
|
+
canonicalId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StudyObjectiveCanvasDocument
|
|
28
|
+
*/
|
|
29
|
+
displayName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StudyObjectiveCanvasDocument
|
|
34
|
+
*/
|
|
35
|
+
filename: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StudyObjectiveCanvasDocument
|
|
40
|
+
*/
|
|
41
|
+
contentType: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the StudyObjectiveCanvasDocument interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfStudyObjectiveCanvasDocument(value: object): value is StudyObjectiveCanvasDocument;
|
|
47
|
+
export declare function StudyObjectiveCanvasDocumentFromJSON(json: any): StudyObjectiveCanvasDocument;
|
|
48
|
+
export declare function StudyObjectiveCanvasDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyObjectiveCanvasDocument;
|
|
49
|
+
export declare function StudyObjectiveCanvasDocumentToJSON(json: any): StudyObjectiveCanvasDocument;
|
|
50
|
+
export declare function StudyObjectiveCanvasDocumentToJSONTyped(value?: StudyObjectiveCanvasDocument | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStudyObjectiveCanvasDocument = instanceOfStudyObjectiveCanvasDocument;
|
|
17
|
+
exports.StudyObjectiveCanvasDocumentFromJSON = StudyObjectiveCanvasDocumentFromJSON;
|
|
18
|
+
exports.StudyObjectiveCanvasDocumentFromJSONTyped = StudyObjectiveCanvasDocumentFromJSONTyped;
|
|
19
|
+
exports.StudyObjectiveCanvasDocumentToJSON = StudyObjectiveCanvasDocumentToJSON;
|
|
20
|
+
exports.StudyObjectiveCanvasDocumentToJSONTyped = StudyObjectiveCanvasDocumentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StudyObjectiveCanvasDocument interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStudyObjectiveCanvasDocument(value) {
|
|
25
|
+
if (!('canonicalId' in value) || value['canonicalId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('filename' in value) || value['filename'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function StudyObjectiveCanvasDocumentFromJSON(json) {
|
|
36
|
+
return StudyObjectiveCanvasDocumentFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function StudyObjectiveCanvasDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'canonicalId': json['canonicalId'],
|
|
44
|
+
'displayName': json['displayName'],
|
|
45
|
+
'filename': json['filename'],
|
|
46
|
+
'contentType': json['contentType'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function StudyObjectiveCanvasDocumentToJSON(json) {
|
|
50
|
+
return StudyObjectiveCanvasDocumentToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function StudyObjectiveCanvasDocumentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'canonicalId': value['canonicalId'],
|
|
58
|
+
'displayName': value['displayName'],
|
|
59
|
+
'filename': value['filename'],
|
|
60
|
+
'contentType': value['contentType'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StudyObjectiveConceptSummary } from './StudyObjectiveConceptSummary';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StudyObjectiveConceptAttachment
|
|
17
|
+
*/
|
|
18
|
+
export interface StudyObjectiveConceptAttachment {
|
|
19
|
+
/**
|
|
20
|
+
* Identifies which target shape the attachment row carries. `canvas_object` rows are keyed by `(canvasDomain, canvasCourseId, canvasObjectId)`; `study_objective` rows are keyed by the study-objective UUID.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof StudyObjectiveConceptAttachment
|
|
23
|
+
*/
|
|
24
|
+
kind: StudyObjectiveConceptAttachmentKindEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Stable identifier within the kind. For `canvas_object`, the Canvas object id (e.g. 'assignment:67890'); for `study_objective`, the objective UUID. The list endpoint returns one attachment per (kind, key) requested.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof StudyObjectiveConceptAttachment
|
|
29
|
+
*/
|
|
30
|
+
key: string;
|
|
31
|
+
/**
|
|
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
|
+
* @type {string}
|
|
34
|
+
* @memberof StudyObjectiveConceptAttachment
|
|
35
|
+
*/
|
|
36
|
+
status: StudyObjectiveConceptAttachmentStatusEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Last recorded error message when status is `failed`.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof StudyObjectiveConceptAttachment
|
|
41
|
+
*/
|
|
42
|
+
lastError: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<StudyObjectiveConceptSummary>}
|
|
46
|
+
* @memberof StudyObjectiveConceptAttachment
|
|
47
|
+
*/
|
|
48
|
+
concepts: Array<StudyObjectiveConceptSummary>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const StudyObjectiveConceptAttachmentKindEnum: {
|
|
54
|
+
readonly CanvasObject: "canvas_object";
|
|
55
|
+
readonly StudyObjective: "study_objective";
|
|
56
|
+
};
|
|
57
|
+
export type StudyObjectiveConceptAttachmentKindEnum = typeof StudyObjectiveConceptAttachmentKindEnum[keyof typeof StudyObjectiveConceptAttachmentKindEnum];
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
export declare const StudyObjectiveConceptAttachmentStatusEnum: {
|
|
62
|
+
readonly Pending: "pending";
|
|
63
|
+
readonly Running: "running";
|
|
64
|
+
readonly Active: "active";
|
|
65
|
+
readonly Failed: "failed";
|
|
66
|
+
readonly Missing: "missing";
|
|
67
|
+
};
|
|
68
|
+
export type StudyObjectiveConceptAttachmentStatusEnum = typeof StudyObjectiveConceptAttachmentStatusEnum[keyof typeof StudyObjectiveConceptAttachmentStatusEnum];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the StudyObjectiveConceptAttachment interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfStudyObjectiveConceptAttachment(value: object): value is StudyObjectiveConceptAttachment;
|
|
73
|
+
export declare function StudyObjectiveConceptAttachmentFromJSON(json: any): StudyObjectiveConceptAttachment;
|
|
74
|
+
export declare function StudyObjectiveConceptAttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyObjectiveConceptAttachment;
|
|
75
|
+
export declare function StudyObjectiveConceptAttachmentToJSON(json: any): StudyObjectiveConceptAttachment;
|
|
76
|
+
export declare function StudyObjectiveConceptAttachmentToJSONTyped(value?: StudyObjectiveConceptAttachment | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.StudyObjectiveConceptAttachmentStatusEnum = exports.StudyObjectiveConceptAttachmentKindEnum = void 0;
|
|
17
|
+
exports.instanceOfStudyObjectiveConceptAttachment = instanceOfStudyObjectiveConceptAttachment;
|
|
18
|
+
exports.StudyObjectiveConceptAttachmentFromJSON = StudyObjectiveConceptAttachmentFromJSON;
|
|
19
|
+
exports.StudyObjectiveConceptAttachmentFromJSONTyped = StudyObjectiveConceptAttachmentFromJSONTyped;
|
|
20
|
+
exports.StudyObjectiveConceptAttachmentToJSON = StudyObjectiveConceptAttachmentToJSON;
|
|
21
|
+
exports.StudyObjectiveConceptAttachmentToJSONTyped = StudyObjectiveConceptAttachmentToJSONTyped;
|
|
22
|
+
const StudyObjectiveConceptSummary_1 = require("./StudyObjectiveConceptSummary");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.StudyObjectiveConceptAttachmentKindEnum = {
|
|
27
|
+
CanvasObject: 'canvas_object',
|
|
28
|
+
StudyObjective: 'study_objective'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.StudyObjectiveConceptAttachmentStatusEnum = {
|
|
34
|
+
Pending: 'pending',
|
|
35
|
+
Running: 'running',
|
|
36
|
+
Active: 'active',
|
|
37
|
+
Failed: 'failed',
|
|
38
|
+
Missing: 'missing'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the StudyObjectiveConceptAttachment interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfStudyObjectiveConceptAttachment(value) {
|
|
44
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('lastError' in value) || value['lastError'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('concepts' in value) || value['concepts'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
function StudyObjectiveConceptAttachmentFromJSON(json) {
|
|
57
|
+
return StudyObjectiveConceptAttachmentFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function StudyObjectiveConceptAttachmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'kind': json['kind'],
|
|
65
|
+
'key': json['key'],
|
|
66
|
+
'status': json['status'],
|
|
67
|
+
'lastError': json['lastError'],
|
|
68
|
+
'concepts': (json['concepts'].map(StudyObjectiveConceptSummary_1.StudyObjectiveConceptSummaryFromJSON)),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function StudyObjectiveConceptAttachmentToJSON(json) {
|
|
72
|
+
return StudyObjectiveConceptAttachmentToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
function StudyObjectiveConceptAttachmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'kind': value['kind'],
|
|
80
|
+
'key': value['key'],
|
|
81
|
+
'status': value['status'],
|
|
82
|
+
'lastError': value['lastError'],
|
|
83
|
+
'concepts': (value['concepts'].map(StudyObjectiveConceptSummary_1.StudyObjectiveConceptSummaryToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StudyObjectiveConceptAttachment } from './StudyObjectiveConceptAttachment';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StudyObjectiveConceptAttachmentList
|
|
17
|
+
*/
|
|
18
|
+
export interface StudyObjectiveConceptAttachmentList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<StudyObjectiveConceptAttachment>}
|
|
22
|
+
* @memberof StudyObjectiveConceptAttachmentList
|
|
23
|
+
*/
|
|
24
|
+
items: Array<StudyObjectiveConceptAttachment>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the StudyObjectiveConceptAttachmentList interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfStudyObjectiveConceptAttachmentList(value: object): value is StudyObjectiveConceptAttachmentList;
|
|
30
|
+
export declare function StudyObjectiveConceptAttachmentListFromJSON(json: any): StudyObjectiveConceptAttachmentList;
|
|
31
|
+
export declare function StudyObjectiveConceptAttachmentListFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyObjectiveConceptAttachmentList;
|
|
32
|
+
export declare function StudyObjectiveConceptAttachmentListToJSON(json: any): StudyObjectiveConceptAttachmentList;
|
|
33
|
+
export declare function StudyObjectiveConceptAttachmentListToJSONTyped(value?: StudyObjectiveConceptAttachmentList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStudyObjectiveConceptAttachmentList = instanceOfStudyObjectiveConceptAttachmentList;
|
|
17
|
+
exports.StudyObjectiveConceptAttachmentListFromJSON = StudyObjectiveConceptAttachmentListFromJSON;
|
|
18
|
+
exports.StudyObjectiveConceptAttachmentListFromJSONTyped = StudyObjectiveConceptAttachmentListFromJSONTyped;
|
|
19
|
+
exports.StudyObjectiveConceptAttachmentListToJSON = StudyObjectiveConceptAttachmentListToJSON;
|
|
20
|
+
exports.StudyObjectiveConceptAttachmentListToJSONTyped = StudyObjectiveConceptAttachmentListToJSONTyped;
|
|
21
|
+
const StudyObjectiveConceptAttachment_1 = require("./StudyObjectiveConceptAttachment");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the StudyObjectiveConceptAttachmentList interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfStudyObjectiveConceptAttachmentList(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function StudyObjectiveConceptAttachmentListFromJSON(json) {
|
|
31
|
+
return StudyObjectiveConceptAttachmentListFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function StudyObjectiveConceptAttachmentListFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'items': (json['items'].map(StudyObjectiveConceptAttachment_1.StudyObjectiveConceptAttachmentFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function StudyObjectiveConceptAttachmentListToJSON(json) {
|
|
42
|
+
return StudyObjectiveConceptAttachmentListToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function StudyObjectiveConceptAttachmentListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'items': (value['items'].map(StudyObjectiveConceptAttachment_1.StudyObjectiveConceptAttachmentToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StudyObjectiveConceptSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface StudyObjectiveConceptSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StudyObjectiveConceptSummary
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StudyObjectiveConceptSummary
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StudyObjectiveConceptSummary
|
|
34
|
+
*/
|
|
35
|
+
shortName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StudyObjectiveConceptSummary
|
|
40
|
+
*/
|
|
41
|
+
description: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof StudyObjectiveConceptSummary
|
|
46
|
+
*/
|
|
47
|
+
displayOrder: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the StudyObjectiveConceptSummary interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfStudyObjectiveConceptSummary(value: object): value is StudyObjectiveConceptSummary;
|
|
53
|
+
export declare function StudyObjectiveConceptSummaryFromJSON(json: any): StudyObjectiveConceptSummary;
|
|
54
|
+
export declare function StudyObjectiveConceptSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyObjectiveConceptSummary;
|
|
55
|
+
export declare function StudyObjectiveConceptSummaryToJSON(json: any): StudyObjectiveConceptSummary;
|
|
56
|
+
export declare function StudyObjectiveConceptSummaryToJSONTyped(value?: StudyObjectiveConceptSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStudyObjectiveConceptSummary = instanceOfStudyObjectiveConceptSummary;
|
|
17
|
+
exports.StudyObjectiveConceptSummaryFromJSON = StudyObjectiveConceptSummaryFromJSON;
|
|
18
|
+
exports.StudyObjectiveConceptSummaryFromJSONTyped = StudyObjectiveConceptSummaryFromJSONTyped;
|
|
19
|
+
exports.StudyObjectiveConceptSummaryToJSON = StudyObjectiveConceptSummaryToJSON;
|
|
20
|
+
exports.StudyObjectiveConceptSummaryToJSONTyped = StudyObjectiveConceptSummaryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StudyObjectiveConceptSummary interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStudyObjectiveConceptSummary(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('shortName' in value) || value['shortName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('displayOrder' in value) || value['displayOrder'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function StudyObjectiveConceptSummaryFromJSON(json) {
|
|
38
|
+
return StudyObjectiveConceptSummaryFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function StudyObjectiveConceptSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'],
|
|
46
|
+
'name': json['name'],
|
|
47
|
+
'shortName': json['shortName'],
|
|
48
|
+
'description': json['description'],
|
|
49
|
+
'displayOrder': json['displayOrder'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function StudyObjectiveConceptSummaryToJSON(json) {
|
|
53
|
+
return StudyObjectiveConceptSummaryToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function StudyObjectiveConceptSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': value['id'],
|
|
61
|
+
'name': value['name'],
|
|
62
|
+
'shortName': value['shortName'],
|
|
63
|
+
'description': value['description'],
|
|
64
|
+
'displayOrder': value['displayOrder'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StudyObjectiveFileAttachment
|
|
16
|
+
*/
|
|
17
|
+
export interface StudyObjectiveFileAttachment {
|
|
18
|
+
/**
|
|
19
|
+
* user_files.id — durable reference to the uploaded file.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StudyObjectiveFileAttachment
|
|
22
|
+
*/
|
|
23
|
+
userFileId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StudyObjectiveFileAttachment
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StudyObjectiveFileAttachment
|
|
34
|
+
*/
|
|
35
|
+
mimeType: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof StudyObjectiveFileAttachment
|
|
40
|
+
*/
|
|
41
|
+
sizeBytes: number;
|
|
42
|
+
/**
|
|
43
|
+
* Freshly-signed S3 GET URL (~30 min TTL). Regenerated on every read; do not persist.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof StudyObjectiveFileAttachment
|
|
46
|
+
*/
|
|
47
|
+
previewUrl: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the StudyObjectiveFileAttachment interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfStudyObjectiveFileAttachment(value: object): value is StudyObjectiveFileAttachment;
|
|
53
|
+
export declare function StudyObjectiveFileAttachmentFromJSON(json: any): StudyObjectiveFileAttachment;
|
|
54
|
+
export declare function StudyObjectiveFileAttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyObjectiveFileAttachment;
|
|
55
|
+
export declare function StudyObjectiveFileAttachmentToJSON(json: any): StudyObjectiveFileAttachment;
|
|
56
|
+
export declare function StudyObjectiveFileAttachmentToJSONTyped(value?: StudyObjectiveFileAttachment | null, ignoreDiscriminator?: boolean): any;
|