@instructure/athena-api-client 1.0.5 → 1.0.6
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.
|
@@ -46,11 +46,11 @@ export interface Chat {
|
|
|
46
46
|
*/
|
|
47
47
|
lastViewedAt?: Date | null;
|
|
48
48
|
/**
|
|
49
|
-
* ID
|
|
49
|
+
* External user ID (matches the X-User-Id header value)
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof Chat
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
userId: string;
|
|
54
54
|
/**
|
|
55
55
|
* Chat visibility
|
|
56
56
|
* @type {string}
|
package/dist/esm/models/Chat.js
CHANGED
|
@@ -28,7 +28,7 @@ export function instanceOfChat(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('title' in value) || value['title'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('
|
|
31
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
32
32
|
return false;
|
|
33
33
|
if (!('visibility' in value) || value['visibility'] === undefined)
|
|
34
34
|
return false;
|
|
@@ -49,7 +49,7 @@ export function ChatFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'title': json['title'],
|
|
50
50
|
'chatType': json['chatType'] == null ? undefined : json['chatType'],
|
|
51
51
|
'lastViewedAt': json['lastViewedAt'] == null ? undefined : (new Date(json['lastViewedAt'])),
|
|
52
|
-
'
|
|
52
|
+
'userId': json['userId'],
|
|
53
53
|
'visibility': json['visibility'],
|
|
54
54
|
'subjectId': json['subjectId'] == null ? undefined : json['subjectId'],
|
|
55
55
|
'latestJobId': json['latestJobId'] == null ? undefined : json['latestJobId'],
|
|
@@ -72,7 +72,7 @@ export function ChatToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
72
72
|
'title': value['title'],
|
|
73
73
|
'chatType': value['chatType'],
|
|
74
74
|
'lastViewedAt': value['lastViewedAt'] == null ? value['lastViewedAt'] : value['lastViewedAt'].toISOString(),
|
|
75
|
-
'
|
|
75
|
+
'userId': value['userId'],
|
|
76
76
|
'visibility': value['visibility'],
|
|
77
77
|
'subjectId': value['subjectId'],
|
|
78
78
|
'latestJobId': value['latestJobId'],
|
package/dist/models/Chat.d.ts
CHANGED
|
@@ -46,11 +46,11 @@ export interface Chat {
|
|
|
46
46
|
*/
|
|
47
47
|
lastViewedAt?: Date | null;
|
|
48
48
|
/**
|
|
49
|
-
* ID
|
|
49
|
+
* External user ID (matches the X-User-Id header value)
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof Chat
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
userId: string;
|
|
54
54
|
/**
|
|
55
55
|
* Chat visibility
|
|
56
56
|
* @type {string}
|
package/dist/models/Chat.js
CHANGED
|
@@ -36,7 +36,7 @@ function instanceOfChat(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('title' in value) || value['title'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('
|
|
39
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
40
40
|
return false;
|
|
41
41
|
if (!('visibility' in value) || value['visibility'] === undefined)
|
|
42
42
|
return false;
|
|
@@ -57,7 +57,7 @@ function ChatFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'title': json['title'],
|
|
58
58
|
'chatType': json['chatType'] == null ? undefined : json['chatType'],
|
|
59
59
|
'lastViewedAt': json['lastViewedAt'] == null ? undefined : (new Date(json['lastViewedAt'])),
|
|
60
|
-
'
|
|
60
|
+
'userId': json['userId'],
|
|
61
61
|
'visibility': json['visibility'],
|
|
62
62
|
'subjectId': json['subjectId'] == null ? undefined : json['subjectId'],
|
|
63
63
|
'latestJobId': json['latestJobId'] == null ? undefined : json['latestJobId'],
|
|
@@ -80,7 +80,7 @@ function ChatToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
80
|
'title': value['title'],
|
|
81
81
|
'chatType': value['chatType'],
|
|
82
82
|
'lastViewedAt': value['lastViewedAt'] == null ? value['lastViewedAt'] : value['lastViewedAt'].toISOString(),
|
|
83
|
-
'
|
|
83
|
+
'userId': value['userId'],
|
|
84
84
|
'visibility': value['visibility'],
|
|
85
85
|
'subjectId': value['subjectId'],
|
|
86
86
|
'latestJobId': value['latestJobId'],
|