@instructure/athena-api-client 3.0.3 → 3.0.5
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,61 @@
|
|
|
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.instanceOfCreateStudyObjectiveDto = instanceOfCreateStudyObjectiveDto;
|
|
17
|
+
exports.CreateStudyObjectiveDtoFromJSON = CreateStudyObjectiveDtoFromJSON;
|
|
18
|
+
exports.CreateStudyObjectiveDtoFromJSONTyped = CreateStudyObjectiveDtoFromJSONTyped;
|
|
19
|
+
exports.CreateStudyObjectiveDtoToJSON = CreateStudyObjectiveDtoToJSON;
|
|
20
|
+
exports.CreateStudyObjectiveDtoToJSONTyped = CreateStudyObjectiveDtoToJSONTyped;
|
|
21
|
+
const CreateStudyObjectiveDtoCanvasDocumentsInner_1 = require("./CreateStudyObjectiveDtoCanvasDocumentsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateStudyObjectiveDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateStudyObjectiveDto(value) {
|
|
26
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('courseId' in value) || value['courseId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CreateStudyObjectiveDtoFromJSON(json) {
|
|
33
|
+
return CreateStudyObjectiveDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CreateStudyObjectiveDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'title': json['title'],
|
|
41
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
42
|
+
'canvasDocuments': json['canvasDocuments'] == null ? undefined : (json['canvasDocuments'].map(CreateStudyObjectiveDtoCanvasDocumentsInner_1.CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSON)),
|
|
43
|
+
'dueAt': json['dueAt'] == null ? undefined : (new Date(json['dueAt'])),
|
|
44
|
+
'courseId': json['courseId'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function CreateStudyObjectiveDtoToJSON(json) {
|
|
48
|
+
return CreateStudyObjectiveDtoToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function CreateStudyObjectiveDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'title': value['title'],
|
|
56
|
+
'notes': value['notes'],
|
|
57
|
+
'canvasDocuments': value['canvasDocuments'] == null ? undefined : (value['canvasDocuments'].map(CreateStudyObjectiveDtoCanvasDocumentsInner_1.CreateStudyObjectiveDtoCanvasDocumentsInnerToJSON)),
|
|
58
|
+
'dueAt': value['dueAt'] == null ? value['dueAt'] : value['dueAt'].toISOString(),
|
|
59
|
+
'courseId': value['courseId'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -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 CreateStudyObjectiveDtoCanvasDocumentsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateStudyObjectiveDtoCanvasDocumentsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateStudyObjectiveDtoCanvasDocumentsInner
|
|
22
|
+
*/
|
|
23
|
+
canonicalId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateStudyObjectiveDtoCanvasDocumentsInner
|
|
28
|
+
*/
|
|
29
|
+
displayName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateStudyObjectiveDtoCanvasDocumentsInner
|
|
34
|
+
*/
|
|
35
|
+
filename: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateStudyObjectiveDtoCanvasDocumentsInner
|
|
40
|
+
*/
|
|
41
|
+
contentType: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CreateStudyObjectiveDtoCanvasDocumentsInner interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfCreateStudyObjectiveDtoCanvasDocumentsInner(value: object): value is CreateStudyObjectiveDtoCanvasDocumentsInner;
|
|
47
|
+
export declare function CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSON(json: any): CreateStudyObjectiveDtoCanvasDocumentsInner;
|
|
48
|
+
export declare function CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateStudyObjectiveDtoCanvasDocumentsInner;
|
|
49
|
+
export declare function CreateStudyObjectiveDtoCanvasDocumentsInnerToJSON(json: any): CreateStudyObjectiveDtoCanvasDocumentsInner;
|
|
50
|
+
export declare function CreateStudyObjectiveDtoCanvasDocumentsInnerToJSONTyped(value?: CreateStudyObjectiveDtoCanvasDocumentsInner | 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.instanceOfCreateStudyObjectiveDtoCanvasDocumentsInner = instanceOfCreateStudyObjectiveDtoCanvasDocumentsInner;
|
|
17
|
+
exports.CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSON = CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSON;
|
|
18
|
+
exports.CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSONTyped = CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSONTyped;
|
|
19
|
+
exports.CreateStudyObjectiveDtoCanvasDocumentsInnerToJSON = CreateStudyObjectiveDtoCanvasDocumentsInnerToJSON;
|
|
20
|
+
exports.CreateStudyObjectiveDtoCanvasDocumentsInnerToJSONTyped = CreateStudyObjectiveDtoCanvasDocumentsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateStudyObjectiveDtoCanvasDocumentsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateStudyObjectiveDtoCanvasDocumentsInner(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 CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSON(json) {
|
|
36
|
+
return CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSONTyped(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 CreateStudyObjectiveDtoCanvasDocumentsInnerToJSON(json) {
|
|
50
|
+
return CreateStudyObjectiveDtoCanvasDocumentsInnerToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function CreateStudyObjectiveDtoCanvasDocumentsInnerToJSONTyped(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,71 @@
|
|
|
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 ObjectiveResource
|
|
16
|
+
*/
|
|
17
|
+
export interface ObjectiveResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ObjectiveResource
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ObjectiveResource
|
|
28
|
+
*/
|
|
29
|
+
studyObjectiveId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ObjectiveResource
|
|
34
|
+
*/
|
|
35
|
+
accountUserId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ObjectiveResource
|
|
40
|
+
*/
|
|
41
|
+
chatId: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ObjectiveResource
|
|
46
|
+
*/
|
|
47
|
+
resourceType: ObjectiveResourceResourceTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof ObjectiveResource
|
|
52
|
+
*/
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const ObjectiveResourceResourceTypeEnum: {
|
|
59
|
+
readonly Chat: "chat";
|
|
60
|
+
readonly Quiz: "quiz";
|
|
61
|
+
readonly Flashcard: "flashcard";
|
|
62
|
+
};
|
|
63
|
+
export type ObjectiveResourceResourceTypeEnum = typeof ObjectiveResourceResourceTypeEnum[keyof typeof ObjectiveResourceResourceTypeEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ObjectiveResource interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfObjectiveResource(value: object): value is ObjectiveResource;
|
|
68
|
+
export declare function ObjectiveResourceFromJSON(json: any): ObjectiveResource;
|
|
69
|
+
export declare function ObjectiveResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObjectiveResource;
|
|
70
|
+
export declare function ObjectiveResourceToJSON(json: any): ObjectiveResource;
|
|
71
|
+
export declare function ObjectiveResourceToJSONTyped(value?: ObjectiveResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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.ObjectiveResourceResourceTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfObjectiveResource = instanceOfObjectiveResource;
|
|
18
|
+
exports.ObjectiveResourceFromJSON = ObjectiveResourceFromJSON;
|
|
19
|
+
exports.ObjectiveResourceFromJSONTyped = ObjectiveResourceFromJSONTyped;
|
|
20
|
+
exports.ObjectiveResourceToJSON = ObjectiveResourceToJSON;
|
|
21
|
+
exports.ObjectiveResourceToJSONTyped = ObjectiveResourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ObjectiveResourceResourceTypeEnum = {
|
|
26
|
+
Chat: 'chat',
|
|
27
|
+
Quiz: 'quiz',
|
|
28
|
+
Flashcard: 'flashcard'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ObjectiveResource interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfObjectiveResource(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('accountUserId' in value) || value['accountUserId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('chatId' in value) || value['chatId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('resourceType' in value) || value['resourceType'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function ObjectiveResourceFromJSON(json) {
|
|
49
|
+
return ObjectiveResourceFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ObjectiveResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': json['id'],
|
|
57
|
+
'studyObjectiveId': json['studyObjectiveId'],
|
|
58
|
+
'accountUserId': json['accountUserId'],
|
|
59
|
+
'chatId': json['chatId'],
|
|
60
|
+
'resourceType': json['resourceType'],
|
|
61
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function ObjectiveResourceToJSON(json) {
|
|
65
|
+
return ObjectiveResourceToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function ObjectiveResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': value['id'],
|
|
73
|
+
'studyObjectiveId': value['studyObjectiveId'],
|
|
74
|
+
'accountUserId': value['accountUserId'],
|
|
75
|
+
'chatId': value['chatId'],
|
|
76
|
+
'resourceType': value['resourceType'],
|
|
77
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ObjectiveResource } from './ObjectiveResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedObjectiveResources
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedObjectiveResources {
|
|
19
|
+
/**
|
|
20
|
+
* Array of objective resources
|
|
21
|
+
* @type {Array<ObjectiveResource>}
|
|
22
|
+
* @memberof PaginatedObjectiveResources
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ObjectiveResource>;
|
|
25
|
+
/**
|
|
26
|
+
* Opaque cursor for fetching the next page. Null when there are no more results.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedObjectiveResources
|
|
29
|
+
*/
|
|
30
|
+
nextCursor: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedObjectiveResources interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedObjectiveResources(value: object): value is PaginatedObjectiveResources;
|
|
36
|
+
export declare function PaginatedObjectiveResourcesFromJSON(json: any): PaginatedObjectiveResources;
|
|
37
|
+
export declare function PaginatedObjectiveResourcesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedObjectiveResources;
|
|
38
|
+
export declare function PaginatedObjectiveResourcesToJSON(json: any): PaginatedObjectiveResources;
|
|
39
|
+
export declare function PaginatedObjectiveResourcesToJSONTyped(value?: PaginatedObjectiveResources | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfPaginatedObjectiveResources = instanceOfPaginatedObjectiveResources;
|
|
17
|
+
exports.PaginatedObjectiveResourcesFromJSON = PaginatedObjectiveResourcesFromJSON;
|
|
18
|
+
exports.PaginatedObjectiveResourcesFromJSONTyped = PaginatedObjectiveResourcesFromJSONTyped;
|
|
19
|
+
exports.PaginatedObjectiveResourcesToJSON = PaginatedObjectiveResourcesToJSON;
|
|
20
|
+
exports.PaginatedObjectiveResourcesToJSONTyped = PaginatedObjectiveResourcesToJSONTyped;
|
|
21
|
+
const ObjectiveResource_1 = require("./ObjectiveResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedObjectiveResources interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedObjectiveResources(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function PaginatedObjectiveResourcesFromJSON(json) {
|
|
33
|
+
return PaginatedObjectiveResourcesFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function PaginatedObjectiveResourcesFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': (json['data'].map(ObjectiveResource_1.ObjectiveResourceFromJSON)),
|
|
41
|
+
'nextCursor': json['nextCursor'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function PaginatedObjectiveResourcesToJSON(json) {
|
|
45
|
+
return PaginatedObjectiveResourcesToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function PaginatedObjectiveResourcesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'data': (value['data'].map(ObjectiveResource_1.ObjectiveResourceToJSON)),
|
|
53
|
+
'nextCursor': value['nextCursor'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { StudyObjective } from './StudyObjective';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedStudyObjectives
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedStudyObjectives {
|
|
19
|
+
/**
|
|
20
|
+
* Array of study objectives
|
|
21
|
+
* @type {Array<StudyObjective>}
|
|
22
|
+
* @memberof PaginatedStudyObjectives
|
|
23
|
+
*/
|
|
24
|
+
data: Array<StudyObjective>;
|
|
25
|
+
/**
|
|
26
|
+
* Opaque cursor for fetching the next page. Null when there are no more results.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedStudyObjectives
|
|
29
|
+
*/
|
|
30
|
+
nextCursor: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedStudyObjectives interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedStudyObjectives(value: object): value is PaginatedStudyObjectives;
|
|
36
|
+
export declare function PaginatedStudyObjectivesFromJSON(json: any): PaginatedStudyObjectives;
|
|
37
|
+
export declare function PaginatedStudyObjectivesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedStudyObjectives;
|
|
38
|
+
export declare function PaginatedStudyObjectivesToJSON(json: any): PaginatedStudyObjectives;
|
|
39
|
+
export declare function PaginatedStudyObjectivesToJSONTyped(value?: PaginatedStudyObjectives | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfPaginatedStudyObjectives = instanceOfPaginatedStudyObjectives;
|
|
17
|
+
exports.PaginatedStudyObjectivesFromJSON = PaginatedStudyObjectivesFromJSON;
|
|
18
|
+
exports.PaginatedStudyObjectivesFromJSONTyped = PaginatedStudyObjectivesFromJSONTyped;
|
|
19
|
+
exports.PaginatedStudyObjectivesToJSON = PaginatedStudyObjectivesToJSON;
|
|
20
|
+
exports.PaginatedStudyObjectivesToJSONTyped = PaginatedStudyObjectivesToJSONTyped;
|
|
21
|
+
const StudyObjective_1 = require("./StudyObjective");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedStudyObjectives interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedStudyObjectives(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('nextCursor' in value) || value['nextCursor'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function PaginatedStudyObjectivesFromJSON(json) {
|
|
33
|
+
return PaginatedStudyObjectivesFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function PaginatedStudyObjectivesFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': (json['data'].map(StudyObjective_1.StudyObjectiveFromJSON)),
|
|
41
|
+
'nextCursor': json['nextCursor'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function PaginatedStudyObjectivesToJSON(json) {
|
|
45
|
+
return PaginatedStudyObjectivesToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function PaginatedStudyObjectivesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'data': (value['data'].map(StudyObjective_1.StudyObjectiveToJSON)),
|
|
53
|
+
'nextCursor': value['nextCursor'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { StudyObjectiveFileAttachment } from './StudyObjectiveFileAttachment';
|
|
13
|
+
import type { StudyObjectiveCanvasDocument } from './StudyObjectiveCanvasDocument';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface StudyObjective
|
|
18
|
+
*/
|
|
19
|
+
export interface StudyObjective {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof StudyObjective
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof StudyObjective
|
|
30
|
+
*/
|
|
31
|
+
accountUserId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof StudyObjective
|
|
36
|
+
*/
|
|
37
|
+
courseId: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof StudyObjective
|
|
42
|
+
*/
|
|
43
|
+
title: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof StudyObjective
|
|
48
|
+
*/
|
|
49
|
+
notes: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<StudyObjectiveFileAttachment>}
|
|
53
|
+
* @memberof StudyObjective
|
|
54
|
+
*/
|
|
55
|
+
fileAttachments: Array<StudyObjectiveFileAttachment>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<StudyObjectiveCanvasDocument>}
|
|
59
|
+
* @memberof StudyObjective
|
|
60
|
+
*/
|
|
61
|
+
canvasDocuments: Array<StudyObjectiveCanvasDocument>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof StudyObjective
|
|
66
|
+
*/
|
|
67
|
+
dueAt: Date | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof StudyObjective
|
|
72
|
+
*/
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Date}
|
|
77
|
+
* @memberof StudyObjective
|
|
78
|
+
*/
|
|
79
|
+
updatedAt: Date;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the StudyObjective interface.
|
|
83
|
+
*/
|
|
84
|
+
export declare function instanceOfStudyObjective(value: object): value is StudyObjective;
|
|
85
|
+
export declare function StudyObjectiveFromJSON(json: any): StudyObjective;
|
|
86
|
+
export declare function StudyObjectiveFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyObjective;
|
|
87
|
+
export declare function StudyObjectiveToJSON(json: any): StudyObjective;
|
|
88
|
+
export declare function StudyObjectiveToJSONTyped(value?: StudyObjective | null, ignoreDiscriminator?: boolean): any;
|