@wildix/wda-stream-client 1.1.67 → 3.1.69

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 (111) hide show
  1. package/dist-cjs/WdaStream.js +3 -3
  2. package/dist-cjs/WdaStreamClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/ConsumeEventCommand.js +10 -11
  6. package/dist-cjs/commands/DescribeEventCommand.js +10 -11
  7. package/dist-cjs/commands/GetConferenceIdCommand.js +10 -11
  8. package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +10 -11
  9. package/dist-cjs/commands/GetOngoingCallCommand.js +10 -11
  10. package/dist-cjs/commands/GetOngoingCallTranscriptionCommand.js +10 -11
  11. package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +10 -11
  12. package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +10 -11
  13. package/dist-cjs/commands/GetOngoingConferenceCommand.js +10 -11
  14. package/dist-cjs/commands/GetOngoingConferenceTranscriptionCommand.js +10 -11
  15. package/dist-cjs/commands/ListServicesCommand.js +10 -11
  16. package/dist-cjs/commands/QueryConversationsCommand.js +10 -11
  17. package/dist-cjs/commands/QueryPresenceCommand.js +10 -11
  18. package/dist-cjs/commands/QueryPresencesCommand.js +10 -11
  19. package/dist-cjs/commands/UpdatePresenceLastSeenCommand.js +10 -11
  20. package/dist-cjs/commands/index.js +2 -2
  21. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  22. package/dist-cjs/endpoint/bdd.js +28 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  24. package/dist-cjs/index.js +5 -1
  25. package/dist-cjs/models/WdaStreamServiceException.js +3 -3
  26. package/dist-cjs/models/enums.js +508 -0
  27. package/dist-cjs/models/errors.js +56 -0
  28. package/dist-cjs/models/models_0.js +0 -660
  29. package/dist-cjs/models/models_1.js +0 -48
  30. package/dist-cjs/runtimeConfig.browser.js +11 -11
  31. package/dist-cjs/runtimeConfig.js +22 -18
  32. package/dist-cjs/runtimeConfig.shared.js +30 -10
  33. package/dist-cjs/runtimeExtensions.js +6 -5
  34. package/dist-cjs/schemas/schemas_0.js +2528 -0
  35. package/dist-es/WdaStream.js +2 -2
  36. package/dist-es/WdaStreamClient.js +30 -22
  37. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  38. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  39. package/dist-es/commands/ConsumeEventCommand.js +9 -10
  40. package/dist-es/commands/DescribeEventCommand.js +9 -10
  41. package/dist-es/commands/GetConferenceIdCommand.js +9 -10
  42. package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +9 -10
  43. package/dist-es/commands/GetOngoingCallCommand.js +9 -10
  44. package/dist-es/commands/GetOngoingCallTranscriptionCommand.js +9 -10
  45. package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +9 -10
  46. package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +9 -10
  47. package/dist-es/commands/GetOngoingConferenceCommand.js +9 -10
  48. package/dist-es/commands/GetOngoingConferenceTranscriptionCommand.js +9 -10
  49. package/dist-es/commands/ListServicesCommand.js +9 -10
  50. package/dist-es/commands/QueryConversationsCommand.js +9 -10
  51. package/dist-es/commands/QueryPresenceCommand.js +9 -10
  52. package/dist-es/commands/QueryPresencesCommand.js +9 -10
  53. package/dist-es/commands/UpdatePresenceLastSeenCommand.js +9 -10
  54. package/dist-es/commands/index.js +2 -2
  55. package/dist-es/endpoint/EndpointParameters.js +12 -0
  56. package/dist-es/endpoint/bdd.js +25 -0
  57. package/dist-es/endpoint/endpointResolver.js +12 -0
  58. package/dist-es/index.js +5 -1
  59. package/dist-es/models/WdaStreamServiceException.js +1 -1
  60. package/dist-es/models/enums.js +504 -0
  61. package/dist-es/models/errors.js +49 -0
  62. package/dist-es/models/models_0.js +1 -656
  63. package/dist-es/models/models_1.js +1 -45
  64. package/dist-es/runtimeConfig.browser.js +7 -7
  65. package/dist-es/runtimeConfig.js +17 -13
  66. package/dist-es/runtimeConfig.shared.js +24 -4
  67. package/dist-es/runtimeExtensions.js +6 -5
  68. package/dist-es/schemas/schemas_0.js +2519 -0
  69. package/dist-types/WdaStream.d.ts +16 -16
  70. package/dist-types/WdaStreamClient.d.ts +45 -27
  71. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  72. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  73. package/dist-types/commands/ConsumeEventCommand.d.ts +16 -7
  74. package/dist-types/commands/DescribeEventCommand.d.ts +24 -18
  75. package/dist-types/commands/GetConferenceIdCommand.d.ts +11 -7
  76. package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +13 -9
  77. package/dist-types/commands/GetOngoingCallCommand.d.ts +13 -9
  78. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +14 -10
  79. package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +11 -7
  80. package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +11 -7
  81. package/dist-types/commands/GetOngoingConferenceCommand.d.ts +11 -7
  82. package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +11 -7
  83. package/dist-types/commands/ListServicesCommand.d.ts +11 -7
  84. package/dist-types/commands/QueryConversationsCommand.d.ts +13 -9
  85. package/dist-types/commands/QueryPresenceCommand.d.ts +12 -7
  86. package/dist-types/commands/QueryPresencesCommand.d.ts +11 -7
  87. package/dist-types/commands/UpdatePresenceLastSeenCommand.d.ts +11 -7
  88. package/dist-types/commands/index.d.ts +2 -2
  89. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  90. package/dist-types/endpoint/bdd.d.ts +2 -0
  91. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  92. package/dist-types/extensionConfiguration.d.ts +4 -3
  93. package/dist-types/index.d.ts +6 -1
  94. package/dist-types/models/WdaStreamServiceException.d.ts +1 -1
  95. package/dist-types/models/enums.d.ts +1088 -0
  96. package/dist-types/models/errors.d.ts +46 -0
  97. package/dist-types/models/models_0.d.ts +1111 -1206
  98. package/dist-types/models/models_1.d.ts +3 -982
  99. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  100. package/dist-types/runtimeConfig.d.ts +34 -15
  101. package/dist-types/runtimeConfig.native.d.ts +36 -17
  102. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  103. package/dist-types/runtimeExtensions.d.ts +1 -1
  104. package/dist-types/schemas/schemas_0.d.ts +333 -0
  105. package/package.json +14 -40
  106. package/dist-cjs/models/index.js +0 -5
  107. package/dist-cjs/protocols/Aws_restJson1.js +0 -1340
  108. package/dist-es/models/index.js +0 -2
  109. package/dist-es/protocols/Aws_restJson1.js +0 -1307
  110. package/dist-types/models/index.d.ts +0 -2
  111. package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
@@ -1,54 +1,5 @@
1
- import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
2
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
- import { DocumentType as __DocumentType } from "@smithy/types";
4
- /**
5
- * @public
6
- */
7
- export declare class ForbiddenException extends __BaseException {
8
- readonly name: "ForbiddenException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
- }
15
- /**
16
- * @public
17
- */
18
- export declare class ValidationException extends __BaseException {
19
- readonly name: "ValidationException";
20
- readonly $fault: "client";
21
- /**
22
- * @internal
23
- */
24
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
25
- }
26
- /**
27
- * @public
28
- * @enum
29
- */
30
- export declare const CallDirection: {
31
- readonly INBOUND: "INBOUND";
32
- readonly INTERNAL: "INTERNAL";
33
- readonly OUTBOUND: "OUTBOUND";
34
- readonly UNDEFINED: "UNDEFINED";
35
- };
36
- /**
37
- * @public
38
- */
39
- export type CallDirection = typeof CallDirection[keyof typeof CallDirection];
40
- /**
41
- * @public
42
- * @enum
43
- */
44
- export declare const ConversationStatus: {
45
- readonly COMPLETED: "COMPLETED";
46
- readonly MISSED: "MISSED";
47
- };
48
- /**
49
- * @public
50
- */
51
- export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
1
+ import type { DocumentType as __DocumentType } from "@smithy/types";
2
+ import type { AnnotationSourceType, AnnotationsStatus, ButtonVariant, CallAnalyticsLiveProgressEventTrigger, CallConsumeEventType, CallDevice, CallDirection, CallEndBy, CallEndConsume, CallEventType, CallFlowAttachmentConsumeType, CallFlowAttachmentStatus, CallFlowAttachmentType, CallFlowConsumeStatus, CallFlowStatus, CallFlowTranscriptionStatus, CallParticipantRole, CallParticipantType, CallRecordOwner, CallRecordPauseReason, CallRtpIpFamily, CallTranscriptionSpeaker, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelType, ChannelWhatsAppStatus, ChatConsumeEventType, ChatDirection, ChatEventType, ChatParticipantRole, ChatParticipantType, ChatStatus, ChatTag, ConferenceConsumeDirection, ConferenceConsumeEventType, ConferenceDirection, ConferenceEventType, ConferenceParticipantRole, ConferenceParticipantType, ConferenceTranscriptionSentiment, ConferenceTranscriptionStatus, ConversationStatus, LanguageDetection, License, LiveEventType, MessageSmsStatus, MessageType, MessageWhatsAppStatus, PbxLicenseType, PresenceAnalyticsEventType, PresenceConsumeEventType, PresenceEventType, PresenceStatus, RecordType, ServiceAgentType, ServiceAnalyticsEventTrigger, ServiceCallAction, ServiceCallEventType, ServiceConsumeEventType, ServiceEventType, SmsChannelType, SmsConsumeEventType, SmsStatus, TelephonyStatus, TranscriptionSentiment, UsageEventType, WebhookEventType, WebsocketAction, WebsocketEvent, WebsocketTopic, WhatsAppEventType, WhatsAppStatus } from "./enums";
52
3
  /**
53
4
  * @public
54
5
  */
@@ -61,20 +12,8 @@ export interface TemplateParameter {
61
12
  */
62
13
  export interface TemplateWithParameters {
63
14
  name: string;
64
- parameters?: (TemplateParameter)[] | undefined;
15
+ parameters?: TemplateParameter[] | undefined;
65
16
  }
66
- /**
67
- * @public
68
- * @enum
69
- */
70
- export declare const WhatsAppEventType: {
71
- readonly WHATSAPP_INBOUND: "WHATSAPP.INBOUND";
72
- readonly WHATSAPP_STATUS: "WHATSAPP.STATUS";
73
- };
74
- /**
75
- * @public
76
- */
77
- export type WhatsAppEventType = typeof WhatsAppEventType[keyof typeof WhatsAppEventType];
78
17
  /**
79
18
  * @public
80
19
  */
@@ -87,25 +26,9 @@ export interface WhatsAppInboundEventData {
87
26
  */
88
27
  id: string;
89
28
  message: string;
90
- media?: (string)[] | undefined;
29
+ media?: string[] | undefined;
91
30
  quoteMessageId?: string | undefined;
92
31
  }
93
- /**
94
- * @public
95
- * @enum
96
- */
97
- export declare const WhatsAppStatus: {
98
- readonly CHANNEL_CLOSED: "24H_CHANNEL_CLOSED";
99
- readonly DELETED: "DELETED";
100
- readonly DELIVERED: "DELIVERED";
101
- readonly ERROR: "ERROR";
102
- readonly READ: "READ";
103
- readonly SENT: "SENT";
104
- };
105
- /**
106
- * @public
107
- */
108
- export type WhatsAppStatus = typeof WhatsAppStatus[keyof typeof WhatsAppStatus];
109
32
  /**
110
33
  * @public
111
34
  */
@@ -186,6 +109,10 @@ export declare namespace AnnotationPayload {
186
109
  result?: never;
187
110
  $unknown: [string, any];
188
111
  }
112
+ /**
113
+ * @deprecated unused in schema-serde mode.
114
+ *
115
+ */
189
116
  interface Visitor<T> {
190
117
  tag: (value: string) => T;
191
118
  text: (value: string) => T;
@@ -193,22 +120,7 @@ export declare namespace AnnotationPayload {
193
120
  result: (value: AnnotationResultValue) => T;
194
121
  _: (name: string, value: any) => T;
195
122
  }
196
- const visit: <T>(value: AnnotationPayload, visitor: Visitor<T>) => T;
197
123
  }
198
- /**
199
- * @public
200
- * @enum
201
- */
202
- export declare const AnnotationSourceType: {
203
- readonly CHATBOT: "chatbot";
204
- readonly SYSTEM: "system";
205
- readonly USER: "user";
206
- readonly VOICEBOT: "voicebot";
207
- };
208
- /**
209
- * @public
210
- */
211
- export type AnnotationSourceType = typeof AnnotationSourceType[keyof typeof AnnotationSourceType];
212
124
  /**
213
125
  * Producer of an annotation. Generic identifiers allow callers to attach context such as tool id/name, user id/name, etc., without constraining the source type to a fixed shape.
214
126
  * @public
@@ -239,49 +151,6 @@ export interface Annotation {
239
151
  */
240
152
  source: AnnotationSource;
241
153
  }
242
- /**
243
- * @public
244
- * @enum
245
- */
246
- export declare const License: {
247
- readonly UC: "uc";
248
- readonly XBEES: "x-bees";
249
- };
250
- /**
251
- * @public
252
- */
253
- export type License = typeof License[keyof typeof License];
254
- /**
255
- * @public
256
- * @enum
257
- */
258
- export declare const RecordType: {
259
- readonly CALL: "call";
260
- readonly CALL_ANNOTATIONS: "call_annotations";
261
- readonly CALL_TRANSCRIPTION: "call_transcription";
262
- readonly CHAT: "chat";
263
- readonly CHAT_ANNOTATIONS: "chat_annotations";
264
- readonly CHAT_TRANSCRIPTION: "chat_transcription";
265
- readonly CONFERENCE: "conference";
266
- readonly CONFERENCE_ANNOTATIONS: "conference_annotations";
267
- readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
268
- };
269
- /**
270
- * @public
271
- */
272
- export type RecordType = typeof RecordType[keyof typeof RecordType];
273
- /**
274
- * @public
275
- * @enum
276
- */
277
- export declare const AnnotationsStatus: {
278
- readonly AVAILABLE: "AVAILABLE";
279
- readonly UNAVAILABLE: "UNAVAILABLE";
280
- };
281
- /**
282
- * @public
283
- */
284
- export type AnnotationsStatus = typeof AnnotationsStatus[keyof typeof AnnotationsStatus];
285
154
  /**
286
155
  * @public
287
156
  */
@@ -295,31 +164,6 @@ export interface CallFlowAttachmentDestination {
295
164
  groupId?: string | undefined;
296
165
  groupName?: string | undefined;
297
166
  }
298
- /**
299
- * @public
300
- * @enum
301
- */
302
- export declare const CallRecordOwner: {
303
- readonly CALLEE: "callee";
304
- readonly CALLER: "caller";
305
- readonly SYSTEM: "system";
306
- };
307
- /**
308
- * @public
309
- */
310
- export type CallRecordOwner = typeof CallRecordOwner[keyof typeof CallRecordOwner];
311
- /**
312
- * @public
313
- * @enum
314
- */
315
- export declare const CallFlowAttachmentStatus: {
316
- readonly ERROR: "error";
317
- readonly OK: "ok";
318
- };
319
- /**
320
- * @public
321
- */
322
- export type CallFlowAttachmentStatus = typeof CallFlowAttachmentStatus[keyof typeof CallFlowAttachmentStatus];
323
167
  /**
324
168
  * @public
325
169
  */
@@ -330,7 +174,7 @@ export interface CallFlowFax {
330
174
  * @public
331
175
  */
332
176
  status?: CallFlowAttachmentStatus | undefined;
333
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
177
+ destinations?: CallFlowAttachmentDestination[] | undefined;
334
178
  owner?: CallRecordOwner | undefined;
335
179
  /**
336
180
  * Text with the reason for the error in case of unsuccessful fax delivery
@@ -338,18 +182,6 @@ export interface CallFlowFax {
338
182
  */
339
183
  error?: string | undefined;
340
184
  }
341
- /**
342
- * @public
343
- * @enum
344
- */
345
- export declare const CallRecordPauseReason: {
346
- readonly HOLD: "hold";
347
- readonly PAUSE: "pause";
348
- };
349
- /**
350
- * @public
351
- */
352
- export type CallRecordPauseReason = typeof CallRecordPauseReason[keyof typeof CallRecordPauseReason];
353
185
  /**
354
186
  * @public
355
187
  */
@@ -367,14 +199,14 @@ export interface CallFlowRecording {
367
199
  end: number;
368
200
  owner: CallRecordOwner;
369
201
  url: string;
370
- pauses: (CallRecordPause)[];
202
+ pauses: CallRecordPause[];
371
203
  }
372
204
  /**
373
205
  * @public
374
206
  */
375
207
  export interface CallFlowVoicemail {
376
208
  url: string;
377
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
209
+ destinations?: CallFlowAttachmentDestination[] | undefined;
378
210
  owner?: CallRecordOwner | undefined;
379
211
  }
380
212
  /**
@@ -412,70 +244,17 @@ export declare namespace CallFlowAttachment {
412
244
  voicemail?: never;
413
245
  $unknown: [string, any];
414
246
  }
247
+ /**
248
+ * @deprecated unused in schema-serde mode.
249
+ *
250
+ */
415
251
  interface Visitor<T> {
416
252
  recording: (value: CallFlowRecording) => T;
417
253
  fax: (value: CallFlowFax) => T;
418
254
  voicemail: (value: CallFlowVoicemail) => T;
419
255
  _: (name: string, value: any) => T;
420
256
  }
421
- const visit: <T>(value: CallFlowAttachment, visitor: Visitor<T>) => T;
422
257
  }
423
- /**
424
- * @public
425
- * @enum
426
- */
427
- export declare const CallFlowAttachmentType: {
428
- readonly FAX: "FAX";
429
- readonly VOICEMAIL: "VOICEMAIL";
430
- };
431
- /**
432
- * @public
433
- */
434
- export type CallFlowAttachmentType = typeof CallFlowAttachmentType[keyof typeof CallFlowAttachmentType];
435
- /**
436
- * @public
437
- * @enum
438
- */
439
- export declare const CallParticipantRole: {
440
- readonly AGENT: "AGENT";
441
- readonly CLIENT: "CLIENT";
442
- };
443
- /**
444
- * @public
445
- */
446
- export type CallParticipantRole = typeof CallParticipantRole[keyof typeof CallParticipantRole];
447
- /**
448
- * @public
449
- * @enum
450
- */
451
- export declare const CallParticipantType: {
452
- readonly LOCAL: "LOCAL";
453
- readonly REMOTE: "REMOTE";
454
- };
455
- /**
456
- * @public
457
- */
458
- export type CallParticipantType = typeof CallParticipantType[keyof typeof CallParticipantType];
459
- /**
460
- * @public
461
- * @enum
462
- */
463
- export declare const CallDevice: {
464
- readonly COLLABORATION_ANDROID: "COLLABORATION_ANDROID";
465
- readonly COLLABORATION_IOS: "COLLABORATION_IOS";
466
- readonly COLLABORATION_WEB: "COLLABORATION_WEB";
467
- readonly UNKNOWN: "UNKNOWN";
468
- readonly VOICEBOT: "VOICEBOT";
469
- readonly WILDIX_DEVICE: "WILDIX_DEVICE";
470
- readonly WILDIX_PHONE: "WILDIX_PHONE";
471
- readonly XBEES_ANDROID: "XBEES_ANDROID";
472
- readonly XBEES_IOS: "XBEES_IOS";
473
- readonly XBEES_WEB: "XBEES_WEB";
474
- };
475
- /**
476
- * @public
477
- */
478
- export type CallDevice = typeof CallDevice[keyof typeof CallDevice];
479
258
  /**
480
259
  * @public
481
260
  */
@@ -519,22 +298,9 @@ export interface CallParticipant {
519
298
  * @public
520
299
  */
521
300
  export interface CallFlowNotifications {
522
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
523
- type?: (string)[] | undefined;
301
+ destinations?: CallFlowAttachmentDestination[] | undefined;
302
+ type?: string[] | undefined;
524
303
  }
525
- /**
526
- * @public
527
- * @enum
528
- */
529
- export declare const CallFlowTranscriptionStatus: {
530
- readonly AVAILABLE: "AVAILABLE";
531
- readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
532
- readonly UNAVAILABLE: "UNAVAILABLE";
533
- };
534
- /**
535
- * @public
536
- */
537
- export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
538
304
  /**
539
305
  * @public
540
306
  */
@@ -587,25 +353,25 @@ export interface CallRecord {
587
353
  * @public
588
354
  */
589
355
  queuePosition?: number | undefined;
590
- tags?: (string)[] | undefined;
591
- flags?: (string)[] | undefined;
356
+ tags?: string[] | undefined;
357
+ flags?: string[] | undefined;
592
358
  callerMos?: string | undefined;
593
359
  calleeMos?: string | undefined;
594
360
  xhoppersConfId?: string | undefined;
595
361
  /**
596
362
  * Consider to use `attachments` instead.
597
363
  *
598
- * @deprecated
364
+ * @deprecated deprecated.
599
365
  * @public
600
366
  */
601
- recordings?: (string)[] | undefined;
367
+ recordings?: string[] | undefined;
602
368
  /**
603
369
  * Consider to use `attachments` instead.
604
370
  *
605
- * @deprecated
371
+ * @deprecated deprecated.
606
372
  * @public
607
373
  */
608
- recordingsData?: (CallFlowRecording)[] | undefined;
374
+ recordingsData?: CallFlowRecording[] | undefined;
609
375
  mergeWith?: string | undefined;
610
376
  splitReason?: string | undefined;
611
377
  splitTransferType?: string | undefined;
@@ -621,59 +387,33 @@ export interface CallRecord {
621
387
  /**
622
388
  * Consider to use `attachments` instead.
623
389
  *
624
- * @deprecated
390
+ * @deprecated deprecated.
625
391
  * @public
626
392
  */
627
393
  attachment?: string | undefined;
628
394
  /**
629
395
  * Consider to use `attachments` instead.
630
396
  *
631
- * @deprecated
397
+ * @deprecated deprecated.
632
398
  * @public
633
399
  */
634
400
  attachmentType?: CallFlowAttachmentType | undefined;
635
401
  /**
636
402
  * Consider to use `attachments` instead.
637
403
  *
638
- * @deprecated
404
+ * @deprecated deprecated.
639
405
  * @public
640
406
  */
641
- attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
642
- attachments?: (CallFlowAttachment)[] | undefined;
407
+ attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
408
+ attachments?: CallFlowAttachment[] | undefined;
643
409
  notifications?: CallFlowNotifications | undefined;
644
410
  id: string;
645
411
  pbx: string;
646
412
  time: number;
647
413
  company: string;
648
- licenses: (License)[];
414
+ licenses: License[];
649
415
  type: RecordType;
650
416
  }
651
- /**
652
- * @public
653
- * @enum
654
- */
655
- export declare const CallTranscriptionSpeaker: {
656
- readonly CALLEE: "callee";
657
- readonly CALLER: "caller";
658
- };
659
- /**
660
- * @public
661
- */
662
- export type CallTranscriptionSpeaker = typeof CallTranscriptionSpeaker[keyof typeof CallTranscriptionSpeaker];
663
- /**
664
- * @public
665
- * @enum
666
- */
667
- export declare const TranscriptionSentiment: {
668
- readonly MIXED: "MIXED";
669
- readonly NEGATIVE: "NEGATIVE";
670
- readonly NEUTRAL: "NEUTRAL";
671
- readonly POSITIVE: "POSITIVE";
672
- };
673
- /**
674
- * @public
675
- */
676
- export type TranscriptionSentiment = typeof TranscriptionSentiment[keyof typeof TranscriptionSentiment];
677
417
  /**
678
418
  * @public
679
419
  */
@@ -697,18 +437,6 @@ export interface CallTranscriptionChunk {
697
437
  */
698
438
  sentiment?: TranscriptionSentiment | undefined;
699
439
  }
700
- /**
701
- * @public
702
- * @enum
703
- */
704
- export declare const ChannelAccess: {
705
- readonly PRIVATE: "private";
706
- readonly PUBLIC: "public";
707
- };
708
- /**
709
- * @public
710
- */
711
- export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
712
440
  /**
713
441
  * @public
714
442
  */
@@ -731,32 +459,6 @@ export interface User {
731
459
  createdAt?: string | undefined;
732
460
  updatedAt?: string | undefined;
733
461
  }
734
- /**
735
- * @public
736
- * @enum
737
- */
738
- export declare const ChannelType: {
739
- readonly DIRECT: "direct";
740
- readonly GROUP: "group";
741
- };
742
- /**
743
- * @public
744
- */
745
- export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
746
- /**
747
- * @public
748
- * @enum
749
- */
750
- export declare const ChannelContextEventAttendeeStatus: {
751
- readonly ACCEPTED: "accepted";
752
- readonly DECLINED: "declined";
753
- readonly NONE: "none";
754
- readonly TENTATIVE: "tentative";
755
- };
756
- /**
757
- * @public
758
- */
759
- export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
760
462
  /**
761
463
  * @public
762
464
  */
@@ -774,7 +476,7 @@ export interface ChannelContextEvent {
774
476
  start?: string | undefined;
775
477
  end?: string | undefined;
776
478
  summary?: string | undefined;
777
- attendees?: (ChannelContextEventAttendee)[] | undefined;
479
+ attendees?: ChannelContextEventAttendee[] | undefined;
778
480
  }
779
481
  /**
780
482
  * @public
@@ -786,37 +488,15 @@ export interface ChannelContextPushToTalk {
786
488
  */
787
489
  broadcastId?: string | undefined;
788
490
  }
789
- /**
790
- * @public
791
- * @enum
792
- */
793
- export declare const ChannelContextSource: {
794
- readonly KITE: "kite";
795
- };
796
- /**
797
- * @public
798
- */
799
- export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
800
491
  /**
801
492
  * @public
802
493
  */
803
494
  export interface ChannelContext {
804
495
  source?: ChannelContextSource | undefined;
805
496
  target?: string | undefined;
806
- events?: (ChannelContextEvent)[] | undefined;
497
+ events?: ChannelContextEvent[] | undefined;
807
498
  ptt?: ChannelContextPushToTalk | undefined;
808
499
  }
809
- /**
810
- * @public
811
- * @enum
812
- */
813
- export declare const ChannelWhatsAppStatus: {
814
- readonly CHANNEL_CLOSED: "24h_channel_closed";
815
- };
816
- /**
817
- * @public
818
- */
819
- export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
820
500
  /**
821
501
  * @public
822
502
  */
@@ -863,43 +543,6 @@ export interface Channel {
863
543
  createdBy: string;
864
544
  updatedAt?: string | undefined;
865
545
  }
866
- /**
867
- * @public
868
- * @enum
869
- */
870
- export declare const ChatDirection: {
871
- readonly INBOUND: "INBOUND";
872
- readonly INTERNAL: "INTERNAL";
873
- readonly OUTBOUND: "OUTBOUND";
874
- };
875
- /**
876
- * @public
877
- */
878
- export type ChatDirection = typeof ChatDirection[keyof typeof ChatDirection];
879
- /**
880
- * @public
881
- * @enum
882
- */
883
- export declare const ChatParticipantRole: {
884
- readonly AGENT: "AGENT";
885
- readonly CLIENT: "CLIENT";
886
- };
887
- /**
888
- * @public
889
- */
890
- export type ChatParticipantRole = typeof ChatParticipantRole[keyof typeof ChatParticipantRole];
891
- /**
892
- * @public
893
- * @enum
894
- */
895
- export declare const ChatParticipantType: {
896
- readonly LOCAL: "LOCAL";
897
- readonly REMOTE: "REMOTE";
898
- };
899
- /**
900
- * @public
901
- */
902
- export type ChatParticipantType = typeof ChatParticipantType[keyof typeof ChatParticipantType];
903
546
  /**
904
547
  * @public
905
548
  */
@@ -931,34 +574,6 @@ export interface ChatParticipant {
931
574
  id: string;
932
575
  info: ChatParticipantInfo;
933
576
  }
934
- /**
935
- * @public
936
- * @enum
937
- */
938
- export declare const ChatStatus: {
939
- readonly COMPLETED: "COMPLETED";
940
- readonly MISSED: "MISSED";
941
- readonly WAITFIRSTREPLY: "WAITFIRSTREPLY";
942
- readonly WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT";
943
- readonly WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST";
944
- };
945
- /**
946
- * @public
947
- */
948
- export type ChatStatus = typeof ChatStatus[keyof typeof ChatStatus];
949
- /**
950
- * @public
951
- * @enum
952
- */
953
- export declare const ChatTag: {
954
- readonly SMS: "sms";
955
- readonly TELEPHONY: "telephony";
956
- readonly WHATSAPP: "whatsapp";
957
- };
958
- /**
959
- * @public
960
- */
961
- export type ChatTag = typeof ChatTag[keyof typeof ChatTag];
962
577
  /**
963
578
  * @public
964
579
  */
@@ -984,10 +599,10 @@ export interface ChatRecord {
984
599
  subject?: string | undefined;
985
600
  service?: string | undefined;
986
601
  serviceTitle?: string | undefined;
987
- tags?: (ChatTag)[] | undefined;
602
+ tags?: ChatTag[] | undefined;
988
603
  channel: Channel;
989
604
  status?: ChatStatus | undefined;
990
- participants: (ChatParticipant)[];
605
+ participants: ChatParticipant[];
991
606
  annotationsStatus?: AnnotationsStatus | undefined;
992
607
  type: RecordType;
993
608
  }
@@ -1065,26 +680,17 @@ export declare namespace ButtonHandler {
1065
680
  action?: never;
1066
681
  $unknown: [string, any];
1067
682
  }
683
+ /**
684
+ * @deprecated unused in schema-serde mode.
685
+ *
686
+ */
1068
687
  interface Visitor<T> {
1069
688
  link: (value: ButtonLinkHandler) => T;
1070
689
  reply: (value: ButtonReplyHandler) => T;
1071
690
  action: (value: ButtonActionHandler) => T;
1072
691
  _: (name: string, value: any) => T;
1073
692
  }
1074
- const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
1075
693
  }
1076
- /**
1077
- * @public
1078
- * @enum
1079
- */
1080
- export declare const ButtonVariant: {
1081
- readonly CONTAINED: "contained";
1082
- readonly OUTLINED: "outlined";
1083
- };
1084
- /**
1085
- * @public
1086
- */
1087
- export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
1088
694
  /**
1089
695
  * @public
1090
696
  */
@@ -1113,11 +719,14 @@ export declare namespace ActionElement {
1113
719
  button?: never;
1114
720
  $unknown: [string, any];
1115
721
  }
722
+ /**
723
+ * @deprecated unused in schema-serde mode.
724
+ *
725
+ */
1116
726
  interface Visitor<T> {
1117
727
  button: (value: ButtonElement) => T;
1118
728
  _: (name: string, value: any) => T;
1119
729
  }
1120
- const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
1121
730
  }
1122
731
  /**
1123
732
  * @public
@@ -1140,7 +749,7 @@ export declare namespace Element {
1140
749
  }
1141
750
  interface ActionsMember {
1142
751
  template?: never;
1143
- actions: (ActionElement)[];
752
+ actions: ActionElement[];
1144
753
  $unknown?: never;
1145
754
  }
1146
755
  /**
@@ -1151,12 +760,15 @@ export declare namespace Element {
1151
760
  actions?: never;
1152
761
  $unknown: [string, any];
1153
762
  }
763
+ /**
764
+ * @deprecated unused in schema-serde mode.
765
+ *
766
+ */
1154
767
  interface Visitor<T> {
1155
768
  template: (value: MessageTemplateConfig) => T;
1156
- actions: (value: (ActionElement)[]) => T;
769
+ actions: (value: ActionElement[]) => T;
1157
770
  _: (name: string, value: any) => T;
1158
771
  }
1159
- const visit: <T>(value: Element, visitor: Visitor<T>) => T;
1160
772
  }
1161
773
  /**
1162
774
  * @public
@@ -1196,61 +808,20 @@ export interface MessageQuote {
1196
808
  channelId: string;
1197
809
  user: User;
1198
810
  text?: string | undefined;
1199
- attachments?: (MessageAttachment)[] | undefined;
811
+ attachments?: MessageAttachment[] | undefined;
1200
812
  forward?: MessageForward | undefined;
1201
- mentions?: (User)[] | undefined;
813
+ mentions?: User[] | undefined;
1202
814
  giphy?: MessageGiphy | undefined;
1203
815
  createdAt: string;
1204
816
  updatedAt?: string | undefined;
1205
817
  }
1206
- /**
1207
- * @public
1208
- * @enum
1209
- */
1210
- export declare const MessageSmsStatus: {
1211
- readonly DELIVERED: "delivered";
1212
- readonly ERROR: "error";
1213
- readonly SENT: "sent";
1214
- readonly TRYING: "trying";
1215
- };
1216
- /**
1217
- * @public
1218
- */
1219
- export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
1220
- /**
1221
- * @public
1222
- * @enum
1223
- */
1224
- export declare const MessageType: {
1225
- readonly DELETED: "deleted";
1226
- readonly REGULAR: "regular";
1227
- readonly SYSTEM: "system";
1228
- };
1229
- /**
1230
- * @public
1231
- */
1232
- export type MessageType = typeof MessageType[keyof typeof MessageType];
1233
- /**
1234
- * @public
1235
- * @enum
1236
- */
1237
- export declare const MessageWhatsAppStatus: {
1238
- readonly DELIVERED: "delivered";
1239
- readonly ERROR: "error";
1240
- readonly SENT: "sent";
1241
- readonly TRYING: "trying";
1242
- };
1243
- /**
1244
- * @public
1245
- */
1246
- export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
1247
818
  /**
1248
819
  * @public
1249
820
  */
1250
821
  export interface Message {
1251
822
  text?: string | undefined;
1252
- elements?: (Element)[] | undefined;
1253
- attachments?: (MessageAttachment)[] | undefined;
823
+ elements?: Element[] | undefined;
824
+ attachments?: MessageAttachment[] | undefined;
1254
825
  quote?: MessageQuote | undefined;
1255
826
  forward?: MessageForward | undefined;
1256
827
  whatsapp?: boolean | undefined;
@@ -1266,67 +837,12 @@ export interface Message {
1266
837
  channelId: string;
1267
838
  user: User;
1268
839
  edit?: boolean | undefined;
1269
- mentions?: (User)[] | undefined;
1270
- latestReactions?: (Reaction)[] | undefined;
840
+ mentions?: User[] | undefined;
841
+ latestReactions?: Reaction[] | undefined;
1271
842
  reactionCounts?: Record<string, number> | undefined;
1272
843
  createdAt: string;
1273
844
  updatedAt?: string | undefined;
1274
845
  }
1275
- /**
1276
- * @public
1277
- * @enum
1278
- */
1279
- export declare const ConferenceDirection: {
1280
- readonly INBOUND: "INBOUND";
1281
- readonly INTERNAL: "INTERNAL";
1282
- readonly OUTBOUND: "OUTBOUND";
1283
- };
1284
- /**
1285
- * @public
1286
- */
1287
- export type ConferenceDirection = typeof ConferenceDirection[keyof typeof ConferenceDirection];
1288
- /**
1289
- * @public
1290
- * @enum
1291
- */
1292
- export declare const PbxLicenseType: {
1293
- readonly BASIC: "basic";
1294
- readonly BUSINESS: "business";
1295
- readonly ESSENTIAL: "essential";
1296
- readonly PREMIUM: "premium";
1297
- readonly WIZYCONF: "wizyconf";
1298
- };
1299
- /**
1300
- * @public
1301
- */
1302
- export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
1303
- /**
1304
- * @public
1305
- * @enum
1306
- */
1307
- export declare const ConferenceParticipantRole: {
1308
- readonly AGENT: "AGENT";
1309
- readonly CLIENT: "CLIENT";
1310
- };
1311
- /**
1312
- * @public
1313
- */
1314
- export type ConferenceParticipantRole = typeof ConferenceParticipantRole[keyof typeof ConferenceParticipantRole];
1315
- /**
1316
- * @public
1317
- * @enum
1318
- */
1319
- export declare const ConferenceParticipantType: {
1320
- readonly EXTERNAL: "EXTERNAL";
1321
- readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
1322
- readonly PBX: "PBX";
1323
- readonly PBX_SIP: "PBX_SIP";
1324
- readonly XBS: "XBS";
1325
- };
1326
- /**
1327
- * @public
1328
- */
1329
- export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof typeof ConferenceParticipantType];
1330
846
  /**
1331
847
  * @public
1332
848
  */
@@ -1367,19 +883,6 @@ export interface ConferenceRecording {
1367
883
  start: number;
1368
884
  end: number;
1369
885
  }
1370
- /**
1371
- * @public
1372
- * @enum
1373
- */
1374
- export declare const ConferenceTranscriptionStatus: {
1375
- readonly AVAILABLE: "AVAILABLE";
1376
- readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
1377
- readonly UNAVAILABLE: "UNAVAILABLE";
1378
- };
1379
- /**
1380
- * @public
1381
- */
1382
- export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
1383
886
  /**
1384
887
  * @public
1385
888
  */
@@ -1396,8 +899,8 @@ export interface ConferenceRecord {
1396
899
  direction: ConferenceDirection;
1397
900
  service?: string | undefined;
1398
901
  status?: ConversationStatus | undefined;
1399
- participants: (ConferenceAnalyticsRecordParticipant)[];
1400
- recordings?: (ConferenceRecording)[] | undefined;
902
+ participants: ConferenceAnalyticsRecordParticipant[];
903
+ recordings?: ConferenceRecording[] | undefined;
1401
904
  transcriptionStatus: ConferenceTranscriptionStatus;
1402
905
  transcriptionLanguage?: string | undefined;
1403
906
  transcriptionSeconds?: number | undefined;
@@ -1445,22 +948,22 @@ export interface TranscriptionSummaryCsat {
1445
948
  export interface TranscriptionSummaryJson {
1446
949
  callBriefVeryShortTitle?: string | undefined;
1447
950
  callBrief?: string | undefined;
1448
- customerInsights?: (string)[] | undefined;
1449
- keyPoints?: (string)[] | undefined;
1450
- competitiveInformation?: (string)[] | undefined;
1451
- implementationTimeline?: (string)[] | undefined;
1452
- budget?: (string)[] | undefined;
1453
- customerResponse?: (string)[] | undefined;
1454
- salesProposals?: (string)[] | undefined;
1455
- actionItems?: (string)[] | undefined;
1456
- nextSteps?: (string)[] | undefined;
951
+ customerInsights?: string[] | undefined;
952
+ keyPoints?: string[] | undefined;
953
+ competitiveInformation?: string[] | undefined;
954
+ implementationTimeline?: string[] | undefined;
955
+ budget?: string[] | undefined;
956
+ customerResponse?: string[] | undefined;
957
+ salesProposals?: string[] | undefined;
958
+ actionItems?: string[] | undefined;
959
+ nextSteps?: string[] | undefined;
1457
960
  csat?: TranscriptionSummaryCsat | undefined;
1458
- topics?: (string)[] | undefined;
1459
- review?: (string)[] | undefined;
1460
- progress?: (string)[] | undefined;
1461
- issues?: (string)[] | undefined;
1462
- decisions?: (string)[] | undefined;
1463
- tags?: (string)[] | undefined;
961
+ topics?: string[] | undefined;
962
+ review?: string[] | undefined;
963
+ progress?: string[] | undefined;
964
+ issues?: string[] | undefined;
965
+ decisions?: string[] | undefined;
966
+ tags?: string[] | undefined;
1464
967
  }
1465
968
  /**
1466
969
  * @public
@@ -1482,7 +985,7 @@ export interface ConferenceTimeFramesChunk {
1482
985
  */
1483
986
  export interface ConferenceTimeFramesListItem {
1484
987
  jid: string;
1485
- frames: (ConferenceTimeFramesChunk)[];
988
+ frames: ConferenceTimeFramesChunk[];
1486
989
  }
1487
990
  /**
1488
991
  * @public
@@ -1515,33 +1018,8 @@ export interface CallAgentsItemConsumeItem {
1515
1018
  * @public
1516
1019
  */
1517
1020
  export interface CallAgentsStartOrEndConsumeEventData {
1518
- agents: (CallAgentsItemConsumeItem)[];
1021
+ agents: CallAgentsItemConsumeItem[];
1519
1022
  }
1520
- /**
1521
- * @public
1522
- * @enum
1523
- */
1524
- export declare const CallConsumeEventType: {
1525
- readonly CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL";
1526
- readonly CALL_AGENTS_START: "CALL.AGENTS_START";
1527
- readonly CALL_ANNOTATE: "CALL.ANNOTATE";
1528
- readonly CALL_ATTACHMENT: "CALL.ATTACHMENT";
1529
- readonly CALL_END: "CALL.END";
1530
- readonly CALL_LIVE: "CALL.LIVE";
1531
- readonly CALL_POST_TRANSCRIPTION: "CALL.POST_TRANSCRIPTION";
1532
- readonly CALL_RECORD_PAUSE: "CALL.RECORD_PAUSE";
1533
- readonly CALL_RECORD_START: "CALL.RECORD_START";
1534
- readonly CALL_RECORD_STOP: "CALL.RECORD_STOP";
1535
- readonly CALL_RECORD_UNPAUSE: "CALL.RECORD_UNPAUSE";
1536
- readonly CALL_SPLIT: "CALL.SPLIT";
1537
- readonly CALL_START: "CALL.START";
1538
- readonly CALL_TRANSCRIPTION: "CALL.TRANSCRIPTION";
1539
- readonly CALL_UPDATE: "CALL.UPDATE";
1540
- };
1541
- /**
1542
- * @public
1543
- */
1544
- export type CallConsumeEventType = typeof CallConsumeEventType[keyof typeof CallConsumeEventType];
1545
1023
  /**
1546
1024
  * @public
1547
1025
  */
@@ -1564,41 +1042,6 @@ export interface CallAgentsStartConsumeEvent {
1564
1042
  type: CallConsumeEventType;
1565
1043
  data: CallAgentsStartOrEndConsumeEventData;
1566
1044
  }
1567
- /**
1568
- * @public
1569
- * @enum
1570
- */
1571
- export declare const LiveEventType: {
1572
- readonly CALL: "call";
1573
- readonly CALL_ANNOTATION: "call_annotation";
1574
- readonly CALL_COMPLETE: "call_complete";
1575
- readonly CALL_INTERRUPTED: "call_interrupted";
1576
- readonly CALL_TRANSCRIPTION: "call_transcription";
1577
- readonly CHAT: "chat";
1578
- readonly CHAT_ANNOTATION: "chat_annotation";
1579
- readonly CHAT_COMPLETE: "chat_complete";
1580
- readonly CHAT_COST: "call_cost";
1581
- readonly CHAT_INTERRUPTED: "chat_interrupted";
1582
- readonly CHAT_MISSED: "chat_missed";
1583
- readonly CHAT_TRANSCRIPTION: "chat_transcription";
1584
- readonly CONFERENCE: "conference";
1585
- readonly CONFERENCE_ANNOTATION: "conference_annotation";
1586
- readonly CONFERENCE_COMPLETE: "conference_complete";
1587
- readonly CONFERENCE_INTERRUPTED: "conference_interrupted";
1588
- readonly CONFERENCE_JOIN: "conference_join";
1589
- readonly CONFERENCE_LEAVE: "conference_leave";
1590
- readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
1591
- readonly SERVICE: "service";
1592
- readonly SERVICE_AGENT: "service_agent";
1593
- readonly SERVICE_AGENT_STATUS: "service_agent_status";
1594
- readonly SERVICE_CALL: "service_call";
1595
- readonly SERVICE_CALL_COMPLETE: "service_call_complete";
1596
- readonly SERVICE_COMPLETE: "service_complete";
1597
- };
1598
- /**
1599
- * @public
1600
- */
1601
- export type LiveEventType = typeof LiveEventType[keyof typeof LiveEventType];
1602
1045
  /**
1603
1046
  * @public
1604
1047
  */
@@ -1607,11 +1050,11 @@ export interface CallAnalyticsAnnotationsRecordEvent {
1607
1050
  pbx: string;
1608
1051
  time: number;
1609
1052
  company: string;
1610
- licenses: (License)[];
1053
+ licenses: License[];
1611
1054
  flowIndex: number;
1612
1055
  flowStartTime: number;
1613
1056
  callStartTime: number;
1614
- annotations: (Annotation)[];
1057
+ annotations: Annotation[];
1615
1058
  type: LiveEventType;
1616
1059
  }
1617
1060
  /**
@@ -1631,8 +1074,8 @@ export interface CallAnalyticsCostRecordEvent {
1631
1074
  pbx: string;
1632
1075
  time: number;
1633
1076
  company: string;
1634
- licenses: (License)[];
1635
- transcriptions: (CallTranscription)[];
1077
+ licenses: License[];
1078
+ transcriptions: CallTranscription[];
1636
1079
  type: LiveEventType;
1637
1080
  flowIndex: number;
1638
1081
  cost: number;
@@ -1645,7 +1088,7 @@ export interface CallAnalyticsLiveAnnotationEvent {
1645
1088
  pbx: string;
1646
1089
  time: number;
1647
1090
  company: string;
1648
- licenses: (License)[];
1091
+ licenses: License[];
1649
1092
  event: LiveEventType;
1650
1093
  flowIndex: number;
1651
1094
  flowStartTime: number;
@@ -1660,7 +1103,7 @@ export interface CallAnalyticsLiveCompleteEvent {
1660
1103
  pbx: string;
1661
1104
  time: number;
1662
1105
  company: string;
1663
- licenses: (License)[];
1106
+ licenses: License[];
1664
1107
  event: LiveEventType;
1665
1108
  flows: number;
1666
1109
  }
@@ -1672,44 +1115,10 @@ export interface CallAnalyticsLiveInterruptedEvent {
1672
1115
  pbx: string;
1673
1116
  time: number;
1674
1117
  company: string;
1675
- licenses: (License)[];
1118
+ licenses: License[];
1676
1119
  event: LiveEventType;
1677
1120
  flows: number;
1678
1121
  }
1679
- /**
1680
- * @public
1681
- * @enum
1682
- */
1683
- export declare const CallAnalyticsLiveProgressEventTrigger: {
1684
- readonly AGENTS_CANCEL: "call.agents_cancel";
1685
- readonly AGENTS_START: "call.agents_start";
1686
- readonly ATTACHMENT: "call.attachment";
1687
- readonly RECORD_PAUSE: "call.record_pause";
1688
- readonly RECORD_START: "call.record_start";
1689
- readonly RECORD_STOP: "call.record_stop";
1690
- readonly RECORD_UNPAUSE: "call.record_unpause";
1691
- readonly SPLIT: "call.split";
1692
- readonly START: "call.start";
1693
- readonly TRANSCRIPTION: "call.transcription";
1694
- readonly UPDATE: "call.update";
1695
- };
1696
- /**
1697
- * @public
1698
- */
1699
- export type CallAnalyticsLiveProgressEventTrigger = typeof CallAnalyticsLiveProgressEventTrigger[keyof typeof CallAnalyticsLiveProgressEventTrigger];
1700
- /**
1701
- * @public
1702
- * @enum
1703
- */
1704
- export declare const CallFlowStatus: {
1705
- readonly CONNECTING: "CONNECTING";
1706
- readonly HOLD: "HOLD";
1707
- readonly TALKING: "TALKING";
1708
- };
1709
- /**
1710
- * @public
1711
- */
1712
- export type CallFlowStatus = typeof CallFlowStatus[keyof typeof CallFlowStatus];
1713
1122
  /**
1714
1123
  * @public
1715
1124
  */
@@ -1762,25 +1171,25 @@ export interface CallAnalyticsLiveProgressEventFlow {
1762
1171
  * @public
1763
1172
  */
1764
1173
  queuePosition?: number | undefined;
1765
- tags?: (string)[] | undefined;
1766
- flags?: (string)[] | undefined;
1174
+ tags?: string[] | undefined;
1175
+ flags?: string[] | undefined;
1767
1176
  callerMos?: string | undefined;
1768
1177
  calleeMos?: string | undefined;
1769
1178
  xhoppersConfId?: string | undefined;
1770
1179
  /**
1771
1180
  * Consider to use `attachments` instead.
1772
1181
  *
1773
- * @deprecated
1182
+ * @deprecated deprecated.
1774
1183
  * @public
1775
1184
  */
1776
- recordings?: (string)[] | undefined;
1185
+ recordings?: string[] | undefined;
1777
1186
  /**
1778
1187
  * Consider to use `attachments` instead.
1779
1188
  *
1780
- * @deprecated
1189
+ * @deprecated deprecated.
1781
1190
  * @public
1782
1191
  */
1783
- recordingsData?: (CallFlowRecording)[] | undefined;
1192
+ recordingsData?: CallFlowRecording[] | undefined;
1784
1193
  mergeWith?: string | undefined;
1785
1194
  splitReason?: string | undefined;
1786
1195
  splitTransferType?: string | undefined;
@@ -1796,25 +1205,25 @@ export interface CallAnalyticsLiveProgressEventFlow {
1796
1205
  /**
1797
1206
  * Consider to use `attachments` instead.
1798
1207
  *
1799
- * @deprecated
1208
+ * @deprecated deprecated.
1800
1209
  * @public
1801
1210
  */
1802
1211
  attachment?: string | undefined;
1803
1212
  /**
1804
1213
  * Consider to use `attachments` instead.
1805
1214
  *
1806
- * @deprecated
1215
+ * @deprecated deprecated.
1807
1216
  * @public
1808
1217
  */
1809
1218
  attachmentType?: CallFlowAttachmentType | undefined;
1810
1219
  /**
1811
1220
  * Consider to use `attachments` instead.
1812
1221
  *
1813
- * @deprecated
1222
+ * @deprecated deprecated.
1814
1223
  * @public
1815
1224
  */
1816
- attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1817
- attachments?: (CallFlowAttachment)[] | undefined;
1225
+ attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
1226
+ attachments?: CallFlowAttachment[] | undefined;
1818
1227
  notifications?: CallFlowNotifications | undefined;
1819
1228
  status: CallFlowStatus;
1820
1229
  /**
@@ -1831,7 +1240,7 @@ export interface CallAnalyticsLiveProgressEvent {
1831
1240
  pbx: string;
1832
1241
  time: number;
1833
1242
  company: string;
1834
- licenses: (License)[];
1243
+ licenses: License[];
1835
1244
  event: LiveEventType;
1836
1245
  /**
1837
1246
  * An original event that triggers current one.
@@ -1839,12 +1248,12 @@ export interface CallAnalyticsLiveProgressEvent {
1839
1248
  */
1840
1249
  eventTrigger: CallAnalyticsLiveProgressEventTrigger;
1841
1250
  start: string;
1842
- flows: (CallAnalyticsLiveProgressEventFlow)[];
1251
+ flows: CallAnalyticsLiveProgressEventFlow[];
1843
1252
  /**
1844
1253
  * List of unique group IDs from all participants involved in the conversation
1845
1254
  * @public
1846
1255
  */
1847
- participantsGroupIds?: (string)[] | undefined;
1256
+ participantsGroupIds?: string[] | undefined;
1848
1257
  }
1849
1258
  /**
1850
1259
  * @public
@@ -1854,7 +1263,7 @@ export interface CallAnalyticsLiveTranscriptionEvent {
1854
1263
  pbx: string;
1855
1264
  time: number;
1856
1265
  company: string;
1857
- licenses: (License)[];
1266
+ licenses: License[];
1858
1267
  event: LiveEventType;
1859
1268
  flowIndex: number;
1860
1269
  flowStartTime: number;
@@ -1862,18 +1271,6 @@ export interface CallAnalyticsLiveTranscriptionEvent {
1862
1271
  chunk: CallTranscriptionChunk;
1863
1272
  participant?: CallParticipant | undefined;
1864
1273
  }
1865
- /**
1866
- * @public
1867
- * @enum
1868
- */
1869
- export declare const CallEndBy: {
1870
- readonly CALLEE: "CALLEE";
1871
- readonly CALLER: "CALLER";
1872
- };
1873
- /**
1874
- * @public
1875
- */
1876
- export type CallEndBy = typeof CallEndBy[keyof typeof CallEndBy];
1877
1274
  /**
1878
1275
  * @public
1879
1276
  */
@@ -1926,25 +1323,25 @@ export interface CallAnalyticsRecordEventFlow {
1926
1323
  * @public
1927
1324
  */
1928
1325
  queuePosition?: number | undefined;
1929
- tags?: (string)[] | undefined;
1930
- flags?: (string)[] | undefined;
1326
+ tags?: string[] | undefined;
1327
+ flags?: string[] | undefined;
1931
1328
  callerMos?: string | undefined;
1932
1329
  calleeMos?: string | undefined;
1933
1330
  xhoppersConfId?: string | undefined;
1934
1331
  /**
1935
1332
  * Consider to use `attachments` instead.
1936
1333
  *
1937
- * @deprecated
1334
+ * @deprecated deprecated.
1938
1335
  * @public
1939
1336
  */
1940
- recordings?: (string)[] | undefined;
1337
+ recordings?: string[] | undefined;
1941
1338
  /**
1942
1339
  * Consider to use `attachments` instead.
1943
1340
  *
1944
- * @deprecated
1341
+ * @deprecated deprecated.
1945
1342
  * @public
1946
1343
  */
1947
- recordingsData?: (CallFlowRecording)[] | undefined;
1344
+ recordingsData?: CallFlowRecording[] | undefined;
1948
1345
  mergeWith?: string | undefined;
1949
1346
  splitReason?: string | undefined;
1950
1347
  splitTransferType?: string | undefined;
@@ -1960,25 +1357,25 @@ export interface CallAnalyticsRecordEventFlow {
1960
1357
  /**
1961
1358
  * Consider to use `attachments` instead.
1962
1359
  *
1963
- * @deprecated
1360
+ * @deprecated deprecated.
1964
1361
  * @public
1965
1362
  */
1966
1363
  attachment?: string | undefined;
1967
1364
  /**
1968
1365
  * Consider to use `attachments` instead.
1969
1366
  *
1970
- * @deprecated
1367
+ * @deprecated deprecated.
1971
1368
  * @public
1972
1369
  */
1973
1370
  attachmentType?: CallFlowAttachmentType | undefined;
1974
1371
  /**
1975
1372
  * Consider to use `attachments` instead.
1976
1373
  *
1977
- * @deprecated
1374
+ * @deprecated deprecated.
1978
1375
  * @public
1979
1376
  */
1980
- attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1981
- attachments?: (CallFlowAttachment)[] | undefined;
1377
+ attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
1378
+ attachments?: CallFlowAttachment[] | undefined;
1982
1379
  notifications?: CallFlowNotifications | undefined;
1983
1380
  }
1984
1381
  /**
@@ -1989,8 +1386,8 @@ export interface CallAnalyticsRecordEvent {
1989
1386
  pbx: string;
1990
1387
  time: number;
1991
1388
  company: string;
1992
- licenses: (License)[];
1993
- flows: (CallAnalyticsRecordEventFlow)[];
1389
+ licenses: License[];
1390
+ flows: CallAnalyticsRecordEventFlow[];
1994
1391
  endCause?: string | undefined;
1995
1392
  endCauseStr?: string | undefined;
1996
1393
  endBy: CallEndBy;
@@ -2010,8 +1407,8 @@ export interface CallAnalyticsTranscriptionRecordEvent {
2010
1407
  pbx: string;
2011
1408
  time: number;
2012
1409
  company: string;
2013
- licenses: (License)[];
2014
- transcriptions: (CallTranscription)[];
1410
+ licenses: License[];
1411
+ transcriptions: CallTranscription[];
2015
1412
  type: LiveEventType;
2016
1413
  complete: boolean;
2017
1414
  }
@@ -2033,26 +1430,13 @@ export interface CallAnnotateConsumeEvent {
2033
1430
  type: CallConsumeEventType;
2034
1431
  data: CallAnnotateConsumeEventData;
2035
1432
  }
2036
- /**
2037
- * @public
2038
- * @enum
2039
- */
2040
- export declare const CallFlowAttachmentConsumeType: {
2041
- readonly FAX: "fax";
2042
- readonly TRANSCRIPTION: "transcription";
2043
- readonly VOICEMAIL: "voicemail";
2044
- };
2045
- /**
2046
- * @public
2047
- */
2048
- export type CallFlowAttachmentConsumeType = typeof CallFlowAttachmentConsumeType[keyof typeof CallFlowAttachmentConsumeType];
2049
1433
  /**
2050
1434
  * @public
2051
1435
  */
2052
1436
  export interface CallAttachmentConsumeEventData {
2053
1437
  type: CallFlowAttachmentConsumeType;
2054
1438
  url: string;
2055
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
1439
+ destinations?: CallFlowAttachmentDestination[] | undefined;
2056
1440
  status?: CallFlowAttachmentStatus | undefined;
2057
1441
  error?: string | undefined;
2058
1442
  }
@@ -2067,18 +1451,6 @@ export interface CallAttachmentConsumeEvent {
2067
1451
  type: CallConsumeEventType;
2068
1452
  data: CallAttachmentConsumeEventData;
2069
1453
  }
2070
- /**
2071
- * @public
2072
- * @enum
2073
- */
2074
- export declare const CallEndConsume: {
2075
- readonly CALLEE: "callee";
2076
- readonly CALLER: "caller";
2077
- };
2078
- /**
2079
- * @public
2080
- */
2081
- export type CallEndConsume = typeof CallEndConsume[keyof typeof CallEndConsume];
2082
1454
  /**
2083
1455
  * @public
2084
1456
  */
@@ -2086,18 +1458,6 @@ export interface CallMosData {
2086
1458
  caller?: string | undefined;
2087
1459
  callee?: string | undefined;
2088
1460
  }
2089
- /**
2090
- * @public
2091
- * @enum
2092
- */
2093
- export declare const CallRtpIpFamily: {
2094
- readonly IPV4: "IPv4";
2095
- readonly IPV6: "IPv6";
2096
- };
2097
- /**
2098
- * @public
2099
- */
2100
- export type CallRtpIpFamily = typeof CallRtpIpFamily[keyof typeof CallRtpIpFamily];
2101
1461
  /**
2102
1462
  * RTP endpoint with IP address, port, and address family.
2103
1463
  * @public
@@ -2266,25 +1626,6 @@ export interface CallEndConsumeEvent {
2266
1626
  type: CallConsumeEventType;
2267
1627
  data: CallEndConsumeEventData;
2268
1628
  }
2269
- /**
2270
- * @public
2271
- * @enum
2272
- */
2273
- export declare const CallEventType: {
2274
- readonly ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent";
2275
- readonly COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent";
2276
- readonly LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent";
2277
- readonly LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent";
2278
- readonly LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent";
2279
- readonly LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent";
2280
- readonly LIVE_TRANSCRIPTION_EVENT: "CallAnalyticsLiveTranscriptionEvent";
2281
- readonly RECORD_EVENT: "CallAnalyticsRecordEvent";
2282
- readonly TRANSCRIPTION_RECORD_EVENT: "CallAnalyticsTranscriptionRecordEvent";
2283
- };
2284
- /**
2285
- * @public
2286
- */
2287
- export type CallEventType = typeof CallEventType[keyof typeof CallEventType];
2288
1629
  /**
2289
1630
  * @public
2290
1631
  */
@@ -2292,19 +1633,6 @@ export interface CallFlowConsumeQueue {
2292
1633
  id: string;
2293
1634
  name: string;
2294
1635
  }
2295
- /**
2296
- * @public
2297
- * @enum
2298
- */
2299
- export declare const CallFlowConsumeStatus: {
2300
- readonly CONNECTING: "connecting";
2301
- readonly HOLD: "hold";
2302
- readonly TALKING: "talking";
2303
- };
2304
- /**
2305
- * @public
2306
- */
2307
- export type CallFlowConsumeStatus = typeof CallFlowConsumeStatus[keyof typeof CallFlowConsumeStatus];
2308
1636
  /**
2309
1637
  * @public
2310
1638
  */
@@ -2408,7 +1736,7 @@ export interface CallRecordStopConsumeEventData {
2408
1736
  fileName: string;
2409
1737
  url: string;
2410
1738
  end: number;
2411
- pauses: (CallRecordPause)[];
1739
+ pauses: CallRecordPause[];
2412
1740
  flowId: number;
2413
1741
  }
2414
1742
  /**
@@ -2460,8 +1788,8 @@ export interface CallSplitConsumeEventData {
2460
1788
  * @public
2461
1789
  */
2462
1790
  queuePosition?: number | undefined;
2463
- tags?: (string)[] | undefined;
2464
- flags?: (string)[] | undefined;
1791
+ tags?: string[] | undefined;
1792
+ flags?: string[] | undefined;
2465
1793
  sipCallId?: string | undefined;
2466
1794
  mos?: CallMosData | undefined;
2467
1795
  /**
@@ -2502,10 +1830,10 @@ export interface CallStartConsumeEventData {
2502
1830
  * @public
2503
1831
  */
2504
1832
  queuePosition?: number | undefined;
2505
- tags?: (string)[] | undefined;
2506
- flags?: (string)[] | undefined;
1833
+ tags?: string[] | undefined;
1834
+ flags?: string[] | undefined;
2507
1835
  sipCallId?: string | undefined;
2508
- licenses?: (License)[] | undefined;
1836
+ licenses?: License[] | undefined;
2509
1837
  }
2510
1838
  /**
2511
1839
  * @public
@@ -2560,8 +1888,8 @@ export interface CallUpdateConsumeEventData {
2560
1888
  * @public
2561
1889
  */
2562
1890
  queuePosition?: number | undefined;
2563
- tags?: (string)[] | undefined;
2564
- flags?: (string)[] | undefined;
1891
+ tags?: string[] | undefined;
1892
+ flags?: string[] | undefined;
2565
1893
  sipCallId?: string | undefined;
2566
1894
  mos?: CallMosData | undefined;
2567
1895
  }
@@ -2592,7 +1920,7 @@ export interface ChatAnalyticsAnnotationsRecordEvent {
2592
1920
  chatId?: string | undefined;
2593
1921
  time: number;
2594
1922
  company: string;
2595
- annotations: (Annotation)[];
1923
+ annotations: Annotation[];
2596
1924
  type: LiveEventType;
2597
1925
  }
2598
1926
  /**
@@ -2673,12 +2001,12 @@ export interface ChatAnalyticsLiveProgressEvent {
2673
2001
  subject: string;
2674
2002
  service?: string | undefined;
2675
2003
  serviceTitle?: string | undefined;
2676
- participants: (ChatParticipantInfo)[];
2677
- agents: (User)[];
2004
+ participants: ChatParticipantInfo[];
2005
+ agents: User[];
2678
2006
  agentsCount: number;
2679
- customers: (User)[];
2007
+ customers: User[];
2680
2008
  customersCount: number;
2681
- tags?: (ChatTag)[] | undefined;
2009
+ tags?: ChatTag[] | undefined;
2682
2010
  direction: ChatDirection;
2683
2011
  status: ChatStatus;
2684
2012
  annotationsStatus?: AnnotationsStatus | undefined;
@@ -2745,10 +2073,10 @@ export interface ChatAnalyticsRecordEvent {
2745
2073
  subject?: string | undefined;
2746
2074
  service?: string | undefined;
2747
2075
  serviceTitle?: string | undefined;
2748
- tags?: (ChatTag)[] | undefined;
2076
+ tags?: ChatTag[] | undefined;
2749
2077
  channel: Channel;
2750
2078
  status?: ChatStatus | undefined;
2751
- participants: (ChatParticipant)[];
2079
+ participants: ChatParticipant[];
2752
2080
  annotationsStatus?: AnnotationsStatus | undefined;
2753
2081
  type: string;
2754
2082
  }
@@ -2758,7 +2086,7 @@ export interface ChatAnalyticsRecordEvent {
2758
2086
  export interface ChatTranscription {
2759
2087
  start: number;
2760
2088
  end: number;
2761
- messages: (Message)[];
2089
+ messages: Message[];
2762
2090
  }
2763
2091
  /**
2764
2092
  * @public
@@ -2787,20 +2115,6 @@ export interface ChatAnnotateConsumeEventData {
2787
2115
  channelType: ChannelType;
2788
2116
  annotation: Annotation;
2789
2117
  }
2790
- /**
2791
- * @public
2792
- * @enum
2793
- */
2794
- export declare const ChatConsumeEventType: {
2795
- readonly CHAT_ANNOTATE: "CHAT.ANNOTATE";
2796
- readonly CHAT_MESSAGE: "CHAT.MESSAGE";
2797
- readonly CHAT_NEW: "CHAT.NEW";
2798
- readonly CHAT_UPDATE: "CHAT.UPDATE";
2799
- };
2800
- /**
2801
- * @public
2802
- */
2803
- export type ChatConsumeEventType = typeof ChatConsumeEventType[keyof typeof ChatConsumeEventType];
2804
2118
  /**
2805
2119
  * @public
2806
2120
  */
@@ -2811,6 +2125,7 @@ export interface ChatAnnotateConsumeEvent {
2811
2125
  data: ChatAnnotateConsumeEventData;
2812
2126
  }
2813
2127
  /**
2128
+ * @deprecated deprecated.
2814
2129
  * @public
2815
2130
  */
2816
2131
  export interface ChatConsumeEventParticipants {
@@ -2818,34 +2133,15 @@ export interface ChatConsumeEventParticipants {
2818
2133
  * A list of Agents available in the Chat, up to 8 items, sorted by name.
2819
2134
  * @public
2820
2135
  */
2821
- agents: (User)[];
2136
+ agents: User[];
2822
2137
  agentsCount: number;
2823
2138
  /**
2824
2139
  * A list of Customers available in the Chat, up to 8 items, sorted by name.
2825
2140
  * @public
2826
2141
  */
2827
- customers: (User)[];
2142
+ customers: User[];
2828
2143
  customersCount: number;
2829
2144
  }
2830
- /**
2831
- * @public
2832
- * @enum
2833
- */
2834
- export declare const ChatEventType: {
2835
- readonly ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent";
2836
- readonly LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent";
2837
- readonly LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent";
2838
- readonly LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent";
2839
- readonly LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent";
2840
- readonly LIVE_TRANSCRIPTION_EVENT: "ChatAnalyticsLiveTranscriptionEvent";
2841
- readonly MANAGER_MISSED_EVENT: "ChatAnalyticsManagerMissedEvent";
2842
- readonly RECORD_EVENT: "ChatAnalyticsRecordEvent";
2843
- readonly TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent";
2844
- };
2845
- /**
2846
- * @public
2847
- */
2848
- export type ChatEventType = typeof ChatEventType[keyof typeof ChatEventType];
2849
2145
  /**
2850
2146
  * @public
2851
2147
  */
@@ -2854,13 +2150,13 @@ export interface ChatParticipants {
2854
2150
  * A list of Agents available in the Chat, up to 8 items, sorted by name.
2855
2151
  * @public
2856
2152
  */
2857
- agents?: (User)[] | undefined;
2153
+ agents?: User[] | undefined;
2858
2154
  agentsCount: number;
2859
2155
  /**
2860
2156
  * A list of Customers available in the Chat, up to 8 items, sorted by name.
2861
2157
  * @public
2862
2158
  */
2863
- customers?: (User)[] | undefined;
2159
+ customers?: User[] | undefined;
2864
2160
  customersCount: number;
2865
2161
  }
2866
2162
  /**
@@ -2884,6 +2180,7 @@ export interface ChatMessageConsumeEvent {
2884
2180
  data: ChatMessageConsumeEventData;
2885
2181
  }
2886
2182
  /**
2183
+ * @deprecated deprecated.
2887
2184
  * @public
2888
2185
  */
2889
2186
  export interface ChatNewConsumeEventData {
@@ -2892,17 +2189,26 @@ export interface ChatNewConsumeEventData {
2892
2189
  subject: string;
2893
2190
  service?: string | undefined;
2894
2191
  serviceTitle?: string | undefined;
2192
+ /**
2193
+ * @deprecated deprecated.
2194
+ * @public
2195
+ */
2895
2196
  participants: ChatConsumeEventParticipants;
2896
- tags?: (ChatTag)[] | undefined;
2197
+ tags?: ChatTag[] | undefined;
2897
2198
  sender: User;
2898
2199
  }
2899
2200
  /**
2201
+ * @deprecated deprecated.
2900
2202
  * @public
2901
2203
  */
2902
2204
  export interface ChatNewConsumeEvent {
2903
2205
  type: ChatConsumeEventType;
2904
2206
  company: string;
2905
2207
  time: number;
2208
+ /**
2209
+ * @deprecated deprecated.
2210
+ * @public
2211
+ */
2906
2212
  data: ChatNewConsumeEventData;
2907
2213
  }
2908
2214
  /**
@@ -2914,8 +2220,12 @@ export interface ChatUpdateConsumeEventData {
2914
2220
  subject: string;
2915
2221
  service?: string | undefined;
2916
2222
  serviceTitle?: string | undefined;
2223
+ /**
2224
+ * @deprecated deprecated.
2225
+ * @public
2226
+ */
2917
2227
  participants: ChatConsumeEventParticipants;
2918
- tags?: (ChatTag)[] | undefined;
2228
+ tags?: ChatTag[] | undefined;
2919
2229
  }
2920
2230
  /**
2921
2231
  * @public
@@ -2933,7 +2243,7 @@ export interface ConferenceAnalyticsAnnotationsRecordEvent {
2933
2243
  id: string;
2934
2244
  time: number;
2935
2245
  company: string;
2936
- annotations: (Annotation)[];
2246
+ annotations: Annotation[];
2937
2247
  type: LiveEventType;
2938
2248
  }
2939
2249
  /**
@@ -2996,7 +2306,7 @@ export interface ConferenceAnalyticsLiveProgressEvent {
2996
2306
  event: LiveEventType;
2997
2307
  start: string;
2998
2308
  subject: string;
2999
- participants: (ConferenceParticipant)[];
2309
+ participants: ConferenceParticipant[];
3000
2310
  transcriptionStatus?: ConferenceTranscriptionStatus | undefined;
3001
2311
  transcriptionLanguage?: string | undefined;
3002
2312
  annotationsStatus?: AnnotationsStatus | undefined;
@@ -3004,7 +2314,7 @@ export interface ConferenceAnalyticsLiveProgressEvent {
3004
2314
  * List of unique group IDs from all participants involved in the conversation
3005
2315
  * @public
3006
2316
  */
3007
- participantsGroupIds?: (string)[] | undefined;
2317
+ participantsGroupIds?: string[] | undefined;
3008
2318
  }
3009
2319
  /**
3010
2320
  * @public
@@ -3035,13 +2345,17 @@ export interface ConferenceAnalyticsRecordEvent {
3035
2345
  direction: ConferenceDirection;
3036
2346
  service?: string | undefined;
3037
2347
  status?: ConversationStatus | undefined;
3038
- participants: (ConferenceAnalyticsRecordParticipant)[];
3039
- recordings?: (ConferenceRecording)[] | undefined;
2348
+ participants: ConferenceAnalyticsRecordParticipant[];
2349
+ recordings?: ConferenceRecording[] | undefined;
3040
2350
  transcriptionStatus: ConferenceTranscriptionStatus;
3041
2351
  transcriptionLanguage?: string | undefined;
3042
2352
  transcriptionSeconds?: number | undefined;
3043
2353
  annotationsStatus?: AnnotationsStatus | undefined;
3044
2354
  type: LiveEventType;
2355
+ /**
2356
+ * @deprecated deprecated.
2357
+ * @public
2358
+ */
3045
2359
  transcriptions?: string | undefined;
3046
2360
  }
3047
2361
  /**
@@ -3059,9 +2373,17 @@ export interface ConferenceAnalyticsTranscriptionRecordEvent {
3059
2373
  id: string;
3060
2374
  time: number;
3061
2375
  company: string;
3062
- transcriptions: (ConferenceTranscription)[];
2376
+ transcriptions: ConferenceTranscription[];
3063
2377
  type: LiveEventType;
2378
+ /**
2379
+ * @deprecated deprecated.
2380
+ * @public
2381
+ */
3064
2382
  subject?: string | undefined;
2383
+ /**
2384
+ * @deprecated deprecated.
2385
+ * @public
2386
+ */
3065
2387
  participants?: Record<string, ConferenceParticipant> | undefined;
3066
2388
  }
3067
2389
  /**
@@ -3071,27 +2393,6 @@ export interface ConferenceAnnotateConsumeEventData {
3071
2393
  company?: string | undefined;
3072
2394
  annotation: Annotation;
3073
2395
  }
3074
- /**
3075
- * @public
3076
- * @enum
3077
- */
3078
- export declare const ConferenceConsumeEventType: {
3079
- readonly CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE";
3080
- readonly CONFERENCE_END: "CONFERENCE.END";
3081
- readonly CONFERENCE_JOIN: "CONFERENCE.JOIN";
3082
- readonly CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE";
3083
- readonly CONFERENCE_LEAVE: "CONFERENCE.LEAVE";
3084
- readonly CONFERENCE_RECORD_START: "CONFERENCE.RECORD_START";
3085
- readonly CONFERENCE_RECORD_STOP: "CONFERENCE.RECORD_STOP";
3086
- readonly CONFERENCE_START: "CONFERENCE.START";
3087
- readonly CONFERENCE_STATS: "CONFERENCE.STATS";
3088
- readonly CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES";
3089
- readonly CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION";
3090
- };
3091
- /**
3092
- * @public
3093
- */
3094
- export type ConferenceConsumeEventType = typeof ConferenceConsumeEventType[keyof typeof ConferenceConsumeEventType];
3095
2396
  /**
3096
2397
  * @public
3097
2398
  */
@@ -3102,19 +2403,6 @@ export interface ConferenceAnnotateConsumeEvent {
3102
2403
  type: ConferenceConsumeEventType;
3103
2404
  data: ConferenceAnnotateConsumeEventData;
3104
2405
  }
3105
- /**
3106
- * @public
3107
- * @enum
3108
- */
3109
- export declare const ConferenceConsumeDirection: {
3110
- readonly INBOUND: "inbound";
3111
- readonly INTERNAL: "internal";
3112
- readonly OUTBOUND: "outbound";
3113
- };
3114
- /**
3115
- * @public
3116
- */
3117
- export type ConferenceConsumeDirection = typeof ConferenceConsumeDirection[keyof typeof ConferenceConsumeDirection];
3118
2406
  /**
3119
2407
  * @public
3120
2408
  */
@@ -3124,26 +2412,6 @@ export interface ConferenceEndConsumeEvent {
3124
2412
  time: number;
3125
2413
  type: ConferenceConsumeEventType;
3126
2414
  }
3127
- /**
3128
- * @public
3129
- * @enum
3130
- */
3131
- export declare const ConferenceEventType: {
3132
- readonly ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent";
3133
- readonly LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent";
3134
- readonly LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent";
3135
- readonly LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent";
3136
- readonly LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent";
3137
- readonly LIVE_LEAVE_EVENT: "ConferenceAnalyticsLiveLeaveEvent";
3138
- readonly LIVE_PROGRESS_EVENT: "ConferenceAnalyticsLiveProgressEvent";
3139
- readonly LIVE_TRANSCRIPTION_EVENT: "ConferenceAnalyticsLiveTranscriptionEvent";
3140
- readonly RECORD_EVENT: "ConferenceAnalyticsRecordEvent";
3141
- readonly TRANSCRIPTION_RECORD_EVENT: "ConferenceAnalyticsTranscriptionRecordEvent";
3142
- };
3143
- /**
3144
- * @public
3145
- */
3146
- export type ConferenceEventType = typeof ConferenceEventType[keyof typeof ConferenceEventType];
3147
2415
  /**
3148
2416
  * @public
3149
2417
  */
@@ -3175,7 +2443,7 @@ export interface ConferenceJoinConsumeEvent {
3175
2443
  export interface ConferenceKeepAliveConsumeEvent {
3176
2444
  type: ConferenceConsumeEventType;
3177
2445
  time: number;
3178
- sessions: (string)[];
2446
+ sessions: string[];
3179
2447
  }
3180
2448
  /**
3181
2449
  * @public
@@ -3264,13 +2532,13 @@ export interface ConferenceStatsConsumeEvent {
3264
2532
  session: string;
3265
2533
  time: number;
3266
2534
  type: ConferenceConsumeEventType;
3267
- data: (ConferenceSpeakerTime)[];
2535
+ data: ConferenceSpeakerTime[];
3268
2536
  }
3269
2537
  /**
3270
2538
  * @public
3271
2539
  */
3272
2540
  export interface ConferenceTimeFramesConsumeEventData {
3273
- timeFrames: (ConferenceTimeFramesListItem)[];
2541
+ timeFrames: ConferenceTimeFramesListItem[];
3274
2542
  }
3275
2543
  /**
3276
2544
  * @public
@@ -3282,20 +2550,6 @@ export interface ConferenceTimeFramesConsumeEvent {
3282
2550
  type: ConferenceConsumeEventType;
3283
2551
  data: ConferenceTimeFramesConsumeEventData;
3284
2552
  }
3285
- /**
3286
- * @public
3287
- * @enum
3288
- */
3289
- export declare const ConferenceTranscriptionSentiment: {
3290
- readonly MIXED: "MIXED";
3291
- readonly NEGATIVE: "NEGATIVE";
3292
- readonly NEUTRAL: "NEUTRAL";
3293
- readonly POSITIVE: "POSITIVE";
3294
- };
3295
- /**
3296
- * @public
3297
- */
3298
- export type ConferenceTranscriptionSentiment = typeof ConferenceTranscriptionSentiment[keyof typeof ConferenceTranscriptionSentiment];
3299
2553
  /**
3300
2554
  * @public
3301
2555
  */
@@ -3307,6 +2561,10 @@ export interface ConferenceTranscriptionConsumeEventData {
3307
2561
  time: number;
3308
2562
  start: number;
3309
2563
  end: number;
2564
+ /**
2565
+ * @deprecated Use the shared `TranscriptionSentiment` enum from `conversation.general.structures` instead.
2566
+ * @public
2567
+ */
3310
2568
  sentiment?: ConferenceTranscriptionSentiment | undefined;
3311
2569
  final?: boolean | undefined;
3312
2570
  }
@@ -3329,22 +2587,10 @@ export interface PresenceConsumeEventData {
3329
2587
  email?: string | undefined;
3330
2588
  sourceId?: string | undefined;
3331
2589
  status?: string | undefined;
3332
- location?: (string)[] | undefined;
2590
+ location?: string[] | undefined;
3333
2591
  message?: string | undefined;
3334
2592
  until?: string | undefined;
3335
2593
  }
3336
- /**
3337
- * @public
3338
- * @enum
3339
- */
3340
- export declare const PresenceConsumeEventType: {
3341
- readonly PRESENCE: "PRESENCE";
3342
- readonly PRESENCE_TELEPHONY: "PRESENCE.TELEPHONY";
3343
- };
3344
- /**
3345
- * @public
3346
- */
3347
- export type PresenceConsumeEventType = typeof PresenceConsumeEventType[keyof typeof PresenceConsumeEventType];
3348
2594
  /**
3349
2595
  * @public
3350
2596
  */
@@ -3377,18 +2623,6 @@ export interface PresenceTelephonyConsumeEvent {
3377
2623
  type: PresenceConsumeEventType;
3378
2624
  data: PresenceTelephonyConsumeEventData;
3379
2625
  }
3380
- /**
3381
- * @public
3382
- * @enum
3383
- */
3384
- export declare const ServiceAgentType: {
3385
- readonly DYNAMIC: "DYNAMIC";
3386
- readonly STATIC: "STATIC";
3387
- };
3388
- /**
3389
- * @public
3390
- */
3391
- export type ServiceAgentType = typeof ServiceAgentType[keyof typeof ServiceAgentType];
3392
2626
  /**
3393
2627
  * @public
3394
2628
  */
@@ -3402,29 +2636,11 @@ export interface ServiceAgentConsumeEventData {
3402
2636
  message?: string | undefined;
3403
2637
  lastQueueCallEnd?: number | undefined;
3404
2638
  userExtension?: string | undefined;
2639
+ userLicense?: string | undefined;
3405
2640
  department?: string | undefined;
3406
2641
  name?: string | undefined;
3407
2642
  aclGroup?: string | undefined;
3408
2643
  }
3409
- /**
3410
- * @public
3411
- * @enum
3412
- */
3413
- export declare const ServiceConsumeEventType: {
3414
- readonly SERVICE_AGENT_JOIN: "SERVICE.AGENT_JOIN";
3415
- readonly SERVICE_AGENT_LEAVE: "SERVICE.AGENT_LEAVE";
3416
- readonly SERVICE_AGENT_UPDATE: "SERVICE.AGENT_UPDATE";
3417
- readonly SERVICE_CALL_END: "SERVICE.CALL_END";
3418
- readonly SERVICE_CALL_INIT: "SERVICE.CALL_INIT";
3419
- readonly SERVICE_CALL_UPDATE: "SERVICE.CALL_UPDATE";
3420
- readonly SERVICE_END: "SERVICE.END";
3421
- readonly SERVICE_INIT: "SERVICE.INIT";
3422
- readonly SERVICE_UPDATE: "SERVICE.UPDATE";
3423
- };
3424
- /**
3425
- * @public
3426
- */
3427
- export type ServiceConsumeEventType = typeof ServiceConsumeEventType[keyof typeof ServiceConsumeEventType];
3428
2644
  /**
3429
2645
  * @public
3430
2646
  */
@@ -3482,23 +2698,6 @@ export interface ServiceAgentUpdateConsumeEvent {
3482
2698
  type: ServiceConsumeEventType;
3483
2699
  data: ServiceAgentConsumeEventData;
3484
2700
  }
3485
- /**
3486
- * @public
3487
- * @enum
3488
- */
3489
- export declare const ServiceCallAction: {
3490
- readonly ANSWER: "ANSWER";
3491
- readonly CANCEL: "CANCEL";
3492
- readonly END: "END";
3493
- readonly INIT: "INIT";
3494
- readonly REJECT: "REJECT";
3495
- readonly RING: "RING";
3496
- readonly WAIT: "WAIT";
3497
- };
3498
- /**
3499
- * @public
3500
- */
3501
- export type ServiceCallAction = typeof ServiceCallAction[keyof typeof ServiceCallAction];
3502
2701
  /**
3503
2702
  * @public
3504
2703
  */
@@ -3526,7 +2725,7 @@ export interface ServiceCallConsumeEventData {
3526
2725
  * Agents related to this action (typically those ringing/answering/cancelling).
3527
2726
  * @public
3528
2727
  */
3529
- relatedAgents?: (string)[] | undefined;
2728
+ relatedAgents?: string[] | undefined;
3530
2729
  /**
3531
2730
  * Identifier of the call this record describes.
3532
2731
  * @public
@@ -3641,6 +2840,7 @@ export interface ServiceAgent {
3641
2840
  message?: string | undefined;
3642
2841
  lastQueueCallEnd?: number | undefined;
3643
2842
  userExtension?: string | undefined;
2843
+ userLicense?: string | undefined;
3644
2844
  department?: string | undefined;
3645
2845
  name?: string | undefined;
3646
2846
  aclGroup?: string | undefined;
@@ -3675,8 +2875,8 @@ export interface ServiceConsumeEventData {
3675
2875
  * @public
3676
2876
  */
3677
2877
  aclGroup?: string | undefined;
3678
- agents?: (ServiceAgent)[] | undefined;
3679
- calls?: (string)[] | undefined;
2878
+ agents?: ServiceAgent[] | undefined;
2879
+ calls?: string[] | undefined;
3680
2880
  }
3681
2881
  /**
3682
2882
  * @public
@@ -3728,20 +2928,8 @@ export interface SmsInboundConsumeEventData {
3728
2928
  from: string;
3729
2929
  to: string;
3730
2930
  message: string;
3731
- media?: (string)[] | undefined;
2931
+ media?: string[] | undefined;
3732
2932
  }
3733
- /**
3734
- * @public
3735
- * @enum
3736
- */
3737
- export declare const SmsConsumeEventType: {
3738
- readonly SMS_INBOUND: "SMS.INBOUND";
3739
- readonly SMS_STATUS: "SMS.STATUS";
3740
- };
3741
- /**
3742
- * @public
3743
- */
3744
- export type SmsConsumeEventType = typeof SmsConsumeEventType[keyof typeof SmsConsumeEventType];
3745
2933
  /**
3746
2934
  * @public
3747
2935
  */
@@ -3752,32 +2940,6 @@ export interface SmsInboundConsumeEvent {
3752
2940
  type: SmsConsumeEventType;
3753
2941
  data: SmsInboundConsumeEventData;
3754
2942
  }
3755
- /**
3756
- * @public
3757
- * @enum
3758
- */
3759
- export declare const SmsChannelType: {
3760
- readonly ONE_WAY: "1-way-sms";
3761
- readonly TWO_WAY: "2-way-sms";
3762
- };
3763
- /**
3764
- * @public
3765
- */
3766
- export type SmsChannelType = typeof SmsChannelType[keyof typeof SmsChannelType];
3767
- /**
3768
- * @public
3769
- * @enum
3770
- */
3771
- export declare const SmsStatus: {
3772
- readonly DELIVERED: "delivered";
3773
- readonly ERROR: "error";
3774
- readonly SENT: "sent";
3775
- readonly TRYING: "trying";
3776
- };
3777
- /**
3778
- * @public
3779
- */
3780
- export type SmsStatus = typeof SmsStatus[keyof typeof SmsStatus];
3781
2943
  /**
3782
2944
  * @public
3783
2945
  */
@@ -3804,18 +2966,6 @@ export interface SmsStatusConsumeEvent {
3804
2966
  type: SmsConsumeEventType;
3805
2967
  data: SmsStatusConsumeEventData;
3806
2968
  }
3807
- /**
3808
- * @public
3809
- * @enum
3810
- */
3811
- export declare const LanguageDetection: {
3812
- readonly AUTO: "auto";
3813
- readonly OFF: "off";
3814
- };
3815
- /**
3816
- * @public
3817
- */
3818
- export type LanguageDetection = typeof LanguageDetection[keyof typeof LanguageDetection];
3819
2969
  /**
3820
2970
  * @public
3821
2971
  */
@@ -3833,17 +2983,6 @@ export interface SttUsageEventData {
3833
2983
  */
3834
2984
  languageDetection?: LanguageDetection | undefined;
3835
2985
  }
3836
- /**
3837
- * @public
3838
- * @enum
3839
- */
3840
- export declare const UsageEventType: {
3841
- readonly USAGE_STT: "USAGE.STT";
3842
- };
3843
- /**
3844
- * @public
3845
- */
3846
- export type UsageEventType = typeof UsageEventType[keyof typeof UsageEventType];
3847
2986
  /**
3848
2987
  * @public
3849
2988
  */
@@ -5210,6 +4349,10 @@ export declare namespace ConsumeEventInputEvent {
5210
4349
  usageStt?: never;
5211
4350
  $unknown?: never;
5212
4351
  }
4352
+ /**
4353
+ * @deprecated deprecated.
4354
+ * @public
4355
+ */
5213
4356
  interface ChatNewMember {
5214
4357
  callStart?: never;
5215
4358
  callUpdate?: never;
@@ -6193,6 +5336,10 @@ export declare namespace ConsumeEventInputEvent {
6193
5336
  usageStt?: never;
6194
5337
  $unknown: [string, any];
6195
5338
  }
5339
+ /**
5340
+ * @deprecated unused in schema-serde mode.
5341
+ *
5342
+ */
6196
5343
  interface Visitor<T> {
6197
5344
  callStart: (value: CallStartConsumeEvent) => T;
6198
5345
  callUpdate: (value: CallUpdateConsumeEvent) => T;
@@ -6242,7 +5389,6 @@ export declare namespace ConsumeEventInputEvent {
6242
5389
  usageStt: (value: TranscriptionUsageEvent) => T;
6243
5390
  _: (name: string, value: any) => T;
6244
5391
  }
6245
- const visit: <T>(value: ConsumeEventInputEvent, visitor: Visitor<T>) => T;
6246
5392
  }
6247
5393
  /**
6248
5394
  * @public
@@ -6275,19 +5421,6 @@ export interface SmsStatusEvent {
6275
5421
  type: SmsConsumeEventType;
6276
5422
  data: SmsStatusConsumeEventData;
6277
5423
  }
6278
- /**
6279
- * @public
6280
- * @enum
6281
- */
6282
- export declare const WebsocketAction: {
6283
- readonly AUTHORIZE: "authorize";
6284
- readonly SUBSCRIBE: "subscribe";
6285
- readonly UNSUBSCRIBE: "unsubscribe";
6286
- };
6287
- /**
6288
- * @public
6289
- */
6290
- export type WebsocketAction = typeof WebsocketAction[keyof typeof WebsocketAction];
6291
5424
  /**
6292
5425
  * @public
6293
5426
  */
@@ -6295,27 +5428,13 @@ export interface WebsocketAuthorizeAction {
6295
5428
  action: WebsocketAction;
6296
5429
  token: string;
6297
5430
  }
6298
- /**
6299
- * @public
6300
- * @enum
6301
- */
6302
- export declare const WebsocketTopic: {
6303
- readonly CONVERSATIONS: "conversations";
6304
- readonly PRESENCE: "presence";
6305
- readonly SERVICES: "services";
6306
- readonly TRANSCRIPTIONS: "transcriptions";
6307
- };
6308
- /**
6309
- * @public
6310
- */
6311
- export type WebsocketTopic = typeof WebsocketTopic[keyof typeof WebsocketTopic];
6312
5431
  /**
6313
5432
  * @public
6314
5433
  */
6315
5434
  export interface WebsocketSubscribeAction {
6316
5435
  action: WebsocketAction;
6317
5436
  topic: WebsocketTopic;
6318
- filter?: (__DocumentType)[] | undefined;
5437
+ filter?: __DocumentType[] | undefined;
6319
5438
  state?: boolean | undefined;
6320
5439
  version?: string | undefined;
6321
5440
  }
@@ -6325,7 +5444,7 @@ export interface WebsocketSubscribeAction {
6325
5444
  export interface WebsocketUnsubscribeAction {
6326
5445
  action: WebsocketAction;
6327
5446
  topic: WebsocketTopic;
6328
- filter?: (__DocumentType)[] | undefined;
5447
+ filter?: __DocumentType[] | undefined;
6329
5448
  }
6330
5449
  /**
6331
5450
  * @public
@@ -6359,18 +5478,6 @@ export interface DescribeEventInput {
6359
5478
  WebsocketSubscribeAction?: WebsocketSubscribeAction | undefined;
6360
5479
  WebsocketUnsubscribeAction?: WebsocketUnsubscribeAction | undefined;
6361
5480
  }
6362
- /**
6363
- * @public
6364
- * @enum
6365
- */
6366
- export declare const PresenceAnalyticsEventType: {
6367
- readonly PRESENCE: "PRESENCE";
6368
- readonly PRESENCE_TELEPHONY: "PRESENCE_TELEPHONY";
6369
- };
6370
- /**
6371
- * @public
6372
- */
6373
- export type PresenceAnalyticsEventType = typeof PresenceAnalyticsEventType[keyof typeof PresenceAnalyticsEventType];
6374
5481
  /**
6375
5482
  * @public
6376
5483
  */
@@ -6421,19 +5528,6 @@ export interface PresenceAnalyticsTelephonyEvent {
6421
5528
  status?: string | undefined;
6422
5529
  sourceId?: string | undefined;
6423
5530
  }
6424
- /**
6425
- * @public
6426
- * @enum
6427
- */
6428
- export declare const PresenceEventType: {
6429
- readonly CONFERENCE_EVENT: "PresenceAnalyticsConferenceEvent";
6430
- readonly STATUS_EVENT: "PresenceAnalyticsStatusEvent";
6431
- readonly TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent";
6432
- };
6433
- /**
6434
- * @public
6435
- */
6436
- export type PresenceEventType = typeof PresenceEventType[keyof typeof PresenceEventType];
6437
5531
  /**
6438
5532
  * Record representation of a service agent status update.
6439
5533
  * @public
@@ -6486,7 +5580,7 @@ export interface ServiceAgentsStatusAnalyticsRecordEvent {
6486
5580
  * List of agent objects for which status was recorded.
6487
5581
  * @public
6488
5582
  */
6489
- agents: (ServiceAgent)[];
5583
+ agents: ServiceAgent[];
6490
5584
  }
6491
5585
  /**
6492
5586
  * @public
@@ -6506,25 +5600,6 @@ export interface ServiceAnalyticsLiveCompleteEvent {
6506
5600
  company: string;
6507
5601
  event: LiveEventType;
6508
5602
  }
6509
- /**
6510
- * @public
6511
- * @enum
6512
- */
6513
- export declare const ServiceAnalyticsEventTrigger: {
6514
- readonly SERVICE_AGENT_JOIN: "service.agent_join";
6515
- readonly SERVICE_AGENT_LEAVE: "service.agent_leave";
6516
- readonly SERVICE_AGENT_UPDATE: "service.agent_update";
6517
- readonly SERVICE_CALL_END: "service.call_end";
6518
- readonly SERVICE_CALL_INIT: "service.call_init";
6519
- readonly SERVICE_CALL_UPDATE: "service.call_update";
6520
- readonly SERVICE_END: "service.end";
6521
- readonly SERVICE_INIT: "service.init";
6522
- readonly SERVICE_UPDATE: "service.update";
6523
- };
6524
- /**
6525
- * @public
6526
- */
6527
- export type ServiceAnalyticsEventTrigger = typeof ServiceAnalyticsEventTrigger[keyof typeof ServiceAnalyticsEventTrigger];
6528
5603
  /**
6529
5604
  * @public
6530
5605
  */
@@ -6577,12 +5652,12 @@ export interface ServiceAnalyticsLiveProgressEvent {
6577
5652
  * List of agents assigned to the service
6578
5653
  * @public
6579
5654
  */
6580
- agents?: (ServiceAgent)[] | undefined;
5655
+ agents?: ServiceAgent[] | undefined;
6581
5656
  /**
6582
5657
  * List of calls in the service
6583
5658
  * @public
6584
5659
  */
6585
- calls?: (string)[] | undefined;
5660
+ calls?: string[] | undefined;
6586
5661
  }
6587
5662
  /**
6588
5663
  * Base service call structure.
@@ -6616,7 +5691,7 @@ export interface ServiceCallAnalyticsLiveCompleteEvent {
6616
5691
  * Agents related to this action (typically those ringing/answering/cancelling).
6617
5692
  * @public
6618
5693
  */
6619
- relatedAgents?: (string)[] | undefined;
5694
+ relatedAgents?: string[] | undefined;
6620
5695
  /**
6621
5696
  * Identifier of the call this record describes.
6622
5697
  * @public
@@ -6664,7 +5739,7 @@ export interface ServiceCallAnalyticsLiveProgressEvent {
6664
5739
  * Agents related to this action (typically those ringing/answering/cancelling).
6665
5740
  * @public
6666
5741
  */
6667
- relatedAgents?: (string)[] | undefined;
5742
+ relatedAgents?: string[] | undefined;
6668
5743
  /**
6669
5744
  * Identifier of the call this record describes.
6670
5745
  * @public
@@ -6705,7 +5780,7 @@ export interface ServiceCallRecord {
6705
5780
  * Agents related to this action (typically those ringing/answering/cancelling).
6706
5781
  * @public
6707
5782
  */
6708
- relatedAgents?: (string)[] | undefined;
5783
+ relatedAgents?: string[] | undefined;
6709
5784
  /**
6710
5785
  * Time when the action was emitted (epoch ms).
6711
5786
  * @public
@@ -6782,100 +5857,20 @@ export interface ServiceCallAnalyticsRecordEvent {
6782
5857
  * Agents assigned to the service at record finalization time.
6783
5858
  * @public
6784
5859
  */
6785
- agents?: (ServiceAgent)[] | undefined;
5860
+ agents?: ServiceAgent[] | undefined;
6786
5861
  /**
6787
5862
  * Ordered list of lifecycle actions for the service call.
6788
5863
  * @public
6789
5864
  */
6790
- actions: (ServiceCallRecord)[];
5865
+ actions: ServiceCallRecord[];
6791
5866
  }
6792
- /**
6793
- * @public
6794
- * @enum
6795
- */
6796
- export declare const ServiceCallEventType: {
6797
- readonly LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent";
6798
- readonly LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent";
6799
- readonly RECORD_EVENT: "ServiceCallAnalyticsRecordEvent";
6800
- };
6801
- /**
6802
- * @public
6803
- */
6804
- export type ServiceCallEventType = typeof ServiceCallEventType[keyof typeof ServiceCallEventType];
6805
- /**
6806
- * @public
6807
- * @enum
6808
- */
6809
- export declare const ServiceEventType: {
6810
- readonly AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent";
6811
- readonly LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent";
6812
- readonly LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent";
6813
- };
6814
- /**
6815
- * @public
6816
- */
6817
- export type ServiceEventType = typeof ServiceEventType[keyof typeof ServiceEventType];
6818
5867
  /**
6819
5868
  * @public
6820
5869
  */
6821
5870
  export interface WebhookCallAnnotationsCompletedEventData {
6822
5871
  call: CallRecord;
6823
- annotations: (Annotation)[];
6824
- }
6825
- /**
6826
- * @public
6827
- * @enum
6828
- */
6829
- export declare const WebhookEventType: {
6830
- readonly CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed";
6831
- readonly CALL_COMPLETED: "call:completed";
6832
- readonly CALL_LIVE_ANNOTATION: "call:live:annotation";
6833
- readonly CALL_LIVE_COMPLETED: "call:live:completed";
6834
- readonly CALL_LIVE_INTERRUPTED: "call:live:interrupted";
6835
- readonly CALL_LIVE_PROGRESS: "call:live:progress";
6836
- readonly CALL_LIVE_RECORD_PAUSE: "call:live:record:pause";
6837
- readonly CALL_LIVE_RECORD_START: "call:live:record:start";
6838
- readonly CALL_LIVE_RECORD_STOP: "call:live:record:stop";
6839
- readonly CALL_LIVE_RECORD_UNPAUSE: "call:live:record:unpause";
6840
- readonly CALL_LIVE_TRANSCRIPTION: "call:live:transcription";
6841
- readonly CALL_SUMMARY_COMPLETED: "call:summary:completed";
6842
- readonly CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed";
6843
- readonly CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed";
6844
- readonly CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed";
6845
- readonly CHAT_COMPLETED: "chat:completed";
6846
- readonly CHAT_LIVE_ANNOTATION: "chat:live:annotation";
6847
- readonly CHAT_LIVE_COMPLETED: "chat:live:completed";
6848
- readonly CHAT_LIVE_INTERRUPTED: "chat:live:interrupted";
6849
- readonly CHAT_LIVE_MISSED: "chat:live:missed";
6850
- readonly CHAT_LIVE_PROGRESS: "chat:live:progress";
6851
- readonly CHAT_MANAGER_MISSED: "chat:manager:missed";
6852
- readonly CHAT_SUMMARY_COMPLETED: "chat:summary:completed";
6853
- readonly CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed";
6854
- readonly CONFERENCE_COMPLETED: "conference:completed";
6855
- readonly CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation";
6856
- readonly CONFERENCE_LIVE_COMPLETED: "conference:live:completed";
6857
- readonly CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted";
6858
- readonly CONFERENCE_LIVE_JOIN: "conference:live:join";
6859
- readonly CONFERENCE_LIVE_LEAVE: "conference:live:leave";
6860
- readonly CONFERENCE_LIVE_PROGRESS: "conference:live:progress";
6861
- readonly CONFERENCE_LIVE_TRANSCRIPTION: "conference:live:transcription";
6862
- readonly CONFERENCE_SUMMARY_COMPLETED: "conference:summary:completed";
6863
- readonly CONFERENCE_TRANSCRIPTION_COMPLETED: "conference:transcription:completed";
6864
- readonly CONFERENCE_TRANSCRIPTION_TEXT_COMPLETED: "conference:transcription:text:completed";
6865
- readonly OLD_CALL_END: "call:end";
6866
- readonly OLD_CALL_START: "call:start";
6867
- readonly OLD_CALL_UPDATE: "call:update";
6868
- readonly PRESENCE_CONFERENCE: "presence:conference";
6869
- readonly PRESENCE_TELEPHONY: "presence:telephony";
6870
- readonly PRESENCE_USER: "presence:user";
6871
- readonly SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed";
6872
- readonly SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress";
6873
- readonly SMS_STATUS: "sms:status";
6874
- };
6875
- /**
6876
- * @public
6877
- */
6878
- export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
5872
+ annotations: Annotation[];
5873
+ }
6879
5874
  /**
6880
5875
  * @public
6881
5876
  */
@@ -7032,7 +6027,7 @@ export interface WebhookCallSummaryCompletedEvent {
7032
6027
  */
7033
6028
  export interface WebhookCallTranscriptionCompletedEventData {
7034
6029
  call: CallRecord;
7035
- chunks: (TranscriptionTextChunk)[];
6030
+ chunks: TranscriptionTextChunk[];
7036
6031
  }
7037
6032
  /**
7038
6033
  * @public
@@ -7070,7 +6065,7 @@ export interface WebhookCallTranscriptionTextCompletedEvent {
7070
6065
  */
7071
6066
  export interface WebhookChatAnnotationsCompletedEventData {
7072
6067
  chat: ChatRecord;
7073
- annotations: (Annotation)[];
6068
+ annotations: Annotation[];
7074
6069
  }
7075
6070
  /**
7076
6071
  * @public
@@ -7132,3 +6127,913 @@ export interface WebhookChatLiveInterruptedEvent {
7132
6127
  integrationId: string;
7133
6128
  data: ChatAnalyticsLiveInterruptedEvent;
7134
6129
  }
6130
+ /**
6131
+ * @public
6132
+ */
6133
+ export interface WebhookChatLiveProgressEvent {
6134
+ id: string;
6135
+ pbx?: string | undefined;
6136
+ company?: string | undefined;
6137
+ type: WebhookEventType;
6138
+ time: number;
6139
+ integrationId: string;
6140
+ data: ChatAnalyticsLiveProgressEvent;
6141
+ }
6142
+ /**
6143
+ * @public
6144
+ */
6145
+ export interface WebhookChatManagerMissedEvent {
6146
+ id: string;
6147
+ pbx?: string | undefined;
6148
+ company?: string | undefined;
6149
+ type: WebhookEventType;
6150
+ time: number;
6151
+ integrationId: string;
6152
+ data: ChatAnalyticsManagerMissedEvent;
6153
+ }
6154
+ /**
6155
+ * @public
6156
+ */
6157
+ export interface WebhookChatSummaryCompletedEventData {
6158
+ chat: ChatRecord;
6159
+ summary: TranscriptionSummary;
6160
+ }
6161
+ /**
6162
+ * @public
6163
+ */
6164
+ export interface WebhookChatSummaryCompletedEvent {
6165
+ id: string;
6166
+ pbx?: string | undefined;
6167
+ company?: string | undefined;
6168
+ type: WebhookEventType;
6169
+ time: number;
6170
+ integrationId: string;
6171
+ data: WebhookChatSummaryCompletedEventData;
6172
+ }
6173
+ /**
6174
+ * @public
6175
+ */
6176
+ export interface WebhookConferenceAnnotationsCompletedEventData {
6177
+ conference: ConferenceRecord;
6178
+ annotations: Annotation[];
6179
+ }
6180
+ /**
6181
+ * @public
6182
+ */
6183
+ export interface WebhookConferenceAnnotationsCompletedEvent {
6184
+ id: string;
6185
+ pbx?: string | undefined;
6186
+ company?: string | undefined;
6187
+ type: WebhookEventType;
6188
+ time: number;
6189
+ integrationId: string;
6190
+ data: WebhookConferenceAnnotationsCompletedEventData;
6191
+ }
6192
+ /**
6193
+ * @public
6194
+ */
6195
+ export interface WebhookConferenceCompletedEvent {
6196
+ id: string;
6197
+ pbx?: string | undefined;
6198
+ company?: string | undefined;
6199
+ type: WebhookEventType;
6200
+ time: number;
6201
+ integrationId: string;
6202
+ data: ConferenceAnalyticsRecordEvent;
6203
+ }
6204
+ /**
6205
+ * @public
6206
+ */
6207
+ export interface WebhookConferenceLiveAnnotationEvent {
6208
+ id: string;
6209
+ pbx?: string | undefined;
6210
+ company?: string | undefined;
6211
+ type: WebhookEventType;
6212
+ time: number;
6213
+ integrationId: string;
6214
+ data: ConferenceAnalyticsLiveAnnotationEvent;
6215
+ }
6216
+ /**
6217
+ * @public
6218
+ */
6219
+ export interface WebhookConferenceLiveCompletedEvent {
6220
+ id: string;
6221
+ pbx?: string | undefined;
6222
+ company?: string | undefined;
6223
+ type: WebhookEventType;
6224
+ time: number;
6225
+ integrationId: string;
6226
+ data: ConferenceAnalyticsLiveCompleteEvent;
6227
+ }
6228
+ /**
6229
+ * @public
6230
+ */
6231
+ export interface WebhookConferenceLiveInterruptedEvent {
6232
+ id: string;
6233
+ pbx?: string | undefined;
6234
+ company?: string | undefined;
6235
+ type: WebhookEventType;
6236
+ time: number;
6237
+ integrationId: string;
6238
+ data: ConferenceAnalyticsLiveInterruptedEvent;
6239
+ }
6240
+ /**
6241
+ * @public
6242
+ */
6243
+ export interface WebhookConferenceLiveJoinEvent {
6244
+ id: string;
6245
+ pbx?: string | undefined;
6246
+ company?: string | undefined;
6247
+ type: WebhookEventType;
6248
+ time: number;
6249
+ integrationId: string;
6250
+ data: ConferenceAnalyticsLiveJoinEvent;
6251
+ }
6252
+ /**
6253
+ * @public
6254
+ */
6255
+ export interface WebhookConferenceLiveLeaveEvent {
6256
+ id: string;
6257
+ pbx?: string | undefined;
6258
+ company?: string | undefined;
6259
+ type: WebhookEventType;
6260
+ time: number;
6261
+ integrationId: string;
6262
+ data: ConferenceAnalyticsLiveLeaveEvent;
6263
+ }
6264
+ /**
6265
+ * @public
6266
+ */
6267
+ export interface WebhookConferenceLiveProgressEvent {
6268
+ id: string;
6269
+ pbx?: string | undefined;
6270
+ company?: string | undefined;
6271
+ type: WebhookEventType;
6272
+ time: number;
6273
+ integrationId: string;
6274
+ data: ConferenceAnalyticsLiveProgressEvent;
6275
+ }
6276
+ /**
6277
+ * @public
6278
+ */
6279
+ export interface WebhookConferenceLiveTranscriptionEvent {
6280
+ id: string;
6281
+ pbx?: string | undefined;
6282
+ company?: string | undefined;
6283
+ type: WebhookEventType;
6284
+ time: number;
6285
+ integrationId: string;
6286
+ data: ConferenceAnalyticsLiveTranscriptionEvent;
6287
+ }
6288
+ /**
6289
+ * @public
6290
+ */
6291
+ export interface WebhookConferenceSummaryCompletedEventData {
6292
+ conference: ConferenceRecord;
6293
+ summary: TranscriptionSummary;
6294
+ }
6295
+ /**
6296
+ * @public
6297
+ */
6298
+ export interface WebhookConferenceSummaryCompletedEvent {
6299
+ id: string;
6300
+ pbx?: string | undefined;
6301
+ company?: string | undefined;
6302
+ type: WebhookEventType;
6303
+ time: number;
6304
+ integrationId: string;
6305
+ data: WebhookConferenceSummaryCompletedEventData;
6306
+ }
6307
+ /**
6308
+ * @public
6309
+ */
6310
+ export interface WebhookConferenceTranscriptionCompletedEventData {
6311
+ conference: ConferenceRecord;
6312
+ chunks: TranscriptionTextChunk[];
6313
+ }
6314
+ /**
6315
+ * @public
6316
+ */
6317
+ export interface WebhookConferenceTranscriptionCompletedEvent {
6318
+ id: string;
6319
+ pbx?: string | undefined;
6320
+ company?: string | undefined;
6321
+ type: WebhookEventType;
6322
+ time: number;
6323
+ integrationId: string;
6324
+ data: WebhookConferenceTranscriptionCompletedEventData;
6325
+ }
6326
+ /**
6327
+ * @public
6328
+ */
6329
+ export interface WebhookConferenceTranscriptionTextCompletedEventData {
6330
+ conference: ConferenceRecord;
6331
+ transcription: string;
6332
+ }
6333
+ /**
6334
+ * @public
6335
+ */
6336
+ export interface WebhookConferenceTranscriptionTextCompletedEvent {
6337
+ id: string;
6338
+ pbx?: string | undefined;
6339
+ company?: string | undefined;
6340
+ type: WebhookEventType;
6341
+ time: number;
6342
+ integrationId: string;
6343
+ data: WebhookConferenceTranscriptionTextCompletedEventData;
6344
+ }
6345
+ /**
6346
+ * @public
6347
+ */
6348
+ export interface WebhookOutdatedCallParticipant {
6349
+ type: string;
6350
+ phone?: string | undefined;
6351
+ name?: string | undefined;
6352
+ company?: string | undefined;
6353
+ email?: string | undefined;
6354
+ userId?: string | undefined;
6355
+ userExtension?: string | undefined;
6356
+ userDepartment?: string | undefined;
6357
+ groupId?: string | undefined;
6358
+ groupName?: string | undefined;
6359
+ userAgent?: string | undefined;
6360
+ userDevice?: CallDevice | undefined;
6361
+ role: string;
6362
+ license?: string | undefined;
6363
+ }
6364
+ /**
6365
+ * @public
6366
+ */
6367
+ export interface WebhookOutdatedCallEventData {
6368
+ status?: string | undefined;
6369
+ caller?: WebhookOutdatedCallParticipant | undefined;
6370
+ callee?: WebhookOutdatedCallParticipant | undefined;
6371
+ service?: string | undefined;
6372
+ destination?: string | undefined;
6373
+ trunkName?: string | undefined;
6374
+ queueId?: string | undefined;
6375
+ queueName?: string | undefined;
6376
+ tags: string[];
6377
+ flags: string[];
6378
+ endCause?: string | undefined;
6379
+ endCauseStr?: string | undefined;
6380
+ endBy?: string | undefined;
6381
+ }
6382
+ /**
6383
+ * @public
6384
+ */
6385
+ export interface WebhookOutdatedCallEndEvent {
6386
+ id: string;
6387
+ pbx?: string | undefined;
6388
+ company?: string | undefined;
6389
+ type: WebhookEventType;
6390
+ time: number;
6391
+ integrationId: string;
6392
+ data: WebhookOutdatedCallEventData;
6393
+ }
6394
+ /**
6395
+ * @public
6396
+ */
6397
+ export interface WebhookOutdatedCallStartEvent {
6398
+ id: string;
6399
+ pbx?: string | undefined;
6400
+ company?: string | undefined;
6401
+ type: WebhookEventType;
6402
+ time: number;
6403
+ integrationId: string;
6404
+ data: WebhookOutdatedCallEventData;
6405
+ }
6406
+ /**
6407
+ * @public
6408
+ */
6409
+ export interface WebhookOutdatedCallUpdateEvent {
6410
+ id: string;
6411
+ pbx?: string | undefined;
6412
+ company?: string | undefined;
6413
+ type: WebhookEventType;
6414
+ time: number;
6415
+ integrationId: string;
6416
+ data: WebhookOutdatedCallEventData;
6417
+ }
6418
+ /**
6419
+ * @public
6420
+ */
6421
+ export interface WebhookPresenceConferenceEventData {
6422
+ extension: string;
6423
+ isJoined: boolean;
6424
+ isLeaved: boolean;
6425
+ participant: ConferenceParticipant;
6426
+ }
6427
+ /**
6428
+ * @public
6429
+ */
6430
+ export interface WebhookPresenceConferenceEvent {
6431
+ id: string;
6432
+ pbx?: string | undefined;
6433
+ company?: string | undefined;
6434
+ type: WebhookEventType;
6435
+ time: number;
6436
+ integrationId: string;
6437
+ data: WebhookPresenceConferenceEventData;
6438
+ }
6439
+ /**
6440
+ * @public
6441
+ */
6442
+ export interface WebhookPresenceTelephonyEventData {
6443
+ extension: string;
6444
+ email: string;
6445
+ sourceId: string;
6446
+ status: string;
6447
+ }
6448
+ /**
6449
+ * @public
6450
+ */
6451
+ export interface WebhookPresenceTelephonyEvent {
6452
+ id: string;
6453
+ pbx?: string | undefined;
6454
+ company?: string | undefined;
6455
+ type: WebhookEventType;
6456
+ time: number;
6457
+ integrationId: string;
6458
+ data: WebhookPresenceTelephonyEventData;
6459
+ }
6460
+ /**
6461
+ * @public
6462
+ */
6463
+ export interface WebhookPresenceUserEventLocationData {
6464
+ address: string;
6465
+ lat: string;
6466
+ lng: string;
6467
+ }
6468
+ /**
6469
+ * @public
6470
+ */
6471
+ export interface WebhookPresenceUserEventData {
6472
+ extension: string;
6473
+ email: string;
6474
+ sourceId: string;
6475
+ status: string;
6476
+ until: string;
6477
+ message: string;
6478
+ location: WebhookPresenceUserEventLocationData;
6479
+ }
6480
+ /**
6481
+ * @public
6482
+ */
6483
+ export interface WebhookPresenceUserEvent {
6484
+ id: string;
6485
+ pbx?: string | undefined;
6486
+ company?: string | undefined;
6487
+ type: WebhookEventType;
6488
+ time: number;
6489
+ integrationId: string;
6490
+ data: WebhookPresenceUserEventData;
6491
+ }
6492
+ /**
6493
+ * @public
6494
+ */
6495
+ export interface WebhookServiceCallLiveCompletedEvent {
6496
+ id: string;
6497
+ pbx?: string | undefined;
6498
+ company?: string | undefined;
6499
+ type: WebhookEventType;
6500
+ time: number;
6501
+ integrationId: string;
6502
+ /**
6503
+ * Base service call structure.
6504
+ * @public
6505
+ */
6506
+ data: ServiceCallAnalyticsLiveCompleteEvent;
6507
+ }
6508
+ /**
6509
+ * @public
6510
+ */
6511
+ export interface WebhookServiceCallLiveProgressEvent {
6512
+ id: string;
6513
+ pbx?: string | undefined;
6514
+ company?: string | undefined;
6515
+ type: WebhookEventType;
6516
+ time: number;
6517
+ integrationId: string;
6518
+ /**
6519
+ * Base service call structure.
6520
+ * @public
6521
+ */
6522
+ data: ServiceCallAnalyticsLiveProgressEvent;
6523
+ }
6524
+ /**
6525
+ * @public
6526
+ */
6527
+ export interface WebhookSmsStatusEvent {
6528
+ id: string;
6529
+ pbx?: string | undefined;
6530
+ company?: string | undefined;
6531
+ type: WebhookEventType;
6532
+ time: number;
6533
+ integrationId: string;
6534
+ data: SmsStatusConsumeEventData;
6535
+ }
6536
+ /**
6537
+ * @public
6538
+ */
6539
+ export interface WebsocketAuthorizeBadRequestException {
6540
+ event?: string | undefined;
6541
+ requestId?: string | undefined;
6542
+ connectionId?: string | undefined;
6543
+ message?: string | undefined;
6544
+ code?: number | undefined;
6545
+ source?: WebsocketAuthorizeAction | undefined;
6546
+ }
6547
+ /**
6548
+ * @public
6549
+ */
6550
+ export interface WebsocketAuthorizedEvent {
6551
+ event: WebsocketEvent;
6552
+ connectionId: string;
6553
+ requestId: string;
6554
+ duration?: __DocumentType | undefined;
6555
+ }
6556
+ /**
6557
+ * @public
6558
+ */
6559
+ export interface WebsocketConversationsBroadcastEvent {
6560
+ event: WebsocketEvent;
6561
+ topic: WebsocketTopic;
6562
+ data: __DocumentType;
6563
+ meta?: __DocumentType | undefined;
6564
+ }
6565
+ /**
6566
+ * @public
6567
+ */
6568
+ export interface WebsocketPresenceData {
6569
+ id?: string | undefined;
6570
+ company?: string | undefined;
6571
+ extension?: string | undefined;
6572
+ status?: string | undefined;
6573
+ telephony?: string | undefined;
6574
+ conference?: string | undefined;
6575
+ message?: string | undefined;
6576
+ until?: string | undefined;
6577
+ address?: string | undefined;
6578
+ lng?: string | undefined;
6579
+ lat?: string | undefined;
6580
+ seen?: string | undefined;
6581
+ }
6582
+ /**
6583
+ * @public
6584
+ */
6585
+ export interface WebsocketPresenceDataList {
6586
+ member?: WebsocketPresenceData | undefined;
6587
+ }
6588
+ /**
6589
+ * @public
6590
+ */
6591
+ export interface WebsocketPresenceBroadcastEvent {
6592
+ event: WebsocketEvent;
6593
+ topic: WebsocketTopic;
6594
+ delta?: WebsocketPresenceData | undefined;
6595
+ data?: WebsocketPresenceDataList | undefined;
6596
+ meta?: __DocumentType | undefined;
6597
+ }
6598
+ /**
6599
+ * @public
6600
+ */
6601
+ export interface WebsocketSubscribeBadRequestException {
6602
+ event?: string | undefined;
6603
+ requestId?: string | undefined;
6604
+ connectionId?: string | undefined;
6605
+ message?: string | undefined;
6606
+ code?: number | undefined;
6607
+ source?: WebsocketSubscribeAction | undefined;
6608
+ }
6609
+ /**
6610
+ * @public
6611
+ */
6612
+ export interface WebsocketSubscribedEvent {
6613
+ event: WebsocketEvent;
6614
+ connectionId: string;
6615
+ requestId: string;
6616
+ topic: WebsocketTopic;
6617
+ duration?: __DocumentType | undefined;
6618
+ }
6619
+ /**
6620
+ * @public
6621
+ */
6622
+ export interface WebsocketTranscriptionsBroadcastEvent {
6623
+ event: WebsocketEvent;
6624
+ topic: WebsocketTopic;
6625
+ data: __DocumentType;
6626
+ meta?: __DocumentType | undefined;
6627
+ }
6628
+ /**
6629
+ * @public
6630
+ */
6631
+ export interface WebsocketUnsubscribeBadRequestException {
6632
+ event?: string | undefined;
6633
+ requestId?: string | undefined;
6634
+ connectionId?: string | undefined;
6635
+ message?: string | undefined;
6636
+ code?: number | undefined;
6637
+ source?: WebsocketUnsubscribeAction | undefined;
6638
+ }
6639
+ /**
6640
+ * @public
6641
+ */
6642
+ export interface WebsocketUnsubscribedEvent {
6643
+ event: WebsocketEvent;
6644
+ connectionId: string;
6645
+ requestId: string;
6646
+ topic: WebsocketTopic;
6647
+ duration?: number | undefined;
6648
+ pending?: number | undefined;
6649
+ }
6650
+ /**
6651
+ * @public
6652
+ */
6653
+ export interface DescribeEventOutput {
6654
+ CallAnalyticsLiveProgressEvent?: CallAnalyticsLiveProgressEvent | undefined;
6655
+ CallAnalyticsLiveCompleteEvent?: CallAnalyticsLiveCompleteEvent | undefined;
6656
+ CallAnalyticsLiveInterruptedEvent?: CallAnalyticsLiveInterruptedEvent | undefined;
6657
+ CallAnalyticsLiveAnnotationEvent?: CallAnalyticsLiveAnnotationEvent | undefined;
6658
+ CallAnalyticsLiveTranscriptionEvent?: CallAnalyticsLiveTranscriptionEvent | undefined;
6659
+ CallAnalyticsRecordEvent?: CallAnalyticsRecordEvent | undefined;
6660
+ CallAnalyticsAnnotationsRecordEvent?: CallAnalyticsAnnotationsRecordEvent | undefined;
6661
+ CallAnalyticsTranscriptionRecordEvent?: CallAnalyticsTranscriptionRecordEvent | undefined;
6662
+ CallAnalyticsCostRecordEvent?: CallAnalyticsCostRecordEvent | undefined;
6663
+ ChatAnalyticsLiveCompleteEvent?: ChatAnalyticsLiveCompleteEvent | undefined;
6664
+ ChatAnalyticsLiveInterruptedEvent?: ChatAnalyticsLiveInterruptedEvent | undefined;
6665
+ ChatAnalyticsLiveAnnotationEvent?: ChatAnalyticsLiveAnnotationEvent | undefined;
6666
+ ChatAnalyticsLiveProgressEvent?: ChatAnalyticsLiveProgressEvent | undefined;
6667
+ ChatAnalyticsLiveTranscriptionEvent?: ChatAnalyticsLiveTranscriptionEvent | undefined;
6668
+ ChatAnalyticsManagerMissedEvent?: ChatAnalyticsManagerMissedEvent | undefined;
6669
+ ChatAnalyticsRecordEvent?: ChatAnalyticsRecordEvent | undefined;
6670
+ ChatAnalyticsAnnotationsRecordEvent?: ChatAnalyticsAnnotationsRecordEvent | undefined;
6671
+ ChatAnalyticsTranscriptionRecordEvent?: ChatAnalyticsTranscriptionRecordEvent | undefined;
6672
+ ConferenceAnalyticsLiveProgressEvent?: ConferenceAnalyticsLiveProgressEvent | undefined;
6673
+ ConferenceAnalyticsLiveCompleteEvent?: ConferenceAnalyticsLiveCompleteEvent | undefined;
6674
+ ConferenceAnalyticsLiveInterruptedEvent?: ConferenceAnalyticsLiveInterruptedEvent | undefined;
6675
+ ConferenceAnalyticsLiveAnnotationEvent?: ConferenceAnalyticsLiveAnnotationEvent | undefined;
6676
+ ConferenceAnalyticsLiveTranscriptionEvent?: ConferenceAnalyticsLiveTranscriptionEvent | undefined;
6677
+ ConferenceAnalyticsLiveJoinEvent?: ConferenceAnalyticsLiveJoinEvent | undefined;
6678
+ ConferenceAnalyticsLiveLeaveEvent?: ConferenceAnalyticsLiveLeaveEvent | undefined;
6679
+ ConferenceAnalyticsRecordEvent?: ConferenceAnalyticsRecordEvent | undefined;
6680
+ ConferenceAnalyticsAnnotationsRecordEvent?: ConferenceAnalyticsAnnotationsRecordEvent | undefined;
6681
+ ConferenceAnalyticsTranscriptionRecordEvent?: ConferenceAnalyticsTranscriptionRecordEvent | undefined;
6682
+ PresenceAnalyticsStatusEvent?: PresenceAnalyticsStatusEvent | undefined;
6683
+ PresenceAnalyticsConferenceEvent?: PresenceAnalyticsConferenceEvent | undefined;
6684
+ PresenceAnalyticsTelephonyEvent?: PresenceAnalyticsTelephonyEvent | undefined;
6685
+ WebsocketPresenceBroadcastEvent?: WebsocketPresenceBroadcastEvent | undefined;
6686
+ WebsocketConversationsBroadcastEvent?: WebsocketConversationsBroadcastEvent | undefined;
6687
+ WebsocketTranscriptionsBroadcastEvent?: WebsocketTranscriptionsBroadcastEvent | undefined;
6688
+ WebsocketAuthorizedEvent?: WebsocketAuthorizedEvent | undefined;
6689
+ WebsocketSubscribedEvent?: WebsocketSubscribedEvent | undefined;
6690
+ WebsocketUnsubscribedEvent?: WebsocketUnsubscribedEvent | undefined;
6691
+ WebsocketAuthorizeBadRequestException?: WebsocketAuthorizeBadRequestException | undefined;
6692
+ WebsocketSubscribeBadRequestException?: WebsocketSubscribeBadRequestException | undefined;
6693
+ WebsocketUnsubscribeBadRequestException?: WebsocketUnsubscribeBadRequestException | undefined;
6694
+ WebhookPresenceUserEvent?: WebhookPresenceUserEvent | undefined;
6695
+ WebhookPresenceTelephonyEvent?: WebhookPresenceTelephonyEvent | undefined;
6696
+ WebhookPresenceConferenceEvent?: WebhookPresenceConferenceEvent | undefined;
6697
+ WebhookCallLiveProgressEvent?: WebhookCallLiveProgressEvent | undefined;
6698
+ WebhookCallLiveCompletedEvent?: WebhookCallLiveCompletedEvent | undefined;
6699
+ WebhookCallLiveInterruptedEvent?: WebhookCallLiveInterruptedEvent | undefined;
6700
+ WebhookCallLiveAnnotationEvent?: WebhookCallLiveAnnotationEvent | undefined;
6701
+ WebhookCallLiveTranscriptionEvent?: WebhookCallLiveTranscriptionEvent | undefined;
6702
+ WebhookCallLiveRecordStartEvent?: WebhookCallLiveRecordStartEvent | undefined;
6703
+ WebhookCallLiveRecordStopEvent?: WebhookCallLiveRecordStopEvent | undefined;
6704
+ WebhookCallLiveRecordPauseEvent?: WebhookCallLiveRecordPauseEvent | undefined;
6705
+ WebhookCallLiveRecordUnpauseEvent?: WebhookCallLiveRecordUnpauseEvent | undefined;
6706
+ WebhookCallCompletedEvent?: WebhookCallCompletedEvent | undefined;
6707
+ WebhookCallTranscriptionCompletedEvent?: WebhookCallTranscriptionCompletedEvent | undefined;
6708
+ WebhookCallTranscriptionTextCompletedEvent?: WebhookCallTranscriptionTextCompletedEvent | undefined;
6709
+ WebhookCallAnnotationsCompletedEvent?: WebhookCallAnnotationsCompletedEvent | undefined;
6710
+ WebhookCallSummaryCompletedEvent?: WebhookCallSummaryCompletedEvent | undefined;
6711
+ WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent | undefined;
6712
+ WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent | undefined;
6713
+ WebhookConferenceLiveInterruptedEvent?: WebhookConferenceLiveInterruptedEvent | undefined;
6714
+ WebhookConferenceLiveAnnotationEvent?: WebhookConferenceLiveAnnotationEvent | undefined;
6715
+ WebhookConferenceLiveJoinEvent?: WebhookConferenceLiveJoinEvent | undefined;
6716
+ WebhookConferenceLiveLeaveEvent?: WebhookConferenceLiveLeaveEvent | undefined;
6717
+ WebhookConferenceLiveTranscriptionEvent?: WebhookConferenceLiveTranscriptionEvent | undefined;
6718
+ WebhookConferenceCompletedEvent?: WebhookConferenceCompletedEvent | undefined;
6719
+ WebhookConferenceTranscriptionCompletedEvent?: WebhookConferenceTranscriptionCompletedEvent | undefined;
6720
+ WebhookConferenceTranscriptionTextCompletedEvent?: WebhookConferenceTranscriptionTextCompletedEvent | undefined;
6721
+ WebhookConferenceAnnotationsCompletedEvent?: WebhookConferenceAnnotationsCompletedEvent | undefined;
6722
+ WebhookConferenceSummaryCompletedEvent?: WebhookConferenceSummaryCompletedEvent | undefined;
6723
+ WebhookServiceCallLiveProgressEvent?: WebhookServiceCallLiveProgressEvent | undefined;
6724
+ WebhookServiceCallLiveCompletedEvent?: WebhookServiceCallLiveCompletedEvent | undefined;
6725
+ WebhookChatLiveProgressEvent?: WebhookChatLiveProgressEvent | undefined;
6726
+ WebhookChatLiveCompletedEvent?: WebhookChatLiveCompletedEvent | undefined;
6727
+ WebhookChatLiveInterruptedEvent?: WebhookChatLiveInterruptedEvent | undefined;
6728
+ WebhookChatLiveAnnotationEvent?: WebhookChatLiveAnnotationEvent | undefined;
6729
+ WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent | undefined;
6730
+ WebhookChatCompletedEvent?: WebhookChatCompletedEvent | undefined;
6731
+ WebhookChatAnnotationsCompletedEvent?: WebhookChatAnnotationsCompletedEvent | undefined;
6732
+ WebhookChatSummaryCompletedEvent?: WebhookChatSummaryCompletedEvent | undefined;
6733
+ WebhookOutdatedCallStartEvent?: WebhookOutdatedCallStartEvent | undefined;
6734
+ WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent | undefined;
6735
+ WebhookOutdatedCallEndEvent?: WebhookOutdatedCallEndEvent | undefined;
6736
+ WebhookSmsStatusEvent?: WebhookSmsStatusEvent | undefined;
6737
+ ServiceAnalyticsLiveProgressEvent?: ServiceAnalyticsLiveProgressEvent | undefined;
6738
+ ServiceAnalyticsLiveCompleteEvent?: ServiceAnalyticsLiveCompleteEvent | undefined;
6739
+ /**
6740
+ * Record representation of a service agent status update.
6741
+ * @public
6742
+ */
6743
+ ServiceAgentsStatusAnalyticsRecordEvent?: ServiceAgentsStatusAnalyticsRecordEvent | undefined;
6744
+ /**
6745
+ * Base service call structure.
6746
+ * @public
6747
+ */
6748
+ ServiceCallAnalyticsLiveProgressEvent?: ServiceCallAnalyticsLiveProgressEvent | undefined;
6749
+ /**
6750
+ * Base service call structure.
6751
+ * @public
6752
+ */
6753
+ ServiceCallAnalyticsLiveCompleteEvent?: ServiceCallAnalyticsLiveCompleteEvent | undefined;
6754
+ /**
6755
+ * Finalized record representation of a service call lifecycle, containing the full ordered sequence of lifecycle actions from queue entry to end.
6756
+ * @public
6757
+ */
6758
+ ServiceCallAnalyticsRecordEvent?: ServiceCallAnalyticsRecordEvent | undefined;
6759
+ CallEventType?: CallEventType | undefined;
6760
+ ConferenceEventType?: ConferenceEventType | undefined;
6761
+ ChatEventType?: ChatEventType | undefined;
6762
+ PresenceEventType?: PresenceEventType | undefined;
6763
+ ServiceEventType?: ServiceEventType | undefined;
6764
+ ServiceCallEventType?: ServiceCallEventType | undefined;
6765
+ }
6766
+ /**
6767
+ * @public
6768
+ */
6769
+ export interface GetConferenceIdInput {
6770
+ company?: string | undefined;
6771
+ channelId: string;
6772
+ }
6773
+ /**
6774
+ * @public
6775
+ */
6776
+ export interface GetConferenceIdOutput {
6777
+ id: string;
6778
+ }
6779
+ /**
6780
+ * @public
6781
+ */
6782
+ export interface GetOngoingCallInput {
6783
+ company?: string | undefined;
6784
+ callId: string;
6785
+ }
6786
+ /**
6787
+ * @public
6788
+ */
6789
+ export interface GetOngoingCallOutput {
6790
+ company: string;
6791
+ flows: CallAnalyticsLiveProgressEventFlow[];
6792
+ }
6793
+ /**
6794
+ * @public
6795
+ */
6796
+ export interface GetOngoingCallAnnotationsInput {
6797
+ company?: string | undefined;
6798
+ callId: string;
6799
+ }
6800
+ /**
6801
+ * @public
6802
+ */
6803
+ export interface GetOngoingCallAnnotationsOutput {
6804
+ company: string;
6805
+ flows: CallAnalyticsLiveProgressEventFlow[];
6806
+ annotations?: CallAnalyticsLiveAnnotationEvent[] | undefined;
6807
+ }
6808
+ /**
6809
+ * @public
6810
+ */
6811
+ export interface GetOngoingCallTranscriptionInput {
6812
+ company?: string | undefined;
6813
+ callId: string;
6814
+ }
6815
+ /**
6816
+ * @public
6817
+ */
6818
+ export interface GetOngoingCallTranscriptionOutput {
6819
+ company: string;
6820
+ flows: CallAnalyticsLiveProgressEventFlow[];
6821
+ transcriptions?: CallAnalyticsLiveTranscriptionEvent[] | undefined;
6822
+ }
6823
+ /**
6824
+ * @public
6825
+ */
6826
+ export interface GetOngoingChatAnnotationsInput {
6827
+ company?: string | undefined;
6828
+ chatId: string;
6829
+ }
6830
+ /**
6831
+ * @public
6832
+ */
6833
+ export interface GetOngoingChatAnnotationsOutput {
6834
+ chat: ChatAnalyticsLiveProgressEvent;
6835
+ annotations?: ChatAnalyticsLiveAnnotationEvent[] | undefined;
6836
+ }
6837
+ /**
6838
+ * @public
6839
+ */
6840
+ export interface GetOngoingConferenceInput {
6841
+ company?: string | undefined;
6842
+ conferenceId: string;
6843
+ }
6844
+ /**
6845
+ * @public
6846
+ */
6847
+ export interface GetOngoingConferenceOutput {
6848
+ conference: ConferenceAnalyticsLiveProgressEvent;
6849
+ }
6850
+ /**
6851
+ * @public
6852
+ */
6853
+ export interface GetOngoingConferenceAnnotationsInput {
6854
+ company?: string | undefined;
6855
+ conferenceId: string;
6856
+ }
6857
+ /**
6858
+ * @public
6859
+ */
6860
+ export interface GetOngoingConferenceAnnotationsOutput {
6861
+ conference: ConferenceAnalyticsLiveProgressEvent;
6862
+ annotations?: ConferenceAnalyticsLiveAnnotationEvent[] | undefined;
6863
+ }
6864
+ /**
6865
+ * @public
6866
+ */
6867
+ export interface GetOngoingConferenceTranscriptionInput {
6868
+ company?: string | undefined;
6869
+ conferenceId: string;
6870
+ }
6871
+ /**
6872
+ * @public
6873
+ */
6874
+ export interface GetOngoingConferenceTranscriptionOutput {
6875
+ conference: ConferenceAnalyticsLiveProgressEvent;
6876
+ transcriptions?: ConferenceAnalyticsLiveTranscriptionEvent[] | undefined;
6877
+ }
6878
+ /**
6879
+ * @public
6880
+ */
6881
+ export interface ListServicesFilter {
6882
+ pbx?: string | undefined;
6883
+ }
6884
+ /**
6885
+ * @public
6886
+ */
6887
+ export interface ListServicesInput {
6888
+ /**
6889
+ * The unique identifier of the company.
6890
+ * @public
6891
+ */
6892
+ company?: string | undefined;
6893
+ filter?: ListServicesFilter[] | undefined;
6894
+ }
6895
+ /**
6896
+ * Basic information about a service, used in list responses.
6897
+ * @public
6898
+ */
6899
+ export interface ServiceInfo {
6900
+ /**
6901
+ * The unique identifier of the service.
6902
+ * @public
6903
+ */
6904
+ id: string;
6905
+ /**
6906
+ * The display name of the service.
6907
+ * @public
6908
+ */
6909
+ name: string;
6910
+ /**
6911
+ * The PBX identifier of the service.
6912
+ * @public
6913
+ */
6914
+ pbx?: string | undefined;
6915
+ /**
6916
+ * ACL group identifier associated with the service.
6917
+ * @public
6918
+ */
6919
+ aclGroup?: string | undefined;
6920
+ }
6921
+ /**
6922
+ * @public
6923
+ */
6924
+ export interface ListServicesOutput {
6925
+ /**
6926
+ * List of active services with basic information.
6927
+ * @public
6928
+ */
6929
+ services: ServiceInfo[];
6930
+ }
6931
+ /**
6932
+ * @public
6933
+ */
6934
+ export interface Presence {
6935
+ /**
6936
+ * The unique identifier of the organization user belongs to (example: it_w119845).
6937
+ * @public
6938
+ */
6939
+ company?: string | undefined;
6940
+ /**
6941
+ * The user's geographic address (example: 1 Kynner Way, Binley, Coventry, CV3 2TU, England).
6942
+ * @public
6943
+ */
6944
+ address?: string | undefined;
6945
+ /**
6946
+ * The user extension (example: 2001)
6947
+ * @public
6948
+ */
6949
+ extension?: string | undefined;
6950
+ /**
6951
+ * The unique identifier of the user (example: F2P9tcKrYI9p).
6952
+ * @public
6953
+ */
6954
+ id?: string | undefined;
6955
+ /**
6956
+ * Longitude is the unit that represent the coordinates at geographic coordinate system (example: 35.5753).
6957
+ * @public
6958
+ */
6959
+ lng?: string | undefined;
6960
+ /**
6961
+ * Latitude is the unit that represent the coordinates at geographic coordinate system(example: 23.2954).
6962
+ * @public
6963
+ */
6964
+ lat?: string | undefined;
6965
+ /**
6966
+ * If it is defined, user status switches back to Available after the time (example: 2024-08-08T17:16:00Z).
6967
+ * @public
6968
+ */
6969
+ until?: string | undefined;
6970
+ /**
6971
+ * User status (example: AWAY)
6972
+ * @public
6973
+ */
6974
+ status?: PresenceStatus | undefined;
6975
+ /**
6976
+ * User status custom message (example: on vacation).
6977
+ * @public
6978
+ */
6979
+ message?: string | undefined;
6980
+ /**
6981
+ * User telephony status (example: TALKING)
6982
+ * @public
6983
+ */
6984
+ telephony?: TelephonyStatus | undefined;
6985
+ /**
6986
+ * The string shows the time the user was last seen. (example: 2024-08-08T17:16:00Z).
6987
+ * @public
6988
+ */
6989
+ seen?: string | undefined;
6990
+ }
6991
+ /**
6992
+ * @public
6993
+ */
6994
+ export interface PresenceQueryFilter {
6995
+ /**
6996
+ * The unique identifier of the user (example: F2P9tcKrYI9p).
6997
+ * @public
6998
+ */
6999
+ id?: string | undefined;
7000
+ /**
7001
+ * The unique identifier of the organization user belongs to (example: it_w119845).
7002
+ * @public
7003
+ */
7004
+ company?: string | undefined;
7005
+ /**
7006
+ * The user extension (example: 2001
7007
+ * @public
7008
+ */
7009
+ extension?: string | undefined;
7010
+ }
7011
+ /**
7012
+ * @public
7013
+ */
7014
+ export interface QueryConversationsInput {
7015
+ company?: string | undefined;
7016
+ /**
7017
+ * List of filters to match the user conversations list.
7018
+ * @public
7019
+ */
7020
+ filter?: PresenceQueryFilter[] | undefined;
7021
+ }
7022
+ /**
7023
+ * @public
7024
+ */
7025
+ export interface QueryConversationsOutput {
7026
+ calls: CallAnalyticsLiveProgressEvent[];
7027
+ conferences: ConferenceAnalyticsLiveProgressEvent[];
7028
+ chats: ChatAnalyticsLiveProgressEvent[];
7029
+ }
7030
+ /**
7031
+ * @public
7032
+ */
7033
+ export interface QueryPresenceInput {
7034
+ /**
7035
+ * The filter, to match a presence of certain user
7036
+ * @public
7037
+ */
7038
+ filter: PresenceQueryFilter;
7039
+ }