ch-chat-api-typescript-axios 5.83.2 → 5.86.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.
Files changed (50) hide show
  1. package/dist/api/dashboard-api.d.ts +240 -0
  2. package/dist/api/dashboard-api.js +319 -0
  3. package/dist/api/dashboard-api.js.map +1 -0
  4. package/dist/api/sessions-api.d.ts +11 -2
  5. package/dist/api/sessions-api.js +10 -5
  6. package/dist/api/sessions-api.js.map +1 -1
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/api.js.map +1 -1
  10. package/dist/models/activated-session-detail-model.d.ts +74 -0
  11. package/dist/models/{chat-notification-paged-list-meta-data.js → activated-session-detail-model.js} +1 -1
  12. package/dist/models/activated-session-detail-model.js.map +1 -0
  13. package/dist/models/activated-session-details-model.d.ts +32 -0
  14. package/dist/models/{api-v1-chat-migrations-post401-response.js → activated-session-details-model.js} +1 -1
  15. package/dist/models/activated-session-details-model.js.map +1 -0
  16. package/dist/models/{api-v1-chat-migrations-post401-response-errors.d.ts → api-v1-chat-dashboard-sessions-activated-count-get401-response-errors.d.ts} +3 -3
  17. package/dist/models/api-v1-chat-dashboard-sessions-activated-count-get401-response-errors.js +16 -0
  18. package/dist/models/api-v1-chat-dashboard-sessions-activated-count-get401-response-errors.js.map +1 -0
  19. package/dist/models/api-v1-chat-dashboard-sessions-activated-count-get401-response.d.ts +49 -0
  20. package/dist/models/api-v1-chat-dashboard-sessions-activated-count-get401-response.js +16 -0
  21. package/dist/models/api-v1-chat-dashboard-sessions-activated-count-get401-response.js.map +1 -0
  22. package/dist/models/chat-notification.d.ts +6 -0
  23. package/dist/models/chat-notifications.d.ts +9 -3
  24. package/dist/models/dashboard-activated-sessions-model.d.ts +31 -0
  25. package/dist/models/{api-v1-chat-migrations-post401-response-errors.js → dashboard-activated-sessions-model.js} +1 -1
  26. package/dist/models/dashboard-activated-sessions-model.js.map +1 -0
  27. package/dist/models/dashboard-session-countries-detail-statistics-model.d.ts +42 -0
  28. package/dist/models/dashboard-session-countries-detail-statistics-model.js +16 -0
  29. package/dist/models/dashboard-session-countries-detail-statistics-model.js.map +1 -0
  30. package/dist/models/dashboard-session-countries-statistics-model.d.ts +38 -0
  31. package/dist/models/dashboard-session-countries-statistics-model.js +16 -0
  32. package/dist/models/dashboard-session-countries-statistics-model.js.map +1 -0
  33. package/dist/models/dashboard-session-trends-duration-statistics-model.d.ts +36 -0
  34. package/dist/models/dashboard-session-trends-duration-statistics-model.js +16 -0
  35. package/dist/models/dashboard-session-trends-duration-statistics-model.js.map +1 -0
  36. package/dist/models/dashboard-session-trends-statistics-model.d.ts +37 -0
  37. package/dist/models/dashboard-session-trends-statistics-model.js +16 -0
  38. package/dist/models/dashboard-session-trends-statistics-model.js.map +1 -0
  39. package/dist/models/duration.d.ts +24 -0
  40. package/dist/models/duration.js +29 -0
  41. package/dist/models/duration.js.map +1 -0
  42. package/dist/models/index.d.ts +10 -3
  43. package/dist/models/index.js +10 -3
  44. package/dist/models/index.js.map +1 -1
  45. package/package.json +1 -1
  46. package/dist/models/api-v1-chat-migrations-post401-response-errors.js.map +0 -1
  47. package/dist/models/api-v1-chat-migrations-post401-response.d.ts +0 -49
  48. package/dist/models/api-v1-chat-migrations-post401-response.js.map +0 -1
  49. package/dist/models/chat-notification-paged-list-meta-data.d.ts +0 -84
  50. package/dist/models/chat-notification-paged-list-meta-data.js.map +0 -1
@@ -0,0 +1,240 @@
1
+ /**
2
+ * CloudHospital.ChatApi
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.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
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { DashboardActivatedSessionsModel } from '../models';
16
+ import type { DashboardSessionCountriesStatisticsModel } from '../models';
17
+ import type { DashboardSessionTrendsStatisticsModel } from '../models';
18
+ import type { Duration } from '../models';
19
+ import type { PlatformTypes } from '../models';
20
+ import type { SortBy } from '../models';
21
+ /**
22
+ * DashboardApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ *
28
+ * @summary Get current activated chat session status.
29
+ * @param {string} [tenantId]
30
+ * @param {string} [assigneeId]
31
+ * @param {PlatformTypes} [platformType]
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ apiV1ChatDashboardSessionsActivatedCountGet: (tenantId?: string, assigneeId?: string, platformType?: PlatformTypes, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ *
38
+ * @summary Get current all chat session status.
39
+ * @param {string} [tenantId]
40
+ * @param {SortBy} [sortBy] Sort by value cost
41
+ * @param {number} [page]
42
+ * @param {number} [limit]
43
+ * @param {Date} [lastRetrieved]
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ apiV1ChatDashboardSessionsCountriesGet: (tenantId?: string, sortBy?: SortBy, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ *
50
+ * @summary Get created and expired chat session statistics trends.
51
+ * @param {Duration} duration
52
+ * @param {string} [tenantId]
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ apiV1ChatDashboardSessionsCountsGet: (duration: Duration, tenantId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57
+ };
58
+ /**
59
+ * DashboardApi - functional programming interface
60
+ * @export
61
+ */
62
+ export declare const DashboardApiFp: (configuration?: Configuration) => {
63
+ /**
64
+ *
65
+ * @summary Get current activated chat session status.
66
+ * @param {string} [tenantId]
67
+ * @param {string} [assigneeId]
68
+ * @param {PlatformTypes} [platformType]
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ apiV1ChatDashboardSessionsActivatedCountGet(tenantId?: string, assigneeId?: string, platformType?: PlatformTypes, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardActivatedSessionsModel>>;
73
+ /**
74
+ *
75
+ * @summary Get current all chat session status.
76
+ * @param {string} [tenantId]
77
+ * @param {SortBy} [sortBy] Sort by value cost
78
+ * @param {number} [page]
79
+ * @param {number} [limit]
80
+ * @param {Date} [lastRetrieved]
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ apiV1ChatDashboardSessionsCountriesGet(tenantId?: string, sortBy?: SortBy, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardSessionCountriesStatisticsModel>>;
85
+ /**
86
+ *
87
+ * @summary Get created and expired chat session statistics trends.
88
+ * @param {Duration} duration
89
+ * @param {string} [tenantId]
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ apiV1ChatDashboardSessionsCountsGet(duration: Duration, tenantId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardSessionTrendsStatisticsModel>>;
94
+ };
95
+ /**
96
+ * DashboardApi - factory interface
97
+ * @export
98
+ */
99
+ export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
100
+ /**
101
+ *
102
+ * @summary Get current activated chat session status.
103
+ * @param {DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest} requestParameters Request parameters.
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ apiV1ChatDashboardSessionsActivatedCountGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardActivatedSessionsModel>;
108
+ /**
109
+ *
110
+ * @summary Get current all chat session status.
111
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest} requestParameters Request parameters.
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ apiV1ChatDashboardSessionsCountriesGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardSessionCountriesStatisticsModel>;
116
+ /**
117
+ *
118
+ * @summary Get created and expired chat session statistics trends.
119
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountsGetRequest} requestParameters Request parameters.
120
+ * @param {*} [options] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ apiV1ChatDashboardSessionsCountsGet(requestParameters: DashboardApiApiV1ChatDashboardSessionsCountsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardSessionTrendsStatisticsModel>;
124
+ };
125
+ /**
126
+ * Request parameters for apiV1ChatDashboardSessionsActivatedCountGet operation in DashboardApi.
127
+ * @export
128
+ * @interface DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest
129
+ */
130
+ export interface DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest {
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof DashboardApiApiV1ChatDashboardSessionsActivatedCountGet
135
+ */
136
+ readonly tenantId?: string;
137
+ /**
138
+ *
139
+ * @type {string}
140
+ * @memberof DashboardApiApiV1ChatDashboardSessionsActivatedCountGet
141
+ */
142
+ readonly assigneeId?: string;
143
+ /**
144
+ *
145
+ * @type {PlatformTypes}
146
+ * @memberof DashboardApiApiV1ChatDashboardSessionsActivatedCountGet
147
+ */
148
+ readonly platformType?: PlatformTypes;
149
+ }
150
+ /**
151
+ * Request parameters for apiV1ChatDashboardSessionsCountriesGet operation in DashboardApi.
152
+ * @export
153
+ * @interface DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest
154
+ */
155
+ export interface DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest {
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
160
+ */
161
+ readonly tenantId?: string;
162
+ /**
163
+ * Sort by value cost
164
+ * @type {SortBy}
165
+ * @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
166
+ */
167
+ readonly sortBy?: SortBy;
168
+ /**
169
+ *
170
+ * @type {number}
171
+ * @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
172
+ */
173
+ readonly page?: number;
174
+ /**
175
+ *
176
+ * @type {number}
177
+ * @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
178
+ */
179
+ readonly limit?: number;
180
+ /**
181
+ *
182
+ * @type {Date}
183
+ * @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
184
+ */
185
+ readonly lastRetrieved?: Date;
186
+ }
187
+ /**
188
+ * Request parameters for apiV1ChatDashboardSessionsCountsGet operation in DashboardApi.
189
+ * @export
190
+ * @interface DashboardApiApiV1ChatDashboardSessionsCountsGetRequest
191
+ */
192
+ export interface DashboardApiApiV1ChatDashboardSessionsCountsGetRequest {
193
+ /**
194
+ *
195
+ * @type {Duration}
196
+ * @memberof DashboardApiApiV1ChatDashboardSessionsCountsGet
197
+ */
198
+ readonly duration: Duration;
199
+ /**
200
+ *
201
+ * @type {string}
202
+ * @memberof DashboardApiApiV1ChatDashboardSessionsCountsGet
203
+ */
204
+ readonly tenantId?: string;
205
+ }
206
+ /**
207
+ * DashboardApi - object-oriented interface
208
+ * @export
209
+ * @class DashboardApi
210
+ * @extends {BaseAPI}
211
+ */
212
+ export declare class DashboardApi extends BaseAPI {
213
+ /**
214
+ *
215
+ * @summary Get current activated chat session status.
216
+ * @param {DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest} requestParameters Request parameters.
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ * @memberof DashboardApi
220
+ */
221
+ apiV1ChatDashboardSessionsActivatedCountGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardActivatedSessionsModel, any>>;
222
+ /**
223
+ *
224
+ * @summary Get current all chat session status.
225
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest} requestParameters Request parameters.
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ * @memberof DashboardApi
229
+ */
230
+ apiV1ChatDashboardSessionsCountriesGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardSessionCountriesStatisticsModel, any>>;
231
+ /**
232
+ *
233
+ * @summary Get created and expired chat session statistics trends.
234
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountsGetRequest} requestParameters Request parameters.
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ * @memberof DashboardApi
238
+ */
239
+ apiV1ChatDashboardSessionsCountsGet(requestParameters: DashboardApiApiV1ChatDashboardSessionsCountsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardSessionTrendsStatisticsModel, any>>;
240
+ }
@@ -0,0 +1,319 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital.ChatApi
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ var __importDefault = (this && this.__importDefault) || function (mod) {
25
+ return (mod && mod.__esModule) ? mod : { "default": mod };
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = void 0;
29
+ const axios_1 = __importDefault(require("axios"));
30
+ // Some imports not used depending on template conditions
31
+ // @ts-ignore
32
+ const common_1 = require("../common");
33
+ // @ts-ignore
34
+ const base_1 = require("../base");
35
+ /**
36
+ * DashboardApi - axios parameter creator
37
+ * @export
38
+ */
39
+ const DashboardApiAxiosParamCreator = function (configuration) {
40
+ return {
41
+ /**
42
+ *
43
+ * @summary Get current activated chat session status.
44
+ * @param {string} [tenantId]
45
+ * @param {string} [assigneeId]
46
+ * @param {PlatformTypes} [platformType]
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ apiV1ChatDashboardSessionsActivatedCountGet: (tenantId_1, assigneeId_1, platformType_1, ...args_1) => __awaiter(this, [tenantId_1, assigneeId_1, platformType_1, ...args_1], void 0, function* (tenantId, assigneeId, platformType, options = {}) {
51
+ const localVarPath = `/api/v1/chat/dashboard/sessions/activated-count`;
52
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54
+ let baseOptions;
55
+ if (configuration) {
56
+ baseOptions = configuration.baseOptions;
57
+ }
58
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
59
+ const localVarHeaderParameter = {};
60
+ const localVarQueryParameter = {};
61
+ // authentication oauth2 required
62
+ // oauth required
63
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
64
+ if (tenantId !== undefined) {
65
+ localVarQueryParameter['TenantId'] = tenantId;
66
+ }
67
+ if (assigneeId !== undefined) {
68
+ localVarQueryParameter['AssigneeId'] = assigneeId;
69
+ }
70
+ if (platformType !== undefined) {
71
+ localVarQueryParameter['PlatformType'] = platformType;
72
+ }
73
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
74
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
76
+ return {
77
+ url: (0, common_1.toPathString)(localVarUrlObj),
78
+ options: localVarRequestOptions,
79
+ };
80
+ }),
81
+ /**
82
+ *
83
+ * @summary Get current all chat session status.
84
+ * @param {string} [tenantId]
85
+ * @param {SortBy} [sortBy] Sort by value cost
86
+ * @param {number} [page]
87
+ * @param {number} [limit]
88
+ * @param {Date} [lastRetrieved]
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ apiV1ChatDashboardSessionsCountriesGet: (tenantId_1, sortBy_1, page_1, limit_1, lastRetrieved_1, ...args_1) => __awaiter(this, [tenantId_1, sortBy_1, page_1, limit_1, lastRetrieved_1, ...args_1], void 0, function* (tenantId, sortBy, page, limit, lastRetrieved, options = {}) {
93
+ const localVarPath = `/api/v1/chat/dashboard/sessions/countries`;
94
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
95
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
96
+ let baseOptions;
97
+ if (configuration) {
98
+ baseOptions = configuration.baseOptions;
99
+ }
100
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
101
+ const localVarHeaderParameter = {};
102
+ const localVarQueryParameter = {};
103
+ // authentication oauth2 required
104
+ // oauth required
105
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
106
+ if (tenantId !== undefined) {
107
+ localVarQueryParameter['TenantId'] = tenantId;
108
+ }
109
+ if (sortBy !== undefined) {
110
+ localVarQueryParameter['SortBy'] = sortBy;
111
+ }
112
+ if (page !== undefined) {
113
+ localVarQueryParameter['page'] = page;
114
+ }
115
+ if (limit !== undefined) {
116
+ localVarQueryParameter['limit'] = limit;
117
+ }
118
+ if (lastRetrieved !== undefined) {
119
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
120
+ lastRetrieved.toISOString() :
121
+ lastRetrieved;
122
+ }
123
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
124
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
125
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
126
+ return {
127
+ url: (0, common_1.toPathString)(localVarUrlObj),
128
+ options: localVarRequestOptions,
129
+ };
130
+ }),
131
+ /**
132
+ *
133
+ * @summary Get created and expired chat session statistics trends.
134
+ * @param {Duration} duration
135
+ * @param {string} [tenantId]
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ apiV1ChatDashboardSessionsCountsGet: (duration_1, tenantId_1, ...args_1) => __awaiter(this, [duration_1, tenantId_1, ...args_1], void 0, function* (duration, tenantId, options = {}) {
140
+ // verify required parameter 'duration' is not null or undefined
141
+ (0, common_1.assertParamExists)('apiV1ChatDashboardSessionsCountsGet', 'duration', duration);
142
+ const localVarPath = `/api/v1/chat/dashboard/sessions/counts`;
143
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
144
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
145
+ let baseOptions;
146
+ if (configuration) {
147
+ baseOptions = configuration.baseOptions;
148
+ }
149
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
150
+ const localVarHeaderParameter = {};
151
+ const localVarQueryParameter = {};
152
+ // authentication oauth2 required
153
+ // oauth required
154
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_chat_api"], configuration);
155
+ if (duration !== undefined) {
156
+ localVarQueryParameter['Duration'] = duration;
157
+ }
158
+ if (tenantId !== undefined) {
159
+ localVarQueryParameter['TenantId'] = tenantId;
160
+ }
161
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
164
+ return {
165
+ url: (0, common_1.toPathString)(localVarUrlObj),
166
+ options: localVarRequestOptions,
167
+ };
168
+ }),
169
+ };
170
+ };
171
+ exports.DashboardApiAxiosParamCreator = DashboardApiAxiosParamCreator;
172
+ /**
173
+ * DashboardApi - functional programming interface
174
+ * @export
175
+ */
176
+ const DashboardApiFp = function (configuration) {
177
+ const localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
178
+ return {
179
+ /**
180
+ *
181
+ * @summary Get current activated chat session status.
182
+ * @param {string} [tenantId]
183
+ * @param {string} [assigneeId]
184
+ * @param {PlatformTypes} [platformType]
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ apiV1ChatDashboardSessionsActivatedCountGet(tenantId, assigneeId, platformType, options) {
189
+ return __awaiter(this, void 0, void 0, function* () {
190
+ var _a, _b, _c;
191
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1ChatDashboardSessionsActivatedCountGet(tenantId, assigneeId, platformType, options);
192
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
193
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.apiV1ChatDashboardSessionsActivatedCountGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
194
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
195
+ });
196
+ },
197
+ /**
198
+ *
199
+ * @summary Get current all chat session status.
200
+ * @param {string} [tenantId]
201
+ * @param {SortBy} [sortBy] Sort by value cost
202
+ * @param {number} [page]
203
+ * @param {number} [limit]
204
+ * @param {Date} [lastRetrieved]
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ apiV1ChatDashboardSessionsCountriesGet(tenantId, sortBy, page, limit, lastRetrieved, options) {
209
+ return __awaiter(this, void 0, void 0, function* () {
210
+ var _a, _b, _c;
211
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1ChatDashboardSessionsCountriesGet(tenantId, sortBy, page, limit, lastRetrieved, options);
212
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
213
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.apiV1ChatDashboardSessionsCountriesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
214
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
215
+ });
216
+ },
217
+ /**
218
+ *
219
+ * @summary Get created and expired chat session statistics trends.
220
+ * @param {Duration} duration
221
+ * @param {string} [tenantId]
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ apiV1ChatDashboardSessionsCountsGet(duration, tenantId, options) {
226
+ return __awaiter(this, void 0, void 0, function* () {
227
+ var _a, _b, _c;
228
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1ChatDashboardSessionsCountsGet(duration, tenantId, options);
229
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
230
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.apiV1ChatDashboardSessionsCountsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
231
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
232
+ });
233
+ },
234
+ };
235
+ };
236
+ exports.DashboardApiFp = DashboardApiFp;
237
+ /**
238
+ * DashboardApi - factory interface
239
+ * @export
240
+ */
241
+ const DashboardApiFactory = function (configuration, basePath, axios) {
242
+ const localVarFp = (0, exports.DashboardApiFp)(configuration);
243
+ return {
244
+ /**
245
+ *
246
+ * @summary Get current activated chat session status.
247
+ * @param {DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest} requestParameters Request parameters.
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ apiV1ChatDashboardSessionsActivatedCountGet(requestParameters = {}, options) {
252
+ return localVarFp.apiV1ChatDashboardSessionsActivatedCountGet(requestParameters.tenantId, requestParameters.assigneeId, requestParameters.platformType, options).then((request) => request(axios, basePath));
253
+ },
254
+ /**
255
+ *
256
+ * @summary Get current all chat session status.
257
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest} requestParameters Request parameters.
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ apiV1ChatDashboardSessionsCountriesGet(requestParameters = {}, options) {
262
+ return localVarFp.apiV1ChatDashboardSessionsCountriesGet(requestParameters.tenantId, requestParameters.sortBy, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(axios, basePath));
263
+ },
264
+ /**
265
+ *
266
+ * @summary Get created and expired chat session statistics trends.
267
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountsGetRequest} requestParameters Request parameters.
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ apiV1ChatDashboardSessionsCountsGet(requestParameters, options) {
272
+ return localVarFp.apiV1ChatDashboardSessionsCountsGet(requestParameters.duration, requestParameters.tenantId, options).then((request) => request(axios, basePath));
273
+ },
274
+ };
275
+ };
276
+ exports.DashboardApiFactory = DashboardApiFactory;
277
+ /**
278
+ * DashboardApi - object-oriented interface
279
+ * @export
280
+ * @class DashboardApi
281
+ * @extends {BaseAPI}
282
+ */
283
+ class DashboardApi extends base_1.BaseAPI {
284
+ /**
285
+ *
286
+ * @summary Get current activated chat session status.
287
+ * @param {DashboardApiApiV1ChatDashboardSessionsActivatedCountGetRequest} requestParameters Request parameters.
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ * @memberof DashboardApi
291
+ */
292
+ apiV1ChatDashboardSessionsActivatedCountGet(requestParameters = {}, options) {
293
+ return (0, exports.DashboardApiFp)(this.configuration).apiV1ChatDashboardSessionsActivatedCountGet(requestParameters.tenantId, requestParameters.assigneeId, requestParameters.platformType, options).then((request) => request(this.axios, this.basePath));
294
+ }
295
+ /**
296
+ *
297
+ * @summary Get current all chat session status.
298
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest} requestParameters Request parameters.
299
+ * @param {*} [options] Override http request option.
300
+ * @throws {RequiredError}
301
+ * @memberof DashboardApi
302
+ */
303
+ apiV1ChatDashboardSessionsCountriesGet(requestParameters = {}, options) {
304
+ return (0, exports.DashboardApiFp)(this.configuration).apiV1ChatDashboardSessionsCountriesGet(requestParameters.tenantId, requestParameters.sortBy, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
305
+ }
306
+ /**
307
+ *
308
+ * @summary Get created and expired chat session statistics trends.
309
+ * @param {DashboardApiApiV1ChatDashboardSessionsCountsGetRequest} requestParameters Request parameters.
310
+ * @param {*} [options] Override http request option.
311
+ * @throws {RequiredError}
312
+ * @memberof DashboardApi
313
+ */
314
+ apiV1ChatDashboardSessionsCountsGet(requestParameters, options) {
315
+ return (0, exports.DashboardApiFp)(this.configuration).apiV1ChatDashboardSessionsCountsGet(requestParameters.duration, requestParameters.tenantId, options).then((request) => request(this.axios, this.basePath));
316
+ }
317
+ }
318
+ exports.DashboardApi = DashboardApi;
319
+ //# sourceMappingURL=dashboard-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-api.js","sourceRoot":"","sources":["../../src/api/dashboard-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAetH;;;GAGG;AACI,MAAM,6BAA6B,GAAG,UAAU,aAA6B;IAChF,OAAO;QACH;;;;;;;;WAQG;QACH,2CAA2C,EAAE,sDAAwI,EAAE,2FAAnI,QAAiB,EAAE,UAAmB,EAAE,YAA4B,EAAE,UAAiC,EAAE;YACzJ,MAAM,YAAY,GAAG,iDAAiD,CAAC;YACvE,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YAC7D,IAAI,WAAW,CAAC;YAChB,IAAI,aAAa,EAAE,CAAC;gBAChB,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;YAC5C,CAAC;YAED,MAAM,sBAAsB,iCAAK,MAAM,EAAE,KAAK,IAAK,WAAW,GAAK,OAAO,CAAC,CAAC;YAC5E,MAAM,uBAAuB,GAAG,EAAS,CAAC;YAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;YAEzC,iCAAiC;YACjC,iBAAiB;YACjB,MAAM,IAAA,yBAAgB,EAAC,uBAAuB,EAAE,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OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACnP,CAAC;IAED;;;;;;;OAOG;IACI,sCAAsC,CAAC,oBAA+E,EAAE,EAAE,OAA+B;QAC5J,OAAO,IAAA,sBAAc,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,sCAAsC,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5R,CAAC;IAED;;;;;;;OAOG;IACI,mCAAmC,CAAC,iBAAyE,EAAE,OAA+B;QACjJ,OAAO,IAAA,sBAAc,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,mCAAmC,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzM,CAAC;CACJ;AApCD,oCAoCC"}
@@ -27,6 +27,7 @@ import type { IntakeFormsModel } from '../models';
27
27
  import type { JoinChatSessionCommand } from '../models';
28
28
  import type { MessageType } from '../models';
29
29
  import type { PatchIntakeFormCommand } from '../models';
30
+ import type { PlatformTypes } from '../models';
30
31
  import type { PutChatSessionCommand } from '../models';
31
32
  import type { SortBy } from '../models';
32
33
  import type { TransferManagerCommand } from '../models';
@@ -48,13 +49,14 @@ export declare const SessionsApiAxiosParamCreator: (configuration?: Configuratio
48
49
  * @param {string} [userName]
49
50
  * @param {SortBy} [sortBy]
50
51
  * @param {boolean} [isRead]
52
+ * @param {PlatformTypes} [platformType]
51
53
  * @param {number} [page]
52
54
  * @param {number} [limit]
53
55
  * @param {Date} [lastRetrieved]
54
56
  * @param {*} [options] Override http request option.
55
57
  * @throws {RequiredError}
56
58
  */
57
- apiV1ChatTenantIdSessionsGet: (tenantId: string, id?: string, targetHospitalId?: string, targetHospitalName?: string, assigneeIds?: Array<string>, chatSessionStatus?: Array<ChatSessionStatus>, title?: string, userName?: string, sortBy?: SortBy, isRead?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
+ apiV1ChatTenantIdSessionsGet: (tenantId: string, id?: string, targetHospitalId?: string, targetHospitalName?: string, assigneeIds?: Array<string>, chatSessionStatus?: Array<ChatSessionStatus>, title?: string, userName?: string, sortBy?: SortBy, isRead?: boolean, platformType?: PlatformTypes, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
60
  /**
59
61
  *
60
62
  * @summary Create a chat session.
@@ -273,13 +275,14 @@ export declare const SessionsApiFp: (configuration?: Configuration) => {
273
275
  * @param {string} [userName]
274
276
  * @param {SortBy} [sortBy]
275
277
  * @param {boolean} [isRead]
278
+ * @param {PlatformTypes} [platformType]
276
279
  * @param {number} [page]
277
280
  * @param {number} [limit]
278
281
  * @param {Date} [lastRetrieved]
279
282
  * @param {*} [options] Override http request option.
280
283
  * @throws {RequiredError}
281
284
  */
282
- apiV1ChatTenantIdSessionsGet(tenantId: string, id?: string, targetHospitalId?: string, targetHospitalName?: string, assigneeIds?: Array<string>, chatSessionStatus?: Array<ChatSessionStatus>, title?: string, userName?: string, sortBy?: SortBy, isRead?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionsModel>>;
285
+ apiV1ChatTenantIdSessionsGet(tenantId: string, id?: string, targetHospitalId?: string, targetHospitalName?: string, assigneeIds?: Array<string>, chatSessionStatus?: Array<ChatSessionStatus>, title?: string, userName?: string, sortBy?: SortBy, isRead?: boolean, platformType?: PlatformTypes, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionsModel>>;
283
286
  /**
284
287
  *
285
288
  * @summary Create a chat session.
@@ -712,6 +715,12 @@ export interface SessionsApiApiV1ChatTenantIdSessionsGetRequest {
712
715
  * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
713
716
  */
714
717
  readonly isRead?: boolean;
718
+ /**
719
+ *
720
+ * @type {PlatformTypes}
721
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
722
+ */
723
+ readonly platformType?: PlatformTypes;
715
724
  /**
716
725
  *
717
726
  * @type {number}