@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,983 +1,4 @@
1
- import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
2
- import { Annotation, CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ChatRecord, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAgentsStatusAnalyticsRecordEvent, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallAnalyticsRecordEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatAnnotationsCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookEventType, WebsocketAuthorizeAction, WebsocketSubscribeAction, WebsocketTopic, WebsocketUnsubscribeAction } from "./models_0";
3
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
4
- import { DocumentType as __DocumentType } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export interface WebhookChatLiveProgressEvent {
9
- id: string;
10
- pbx?: string | undefined;
11
- company?: string | undefined;
12
- type: WebhookEventType;
13
- time: number;
14
- integrationId: string;
15
- data: ChatAnalyticsLiveProgressEvent;
16
- }
17
- /**
18
- * @public
19
- */
20
- export interface WebhookChatManagerMissedEvent {
21
- id: string;
22
- pbx?: string | undefined;
23
- company?: string | undefined;
24
- type: WebhookEventType;
25
- time: number;
26
- integrationId: string;
27
- data: ChatAnalyticsManagerMissedEvent;
28
- }
29
- /**
30
- * @public
31
- */
32
- export interface WebhookChatSummaryCompletedEventData {
33
- chat: ChatRecord;
34
- summary: TranscriptionSummary;
35
- }
36
- /**
37
- * @public
38
- */
39
- export interface WebhookChatSummaryCompletedEvent {
40
- id: string;
41
- pbx?: string | undefined;
42
- company?: string | undefined;
43
- type: WebhookEventType;
44
- time: number;
45
- integrationId: string;
46
- data: WebhookChatSummaryCompletedEventData;
47
- }
48
- /**
49
- * @public
50
- */
51
- export interface WebhookConferenceAnnotationsCompletedEventData {
52
- conference: ConferenceRecord;
53
- annotations: (Annotation)[];
54
- }
55
- /**
56
- * @public
57
- */
58
- export interface WebhookConferenceAnnotationsCompletedEvent {
59
- id: string;
60
- pbx?: string | undefined;
61
- company?: string | undefined;
62
- type: WebhookEventType;
63
- time: number;
64
- integrationId: string;
65
- data: WebhookConferenceAnnotationsCompletedEventData;
66
- }
67
- /**
68
- * @public
69
- */
70
- export interface WebhookConferenceCompletedEvent {
71
- id: string;
72
- pbx?: string | undefined;
73
- company?: string | undefined;
74
- type: WebhookEventType;
75
- time: number;
76
- integrationId: string;
77
- data: ConferenceAnalyticsRecordEvent;
78
- }
79
- /**
80
- * @public
81
- */
82
- export interface WebhookConferenceLiveAnnotationEvent {
83
- id: string;
84
- pbx?: string | undefined;
85
- company?: string | undefined;
86
- type: WebhookEventType;
87
- time: number;
88
- integrationId: string;
89
- data: ConferenceAnalyticsLiveAnnotationEvent;
90
- }
91
- /**
92
- * @public
93
- */
94
- export interface WebhookConferenceLiveCompletedEvent {
95
- id: string;
96
- pbx?: string | undefined;
97
- company?: string | undefined;
98
- type: WebhookEventType;
99
- time: number;
100
- integrationId: string;
101
- data: ConferenceAnalyticsLiveCompleteEvent;
102
- }
103
- /**
104
- * @public
105
- */
106
- export interface WebhookConferenceLiveInterruptedEvent {
107
- id: string;
108
- pbx?: string | undefined;
109
- company?: string | undefined;
110
- type: WebhookEventType;
111
- time: number;
112
- integrationId: string;
113
- data: ConferenceAnalyticsLiveInterruptedEvent;
114
- }
115
- /**
116
- * @public
117
- */
118
- export interface WebhookConferenceLiveJoinEvent {
119
- id: string;
120
- pbx?: string | undefined;
121
- company?: string | undefined;
122
- type: WebhookEventType;
123
- time: number;
124
- integrationId: string;
125
- data: ConferenceAnalyticsLiveJoinEvent;
126
- }
127
- /**
128
- * @public
129
- */
130
- export interface WebhookConferenceLiveLeaveEvent {
131
- id: string;
132
- pbx?: string | undefined;
133
- company?: string | undefined;
134
- type: WebhookEventType;
135
- time: number;
136
- integrationId: string;
137
- data: ConferenceAnalyticsLiveLeaveEvent;
138
- }
139
- /**
140
- * @public
141
- */
142
- export interface WebhookConferenceLiveProgressEvent {
143
- id: string;
144
- pbx?: string | undefined;
145
- company?: string | undefined;
146
- type: WebhookEventType;
147
- time: number;
148
- integrationId: string;
149
- data: ConferenceAnalyticsLiveProgressEvent;
150
- }
151
- /**
152
- * @public
153
- */
154
- export interface WebhookConferenceLiveTranscriptionEvent {
155
- id: string;
156
- pbx?: string | undefined;
157
- company?: string | undefined;
158
- type: WebhookEventType;
159
- time: number;
160
- integrationId: string;
161
- data: ConferenceAnalyticsLiveTranscriptionEvent;
162
- }
163
- /**
164
- * @public
165
- */
166
- export interface WebhookConferenceSummaryCompletedEventData {
167
- conference: ConferenceRecord;
168
- summary: TranscriptionSummary;
169
- }
170
- /**
171
- * @public
172
- */
173
- export interface WebhookConferenceSummaryCompletedEvent {
174
- id: string;
175
- pbx?: string | undefined;
176
- company?: string | undefined;
177
- type: WebhookEventType;
178
- time: number;
179
- integrationId: string;
180
- data: WebhookConferenceSummaryCompletedEventData;
181
- }
182
- /**
183
- * @public
184
- */
185
- export interface WebhookConferenceTranscriptionCompletedEventData {
186
- conference: ConferenceRecord;
187
- chunks: (TranscriptionTextChunk)[];
188
- }
189
- /**
190
- * @public
191
- */
192
- export interface WebhookConferenceTranscriptionCompletedEvent {
193
- id: string;
194
- pbx?: string | undefined;
195
- company?: string | undefined;
196
- type: WebhookEventType;
197
- time: number;
198
- integrationId: string;
199
- data: WebhookConferenceTranscriptionCompletedEventData;
200
- }
201
- /**
202
- * @public
203
- */
204
- export interface WebhookConferenceTranscriptionTextCompletedEventData {
205
- conference: ConferenceRecord;
206
- transcription: string;
207
- }
208
- /**
209
- * @public
210
- */
211
- export interface WebhookConferenceTranscriptionTextCompletedEvent {
212
- id: string;
213
- pbx?: string | undefined;
214
- company?: string | undefined;
215
- type: WebhookEventType;
216
- time: number;
217
- integrationId: string;
218
- data: WebhookConferenceTranscriptionTextCompletedEventData;
219
- }
220
- /**
221
- * @public
222
- */
223
- export interface WebhookOutdatedCallParticipant {
224
- type: string;
225
- phone?: string | undefined;
226
- name?: string | undefined;
227
- company?: string | undefined;
228
- email?: string | undefined;
229
- userId?: string | undefined;
230
- userExtension?: string | undefined;
231
- userDepartment?: string | undefined;
232
- groupId?: string | undefined;
233
- groupName?: string | undefined;
234
- userAgent?: string | undefined;
235
- userDevice?: CallDevice | undefined;
236
- role: string;
237
- license?: string | undefined;
238
- }
239
- /**
240
- * @public
241
- */
242
- export interface WebhookOutdatedCallEventData {
243
- status?: string | undefined;
244
- caller?: WebhookOutdatedCallParticipant | undefined;
245
- callee?: WebhookOutdatedCallParticipant | undefined;
246
- service?: string | undefined;
247
- destination?: string | undefined;
248
- trunkName?: string | undefined;
249
- queueId?: string | undefined;
250
- queueName?: string | undefined;
251
- tags: (string)[];
252
- flags: (string)[];
253
- endCause?: string | undefined;
254
- endCauseStr?: string | undefined;
255
- endBy?: string | undefined;
256
- }
257
- /**
258
- * @public
259
- */
260
- export interface WebhookOutdatedCallEndEvent {
261
- id: string;
262
- pbx?: string | undefined;
263
- company?: string | undefined;
264
- type: WebhookEventType;
265
- time: number;
266
- integrationId: string;
267
- data: WebhookOutdatedCallEventData;
268
- }
269
- /**
270
- * @public
271
- */
272
- export interface WebhookOutdatedCallStartEvent {
273
- id: string;
274
- pbx?: string | undefined;
275
- company?: string | undefined;
276
- type: WebhookEventType;
277
- time: number;
278
- integrationId: string;
279
- data: WebhookOutdatedCallEventData;
280
- }
281
- /**
282
- * @public
283
- */
284
- export interface WebhookOutdatedCallUpdateEvent {
285
- id: string;
286
- pbx?: string | undefined;
287
- company?: string | undefined;
288
- type: WebhookEventType;
289
- time: number;
290
- integrationId: string;
291
- data: WebhookOutdatedCallEventData;
292
- }
293
- /**
294
- * @public
295
- */
296
- export interface WebhookPresenceConferenceEventData {
297
- extension: string;
298
- isJoined: boolean;
299
- isLeaved: boolean;
300
- participant: ConferenceParticipant;
301
- }
302
- /**
303
- * @public
304
- */
305
- export interface WebhookPresenceConferenceEvent {
306
- id: string;
307
- pbx?: string | undefined;
308
- company?: string | undefined;
309
- type: WebhookEventType;
310
- time: number;
311
- integrationId: string;
312
- data: WebhookPresenceConferenceEventData;
313
- }
314
- /**
315
- * @public
316
- */
317
- export interface WebhookPresenceTelephonyEventData {
318
- extension: string;
319
- email: string;
320
- sourceId: string;
321
- status: string;
322
- }
323
- /**
324
- * @public
325
- */
326
- export interface WebhookPresenceTelephonyEvent {
327
- id: string;
328
- pbx?: string | undefined;
329
- company?: string | undefined;
330
- type: WebhookEventType;
331
- time: number;
332
- integrationId: string;
333
- data: WebhookPresenceTelephonyEventData;
334
- }
335
- /**
336
- * @public
337
- */
338
- export interface WebhookPresenceUserEventLocationData {
339
- address: string;
340
- lat: string;
341
- lng: string;
342
- }
343
- /**
344
- * @public
345
- */
346
- export interface WebhookPresenceUserEventData {
347
- extension: string;
348
- email: string;
349
- sourceId: string;
350
- status: string;
351
- until: string;
352
- message: string;
353
- location: WebhookPresenceUserEventLocationData;
354
- }
355
- /**
356
- * @public
357
- */
358
- export interface WebhookPresenceUserEvent {
359
- id: string;
360
- pbx?: string | undefined;
361
- company?: string | undefined;
362
- type: WebhookEventType;
363
- time: number;
364
- integrationId: string;
365
- data: WebhookPresenceUserEventData;
366
- }
367
- /**
368
- * @public
369
- */
370
- export interface WebhookServiceCallLiveCompletedEvent {
371
- id: string;
372
- pbx?: string | undefined;
373
- company?: string | undefined;
374
- type: WebhookEventType;
375
- time: number;
376
- integrationId: string;
377
- /**
378
- * Base service call structure.
379
- * @public
380
- */
381
- data: ServiceCallAnalyticsLiveCompleteEvent;
382
- }
383
- /**
384
- * @public
385
- */
386
- export interface WebhookServiceCallLiveProgressEvent {
387
- id: string;
388
- pbx?: string | undefined;
389
- company?: string | undefined;
390
- type: WebhookEventType;
391
- time: number;
392
- integrationId: string;
393
- /**
394
- * Base service call structure.
395
- * @public
396
- */
397
- data: ServiceCallAnalyticsLiveProgressEvent;
398
- }
399
- /**
400
- * @public
401
- */
402
- export interface WebhookSmsStatusEvent {
403
- id: string;
404
- pbx?: string | undefined;
405
- company?: string | undefined;
406
- type: WebhookEventType;
407
- time: number;
408
- integrationId: string;
409
- data: SmsStatusConsumeEventData;
410
- }
411
- /**
412
- * @public
413
- */
414
- export interface WebsocketAuthorizeBadRequestException {
415
- event?: string | undefined;
416
- requestId?: string | undefined;
417
- connectionId?: string | undefined;
418
- message?: string | undefined;
419
- code?: number | undefined;
420
- source?: WebsocketAuthorizeAction | undefined;
421
- }
422
- /**
423
- * @public
424
- * @enum
425
- */
426
- export declare const WebsocketEvent: {
427
- readonly AUTHORIZED: "authorized";
428
- readonly BROADCAST: "broadcast";
429
- readonly SUBSCRIBED: "subscribed";
430
- readonly UNSUBSCRIBE: "unsubscribed";
431
- };
432
- /**
433
- * @public
434
- */
435
- export type WebsocketEvent = typeof WebsocketEvent[keyof typeof WebsocketEvent];
436
- /**
437
- * @public
438
- */
439
- export interface WebsocketAuthorizedEvent {
440
- event: WebsocketEvent;
441
- connectionId: string;
442
- requestId: string;
443
- duration?: __DocumentType | undefined;
444
- }
445
- /**
446
- * @public
447
- */
448
- export interface WebsocketConversationsBroadcastEvent {
449
- event: WebsocketEvent;
450
- topic: WebsocketTopic;
451
- data: __DocumentType;
452
- meta?: __DocumentType | undefined;
453
- }
454
- /**
455
- * @public
456
- */
457
- export interface WebsocketPresenceData {
458
- id?: string | undefined;
459
- company?: string | undefined;
460
- extension?: string | undefined;
461
- status?: string | undefined;
462
- telephony?: string | undefined;
463
- conference?: string | undefined;
464
- message?: string | undefined;
465
- until?: string | undefined;
466
- address?: string | undefined;
467
- lng?: string | undefined;
468
- lat?: string | undefined;
469
- seen?: string | undefined;
470
- }
471
- /**
472
- * @public
473
- */
474
- export interface WebsocketPresenceDataList {
475
- member?: WebsocketPresenceData | undefined;
476
- }
477
- /**
478
- * @public
479
- */
480
- export interface WebsocketPresenceBroadcastEvent {
481
- event: WebsocketEvent;
482
- topic: WebsocketTopic;
483
- delta?: WebsocketPresenceData | undefined;
484
- data?: WebsocketPresenceDataList | undefined;
485
- meta?: __DocumentType | undefined;
486
- }
487
- /**
488
- * @public
489
- */
490
- export interface WebsocketSubscribeBadRequestException {
491
- event?: string | undefined;
492
- requestId?: string | undefined;
493
- connectionId?: string | undefined;
494
- message?: string | undefined;
495
- code?: number | undefined;
496
- source?: WebsocketSubscribeAction | undefined;
497
- }
498
- /**
499
- * @public
500
- */
501
- export interface WebsocketSubscribedEvent {
502
- event: WebsocketEvent;
503
- connectionId: string;
504
- requestId: string;
505
- topic: WebsocketTopic;
506
- duration?: __DocumentType | undefined;
507
- }
508
- /**
509
- * @public
510
- */
511
- export interface WebsocketTranscriptionsBroadcastEvent {
512
- event: WebsocketEvent;
513
- topic: WebsocketTopic;
514
- data: __DocumentType;
515
- meta?: __DocumentType | undefined;
516
- }
517
- /**
518
- * @public
519
- */
520
- export interface WebsocketUnsubscribeBadRequestException {
521
- event?: string | undefined;
522
- requestId?: string | undefined;
523
- connectionId?: string | undefined;
524
- message?: string | undefined;
525
- code?: number | undefined;
526
- source?: WebsocketUnsubscribeAction | undefined;
527
- }
528
- /**
529
- * @public
530
- */
531
- export interface WebsocketUnsubscribedEvent {
532
- event: WebsocketEvent;
533
- connectionId: string;
534
- requestId: string;
535
- topic: WebsocketTopic;
536
- duration?: number | undefined;
537
- pending?: number | undefined;
538
- }
539
- /**
540
- * @public
541
- */
542
- export interface DescribeEventOutput {
543
- CallAnalyticsLiveProgressEvent?: CallAnalyticsLiveProgressEvent | undefined;
544
- CallAnalyticsLiveCompleteEvent?: CallAnalyticsLiveCompleteEvent | undefined;
545
- CallAnalyticsLiveInterruptedEvent?: CallAnalyticsLiveInterruptedEvent | undefined;
546
- CallAnalyticsLiveAnnotationEvent?: CallAnalyticsLiveAnnotationEvent | undefined;
547
- CallAnalyticsLiveTranscriptionEvent?: CallAnalyticsLiveTranscriptionEvent | undefined;
548
- CallAnalyticsRecordEvent?: CallAnalyticsRecordEvent | undefined;
549
- CallAnalyticsAnnotationsRecordEvent?: CallAnalyticsAnnotationsRecordEvent | undefined;
550
- CallAnalyticsTranscriptionRecordEvent?: CallAnalyticsTranscriptionRecordEvent | undefined;
551
- CallAnalyticsCostRecordEvent?: CallAnalyticsCostRecordEvent | undefined;
552
- ChatAnalyticsLiveCompleteEvent?: ChatAnalyticsLiveCompleteEvent | undefined;
553
- ChatAnalyticsLiveInterruptedEvent?: ChatAnalyticsLiveInterruptedEvent | undefined;
554
- ChatAnalyticsLiveAnnotationEvent?: ChatAnalyticsLiveAnnotationEvent | undefined;
555
- ChatAnalyticsLiveProgressEvent?: ChatAnalyticsLiveProgressEvent | undefined;
556
- ChatAnalyticsLiveTranscriptionEvent?: ChatAnalyticsLiveTranscriptionEvent | undefined;
557
- ChatAnalyticsManagerMissedEvent?: ChatAnalyticsManagerMissedEvent | undefined;
558
- ChatAnalyticsRecordEvent?: ChatAnalyticsRecordEvent | undefined;
559
- ChatAnalyticsAnnotationsRecordEvent?: ChatAnalyticsAnnotationsRecordEvent | undefined;
560
- ChatAnalyticsTranscriptionRecordEvent?: ChatAnalyticsTranscriptionRecordEvent | undefined;
561
- ConferenceAnalyticsLiveProgressEvent?: ConferenceAnalyticsLiveProgressEvent | undefined;
562
- ConferenceAnalyticsLiveCompleteEvent?: ConferenceAnalyticsLiveCompleteEvent | undefined;
563
- ConferenceAnalyticsLiveInterruptedEvent?: ConferenceAnalyticsLiveInterruptedEvent | undefined;
564
- ConferenceAnalyticsLiveAnnotationEvent?: ConferenceAnalyticsLiveAnnotationEvent | undefined;
565
- ConferenceAnalyticsLiveTranscriptionEvent?: ConferenceAnalyticsLiveTranscriptionEvent | undefined;
566
- ConferenceAnalyticsLiveJoinEvent?: ConferenceAnalyticsLiveJoinEvent | undefined;
567
- ConferenceAnalyticsLiveLeaveEvent?: ConferenceAnalyticsLiveLeaveEvent | undefined;
568
- ConferenceAnalyticsRecordEvent?: ConferenceAnalyticsRecordEvent | undefined;
569
- ConferenceAnalyticsAnnotationsRecordEvent?: ConferenceAnalyticsAnnotationsRecordEvent | undefined;
570
- ConferenceAnalyticsTranscriptionRecordEvent?: ConferenceAnalyticsTranscriptionRecordEvent | undefined;
571
- PresenceAnalyticsStatusEvent?: PresenceAnalyticsStatusEvent | undefined;
572
- PresenceAnalyticsConferenceEvent?: PresenceAnalyticsConferenceEvent | undefined;
573
- PresenceAnalyticsTelephonyEvent?: PresenceAnalyticsTelephonyEvent | undefined;
574
- WebsocketPresenceBroadcastEvent?: WebsocketPresenceBroadcastEvent | undefined;
575
- WebsocketConversationsBroadcastEvent?: WebsocketConversationsBroadcastEvent | undefined;
576
- WebsocketTranscriptionsBroadcastEvent?: WebsocketTranscriptionsBroadcastEvent | undefined;
577
- WebsocketAuthorizedEvent?: WebsocketAuthorizedEvent | undefined;
578
- WebsocketSubscribedEvent?: WebsocketSubscribedEvent | undefined;
579
- WebsocketUnsubscribedEvent?: WebsocketUnsubscribedEvent | undefined;
580
- WebsocketAuthorizeBadRequestException?: WebsocketAuthorizeBadRequestException | undefined;
581
- WebsocketSubscribeBadRequestException?: WebsocketSubscribeBadRequestException | undefined;
582
- WebsocketUnsubscribeBadRequestException?: WebsocketUnsubscribeBadRequestException | undefined;
583
- WebhookPresenceUserEvent?: WebhookPresenceUserEvent | undefined;
584
- WebhookPresenceTelephonyEvent?: WebhookPresenceTelephonyEvent | undefined;
585
- WebhookPresenceConferenceEvent?: WebhookPresenceConferenceEvent | undefined;
586
- WebhookCallLiveProgressEvent?: WebhookCallLiveProgressEvent | undefined;
587
- WebhookCallLiveCompletedEvent?: WebhookCallLiveCompletedEvent | undefined;
588
- WebhookCallLiveInterruptedEvent?: WebhookCallLiveInterruptedEvent | undefined;
589
- WebhookCallLiveAnnotationEvent?: WebhookCallLiveAnnotationEvent | undefined;
590
- WebhookCallLiveTranscriptionEvent?: WebhookCallLiveTranscriptionEvent | undefined;
591
- WebhookCallLiveRecordStartEvent?: WebhookCallLiveRecordStartEvent | undefined;
592
- WebhookCallLiveRecordStopEvent?: WebhookCallLiveRecordStopEvent | undefined;
593
- WebhookCallLiveRecordPauseEvent?: WebhookCallLiveRecordPauseEvent | undefined;
594
- WebhookCallLiveRecordUnpauseEvent?: WebhookCallLiveRecordUnpauseEvent | undefined;
595
- WebhookCallCompletedEvent?: WebhookCallCompletedEvent | undefined;
596
- WebhookCallTranscriptionCompletedEvent?: WebhookCallTranscriptionCompletedEvent | undefined;
597
- WebhookCallTranscriptionTextCompletedEvent?: WebhookCallTranscriptionTextCompletedEvent | undefined;
598
- WebhookCallAnnotationsCompletedEvent?: WebhookCallAnnotationsCompletedEvent | undefined;
599
- WebhookCallSummaryCompletedEvent?: WebhookCallSummaryCompletedEvent | undefined;
600
- WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent | undefined;
601
- WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent | undefined;
602
- WebhookConferenceLiveInterruptedEvent?: WebhookConferenceLiveInterruptedEvent | undefined;
603
- WebhookConferenceLiveAnnotationEvent?: WebhookConferenceLiveAnnotationEvent | undefined;
604
- WebhookConferenceLiveJoinEvent?: WebhookConferenceLiveJoinEvent | undefined;
605
- WebhookConferenceLiveLeaveEvent?: WebhookConferenceLiveLeaveEvent | undefined;
606
- WebhookConferenceLiveTranscriptionEvent?: WebhookConferenceLiveTranscriptionEvent | undefined;
607
- WebhookConferenceCompletedEvent?: WebhookConferenceCompletedEvent | undefined;
608
- WebhookConferenceTranscriptionCompletedEvent?: WebhookConferenceTranscriptionCompletedEvent | undefined;
609
- WebhookConferenceTranscriptionTextCompletedEvent?: WebhookConferenceTranscriptionTextCompletedEvent | undefined;
610
- WebhookConferenceAnnotationsCompletedEvent?: WebhookConferenceAnnotationsCompletedEvent | undefined;
611
- WebhookConferenceSummaryCompletedEvent?: WebhookConferenceSummaryCompletedEvent | undefined;
612
- WebhookServiceCallLiveProgressEvent?: WebhookServiceCallLiveProgressEvent | undefined;
613
- WebhookServiceCallLiveCompletedEvent?: WebhookServiceCallLiveCompletedEvent | undefined;
614
- WebhookChatLiveProgressEvent?: WebhookChatLiveProgressEvent | undefined;
615
- WebhookChatLiveCompletedEvent?: WebhookChatLiveCompletedEvent | undefined;
616
- WebhookChatLiveInterruptedEvent?: WebhookChatLiveInterruptedEvent | undefined;
617
- WebhookChatLiveAnnotationEvent?: WebhookChatLiveAnnotationEvent | undefined;
618
- WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent | undefined;
619
- WebhookChatCompletedEvent?: WebhookChatCompletedEvent | undefined;
620
- WebhookChatAnnotationsCompletedEvent?: WebhookChatAnnotationsCompletedEvent | undefined;
621
- WebhookChatSummaryCompletedEvent?: WebhookChatSummaryCompletedEvent | undefined;
622
- WebhookOutdatedCallStartEvent?: WebhookOutdatedCallStartEvent | undefined;
623
- WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent | undefined;
624
- WebhookOutdatedCallEndEvent?: WebhookOutdatedCallEndEvent | undefined;
625
- WebhookSmsStatusEvent?: WebhookSmsStatusEvent | undefined;
626
- ServiceAnalyticsLiveProgressEvent?: ServiceAnalyticsLiveProgressEvent | undefined;
627
- ServiceAnalyticsLiveCompleteEvent?: ServiceAnalyticsLiveCompleteEvent | undefined;
628
- /**
629
- * Record representation of a service agent status update.
630
- * @public
631
- */
632
- ServiceAgentsStatusAnalyticsRecordEvent?: ServiceAgentsStatusAnalyticsRecordEvent | undefined;
633
- /**
634
- * Base service call structure.
635
- * @public
636
- */
637
- ServiceCallAnalyticsLiveProgressEvent?: ServiceCallAnalyticsLiveProgressEvent | undefined;
638
- /**
639
- * Base service call structure.
640
- * @public
641
- */
642
- ServiceCallAnalyticsLiveCompleteEvent?: ServiceCallAnalyticsLiveCompleteEvent | undefined;
643
- /**
644
- * Finalized record representation of a service call lifecycle, containing the full ordered sequence of lifecycle actions from queue entry to end.
645
- * @public
646
- */
647
- ServiceCallAnalyticsRecordEvent?: ServiceCallAnalyticsRecordEvent | undefined;
648
- CallEventType?: CallEventType | undefined;
649
- ConferenceEventType?: ConferenceEventType | undefined;
650
- ChatEventType?: ChatEventType | undefined;
651
- PresenceEventType?: PresenceEventType | undefined;
652
- ServiceEventType?: ServiceEventType | undefined;
653
- ServiceCallEventType?: ServiceCallEventType | undefined;
654
- }
655
- /**
656
- * @public
657
- */
658
- export interface GetConferenceIdInput {
659
- company?: string | undefined;
660
- channelId: string;
661
- }
662
- /**
663
- * @public
664
- */
665
- export interface GetConferenceIdOutput {
666
- id: string;
667
- }
668
- /**
669
- * @public
670
- */
671
- export declare class MatchNotFoundException extends __BaseException {
672
- readonly name: "MatchNotFoundException";
673
- readonly $fault: "client";
674
- /**
675
- * @internal
676
- */
677
- constructor(opts: __ExceptionOptionType<MatchNotFoundException, __BaseException>);
678
- }
679
- /**
680
- * @public
681
- */
682
- export interface GetOngoingCallInput {
683
- company?: string | undefined;
684
- callId: string;
685
- }
686
- /**
687
- * @public
688
- */
689
- export interface GetOngoingCallOutput {
690
- company: string;
691
- flows: (CallAnalyticsLiveProgressEventFlow)[];
692
- }
693
- /**
694
- * @public
695
- */
696
- export interface GetOngoingCallAnnotationsInput {
697
- company?: string | undefined;
698
- callId: string;
699
- }
700
- /**
701
- * @public
702
- */
703
- export interface GetOngoingCallAnnotationsOutput {
704
- company: string;
705
- flows: (CallAnalyticsLiveProgressEventFlow)[];
706
- annotations?: (CallAnalyticsLiveAnnotationEvent)[] | undefined;
707
- }
708
- /**
709
- * @public
710
- */
711
- export interface GetOngoingCallTranscriptionInput {
712
- company?: string | undefined;
713
- callId: string;
714
- }
715
- /**
716
- * @public
717
- */
718
- export interface GetOngoingCallTranscriptionOutput {
719
- company: string;
720
- flows: (CallAnalyticsLiveProgressEventFlow)[];
721
- transcriptions?: (CallAnalyticsLiveTranscriptionEvent)[] | undefined;
722
- }
723
- /**
724
- * @public
725
- */
726
- export interface GetOngoingChatAnnotationsInput {
727
- company?: string | undefined;
728
- chatId: string;
729
- }
730
- /**
731
- * @public
732
- */
733
- export interface GetOngoingChatAnnotationsOutput {
734
- chat: ChatAnalyticsLiveProgressEvent;
735
- annotations?: (ChatAnalyticsLiveAnnotationEvent)[] | undefined;
736
- }
737
- /**
738
- * @public
739
- */
740
- export interface GetOngoingConferenceInput {
741
- company?: string | undefined;
742
- conferenceId: string;
743
- }
744
- /**
745
- * @public
746
- */
747
- export interface GetOngoingConferenceOutput {
748
- conference: ConferenceAnalyticsLiveProgressEvent;
749
- }
750
- /**
751
- * @public
752
- */
753
- export interface GetOngoingConferenceAnnotationsInput {
754
- company?: string | undefined;
755
- conferenceId: string;
756
- }
757
- /**
758
- * @public
759
- */
760
- export interface GetOngoingConferenceAnnotationsOutput {
761
- conference: ConferenceAnalyticsLiveProgressEvent;
762
- annotations?: (ConferenceAnalyticsLiveAnnotationEvent)[] | undefined;
763
- }
764
- /**
765
- * @public
766
- */
767
- export interface GetOngoingConferenceTranscriptionInput {
768
- company?: string | undefined;
769
- conferenceId: string;
770
- }
771
- /**
772
- * @public
773
- */
774
- export interface GetOngoingConferenceTranscriptionOutput {
775
- conference: ConferenceAnalyticsLiveProgressEvent;
776
- transcriptions?: (ConferenceAnalyticsLiveTranscriptionEvent)[] | undefined;
777
- }
778
- /**
779
- * @public
780
- */
781
- export interface ListServicesFilter {
782
- pbx?: string | undefined;
783
- }
784
- /**
785
- * @public
786
- */
787
- export interface ListServicesInput {
788
- /**
789
- * The unique identifier of the company.
790
- * @public
791
- */
792
- company?: string | undefined;
793
- filter?: (ListServicesFilter)[] | undefined;
794
- }
795
- /**
796
- * Basic information about a service, used in list responses.
797
- * @public
798
- */
799
- export interface ServiceInfo {
800
- /**
801
- * The unique identifier of the service.
802
- * @public
803
- */
804
- id: string;
805
- /**
806
- * The display name of the service.
807
- * @public
808
- */
809
- name: string;
810
- /**
811
- * The PBX identifier of the service.
812
- * @public
813
- */
814
- pbx?: string | undefined;
815
- /**
816
- * ACL group identifier associated with the service.
817
- * @public
818
- */
819
- aclGroup?: string | undefined;
820
- }
821
- /**
822
- * @public
823
- */
824
- export interface ListServicesOutput {
825
- /**
826
- * List of active services with basic information.
827
- * @public
828
- */
829
- services: (ServiceInfo)[];
830
- }
831
- /**
832
- * @public
833
- * @enum
834
- */
835
- export declare const PresenceStatus: {
836
- readonly AWAY: "AWAY";
837
- readonly DND: "DND";
838
- readonly OFFLINE: "OFFLINE";
839
- readonly ONLINE: "ONLINE";
840
- readonly ONLY_SIP: "ONLY_SIP";
841
- };
842
- /**
843
- * @public
844
- */
845
- export type PresenceStatus = typeof PresenceStatus[keyof typeof PresenceStatus];
846
- /**
847
- * @public
848
- * @enum
849
- */
850
- export declare const TelephonyStatus: {
851
- readonly REGISTERED: "REGISTERED";
852
- readonly RINGING: "RINGING";
853
- readonly RT: "RT";
854
- readonly TALKING: "TALKING";
855
- readonly UNREGISTERED: "UNREGISTERED";
856
- };
857
- /**
858
- * @public
859
- */
860
- export type TelephonyStatus = typeof TelephonyStatus[keyof typeof TelephonyStatus];
861
- /**
862
- * @public
863
- */
864
- export interface Presence {
865
- /**
866
- * The unique identifier of the organization user belongs to (example: it_w119845).
867
- * @public
868
- */
869
- company?: string | undefined;
870
- /**
871
- * The user's geographic address (example: 1 Kynner Way, Binley, Coventry, CV3 2TU, England).
872
- * @public
873
- */
874
- address?: string | undefined;
875
- /**
876
- * The user extension (example: 2001)
877
- * @public
878
- */
879
- extension?: string | undefined;
880
- /**
881
- * The unique identifier of the user (example: F2P9tcKrYI9p).
882
- * @public
883
- */
884
- id?: string | undefined;
885
- /**
886
- * Longitude is the unit that represent the coordinates at geographic coordinate system (example: 35.5753).
887
- * @public
888
- */
889
- lng?: string | undefined;
890
- /**
891
- * Latitude is the unit that represent the coordinates at geographic coordinate system(example: 23.2954).
892
- * @public
893
- */
894
- lat?: string | undefined;
895
- /**
896
- * If it is defined, user status switches back to Available after the time (example: 2024-08-08T17:16:00Z).
897
- * @public
898
- */
899
- until?: string | undefined;
900
- /**
901
- * User status (example: AWAY)
902
- * @public
903
- */
904
- status?: PresenceStatus | undefined;
905
- /**
906
- * User status custom message (example: on vacation).
907
- * @public
908
- */
909
- message?: string | undefined;
910
- /**
911
- * User telephony status (example: TALKING)
912
- * @public
913
- */
914
- telephony?: TelephonyStatus | undefined;
915
- /**
916
- * The string shows the time the user was last seen. (example: 2024-08-08T17:16:00Z).
917
- * @public
918
- */
919
- seen?: string | undefined;
920
- }
921
- /**
922
- * @public
923
- */
924
- export declare class PresenceNotAvailableException extends __BaseException {
925
- readonly name: "PresenceNotAvailableException";
926
- readonly $fault: "client";
927
- /**
928
- * @internal
929
- */
930
- constructor(opts: __ExceptionOptionType<PresenceNotAvailableException, __BaseException>);
931
- }
932
- /**
933
- * @public
934
- */
935
- export interface PresenceQueryFilter {
936
- /**
937
- * The unique identifier of the user (example: F2P9tcKrYI9p).
938
- * @public
939
- */
940
- id?: string | undefined;
941
- /**
942
- * The unique identifier of the organization user belongs to (example: it_w119845).
943
- * @public
944
- */
945
- company?: string | undefined;
946
- /**
947
- * The user extension (example: 2001
948
- * @public
949
- */
950
- extension?: string | undefined;
951
- }
952
- /**
953
- * @public
954
- */
955
- export interface QueryConversationsInput {
956
- company?: string | undefined;
957
- /**
958
- * List of filters to match the user conversations list.
959
- * @public
960
- */
961
- filter?: (PresenceQueryFilter)[] | undefined;
962
- }
963
- /**
964
- * @public
965
- */
966
- export interface QueryConversationsOutput {
967
- calls: (CallAnalyticsLiveProgressEvent)[];
968
- conferences: (ConferenceAnalyticsLiveProgressEvent)[];
969
- chats: (ChatAnalyticsLiveProgressEvent)[];
970
- }
971
- /**
972
- * @public
973
- */
974
- export interface QueryPresenceInput {
975
- /**
976
- * The filter, to match a presence of certain user
977
- * @public
978
- */
979
- filter: PresenceQueryFilter;
980
- }
1
+ import type { Presence, PresenceQueryFilter } from "./models_0";
981
2
  /**
982
3
  * @public
983
4
  */
@@ -996,7 +17,7 @@ export interface QueryPresencesInput {
996
17
  * List of filters to match the user presence list.
997
18
  * @public
998
19
  */
999
- filter: (PresenceQueryFilter)[];
20
+ filter: PresenceQueryFilter[];
1000
21
  }
1001
22
  /**
1002
23
  * @public
@@ -1006,7 +27,7 @@ export interface QueryPresencesOutput {
1006
27
  * A list of presences matched the filter. If filter does not match any presence the presence would not be added to the list.
1007
28
  * @public
1008
29
  */
1009
- presences: (Presence)[];
30
+ presences: Presence[];
1010
31
  }
1011
32
  /**
1012
33
  * @public