@instructure/athena-api-client 3.20.4 → 3.22.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.
Files changed (54) hide show
  1. package/README.md +11 -0
  2. package/dist/apis/FeaturesApi.d.ts +14 -1
  3. package/dist/apis/FeaturesApi.js +37 -0
  4. package/dist/apis/StudyObjectivesApi.d.ts +2 -2
  5. package/dist/apis/StudyObjectivesApi.js +2 -2
  6. package/dist/apis/StudyPlansApi.d.ts +76 -0
  7. package/dist/apis/StudyPlansApi.js +206 -0
  8. package/dist/apis/index.d.ts +1 -0
  9. package/dist/apis/index.js +1 -0
  10. package/dist/esm/apis/FeaturesApi.d.ts +14 -1
  11. package/dist/esm/apis/FeaturesApi.js +38 -1
  12. package/dist/esm/apis/StudyObjectivesApi.d.ts +2 -2
  13. package/dist/esm/apis/StudyObjectivesApi.js +2 -2
  14. package/dist/esm/apis/StudyPlansApi.d.ts +76 -0
  15. package/dist/esm/apis/StudyPlansApi.js +202 -0
  16. package/dist/esm/apis/index.d.ts +1 -0
  17. package/dist/esm/apis/index.js +1 -0
  18. package/dist/esm/models/CreateObjectiveResourceDto.d.ts +7 -0
  19. package/dist/esm/models/CreateObjectiveResourceDto.js +4 -1
  20. package/dist/esm/models/CreateStudyPlanDto.d.ts +39 -0
  21. package/dist/esm/models/CreateStudyPlanDto.js +46 -0
  22. package/dist/esm/models/CreateStudyPlanDtoActivitiesInner.d.ts +56 -0
  23. package/dist/esm/models/CreateStudyPlanDtoActivitiesInner.js +53 -0
  24. package/dist/esm/models/ObjectiveResource.d.ts +7 -0
  25. package/dist/esm/models/ObjectiveResource.js +6 -1
  26. package/dist/esm/models/StudyPlan.d.ts +82 -0
  27. package/dist/esm/models/StudyPlan.js +78 -0
  28. package/dist/esm/models/StudyPlanActivity.d.ts +80 -0
  29. package/dist/esm/models/StudyPlanActivity.js +75 -0
  30. package/dist/esm/models/UpdateActivityCompletionDto.d.ts +32 -0
  31. package/dist/esm/models/UpdateActivityCompletionDto.js +43 -0
  32. package/dist/esm/models/UserFeatures.d.ts +32 -0
  33. package/dist/esm/models/UserFeatures.js +43 -0
  34. package/dist/esm/models/index.d.ts +6 -0
  35. package/dist/esm/models/index.js +6 -0
  36. package/dist/models/CreateObjectiveResourceDto.d.ts +7 -0
  37. package/dist/models/CreateObjectiveResourceDto.js +4 -1
  38. package/dist/models/CreateStudyPlanDto.d.ts +39 -0
  39. package/dist/models/CreateStudyPlanDto.js +53 -0
  40. package/dist/models/CreateStudyPlanDtoActivitiesInner.d.ts +56 -0
  41. package/dist/models/CreateStudyPlanDtoActivitiesInner.js +60 -0
  42. package/dist/models/ObjectiveResource.d.ts +7 -0
  43. package/dist/models/ObjectiveResource.js +6 -1
  44. package/dist/models/StudyPlan.d.ts +82 -0
  45. package/dist/models/StudyPlan.js +86 -0
  46. package/dist/models/StudyPlanActivity.d.ts +80 -0
  47. package/dist/models/StudyPlanActivity.js +82 -0
  48. package/dist/models/UpdateActivityCompletionDto.d.ts +32 -0
  49. package/dist/models/UpdateActivityCompletionDto.js +50 -0
  50. package/dist/models/UserFeatures.d.ts +32 -0
  51. package/dist/models/UserFeatures.js +50 -0
  52. package/dist/models/index.d.ts +6 -0
  53. package/dist/models/index.js +6 -0
  54. package/package.json +1 -1
@@ -0,0 +1,82 @@
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 { StudyPlanActivity } from './StudyPlanActivity';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StudyPlan
17
+ */
18
+ export interface StudyPlan {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof StudyPlan
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof StudyPlan
29
+ */
30
+ accountUserId: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof StudyPlan
35
+ */
36
+ ownerType: StudyPlanOwnerTypeEnum;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof StudyPlan
41
+ */
42
+ ownerId: string;
43
+ /**
44
+ * Tool call id of the proposal this plan was saved from, when it came from one.
45
+ * @type {string}
46
+ * @memberof StudyPlan
47
+ */
48
+ sourceToolCallId: string | null;
49
+ /**
50
+ *
51
+ * @type {Date}
52
+ * @memberof StudyPlan
53
+ */
54
+ createdAt: Date;
55
+ /**
56
+ *
57
+ * @type {Date}
58
+ * @memberof StudyPlan
59
+ */
60
+ updatedAt: Date;
61
+ /**
62
+ *
63
+ * @type {Array<StudyPlanActivity>}
64
+ * @memberof StudyPlan
65
+ */
66
+ activities: Array<StudyPlanActivity>;
67
+ }
68
+ /**
69
+ * @export
70
+ */
71
+ export declare const StudyPlanOwnerTypeEnum: {
72
+ readonly StudyObjective: "study_objective";
73
+ };
74
+ export type StudyPlanOwnerTypeEnum = typeof StudyPlanOwnerTypeEnum[keyof typeof StudyPlanOwnerTypeEnum];
75
+ /**
76
+ * Check if a given object implements the StudyPlan interface.
77
+ */
78
+ export declare function instanceOfStudyPlan(value: object): value is StudyPlan;
79
+ export declare function StudyPlanFromJSON(json: any): StudyPlan;
80
+ export declare function StudyPlanFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyPlan;
81
+ export declare function StudyPlanToJSON(json: any): StudyPlan;
82
+ export declare function StudyPlanToJSONTyped(value?: StudyPlan | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,78 @@
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 { StudyPlanActivityFromJSON, StudyPlanActivityToJSON, } from './StudyPlanActivity';
15
+ /**
16
+ * @export
17
+ */
18
+ export const StudyPlanOwnerTypeEnum = {
19
+ StudyObjective: 'study_objective'
20
+ };
21
+ /**
22
+ * Check if a given object implements the StudyPlan interface.
23
+ */
24
+ export function instanceOfStudyPlan(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('accountUserId' in value) || value['accountUserId'] === undefined)
28
+ return false;
29
+ if (!('ownerType' in value) || value['ownerType'] === undefined)
30
+ return false;
31
+ if (!('ownerId' in value) || value['ownerId'] === undefined)
32
+ return false;
33
+ if (!('sourceToolCallId' in value) || value['sourceToolCallId'] === undefined)
34
+ return false;
35
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
36
+ return false;
37
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
38
+ return false;
39
+ if (!('activities' in value) || value['activities'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ export function StudyPlanFromJSON(json) {
44
+ return StudyPlanFromJSONTyped(json, false);
45
+ }
46
+ export function StudyPlanFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'accountUserId': json['accountUserId'],
53
+ 'ownerType': json['ownerType'],
54
+ 'ownerId': json['ownerId'],
55
+ 'sourceToolCallId': json['sourceToolCallId'],
56
+ 'createdAt': (new Date(json['createdAt'])),
57
+ 'updatedAt': (new Date(json['updatedAt'])),
58
+ 'activities': (json['activities'].map(StudyPlanActivityFromJSON)),
59
+ };
60
+ }
61
+ export function StudyPlanToJSON(json) {
62
+ return StudyPlanToJSONTyped(json, false);
63
+ }
64
+ export function StudyPlanToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'id': value['id'],
70
+ 'accountUserId': value['accountUserId'],
71
+ 'ownerType': value['ownerType'],
72
+ 'ownerId': value['ownerId'],
73
+ 'sourceToolCallId': value['sourceToolCallId'],
74
+ 'createdAt': value['createdAt'].toISOString(),
75
+ 'updatedAt': value['updatedAt'].toISOString(),
76
+ 'activities': (value['activities'].map(StudyPlanActivityToJSON)),
77
+ };
78
+ }
@@ -0,0 +1,80 @@
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 StudyPlanActivity
16
+ */
17
+ export interface StudyPlanActivity {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StudyPlanActivity
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StudyPlanActivity
28
+ */
29
+ studyPlanId: string;
30
+ /**
31
+ * Sort key within the plan. Activities are returned in ascending order.
32
+ * @type {number}
33
+ * @memberof StudyPlanActivity
34
+ */
35
+ position: number;
36
+ /**
37
+ * Display-only label such as "Day 1" or "Aug 1". May be empty; it is never parsed for ordering.
38
+ * @type {string}
39
+ * @memberof StudyPlanActivity
40
+ */
41
+ label: string;
42
+ /**
43
+ * Free-form duration such as "30 min".
44
+ * @type {string}
45
+ * @memberof StudyPlanActivity
46
+ */
47
+ duration: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof StudyPlanActivity
52
+ */
53
+ title: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof StudyPlanActivity
58
+ */
59
+ description: string;
60
+ /**
61
+ * When the activity was completed, or null if it is not done.
62
+ * @type {Date}
63
+ * @memberof StudyPlanActivity
64
+ */
65
+ completedAt: Date | null;
66
+ /**
67
+ * The most recent chat started from this activity, or null when it has never been started. Reopen this chat rather than starting a second one.
68
+ * @type {string}
69
+ * @memberof StudyPlanActivity
70
+ */
71
+ chatId: string | null;
72
+ }
73
+ /**
74
+ * Check if a given object implements the StudyPlanActivity interface.
75
+ */
76
+ export declare function instanceOfStudyPlanActivity(value: object): value is StudyPlanActivity;
77
+ export declare function StudyPlanActivityFromJSON(json: any): StudyPlanActivity;
78
+ export declare function StudyPlanActivityFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyPlanActivity;
79
+ export declare function StudyPlanActivityToJSON(json: any): StudyPlanActivity;
80
+ export declare function StudyPlanActivityToJSONTyped(value?: StudyPlanActivity | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
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 StudyPlanActivity interface.
16
+ */
17
+ export function instanceOfStudyPlanActivity(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('studyPlanId' in value) || value['studyPlanId'] === undefined)
21
+ return false;
22
+ if (!('position' in value) || value['position'] === undefined)
23
+ return false;
24
+ if (!('label' in value) || value['label'] === undefined)
25
+ return false;
26
+ if (!('duration' in value) || value['duration'] === undefined)
27
+ return false;
28
+ if (!('title' in value) || value['title'] === undefined)
29
+ return false;
30
+ if (!('description' in value) || value['description'] === undefined)
31
+ return false;
32
+ if (!('completedAt' in value) || value['completedAt'] === undefined)
33
+ return false;
34
+ if (!('chatId' in value) || value['chatId'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function StudyPlanActivityFromJSON(json) {
39
+ return StudyPlanActivityFromJSONTyped(json, false);
40
+ }
41
+ export function StudyPlanActivityFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'id': json['id'],
47
+ 'studyPlanId': json['studyPlanId'],
48
+ 'position': json['position'],
49
+ 'label': json['label'],
50
+ 'duration': json['duration'],
51
+ 'title': json['title'],
52
+ 'description': json['description'],
53
+ 'completedAt': (json['completedAt'] == null ? null : new Date(json['completedAt'])),
54
+ 'chatId': json['chatId'],
55
+ };
56
+ }
57
+ export function StudyPlanActivityToJSON(json) {
58
+ return StudyPlanActivityToJSONTyped(json, false);
59
+ }
60
+ export function StudyPlanActivityToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'studyPlanId': value['studyPlanId'],
67
+ 'position': value['position'],
68
+ 'label': value['label'],
69
+ 'duration': value['duration'],
70
+ 'title': value['title'],
71
+ 'description': value['description'],
72
+ 'completedAt': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
73
+ 'chatId': value['chatId'],
74
+ };
75
+ }
@@ -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 UpdateActivityCompletionDto
16
+ */
17
+ export interface UpdateActivityCompletionDto {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof UpdateActivityCompletionDto
22
+ */
23
+ completed: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateActivityCompletionDto interface.
27
+ */
28
+ export declare function instanceOfUpdateActivityCompletionDto(value: object): value is UpdateActivityCompletionDto;
29
+ export declare function UpdateActivityCompletionDtoFromJSON(json: any): UpdateActivityCompletionDto;
30
+ export declare function UpdateActivityCompletionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateActivityCompletionDto;
31
+ export declare function UpdateActivityCompletionDtoToJSON(json: any): UpdateActivityCompletionDto;
32
+ export declare function UpdateActivityCompletionDtoToJSONTyped(value?: UpdateActivityCompletionDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 UpdateActivityCompletionDto interface.
16
+ */
17
+ export function instanceOfUpdateActivityCompletionDto(value) {
18
+ if (!('completed' in value) || value['completed'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function UpdateActivityCompletionDtoFromJSON(json) {
23
+ return UpdateActivityCompletionDtoFromJSONTyped(json, false);
24
+ }
25
+ export function UpdateActivityCompletionDtoFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'completed': json['completed'],
31
+ };
32
+ }
33
+ export function UpdateActivityCompletionDtoToJSON(json) {
34
+ return UpdateActivityCompletionDtoToJSONTyped(json, false);
35
+ }
36
+ export function UpdateActivityCompletionDtoToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'completed': value['completed'],
42
+ };
43
+ }
@@ -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 UserFeatures
16
+ */
17
+ export interface UserFeatures {
18
+ /**
19
+ * Names of the features the calling user is entitled to, sorted alphabetically.
20
+ * @type {Array<string>}
21
+ * @memberof UserFeatures
22
+ */
23
+ features: Array<string>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UserFeatures interface.
27
+ */
28
+ export declare function instanceOfUserFeatures(value: object): value is UserFeatures;
29
+ export declare function UserFeaturesFromJSON(json: any): UserFeatures;
30
+ export declare function UserFeaturesFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserFeatures;
31
+ export declare function UserFeaturesToJSON(json: any): UserFeatures;
32
+ export declare function UserFeaturesToJSONTyped(value?: UserFeatures | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 UserFeatures interface.
16
+ */
17
+ export function instanceOfUserFeatures(value) {
18
+ if (!('features' in value) || value['features'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function UserFeaturesFromJSON(json) {
23
+ return UserFeaturesFromJSONTyped(json, false);
24
+ }
25
+ export function UserFeaturesFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'features': json['features'],
31
+ };
32
+ }
33
+ export function UserFeaturesToJSON(json) {
34
+ return UserFeaturesToJSONTyped(json, false);
35
+ }
36
+ export function UserFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'features': value['features'],
42
+ };
43
+ }
@@ -53,6 +53,8 @@ export * from './CreatePracticeQuizRequest';
53
53
  export * from './CreateStudyObjectiveDto';
54
54
  export * from './CreateStudyObjectiveDtoCanvasDocumentsInner';
55
55
  export * from './CreateStudyObjectiveDtoCanvasObject';
56
+ export * from './CreateStudyPlanDto';
57
+ export * from './CreateStudyPlanDtoActivitiesInner';
56
58
  export * from './CreateTokenRequest';
57
59
  export * from './CreateTokenResponse';
58
60
  export * from './DailyQuizStatus';
@@ -105,6 +107,8 @@ export * from './StudyObjectiveConceptAttachment';
105
107
  export * from './StudyObjectiveConceptAttachmentList';
106
108
  export * from './StudyObjectiveConceptSummary';
107
109
  export * from './StudyObjectiveFileAttachment';
110
+ export * from './StudyPlan';
111
+ export * from './StudyPlanActivity';
108
112
  export * from './SubmitQuizResponseRequest';
109
113
  export * from './SyllabusAnalysisObjective';
110
114
  export * from './SyllabusAnalysisStatus';
@@ -124,6 +128,7 @@ export * from './TriggerStudyObjectiveConceptExtractionResponse';
124
128
  export * from './TriggerSyllabusAnalysisRequest';
125
129
  export * from './TriggerSyllabusAnalysisRequestFile';
126
130
  export * from './UpdateAccountDto';
131
+ export * from './UpdateActivityCompletionDto';
127
132
  export * from './UpdateChatRequest';
128
133
  export * from './UpdateFeatureDto';
129
134
  export * from './UpdatePlanDto';
@@ -142,6 +147,7 @@ export * from './UpsertVoteRequest';
142
147
  export * from './UserConcept';
143
148
  export * from './UserConceptConcept';
144
149
  export * from './UserContext';
150
+ export * from './UserFeatures';
145
151
  export * from './UserFile';
146
152
  export * from './UserFileAssociation';
147
153
  export * from './UserFileUploadUrlFile';
@@ -55,6 +55,8 @@ export * from './CreatePracticeQuizRequest';
55
55
  export * from './CreateStudyObjectiveDto';
56
56
  export * from './CreateStudyObjectiveDtoCanvasDocumentsInner';
57
57
  export * from './CreateStudyObjectiveDtoCanvasObject';
58
+ export * from './CreateStudyPlanDto';
59
+ export * from './CreateStudyPlanDtoActivitiesInner';
58
60
  export * from './CreateTokenRequest';
59
61
  export * from './CreateTokenResponse';
60
62
  export * from './DailyQuizStatus';
@@ -107,6 +109,8 @@ export * from './StudyObjectiveConceptAttachment';
107
109
  export * from './StudyObjectiveConceptAttachmentList';
108
110
  export * from './StudyObjectiveConceptSummary';
109
111
  export * from './StudyObjectiveFileAttachment';
112
+ export * from './StudyPlan';
113
+ export * from './StudyPlanActivity';
110
114
  export * from './SubmitQuizResponseRequest';
111
115
  export * from './SyllabusAnalysisObjective';
112
116
  export * from './SyllabusAnalysisStatus';
@@ -126,6 +130,7 @@ export * from './TriggerStudyObjectiveConceptExtractionResponse';
126
130
  export * from './TriggerSyllabusAnalysisRequest';
127
131
  export * from './TriggerSyllabusAnalysisRequestFile';
128
132
  export * from './UpdateAccountDto';
133
+ export * from './UpdateActivityCompletionDto';
129
134
  export * from './UpdateChatRequest';
130
135
  export * from './UpdateFeatureDto';
131
136
  export * from './UpdatePlanDto';
@@ -144,6 +149,7 @@ export * from './UpsertVoteRequest';
144
149
  export * from './UserConcept';
145
150
  export * from './UserConceptConcept';
146
151
  export * from './UserContext';
152
+ export * from './UserFeatures';
147
153
  export * from './UserFile';
148
154
  export * from './UserFileAssociation';
149
155
  export * from './UserFileUploadUrlFile';
@@ -27,6 +27,12 @@ export interface CreateObjectiveResourceDto {
27
27
  * @memberof CreateObjectiveResourceDto
28
28
  */
29
29
  resourceType: CreateObjectiveResourceDtoResourceTypeEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateObjectiveResourceDto
34
+ */
35
+ studyPlanActivityId?: string | null;
30
36
  }
31
37
  /**
32
38
  * @export
@@ -35,6 +41,7 @@ export declare const CreateObjectiveResourceDtoResourceTypeEnum: {
35
41
  readonly Chat: "chat";
36
42
  readonly Quiz: "quiz";
37
43
  readonly Flashcard: "flashcard";
44
+ readonly PlanActivity: "plan-activity";
38
45
  };
39
46
  export type CreateObjectiveResourceDtoResourceTypeEnum = typeof CreateObjectiveResourceDtoResourceTypeEnum[keyof typeof CreateObjectiveResourceDtoResourceTypeEnum];
40
47
  /**
@@ -25,7 +25,8 @@ exports.CreateObjectiveResourceDtoToJSONTyped = CreateObjectiveResourceDtoToJSON
25
25
  exports.CreateObjectiveResourceDtoResourceTypeEnum = {
26
26
  Chat: 'chat',
27
27
  Quiz: 'quiz',
28
- Flashcard: 'flashcard'
28
+ Flashcard: 'flashcard',
29
+ PlanActivity: 'plan-activity'
29
30
  };
30
31
  /**
31
32
  * Check if a given object implements the CreateObjectiveResourceDto interface.
@@ -47,6 +48,7 @@ function CreateObjectiveResourceDtoFromJSONTyped(json, ignoreDiscriminator) {
47
48
  return {
48
49
  'chatId': json['chatId'],
49
50
  'resourceType': json['resourceType'],
51
+ 'studyPlanActivityId': json['studyPlanActivityId'] == null ? undefined : json['studyPlanActivityId'],
50
52
  };
51
53
  }
52
54
  function CreateObjectiveResourceDtoToJSON(json) {
@@ -59,5 +61,6 @@ function CreateObjectiveResourceDtoToJSONTyped(value, ignoreDiscriminator = fals
59
61
  return {
60
62
  'chatId': value['chatId'],
61
63
  'resourceType': value['resourceType'],
64
+ 'studyPlanActivityId': value['studyPlanActivityId'],
62
65
  };
63
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 { CreateStudyPlanDtoActivitiesInner } from './CreateStudyPlanDtoActivitiesInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateStudyPlanDto
17
+ */
18
+ export interface CreateStudyPlanDto {
19
+ /**
20
+ *
21
+ * @type {Array<CreateStudyPlanDtoActivitiesInner>}
22
+ * @memberof CreateStudyPlanDto
23
+ */
24
+ activities: Array<CreateStudyPlanDtoActivitiesInner>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CreateStudyPlanDto
29
+ */
30
+ sourceToolCallId?: string | null;
31
+ }
32
+ /**
33
+ * Check if a given object implements the CreateStudyPlanDto interface.
34
+ */
35
+ export declare function instanceOfCreateStudyPlanDto(value: object): value is CreateStudyPlanDto;
36
+ export declare function CreateStudyPlanDtoFromJSON(json: any): CreateStudyPlanDto;
37
+ export declare function CreateStudyPlanDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateStudyPlanDto;
38
+ export declare function CreateStudyPlanDtoToJSON(json: any): CreateStudyPlanDto;
39
+ export declare function CreateStudyPlanDtoToJSONTyped(value?: CreateStudyPlanDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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.instanceOfCreateStudyPlanDto = instanceOfCreateStudyPlanDto;
17
+ exports.CreateStudyPlanDtoFromJSON = CreateStudyPlanDtoFromJSON;
18
+ exports.CreateStudyPlanDtoFromJSONTyped = CreateStudyPlanDtoFromJSONTyped;
19
+ exports.CreateStudyPlanDtoToJSON = CreateStudyPlanDtoToJSON;
20
+ exports.CreateStudyPlanDtoToJSONTyped = CreateStudyPlanDtoToJSONTyped;
21
+ const CreateStudyPlanDtoActivitiesInner_1 = require("./CreateStudyPlanDtoActivitiesInner");
22
+ /**
23
+ * Check if a given object implements the CreateStudyPlanDto interface.
24
+ */
25
+ function instanceOfCreateStudyPlanDto(value) {
26
+ if (!('activities' in value) || value['activities'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function CreateStudyPlanDtoFromJSON(json) {
31
+ return CreateStudyPlanDtoFromJSONTyped(json, false);
32
+ }
33
+ function CreateStudyPlanDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'activities': (json['activities'].map(CreateStudyPlanDtoActivitiesInner_1.CreateStudyPlanDtoActivitiesInnerFromJSON)),
39
+ 'sourceToolCallId': json['sourceToolCallId'] == null ? undefined : json['sourceToolCallId'],
40
+ };
41
+ }
42
+ function CreateStudyPlanDtoToJSON(json) {
43
+ return CreateStudyPlanDtoToJSONTyped(json, false);
44
+ }
45
+ function CreateStudyPlanDtoToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'activities': (value['activities'].map(CreateStudyPlanDtoActivitiesInner_1.CreateStudyPlanDtoActivitiesInnerToJSON)),
51
+ 'sourceToolCallId': value['sourceToolCallId'],
52
+ };
53
+ }