@wildix/wda-stream-client 1.1.71 → 1.1.72

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.InsightsReason = exports.InsightsStatus = 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.CallRtpIpFamily = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = 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.CallRtpIpFamily = exports.CallEndConsume = void 0;
5
5
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
6
6
  class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
7
7
  name = "ForbiddenException";
@@ -285,19 +285,6 @@ exports.ConferenceTranscriptionStatus = {
285
285
  POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
286
286
  UNAVAILABLE: "UNAVAILABLE",
287
287
  };
288
- exports.InsightsStatus = {
289
- FAILED: "FAILED",
290
- NONE: "NONE",
291
- SCHEDULED: "SCHEDULED",
292
- STARTED: "STARTED",
293
- SUCCEEDED: "SUCCEEDED",
294
- UNAVAILABLE: "UNAVAILABLE",
295
- };
296
- exports.InsightsReason = {
297
- CONDITIONS_NOT_MATCH: "CONDITIONS_NOT_MATCH",
298
- INTERNAL_ERROR: "INTERNAL_ERROR",
299
- TRANSCRIPTION_TOO_SMALL: "TRANSCRIPTION_TOO_SMALL",
300
- };
301
288
  exports.CallConsumeEventType = {
302
289
  CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
303
290
  CALL_AGENTS_START: "CALL.AGENTS_START",
@@ -637,7 +624,6 @@ exports.ServiceEventType = {
637
624
  exports.WebhookEventType = {
638
625
  CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
639
626
  CALL_COMPLETED: "call:completed",
640
- CALL_INSIGHTS_COMPLETED: "call:insights:completed",
641
627
  CALL_LIVE_ANNOTATION: "call:live:annotation",
642
628
  CALL_LIVE_COMPLETED: "call:live:completed",
643
629
  CALL_LIVE_INTERRUPTED: "call:live:interrupted",
@@ -652,7 +638,6 @@ exports.WebhookEventType = {
652
638
  CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
653
639
  CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
654
640
  CHAT_COMPLETED: "chat:completed",
655
- CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
656
641
  CHAT_LIVE_ANNOTATION: "chat:live:annotation",
657
642
  CHAT_LIVE_COMPLETED: "chat:live:completed",
658
643
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
@@ -662,7 +647,6 @@ exports.WebhookEventType = {
662
647
  CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
663
648
  CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
664
649
  CONFERENCE_COMPLETED: "conference:completed",
665
- CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
666
650
  CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
667
651
  CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
668
652
  CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
@@ -682,4 +666,5 @@ exports.WebhookEventType = {
682
666
  SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed",
683
667
  SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress",
684
668
  SMS_STATUS: "sms:status",
669
+ WHATSAPP_STATUS: "whatsapp:status",
685
670
  };
@@ -325,7 +325,6 @@ const de_DescribeEventCommand = async (output, context) => {
325
325
  'ServiceEventType': smithy_client_1.expectString,
326
326
  'WebhookCallAnnotationsCompletedEvent': _ => de_WebhookCallAnnotationsCompletedEvent(_, context),
327
327
  'WebhookCallCompletedEvent': smithy_client_1._json,
328
- 'WebhookCallInsightsCompletedEvent': _ => de_WebhookCallInsightsCompletedEvent(_, context),
329
328
  'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
330
329
  'WebhookCallLiveCompletedEvent': smithy_client_1._json,
331
330
  'WebhookCallLiveInterruptedEvent': smithy_client_1._json,
@@ -340,7 +339,6 @@ const de_DescribeEventCommand = async (output, context) => {
340
339
  'WebhookCallTranscriptionTextCompletedEvent': smithy_client_1._json,
341
340
  'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
342
341
  'WebhookChatCompletedEvent': smithy_client_1._json,
343
- 'WebhookChatInsightsCompletedEvent': _ => de_WebhookChatInsightsCompletedEvent(_, context),
344
342
  'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
345
343
  'WebhookChatLiveCompletedEvent': smithy_client_1._json,
346
344
  'WebhookChatLiveInterruptedEvent': smithy_client_1._json,
@@ -349,7 +347,6 @@ const de_DescribeEventCommand = async (output, context) => {
349
347
  'WebhookChatSummaryCompletedEvent': smithy_client_1._json,
350
348
  'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
351
349
  'WebhookConferenceCompletedEvent': smithy_client_1._json,
352
- 'WebhookConferenceInsightsCompletedEvent': _ => de_WebhookConferenceInsightsCompletedEvent(_, context),
353
350
  'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
354
351
  'WebhookConferenceLiveCompletedEvent': smithy_client_1._json,
355
352
  'WebhookConferenceLiveInterruptedEvent': smithy_client_1._json,
@@ -369,6 +366,7 @@ const de_DescribeEventCommand = async (output, context) => {
369
366
  'WebhookServiceCallLiveCompletedEvent': smithy_client_1._json,
370
367
  'WebhookServiceCallLiveProgressEvent': smithy_client_1._json,
371
368
  'WebhookSmsStatusEvent': smithy_client_1._json,
369
+ 'WebhookWhatsAppStatusEvent': smithy_client_1._json,
372
370
  'WebsocketAuthorizeBadRequestException': smithy_client_1._json,
373
371
  'WebsocketAuthorizedEvent': _ => de_WebsocketAuthorizedEvent(_, context),
374
372
  'WebsocketConversationsBroadcastEvent': _ => de_WebsocketConversationsBroadcastEvent(_, context),
@@ -932,35 +930,6 @@ const se_WhatsAppStatusEvent = (input, context) => {
932
930
  const de_Document = (output, context) => {
933
931
  return output;
934
932
  };
935
- const de_ProjectionInsights = (output, context) => {
936
- return (0, smithy_client_1.take)(output, {
937
- 'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
938
- 'id': smithy_client_1.expectString,
939
- 'name': smithy_client_1.expectString,
940
- 'reason': smithy_client_1.expectString,
941
- 'status': smithy_client_1.expectString,
942
- 'version': smithy_client_1.expectInt32,
943
- });
944
- };
945
- const de_ProjectionInsightsField = (output, context) => {
946
- return (0, smithy_client_1.take)(output, {
947
- 'id': smithy_client_1.expectString,
948
- 'name': smithy_client_1.expectString,
949
- 'value': (_) => de_Document(_, context),
950
- });
951
- };
952
- const de_ProjectionInsightsFieldsList = (output, context) => {
953
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
954
- return de_ProjectionInsightsField(entry, context);
955
- });
956
- return retVal;
957
- };
958
- const de_ProjectionInsightsList = (output, context) => {
959
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
960
- return de_ProjectionInsights(entry, context);
961
- });
962
- return retVal;
963
- };
964
933
  const de_Annotation = (output, context) => {
965
934
  return (0, smithy_client_1.take)(output, {
966
935
  'id': smithy_client_1.expectString,
@@ -1198,23 +1167,6 @@ const de_WebhookCallAnnotationsCompletedEventData = (output, context) => {
1198
1167
  'call': smithy_client_1._json,
1199
1168
  });
1200
1169
  };
1201
- const de_WebhookCallInsightsCompletedEvent = (output, context) => {
1202
- return (0, smithy_client_1.take)(output, {
1203
- 'company': smithy_client_1.expectString,
1204
- 'data': (_) => de_WebhookCallInsightsCompletedEventData(_, context),
1205
- 'id': smithy_client_1.expectString,
1206
- 'integrationId': smithy_client_1.expectString,
1207
- 'pbx': smithy_client_1.expectString,
1208
- 'time': smithy_client_1.expectLong,
1209
- 'type': smithy_client_1.expectString,
1210
- });
1211
- };
1212
- const de_WebhookCallInsightsCompletedEventData = (output, context) => {
1213
- return (0, smithy_client_1.take)(output, {
1214
- 'call': smithy_client_1._json,
1215
- 'insights': (_) => de_ProjectionInsightsList(_, context),
1216
- });
1217
- };
1218
1170
  const de_WebhookCallLiveAnnotationEvent = (output, context) => {
1219
1171
  return (0, smithy_client_1.take)(output, {
1220
1172
  'company': smithy_client_1.expectString,
@@ -1254,23 +1206,6 @@ const de_WebhookChatAnnotationsCompletedEventData = (output, context) => {
1254
1206
  'chat': smithy_client_1._json,
1255
1207
  });
1256
1208
  };
1257
- const de_WebhookChatInsightsCompletedEvent = (output, context) => {
1258
- return (0, smithy_client_1.take)(output, {
1259
- 'company': smithy_client_1.expectString,
1260
- 'data': (_) => de_WebhookChatInsightsCompletedEventData(_, context),
1261
- 'id': smithy_client_1.expectString,
1262
- 'integrationId': smithy_client_1.expectString,
1263
- 'pbx': smithy_client_1.expectString,
1264
- 'time': smithy_client_1.expectLong,
1265
- 'type': smithy_client_1.expectString,
1266
- });
1267
- };
1268
- const de_WebhookChatInsightsCompletedEventData = (output, context) => {
1269
- return (0, smithy_client_1.take)(output, {
1270
- 'chat': smithy_client_1._json,
1271
- 'insights': (_) => de_ProjectionInsightsList(_, context),
1272
- });
1273
- };
1274
1209
  const de_WebhookChatLiveAnnotationEvent = (output, context) => {
1275
1210
  return (0, smithy_client_1.take)(output, {
1276
1211
  'company': smithy_client_1.expectString,
@@ -1299,23 +1234,6 @@ const de_WebhookConferenceAnnotationsCompletedEventData = (output, context) => {
1299
1234
  'conference': smithy_client_1._json,
1300
1235
  });
1301
1236
  };
1302
- const de_WebhookConferenceInsightsCompletedEvent = (output, context) => {
1303
- return (0, smithy_client_1.take)(output, {
1304
- 'company': smithy_client_1.expectString,
1305
- 'data': (_) => de_WebhookConferenceInsightsCompletedEventData(_, context),
1306
- 'id': smithy_client_1.expectString,
1307
- 'integrationId': smithy_client_1.expectString,
1308
- 'pbx': smithy_client_1.expectString,
1309
- 'time': smithy_client_1.expectLong,
1310
- 'type': smithy_client_1.expectString,
1311
- });
1312
- };
1313
- const de_WebhookConferenceInsightsCompletedEventData = (output, context) => {
1314
- return (0, smithy_client_1.take)(output, {
1315
- 'conference': smithy_client_1._json,
1316
- 'insights': (_) => de_ProjectionInsightsList(_, context),
1317
- });
1318
- };
1319
1237
  const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
1320
1238
  return (0, smithy_client_1.take)(output, {
1321
1239
  'company': smithy_client_1.expectString,
@@ -279,19 +279,6 @@ export const ConferenceTranscriptionStatus = {
279
279
  POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
280
280
  UNAVAILABLE: "UNAVAILABLE",
281
281
  };
282
- export const InsightsStatus = {
283
- FAILED: "FAILED",
284
- NONE: "NONE",
285
- SCHEDULED: "SCHEDULED",
286
- STARTED: "STARTED",
287
- SUCCEEDED: "SUCCEEDED",
288
- UNAVAILABLE: "UNAVAILABLE",
289
- };
290
- export const InsightsReason = {
291
- CONDITIONS_NOT_MATCH: "CONDITIONS_NOT_MATCH",
292
- INTERNAL_ERROR: "INTERNAL_ERROR",
293
- TRANSCRIPTION_TOO_SMALL: "TRANSCRIPTION_TOO_SMALL",
294
- };
295
282
  export const CallConsumeEventType = {
296
283
  CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
297
284
  CALL_AGENTS_START: "CALL.AGENTS_START",
@@ -631,7 +618,6 @@ export const ServiceEventType = {
631
618
  export const WebhookEventType = {
632
619
  CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
633
620
  CALL_COMPLETED: "call:completed",
634
- CALL_INSIGHTS_COMPLETED: "call:insights:completed",
635
621
  CALL_LIVE_ANNOTATION: "call:live:annotation",
636
622
  CALL_LIVE_COMPLETED: "call:live:completed",
637
623
  CALL_LIVE_INTERRUPTED: "call:live:interrupted",
@@ -646,7 +632,6 @@ export const WebhookEventType = {
646
632
  CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
647
633
  CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
648
634
  CHAT_COMPLETED: "chat:completed",
649
- CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
650
635
  CHAT_LIVE_ANNOTATION: "chat:live:annotation",
651
636
  CHAT_LIVE_COMPLETED: "chat:live:completed",
652
637
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
@@ -656,7 +641,6 @@ export const WebhookEventType = {
656
641
  CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
657
642
  CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
658
643
  CONFERENCE_COMPLETED: "conference:completed",
659
- CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
660
644
  CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
661
645
  CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
662
646
  CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
@@ -676,4 +660,5 @@ export const WebhookEventType = {
676
660
  SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed",
677
661
  SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress",
678
662
  SMS_STATUS: "sms:status",
663
+ WHATSAPP_STATUS: "whatsapp:status",
679
664
  };
@@ -306,7 +306,6 @@ export const de_DescribeEventCommand = async (output, context) => {
306
306
  'ServiceEventType': __expectString,
307
307
  'WebhookCallAnnotationsCompletedEvent': _ => de_WebhookCallAnnotationsCompletedEvent(_, context),
308
308
  'WebhookCallCompletedEvent': _json,
309
- 'WebhookCallInsightsCompletedEvent': _ => de_WebhookCallInsightsCompletedEvent(_, context),
310
309
  'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
311
310
  'WebhookCallLiveCompletedEvent': _json,
312
311
  'WebhookCallLiveInterruptedEvent': _json,
@@ -321,7 +320,6 @@ export const de_DescribeEventCommand = async (output, context) => {
321
320
  'WebhookCallTranscriptionTextCompletedEvent': _json,
322
321
  'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
323
322
  'WebhookChatCompletedEvent': _json,
324
- 'WebhookChatInsightsCompletedEvent': _ => de_WebhookChatInsightsCompletedEvent(_, context),
325
323
  'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
326
324
  'WebhookChatLiveCompletedEvent': _json,
327
325
  'WebhookChatLiveInterruptedEvent': _json,
@@ -330,7 +328,6 @@ export const de_DescribeEventCommand = async (output, context) => {
330
328
  'WebhookChatSummaryCompletedEvent': _json,
331
329
  'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
332
330
  'WebhookConferenceCompletedEvent': _json,
333
- 'WebhookConferenceInsightsCompletedEvent': _ => de_WebhookConferenceInsightsCompletedEvent(_, context),
334
331
  'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
335
332
  'WebhookConferenceLiveCompletedEvent': _json,
336
333
  'WebhookConferenceLiveInterruptedEvent': _json,
@@ -350,6 +347,7 @@ export const de_DescribeEventCommand = async (output, context) => {
350
347
  'WebhookServiceCallLiveCompletedEvent': _json,
351
348
  'WebhookServiceCallLiveProgressEvent': _json,
352
349
  'WebhookSmsStatusEvent': _json,
350
+ 'WebhookWhatsAppStatusEvent': _json,
353
351
  'WebsocketAuthorizeBadRequestException': _json,
354
352
  'WebsocketAuthorizedEvent': _ => de_WebsocketAuthorizedEvent(_, context),
355
353
  'WebsocketConversationsBroadcastEvent': _ => de_WebsocketConversationsBroadcastEvent(_, context),
@@ -899,35 +897,6 @@ const se_WhatsAppStatusEvent = (input, context) => {
899
897
  const de_Document = (output, context) => {
900
898
  return output;
901
899
  };
902
- const de_ProjectionInsights = (output, context) => {
903
- return take(output, {
904
- 'fields': (_) => de_ProjectionInsightsFieldsList(_, context),
905
- 'id': __expectString,
906
- 'name': __expectString,
907
- 'reason': __expectString,
908
- 'status': __expectString,
909
- 'version': __expectInt32,
910
- });
911
- };
912
- const de_ProjectionInsightsField = (output, context) => {
913
- return take(output, {
914
- 'id': __expectString,
915
- 'name': __expectString,
916
- 'value': (_) => de_Document(_, context),
917
- });
918
- };
919
- const de_ProjectionInsightsFieldsList = (output, context) => {
920
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
921
- return de_ProjectionInsightsField(entry, context);
922
- });
923
- return retVal;
924
- };
925
- const de_ProjectionInsightsList = (output, context) => {
926
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
927
- return de_ProjectionInsights(entry, context);
928
- });
929
- return retVal;
930
- };
931
900
  const de_Annotation = (output, context) => {
932
901
  return take(output, {
933
902
  'id': __expectString,
@@ -1165,23 +1134,6 @@ const de_WebhookCallAnnotationsCompletedEventData = (output, context) => {
1165
1134
  'call': _json,
1166
1135
  });
1167
1136
  };
1168
- const de_WebhookCallInsightsCompletedEvent = (output, context) => {
1169
- return take(output, {
1170
- 'company': __expectString,
1171
- 'data': (_) => de_WebhookCallInsightsCompletedEventData(_, context),
1172
- 'id': __expectString,
1173
- 'integrationId': __expectString,
1174
- 'pbx': __expectString,
1175
- 'time': __expectLong,
1176
- 'type': __expectString,
1177
- });
1178
- };
1179
- const de_WebhookCallInsightsCompletedEventData = (output, context) => {
1180
- return take(output, {
1181
- 'call': _json,
1182
- 'insights': (_) => de_ProjectionInsightsList(_, context),
1183
- });
1184
- };
1185
1137
  const de_WebhookCallLiveAnnotationEvent = (output, context) => {
1186
1138
  return take(output, {
1187
1139
  'company': __expectString,
@@ -1221,23 +1173,6 @@ const de_WebhookChatAnnotationsCompletedEventData = (output, context) => {
1221
1173
  'chat': _json,
1222
1174
  });
1223
1175
  };
1224
- const de_WebhookChatInsightsCompletedEvent = (output, context) => {
1225
- return take(output, {
1226
- 'company': __expectString,
1227
- 'data': (_) => de_WebhookChatInsightsCompletedEventData(_, context),
1228
- 'id': __expectString,
1229
- 'integrationId': __expectString,
1230
- 'pbx': __expectString,
1231
- 'time': __expectLong,
1232
- 'type': __expectString,
1233
- });
1234
- };
1235
- const de_WebhookChatInsightsCompletedEventData = (output, context) => {
1236
- return take(output, {
1237
- 'chat': _json,
1238
- 'insights': (_) => de_ProjectionInsightsList(_, context),
1239
- });
1240
- };
1241
1176
  const de_WebhookChatLiveAnnotationEvent = (output, context) => {
1242
1177
  return take(output, {
1243
1178
  'company': __expectString,
@@ -1266,23 +1201,6 @@ const de_WebhookConferenceAnnotationsCompletedEventData = (output, context) => {
1266
1201
  'conference': _json,
1267
1202
  });
1268
1203
  };
1269
- const de_WebhookConferenceInsightsCompletedEvent = (output, context) => {
1270
- return take(output, {
1271
- 'company': __expectString,
1272
- 'data': (_) => de_WebhookConferenceInsightsCompletedEventData(_, context),
1273
- 'id': __expectString,
1274
- 'integrationId': __expectString,
1275
- 'pbx': __expectString,
1276
- 'time': __expectLong,
1277
- 'type': __expectString,
1278
- });
1279
- };
1280
- const de_WebhookConferenceInsightsCompletedEventData = (output, context) => {
1281
- return take(output, {
1282
- 'conference': _json,
1283
- 'insights': (_) => de_ProjectionInsightsList(_, context),
1284
- });
1285
- };
1286
1204
  const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
1287
1205
  return take(output, {
1288
1206
  'company': __expectString,