ch-chat-api-typescript-axios 1.2.10 → 1.2.11
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/api/chat-api.d.ts +323 -16
- package/dist/api/chat-api.js +352 -0
- package/dist/api/chat-api.js.map +1 -1
- package/dist/models/{chat-session.d.ts → chat-session-model.d.ts} +31 -17
- package/dist/models/chat-session-model.js +16 -0
- package/dist/models/chat-session-model.js.map +1 -0
- package/dist/models/chat-sessions-model.d.ts +3 -3
- package/dist/models/create-chat-session-command.d.ts +7 -0
- package/dist/models/index.d.ts +6 -1
- package/dist/models/index.js +6 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/intake-form-item.d.ts +42 -0
- package/dist/models/intake-form-item.js +16 -0
- package/dist/models/intake-form-item.js.map +1 -0
- package/dist/models/intake-form.d.ts +79 -0
- package/dist/models/{chat-session.js → intake-form.js} +1 -1
- package/dist/models/intake-form.js.map +1 -0
- package/dist/models/intake-forms-model.d.ts +32 -0
- package/dist/models/intake-forms-model.js +16 -0
- package/dist/models/intake-forms-model.js.map +1 -0
- package/dist/models/patch-intake-form-command.d.ts +25 -0
- package/dist/models/patch-intake-form-command.js +16 -0
- package/dist/models/patch-intake-form-command.js.map +1 -0
- package/dist/models/request-create-intake-form-item-model.d.ts +36 -0
- package/dist/models/request-create-intake-form-item-model.js +16 -0
- package/dist/models/request-create-intake-form-item-model.js.map +1 -0
- package/package.json +1 -1
- package/dist/models/chat-session.js.map +0 -1
package/dist/api/chat-api.d.ts
CHANGED
|
@@ -15,11 +15,14 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import type { ChatMessage } from '../models';
|
|
16
16
|
import type { ChatMessagesModel } from '../models';
|
|
17
17
|
import type { ChatParticipant } from '../models';
|
|
18
|
-
import type {
|
|
18
|
+
import type { ChatSessionModel } from '../models';
|
|
19
19
|
import type { ChatSessionsModel } from '../models';
|
|
20
20
|
import type { CreateChatSessionCommand } from '../models';
|
|
21
|
+
import type { IntakeForm } from '../models';
|
|
22
|
+
import type { IntakeFormsModel } from '../models';
|
|
21
23
|
import type { JoinChatSessionCommand } from '../models';
|
|
22
24
|
import type { MessageTypes } from '../models';
|
|
25
|
+
import type { PatchIntakeFormCommand } from '../models';
|
|
23
26
|
import type { PutChatSessionCommand } from '../models';
|
|
24
27
|
import type { TransferManagerCommand } from '../models';
|
|
25
28
|
/**
|
|
@@ -79,6 +82,53 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
79
82
|
* @throws {RequiredError}
|
|
80
83
|
*/
|
|
81
84
|
apiV1ChatTenantIdSessionsSessionIdGet: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary Get intake forms by session id.
|
|
88
|
+
* @param {string} tenantId
|
|
89
|
+
* @param {string} sessionId
|
|
90
|
+
* @param {string} [id]
|
|
91
|
+
* @param {string} [tenantId2]
|
|
92
|
+
* @param {string} [userId]
|
|
93
|
+
* @param {string} [phoneNumber]
|
|
94
|
+
* @param {number} [page]
|
|
95
|
+
* @param {number} [limit]
|
|
96
|
+
* @param {Date} [lastRetrieved]
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet: (tenantId: string, sessionId: string, id?: string, tenantId2?: string, userId?: string, phoneNumber?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary Delete intake form by id.
|
|
104
|
+
* @param {string} tenantId
|
|
105
|
+
* @param {string} sessionId
|
|
106
|
+
* @param {string} intakeFormId
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete: (tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Get intake form by id.
|
|
114
|
+
* @param {string} tenantId
|
|
115
|
+
* @param {string} sessionId
|
|
116
|
+
* @param {string} intakeFormId
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet: (tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Update intake form by id.
|
|
124
|
+
* @param {string} tenantId
|
|
125
|
+
* @param {string} sessionId
|
|
126
|
+
* @param {string} intakeFormId
|
|
127
|
+
* @param {PatchIntakeFormCommand} [patchIntakeFormCommand]
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch: (tenantId: string, sessionId: string, intakeFormId: string, patchIntakeFormCommand?: PatchIntakeFormCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
132
|
/**
|
|
83
133
|
*
|
|
84
134
|
* @summary Join a chat session.
|
|
@@ -186,7 +236,7 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
186
236
|
* @param {*} [options] Override http request option.
|
|
187
237
|
* @throws {RequiredError}
|
|
188
238
|
*/
|
|
189
|
-
apiV1ChatTenantIdSessionsPost(tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
239
|
+
apiV1ChatTenantIdSessionsPost(tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
190
240
|
/**
|
|
191
241
|
*
|
|
192
242
|
* @summary Convert a guest to a signed-in user.
|
|
@@ -195,7 +245,7 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
195
245
|
* @param {*} [options] Override http request option.
|
|
196
246
|
* @throws {RequiredError}
|
|
197
247
|
*/
|
|
198
|
-
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
248
|
+
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
199
249
|
/**
|
|
200
250
|
*
|
|
201
251
|
* @summary Delete a chat session.
|
|
@@ -213,7 +263,54 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
213
263
|
* @param {*} [options] Override http request option.
|
|
214
264
|
* @throws {RequiredError}
|
|
215
265
|
*/
|
|
216
|
-
apiV1ChatTenantIdSessionsSessionIdGet(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
266
|
+
apiV1ChatTenantIdSessionsSessionIdGet(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @summary Get intake forms by session id.
|
|
270
|
+
* @param {string} tenantId
|
|
271
|
+
* @param {string} sessionId
|
|
272
|
+
* @param {string} [id]
|
|
273
|
+
* @param {string} [tenantId2]
|
|
274
|
+
* @param {string} [userId]
|
|
275
|
+
* @param {string} [phoneNumber]
|
|
276
|
+
* @param {number} [page]
|
|
277
|
+
* @param {number} [limit]
|
|
278
|
+
* @param {Date} [lastRetrieved]
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(tenantId: string, sessionId: string, id?: string, tenantId2?: string, userId?: string, phoneNumber?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntakeFormsModel>>;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @summary Delete intake form by id.
|
|
286
|
+
* @param {string} tenantId
|
|
287
|
+
* @param {string} sessionId
|
|
288
|
+
* @param {string} intakeFormId
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @summary Get intake form by id.
|
|
296
|
+
* @param {string} tenantId
|
|
297
|
+
* @param {string} sessionId
|
|
298
|
+
* @param {string} intakeFormId
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(tenantId: string, sessionId: string, intakeFormId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntakeForm>>;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @summary Update intake form by id.
|
|
306
|
+
* @param {string} tenantId
|
|
307
|
+
* @param {string} sessionId
|
|
308
|
+
* @param {string} intakeFormId
|
|
309
|
+
* @param {PatchIntakeFormCommand} [patchIntakeFormCommand]
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(tenantId: string, sessionId: string, intakeFormId: string, patchIntakeFormCommand?: PatchIntakeFormCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntakeForm>>;
|
|
217
314
|
/**
|
|
218
315
|
*
|
|
219
316
|
* @summary Join a chat session.
|
|
@@ -232,7 +329,7 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
232
329
|
* @param {*} [options] Override http request option.
|
|
233
330
|
* @throws {RequiredError}
|
|
234
331
|
*/
|
|
235
|
-
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
332
|
+
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
236
333
|
/**
|
|
237
334
|
*
|
|
238
335
|
* @summary Get messages from a chat session.
|
|
@@ -290,7 +387,7 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
290
387
|
* @param {*} [options] Override http request option.
|
|
291
388
|
* @throws {RequiredError}
|
|
292
389
|
*/
|
|
293
|
-
apiV1ChatTenantIdSessionsSessionIdTransferPut(tenantId: string, sessionId: string, transferManagerCommand?: TransferManagerCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
390
|
+
apiV1ChatTenantIdSessionsSessionIdTransferPut(tenantId: string, sessionId: string, transferManagerCommand?: TransferManagerCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
|
|
294
391
|
};
|
|
295
392
|
/**
|
|
296
393
|
* ChatApi - factory interface
|
|
@@ -312,7 +409,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
312
409
|
* @param {*} [options] Override http request option.
|
|
313
410
|
* @throws {RequiredError}
|
|
314
411
|
*/
|
|
315
|
-
apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
412
|
+
apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
316
413
|
/**
|
|
317
414
|
*
|
|
318
415
|
* @summary Convert a guest to a signed-in user.
|
|
@@ -320,7 +417,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
320
417
|
* @param {*} [options] Override http request option.
|
|
321
418
|
* @throws {RequiredError}
|
|
322
419
|
*/
|
|
323
|
-
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
420
|
+
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
324
421
|
/**
|
|
325
422
|
*
|
|
326
423
|
* @summary Delete a chat session.
|
|
@@ -336,7 +433,39 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
336
433
|
* @param {*} [options] Override http request option.
|
|
337
434
|
* @throws {RequiredError}
|
|
338
435
|
*/
|
|
339
|
-
apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
436
|
+
apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @summary Get intake forms by session id.
|
|
440
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeFormsModel>;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @summary Delete intake form by id.
|
|
448
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @summary Get intake form by id.
|
|
456
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
*/
|
|
460
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @summary Update intake form by id.
|
|
464
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
|
|
465
|
+
* @param {*} [options] Override http request option.
|
|
466
|
+
* @throws {RequiredError}
|
|
467
|
+
*/
|
|
468
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
|
|
340
469
|
/**
|
|
341
470
|
*
|
|
342
471
|
* @summary Join a chat session.
|
|
@@ -352,7 +481,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
352
481
|
* @param {*} [options] Override http request option.
|
|
353
482
|
* @throws {RequiredError}
|
|
354
483
|
*/
|
|
355
|
-
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
484
|
+
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
356
485
|
/**
|
|
357
486
|
*
|
|
358
487
|
* @summary Get messages from a chat session.
|
|
@@ -392,7 +521,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
392
521
|
* @param {*} [options] Override http request option.
|
|
393
522
|
* @throws {RequiredError}
|
|
394
523
|
*/
|
|
395
|
-
apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
524
|
+
apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
|
|
396
525
|
};
|
|
397
526
|
/**
|
|
398
527
|
* Request parameters for apiV1ChatTenantIdSessionsGet operation in ChatApi.
|
|
@@ -531,6 +660,148 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest {
|
|
|
531
660
|
*/
|
|
532
661
|
readonly sessionId: string;
|
|
533
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsGet operation in ChatApi.
|
|
665
|
+
* @export
|
|
666
|
+
* @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest
|
|
667
|
+
*/
|
|
668
|
+
export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
673
|
+
*/
|
|
674
|
+
readonly tenantId: string;
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
679
|
+
*/
|
|
680
|
+
readonly sessionId: string;
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @type {string}
|
|
684
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
685
|
+
*/
|
|
686
|
+
readonly id?: string;
|
|
687
|
+
/**
|
|
688
|
+
*
|
|
689
|
+
* @type {string}
|
|
690
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
691
|
+
*/
|
|
692
|
+
readonly tenantId2?: string;
|
|
693
|
+
/**
|
|
694
|
+
*
|
|
695
|
+
* @type {string}
|
|
696
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
697
|
+
*/
|
|
698
|
+
readonly userId?: string;
|
|
699
|
+
/**
|
|
700
|
+
*
|
|
701
|
+
* @type {string}
|
|
702
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
703
|
+
*/
|
|
704
|
+
readonly phoneNumber?: string;
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @type {number}
|
|
708
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
709
|
+
*/
|
|
710
|
+
readonly page?: number;
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @type {number}
|
|
714
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
715
|
+
*/
|
|
716
|
+
readonly limit?: number;
|
|
717
|
+
/**
|
|
718
|
+
*
|
|
719
|
+
* @type {Date}
|
|
720
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
|
|
721
|
+
*/
|
|
722
|
+
readonly lastRetrieved?: Date;
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete operation in ChatApi.
|
|
726
|
+
* @export
|
|
727
|
+
* @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest
|
|
728
|
+
*/
|
|
729
|
+
export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest {
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @type {string}
|
|
733
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
|
|
734
|
+
*/
|
|
735
|
+
readonly tenantId: string;
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @type {string}
|
|
739
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
|
|
740
|
+
*/
|
|
741
|
+
readonly sessionId: string;
|
|
742
|
+
/**
|
|
743
|
+
*
|
|
744
|
+
* @type {string}
|
|
745
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
|
|
746
|
+
*/
|
|
747
|
+
readonly intakeFormId: string;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet operation in ChatApi.
|
|
751
|
+
* @export
|
|
752
|
+
* @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest
|
|
753
|
+
*/
|
|
754
|
+
export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest {
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @type {string}
|
|
758
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
|
|
759
|
+
*/
|
|
760
|
+
readonly tenantId: string;
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @type {string}
|
|
764
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
|
|
765
|
+
*/
|
|
766
|
+
readonly sessionId: string;
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @type {string}
|
|
770
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
|
|
771
|
+
*/
|
|
772
|
+
readonly intakeFormId: string;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch operation in ChatApi.
|
|
776
|
+
* @export
|
|
777
|
+
* @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest
|
|
778
|
+
*/
|
|
779
|
+
export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest {
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @type {string}
|
|
783
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
784
|
+
*/
|
|
785
|
+
readonly tenantId: string;
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @type {string}
|
|
789
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
790
|
+
*/
|
|
791
|
+
readonly sessionId: string;
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* @type {string}
|
|
795
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
796
|
+
*/
|
|
797
|
+
readonly intakeFormId: string;
|
|
798
|
+
/**
|
|
799
|
+
*
|
|
800
|
+
* @type {PatchIntakeFormCommand}
|
|
801
|
+
* @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
|
|
802
|
+
*/
|
|
803
|
+
readonly patchIntakeFormCommand?: PatchIntakeFormCommand;
|
|
804
|
+
}
|
|
534
805
|
/**
|
|
535
806
|
* Request parameters for apiV1ChatTenantIdSessionsSessionIdJoinPost operation in ChatApi.
|
|
536
807
|
* @export
|
|
@@ -772,7 +1043,7 @@ export declare class ChatApi extends BaseAPI {
|
|
|
772
1043
|
* @throws {RequiredError}
|
|
773
1044
|
* @memberof ChatApi
|
|
774
1045
|
*/
|
|
775
|
-
apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1046
|
+
apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
776
1047
|
/**
|
|
777
1048
|
*
|
|
778
1049
|
* @summary Convert a guest to a signed-in user.
|
|
@@ -781,7 +1052,7 @@ export declare class ChatApi extends BaseAPI {
|
|
|
781
1052
|
* @throws {RequiredError}
|
|
782
1053
|
* @memberof ChatApi
|
|
783
1054
|
*/
|
|
784
|
-
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1055
|
+
apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
785
1056
|
/**
|
|
786
1057
|
*
|
|
787
1058
|
* @summary Delete a chat session.
|
|
@@ -799,7 +1070,43 @@ export declare class ChatApi extends BaseAPI {
|
|
|
799
1070
|
* @throws {RequiredError}
|
|
800
1071
|
* @memberof ChatApi
|
|
801
1072
|
*/
|
|
802
|
-
apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1073
|
+
apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
1074
|
+
/**
|
|
1075
|
+
*
|
|
1076
|
+
* @summary Get intake forms by session id.
|
|
1077
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
|
|
1078
|
+
* @param {*} [options] Override http request option.
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
* @memberof ChatApi
|
|
1081
|
+
*/
|
|
1082
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeFormsModel, any>>;
|
|
1083
|
+
/**
|
|
1084
|
+
*
|
|
1085
|
+
* @summary Delete intake form by id.
|
|
1086
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
|
|
1087
|
+
* @param {*} [options] Override http request option.
|
|
1088
|
+
* @throws {RequiredError}
|
|
1089
|
+
* @memberof ChatApi
|
|
1090
|
+
*/
|
|
1091
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @summary Get intake form by id.
|
|
1095
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof ChatApi
|
|
1099
|
+
*/
|
|
1100
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
|
|
1101
|
+
/**
|
|
1102
|
+
*
|
|
1103
|
+
* @summary Update intake form by id.
|
|
1104
|
+
* @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
|
|
1105
|
+
* @param {*} [options] Override http request option.
|
|
1106
|
+
* @throws {RequiredError}
|
|
1107
|
+
* @memberof ChatApi
|
|
1108
|
+
*/
|
|
1109
|
+
apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
|
|
803
1110
|
/**
|
|
804
1111
|
*
|
|
805
1112
|
* @summary Join a chat session.
|
|
@@ -817,7 +1124,7 @@ export declare class ChatApi extends BaseAPI {
|
|
|
817
1124
|
* @throws {RequiredError}
|
|
818
1125
|
* @memberof ChatApi
|
|
819
1126
|
*/
|
|
820
|
-
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1127
|
+
apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
821
1128
|
/**
|
|
822
1129
|
*
|
|
823
1130
|
* @summary Get messages from a chat session.
|
|
@@ -862,5 +1169,5 @@ export declare class ChatApi extends BaseAPI {
|
|
|
862
1169
|
* @throws {RequiredError}
|
|
863
1170
|
* @memberof ChatApi
|
|
864
1171
|
*/
|
|
865
|
-
apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1172
|
+
apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
|
|
866
1173
|
}
|