@wildix/wda-stream-client 1.1.69 → 1.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +18 -2
- package/dist-cjs/protocols/Aws_restJson1.js +83 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/protocols/Aws_restJson1.js +83 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +215 -43
- package/dist-types/models/models_0.d.ts +78 -67
- package/dist-types/models/models_1.d.ts +109 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.WebhookEventType = exports.ServiceEventType = exports.ServiceCallEventType = exports.ServiceAnalyticsEventTrigger = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ServiceCallAction = exports.ServiceConsumeEventType = exports.ServiceAgentType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.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";
|
|
@@ -285,6 +285,19 @@ 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
|
+
};
|
|
288
301
|
exports.CallConsumeEventType = {
|
|
289
302
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
290
303
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -624,6 +637,7 @@ exports.ServiceEventType = {
|
|
|
624
637
|
exports.WebhookEventType = {
|
|
625
638
|
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
626
639
|
CALL_COMPLETED: "call:completed",
|
|
640
|
+
CALL_INSIGHTS_COMPLETED: "call:insights:completed",
|
|
627
641
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
628
642
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
629
643
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
@@ -638,6 +652,7 @@ exports.WebhookEventType = {
|
|
|
638
652
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
639
653
|
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
640
654
|
CHAT_COMPLETED: "chat:completed",
|
|
655
|
+
CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
|
|
641
656
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
642
657
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
643
658
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
@@ -647,6 +662,7 @@ exports.WebhookEventType = {
|
|
|
647
662
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
648
663
|
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
649
664
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
665
|
+
CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
|
|
650
666
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
651
667
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
652
668
|
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,
|
|
@@ -279,6 +279,19 @@ 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
|
+
};
|
|
282
295
|
export const CallConsumeEventType = {
|
|
283
296
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
284
297
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -618,6 +631,7 @@ export const ServiceEventType = {
|
|
|
618
631
|
export const WebhookEventType = {
|
|
619
632
|
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
620
633
|
CALL_COMPLETED: "call:completed",
|
|
634
|
+
CALL_INSIGHTS_COMPLETED: "call:insights:completed",
|
|
621
635
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
622
636
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
623
637
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
@@ -632,6 +646,7 @@ export const WebhookEventType = {
|
|
|
632
646
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
633
647
|
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
634
648
|
CHAT_COMPLETED: "chat:completed",
|
|
649
|
+
CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
|
|
635
650
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
636
651
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
637
652
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
@@ -641,6 +656,7 @@ export const WebhookEventType = {
|
|
|
641
656
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
642
657
|
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
643
658
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
659
|
+
CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
|
|
644
660
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
645
661
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
646
662
|
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,
|