@wildix/wda-stream-client 1.1.69 → 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 -667
  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 -663
  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 +11 -7
  74. package/dist-types/commands/DescribeEventCommand.d.ts +11 -8
  75. package/dist-types/commands/GetConferenceIdCommand.d.ts +11 -7
  76. package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +11 -7
  77. package/dist-types/commands/GetOngoingCallCommand.d.ts +11 -7
  78. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +11 -7
  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 +11 -7
  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 +1109 -1213
  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,77 +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 COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID";
465
- readonly COLLABORATION7_IOS: "COLLABORATION7_IOS";
466
- readonly COLLABORATION7_WEB: "COLLABORATION7_WEB";
467
- readonly COLLABORATION_ANDROID: "COLLABORATION_ANDROID";
468
- readonly COLLABORATION_IOS: "COLLABORATION_IOS";
469
- readonly COLLABORATION_WEB: "COLLABORATION_WEB";
470
- readonly TEAMS4WILDIX: "TEAMS4WILDIX";
471
- readonly UNKNOWN: "UNKNOWN";
472
- readonly VOICEBOT: "VOICEBOT";
473
- readonly WILDIX_DEVICE: "WILDIX_DEVICE";
474
- readonly WILDIX_PHONE: "WILDIX_PHONE";
475
- readonly XBEES_ANDROID: "XBEES_ANDROID";
476
- readonly XBEES_IOS: "XBEES_IOS";
477
- readonly XBEES_WEB: "XBEES_WEB";
478
- readonly XHOPPERS_ANDROID: "XHOPPERS_ANDROID";
479
- readonly XHOPPERS_IOS: "XHOPPERS_IOS";
480
- readonly XHOPPERS_WEB: "XHOPPERS_WEB";
481
- };
482
- /**
483
- * @public
484
- */
485
- export type CallDevice = typeof CallDevice[keyof typeof CallDevice];
486
258
  /**
487
259
  * @public
488
260
  */
@@ -526,22 +298,9 @@ export interface CallParticipant {
526
298
  * @public
527
299
  */
528
300
  export interface CallFlowNotifications {
529
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
530
- type?: (string)[] | undefined;
301
+ destinations?: CallFlowAttachmentDestination[] | undefined;
302
+ type?: string[] | undefined;
531
303
  }
532
- /**
533
- * @public
534
- * @enum
535
- */
536
- export declare const CallFlowTranscriptionStatus: {
537
- readonly AVAILABLE: "AVAILABLE";
538
- readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
539
- readonly UNAVAILABLE: "UNAVAILABLE";
540
- };
541
- /**
542
- * @public
543
- */
544
- export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
545
304
  /**
546
305
  * @public
547
306
  */
@@ -594,25 +353,25 @@ export interface CallRecord {
594
353
  * @public
595
354
  */
596
355
  queuePosition?: number | undefined;
597
- tags?: (string)[] | undefined;
598
- flags?: (string)[] | undefined;
356
+ tags?: string[] | undefined;
357
+ flags?: string[] | undefined;
599
358
  callerMos?: string | undefined;
600
359
  calleeMos?: string | undefined;
601
360
  xhoppersConfId?: string | undefined;
602
361
  /**
603
362
  * Consider to use `attachments` instead.
604
363
  *
605
- * @deprecated
364
+ * @deprecated deprecated.
606
365
  * @public
607
366
  */
608
- recordings?: (string)[] | undefined;
367
+ recordings?: string[] | undefined;
609
368
  /**
610
369
  * Consider to use `attachments` instead.
611
370
  *
612
- * @deprecated
371
+ * @deprecated deprecated.
613
372
  * @public
614
373
  */
615
- recordingsData?: (CallFlowRecording)[] | undefined;
374
+ recordingsData?: CallFlowRecording[] | undefined;
616
375
  mergeWith?: string | undefined;
617
376
  splitReason?: string | undefined;
618
377
  splitTransferType?: string | undefined;
@@ -628,59 +387,33 @@ export interface CallRecord {
628
387
  /**
629
388
  * Consider to use `attachments` instead.
630
389
  *
631
- * @deprecated
390
+ * @deprecated deprecated.
632
391
  * @public
633
392
  */
634
393
  attachment?: string | undefined;
635
394
  /**
636
395
  * Consider to use `attachments` instead.
637
396
  *
638
- * @deprecated
397
+ * @deprecated deprecated.
639
398
  * @public
640
399
  */
641
400
  attachmentType?: CallFlowAttachmentType | undefined;
642
401
  /**
643
402
  * Consider to use `attachments` instead.
644
403
  *
645
- * @deprecated
404
+ * @deprecated deprecated.
646
405
  * @public
647
406
  */
648
- attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
649
- attachments?: (CallFlowAttachment)[] | undefined;
407
+ attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
408
+ attachments?: CallFlowAttachment[] | undefined;
650
409
  notifications?: CallFlowNotifications | undefined;
651
410
  id: string;
652
411
  pbx: string;
653
412
  time: number;
654
413
  company: string;
655
- licenses: (License)[];
414
+ licenses: License[];
656
415
  type: RecordType;
657
416
  }
658
- /**
659
- * @public
660
- * @enum
661
- */
662
- export declare const CallTranscriptionSpeaker: {
663
- readonly CALLEE: "callee";
664
- readonly CALLER: "caller";
665
- };
666
- /**
667
- * @public
668
- */
669
- export type CallTranscriptionSpeaker = typeof CallTranscriptionSpeaker[keyof typeof CallTranscriptionSpeaker];
670
- /**
671
- * @public
672
- * @enum
673
- */
674
- export declare const TranscriptionSentiment: {
675
- readonly MIXED: "MIXED";
676
- readonly NEGATIVE: "NEGATIVE";
677
- readonly NEUTRAL: "NEUTRAL";
678
- readonly POSITIVE: "POSITIVE";
679
- };
680
- /**
681
- * @public
682
- */
683
- export type TranscriptionSentiment = typeof TranscriptionSentiment[keyof typeof TranscriptionSentiment];
684
417
  /**
685
418
  * @public
686
419
  */
@@ -704,18 +437,6 @@ export interface CallTranscriptionChunk {
704
437
  */
705
438
  sentiment?: TranscriptionSentiment | undefined;
706
439
  }
707
- /**
708
- * @public
709
- * @enum
710
- */
711
- export declare const ChannelAccess: {
712
- readonly PRIVATE: "private";
713
- readonly PUBLIC: "public";
714
- };
715
- /**
716
- * @public
717
- */
718
- export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
719
440
  /**
720
441
  * @public
721
442
  */
@@ -738,32 +459,6 @@ export interface User {
738
459
  createdAt?: string | undefined;
739
460
  updatedAt?: string | undefined;
740
461
  }
741
- /**
742
- * @public
743
- * @enum
744
- */
745
- export declare const ChannelType: {
746
- readonly DIRECT: "direct";
747
- readonly GROUP: "group";
748
- };
749
- /**
750
- * @public
751
- */
752
- export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
753
- /**
754
- * @public
755
- * @enum
756
- */
757
- export declare const ChannelContextEventAttendeeStatus: {
758
- readonly ACCEPTED: "accepted";
759
- readonly DECLINED: "declined";
760
- readonly NONE: "none";
761
- readonly TENTATIVE: "tentative";
762
- };
763
- /**
764
- * @public
765
- */
766
- export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
767
462
  /**
768
463
  * @public
769
464
  */
@@ -781,7 +476,7 @@ export interface ChannelContextEvent {
781
476
  start?: string | undefined;
782
477
  end?: string | undefined;
783
478
  summary?: string | undefined;
784
- attendees?: (ChannelContextEventAttendee)[] | undefined;
479
+ attendees?: ChannelContextEventAttendee[] | undefined;
785
480
  }
786
481
  /**
787
482
  * @public
@@ -793,37 +488,15 @@ export interface ChannelContextPushToTalk {
793
488
  */
794
489
  broadcastId?: string | undefined;
795
490
  }
796
- /**
797
- * @public
798
- * @enum
799
- */
800
- export declare const ChannelContextSource: {
801
- readonly KITE: "kite";
802
- };
803
- /**
804
- * @public
805
- */
806
- export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
807
491
  /**
808
492
  * @public
809
493
  */
810
494
  export interface ChannelContext {
811
495
  source?: ChannelContextSource | undefined;
812
496
  target?: string | undefined;
813
- events?: (ChannelContextEvent)[] | undefined;
497
+ events?: ChannelContextEvent[] | undefined;
814
498
  ptt?: ChannelContextPushToTalk | undefined;
815
499
  }
816
- /**
817
- * @public
818
- * @enum
819
- */
820
- export declare const ChannelWhatsAppStatus: {
821
- readonly CHANNEL_CLOSED: "24h_channel_closed";
822
- };
823
- /**
824
- * @public
825
- */
826
- export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
827
500
  /**
828
501
  * @public
829
502
  */
@@ -870,43 +543,6 @@ export interface Channel {
870
543
  createdBy: string;
871
544
  updatedAt?: string | undefined;
872
545
  }
873
- /**
874
- * @public
875
- * @enum
876
- */
877
- export declare const ChatDirection: {
878
- readonly INBOUND: "INBOUND";
879
- readonly INTERNAL: "INTERNAL";
880
- readonly OUTBOUND: "OUTBOUND";
881
- };
882
- /**
883
- * @public
884
- */
885
- export type ChatDirection = typeof ChatDirection[keyof typeof ChatDirection];
886
- /**
887
- * @public
888
- * @enum
889
- */
890
- export declare const ChatParticipantRole: {
891
- readonly AGENT: "AGENT";
892
- readonly CLIENT: "CLIENT";
893
- };
894
- /**
895
- * @public
896
- */
897
- export type ChatParticipantRole = typeof ChatParticipantRole[keyof typeof ChatParticipantRole];
898
- /**
899
- * @public
900
- * @enum
901
- */
902
- export declare const ChatParticipantType: {
903
- readonly LOCAL: "LOCAL";
904
- readonly REMOTE: "REMOTE";
905
- };
906
- /**
907
- * @public
908
- */
909
- export type ChatParticipantType = typeof ChatParticipantType[keyof typeof ChatParticipantType];
910
546
  /**
911
547
  * @public
912
548
  */
@@ -938,34 +574,6 @@ export interface ChatParticipant {
938
574
  id: string;
939
575
  info: ChatParticipantInfo;
940
576
  }
941
- /**
942
- * @public
943
- * @enum
944
- */
945
- export declare const ChatStatus: {
946
- readonly COMPLETED: "COMPLETED";
947
- readonly MISSED: "MISSED";
948
- readonly WAITFIRSTREPLY: "WAITFIRSTREPLY";
949
- readonly WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT";
950
- readonly WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST";
951
- };
952
- /**
953
- * @public
954
- */
955
- export type ChatStatus = typeof ChatStatus[keyof typeof ChatStatus];
956
- /**
957
- * @public
958
- * @enum
959
- */
960
- export declare const ChatTag: {
961
- readonly SMS: "sms";
962
- readonly TELEPHONY: "telephony";
963
- readonly WHATSAPP: "whatsapp";
964
- };
965
- /**
966
- * @public
967
- */
968
- export type ChatTag = typeof ChatTag[keyof typeof ChatTag];
969
577
  /**
970
578
  * @public
971
579
  */
@@ -991,10 +599,10 @@ export interface ChatRecord {
991
599
  subject?: string | undefined;
992
600
  service?: string | undefined;
993
601
  serviceTitle?: string | undefined;
994
- tags?: (ChatTag)[] | undefined;
602
+ tags?: ChatTag[] | undefined;
995
603
  channel: Channel;
996
604
  status?: ChatStatus | undefined;
997
- participants: (ChatParticipant)[];
605
+ participants: ChatParticipant[];
998
606
  annotationsStatus?: AnnotationsStatus | undefined;
999
607
  type: RecordType;
1000
608
  }
@@ -1072,26 +680,17 @@ export declare namespace ButtonHandler {
1072
680
  action?: never;
1073
681
  $unknown: [string, any];
1074
682
  }
683
+ /**
684
+ * @deprecated unused in schema-serde mode.
685
+ *
686
+ */
1075
687
  interface Visitor<T> {
1076
688
  link: (value: ButtonLinkHandler) => T;
1077
689
  reply: (value: ButtonReplyHandler) => T;
1078
690
  action: (value: ButtonActionHandler) => T;
1079
691
  _: (name: string, value: any) => T;
1080
692
  }
1081
- const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
1082
693
  }
1083
- /**
1084
- * @public
1085
- * @enum
1086
- */
1087
- export declare const ButtonVariant: {
1088
- readonly CONTAINED: "contained";
1089
- readonly OUTLINED: "outlined";
1090
- };
1091
- /**
1092
- * @public
1093
- */
1094
- export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
1095
694
  /**
1096
695
  * @public
1097
696
  */
@@ -1120,11 +719,14 @@ export declare namespace ActionElement {
1120
719
  button?: never;
1121
720
  $unknown: [string, any];
1122
721
  }
722
+ /**
723
+ * @deprecated unused in schema-serde mode.
724
+ *
725
+ */
1123
726
  interface Visitor<T> {
1124
727
  button: (value: ButtonElement) => T;
1125
728
  _: (name: string, value: any) => T;
1126
729
  }
1127
- const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
1128
730
  }
1129
731
  /**
1130
732
  * @public
@@ -1147,7 +749,7 @@ export declare namespace Element {
1147
749
  }
1148
750
  interface ActionsMember {
1149
751
  template?: never;
1150
- actions: (ActionElement)[];
752
+ actions: ActionElement[];
1151
753
  $unknown?: never;
1152
754
  }
1153
755
  /**
@@ -1158,12 +760,15 @@ export declare namespace Element {
1158
760
  actions?: never;
1159
761
  $unknown: [string, any];
1160
762
  }
763
+ /**
764
+ * @deprecated unused in schema-serde mode.
765
+ *
766
+ */
1161
767
  interface Visitor<T> {
1162
768
  template: (value: MessageTemplateConfig) => T;
1163
- actions: (value: (ActionElement)[]) => T;
769
+ actions: (value: ActionElement[]) => T;
1164
770
  _: (name: string, value: any) => T;
1165
771
  }
1166
- const visit: <T>(value: Element, visitor: Visitor<T>) => T;
1167
772
  }
1168
773
  /**
1169
774
  * @public
@@ -1203,61 +808,20 @@ export interface MessageQuote {
1203
808
  channelId: string;
1204
809
  user: User;
1205
810
  text?: string | undefined;
1206
- attachments?: (MessageAttachment)[] | undefined;
811
+ attachments?: MessageAttachment[] | undefined;
1207
812
  forward?: MessageForward | undefined;
1208
- mentions?: (User)[] | undefined;
813
+ mentions?: User[] | undefined;
1209
814
  giphy?: MessageGiphy | undefined;
1210
815
  createdAt: string;
1211
816
  updatedAt?: string | undefined;
1212
817
  }
1213
- /**
1214
- * @public
1215
- * @enum
1216
- */
1217
- export declare const MessageSmsStatus: {
1218
- readonly DELIVERED: "delivered";
1219
- readonly ERROR: "error";
1220
- readonly SENT: "sent";
1221
- readonly TRYING: "trying";
1222
- };
1223
- /**
1224
- * @public
1225
- */
1226
- export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
1227
- /**
1228
- * @public
1229
- * @enum
1230
- */
1231
- export declare const MessageType: {
1232
- readonly DELETED: "deleted";
1233
- readonly REGULAR: "regular";
1234
- readonly SYSTEM: "system";
1235
- };
1236
- /**
1237
- * @public
1238
- */
1239
- export type MessageType = typeof MessageType[keyof typeof MessageType];
1240
- /**
1241
- * @public
1242
- * @enum
1243
- */
1244
- export declare const MessageWhatsAppStatus: {
1245
- readonly DELIVERED: "delivered";
1246
- readonly ERROR: "error";
1247
- readonly SENT: "sent";
1248
- readonly TRYING: "trying";
1249
- };
1250
- /**
1251
- * @public
1252
- */
1253
- export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
1254
818
  /**
1255
819
  * @public
1256
820
  */
1257
821
  export interface Message {
1258
822
  text?: string | undefined;
1259
- elements?: (Element)[] | undefined;
1260
- attachments?: (MessageAttachment)[] | undefined;
823
+ elements?: Element[] | undefined;
824
+ attachments?: MessageAttachment[] | undefined;
1261
825
  quote?: MessageQuote | undefined;
1262
826
  forward?: MessageForward | undefined;
1263
827
  whatsapp?: boolean | undefined;
@@ -1273,67 +837,12 @@ export interface Message {
1273
837
  channelId: string;
1274
838
  user: User;
1275
839
  edit?: boolean | undefined;
1276
- mentions?: (User)[] | undefined;
1277
- latestReactions?: (Reaction)[] | undefined;
840
+ mentions?: User[] | undefined;
841
+ latestReactions?: Reaction[] | undefined;
1278
842
  reactionCounts?: Record<string, number> | undefined;
1279
843
  createdAt: string;
1280
844
  updatedAt?: string | undefined;
1281
845
  }
1282
- /**
1283
- * @public
1284
- * @enum
1285
- */
1286
- export declare const ConferenceDirection: {
1287
- readonly INBOUND: "INBOUND";
1288
- readonly INTERNAL: "INTERNAL";
1289
- readonly OUTBOUND: "OUTBOUND";
1290
- };
1291
- /**
1292
- * @public
1293
- */
1294
- export type ConferenceDirection = typeof ConferenceDirection[keyof typeof ConferenceDirection];
1295
- /**
1296
- * @public
1297
- * @enum
1298
- */
1299
- export declare const PbxLicenseType: {
1300
- readonly BASIC: "basic";
1301
- readonly BUSINESS: "business";
1302
- readonly ESSENTIAL: "essential";
1303
- readonly PREMIUM: "premium";
1304
- readonly WIZYCONF: "wizyconf";
1305
- };
1306
- /**
1307
- * @public
1308
- */
1309
- export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
1310
- /**
1311
- * @public
1312
- * @enum
1313
- */
1314
- export declare const ConferenceParticipantRole: {
1315
- readonly AGENT: "AGENT";
1316
- readonly CLIENT: "CLIENT";
1317
- };
1318
- /**
1319
- * @public
1320
- */
1321
- export type ConferenceParticipantRole = typeof ConferenceParticipantRole[keyof typeof ConferenceParticipantRole];
1322
- /**
1323
- * @public
1324
- * @enum
1325
- */
1326
- export declare const ConferenceParticipantType: {
1327
- readonly EXTERNAL: "EXTERNAL";
1328
- readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
1329
- readonly PBX: "PBX";
1330
- readonly PBX_SIP: "PBX_SIP";
1331
- readonly XBS: "XBS";
1332
- };
1333
- /**
1334
- * @public
1335
- */
1336
- export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof typeof ConferenceParticipantType];
1337
846
  /**
1338
847
  * @public
1339
848
  */
@@ -1374,19 +883,6 @@ export interface ConferenceRecording {
1374
883
  start: number;
1375
884
  end: number;
1376
885
  }
1377
- /**
1378
- * @public
1379
- * @enum
1380
- */
1381
- export declare const ConferenceTranscriptionStatus: {
1382
- readonly AVAILABLE: "AVAILABLE";
1383
- readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
1384
- readonly UNAVAILABLE: "UNAVAILABLE";
1385
- };
1386
- /**
1387
- * @public
1388
- */
1389
- export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
1390
886
  /**
1391
887
  * @public
1392
888
  */
@@ -1403,8 +899,8 @@ export interface ConferenceRecord {
1403
899
  direction: ConferenceDirection;
1404
900
  service?: string | undefined;
1405
901
  status?: ConversationStatus | undefined;
1406
- participants: (ConferenceAnalyticsRecordParticipant)[];
1407
- recordings?: (ConferenceRecording)[] | undefined;
902
+ participants: ConferenceAnalyticsRecordParticipant[];
903
+ recordings?: ConferenceRecording[] | undefined;
1408
904
  transcriptionStatus: ConferenceTranscriptionStatus;
1409
905
  transcriptionLanguage?: string | undefined;
1410
906
  transcriptionSeconds?: number | undefined;
@@ -1452,22 +948,22 @@ export interface TranscriptionSummaryCsat {
1452
948
  export interface TranscriptionSummaryJson {
1453
949
  callBriefVeryShortTitle?: string | undefined;
1454
950
  callBrief?: string | undefined;
1455
- customerInsights?: (string)[] | undefined;
1456
- keyPoints?: (string)[] | undefined;
1457
- competitiveInformation?: (string)[] | undefined;
1458
- implementationTimeline?: (string)[] | undefined;
1459
- budget?: (string)[] | undefined;
1460
- customerResponse?: (string)[] | undefined;
1461
- salesProposals?: (string)[] | undefined;
1462
- actionItems?: (string)[] | undefined;
1463
- 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;
1464
960
  csat?: TranscriptionSummaryCsat | undefined;
1465
- topics?: (string)[] | undefined;
1466
- review?: (string)[] | undefined;
1467
- progress?: (string)[] | undefined;
1468
- issues?: (string)[] | undefined;
1469
- decisions?: (string)[] | undefined;
1470
- 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;
1471
967
  }
1472
968
  /**
1473
969
  * @public
@@ -1489,7 +985,7 @@ export interface ConferenceTimeFramesChunk {
1489
985
  */
1490
986
  export interface ConferenceTimeFramesListItem {
1491
987
  jid: string;
1492
- frames: (ConferenceTimeFramesChunk)[];
988
+ frames: ConferenceTimeFramesChunk[];
1493
989
  }
1494
990
  /**
1495
991
  * @public
@@ -1522,33 +1018,8 @@ export interface CallAgentsItemConsumeItem {
1522
1018
  * @public
1523
1019
  */
1524
1020
  export interface CallAgentsStartOrEndConsumeEventData {
1525
- agents: (CallAgentsItemConsumeItem)[];
1021
+ agents: CallAgentsItemConsumeItem[];
1526
1022
  }
1527
- /**
1528
- * @public
1529
- * @enum
1530
- */
1531
- export declare const CallConsumeEventType: {
1532
- readonly CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL";
1533
- readonly CALL_AGENTS_START: "CALL.AGENTS_START";
1534
- readonly CALL_ANNOTATE: "CALL.ANNOTATE";
1535
- readonly CALL_ATTACHMENT: "CALL.ATTACHMENT";
1536
- readonly CALL_END: "CALL.END";
1537
- readonly CALL_LIVE: "CALL.LIVE";
1538
- readonly CALL_POST_TRANSCRIPTION: "CALL.POST_TRANSCRIPTION";
1539
- readonly CALL_RECORD_PAUSE: "CALL.RECORD_PAUSE";
1540
- readonly CALL_RECORD_START: "CALL.RECORD_START";
1541
- readonly CALL_RECORD_STOP: "CALL.RECORD_STOP";
1542
- readonly CALL_RECORD_UNPAUSE: "CALL.RECORD_UNPAUSE";
1543
- readonly CALL_SPLIT: "CALL.SPLIT";
1544
- readonly CALL_START: "CALL.START";
1545
- readonly CALL_TRANSCRIPTION: "CALL.TRANSCRIPTION";
1546
- readonly CALL_UPDATE: "CALL.UPDATE";
1547
- };
1548
- /**
1549
- * @public
1550
- */
1551
- export type CallConsumeEventType = typeof CallConsumeEventType[keyof typeof CallConsumeEventType];
1552
1023
  /**
1553
1024
  * @public
1554
1025
  */
@@ -1571,41 +1042,6 @@ export interface CallAgentsStartConsumeEvent {
1571
1042
  type: CallConsumeEventType;
1572
1043
  data: CallAgentsStartOrEndConsumeEventData;
1573
1044
  }
1574
- /**
1575
- * @public
1576
- * @enum
1577
- */
1578
- export declare const LiveEventType: {
1579
- readonly CALL: "call";
1580
- readonly CALL_ANNOTATION: "call_annotation";
1581
- readonly CALL_COMPLETE: "call_complete";
1582
- readonly CALL_INTERRUPTED: "call_interrupted";
1583
- readonly CALL_TRANSCRIPTION: "call_transcription";
1584
- readonly CHAT: "chat";
1585
- readonly CHAT_ANNOTATION: "chat_annotation";
1586
- readonly CHAT_COMPLETE: "chat_complete";
1587
- readonly CHAT_COST: "call_cost";
1588
- readonly CHAT_INTERRUPTED: "chat_interrupted";
1589
- readonly CHAT_MISSED: "chat_missed";
1590
- readonly CHAT_TRANSCRIPTION: "chat_transcription";
1591
- readonly CONFERENCE: "conference";
1592
- readonly CONFERENCE_ANNOTATION: "conference_annotation";
1593
- readonly CONFERENCE_COMPLETE: "conference_complete";
1594
- readonly CONFERENCE_INTERRUPTED: "conference_interrupted";
1595
- readonly CONFERENCE_JOIN: "conference_join";
1596
- readonly CONFERENCE_LEAVE: "conference_leave";
1597
- readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
1598
- readonly SERVICE: "service";
1599
- readonly SERVICE_AGENT: "service_agent";
1600
- readonly SERVICE_AGENT_STATUS: "service_agent_status";
1601
- readonly SERVICE_CALL: "service_call";
1602
- readonly SERVICE_CALL_COMPLETE: "service_call_complete";
1603
- readonly SERVICE_COMPLETE: "service_complete";
1604
- };
1605
- /**
1606
- * @public
1607
- */
1608
- export type LiveEventType = typeof LiveEventType[keyof typeof LiveEventType];
1609
1045
  /**
1610
1046
  * @public
1611
1047
  */
@@ -1614,11 +1050,11 @@ export interface CallAnalyticsAnnotationsRecordEvent {
1614
1050
  pbx: string;
1615
1051
  time: number;
1616
1052
  company: string;
1617
- licenses: (License)[];
1053
+ licenses: License[];
1618
1054
  flowIndex: number;
1619
1055
  flowStartTime: number;
1620
1056
  callStartTime: number;
1621
- annotations: (Annotation)[];
1057
+ annotations: Annotation[];
1622
1058
  type: LiveEventType;
1623
1059
  }
1624
1060
  /**
@@ -1638,8 +1074,8 @@ export interface CallAnalyticsCostRecordEvent {
1638
1074
  pbx: string;
1639
1075
  time: number;
1640
1076
  company: string;
1641
- licenses: (License)[];
1642
- transcriptions: (CallTranscription)[];
1077
+ licenses: License[];
1078
+ transcriptions: CallTranscription[];
1643
1079
  type: LiveEventType;
1644
1080
  flowIndex: number;
1645
1081
  cost: number;
@@ -1652,7 +1088,7 @@ export interface CallAnalyticsLiveAnnotationEvent {
1652
1088
  pbx: string;
1653
1089
  time: number;
1654
1090
  company: string;
1655
- licenses: (License)[];
1091
+ licenses: License[];
1656
1092
  event: LiveEventType;
1657
1093
  flowIndex: number;
1658
1094
  flowStartTime: number;
@@ -1667,7 +1103,7 @@ export interface CallAnalyticsLiveCompleteEvent {
1667
1103
  pbx: string;
1668
1104
  time: number;
1669
1105
  company: string;
1670
- licenses: (License)[];
1106
+ licenses: License[];
1671
1107
  event: LiveEventType;
1672
1108
  flows: number;
1673
1109
  }
@@ -1679,44 +1115,10 @@ export interface CallAnalyticsLiveInterruptedEvent {
1679
1115
  pbx: string;
1680
1116
  time: number;
1681
1117
  company: string;
1682
- licenses: (License)[];
1118
+ licenses: License[];
1683
1119
  event: LiveEventType;
1684
1120
  flows: number;
1685
1121
  }
1686
- /**
1687
- * @public
1688
- * @enum
1689
- */
1690
- export declare const CallAnalyticsLiveProgressEventTrigger: {
1691
- readonly AGENTS_CANCEL: "call.agents_cancel";
1692
- readonly AGENTS_START: "call.agents_start";
1693
- readonly ATTACHMENT: "call.attachment";
1694
- readonly RECORD_PAUSE: "call.record_pause";
1695
- readonly RECORD_START: "call.record_start";
1696
- readonly RECORD_STOP: "call.record_stop";
1697
- readonly RECORD_UNPAUSE: "call.record_unpause";
1698
- readonly SPLIT: "call.split";
1699
- readonly START: "call.start";
1700
- readonly TRANSCRIPTION: "call.transcription";
1701
- readonly UPDATE: "call.update";
1702
- };
1703
- /**
1704
- * @public
1705
- */
1706
- export type CallAnalyticsLiveProgressEventTrigger = typeof CallAnalyticsLiveProgressEventTrigger[keyof typeof CallAnalyticsLiveProgressEventTrigger];
1707
- /**
1708
- * @public
1709
- * @enum
1710
- */
1711
- export declare const CallFlowStatus: {
1712
- readonly CONNECTING: "CONNECTING";
1713
- readonly HOLD: "HOLD";
1714
- readonly TALKING: "TALKING";
1715
- };
1716
- /**
1717
- * @public
1718
- */
1719
- export type CallFlowStatus = typeof CallFlowStatus[keyof typeof CallFlowStatus];
1720
1122
  /**
1721
1123
  * @public
1722
1124
  */
@@ -1769,25 +1171,25 @@ export interface CallAnalyticsLiveProgressEventFlow {
1769
1171
  * @public
1770
1172
  */
1771
1173
  queuePosition?: number | undefined;
1772
- tags?: (string)[] | undefined;
1773
- flags?: (string)[] | undefined;
1174
+ tags?: string[] | undefined;
1175
+ flags?: string[] | undefined;
1774
1176
  callerMos?: string | undefined;
1775
1177
  calleeMos?: string | undefined;
1776
1178
  xhoppersConfId?: string | undefined;
1777
1179
  /**
1778
1180
  * Consider to use `attachments` instead.
1779
1181
  *
1780
- * @deprecated
1182
+ * @deprecated deprecated.
1781
1183
  * @public
1782
1184
  */
1783
- recordings?: (string)[] | undefined;
1185
+ recordings?: string[] | undefined;
1784
1186
  /**
1785
1187
  * Consider to use `attachments` instead.
1786
1188
  *
1787
- * @deprecated
1189
+ * @deprecated deprecated.
1788
1190
  * @public
1789
1191
  */
1790
- recordingsData?: (CallFlowRecording)[] | undefined;
1192
+ recordingsData?: CallFlowRecording[] | undefined;
1791
1193
  mergeWith?: string | undefined;
1792
1194
  splitReason?: string | undefined;
1793
1195
  splitTransferType?: string | undefined;
@@ -1803,25 +1205,25 @@ export interface CallAnalyticsLiveProgressEventFlow {
1803
1205
  /**
1804
1206
  * Consider to use `attachments` instead.
1805
1207
  *
1806
- * @deprecated
1208
+ * @deprecated deprecated.
1807
1209
  * @public
1808
1210
  */
1809
1211
  attachment?: string | undefined;
1810
1212
  /**
1811
1213
  * Consider to use `attachments` instead.
1812
1214
  *
1813
- * @deprecated
1215
+ * @deprecated deprecated.
1814
1216
  * @public
1815
1217
  */
1816
1218
  attachmentType?: CallFlowAttachmentType | undefined;
1817
1219
  /**
1818
1220
  * Consider to use `attachments` instead.
1819
1221
  *
1820
- * @deprecated
1222
+ * @deprecated deprecated.
1821
1223
  * @public
1822
1224
  */
1823
- attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1824
- attachments?: (CallFlowAttachment)[] | undefined;
1225
+ attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
1226
+ attachments?: CallFlowAttachment[] | undefined;
1825
1227
  notifications?: CallFlowNotifications | undefined;
1826
1228
  status: CallFlowStatus;
1827
1229
  /**
@@ -1838,7 +1240,7 @@ export interface CallAnalyticsLiveProgressEvent {
1838
1240
  pbx: string;
1839
1241
  time: number;
1840
1242
  company: string;
1841
- licenses: (License)[];
1243
+ licenses: License[];
1842
1244
  event: LiveEventType;
1843
1245
  /**
1844
1246
  * An original event that triggers current one.
@@ -1846,12 +1248,12 @@ export interface CallAnalyticsLiveProgressEvent {
1846
1248
  */
1847
1249
  eventTrigger: CallAnalyticsLiveProgressEventTrigger;
1848
1250
  start: string;
1849
- flows: (CallAnalyticsLiveProgressEventFlow)[];
1251
+ flows: CallAnalyticsLiveProgressEventFlow[];
1850
1252
  /**
1851
1253
  * List of unique group IDs from all participants involved in the conversation
1852
1254
  * @public
1853
1255
  */
1854
- participantsGroupIds?: (string)[] | undefined;
1256
+ participantsGroupIds?: string[] | undefined;
1855
1257
  }
1856
1258
  /**
1857
1259
  * @public
@@ -1861,7 +1263,7 @@ export interface CallAnalyticsLiveTranscriptionEvent {
1861
1263
  pbx: string;
1862
1264
  time: number;
1863
1265
  company: string;
1864
- licenses: (License)[];
1266
+ licenses: License[];
1865
1267
  event: LiveEventType;
1866
1268
  flowIndex: number;
1867
1269
  flowStartTime: number;
@@ -1869,18 +1271,6 @@ export interface CallAnalyticsLiveTranscriptionEvent {
1869
1271
  chunk: CallTranscriptionChunk;
1870
1272
  participant?: CallParticipant | undefined;
1871
1273
  }
1872
- /**
1873
- * @public
1874
- * @enum
1875
- */
1876
- export declare const CallEndBy: {
1877
- readonly CALLEE: "CALLEE";
1878
- readonly CALLER: "CALLER";
1879
- };
1880
- /**
1881
- * @public
1882
- */
1883
- export type CallEndBy = typeof CallEndBy[keyof typeof CallEndBy];
1884
1274
  /**
1885
1275
  * @public
1886
1276
  */
@@ -1933,25 +1323,25 @@ export interface CallAnalyticsRecordEventFlow {
1933
1323
  * @public
1934
1324
  */
1935
1325
  queuePosition?: number | undefined;
1936
- tags?: (string)[] | undefined;
1937
- flags?: (string)[] | undefined;
1326
+ tags?: string[] | undefined;
1327
+ flags?: string[] | undefined;
1938
1328
  callerMos?: string | undefined;
1939
1329
  calleeMos?: string | undefined;
1940
1330
  xhoppersConfId?: string | undefined;
1941
1331
  /**
1942
1332
  * Consider to use `attachments` instead.
1943
1333
  *
1944
- * @deprecated
1334
+ * @deprecated deprecated.
1945
1335
  * @public
1946
1336
  */
1947
- recordings?: (string)[] | undefined;
1337
+ recordings?: string[] | undefined;
1948
1338
  /**
1949
1339
  * Consider to use `attachments` instead.
1950
1340
  *
1951
- * @deprecated
1341
+ * @deprecated deprecated.
1952
1342
  * @public
1953
1343
  */
1954
- recordingsData?: (CallFlowRecording)[] | undefined;
1344
+ recordingsData?: CallFlowRecording[] | undefined;
1955
1345
  mergeWith?: string | undefined;
1956
1346
  splitReason?: string | undefined;
1957
1347
  splitTransferType?: string | undefined;
@@ -1967,25 +1357,25 @@ export interface CallAnalyticsRecordEventFlow {
1967
1357
  /**
1968
1358
  * Consider to use `attachments` instead.
1969
1359
  *
1970
- * @deprecated
1360
+ * @deprecated deprecated.
1971
1361
  * @public
1972
1362
  */
1973
1363
  attachment?: string | undefined;
1974
1364
  /**
1975
1365
  * Consider to use `attachments` instead.
1976
1366
  *
1977
- * @deprecated
1367
+ * @deprecated deprecated.
1978
1368
  * @public
1979
1369
  */
1980
1370
  attachmentType?: CallFlowAttachmentType | undefined;
1981
1371
  /**
1982
1372
  * Consider to use `attachments` instead.
1983
1373
  *
1984
- * @deprecated
1374
+ * @deprecated deprecated.
1985
1375
  * @public
1986
1376
  */
1987
- attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1988
- attachments?: (CallFlowAttachment)[] | undefined;
1377
+ attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
1378
+ attachments?: CallFlowAttachment[] | undefined;
1989
1379
  notifications?: CallFlowNotifications | undefined;
1990
1380
  }
1991
1381
  /**
@@ -1996,8 +1386,8 @@ export interface CallAnalyticsRecordEvent {
1996
1386
  pbx: string;
1997
1387
  time: number;
1998
1388
  company: string;
1999
- licenses: (License)[];
2000
- flows: (CallAnalyticsRecordEventFlow)[];
1389
+ licenses: License[];
1390
+ flows: CallAnalyticsRecordEventFlow[];
2001
1391
  endCause?: string | undefined;
2002
1392
  endCauseStr?: string | undefined;
2003
1393
  endBy: CallEndBy;
@@ -2017,8 +1407,8 @@ export interface CallAnalyticsTranscriptionRecordEvent {
2017
1407
  pbx: string;
2018
1408
  time: number;
2019
1409
  company: string;
2020
- licenses: (License)[];
2021
- transcriptions: (CallTranscription)[];
1410
+ licenses: License[];
1411
+ transcriptions: CallTranscription[];
2022
1412
  type: LiveEventType;
2023
1413
  complete: boolean;
2024
1414
  }
@@ -2040,26 +1430,13 @@ export interface CallAnnotateConsumeEvent {
2040
1430
  type: CallConsumeEventType;
2041
1431
  data: CallAnnotateConsumeEventData;
2042
1432
  }
2043
- /**
2044
- * @public
2045
- * @enum
2046
- */
2047
- export declare const CallFlowAttachmentConsumeType: {
2048
- readonly FAX: "fax";
2049
- readonly TRANSCRIPTION: "transcription";
2050
- readonly VOICEMAIL: "voicemail";
2051
- };
2052
- /**
2053
- * @public
2054
- */
2055
- export type CallFlowAttachmentConsumeType = typeof CallFlowAttachmentConsumeType[keyof typeof CallFlowAttachmentConsumeType];
2056
1433
  /**
2057
1434
  * @public
2058
1435
  */
2059
1436
  export interface CallAttachmentConsumeEventData {
2060
1437
  type: CallFlowAttachmentConsumeType;
2061
1438
  url: string;
2062
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
1439
+ destinations?: CallFlowAttachmentDestination[] | undefined;
2063
1440
  status?: CallFlowAttachmentStatus | undefined;
2064
1441
  error?: string | undefined;
2065
1442
  }
@@ -2074,18 +1451,6 @@ export interface CallAttachmentConsumeEvent {
2074
1451
  type: CallConsumeEventType;
2075
1452
  data: CallAttachmentConsumeEventData;
2076
1453
  }
2077
- /**
2078
- * @public
2079
- * @enum
2080
- */
2081
- export declare const CallEndConsume: {
2082
- readonly CALLEE: "callee";
2083
- readonly CALLER: "caller";
2084
- };
2085
- /**
2086
- * @public
2087
- */
2088
- export type CallEndConsume = typeof CallEndConsume[keyof typeof CallEndConsume];
2089
1454
  /**
2090
1455
  * @public
2091
1456
  */
@@ -2093,18 +1458,6 @@ export interface CallMosData {
2093
1458
  caller?: string | undefined;
2094
1459
  callee?: string | undefined;
2095
1460
  }
2096
- /**
2097
- * @public
2098
- * @enum
2099
- */
2100
- export declare const CallRtpIpFamily: {
2101
- readonly IPV4: "IPv4";
2102
- readonly IPV6: "IPv6";
2103
- };
2104
- /**
2105
- * @public
2106
- */
2107
- export type CallRtpIpFamily = typeof CallRtpIpFamily[keyof typeof CallRtpIpFamily];
2108
1461
  /**
2109
1462
  * RTP endpoint with IP address, port, and address family.
2110
1463
  * @public
@@ -2273,25 +1626,6 @@ export interface CallEndConsumeEvent {
2273
1626
  type: CallConsumeEventType;
2274
1627
  data: CallEndConsumeEventData;
2275
1628
  }
2276
- /**
2277
- * @public
2278
- * @enum
2279
- */
2280
- export declare const CallEventType: {
2281
- readonly ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent";
2282
- readonly COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent";
2283
- readonly LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent";
2284
- readonly LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent";
2285
- readonly LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent";
2286
- readonly LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent";
2287
- readonly LIVE_TRANSCRIPTION_EVENT: "CallAnalyticsLiveTranscriptionEvent";
2288
- readonly RECORD_EVENT: "CallAnalyticsRecordEvent";
2289
- readonly TRANSCRIPTION_RECORD_EVENT: "CallAnalyticsTranscriptionRecordEvent";
2290
- };
2291
- /**
2292
- * @public
2293
- */
2294
- export type CallEventType = typeof CallEventType[keyof typeof CallEventType];
2295
1629
  /**
2296
1630
  * @public
2297
1631
  */
@@ -2299,19 +1633,6 @@ export interface CallFlowConsumeQueue {
2299
1633
  id: string;
2300
1634
  name: string;
2301
1635
  }
2302
- /**
2303
- * @public
2304
- * @enum
2305
- */
2306
- export declare const CallFlowConsumeStatus: {
2307
- readonly CONNECTING: "connecting";
2308
- readonly HOLD: "hold";
2309
- readonly TALKING: "talking";
2310
- };
2311
- /**
2312
- * @public
2313
- */
2314
- export type CallFlowConsumeStatus = typeof CallFlowConsumeStatus[keyof typeof CallFlowConsumeStatus];
2315
1636
  /**
2316
1637
  * @public
2317
1638
  */
@@ -2415,7 +1736,7 @@ export interface CallRecordStopConsumeEventData {
2415
1736
  fileName: string;
2416
1737
  url: string;
2417
1738
  end: number;
2418
- pauses: (CallRecordPause)[];
1739
+ pauses: CallRecordPause[];
2419
1740
  flowId: number;
2420
1741
  }
2421
1742
  /**
@@ -2467,8 +1788,8 @@ export interface CallSplitConsumeEventData {
2467
1788
  * @public
2468
1789
  */
2469
1790
  queuePosition?: number | undefined;
2470
- tags?: (string)[] | undefined;
2471
- flags?: (string)[] | undefined;
1791
+ tags?: string[] | undefined;
1792
+ flags?: string[] | undefined;
2472
1793
  sipCallId?: string | undefined;
2473
1794
  mos?: CallMosData | undefined;
2474
1795
  /**
@@ -2509,10 +1830,10 @@ export interface CallStartConsumeEventData {
2509
1830
  * @public
2510
1831
  */
2511
1832
  queuePosition?: number | undefined;
2512
- tags?: (string)[] | undefined;
2513
- flags?: (string)[] | undefined;
1833
+ tags?: string[] | undefined;
1834
+ flags?: string[] | undefined;
2514
1835
  sipCallId?: string | undefined;
2515
- licenses?: (License)[] | undefined;
1836
+ licenses?: License[] | undefined;
2516
1837
  }
2517
1838
  /**
2518
1839
  * @public
@@ -2567,8 +1888,8 @@ export interface CallUpdateConsumeEventData {
2567
1888
  * @public
2568
1889
  */
2569
1890
  queuePosition?: number | undefined;
2570
- tags?: (string)[] | undefined;
2571
- flags?: (string)[] | undefined;
1891
+ tags?: string[] | undefined;
1892
+ flags?: string[] | undefined;
2572
1893
  sipCallId?: string | undefined;
2573
1894
  mos?: CallMosData | undefined;
2574
1895
  }
@@ -2599,7 +1920,7 @@ export interface ChatAnalyticsAnnotationsRecordEvent {
2599
1920
  chatId?: string | undefined;
2600
1921
  time: number;
2601
1922
  company: string;
2602
- annotations: (Annotation)[];
1923
+ annotations: Annotation[];
2603
1924
  type: LiveEventType;
2604
1925
  }
2605
1926
  /**
@@ -2680,12 +2001,12 @@ export interface ChatAnalyticsLiveProgressEvent {
2680
2001
  subject: string;
2681
2002
  service?: string | undefined;
2682
2003
  serviceTitle?: string | undefined;
2683
- participants: (ChatParticipantInfo)[];
2684
- agents: (User)[];
2004
+ participants: ChatParticipantInfo[];
2005
+ agents: User[];
2685
2006
  agentsCount: number;
2686
- customers: (User)[];
2007
+ customers: User[];
2687
2008
  customersCount: number;
2688
- tags?: (ChatTag)[] | undefined;
2009
+ tags?: ChatTag[] | undefined;
2689
2010
  direction: ChatDirection;
2690
2011
  status: ChatStatus;
2691
2012
  annotationsStatus?: AnnotationsStatus | undefined;
@@ -2752,10 +2073,10 @@ export interface ChatAnalyticsRecordEvent {
2752
2073
  subject?: string | undefined;
2753
2074
  service?: string | undefined;
2754
2075
  serviceTitle?: string | undefined;
2755
- tags?: (ChatTag)[] | undefined;
2076
+ tags?: ChatTag[] | undefined;
2756
2077
  channel: Channel;
2757
2078
  status?: ChatStatus | undefined;
2758
- participants: (ChatParticipant)[];
2079
+ participants: ChatParticipant[];
2759
2080
  annotationsStatus?: AnnotationsStatus | undefined;
2760
2081
  type: string;
2761
2082
  }
@@ -2765,7 +2086,7 @@ export interface ChatAnalyticsRecordEvent {
2765
2086
  export interface ChatTranscription {
2766
2087
  start: number;
2767
2088
  end: number;
2768
- messages: (Message)[];
2089
+ messages: Message[];
2769
2090
  }
2770
2091
  /**
2771
2092
  * @public
@@ -2794,20 +2115,6 @@ export interface ChatAnnotateConsumeEventData {
2794
2115
  channelType: ChannelType;
2795
2116
  annotation: Annotation;
2796
2117
  }
2797
- /**
2798
- * @public
2799
- * @enum
2800
- */
2801
- export declare const ChatConsumeEventType: {
2802
- readonly CHAT_ANNOTATE: "CHAT.ANNOTATE";
2803
- readonly CHAT_MESSAGE: "CHAT.MESSAGE";
2804
- readonly CHAT_NEW: "CHAT.NEW";
2805
- readonly CHAT_UPDATE: "CHAT.UPDATE";
2806
- };
2807
- /**
2808
- * @public
2809
- */
2810
- export type ChatConsumeEventType = typeof ChatConsumeEventType[keyof typeof ChatConsumeEventType];
2811
2118
  /**
2812
2119
  * @public
2813
2120
  */
@@ -2818,6 +2125,7 @@ export interface ChatAnnotateConsumeEvent {
2818
2125
  data: ChatAnnotateConsumeEventData;
2819
2126
  }
2820
2127
  /**
2128
+ * @deprecated deprecated.
2821
2129
  * @public
2822
2130
  */
2823
2131
  export interface ChatConsumeEventParticipants {
@@ -2825,34 +2133,15 @@ export interface ChatConsumeEventParticipants {
2825
2133
  * A list of Agents available in the Chat, up to 8 items, sorted by name.
2826
2134
  * @public
2827
2135
  */
2828
- agents: (User)[];
2136
+ agents: User[];
2829
2137
  agentsCount: number;
2830
2138
  /**
2831
2139
  * A list of Customers available in the Chat, up to 8 items, sorted by name.
2832
2140
  * @public
2833
2141
  */
2834
- customers: (User)[];
2142
+ customers: User[];
2835
2143
  customersCount: number;
2836
2144
  }
2837
- /**
2838
- * @public
2839
- * @enum
2840
- */
2841
- export declare const ChatEventType: {
2842
- readonly ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent";
2843
- readonly LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent";
2844
- readonly LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent";
2845
- readonly LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent";
2846
- readonly LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent";
2847
- readonly LIVE_TRANSCRIPTION_EVENT: "ChatAnalyticsLiveTranscriptionEvent";
2848
- readonly MANAGER_MISSED_EVENT: "ChatAnalyticsManagerMissedEvent";
2849
- readonly RECORD_EVENT: "ChatAnalyticsRecordEvent";
2850
- readonly TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent";
2851
- };
2852
- /**
2853
- * @public
2854
- */
2855
- export type ChatEventType = typeof ChatEventType[keyof typeof ChatEventType];
2856
2145
  /**
2857
2146
  * @public
2858
2147
  */
@@ -2861,13 +2150,13 @@ export interface ChatParticipants {
2861
2150
  * A list of Agents available in the Chat, up to 8 items, sorted by name.
2862
2151
  * @public
2863
2152
  */
2864
- agents?: (User)[] | undefined;
2153
+ agents?: User[] | undefined;
2865
2154
  agentsCount: number;
2866
2155
  /**
2867
2156
  * A list of Customers available in the Chat, up to 8 items, sorted by name.
2868
2157
  * @public
2869
2158
  */
2870
- customers?: (User)[] | undefined;
2159
+ customers?: User[] | undefined;
2871
2160
  customersCount: number;
2872
2161
  }
2873
2162
  /**
@@ -2891,6 +2180,7 @@ export interface ChatMessageConsumeEvent {
2891
2180
  data: ChatMessageConsumeEventData;
2892
2181
  }
2893
2182
  /**
2183
+ * @deprecated deprecated.
2894
2184
  * @public
2895
2185
  */
2896
2186
  export interface ChatNewConsumeEventData {
@@ -2899,17 +2189,26 @@ export interface ChatNewConsumeEventData {
2899
2189
  subject: string;
2900
2190
  service?: string | undefined;
2901
2191
  serviceTitle?: string | undefined;
2192
+ /**
2193
+ * @deprecated deprecated.
2194
+ * @public
2195
+ */
2902
2196
  participants: ChatConsumeEventParticipants;
2903
- tags?: (ChatTag)[] | undefined;
2197
+ tags?: ChatTag[] | undefined;
2904
2198
  sender: User;
2905
2199
  }
2906
2200
  /**
2201
+ * @deprecated deprecated.
2907
2202
  * @public
2908
2203
  */
2909
2204
  export interface ChatNewConsumeEvent {
2910
2205
  type: ChatConsumeEventType;
2911
2206
  company: string;
2912
2207
  time: number;
2208
+ /**
2209
+ * @deprecated deprecated.
2210
+ * @public
2211
+ */
2913
2212
  data: ChatNewConsumeEventData;
2914
2213
  }
2915
2214
  /**
@@ -2921,8 +2220,12 @@ export interface ChatUpdateConsumeEventData {
2921
2220
  subject: string;
2922
2221
  service?: string | undefined;
2923
2222
  serviceTitle?: string | undefined;
2223
+ /**
2224
+ * @deprecated deprecated.
2225
+ * @public
2226
+ */
2924
2227
  participants: ChatConsumeEventParticipants;
2925
- tags?: (ChatTag)[] | undefined;
2228
+ tags?: ChatTag[] | undefined;
2926
2229
  }
2927
2230
  /**
2928
2231
  * @public
@@ -2940,7 +2243,7 @@ export interface ConferenceAnalyticsAnnotationsRecordEvent {
2940
2243
  id: string;
2941
2244
  time: number;
2942
2245
  company: string;
2943
- annotations: (Annotation)[];
2246
+ annotations: Annotation[];
2944
2247
  type: LiveEventType;
2945
2248
  }
2946
2249
  /**
@@ -3003,7 +2306,7 @@ export interface ConferenceAnalyticsLiveProgressEvent {
3003
2306
  event: LiveEventType;
3004
2307
  start: string;
3005
2308
  subject: string;
3006
- participants: (ConferenceParticipant)[];
2309
+ participants: ConferenceParticipant[];
3007
2310
  transcriptionStatus?: ConferenceTranscriptionStatus | undefined;
3008
2311
  transcriptionLanguage?: string | undefined;
3009
2312
  annotationsStatus?: AnnotationsStatus | undefined;
@@ -3011,7 +2314,7 @@ export interface ConferenceAnalyticsLiveProgressEvent {
3011
2314
  * List of unique group IDs from all participants involved in the conversation
3012
2315
  * @public
3013
2316
  */
3014
- participantsGroupIds?: (string)[] | undefined;
2317
+ participantsGroupIds?: string[] | undefined;
3015
2318
  }
3016
2319
  /**
3017
2320
  * @public
@@ -3042,13 +2345,17 @@ export interface ConferenceAnalyticsRecordEvent {
3042
2345
  direction: ConferenceDirection;
3043
2346
  service?: string | undefined;
3044
2347
  status?: ConversationStatus | undefined;
3045
- participants: (ConferenceAnalyticsRecordParticipant)[];
3046
- recordings?: (ConferenceRecording)[] | undefined;
2348
+ participants: ConferenceAnalyticsRecordParticipant[];
2349
+ recordings?: ConferenceRecording[] | undefined;
3047
2350
  transcriptionStatus: ConferenceTranscriptionStatus;
3048
2351
  transcriptionLanguage?: string | undefined;
3049
2352
  transcriptionSeconds?: number | undefined;
3050
2353
  annotationsStatus?: AnnotationsStatus | undefined;
3051
2354
  type: LiveEventType;
2355
+ /**
2356
+ * @deprecated deprecated.
2357
+ * @public
2358
+ */
3052
2359
  transcriptions?: string | undefined;
3053
2360
  }
3054
2361
  /**
@@ -3066,9 +2373,17 @@ export interface ConferenceAnalyticsTranscriptionRecordEvent {
3066
2373
  id: string;
3067
2374
  time: number;
3068
2375
  company: string;
3069
- transcriptions: (ConferenceTranscription)[];
2376
+ transcriptions: ConferenceTranscription[];
3070
2377
  type: LiveEventType;
2378
+ /**
2379
+ * @deprecated deprecated.
2380
+ * @public
2381
+ */
3071
2382
  subject?: string | undefined;
2383
+ /**
2384
+ * @deprecated deprecated.
2385
+ * @public
2386
+ */
3072
2387
  participants?: Record<string, ConferenceParticipant> | undefined;
3073
2388
  }
3074
2389
  /**
@@ -3078,27 +2393,6 @@ export interface ConferenceAnnotateConsumeEventData {
3078
2393
  company?: string | undefined;
3079
2394
  annotation: Annotation;
3080
2395
  }
3081
- /**
3082
- * @public
3083
- * @enum
3084
- */
3085
- export declare const ConferenceConsumeEventType: {
3086
- readonly CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE";
3087
- readonly CONFERENCE_END: "CONFERENCE.END";
3088
- readonly CONFERENCE_JOIN: "CONFERENCE.JOIN";
3089
- readonly CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE";
3090
- readonly CONFERENCE_LEAVE: "CONFERENCE.LEAVE";
3091
- readonly CONFERENCE_RECORD_START: "CONFERENCE.RECORD_START";
3092
- readonly CONFERENCE_RECORD_STOP: "CONFERENCE.RECORD_STOP";
3093
- readonly CONFERENCE_START: "CONFERENCE.START";
3094
- readonly CONFERENCE_STATS: "CONFERENCE.STATS";
3095
- readonly CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES";
3096
- readonly CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION";
3097
- };
3098
- /**
3099
- * @public
3100
- */
3101
- export type ConferenceConsumeEventType = typeof ConferenceConsumeEventType[keyof typeof ConferenceConsumeEventType];
3102
2396
  /**
3103
2397
  * @public
3104
2398
  */
@@ -3109,19 +2403,6 @@ export interface ConferenceAnnotateConsumeEvent {
3109
2403
  type: ConferenceConsumeEventType;
3110
2404
  data: ConferenceAnnotateConsumeEventData;
3111
2405
  }
3112
- /**
3113
- * @public
3114
- * @enum
3115
- */
3116
- export declare const ConferenceConsumeDirection: {
3117
- readonly INBOUND: "inbound";
3118
- readonly INTERNAL: "internal";
3119
- readonly OUTBOUND: "outbound";
3120
- };
3121
- /**
3122
- * @public
3123
- */
3124
- export type ConferenceConsumeDirection = typeof ConferenceConsumeDirection[keyof typeof ConferenceConsumeDirection];
3125
2406
  /**
3126
2407
  * @public
3127
2408
  */
@@ -3131,26 +2412,6 @@ export interface ConferenceEndConsumeEvent {
3131
2412
  time: number;
3132
2413
  type: ConferenceConsumeEventType;
3133
2414
  }
3134
- /**
3135
- * @public
3136
- * @enum
3137
- */
3138
- export declare const ConferenceEventType: {
3139
- readonly ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent";
3140
- readonly LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent";
3141
- readonly LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent";
3142
- readonly LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent";
3143
- readonly LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent";
3144
- readonly LIVE_LEAVE_EVENT: "ConferenceAnalyticsLiveLeaveEvent";
3145
- readonly LIVE_PROGRESS_EVENT: "ConferenceAnalyticsLiveProgressEvent";
3146
- readonly LIVE_TRANSCRIPTION_EVENT: "ConferenceAnalyticsLiveTranscriptionEvent";
3147
- readonly RECORD_EVENT: "ConferenceAnalyticsRecordEvent";
3148
- readonly TRANSCRIPTION_RECORD_EVENT: "ConferenceAnalyticsTranscriptionRecordEvent";
3149
- };
3150
- /**
3151
- * @public
3152
- */
3153
- export type ConferenceEventType = typeof ConferenceEventType[keyof typeof ConferenceEventType];
3154
2415
  /**
3155
2416
  * @public
3156
2417
  */
@@ -3182,7 +2443,7 @@ export interface ConferenceJoinConsumeEvent {
3182
2443
  export interface ConferenceKeepAliveConsumeEvent {
3183
2444
  type: ConferenceConsumeEventType;
3184
2445
  time: number;
3185
- sessions: (string)[];
2446
+ sessions: string[];
3186
2447
  }
3187
2448
  /**
3188
2449
  * @public
@@ -3271,13 +2532,13 @@ export interface ConferenceStatsConsumeEvent {
3271
2532
  session: string;
3272
2533
  time: number;
3273
2534
  type: ConferenceConsumeEventType;
3274
- data: (ConferenceSpeakerTime)[];
2535
+ data: ConferenceSpeakerTime[];
3275
2536
  }
3276
2537
  /**
3277
2538
  * @public
3278
2539
  */
3279
2540
  export interface ConferenceTimeFramesConsumeEventData {
3280
- timeFrames: (ConferenceTimeFramesListItem)[];
2541
+ timeFrames: ConferenceTimeFramesListItem[];
3281
2542
  }
3282
2543
  /**
3283
2544
  * @public
@@ -3289,20 +2550,6 @@ export interface ConferenceTimeFramesConsumeEvent {
3289
2550
  type: ConferenceConsumeEventType;
3290
2551
  data: ConferenceTimeFramesConsumeEventData;
3291
2552
  }
3292
- /**
3293
- * @public
3294
- * @enum
3295
- */
3296
- export declare const ConferenceTranscriptionSentiment: {
3297
- readonly MIXED: "MIXED";
3298
- readonly NEGATIVE: "NEGATIVE";
3299
- readonly NEUTRAL: "NEUTRAL";
3300
- readonly POSITIVE: "POSITIVE";
3301
- };
3302
- /**
3303
- * @public
3304
- */
3305
- export type ConferenceTranscriptionSentiment = typeof ConferenceTranscriptionSentiment[keyof typeof ConferenceTranscriptionSentiment];
3306
2553
  /**
3307
2554
  * @public
3308
2555
  */
@@ -3314,6 +2561,10 @@ export interface ConferenceTranscriptionConsumeEventData {
3314
2561
  time: number;
3315
2562
  start: number;
3316
2563
  end: number;
2564
+ /**
2565
+ * @deprecated Use the shared `TranscriptionSentiment` enum from `conversation.general.structures` instead.
2566
+ * @public
2567
+ */
3317
2568
  sentiment?: ConferenceTranscriptionSentiment | undefined;
3318
2569
  final?: boolean | undefined;
3319
2570
  }
@@ -3336,22 +2587,10 @@ export interface PresenceConsumeEventData {
3336
2587
  email?: string | undefined;
3337
2588
  sourceId?: string | undefined;
3338
2589
  status?: string | undefined;
3339
- location?: (string)[] | undefined;
2590
+ location?: string[] | undefined;
3340
2591
  message?: string | undefined;
3341
2592
  until?: string | undefined;
3342
2593
  }
3343
- /**
3344
- * @public
3345
- * @enum
3346
- */
3347
- export declare const PresenceConsumeEventType: {
3348
- readonly PRESENCE: "PRESENCE";
3349
- readonly PRESENCE_TELEPHONY: "PRESENCE.TELEPHONY";
3350
- };
3351
- /**
3352
- * @public
3353
- */
3354
- export type PresenceConsumeEventType = typeof PresenceConsumeEventType[keyof typeof PresenceConsumeEventType];
3355
2594
  /**
3356
2595
  * @public
3357
2596
  */
@@ -3384,18 +2623,6 @@ export interface PresenceTelephonyConsumeEvent {
3384
2623
  type: PresenceConsumeEventType;
3385
2624
  data: PresenceTelephonyConsumeEventData;
3386
2625
  }
3387
- /**
3388
- * @public
3389
- * @enum
3390
- */
3391
- export declare const ServiceAgentType: {
3392
- readonly DYNAMIC: "DYNAMIC";
3393
- readonly STATIC: "STATIC";
3394
- };
3395
- /**
3396
- * @public
3397
- */
3398
- export type ServiceAgentType = typeof ServiceAgentType[keyof typeof ServiceAgentType];
3399
2626
  /**
3400
2627
  * @public
3401
2628
  */
@@ -3414,25 +2641,6 @@ export interface ServiceAgentConsumeEventData {
3414
2641
  name?: string | undefined;
3415
2642
  aclGroup?: string | undefined;
3416
2643
  }
3417
- /**
3418
- * @public
3419
- * @enum
3420
- */
3421
- export declare const ServiceConsumeEventType: {
3422
- readonly SERVICE_AGENT_JOIN: "SERVICE.AGENT_JOIN";
3423
- readonly SERVICE_AGENT_LEAVE: "SERVICE.AGENT_LEAVE";
3424
- readonly SERVICE_AGENT_UPDATE: "SERVICE.AGENT_UPDATE";
3425
- readonly SERVICE_CALL_END: "SERVICE.CALL_END";
3426
- readonly SERVICE_CALL_INIT: "SERVICE.CALL_INIT";
3427
- readonly SERVICE_CALL_UPDATE: "SERVICE.CALL_UPDATE";
3428
- readonly SERVICE_END: "SERVICE.END";
3429
- readonly SERVICE_INIT: "SERVICE.INIT";
3430
- readonly SERVICE_UPDATE: "SERVICE.UPDATE";
3431
- };
3432
- /**
3433
- * @public
3434
- */
3435
- export type ServiceConsumeEventType = typeof ServiceConsumeEventType[keyof typeof ServiceConsumeEventType];
3436
2644
  /**
3437
2645
  * @public
3438
2646
  */
@@ -3490,23 +2698,6 @@ export interface ServiceAgentUpdateConsumeEvent {
3490
2698
  type: ServiceConsumeEventType;
3491
2699
  data: ServiceAgentConsumeEventData;
3492
2700
  }
3493
- /**
3494
- * @public
3495
- * @enum
3496
- */
3497
- export declare const ServiceCallAction: {
3498
- readonly ANSWER: "ANSWER";
3499
- readonly CANCEL: "CANCEL";
3500
- readonly END: "END";
3501
- readonly INIT: "INIT";
3502
- readonly REJECT: "REJECT";
3503
- readonly RING: "RING";
3504
- readonly WAIT: "WAIT";
3505
- };
3506
- /**
3507
- * @public
3508
- */
3509
- export type ServiceCallAction = typeof ServiceCallAction[keyof typeof ServiceCallAction];
3510
2701
  /**
3511
2702
  * @public
3512
2703
  */
@@ -3534,7 +2725,7 @@ export interface ServiceCallConsumeEventData {
3534
2725
  * Agents related to this action (typically those ringing/answering/cancelling).
3535
2726
  * @public
3536
2727
  */
3537
- relatedAgents?: (string)[] | undefined;
2728
+ relatedAgents?: string[] | undefined;
3538
2729
  /**
3539
2730
  * Identifier of the call this record describes.
3540
2731
  * @public
@@ -3684,8 +2875,8 @@ export interface ServiceConsumeEventData {
3684
2875
  * @public
3685
2876
  */
3686
2877
  aclGroup?: string | undefined;
3687
- agents?: (ServiceAgent)[] | undefined;
3688
- calls?: (string)[] | undefined;
2878
+ agents?: ServiceAgent[] | undefined;
2879
+ calls?: string[] | undefined;
3689
2880
  }
3690
2881
  /**
3691
2882
  * @public
@@ -3737,20 +2928,8 @@ export interface SmsInboundConsumeEventData {
3737
2928
  from: string;
3738
2929
  to: string;
3739
2930
  message: string;
3740
- media?: (string)[] | undefined;
2931
+ media?: string[] | undefined;
3741
2932
  }
3742
- /**
3743
- * @public
3744
- * @enum
3745
- */
3746
- export declare const SmsConsumeEventType: {
3747
- readonly SMS_INBOUND: "SMS.INBOUND";
3748
- readonly SMS_STATUS: "SMS.STATUS";
3749
- };
3750
- /**
3751
- * @public
3752
- */
3753
- export type SmsConsumeEventType = typeof SmsConsumeEventType[keyof typeof SmsConsumeEventType];
3754
2933
  /**
3755
2934
  * @public
3756
2935
  */
@@ -3761,32 +2940,6 @@ export interface SmsInboundConsumeEvent {
3761
2940
  type: SmsConsumeEventType;
3762
2941
  data: SmsInboundConsumeEventData;
3763
2942
  }
3764
- /**
3765
- * @public
3766
- * @enum
3767
- */
3768
- export declare const SmsChannelType: {
3769
- readonly ONE_WAY: "1-way-sms";
3770
- readonly TWO_WAY: "2-way-sms";
3771
- };
3772
- /**
3773
- * @public
3774
- */
3775
- export type SmsChannelType = typeof SmsChannelType[keyof typeof SmsChannelType];
3776
- /**
3777
- * @public
3778
- * @enum
3779
- */
3780
- export declare const SmsStatus: {
3781
- readonly DELIVERED: "delivered";
3782
- readonly ERROR: "error";
3783
- readonly SENT: "sent";
3784
- readonly TRYING: "trying";
3785
- };
3786
- /**
3787
- * @public
3788
- */
3789
- export type SmsStatus = typeof SmsStatus[keyof typeof SmsStatus];
3790
2943
  /**
3791
2944
  * @public
3792
2945
  */
@@ -3813,18 +2966,6 @@ export interface SmsStatusConsumeEvent {
3813
2966
  type: SmsConsumeEventType;
3814
2967
  data: SmsStatusConsumeEventData;
3815
2968
  }
3816
- /**
3817
- * @public
3818
- * @enum
3819
- */
3820
- export declare const LanguageDetection: {
3821
- readonly AUTO: "auto";
3822
- readonly OFF: "off";
3823
- };
3824
- /**
3825
- * @public
3826
- */
3827
- export type LanguageDetection = typeof LanguageDetection[keyof typeof LanguageDetection];
3828
2969
  /**
3829
2970
  * @public
3830
2971
  */
@@ -3842,17 +2983,6 @@ export interface SttUsageEventData {
3842
2983
  */
3843
2984
  languageDetection?: LanguageDetection | undefined;
3844
2985
  }
3845
- /**
3846
- * @public
3847
- * @enum
3848
- */
3849
- export declare const UsageEventType: {
3850
- readonly USAGE_STT: "USAGE.STT";
3851
- };
3852
- /**
3853
- * @public
3854
- */
3855
- export type UsageEventType = typeof UsageEventType[keyof typeof UsageEventType];
3856
2986
  /**
3857
2987
  * @public
3858
2988
  */
@@ -5219,6 +4349,10 @@ export declare namespace ConsumeEventInputEvent {
5219
4349
  usageStt?: never;
5220
4350
  $unknown?: never;
5221
4351
  }
4352
+ /**
4353
+ * @deprecated deprecated.
4354
+ * @public
4355
+ */
5222
4356
  interface ChatNewMember {
5223
4357
  callStart?: never;
5224
4358
  callUpdate?: never;
@@ -6202,6 +5336,10 @@ export declare namespace ConsumeEventInputEvent {
6202
5336
  usageStt?: never;
6203
5337
  $unknown: [string, any];
6204
5338
  }
5339
+ /**
5340
+ * @deprecated unused in schema-serde mode.
5341
+ *
5342
+ */
6205
5343
  interface Visitor<T> {
6206
5344
  callStart: (value: CallStartConsumeEvent) => T;
6207
5345
  callUpdate: (value: CallUpdateConsumeEvent) => T;
@@ -6251,7 +5389,6 @@ export declare namespace ConsumeEventInputEvent {
6251
5389
  usageStt: (value: TranscriptionUsageEvent) => T;
6252
5390
  _: (name: string, value: any) => T;
6253
5391
  }
6254
- const visit: <T>(value: ConsumeEventInputEvent, visitor: Visitor<T>) => T;
6255
5392
  }
6256
5393
  /**
6257
5394
  * @public
@@ -6284,19 +5421,6 @@ export interface SmsStatusEvent {
6284
5421
  type: SmsConsumeEventType;
6285
5422
  data: SmsStatusConsumeEventData;
6286
5423
  }
6287
- /**
6288
- * @public
6289
- * @enum
6290
- */
6291
- export declare const WebsocketAction: {
6292
- readonly AUTHORIZE: "authorize";
6293
- readonly SUBSCRIBE: "subscribe";
6294
- readonly UNSUBSCRIBE: "unsubscribe";
6295
- };
6296
- /**
6297
- * @public
6298
- */
6299
- export type WebsocketAction = typeof WebsocketAction[keyof typeof WebsocketAction];
6300
5424
  /**
6301
5425
  * @public
6302
5426
  */
@@ -6304,27 +5428,13 @@ export interface WebsocketAuthorizeAction {
6304
5428
  action: WebsocketAction;
6305
5429
  token: string;
6306
5430
  }
6307
- /**
6308
- * @public
6309
- * @enum
6310
- */
6311
- export declare const WebsocketTopic: {
6312
- readonly CONVERSATIONS: "conversations";
6313
- readonly PRESENCE: "presence";
6314
- readonly SERVICES: "services";
6315
- readonly TRANSCRIPTIONS: "transcriptions";
6316
- };
6317
- /**
6318
- * @public
6319
- */
6320
- export type WebsocketTopic = typeof WebsocketTopic[keyof typeof WebsocketTopic];
6321
5431
  /**
6322
5432
  * @public
6323
5433
  */
6324
5434
  export interface WebsocketSubscribeAction {
6325
5435
  action: WebsocketAction;
6326
5436
  topic: WebsocketTopic;
6327
- filter?: (__DocumentType)[] | undefined;
5437
+ filter?: __DocumentType[] | undefined;
6328
5438
  state?: boolean | undefined;
6329
5439
  version?: string | undefined;
6330
5440
  }
@@ -6334,7 +5444,7 @@ export interface WebsocketSubscribeAction {
6334
5444
  export interface WebsocketUnsubscribeAction {
6335
5445
  action: WebsocketAction;
6336
5446
  topic: WebsocketTopic;
6337
- filter?: (__DocumentType)[] | undefined;
5447
+ filter?: __DocumentType[] | undefined;
6338
5448
  }
6339
5449
  /**
6340
5450
  * @public
@@ -6368,18 +5478,6 @@ export interface DescribeEventInput {
6368
5478
  WebsocketSubscribeAction?: WebsocketSubscribeAction | undefined;
6369
5479
  WebsocketUnsubscribeAction?: WebsocketUnsubscribeAction | undefined;
6370
5480
  }
6371
- /**
6372
- * @public
6373
- * @enum
6374
- */
6375
- export declare const PresenceAnalyticsEventType: {
6376
- readonly PRESENCE: "PRESENCE";
6377
- readonly PRESENCE_TELEPHONY: "PRESENCE_TELEPHONY";
6378
- };
6379
- /**
6380
- * @public
6381
- */
6382
- export type PresenceAnalyticsEventType = typeof PresenceAnalyticsEventType[keyof typeof PresenceAnalyticsEventType];
6383
5481
  /**
6384
5482
  * @public
6385
5483
  */
@@ -6430,19 +5528,6 @@ export interface PresenceAnalyticsTelephonyEvent {
6430
5528
  status?: string | undefined;
6431
5529
  sourceId?: string | undefined;
6432
5530
  }
6433
- /**
6434
- * @public
6435
- * @enum
6436
- */
6437
- export declare const PresenceEventType: {
6438
- readonly CONFERENCE_EVENT: "PresenceAnalyticsConferenceEvent";
6439
- readonly STATUS_EVENT: "PresenceAnalyticsStatusEvent";
6440
- readonly TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent";
6441
- };
6442
- /**
6443
- * @public
6444
- */
6445
- export type PresenceEventType = typeof PresenceEventType[keyof typeof PresenceEventType];
6446
5531
  /**
6447
5532
  * Record representation of a service agent status update.
6448
5533
  * @public
@@ -6495,7 +5580,7 @@ export interface ServiceAgentsStatusAnalyticsRecordEvent {
6495
5580
  * List of agent objects for which status was recorded.
6496
5581
  * @public
6497
5582
  */
6498
- agents: (ServiceAgent)[];
5583
+ agents: ServiceAgent[];
6499
5584
  }
6500
5585
  /**
6501
5586
  * @public
@@ -6515,25 +5600,6 @@ export interface ServiceAnalyticsLiveCompleteEvent {
6515
5600
  company: string;
6516
5601
  event: LiveEventType;
6517
5602
  }
6518
- /**
6519
- * @public
6520
- * @enum
6521
- */
6522
- export declare const ServiceAnalyticsEventTrigger: {
6523
- readonly SERVICE_AGENT_JOIN: "service.agent_join";
6524
- readonly SERVICE_AGENT_LEAVE: "service.agent_leave";
6525
- readonly SERVICE_AGENT_UPDATE: "service.agent_update";
6526
- readonly SERVICE_CALL_END: "service.call_end";
6527
- readonly SERVICE_CALL_INIT: "service.call_init";
6528
- readonly SERVICE_CALL_UPDATE: "service.call_update";
6529
- readonly SERVICE_END: "service.end";
6530
- readonly SERVICE_INIT: "service.init";
6531
- readonly SERVICE_UPDATE: "service.update";
6532
- };
6533
- /**
6534
- * @public
6535
- */
6536
- export type ServiceAnalyticsEventTrigger = typeof ServiceAnalyticsEventTrigger[keyof typeof ServiceAnalyticsEventTrigger];
6537
5603
  /**
6538
5604
  * @public
6539
5605
  */
@@ -6586,12 +5652,12 @@ export interface ServiceAnalyticsLiveProgressEvent {
6586
5652
  * List of agents assigned to the service
6587
5653
  * @public
6588
5654
  */
6589
- agents?: (ServiceAgent)[] | undefined;
5655
+ agents?: ServiceAgent[] | undefined;
6590
5656
  /**
6591
5657
  * List of calls in the service
6592
5658
  * @public
6593
5659
  */
6594
- calls?: (string)[] | undefined;
5660
+ calls?: string[] | undefined;
6595
5661
  }
6596
5662
  /**
6597
5663
  * Base service call structure.
@@ -6625,7 +5691,7 @@ export interface ServiceCallAnalyticsLiveCompleteEvent {
6625
5691
  * Agents related to this action (typically those ringing/answering/cancelling).
6626
5692
  * @public
6627
5693
  */
6628
- relatedAgents?: (string)[] | undefined;
5694
+ relatedAgents?: string[] | undefined;
6629
5695
  /**
6630
5696
  * Identifier of the call this record describes.
6631
5697
  * @public
@@ -6673,7 +5739,7 @@ export interface ServiceCallAnalyticsLiveProgressEvent {
6673
5739
  * Agents related to this action (typically those ringing/answering/cancelling).
6674
5740
  * @public
6675
5741
  */
6676
- relatedAgents?: (string)[] | undefined;
5742
+ relatedAgents?: string[] | undefined;
6677
5743
  /**
6678
5744
  * Identifier of the call this record describes.
6679
5745
  * @public
@@ -6714,7 +5780,7 @@ export interface ServiceCallRecord {
6714
5780
  * Agents related to this action (typically those ringing/answering/cancelling).
6715
5781
  * @public
6716
5782
  */
6717
- relatedAgents?: (string)[] | undefined;
5783
+ relatedAgents?: string[] | undefined;
6718
5784
  /**
6719
5785
  * Time when the action was emitted (epoch ms).
6720
5786
  * @public
@@ -6791,100 +5857,20 @@ export interface ServiceCallAnalyticsRecordEvent {
6791
5857
  * Agents assigned to the service at record finalization time.
6792
5858
  * @public
6793
5859
  */
6794
- agents?: (ServiceAgent)[] | undefined;
5860
+ agents?: ServiceAgent[] | undefined;
6795
5861
  /**
6796
5862
  * Ordered list of lifecycle actions for the service call.
6797
5863
  * @public
6798
5864
  */
6799
- actions: (ServiceCallRecord)[];
5865
+ actions: ServiceCallRecord[];
6800
5866
  }
6801
- /**
6802
- * @public
6803
- * @enum
6804
- */
6805
- export declare const ServiceCallEventType: {
6806
- readonly LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent";
6807
- readonly LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent";
6808
- readonly RECORD_EVENT: "ServiceCallAnalyticsRecordEvent";
6809
- };
6810
- /**
6811
- * @public
6812
- */
6813
- export type ServiceCallEventType = typeof ServiceCallEventType[keyof typeof ServiceCallEventType];
6814
- /**
6815
- * @public
6816
- * @enum
6817
- */
6818
- export declare const ServiceEventType: {
6819
- readonly AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent";
6820
- readonly LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent";
6821
- readonly LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent";
6822
- };
6823
- /**
6824
- * @public
6825
- */
6826
- export type ServiceEventType = typeof ServiceEventType[keyof typeof ServiceEventType];
6827
5867
  /**
6828
5868
  * @public
6829
5869
  */
6830
5870
  export interface WebhookCallAnnotationsCompletedEventData {
6831
5871
  call: CallRecord;
6832
- annotations: (Annotation)[];
6833
- }
6834
- /**
6835
- * @public
6836
- * @enum
6837
- */
6838
- export declare const WebhookEventType: {
6839
- readonly CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed";
6840
- readonly CALL_COMPLETED: "call:completed";
6841
- readonly CALL_LIVE_ANNOTATION: "call:live:annotation";
6842
- readonly CALL_LIVE_COMPLETED: "call:live:completed";
6843
- readonly CALL_LIVE_INTERRUPTED: "call:live:interrupted";
6844
- readonly CALL_LIVE_PROGRESS: "call:live:progress";
6845
- readonly CALL_LIVE_RECORD_PAUSE: "call:live:record:pause";
6846
- readonly CALL_LIVE_RECORD_START: "call:live:record:start";
6847
- readonly CALL_LIVE_RECORD_STOP: "call:live:record:stop";
6848
- readonly CALL_LIVE_RECORD_UNPAUSE: "call:live:record:unpause";
6849
- readonly CALL_LIVE_TRANSCRIPTION: "call:live:transcription";
6850
- readonly CALL_SUMMARY_COMPLETED: "call:summary:completed";
6851
- readonly CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed";
6852
- readonly CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed";
6853
- readonly CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed";
6854
- readonly CHAT_COMPLETED: "chat:completed";
6855
- readonly CHAT_LIVE_ANNOTATION: "chat:live:annotation";
6856
- readonly CHAT_LIVE_COMPLETED: "chat:live:completed";
6857
- readonly CHAT_LIVE_INTERRUPTED: "chat:live:interrupted";
6858
- readonly CHAT_LIVE_MISSED: "chat:live:missed";
6859
- readonly CHAT_LIVE_PROGRESS: "chat:live:progress";
6860
- readonly CHAT_MANAGER_MISSED: "chat:manager:missed";
6861
- readonly CHAT_SUMMARY_COMPLETED: "chat:summary:completed";
6862
- readonly CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed";
6863
- readonly CONFERENCE_COMPLETED: "conference:completed";
6864
- readonly CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation";
6865
- readonly CONFERENCE_LIVE_COMPLETED: "conference:live:completed";
6866
- readonly CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted";
6867
- readonly CONFERENCE_LIVE_JOIN: "conference:live:join";
6868
- readonly CONFERENCE_LIVE_LEAVE: "conference:live:leave";
6869
- readonly CONFERENCE_LIVE_PROGRESS: "conference:live:progress";
6870
- readonly CONFERENCE_LIVE_TRANSCRIPTION: "conference:live:transcription";
6871
- readonly CONFERENCE_SUMMARY_COMPLETED: "conference:summary:completed";
6872
- readonly CONFERENCE_TRANSCRIPTION_COMPLETED: "conference:transcription:completed";
6873
- readonly CONFERENCE_TRANSCRIPTION_TEXT_COMPLETED: "conference:transcription:text:completed";
6874
- readonly OLD_CALL_END: "call:end";
6875
- readonly OLD_CALL_START: "call:start";
6876
- readonly OLD_CALL_UPDATE: "call:update";
6877
- readonly PRESENCE_CONFERENCE: "presence:conference";
6878
- readonly PRESENCE_TELEPHONY: "presence:telephony";
6879
- readonly PRESENCE_USER: "presence:user";
6880
- readonly SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed";
6881
- readonly SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress";
6882
- readonly SMS_STATUS: "sms:status";
6883
- };
6884
- /**
6885
- * @public
6886
- */
6887
- export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
5872
+ annotations: Annotation[];
5873
+ }
6888
5874
  /**
6889
5875
  * @public
6890
5876
  */
@@ -7041,7 +6027,7 @@ export interface WebhookCallSummaryCompletedEvent {
7041
6027
  */
7042
6028
  export interface WebhookCallTranscriptionCompletedEventData {
7043
6029
  call: CallRecord;
7044
- chunks: (TranscriptionTextChunk)[];
6030
+ chunks: TranscriptionTextChunk[];
7045
6031
  }
7046
6032
  /**
7047
6033
  * @public
@@ -7079,7 +6065,7 @@ export interface WebhookCallTranscriptionTextCompletedEvent {
7079
6065
  */
7080
6066
  export interface WebhookChatAnnotationsCompletedEventData {
7081
6067
  chat: ChatRecord;
7082
- annotations: (Annotation)[];
6068
+ annotations: Annotation[];
7083
6069
  }
7084
6070
  /**
7085
6071
  * @public
@@ -7141,3 +6127,913 @@ export interface WebhookChatLiveInterruptedEvent {
7141
6127
  integrationId: string;
7142
6128
  data: ChatAnalyticsLiveInterruptedEvent;
7143
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
+ }