@wildix/wda-stream-client 1.1.59 → 1.1.60
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.
- package/dist-cjs/WdaStream.js +0 -6
- package/dist-cjs/commands/index.js +0 -3
- package/dist-cjs/models/models_0.js +31 -70
- package/dist-cjs/models/models_1.js +1 -7
- package/dist-cjs/protocols/Aws_restJson1.js +3 -396
- package/dist-es/WdaStream.js +0 -6
- package/dist-es/commands/index.js +0 -3
- package/dist-es/models/models_0.js +29 -68
- package/dist-es/models/models_1.js +0 -6
- package/dist-es/protocols/Aws_restJson1.js +4 -391
- package/dist-types/WdaStream.d.ts +0 -21
- package/dist-types/WdaStreamClient.d.ts +2 -5
- package/dist-types/commands/ConsumeEventCommand.d.ts +88 -146
- package/dist-types/commands/DescribeEventCommand.d.ts +196 -467
- package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +2 -2
- package/dist-types/commands/GetOngoingConferenceCommand.d.ts +1 -2
- package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +2 -3
- package/dist-types/commands/ListServicesCommand.d.ts +1 -0
- package/dist-types/commands/QueryConversationsCommand.d.ts +4 -6
- package/dist-types/commands/index.d.ts +0 -3
- package/dist-types/models/models_0.d.ts +786 -770
- package/dist-types/models/models_1.d.ts +18 -353
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -27
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/package.json +1 -1
- package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +0 -21
- package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +0 -21
- package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +0 -21
- package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +0 -17
- package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +0 -17
- package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +0 -17
- package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +0 -286
- package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +0 -190
- package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +0 -134
|
@@ -45,45 +45,6 @@ export const WhatsAppStatus = {
|
|
|
45
45
|
READ: "READ",
|
|
46
46
|
SENT: "SENT",
|
|
47
47
|
};
|
|
48
|
-
export var AnnotationPayload;
|
|
49
|
-
(function (AnnotationPayload) {
|
|
50
|
-
AnnotationPayload.visit = (value, visitor) => {
|
|
51
|
-
if (value.tag !== undefined)
|
|
52
|
-
return visitor.tag(value.tag);
|
|
53
|
-
if (value.text !== undefined)
|
|
54
|
-
return visitor.text(value.text);
|
|
55
|
-
if (value.variables !== undefined)
|
|
56
|
-
return visitor.variables(value.variables);
|
|
57
|
-
if (value.result !== undefined)
|
|
58
|
-
return visitor.result(value.result);
|
|
59
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
60
|
-
};
|
|
61
|
-
})(AnnotationPayload || (AnnotationPayload = {}));
|
|
62
|
-
export const AnnotationSourceType = {
|
|
63
|
-
CHATBOT: "chatbot",
|
|
64
|
-
SYSTEM: "system",
|
|
65
|
-
USER: "user",
|
|
66
|
-
VOICEBOT: "voicebot",
|
|
67
|
-
};
|
|
68
|
-
export const License = {
|
|
69
|
-
UC: "uc",
|
|
70
|
-
XBEES: "x-bees",
|
|
71
|
-
};
|
|
72
|
-
export const RecordType = {
|
|
73
|
-
CALL: "call",
|
|
74
|
-
CALL_ANNOTATIONS: "call_annotations",
|
|
75
|
-
CALL_TRANSCRIPTION: "call_transcription",
|
|
76
|
-
CHAT: "chat",
|
|
77
|
-
CHAT_ANNOTATIONS: "chat_annotations",
|
|
78
|
-
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
79
|
-
CONFERENCE: "conference",
|
|
80
|
-
CONFERENCE_ANNOTATIONS: "conference_annotations",
|
|
81
|
-
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
82
|
-
};
|
|
83
|
-
export const AnnotationsStatus = {
|
|
84
|
-
AVAILABLE: "AVAILABLE",
|
|
85
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
86
|
-
};
|
|
87
48
|
export const CallRecordOwner = {
|
|
88
49
|
CALLEE: "callee",
|
|
89
50
|
CALLER: "caller",
|
|
@@ -133,11 +94,23 @@ export const CallDevice = {
|
|
|
133
94
|
XBEES_IOS: "XBEES_IOS",
|
|
134
95
|
XBEES_WEB: "XBEES_WEB",
|
|
135
96
|
};
|
|
97
|
+
export const License = {
|
|
98
|
+
UC: "uc",
|
|
99
|
+
XBEES: "x-bees",
|
|
100
|
+
};
|
|
136
101
|
export const CallFlowTranscriptionStatus = {
|
|
137
102
|
AVAILABLE: "AVAILABLE",
|
|
138
103
|
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
139
104
|
UNAVAILABLE: "UNAVAILABLE",
|
|
140
105
|
};
|
|
106
|
+
export const RecordType = {
|
|
107
|
+
CALL: "call",
|
|
108
|
+
CALL_TRANSCRIPTION: "call_transcription",
|
|
109
|
+
CHAT: "chat",
|
|
110
|
+
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
111
|
+
CONFERENCE: "conference",
|
|
112
|
+
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
113
|
+
};
|
|
141
114
|
export const CallTranscriptionSpeaker = {
|
|
142
115
|
CALLEE: "callee",
|
|
143
116
|
CALLER: "caller",
|
|
@@ -275,7 +248,6 @@ export const ConferenceTranscriptionStatus = {
|
|
|
275
248
|
export const CallConsumeEventType = {
|
|
276
249
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
277
250
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
278
|
-
CALL_ANNOTATE: "CALL.ANNOTATE",
|
|
279
251
|
CALL_ATTACHMENT: "CALL.ATTACHMENT",
|
|
280
252
|
CALL_END: "CALL.END",
|
|
281
253
|
CALL_LIVE: "CALL.LIVE",
|
|
@@ -291,19 +263,16 @@ export const CallConsumeEventType = {
|
|
|
291
263
|
};
|
|
292
264
|
export const LiveEventType = {
|
|
293
265
|
CALL: "call",
|
|
294
|
-
CALL_ANNOTATION: "call_annotation",
|
|
295
266
|
CALL_COMPLETE: "call_complete",
|
|
296
267
|
CALL_INTERRUPTED: "call_interrupted",
|
|
297
268
|
CALL_TRANSCRIPTION: "call_transcription",
|
|
298
269
|
CHAT: "chat",
|
|
299
|
-
CHAT_ANNOTATION: "chat_annotation",
|
|
300
270
|
CHAT_COMPLETE: "chat_complete",
|
|
301
271
|
CHAT_COST: "call_cost",
|
|
302
272
|
CHAT_INTERRUPTED: "chat_interrupted",
|
|
303
273
|
CHAT_MISSED: "chat_missed",
|
|
304
274
|
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
305
275
|
CONFERENCE: "conference",
|
|
306
|
-
CONFERENCE_ANNOTATION: "conference_annotation",
|
|
307
276
|
CONFERENCE_COMPLETE: "conference_complete",
|
|
308
277
|
CONFERENCE_INTERRUPTED: "conference_interrupted",
|
|
309
278
|
CONFERENCE_JOIN: "conference_join",
|
|
@@ -311,6 +280,7 @@ export const LiveEventType = {
|
|
|
311
280
|
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
312
281
|
SERVICE: "service",
|
|
313
282
|
SERVICE_AGENT: "service_agent",
|
|
283
|
+
SERVICE_AGENT_STATUS: "service_agent_status",
|
|
314
284
|
SERVICE_CALL: "service_call",
|
|
315
285
|
SERVICE_CALL_COMPLETE: "service_call_complete",
|
|
316
286
|
SERVICE_COMPLETE: "service_complete",
|
|
@@ -347,9 +317,7 @@ export const CallEndConsume = {
|
|
|
347
317
|
CALLER: "caller",
|
|
348
318
|
};
|
|
349
319
|
export const CallEventType = {
|
|
350
|
-
ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent",
|
|
351
320
|
COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
|
|
352
|
-
LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
|
|
353
321
|
LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
|
|
354
322
|
LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent",
|
|
355
323
|
LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent",
|
|
@@ -363,14 +331,11 @@ export const CallFlowConsumeStatus = {
|
|
|
363
331
|
TALKING: "talking",
|
|
364
332
|
};
|
|
365
333
|
export const ChatConsumeEventType = {
|
|
366
|
-
CHAT_ANNOTATE: "CHAT.ANNOTATE",
|
|
367
334
|
CHAT_MESSAGE: "CHAT.MESSAGE",
|
|
368
335
|
CHAT_NEW: "CHAT.NEW",
|
|
369
336
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
370
337
|
};
|
|
371
338
|
export const ChatEventType = {
|
|
372
|
-
ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent",
|
|
373
|
-
LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
|
|
374
339
|
LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
|
|
375
340
|
LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
|
|
376
341
|
LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
|
|
@@ -379,8 +344,12 @@ export const ChatEventType = {
|
|
|
379
344
|
RECORD_EVENT: "ChatAnalyticsRecordEvent",
|
|
380
345
|
TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
|
|
381
346
|
};
|
|
347
|
+
export const ConferenceConsumeDirection = {
|
|
348
|
+
INBOUND: "inbound",
|
|
349
|
+
INTERNAL: "internal",
|
|
350
|
+
OUTBOUND: "outbound",
|
|
351
|
+
};
|
|
382
352
|
export const ConferenceConsumeEventType = {
|
|
383
|
-
CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE",
|
|
384
353
|
CONFERENCE_END: "CONFERENCE.END",
|
|
385
354
|
CONFERENCE_JOIN: "CONFERENCE.JOIN",
|
|
386
355
|
CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
|
|
@@ -392,14 +361,7 @@ export const ConferenceConsumeEventType = {
|
|
|
392
361
|
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
393
362
|
CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
|
|
394
363
|
};
|
|
395
|
-
export const ConferenceConsumeDirection = {
|
|
396
|
-
INBOUND: "inbound",
|
|
397
|
-
INTERNAL: "internal",
|
|
398
|
-
OUTBOUND: "outbound",
|
|
399
|
-
};
|
|
400
364
|
export const ConferenceEventType = {
|
|
401
|
-
ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent",
|
|
402
|
-
LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
|
|
403
365
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
404
366
|
LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
|
|
405
367
|
LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent",
|
|
@@ -437,8 +399,11 @@ export const ServiceConsumeEventType = {
|
|
|
437
399
|
export const ServiceCallAction = {
|
|
438
400
|
ANSWER: "ANSWER",
|
|
439
401
|
CANCEL: "CANCEL",
|
|
402
|
+
END: "END",
|
|
403
|
+
INIT: "INIT",
|
|
440
404
|
REJECT: "REJECT",
|
|
441
405
|
RING: "RING",
|
|
406
|
+
WAIT: "WAIT",
|
|
442
407
|
};
|
|
443
408
|
export const SmsConsumeEventType = {
|
|
444
409
|
SMS_INBOUND: "SMS.INBOUND",
|
|
@@ -470,8 +435,6 @@ export var ConsumeEventInputEvent;
|
|
|
470
435
|
return visitor.callUpdate(value.callUpdate);
|
|
471
436
|
if (value.callSplit !== undefined)
|
|
472
437
|
return visitor.callSplit(value.callSplit);
|
|
473
|
-
if (value.callAnnotate !== undefined)
|
|
474
|
-
return visitor.callAnnotate(value.callAnnotate);
|
|
475
438
|
if (value.callLive !== undefined)
|
|
476
439
|
return visitor.callLive(value.callLive);
|
|
477
440
|
if (value.callAgentsStart !== undefined)
|
|
@@ -500,8 +463,6 @@ export var ConsumeEventInputEvent;
|
|
|
500
463
|
return visitor.conferenceStart(value.conferenceStart);
|
|
501
464
|
if (value.conferenceJoin !== undefined)
|
|
502
465
|
return visitor.conferenceJoin(value.conferenceJoin);
|
|
503
|
-
if (value.conferenceAnnotate !== undefined)
|
|
504
|
-
return visitor.conferenceAnnotate(value.conferenceAnnotate);
|
|
505
466
|
if (value.conferenceRecordStart !== undefined)
|
|
506
467
|
return visitor.conferenceRecordStart(value.conferenceRecordStart);
|
|
507
468
|
if (value.conferenceTranscription !== undefined)
|
|
@@ -522,8 +483,6 @@ export var ConsumeEventInputEvent;
|
|
|
522
483
|
return visitor.chatNew(value.chatNew);
|
|
523
484
|
if (value.chatUpdate !== undefined)
|
|
524
485
|
return visitor.chatUpdate(value.chatUpdate);
|
|
525
|
-
if (value.chatAnnotate !== undefined)
|
|
526
|
-
return visitor.chatAnnotate(value.chatAnnotate);
|
|
527
486
|
if (value.smsInbound !== undefined)
|
|
528
487
|
return visitor.smsInbound(value.smsInbound);
|
|
529
488
|
if (value.smsStatus !== undefined)
|
|
@@ -593,15 +552,15 @@ export const ServiceAnalyticsEventTrigger = {
|
|
|
593
552
|
export const ServiceCallEventType = {
|
|
594
553
|
LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
|
|
595
554
|
LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
|
|
555
|
+
RECORD_EVENT: "ServiceCallAnalyticsRecordEvent",
|
|
596
556
|
};
|
|
597
557
|
export const ServiceEventType = {
|
|
558
|
+
AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent",
|
|
598
559
|
LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
|
|
599
560
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
600
561
|
};
|
|
601
562
|
export const WebhookEventType = {
|
|
602
|
-
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
603
563
|
CALL_COMPLETED: "call:completed",
|
|
604
|
-
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
605
564
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
606
565
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
607
566
|
CALL_LIVE_PROGRESS: "call:live:progress",
|
|
@@ -613,18 +572,14 @@ export const WebhookEventType = {
|
|
|
613
572
|
CALL_SUMMARY_COMPLETED: "call:summary:completed",
|
|
614
573
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
615
574
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
616
|
-
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
617
575
|
CHAT_COMPLETED: "chat:completed",
|
|
618
|
-
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
619
576
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
620
577
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
621
578
|
CHAT_LIVE_MISSED: "chat:live:missed",
|
|
622
579
|
CHAT_LIVE_PROGRESS: "chat:live:progress",
|
|
623
580
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
624
581
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
625
|
-
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
626
582
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
627
|
-
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
628
583
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
629
584
|
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
630
585
|
CONFERENCE_LIVE_JOIN: "conference:live:join",
|
|
@@ -642,3 +597,9 @@ export const WebhookEventType = {
|
|
|
642
597
|
PRESENCE_USER: "presence:user",
|
|
643
598
|
SMS_STATUS: "sms:status",
|
|
644
599
|
};
|
|
600
|
+
export const WebsocketEvent = {
|
|
601
|
+
AUTHORIZED: "authorized",
|
|
602
|
+
BROADCAST: "broadcast",
|
|
603
|
+
SUBSCRIBED: "subscribed",
|
|
604
|
+
UNSUBSCRIBE: "unsubscribed",
|
|
605
|
+
};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
|
-
export const WebsocketEvent = {
|
|
3
|
-
AUTHORIZED: "authorized",
|
|
4
|
-
BROADCAST: "broadcast",
|
|
5
|
-
SUBSCRIBED: "subscribed",
|
|
6
|
-
UNSUBSCRIBE: "unsubscribed",
|
|
7
|
-
};
|
|
8
2
|
export class MatchNotFoundException extends __BaseException {
|
|
9
3
|
name = "MatchNotFoundException";
|
|
10
4
|
$fault = "client";
|