@wildix/wda-stream-client 1.1.58 → 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 -67
- package/dist-cjs/models/models_1.js +1 -7
- package/dist-cjs/protocols/Aws_restJson1.js +3 -342
- package/dist-es/WdaStream.js +0 -6
- package/dist-es/commands/index.js +0 -3
- package/dist-es/models/models_0.js +29 -65
- package/dist-es/models/models_1.js +0 -6
- package/dist-es/protocols/Aws_restJson1.js +4 -337
- 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 +195 -336
- 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 +739 -725
- package/dist-types/models/models_1.d.ts +18 -288
- 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
package/dist-cjs/WdaStream.js
CHANGED
|
@@ -5,11 +5,8 @@ const WdaStreamClient_1 = require("./WdaStreamClient");
|
|
|
5
5
|
const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
|
|
6
6
|
const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
|
|
7
7
|
const GetConferenceIdCommand_1 = require("./commands/GetConferenceIdCommand");
|
|
8
|
-
const GetOngoingCallAnnotationsCommand_1 = require("./commands/GetOngoingCallAnnotationsCommand");
|
|
9
8
|
const GetOngoingCallCommand_1 = require("./commands/GetOngoingCallCommand");
|
|
10
9
|
const GetOngoingCallTranscriptionCommand_1 = require("./commands/GetOngoingCallTranscriptionCommand");
|
|
11
|
-
const GetOngoingChatAnnotationsCommand_1 = require("./commands/GetOngoingChatAnnotationsCommand");
|
|
12
|
-
const GetOngoingConferenceAnnotationsCommand_1 = require("./commands/GetOngoingConferenceAnnotationsCommand");
|
|
13
10
|
const GetOngoingConferenceCommand_1 = require("./commands/GetOngoingConferenceCommand");
|
|
14
11
|
const GetOngoingConferenceTranscriptionCommand_1 = require("./commands/GetOngoingConferenceTranscriptionCommand");
|
|
15
12
|
const ListServicesCommand_1 = require("./commands/ListServicesCommand");
|
|
@@ -23,11 +20,8 @@ const commands = {
|
|
|
23
20
|
DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
|
|
24
21
|
GetConferenceIdCommand: GetConferenceIdCommand_1.GetConferenceIdCommand,
|
|
25
22
|
GetOngoingCallCommand: GetOngoingCallCommand_1.GetOngoingCallCommand,
|
|
26
|
-
GetOngoingCallAnnotationsCommand: GetOngoingCallAnnotationsCommand_1.GetOngoingCallAnnotationsCommand,
|
|
27
23
|
GetOngoingCallTranscriptionCommand: GetOngoingCallTranscriptionCommand_1.GetOngoingCallTranscriptionCommand,
|
|
28
|
-
GetOngoingChatAnnotationsCommand: GetOngoingChatAnnotationsCommand_1.GetOngoingChatAnnotationsCommand,
|
|
29
24
|
GetOngoingConferenceCommand: GetOngoingConferenceCommand_1.GetOngoingConferenceCommand,
|
|
30
|
-
GetOngoingConferenceAnnotationsCommand: GetOngoingConferenceAnnotationsCommand_1.GetOngoingConferenceAnnotationsCommand,
|
|
31
25
|
GetOngoingConferenceTranscriptionCommand: GetOngoingConferenceTranscriptionCommand_1.GetOngoingConferenceTranscriptionCommand,
|
|
32
26
|
ListServicesCommand: ListServicesCommand_1.ListServicesCommand,
|
|
33
27
|
QueryConversationsCommand: QueryConversationsCommand_1.QueryConversationsCommand,
|
|
@@ -5,11 +5,8 @@ tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./GetConferenceIdCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./GetOngoingCallCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./GetOngoingCallAnnotationsCommand"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./GetOngoingCallTranscriptionCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./GetOngoingChatAnnotationsCommand"), exports);
|
|
11
9
|
tslib_1.__exportStar(require("./GetOngoingConferenceCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./GetOngoingConferenceAnnotationsCommand"), exports);
|
|
13
10
|
tslib_1.__exportStar(require("./GetOngoingConferenceTranscriptionCommand"), exports);
|
|
14
11
|
tslib_1.__exportStar(require("./ListServicesCommand"), exports);
|
|
15
12
|
tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TranscriptionSentiment = exports.CallTranscriptionSpeaker = exports.
|
|
4
|
-
exports.WebhookEventType = exports.ServiceEventType = exports.ServiceCallEventType = exports.ServiceAnalyticsEventTrigger = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ServiceCallAction = exports.ServiceConsumeEventType = exports.ServiceAgentType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.
|
|
3
|
+
exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TranscriptionSentiment = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
|
+
exports.WebsocketEvent = exports.WebhookEventType = exports.ServiceEventType = exports.ServiceCallEventType = exports.ServiceAnalyticsEventTrigger = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ServiceCallAction = exports.ServiceConsumeEventType = exports.ServiceAgentType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = exports.ChatConsumeEventType = void 0;
|
|
5
5
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
6
6
|
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
7
|
name = "ForbiddenException";
|
|
@@ -51,45 +51,6 @@ exports.WhatsAppStatus = {
|
|
|
51
51
|
READ: "READ",
|
|
52
52
|
SENT: "SENT",
|
|
53
53
|
};
|
|
54
|
-
var AnnotationPayload;
|
|
55
|
-
(function (AnnotationPayload) {
|
|
56
|
-
AnnotationPayload.visit = (value, visitor) => {
|
|
57
|
-
if (value.tag !== undefined)
|
|
58
|
-
return visitor.tag(value.tag);
|
|
59
|
-
if (value.text !== undefined)
|
|
60
|
-
return visitor.text(value.text);
|
|
61
|
-
if (value.variables !== undefined)
|
|
62
|
-
return visitor.variables(value.variables);
|
|
63
|
-
if (value.result !== undefined)
|
|
64
|
-
return visitor.result(value.result);
|
|
65
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
66
|
-
};
|
|
67
|
-
})(AnnotationPayload || (exports.AnnotationPayload = AnnotationPayload = {}));
|
|
68
|
-
exports.AnnotationSourceType = {
|
|
69
|
-
CHATBOT: "chatbot",
|
|
70
|
-
SYSTEM: "system",
|
|
71
|
-
USER: "user",
|
|
72
|
-
VOICEBOT: "voicebot",
|
|
73
|
-
};
|
|
74
|
-
exports.License = {
|
|
75
|
-
UC: "uc",
|
|
76
|
-
XBEES: "x-bees",
|
|
77
|
-
};
|
|
78
|
-
exports.RecordType = {
|
|
79
|
-
CALL: "call",
|
|
80
|
-
CALL_ANNOTATIONS: "call_annotations",
|
|
81
|
-
CALL_TRANSCRIPTION: "call_transcription",
|
|
82
|
-
CHAT: "chat",
|
|
83
|
-
CHAT_ANNOTATIONS: "chat_annotations",
|
|
84
|
-
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
85
|
-
CONFERENCE: "conference",
|
|
86
|
-
CONFERENCE_ANNOTATIONS: "conference_annotations",
|
|
87
|
-
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
88
|
-
};
|
|
89
|
-
exports.AnnotationsStatus = {
|
|
90
|
-
AVAILABLE: "AVAILABLE",
|
|
91
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
92
|
-
};
|
|
93
54
|
exports.CallRecordOwner = {
|
|
94
55
|
CALLEE: "callee",
|
|
95
56
|
CALLER: "caller",
|
|
@@ -139,11 +100,23 @@ exports.CallDevice = {
|
|
|
139
100
|
XBEES_IOS: "XBEES_IOS",
|
|
140
101
|
XBEES_WEB: "XBEES_WEB",
|
|
141
102
|
};
|
|
103
|
+
exports.License = {
|
|
104
|
+
UC: "uc",
|
|
105
|
+
XBEES: "x-bees",
|
|
106
|
+
};
|
|
142
107
|
exports.CallFlowTranscriptionStatus = {
|
|
143
108
|
AVAILABLE: "AVAILABLE",
|
|
144
109
|
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
145
110
|
UNAVAILABLE: "UNAVAILABLE",
|
|
146
111
|
};
|
|
112
|
+
exports.RecordType = {
|
|
113
|
+
CALL: "call",
|
|
114
|
+
CALL_TRANSCRIPTION: "call_transcription",
|
|
115
|
+
CHAT: "chat",
|
|
116
|
+
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
117
|
+
CONFERENCE: "conference",
|
|
118
|
+
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
119
|
+
};
|
|
147
120
|
exports.CallTranscriptionSpeaker = {
|
|
148
121
|
CALLEE: "callee",
|
|
149
122
|
CALLER: "caller",
|
|
@@ -281,7 +254,6 @@ exports.ConferenceTranscriptionStatus = {
|
|
|
281
254
|
exports.CallConsumeEventType = {
|
|
282
255
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
283
256
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
284
|
-
CALL_ANNOTATE: "CALL.ANNOTATE",
|
|
285
257
|
CALL_ATTACHMENT: "CALL.ATTACHMENT",
|
|
286
258
|
CALL_END: "CALL.END",
|
|
287
259
|
CALL_LIVE: "CALL.LIVE",
|
|
@@ -297,19 +269,16 @@ exports.CallConsumeEventType = {
|
|
|
297
269
|
};
|
|
298
270
|
exports.LiveEventType = {
|
|
299
271
|
CALL: "call",
|
|
300
|
-
CALL_ANNOTATION: "call_annotation",
|
|
301
272
|
CALL_COMPLETE: "call_complete",
|
|
302
273
|
CALL_INTERRUPTED: "call_interrupted",
|
|
303
274
|
CALL_TRANSCRIPTION: "call_transcription",
|
|
304
275
|
CHAT: "chat",
|
|
305
|
-
CHAT_ANNOTATION: "chat_annotation",
|
|
306
276
|
CHAT_COMPLETE: "chat_complete",
|
|
307
277
|
CHAT_COST: "call_cost",
|
|
308
278
|
CHAT_INTERRUPTED: "chat_interrupted",
|
|
309
279
|
CHAT_MISSED: "chat_missed",
|
|
310
280
|
CHAT_TRANSCRIPTION: "chat_transcription",
|
|
311
281
|
CONFERENCE: "conference",
|
|
312
|
-
CONFERENCE_ANNOTATION: "conference_annotation",
|
|
313
282
|
CONFERENCE_COMPLETE: "conference_complete",
|
|
314
283
|
CONFERENCE_INTERRUPTED: "conference_interrupted",
|
|
315
284
|
CONFERENCE_JOIN: "conference_join",
|
|
@@ -317,6 +286,7 @@ exports.LiveEventType = {
|
|
|
317
286
|
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
318
287
|
SERVICE: "service",
|
|
319
288
|
SERVICE_AGENT: "service_agent",
|
|
289
|
+
SERVICE_AGENT_STATUS: "service_agent_status",
|
|
320
290
|
SERVICE_CALL: "service_call",
|
|
321
291
|
SERVICE_CALL_COMPLETE: "service_call_complete",
|
|
322
292
|
SERVICE_COMPLETE: "service_complete",
|
|
@@ -353,9 +323,7 @@ exports.CallEndConsume = {
|
|
|
353
323
|
CALLER: "caller",
|
|
354
324
|
};
|
|
355
325
|
exports.CallEventType = {
|
|
356
|
-
ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent",
|
|
357
326
|
COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
|
|
358
|
-
LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
|
|
359
327
|
LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
|
|
360
328
|
LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent",
|
|
361
329
|
LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent",
|
|
@@ -369,14 +337,11 @@ exports.CallFlowConsumeStatus = {
|
|
|
369
337
|
TALKING: "talking",
|
|
370
338
|
};
|
|
371
339
|
exports.ChatConsumeEventType = {
|
|
372
|
-
CHAT_ANNOTATE: "CHAT.ANNOTATE",
|
|
373
340
|
CHAT_MESSAGE: "CHAT.MESSAGE",
|
|
374
341
|
CHAT_NEW: "CHAT.NEW",
|
|
375
342
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
376
343
|
};
|
|
377
344
|
exports.ChatEventType = {
|
|
378
|
-
ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent",
|
|
379
|
-
LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
|
|
380
345
|
LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
|
|
381
346
|
LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
|
|
382
347
|
LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
|
|
@@ -385,8 +350,12 @@ exports.ChatEventType = {
|
|
|
385
350
|
RECORD_EVENT: "ChatAnalyticsRecordEvent",
|
|
386
351
|
TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
|
|
387
352
|
};
|
|
353
|
+
exports.ConferenceConsumeDirection = {
|
|
354
|
+
INBOUND: "inbound",
|
|
355
|
+
INTERNAL: "internal",
|
|
356
|
+
OUTBOUND: "outbound",
|
|
357
|
+
};
|
|
388
358
|
exports.ConferenceConsumeEventType = {
|
|
389
|
-
CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE",
|
|
390
359
|
CONFERENCE_END: "CONFERENCE.END",
|
|
391
360
|
CONFERENCE_JOIN: "CONFERENCE.JOIN",
|
|
392
361
|
CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
|
|
@@ -398,14 +367,7 @@ exports.ConferenceConsumeEventType = {
|
|
|
398
367
|
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
399
368
|
CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
|
|
400
369
|
};
|
|
401
|
-
exports.ConferenceConsumeDirection = {
|
|
402
|
-
INBOUND: "inbound",
|
|
403
|
-
INTERNAL: "internal",
|
|
404
|
-
OUTBOUND: "outbound",
|
|
405
|
-
};
|
|
406
370
|
exports.ConferenceEventType = {
|
|
407
|
-
ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent",
|
|
408
|
-
LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
|
|
409
371
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
410
372
|
LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
|
|
411
373
|
LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent",
|
|
@@ -443,8 +405,11 @@ exports.ServiceConsumeEventType = {
|
|
|
443
405
|
exports.ServiceCallAction = {
|
|
444
406
|
ANSWER: "ANSWER",
|
|
445
407
|
CANCEL: "CANCEL",
|
|
408
|
+
END: "END",
|
|
409
|
+
INIT: "INIT",
|
|
446
410
|
REJECT: "REJECT",
|
|
447
411
|
RING: "RING",
|
|
412
|
+
WAIT: "WAIT",
|
|
448
413
|
};
|
|
449
414
|
exports.SmsConsumeEventType = {
|
|
450
415
|
SMS_INBOUND: "SMS.INBOUND",
|
|
@@ -476,8 +441,6 @@ var ConsumeEventInputEvent;
|
|
|
476
441
|
return visitor.callUpdate(value.callUpdate);
|
|
477
442
|
if (value.callSplit !== undefined)
|
|
478
443
|
return visitor.callSplit(value.callSplit);
|
|
479
|
-
if (value.callAnnotate !== undefined)
|
|
480
|
-
return visitor.callAnnotate(value.callAnnotate);
|
|
481
444
|
if (value.callLive !== undefined)
|
|
482
445
|
return visitor.callLive(value.callLive);
|
|
483
446
|
if (value.callAgentsStart !== undefined)
|
|
@@ -506,8 +469,6 @@ var ConsumeEventInputEvent;
|
|
|
506
469
|
return visitor.conferenceStart(value.conferenceStart);
|
|
507
470
|
if (value.conferenceJoin !== undefined)
|
|
508
471
|
return visitor.conferenceJoin(value.conferenceJoin);
|
|
509
|
-
if (value.conferenceAnnotate !== undefined)
|
|
510
|
-
return visitor.conferenceAnnotate(value.conferenceAnnotate);
|
|
511
472
|
if (value.conferenceRecordStart !== undefined)
|
|
512
473
|
return visitor.conferenceRecordStart(value.conferenceRecordStart);
|
|
513
474
|
if (value.conferenceTranscription !== undefined)
|
|
@@ -528,8 +489,6 @@ var ConsumeEventInputEvent;
|
|
|
528
489
|
return visitor.chatNew(value.chatNew);
|
|
529
490
|
if (value.chatUpdate !== undefined)
|
|
530
491
|
return visitor.chatUpdate(value.chatUpdate);
|
|
531
|
-
if (value.chatAnnotate !== undefined)
|
|
532
|
-
return visitor.chatAnnotate(value.chatAnnotate);
|
|
533
492
|
if (value.smsInbound !== undefined)
|
|
534
493
|
return visitor.smsInbound(value.smsInbound);
|
|
535
494
|
if (value.smsStatus !== undefined)
|
|
@@ -599,14 +558,15 @@ exports.ServiceAnalyticsEventTrigger = {
|
|
|
599
558
|
exports.ServiceCallEventType = {
|
|
600
559
|
LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
|
|
601
560
|
LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
|
|
561
|
+
RECORD_EVENT: "ServiceCallAnalyticsRecordEvent",
|
|
602
562
|
};
|
|
603
563
|
exports.ServiceEventType = {
|
|
564
|
+
AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent",
|
|
604
565
|
LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
|
|
605
566
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
606
567
|
};
|
|
607
568
|
exports.WebhookEventType = {
|
|
608
569
|
CALL_COMPLETED: "call:completed",
|
|
609
|
-
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
610
570
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
611
571
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
612
572
|
CALL_LIVE_PROGRESS: "call:live:progress",
|
|
@@ -619,7 +579,6 @@ exports.WebhookEventType = {
|
|
|
619
579
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
620
580
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
621
581
|
CHAT_COMPLETED: "chat:completed",
|
|
622
|
-
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
623
582
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
624
583
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
625
584
|
CHAT_LIVE_MISSED: "chat:live:missed",
|
|
@@ -627,7 +586,6 @@ exports.WebhookEventType = {
|
|
|
627
586
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
628
587
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
629
588
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
630
|
-
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
631
589
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
632
590
|
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
633
591
|
CONFERENCE_LIVE_JOIN: "conference:live:join",
|
|
@@ -645,3 +603,9 @@ exports.WebhookEventType = {
|
|
|
645
603
|
PRESENCE_USER: "presence:user",
|
|
646
604
|
SMS_STATUS: "sms:status",
|
|
647
605
|
};
|
|
606
|
+
exports.WebsocketEvent = {
|
|
607
|
+
AUTHORIZED: "authorized",
|
|
608
|
+
BROADCAST: "broadcast",
|
|
609
|
+
SUBSCRIBED: "subscribed",
|
|
610
|
+
UNSUBSCRIBE: "unsubscribed",
|
|
611
|
+
};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException =
|
|
3
|
+
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = void 0;
|
|
4
4
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
5
|
-
exports.WebsocketEvent = {
|
|
6
|
-
AUTHORIZED: "authorized",
|
|
7
|
-
BROADCAST: "broadcast",
|
|
8
|
-
SUBSCRIBED: "subscribed",
|
|
9
|
-
UNSUBSCRIBE: "unsubscribed",
|
|
10
|
-
};
|
|
11
5
|
class MatchNotFoundException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
12
6
|
name = "MatchNotFoundException";
|
|
13
7
|
$fault = "client";
|