ch-chat-api-typescript-axios 5.87.11 → 5.88.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/dist/index.cjs +2315 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +5237 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +2262 -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
|
@@ -1,1523 +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 { ChatConsultStatusResultModel } from '../models';
|
|
16
|
-
import type { ChatMessage } from '../models';
|
|
17
|
-
import type { ChatMessagesModel } from '../models';
|
|
18
|
-
import type { ChatParticipant } from '../models';
|
|
19
|
-
import type { ChatSendFlowMessageCommand } from '../models';
|
|
20
|
-
import type { ChatSendTemplateMessageCommand } from '../models';
|
|
21
|
-
import type { ChatSessionConsultStatusCommand } from '../models';
|
|
22
|
-
import type { ChatSessionModel } from '../models';
|
|
23
|
-
import type { ChatSessionStatus } from '../models';
|
|
24
|
-
import type { ChatSessionsModel } from '../models';
|
|
25
|
-
import type { CreateChatSessionCommand } from '../models';
|
|
26
|
-
import type { CreateIntakeFormCommand } from '../models';
|
|
27
|
-
import type { IntakeForm } from '../models';
|
|
28
|
-
import type { IntakeFormsModel } from '../models';
|
|
29
|
-
import type { JoinChatSessionCommand } from '../models';
|
|
30
|
-
import type { MessageType } from '../models';
|
|
31
|
-
import type { PatchIntakeFormCommand } from '../models';
|
|
32
|
-
import type { PlatformTypes } from '../models';
|
|
33
|
-
import type { PutChatSessionCommand } from '../models';
|
|
34
|
-
import type { SortBy } from '../models';
|
|
35
|
-
import type { TransferManagerCommand } from '../models';
|
|
36
|
-
/**
|
|
37
|
-
* SessionsApi - axios parameter creator
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const SessionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @summary Get all chat sessions.
|
|
44
|
-
* @param {string} tenantId The tenant identifier.
|
|
45
|
-
* @param {string} [id]
|
|
46
|
-
* @param {string} [targetHospitalId]
|
|
47
|
-
* @param {string} [targetHospitalName]
|
|
48
|
-
* @param {Array<string>} [assigneeIds]
|
|
49
|
-
* @param {Array<ChatSessionStatus>} [chatSessionStatus]
|
|
50
|
-
* @param {string} [title]
|
|
51
|
-
* @param {string} [userName]
|
|
52
|
-
* @param {SortBy} [sortBy]
|
|
53
|
-
* @param {boolean} [isRead]
|
|
54
|
-
* @param {PlatformTypes} [platformType]
|
|
55
|
-
* @param {number} [page]
|
|
56
|
-
* @param {number} [limit]
|
|
57
|
-
* @param {Date} [lastRetrieved]
|
|
58
|
-
* @param {*} [options] Override http request option.
|
|
59
|
-
* @throws {RequiredError}
|
|
60
|
-
*/
|
|
61
|
-
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>;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @summary Create a chat session.
|
|
65
|
-
* @param {string} tenantId The tenant identifier.
|
|
66
|
-
* @param {CreateChatSessionCommand} [createChatSessionCommand] The command to create a chat session.
|
|
67
|
-
* @param {*} [options] Override http request option.
|
|
68
|
-
* @throws {RequiredError}
|
|
69
|
-
*/
|
|
70
|
-
apiV1ChatTenantIdSessionsPost: (tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @summary Check if a chat session read message
|
|
74
|
-
* @param {string} tenantId
|
|
75
|
-
* @param {string} sessionId
|
|
76
|
-
* @param {*} [options] Override http request option.
|
|
77
|
-
* @throws {RequiredError}
|
|
78
|
-
*/
|
|
79
|
-
apiV1ChatTenantIdSessionsSessionIdCheckPost: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary Check if a chat session read message
|
|
83
|
-
* @param {string} tenantId
|
|
84
|
-
* @param {string} sessionId
|
|
85
|
-
* @param {ChatSessionConsultStatusCommand} [chatSessionConsultStatusCommand]
|
|
86
|
-
* @param {*} [options] Override http request option.
|
|
87
|
-
* @throws {RequiredError}
|
|
88
|
-
*/
|
|
89
|
-
apiV1ChatTenantIdSessionsSessionIdConsultStatusPatch: (tenantId: string, sessionId: string, chatSessionConsultStatusCommand?: ChatSessionConsultStatusCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @summary Convert a guest to a signed-in user.
|
|
93
|
-
* @param {string} tenantId The tenant identifier.
|
|
94
|
-
* @param {string} sessionId The session identifier.
|
|
95
|
-
* @param {*} [options] Override http request option.
|
|
96
|
-
* @throws {RequiredError}
|
|
97
|
-
*/
|
|
98
|
-
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @summary Delete a chat session.
|
|
102
|
-
* @param {string} tenantId The tenant identifier.
|
|
103
|
-
* @param {string} sessionId The session identifier.
|
|
104
|
-
* @param {*} [options] Override http request option.
|
|
105
|
-
* @throws {RequiredError}
|
|
106
|
-
*/
|
|
107
|
-
apiV1ChatTenantIdSessionsSessionIdDelete: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @summary Get chat session by session Id.
|
|
111
|
-
* @param {string} tenantId The tenant identifier.
|
|
112
|
-
* @param {string} sessionId The session identifier.
|
|
113
|
-
* @param {*} [options] Override http request option.
|
|
114
|
-
* @throws {RequiredError}
|
|
115
|
-
*/
|
|
116
|
-
apiV1ChatTenantIdSessionsSessionIdGet: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @summary Get intake forms by session id.
|
|
120
|
-
* @param {string} tenantId
|
|
121
|
-
* @param {string} sessionId
|
|
122
|
-
* @param {string} [id]
|
|
123
|
-
* @param {string} [userId]
|
|
124
|
-
* @param {string} [phoneNumber]
|
|
125
|
-
* @param {number} [page]
|
|
126
|
-
* @param {number} [limit]
|
|
127
|
-
* @param {Date} [lastRetrieved]
|
|
128
|
-
* @param {*} [options] Override http request option.
|
|
129
|
-
* @throws {RequiredError}
|
|
130
|
-
*/
|
|
131
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet: (tenantId: string, sessionId: string, id?: string, userId?: string, phoneNumber?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @summary Delete intake form by id.
|
|
135
|
-
* @param {string} tenantId
|
|
136
|
-
* @param {string} sessionId
|
|
137
|
-
* @param {string} intakeFormId
|
|
138
|
-
* @param {*} [options] Override http request option.
|
|
139
|
-
* @throws {RequiredError}
|
|
140
|
-
*/
|
|
141
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete: (tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @summary Get intake form by id.
|
|
145
|
-
* @param {string} tenantId
|
|
146
|
-
* @param {string} sessionId
|
|
147
|
-
* @param {string} intakeFormId
|
|
148
|
-
* @param {*} [options] Override http request option.
|
|
149
|
-
* @throws {RequiredError}
|
|
150
|
-
*/
|
|
151
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet: (tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
152
|
-
/**
|
|
153
|
-
*
|
|
154
|
-
* @summary Update intake form by id.
|
|
155
|
-
* @param {string} tenantId
|
|
156
|
-
* @param {string} sessionId
|
|
157
|
-
* @param {string} intakeFormId
|
|
158
|
-
* @param {PatchIntakeFormCommand} [patchIntakeFormCommand]
|
|
159
|
-
* @param {*} [options] Override http request option.
|
|
160
|
-
* @throws {RequiredError}
|
|
161
|
-
*/
|
|
162
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch: (tenantId: string, sessionId: string, intakeFormId: string, patchIntakeFormCommand?: PatchIntakeFormCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @summary Create a new intake form.
|
|
166
|
-
* @param {string} tenantId
|
|
167
|
-
* @param {string} sessionId
|
|
168
|
-
* @param {CreateIntakeFormCommand} [createIntakeFormCommand]
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
*/
|
|
172
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsPost: (tenantId: string, sessionId: string, createIntakeFormCommand?: CreateIntakeFormCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
173
|
-
/**
|
|
174
|
-
*
|
|
175
|
-
* @summary Join a chat session.
|
|
176
|
-
* @param {string} tenantId The tenant identifier.
|
|
177
|
-
* @param {string} sessionId The session identifier.
|
|
178
|
-
* @param {JoinChatSessionCommand} [joinChatSessionCommand] The command to join a chat session.
|
|
179
|
-
* @param {*} [options] Override http request option.
|
|
180
|
-
* @throws {RequiredError}
|
|
181
|
-
*/
|
|
182
|
-
apiV1ChatTenantIdSessionsSessionIdJoinPost: (tenantId: string, sessionId: string, joinChatSessionCommand?: JoinChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
183
|
-
/**
|
|
184
|
-
*
|
|
185
|
-
* @summary Leave a chat session.
|
|
186
|
-
* @param {string} tenantId The tenant identifier.
|
|
187
|
-
* @param {string} sessionId The session identifier.
|
|
188
|
-
* @param {*} [options] Override http request option.
|
|
189
|
-
* @throws {RequiredError}
|
|
190
|
-
*/
|
|
191
|
-
apiV1ChatTenantIdSessionsSessionIdLeaveDelete: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* @summary Send a message in a chat session.
|
|
195
|
-
* @param {string} tenantId The tenant identifier.
|
|
196
|
-
* @param {string} sessionId The session identifier.
|
|
197
|
-
* @param {File} [file]
|
|
198
|
-
* @param {string} [text]
|
|
199
|
-
* @param {string} [mediaId]
|
|
200
|
-
* @param {string} [platformMessageId]
|
|
201
|
-
* @param {string} [caption]
|
|
202
|
-
* @param {string} [link]
|
|
203
|
-
* @param {MessageType} [messageType]
|
|
204
|
-
* @param {string} [phoneNumber]
|
|
205
|
-
* @param {*} [options] Override http request option.
|
|
206
|
-
* @throws {RequiredError}
|
|
207
|
-
*/
|
|
208
|
-
apiV1ChatTenantIdSessionsSessionIdMessageSendPost: (tenantId: string, sessionId: string, file?: File, text?: string, mediaId?: string, platformMessageId?: string, caption?: string, link?: string, messageType?: MessageType, phoneNumber?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
209
|
-
/**
|
|
210
|
-
*
|
|
211
|
-
* @summary Get messages from a chat session.
|
|
212
|
-
* @param {string} tenantId The tenant identifier.
|
|
213
|
-
* @param {string} sessionId The session identifier.
|
|
214
|
-
* @param {number} [page]
|
|
215
|
-
* @param {number} [limit]
|
|
216
|
-
* @param {Date} [lastRetrieved]
|
|
217
|
-
* @param {*} [options] Override http request option.
|
|
218
|
-
* @throws {RequiredError}
|
|
219
|
-
*/
|
|
220
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesGet: (tenantId: string, sessionId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* @summary Reactivate expired media in a chat message.
|
|
224
|
-
* @param {string} tenantId The tenant identifier.
|
|
225
|
-
* @param {string} sessionId The session identifier.
|
|
226
|
-
* @param {string} messageId
|
|
227
|
-
* @param {*} [options] Override http request option.
|
|
228
|
-
* @throws {RequiredError}
|
|
229
|
-
*/
|
|
230
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut: (tenantId: string, sessionId: string, messageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
231
|
-
/**
|
|
232
|
-
*
|
|
233
|
-
* @summary Update a chat session.
|
|
234
|
-
* @param {string} tenantId The tenant identifier.
|
|
235
|
-
* @param {string} sessionId The session identifier.
|
|
236
|
-
* @param {PutChatSessionCommand} [putChatSessionCommand] The command to update a chat session.
|
|
237
|
-
* @param {*} [options] Override http request option.
|
|
238
|
-
* @throws {RequiredError}
|
|
239
|
-
*/
|
|
240
|
-
apiV1ChatTenantIdSessionsSessionIdPatch: (tenantId: string, sessionId: string, putChatSessionCommand?: PutChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
241
|
-
/**
|
|
242
|
-
*
|
|
243
|
-
* @summary Transfer a chat session agent.
|
|
244
|
-
* @param {string} tenantId The tenant identifier.
|
|
245
|
-
* @param {string} sessionId The session identifier.
|
|
246
|
-
* @param {TransferManagerCommand} [transferManagerCommand] The command to transfer a chat session.
|
|
247
|
-
* @param {*} [options] Override http request option.
|
|
248
|
-
* @throws {RequiredError}
|
|
249
|
-
*/
|
|
250
|
-
apiV1ChatTenantIdSessionsSessionIdTransferPut: (tenantId: string, sessionId: string, transferManagerCommand?: TransferManagerCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
251
|
-
/**
|
|
252
|
-
*
|
|
253
|
-
* @summary Send whatsapp flow message
|
|
254
|
-
* @param {string} tenantId
|
|
255
|
-
* @param {string} sessionId
|
|
256
|
-
* @param {ChatSendFlowMessageCommand} [chatSendFlowMessageCommand]
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @throws {RequiredError}
|
|
259
|
-
*/
|
|
260
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost: (tenantId: string, sessionId: string, chatSendFlowMessageCommand?: ChatSendFlowMessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
261
|
-
/**
|
|
262
|
-
*
|
|
263
|
-
* @summary Send whatsapp template message
|
|
264
|
-
* @param {string} tenantId
|
|
265
|
-
* @param {string} sessionId
|
|
266
|
-
* @param {ChatSendTemplateMessageCommand} [chatSendTemplateMessageCommand]
|
|
267
|
-
* @param {*} [options] Override http request option.
|
|
268
|
-
* @throws {RequiredError}
|
|
269
|
-
*/
|
|
270
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost: (tenantId: string, sessionId: string, chatSendTemplateMessageCommand?: ChatSendTemplateMessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
271
|
-
};
|
|
272
|
-
/**
|
|
273
|
-
* SessionsApi - functional programming interface
|
|
274
|
-
* @export
|
|
275
|
-
*/
|
|
276
|
-
export declare const SessionsApiFp: (configuration?: Configuration) => {
|
|
277
|
-
/**
|
|
278
|
-
*
|
|
279
|
-
* @summary Get all chat sessions.
|
|
280
|
-
* @param {string} tenantId The tenant identifier.
|
|
281
|
-
* @param {string} [id]
|
|
282
|
-
* @param {string} [targetHospitalId]
|
|
283
|
-
* @param {string} [targetHospitalName]
|
|
284
|
-
* @param {Array<string>} [assigneeIds]
|
|
285
|
-
* @param {Array<ChatSessionStatus>} [chatSessionStatus]
|
|
286
|
-
* @param {string} [title]
|
|
287
|
-
* @param {string} [userName]
|
|
288
|
-
* @param {SortBy} [sortBy]
|
|
289
|
-
* @param {boolean} [isRead]
|
|
290
|
-
* @param {PlatformTypes} [platformType]
|
|
291
|
-
* @param {number} [page]
|
|
292
|
-
* @param {number} [limit]
|
|
293
|
-
* @param {Date} [lastRetrieved]
|
|
294
|
-
* @param {*} [options] Override http request option.
|
|
295
|
-
* @throws {RequiredError}
|
|
296
|
-
*/
|
|
297
|
-
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>>;
|
|
298
|
-
/**
|
|
299
|
-
*
|
|
300
|
-
* @summary Create a chat session.
|
|
301
|
-
* @param {string} tenantId The tenant identifier.
|
|
302
|
-
* @param {CreateChatSessionCommand} [createChatSessionCommand] The command to create a chat session.
|
|
303
|
-
* @param {*} [options] Override http request option.
|
|
304
|
-
* @throws {RequiredError}
|
|
305
|
-
*/
|
|
306
|
-
apiV1ChatTenantIdSessionsPost(tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
307
|
-
/**
|
|
308
|
-
*
|
|
309
|
-
* @summary Check if a chat session read message
|
|
310
|
-
* @param {string} tenantId
|
|
311
|
-
* @param {string} sessionId
|
|
312
|
-
* @param {*} [options] Override http request option.
|
|
313
|
-
* @throws {RequiredError}
|
|
314
|
-
*/
|
|
315
|
-
apiV1ChatTenantIdSessionsSessionIdCheckPost(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
316
|
-
/**
|
|
317
|
-
*
|
|
318
|
-
* @summary Check if a chat session read message
|
|
319
|
-
* @param {string} tenantId
|
|
320
|
-
* @param {string} sessionId
|
|
321
|
-
* @param {ChatSessionConsultStatusCommand} [chatSessionConsultStatusCommand]
|
|
322
|
-
* @param {*} [options] Override http request option.
|
|
323
|
-
* @throws {RequiredError}
|
|
324
|
-
*/
|
|
325
|
-
apiV1ChatTenantIdSessionsSessionIdConsultStatusPatch(tenantId: string, sessionId: string, chatSessionConsultStatusCommand?: ChatSessionConsultStatusCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatConsultStatusResultModel>>;
|
|
326
|
-
/**
|
|
327
|
-
*
|
|
328
|
-
* @summary Convert a guest to a signed-in user.
|
|
329
|
-
* @param {string} tenantId The tenant identifier.
|
|
330
|
-
* @param {string} sessionId The session identifier.
|
|
331
|
-
* @param {*} [options] Override http request option.
|
|
332
|
-
* @throws {RequiredError}
|
|
333
|
-
*/
|
|
334
|
-
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
335
|
-
/**
|
|
336
|
-
*
|
|
337
|
-
* @summary Delete a chat session.
|
|
338
|
-
* @param {string} tenantId The tenant identifier.
|
|
339
|
-
* @param {string} sessionId The session identifier.
|
|
340
|
-
* @param {*} [options] Override http request option.
|
|
341
|
-
* @throws {RequiredError}
|
|
342
|
-
*/
|
|
343
|
-
apiV1ChatTenantIdSessionsSessionIdDelete(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
344
|
-
/**
|
|
345
|
-
*
|
|
346
|
-
* @summary Get chat session by session Id.
|
|
347
|
-
* @param {string} tenantId The tenant identifier.
|
|
348
|
-
* @param {string} sessionId The session identifier.
|
|
349
|
-
* @param {*} [options] Override http request option.
|
|
350
|
-
* @throws {RequiredError}
|
|
351
|
-
*/
|
|
352
|
-
apiV1ChatTenantIdSessionsSessionIdGet(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
353
|
-
/**
|
|
354
|
-
*
|
|
355
|
-
* @summary Get intake forms by session id.
|
|
356
|
-
* @param {string} tenantId
|
|
357
|
-
* @param {string} sessionId
|
|
358
|
-
* @param {string} [id]
|
|
359
|
-
* @param {string} [userId]
|
|
360
|
-
* @param {string} [phoneNumber]
|
|
361
|
-
* @param {number} [page]
|
|
362
|
-
* @param {number} [limit]
|
|
363
|
-
* @param {Date} [lastRetrieved]
|
|
364
|
-
* @param {*} [options] Override http request option.
|
|
365
|
-
* @throws {RequiredError}
|
|
366
|
-
*/
|
|
367
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(tenantId: string, sessionId: string, id?: string, userId?: string, phoneNumber?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntakeFormsModel>>;
|
|
368
|
-
/**
|
|
369
|
-
*
|
|
370
|
-
* @summary Delete intake form by id.
|
|
371
|
-
* @param {string} tenantId
|
|
372
|
-
* @param {string} sessionId
|
|
373
|
-
* @param {string} intakeFormId
|
|
374
|
-
* @param {*} [options] Override http request option.
|
|
375
|
-
* @throws {RequiredError}
|
|
376
|
-
*/
|
|
377
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
378
|
-
/**
|
|
379
|
-
*
|
|
380
|
-
* @summary Get intake form by id.
|
|
381
|
-
* @param {string} tenantId
|
|
382
|
-
* @param {string} sessionId
|
|
383
|
-
* @param {string} intakeFormId
|
|
384
|
-
* @param {*} [options] Override http request option.
|
|
385
|
-
* @throws {RequiredError}
|
|
386
|
-
*/
|
|
387
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntakeForm>>;
|
|
388
|
-
/**
|
|
389
|
-
*
|
|
390
|
-
* @summary Update intake form by id.
|
|
391
|
-
* @param {string} tenantId
|
|
392
|
-
* @param {string} sessionId
|
|
393
|
-
* @param {string} intakeFormId
|
|
394
|
-
* @param {PatchIntakeFormCommand} [patchIntakeFormCommand]
|
|
395
|
-
* @param {*} [options] Override http request option.
|
|
396
|
-
* @throws {RequiredError}
|
|
397
|
-
*/
|
|
398
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(tenantId: string, sessionId: string, intakeFormId: string, patchIntakeFormCommand?: PatchIntakeFormCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntakeForm>>;
|
|
399
|
-
/**
|
|
400
|
-
*
|
|
401
|
-
* @summary Create a new intake form.
|
|
402
|
-
* @param {string} tenantId
|
|
403
|
-
* @param {string} sessionId
|
|
404
|
-
* @param {CreateIntakeFormCommand} [createIntakeFormCommand]
|
|
405
|
-
* @param {*} [options] Override http request option.
|
|
406
|
-
* @throws {RequiredError}
|
|
407
|
-
*/
|
|
408
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsPost(tenantId: string, sessionId: string, createIntakeFormCommand?: CreateIntakeFormCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntakeForm>>;
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @summary Join a chat session.
|
|
412
|
-
* @param {string} tenantId The tenant identifier.
|
|
413
|
-
* @param {string} sessionId The session identifier.
|
|
414
|
-
* @param {JoinChatSessionCommand} [joinChatSessionCommand] The command to join a chat session.
|
|
415
|
-
* @param {*} [options] Override http request option.
|
|
416
|
-
* @throws {RequiredError}
|
|
417
|
-
*/
|
|
418
|
-
apiV1ChatTenantIdSessionsSessionIdJoinPost(tenantId: string, sessionId: string, joinChatSessionCommand?: JoinChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatParticipant>>;
|
|
419
|
-
/**
|
|
420
|
-
*
|
|
421
|
-
* @summary Leave a chat session.
|
|
422
|
-
* @param {string} tenantId The tenant identifier.
|
|
423
|
-
* @param {string} sessionId The session identifier.
|
|
424
|
-
* @param {*} [options] Override http request option.
|
|
425
|
-
* @throws {RequiredError}
|
|
426
|
-
*/
|
|
427
|
-
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
* @summary Send a message in a chat session.
|
|
431
|
-
* @param {string} tenantId The tenant identifier.
|
|
432
|
-
* @param {string} sessionId The session identifier.
|
|
433
|
-
* @param {File} [file]
|
|
434
|
-
* @param {string} [text]
|
|
435
|
-
* @param {string} [mediaId]
|
|
436
|
-
* @param {string} [platformMessageId]
|
|
437
|
-
* @param {string} [caption]
|
|
438
|
-
* @param {string} [link]
|
|
439
|
-
* @param {MessageType} [messageType]
|
|
440
|
-
* @param {string} [phoneNumber]
|
|
441
|
-
* @param {*} [options] Override http request option.
|
|
442
|
-
* @throws {RequiredError}
|
|
443
|
-
*/
|
|
444
|
-
apiV1ChatTenantIdSessionsSessionIdMessageSendPost(tenantId: string, sessionId: string, file?: File, text?: string, mediaId?: string, platformMessageId?: string, caption?: string, link?: string, messageType?: MessageType, phoneNumber?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
|
|
445
|
-
/**
|
|
446
|
-
*
|
|
447
|
-
* @summary Get messages from a chat session.
|
|
448
|
-
* @param {string} tenantId The tenant identifier.
|
|
449
|
-
* @param {string} sessionId The session identifier.
|
|
450
|
-
* @param {number} [page]
|
|
451
|
-
* @param {number} [limit]
|
|
452
|
-
* @param {Date} [lastRetrieved]
|
|
453
|
-
* @param {*} [options] Override http request option.
|
|
454
|
-
* @throws {RequiredError}
|
|
455
|
-
*/
|
|
456
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesGet(tenantId: string, sessionId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesModel>>;
|
|
457
|
-
/**
|
|
458
|
-
*
|
|
459
|
-
* @summary Reactivate expired media in a chat message.
|
|
460
|
-
* @param {string} tenantId The tenant identifier.
|
|
461
|
-
* @param {string} sessionId The session identifier.
|
|
462
|
-
* @param {string} messageId
|
|
463
|
-
* @param {*} [options] Override http request option.
|
|
464
|
-
* @throws {RequiredError}
|
|
465
|
-
*/
|
|
466
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(tenantId: string, sessionId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
|
|
467
|
-
/**
|
|
468
|
-
*
|
|
469
|
-
* @summary Update a chat session.
|
|
470
|
-
* @param {string} tenantId The tenant identifier.
|
|
471
|
-
* @param {string} sessionId The session identifier.
|
|
472
|
-
* @param {PutChatSessionCommand} [putChatSessionCommand] The command to update a chat session.
|
|
473
|
-
* @param {*} [options] Override http request option.
|
|
474
|
-
* @throws {RequiredError}
|
|
475
|
-
*/
|
|
476
|
-
apiV1ChatTenantIdSessionsSessionIdPatch(tenantId: string, sessionId: string, putChatSessionCommand?: PutChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionsModel>>;
|
|
477
|
-
/**
|
|
478
|
-
*
|
|
479
|
-
* @summary Transfer a chat session agent.
|
|
480
|
-
* @param {string} tenantId The tenant identifier.
|
|
481
|
-
* @param {string} sessionId The session identifier.
|
|
482
|
-
* @param {TransferManagerCommand} [transferManagerCommand] The command to transfer a chat session.
|
|
483
|
-
* @param {*} [options] Override http request option.
|
|
484
|
-
* @throws {RequiredError}
|
|
485
|
-
*/
|
|
486
|
-
apiV1ChatTenantIdSessionsSessionIdTransferPut(tenantId: string, sessionId: string, transferManagerCommand?: TransferManagerCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
487
|
-
/**
|
|
488
|
-
*
|
|
489
|
-
* @summary Send whatsapp flow message
|
|
490
|
-
* @param {string} tenantId
|
|
491
|
-
* @param {string} sessionId
|
|
492
|
-
* @param {ChatSendFlowMessageCommand} [chatSendFlowMessageCommand]
|
|
493
|
-
* @param {*} [options] Override http request option.
|
|
494
|
-
* @throws {RequiredError}
|
|
495
|
-
*/
|
|
496
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost(tenantId: string, sessionId: string, chatSendFlowMessageCommand?: ChatSendFlowMessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
|
|
497
|
-
/**
|
|
498
|
-
*
|
|
499
|
-
* @summary Send whatsapp template message
|
|
500
|
-
* @param {string} tenantId
|
|
501
|
-
* @param {string} sessionId
|
|
502
|
-
* @param {ChatSendTemplateMessageCommand} [chatSendTemplateMessageCommand]
|
|
503
|
-
* @param {*} [options] Override http request option.
|
|
504
|
-
* @throws {RequiredError}
|
|
505
|
-
*/
|
|
506
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost(tenantId: string, sessionId: string, chatSendTemplateMessageCommand?: ChatSendTemplateMessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
|
|
507
|
-
};
|
|
508
|
-
/**
|
|
509
|
-
* SessionsApi - factory interface
|
|
510
|
-
* @export
|
|
511
|
-
*/
|
|
512
|
-
export declare const SessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
513
|
-
/**
|
|
514
|
-
*
|
|
515
|
-
* @summary Get all chat sessions.
|
|
516
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
|
|
517
|
-
* @param {*} [options] Override http request option.
|
|
518
|
-
* @throws {RequiredError}
|
|
519
|
-
*/
|
|
520
|
-
apiV1ChatTenantIdSessionsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
|
|
521
|
-
/**
|
|
522
|
-
*
|
|
523
|
-
* @summary Create a chat session.
|
|
524
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
|
|
525
|
-
* @param {*} [options] Override http request option.
|
|
526
|
-
* @throws {RequiredError}
|
|
527
|
-
*/
|
|
528
|
-
apiV1ChatTenantIdSessionsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
529
|
-
/**
|
|
530
|
-
*
|
|
531
|
-
* @summary Check if a chat session read message
|
|
532
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest} requestParameters Request parameters.
|
|
533
|
-
* @param {*} [options] Override http request option.
|
|
534
|
-
* @throws {RequiredError}
|
|
535
|
-
*/
|
|
536
|
-
apiV1ChatTenantIdSessionsSessionIdCheckPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
537
|
-
/**
|
|
538
|
-
*
|
|
539
|
-
* @summary Check if a chat session read message
|
|
540
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatchRequest} requestParameters Request parameters.
|
|
541
|
-
* @param {*} [options] Override http request option.
|
|
542
|
-
* @throws {RequiredError}
|
|
543
|
-
*/
|
|
544
|
-
apiV1ChatTenantIdSessionsSessionIdConsultStatusPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatConsultStatusResultModel>;
|
|
545
|
-
/**
|
|
546
|
-
*
|
|
547
|
-
* @summary Convert a guest to a signed-in user.
|
|
548
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest} requestParameters Request parameters.
|
|
549
|
-
* @param {*} [options] Override http request option.
|
|
550
|
-
* @throws {RequiredError}
|
|
551
|
-
*/
|
|
552
|
-
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @summary Delete a chat session.
|
|
556
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
|
|
557
|
-
* @param {*} [options] Override http request option.
|
|
558
|
-
* @throws {RequiredError}
|
|
559
|
-
*/
|
|
560
|
-
apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
561
|
-
/**
|
|
562
|
-
*
|
|
563
|
-
* @summary Get chat session by session Id.
|
|
564
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
|
|
565
|
-
* @param {*} [options] Override http request option.
|
|
566
|
-
* @throws {RequiredError}
|
|
567
|
-
*/
|
|
568
|
-
apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
569
|
-
/**
|
|
570
|
-
*
|
|
571
|
-
* @summary Get intake forms by session id.
|
|
572
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
|
|
573
|
-
* @param {*} [options] Override http request option.
|
|
574
|
-
* @throws {RequiredError}
|
|
575
|
-
*/
|
|
576
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeFormsModel>;
|
|
577
|
-
/**
|
|
578
|
-
*
|
|
579
|
-
* @summary Delete intake form by id.
|
|
580
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
|
|
581
|
-
* @param {*} [options] Override http request option.
|
|
582
|
-
* @throws {RequiredError}
|
|
583
|
-
*/
|
|
584
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
585
|
-
/**
|
|
586
|
-
*
|
|
587
|
-
* @summary Get intake form by id.
|
|
588
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
|
|
589
|
-
* @param {*} [options] Override http request option.
|
|
590
|
-
* @throws {RequiredError}
|
|
591
|
-
*/
|
|
592
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
|
|
593
|
-
/**
|
|
594
|
-
*
|
|
595
|
-
* @summary Update intake form by id.
|
|
596
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
|
|
597
|
-
* @param {*} [options] Override http request option.
|
|
598
|
-
* @throws {RequiredError}
|
|
599
|
-
*/
|
|
600
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
|
|
601
|
-
/**
|
|
602
|
-
*
|
|
603
|
-
* @summary Create a new intake form.
|
|
604
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest} requestParameters Request parameters.
|
|
605
|
-
* @param {*} [options] Override http request option.
|
|
606
|
-
* @throws {RequiredError}
|
|
607
|
-
*/
|
|
608
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
|
|
609
|
-
/**
|
|
610
|
-
*
|
|
611
|
-
* @summary Join a chat session.
|
|
612
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
|
|
613
|
-
* @param {*} [options] Override http request option.
|
|
614
|
-
* @throws {RequiredError}
|
|
615
|
-
*/
|
|
616
|
-
apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatParticipant>;
|
|
617
|
-
/**
|
|
618
|
-
*
|
|
619
|
-
* @summary Leave a chat session.
|
|
620
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
|
|
621
|
-
* @param {*} [options] Override http request option.
|
|
622
|
-
* @throws {RequiredError}
|
|
623
|
-
*/
|
|
624
|
-
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
625
|
-
/**
|
|
626
|
-
*
|
|
627
|
-
* @summary Send a message in a chat session.
|
|
628
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest} requestParameters Request parameters.
|
|
629
|
-
* @param {*} [options] Override http request option.
|
|
630
|
-
* @throws {RequiredError}
|
|
631
|
-
*/
|
|
632
|
-
apiV1ChatTenantIdSessionsSessionIdMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
|
|
633
|
-
/**
|
|
634
|
-
*
|
|
635
|
-
* @summary Get messages from a chat session.
|
|
636
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
|
|
637
|
-
* @param {*} [options] Override http request option.
|
|
638
|
-
* @throws {RequiredError}
|
|
639
|
-
*/
|
|
640
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesModel>;
|
|
641
|
-
/**
|
|
642
|
-
*
|
|
643
|
-
* @summary Reactivate expired media in a chat message.
|
|
644
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest} requestParameters Request parameters.
|
|
645
|
-
* @param {*} [options] Override http request option.
|
|
646
|
-
* @throws {RequiredError}
|
|
647
|
-
*/
|
|
648
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
|
|
649
|
-
/**
|
|
650
|
-
*
|
|
651
|
-
* @summary Update a chat session.
|
|
652
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
|
|
653
|
-
* @param {*} [options] Override http request option.
|
|
654
|
-
* @throws {RequiredError}
|
|
655
|
-
*/
|
|
656
|
-
apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
|
|
657
|
-
/**
|
|
658
|
-
*
|
|
659
|
-
* @summary Transfer a chat session agent.
|
|
660
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
|
|
661
|
-
* @param {*} [options] Override http request option.
|
|
662
|
-
* @throws {RequiredError}
|
|
663
|
-
*/
|
|
664
|
-
apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
665
|
-
/**
|
|
666
|
-
*
|
|
667
|
-
* @summary Send whatsapp flow message
|
|
668
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest} requestParameters Request parameters.
|
|
669
|
-
* @param {*} [options] Override http request option.
|
|
670
|
-
* @throws {RequiredError}
|
|
671
|
-
*/
|
|
672
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
|
|
673
|
-
/**
|
|
674
|
-
*
|
|
675
|
-
* @summary Send whatsapp template message
|
|
676
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest} requestParameters Request parameters.
|
|
677
|
-
* @param {*} [options] Override http request option.
|
|
678
|
-
* @throws {RequiredError}
|
|
679
|
-
*/
|
|
680
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
|
|
681
|
-
};
|
|
682
|
-
/**
|
|
683
|
-
* Request parameters for apiV1ChatTenantIdSessionsGet operation in SessionsApi.
|
|
684
|
-
* @export
|
|
685
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsGetRequest
|
|
686
|
-
*/
|
|
687
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsGetRequest {
|
|
688
|
-
/**
|
|
689
|
-
* The tenant identifier.
|
|
690
|
-
* @type {string}
|
|
691
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
692
|
-
*/
|
|
693
|
-
readonly tenantId: string;
|
|
694
|
-
/**
|
|
695
|
-
*
|
|
696
|
-
* @type {string}
|
|
697
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
698
|
-
*/
|
|
699
|
-
readonly id?: string;
|
|
700
|
-
/**
|
|
701
|
-
*
|
|
702
|
-
* @type {string}
|
|
703
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
704
|
-
*/
|
|
705
|
-
readonly targetHospitalId?: string;
|
|
706
|
-
/**
|
|
707
|
-
*
|
|
708
|
-
* @type {string}
|
|
709
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
710
|
-
*/
|
|
711
|
-
readonly targetHospitalName?: string;
|
|
712
|
-
/**
|
|
713
|
-
*
|
|
714
|
-
* @type {Array<string>}
|
|
715
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
716
|
-
*/
|
|
717
|
-
readonly assigneeIds?: Array<string>;
|
|
718
|
-
/**
|
|
719
|
-
*
|
|
720
|
-
* @type {Array<ChatSessionStatus>}
|
|
721
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
722
|
-
*/
|
|
723
|
-
readonly chatSessionStatus?: Array<ChatSessionStatus>;
|
|
724
|
-
/**
|
|
725
|
-
*
|
|
726
|
-
* @type {string}
|
|
727
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
728
|
-
*/
|
|
729
|
-
readonly title?: string;
|
|
730
|
-
/**
|
|
731
|
-
*
|
|
732
|
-
* @type {string}
|
|
733
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
734
|
-
*/
|
|
735
|
-
readonly userName?: string;
|
|
736
|
-
/**
|
|
737
|
-
*
|
|
738
|
-
* @type {SortBy}
|
|
739
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
740
|
-
*/
|
|
741
|
-
readonly sortBy?: SortBy;
|
|
742
|
-
/**
|
|
743
|
-
*
|
|
744
|
-
* @type {boolean}
|
|
745
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
746
|
-
*/
|
|
747
|
-
readonly isRead?: boolean;
|
|
748
|
-
/**
|
|
749
|
-
*
|
|
750
|
-
* @type {PlatformTypes}
|
|
751
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
752
|
-
*/
|
|
753
|
-
readonly platformType?: PlatformTypes;
|
|
754
|
-
/**
|
|
755
|
-
*
|
|
756
|
-
* @type {number}
|
|
757
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
758
|
-
*/
|
|
759
|
-
readonly page?: number;
|
|
760
|
-
/**
|
|
761
|
-
*
|
|
762
|
-
* @type {number}
|
|
763
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
764
|
-
*/
|
|
765
|
-
readonly limit?: number;
|
|
766
|
-
/**
|
|
767
|
-
*
|
|
768
|
-
* @type {Date}
|
|
769
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsGet
|
|
770
|
-
*/
|
|
771
|
-
readonly lastRetrieved?: Date;
|
|
772
|
-
}
|
|
773
|
-
/**
|
|
774
|
-
* Request parameters for apiV1ChatTenantIdSessionsPost operation in SessionsApi.
|
|
775
|
-
* @export
|
|
776
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsPostRequest
|
|
777
|
-
*/
|
|
778
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsPostRequest {
|
|
779
|
-
/**
|
|
780
|
-
* The tenant identifier.
|
|
781
|
-
* @type {string}
|
|
782
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsPost
|
|
783
|
-
*/
|
|
784
|
-
readonly tenantId: string;
|
|
785
|
-
/**
|
|
786
|
-
* The command to create a chat session.
|
|
787
|
-
* @type {CreateChatSessionCommand}
|
|
788
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsPost
|
|
789
|
-
*/
|
|
790
|
-
readonly createChatSessionCommand?: CreateChatSessionCommand;
|
|
791
|
-
}
|
|
792
|
-
/**
|
|
793
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdCheckPost operation in SessionsApi.
|
|
794
|
-
* @export
|
|
795
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest
|
|
796
|
-
*/
|
|
797
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest {
|
|
798
|
-
/**
|
|
799
|
-
*
|
|
800
|
-
* @type {string}
|
|
801
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPost
|
|
802
|
-
*/
|
|
803
|
-
readonly tenantId: string;
|
|
804
|
-
/**
|
|
805
|
-
*
|
|
806
|
-
* @type {string}
|
|
807
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPost
|
|
808
|
-
*/
|
|
809
|
-
readonly sessionId: string;
|
|
810
|
-
}
|
|
811
|
-
/**
|
|
812
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdConsultStatusPatch operation in SessionsApi.
|
|
813
|
-
* @export
|
|
814
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatchRequest
|
|
815
|
-
*/
|
|
816
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatchRequest {
|
|
817
|
-
/**
|
|
818
|
-
*
|
|
819
|
-
* @type {string}
|
|
820
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatch
|
|
821
|
-
*/
|
|
822
|
-
readonly tenantId: string;
|
|
823
|
-
/**
|
|
824
|
-
*
|
|
825
|
-
* @type {string}
|
|
826
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatch
|
|
827
|
-
*/
|
|
828
|
-
readonly sessionId: string;
|
|
829
|
-
/**
|
|
830
|
-
*
|
|
831
|
-
* @type {ChatSessionConsultStatusCommand}
|
|
832
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatch
|
|
833
|
-
*/
|
|
834
|
-
readonly chatSessionConsultStatusCommand?: ChatSessionConsultStatusCommand;
|
|
835
|
-
}
|
|
836
|
-
/**
|
|
837
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost operation in SessionsApi.
|
|
838
|
-
* @export
|
|
839
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest
|
|
840
|
-
*/
|
|
841
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest {
|
|
842
|
-
/**
|
|
843
|
-
* The tenant identifier.
|
|
844
|
-
* @type {string}
|
|
845
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost
|
|
846
|
-
*/
|
|
847
|
-
readonly tenantId: string;
|
|
848
|
-
/**
|
|
849
|
-
* The session identifier.
|
|
850
|
-
* @type {string}
|
|
851
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost
|
|
852
|
-
*/
|
|
853
|
-
readonly sessionId: string;
|
|
854
|
-
}
|
|
855
|
-
/**
|
|
856
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdDelete operation in SessionsApi.
|
|
857
|
-
* @export
|
|
858
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest
|
|
859
|
-
*/
|
|
860
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest {
|
|
861
|
-
/**
|
|
862
|
-
* The tenant identifier.
|
|
863
|
-
* @type {string}
|
|
864
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdDelete
|
|
865
|
-
*/
|
|
866
|
-
readonly tenantId: string;
|
|
867
|
-
/**
|
|
868
|
-
* The session identifier.
|
|
869
|
-
* @type {string}
|
|
870
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdDelete
|
|
871
|
-
*/
|
|
872
|
-
readonly sessionId: string;
|
|
873
|
-
}
|
|
874
|
-
/**
|
|
875
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdGet operation in SessionsApi.
|
|
876
|
-
* @export
|
|
877
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest
|
|
878
|
-
*/
|
|
879
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest {
|
|
880
|
-
/**
|
|
881
|
-
* The tenant identifier.
|
|
882
|
-
* @type {string}
|
|
883
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdGet
|
|
884
|
-
*/
|
|
885
|
-
readonly tenantId: string;
|
|
886
|
-
/**
|
|
887
|
-
* The session identifier.
|
|
888
|
-
* @type {string}
|
|
889
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdGet
|
|
890
|
-
*/
|
|
891
|
-
readonly sessionId: string;
|
|
892
|
-
}
|
|
893
|
-
/**
|
|
894
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsGet operation in SessionsApi.
|
|
895
|
-
* @export
|
|
896
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest
|
|
897
|
-
*/
|
|
898
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest {
|
|
899
|
-
/**
|
|
900
|
-
*
|
|
901
|
-
* @type {string}
|
|
902
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
903
|
-
*/
|
|
904
|
-
readonly tenantId: string;
|
|
905
|
-
/**
|
|
906
|
-
*
|
|
907
|
-
* @type {string}
|
|
908
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
909
|
-
*/
|
|
910
|
-
readonly sessionId: string;
|
|
911
|
-
/**
|
|
912
|
-
*
|
|
913
|
-
* @type {string}
|
|
914
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
915
|
-
*/
|
|
916
|
-
readonly id?: string;
|
|
917
|
-
/**
|
|
918
|
-
*
|
|
919
|
-
* @type {string}
|
|
920
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
921
|
-
*/
|
|
922
|
-
readonly userId?: string;
|
|
923
|
-
/**
|
|
924
|
-
*
|
|
925
|
-
* @type {string}
|
|
926
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
927
|
-
*/
|
|
928
|
-
readonly phoneNumber?: string;
|
|
929
|
-
/**
|
|
930
|
-
*
|
|
931
|
-
* @type {number}
|
|
932
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
933
|
-
*/
|
|
934
|
-
readonly page?: number;
|
|
935
|
-
/**
|
|
936
|
-
*
|
|
937
|
-
* @type {number}
|
|
938
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
939
|
-
*/
|
|
940
|
-
readonly limit?: number;
|
|
941
|
-
/**
|
|
942
|
-
*
|
|
943
|
-
* @type {Date}
|
|
944
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
945
|
-
*/
|
|
946
|
-
readonly lastRetrieved?: Date;
|
|
947
|
-
}
|
|
948
|
-
/**
|
|
949
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete operation in SessionsApi.
|
|
950
|
-
* @export
|
|
951
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest
|
|
952
|
-
*/
|
|
953
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest {
|
|
954
|
-
/**
|
|
955
|
-
*
|
|
956
|
-
* @type {string}
|
|
957
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
|
|
958
|
-
*/
|
|
959
|
-
readonly tenantId: string;
|
|
960
|
-
/**
|
|
961
|
-
*
|
|
962
|
-
* @type {string}
|
|
963
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
|
|
964
|
-
*/
|
|
965
|
-
readonly sessionId: string;
|
|
966
|
-
/**
|
|
967
|
-
*
|
|
968
|
-
* @type {string}
|
|
969
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
|
|
970
|
-
*/
|
|
971
|
-
readonly intakeFormId: string;
|
|
972
|
-
}
|
|
973
|
-
/**
|
|
974
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet operation in SessionsApi.
|
|
975
|
-
* @export
|
|
976
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest
|
|
977
|
-
*/
|
|
978
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest {
|
|
979
|
-
/**
|
|
980
|
-
*
|
|
981
|
-
* @type {string}
|
|
982
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
|
|
983
|
-
*/
|
|
984
|
-
readonly tenantId: string;
|
|
985
|
-
/**
|
|
986
|
-
*
|
|
987
|
-
* @type {string}
|
|
988
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
|
|
989
|
-
*/
|
|
990
|
-
readonly sessionId: string;
|
|
991
|
-
/**
|
|
992
|
-
*
|
|
993
|
-
* @type {string}
|
|
994
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
|
|
995
|
-
*/
|
|
996
|
-
readonly intakeFormId: string;
|
|
997
|
-
}
|
|
998
|
-
/**
|
|
999
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch operation in SessionsApi.
|
|
1000
|
-
* @export
|
|
1001
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest
|
|
1002
|
-
*/
|
|
1003
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest {
|
|
1004
|
-
/**
|
|
1005
|
-
*
|
|
1006
|
-
* @type {string}
|
|
1007
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
1008
|
-
*/
|
|
1009
|
-
readonly tenantId: string;
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
* @type {string}
|
|
1013
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
1014
|
-
*/
|
|
1015
|
-
readonly sessionId: string;
|
|
1016
|
-
/**
|
|
1017
|
-
*
|
|
1018
|
-
* @type {string}
|
|
1019
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
1020
|
-
*/
|
|
1021
|
-
readonly intakeFormId: string;
|
|
1022
|
-
/**
|
|
1023
|
-
*
|
|
1024
|
-
* @type {PatchIntakeFormCommand}
|
|
1025
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
1026
|
-
*/
|
|
1027
|
-
readonly patchIntakeFormCommand?: PatchIntakeFormCommand;
|
|
1028
|
-
}
|
|
1029
|
-
/**
|
|
1030
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsPost operation in SessionsApi.
|
|
1031
|
-
* @export
|
|
1032
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest
|
|
1033
|
-
*/
|
|
1034
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest {
|
|
1035
|
-
/**
|
|
1036
|
-
*
|
|
1037
|
-
* @type {string}
|
|
1038
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
|
|
1039
|
-
*/
|
|
1040
|
-
readonly tenantId: string;
|
|
1041
|
-
/**
|
|
1042
|
-
*
|
|
1043
|
-
* @type {string}
|
|
1044
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
|
|
1045
|
-
*/
|
|
1046
|
-
readonly sessionId: string;
|
|
1047
|
-
/**
|
|
1048
|
-
*
|
|
1049
|
-
* @type {CreateIntakeFormCommand}
|
|
1050
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
|
|
1051
|
-
*/
|
|
1052
|
-
readonly createIntakeFormCommand?: CreateIntakeFormCommand;
|
|
1053
|
-
}
|
|
1054
|
-
/**
|
|
1055
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdJoinPost operation in SessionsApi.
|
|
1056
|
-
* @export
|
|
1057
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest
|
|
1058
|
-
*/
|
|
1059
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest {
|
|
1060
|
-
/**
|
|
1061
|
-
* The tenant identifier.
|
|
1062
|
-
* @type {string}
|
|
1063
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPost
|
|
1064
|
-
*/
|
|
1065
|
-
readonly tenantId: string;
|
|
1066
|
-
/**
|
|
1067
|
-
* The session identifier.
|
|
1068
|
-
* @type {string}
|
|
1069
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPost
|
|
1070
|
-
*/
|
|
1071
|
-
readonly sessionId: string;
|
|
1072
|
-
/**
|
|
1073
|
-
* The command to join a chat session.
|
|
1074
|
-
* @type {JoinChatSessionCommand}
|
|
1075
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPost
|
|
1076
|
-
*/
|
|
1077
|
-
readonly joinChatSessionCommand?: JoinChatSessionCommand;
|
|
1078
|
-
}
|
|
1079
|
-
/**
|
|
1080
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdLeaveDelete operation in SessionsApi.
|
|
1081
|
-
* @export
|
|
1082
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest
|
|
1083
|
-
*/
|
|
1084
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest {
|
|
1085
|
-
/**
|
|
1086
|
-
* The tenant identifier.
|
|
1087
|
-
* @type {string}
|
|
1088
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
|
|
1089
|
-
*/
|
|
1090
|
-
readonly tenantId: string;
|
|
1091
|
-
/**
|
|
1092
|
-
* The session identifier.
|
|
1093
|
-
* @type {string}
|
|
1094
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
|
|
1095
|
-
*/
|
|
1096
|
-
readonly sessionId: string;
|
|
1097
|
-
}
|
|
1098
|
-
/**
|
|
1099
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdMessageSendPost operation in SessionsApi.
|
|
1100
|
-
* @export
|
|
1101
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest
|
|
1102
|
-
*/
|
|
1103
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest {
|
|
1104
|
-
/**
|
|
1105
|
-
* The tenant identifier.
|
|
1106
|
-
* @type {string}
|
|
1107
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1108
|
-
*/
|
|
1109
|
-
readonly tenantId: string;
|
|
1110
|
-
/**
|
|
1111
|
-
* The session identifier.
|
|
1112
|
-
* @type {string}
|
|
1113
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1114
|
-
*/
|
|
1115
|
-
readonly sessionId: string;
|
|
1116
|
-
/**
|
|
1117
|
-
*
|
|
1118
|
-
* @type {File}
|
|
1119
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1120
|
-
*/
|
|
1121
|
-
readonly file?: File;
|
|
1122
|
-
/**
|
|
1123
|
-
*
|
|
1124
|
-
* @type {string}
|
|
1125
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1126
|
-
*/
|
|
1127
|
-
readonly text?: string;
|
|
1128
|
-
/**
|
|
1129
|
-
*
|
|
1130
|
-
* @type {string}
|
|
1131
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1132
|
-
*/
|
|
1133
|
-
readonly mediaId?: string;
|
|
1134
|
-
/**
|
|
1135
|
-
*
|
|
1136
|
-
* @type {string}
|
|
1137
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1138
|
-
*/
|
|
1139
|
-
readonly platformMessageId?: string;
|
|
1140
|
-
/**
|
|
1141
|
-
*
|
|
1142
|
-
* @type {string}
|
|
1143
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1144
|
-
*/
|
|
1145
|
-
readonly caption?: string;
|
|
1146
|
-
/**
|
|
1147
|
-
*
|
|
1148
|
-
* @type {string}
|
|
1149
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1150
|
-
*/
|
|
1151
|
-
readonly link?: string;
|
|
1152
|
-
/**
|
|
1153
|
-
*
|
|
1154
|
-
* @type {MessageType}
|
|
1155
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1156
|
-
*/
|
|
1157
|
-
readonly messageType?: MessageType;
|
|
1158
|
-
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @type {string}
|
|
1161
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
|
|
1162
|
-
*/
|
|
1163
|
-
readonly phoneNumber?: string;
|
|
1164
|
-
}
|
|
1165
|
-
/**
|
|
1166
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesGet operation in SessionsApi.
|
|
1167
|
-
* @export
|
|
1168
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest
|
|
1169
|
-
*/
|
|
1170
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest {
|
|
1171
|
-
/**
|
|
1172
|
-
* The tenant identifier.
|
|
1173
|
-
* @type {string}
|
|
1174
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
|
|
1175
|
-
*/
|
|
1176
|
-
readonly tenantId: string;
|
|
1177
|
-
/**
|
|
1178
|
-
* The session identifier.
|
|
1179
|
-
* @type {string}
|
|
1180
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
|
|
1181
|
-
*/
|
|
1182
|
-
readonly sessionId: string;
|
|
1183
|
-
/**
|
|
1184
|
-
*
|
|
1185
|
-
* @type {number}
|
|
1186
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
|
|
1187
|
-
*/
|
|
1188
|
-
readonly page?: number;
|
|
1189
|
-
/**
|
|
1190
|
-
*
|
|
1191
|
-
* @type {number}
|
|
1192
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
|
|
1193
|
-
*/
|
|
1194
|
-
readonly limit?: number;
|
|
1195
|
-
/**
|
|
1196
|
-
*
|
|
1197
|
-
* @type {Date}
|
|
1198
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
|
|
1199
|
-
*/
|
|
1200
|
-
readonly lastRetrieved?: Date;
|
|
1201
|
-
}
|
|
1202
|
-
/**
|
|
1203
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut operation in SessionsApi.
|
|
1204
|
-
* @export
|
|
1205
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest
|
|
1206
|
-
*/
|
|
1207
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest {
|
|
1208
|
-
/**
|
|
1209
|
-
* The tenant identifier.
|
|
1210
|
-
* @type {string}
|
|
1211
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
|
|
1212
|
-
*/
|
|
1213
|
-
readonly tenantId: string;
|
|
1214
|
-
/**
|
|
1215
|
-
* The session identifier.
|
|
1216
|
-
* @type {string}
|
|
1217
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
|
|
1218
|
-
*/
|
|
1219
|
-
readonly sessionId: string;
|
|
1220
|
-
/**
|
|
1221
|
-
*
|
|
1222
|
-
* @type {string}
|
|
1223
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
|
|
1224
|
-
*/
|
|
1225
|
-
readonly messageId: string;
|
|
1226
|
-
}
|
|
1227
|
-
/**
|
|
1228
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdPatch operation in SessionsApi.
|
|
1229
|
-
* @export
|
|
1230
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest
|
|
1231
|
-
*/
|
|
1232
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest {
|
|
1233
|
-
/**
|
|
1234
|
-
* The tenant identifier.
|
|
1235
|
-
* @type {string}
|
|
1236
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdPatch
|
|
1237
|
-
*/
|
|
1238
|
-
readonly tenantId: string;
|
|
1239
|
-
/**
|
|
1240
|
-
* The session identifier.
|
|
1241
|
-
* @type {string}
|
|
1242
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdPatch
|
|
1243
|
-
*/
|
|
1244
|
-
readonly sessionId: string;
|
|
1245
|
-
/**
|
|
1246
|
-
* The command to update a chat session.
|
|
1247
|
-
* @type {PutChatSessionCommand}
|
|
1248
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdPatch
|
|
1249
|
-
*/
|
|
1250
|
-
readonly putChatSessionCommand?: PutChatSessionCommand;
|
|
1251
|
-
}
|
|
1252
|
-
/**
|
|
1253
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdTransferPut operation in SessionsApi.
|
|
1254
|
-
* @export
|
|
1255
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest
|
|
1256
|
-
*/
|
|
1257
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest {
|
|
1258
|
-
/**
|
|
1259
|
-
* The tenant identifier.
|
|
1260
|
-
* @type {string}
|
|
1261
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPut
|
|
1262
|
-
*/
|
|
1263
|
-
readonly tenantId: string;
|
|
1264
|
-
/**
|
|
1265
|
-
* The session identifier.
|
|
1266
|
-
* @type {string}
|
|
1267
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPut
|
|
1268
|
-
*/
|
|
1269
|
-
readonly sessionId: string;
|
|
1270
|
-
/**
|
|
1271
|
-
* The command to transfer a chat session.
|
|
1272
|
-
* @type {TransferManagerCommand}
|
|
1273
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPut
|
|
1274
|
-
*/
|
|
1275
|
-
readonly transferManagerCommand?: TransferManagerCommand;
|
|
1276
|
-
}
|
|
1277
|
-
/**
|
|
1278
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost operation in SessionsApi.
|
|
1279
|
-
* @export
|
|
1280
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest
|
|
1281
|
-
*/
|
|
1282
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest {
|
|
1283
|
-
/**
|
|
1284
|
-
*
|
|
1285
|
-
* @type {string}
|
|
1286
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost
|
|
1287
|
-
*/
|
|
1288
|
-
readonly tenantId: string;
|
|
1289
|
-
/**
|
|
1290
|
-
*
|
|
1291
|
-
* @type {string}
|
|
1292
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost
|
|
1293
|
-
*/
|
|
1294
|
-
readonly sessionId: string;
|
|
1295
|
-
/**
|
|
1296
|
-
*
|
|
1297
|
-
* @type {ChatSendFlowMessageCommand}
|
|
1298
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost
|
|
1299
|
-
*/
|
|
1300
|
-
readonly chatSendFlowMessageCommand?: ChatSendFlowMessageCommand;
|
|
1301
|
-
}
|
|
1302
|
-
/**
|
|
1303
|
-
* Request parameters for apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost operation in SessionsApi.
|
|
1304
|
-
* @export
|
|
1305
|
-
* @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest
|
|
1306
|
-
*/
|
|
1307
|
-
export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest {
|
|
1308
|
-
/**
|
|
1309
|
-
*
|
|
1310
|
-
* @type {string}
|
|
1311
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost
|
|
1312
|
-
*/
|
|
1313
|
-
readonly tenantId: string;
|
|
1314
|
-
/**
|
|
1315
|
-
*
|
|
1316
|
-
* @type {string}
|
|
1317
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost
|
|
1318
|
-
*/
|
|
1319
|
-
readonly sessionId: string;
|
|
1320
|
-
/**
|
|
1321
|
-
*
|
|
1322
|
-
* @type {ChatSendTemplateMessageCommand}
|
|
1323
|
-
* @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost
|
|
1324
|
-
*/
|
|
1325
|
-
readonly chatSendTemplateMessageCommand?: ChatSendTemplateMessageCommand;
|
|
1326
|
-
}
|
|
1327
|
-
/**
|
|
1328
|
-
* SessionsApi - object-oriented interface
|
|
1329
|
-
* @export
|
|
1330
|
-
* @class SessionsApi
|
|
1331
|
-
* @extends {BaseAPI}
|
|
1332
|
-
*/
|
|
1333
|
-
export declare class SessionsApi extends BaseAPI {
|
|
1334
|
-
/**
|
|
1335
|
-
*
|
|
1336
|
-
* @summary Get all chat sessions.
|
|
1337
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
|
|
1338
|
-
* @param {*} [options] Override http request option.
|
|
1339
|
-
* @throws {RequiredError}
|
|
1340
|
-
* @memberof SessionsApi
|
|
1341
|
-
*/
|
|
1342
|
-
apiV1ChatTenantIdSessionsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
|
|
1343
|
-
/**
|
|
1344
|
-
*
|
|
1345
|
-
* @summary Create a chat session.
|
|
1346
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
|
|
1347
|
-
* @param {*} [options] Override http request option.
|
|
1348
|
-
* @throws {RequiredError}
|
|
1349
|
-
* @memberof SessionsApi
|
|
1350
|
-
*/
|
|
1351
|
-
apiV1ChatTenantIdSessionsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
1352
|
-
/**
|
|
1353
|
-
*
|
|
1354
|
-
* @summary Check if a chat session read message
|
|
1355
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest} requestParameters Request parameters.
|
|
1356
|
-
* @param {*} [options] Override http request option.
|
|
1357
|
-
* @throws {RequiredError}
|
|
1358
|
-
* @memberof SessionsApi
|
|
1359
|
-
*/
|
|
1360
|
-
apiV1ChatTenantIdSessionsSessionIdCheckPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
1361
|
-
/**
|
|
1362
|
-
*
|
|
1363
|
-
* @summary Check if a chat session read message
|
|
1364
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatchRequest} requestParameters Request parameters.
|
|
1365
|
-
* @param {*} [options] Override http request option.
|
|
1366
|
-
* @throws {RequiredError}
|
|
1367
|
-
* @memberof SessionsApi
|
|
1368
|
-
*/
|
|
1369
|
-
apiV1ChatTenantIdSessionsSessionIdConsultStatusPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdConsultStatusPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatConsultStatusResultModel, any>>;
|
|
1370
|
-
/**
|
|
1371
|
-
*
|
|
1372
|
-
* @summary Convert a guest to a signed-in user.
|
|
1373
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest} requestParameters Request parameters.
|
|
1374
|
-
* @param {*} [options] Override http request option.
|
|
1375
|
-
* @throws {RequiredError}
|
|
1376
|
-
* @memberof SessionsApi
|
|
1377
|
-
*/
|
|
1378
|
-
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
1379
|
-
/**
|
|
1380
|
-
*
|
|
1381
|
-
* @summary Delete a chat session.
|
|
1382
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
|
|
1383
|
-
* @param {*} [options] Override http request option.
|
|
1384
|
-
* @throws {RequiredError}
|
|
1385
|
-
* @memberof SessionsApi
|
|
1386
|
-
*/
|
|
1387
|
-
apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
1388
|
-
/**
|
|
1389
|
-
*
|
|
1390
|
-
* @summary Get chat session by session Id.
|
|
1391
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
|
|
1392
|
-
* @param {*} [options] Override http request option.
|
|
1393
|
-
* @throws {RequiredError}
|
|
1394
|
-
* @memberof SessionsApi
|
|
1395
|
-
*/
|
|
1396
|
-
apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
1397
|
-
/**
|
|
1398
|
-
*
|
|
1399
|
-
* @summary Get intake forms by session id.
|
|
1400
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
|
|
1401
|
-
* @param {*} [options] Override http request option.
|
|
1402
|
-
* @throws {RequiredError}
|
|
1403
|
-
* @memberof SessionsApi
|
|
1404
|
-
*/
|
|
1405
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeFormsModel, any>>;
|
|
1406
|
-
/**
|
|
1407
|
-
*
|
|
1408
|
-
* @summary Delete intake form by id.
|
|
1409
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
|
|
1410
|
-
* @param {*} [options] Override http request option.
|
|
1411
|
-
* @throws {RequiredError}
|
|
1412
|
-
* @memberof SessionsApi
|
|
1413
|
-
*/
|
|
1414
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
1415
|
-
/**
|
|
1416
|
-
*
|
|
1417
|
-
* @summary Get intake form by id.
|
|
1418
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
|
|
1419
|
-
* @param {*} [options] Override http request option.
|
|
1420
|
-
* @throws {RequiredError}
|
|
1421
|
-
* @memberof SessionsApi
|
|
1422
|
-
*/
|
|
1423
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
|
|
1424
|
-
/**
|
|
1425
|
-
*
|
|
1426
|
-
* @summary Update intake form by id.
|
|
1427
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
|
|
1428
|
-
* @param {*} [options] Override http request option.
|
|
1429
|
-
* @throws {RequiredError}
|
|
1430
|
-
* @memberof SessionsApi
|
|
1431
|
-
*/
|
|
1432
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
|
|
1433
|
-
/**
|
|
1434
|
-
*
|
|
1435
|
-
* @summary Create a new intake form.
|
|
1436
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest} requestParameters Request parameters.
|
|
1437
|
-
* @param {*} [options] Override http request option.
|
|
1438
|
-
* @throws {RequiredError}
|
|
1439
|
-
* @memberof SessionsApi
|
|
1440
|
-
*/
|
|
1441
|
-
apiV1ChatTenantIdSessionsSessionIdIntakeformsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
|
|
1442
|
-
/**
|
|
1443
|
-
*
|
|
1444
|
-
* @summary Join a chat session.
|
|
1445
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
|
|
1446
|
-
* @param {*} [options] Override http request option.
|
|
1447
|
-
* @throws {RequiredError}
|
|
1448
|
-
* @memberof SessionsApi
|
|
1449
|
-
*/
|
|
1450
|
-
apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatParticipant, any>>;
|
|
1451
|
-
/**
|
|
1452
|
-
*
|
|
1453
|
-
* @summary Leave a chat session.
|
|
1454
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
|
|
1455
|
-
* @param {*} [options] Override http request option.
|
|
1456
|
-
* @throws {RequiredError}
|
|
1457
|
-
* @memberof SessionsApi
|
|
1458
|
-
*/
|
|
1459
|
-
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
1460
|
-
/**
|
|
1461
|
-
*
|
|
1462
|
-
* @summary Send a message in a chat session.
|
|
1463
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest} requestParameters Request parameters.
|
|
1464
|
-
* @param {*} [options] Override http request option.
|
|
1465
|
-
* @throws {RequiredError}
|
|
1466
|
-
* @memberof SessionsApi
|
|
1467
|
-
*/
|
|
1468
|
-
apiV1ChatTenantIdSessionsSessionIdMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
|
|
1469
|
-
/**
|
|
1470
|
-
*
|
|
1471
|
-
* @summary Get messages from a chat session.
|
|
1472
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
|
|
1473
|
-
* @param {*} [options] Override http request option.
|
|
1474
|
-
* @throws {RequiredError}
|
|
1475
|
-
* @memberof SessionsApi
|
|
1476
|
-
*/
|
|
1477
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesModel, any>>;
|
|
1478
|
-
/**
|
|
1479
|
-
*
|
|
1480
|
-
* @summary Reactivate expired media in a chat message.
|
|
1481
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest} requestParameters Request parameters.
|
|
1482
|
-
* @param {*} [options] Override http request option.
|
|
1483
|
-
* @throws {RequiredError}
|
|
1484
|
-
* @memberof SessionsApi
|
|
1485
|
-
*/
|
|
1486
|
-
apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
|
|
1487
|
-
/**
|
|
1488
|
-
*
|
|
1489
|
-
* @summary Update a chat session.
|
|
1490
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
|
|
1491
|
-
* @param {*} [options] Override http request option.
|
|
1492
|
-
* @throws {RequiredError}
|
|
1493
|
-
* @memberof SessionsApi
|
|
1494
|
-
*/
|
|
1495
|
-
apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
|
|
1496
|
-
/**
|
|
1497
|
-
*
|
|
1498
|
-
* @summary Transfer a chat session agent.
|
|
1499
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
|
|
1500
|
-
* @param {*} [options] Override http request option.
|
|
1501
|
-
* @throws {RequiredError}
|
|
1502
|
-
* @memberof SessionsApi
|
|
1503
|
-
*/
|
|
1504
|
-
apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
1505
|
-
/**
|
|
1506
|
-
*
|
|
1507
|
-
* @summary Send whatsapp flow message
|
|
1508
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest} requestParameters Request parameters.
|
|
1509
|
-
* @param {*} [options] Override http request option.
|
|
1510
|
-
* @throws {RequiredError}
|
|
1511
|
-
* @memberof SessionsApi
|
|
1512
|
-
*/
|
|
1513
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
|
|
1514
|
-
/**
|
|
1515
|
-
*
|
|
1516
|
-
* @summary Send whatsapp template message
|
|
1517
|
-
* @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest} requestParameters Request parameters.
|
|
1518
|
-
* @param {*} [options] Override http request option.
|
|
1519
|
-
* @throws {RequiredError}
|
|
1520
|
-
* @memberof SessionsApi
|
|
1521
|
-
*/
|
|
1522
|
-
apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
|
|
1523
|
-
}
|