@wildix/wda-stream-client 1.1.55 → 1.1.57

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 (36) 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 +64 -25
  7. package/dist-cjs/models/models_1.js +7 -1
  8. package/dist-cjs/protocols/Aws_restJson1.js +300 -1
  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 +62 -23
  15. package/dist-es/models/models_1.js +6 -0
  16. package/dist-es/protocols/Aws_restJson1.js +295 -2
  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 +111 -27
  20. package/dist-types/commands/DescribeEventCommand.d.ts +280 -90
  21. package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +286 -0
  22. package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -0
  23. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +2 -1
  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 +622 -277
  31. package/dist-types/models/models_1.d.ts +275 -1
  32. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  34. package/dist-types/runtimeConfig.d.ts +1 -1
  35. package/dist-types/runtimeConfig.native.d.ts +1 -1
  36. 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,6 +354,7 @@ exports.CallEndConsume = {
323
354
  };
324
355
  exports.CallEventType = {
325
356
  COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
357
+ LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
326
358
  LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
327
359
  LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent",
328
360
  LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent",
@@ -336,11 +368,13 @@ exports.CallFlowConsumeStatus = {
336
368
  TALKING: "talking",
337
369
  };
338
370
  exports.ChatConsumeEventType = {
371
+ CHAT_ANNOTATE: "CHAT.ANNOTATE",
339
372
  CHAT_MESSAGE: "CHAT.MESSAGE",
340
373
  CHAT_NEW: "CHAT.NEW",
341
374
  CHAT_UPDATE: "CHAT.UPDATE",
342
375
  };
343
376
  exports.ChatEventType = {
377
+ LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
344
378
  LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
345
379
  LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
346
380
  LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
@@ -349,12 +383,8 @@ exports.ChatEventType = {
349
383
  RECORD_EVENT: "ChatAnalyticsRecordEvent",
350
384
  TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
351
385
  };
352
- exports.ConferenceConsumeDirection = {
353
- INBOUND: "inbound",
354
- INTERNAL: "internal",
355
- OUTBOUND: "outbound",
356
- };
357
386
  exports.ConferenceConsumeEventType = {
387
+ CONFERENCE_ANNOTATE: "CONFERENCE.ANNOTATE",
358
388
  CONFERENCE_END: "CONFERENCE.END",
359
389
  CONFERENCE_JOIN: "CONFERENCE.JOIN",
360
390
  CONFERENCE_KEEP_ALIVE: "CONFERENCE.KEEP_ALIVE",
@@ -366,7 +396,13 @@ exports.ConferenceConsumeEventType = {
366
396
  CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
367
397
  CONFERENCE_TRANSCRIPTION: "CONFERENCE.TRANSCRIPTION",
368
398
  };
399
+ exports.ConferenceConsumeDirection = {
400
+ INBOUND: "inbound",
401
+ INTERNAL: "internal",
402
+ OUTBOUND: "outbound",
403
+ };
369
404
  exports.ConferenceEventType = {
405
+ LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
370
406
  LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
371
407
  LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
372
408
  LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent",
@@ -437,6 +473,8 @@ var ConsumeEventInputEvent;
437
473
  return visitor.callUpdate(value.callUpdate);
438
474
  if (value.callSplit !== undefined)
439
475
  return visitor.callSplit(value.callSplit);
476
+ if (value.callAnnotate !== undefined)
477
+ return visitor.callAnnotate(value.callAnnotate);
440
478
  if (value.callLive !== undefined)
441
479
  return visitor.callLive(value.callLive);
442
480
  if (value.callAgentsStart !== undefined)
@@ -465,6 +503,8 @@ var ConsumeEventInputEvent;
465
503
  return visitor.conferenceStart(value.conferenceStart);
466
504
  if (value.conferenceJoin !== undefined)
467
505
  return visitor.conferenceJoin(value.conferenceJoin);
506
+ if (value.conferenceAnnotate !== undefined)
507
+ return visitor.conferenceAnnotate(value.conferenceAnnotate);
468
508
  if (value.conferenceRecordStart !== undefined)
469
509
  return visitor.conferenceRecordStart(value.conferenceRecordStart);
470
510
  if (value.conferenceTranscription !== undefined)
@@ -485,6 +525,8 @@ var ConsumeEventInputEvent;
485
525
  return visitor.chatNew(value.chatNew);
486
526
  if (value.chatUpdate !== undefined)
487
527
  return visitor.chatUpdate(value.chatUpdate);
528
+ if (value.chatAnnotate !== undefined)
529
+ return visitor.chatAnnotate(value.chatAnnotate);
488
530
  if (value.smsInbound !== undefined)
489
531
  return visitor.smsInbound(value.smsInbound);
490
532
  if (value.smsStatus !== undefined)
@@ -561,6 +603,7 @@ exports.ServiceEventType = {
561
603
  };
562
604
  exports.WebhookEventType = {
563
605
  CALL_COMPLETED: "call:completed",
606
+ CALL_LIVE_ANNOTATION: "call:live:annotation",
564
607
  CALL_LIVE_COMPLETED: "call:live:completed",
565
608
  CALL_LIVE_INTERRUPTED: "call:live:interrupted",
566
609
  CALL_LIVE_PROGRESS: "call:live:progress",
@@ -573,6 +616,7 @@ exports.WebhookEventType = {
573
616
  CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
574
617
  CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
575
618
  CHAT_COMPLETED: "chat:completed",
619
+ CHAT_LIVE_ANNOTATION: "chat:live:annotation",
576
620
  CHAT_LIVE_COMPLETED: "chat:live:completed",
577
621
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
578
622
  CHAT_LIVE_MISSED: "chat:live:missed",
@@ -580,6 +624,7 @@ exports.WebhookEventType = {
580
624
  CHAT_MANAGER_MISSED: "chat:manager:missed",
581
625
  CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
582
626
  CONFERENCE_COMPLETED: "conference:completed",
627
+ CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
583
628
  CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
584
629
  CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
585
630
  CONFERENCE_LIVE_JOIN: "conference:live:join",
@@ -597,9 +642,3 @@ exports.WebhookEventType = {
597
642
  PRESENCE_USER: "presence:user",
598
643
  SMS_STATUS: "sms:status",
599
644
  };
600
- exports.WebsocketEvent = {
601
- AUTHORIZED: "authorized",
602
- BROADCAST: "broadcast",
603
- SUBSCRIBED: "subscribed",
604
- UNSUBSCRIBE: "unsubscribed",
605
- };
@@ -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";