@wildix/wda-history-client 1.2.28 → 3.1.29

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 (108) hide show
  1. package/dist-cjs/WdaHistory.js +3 -3
  2. package/dist-cjs/WdaHistoryClient.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/GetCallAnnotationsCommand.js +10 -11
  6. package/dist-cjs/commands/GetCallCommand.js +10 -11
  7. package/dist-cjs/commands/GetCallTranscriptionCommand.js +10 -11
  8. package/dist-cjs/commands/GetCallTranscriptionTextCommand.js +10 -11
  9. package/dist-cjs/commands/GetChatAnnotationsCommand.js +10 -11
  10. package/dist-cjs/commands/GetChatCommand.js +10 -11
  11. package/dist-cjs/commands/GetChatTranscriptionCommand.js +10 -11
  12. package/dist-cjs/commands/GetChatTranscriptionTextCommand.js +10 -11
  13. package/dist-cjs/commands/GetConferenceAnnotationsCommand.js +10 -11
  14. package/dist-cjs/commands/GetConferenceCommand.js +10 -11
  15. package/dist-cjs/commands/GetConferenceTranscriptionCommand.js +10 -11
  16. package/dist-cjs/commands/GetConferenceTranscriptionTextCommand.js +10 -11
  17. package/dist-cjs/commands/QueryConversationsCommand.js +10 -11
  18. package/dist-cjs/commands/QueryUserCallsCommand.js +10 -11
  19. package/dist-cjs/commands/UpdateCallCommand.js +10 -11
  20. package/dist-cjs/commands/index.js +3 -3
  21. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  22. package/dist-cjs/endpoint/bdd.js +25 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  24. package/dist-cjs/index.js +4 -1
  25. package/dist-cjs/models/WdaHistoryServiceException.js +3 -3
  26. package/dist-cjs/models/enums.js +204 -0
  27. package/dist-cjs/models/errors.js +147 -0
  28. package/dist-cjs/models/models_0.js +0 -406
  29. package/dist-cjs/runtimeConfig.browser.js +11 -11
  30. package/dist-cjs/runtimeConfig.js +22 -18
  31. package/dist-cjs/runtimeConfig.shared.js +30 -10
  32. package/dist-cjs/runtimeExtensions.js +6 -5
  33. package/dist-cjs/schemas/schemas_0.js +1047 -0
  34. package/dist-es/WdaHistory.js +4 -4
  35. package/dist-es/WdaHistoryClient.js +30 -22
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  38. package/dist-es/commands/GetCallAnnotationsCommand.js +9 -10
  39. package/dist-es/commands/GetCallCommand.js +9 -10
  40. package/dist-es/commands/GetCallTranscriptionCommand.js +9 -10
  41. package/dist-es/commands/GetCallTranscriptionTextCommand.js +9 -10
  42. package/dist-es/commands/GetChatAnnotationsCommand.js +9 -10
  43. package/dist-es/commands/GetChatCommand.js +9 -10
  44. package/dist-es/commands/GetChatTranscriptionCommand.js +9 -10
  45. package/dist-es/commands/GetChatTranscriptionTextCommand.js +9 -10
  46. package/dist-es/commands/GetConferenceAnnotationsCommand.js +9 -10
  47. package/dist-es/commands/GetConferenceCommand.js +9 -10
  48. package/dist-es/commands/GetConferenceTranscriptionCommand.js +9 -10
  49. package/dist-es/commands/GetConferenceTranscriptionTextCommand.js +9 -10
  50. package/dist-es/commands/QueryConversationsCommand.js +9 -10
  51. package/dist-es/commands/QueryUserCallsCommand.js +9 -10
  52. package/dist-es/commands/UpdateCallCommand.js +9 -10
  53. package/dist-es/commands/index.js +3 -3
  54. package/dist-es/endpoint/EndpointParameters.js +12 -0
  55. package/dist-es/endpoint/bdd.js +22 -0
  56. package/dist-es/endpoint/endpointResolver.js +12 -0
  57. package/dist-es/index.js +4 -1
  58. package/dist-es/models/WdaHistoryServiceException.js +1 -1
  59. package/dist-es/models/enums.js +201 -0
  60. package/dist-es/models/errors.js +133 -0
  61. package/dist-es/models/models_0.js +1 -393
  62. package/dist-es/runtimeConfig.browser.js +7 -7
  63. package/dist-es/runtimeConfig.js +17 -13
  64. package/dist-es/runtimeConfig.shared.js +24 -4
  65. package/dist-es/runtimeExtensions.js +6 -5
  66. package/dist-es/schemas/schemas_0.js +1042 -0
  67. package/dist-types/WdaHistory.d.ts +16 -16
  68. package/dist-types/WdaHistoryClient.d.ts +45 -27
  69. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  70. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  71. package/dist-types/commands/GetCallAnnotationsCommand.d.ts +11 -7
  72. package/dist-types/commands/GetCallCommand.d.ts +13 -9
  73. package/dist-types/commands/GetCallTranscriptionCommand.d.ts +11 -7
  74. package/dist-types/commands/GetCallTranscriptionTextCommand.d.ts +11 -7
  75. package/dist-types/commands/GetChatAnnotationsCommand.d.ts +11 -7
  76. package/dist-types/commands/GetChatCommand.d.ts +11 -7
  77. package/dist-types/commands/GetChatTranscriptionCommand.d.ts +11 -7
  78. package/dist-types/commands/GetChatTranscriptionTextCommand.d.ts +11 -7
  79. package/dist-types/commands/GetConferenceAnnotationsCommand.d.ts +11 -7
  80. package/dist-types/commands/GetConferenceCommand.d.ts +11 -7
  81. package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +11 -7
  82. package/dist-types/commands/GetConferenceTranscriptionTextCommand.d.ts +11 -7
  83. package/dist-types/commands/QueryConversationsCommand.d.ts +13 -9
  84. package/dist-types/commands/QueryUserCallsCommand.d.ts +13 -9
  85. package/dist-types/commands/UpdateCallCommand.d.ts +13 -9
  86. package/dist-types/commands/index.d.ts +3 -3
  87. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  88. package/dist-types/endpoint/bdd.d.ts +2 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  90. package/dist-types/extensionConfiguration.d.ts +4 -3
  91. package/dist-types/index.d.ts +5 -1
  92. package/dist-types/models/WdaHistoryServiceException.d.ts +1 -1
  93. package/dist-types/models/enums.d.ts +505 -0
  94. package/dist-types/models/errors.d.ts +123 -0
  95. package/dist-types/models/models_0.d.ts +83 -685
  96. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  97. package/dist-types/runtimeConfig.d.ts +34 -15
  98. package/dist-types/runtimeConfig.native.d.ts +36 -17
  99. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  100. package/dist-types/runtimeExtensions.d.ts +1 -1
  101. package/dist-types/schemas/schemas_0.d.ts +127 -0
  102. package/package.json +14 -40
  103. package/dist-cjs/models/index.js +0 -4
  104. package/dist-cjs/protocols/Aws_restJson1.js +0 -868
  105. package/dist-es/models/index.js +0 -1
  106. package/dist-es/protocols/Aws_restJson1.js +0 -835
  107. package/dist-types/models/index.d.ts +0 -1
  108. package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
@@ -1,54 +1,5 @@
1
- import { WdaHistoryServiceException as __BaseException } from "./WdaHistoryServiceException";
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, CallDevice, CallDirection, CallFlowAttachmentStatus, CallFlowAttachmentType, CallFlowTranscriptionStatus, CallParticipantRole, CallParticipantType, CallRecordOwner, CallRecordPauseReason, CallTranscriptionSpeaker, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelType, ChannelWhatsAppStatus, ChatDirection, ChatParticipantRole, ChatParticipantType, ChatStatus, ChatTag, ConferenceDirection, ConferenceParticipantRole, ConferenceParticipantType, ConferenceTranscriptionStatus, ConversationDirection, ConversationFlag, ConversationStatus, ConversationUserDirection, License, MessageSmsStatus, MessageType, MessageWhatsAppStatus, PbxLicenseType, RecordType, TranscriptionSentiment } from "./enums";
52
3
  /**
53
4
  * @public
54
5
  */
@@ -61,18 +12,7 @@ export interface TemplateParameter {
61
12
  */
62
13
  export interface TemplateWithParameters {
63
14
  name: string;
64
- parameters?: (TemplateParameter)[] | undefined;
65
- }
66
- /**
67
- * @public
68
- */
69
- export declare class CallAnnotationsNotFoundException extends __BaseException {
70
- readonly name: "CallAnnotationsNotFoundException";
71
- readonly $fault: "client";
72
- /**
73
- * @internal
74
- */
75
- constructor(opts: __ExceptionOptionType<CallAnnotationsNotFoundException, __BaseException>);
15
+ parameters?: TemplateParameter[] | undefined;
76
16
  }
77
17
  /**
78
18
  * Tool result captured for an annotation. Runtime services enforce serialized payload size limits.
@@ -142,6 +82,10 @@ export declare namespace AnnotationPayload {
142
82
  result?: never;
143
83
  $unknown: [string, any];
144
84
  }
85
+ /**
86
+ * @deprecated unused in schema-serde mode.
87
+ *
88
+ */
145
89
  interface Visitor<T> {
146
90
  tag: (value: string) => T;
147
91
  text: (value: string) => T;
@@ -149,22 +93,7 @@ export declare namespace AnnotationPayload {
149
93
  result: (value: AnnotationResultValue) => T;
150
94
  _: (name: string, value: any) => T;
151
95
  }
152
- const visit: <T>(value: AnnotationPayload, visitor: Visitor<T>) => T;
153
96
  }
154
- /**
155
- * @public
156
- * @enum
157
- */
158
- export declare const AnnotationSourceType: {
159
- readonly CHATBOT: "chatbot";
160
- readonly SYSTEM: "system";
161
- readonly USER: "user";
162
- readonly VOICEBOT: "voicebot";
163
- };
164
- /**
165
- * @public
166
- */
167
- export type AnnotationSourceType = typeof AnnotationSourceType[keyof typeof AnnotationSourceType];
168
97
  /**
169
98
  * 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.
170
99
  * @public
@@ -195,37 +124,6 @@ export interface Annotation {
195
124
  */
196
125
  source: AnnotationSource;
197
126
  }
198
- /**
199
- * @public
200
- * @enum
201
- */
202
- export declare const License: {
203
- readonly UC: "uc";
204
- readonly XBEES: "x-bees";
205
- };
206
- /**
207
- * @public
208
- */
209
- export type License = typeof License[keyof typeof License];
210
- /**
211
- * @public
212
- * @enum
213
- */
214
- export declare const RecordType: {
215
- readonly CALL: "call";
216
- readonly CALL_ANNOTATIONS: "call_annotations";
217
- readonly CALL_TRANSCRIPTION: "call_transcription";
218
- readonly CHAT: "chat";
219
- readonly CHAT_ANNOTATIONS: "chat_annotations";
220
- readonly CHAT_TRANSCRIPTION: "chat_transcription";
221
- readonly CONFERENCE: "conference";
222
- readonly CONFERENCE_ANNOTATIONS: "conference_annotations";
223
- readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
224
- };
225
- /**
226
- * @public
227
- */
228
- export type RecordType = typeof RecordType[keyof typeof RecordType];
229
127
  /**
230
128
  * @public
231
129
  */
@@ -234,36 +132,13 @@ export interface CallAnnotationsRecord {
234
132
  pbx: string;
235
133
  time: number;
236
134
  company: string;
237
- licenses: (License)[];
135
+ licenses: License[];
238
136
  type: RecordType;
239
137
  flowIndex: number;
240
138
  flowStartTime: number;
241
139
  callStartTime: number;
242
- annotations: (Annotation)[];
243
- }
244
- /**
245
- * @public
246
- */
247
- export declare class CallNotFoundException extends __BaseException {
248
- readonly name: "CallNotFoundException";
249
- readonly $fault: "client";
250
- /**
251
- * @internal
252
- */
253
- constructor(opts: __ExceptionOptionType<CallNotFoundException, __BaseException>);
140
+ annotations: Annotation[];
254
141
  }
255
- /**
256
- * @public
257
- * @enum
258
- */
259
- export declare const AnnotationsStatus: {
260
- readonly AVAILABLE: "AVAILABLE";
261
- readonly UNAVAILABLE: "UNAVAILABLE";
262
- };
263
- /**
264
- * @public
265
- */
266
- export type AnnotationsStatus = typeof AnnotationsStatus[keyof typeof AnnotationsStatus];
267
142
  /**
268
143
  * @public
269
144
  */
@@ -277,31 +152,6 @@ export interface CallFlowAttachmentDestination {
277
152
  groupId?: string | undefined;
278
153
  groupName?: string | undefined;
279
154
  }
280
- /**
281
- * @public
282
- * @enum
283
- */
284
- export declare const CallRecordOwner: {
285
- readonly CALLEE: "callee";
286
- readonly CALLER: "caller";
287
- readonly SYSTEM: "system";
288
- };
289
- /**
290
- * @public
291
- */
292
- export type CallRecordOwner = typeof CallRecordOwner[keyof typeof CallRecordOwner];
293
- /**
294
- * @public
295
- * @enum
296
- */
297
- export declare const CallFlowAttachmentStatus: {
298
- readonly ERROR: "error";
299
- readonly OK: "ok";
300
- };
301
- /**
302
- * @public
303
- */
304
- export type CallFlowAttachmentStatus = typeof CallFlowAttachmentStatus[keyof typeof CallFlowAttachmentStatus];
305
155
  /**
306
156
  * @public
307
157
  */
@@ -312,7 +162,7 @@ export interface CallFlowFax {
312
162
  * @public
313
163
  */
314
164
  status?: CallFlowAttachmentStatus | undefined;
315
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
165
+ destinations?: CallFlowAttachmentDestination[] | undefined;
316
166
  owner?: CallRecordOwner | undefined;
317
167
  /**
318
168
  * Text with the reason for the error in case of unsuccessful fax delivery
@@ -320,18 +170,6 @@ export interface CallFlowFax {
320
170
  */
321
171
  error?: string | undefined;
322
172
  }
323
- /**
324
- * @public
325
- * @enum
326
- */
327
- export declare const CallRecordPauseReason: {
328
- readonly HOLD: "hold";
329
- readonly PAUSE: "pause";
330
- };
331
- /**
332
- * @public
333
- */
334
- export type CallRecordPauseReason = typeof CallRecordPauseReason[keyof typeof CallRecordPauseReason];
335
173
  /**
336
174
  * @public
337
175
  */
@@ -349,14 +187,14 @@ export interface CallFlowRecording {
349
187
  end: number;
350
188
  owner: CallRecordOwner;
351
189
  url: string;
352
- pauses: (CallRecordPause)[];
190
+ pauses: CallRecordPause[];
353
191
  }
354
192
  /**
355
193
  * @public
356
194
  */
357
195
  export interface CallFlowVoicemail {
358
196
  url: string;
359
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
197
+ destinations?: CallFlowAttachmentDestination[] | undefined;
360
198
  owner?: CallRecordOwner | undefined;
361
199
  }
362
200
  /**
@@ -394,70 +232,17 @@ export declare namespace CallFlowAttachment {
394
232
  voicemail?: never;
395
233
  $unknown: [string, any];
396
234
  }
235
+ /**
236
+ * @deprecated unused in schema-serde mode.
237
+ *
238
+ */
397
239
  interface Visitor<T> {
398
240
  recording: (value: CallFlowRecording) => T;
399
241
  fax: (value: CallFlowFax) => T;
400
242
  voicemail: (value: CallFlowVoicemail) => T;
401
243
  _: (name: string, value: any) => T;
402
244
  }
403
- const visit: <T>(value: CallFlowAttachment, visitor: Visitor<T>) => T;
404
245
  }
405
- /**
406
- * @public
407
- * @enum
408
- */
409
- export declare const CallFlowAttachmentType: {
410
- readonly FAX: "FAX";
411
- readonly VOICEMAIL: "VOICEMAIL";
412
- };
413
- /**
414
- * @public
415
- */
416
- export type CallFlowAttachmentType = typeof CallFlowAttachmentType[keyof typeof CallFlowAttachmentType];
417
- /**
418
- * @public
419
- * @enum
420
- */
421
- export declare const CallParticipantRole: {
422
- readonly AGENT: "AGENT";
423
- readonly CLIENT: "CLIENT";
424
- };
425
- /**
426
- * @public
427
- */
428
- export type CallParticipantRole = typeof CallParticipantRole[keyof typeof CallParticipantRole];
429
- /**
430
- * @public
431
- * @enum
432
- */
433
- export declare const CallParticipantType: {
434
- readonly LOCAL: "LOCAL";
435
- readonly REMOTE: "REMOTE";
436
- };
437
- /**
438
- * @public
439
- */
440
- export type CallParticipantType = typeof CallParticipantType[keyof typeof CallParticipantType];
441
- /**
442
- * @public
443
- * @enum
444
- */
445
- export declare const CallDevice: {
446
- readonly COLLABORATION_ANDROID: "COLLABORATION_ANDROID";
447
- readonly COLLABORATION_IOS: "COLLABORATION_IOS";
448
- readonly COLLABORATION_WEB: "COLLABORATION_WEB";
449
- readonly UNKNOWN: "UNKNOWN";
450
- readonly VOICEBOT: "VOICEBOT";
451
- readonly WILDIX_DEVICE: "WILDIX_DEVICE";
452
- readonly WILDIX_PHONE: "WILDIX_PHONE";
453
- readonly XBEES_ANDROID: "XBEES_ANDROID";
454
- readonly XBEES_IOS: "XBEES_IOS";
455
- readonly XBEES_WEB: "XBEES_WEB";
456
- };
457
- /**
458
- * @public
459
- */
460
- export type CallDevice = typeof CallDevice[keyof typeof CallDevice];
461
246
  /**
462
247
  * @public
463
248
  */
@@ -501,22 +286,9 @@ export interface CallParticipant {
501
286
  * @public
502
287
  */
503
288
  export interface CallFlowNotifications {
504
- destinations?: (CallFlowAttachmentDestination)[] | undefined;
505
- type?: (string)[] | undefined;
289
+ destinations?: CallFlowAttachmentDestination[] | undefined;
290
+ type?: string[] | undefined;
506
291
  }
507
- /**
508
- * @public
509
- * @enum
510
- */
511
- export declare const CallFlowTranscriptionStatus: {
512
- readonly AVAILABLE: "AVAILABLE";
513
- readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
514
- readonly UNAVAILABLE: "UNAVAILABLE";
515
- };
516
- /**
517
- * @public
518
- */
519
- export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
520
292
  /**
521
293
  * @public
522
294
  */
@@ -569,25 +341,25 @@ export interface CallRecord {
569
341
  * @public
570
342
  */
571
343
  queuePosition?: number | undefined;
572
- tags?: (string)[] | undefined;
573
- flags?: (string)[] | undefined;
344
+ tags?: string[] | undefined;
345
+ flags?: string[] | undefined;
574
346
  callerMos?: string | undefined;
575
347
  calleeMos?: string | undefined;
576
348
  xhoppersConfId?: string | undefined;
577
349
  /**
578
350
  * Consider to use `attachments` instead.
579
351
  *
580
- * @deprecated
352
+ * @deprecated deprecated.
581
353
  * @public
582
354
  */
583
- recordings?: (string)[] | undefined;
355
+ recordings?: string[] | undefined;
584
356
  /**
585
357
  * Consider to use `attachments` instead.
586
358
  *
587
- * @deprecated
359
+ * @deprecated deprecated.
588
360
  * @public
589
361
  */
590
- recordingsData?: (CallFlowRecording)[] | undefined;
362
+ recordingsData?: CallFlowRecording[] | undefined;
591
363
  mergeWith?: string | undefined;
592
364
  splitReason?: string | undefined;
593
365
  splitTransferType?: string | undefined;
@@ -603,31 +375,31 @@ export interface CallRecord {
603
375
  /**
604
376
  * Consider to use `attachments` instead.
605
377
  *
606
- * @deprecated
378
+ * @deprecated deprecated.
607
379
  * @public
608
380
  */
609
381
  attachment?: string | undefined;
610
382
  /**
611
383
  * Consider to use `attachments` instead.
612
384
  *
613
- * @deprecated
385
+ * @deprecated deprecated.
614
386
  * @public
615
387
  */
616
388
  attachmentType?: CallFlowAttachmentType | undefined;
617
389
  /**
618
390
  * Consider to use `attachments` instead.
619
391
  *
620
- * @deprecated
392
+ * @deprecated deprecated.
621
393
  * @public
622
394
  */
623
- attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
624
- attachments?: (CallFlowAttachment)[] | undefined;
395
+ attachmentDestinations?: CallFlowAttachmentDestination[] | undefined;
396
+ attachments?: CallFlowAttachment[] | undefined;
625
397
  notifications?: CallFlowNotifications | undefined;
626
398
  id: string;
627
399
  pbx: string;
628
400
  time: number;
629
401
  company: string;
630
- licenses: (License)[];
402
+ licenses: License[];
631
403
  type: RecordType;
632
404
  }
633
405
  /**
@@ -643,20 +415,8 @@ export interface CallTranscriptionInterruption {
643
415
  * IDs of the chunks involved in the interruption — including the interrupting speaker and the chunk that was interrupted.
644
416
  * @public
645
417
  */
646
- chunks: (string)[];
418
+ chunks: string[];
647
419
  }
648
- /**
649
- * @public
650
- * @enum
651
- */
652
- export declare const CallTranscriptionSpeaker: {
653
- readonly CALLEE: "callee";
654
- readonly CALLER: "caller";
655
- };
656
- /**
657
- * @public
658
- */
659
- export type CallTranscriptionSpeaker = typeof CallTranscriptionSpeaker[keyof typeof CallTranscriptionSpeaker];
660
420
  /**
661
421
  * @public
662
422
  */
@@ -676,7 +436,7 @@ export interface CallTranscriptionInteractionParticipantRecord {
676
436
  * List of interruptions where this participant was interrupted during the conversation.
677
437
  * @public
678
438
  */
679
- interruptions?: (CallTranscriptionInterruption)[] | undefined;
439
+ interruptions?: CallTranscriptionInterruption[] | undefined;
680
440
  }
681
441
  /**
682
442
  * @public
@@ -716,33 +476,8 @@ export interface CallTranscriptionInteractionRecord {
716
476
  * Detailed statistics for each call participant.
717
477
  * @public
718
478
  */
719
- participants?: (CallTranscriptionInteractionParticipantRecord)[] | undefined;
720
- }
721
- /**
722
- * @public
723
- */
724
- export declare class CallTranscriptionNotFoundException extends __BaseException {
725
- readonly name: "CallTranscriptionNotFoundException";
726
- readonly $fault: "client";
727
- /**
728
- * @internal
729
- */
730
- constructor(opts: __ExceptionOptionType<CallTranscriptionNotFoundException, __BaseException>);
479
+ participants?: CallTranscriptionInteractionParticipantRecord[] | undefined;
731
480
  }
732
- /**
733
- * @public
734
- * @enum
735
- */
736
- export declare const TranscriptionSentiment: {
737
- readonly MIXED: "MIXED";
738
- readonly NEGATIVE: "NEGATIVE";
739
- readonly NEUTRAL: "NEUTRAL";
740
- readonly POSITIVE: "POSITIVE";
741
- };
742
- /**
743
- * @public
744
- */
745
- export type TranscriptionSentiment = typeof TranscriptionSentiment[keyof typeof TranscriptionSentiment];
746
481
  /**
747
482
  * @public
748
483
  */
@@ -774,23 +509,12 @@ export interface CallTranscriptionRecord {
774
509
  pbx: string;
775
510
  time: number;
776
511
  company: string;
777
- licenses: (License)[];
512
+ licenses: License[];
778
513
  type: RecordType;
779
514
  flowIndex: number;
780
515
  flowStartTime: number;
781
516
  callStartTime: number;
782
- chunks: (CallTranscriptionChunk)[];
783
- }
784
- /**
785
- * @public
786
- */
787
- export declare class ChatAnnotationsNotFoundException extends __BaseException {
788
- readonly name: "ChatAnnotationsNotFoundException";
789
- readonly $fault: "client";
790
- /**
791
- * @internal
792
- */
793
- constructor(opts: __ExceptionOptionType<ChatAnnotationsNotFoundException, __BaseException>);
517
+ chunks: CallTranscriptionChunk[];
794
518
  }
795
519
  /**
796
520
  * @public
@@ -809,31 +533,8 @@ export interface ChatAnnotationsRecord {
809
533
  time: number;
810
534
  company: string;
811
535
  type: RecordType;
812
- annotations: (Annotation)[];
813
- }
814
- /**
815
- * @public
816
- */
817
- export declare class ChatNotFoundException extends __BaseException {
818
- readonly name: "ChatNotFoundException";
819
- readonly $fault: "client";
820
- /**
821
- * @internal
822
- */
823
- constructor(opts: __ExceptionOptionType<ChatNotFoundException, __BaseException>);
536
+ annotations: Annotation[];
824
537
  }
825
- /**
826
- * @public
827
- * @enum
828
- */
829
- export declare const ChannelAccess: {
830
- readonly PRIVATE: "private";
831
- readonly PUBLIC: "public";
832
- };
833
- /**
834
- * @public
835
- */
836
- export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
837
538
  /**
838
539
  * @public
839
540
  */
@@ -856,32 +557,6 @@ export interface User {
856
557
  createdAt?: string | undefined;
857
558
  updatedAt?: string | undefined;
858
559
  }
859
- /**
860
- * @public
861
- * @enum
862
- */
863
- export declare const ChannelType: {
864
- readonly DIRECT: "direct";
865
- readonly GROUP: "group";
866
- };
867
- /**
868
- * @public
869
- */
870
- export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
871
- /**
872
- * @public
873
- * @enum
874
- */
875
- export declare const ChannelContextEventAttendeeStatus: {
876
- readonly ACCEPTED: "accepted";
877
- readonly DECLINED: "declined";
878
- readonly NONE: "none";
879
- readonly TENTATIVE: "tentative";
880
- };
881
- /**
882
- * @public
883
- */
884
- export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
885
560
  /**
886
561
  * @public
887
562
  */
@@ -899,7 +574,7 @@ export interface ChannelContextEvent {
899
574
  start?: string | undefined;
900
575
  end?: string | undefined;
901
576
  summary?: string | undefined;
902
- attendees?: (ChannelContextEventAttendee)[] | undefined;
577
+ attendees?: ChannelContextEventAttendee[] | undefined;
903
578
  }
904
579
  /**
905
580
  * @public
@@ -911,37 +586,15 @@ export interface ChannelContextPushToTalk {
911
586
  */
912
587
  broadcastId?: string | undefined;
913
588
  }
914
- /**
915
- * @public
916
- * @enum
917
- */
918
- export declare const ChannelContextSource: {
919
- readonly KITE: "kite";
920
- };
921
- /**
922
- * @public
923
- */
924
- export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
925
589
  /**
926
590
  * @public
927
591
  */
928
592
  export interface ChannelContext {
929
593
  source?: ChannelContextSource | undefined;
930
594
  target?: string | undefined;
931
- events?: (ChannelContextEvent)[] | undefined;
595
+ events?: ChannelContextEvent[] | undefined;
932
596
  ptt?: ChannelContextPushToTalk | undefined;
933
597
  }
934
- /**
935
- * @public
936
- * @enum
937
- */
938
- export declare const ChannelWhatsAppStatus: {
939
- readonly CHANNEL_CLOSED: "24h_channel_closed";
940
- };
941
- /**
942
- * @public
943
- */
944
- export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
945
598
  /**
946
599
  * @public
947
600
  */
@@ -988,43 +641,6 @@ export interface Channel {
988
641
  createdBy: string;
989
642
  updatedAt?: string | undefined;
990
643
  }
991
- /**
992
- * @public
993
- * @enum
994
- */
995
- export declare const ChatDirection: {
996
- readonly INBOUND: "INBOUND";
997
- readonly INTERNAL: "INTERNAL";
998
- readonly OUTBOUND: "OUTBOUND";
999
- };
1000
- /**
1001
- * @public
1002
- */
1003
- export type ChatDirection = typeof ChatDirection[keyof typeof ChatDirection];
1004
- /**
1005
- * @public
1006
- * @enum
1007
- */
1008
- export declare const ChatParticipantRole: {
1009
- readonly AGENT: "AGENT";
1010
- readonly CLIENT: "CLIENT";
1011
- };
1012
- /**
1013
- * @public
1014
- */
1015
- export type ChatParticipantRole = typeof ChatParticipantRole[keyof typeof ChatParticipantRole];
1016
- /**
1017
- * @public
1018
- * @enum
1019
- */
1020
- export declare const ChatParticipantType: {
1021
- readonly LOCAL: "LOCAL";
1022
- readonly REMOTE: "REMOTE";
1023
- };
1024
- /**
1025
- * @public
1026
- */
1027
- export type ChatParticipantType = typeof ChatParticipantType[keyof typeof ChatParticipantType];
1028
644
  /**
1029
645
  * @public
1030
646
  */
@@ -1056,34 +672,6 @@ export interface ChatParticipant {
1056
672
  id: string;
1057
673
  info: ChatParticipantInfo;
1058
674
  }
1059
- /**
1060
- * @public
1061
- * @enum
1062
- */
1063
- export declare const ChatStatus: {
1064
- readonly COMPLETED: "COMPLETED";
1065
- readonly MISSED: "MISSED";
1066
- readonly WAITFIRSTREPLY: "WAITFIRSTREPLY";
1067
- readonly WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT";
1068
- readonly WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST";
1069
- };
1070
- /**
1071
- * @public
1072
- */
1073
- export type ChatStatus = typeof ChatStatus[keyof typeof ChatStatus];
1074
- /**
1075
- * @public
1076
- * @enum
1077
- */
1078
- export declare const ChatTag: {
1079
- readonly SMS: "sms";
1080
- readonly TELEPHONY: "telephony";
1081
- readonly WHATSAPP: "whatsapp";
1082
- };
1083
- /**
1084
- * @public
1085
- */
1086
- export type ChatTag = typeof ChatTag[keyof typeof ChatTag];
1087
675
  /**
1088
676
  * @public
1089
677
  */
@@ -1109,24 +697,13 @@ export interface ChatRecord {
1109
697
  subject?: string | undefined;
1110
698
  service?: string | undefined;
1111
699
  serviceTitle?: string | undefined;
1112
- tags?: (ChatTag)[] | undefined;
700
+ tags?: ChatTag[] | undefined;
1113
701
  channel: Channel;
1114
702
  status?: ChatStatus | undefined;
1115
- participants: (ChatParticipant)[];
703
+ participants: ChatParticipant[];
1116
704
  annotationsStatus?: AnnotationsStatus | undefined;
1117
705
  type: RecordType;
1118
706
  }
1119
- /**
1120
- * @public
1121
- */
1122
- export declare class ChatTranscriptionNotFoundException extends __BaseException {
1123
- readonly name: "ChatTranscriptionNotFoundException";
1124
- readonly $fault: "client";
1125
- /**
1126
- * @internal
1127
- */
1128
- constructor(opts: __ExceptionOptionType<ChatTranscriptionNotFoundException, __BaseException>);
1129
- }
1130
707
  /**
1131
708
  * @public
1132
709
  */
@@ -1201,26 +778,17 @@ export declare namespace ButtonHandler {
1201
778
  action?: never;
1202
779
  $unknown: [string, any];
1203
780
  }
781
+ /**
782
+ * @deprecated unused in schema-serde mode.
783
+ *
784
+ */
1204
785
  interface Visitor<T> {
1205
786
  link: (value: ButtonLinkHandler) => T;
1206
787
  reply: (value: ButtonReplyHandler) => T;
1207
788
  action: (value: ButtonActionHandler) => T;
1208
789
  _: (name: string, value: any) => T;
1209
790
  }
1210
- const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
1211
791
  }
1212
- /**
1213
- * @public
1214
- * @enum
1215
- */
1216
- export declare const ButtonVariant: {
1217
- readonly CONTAINED: "contained";
1218
- readonly OUTLINED: "outlined";
1219
- };
1220
- /**
1221
- * @public
1222
- */
1223
- export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
1224
792
  /**
1225
793
  * @public
1226
794
  */
@@ -1249,11 +817,14 @@ export declare namespace ActionElement {
1249
817
  button?: never;
1250
818
  $unknown: [string, any];
1251
819
  }
820
+ /**
821
+ * @deprecated unused in schema-serde mode.
822
+ *
823
+ */
1252
824
  interface Visitor<T> {
1253
825
  button: (value: ButtonElement) => T;
1254
826
  _: (name: string, value: any) => T;
1255
827
  }
1256
- const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
1257
828
  }
1258
829
  /**
1259
830
  * @public
@@ -1276,7 +847,7 @@ export declare namespace Element {
1276
847
  }
1277
848
  interface ActionsMember {
1278
849
  template?: never;
1279
- actions: (ActionElement)[];
850
+ actions: ActionElement[];
1280
851
  $unknown?: never;
1281
852
  }
1282
853
  /**
@@ -1287,12 +858,15 @@ export declare namespace Element {
1287
858
  actions?: never;
1288
859
  $unknown: [string, any];
1289
860
  }
861
+ /**
862
+ * @deprecated unused in schema-serde mode.
863
+ *
864
+ */
1290
865
  interface Visitor<T> {
1291
866
  template: (value: MessageTemplateConfig) => T;
1292
- actions: (value: (ActionElement)[]) => T;
867
+ actions: (value: ActionElement[]) => T;
1293
868
  _: (name: string, value: any) => T;
1294
869
  }
1295
- const visit: <T>(value: Element, visitor: Visitor<T>) => T;
1296
870
  }
1297
871
  /**
1298
872
  * @public
@@ -1332,61 +906,20 @@ export interface MessageQuote {
1332
906
  channelId: string;
1333
907
  user: User;
1334
908
  text?: string | undefined;
1335
- attachments?: (MessageAttachment)[] | undefined;
909
+ attachments?: MessageAttachment[] | undefined;
1336
910
  forward?: MessageForward | undefined;
1337
- mentions?: (User)[] | undefined;
911
+ mentions?: User[] | undefined;
1338
912
  giphy?: MessageGiphy | undefined;
1339
913
  createdAt: string;
1340
914
  updatedAt?: string | undefined;
1341
915
  }
1342
- /**
1343
- * @public
1344
- * @enum
1345
- */
1346
- export declare const MessageSmsStatus: {
1347
- readonly DELIVERED: "delivered";
1348
- readonly ERROR: "error";
1349
- readonly SENT: "sent";
1350
- readonly TRYING: "trying";
1351
- };
1352
- /**
1353
- * @public
1354
- */
1355
- export type MessageSmsStatus = typeof MessageSmsStatus[keyof typeof MessageSmsStatus];
1356
- /**
1357
- * @public
1358
- * @enum
1359
- */
1360
- export declare const MessageType: {
1361
- readonly DELETED: "deleted";
1362
- readonly REGULAR: "regular";
1363
- readonly SYSTEM: "system";
1364
- };
1365
- /**
1366
- * @public
1367
- */
1368
- export type MessageType = typeof MessageType[keyof typeof MessageType];
1369
- /**
1370
- * @public
1371
- * @enum
1372
- */
1373
- export declare const MessageWhatsAppStatus: {
1374
- readonly DELIVERED: "delivered";
1375
- readonly ERROR: "error";
1376
- readonly SENT: "sent";
1377
- readonly TRYING: "trying";
1378
- };
1379
- /**
1380
- * @public
1381
- */
1382
- export type MessageWhatsAppStatus = typeof MessageWhatsAppStatus[keyof typeof MessageWhatsAppStatus];
1383
916
  /**
1384
917
  * @public
1385
918
  */
1386
919
  export interface Message {
1387
920
  text?: string | undefined;
1388
- elements?: (Element)[] | undefined;
1389
- attachments?: (MessageAttachment)[] | undefined;
921
+ elements?: Element[] | undefined;
922
+ attachments?: MessageAttachment[] | undefined;
1390
923
  quote?: MessageQuote | undefined;
1391
924
  forward?: MessageForward | undefined;
1392
925
  whatsapp?: boolean | undefined;
@@ -1402,8 +935,8 @@ export interface Message {
1402
935
  channelId: string;
1403
936
  user: User;
1404
937
  edit?: boolean | undefined;
1405
- mentions?: (User)[] | undefined;
1406
- latestReactions?: (Reaction)[] | undefined;
938
+ mentions?: User[] | undefined;
939
+ latestReactions?: Reaction[] | undefined;
1407
940
  reactionCounts?: Record<string, number> | undefined;
1408
941
  createdAt: string;
1409
942
  updatedAt?: string | undefined;
@@ -1425,18 +958,7 @@ export interface ChatTranscriptionRecord {
1425
958
  time: number;
1426
959
  company: string;
1427
960
  type: RecordType;
1428
- messages: (Message)[];
1429
- }
1430
- /**
1431
- * @public
1432
- */
1433
- export declare class ConferenceAnnotationsNotFoundException extends __BaseException {
1434
- readonly name: "ConferenceAnnotationsNotFoundException";
1435
- readonly $fault: "client";
1436
- /**
1437
- * @internal
1438
- */
1439
- constructor(opts: __ExceptionOptionType<ConferenceAnnotationsNotFoundException, __BaseException>);
961
+ messages: Message[];
1440
962
  }
1441
963
  /**
1442
964
  * @public
@@ -1446,74 +968,8 @@ export interface ConferenceAnnotationsRecord {
1446
968
  time: number;
1447
969
  company: string;
1448
970
  type: RecordType;
1449
- annotations: (Annotation)[];
971
+ annotations: Annotation[];
1450
972
  }
1451
- /**
1452
- * @public
1453
- */
1454
- export declare class ConferenceNotFoundException extends __BaseException {
1455
- readonly name: "ConferenceNotFoundException";
1456
- readonly $fault: "client";
1457
- /**
1458
- * @internal
1459
- */
1460
- constructor(opts: __ExceptionOptionType<ConferenceNotFoundException, __BaseException>);
1461
- }
1462
- /**
1463
- * @public
1464
- * @enum
1465
- */
1466
- export declare const ConferenceDirection: {
1467
- readonly INBOUND: "INBOUND";
1468
- readonly INTERNAL: "INTERNAL";
1469
- readonly OUTBOUND: "OUTBOUND";
1470
- };
1471
- /**
1472
- * @public
1473
- */
1474
- export type ConferenceDirection = typeof ConferenceDirection[keyof typeof ConferenceDirection];
1475
- /**
1476
- * @public
1477
- * @enum
1478
- */
1479
- export declare const PbxLicenseType: {
1480
- readonly BASIC: "basic";
1481
- readonly BUSINESS: "business";
1482
- readonly ESSENTIAL: "essential";
1483
- readonly PREMIUM: "premium";
1484
- readonly WIZYCONF: "wizyconf";
1485
- };
1486
- /**
1487
- * @public
1488
- */
1489
- export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
1490
- /**
1491
- * @public
1492
- * @enum
1493
- */
1494
- export declare const ConferenceParticipantRole: {
1495
- readonly AGENT: "AGENT";
1496
- readonly CLIENT: "CLIENT";
1497
- };
1498
- /**
1499
- * @public
1500
- */
1501
- export type ConferenceParticipantRole = typeof ConferenceParticipantRole[keyof typeof ConferenceParticipantRole];
1502
- /**
1503
- * @public
1504
- * @enum
1505
- */
1506
- export declare const ConferenceParticipantType: {
1507
- readonly EXTERNAL: "EXTERNAL";
1508
- readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
1509
- readonly PBX: "PBX";
1510
- readonly PBX_SIP: "PBX_SIP";
1511
- readonly XBS: "XBS";
1512
- };
1513
- /**
1514
- * @public
1515
- */
1516
- export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof typeof ConferenceParticipantType];
1517
973
  /**
1518
974
  * @public
1519
975
  */
@@ -1554,19 +1010,6 @@ export interface ConferenceRecording {
1554
1010
  start: number;
1555
1011
  end: number;
1556
1012
  }
1557
- /**
1558
- * @public
1559
- * @enum
1560
- */
1561
- export declare const ConferenceTranscriptionStatus: {
1562
- readonly AVAILABLE: "AVAILABLE";
1563
- readonly POST_TRANSCRIPTION: "POST_TRANSCRIPTION";
1564
- readonly UNAVAILABLE: "UNAVAILABLE";
1565
- };
1566
- /**
1567
- * @public
1568
- */
1569
- export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
1570
1013
  /**
1571
1014
  * @public
1572
1015
  */
@@ -1583,8 +1026,8 @@ export interface ConferenceRecord {
1583
1026
  direction: ConferenceDirection;
1584
1027
  service?: string | undefined;
1585
1028
  status?: ConversationStatus | undefined;
1586
- participants: (ConferenceAnalyticsRecordParticipant)[];
1587
- recordings?: (ConferenceRecording)[] | undefined;
1029
+ participants: ConferenceAnalyticsRecordParticipant[];
1030
+ recordings?: ConferenceRecording[] | undefined;
1588
1031
  transcriptionStatus: ConferenceTranscriptionStatus;
1589
1032
  transcriptionLanguage?: string | undefined;
1590
1033
  transcriptionSeconds?: number | undefined;
@@ -1615,7 +1058,7 @@ export interface ConferenceTranscriptionChunk {
1615
1058
  export interface ConferenceTranscription {
1616
1059
  start: number;
1617
1060
  end: number;
1618
- chunks: (ConferenceTranscriptionChunk)[];
1061
+ chunks: ConferenceTranscriptionChunk[];
1619
1062
  }
1620
1063
  /**
1621
1064
  * @public
@@ -1630,7 +1073,7 @@ export interface ConferenceTranscriptionInterruption {
1630
1073
  * IDs of the conversation chunks involved in the interruption, including both the interrupting and interrupted speakers.
1631
1074
  * @public
1632
1075
  */
1633
- chunks: (string)[];
1076
+ chunks: string[];
1634
1077
  }
1635
1078
  /**
1636
1079
  * @public
@@ -1655,7 +1098,7 @@ export interface ConferenceTranscriptionInteractionParticipantRecord {
1655
1098
  * List of interruptions where this participant interrupted or was interrupted during the conversation.
1656
1099
  * @public
1657
1100
  */
1658
- interruptions?: (ConferenceTranscriptionInterruption)[] | undefined;
1101
+ interruptions?: ConferenceTranscriptionInterruption[] | undefined;
1659
1102
  }
1660
1103
  /**
1661
1104
  * @public
@@ -1695,18 +1138,7 @@ export interface ConferenceTranscriptionInteractionRecord {
1695
1138
  * Detailed statistics for each participant in the call.
1696
1139
  * @public
1697
1140
  */
1698
- participants?: (ConferenceTranscriptionInteractionParticipantRecord)[] | undefined;
1699
- }
1700
- /**
1701
- * @public
1702
- */
1703
- export declare class ConferenceTranscriptionNotFoundException extends __BaseException {
1704
- readonly name: "ConferenceTranscriptionNotFoundException";
1705
- readonly $fault: "client";
1706
- /**
1707
- * @internal
1708
- */
1709
- constructor(opts: __ExceptionOptionType<ConferenceTranscriptionNotFoundException, __BaseException>);
1141
+ participants?: ConferenceTranscriptionInteractionParticipantRecord[] | undefined;
1710
1142
  }
1711
1143
  /**
1712
1144
  * @public
@@ -1716,7 +1148,7 @@ export interface ConferenceTranscriptionRecord {
1716
1148
  time: number;
1717
1149
  company: string;
1718
1150
  type: RecordType;
1719
- transcriptions: (ConferenceTranscription)[];
1151
+ transcriptions: ConferenceTranscription[];
1720
1152
  }
1721
1153
  /**
1722
1154
  * @public
@@ -1744,12 +1176,15 @@ export declare namespace Conversation {
1744
1176
  conference?: never;
1745
1177
  $unknown: [string, any];
1746
1178
  }
1179
+ /**
1180
+ * @deprecated unused in schema-serde mode.
1181
+ *
1182
+ */
1747
1183
  interface Visitor<T> {
1748
1184
  call: (value: CallRecord) => T;
1749
1185
  conference: (value: ConferenceRecord) => T;
1750
1186
  _: (name: string, value: any) => T;
1751
1187
  }
1752
- const visit: <T>(value: Conversation, visitor: Visitor<T>) => T;
1753
1188
  }
1754
1189
  /**
1755
1190
  * @public
@@ -1822,7 +1257,7 @@ export interface TranscriptionTextChunk {
1822
1257
  export interface GetCallTranscriptionTextOutput {
1823
1258
  filename: string;
1824
1259
  text: string;
1825
- chunks: (TranscriptionTextChunk)[];
1260
+ chunks: TranscriptionTextChunk[];
1826
1261
  }
1827
1262
  /**
1828
1263
  * @public
@@ -1892,7 +1327,7 @@ export interface GetChatTranscriptionTextInput {
1892
1327
  export interface GetChatTranscriptionTextOutput {
1893
1328
  filename: string;
1894
1329
  text: string;
1895
- messages: (Message)[];
1330
+ messages: Message[];
1896
1331
  }
1897
1332
  /**
1898
1333
  * @public
@@ -1951,43 +1386,18 @@ export interface GetConferenceTranscriptionTextInput {
1951
1386
  export interface GetConferenceTranscriptionTextOutput {
1952
1387
  filename: string;
1953
1388
  text: string;
1954
- chunks: (TranscriptionTextChunk)[];
1389
+ chunks: TranscriptionTextChunk[];
1955
1390
  }
1956
- /**
1957
- * @public
1958
- * @enum
1959
- */
1960
- export declare const ConversationDirection: {
1961
- readonly INBOUND: "INBOUND";
1962
- readonly INTERNAL: "INTERNAL";
1963
- readonly OUTBOUND: "OUTBOUND";
1964
- };
1965
- /**
1966
- * @public
1967
- */
1968
- export type ConversationDirection = typeof ConversationDirection[keyof typeof ConversationDirection];
1969
- /**
1970
- * @public
1971
- * @enum
1972
- */
1973
- export declare const ConversationFlag: {
1974
- readonly FAX: "FAX";
1975
- readonly VOICEMAIL: "VOICEMAIL";
1976
- };
1977
- /**
1978
- * @public
1979
- */
1980
- export type ConversationFlag = typeof ConversationFlag[keyof typeof ConversationFlag];
1981
1391
  /**
1982
1392
  * @public
1983
1393
  */
1984
1394
  export interface QueryConversationsFilter {
1985
1395
  direction?: ConversationDirection | undefined;
1986
- flags?: (ConversationFlag)[] | undefined;
1396
+ flags?: ConversationFlag[] | undefined;
1987
1397
  status?: ConversationStatus | undefined;
1988
1398
  from?: Date | undefined;
1989
1399
  to?: Date | undefined;
1990
- tags?: (string)[] | undefined;
1400
+ tags?: string[] | undefined;
1991
1401
  search?: string | undefined;
1992
1402
  hasAttachment?: boolean | undefined;
1993
1403
  }
@@ -2021,30 +1431,18 @@ export interface QueryConversationsInput {
2021
1431
  * @public
2022
1432
  */
2023
1433
  export interface QueryConversationsOutput {
2024
- conversations: (Conversation)[];
1434
+ conversations: Conversation[];
2025
1435
  }
2026
- /**
2027
- * @public
2028
- * @enum
2029
- */
2030
- export declare const ConversationUserDirection: {
2031
- readonly INCOMING: "INCOMING";
2032
- readonly OUTGOING: "OUTGOING";
2033
- };
2034
- /**
2035
- * @public
2036
- */
2037
- export type ConversationUserDirection = typeof ConversationUserDirection[keyof typeof ConversationUserDirection];
2038
1436
  /**
2039
1437
  * @public
2040
1438
  */
2041
1439
  export interface QueryUserCallsFilter {
2042
1440
  direction?: ConversationDirection | undefined;
2043
- flags?: (ConversationFlag)[] | undefined;
1441
+ flags?: ConversationFlag[] | undefined;
2044
1442
  status?: ConversationStatus | undefined;
2045
1443
  from?: Date | undefined;
2046
1444
  to?: Date | undefined;
2047
- tags?: (string)[] | undefined;
1445
+ tags?: string[] | undefined;
2048
1446
  search?: string | undefined;
2049
1447
  hasAttachment?: boolean | undefined;
2050
1448
  userDirection?: ConversationUserDirection | undefined;
@@ -2079,7 +1477,7 @@ export interface QueryUserCallsInput {
2079
1477
  * @public
2080
1478
  */
2081
1479
  export interface QueryUserCallsOutput {
2082
- calls: (CallRecord)[];
1480
+ calls: CallRecord[];
2083
1481
  }
2084
1482
  /**
2085
1483
  * @public
@@ -2092,7 +1490,7 @@ export interface UpdateCallInput {
2092
1490
  companyId?: string | undefined;
2093
1491
  callId: string;
2094
1492
  flowIndex: number;
2095
- tags?: (string)[] | undefined;
1493
+ tags?: string[] | undefined;
2096
1494
  }
2097
1495
  /**
2098
1496
  * @public