@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
- subjectName: string | null;
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 (!('subjectName' in value) || value['subjectName'] === undefined)
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
- 'subjectName': json['subjectName'],
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
- 'subjectName': value['subjectName'],
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
- subjectName: string | null;
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 (!('subjectName' in value) || value['subjectName'] === undefined)
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
- 'subjectName': json['subjectName'],
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
- 'subjectName': value['subjectName'],
71
+ 'subject': value['subject'],
72
+ 'goalAchieved': value['goalAchieved'],
69
73
  };
70
74
  }
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
- "name": "@instructure/athena-api-client",
3
- "private": false,
4
- "version": "1.0.13-rc.0",
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
- }
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
  }