@instructure/athena-api-client 3.42.2 → 3.44.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 (42) hide show
  1. package/README.md +2 -0
  2. package/dist/esm/models/ChatRequestMessageMetadata.d.ts +14 -1
  3. package/dist/esm/models/ChatRequestMessageMetadata.js +8 -0
  4. package/dist/esm/models/ChatRequestQuizSettings.d.ts +19 -0
  5. package/dist/esm/models/ChatRequestQuizSettings.js +10 -0
  6. package/dist/esm/models/Quiz.d.ts +7 -0
  7. package/dist/esm/models/Quiz.js +3 -0
  8. package/dist/esm/models/QuizBasisSnapshot.d.ts +76 -0
  9. package/dist/esm/models/QuizBasisSnapshot.js +77 -0
  10. package/dist/esm/models/QuizListItem.d.ts +7 -0
  11. package/dist/esm/models/QuizListItem.js +3 -0
  12. package/dist/esm/models/QuizWithQuestions.d.ts +7 -0
  13. package/dist/esm/models/QuizWithQuestions.js +3 -0
  14. package/dist/esm/models/StudyObjective.d.ts +28 -0
  15. package/dist/esm/models/StudyObjective.js +15 -0
  16. package/dist/esm/models/StudyObjectiveAccess.d.ts +159 -0
  17. package/dist/esm/models/StudyObjectiveAccess.js +136 -0
  18. package/dist/esm/models/UpcomingStudyObjective.d.ts +28 -0
  19. package/dist/esm/models/UpcomingStudyObjective.js +15 -0
  20. package/dist/esm/models/index.d.ts +2 -0
  21. package/dist/esm/models/index.js +2 -0
  22. package/dist/models/ChatRequestMessageMetadata.d.ts +14 -1
  23. package/dist/models/ChatRequestMessageMetadata.js +9 -0
  24. package/dist/models/ChatRequestQuizSettings.d.ts +19 -0
  25. package/dist/models/ChatRequestQuizSettings.js +11 -1
  26. package/dist/models/Quiz.d.ts +7 -0
  27. package/dist/models/Quiz.js +3 -0
  28. package/dist/models/QuizBasisSnapshot.d.ts +76 -0
  29. package/dist/models/QuizBasisSnapshot.js +85 -0
  30. package/dist/models/QuizListItem.d.ts +7 -0
  31. package/dist/models/QuizListItem.js +3 -0
  32. package/dist/models/QuizWithQuestions.d.ts +7 -0
  33. package/dist/models/QuizWithQuestions.js +3 -0
  34. package/dist/models/StudyObjective.d.ts +28 -0
  35. package/dist/models/StudyObjective.js +16 -1
  36. package/dist/models/StudyObjectiveAccess.d.ts +159 -0
  37. package/dist/models/StudyObjectiveAccess.js +144 -0
  38. package/dist/models/UpcomingStudyObjective.d.ts +28 -0
  39. package/dist/models/UpcomingStudyObjective.js +16 -1
  40. package/dist/models/index.d.ts +2 -0
  41. package/dist/models/index.js +2 -0
  42. package/package.json +1 -1
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { StudyObjectiveFileAttachment } from './StudyObjectiveFileAttachment';
13
+ import type { StudyObjectiveAccess } from './StudyObjectiveAccess';
13
14
  import type { StudyObjectiveCanvasDocument } from './StudyObjectiveCanvasDocument';
14
15
  /**
15
16
  *
@@ -101,6 +102,24 @@ export interface UpcomingStudyObjective {
101
102
  * @memberof UpcomingStudyObjective
102
103
  */
103
104
  archivedAt: Date | null;
105
+ /**
106
+ * What the Canvas item's course gives Athena to go on, for a Canvas-sourced objective. Null for custom objectives and until Athena has read the course (the read runs with concept extraction and refreshes weekly). Course-level facts shared by every learner on the item, except scopeKnown and scopeKnownReason, which also count this learner's syllabus analysis.
107
+ * @type {StudyObjectiveAccess}
108
+ * @memberof UpcomingStudyObjective
109
+ */
110
+ access?: StudyObjectiveAccess | null;
111
+ /**
112
+ * What the learner told Athena this assessment covers, in their own words; null when nothing was told. Per-user and never written by a Canvas re-sync.
113
+ * @type {string}
114
+ * @memberof UpcomingStudyObjective
115
+ */
116
+ learnerScope?: string | null;
117
+ /**
118
+ * The access state Athena last told this learner about for this objective (the thin-context ask, or practice generated from a panel showing it); null when never told. Read-only.
119
+ * @type {string}
120
+ * @memberof UpcomingStudyObjective
121
+ */
122
+ accessDisclosedState?: UpcomingStudyObjectiveAccessDisclosedStateEnum | null;
104
123
  /**
105
124
  *
106
125
  * @type {Date}
@@ -129,6 +148,15 @@ export declare const UpcomingStudyObjectiveSourceEnum: {
129
148
  readonly Template: "template";
130
149
  };
131
150
  export type UpcomingStudyObjectiveSourceEnum = typeof UpcomingStudyObjectiveSourceEnum[keyof typeof UpcomingStudyObjectiveSourceEnum];
151
+ /**
152
+ * @export
153
+ */
154
+ export declare const UpcomingStudyObjectiveAccessDisclosedStateEnum: {
155
+ readonly Grounded: "grounded";
156
+ readonly Thin: "thin";
157
+ readonly Unreadable: "unreadable";
158
+ };
159
+ export type UpcomingStudyObjectiveAccessDisclosedStateEnum = typeof UpcomingStudyObjectiveAccessDisclosedStateEnum[keyof typeof UpcomingStudyObjectiveAccessDisclosedStateEnum];
132
160
  /**
133
161
  * Check if a given object implements the UpcomingStudyObjective interface.
134
162
  */
@@ -13,13 +13,14 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpcomingStudyObjectiveSourceEnum = void 0;
16
+ exports.UpcomingStudyObjectiveAccessDisclosedStateEnum = exports.UpcomingStudyObjectiveSourceEnum = void 0;
17
17
  exports.instanceOfUpcomingStudyObjective = instanceOfUpcomingStudyObjective;
18
18
  exports.UpcomingStudyObjectiveFromJSON = UpcomingStudyObjectiveFromJSON;
19
19
  exports.UpcomingStudyObjectiveFromJSONTyped = UpcomingStudyObjectiveFromJSONTyped;
20
20
  exports.UpcomingStudyObjectiveToJSON = UpcomingStudyObjectiveToJSON;
21
21
  exports.UpcomingStudyObjectiveToJSONTyped = UpcomingStudyObjectiveToJSONTyped;
22
22
  const StudyObjectiveFileAttachment_1 = require("./StudyObjectiveFileAttachment");
23
+ const StudyObjectiveAccess_1 = require("./StudyObjectiveAccess");
23
24
  const StudyObjectiveCanvasDocument_1 = require("./StudyObjectiveCanvasDocument");
24
25
  /**
25
26
  * @export
@@ -29,6 +30,14 @@ exports.UpcomingStudyObjectiveSourceEnum = {
29
30
  Syllabus: 'syllabus',
30
31
  Template: 'template'
31
32
  };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.UpcomingStudyObjectiveAccessDisclosedStateEnum = {
37
+ Grounded: 'grounded',
38
+ Thin: 'thin',
39
+ Unreadable: 'unreadable'
40
+ };
32
41
  /**
33
42
  * Check if a given object implements the UpcomingStudyObjective interface.
34
43
  */
@@ -91,6 +100,9 @@ function UpcomingStudyObjectiveFromJSONTyped(json, ignoreDiscriminator) {
91
100
  'canvasDocuments': (json['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentFromJSON)),
92
101
  'dueAt': (json['dueAt'] == null ? null : new Date(json['dueAt'])),
93
102
  'archivedAt': (json['archivedAt'] == null ? null : new Date(json['archivedAt'])),
103
+ 'access': json['access'] == null ? undefined : (0, StudyObjectiveAccess_1.StudyObjectiveAccessFromJSON)(json['access']),
104
+ 'learnerScope': json['learnerScope'] == null ? undefined : json['learnerScope'],
105
+ 'accessDisclosedState': json['accessDisclosedState'] == null ? undefined : json['accessDisclosedState'],
94
106
  'createdAt': (new Date(json['createdAt'])),
95
107
  'updatedAt': (new Date(json['updatedAt'])),
96
108
  'studySpaceTitle': json['studySpaceTitle'],
@@ -118,6 +130,9 @@ function UpcomingStudyObjectiveToJSONTyped(value, ignoreDiscriminator = false) {
118
130
  'canvasDocuments': (value['canvasDocuments'].map(StudyObjectiveCanvasDocument_1.StudyObjectiveCanvasDocumentToJSON)),
119
131
  'dueAt': value['dueAt'] == null ? value['dueAt'] : value['dueAt'].toISOString(),
120
132
  'archivedAt': value['archivedAt'] == null ? value['archivedAt'] : value['archivedAt'].toISOString(),
133
+ 'access': (0, StudyObjectiveAccess_1.StudyObjectiveAccessToJSON)(value['access']),
134
+ 'learnerScope': value['learnerScope'],
135
+ 'accessDisclosedState': value['accessDisclosedState'],
121
136
  'createdAt': value['createdAt'].toISOString(),
122
137
  'updatedAt': value['updatedAt'].toISOString(),
123
138
  'studySpaceTitle': value['studySpaceTitle'],
@@ -128,6 +128,7 @@ export * from './PracticeQuiz';
128
128
  export * from './PracticeQuizStatus';
129
129
  export * from './PracticeQuizStatusList';
130
130
  export * from './Quiz';
131
+ export * from './QuizBasisSnapshot';
131
132
  export * from './QuizConceptSummary';
132
133
  export * from './QuizListItem';
133
134
  export * from './QuizQuestion';
@@ -153,6 +154,7 @@ export * from './ScoreByTypeValue';
153
154
  export * from './ServiceToken';
154
155
  export * from './SharedQuiz';
155
156
  export * from './StudyObjective';
157
+ export * from './StudyObjectiveAccess';
156
158
  export * from './StudyObjectiveCanvasDocument';
157
159
  export * from './StudyObjectiveConceptAttachment';
158
160
  export * from './StudyObjectiveConceptAttachmentList';
@@ -146,6 +146,7 @@ __exportStar(require("./PracticeQuiz"), exports);
146
146
  __exportStar(require("./PracticeQuizStatus"), exports);
147
147
  __exportStar(require("./PracticeQuizStatusList"), exports);
148
148
  __exportStar(require("./Quiz"), exports);
149
+ __exportStar(require("./QuizBasisSnapshot"), exports);
149
150
  __exportStar(require("./QuizConceptSummary"), exports);
150
151
  __exportStar(require("./QuizListItem"), exports);
151
152
  __exportStar(require("./QuizQuestion"), exports);
@@ -171,6 +172,7 @@ __exportStar(require("./ScoreByTypeValue"), exports);
171
172
  __exportStar(require("./ServiceToken"), exports);
172
173
  __exportStar(require("./SharedQuiz"), exports);
173
174
  __exportStar(require("./StudyObjective"), exports);
175
+ __exportStar(require("./StudyObjectiveAccess"), exports);
174
176
  __exportStar(require("./StudyObjectiveCanvasDocument"), exports);
175
177
  __exportStar(require("./StudyObjectiveConceptAttachment"), exports);
176
178
  __exportStar(require("./StudyObjectiveConceptAttachmentList"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instructure/athena-api-client",
3
3
  "private": false,
4
- "version": "3.42.2",
4
+ "version": "3.44.0",
5
5
  "description": "OpenAPI client for the Athena API",
6
6
  "author": "Instructure",
7
7
  "repository": {