ch-chat-api-typescript-axios 1.4.3 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/api/{migration-api.d.ts → migrations-api.d.ts} +14 -14
  2. package/dist/api/{migration-api.js → migrations-api.js} +27 -27
  3. package/dist/api/migrations-api.js.map +1 -0
  4. package/dist/api/{chat-api.d.ts → sessions-api.d.ts} +374 -307
  5. package/dist/api/{chat-api.js → sessions-api.js} +296 -214
  6. package/dist/api/sessions-api.js.map +1 -0
  7. package/dist/api/whats-apps-api.d.ts +95 -0
  8. package/dist/api/whats-apps-api.js +146 -0
  9. package/dist/api/whats-apps-api.js.map +1 -0
  10. package/dist/api.d.ts +3 -2
  11. package/dist/api.js +3 -2
  12. package/dist/api.js.map +1 -1
  13. package/dist/models/{api-v1-chat-tenant-id-sessions-get401-response-errors.d.ts → api-v1-chat-migrations-post401-response-errors.d.ts} +3 -3
  14. package/dist/models/{api-v1-chat-tenant-id-sessions-get401-response.js → api-v1-chat-migrations-post401-response-errors.js} +1 -1
  15. package/dist/models/api-v1-chat-migrations-post401-response-errors.js.map +1 -0
  16. package/dist/models/{api-v1-chat-tenant-id-sessions-get401-response.d.ts → api-v1-chat-migrations-post401-response.d.ts} +10 -10
  17. package/dist/models/{api-v1-chat-tenant-id-sessions-get401-response-errors.js → api-v1-chat-migrations-post401-response.js} +1 -1
  18. package/dist/models/api-v1-chat-migrations-post401-response.js.map +1 -0
  19. package/dist/models/chat-message.d.ts +7 -0
  20. package/dist/models/chat-send-marketing-template-message-command.d.ts +63 -0
  21. package/dist/models/chat-send-marketing-template-message-command.js +16 -0
  22. package/dist/models/chat-send-marketing-template-message-command.js.map +1 -0
  23. package/dist/models/chat-send-template-message-command.d.ts +38 -0
  24. package/dist/models/chat-send-template-message-command.js +16 -0
  25. package/dist/models/chat-send-template-message-command.js.map +1 -0
  26. package/dist/models/chat-session-model.d.ts +7 -12
  27. package/dist/models/create-chat-session-command.d.ts +3 -8
  28. package/dist/models/index.d.ts +19 -2
  29. package/dist/models/index.js +19 -2
  30. package/dist/models/index.js.map +1 -1
  31. package/dist/models/platform-metadata.d.ts +25 -0
  32. package/dist/models/platform-metadata.js +16 -0
  33. package/dist/models/platform-metadata.js.map +1 -0
  34. package/dist/models/recipient-users.d.ts +30 -0
  35. package/dist/models/recipient-users.js +16 -0
  36. package/dist/models/recipient-users.js.map +1 -0
  37. package/dist/models/template-component-inner-parameter-curreny.d.ts +36 -0
  38. package/dist/models/template-component-inner-parameter-curreny.js +16 -0
  39. package/dist/models/template-component-inner-parameter-curreny.js.map +1 -0
  40. package/dist/models/template-component-inner-parameter-date-time.d.ts +24 -0
  41. package/dist/models/template-component-inner-parameter-date-time.js +16 -0
  42. package/dist/models/template-component-inner-parameter-date-time.js.map +1 -0
  43. package/dist/models/template-component-inner-parameter-document.d.ts +30 -0
  44. package/dist/models/template-component-inner-parameter-document.js +16 -0
  45. package/dist/models/template-component-inner-parameter-document.js.map +1 -0
  46. package/dist/models/template-component-inner-parameter-image.d.ts +24 -0
  47. package/dist/models/template-component-inner-parameter-image.js +16 -0
  48. package/dist/models/template-component-inner-parameter-image.js.map +1 -0
  49. package/dist/models/template-component-inner-parameter-type.d.ts +25 -0
  50. package/dist/models/template-component-inner-parameter-type.js +30 -0
  51. package/dist/models/template-component-inner-parameter-type.js.map +1 -0
  52. package/dist/models/template-component-inner-parameter-video.d.ts +24 -0
  53. package/dist/models/template-component-inner-parameter-video.js +16 -0
  54. package/dist/models/template-component-inner-parameter-video.js.map +1 -0
  55. package/dist/models/template-component-inner-parameter.d.ts +66 -0
  56. package/dist/models/template-component-inner-parameter.js +16 -0
  57. package/dist/models/template-component-inner-parameter.js.map +1 -0
  58. package/dist/models/template-component-type.d.ts +22 -0
  59. package/dist/models/template-component-type.js +27 -0
  60. package/dist/models/template-component-type.js.map +1 -0
  61. package/dist/models/template-component.d.ts +45 -0
  62. package/dist/models/template-component.js +16 -0
  63. package/dist/models/template-component.js.map +1 -0
  64. package/dist/models/template-message-model.d.ts +38 -0
  65. package/dist/models/template-message-model.js +16 -0
  66. package/dist/models/template-message-model.js.map +1 -0
  67. package/dist/models/template-sub-component-type.d.ts +22 -0
  68. package/dist/models/template-sub-component-type.js +27 -0
  69. package/dist/models/template-sub-component-type.js.map +1 -0
  70. package/dist/models/whats-app-language-code.d.ts +130 -0
  71. package/dist/models/whats-app-language-code.js +135 -0
  72. package/dist/models/whats-app-language-code.js.map +1 -0
  73. package/dist/models/whats-app-metadata.d.ts +42 -0
  74. package/dist/models/whats-app-metadata.js +16 -0
  75. package/dist/models/whats-app-metadata.js.map +1 -0
  76. package/package.json +1 -1
  77. package/dist/api/chat-api.js.map +0 -1
  78. package/dist/api/migration-api.js.map +0 -1
  79. package/dist/models/api-v1-chat-tenant-id-sessions-get401-response-errors.js.map +0 -1
  80. package/dist/models/api-v1-chat-tenant-id-sessions-get401-response.js.map +0 -1
@@ -16,6 +16,7 @@ import type { ChatMessage } from '../models';
16
16
  import type { ChatMessagesModel } from '../models';
17
17
  import type { ChatParticipant } from '../models';
18
18
  import type { ChatSendFlowMessageCommand } from '../models';
19
+ import type { ChatSendTemplateMessageCommand } from '../models';
19
20
  import type { ChatSessionModel } from '../models';
20
21
  import type { ChatSessionStatus } from '../models';
21
22
  import type { ChatSessionsModel } from '../models';
@@ -30,10 +31,10 @@ import type { PutChatSessionCommand } from '../models';
30
31
  import type { SortBy } from '../models';
31
32
  import type { TransferManagerCommand } from '../models';
32
33
  /**
33
- * ChatApi - axios parameter creator
34
+ * SessionsApi - axios parameter creator
34
35
  * @export
35
36
  */
36
- export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) => {
37
+ export declare const SessionsApiAxiosParamCreator: (configuration?: Configuration) => {
37
38
  /**
38
39
  *
39
40
  * @summary Get all chat sessions.
@@ -64,6 +65,7 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
64
65
  apiV1ChatTenantIdSessionsPost: (tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
65
66
  /**
66
67
  *
68
+ * @summary Check if a chat session read message
67
69
  * @param {string} tenantId
68
70
  * @param {string} sessionId
69
71
  * @param {*} [options] Override http request option.
@@ -173,6 +175,22 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
173
175
  * @throws {RequiredError}
174
176
  */
175
177
  apiV1ChatTenantIdSessionsSessionIdLeaveDelete: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
178
+ /**
179
+ *
180
+ * @summary Send a message in a chat session.
181
+ * @param {string} tenantId The tenant identifier.
182
+ * @param {string} sessionId The session identifier.
183
+ * @param {File} [file]
184
+ * @param {string} [text]
185
+ * @param {string} [mediaId]
186
+ * @param {string} [caption]
187
+ * @param {string} [link]
188
+ * @param {MessageTypes} [messageType]
189
+ * @param {string} [phoneNumber]
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ apiV1ChatTenantIdSessionsSessionIdMessageSendPost: (tenantId: string, sessionId: string, file?: File, text?: string, mediaId?: string, caption?: string, link?: string, messageType?: MessageTypes, phoneNumber?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
176
194
  /**
177
195
  *
178
196
  * @summary Get messages from a chat session.
@@ -195,22 +213,6 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
195
213
  * @throws {RequiredError}
196
214
  */
197
215
  apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut: (tenantId: string, sessionId: string, messageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
198
- /**
199
- *
200
- * @summary Send a message in a chat session.
201
- * @param {string} tenantId The tenant identifier.
202
- * @param {string} sessionId The session identifier.
203
- * @param {File} [file]
204
- * @param {string} [text]
205
- * @param {string} [mediaId]
206
- * @param {string} [caption]
207
- * @param {string} [link]
208
- * @param {MessageTypes} [messageType]
209
- * @param {string} [phoneNumber]
210
- * @param {*} [options] Override http request option.
211
- * @throws {RequiredError}
212
- */
213
- apiV1ChatTenantIdSessionsSessionIdMessagesPost: (tenantId: string, sessionId: string, file?: File, text?: string, mediaId?: string, caption?: string, link?: string, messageType?: MessageTypes, phoneNumber?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
214
216
  /**
215
217
  *
216
218
  * @summary Update a chat session.
@@ -240,13 +242,23 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
240
242
  * @param {*} [options] Override http request option.
241
243
  * @throws {RequiredError}
242
244
  */
243
- apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost: (tenantId: string, sessionId: string, chatSendFlowMessageCommand?: ChatSendFlowMessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
245
+ apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost: (tenantId: string, sessionId: string, chatSendFlowMessageCommand?: ChatSendFlowMessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
246
+ /**
247
+ *
248
+ * @summary Send whatsapp template message
249
+ * @param {string} tenantId
250
+ * @param {string} sessionId
251
+ * @param {ChatSendTemplateMessageCommand} [chatSendTemplateMessageCommand]
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost: (tenantId: string, sessionId: string, chatSendTemplateMessageCommand?: ChatSendTemplateMessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
244
256
  };
245
257
  /**
246
- * ChatApi - functional programming interface
258
+ * SessionsApi - functional programming interface
247
259
  * @export
248
260
  */
249
- export declare const ChatApiFp: (configuration?: Configuration) => {
261
+ export declare const SessionsApiFp: (configuration?: Configuration) => {
250
262
  /**
251
263
  *
252
264
  * @summary Get all chat sessions.
@@ -277,6 +289,7 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
277
289
  apiV1ChatTenantIdSessionsPost(tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
278
290
  /**
279
291
  *
292
+ * @summary Check if a chat session read message
280
293
  * @param {string} tenantId
281
294
  * @param {string} sessionId
282
295
  * @param {*} [options] Override http request option.
@@ -386,6 +399,22 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
386
399
  * @throws {RequiredError}
387
400
  */
388
401
  apiV1ChatTenantIdSessionsSessionIdLeaveDelete(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
402
+ /**
403
+ *
404
+ * @summary Send a message in a chat session.
405
+ * @param {string} tenantId The tenant identifier.
406
+ * @param {string} sessionId The session identifier.
407
+ * @param {File} [file]
408
+ * @param {string} [text]
409
+ * @param {string} [mediaId]
410
+ * @param {string} [caption]
411
+ * @param {string} [link]
412
+ * @param {MessageTypes} [messageType]
413
+ * @param {string} [phoneNumber]
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ apiV1ChatTenantIdSessionsSessionIdMessageSendPost(tenantId: string, sessionId: string, file?: File, text?: string, mediaId?: string, caption?: string, link?: string, messageType?: MessageTypes, phoneNumber?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
389
418
  /**
390
419
  *
391
420
  * @summary Get messages from a chat session.
@@ -408,22 +437,6 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
408
437
  * @throws {RequiredError}
409
438
  */
410
439
  apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(tenantId: string, sessionId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
411
- /**
412
- *
413
- * @summary Send a message in a chat session.
414
- * @param {string} tenantId The tenant identifier.
415
- * @param {string} sessionId The session identifier.
416
- * @param {File} [file]
417
- * @param {string} [text]
418
- * @param {string} [mediaId]
419
- * @param {string} [caption]
420
- * @param {string} [link]
421
- * @param {MessageTypes} [messageType]
422
- * @param {string} [phoneNumber]
423
- * @param {*} [options] Override http request option.
424
- * @throws {RequiredError}
425
- */
426
- apiV1ChatTenantIdSessionsSessionIdMessagesPost(tenantId: string, sessionId: string, file?: File, text?: string, mediaId?: string, caption?: string, link?: string, messageType?: MessageTypes, phoneNumber?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
427
440
  /**
428
441
  *
429
442
  * @summary Update a chat session.
@@ -453,923 +466,977 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
453
466
  * @param {*} [options] Override http request option.
454
467
  * @throws {RequiredError}
455
468
  */
456
- apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost(tenantId: string, sessionId: string, chatSendFlowMessageCommand?: ChatSendFlowMessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
469
+ apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost(tenantId: string, sessionId: string, chatSendFlowMessageCommand?: ChatSendFlowMessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
470
+ /**
471
+ *
472
+ * @summary Send whatsapp template message
473
+ * @param {string} tenantId
474
+ * @param {string} sessionId
475
+ * @param {ChatSendTemplateMessageCommand} [chatSendTemplateMessageCommand]
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost(tenantId: string, sessionId: string, chatSendTemplateMessageCommand?: ChatSendTemplateMessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
457
480
  };
458
481
  /**
459
- * ChatApi - factory interface
482
+ * SessionsApi - factory interface
460
483
  * @export
461
484
  */
462
- export declare const ChatApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
485
+ export declare const SessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
463
486
  /**
464
487
  *
465
488
  * @summary Get all chat sessions.
466
- * @param {ChatApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
489
+ * @param {SessionsApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
467
490
  * @param {*} [options] Override http request option.
468
491
  * @throws {RequiredError}
469
492
  */
470
- apiV1ChatTenantIdSessionsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
493
+ apiV1ChatTenantIdSessionsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
471
494
  /**
472
495
  *
473
496
  * @summary Create a chat session.
474
- * @param {ChatApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
497
+ * @param {SessionsApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
475
498
  * @param {*} [options] Override http request option.
476
499
  * @throws {RequiredError}
477
500
  */
478
- apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
501
+ apiV1ChatTenantIdSessionsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
479
502
  /**
480
503
  *
481
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest} requestParameters Request parameters.
504
+ * @summary Check if a chat session read message
505
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest} requestParameters Request parameters.
482
506
  * @param {*} [options] Override http request option.
483
507
  * @throws {RequiredError}
484
508
  */
485
- apiV1ChatTenantIdSessionsSessionIdCheckPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
509
+ apiV1ChatTenantIdSessionsSessionIdCheckPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
486
510
  /**
487
511
  *
488
512
  * @summary Convert a guest to a signed-in user.
489
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest} requestParameters Request parameters.
513
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest} requestParameters Request parameters.
490
514
  * @param {*} [options] Override http request option.
491
515
  * @throws {RequiredError}
492
516
  */
493
- apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
517
+ apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
494
518
  /**
495
519
  *
496
520
  * @summary Delete a chat session.
497
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
521
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
498
522
  * @param {*} [options] Override http request option.
499
523
  * @throws {RequiredError}
500
524
  */
501
- apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
525
+ apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
502
526
  /**
503
527
  *
504
528
  * @summary Get chat session by session Id.
505
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
529
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
506
530
  * @param {*} [options] Override http request option.
507
531
  * @throws {RequiredError}
508
532
  */
509
- apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
533
+ apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
510
534
  /**
511
535
  *
512
536
  * @summary Get intake forms by session id.
513
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
537
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
514
538
  * @param {*} [options] Override http request option.
515
539
  * @throws {RequiredError}
516
540
  */
517
- apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeFormsModel>;
541
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeFormsModel>;
518
542
  /**
519
543
  *
520
544
  * @summary Delete intake form by id.
521
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
545
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
522
546
  * @param {*} [options] Override http request option.
523
547
  * @throws {RequiredError}
524
548
  */
525
- apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
549
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
526
550
  /**
527
551
  *
528
552
  * @summary Get intake form by id.
529
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
553
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
530
554
  * @param {*} [options] Override http request option.
531
555
  * @throws {RequiredError}
532
556
  */
533
- apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
557
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
534
558
  /**
535
559
  *
536
560
  * @summary Update intake form by id.
537
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
561
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
538
562
  * @param {*} [options] Override http request option.
539
563
  * @throws {RequiredError}
540
564
  */
541
- apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
565
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
542
566
  /**
543
567
  *
544
568
  * @summary Create a new intake form.
545
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest} requestParameters Request parameters.
569
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest} requestParameters Request parameters.
546
570
  * @param {*} [options] Override http request option.
547
571
  * @throws {RequiredError}
548
572
  */
549
- apiV1ChatTenantIdSessionsSessionIdIntakeformsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
573
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntakeForm>;
550
574
  /**
551
575
  *
552
576
  * @summary Join a chat session.
553
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
577
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
554
578
  * @param {*} [options] Override http request option.
555
579
  * @throws {RequiredError}
556
580
  */
557
- apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatParticipant>;
581
+ apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatParticipant>;
558
582
  /**
559
583
  *
560
584
  * @summary Leave a chat session.
561
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
585
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
562
586
  * @param {*} [options] Override http request option.
563
587
  * @throws {RequiredError}
564
588
  */
565
- apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
589
+ apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
566
590
  /**
567
591
  *
568
- * @summary Get messages from a chat session.
569
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
592
+ * @summary Send a message in a chat session.
593
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest} requestParameters Request parameters.
570
594
  * @param {*} [options] Override http request option.
571
595
  * @throws {RequiredError}
572
596
  */
573
- apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesModel>;
597
+ apiV1ChatTenantIdSessionsSessionIdMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
574
598
  /**
575
599
  *
576
- * @summary Reactivate expired media in a chat message.
577
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest} requestParameters Request parameters.
600
+ * @summary Get messages from a chat session.
601
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
578
602
  * @param {*} [options] Override http request option.
579
603
  * @throws {RequiredError}
580
604
  */
581
- apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
605
+ apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesModel>;
582
606
  /**
583
607
  *
584
- * @summary Send a message in a chat session.
585
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
608
+ * @summary Reactivate expired media in a chat message.
609
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest} requestParameters Request parameters.
586
610
  * @param {*} [options] Override http request option.
587
611
  * @throws {RequiredError}
588
612
  */
589
- apiV1ChatTenantIdSessionsSessionIdMessagesPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
613
+ apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
590
614
  /**
591
615
  *
592
616
  * @summary Update a chat session.
593
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
617
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
594
618
  * @param {*} [options] Override http request option.
595
619
  * @throws {RequiredError}
596
620
  */
597
- apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
621
+ apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
598
622
  /**
599
623
  *
600
624
  * @summary Transfer a chat session agent.
601
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
625
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
602
626
  * @param {*} [options] Override http request option.
603
627
  * @throws {RequiredError}
604
628
  */
605
- apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
629
+ apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
606
630
  /**
607
631
  *
608
632
  * @summary Send whatsapp flow message
609
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPostRequest} requestParameters Request parameters.
633
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest} requestParameters Request parameters.
610
634
  * @param {*} [options] Override http request option.
611
635
  * @throws {RequiredError}
612
636
  */
613
- apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
637
+ apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
638
+ /**
639
+ *
640
+ * @summary Send whatsapp template message
641
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest} requestParameters Request parameters.
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ */
645
+ apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
614
646
  };
615
647
  /**
616
- * Request parameters for apiV1ChatTenantIdSessionsGet operation in ChatApi.
648
+ * Request parameters for apiV1ChatTenantIdSessionsGet operation in SessionsApi.
617
649
  * @export
618
- * @interface ChatApiApiV1ChatTenantIdSessionsGetRequest
650
+ * @interface SessionsApiApiV1ChatTenantIdSessionsGetRequest
619
651
  */
620
- export interface ChatApiApiV1ChatTenantIdSessionsGetRequest {
652
+ export interface SessionsApiApiV1ChatTenantIdSessionsGetRequest {
621
653
  /**
622
654
  * The tenant identifier.
623
655
  * @type {string}
624
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
656
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
625
657
  */
626
658
  readonly tenantId: string;
627
659
  /**
628
660
  *
629
661
  * @type {string}
630
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
662
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
631
663
  */
632
664
  readonly id?: string;
633
665
  /**
634
666
  *
635
667
  * @type {Array<string>}
636
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
668
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
637
669
  */
638
670
  readonly assigneeIds?: Array<string>;
639
671
  /**
640
672
  *
641
673
  * @type {Array<ChatSessionStatus>}
642
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
674
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
643
675
  */
644
676
  readonly chatSessionStatus?: Array<ChatSessionStatus>;
645
677
  /**
646
678
  *
647
679
  * @type {string}
648
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
680
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
649
681
  */
650
682
  readonly title?: string;
651
683
  /**
652
684
  *
653
685
  * @type {string}
654
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
686
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
655
687
  */
656
688
  readonly userName?: string;
657
689
  /**
658
690
  *
659
691
  * @type {string}
660
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
692
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
661
693
  */
662
694
  readonly userEmail?: string;
663
695
  /**
664
696
  *
665
697
  * @type {SortBy}
666
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
698
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
667
699
  */
668
700
  readonly sortBy?: SortBy;
669
701
  /**
670
702
  *
671
703
  * @type {boolean}
672
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
704
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
673
705
  */
674
706
  readonly isRead?: boolean;
675
707
  /**
676
708
  *
677
709
  * @type {number}
678
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
710
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
679
711
  */
680
712
  readonly page?: number;
681
713
  /**
682
714
  *
683
715
  * @type {number}
684
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
716
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
685
717
  */
686
718
  readonly limit?: number;
687
719
  /**
688
720
  *
689
721
  * @type {Date}
690
- * @memberof ChatApiApiV1ChatTenantIdSessionsGet
722
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsGet
691
723
  */
692
724
  readonly lastRetrieved?: Date;
693
725
  }
694
726
  /**
695
- * Request parameters for apiV1ChatTenantIdSessionsPost operation in ChatApi.
727
+ * Request parameters for apiV1ChatTenantIdSessionsPost operation in SessionsApi.
696
728
  * @export
697
- * @interface ChatApiApiV1ChatTenantIdSessionsPostRequest
729
+ * @interface SessionsApiApiV1ChatTenantIdSessionsPostRequest
698
730
  */
699
- export interface ChatApiApiV1ChatTenantIdSessionsPostRequest {
731
+ export interface SessionsApiApiV1ChatTenantIdSessionsPostRequest {
700
732
  /**
701
733
  * The tenant identifier.
702
734
  * @type {string}
703
- * @memberof ChatApiApiV1ChatTenantIdSessionsPost
735
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsPost
704
736
  */
705
737
  readonly tenantId: string;
706
738
  /**
707
739
  * The command to create a chat session.
708
740
  * @type {CreateChatSessionCommand}
709
- * @memberof ChatApiApiV1ChatTenantIdSessionsPost
741
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsPost
710
742
  */
711
743
  readonly createChatSessionCommand?: CreateChatSessionCommand;
712
744
  }
713
745
  /**
714
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdCheckPost operation in ChatApi.
746
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdCheckPost operation in SessionsApi.
715
747
  * @export
716
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest
748
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest
717
749
  */
718
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest {
750
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest {
719
751
  /**
720
752
  *
721
753
  * @type {string}
722
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPost
754
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPost
723
755
  */
724
756
  readonly tenantId: string;
725
757
  /**
726
758
  *
727
759
  * @type {string}
728
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPost
760
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPost
729
761
  */
730
762
  readonly sessionId: string;
731
763
  }
732
764
  /**
733
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost operation in ChatApi.
765
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost operation in SessionsApi.
734
766
  * @export
735
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest
767
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest
736
768
  */
737
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest {
769
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest {
738
770
  /**
739
771
  * The tenant identifier.
740
772
  * @type {string}
741
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost
773
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost
742
774
  */
743
775
  readonly tenantId: string;
744
776
  /**
745
777
  * The session identifier.
746
778
  * @type {string}
747
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost
779
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost
748
780
  */
749
781
  readonly sessionId: string;
750
782
  }
751
783
  /**
752
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdDelete operation in ChatApi.
784
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdDelete operation in SessionsApi.
753
785
  * @export
754
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest
786
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest
755
787
  */
756
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest {
788
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest {
757
789
  /**
758
790
  * The tenant identifier.
759
791
  * @type {string}
760
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdDelete
792
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdDelete
761
793
  */
762
794
  readonly tenantId: string;
763
795
  /**
764
796
  * The session identifier.
765
797
  * @type {string}
766
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdDelete
798
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdDelete
767
799
  */
768
800
  readonly sessionId: string;
769
801
  }
770
802
  /**
771
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdGet operation in ChatApi.
803
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdGet operation in SessionsApi.
772
804
  * @export
773
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest
805
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest
774
806
  */
775
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest {
807
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest {
776
808
  /**
777
809
  * The tenant identifier.
778
810
  * @type {string}
779
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdGet
811
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdGet
780
812
  */
781
813
  readonly tenantId: string;
782
814
  /**
783
815
  * The session identifier.
784
816
  * @type {string}
785
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdGet
817
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdGet
786
818
  */
787
819
  readonly sessionId: string;
788
820
  }
789
821
  /**
790
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsGet operation in ChatApi.
822
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsGet operation in SessionsApi.
791
823
  * @export
792
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest
824
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest
793
825
  */
794
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest {
826
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest {
795
827
  /**
796
828
  *
797
829
  * @type {string}
798
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
830
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
799
831
  */
800
832
  readonly tenantId: string;
801
833
  /**
802
834
  *
803
835
  * @type {string}
804
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
836
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
805
837
  */
806
838
  readonly sessionId: string;
807
839
  /**
808
840
  *
809
841
  * @type {string}
810
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
842
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
811
843
  */
812
844
  readonly id?: string;
813
845
  /**
814
846
  *
815
847
  * @type {string}
816
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
848
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
817
849
  */
818
850
  readonly tenantId2?: string;
819
851
  /**
820
852
  *
821
853
  * @type {string}
822
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
854
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
823
855
  */
824
856
  readonly userId?: string;
825
857
  /**
826
858
  *
827
859
  * @type {string}
828
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
860
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
829
861
  */
830
862
  readonly phoneNumber?: string;
831
863
  /**
832
864
  *
833
865
  * @type {number}
834
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
866
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
835
867
  */
836
868
  readonly page?: number;
837
869
  /**
838
870
  *
839
871
  * @type {number}
840
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
872
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
841
873
  */
842
874
  readonly limit?: number;
843
875
  /**
844
876
  *
845
877
  * @type {Date}
846
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
878
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGet
847
879
  */
848
880
  readonly lastRetrieved?: Date;
849
881
  }
850
882
  /**
851
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete operation in ChatApi.
883
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete operation in SessionsApi.
852
884
  * @export
853
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest
885
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest
854
886
  */
855
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest {
887
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest {
856
888
  /**
857
889
  *
858
890
  * @type {string}
859
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
891
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
860
892
  */
861
893
  readonly tenantId: string;
862
894
  /**
863
895
  *
864
896
  * @type {string}
865
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
897
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
866
898
  */
867
899
  readonly sessionId: string;
868
900
  /**
869
901
  *
870
902
  * @type {string}
871
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
903
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete
872
904
  */
873
905
  readonly intakeFormId: string;
874
906
  }
875
907
  /**
876
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet operation in ChatApi.
908
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet operation in SessionsApi.
877
909
  * @export
878
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest
910
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest
879
911
  */
880
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest {
912
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest {
881
913
  /**
882
914
  *
883
915
  * @type {string}
884
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
916
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
885
917
  */
886
918
  readonly tenantId: string;
887
919
  /**
888
920
  *
889
921
  * @type {string}
890
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
922
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
891
923
  */
892
924
  readonly sessionId: string;
893
925
  /**
894
926
  *
895
927
  * @type {string}
896
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
928
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet
897
929
  */
898
930
  readonly intakeFormId: string;
899
931
  }
900
932
  /**
901
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch operation in ChatApi.
933
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch operation in SessionsApi.
902
934
  * @export
903
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest
935
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest
904
936
  */
905
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest {
937
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest {
906
938
  /**
907
939
  *
908
940
  * @type {string}
909
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
941
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
910
942
  */
911
943
  readonly tenantId: string;
912
944
  /**
913
945
  *
914
946
  * @type {string}
915
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
947
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
916
948
  */
917
949
  readonly sessionId: string;
918
950
  /**
919
951
  *
920
952
  * @type {string}
921
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
953
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
922
954
  */
923
955
  readonly intakeFormId: string;
924
956
  /**
925
957
  *
926
958
  * @type {PatchIntakeFormCommand}
927
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
959
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch
928
960
  */
929
961
  readonly patchIntakeFormCommand?: PatchIntakeFormCommand;
930
962
  }
931
963
  /**
932
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsPost operation in ChatApi.
964
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdIntakeformsPost operation in SessionsApi.
933
965
  * @export
934
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest
966
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest
935
967
  */
936
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest {
968
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest {
937
969
  /**
938
970
  *
939
971
  * @type {string}
940
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
972
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
941
973
  */
942
974
  readonly tenantId: string;
943
975
  /**
944
976
  *
945
977
  * @type {string}
946
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
978
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
947
979
  */
948
980
  readonly sessionId: string;
949
981
  /**
950
982
  *
951
983
  * @type {CreateIntakeFormCommand}
952
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
984
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPost
953
985
  */
954
986
  readonly createIntakeFormCommand?: CreateIntakeFormCommand;
955
987
  }
956
988
  /**
957
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdJoinPost operation in ChatApi.
989
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdJoinPost operation in SessionsApi.
958
990
  * @export
959
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest
991
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest
960
992
  */
961
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest {
993
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest {
962
994
  /**
963
995
  * The tenant identifier.
964
996
  * @type {string}
965
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPost
997
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPost
966
998
  */
967
999
  readonly tenantId: string;
968
1000
  /**
969
1001
  * The session identifier.
970
1002
  * @type {string}
971
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPost
1003
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPost
972
1004
  */
973
1005
  readonly sessionId: string;
974
1006
  /**
975
1007
  * The command to join a chat session.
976
1008
  * @type {JoinChatSessionCommand}
977
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPost
1009
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPost
978
1010
  */
979
1011
  readonly joinChatSessionCommand?: JoinChatSessionCommand;
980
1012
  }
981
1013
  /**
982
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdLeaveDelete operation in ChatApi.
1014
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdLeaveDelete operation in SessionsApi.
983
1015
  * @export
984
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest
1016
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest
985
1017
  */
986
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest {
1018
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest {
987
1019
  /**
988
1020
  * The tenant identifier.
989
1021
  * @type {string}
990
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
1022
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
991
1023
  */
992
1024
  readonly tenantId: string;
993
1025
  /**
994
1026
  * The session identifier.
995
1027
  * @type {string}
996
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
1028
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
997
1029
  */
998
1030
  readonly sessionId: string;
999
1031
  }
1000
1032
  /**
1001
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesGet operation in ChatApi.
1033
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdMessageSendPost operation in SessionsApi.
1002
1034
  * @export
1003
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest
1035
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest
1004
1036
  */
1005
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest {
1037
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest {
1006
1038
  /**
1007
1039
  * The tenant identifier.
1008
1040
  * @type {string}
1009
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1041
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1010
1042
  */
1011
1043
  readonly tenantId: string;
1012
1044
  /**
1013
1045
  * The session identifier.
1014
1046
  * @type {string}
1015
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1047
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1016
1048
  */
1017
1049
  readonly sessionId: string;
1018
1050
  /**
1019
1051
  *
1020
- * @type {number}
1021
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1052
+ * @type {File}
1053
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1022
1054
  */
1023
- readonly page?: number;
1055
+ readonly file?: File;
1024
1056
  /**
1025
1057
  *
1026
- * @type {number}
1027
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1058
+ * @type {string}
1059
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1028
1060
  */
1029
- readonly limit?: number;
1061
+ readonly text?: string;
1030
1062
  /**
1031
1063
  *
1032
- * @type {Date}
1033
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1064
+ * @type {string}
1065
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1034
1066
  */
1035
- readonly lastRetrieved?: Date;
1036
- }
1037
- /**
1038
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut operation in ChatApi.
1039
- * @export
1040
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest
1041
- */
1042
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest {
1067
+ readonly mediaId?: string;
1043
1068
  /**
1044
- * The tenant identifier.
1069
+ *
1045
1070
  * @type {string}
1046
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
1071
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1047
1072
  */
1048
- readonly tenantId: string;
1073
+ readonly caption?: string;
1049
1074
  /**
1050
- * The session identifier.
1075
+ *
1051
1076
  * @type {string}
1052
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
1077
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1053
1078
  */
1054
- readonly sessionId: string;
1079
+ readonly link?: string;
1080
+ /**
1081
+ *
1082
+ * @type {MessageTypes}
1083
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1084
+ */
1085
+ readonly messageType?: MessageTypes;
1055
1086
  /**
1056
1087
  *
1057
1088
  * @type {string}
1058
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
1089
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPost
1059
1090
  */
1060
- readonly messageId: string;
1091
+ readonly phoneNumber?: string;
1061
1092
  }
1062
1093
  /**
1063
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesPost operation in ChatApi.
1094
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesGet operation in SessionsApi.
1064
1095
  * @export
1065
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest
1096
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest
1066
1097
  */
1067
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest {
1098
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest {
1068
1099
  /**
1069
1100
  * The tenant identifier.
1070
1101
  * @type {string}
1071
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1102
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1072
1103
  */
1073
1104
  readonly tenantId: string;
1074
1105
  /**
1075
1106
  * The session identifier.
1076
1107
  * @type {string}
1077
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1108
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1078
1109
  */
1079
1110
  readonly sessionId: string;
1080
1111
  /**
1081
1112
  *
1082
- * @type {File}
1083
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1113
+ * @type {number}
1114
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1084
1115
  */
1085
- readonly file?: File;
1116
+ readonly page?: number;
1086
1117
  /**
1087
1118
  *
1088
- * @type {string}
1089
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1119
+ * @type {number}
1120
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1090
1121
  */
1091
- readonly text?: string;
1122
+ readonly limit?: number;
1092
1123
  /**
1093
1124
  *
1094
- * @type {string}
1095
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1125
+ * @type {Date}
1126
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
1096
1127
  */
1097
- readonly mediaId?: string;
1128
+ readonly lastRetrieved?: Date;
1129
+ }
1130
+ /**
1131
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut operation in SessionsApi.
1132
+ * @export
1133
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest
1134
+ */
1135
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest {
1098
1136
  /**
1099
- *
1137
+ * The tenant identifier.
1100
1138
  * @type {string}
1101
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1139
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
1102
1140
  */
1103
- readonly caption?: string;
1141
+ readonly tenantId: string;
1104
1142
  /**
1105
- *
1143
+ * The session identifier.
1106
1144
  * @type {string}
1107
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1108
- */
1109
- readonly link?: string;
1110
- /**
1111
- *
1112
- * @type {MessageTypes}
1113
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1145
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
1114
1146
  */
1115
- readonly messageType?: MessageTypes;
1147
+ readonly sessionId: string;
1116
1148
  /**
1117
1149
  *
1118
1150
  * @type {string}
1119
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
1151
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut
1120
1152
  */
1121
- readonly phoneNumber?: string;
1153
+ readonly messageId: string;
1122
1154
  }
1123
1155
  /**
1124
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdPatch operation in ChatApi.
1156
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdPatch operation in SessionsApi.
1125
1157
  * @export
1126
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest
1158
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest
1127
1159
  */
1128
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest {
1160
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest {
1129
1161
  /**
1130
1162
  * The tenant identifier.
1131
1163
  * @type {string}
1132
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdPatch
1164
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdPatch
1133
1165
  */
1134
1166
  readonly tenantId: string;
1135
1167
  /**
1136
1168
  * The session identifier.
1137
1169
  * @type {string}
1138
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdPatch
1170
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdPatch
1139
1171
  */
1140
1172
  readonly sessionId: string;
1141
1173
  /**
1142
1174
  * The command to update a chat session.
1143
1175
  * @type {PutChatSessionCommand}
1144
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdPatch
1176
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdPatch
1145
1177
  */
1146
1178
  readonly putChatSessionCommand?: PutChatSessionCommand;
1147
1179
  }
1148
1180
  /**
1149
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdTransferPut operation in ChatApi.
1181
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdTransferPut operation in SessionsApi.
1150
1182
  * @export
1151
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest
1183
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest
1152
1184
  */
1153
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest {
1185
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest {
1154
1186
  /**
1155
1187
  * The tenant identifier.
1156
1188
  * @type {string}
1157
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPut
1189
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPut
1158
1190
  */
1159
1191
  readonly tenantId: string;
1160
1192
  /**
1161
1193
  * The session identifier.
1162
1194
  * @type {string}
1163
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPut
1195
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPut
1164
1196
  */
1165
1197
  readonly sessionId: string;
1166
1198
  /**
1167
1199
  * The command to transfer a chat session.
1168
1200
  * @type {TransferManagerCommand}
1169
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPut
1201
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPut
1170
1202
  */
1171
1203
  readonly transferManagerCommand?: TransferManagerCommand;
1172
1204
  }
1173
1205
  /**
1174
- * Request parameters for apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost operation in ChatApi.
1206
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost operation in SessionsApi.
1175
1207
  * @export
1176
- * @interface ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPostRequest
1208
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest
1177
1209
  */
1178
- export interface ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPostRequest {
1210
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest {
1179
1211
  /**
1180
1212
  *
1181
1213
  * @type {string}
1182
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost
1214
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost
1183
1215
  */
1184
1216
  readonly tenantId: string;
1185
1217
  /**
1186
1218
  *
1187
1219
  * @type {string}
1188
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost
1220
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost
1189
1221
  */
1190
1222
  readonly sessionId: string;
1191
1223
  /**
1192
1224
  *
1193
1225
  * @type {ChatSendFlowMessageCommand}
1194
- * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost
1226
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost
1195
1227
  */
1196
1228
  readonly chatSendFlowMessageCommand?: ChatSendFlowMessageCommand;
1197
1229
  }
1198
1230
  /**
1199
- * ChatApi - object-oriented interface
1231
+ * Request parameters for apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost operation in SessionsApi.
1200
1232
  * @export
1201
- * @class ChatApi
1233
+ * @interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest
1234
+ */
1235
+ export interface SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest {
1236
+ /**
1237
+ *
1238
+ * @type {string}
1239
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost
1240
+ */
1241
+ readonly tenantId: string;
1242
+ /**
1243
+ *
1244
+ * @type {string}
1245
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost
1246
+ */
1247
+ readonly sessionId: string;
1248
+ /**
1249
+ *
1250
+ * @type {ChatSendTemplateMessageCommand}
1251
+ * @memberof SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost
1252
+ */
1253
+ readonly chatSendTemplateMessageCommand?: ChatSendTemplateMessageCommand;
1254
+ }
1255
+ /**
1256
+ * SessionsApi - object-oriented interface
1257
+ * @export
1258
+ * @class SessionsApi
1202
1259
  * @extends {BaseAPI}
1203
1260
  */
1204
- export declare class ChatApi extends BaseAPI {
1261
+ export declare class SessionsApi extends BaseAPI {
1205
1262
  /**
1206
1263
  *
1207
1264
  * @summary Get all chat sessions.
1208
- * @param {ChatApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
1265
+ * @param {SessionsApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
1209
1266
  * @param {*} [options] Override http request option.
1210
1267
  * @throws {RequiredError}
1211
- * @memberof ChatApi
1268
+ * @memberof SessionsApi
1212
1269
  */
1213
- apiV1ChatTenantIdSessionsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
1270
+ apiV1ChatTenantIdSessionsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
1214
1271
  /**
1215
1272
  *
1216
1273
  * @summary Create a chat session.
1217
- * @param {ChatApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
1274
+ * @param {SessionsApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
1218
1275
  * @param {*} [options] Override http request option.
1219
1276
  * @throws {RequiredError}
1220
- * @memberof ChatApi
1277
+ * @memberof SessionsApi
1221
1278
  */
1222
- apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1279
+ apiV1ChatTenantIdSessionsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1223
1280
  /**
1224
1281
  *
1225
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest} requestParameters Request parameters.
1282
+ * @summary Check if a chat session read message
1283
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest} requestParameters Request parameters.
1226
1284
  * @param {*} [options] Override http request option.
1227
1285
  * @throws {RequiredError}
1228
- * @memberof ChatApi
1286
+ * @memberof SessionsApi
1229
1287
  */
1230
- apiV1ChatTenantIdSessionsSessionIdCheckPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1288
+ apiV1ChatTenantIdSessionsSessionIdCheckPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdCheckPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1231
1289
  /**
1232
1290
  *
1233
1291
  * @summary Convert a guest to a signed-in user.
1234
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest} requestParameters Request parameters.
1292
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest} requestParameters Request parameters.
1235
1293
  * @param {*} [options] Override http request option.
1236
1294
  * @throws {RequiredError}
1237
- * @memberof ChatApi
1295
+ * @memberof SessionsApi
1238
1296
  */
1239
- apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1297
+ apiV1ChatTenantIdSessionsSessionIdConvertsigninuserPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdConvertsigninuserPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1240
1298
  /**
1241
1299
  *
1242
1300
  * @summary Delete a chat session.
1243
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
1301
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
1244
1302
  * @param {*} [options] Override http request option.
1245
1303
  * @throws {RequiredError}
1246
- * @memberof ChatApi
1304
+ * @memberof SessionsApi
1247
1305
  */
1248
- apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1306
+ apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1249
1307
  /**
1250
1308
  *
1251
1309
  * @summary Get chat session by session Id.
1252
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
1310
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
1253
1311
  * @param {*} [options] Override http request option.
1254
1312
  * @throws {RequiredError}
1255
- * @memberof ChatApi
1313
+ * @memberof SessionsApi
1256
1314
  */
1257
- apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1315
+ apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1258
1316
  /**
1259
1317
  *
1260
1318
  * @summary Get intake forms by session id.
1261
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
1319
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest} requestParameters Request parameters.
1262
1320
  * @param {*} [options] Override http request option.
1263
1321
  * @throws {RequiredError}
1264
- * @memberof ChatApi
1322
+ * @memberof SessionsApi
1265
1323
  */
1266
- apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeFormsModel, any>>;
1324
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeFormsModel, any>>;
1267
1325
  /**
1268
1326
  *
1269
1327
  * @summary Delete intake form by id.
1270
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
1328
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest} requestParameters Request parameters.
1271
1329
  * @param {*} [options] Override http request option.
1272
1330
  * @throws {RequiredError}
1273
- * @memberof ChatApi
1331
+ * @memberof SessionsApi
1274
1332
  */
1275
- apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1333
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1276
1334
  /**
1277
1335
  *
1278
1336
  * @summary Get intake form by id.
1279
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
1337
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest} requestParameters Request parameters.
1280
1338
  * @param {*} [options] Override http request option.
1281
1339
  * @throws {RequiredError}
1282
- * @memberof ChatApi
1340
+ * @memberof SessionsApi
1283
1341
  */
1284
- apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
1342
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
1285
1343
  /**
1286
1344
  *
1287
1345
  * @summary Update intake form by id.
1288
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
1346
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest} requestParameters Request parameters.
1289
1347
  * @param {*} [options] Override http request option.
1290
1348
  * @throws {RequiredError}
1291
- * @memberof ChatApi
1349
+ * @memberof SessionsApi
1292
1350
  */
1293
- apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
1351
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsIntakeFormIdItemsPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
1294
1352
  /**
1295
1353
  *
1296
1354
  * @summary Create a new intake form.
1297
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest} requestParameters Request parameters.
1355
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest} requestParameters Request parameters.
1298
1356
  * @param {*} [options] Override http request option.
1299
1357
  * @throws {RequiredError}
1300
- * @memberof ChatApi
1358
+ * @memberof SessionsApi
1301
1359
  */
1302
- apiV1ChatTenantIdSessionsSessionIdIntakeformsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
1360
+ apiV1ChatTenantIdSessionsSessionIdIntakeformsPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdIntakeformsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntakeForm, any>>;
1303
1361
  /**
1304
1362
  *
1305
1363
  * @summary Join a chat session.
1306
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
1364
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
1307
1365
  * @param {*} [options] Override http request option.
1308
1366
  * @throws {RequiredError}
1309
- * @memberof ChatApi
1367
+ * @memberof SessionsApi
1310
1368
  */
1311
- apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatParticipant, any>>;
1369
+ apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatParticipant, any>>;
1312
1370
  /**
1313
1371
  *
1314
1372
  * @summary Leave a chat session.
1315
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
1373
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
1316
1374
  * @param {*} [options] Override http request option.
1317
1375
  * @throws {RequiredError}
1318
- * @memberof ChatApi
1376
+ * @memberof SessionsApi
1319
1377
  */
1320
- apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1378
+ apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
1321
1379
  /**
1322
1380
  *
1323
- * @summary Get messages from a chat session.
1324
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
1381
+ * @summary Send a message in a chat session.
1382
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest} requestParameters Request parameters.
1325
1383
  * @param {*} [options] Override http request option.
1326
1384
  * @throws {RequiredError}
1327
- * @memberof ChatApi
1385
+ * @memberof SessionsApi
1328
1386
  */
1329
- apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesModel, any>>;
1387
+ apiV1ChatTenantIdSessionsSessionIdMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessageSendPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
1330
1388
  /**
1331
1389
  *
1332
- * @summary Reactivate expired media in a chat message.
1333
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest} requestParameters Request parameters.
1390
+ * @summary Get messages from a chat session.
1391
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
1334
1392
  * @param {*} [options] Override http request option.
1335
1393
  * @throws {RequiredError}
1336
- * @memberof ChatApi
1394
+ * @memberof SessionsApi
1337
1395
  */
1338
- apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
1396
+ apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesModel, any>>;
1339
1397
  /**
1340
1398
  *
1341
- * @summary Send a message in a chat session.
1342
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
1399
+ * @summary Reactivate expired media in a chat message.
1400
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest} requestParameters Request parameters.
1343
1401
  * @param {*} [options] Override http request option.
1344
1402
  * @throws {RequiredError}
1345
- * @memberof ChatApi
1403
+ * @memberof SessionsApi
1346
1404
  */
1347
- apiV1ChatTenantIdSessionsSessionIdMessagesPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
1405
+ apiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdMessagesMessageIdMediaReactivatePutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
1348
1406
  /**
1349
1407
  *
1350
1408
  * @summary Update a chat session.
1351
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
1409
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
1352
1410
  * @param {*} [options] Override http request option.
1353
1411
  * @throws {RequiredError}
1354
- * @memberof ChatApi
1412
+ * @memberof SessionsApi
1355
1413
  */
1356
- apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
1414
+ apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
1357
1415
  /**
1358
1416
  *
1359
1417
  * @summary Transfer a chat session agent.
1360
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
1418
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
1361
1419
  * @param {*} [options] Override http request option.
1362
1420
  * @throws {RequiredError}
1363
- * @memberof ChatApi
1421
+ * @memberof SessionsApi
1364
1422
  */
1365
- apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1423
+ apiV1ChatTenantIdSessionsSessionIdTransferPut(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
1366
1424
  /**
1367
1425
  *
1368
1426
  * @summary Send whatsapp flow message
1369
- * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPostRequest} requestParameters Request parameters.
1427
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest} requestParameters Request parameters.
1428
+ * @param {*} [options] Override http request option.
1429
+ * @throws {RequiredError}
1430
+ * @memberof SessionsApi
1431
+ */
1432
+ apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessageSendPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
1433
+ /**
1434
+ *
1435
+ * @summary Send whatsapp template message
1436
+ * @param {SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest} requestParameters Request parameters.
1370
1437
  * @param {*} [options] Override http request option.
1371
1438
  * @throws {RequiredError}
1372
- * @memberof ChatApi
1439
+ * @memberof SessionsApi
1373
1440
  */
1374
- apiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdWhatsappFlowMessagesPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
1441
+ apiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPost(requestParameters: SessionsApiApiV1ChatTenantIdSessionsSessionIdWhatsappTemplateMessageSendPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
1375
1442
  }