@instructure/athena-api-client 1.0.13-rc.0 → 1.0.13
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.
|
@@ -50,7 +50,13 @@ export interface AdminChatWithStats {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof AdminChatWithStats
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
subject: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof AdminChatWithStats
|
|
58
|
+
*/
|
|
59
|
+
goalAchieved: boolean | null;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* Check if a given object implements the AdminChatWithStats interface.
|
|
@@ -25,7 +25,9 @@ export function instanceOfAdminChatWithStats(value) {
|
|
|
25
25
|
return false;
|
|
26
26
|
if (!('lastMessageAt' in value) || value['lastMessageAt'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
-
if (!('
|
|
28
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('goalAchieved' in value) || value['goalAchieved'] === undefined)
|
|
29
31
|
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
@@ -42,7 +44,8 @@ export function AdminChatWithStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
44
|
'createdAt': (new Date(json['createdAt'])),
|
|
43
45
|
'messageCount': json['messageCount'],
|
|
44
46
|
'lastMessageAt': (json['lastMessageAt'] == null ? null : new Date(json['lastMessageAt'])),
|
|
45
|
-
'
|
|
47
|
+
'subject': json['subject'],
|
|
48
|
+
'goalAchieved': json['goalAchieved'],
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
export function AdminChatWithStatsToJSON(json) {
|
|
@@ -58,6 +61,7 @@ export function AdminChatWithStatsToJSONTyped(value, ignoreDiscriminator = false
|
|
|
58
61
|
'createdAt': value['createdAt'].toISOString(),
|
|
59
62
|
'messageCount': value['messageCount'],
|
|
60
63
|
'lastMessageAt': value['lastMessageAt'] == null ? value['lastMessageAt'] : value['lastMessageAt'].toISOString(),
|
|
61
|
-
'
|
|
64
|
+
'subject': value['subject'],
|
|
65
|
+
'goalAchieved': value['goalAchieved'],
|
|
62
66
|
};
|
|
63
67
|
}
|
|
@@ -50,7 +50,13 @@ export interface AdminChatWithStats {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof AdminChatWithStats
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
subject: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof AdminChatWithStats
|
|
58
|
+
*/
|
|
59
|
+
goalAchieved: boolean | null;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* Check if a given object implements the AdminChatWithStats interface.
|
|
@@ -32,7 +32,9 @@ function instanceOfAdminChatWithStats(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
if (!('lastMessageAt' in value) || value['lastMessageAt'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
-
if (!('
|
|
35
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('goalAchieved' in value) || value['goalAchieved'] === undefined)
|
|
36
38
|
return false;
|
|
37
39
|
return true;
|
|
38
40
|
}
|
|
@@ -49,7 +51,8 @@ function AdminChatWithStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'createdAt': (new Date(json['createdAt'])),
|
|
50
52
|
'messageCount': json['messageCount'],
|
|
51
53
|
'lastMessageAt': (json['lastMessageAt'] == null ? null : new Date(json['lastMessageAt'])),
|
|
52
|
-
'
|
|
54
|
+
'subject': json['subject'],
|
|
55
|
+
'goalAchieved': json['goalAchieved'],
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
function AdminChatWithStatsToJSON(json) {
|
|
@@ -65,6 +68,7 @@ function AdminChatWithStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
68
|
'createdAt': value['createdAt'].toISOString(),
|
|
66
69
|
'messageCount': value['messageCount'],
|
|
67
70
|
'lastMessageAt': value['lastMessageAt'] == null ? value['lastMessageAt'] : value['lastMessageAt'].toISOString(),
|
|
68
|
-
'
|
|
71
|
+
'subject': value['subject'],
|
|
72
|
+
'goalAchieved': value['goalAchieved'],
|
|
69
73
|
};
|
|
70
74
|
}
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
2
|
+
"name": "@instructure/athena-api-client",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.0.13",
|
|
5
|
+
"description": "OpenAPI client for the Athena API",
|
|
6
|
+
"author": "Instructure",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/instructure-internal/athena-api-sdk.git",
|
|
10
|
+
"directory": "clients/typescript"
|
|
11
|
+
},
|
|
12
|
+
"main": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"module": "./dist/esm/index.js",
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc && tsc -p tsconfig.esm.json",
|
|
18
|
+
"prepare": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"typescript": "^4.0 || ^5.0"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public",
|
|
28
|
+
"registry": "https://registry.npmjs.org/"
|
|
29
|
+
}
|
|
30
30
|
}
|