@instructure/athena-api-client 3.5.0 → 3.5.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.
@@ -35,6 +35,12 @@ export interface StudyObjective {
35
35
  * @memberof StudyObjective
36
36
  */
37
37
  courseId: string;
38
+ /**
39
+ * canvas_objects.id of the mirrored Canvas object this objective derives from, or null for user-created objectives.
40
+ * @type {string}
41
+ * @memberof StudyObjective
42
+ */
43
+ canvasObjectId: string | null;
38
44
  /**
39
45
  * Origin of the objective: 'user' (client-created) or 'syllabus' (derived internally). Read-only.
40
46
  * @type {string}
@@ -30,6 +30,8 @@ export function instanceOfStudyObjective(value) {
30
30
  return false;
31
31
  if (!('courseId' in value) || value['courseId'] === undefined)
32
32
  return false;
33
+ if (!('canvasObjectId' in value) || value['canvasObjectId'] === undefined)
34
+ return false;
33
35
  if (!('source' in value) || value['source'] === undefined)
34
36
  return false;
35
37
  if (!('title' in value) || value['title'] === undefined)
@@ -59,6 +61,7 @@ export function StudyObjectiveFromJSONTyped(json, ignoreDiscriminator) {
59
61
  'id': json['id'],
60
62
  'accountUserId': json['accountUserId'],
61
63
  'courseId': json['courseId'],
64
+ 'canvasObjectId': json['canvasObjectId'],
62
65
  'source': json['source'],
63
66
  'title': json['title'],
64
67
  'notes': json['notes'],
@@ -80,6 +83,7 @@ export function StudyObjectiveToJSONTyped(value, ignoreDiscriminator = false) {
80
83
  'id': value['id'],
81
84
  'accountUserId': value['accountUserId'],
82
85
  'courseId': value['courseId'],
86
+ 'canvasObjectId': value['canvasObjectId'],
83
87
  'source': value['source'],
84
88
  'title': value['title'],
85
89
  'notes': value['notes'],
@@ -35,6 +35,12 @@ export interface StudyObjective {
35
35
  * @memberof StudyObjective
36
36
  */
37
37
  courseId: string;
38
+ /**
39
+ * canvas_objects.id of the mirrored Canvas object this objective derives from, or null for user-created objectives.
40
+ * @type {string}
41
+ * @memberof StudyObjective
42
+ */
43
+ canvasObjectId: string | null;
38
44
  /**
39
45
  * Origin of the objective: 'user' (client-created) or 'syllabus' (derived internally). Read-only.
40
46
  * @type {string}
@@ -38,6 +38,8 @@ function instanceOfStudyObjective(value) {
38
38
  return false;
39
39
  if (!('courseId' in value) || value['courseId'] === undefined)
40
40
  return false;
41
+ if (!('canvasObjectId' in value) || value['canvasObjectId'] === undefined)
42
+ return false;
41
43
  if (!('source' in value) || value['source'] === undefined)
42
44
  return false;
43
45
  if (!('title' in value) || value['title'] === undefined)
@@ -67,6 +69,7 @@ function StudyObjectiveFromJSONTyped(json, ignoreDiscriminator) {
67
69
  'id': json['id'],
68
70
  'accountUserId': json['accountUserId'],
69
71
  'courseId': json['courseId'],
72
+ 'canvasObjectId': json['canvasObjectId'],
70
73
  'source': json['source'],
71
74
  'title': json['title'],
72
75
  'notes': json['notes'],
@@ -88,6 +91,7 @@ function StudyObjectiveToJSONTyped(value, ignoreDiscriminator = false) {
88
91
  'id': value['id'],
89
92
  'accountUserId': value['accountUserId'],
90
93
  'courseId': value['courseId'],
94
+ 'canvasObjectId': value['canvasObjectId'],
91
95
  'source': value['source'],
92
96
  'title': value['title'],
93
97
  'notes': value['notes'],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instructure/athena-api-client",
3
3
  "private": false,
4
- "version": "3.5.0",
4
+ "version": "3.5.2",
5
5
  "description": "OpenAPI client for the Athena API",
6
6
  "author": "Instructure",
7
7
  "repository": {