@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,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.instanceOfStudyObjectiveFileAttachment = instanceOfStudyObjectiveFileAttachment;
|
|
17
|
+
exports.StudyObjectiveFileAttachmentFromJSON = StudyObjectiveFileAttachmentFromJSON;
|
|
18
|
+
exports.StudyObjectiveFileAttachmentFromJSONTyped = StudyObjectiveFileAttachmentFromJSONTyped;
|
|
19
|
+
exports.StudyObjectiveFileAttachmentToJSON = StudyObjectiveFileAttachmentToJSON;
|
|
20
|
+
exports.StudyObjectiveFileAttachmentToJSONTyped = StudyObjectiveFileAttachmentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StudyObjectiveFileAttachment interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStudyObjectiveFileAttachment(value) {
|
|
25
|
+
if (!('userFileId' in value) || value['userFileId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('previewUrl' in value) || value['previewUrl'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function StudyObjectiveFileAttachmentFromJSON(json) {
|
|
38
|
+
return StudyObjectiveFileAttachmentFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function StudyObjectiveFileAttachmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'userFileId': json['userFileId'],
|
|
46
|
+
'name': json['name'],
|
|
47
|
+
'mimeType': json['mimeType'],
|
|
48
|
+
'sizeBytes': json['sizeBytes'],
|
|
49
|
+
'previewUrl': json['previewUrl'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function StudyObjectiveFileAttachmentToJSON(json) {
|
|
53
|
+
return StudyObjectiveFileAttachmentToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function StudyObjectiveFileAttachmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'userFileId': value['userFileId'],
|
|
61
|
+
'name': value['name'],
|
|
62
|
+
'mimeType': value['mimeType'],
|
|
63
|
+
'sizeBytes': value['sizeBytes'],
|
|
64
|
+
'previewUrl': value['previewUrl'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -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 TriggerStudyObjectiveConceptExtractionItemStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface TriggerStudyObjectiveConceptExtractionItemStatus {
|
|
18
|
+
/**
|
|
19
|
+
* Canvas object id from the request (formatted '{type}:{local_id}').
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
22
|
+
*/
|
|
23
|
+
canvasObjectId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Sidecar status snapshot at the moment the trigger returned. `cooling-down` is returned when the row's `cooldown_until` is still in the future (most commonly after a Canvas 429) — the row remains in `pending` lifecycle state, but the trigger does not spawn the assembly coroutine. `skipped-disabled` is returned for every item when the kill switch is off.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TriggerStudyObjectiveConceptExtractionItemStatus
|
|
28
|
+
*/
|
|
29
|
+
status: TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum: {
|
|
35
|
+
readonly Pending: "pending";
|
|
36
|
+
readonly Running: "running";
|
|
37
|
+
readonly Active: "active";
|
|
38
|
+
readonly Failed: "failed";
|
|
39
|
+
readonly CoolingDown: "cooling-down";
|
|
40
|
+
readonly SkippedDisabled: "skipped-disabled";
|
|
41
|
+
};
|
|
42
|
+
export type TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum = typeof TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum[keyof typeof TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionItemStatus interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfTriggerStudyObjectiveConceptExtractionItemStatus(value: object): value is TriggerStudyObjectiveConceptExtractionItemStatus;
|
|
47
|
+
export declare function TriggerStudyObjectiveConceptExtractionItemStatusFromJSON(json: any): TriggerStudyObjectiveConceptExtractionItemStatus;
|
|
48
|
+
export declare function TriggerStudyObjectiveConceptExtractionItemStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): TriggerStudyObjectiveConceptExtractionItemStatus;
|
|
49
|
+
export declare function TriggerStudyObjectiveConceptExtractionItemStatusToJSON(json: any): TriggerStudyObjectiveConceptExtractionItemStatus;
|
|
50
|
+
export declare function TriggerStudyObjectiveConceptExtractionItemStatusToJSONTyped(value?: TriggerStudyObjectiveConceptExtractionItemStatus | 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.TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfTriggerStudyObjectiveConceptExtractionItemStatus = instanceOfTriggerStudyObjectiveConceptExtractionItemStatus;
|
|
18
|
+
exports.TriggerStudyObjectiveConceptExtractionItemStatusFromJSON = TriggerStudyObjectiveConceptExtractionItemStatusFromJSON;
|
|
19
|
+
exports.TriggerStudyObjectiveConceptExtractionItemStatusFromJSONTyped = TriggerStudyObjectiveConceptExtractionItemStatusFromJSONTyped;
|
|
20
|
+
exports.TriggerStudyObjectiveConceptExtractionItemStatusToJSON = TriggerStudyObjectiveConceptExtractionItemStatusToJSON;
|
|
21
|
+
exports.TriggerStudyObjectiveConceptExtractionItemStatusToJSONTyped = TriggerStudyObjectiveConceptExtractionItemStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.TriggerStudyObjectiveConceptExtractionItemStatusStatusEnum = {
|
|
26
|
+
Pending: 'pending',
|
|
27
|
+
Running: 'running',
|
|
28
|
+
Active: 'active',
|
|
29
|
+
Failed: 'failed',
|
|
30
|
+
CoolingDown: 'cooling-down',
|
|
31
|
+
SkippedDisabled: 'skipped-disabled'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionItemStatus interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfTriggerStudyObjectiveConceptExtractionItemStatus(value) {
|
|
37
|
+
if (!('canvasObjectId' in value) || value['canvasObjectId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function TriggerStudyObjectiveConceptExtractionItemStatusFromJSON(json) {
|
|
44
|
+
return TriggerStudyObjectiveConceptExtractionItemStatusFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function TriggerStudyObjectiveConceptExtractionItemStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'canvasObjectId': json['canvasObjectId'],
|
|
52
|
+
'status': json['status'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function TriggerStudyObjectiveConceptExtractionItemStatusToJSON(json) {
|
|
56
|
+
return TriggerStudyObjectiveConceptExtractionItemStatusToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function TriggerStudyObjectiveConceptExtractionItemStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'canvasObjectId': value['canvasObjectId'],
|
|
64
|
+
'status': value['status'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -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 { TriggerStudyObjectiveConceptExtractionRequestItemsInner } from './TriggerStudyObjectiveConceptExtractionRequestItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TriggerStudyObjectiveConceptExtractionRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface TriggerStudyObjectiveConceptExtractionRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Canvas local course id (e.g. '587077'). Scopes the extraction request.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
23
|
+
*/
|
|
24
|
+
canvasCourseId: string;
|
|
25
|
+
/**
|
|
26
|
+
* One to fifty Canvas objects whose study-objective concepts should be extracted.
|
|
27
|
+
* @type {Array<TriggerStudyObjectiveConceptExtractionRequestItemsInner>}
|
|
28
|
+
* @memberof TriggerStudyObjectiveConceptExtractionRequest
|
|
29
|
+
*/
|
|
30
|
+
items: Array<TriggerStudyObjectiveConceptExtractionRequestItemsInner>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfTriggerStudyObjectiveConceptExtractionRequest(value: object): value is TriggerStudyObjectiveConceptExtractionRequest;
|
|
36
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestFromJSON(json: any): TriggerStudyObjectiveConceptExtractionRequest;
|
|
37
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TriggerStudyObjectiveConceptExtractionRequest;
|
|
38
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestToJSON(json: any): TriggerStudyObjectiveConceptExtractionRequest;
|
|
39
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestToJSONTyped(value?: TriggerStudyObjectiveConceptExtractionRequest | 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.instanceOfTriggerStudyObjectiveConceptExtractionRequest = instanceOfTriggerStudyObjectiveConceptExtractionRequest;
|
|
17
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestFromJSON = TriggerStudyObjectiveConceptExtractionRequestFromJSON;
|
|
18
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped = TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped;
|
|
19
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestToJSON = TriggerStudyObjectiveConceptExtractionRequestToJSON;
|
|
20
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestToJSONTyped = TriggerStudyObjectiveConceptExtractionRequestToJSONTyped;
|
|
21
|
+
const TriggerStudyObjectiveConceptExtractionRequestItemsInner_1 = require("./TriggerStudyObjectiveConceptExtractionRequestItemsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTriggerStudyObjectiveConceptExtractionRequest(value) {
|
|
26
|
+
if (!('canvasCourseId' in value) || value['canvasCourseId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function TriggerStudyObjectiveConceptExtractionRequestFromJSON(json) {
|
|
33
|
+
return TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function TriggerStudyObjectiveConceptExtractionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'canvasCourseId': json['canvasCourseId'],
|
|
41
|
+
'items': (json['items'].map(TriggerStudyObjectiveConceptExtractionRequestItemsInner_1.TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function TriggerStudyObjectiveConceptExtractionRequestToJSON(json) {
|
|
45
|
+
return TriggerStudyObjectiveConceptExtractionRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function TriggerStudyObjectiveConceptExtractionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'canvasCourseId': value['canvasCourseId'],
|
|
53
|
+
'items': (value['items'].map(TriggerStudyObjectiveConceptExtractionRequestItemsInner_1.TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 TriggerStudyObjectiveConceptExtractionRequestItemsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface TriggerStudyObjectiveConceptExtractionRequestItemsInner {
|
|
18
|
+
/**
|
|
19
|
+
* Canvas object id formatted '{type}:{local_id}'.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TriggerStudyObjectiveConceptExtractionRequestItemsInner
|
|
22
|
+
*/
|
|
23
|
+
canvasObjectId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequestItemsInner interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfTriggerStudyObjectiveConceptExtractionRequestItemsInner(value: object): value is TriggerStudyObjectiveConceptExtractionRequestItemsInner;
|
|
29
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON(json: any): TriggerStudyObjectiveConceptExtractionRequestItemsInner;
|
|
30
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): TriggerStudyObjectiveConceptExtractionRequestItemsInner;
|
|
31
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON(json: any): TriggerStudyObjectiveConceptExtractionRequestItemsInner;
|
|
32
|
+
export declare function TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSONTyped(value?: TriggerStudyObjectiveConceptExtractionRequestItemsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfTriggerStudyObjectiveConceptExtractionRequestItemsInner = instanceOfTriggerStudyObjectiveConceptExtractionRequestItemsInner;
|
|
17
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON = TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON;
|
|
18
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSONTyped = TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSONTyped;
|
|
19
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON = TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON;
|
|
20
|
+
exports.TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSONTyped = TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionRequestItemsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTriggerStudyObjectiveConceptExtractionRequestItemsInner(value) {
|
|
25
|
+
if (!('canvasObjectId' in value) || value['canvasObjectId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSON(json) {
|
|
30
|
+
return TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function TriggerStudyObjectiveConceptExtractionRequestItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'canvasObjectId': json['canvasObjectId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSON(json) {
|
|
41
|
+
return TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function TriggerStudyObjectiveConceptExtractionRequestItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'canvasObjectId': value['canvasObjectId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 { TriggerStudyObjectiveConceptExtractionItemStatus } from './TriggerStudyObjectiveConceptExtractionItemStatus';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TriggerStudyObjectiveConceptExtractionResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface TriggerStudyObjectiveConceptExtractionResponse {
|
|
19
|
+
/**
|
|
20
|
+
* One entry per Canvas object in the request, in the same order.
|
|
21
|
+
* @type {Array<TriggerStudyObjectiveConceptExtractionItemStatus>}
|
|
22
|
+
* @memberof TriggerStudyObjectiveConceptExtractionResponse
|
|
23
|
+
*/
|
|
24
|
+
items: Array<TriggerStudyObjectiveConceptExtractionItemStatus>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfTriggerStudyObjectiveConceptExtractionResponse(value: object): value is TriggerStudyObjectiveConceptExtractionResponse;
|
|
30
|
+
export declare function TriggerStudyObjectiveConceptExtractionResponseFromJSON(json: any): TriggerStudyObjectiveConceptExtractionResponse;
|
|
31
|
+
export declare function TriggerStudyObjectiveConceptExtractionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TriggerStudyObjectiveConceptExtractionResponse;
|
|
32
|
+
export declare function TriggerStudyObjectiveConceptExtractionResponseToJSON(json: any): TriggerStudyObjectiveConceptExtractionResponse;
|
|
33
|
+
export declare function TriggerStudyObjectiveConceptExtractionResponseToJSONTyped(value?: TriggerStudyObjectiveConceptExtractionResponse | 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.instanceOfTriggerStudyObjectiveConceptExtractionResponse = instanceOfTriggerStudyObjectiveConceptExtractionResponse;
|
|
17
|
+
exports.TriggerStudyObjectiveConceptExtractionResponseFromJSON = TriggerStudyObjectiveConceptExtractionResponseFromJSON;
|
|
18
|
+
exports.TriggerStudyObjectiveConceptExtractionResponseFromJSONTyped = TriggerStudyObjectiveConceptExtractionResponseFromJSONTyped;
|
|
19
|
+
exports.TriggerStudyObjectiveConceptExtractionResponseToJSON = TriggerStudyObjectiveConceptExtractionResponseToJSON;
|
|
20
|
+
exports.TriggerStudyObjectiveConceptExtractionResponseToJSONTyped = TriggerStudyObjectiveConceptExtractionResponseToJSONTyped;
|
|
21
|
+
const TriggerStudyObjectiveConceptExtractionItemStatus_1 = require("./TriggerStudyObjectiveConceptExtractionItemStatus");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TriggerStudyObjectiveConceptExtractionResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTriggerStudyObjectiveConceptExtractionResponse(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function TriggerStudyObjectiveConceptExtractionResponseFromJSON(json) {
|
|
31
|
+
return TriggerStudyObjectiveConceptExtractionResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function TriggerStudyObjectiveConceptExtractionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'items': (json['items'].map(TriggerStudyObjectiveConceptExtractionItemStatus_1.TriggerStudyObjectiveConceptExtractionItemStatusFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function TriggerStudyObjectiveConceptExtractionResponseToJSON(json) {
|
|
42
|
+
return TriggerStudyObjectiveConceptExtractionResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function TriggerStudyObjectiveConceptExtractionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'items': (value['items'].map(TriggerStudyObjectiveConceptExtractionItemStatus_1.TriggerStudyObjectiveConceptExtractionItemStatusToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { CreateStudyObjectiveDtoCanvasDocumentsInner } from './CreateStudyObjectiveDtoCanvasDocumentsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateStudyObjectiveDto
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateStudyObjectiveDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateStudyObjectiveDto
|
|
23
|
+
*/
|
|
24
|
+
title?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateStudyObjectiveDto
|
|
29
|
+
*/
|
|
30
|
+
notes?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<CreateStudyObjectiveDtoCanvasDocumentsInner>}
|
|
34
|
+
* @memberof UpdateStudyObjectiveDto
|
|
35
|
+
*/
|
|
36
|
+
canvasDocuments?: Array<CreateStudyObjectiveDtoCanvasDocumentsInner>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof UpdateStudyObjectiveDto
|
|
41
|
+
*/
|
|
42
|
+
dueAt?: Date | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateStudyObjectiveDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfUpdateStudyObjectiveDto(value: object): value is UpdateStudyObjectiveDto;
|
|
48
|
+
export declare function UpdateStudyObjectiveDtoFromJSON(json: any): UpdateStudyObjectiveDto;
|
|
49
|
+
export declare function UpdateStudyObjectiveDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStudyObjectiveDto;
|
|
50
|
+
export declare function UpdateStudyObjectiveDtoToJSON(json: any): UpdateStudyObjectiveDto;
|
|
51
|
+
export declare function UpdateStudyObjectiveDtoToJSONTyped(value?: UpdateStudyObjectiveDto | 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.instanceOfUpdateStudyObjectiveDto = instanceOfUpdateStudyObjectiveDto;
|
|
17
|
+
exports.UpdateStudyObjectiveDtoFromJSON = UpdateStudyObjectiveDtoFromJSON;
|
|
18
|
+
exports.UpdateStudyObjectiveDtoFromJSONTyped = UpdateStudyObjectiveDtoFromJSONTyped;
|
|
19
|
+
exports.UpdateStudyObjectiveDtoToJSON = UpdateStudyObjectiveDtoToJSON;
|
|
20
|
+
exports.UpdateStudyObjectiveDtoToJSONTyped = UpdateStudyObjectiveDtoToJSONTyped;
|
|
21
|
+
const CreateStudyObjectiveDtoCanvasDocumentsInner_1 = require("./CreateStudyObjectiveDtoCanvasDocumentsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateStudyObjectiveDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateStudyObjectiveDto(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function UpdateStudyObjectiveDtoFromJSON(json) {
|
|
29
|
+
return UpdateStudyObjectiveDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function UpdateStudyObjectiveDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
37
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
38
|
+
'canvasDocuments': json['canvasDocuments'] == null ? undefined : (json['canvasDocuments'].map(CreateStudyObjectiveDtoCanvasDocumentsInner_1.CreateStudyObjectiveDtoCanvasDocumentsInnerFromJSON)),
|
|
39
|
+
'dueAt': json['dueAt'] == null ? undefined : (new Date(json['dueAt'])),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function UpdateStudyObjectiveDtoToJSON(json) {
|
|
43
|
+
return UpdateStudyObjectiveDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function UpdateStudyObjectiveDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'title': value['title'],
|
|
51
|
+
'notes': value['notes'],
|
|
52
|
+
'canvasDocuments': value['canvasDocuments'] == null ? undefined : (value['canvasDocuments'].map(CreateStudyObjectiveDtoCanvasDocumentsInner_1.CreateStudyObjectiveDtoCanvasDocumentsInnerToJSON)),
|
|
53
|
+
'dueAt': value['dueAt'] == null ? value['dueAt'] : value['dueAt'].toISOString(),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { UserFileAssociation } from './UserFileAssociation';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserFile
|
|
17
|
+
*/
|
|
18
|
+
export interface UserFile {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UserFile
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UserFile
|
|
29
|
+
*/
|
|
30
|
+
accountUserId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserFile
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UserFile
|
|
41
|
+
*/
|
|
42
|
+
mimeType: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof UserFile
|
|
47
|
+
*/
|
|
48
|
+
sizeBytes: number;
|
|
49
|
+
/**
|
|
50
|
+
* Freshly-signed S3 GET URL (~30 min TTL). Regenerated on every read; do not persist.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UserFile
|
|
53
|
+
*/
|
|
54
|
+
previewUrl: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<UserFileAssociation>}
|
|
58
|
+
* @memberof UserFile
|
|
59
|
+
*/
|
|
60
|
+
associations: Array<UserFileAssociation>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof UserFile
|
|
65
|
+
*/
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the UserFile interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfUserFile(value: object): value is UserFile;
|
|
72
|
+
export declare function UserFileFromJSON(json: any): UserFile;
|
|
73
|
+
export declare function UserFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserFile;
|
|
74
|
+
export declare function UserFileToJSON(json: any): UserFile;
|
|
75
|
+
export declare function UserFileToJSONTyped(value?: UserFile | null, ignoreDiscriminator?: boolean): any;
|