@instructure/athena-api-client 2.0.9 → 2.1.0
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.
- package/README.md +6 -0
- package/dist/apis/AdminApi.d.ts +40 -1
- package/dist/apis/AdminApi.js +133 -0
- package/dist/esm/apis/AdminApi.d.ts +40 -1
- package/dist/esm/apis/AdminApi.js +134 -1
- package/dist/esm/models/AdminCohortStats.d.ts +62 -0
- package/dist/esm/models/AdminCohortStats.js +63 -0
- package/dist/esm/models/AdminTriggerAnalysisResponse.d.ts +38 -0
- package/dist/esm/models/AdminTriggerAnalysisResponse.js +47 -0
- package/dist/esm/models/AdminUpdateChatRequest.d.ts +32 -0
- package/dist/esm/models/AdminUpdateChatRequest.js +43 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/AdminCohortStats.d.ts +62 -0
- package/dist/models/AdminCohortStats.js +70 -0
- package/dist/models/AdminTriggerAnalysisResponse.d.ts +38 -0
- package/dist/models/AdminTriggerAnalysisResponse.js +54 -0
- package/dist/models/AdminUpdateChatRequest.d.ts +32 -0
- package/dist/models/AdminUpdateChatRequest.js +50 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,10 +59,13 @@ All URIs are relative to *http://localhost:3000*
|
|
|
59
59
|
*AccountsApi* | [**updateAccount**](docs/AccountsApi.md#updateaccount) | **PATCH** /api/v1/accounts/{id} | Update an account
|
|
60
60
|
*AdminApi* | [**adminGetChat**](docs/AdminApi.md#admingetchat) | **GET** /api/v1/admin/chats/{chatId} | Get any chat by ID within the account
|
|
61
61
|
*AdminApi* | [**adminGetChatAnalysis**](docs/AdminApi.md#admingetchatanalysis) | **GET** /api/v1/admin/chats/{chatId}/analysis | Get chat analysis for any chat within the account
|
|
62
|
+
*AdminApi* | [**adminGetCohortStats**](docs/AdminApi.md#admingetcohortstats) | **GET** /api/v1/admin/cohort-stats | Get cohort statistics for users created within a date range
|
|
62
63
|
*AdminApi* | [**adminGetUserChats**](docs/AdminApi.md#admingetuserchats) | **GET** /api/v1/admin/users/{externalId}/chats | Get chats with stats for a user
|
|
63
64
|
*AdminApi* | [**adminGetUserEngagement**](docs/AdminApi.md#admingetuserengagement) | **GET** /api/v1/admin/users/{externalId}/engagement | Get engagement dates for a user
|
|
64
65
|
*AdminApi* | [**adminListChats**](docs/AdminApi.md#adminlistchats) | **GET** /api/v1/admin/chats | List recent chats across all account users
|
|
65
66
|
*AdminApi* | [**adminListTopStreaks**](docs/AdminApi.md#adminlisttopstreaks) | **GET** /api/v1/admin/streaks | List top N streaks across the account
|
|
67
|
+
*AdminApi* | [**adminTriggerChatAnalysis**](docs/AdminApi.md#admintriggerchatanalysis) | **POST** /api/v1/admin/chats/{chatId}/analyze | Trigger re-analysis for a chat
|
|
68
|
+
*AdminApi* | [**adminUpdateChat**](docs/AdminApi.md#adminupdatechatoperation) | **PATCH** /api/v1/admin/chats/{chatId} | Update a chat (admin)
|
|
66
69
|
*ChatAnalysisApi* | [**getChatAnalysis**](docs/ChatAnalysisApi.md#getchatanalysis) | **GET** /api/v1/chats/{chatId}/analysis | Get chat analysis
|
|
67
70
|
*ChatsApi* | [**createChat**](docs/ChatsApi.md#createchatoperation) | **POST** /api/v1/chats | Create a chat
|
|
68
71
|
*ChatsApi* | [**deleteChat**](docs/ChatsApi.md#deletechat) | **DELETE** /api/v1/chats/{chatId} | Delete a chat
|
|
@@ -120,8 +123,11 @@ All URIs are relative to *http://localhost:3000*
|
|
|
120
123
|
- [AdminChat](docs/AdminChat.md)
|
|
121
124
|
- [AdminChatAnalysis](docs/AdminChatAnalysis.md)
|
|
122
125
|
- [AdminChatWithStats](docs/AdminChatWithStats.md)
|
|
126
|
+
- [AdminCohortStats](docs/AdminCohortStats.md)
|
|
123
127
|
- [AdminPaginatedChats](docs/AdminPaginatedChats.md)
|
|
124
128
|
- [AdminStreak](docs/AdminStreak.md)
|
|
129
|
+
- [AdminTriggerAnalysisResponse](docs/AdminTriggerAnalysisResponse.md)
|
|
130
|
+
- [AdminUpdateChatRequest](docs/AdminUpdateChatRequest.md)
|
|
125
131
|
- [AdminUserEngagement](docs/AdminUserEngagement.md)
|
|
126
132
|
- [Chat](docs/Chat.md)
|
|
127
133
|
- [ChatAnalysis](docs/ChatAnalysis.md)
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AdminChat, AdminChatAnalysis, AdminChatWithStats, AdminPaginatedChats, AdminStreak, AdminUserEngagement } from '../models/index';
|
|
13
|
+
import type { AdminChat, AdminChatAnalysis, AdminChatWithStats, AdminCohortStats, AdminPaginatedChats, AdminStreak, AdminTriggerAnalysisResponse, AdminUpdateChatRequest, AdminUserEngagement } from '../models/index';
|
|
14
14
|
export interface AdminGetChatRequest {
|
|
15
15
|
xUserId: string;
|
|
16
16
|
chatId: string;
|
|
@@ -19,6 +19,11 @@ export interface AdminGetChatAnalysisRequest {
|
|
|
19
19
|
xUserId: string;
|
|
20
20
|
chatId: string;
|
|
21
21
|
}
|
|
22
|
+
export interface AdminGetCohortStatsRequest {
|
|
23
|
+
xUserId: string;
|
|
24
|
+
since: Date;
|
|
25
|
+
until: Date;
|
|
26
|
+
}
|
|
22
27
|
export interface AdminGetUserChatsRequest {
|
|
23
28
|
xUserId: string;
|
|
24
29
|
externalId: string;
|
|
@@ -32,11 +37,21 @@ export interface AdminListChatsRequest {
|
|
|
32
37
|
limit?: number;
|
|
33
38
|
cursor?: string;
|
|
34
39
|
chatType?: string;
|
|
40
|
+
forReview?: boolean;
|
|
35
41
|
}
|
|
36
42
|
export interface AdminListTopStreaksRequest {
|
|
37
43
|
xUserId: string;
|
|
38
44
|
limit?: number;
|
|
39
45
|
}
|
|
46
|
+
export interface AdminTriggerChatAnalysisRequest {
|
|
47
|
+
xUserId: string;
|
|
48
|
+
chatId: string;
|
|
49
|
+
}
|
|
50
|
+
export interface AdminUpdateChatOperationRequest {
|
|
51
|
+
xUserId: string;
|
|
52
|
+
chatId: string;
|
|
53
|
+
adminUpdateChatRequest: AdminUpdateChatRequest;
|
|
54
|
+
}
|
|
40
55
|
/**
|
|
41
56
|
*
|
|
42
57
|
*/
|
|
@@ -57,6 +72,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
57
72
|
* Get chat analysis for any chat within the account
|
|
58
73
|
*/
|
|
59
74
|
adminGetChatAnalysis(requestParameters: AdminGetChatAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminChatAnalysis>;
|
|
75
|
+
/**
|
|
76
|
+
* Get cohort statistics for users created within a date range
|
|
77
|
+
*/
|
|
78
|
+
adminGetCohortStatsRaw(requestParameters: AdminGetCohortStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminCohortStats>>;
|
|
79
|
+
/**
|
|
80
|
+
* Get cohort statistics for users created within a date range
|
|
81
|
+
*/
|
|
82
|
+
adminGetCohortStats(requestParameters: AdminGetCohortStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminCohortStats>;
|
|
60
83
|
/**
|
|
61
84
|
* Get chats with stats for a user
|
|
62
85
|
*/
|
|
@@ -89,4 +112,20 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
89
112
|
* List top N streaks across the account
|
|
90
113
|
*/
|
|
91
114
|
adminListTopStreaks(requestParameters: AdminListTopStreaksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminStreak>>;
|
|
115
|
+
/**
|
|
116
|
+
* Trigger re-analysis for a chat
|
|
117
|
+
*/
|
|
118
|
+
adminTriggerChatAnalysisRaw(requestParameters: AdminTriggerChatAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminTriggerAnalysisResponse>>;
|
|
119
|
+
/**
|
|
120
|
+
* Trigger re-analysis for a chat
|
|
121
|
+
*/
|
|
122
|
+
adminTriggerChatAnalysis(requestParameters: AdminTriggerChatAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminTriggerAnalysisResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* Update a chat (admin)
|
|
125
|
+
*/
|
|
126
|
+
adminUpdateChatRaw(requestParameters: AdminUpdateChatOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminChat>>;
|
|
127
|
+
/**
|
|
128
|
+
* Update a chat (admin)
|
|
129
|
+
*/
|
|
130
|
+
adminUpdateChat(requestParameters: AdminUpdateChatOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminChat>;
|
|
92
131
|
}
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -107,6 +107,53 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
107
107
|
return yield response.value();
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* Get cohort statistics for users created within a date range
|
|
112
|
+
*/
|
|
113
|
+
adminGetCohortStatsRaw(requestParameters, initOverrides) {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
115
|
+
if (requestParameters['xUserId'] == null) {
|
|
116
|
+
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling adminGetCohortStats().');
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['since'] == null) {
|
|
119
|
+
throw new runtime.RequiredError('since', 'Required parameter "since" was null or undefined when calling adminGetCohortStats().');
|
|
120
|
+
}
|
|
121
|
+
if (requestParameters['until'] == null) {
|
|
122
|
+
throw new runtime.RequiredError('until', 'Required parameter "until" was null or undefined when calling adminGetCohortStats().');
|
|
123
|
+
}
|
|
124
|
+
const queryParameters = {};
|
|
125
|
+
if (requestParameters['since'] != null) {
|
|
126
|
+
queryParameters['since'] = requestParameters['since'].toISOString();
|
|
127
|
+
}
|
|
128
|
+
if (requestParameters['until'] != null) {
|
|
129
|
+
queryParameters['until'] = requestParameters['until'].toISOString();
|
|
130
|
+
}
|
|
131
|
+
const headerParameters = {};
|
|
132
|
+
if (requestParameters['xUserId'] != null) {
|
|
133
|
+
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
134
|
+
}
|
|
135
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
136
|
+
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
137
|
+
}
|
|
138
|
+
let urlPath = `/api/v1/admin/cohort-stats`;
|
|
139
|
+
const response = yield this.request({
|
|
140
|
+
path: urlPath,
|
|
141
|
+
method: 'GET',
|
|
142
|
+
headers: headerParameters,
|
|
143
|
+
query: queryParameters,
|
|
144
|
+
}, initOverrides);
|
|
145
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminCohortStatsFromJSON)(jsonValue));
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Get cohort statistics for users created within a date range
|
|
150
|
+
*/
|
|
151
|
+
adminGetCohortStats(requestParameters, initOverrides) {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
const response = yield this.adminGetCohortStatsRaw(requestParameters, initOverrides);
|
|
154
|
+
return yield response.value();
|
|
155
|
+
});
|
|
156
|
+
}
|
|
110
157
|
/**
|
|
111
158
|
* Get chats with stats for a user
|
|
112
159
|
*/
|
|
@@ -203,6 +250,9 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
203
250
|
if (requestParameters['chatType'] != null) {
|
|
204
251
|
queryParameters['chatType'] = requestParameters['chatType'];
|
|
205
252
|
}
|
|
253
|
+
if (requestParameters['forReview'] != null) {
|
|
254
|
+
queryParameters['forReview'] = requestParameters['forReview'];
|
|
255
|
+
}
|
|
206
256
|
const headerParameters = {};
|
|
207
257
|
if (requestParameters['xUserId'] != null) {
|
|
208
258
|
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
@@ -267,5 +317,88 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
267
317
|
return yield response.value();
|
|
268
318
|
});
|
|
269
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
* Trigger re-analysis for a chat
|
|
322
|
+
*/
|
|
323
|
+
adminTriggerChatAnalysisRaw(requestParameters, initOverrides) {
|
|
324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
+
if (requestParameters['xUserId'] == null) {
|
|
326
|
+
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling adminTriggerChatAnalysis().');
|
|
327
|
+
}
|
|
328
|
+
if (requestParameters['chatId'] == null) {
|
|
329
|
+
throw new runtime.RequiredError('chatId', 'Required parameter "chatId" was null or undefined when calling adminTriggerChatAnalysis().');
|
|
330
|
+
}
|
|
331
|
+
const queryParameters = {};
|
|
332
|
+
const headerParameters = {};
|
|
333
|
+
if (requestParameters['xUserId'] != null) {
|
|
334
|
+
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
335
|
+
}
|
|
336
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
337
|
+
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
338
|
+
}
|
|
339
|
+
let urlPath = `/api/v1/admin/chats/{chatId}/analyze`;
|
|
340
|
+
urlPath = urlPath.replace(`{${"chatId"}}`, encodeURIComponent(String(requestParameters['chatId'])));
|
|
341
|
+
const response = yield this.request({
|
|
342
|
+
path: urlPath,
|
|
343
|
+
method: 'POST',
|
|
344
|
+
headers: headerParameters,
|
|
345
|
+
query: queryParameters,
|
|
346
|
+
}, initOverrides);
|
|
347
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminTriggerAnalysisResponseFromJSON)(jsonValue));
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Trigger re-analysis for a chat
|
|
352
|
+
*/
|
|
353
|
+
adminTriggerChatAnalysis(requestParameters, initOverrides) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
355
|
+
const response = yield this.adminTriggerChatAnalysisRaw(requestParameters, initOverrides);
|
|
356
|
+
return yield response.value();
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Update a chat (admin)
|
|
361
|
+
*/
|
|
362
|
+
adminUpdateChatRaw(requestParameters, initOverrides) {
|
|
363
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
364
|
+
if (requestParameters['xUserId'] == null) {
|
|
365
|
+
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling adminUpdateChat().');
|
|
366
|
+
}
|
|
367
|
+
if (requestParameters['chatId'] == null) {
|
|
368
|
+
throw new runtime.RequiredError('chatId', 'Required parameter "chatId" was null or undefined when calling adminUpdateChat().');
|
|
369
|
+
}
|
|
370
|
+
if (requestParameters['adminUpdateChatRequest'] == null) {
|
|
371
|
+
throw new runtime.RequiredError('adminUpdateChatRequest', 'Required parameter "adminUpdateChatRequest" was null or undefined when calling adminUpdateChat().');
|
|
372
|
+
}
|
|
373
|
+
const queryParameters = {};
|
|
374
|
+
const headerParameters = {};
|
|
375
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
376
|
+
if (requestParameters['xUserId'] != null) {
|
|
377
|
+
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
378
|
+
}
|
|
379
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
380
|
+
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
381
|
+
}
|
|
382
|
+
let urlPath = `/api/v1/admin/chats/{chatId}`;
|
|
383
|
+
urlPath = urlPath.replace(`{${"chatId"}}`, encodeURIComponent(String(requestParameters['chatId'])));
|
|
384
|
+
const response = yield this.request({
|
|
385
|
+
path: urlPath,
|
|
386
|
+
method: 'PATCH',
|
|
387
|
+
headers: headerParameters,
|
|
388
|
+
query: queryParameters,
|
|
389
|
+
body: (0, index_1.AdminUpdateChatRequestToJSON)(requestParameters['adminUpdateChatRequest']),
|
|
390
|
+
}, initOverrides);
|
|
391
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminChatFromJSON)(jsonValue));
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Update a chat (admin)
|
|
396
|
+
*/
|
|
397
|
+
adminUpdateChat(requestParameters, initOverrides) {
|
|
398
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
399
|
+
const response = yield this.adminUpdateChatRaw(requestParameters, initOverrides);
|
|
400
|
+
return yield response.value();
|
|
401
|
+
});
|
|
402
|
+
}
|
|
270
403
|
}
|
|
271
404
|
exports.AdminApi = AdminApi;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AdminChat, AdminChatAnalysis, AdminChatWithStats, AdminPaginatedChats, AdminStreak, AdminUserEngagement } from '../models/index';
|
|
13
|
+
import type { AdminChat, AdminChatAnalysis, AdminChatWithStats, AdminCohortStats, AdminPaginatedChats, AdminStreak, AdminTriggerAnalysisResponse, AdminUpdateChatRequest, AdminUserEngagement } from '../models/index';
|
|
14
14
|
export interface AdminGetChatRequest {
|
|
15
15
|
xUserId: string;
|
|
16
16
|
chatId: string;
|
|
@@ -19,6 +19,11 @@ export interface AdminGetChatAnalysisRequest {
|
|
|
19
19
|
xUserId: string;
|
|
20
20
|
chatId: string;
|
|
21
21
|
}
|
|
22
|
+
export interface AdminGetCohortStatsRequest {
|
|
23
|
+
xUserId: string;
|
|
24
|
+
since: Date;
|
|
25
|
+
until: Date;
|
|
26
|
+
}
|
|
22
27
|
export interface AdminGetUserChatsRequest {
|
|
23
28
|
xUserId: string;
|
|
24
29
|
externalId: string;
|
|
@@ -32,11 +37,21 @@ export interface AdminListChatsRequest {
|
|
|
32
37
|
limit?: number;
|
|
33
38
|
cursor?: string;
|
|
34
39
|
chatType?: string;
|
|
40
|
+
forReview?: boolean;
|
|
35
41
|
}
|
|
36
42
|
export interface AdminListTopStreaksRequest {
|
|
37
43
|
xUserId: string;
|
|
38
44
|
limit?: number;
|
|
39
45
|
}
|
|
46
|
+
export interface AdminTriggerChatAnalysisRequest {
|
|
47
|
+
xUserId: string;
|
|
48
|
+
chatId: string;
|
|
49
|
+
}
|
|
50
|
+
export interface AdminUpdateChatOperationRequest {
|
|
51
|
+
xUserId: string;
|
|
52
|
+
chatId: string;
|
|
53
|
+
adminUpdateChatRequest: AdminUpdateChatRequest;
|
|
54
|
+
}
|
|
40
55
|
/**
|
|
41
56
|
*
|
|
42
57
|
*/
|
|
@@ -57,6 +72,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
57
72
|
* Get chat analysis for any chat within the account
|
|
58
73
|
*/
|
|
59
74
|
adminGetChatAnalysis(requestParameters: AdminGetChatAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminChatAnalysis>;
|
|
75
|
+
/**
|
|
76
|
+
* Get cohort statistics for users created within a date range
|
|
77
|
+
*/
|
|
78
|
+
adminGetCohortStatsRaw(requestParameters: AdminGetCohortStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminCohortStats>>;
|
|
79
|
+
/**
|
|
80
|
+
* Get cohort statistics for users created within a date range
|
|
81
|
+
*/
|
|
82
|
+
adminGetCohortStats(requestParameters: AdminGetCohortStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminCohortStats>;
|
|
60
83
|
/**
|
|
61
84
|
* Get chats with stats for a user
|
|
62
85
|
*/
|
|
@@ -89,4 +112,20 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
89
112
|
* List top N streaks across the account
|
|
90
113
|
*/
|
|
91
114
|
adminListTopStreaks(requestParameters: AdminListTopStreaksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminStreak>>;
|
|
115
|
+
/**
|
|
116
|
+
* Trigger re-analysis for a chat
|
|
117
|
+
*/
|
|
118
|
+
adminTriggerChatAnalysisRaw(requestParameters: AdminTriggerChatAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminTriggerAnalysisResponse>>;
|
|
119
|
+
/**
|
|
120
|
+
* Trigger re-analysis for a chat
|
|
121
|
+
*/
|
|
122
|
+
adminTriggerChatAnalysis(requestParameters: AdminTriggerChatAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminTriggerAnalysisResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* Update a chat (admin)
|
|
125
|
+
*/
|
|
126
|
+
adminUpdateChatRaw(requestParameters: AdminUpdateChatOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminChat>>;
|
|
127
|
+
/**
|
|
128
|
+
* Update a chat (admin)
|
|
129
|
+
*/
|
|
130
|
+
adminUpdateChat(requestParameters: AdminUpdateChatOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminChat>;
|
|
92
131
|
}
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AdminChatFromJSON, AdminChatAnalysisFromJSON, AdminChatWithStatsFromJSON, AdminPaginatedChatsFromJSON, AdminStreakFromJSON, AdminUserEngagementFromJSON, } from '../models/index';
|
|
24
|
+
import { AdminChatFromJSON, AdminChatAnalysisFromJSON, AdminChatWithStatsFromJSON, AdminCohortStatsFromJSON, AdminPaginatedChatsFromJSON, AdminStreakFromJSON, AdminTriggerAnalysisResponseFromJSON, AdminUpdateChatRequestToJSON, AdminUserEngagementFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -104,6 +104,53 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
104
104
|
return yield response.value();
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Get cohort statistics for users created within a date range
|
|
109
|
+
*/
|
|
110
|
+
adminGetCohortStatsRaw(requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
if (requestParameters['xUserId'] == null) {
|
|
113
|
+
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling adminGetCohortStats().');
|
|
114
|
+
}
|
|
115
|
+
if (requestParameters['since'] == null) {
|
|
116
|
+
throw new runtime.RequiredError('since', 'Required parameter "since" was null or undefined when calling adminGetCohortStats().');
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['until'] == null) {
|
|
119
|
+
throw new runtime.RequiredError('until', 'Required parameter "until" was null or undefined when calling adminGetCohortStats().');
|
|
120
|
+
}
|
|
121
|
+
const queryParameters = {};
|
|
122
|
+
if (requestParameters['since'] != null) {
|
|
123
|
+
queryParameters['since'] = requestParameters['since'].toISOString();
|
|
124
|
+
}
|
|
125
|
+
if (requestParameters['until'] != null) {
|
|
126
|
+
queryParameters['until'] = requestParameters['until'].toISOString();
|
|
127
|
+
}
|
|
128
|
+
const headerParameters = {};
|
|
129
|
+
if (requestParameters['xUserId'] != null) {
|
|
130
|
+
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
131
|
+
}
|
|
132
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
133
|
+
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
134
|
+
}
|
|
135
|
+
let urlPath = `/api/v1/admin/cohort-stats`;
|
|
136
|
+
const response = yield this.request({
|
|
137
|
+
path: urlPath,
|
|
138
|
+
method: 'GET',
|
|
139
|
+
headers: headerParameters,
|
|
140
|
+
query: queryParameters,
|
|
141
|
+
}, initOverrides);
|
|
142
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AdminCohortStatsFromJSON(jsonValue));
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Get cohort statistics for users created within a date range
|
|
147
|
+
*/
|
|
148
|
+
adminGetCohortStats(requestParameters, initOverrides) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
const response = yield this.adminGetCohortStatsRaw(requestParameters, initOverrides);
|
|
151
|
+
return yield response.value();
|
|
152
|
+
});
|
|
153
|
+
}
|
|
107
154
|
/**
|
|
108
155
|
* Get chats with stats for a user
|
|
109
156
|
*/
|
|
@@ -200,6 +247,9 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
200
247
|
if (requestParameters['chatType'] != null) {
|
|
201
248
|
queryParameters['chatType'] = requestParameters['chatType'];
|
|
202
249
|
}
|
|
250
|
+
if (requestParameters['forReview'] != null) {
|
|
251
|
+
queryParameters['forReview'] = requestParameters['forReview'];
|
|
252
|
+
}
|
|
203
253
|
const headerParameters = {};
|
|
204
254
|
if (requestParameters['xUserId'] != null) {
|
|
205
255
|
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
@@ -264,4 +314,87 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
264
314
|
return yield response.value();
|
|
265
315
|
});
|
|
266
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* Trigger re-analysis for a chat
|
|
319
|
+
*/
|
|
320
|
+
adminTriggerChatAnalysisRaw(requestParameters, initOverrides) {
|
|
321
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
322
|
+
if (requestParameters['xUserId'] == null) {
|
|
323
|
+
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling adminTriggerChatAnalysis().');
|
|
324
|
+
}
|
|
325
|
+
if (requestParameters['chatId'] == null) {
|
|
326
|
+
throw new runtime.RequiredError('chatId', 'Required parameter "chatId" was null or undefined when calling adminTriggerChatAnalysis().');
|
|
327
|
+
}
|
|
328
|
+
const queryParameters = {};
|
|
329
|
+
const headerParameters = {};
|
|
330
|
+
if (requestParameters['xUserId'] != null) {
|
|
331
|
+
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
332
|
+
}
|
|
333
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
334
|
+
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
335
|
+
}
|
|
336
|
+
let urlPath = `/api/v1/admin/chats/{chatId}/analyze`;
|
|
337
|
+
urlPath = urlPath.replace(`{${"chatId"}}`, encodeURIComponent(String(requestParameters['chatId'])));
|
|
338
|
+
const response = yield this.request({
|
|
339
|
+
path: urlPath,
|
|
340
|
+
method: 'POST',
|
|
341
|
+
headers: headerParameters,
|
|
342
|
+
query: queryParameters,
|
|
343
|
+
}, initOverrides);
|
|
344
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AdminTriggerAnalysisResponseFromJSON(jsonValue));
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Trigger re-analysis for a chat
|
|
349
|
+
*/
|
|
350
|
+
adminTriggerChatAnalysis(requestParameters, initOverrides) {
|
|
351
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
352
|
+
const response = yield this.adminTriggerChatAnalysisRaw(requestParameters, initOverrides);
|
|
353
|
+
return yield response.value();
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Update a chat (admin)
|
|
358
|
+
*/
|
|
359
|
+
adminUpdateChatRaw(requestParameters, initOverrides) {
|
|
360
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
361
|
+
if (requestParameters['xUserId'] == null) {
|
|
362
|
+
throw new runtime.RequiredError('xUserId', 'Required parameter "xUserId" was null or undefined when calling adminUpdateChat().');
|
|
363
|
+
}
|
|
364
|
+
if (requestParameters['chatId'] == null) {
|
|
365
|
+
throw new runtime.RequiredError('chatId', 'Required parameter "chatId" was null or undefined when calling adminUpdateChat().');
|
|
366
|
+
}
|
|
367
|
+
if (requestParameters['adminUpdateChatRequest'] == null) {
|
|
368
|
+
throw new runtime.RequiredError('adminUpdateChatRequest', 'Required parameter "adminUpdateChatRequest" was null or undefined when calling adminUpdateChat().');
|
|
369
|
+
}
|
|
370
|
+
const queryParameters = {};
|
|
371
|
+
const headerParameters = {};
|
|
372
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
373
|
+
if (requestParameters['xUserId'] != null) {
|
|
374
|
+
headerParameters['X-User-Id'] = String(requestParameters['xUserId']);
|
|
375
|
+
}
|
|
376
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
377
|
+
headerParameters["X-Auth-Token"] = yield this.configuration.apiKey("X-Auth-Token"); // AuthToken authentication
|
|
378
|
+
}
|
|
379
|
+
let urlPath = `/api/v1/admin/chats/{chatId}`;
|
|
380
|
+
urlPath = urlPath.replace(`{${"chatId"}}`, encodeURIComponent(String(requestParameters['chatId'])));
|
|
381
|
+
const response = yield this.request({
|
|
382
|
+
path: urlPath,
|
|
383
|
+
method: 'PATCH',
|
|
384
|
+
headers: headerParameters,
|
|
385
|
+
query: queryParameters,
|
|
386
|
+
body: AdminUpdateChatRequestToJSON(requestParameters['adminUpdateChatRequest']),
|
|
387
|
+
}, initOverrides);
|
|
388
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AdminChatFromJSON(jsonValue));
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Update a chat (admin)
|
|
393
|
+
*/
|
|
394
|
+
adminUpdateChat(requestParameters, initOverrides) {
|
|
395
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
396
|
+
const response = yield this.adminUpdateChatRaw(requestParameters, initOverrides);
|
|
397
|
+
return yield response.value();
|
|
398
|
+
});
|
|
399
|
+
}
|
|
267
400
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminCohortStats
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminCohortStats {
|
|
18
|
+
/**
|
|
19
|
+
* Users created in range who sent a message in an onboarding chat
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AdminCohortStats
|
|
22
|
+
*/
|
|
23
|
+
onboardingParticipants: number;
|
|
24
|
+
/**
|
|
25
|
+
* Users created in range who have at least one non-onboarding chat
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AdminCohortStats
|
|
28
|
+
*/
|
|
29
|
+
usersWithRegularChat: number;
|
|
30
|
+
/**
|
|
31
|
+
* Users created in range who sent at least one message
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AdminCohortStats
|
|
34
|
+
*/
|
|
35
|
+
usersWhoSentMessage: number;
|
|
36
|
+
/**
|
|
37
|
+
* Average number of messages per user in the cohort
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AdminCohortStats
|
|
40
|
+
*/
|
|
41
|
+
averageMessagesPerUser: number;
|
|
42
|
+
/**
|
|
43
|
+
* Users who sent messages on 2+ distinct days
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AdminCohortStats
|
|
46
|
+
*/
|
|
47
|
+
usersMessagedOnMultipleDays: number;
|
|
48
|
+
/**
|
|
49
|
+
* Users with chats created on 2+ distinct days
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof AdminCohortStats
|
|
52
|
+
*/
|
|
53
|
+
usersChattedOnMultipleDays: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the AdminCohortStats interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfAdminCohortStats(value: object): value is AdminCohortStats;
|
|
59
|
+
export declare function AdminCohortStatsFromJSON(json: any): AdminCohortStats;
|
|
60
|
+
export declare function AdminCohortStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminCohortStats;
|
|
61
|
+
export declare function AdminCohortStatsToJSON(json: any): AdminCohortStats;
|
|
62
|
+
export declare function AdminCohortStatsToJSONTyped(value?: AdminCohortStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the AdminCohortStats interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAdminCohortStats(value) {
|
|
18
|
+
if (!('onboardingParticipants' in value) || value['onboardingParticipants'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('usersWithRegularChat' in value) || value['usersWithRegularChat'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('usersWhoSentMessage' in value) || value['usersWhoSentMessage'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('averageMessagesPerUser' in value) || value['averageMessagesPerUser'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('usersMessagedOnMultipleDays' in value) || value['usersMessagedOnMultipleDays'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('usersChattedOnMultipleDays' in value) || value['usersChattedOnMultipleDays'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function AdminCohortStatsFromJSON(json) {
|
|
33
|
+
return AdminCohortStatsFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function AdminCohortStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'onboardingParticipants': json['onboardingParticipants'],
|
|
41
|
+
'usersWithRegularChat': json['usersWithRegularChat'],
|
|
42
|
+
'usersWhoSentMessage': json['usersWhoSentMessage'],
|
|
43
|
+
'averageMessagesPerUser': json['averageMessagesPerUser'],
|
|
44
|
+
'usersMessagedOnMultipleDays': json['usersMessagedOnMultipleDays'],
|
|
45
|
+
'usersChattedOnMultipleDays': json['usersChattedOnMultipleDays'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function AdminCohortStatsToJSON(json) {
|
|
49
|
+
return AdminCohortStatsToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function AdminCohortStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'onboardingParticipants': value['onboardingParticipants'],
|
|
57
|
+
'usersWithRegularChat': value['usersWithRegularChat'],
|
|
58
|
+
'usersWhoSentMessage': value['usersWhoSentMessage'],
|
|
59
|
+
'averageMessagesPerUser': value['averageMessagesPerUser'],
|
|
60
|
+
'usersMessagedOnMultipleDays': value['usersMessagedOnMultipleDays'],
|
|
61
|
+
'usersChattedOnMultipleDays': value['usersChattedOnMultipleDays'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminTriggerAnalysisResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminTriggerAnalysisResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminTriggerAnalysisResponse
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AdminTriggerAnalysisResponse
|
|
28
|
+
*/
|
|
29
|
+
success: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AdminTriggerAnalysisResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAdminTriggerAnalysisResponse(value: object): value is AdminTriggerAnalysisResponse;
|
|
35
|
+
export declare function AdminTriggerAnalysisResponseFromJSON(json: any): AdminTriggerAnalysisResponse;
|
|
36
|
+
export declare function AdminTriggerAnalysisResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminTriggerAnalysisResponse;
|
|
37
|
+
export declare function AdminTriggerAnalysisResponseToJSON(json: any): AdminTriggerAnalysisResponse;
|
|
38
|
+
export declare function AdminTriggerAnalysisResponseToJSONTyped(value?: AdminTriggerAnalysisResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the AdminTriggerAnalysisResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAdminTriggerAnalysisResponse(value) {
|
|
18
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function AdminTriggerAnalysisResponseFromJSON(json) {
|
|
25
|
+
return AdminTriggerAnalysisResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function AdminTriggerAnalysisResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'message': json['message'],
|
|
33
|
+
'success': json['success'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function AdminTriggerAnalysisResponseToJSON(json) {
|
|
37
|
+
return AdminTriggerAnalysisResponseToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AdminTriggerAnalysisResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'message': value['message'],
|
|
45
|
+
'success': value['success'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminUpdateChatRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminUpdateChatRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the chat is flagged for review
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AdminUpdateChatRequest
|
|
22
|
+
*/
|
|
23
|
+
forReview: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AdminUpdateChatRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAdminUpdateChatRequest(value: object): value is AdminUpdateChatRequest;
|
|
29
|
+
export declare function AdminUpdateChatRequestFromJSON(json: any): AdminUpdateChatRequest;
|
|
30
|
+
export declare function AdminUpdateChatRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminUpdateChatRequest;
|
|
31
|
+
export declare function AdminUpdateChatRequestToJSON(json: any): AdminUpdateChatRequest;
|
|
32
|
+
export declare function AdminUpdateChatRequestToJSONTyped(value?: AdminUpdateChatRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Athena API
|
|
5
|
+
* REST API for the Athena system
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the AdminUpdateChatRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAdminUpdateChatRequest(value) {
|
|
18
|
+
if (!('forReview' in value) || value['forReview'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AdminUpdateChatRequestFromJSON(json) {
|
|
23
|
+
return AdminUpdateChatRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AdminUpdateChatRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'forReview': json['forReview'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function AdminUpdateChatRequestToJSON(json) {
|
|
34
|
+
return AdminUpdateChatRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function AdminUpdateChatRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'forReview': value['forReview'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -2,8 +2,11 @@ export * from './Account';
|
|
|
2
2
|
export * from './AdminChat';
|
|
3
3
|
export * from './AdminChatAnalysis';
|
|
4
4
|
export * from './AdminChatWithStats';
|
|
5
|
+
export * from './AdminCohortStats';
|
|
5
6
|
export * from './AdminPaginatedChats';
|
|
6
7
|
export * from './AdminStreak';
|
|
8
|
+
export * from './AdminTriggerAnalysisResponse';
|
|
9
|
+
export * from './AdminUpdateChatRequest';
|
|
7
10
|
export * from './AdminUserEngagement';
|
|
8
11
|
export * from './Chat';
|
|
9
12
|
export * from './ChatAnalysis';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -4,8 +4,11 @@ export * from './Account';
|
|
|
4
4
|
export * from './AdminChat';
|
|
5
5
|
export * from './AdminChatAnalysis';
|
|
6
6
|
export * from './AdminChatWithStats';
|
|
7
|
+
export * from './AdminCohortStats';
|
|
7
8
|
export * from './AdminPaginatedChats';
|
|
8
9
|
export * from './AdminStreak';
|
|
10
|
+
export * from './AdminTriggerAnalysisResponse';
|
|
11
|
+
export * from './AdminUpdateChatRequest';
|
|
9
12
|
export * from './AdminUserEngagement';
|
|
10
13
|
export * from './Chat';
|
|
11
14
|
export * from './ChatAnalysis';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminCohortStats
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminCohortStats {
|
|
18
|
+
/**
|
|
19
|
+
* Users created in range who sent a message in an onboarding chat
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AdminCohortStats
|
|
22
|
+
*/
|
|
23
|
+
onboardingParticipants: number;
|
|
24
|
+
/**
|
|
25
|
+
* Users created in range who have at least one non-onboarding chat
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AdminCohortStats
|
|
28
|
+
*/
|
|
29
|
+
usersWithRegularChat: number;
|
|
30
|
+
/**
|
|
31
|
+
* Users created in range who sent at least one message
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AdminCohortStats
|
|
34
|
+
*/
|
|
35
|
+
usersWhoSentMessage: number;
|
|
36
|
+
/**
|
|
37
|
+
* Average number of messages per user in the cohort
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AdminCohortStats
|
|
40
|
+
*/
|
|
41
|
+
averageMessagesPerUser: number;
|
|
42
|
+
/**
|
|
43
|
+
* Users who sent messages on 2+ distinct days
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof AdminCohortStats
|
|
46
|
+
*/
|
|
47
|
+
usersMessagedOnMultipleDays: number;
|
|
48
|
+
/**
|
|
49
|
+
* Users with chats created on 2+ distinct days
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof AdminCohortStats
|
|
52
|
+
*/
|
|
53
|
+
usersChattedOnMultipleDays: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the AdminCohortStats interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfAdminCohortStats(value: object): value is AdminCohortStats;
|
|
59
|
+
export declare function AdminCohortStatsFromJSON(json: any): AdminCohortStats;
|
|
60
|
+
export declare function AdminCohortStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminCohortStats;
|
|
61
|
+
export declare function AdminCohortStatsToJSON(json: any): AdminCohortStats;
|
|
62
|
+
export declare function AdminCohortStatsToJSONTyped(value?: AdminCohortStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminCohortStats = instanceOfAdminCohortStats;
|
|
17
|
+
exports.AdminCohortStatsFromJSON = AdminCohortStatsFromJSON;
|
|
18
|
+
exports.AdminCohortStatsFromJSONTyped = AdminCohortStatsFromJSONTyped;
|
|
19
|
+
exports.AdminCohortStatsToJSON = AdminCohortStatsToJSON;
|
|
20
|
+
exports.AdminCohortStatsToJSONTyped = AdminCohortStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminCohortStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminCohortStats(value) {
|
|
25
|
+
if (!('onboardingParticipants' in value) || value['onboardingParticipants'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('usersWithRegularChat' in value) || value['usersWithRegularChat'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('usersWhoSentMessage' in value) || value['usersWhoSentMessage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('averageMessagesPerUser' in value) || value['averageMessagesPerUser'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('usersMessagedOnMultipleDays' in value) || value['usersMessagedOnMultipleDays'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('usersChattedOnMultipleDays' in value) || value['usersChattedOnMultipleDays'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AdminCohortStatsFromJSON(json) {
|
|
40
|
+
return AdminCohortStatsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AdminCohortStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'onboardingParticipants': json['onboardingParticipants'],
|
|
48
|
+
'usersWithRegularChat': json['usersWithRegularChat'],
|
|
49
|
+
'usersWhoSentMessage': json['usersWhoSentMessage'],
|
|
50
|
+
'averageMessagesPerUser': json['averageMessagesPerUser'],
|
|
51
|
+
'usersMessagedOnMultipleDays': json['usersMessagedOnMultipleDays'],
|
|
52
|
+
'usersChattedOnMultipleDays': json['usersChattedOnMultipleDays'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function AdminCohortStatsToJSON(json) {
|
|
56
|
+
return AdminCohortStatsToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AdminCohortStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'onboardingParticipants': value['onboardingParticipants'],
|
|
64
|
+
'usersWithRegularChat': value['usersWithRegularChat'],
|
|
65
|
+
'usersWhoSentMessage': value['usersWhoSentMessage'],
|
|
66
|
+
'averageMessagesPerUser': value['averageMessagesPerUser'],
|
|
67
|
+
'usersMessagedOnMultipleDays': value['usersMessagedOnMultipleDays'],
|
|
68
|
+
'usersChattedOnMultipleDays': value['usersChattedOnMultipleDays'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminTriggerAnalysisResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminTriggerAnalysisResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AdminTriggerAnalysisResponse
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof AdminTriggerAnalysisResponse
|
|
28
|
+
*/
|
|
29
|
+
success: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AdminTriggerAnalysisResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAdminTriggerAnalysisResponse(value: object): value is AdminTriggerAnalysisResponse;
|
|
35
|
+
export declare function AdminTriggerAnalysisResponseFromJSON(json: any): AdminTriggerAnalysisResponse;
|
|
36
|
+
export declare function AdminTriggerAnalysisResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminTriggerAnalysisResponse;
|
|
37
|
+
export declare function AdminTriggerAnalysisResponseToJSON(json: any): AdminTriggerAnalysisResponse;
|
|
38
|
+
export declare function AdminTriggerAnalysisResponseToJSONTyped(value?: AdminTriggerAnalysisResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminTriggerAnalysisResponse = instanceOfAdminTriggerAnalysisResponse;
|
|
17
|
+
exports.AdminTriggerAnalysisResponseFromJSON = AdminTriggerAnalysisResponseFromJSON;
|
|
18
|
+
exports.AdminTriggerAnalysisResponseFromJSONTyped = AdminTriggerAnalysisResponseFromJSONTyped;
|
|
19
|
+
exports.AdminTriggerAnalysisResponseToJSON = AdminTriggerAnalysisResponseToJSON;
|
|
20
|
+
exports.AdminTriggerAnalysisResponseToJSONTyped = AdminTriggerAnalysisResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminTriggerAnalysisResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminTriggerAnalysisResponse(value) {
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AdminTriggerAnalysisResponseFromJSON(json) {
|
|
32
|
+
return AdminTriggerAnalysisResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AdminTriggerAnalysisResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'message': json['message'],
|
|
40
|
+
'success': json['success'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AdminTriggerAnalysisResponseToJSON(json) {
|
|
44
|
+
return AdminTriggerAnalysisResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AdminTriggerAnalysisResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'message': value['message'],
|
|
52
|
+
'success': value['success'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Athena API
|
|
3
|
+
* REST API for the Athena system
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AdminUpdateChatRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AdminUpdateChatRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the chat is flagged for review
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AdminUpdateChatRequest
|
|
22
|
+
*/
|
|
23
|
+
forReview: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AdminUpdateChatRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAdminUpdateChatRequest(value: object): value is AdminUpdateChatRequest;
|
|
29
|
+
export declare function AdminUpdateChatRequestFromJSON(json: any): AdminUpdateChatRequest;
|
|
30
|
+
export declare function AdminUpdateChatRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminUpdateChatRequest;
|
|
31
|
+
export declare function AdminUpdateChatRequestToJSON(json: any): AdminUpdateChatRequest;
|
|
32
|
+
export declare function AdminUpdateChatRequestToJSONTyped(value?: AdminUpdateChatRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Athena API
|
|
6
|
+
* REST API for the Athena system
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminUpdateChatRequest = instanceOfAdminUpdateChatRequest;
|
|
17
|
+
exports.AdminUpdateChatRequestFromJSON = AdminUpdateChatRequestFromJSON;
|
|
18
|
+
exports.AdminUpdateChatRequestFromJSONTyped = AdminUpdateChatRequestFromJSONTyped;
|
|
19
|
+
exports.AdminUpdateChatRequestToJSON = AdminUpdateChatRequestToJSON;
|
|
20
|
+
exports.AdminUpdateChatRequestToJSONTyped = AdminUpdateChatRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminUpdateChatRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminUpdateChatRequest(value) {
|
|
25
|
+
if (!('forReview' in value) || value['forReview'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AdminUpdateChatRequestFromJSON(json) {
|
|
30
|
+
return AdminUpdateChatRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AdminUpdateChatRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'forReview': json['forReview'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AdminUpdateChatRequestToJSON(json) {
|
|
41
|
+
return AdminUpdateChatRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AdminUpdateChatRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'forReview': value['forReview'],
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -2,8 +2,11 @@ export * from './Account';
|
|
|
2
2
|
export * from './AdminChat';
|
|
3
3
|
export * from './AdminChatAnalysis';
|
|
4
4
|
export * from './AdminChatWithStats';
|
|
5
|
+
export * from './AdminCohortStats';
|
|
5
6
|
export * from './AdminPaginatedChats';
|
|
6
7
|
export * from './AdminStreak';
|
|
8
|
+
export * from './AdminTriggerAnalysisResponse';
|
|
9
|
+
export * from './AdminUpdateChatRequest';
|
|
7
10
|
export * from './AdminUserEngagement';
|
|
8
11
|
export * from './Chat';
|
|
9
12
|
export * from './ChatAnalysis';
|
package/dist/models/index.js
CHANGED
|
@@ -20,8 +20,11 @@ __exportStar(require("./Account"), exports);
|
|
|
20
20
|
__exportStar(require("./AdminChat"), exports);
|
|
21
21
|
__exportStar(require("./AdminChatAnalysis"), exports);
|
|
22
22
|
__exportStar(require("./AdminChatWithStats"), exports);
|
|
23
|
+
__exportStar(require("./AdminCohortStats"), exports);
|
|
23
24
|
__exportStar(require("./AdminPaginatedChats"), exports);
|
|
24
25
|
__exportStar(require("./AdminStreak"), exports);
|
|
26
|
+
__exportStar(require("./AdminTriggerAnalysisResponse"), exports);
|
|
27
|
+
__exportStar(require("./AdminUpdateChatRequest"), exports);
|
|
25
28
|
__exportStar(require("./AdminUserEngagement"), exports);
|
|
26
29
|
__exportStar(require("./Chat"), exports);
|
|
27
30
|
__exportStar(require("./ChatAnalysis"), exports);
|