ch-chat-api-typescript-axios 5.87.10 → 5.87.12
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/dist/index.cjs +2262 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +5086 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +2209 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +16 -4
- package/dist/api/dashboard-api.d.ts +0 -351
- package/dist/api/dashboard-api.js +0 -432
- package/dist/api/dashboard-api.js.map +0 -1
- package/dist/api/migrations-api.d.ts +0 -65
- package/dist/api/migrations-api.js +0 -131
- package/dist/api/migrations-api.js.map +0 -1
- package/dist/api/notifications-api.d.ts +0 -204
- package/dist/api/notifications-api.js +0 -296
- package/dist/api/notifications-api.js.map +0 -1
- package/dist/api/sessions-api.d.ts +0 -1523
- package/dist/api/sessions-api.js +0 -1832
- package/dist/api/sessions-api.js.map +0 -1
- package/dist/api/whats-apps-api.d.ts +0 -87
- package/dist/api/whats-apps-api.js +0 -141
- package/dist/api/whats-apps-api.js.map +0 -1
- package/dist/api.d.ts +0 -16
- package/dist/api.js +0 -35
- package/dist/api.js.map +0 -1
- package/dist/base.d.ts +0 -66
- package/dist/base.js +0 -69
- package/dist/base.js.map +0 -1
- package/dist/common.d.ts +0 -65
- package/dist/common.js +0 -162
- package/dist/common.js.map +0 -1
- package/dist/configuration.d.ts +0 -91
- package/dist/configuration.js +0 -44
- package/dist/configuration.js.map +0 -1
- package/dist/index.js +0 -33
- package/dist/index.js.map +0 -1
- package/dist/models/api-v1-chat-dashboard-sessions-counts-get401-response-errors.d.ts +0 -24
- package/dist/models/api-v1-chat-dashboard-sessions-counts-get401-response-errors.js +0 -16
- package/dist/models/api-v1-chat-dashboard-sessions-counts-get401-response-errors.js.map +0 -1
- package/dist/models/api-v1-chat-dashboard-sessions-counts-get401-response.d.ts +0 -49
- package/dist/models/api-v1-chat-dashboard-sessions-counts-get401-response.js +0 -16
- package/dist/models/api-v1-chat-dashboard-sessions-counts-get401-response.js.map +0 -1
- package/dist/models/assignee-model.d.ts +0 -30
- package/dist/models/assignee-model.js +0 -16
- package/dist/models/assignee-model.js.map +0 -1
- package/dist/models/author-roles.d.ts +0 -23
- package/dist/models/author-roles.js +0 -28
- package/dist/models/author-roles.js.map +0 -1
- package/dist/models/chat-consult-status-result-model.d.ts +0 -30
- package/dist/models/chat-consult-status-result-model.js +0 -16
- package/dist/models/chat-consult-status-result-model.js.map +0 -1
- package/dist/models/chat-message.d.ts +0 -107
- package/dist/models/chat-message.js +0 -16
- package/dist/models/chat-message.js.map +0 -1
- package/dist/models/chat-messages-model.d.ts +0 -32
- package/dist/models/chat-messages-model.js +0 -16
- package/dist/models/chat-messages-model.js.map +0 -1
- package/dist/models/chat-notification.d.ts +0 -99
- package/dist/models/chat-notification.js +0 -16
- package/dist/models/chat-notification.js.map +0 -1
- package/dist/models/chat-notifications.d.ts +0 -38
- package/dist/models/chat-notifications.js +0 -16
- package/dist/models/chat-notifications.js.map +0 -1
- package/dist/models/chat-participant.d.ts +0 -74
- package/dist/models/chat-participant.js +0 -16
- package/dist/models/chat-participant.js.map +0 -1
- package/dist/models/chat-send-flow-message-command.d.ts +0 -77
- package/dist/models/chat-send-flow-message-command.js +0 -16
- package/dist/models/chat-send-flow-message-command.js.map +0 -1
- package/dist/models/chat-send-marketing-template-message-command.d.ts +0 -67
- package/dist/models/chat-send-marketing-template-message-command.js +0 -16
- package/dist/models/chat-send-marketing-template-message-command.js.map +0 -1
- package/dist/models/chat-send-template-message-command.d.ts +0 -44
- package/dist/models/chat-send-template-message-command.js +0 -16
- package/dist/models/chat-send-template-message-command.js.map +0 -1
- package/dist/models/chat-session-consult-status-command.d.ts +0 -25
- package/dist/models/chat-session-consult-status-command.js +0 -16
- package/dist/models/chat-session-consult-status-command.js.map +0 -1
- package/dist/models/chat-session-model.d.ts +0 -186
- package/dist/models/chat-session-model.js +0 -16
- package/dist/models/chat-session-model.js.map +0 -1
- package/dist/models/chat-session-status.d.ts +0 -23
- package/dist/models/chat-session-status.js +0 -28
- package/dist/models/chat-session-status.js.map +0 -1
- package/dist/models/chat-sessions-model.d.ts +0 -32
- package/dist/models/chat-sessions-model.js +0 -16
- package/dist/models/chat-sessions-model.js.map +0 -1
- package/dist/models/check-chat-notifications-command.d.ts +0 -30
- package/dist/models/check-chat-notifications-command.js +0 -16
- package/dist/models/check-chat-notifications-command.js.map +0 -1
- package/dist/models/consult-status.d.ts +0 -21
- package/dist/models/consult-status.js +0 -26
- package/dist/models/consult-status.js.map +0 -1
- package/dist/models/create-chat-session-command.d.ts +0 -63
- package/dist/models/create-chat-session-command.js +0 -16
- package/dist/models/create-chat-session-command.js.map +0 -1
- package/dist/models/create-intake-form-command.d.ts +0 -25
- package/dist/models/create-intake-form-command.js +0 -16
- package/dist/models/create-intake-form-command.js.map +0 -1
- package/dist/models/dashboard-recent-sessions-model.d.ts +0 -32
- package/dist/models/dashboard-recent-sessions-model.js +0 -16
- package/dist/models/dashboard-recent-sessions-model.js.map +0 -1
- package/dist/models/dashboard-session-countries-detail-statistics-model.d.ts +0 -42
- package/dist/models/dashboard-session-countries-detail-statistics-model.js +0 -16
- package/dist/models/dashboard-session-countries-detail-statistics-model.js.map +0 -1
- package/dist/models/dashboard-session-countries-statistics-model.d.ts +0 -44
- package/dist/models/dashboard-session-countries-statistics-model.js +0 -16
- package/dist/models/dashboard-session-countries-statistics-model.js.map +0 -1
- package/dist/models/dashboard-session-hospitals-detail-statistics-model.d.ts +0 -36
- package/dist/models/dashboard-session-hospitals-detail-statistics-model.js +0 -16
- package/dist/models/dashboard-session-hospitals-detail-statistics-model.js.map +0 -1
- package/dist/models/dashboard-session-hospitals-statistics-model.d.ts +0 -32
- package/dist/models/dashboard-session-hospitals-statistics-model.js +0 -16
- package/dist/models/dashboard-session-hospitals-statistics-model.js.map +0 -1
- package/dist/models/dashboard-session-trends-duration-statistics-model.d.ts +0 -30
- package/dist/models/dashboard-session-trends-duration-statistics-model.js +0 -16
- package/dist/models/dashboard-session-trends-duration-statistics-model.js.map +0 -1
- package/dist/models/dashboard-session-trends-statistics-model.d.ts +0 -49
- package/dist/models/dashboard-session-trends-statistics-model.js +0 -16
- package/dist/models/dashboard-session-trends-statistics-model.js.map +0 -1
- package/dist/models/dynamic-template-message.d.ts +0 -31
- package/dist/models/dynamic-template-message.js +0 -16
- package/dist/models/dynamic-template-message.js.map +0 -1
- package/dist/models/index.d.ts +0 -65
- package/dist/models/index.js +0 -82
- package/dist/models/index.js.map +0 -1
- package/dist/models/intake-form-item.d.ts +0 -42
- package/dist/models/intake-form-item.js +0 -16
- package/dist/models/intake-form-item.js.map +0 -1
- package/dist/models/intake-form.d.ts +0 -79
- package/dist/models/intake-form.js +0 -16
- package/dist/models/intake-form.js.map +0 -1
- package/dist/models/intake-forms-model.d.ts +0 -32
- package/dist/models/intake-forms-model.js +0 -16
- package/dist/models/intake-forms-model.js.map +0 -1
- package/dist/models/interactive-body.d.ts +0 -24
- package/dist/models/interactive-body.js +0 -16
- package/dist/models/interactive-body.js.map +0 -1
- package/dist/models/interactive-footer.d.ts +0 -24
- package/dist/models/interactive-footer.js +0 -16
- package/dist/models/interactive-footer.js.map +0 -1
- package/dist/models/interactive-header.d.ts +0 -30
- package/dist/models/interactive-header.js +0 -16
- package/dist/models/interactive-header.js.map +0 -1
- package/dist/models/interactive-list-message-request.d.ts +0 -70
- package/dist/models/interactive-list-message-request.js +0 -16
- package/dist/models/interactive-list-message-request.js.map +0 -1
- package/dist/models/interactive-list-row.d.ts +0 -36
- package/dist/models/interactive-list-row.js +0 -16
- package/dist/models/interactive-list-row.js.map +0 -1
- package/dist/models/interactive-list-section.d.ts +0 -31
- package/dist/models/interactive-list-section.js +0 -16
- package/dist/models/interactive-list-section.js.map +0 -1
- package/dist/models/join-chat-session-command.d.ts +0 -31
- package/dist/models/join-chat-session-command.js +0 -16
- package/dist/models/join-chat-session-command.js.map +0 -1
- package/dist/models/media-model.d.ts +0 -60
- package/dist/models/media-model.js +0 -16
- package/dist/models/media-model.js.map +0 -1
- package/dist/models/message-template-button.d.ts +0 -54
- package/dist/models/message-template-button.js +0 -16
- package/dist/models/message-template-button.js.map +0 -1
- package/dist/models/message-type.d.ts +0 -30
- package/dist/models/message-type.js +0 -35
- package/dist/models/message-type.js.map +0 -1
- package/dist/models/notification-code.d.ts +0 -70
- package/dist/models/notification-code.js +0 -75
- package/dist/models/notification-code.js.map +0 -1
- package/dist/models/paged-list-meta-data.d.ts +0 -78
- package/dist/models/paged-list-meta-data.js +0 -16
- package/dist/models/paged-list-meta-data.js.map +0 -1
- package/dist/models/patch-intake-form-command.d.ts +0 -25
- package/dist/models/patch-intake-form-command.js +0 -16
- package/dist/models/patch-intake-form-command.js.map +0 -1
- package/dist/models/platform-metadata.d.ts +0 -25
- package/dist/models/platform-metadata.js +0 -16
- package/dist/models/platform-metadata.js.map +0 -1
- package/dist/models/platform-types.d.ts +0 -21
- package/dist/models/platform-types.js +0 -26
- package/dist/models/platform-types.js.map +0 -1
- package/dist/models/put-chat-session-command.d.ts +0 -30
- package/dist/models/put-chat-session-command.js +0 -16
- package/dist/models/put-chat-session-command.js.map +0 -1
- package/dist/models/recent-session-detail-model.d.ts +0 -80
- package/dist/models/recent-session-detail-model.js +0 -16
- package/dist/models/recent-session-detail-model.js.map +0 -1
- package/dist/models/request-create-intake-form-item-model.d.ts +0 -30
- package/dist/models/request-create-intake-form-item-model.js +0 -16
- package/dist/models/request-create-intake-form-item-model.js.map +0 -1
- package/dist/models/request-patch-inake-form-item-model.d.ts +0 -36
- package/dist/models/request-patch-inake-form-item-model.js +0 -16
- package/dist/models/request-patch-inake-form-item-model.js.map +0 -1
- package/dist/models/sort-by.d.ts +0 -21
- package/dist/models/sort-by.js +0 -26
- package/dist/models/sort-by.js.map +0 -1
- package/dist/models/template-action-parameter.d.ts +0 -24
- package/dist/models/template-action-parameter.js +0 -16
- package/dist/models/template-action-parameter.js.map +0 -1
- package/dist/models/template-component-parameter.d.ts +0 -76
- package/dist/models/template-component-parameter.js +0 -16
- package/dist/models/template-component-parameter.js.map +0 -1
- package/dist/models/template-component.d.ts +0 -43
- package/dist/models/template-component.js +0 -16
- package/dist/models/template-component.js.map +0 -1
- package/dist/models/template-currency-parameter.d.ts +0 -36
- package/dist/models/template-currency-parameter.js +0 -16
- package/dist/models/template-currency-parameter.js.map +0 -1
- package/dist/models/template-date-time-parameter.d.ts +0 -66
- package/dist/models/template-date-time-parameter.js +0 -16
- package/dist/models/template-date-time-parameter.js.map +0 -1
- package/dist/models/template-media-parameter.d.ts +0 -30
- package/dist/models/template-media-parameter.js +0 -16
- package/dist/models/template-media-parameter.js.map +0 -1
- package/dist/models/template-message-model.d.ts +0 -44
- package/dist/models/template-message-model.js +0 -16
- package/dist/models/template-message-model.js.map +0 -1
- package/dist/models/template-message-request.d.ts +0 -55
- package/dist/models/template-message-request.js +0 -16
- package/dist/models/template-message-request.js.map +0 -1
- package/dist/models/timeframe-duration.d.ts +0 -25
- package/dist/models/timeframe-duration.js +0 -30
- package/dist/models/timeframe-duration.js.map +0 -1
- package/dist/models/transfer-manager-command.d.ts +0 -36
- package/dist/models/transfer-manager-command.js +0 -16
- package/dist/models/transfer-manager-command.js.map +0 -1
- package/dist/models/whats-app-component.d.ts +0 -50
- package/dist/models/whats-app-component.js +0 -16
- package/dist/models/whats-app-component.js.map +0 -1
- package/dist/models/whats-app-language-code.d.ts +0 -130
- package/dist/models/whats-app-language-code.js +0 -135
- package/dist/models/whats-app-language-code.js.map +0 -1
- package/dist/models/whats-app-metadata.d.ts +0 -42
- package/dist/models/whats-app-metadata.js +0 -16
- package/dist/models/whats-app-metadata.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ch-chat-api-typescript-axios",
|
|
3
3
|
"description": "An OpenAPI generator tool for the CH Chat API, designed to simplify API client generation and streamline integration workflows.",
|
|
4
|
-
"version": "5.87.
|
|
5
|
-
"main": "dist/index.
|
|
6
|
-
"
|
|
4
|
+
"version": "5.87.12",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
7
16
|
"scripts": {
|
|
8
17
|
"commit": "cz",
|
|
9
18
|
"prepare": "husky",
|
|
10
19
|
"generate": "openapi-generator-cli generate",
|
|
11
20
|
"prebuild": "npm run generate",
|
|
12
|
-
"build": "
|
|
21
|
+
"build": "tsdown",
|
|
22
|
+
"dev": "tsdown --watch",
|
|
23
|
+
"prepack": "npm run build",
|
|
13
24
|
"changeset": "changeset",
|
|
14
25
|
"ci:version": "changeset version",
|
|
15
26
|
"ci:publish": "npm publish --access public",
|
|
@@ -32,6 +43,7 @@
|
|
|
32
43
|
"cz-conventional-changelog": "^3.3.0",
|
|
33
44
|
"cz-customizable": "^7.1.0",
|
|
34
45
|
"husky": "^9.1.7",
|
|
46
|
+
"tsdown": "^0.9.9",
|
|
35
47
|
"typescript": "^5.2.2"
|
|
36
48
|
},
|
|
37
49
|
"dependencies": {
|
|
@@ -1,351 +0,0 @@
|
|
|
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 { DashboardRecentSessionsModel } from '../models';
|
|
16
|
-
import type { DashboardSessionCountriesStatisticsModel } from '../models';
|
|
17
|
-
import type { DashboardSessionHospitalsStatisticsModel } from '../models';
|
|
18
|
-
import type { DashboardSessionTrendsStatisticsModel } from '../models';
|
|
19
|
-
import type { PlatformTypes } from '../models';
|
|
20
|
-
import type { SortBy } from '../models';
|
|
21
|
-
import type { TimeframeDuration } from '../models';
|
|
22
|
-
/**
|
|
23
|
-
* DashboardApi - axios parameter creator
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @summary Shows the count of created chat sessions aggregated by the country code of the phone number.
|
|
30
|
-
* @param {string} [tenantId]
|
|
31
|
-
* @param {SortBy} [sortBy] Sort by value cost
|
|
32
|
-
* @param {number} [page]
|
|
33
|
-
* @param {number} [limit]
|
|
34
|
-
* @param {Date} [lastRetrieved]
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
apiV1ChatDashboardSessionsCountriesGet: (tenantId?: string, sortBy?: SortBy, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @summary Retrieves the number of chat sessions created during a specified period
|
|
42
|
-
* @param {TimeframeDuration} duration
|
|
43
|
-
* @param {string} [tenantId]
|
|
44
|
-
* @param {*} [options] Override http request option.
|
|
45
|
-
* @throws {RequiredError}
|
|
46
|
-
*/
|
|
47
|
-
apiV1ChatDashboardSessionsCountsGet: (duration: TimeframeDuration, tenantId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @summary Gets the number of chat sessions created per hospital.
|
|
51
|
-
* @param {string} [tenantId]
|
|
52
|
-
* @param {string} [hospitalName]
|
|
53
|
-
* @param {SortBy} [sortBy]
|
|
54
|
-
* @param {number} [page]
|
|
55
|
-
* @param {number} [limit]
|
|
56
|
-
* @param {Date} [lastRetrieved]
|
|
57
|
-
* @param {*} [options] Override http request option.
|
|
58
|
-
* @throws {RequiredError}
|
|
59
|
-
*/
|
|
60
|
-
apiV1ChatDashboardSessionsHospitalsAggregateGet: (tenantId?: string, hospitalName?: string, sortBy?: SortBy, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @summary Get recent chat session data from the past 48 hours.
|
|
64
|
-
* @param {string} [tenantId]
|
|
65
|
-
* @param {string} [assigneeId]
|
|
66
|
-
* @param {PlatformTypes} [platformType]
|
|
67
|
-
* @param {number} [page]
|
|
68
|
-
* @param {number} [limit]
|
|
69
|
-
* @param {Date} [lastRetrieved]
|
|
70
|
-
* @param {*} [options] Override http request option.
|
|
71
|
-
* @throws {RequiredError}
|
|
72
|
-
*/
|
|
73
|
-
apiV1ChatDashboardSessionsRecentGet: (tenantId?: string, assigneeId?: string, platformType?: PlatformTypes, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* DashboardApi - functional programming interface
|
|
77
|
-
* @export
|
|
78
|
-
*/
|
|
79
|
-
export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary Shows the count of created chat sessions aggregated by the country code of the phone number.
|
|
83
|
-
* @param {string} [tenantId]
|
|
84
|
-
* @param {SortBy} [sortBy] Sort by value cost
|
|
85
|
-
* @param {number} [page]
|
|
86
|
-
* @param {number} [limit]
|
|
87
|
-
* @param {Date} [lastRetrieved]
|
|
88
|
-
* @param {*} [options] Override http request option.
|
|
89
|
-
* @throws {RequiredError}
|
|
90
|
-
*/
|
|
91
|
-
apiV1ChatDashboardSessionsCountriesGet(tenantId?: string, sortBy?: SortBy, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardSessionCountriesStatisticsModel>>;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @summary Retrieves the number of chat sessions created during a specified period
|
|
95
|
-
* @param {TimeframeDuration} duration
|
|
96
|
-
* @param {string} [tenantId]
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
*/
|
|
100
|
-
apiV1ChatDashboardSessionsCountsGet(duration: TimeframeDuration, tenantId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardSessionTrendsStatisticsModel>>;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @summary Gets the number of chat sessions created per hospital.
|
|
104
|
-
* @param {string} [tenantId]
|
|
105
|
-
* @param {string} [hospitalName]
|
|
106
|
-
* @param {SortBy} [sortBy]
|
|
107
|
-
* @param {number} [page]
|
|
108
|
-
* @param {number} [limit]
|
|
109
|
-
* @param {Date} [lastRetrieved]
|
|
110
|
-
* @param {*} [options] Override http request option.
|
|
111
|
-
* @throws {RequiredError}
|
|
112
|
-
*/
|
|
113
|
-
apiV1ChatDashboardSessionsHospitalsAggregateGet(tenantId?: string, hospitalName?: string, sortBy?: SortBy, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardSessionHospitalsStatisticsModel>>;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @summary Get recent chat session data from the past 48 hours.
|
|
117
|
-
* @param {string} [tenantId]
|
|
118
|
-
* @param {string} [assigneeId]
|
|
119
|
-
* @param {PlatformTypes} [platformType]
|
|
120
|
-
* @param {number} [page]
|
|
121
|
-
* @param {number} [limit]
|
|
122
|
-
* @param {Date} [lastRetrieved]
|
|
123
|
-
* @param {*} [options] Override http request option.
|
|
124
|
-
* @throws {RequiredError}
|
|
125
|
-
*/
|
|
126
|
-
apiV1ChatDashboardSessionsRecentGet(tenantId?: string, assigneeId?: string, platformType?: PlatformTypes, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardRecentSessionsModel>>;
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* DashboardApi - factory interface
|
|
130
|
-
* @export
|
|
131
|
-
*/
|
|
132
|
-
export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
133
|
-
/**
|
|
134
|
-
*
|
|
135
|
-
* @summary Shows the count of created chat sessions aggregated by the country code of the phone number.
|
|
136
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest} requestParameters Request parameters.
|
|
137
|
-
* @param {*} [options] Override http request option.
|
|
138
|
-
* @throws {RequiredError}
|
|
139
|
-
*/
|
|
140
|
-
apiV1ChatDashboardSessionsCountriesGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardSessionCountriesStatisticsModel>;
|
|
141
|
-
/**
|
|
142
|
-
*
|
|
143
|
-
* @summary Retrieves the number of chat sessions created during a specified period
|
|
144
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsCountsGetRequest} requestParameters Request parameters.
|
|
145
|
-
* @param {*} [options] Override http request option.
|
|
146
|
-
* @throws {RequiredError}
|
|
147
|
-
*/
|
|
148
|
-
apiV1ChatDashboardSessionsCountsGet(requestParameters: DashboardApiApiV1ChatDashboardSessionsCountsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardSessionTrendsStatisticsModel>;
|
|
149
|
-
/**
|
|
150
|
-
*
|
|
151
|
-
* @summary Gets the number of chat sessions created per hospital.
|
|
152
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGetRequest} requestParameters Request parameters.
|
|
153
|
-
* @param {*} [options] Override http request option.
|
|
154
|
-
* @throws {RequiredError}
|
|
155
|
-
*/
|
|
156
|
-
apiV1ChatDashboardSessionsHospitalsAggregateGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardSessionHospitalsStatisticsModel>;
|
|
157
|
-
/**
|
|
158
|
-
*
|
|
159
|
-
* @summary Get recent chat session data from the past 48 hours.
|
|
160
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsRecentGetRequest} requestParameters Request parameters.
|
|
161
|
-
* @param {*} [options] Override http request option.
|
|
162
|
-
* @throws {RequiredError}
|
|
163
|
-
*/
|
|
164
|
-
apiV1ChatDashboardSessionsRecentGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsRecentGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardRecentSessionsModel>;
|
|
165
|
-
};
|
|
166
|
-
/**
|
|
167
|
-
* Request parameters for apiV1ChatDashboardSessionsCountriesGet operation in DashboardApi.
|
|
168
|
-
* @export
|
|
169
|
-
* @interface DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest
|
|
170
|
-
*/
|
|
171
|
-
export interface DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest {
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {string}
|
|
175
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
|
|
176
|
-
*/
|
|
177
|
-
readonly tenantId?: string;
|
|
178
|
-
/**
|
|
179
|
-
* Sort by value cost
|
|
180
|
-
* @type {SortBy}
|
|
181
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
|
|
182
|
-
*/
|
|
183
|
-
readonly sortBy?: SortBy;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {number}
|
|
187
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
|
|
188
|
-
*/
|
|
189
|
-
readonly page?: number;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {number}
|
|
193
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
|
|
194
|
-
*/
|
|
195
|
-
readonly limit?: number;
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @type {Date}
|
|
199
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsCountriesGet
|
|
200
|
-
*/
|
|
201
|
-
readonly lastRetrieved?: Date;
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* Request parameters for apiV1ChatDashboardSessionsCountsGet operation in DashboardApi.
|
|
205
|
-
* @export
|
|
206
|
-
* @interface DashboardApiApiV1ChatDashboardSessionsCountsGetRequest
|
|
207
|
-
*/
|
|
208
|
-
export interface DashboardApiApiV1ChatDashboardSessionsCountsGetRequest {
|
|
209
|
-
/**
|
|
210
|
-
*
|
|
211
|
-
* @type {TimeframeDuration}
|
|
212
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsCountsGet
|
|
213
|
-
*/
|
|
214
|
-
readonly duration: TimeframeDuration;
|
|
215
|
-
/**
|
|
216
|
-
*
|
|
217
|
-
* @type {string}
|
|
218
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsCountsGet
|
|
219
|
-
*/
|
|
220
|
-
readonly tenantId?: string;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Request parameters for apiV1ChatDashboardSessionsHospitalsAggregateGet operation in DashboardApi.
|
|
224
|
-
* @export
|
|
225
|
-
* @interface DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGetRequest
|
|
226
|
-
*/
|
|
227
|
-
export interface DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGetRequest {
|
|
228
|
-
/**
|
|
229
|
-
*
|
|
230
|
-
* @type {string}
|
|
231
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGet
|
|
232
|
-
*/
|
|
233
|
-
readonly tenantId?: string;
|
|
234
|
-
/**
|
|
235
|
-
*
|
|
236
|
-
* @type {string}
|
|
237
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGet
|
|
238
|
-
*/
|
|
239
|
-
readonly hospitalName?: string;
|
|
240
|
-
/**
|
|
241
|
-
*
|
|
242
|
-
* @type {SortBy}
|
|
243
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGet
|
|
244
|
-
*/
|
|
245
|
-
readonly sortBy?: SortBy;
|
|
246
|
-
/**
|
|
247
|
-
*
|
|
248
|
-
* @type {number}
|
|
249
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGet
|
|
250
|
-
*/
|
|
251
|
-
readonly page?: number;
|
|
252
|
-
/**
|
|
253
|
-
*
|
|
254
|
-
* @type {number}
|
|
255
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGet
|
|
256
|
-
*/
|
|
257
|
-
readonly limit?: number;
|
|
258
|
-
/**
|
|
259
|
-
*
|
|
260
|
-
* @type {Date}
|
|
261
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGet
|
|
262
|
-
*/
|
|
263
|
-
readonly lastRetrieved?: Date;
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Request parameters for apiV1ChatDashboardSessionsRecentGet operation in DashboardApi.
|
|
267
|
-
* @export
|
|
268
|
-
* @interface DashboardApiApiV1ChatDashboardSessionsRecentGetRequest
|
|
269
|
-
*/
|
|
270
|
-
export interface DashboardApiApiV1ChatDashboardSessionsRecentGetRequest {
|
|
271
|
-
/**
|
|
272
|
-
*
|
|
273
|
-
* @type {string}
|
|
274
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsRecentGet
|
|
275
|
-
*/
|
|
276
|
-
readonly tenantId?: string;
|
|
277
|
-
/**
|
|
278
|
-
*
|
|
279
|
-
* @type {string}
|
|
280
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsRecentGet
|
|
281
|
-
*/
|
|
282
|
-
readonly assigneeId?: string;
|
|
283
|
-
/**
|
|
284
|
-
*
|
|
285
|
-
* @type {PlatformTypes}
|
|
286
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsRecentGet
|
|
287
|
-
*/
|
|
288
|
-
readonly platformType?: PlatformTypes;
|
|
289
|
-
/**
|
|
290
|
-
*
|
|
291
|
-
* @type {number}
|
|
292
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsRecentGet
|
|
293
|
-
*/
|
|
294
|
-
readonly page?: number;
|
|
295
|
-
/**
|
|
296
|
-
*
|
|
297
|
-
* @type {number}
|
|
298
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsRecentGet
|
|
299
|
-
*/
|
|
300
|
-
readonly limit?: number;
|
|
301
|
-
/**
|
|
302
|
-
*
|
|
303
|
-
* @type {Date}
|
|
304
|
-
* @memberof DashboardApiApiV1ChatDashboardSessionsRecentGet
|
|
305
|
-
*/
|
|
306
|
-
readonly lastRetrieved?: Date;
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* DashboardApi - object-oriented interface
|
|
310
|
-
* @export
|
|
311
|
-
* @class DashboardApi
|
|
312
|
-
* @extends {BaseAPI}
|
|
313
|
-
*/
|
|
314
|
-
export declare class DashboardApi extends BaseAPI {
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @summary Shows the count of created chat sessions aggregated by the country code of the phone number.
|
|
318
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest} requestParameters Request parameters.
|
|
319
|
-
* @param {*} [options] Override http request option.
|
|
320
|
-
* @throws {RequiredError}
|
|
321
|
-
* @memberof DashboardApi
|
|
322
|
-
*/
|
|
323
|
-
apiV1ChatDashboardSessionsCountriesGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsCountriesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardSessionCountriesStatisticsModel, any>>;
|
|
324
|
-
/**
|
|
325
|
-
*
|
|
326
|
-
* @summary Retrieves the number of chat sessions created during a specified period
|
|
327
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsCountsGetRequest} requestParameters Request parameters.
|
|
328
|
-
* @param {*} [options] Override http request option.
|
|
329
|
-
* @throws {RequiredError}
|
|
330
|
-
* @memberof DashboardApi
|
|
331
|
-
*/
|
|
332
|
-
apiV1ChatDashboardSessionsCountsGet(requestParameters: DashboardApiApiV1ChatDashboardSessionsCountsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardSessionTrendsStatisticsModel, any>>;
|
|
333
|
-
/**
|
|
334
|
-
*
|
|
335
|
-
* @summary Gets the number of chat sessions created per hospital.
|
|
336
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGetRequest} requestParameters Request parameters.
|
|
337
|
-
* @param {*} [options] Override http request option.
|
|
338
|
-
* @throws {RequiredError}
|
|
339
|
-
* @memberof DashboardApi
|
|
340
|
-
*/
|
|
341
|
-
apiV1ChatDashboardSessionsHospitalsAggregateGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsHospitalsAggregateGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardSessionHospitalsStatisticsModel, any>>;
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @summary Get recent chat session data from the past 48 hours.
|
|
345
|
-
* @param {DashboardApiApiV1ChatDashboardSessionsRecentGetRequest} requestParameters Request parameters.
|
|
346
|
-
* @param {*} [options] Override http request option.
|
|
347
|
-
* @throws {RequiredError}
|
|
348
|
-
* @memberof DashboardApi
|
|
349
|
-
*/
|
|
350
|
-
apiV1ChatDashboardSessionsRecentGet(requestParameters?: DashboardApiApiV1ChatDashboardSessionsRecentGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardRecentSessionsModel, any>>;
|
|
351
|
-
}
|