@wildix/wda-stream-client 1.1.69 → 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.
- package/dist-cjs/models/models_0.js +18 -9
- package/dist-cjs/protocols/Aws_restJson1.js +83 -0
- package/dist-es/models/models_0.js +16 -7
- package/dist-es/protocols/Aws_restJson1.js +83 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +225 -53
- package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +2 -2
- package/dist-types/commands/GetOngoingCallCommand.d.ts +2 -2
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +3 -3
- package/dist-types/commands/QueryConversationsCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +78 -74
- 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";
|
|
@@ -128,13 +128,9 @@ exports.CallParticipantType = {
|
|
|
128
128
|
REMOTE: "REMOTE",
|
|
129
129
|
};
|
|
130
130
|
exports.CallDevice = {
|
|
131
|
-
COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID",
|
|
132
|
-
COLLABORATION7_IOS: "COLLABORATION7_IOS",
|
|
133
|
-
COLLABORATION7_WEB: "COLLABORATION7_WEB",
|
|
134
131
|
COLLABORATION_ANDROID: "COLLABORATION_ANDROID",
|
|
135
132
|
COLLABORATION_IOS: "COLLABORATION_IOS",
|
|
136
133
|
COLLABORATION_WEB: "COLLABORATION_WEB",
|
|
137
|
-
TEAMS4WILDIX: "TEAMS4WILDIX",
|
|
138
134
|
UNKNOWN: "UNKNOWN",
|
|
139
135
|
VOICEBOT: "VOICEBOT",
|
|
140
136
|
WILDIX_DEVICE: "WILDIX_DEVICE",
|
|
@@ -142,9 +138,6 @@ exports.CallDevice = {
|
|
|
142
138
|
XBEES_ANDROID: "XBEES_ANDROID",
|
|
143
139
|
XBEES_IOS: "XBEES_IOS",
|
|
144
140
|
XBEES_WEB: "XBEES_WEB",
|
|
145
|
-
XHOPPERS_ANDROID: "XHOPPERS_ANDROID",
|
|
146
|
-
XHOPPERS_IOS: "XHOPPERS_IOS",
|
|
147
|
-
XHOPPERS_WEB: "XHOPPERS_WEB",
|
|
148
141
|
};
|
|
149
142
|
exports.CallFlowTranscriptionStatus = {
|
|
150
143
|
AVAILABLE: "AVAILABLE",
|
|
@@ -285,6 +278,19 @@ exports.ConferenceTranscriptionStatus = {
|
|
|
285
278
|
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
286
279
|
UNAVAILABLE: "UNAVAILABLE",
|
|
287
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
|
+
};
|
|
288
294
|
exports.CallConsumeEventType = {
|
|
289
295
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
290
296
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -624,6 +630,7 @@ exports.ServiceEventType = {
|
|
|
624
630
|
exports.WebhookEventType = {
|
|
625
631
|
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
626
632
|
CALL_COMPLETED: "call:completed",
|
|
633
|
+
CALL_INSIGHTS_COMPLETED: "call:insights:completed",
|
|
627
634
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
628
635
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
629
636
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
@@ -638,6 +645,7 @@ exports.WebhookEventType = {
|
|
|
638
645
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
639
646
|
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
640
647
|
CHAT_COMPLETED: "chat:completed",
|
|
648
|
+
CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
|
|
641
649
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
642
650
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
643
651
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
@@ -647,6 +655,7 @@ exports.WebhookEventType = {
|
|
|
647
655
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
648
656
|
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
649
657
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
658
|
+
CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
|
|
650
659
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
651
660
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
652
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,
|
|
@@ -122,13 +122,9 @@ export const CallParticipantType = {
|
|
|
122
122
|
REMOTE: "REMOTE",
|
|
123
123
|
};
|
|
124
124
|
export const CallDevice = {
|
|
125
|
-
COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID",
|
|
126
|
-
COLLABORATION7_IOS: "COLLABORATION7_IOS",
|
|
127
|
-
COLLABORATION7_WEB: "COLLABORATION7_WEB",
|
|
128
125
|
COLLABORATION_ANDROID: "COLLABORATION_ANDROID",
|
|
129
126
|
COLLABORATION_IOS: "COLLABORATION_IOS",
|
|
130
127
|
COLLABORATION_WEB: "COLLABORATION_WEB",
|
|
131
|
-
TEAMS4WILDIX: "TEAMS4WILDIX",
|
|
132
128
|
UNKNOWN: "UNKNOWN",
|
|
133
129
|
VOICEBOT: "VOICEBOT",
|
|
134
130
|
WILDIX_DEVICE: "WILDIX_DEVICE",
|
|
@@ -136,9 +132,6 @@ export const CallDevice = {
|
|
|
136
132
|
XBEES_ANDROID: "XBEES_ANDROID",
|
|
137
133
|
XBEES_IOS: "XBEES_IOS",
|
|
138
134
|
XBEES_WEB: "XBEES_WEB",
|
|
139
|
-
XHOPPERS_ANDROID: "XHOPPERS_ANDROID",
|
|
140
|
-
XHOPPERS_IOS: "XHOPPERS_IOS",
|
|
141
|
-
XHOPPERS_WEB: "XHOPPERS_WEB",
|
|
142
135
|
};
|
|
143
136
|
export const CallFlowTranscriptionStatus = {
|
|
144
137
|
AVAILABLE: "AVAILABLE",
|
|
@@ -279,6 +272,19 @@ export const ConferenceTranscriptionStatus = {
|
|
|
279
272
|
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
280
273
|
UNAVAILABLE: "UNAVAILABLE",
|
|
281
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
|
+
};
|
|
282
288
|
export const CallConsumeEventType = {
|
|
283
289
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
284
290
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -618,6 +624,7 @@ export const ServiceEventType = {
|
|
|
618
624
|
export const WebhookEventType = {
|
|
619
625
|
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
620
626
|
CALL_COMPLETED: "call:completed",
|
|
627
|
+
CALL_INSIGHTS_COMPLETED: "call:insights:completed",
|
|
621
628
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
622
629
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
623
630
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
@@ -632,6 +639,7 @@ export const WebhookEventType = {
|
|
|
632
639
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
633
640
|
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
634
641
|
CHAT_COMPLETED: "chat:completed",
|
|
642
|
+
CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
|
|
635
643
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
636
644
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
637
645
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
@@ -641,6 +649,7 @@ export const WebhookEventType = {
|
|
|
641
649
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
642
650
|
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
643
651
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
652
|
+
CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
|
|
644
653
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
645
654
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
646
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,
|