@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,135 @@
|
|
|
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.StudyGuideStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfStudyGuide = instanceOfStudyGuide;
|
|
18
|
+
exports.StudyGuideFromJSON = StudyGuideFromJSON;
|
|
19
|
+
exports.StudyGuideFromJSONTyped = StudyGuideFromJSONTyped;
|
|
20
|
+
exports.StudyGuideToJSON = StudyGuideToJSON;
|
|
21
|
+
exports.StudyGuideToJSONTyped = StudyGuideToJSONTyped;
|
|
22
|
+
const StudyGuideFile_1 = require("./StudyGuideFile");
|
|
23
|
+
const StudyGuideSourceSummary_1 = require("./StudyGuideSourceSummary");
|
|
24
|
+
const StudyGuideConcept_1 = require("./StudyGuideConcept");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.StudyGuideStatusEnum = {
|
|
29
|
+
Generating: 'generating',
|
|
30
|
+
Ready: 'ready',
|
|
31
|
+
NeedsContext: 'needs-context',
|
|
32
|
+
Failed: 'failed'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the StudyGuide interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfStudyGuide(value) {
|
|
38
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('accountUserId' in value) || value['accountUserId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('studySpaceId' in value) || value['studySpaceId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('chatId' in value) || value['chatId'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('courseId' in value) || value['courseId'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('canvasObjectRef' in value) || value['canvasObjectRef'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('assessmentTitle' in value) || value['assessmentTitle'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('learnerContext' in value) || value['learnerContext'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('refusalReason' in value) || value['refusalReason'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('missingContext' in value) || value['missingContext'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('sourceSummary' in value) || value['sourceSummary'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
if (!('concepts' in value) || value['concepts'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
71
|
+
return false;
|
|
72
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
73
|
+
return false;
|
|
74
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
75
|
+
return false;
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
function StudyGuideFromJSON(json) {
|
|
79
|
+
return StudyGuideFromJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
function StudyGuideFromJSONTyped(json, ignoreDiscriminator) {
|
|
82
|
+
if (json == null) {
|
|
83
|
+
return json;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'id': json['id'],
|
|
87
|
+
'accountUserId': json['accountUserId'],
|
|
88
|
+
'studySpaceId': json['studySpaceId'],
|
|
89
|
+
'studyObjectiveId': json['studyObjectiveId'],
|
|
90
|
+
'chatId': json['chatId'],
|
|
91
|
+
'courseId': json['courseId'],
|
|
92
|
+
'canvasObjectRef': json['canvasObjectRef'],
|
|
93
|
+
'title': json['title'],
|
|
94
|
+
'assessmentTitle': json['assessmentTitle'],
|
|
95
|
+
'learnerContext': json['learnerContext'],
|
|
96
|
+
'status': json['status'],
|
|
97
|
+
'refusalReason': json['refusalReason'],
|
|
98
|
+
'missingContext': json['missingContext'] == null ? null : json['missingContext'],
|
|
99
|
+
'summary': json['summary'],
|
|
100
|
+
'sourceSummary': (0, StudyGuideSourceSummary_1.StudyGuideSourceSummaryFromJSON)(json['sourceSummary']),
|
|
101
|
+
'concepts': (json['concepts'].map(StudyGuideConcept_1.StudyGuideConceptFromJSON)),
|
|
102
|
+
'files': (json['files'].map(StudyGuideFile_1.StudyGuideFileFromJSON)),
|
|
103
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
104
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function StudyGuideToJSON(json) {
|
|
108
|
+
return StudyGuideToJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
|
+
function StudyGuideToJSONTyped(value, ignoreDiscriminator = false) {
|
|
111
|
+
if (value == null) {
|
|
112
|
+
return value;
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
'id': value['id'],
|
|
116
|
+
'accountUserId': value['accountUserId'],
|
|
117
|
+
'studySpaceId': value['studySpaceId'],
|
|
118
|
+
'studyObjectiveId': value['studyObjectiveId'],
|
|
119
|
+
'chatId': value['chatId'],
|
|
120
|
+
'courseId': value['courseId'],
|
|
121
|
+
'canvasObjectRef': value['canvasObjectRef'],
|
|
122
|
+
'title': value['title'],
|
|
123
|
+
'assessmentTitle': value['assessmentTitle'],
|
|
124
|
+
'learnerContext': value['learnerContext'],
|
|
125
|
+
'status': value['status'],
|
|
126
|
+
'refusalReason': value['refusalReason'],
|
|
127
|
+
'missingContext': value['missingContext'],
|
|
128
|
+
'summary': value['summary'],
|
|
129
|
+
'sourceSummary': (0, StudyGuideSourceSummary_1.StudyGuideSourceSummaryToJSON)(value['sourceSummary']),
|
|
130
|
+
'concepts': (value['concepts'].map(StudyGuideConcept_1.StudyGuideConceptToJSON)),
|
|
131
|
+
'files': (value['files'].map(StudyGuideFile_1.StudyGuideFileToJSON)),
|
|
132
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
133
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -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,74 @@
|
|
|
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.instanceOfStudyGuideConcept = instanceOfStudyGuideConcept;
|
|
17
|
+
exports.StudyGuideConceptFromJSON = StudyGuideConceptFromJSON;
|
|
18
|
+
exports.StudyGuideConceptFromJSONTyped = StudyGuideConceptFromJSONTyped;
|
|
19
|
+
exports.StudyGuideConceptToJSON = StudyGuideConceptToJSON;
|
|
20
|
+
exports.StudyGuideConceptToJSONTyped = StudyGuideConceptToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StudyGuideConcept interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStudyGuideConcept(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('conceptId' in value) || value['conceptId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('shortName' in value) || value['shortName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('displayOrder' in value) || value['displayOrder'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('focusNote' in value) || value['focusNote'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function StudyGuideConceptFromJSON(json) {
|
|
42
|
+
return StudyGuideConceptFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function StudyGuideConceptFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'conceptId': json['conceptId'],
|
|
51
|
+
'name': json['name'],
|
|
52
|
+
'shortName': json['shortName'],
|
|
53
|
+
'description': json['description'],
|
|
54
|
+
'displayOrder': json['displayOrder'],
|
|
55
|
+
'focusNote': json['focusNote'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function StudyGuideConceptToJSON(json) {
|
|
59
|
+
return StudyGuideConceptToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function StudyGuideConceptToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'conceptId': value['conceptId'],
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
'shortName': value['shortName'],
|
|
70
|
+
'description': value['description'],
|
|
71
|
+
'displayOrder': value['displayOrder'],
|
|
72
|
+
'focusNote': value['focusNote'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -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,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.instanceOfStudyGuideFile = instanceOfStudyGuideFile;
|
|
17
|
+
exports.StudyGuideFileFromJSON = StudyGuideFileFromJSON;
|
|
18
|
+
exports.StudyGuideFileFromJSONTyped = StudyGuideFileFromJSONTyped;
|
|
19
|
+
exports.StudyGuideFileToJSON = StudyGuideFileToJSON;
|
|
20
|
+
exports.StudyGuideFileToJSONTyped = StudyGuideFileToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StudyGuideFile interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStudyGuideFile(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 StudyGuideFileFromJSON(json) {
|
|
38
|
+
return StudyGuideFileFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function StudyGuideFileFromJSONTyped(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 StudyGuideFileToJSON(json) {
|
|
53
|
+
return StudyGuideFileToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function StudyGuideFileToJSONTyped(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,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;
|