@instructure/athena-api-client 3.1.4 → 3.2.1

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.
@@ -27,6 +27,12 @@ export interface CreatePracticeQuizRequest {
27
27
  * @memberof CreatePracticeQuizRequest
28
28
  */
29
29
  canvasObjectId: string;
30
+ /**
31
+ * Human-readable Canvas object name (assignment or quiz title). When present it is appended to the mode label to form a descriptive chat title (e.g. 'Practice Quiz · Cell Biology Midterm'). Blank or omitted values fall back to the plain mode label.
32
+ * @type {string}
33
+ * @memberof CreatePracticeQuizRequest
34
+ */
35
+ canvasObjectName?: string;
30
36
  /**
31
37
  * Quiz mode: 'quiz' for a graded practice quiz, 'flashcards' for a flashcard set.
32
38
  * @type {string}
@@ -40,6 +40,7 @@ export function CreatePracticeQuizRequestFromJSONTyped(json, ignoreDiscriminator
40
40
  return {
41
41
  'canvasCourseId': json['canvasCourseId'],
42
42
  'canvasObjectId': json['canvasObjectId'],
43
+ 'canvasObjectName': json['canvasObjectName'] == null ? undefined : json['canvasObjectName'],
43
44
  'mode': json['mode'],
44
45
  'forceNew': json['forceNew'] == null ? undefined : json['forceNew'],
45
46
  };
@@ -54,6 +55,7 @@ export function CreatePracticeQuizRequestToJSONTyped(value, ignoreDiscriminator
54
55
  return {
55
56
  'canvasCourseId': value['canvasCourseId'],
56
57
  'canvasObjectId': value['canvasObjectId'],
58
+ 'canvasObjectName': value['canvasObjectName'],
57
59
  'mode': value['mode'],
58
60
  'forceNew': value['forceNew'],
59
61
  };
@@ -27,6 +27,12 @@ export interface CreatePracticeQuizRequest {
27
27
  * @memberof CreatePracticeQuizRequest
28
28
  */
29
29
  canvasObjectId: string;
30
+ /**
31
+ * Human-readable Canvas object name (assignment or quiz title). When present it is appended to the mode label to form a descriptive chat title (e.g. 'Practice Quiz · Cell Biology Midterm'). Blank or omitted values fall back to the plain mode label.
32
+ * @type {string}
33
+ * @memberof CreatePracticeQuizRequest
34
+ */
35
+ canvasObjectName?: string;
30
36
  /**
31
37
  * Quiz mode: 'quiz' for a graded practice quiz, 'flashcards' for a flashcard set.
32
38
  * @type {string}
@@ -48,6 +48,7 @@ function CreatePracticeQuizRequestFromJSONTyped(json, ignoreDiscriminator) {
48
48
  return {
49
49
  'canvasCourseId': json['canvasCourseId'],
50
50
  'canvasObjectId': json['canvasObjectId'],
51
+ 'canvasObjectName': json['canvasObjectName'] == null ? undefined : json['canvasObjectName'],
51
52
  'mode': json['mode'],
52
53
  'forceNew': json['forceNew'] == null ? undefined : json['forceNew'],
53
54
  };
@@ -62,6 +63,7 @@ function CreatePracticeQuizRequestToJSONTyped(value, ignoreDiscriminator = false
62
63
  return {
63
64
  'canvasCourseId': value['canvasCourseId'],
64
65
  'canvasObjectId': value['canvasObjectId'],
66
+ 'canvasObjectName': value['canvasObjectName'],
65
67
  'mode': value['mode'],
66
68
  'forceNew': value['forceNew'],
67
69
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instructure/athena-api-client",
3
3
  "private": false,
4
- "version": "3.1.4",
4
+ "version": "3.2.1",
5
5
  "description": "OpenAPI client for the Athena API",
6
6
  "author": "Instructure",
7
7
  "repository": {