@wildix/wda-stream-client 1.1.67 → 1.1.70

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.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;
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;
5
5
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
6
6
  class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
7
7
  name = "ForbiddenException";
@@ -278,6 +278,19 @@ exports.ConferenceTranscriptionStatus = {
278
278
  POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
279
279
  UNAVAILABLE: "UNAVAILABLE",
280
280
  };
281
+ exports.InsightsStatus = {
282
+ FAILED: "FAILED",
283
+ NONE: "NONE",
284
+ SCHEDULED: "SCHEDULED",
285
+ STARTED: "STARTED",
286
+ SUCCEEDED: "SUCCEEDED",
287
+ UNAVAILABLE: "UNAVAILABLE",
288
+ };
289
+ exports.InsightsReason = {
290
+ CONDITIONS_NOT_MATCH: "CONDITIONS_NOT_MATCH",
291
+ INTERNAL_ERROR: "INTERNAL_ERROR",
292
+ TRANSCRIPTION_TOO_SMALL: "TRANSCRIPTION_TOO_SMALL",
293
+ };
281
294
  exports.CallConsumeEventType = {
282
295
  CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
283
296
  CALL_AGENTS_START: "CALL.AGENTS_START",
@@ -617,6 +630,7 @@ exports.ServiceEventType = {
617
630
  exports.WebhookEventType = {
618
631
  CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
619
632
  CALL_COMPLETED: "call:completed",
633
+ CALL_INSIGHTS_COMPLETED: "call:insights:completed",
620
634
  CALL_LIVE_ANNOTATION: "call:live:annotation",
621
635
  CALL_LIVE_COMPLETED: "call:live:completed",
622
636
  CALL_LIVE_INTERRUPTED: "call:live:interrupted",
@@ -631,6 +645,7 @@ exports.WebhookEventType = {
631
645
  CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
632
646
  CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
633
647
  CHAT_COMPLETED: "chat:completed",
648
+ CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
634
649
  CHAT_LIVE_ANNOTATION: "chat:live:annotation",
635
650
  CHAT_LIVE_COMPLETED: "chat:live:completed",
636
651
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
@@ -640,6 +655,7 @@ exports.WebhookEventType = {
640
655
  CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
641
656
  CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
642
657
  CONFERENCE_COMPLETED: "conference:completed",
658
+ CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
643
659
  CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
644
660
  CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
645
661
  CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
@@ -325,6 +325,7 @@ 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),
328
329
  'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
329
330
  'WebhookCallLiveCompletedEvent': smithy_client_1._json,
330
331
  'WebhookCallLiveInterruptedEvent': smithy_client_1._json,
@@ -339,6 +340,7 @@ const de_DescribeEventCommand = async (output, context) => {
339
340
  'WebhookCallTranscriptionTextCompletedEvent': smithy_client_1._json,
340
341
  'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
341
342
  'WebhookChatCompletedEvent': smithy_client_1._json,
343
+ 'WebhookChatInsightsCompletedEvent': _ => de_WebhookChatInsightsCompletedEvent(_, context),
342
344
  'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
343
345
  'WebhookChatLiveCompletedEvent': smithy_client_1._json,
344
346
  'WebhookChatLiveInterruptedEvent': smithy_client_1._json,
@@ -347,6 +349,7 @@ const de_DescribeEventCommand = async (output, context) => {
347
349
  'WebhookChatSummaryCompletedEvent': smithy_client_1._json,
348
350
  'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
349
351
  'WebhookConferenceCompletedEvent': smithy_client_1._json,
352
+ 'WebhookConferenceInsightsCompletedEvent': _ => de_WebhookConferenceInsightsCompletedEvent(_, context),
350
353
  'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
351
354
  'WebhookConferenceLiveCompletedEvent': smithy_client_1._json,
352
355
  'WebhookConferenceLiveInterruptedEvent': smithy_client_1._json,
@@ -929,6 +932,35 @@ const se_WhatsAppStatusEvent = (input, context) => {
929
932
  const de_Document = (output, context) => {
930
933
  return output;
931
934
  };
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
+ };
932
964
  const de_Annotation = (output, context) => {
933
965
  return (0, smithy_client_1.take)(output, {
934
966
  'id': smithy_client_1.expectString,
@@ -1166,6 +1198,23 @@ const de_WebhookCallAnnotationsCompletedEventData = (output, context) => {
1166
1198
  'call': smithy_client_1._json,
1167
1199
  });
1168
1200
  };
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
+ };
1169
1218
  const de_WebhookCallLiveAnnotationEvent = (output, context) => {
1170
1219
  return (0, smithy_client_1.take)(output, {
1171
1220
  'company': smithy_client_1.expectString,
@@ -1205,6 +1254,23 @@ const de_WebhookChatAnnotationsCompletedEventData = (output, context) => {
1205
1254
  'chat': smithy_client_1._json,
1206
1255
  });
1207
1256
  };
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
+ };
1208
1274
  const de_WebhookChatLiveAnnotationEvent = (output, context) => {
1209
1275
  return (0, smithy_client_1.take)(output, {
1210
1276
  'company': smithy_client_1.expectString,
@@ -1233,6 +1299,23 @@ const de_WebhookConferenceAnnotationsCompletedEventData = (output, context) => {
1233
1299
  'conference': smithy_client_1._json,
1234
1300
  });
1235
1301
  };
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
+ };
1236
1319
  const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
1237
1320
  return (0, smithy_client_1.take)(output, {
1238
1321
  'company': smithy_client_1.expectString,
@@ -272,6 +272,19 @@ export const ConferenceTranscriptionStatus = {
272
272
  POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
273
273
  UNAVAILABLE: "UNAVAILABLE",
274
274
  };
275
+ export const InsightsStatus = {
276
+ FAILED: "FAILED",
277
+ NONE: "NONE",
278
+ SCHEDULED: "SCHEDULED",
279
+ STARTED: "STARTED",
280
+ SUCCEEDED: "SUCCEEDED",
281
+ UNAVAILABLE: "UNAVAILABLE",
282
+ };
283
+ export const InsightsReason = {
284
+ CONDITIONS_NOT_MATCH: "CONDITIONS_NOT_MATCH",
285
+ INTERNAL_ERROR: "INTERNAL_ERROR",
286
+ TRANSCRIPTION_TOO_SMALL: "TRANSCRIPTION_TOO_SMALL",
287
+ };
275
288
  export const CallConsumeEventType = {
276
289
  CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
277
290
  CALL_AGENTS_START: "CALL.AGENTS_START",
@@ -611,6 +624,7 @@ export const ServiceEventType = {
611
624
  export const WebhookEventType = {
612
625
  CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
613
626
  CALL_COMPLETED: "call:completed",
627
+ CALL_INSIGHTS_COMPLETED: "call:insights:completed",
614
628
  CALL_LIVE_ANNOTATION: "call:live:annotation",
615
629
  CALL_LIVE_COMPLETED: "call:live:completed",
616
630
  CALL_LIVE_INTERRUPTED: "call:live:interrupted",
@@ -625,6 +639,7 @@ export const WebhookEventType = {
625
639
  CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
626
640
  CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
627
641
  CHAT_COMPLETED: "chat:completed",
642
+ CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
628
643
  CHAT_LIVE_ANNOTATION: "chat:live:annotation",
629
644
  CHAT_LIVE_COMPLETED: "chat:live:completed",
630
645
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
@@ -634,6 +649,7 @@ export const WebhookEventType = {
634
649
  CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
635
650
  CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
636
651
  CONFERENCE_COMPLETED: "conference:completed",
652
+ CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
637
653
  CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
638
654
  CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
639
655
  CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
@@ -306,6 +306,7 @@ 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),
309
310
  'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
310
311
  'WebhookCallLiveCompletedEvent': _json,
311
312
  'WebhookCallLiveInterruptedEvent': _json,
@@ -320,6 +321,7 @@ export const de_DescribeEventCommand = async (output, context) => {
320
321
  'WebhookCallTranscriptionTextCompletedEvent': _json,
321
322
  'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
322
323
  'WebhookChatCompletedEvent': _json,
324
+ 'WebhookChatInsightsCompletedEvent': _ => de_WebhookChatInsightsCompletedEvent(_, context),
323
325
  'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
324
326
  'WebhookChatLiveCompletedEvent': _json,
325
327
  'WebhookChatLiveInterruptedEvent': _json,
@@ -328,6 +330,7 @@ export const de_DescribeEventCommand = async (output, context) => {
328
330
  'WebhookChatSummaryCompletedEvent': _json,
329
331
  'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
330
332
  'WebhookConferenceCompletedEvent': _json,
333
+ 'WebhookConferenceInsightsCompletedEvent': _ => de_WebhookConferenceInsightsCompletedEvent(_, context),
331
334
  'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
332
335
  'WebhookConferenceLiveCompletedEvent': _json,
333
336
  'WebhookConferenceLiveInterruptedEvent': _json,
@@ -896,6 +899,35 @@ const se_WhatsAppStatusEvent = (input, context) => {
896
899
  const de_Document = (output, context) => {
897
900
  return output;
898
901
  };
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
+ };
899
931
  const de_Annotation = (output, context) => {
900
932
  return take(output, {
901
933
  'id': __expectString,
@@ -1133,6 +1165,23 @@ const de_WebhookCallAnnotationsCompletedEventData = (output, context) => {
1133
1165
  'call': _json,
1134
1166
  });
1135
1167
  };
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
+ };
1136
1185
  const de_WebhookCallLiveAnnotationEvent = (output, context) => {
1137
1186
  return take(output, {
1138
1187
  'company': __expectString,
@@ -1172,6 +1221,23 @@ const de_WebhookChatAnnotationsCompletedEventData = (output, context) => {
1172
1221
  'chat': _json,
1173
1222
  });
1174
1223
  };
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
+ };
1175
1241
  const de_WebhookChatLiveAnnotationEvent = (output, context) => {
1176
1242
  return take(output, {
1177
1243
  'company': __expectString,
@@ -1200,6 +1266,23 @@ const de_WebhookConferenceAnnotationsCompletedEventData = (output, context) => {
1200
1266
  'conference': _json,
1201
1267
  });
1202
1268
  };
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
+ };
1203
1286
  const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
1204
1287
  return take(output, {
1205
1288
  'company': __expectString,
@@ -1145,6 +1145,7 @@ declare const ConsumeEventCommand_base: {
1145
1145
  * message: "STRING_VALUE",
1146
1146
  * lastQueueCallEnd: Number("long"),
1147
1147
  * userExtension: "STRING_VALUE",
1148
+ * userLicense: "STRING_VALUE",
1148
1149
  * department: "STRING_VALUE",
1149
1150
  * name: "STRING_VALUE",
1150
1151
  * aclGroup: "STRING_VALUE",
@@ -1179,6 +1180,7 @@ declare const ConsumeEventCommand_base: {
1179
1180
  * message: "STRING_VALUE",
1180
1181
  * lastQueueCallEnd: Number("long"),
1181
1182
  * userExtension: "STRING_VALUE",
1183
+ * userLicense: "STRING_VALUE",
1182
1184
  * department: "STRING_VALUE",
1183
1185
  * name: "STRING_VALUE",
1184
1186
  * aclGroup: "STRING_VALUE",
@@ -1278,6 +1280,7 @@ declare const ConsumeEventCommand_base: {
1278
1280
  * message: "STRING_VALUE",
1279
1281
  * lastQueueCallEnd: Number("long"),
1280
1282
  * userExtension: "STRING_VALUE",
1283
+ * userLicense: "STRING_VALUE",
1281
1284
  * department: "STRING_VALUE",
1282
1285
  * name: "STRING_VALUE",
1283
1286
  * aclGroup: "STRING_VALUE",
@@ -1299,6 +1302,7 @@ declare const ConsumeEventCommand_base: {
1299
1302
  * message: "STRING_VALUE",
1300
1303
  * lastQueueCallEnd: Number("long"),
1301
1304
  * userExtension: "STRING_VALUE",
1305
+ * userLicense: "STRING_VALUE",
1302
1306
  * department: "STRING_VALUE",
1303
1307
  * name: "STRING_VALUE",
1304
1308
  * aclGroup: "STRING_VALUE",
@@ -1320,6 +1324,7 @@ declare const ConsumeEventCommand_base: {
1320
1324
  * message: "STRING_VALUE",
1321
1325
  * lastQueueCallEnd: Number("long"),
1322
1326
  * userExtension: "STRING_VALUE",
1327
+ * userLicense: "STRING_VALUE",
1323
1328
  * department: "STRING_VALUE",
1324
1329
  * name: "STRING_VALUE",
1325
1330
  * aclGroup: "STRING_VALUE",