@wildix/wda-stream-client 1.1.70 → 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.
- package/dist-cjs/models/models_0.js +10 -18
- package/dist-cjs/protocols/Aws_restJson1.js +1 -83
- package/dist-es/models/models_0.js +8 -16
- package/dist-es/protocols/Aws_restJson1.js +1 -83
- package/dist-types/commands/DescribeEventCommand.d.ts +70 -225
- 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 +75 -78
- package/dist-types/models/models_1.d.ts +14 -109
- package/package.json +1 -1
|
@@ -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 =
|
|
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";
|
|
@@ -128,9 +128,13 @@ 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",
|
|
131
134
|
COLLABORATION_ANDROID: "COLLABORATION_ANDROID",
|
|
132
135
|
COLLABORATION_IOS: "COLLABORATION_IOS",
|
|
133
136
|
COLLABORATION_WEB: "COLLABORATION_WEB",
|
|
137
|
+
TEAMS4WILDIX: "TEAMS4WILDIX",
|
|
134
138
|
UNKNOWN: "UNKNOWN",
|
|
135
139
|
VOICEBOT: "VOICEBOT",
|
|
136
140
|
WILDIX_DEVICE: "WILDIX_DEVICE",
|
|
@@ -138,6 +142,9 @@ exports.CallDevice = {
|
|
|
138
142
|
XBEES_ANDROID: "XBEES_ANDROID",
|
|
139
143
|
XBEES_IOS: "XBEES_IOS",
|
|
140
144
|
XBEES_WEB: "XBEES_WEB",
|
|
145
|
+
XHOPPERS_ANDROID: "XHOPPERS_ANDROID",
|
|
146
|
+
XHOPPERS_IOS: "XHOPPERS_IOS",
|
|
147
|
+
XHOPPERS_WEB: "XHOPPERS_WEB",
|
|
141
148
|
};
|
|
142
149
|
exports.CallFlowTranscriptionStatus = {
|
|
143
150
|
AVAILABLE: "AVAILABLE",
|
|
@@ -278,19 +285,6 @@ exports.ConferenceTranscriptionStatus = {
|
|
|
278
285
|
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
279
286
|
UNAVAILABLE: "UNAVAILABLE",
|
|
280
287
|
};
|
|
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
|
-
};
|
|
294
288
|
exports.CallConsumeEventType = {
|
|
295
289
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
296
290
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -630,7 +624,6 @@ exports.ServiceEventType = {
|
|
|
630
624
|
exports.WebhookEventType = {
|
|
631
625
|
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
632
626
|
CALL_COMPLETED: "call:completed",
|
|
633
|
-
CALL_INSIGHTS_COMPLETED: "call:insights:completed",
|
|
634
627
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
635
628
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
636
629
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
@@ -645,7 +638,6 @@ exports.WebhookEventType = {
|
|
|
645
638
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
646
639
|
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
647
640
|
CHAT_COMPLETED: "chat:completed",
|
|
648
|
-
CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
|
|
649
641
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
650
642
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
651
643
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
@@ -655,7 +647,6 @@ exports.WebhookEventType = {
|
|
|
655
647
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
656
648
|
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
657
649
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
658
|
-
CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
|
|
659
650
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
660
651
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
661
652
|
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
@@ -675,4 +666,5 @@ exports.WebhookEventType = {
|
|
|
675
666
|
SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed",
|
|
676
667
|
SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress",
|
|
677
668
|
SMS_STATUS: "sms:status",
|
|
669
|
+
WHATSAPP_STATUS: "whatsapp:status",
|
|
678
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,
|
|
@@ -122,9 +122,13 @@ 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",
|
|
125
128
|
COLLABORATION_ANDROID: "COLLABORATION_ANDROID",
|
|
126
129
|
COLLABORATION_IOS: "COLLABORATION_IOS",
|
|
127
130
|
COLLABORATION_WEB: "COLLABORATION_WEB",
|
|
131
|
+
TEAMS4WILDIX: "TEAMS4WILDIX",
|
|
128
132
|
UNKNOWN: "UNKNOWN",
|
|
129
133
|
VOICEBOT: "VOICEBOT",
|
|
130
134
|
WILDIX_DEVICE: "WILDIX_DEVICE",
|
|
@@ -132,6 +136,9 @@ export const CallDevice = {
|
|
|
132
136
|
XBEES_ANDROID: "XBEES_ANDROID",
|
|
133
137
|
XBEES_IOS: "XBEES_IOS",
|
|
134
138
|
XBEES_WEB: "XBEES_WEB",
|
|
139
|
+
XHOPPERS_ANDROID: "XHOPPERS_ANDROID",
|
|
140
|
+
XHOPPERS_IOS: "XHOPPERS_IOS",
|
|
141
|
+
XHOPPERS_WEB: "XHOPPERS_WEB",
|
|
135
142
|
};
|
|
136
143
|
export const CallFlowTranscriptionStatus = {
|
|
137
144
|
AVAILABLE: "AVAILABLE",
|
|
@@ -272,19 +279,6 @@ export const ConferenceTranscriptionStatus = {
|
|
|
272
279
|
POST_TRANSCRIPTION: "POST_TRANSCRIPTION",
|
|
273
280
|
UNAVAILABLE: "UNAVAILABLE",
|
|
274
281
|
};
|
|
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
|
-
};
|
|
288
282
|
export const CallConsumeEventType = {
|
|
289
283
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
290
284
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -624,7 +618,6 @@ export const ServiceEventType = {
|
|
|
624
618
|
export const WebhookEventType = {
|
|
625
619
|
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
626
620
|
CALL_COMPLETED: "call:completed",
|
|
627
|
-
CALL_INSIGHTS_COMPLETED: "call:insights:completed",
|
|
628
621
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
629
622
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
630
623
|
CALL_LIVE_INTERRUPTED: "call:live:interrupted",
|
|
@@ -639,7 +632,6 @@ export const WebhookEventType = {
|
|
|
639
632
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
640
633
|
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
641
634
|
CHAT_COMPLETED: "chat:completed",
|
|
642
|
-
CHAT_INSIGHTS_COMPLETED: "chat:insights:completed",
|
|
643
635
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
644
636
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
645
637
|
CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
|
|
@@ -649,7 +641,6 @@ export const WebhookEventType = {
|
|
|
649
641
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
650
642
|
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
651
643
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
652
|
-
CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed",
|
|
653
644
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
654
645
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
655
646
|
CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
|
|
@@ -669,4 +660,5 @@ export const WebhookEventType = {
|
|
|
669
660
|
SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed",
|
|
670
661
|
SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress",
|
|
671
662
|
SMS_STATUS: "sms:status",
|
|
663
|
+
WHATSAPP_STATUS: "whatsapp:status",
|
|
672
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,
|