@instructure/athena-api-client 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist/apis/AdminApi.d.ts +12 -12
- package/dist/apis/AdminApi.js +12 -12
- package/dist/apis/ConceptDiagramsApi.d.ts +2 -2
- package/dist/apis/ConceptDiagramsApi.js +2 -2
- package/dist/apis/ConceptImagesApi.d.ts +2 -2
- package/dist/apis/ConceptImagesApi.js +2 -2
- package/dist/apis/StudyGuidesApi.d.ts +112 -0
- package/dist/apis/StudyGuidesApi.js +312 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdminApi.d.ts +12 -12
- package/dist/esm/apis/AdminApi.js +12 -12
- package/dist/esm/apis/ConceptDiagramsApi.d.ts +2 -2
- package/dist/esm/apis/ConceptDiagramsApi.js +2 -2
- package/dist/esm/apis/ConceptImagesApi.d.ts +2 -2
- package/dist/esm/apis/ConceptImagesApi.js +2 -2
- package/dist/esm/apis/StudyGuidesApi.d.ts +112 -0
- package/dist/esm/apis/StudyGuidesApi.js +308 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AdminConceptDiagram.d.ts +7 -1
- package/dist/esm/models/AdminConceptDiagram.js +4 -0
- package/dist/esm/models/AdminConceptDiagramDetail.d.ts +7 -1
- package/dist/esm/models/AdminConceptDiagramDetail.js +4 -0
- package/dist/esm/models/AdminConceptImage.d.ts +7 -1
- package/dist/esm/models/AdminConceptImage.js +4 -0
- package/dist/esm/models/AdminConceptImageDetail.d.ts +7 -1
- package/dist/esm/models/AdminConceptImageDetail.js +4 -0
- package/dist/esm/models/AdminShownConceptDiagram.d.ts +7 -1
- package/dist/esm/models/AdminShownConceptDiagram.js +4 -0
- package/dist/esm/models/AdminShownConceptImage.d.ts +7 -1
- package/dist/esm/models/AdminShownConceptImage.js +4 -0
- package/dist/esm/models/AssociateUserFileRequest.d.ts +1 -0
- package/dist/esm/models/AssociateUserFileRequest.js +2 -1
- package/dist/esm/models/ConceptMediaFlagResult.d.ts +1 -1
- package/dist/esm/models/CreateStudyGuideQuizRequest.d.ts +46 -0
- package/dist/esm/models/CreateStudyGuideQuizRequest.js +50 -0
- package/dist/esm/models/CreateStudyGuideRequest.d.ts +74 -0
- package/dist/esm/models/CreateStudyGuideRequest.js +55 -0
- package/dist/esm/models/PaginatedStudyGuides.d.ts +39 -0
- package/dist/esm/models/PaginatedStudyGuides.js +48 -0
- package/dist/esm/models/RegenerateStudyGuideRequest.d.ts +38 -0
- package/dist/esm/models/RegenerateStudyGuideRequest.js +43 -0
- package/dist/esm/models/StudyGuide.d.ts +153 -0
- package/dist/esm/models/StudyGuide.js +127 -0
- package/dist/esm/models/StudyGuideConcept.d.ts +68 -0
- package/dist/esm/models/StudyGuideConcept.js +67 -0
- package/dist/esm/models/StudyGuideFile.d.ts +56 -0
- package/dist/esm/models/StudyGuideFile.js +59 -0
- package/dist/esm/models/StudyGuideListItem.d.ts +102 -0
- package/dist/esm/models/StudyGuideListItem.js +92 -0
- package/dist/esm/models/StudyGuideQuiz.d.ts +58 -0
- package/dist/esm/models/StudyGuideQuiz.js +62 -0
- package/dist/esm/models/StudyGuideSourceSummary.d.ts +56 -0
- package/dist/esm/models/StudyGuideSourceSummary.js +59 -0
- package/dist/esm/models/UserFileAssociation.d.ts +1 -0
- package/dist/esm/models/UserFileAssociation.js +2 -1
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/AdminConceptDiagram.d.ts +7 -1
- package/dist/models/AdminConceptDiagram.js +4 -0
- package/dist/models/AdminConceptDiagramDetail.d.ts +7 -1
- package/dist/models/AdminConceptDiagramDetail.js +4 -0
- package/dist/models/AdminConceptImage.d.ts +7 -1
- package/dist/models/AdminConceptImage.js +4 -0
- package/dist/models/AdminConceptImageDetail.d.ts +7 -1
- package/dist/models/AdminConceptImageDetail.js +4 -0
- package/dist/models/AdminShownConceptDiagram.d.ts +7 -1
- package/dist/models/AdminShownConceptDiagram.js +4 -0
- package/dist/models/AdminShownConceptImage.d.ts +7 -1
- package/dist/models/AdminShownConceptImage.js +4 -0
- package/dist/models/AssociateUserFileRequest.d.ts +1 -0
- package/dist/models/AssociateUserFileRequest.js +2 -1
- package/dist/models/ConceptMediaFlagResult.d.ts +1 -1
- package/dist/models/CreateStudyGuideQuizRequest.d.ts +46 -0
- package/dist/models/CreateStudyGuideQuizRequest.js +58 -0
- package/dist/models/CreateStudyGuideRequest.d.ts +74 -0
- package/dist/models/CreateStudyGuideRequest.js +62 -0
- package/dist/models/PaginatedStudyGuides.d.ts +39 -0
- package/dist/models/PaginatedStudyGuides.js +55 -0
- package/dist/models/RegenerateStudyGuideRequest.d.ts +38 -0
- package/dist/models/RegenerateStudyGuideRequest.js +50 -0
- package/dist/models/StudyGuide.d.ts +153 -0
- package/dist/models/StudyGuide.js +135 -0
- package/dist/models/StudyGuideConcept.d.ts +68 -0
- package/dist/models/StudyGuideConcept.js +74 -0
- package/dist/models/StudyGuideFile.d.ts +56 -0
- package/dist/models/StudyGuideFile.js +66 -0
- package/dist/models/StudyGuideListItem.d.ts +102 -0
- package/dist/models/StudyGuideListItem.js +100 -0
- package/dist/models/StudyGuideQuiz.d.ts +58 -0
- package/dist/models/StudyGuideQuiz.js +70 -0
- package/dist/models/StudyGuideSourceSummary.d.ts +56 -0
- package/dist/models/StudyGuideSourceSummary.js +66 -0
- package/dist/models/UserFileAssociation.d.ts +1 -0
- package/dist/models/UserFileAssociation.js +2 -1
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,153 @@
|
|
|
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 { StudyGuideFile } from './StudyGuideFile';
|
|
13
|
+
import type { StudyGuideSourceSummary } from './StudyGuideSourceSummary';
|
|
14
|
+
import type { StudyGuideConcept } from './StudyGuideConcept';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface StudyGuide
|
|
19
|
+
*/
|
|
20
|
+
export interface StudyGuide {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof StudyGuide
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof StudyGuide
|
|
31
|
+
*/
|
|
32
|
+
accountUserId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof StudyGuide
|
|
37
|
+
*/
|
|
38
|
+
studySpaceId: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof StudyGuide
|
|
43
|
+
*/
|
|
44
|
+
studyObjectiveId: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof StudyGuide
|
|
49
|
+
*/
|
|
50
|
+
chatId: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof StudyGuide
|
|
55
|
+
*/
|
|
56
|
+
courseId: string | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof StudyGuide
|
|
61
|
+
*/
|
|
62
|
+
canvasObjectRef: string | null;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof StudyGuide
|
|
67
|
+
*/
|
|
68
|
+
title: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof StudyGuide
|
|
73
|
+
*/
|
|
74
|
+
assessmentTitle: string | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof StudyGuide
|
|
79
|
+
*/
|
|
80
|
+
learnerContext: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* 'generating' while the generator runs (poll); 'ready' with concepts; 'needs-context' when Athena could not tell what the assessment covers (see refusalReason and missingContext, then regenerate with more); 'failed' on an infrastructure error.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof StudyGuide
|
|
85
|
+
*/
|
|
86
|
+
status: StudyGuideStatusEnum;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof StudyGuide
|
|
91
|
+
*/
|
|
92
|
+
refusalReason: string | null;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {Array<string>}
|
|
96
|
+
* @memberof StudyGuide
|
|
97
|
+
*/
|
|
98
|
+
missingContext: Array<string> | null;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof StudyGuide
|
|
103
|
+
*/
|
|
104
|
+
summary: string | null;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {StudyGuideSourceSummary}
|
|
108
|
+
* @memberof StudyGuide
|
|
109
|
+
*/
|
|
110
|
+
sourceSummary: StudyGuideSourceSummary | null;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {Array<StudyGuideConcept>}
|
|
114
|
+
* @memberof StudyGuide
|
|
115
|
+
*/
|
|
116
|
+
concepts: Array<StudyGuideConcept>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {Array<StudyGuideFile>}
|
|
120
|
+
* @memberof StudyGuide
|
|
121
|
+
*/
|
|
122
|
+
files: Array<StudyGuideFile>;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {Date}
|
|
126
|
+
* @memberof StudyGuide
|
|
127
|
+
*/
|
|
128
|
+
createdAt: Date;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {Date}
|
|
132
|
+
* @memberof StudyGuide
|
|
133
|
+
*/
|
|
134
|
+
updatedAt: Date;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
export declare const StudyGuideStatusEnum: {
|
|
140
|
+
readonly Generating: "generating";
|
|
141
|
+
readonly Ready: "ready";
|
|
142
|
+
readonly NeedsContext: "needs-context";
|
|
143
|
+
readonly Failed: "failed";
|
|
144
|
+
};
|
|
145
|
+
export type StudyGuideStatusEnum = typeof StudyGuideStatusEnum[keyof typeof StudyGuideStatusEnum];
|
|
146
|
+
/**
|
|
147
|
+
* Check if a given object implements the StudyGuide interface.
|
|
148
|
+
*/
|
|
149
|
+
export declare function instanceOfStudyGuide(value: object): value is StudyGuide;
|
|
150
|
+
export declare function StudyGuideFromJSON(json: any): StudyGuide;
|
|
151
|
+
export declare function StudyGuideFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyGuide;
|
|
152
|
+
export declare function StudyGuideToJSON(json: any): StudyGuide;
|
|
153
|
+
export declare function StudyGuideToJSONTyped(value?: StudyGuide | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { StudyGuideFileFromJSON, StudyGuideFileToJSON, } from './StudyGuideFile';
|
|
15
|
+
import { StudyGuideSourceSummaryFromJSON, StudyGuideSourceSummaryToJSON, } from './StudyGuideSourceSummary';
|
|
16
|
+
import { StudyGuideConceptFromJSON, StudyGuideConceptToJSON, } from './StudyGuideConcept';
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const StudyGuideStatusEnum = {
|
|
21
|
+
Generating: 'generating',
|
|
22
|
+
Ready: 'ready',
|
|
23
|
+
NeedsContext: 'needs-context',
|
|
24
|
+
Failed: 'failed'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the StudyGuide interface.
|
|
28
|
+
*/
|
|
29
|
+
export function instanceOfStudyGuide(value) {
|
|
30
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('accountUserId' in value) || value['accountUserId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('studySpaceId' in value) || value['studySpaceId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('chatId' in value) || value['chatId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('courseId' in value) || value['courseId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('canvasObjectRef' in value) || value['canvasObjectRef'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('assessmentTitle' in value) || value['assessmentTitle'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('learnerContext' in value) || value['learnerContext'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('refusalReason' in value) || value['refusalReason'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('missingContext' in value) || value['missingContext'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('sourceSummary' in value) || value['sourceSummary'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('concepts' in value) || value['concepts'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
export function StudyGuideFromJSON(json) {
|
|
71
|
+
return StudyGuideFromJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
export function StudyGuideFromJSONTyped(json, ignoreDiscriminator) {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'id': json['id'],
|
|
79
|
+
'accountUserId': json['accountUserId'],
|
|
80
|
+
'studySpaceId': json['studySpaceId'],
|
|
81
|
+
'studyObjectiveId': json['studyObjectiveId'],
|
|
82
|
+
'chatId': json['chatId'],
|
|
83
|
+
'courseId': json['courseId'],
|
|
84
|
+
'canvasObjectRef': json['canvasObjectRef'],
|
|
85
|
+
'title': json['title'],
|
|
86
|
+
'assessmentTitle': json['assessmentTitle'],
|
|
87
|
+
'learnerContext': json['learnerContext'],
|
|
88
|
+
'status': json['status'],
|
|
89
|
+
'refusalReason': json['refusalReason'],
|
|
90
|
+
'missingContext': json['missingContext'] == null ? null : json['missingContext'],
|
|
91
|
+
'summary': json['summary'],
|
|
92
|
+
'sourceSummary': StudyGuideSourceSummaryFromJSON(json['sourceSummary']),
|
|
93
|
+
'concepts': (json['concepts'].map(StudyGuideConceptFromJSON)),
|
|
94
|
+
'files': (json['files'].map(StudyGuideFileFromJSON)),
|
|
95
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
96
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
export function StudyGuideToJSON(json) {
|
|
100
|
+
return StudyGuideToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
|
+
export function StudyGuideToJSONTyped(value, ignoreDiscriminator = false) {
|
|
103
|
+
if (value == null) {
|
|
104
|
+
return value;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
'id': value['id'],
|
|
108
|
+
'accountUserId': value['accountUserId'],
|
|
109
|
+
'studySpaceId': value['studySpaceId'],
|
|
110
|
+
'studyObjectiveId': value['studyObjectiveId'],
|
|
111
|
+
'chatId': value['chatId'],
|
|
112
|
+
'courseId': value['courseId'],
|
|
113
|
+
'canvasObjectRef': value['canvasObjectRef'],
|
|
114
|
+
'title': value['title'],
|
|
115
|
+
'assessmentTitle': value['assessmentTitle'],
|
|
116
|
+
'learnerContext': value['learnerContext'],
|
|
117
|
+
'status': value['status'],
|
|
118
|
+
'refusalReason': value['refusalReason'],
|
|
119
|
+
'missingContext': value['missingContext'],
|
|
120
|
+
'summary': value['summary'],
|
|
121
|
+
'sourceSummary': StudyGuideSourceSummaryToJSON(value['sourceSummary']),
|
|
122
|
+
'concepts': (value['concepts'].map(StudyGuideConceptToJSON)),
|
|
123
|
+
'files': (value['files'].map(StudyGuideFileToJSON)),
|
|
124
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
125
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
126
|
+
};
|
|
127
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 StudyGuideConcept
|
|
16
|
+
*/
|
|
17
|
+
export interface StudyGuideConcept {
|
|
18
|
+
/**
|
|
19
|
+
* Row id.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StudyGuideConcept
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Shared concept id, usable with the quiz and tutoring surfaces.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StudyGuideConcept
|
|
28
|
+
*/
|
|
29
|
+
conceptId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StudyGuideConcept
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StudyGuideConcept
|
|
40
|
+
*/
|
|
41
|
+
shortName: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof StudyGuideConcept
|
|
46
|
+
*/
|
|
47
|
+
description: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof StudyGuideConcept
|
|
52
|
+
*/
|
|
53
|
+
displayOrder: number;
|
|
54
|
+
/**
|
|
55
|
+
* Why this concept is on the assessment and what to focus on, as read from the sources.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof StudyGuideConcept
|
|
58
|
+
*/
|
|
59
|
+
focusNote: string | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the StudyGuideConcept interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfStudyGuideConcept(value: object): value is StudyGuideConcept;
|
|
65
|
+
export declare function StudyGuideConceptFromJSON(json: any): StudyGuideConcept;
|
|
66
|
+
export declare function StudyGuideConceptFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyGuideConcept;
|
|
67
|
+
export declare function StudyGuideConceptToJSON(json: any): StudyGuideConcept;
|
|
68
|
+
export declare function StudyGuideConceptToJSONTyped(value?: StudyGuideConcept | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the StudyGuideConcept interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfStudyGuideConcept(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('conceptId' in value) || value['conceptId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('shortName' in value) || value['shortName'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('displayOrder' in value) || value['displayOrder'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('focusNote' in value) || value['focusNote'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function StudyGuideConceptFromJSON(json) {
|
|
35
|
+
return StudyGuideConceptFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StudyGuideConceptFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'conceptId': json['conceptId'],
|
|
44
|
+
'name': json['name'],
|
|
45
|
+
'shortName': json['shortName'],
|
|
46
|
+
'description': json['description'],
|
|
47
|
+
'displayOrder': json['displayOrder'],
|
|
48
|
+
'focusNote': json['focusNote'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function StudyGuideConceptToJSON(json) {
|
|
52
|
+
return StudyGuideConceptToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function StudyGuideConceptToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'conceptId': value['conceptId'],
|
|
61
|
+
'name': value['name'],
|
|
62
|
+
'shortName': value['shortName'],
|
|
63
|
+
'description': value['description'],
|
|
64
|
+
'displayOrder': value['displayOrder'],
|
|
65
|
+
'focusNote': value['focusNote'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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 StudyGuideFile
|
|
16
|
+
*/
|
|
17
|
+
export interface StudyGuideFile {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StudyGuideFile
|
|
22
|
+
*/
|
|
23
|
+
userFileId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StudyGuideFile
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StudyGuideFile
|
|
34
|
+
*/
|
|
35
|
+
mimeType: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof StudyGuideFile
|
|
40
|
+
*/
|
|
41
|
+
sizeBytes: number;
|
|
42
|
+
/**
|
|
43
|
+
* Freshly-signed GET URL; do not persist.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof StudyGuideFile
|
|
46
|
+
*/
|
|
47
|
+
previewUrl: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the StudyGuideFile interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfStudyGuideFile(value: object): value is StudyGuideFile;
|
|
53
|
+
export declare function StudyGuideFileFromJSON(json: any): StudyGuideFile;
|
|
54
|
+
export declare function StudyGuideFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyGuideFile;
|
|
55
|
+
export declare function StudyGuideFileToJSON(json: any): StudyGuideFile;
|
|
56
|
+
export declare function StudyGuideFileToJSONTyped(value?: StudyGuideFile | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the StudyGuideFile interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfStudyGuideFile(value) {
|
|
18
|
+
if (!('userFileId' in value) || value['userFileId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('previewUrl' in value) || value['previewUrl'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function StudyGuideFileFromJSON(json) {
|
|
31
|
+
return StudyGuideFileFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function StudyGuideFileFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'userFileId': json['userFileId'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'mimeType': json['mimeType'],
|
|
41
|
+
'sizeBytes': json['sizeBytes'],
|
|
42
|
+
'previewUrl': json['previewUrl'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function StudyGuideFileToJSON(json) {
|
|
46
|
+
return StudyGuideFileToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function StudyGuideFileToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'userFileId': value['userFileId'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'mimeType': value['mimeType'],
|
|
56
|
+
'sizeBytes': value['sizeBytes'],
|
|
57
|
+
'previewUrl': value['previewUrl'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 StudyGuideListItem
|
|
16
|
+
*/
|
|
17
|
+
export interface StudyGuideListItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StudyGuideListItem
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StudyGuideListItem
|
|
28
|
+
*/
|
|
29
|
+
studySpaceId: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StudyGuideListItem
|
|
34
|
+
*/
|
|
35
|
+
studyObjectiveId: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof StudyGuideListItem
|
|
40
|
+
*/
|
|
41
|
+
courseId: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof StudyGuideListItem
|
|
46
|
+
*/
|
|
47
|
+
title: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof StudyGuideListItem
|
|
52
|
+
*/
|
|
53
|
+
assessmentTitle: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof StudyGuideListItem
|
|
58
|
+
*/
|
|
59
|
+
status: StudyGuideListItemStatusEnum;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof StudyGuideListItem
|
|
64
|
+
*/
|
|
65
|
+
summary: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof StudyGuideListItem
|
|
70
|
+
*/
|
|
71
|
+
conceptCount: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof StudyGuideListItem
|
|
76
|
+
*/
|
|
77
|
+
createdAt: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof StudyGuideListItem
|
|
82
|
+
*/
|
|
83
|
+
updatedAt: Date;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const StudyGuideListItemStatusEnum: {
|
|
89
|
+
readonly Generating: "generating";
|
|
90
|
+
readonly Ready: "ready";
|
|
91
|
+
readonly NeedsContext: "needs-context";
|
|
92
|
+
readonly Failed: "failed";
|
|
93
|
+
};
|
|
94
|
+
export type StudyGuideListItemStatusEnum = typeof StudyGuideListItemStatusEnum[keyof typeof StudyGuideListItemStatusEnum];
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the StudyGuideListItem interface.
|
|
97
|
+
*/
|
|
98
|
+
export declare function instanceOfStudyGuideListItem(value: object): value is StudyGuideListItem;
|
|
99
|
+
export declare function StudyGuideListItemFromJSON(json: any): StudyGuideListItem;
|
|
100
|
+
export declare function StudyGuideListItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyGuideListItem;
|
|
101
|
+
export declare function StudyGuideListItemToJSON(json: any): StudyGuideListItem;
|
|
102
|
+
export declare function StudyGuideListItemToJSONTyped(value?: StudyGuideListItem | null, ignoreDiscriminator?: boolean): any;
|