@wildix/wda-stream-client 1.1.60 → 1.1.62

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 (33) hide show
  1. package/dist-cjs/WdaStream.js +6 -0
  2. package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +21 -0
  3. package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +21 -0
  4. package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +21 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/models_0.js +70 -25
  7. package/dist-cjs/models/models_1.js +7 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +396 -2
  9. package/dist-es/WdaStream.js +6 -0
  10. package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +17 -0
  11. package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +17 -0
  12. package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +17 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_0.js +68 -23
  15. package/dist-es/models/models_1.js +6 -0
  16. package/dist-es/protocols/Aws_restJson1.js +391 -3
  17. package/dist-types/WdaStream.d.ts +21 -0
  18. package/dist-types/WdaStreamClient.d.ts +5 -2
  19. package/dist-types/commands/ConsumeEventCommand.d.ts +125 -29
  20. package/dist-types/commands/DescribeEventCommand.d.ts +462 -99
  21. package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +287 -0
  22. package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -0
  23. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +2 -2
  24. package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +190 -0
  25. package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +134 -0
  26. package/dist-types/commands/GetOngoingConferenceCommand.d.ts +2 -1
  27. package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +3 -2
  28. package/dist-types/commands/QueryConversationsCommand.d.ts +6 -3
  29. package/dist-types/commands/index.d.ts +3 -0
  30. package/dist-types/models/models_0.d.ts +729 -377
  31. package/dist-types/models/models_1.d.ts +387 -1
  32. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  33. package/package.json +1 -1
@@ -5,8 +5,11 @@ 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");
8
9
  const GetOngoingCallCommand_1 = require("./commands/GetOngoingCallCommand");
9
10
  const GetOngoingCallTranscriptionCommand_1 = require("./commands/GetOngoingCallTranscriptionCommand");
11
+ const GetOngoingChatAnnotationsCommand_1 = require("./commands/GetOngoingChatAnnotationsCommand");
12
+ const GetOngoingConferenceAnnotationsCommand_1 = require("./commands/GetOngoingConferenceAnnotationsCommand");
10
13
  const GetOngoingConferenceCommand_1 = require("./commands/GetOngoingConferenceCommand");
11
14
  const GetOngoingConferenceTranscriptionCommand_1 = require("./commands/GetOngoingConferenceTranscriptionCommand");
12
15
  const ListServicesCommand_1 = require("./commands/ListServicesCommand");
@@ -20,8 +23,11 @@ const commands = {
20
23
  DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
21
24
  GetConferenceIdCommand: GetConferenceIdCommand_1.GetConferenceIdCommand,
22
25
  GetOngoingCallCommand: GetOngoingCallCommand_1.GetOngoingCallCommand,
26
+ GetOngoingCallAnnotationsCommand: GetOngoingCallAnnotationsCommand_1.GetOngoingCallAnnotationsCommand,
23
27
  GetOngoingCallTranscriptionCommand: GetOngoingCallTranscriptionCommand_1.GetOngoingCallTranscriptionCommand,
28
+ GetOngoingChatAnnotationsCommand: GetOngoingChatAnnotationsCommand_1.GetOngoingChatAnnotationsCommand,
24
29
  GetOngoingConferenceCommand: GetOngoingConferenceCommand_1.GetOngoingConferenceCommand,
30
+ GetOngoingConferenceAnnotationsCommand: GetOngoingConferenceAnnotationsCommand_1.GetOngoingConferenceAnnotationsCommand,
25
31
  GetOngoingConferenceTranscriptionCommand: GetOngoingConferenceTranscriptionCommand_1.GetOngoingConferenceTranscriptionCommand,
26
32
  ListServicesCommand: ListServicesCommand_1.ListServicesCommand,
27
33
  QueryConversationsCommand: QueryConversationsCommand_1.QueryConversationsCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOngoingCallAnnotationsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetOngoingCallAnnotationsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("WdaStream", "GetOngoingCallAnnotations", {})
15
+ .n("WdaStreamClient", "GetOngoingCallAnnotationsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetOngoingCallAnnotationsCommand)
18
+ .de(Aws_restJson1_1.de_GetOngoingCallAnnotationsCommand)
19
+ .build() {
20
+ }
21
+ exports.GetOngoingCallAnnotationsCommand = GetOngoingCallAnnotationsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOngoingChatAnnotationsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetOngoingChatAnnotationsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("WdaStream", "GetOngoingChatAnnotations", {})
15
+ .n("WdaStreamClient", "GetOngoingChatAnnotationsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetOngoingChatAnnotationsCommand)
18
+ .de(Aws_restJson1_1.de_GetOngoingChatAnnotationsCommand)
19
+ .build() {
20
+ }
21
+ exports.GetOngoingChatAnnotationsCommand = GetOngoingChatAnnotationsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOngoingConferenceAnnotationsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class GetOngoingConferenceAnnotationsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("WdaStream", "GetOngoingConferenceAnnotations", {})
15
+ .n("WdaStreamClient", "GetOngoingConferenceAnnotationsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetOngoingConferenceAnnotationsCommand)
18
+ .de(Aws_restJson1_1.de_GetOngoingConferenceAnnotationsCommand)
19
+ .build() {
20
+ }
21
+ exports.GetOngoingConferenceAnnotationsCommand = GetOngoingConferenceAnnotationsCommand;
@@ -5,8 +5,11 @@ 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);
8
9
  tslib_1.__exportStar(require("./GetOngoingCallTranscriptionCommand"), exports);
10
+ tslib_1.__exportStar(require("./GetOngoingChatAnnotationsCommand"), exports);
9
11
  tslib_1.__exportStar(require("./GetOngoingConferenceCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetOngoingConferenceAnnotationsCommand"), exports);
10
13
  tslib_1.__exportStar(require("./GetOngoingConferenceTranscriptionCommand"), exports);
11
14
  tslib_1.__exportStar(require("./ListServicesCommand"), exports);
12
15
  tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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.CallFlowTranscriptionStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.AnnotationsStatus = exports.RecordType = exports.License = exports.AnnotationSourceType = exports.AnnotationPayload = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
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.ConferenceConsumeDirection = exports.ConferenceConsumeEventType = exports.ChatEventType = exports.ChatConsumeEventType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = void 0;
5
5
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
6
6
  class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
7
7
  name = "ForbiddenException";
@@ -51,6 +51,45 @@ 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
+ };
54
93
  exports.CallRecordOwner = {
55
94
  CALLEE: "callee",
56
95
  CALLER: "caller",
@@ -100,23 +139,11 @@ exports.CallDevice = {
100
139
  XBEES_IOS: "XBEES_IOS",
101
140
  XBEES_WEB: "XBEES_WEB",
102
141
  };
103
- exports.License = {
104
- UC: "uc",
105
- XBEES: "x-bees",
106
- };
107
142
  exports.CallFlowTranscriptionStatus = {
108
143
  AVAILABLE: "AVAILABLE",
109
144
  POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
110
145
  UNAVAILABLE: "UNAVAILABLE",
111
146
  };
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
- };
120
147
  exports.CallTranscriptionSpeaker = {
121
148
  CALLEE: "callee",
122
149
  CALLER: "caller",
@@ -254,6 +281,7 @@ exports.ConferenceTranscriptionStatus = {
254
281
  exports.CallConsumeEventType = {
255
282
  CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
256
283
  CALL_AGENTS_START: "CALL.AGENTS_START",
284
+ CALL_ANNOTATE: "CALL.ANNOTATE",
257
285
  CALL_ATTACHMENT: "CALL.ATTACHMENT",
258
286
  CALL_END: "CALL.END",
259
287
  CALL_LIVE: "CALL.LIVE",
@@ -269,16 +297,19 @@ exports.CallConsumeEventType = {
269
297
  };
270
298
  exports.LiveEventType = {
271
299
  CALL: "call",
300
+ CALL_ANNOTATION: "call_annotation",
272
301
  CALL_COMPLETE: "call_complete",
273
302
  CALL_INTERRUPTED: "call_interrupted",
274
303
  CALL_TRANSCRIPTION: "call_transcription",
275
304
  CHAT: "chat",
305
+ CHAT_ANNOTATION: "chat_annotation",
276
306
  CHAT_COMPLETE: "chat_complete",
277
307
  CHAT_COST: "call_cost",
278
308
  CHAT_INTERRUPTED: "chat_interrupted",
279
309
  CHAT_MISSED: "chat_missed",
280
310
  CHAT_TRANSCRIPTION: "chat_transcription",
281
311
  CONFERENCE: "conference",
312
+ CONFERENCE_ANNOTATION: "conference_annotation",
282
313
  CONFERENCE_COMPLETE: "conference_complete",
283
314
  CONFERENCE_INTERRUPTED: "conference_interrupted",
284
315
  CONFERENCE_JOIN: "conference_join",
@@ -323,7 +354,9 @@ exports.CallEndConsume = {
323
354
  CALLER: "caller",
324
355
  };
325
356
  exports.CallEventType = {
357
+ ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent",
326
358
  COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
359
+ LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
327
360
  LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
328
361
  LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent",
329
362
  LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent",
@@ -337,11 +370,14 @@ exports.CallFlowConsumeStatus = {
337
370
  TALKING: "talking",
338
371
  };
339
372
  exports.ChatConsumeEventType = {
373
+ CHAT_ANNOTATE: "CHAT.ANNOTATE",
340
374
  CHAT_MESSAGE: "CHAT.MESSAGE",
341
375
  CHAT_NEW: "CHAT.NEW",
342
376
  CHAT_UPDATE: "CHAT.UPDATE",
343
377
  };
344
378
  exports.ChatEventType = {
379
+ ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent",
380
+ LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
345
381
  LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
346
382
  LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
347
383
  LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
@@ -350,12 +386,8 @@ exports.ChatEventType = {
350
386
  RECORD_EVENT: "ChatAnalyticsRecordEvent",
351
387
  TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
352
388
  };
353
- exports.ConferenceConsumeDirection = {
354
- INBOUND: "inbound",
355
- INTERNAL: "internal",
356
- OUTBOUND: "outbound",
357
- };
358
389
  exports.ConferenceConsumeEventType = {
390
+ CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE",
359
391
  CONFERENCE_END: "CONFERENCE.END",
360
392
  CONFERENCE_JOIN: "CONFERENCE.JOIN",
361
393
  CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
@@ -367,7 +399,14 @@ exports.ConferenceConsumeEventType = {
367
399
  CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
368
400
  CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
369
401
  };
402
+ exports.ConferenceConsumeDirection = {
403
+ INBOUND: "inbound",
404
+ INTERNAL: "internal",
405
+ OUTBOUND: "outbound",
406
+ };
370
407
  exports.ConferenceEventType = {
408
+ ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent",
409
+ LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
371
410
  LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
372
411
  LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
373
412
  LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent",
@@ -441,6 +480,8 @@ var ConsumeEventInputEvent;
441
480
  return visitor.callUpdate(value.callUpdate);
442
481
  if (value.callSplit !== undefined)
443
482
  return visitor.callSplit(value.callSplit);
483
+ if (value.callAnnotate !== undefined)
484
+ return visitor.callAnnotate(value.callAnnotate);
444
485
  if (value.callLive !== undefined)
445
486
  return visitor.callLive(value.callLive);
446
487
  if (value.callAgentsStart !== undefined)
@@ -469,6 +510,8 @@ var ConsumeEventInputEvent;
469
510
  return visitor.conferenceStart(value.conferenceStart);
470
511
  if (value.conferenceJoin !== undefined)
471
512
  return visitor.conferenceJoin(value.conferenceJoin);
513
+ if (value.conferenceAnnotate !== undefined)
514
+ return visitor.conferenceAnnotate(value.conferenceAnnotate);
472
515
  if (value.conferenceRecordStart !== undefined)
473
516
  return visitor.conferenceRecordStart(value.conferenceRecordStart);
474
517
  if (value.conferenceTranscription !== undefined)
@@ -489,6 +532,8 @@ var ConsumeEventInputEvent;
489
532
  return visitor.chatNew(value.chatNew);
490
533
  if (value.chatUpdate !== undefined)
491
534
  return visitor.chatUpdate(value.chatUpdate);
535
+ if (value.chatAnnotate !== undefined)
536
+ return visitor.chatAnnotate(value.chatAnnotate);
492
537
  if (value.smsInbound !== undefined)
493
538
  return visitor.smsInbound(value.smsInbound);
494
539
  if (value.smsStatus !== undefined)
@@ -566,7 +611,9 @@ exports.ServiceEventType = {
566
611
  LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
567
612
  };
568
613
  exports.WebhookEventType = {
614
+ CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
569
615
  CALL_COMPLETED: "call:completed",
616
+ CALL_LIVE_ANNOTATION: "call:live:annotation",
570
617
  CALL_LIVE_COMPLETED: "call:live:completed",
571
618
  CALL_LIVE_INTERRUPTED: "call:live:interrupted",
572
619
  CALL_LIVE_PROGRESS: "call:live:progress",
@@ -578,14 +625,18 @@ exports.WebhookEventType = {
578
625
  CALL_SUMMARY_COMPLETED: "call:summary:completed",
579
626
  CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
580
627
  CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
628
+ CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
581
629
  CHAT_COMPLETED: "chat:completed",
630
+ CHAT_LIVE_ANNOTATION: "chat:live:annotation",
582
631
  CHAT_LIVE_COMPLETED: "chat:live:completed",
583
632
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
584
633
  CHAT_LIVE_MISSED: "chat:live:missed",
585
634
  CHAT_LIVE_PROGRESS: "chat:live:progress",
586
635
  CHAT_MANAGER_MISSED: "chat:manager:missed",
587
636
  CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
637
+ CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
588
638
  CONFERENCE_COMPLETED: "conference:completed",
639
+ CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
589
640
  CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
590
641
  CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
591
642
  CONFERENCE_LIVE_JOIN: "conference:live:join",
@@ -603,9 +654,3 @@ exports.WebhookEventType = {
603
654
  PRESENCE_USER: "presence:user",
604
655
  SMS_STATUS: "sms:status",
605
656
  };
606
- exports.WebsocketEvent = {
607
- AUTHORIZED: "authorized",
608
- BROADCAST: "broadcast",
609
- SUBSCRIBED: "subscribed",
610
- UNSUBSCRIBE: "unsubscribed",
611
- };
@@ -1,7 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = void 0;
3
+ exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = 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
+ };
5
11
  class MatchNotFoundException extends WdaStreamServiceException_1.WdaStreamServiceException {
6
12
  name = "MatchNotFoundException";
7
13
  $fault = "client";