@instructure/athena-api-client 4.0.1 → 4.0.2

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.
Files changed (62) hide show
  1. package/README.md +16 -0
  2. package/dist/apis/StudyGuidesApi.d.ts +112 -0
  3. package/dist/apis/StudyGuidesApi.js +312 -0
  4. package/dist/apis/index.d.ts +1 -0
  5. package/dist/apis/index.js +1 -0
  6. package/dist/esm/apis/StudyGuidesApi.d.ts +112 -0
  7. package/dist/esm/apis/StudyGuidesApi.js +308 -0
  8. package/dist/esm/apis/index.d.ts +1 -0
  9. package/dist/esm/apis/index.js +1 -0
  10. package/dist/esm/models/AssociateUserFileRequest.d.ts +1 -0
  11. package/dist/esm/models/AssociateUserFileRequest.js +2 -1
  12. package/dist/esm/models/CreateStudyGuideQuizRequest.d.ts +46 -0
  13. package/dist/esm/models/CreateStudyGuideQuizRequest.js +50 -0
  14. package/dist/esm/models/CreateStudyGuideRequest.d.ts +74 -0
  15. package/dist/esm/models/CreateStudyGuideRequest.js +55 -0
  16. package/dist/esm/models/PaginatedStudyGuides.d.ts +39 -0
  17. package/dist/esm/models/PaginatedStudyGuides.js +48 -0
  18. package/dist/esm/models/RegenerateStudyGuideRequest.d.ts +38 -0
  19. package/dist/esm/models/RegenerateStudyGuideRequest.js +43 -0
  20. package/dist/esm/models/StudyGuide.d.ts +153 -0
  21. package/dist/esm/models/StudyGuide.js +127 -0
  22. package/dist/esm/models/StudyGuideConcept.d.ts +68 -0
  23. package/dist/esm/models/StudyGuideConcept.js +67 -0
  24. package/dist/esm/models/StudyGuideFile.d.ts +56 -0
  25. package/dist/esm/models/StudyGuideFile.js +59 -0
  26. package/dist/esm/models/StudyGuideListItem.d.ts +102 -0
  27. package/dist/esm/models/StudyGuideListItem.js +92 -0
  28. package/dist/esm/models/StudyGuideQuiz.d.ts +58 -0
  29. package/dist/esm/models/StudyGuideQuiz.js +62 -0
  30. package/dist/esm/models/StudyGuideSourceSummary.d.ts +56 -0
  31. package/dist/esm/models/StudyGuideSourceSummary.js +59 -0
  32. package/dist/esm/models/UserFileAssociation.d.ts +1 -0
  33. package/dist/esm/models/UserFileAssociation.js +2 -1
  34. package/dist/esm/models/index.d.ts +10 -0
  35. package/dist/esm/models/index.js +10 -0
  36. package/dist/models/AssociateUserFileRequest.d.ts +1 -0
  37. package/dist/models/AssociateUserFileRequest.js +2 -1
  38. package/dist/models/CreateStudyGuideQuizRequest.d.ts +46 -0
  39. package/dist/models/CreateStudyGuideQuizRequest.js +58 -0
  40. package/dist/models/CreateStudyGuideRequest.d.ts +74 -0
  41. package/dist/models/CreateStudyGuideRequest.js +62 -0
  42. package/dist/models/PaginatedStudyGuides.d.ts +39 -0
  43. package/dist/models/PaginatedStudyGuides.js +55 -0
  44. package/dist/models/RegenerateStudyGuideRequest.d.ts +38 -0
  45. package/dist/models/RegenerateStudyGuideRequest.js +50 -0
  46. package/dist/models/StudyGuide.d.ts +153 -0
  47. package/dist/models/StudyGuide.js +135 -0
  48. package/dist/models/StudyGuideConcept.d.ts +68 -0
  49. package/dist/models/StudyGuideConcept.js +74 -0
  50. package/dist/models/StudyGuideFile.d.ts +56 -0
  51. package/dist/models/StudyGuideFile.js +66 -0
  52. package/dist/models/StudyGuideListItem.d.ts +102 -0
  53. package/dist/models/StudyGuideListItem.js +100 -0
  54. package/dist/models/StudyGuideQuiz.d.ts +58 -0
  55. package/dist/models/StudyGuideQuiz.js +70 -0
  56. package/dist/models/StudyGuideSourceSummary.d.ts +56 -0
  57. package/dist/models/StudyGuideSourceSummary.js +66 -0
  58. package/dist/models/UserFileAssociation.d.ts +1 -0
  59. package/dist/models/UserFileAssociation.js +2 -1
  60. package/dist/models/index.d.ts +10 -0
  61. package/dist/models/index.js +10 -0
  62. package/package.json +1 -1
@@ -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;
@@ -0,0 +1,92 @@
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
+ * @export
16
+ */
17
+ export const StudyGuideListItemStatusEnum = {
18
+ Generating: 'generating',
19
+ Ready: 'ready',
20
+ NeedsContext: 'needs-context',
21
+ Failed: 'failed'
22
+ };
23
+ /**
24
+ * Check if a given object implements the StudyGuideListItem interface.
25
+ */
26
+ export function instanceOfStudyGuideListItem(value) {
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ if (!('studySpaceId' in value) || value['studySpaceId'] === undefined)
30
+ return false;
31
+ if (!('studyObjectiveId' in value) || value['studyObjectiveId'] === undefined)
32
+ return false;
33
+ if (!('courseId' in value) || value['courseId'] === undefined)
34
+ return false;
35
+ if (!('title' in value) || value['title'] === undefined)
36
+ return false;
37
+ if (!('assessmentTitle' in value) || value['assessmentTitle'] === undefined)
38
+ return false;
39
+ if (!('status' in value) || value['status'] === undefined)
40
+ return false;
41
+ if (!('summary' in value) || value['summary'] === undefined)
42
+ return false;
43
+ if (!('conceptCount' in value) || value['conceptCount'] === undefined)
44
+ return false;
45
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
46
+ return false;
47
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ export function StudyGuideListItemFromJSON(json) {
52
+ return StudyGuideListItemFromJSONTyped(json, false);
53
+ }
54
+ export function StudyGuideListItemFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'id': json['id'],
60
+ 'studySpaceId': json['studySpaceId'],
61
+ 'studyObjectiveId': json['studyObjectiveId'],
62
+ 'courseId': json['courseId'],
63
+ 'title': json['title'],
64
+ 'assessmentTitle': json['assessmentTitle'],
65
+ 'status': json['status'],
66
+ 'summary': json['summary'],
67
+ 'conceptCount': json['conceptCount'],
68
+ 'createdAt': (new Date(json['createdAt'])),
69
+ 'updatedAt': (new Date(json['updatedAt'])),
70
+ };
71
+ }
72
+ export function StudyGuideListItemToJSON(json) {
73
+ return StudyGuideListItemToJSONTyped(json, false);
74
+ }
75
+ export function StudyGuideListItemToJSONTyped(value, ignoreDiscriminator = false) {
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+ return {
80
+ 'id': value['id'],
81
+ 'studySpaceId': value['studySpaceId'],
82
+ 'studyObjectiveId': value['studyObjectiveId'],
83
+ 'courseId': value['courseId'],
84
+ 'title': value['title'],
85
+ 'assessmentTitle': value['assessmentTitle'],
86
+ 'status': value['status'],
87
+ 'summary': value['summary'],
88
+ 'conceptCount': value['conceptCount'],
89
+ 'createdAt': value['createdAt'].toISOString(),
90
+ 'updatedAt': value['updatedAt'].toISOString(),
91
+ };
92
+ }
@@ -0,0 +1,58 @@
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 StudyGuideQuiz
16
+ */
17
+ export interface StudyGuideQuiz {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StudyGuideQuiz
22
+ */
23
+ quizId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StudyGuideQuiz
28
+ */
29
+ title: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof StudyGuideQuiz
34
+ */
35
+ mode: StudyGuideQuizModeEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof StudyGuideQuiz
40
+ */
41
+ questionCount: number;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const StudyGuideQuizModeEnum: {
47
+ readonly Quiz: "quiz";
48
+ readonly Flashcards: "flashcards";
49
+ };
50
+ export type StudyGuideQuizModeEnum = typeof StudyGuideQuizModeEnum[keyof typeof StudyGuideQuizModeEnum];
51
+ /**
52
+ * Check if a given object implements the StudyGuideQuiz interface.
53
+ */
54
+ export declare function instanceOfStudyGuideQuiz(value: object): value is StudyGuideQuiz;
55
+ export declare function StudyGuideQuizFromJSON(json: any): StudyGuideQuiz;
56
+ export declare function StudyGuideQuizFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyGuideQuiz;
57
+ export declare function StudyGuideQuizToJSON(json: any): StudyGuideQuiz;
58
+ export declare function StudyGuideQuizToJSONTyped(value?: StudyGuideQuiz | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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
+ * @export
16
+ */
17
+ export const StudyGuideQuizModeEnum = {
18
+ Quiz: 'quiz',
19
+ Flashcards: 'flashcards'
20
+ };
21
+ /**
22
+ * Check if a given object implements the StudyGuideQuiz interface.
23
+ */
24
+ export function instanceOfStudyGuideQuiz(value) {
25
+ if (!('quizId' in value) || value['quizId'] === undefined)
26
+ return false;
27
+ if (!('title' in value) || value['title'] === undefined)
28
+ return false;
29
+ if (!('mode' in value) || value['mode'] === undefined)
30
+ return false;
31
+ if (!('questionCount' in value) || value['questionCount'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ export function StudyGuideQuizFromJSON(json) {
36
+ return StudyGuideQuizFromJSONTyped(json, false);
37
+ }
38
+ export function StudyGuideQuizFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'quizId': json['quizId'],
44
+ 'title': json['title'],
45
+ 'mode': json['mode'],
46
+ 'questionCount': json['questionCount'],
47
+ };
48
+ }
49
+ export function StudyGuideQuizToJSON(json) {
50
+ return StudyGuideQuizToJSONTyped(json, false);
51
+ }
52
+ export function StudyGuideQuizToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'quizId': value['quizId'],
58
+ 'title': value['title'],
59
+ 'mode': value['mode'],
60
+ 'questionCount': value['questionCount'],
61
+ };
62
+ }
@@ -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 StudyGuideSourceSummary
16
+ */
17
+ export interface StudyGuideSourceSummary {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof StudyGuideSourceSummary
22
+ */
23
+ canvasItemText: boolean;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof StudyGuideSourceSummary
28
+ */
29
+ syllabus: boolean;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof StudyGuideSourceSummary
34
+ */
35
+ learnerContext: boolean;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof StudyGuideSourceSummary
40
+ */
41
+ attachmentCount: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof StudyGuideSourceSummary
46
+ */
47
+ objectiveConceptCount: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the StudyGuideSourceSummary interface.
51
+ */
52
+ export declare function instanceOfStudyGuideSourceSummary(value: object): value is StudyGuideSourceSummary;
53
+ export declare function StudyGuideSourceSummaryFromJSON(json: any): StudyGuideSourceSummary;
54
+ export declare function StudyGuideSourceSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyGuideSourceSummary;
55
+ export declare function StudyGuideSourceSummaryToJSON(json: any): StudyGuideSourceSummary;
56
+ export declare function StudyGuideSourceSummaryToJSONTyped(value?: StudyGuideSourceSummary | 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 StudyGuideSourceSummary interface.
16
+ */
17
+ export function instanceOfStudyGuideSourceSummary(value) {
18
+ if (!('canvasItemText' in value) || value['canvasItemText'] === undefined)
19
+ return false;
20
+ if (!('syllabus' in value) || value['syllabus'] === undefined)
21
+ return false;
22
+ if (!('learnerContext' in value) || value['learnerContext'] === undefined)
23
+ return false;
24
+ if (!('attachmentCount' in value) || value['attachmentCount'] === undefined)
25
+ return false;
26
+ if (!('objectiveConceptCount' in value) || value['objectiveConceptCount'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function StudyGuideSourceSummaryFromJSON(json) {
31
+ return StudyGuideSourceSummaryFromJSONTyped(json, false);
32
+ }
33
+ export function StudyGuideSourceSummaryFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'canvasItemText': json['canvasItemText'],
39
+ 'syllabus': json['syllabus'],
40
+ 'learnerContext': json['learnerContext'],
41
+ 'attachmentCount': json['attachmentCount'],
42
+ 'objectiveConceptCount': json['objectiveConceptCount'],
43
+ };
44
+ }
45
+ export function StudyGuideSourceSummaryToJSON(json) {
46
+ return StudyGuideSourceSummaryToJSONTyped(json, false);
47
+ }
48
+ export function StudyGuideSourceSummaryToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'canvasItemText': value['canvasItemText'],
54
+ 'syllabus': value['syllabus'],
55
+ 'learnerContext': value['learnerContext'],
56
+ 'attachmentCount': value['attachmentCount'],
57
+ 'objectiveConceptCount': value['objectiveConceptCount'],
58
+ };
59
+ }
@@ -48,6 +48,7 @@ export declare const UserFileAssociationKindEnum: {
48
48
  readonly Message: "message";
49
49
  readonly StudyObjective: "study_objective";
50
50
  readonly ObjectiveResource: "objective_resource";
51
+ readonly StudyGuide: "study_guide";
51
52
  };
52
53
  export type UserFileAssociationKindEnum = typeof UserFileAssociationKindEnum[keyof typeof UserFileAssociationKindEnum];
53
54
  /**
@@ -18,7 +18,8 @@ export const UserFileAssociationKindEnum = {
18
18
  Chat: 'chat',
19
19
  Message: 'message',
20
20
  StudyObjective: 'study_objective',
21
- ObjectiveResource: 'objective_resource'
21
+ ObjectiveResource: 'objective_resource',
22
+ StudyGuide: 'study_guide'
22
23
  };
23
24
  /**
24
25
  * Check if a given object implements the UserFileAssociation interface.
@@ -105,6 +105,8 @@ export * from './CreateMessagesResponse';
105
105
  export * from './CreateObjectiveResourceDto';
106
106
  export * from './CreatePlanDto';
107
107
  export * from './CreatePracticeQuizRequest';
108
+ export * from './CreateStudyGuideQuizRequest';
109
+ export * from './CreateStudyGuideRequest';
108
110
  export * from './CreateStudyObjectiveDto';
109
111
  export * from './CreateStudyObjectiveDtoCanvasDocumentsInner';
110
112
  export * from './CreateStudyObjectiveDtoCanvasObject';
@@ -140,6 +142,7 @@ export * from './PaginatedObjectiveResources';
140
142
  export * from './PaginatedQuizSessions';
141
143
  export * from './PaginatedQuizzes';
142
144
  export * from './PaginatedResources';
145
+ export * from './PaginatedStudyGuides';
143
146
  export * from './PaginatedStudyObjectives';
144
147
  export * from './PaginatedTaxonomies';
145
148
  export * from './PaginatedUserConcepts';
@@ -161,6 +164,7 @@ export * from './QuizSessionSummary';
161
164
  export * from './QuizSharing';
162
165
  export * from './QuizWithQuestions';
163
166
  export * from './RecordQuizQuestionViewRequest';
167
+ export * from './RegenerateStudyGuideRequest';
164
168
  export * from './ResourceActivity';
165
169
  export * from './ResourceChat';
166
170
  export * from './ResourceListItem';
@@ -173,6 +177,12 @@ export * from './Score';
173
177
  export * from './ScoreByTypeValue';
174
178
  export * from './ServiceToken';
175
179
  export * from './SharedQuiz';
180
+ export * from './StudyGuide';
181
+ export * from './StudyGuideConcept';
182
+ export * from './StudyGuideFile';
183
+ export * from './StudyGuideListItem';
184
+ export * from './StudyGuideQuiz';
185
+ export * from './StudyGuideSourceSummary';
176
186
  export * from './StudyObjective';
177
187
  export * from './StudyObjectiveAccess';
178
188
  export * from './StudyObjectiveCanvasDocument';
@@ -107,6 +107,8 @@ export * from './CreateMessagesResponse';
107
107
  export * from './CreateObjectiveResourceDto';
108
108
  export * from './CreatePlanDto';
109
109
  export * from './CreatePracticeQuizRequest';
110
+ export * from './CreateStudyGuideQuizRequest';
111
+ export * from './CreateStudyGuideRequest';
110
112
  export * from './CreateStudyObjectiveDto';
111
113
  export * from './CreateStudyObjectiveDtoCanvasDocumentsInner';
112
114
  export * from './CreateStudyObjectiveDtoCanvasObject';
@@ -142,6 +144,7 @@ export * from './PaginatedObjectiveResources';
142
144
  export * from './PaginatedQuizSessions';
143
145
  export * from './PaginatedQuizzes';
144
146
  export * from './PaginatedResources';
147
+ export * from './PaginatedStudyGuides';
145
148
  export * from './PaginatedStudyObjectives';
146
149
  export * from './PaginatedTaxonomies';
147
150
  export * from './PaginatedUserConcepts';
@@ -163,6 +166,7 @@ export * from './QuizSessionSummary';
163
166
  export * from './QuizSharing';
164
167
  export * from './QuizWithQuestions';
165
168
  export * from './RecordQuizQuestionViewRequest';
169
+ export * from './RegenerateStudyGuideRequest';
166
170
  export * from './ResourceActivity';
167
171
  export * from './ResourceChat';
168
172
  export * from './ResourceListItem';
@@ -175,6 +179,12 @@ export * from './Score';
175
179
  export * from './ScoreByTypeValue';
176
180
  export * from './ServiceToken';
177
181
  export * from './SharedQuiz';
182
+ export * from './StudyGuide';
183
+ export * from './StudyGuideConcept';
184
+ export * from './StudyGuideFile';
185
+ export * from './StudyGuideListItem';
186
+ export * from './StudyGuideQuiz';
187
+ export * from './StudyGuideSourceSummary';
178
188
  export * from './StudyObjective';
179
189
  export * from './StudyObjectiveAccess';
180
190
  export * from './StudyObjectiveCanvasDocument';
@@ -36,6 +36,7 @@ export declare const AssociateUserFileRequestKindEnum: {
36
36
  readonly Message: "message";
37
37
  readonly StudyObjective: "study_objective";
38
38
  readonly ObjectiveResource: "objective_resource";
39
+ readonly StudyGuide: "study_guide";
39
40
  };
40
41
  export type AssociateUserFileRequestKindEnum = typeof AssociateUserFileRequestKindEnum[keyof typeof AssociateUserFileRequestKindEnum];
41
42
  /**
@@ -26,7 +26,8 @@ exports.AssociateUserFileRequestKindEnum = {
26
26
  Chat: 'chat',
27
27
  Message: 'message',
28
28
  StudyObjective: 'study_objective',
29
- ObjectiveResource: 'objective_resource'
29
+ ObjectiveResource: 'objective_resource',
30
+ StudyGuide: 'study_guide'
30
31
  };
31
32
  /**
32
33
  * Check if a given object implements the AssociateUserFileRequest interface.
@@ -0,0 +1,46 @@
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 CreateStudyGuideQuizRequest
16
+ */
17
+ export interface CreateStudyGuideQuizRequest {
18
+ /**
19
+ * 'quiz' for a graded practice quiz, 'flashcards' for a deck.
20
+ * @type {string}
21
+ * @memberof CreateStudyGuideQuizRequest
22
+ */
23
+ mode?: CreateStudyGuideQuizRequestModeEnum;
24
+ /**
25
+ * Concepts on the guide to build from. Omit for the whole guide (the 'Take Practice Quiz' button). Ids not on the guide are ignored.
26
+ * @type {Array<string>}
27
+ * @memberof CreateStudyGuideQuizRequest
28
+ */
29
+ conceptIds?: Array<string>;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const CreateStudyGuideQuizRequestModeEnum: {
35
+ readonly Quiz: "quiz";
36
+ readonly Flashcards: "flashcards";
37
+ };
38
+ export type CreateStudyGuideQuizRequestModeEnum = typeof CreateStudyGuideQuizRequestModeEnum[keyof typeof CreateStudyGuideQuizRequestModeEnum];
39
+ /**
40
+ * Check if a given object implements the CreateStudyGuideQuizRequest interface.
41
+ */
42
+ export declare function instanceOfCreateStudyGuideQuizRequest(value: object): value is CreateStudyGuideQuizRequest;
43
+ export declare function CreateStudyGuideQuizRequestFromJSON(json: any): CreateStudyGuideQuizRequest;
44
+ export declare function CreateStudyGuideQuizRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateStudyGuideQuizRequest;
45
+ export declare function CreateStudyGuideQuizRequestToJSON(json: any): CreateStudyGuideQuizRequest;
46
+ export declare function CreateStudyGuideQuizRequestToJSONTyped(value?: CreateStudyGuideQuizRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.CreateStudyGuideQuizRequestModeEnum = void 0;
17
+ exports.instanceOfCreateStudyGuideQuizRequest = instanceOfCreateStudyGuideQuizRequest;
18
+ exports.CreateStudyGuideQuizRequestFromJSON = CreateStudyGuideQuizRequestFromJSON;
19
+ exports.CreateStudyGuideQuizRequestFromJSONTyped = CreateStudyGuideQuizRequestFromJSONTyped;
20
+ exports.CreateStudyGuideQuizRequestToJSON = CreateStudyGuideQuizRequestToJSON;
21
+ exports.CreateStudyGuideQuizRequestToJSONTyped = CreateStudyGuideQuizRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.CreateStudyGuideQuizRequestModeEnum = {
26
+ Quiz: 'quiz',
27
+ Flashcards: 'flashcards'
28
+ };
29
+ /**
30
+ * Check if a given object implements the CreateStudyGuideQuizRequest interface.
31
+ */
32
+ function instanceOfCreateStudyGuideQuizRequest(value) {
33
+ return true;
34
+ }
35
+ function CreateStudyGuideQuizRequestFromJSON(json) {
36
+ return CreateStudyGuideQuizRequestFromJSONTyped(json, false);
37
+ }
38
+ function CreateStudyGuideQuizRequestFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'mode': json['mode'] == null ? undefined : json['mode'],
44
+ 'conceptIds': json['conceptIds'] == null ? undefined : json['conceptIds'],
45
+ };
46
+ }
47
+ function CreateStudyGuideQuizRequestToJSON(json) {
48
+ return CreateStudyGuideQuizRequestToJSONTyped(json, false);
49
+ }
50
+ function CreateStudyGuideQuizRequestToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'mode': value['mode'],
56
+ 'conceptIds': value['conceptIds'],
57
+ };
58
+ }