@wildix/wda-stream-client 1.1.58 → 1.1.59
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 +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +54 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +54 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +169 -39
- package/dist-types/models/models_0.d.ts +56 -58
- package/dist-types/models/models_1.d.ts +66 -1
- package/package.json +1 -1
|
@@ -605,6 +605,7 @@ exports.ServiceEventType = {
|
|
|
605
605
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
606
606
|
};
|
|
607
607
|
exports.WebhookEventType = {
|
|
608
|
+
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
608
609
|
CALL_COMPLETED: "call:completed",
|
|
609
610
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
610
611
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
@@ -618,6 +619,7 @@ exports.WebhookEventType = {
|
|
|
618
619
|
CALL_SUMMARY_COMPLETED: "call:summary:completed",
|
|
619
620
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
620
621
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
622
|
+
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
621
623
|
CHAT_COMPLETED: "chat:completed",
|
|
622
624
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
623
625
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
@@ -626,6 +628,7 @@ exports.WebhookEventType = {
|
|
|
626
628
|
CHAT_LIVE_PROGRESS: "chat:live:progress",
|
|
627
629
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
628
630
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
631
|
+
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
629
632
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
630
633
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
631
634
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
@@ -321,6 +321,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
321
321
|
'ServiceCallAnalyticsLiveProgressEvent': smithy_client_1._json,
|
|
322
322
|
'ServiceCallEventType': smithy_client_1.expectString,
|
|
323
323
|
'ServiceEventType': smithy_client_1.expectString,
|
|
324
|
+
'WebhookCallAnnotationsCompletedEvent': _ => de_WebhookCallAnnotationsCompletedEvent(_, context),
|
|
324
325
|
'WebhookCallCompletedEvent': smithy_client_1._json,
|
|
325
326
|
'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
|
|
326
327
|
'WebhookCallLiveCompletedEvent': smithy_client_1._json,
|
|
@@ -334,6 +335,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
334
335
|
'WebhookCallSummaryCompletedEvent': smithy_client_1._json,
|
|
335
336
|
'WebhookCallTranscriptionCompletedEvent': smithy_client_1._json,
|
|
336
337
|
'WebhookCallTranscriptionTextCompletedEvent': smithy_client_1._json,
|
|
338
|
+
'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
|
|
337
339
|
'WebhookChatCompletedEvent': smithy_client_1._json,
|
|
338
340
|
'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
|
|
339
341
|
'WebhookChatLiveCompletedEvent': smithy_client_1._json,
|
|
@@ -341,6 +343,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
341
343
|
'WebhookChatLiveProgressEvent': smithy_client_1._json,
|
|
342
344
|
'WebhookChatManagerMissedEvent': smithy_client_1._json,
|
|
343
345
|
'WebhookChatSummaryCompletedEvent': smithy_client_1._json,
|
|
346
|
+
'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
|
|
344
347
|
'WebhookConferenceCompletedEvent': smithy_client_1._json,
|
|
345
348
|
'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
|
|
346
349
|
'WebhookConferenceLiveCompletedEvent': smithy_client_1._json,
|
|
@@ -1062,6 +1065,23 @@ const de_ConferenceAnalyticsLiveAnnotationEventList = (output, context) => {
|
|
|
1062
1065
|
});
|
|
1063
1066
|
return retVal;
|
|
1064
1067
|
};
|
|
1068
|
+
const de_WebhookCallAnnotationsCompletedEvent = (output, context) => {
|
|
1069
|
+
return (0, smithy_client_1.take)(output, {
|
|
1070
|
+
'company': smithy_client_1.expectString,
|
|
1071
|
+
'data': (_) => de_WebhookCallAnnotationsCompletedEventData(_, context),
|
|
1072
|
+
'id': smithy_client_1.expectString,
|
|
1073
|
+
'integrationId': smithy_client_1.expectString,
|
|
1074
|
+
'pbx': smithy_client_1.expectString,
|
|
1075
|
+
'time': smithy_client_1.expectLong,
|
|
1076
|
+
'type': smithy_client_1.expectString,
|
|
1077
|
+
});
|
|
1078
|
+
};
|
|
1079
|
+
const de_WebhookCallAnnotationsCompletedEventData = (output, context) => {
|
|
1080
|
+
return (0, smithy_client_1.take)(output, {
|
|
1081
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1082
|
+
'call': smithy_client_1._json,
|
|
1083
|
+
});
|
|
1084
|
+
};
|
|
1065
1085
|
const de_WebhookCallLiveAnnotationEvent = (output, context) => {
|
|
1066
1086
|
return (0, smithy_client_1.take)(output, {
|
|
1067
1087
|
'company': smithy_client_1.expectString,
|
|
@@ -1084,6 +1104,23 @@ const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
|
|
|
1084
1104
|
'type': smithy_client_1.expectString,
|
|
1085
1105
|
});
|
|
1086
1106
|
};
|
|
1107
|
+
const de_WebhookChatAnnotationsCompletedEvent = (output, context) => {
|
|
1108
|
+
return (0, smithy_client_1.take)(output, {
|
|
1109
|
+
'company': smithy_client_1.expectString,
|
|
1110
|
+
'data': (_) => de_WebhookChatAnnotationsCompletedEventData(_, context),
|
|
1111
|
+
'id': smithy_client_1.expectString,
|
|
1112
|
+
'integrationId': smithy_client_1.expectString,
|
|
1113
|
+
'pbx': smithy_client_1.expectString,
|
|
1114
|
+
'time': smithy_client_1.expectLong,
|
|
1115
|
+
'type': smithy_client_1.expectString,
|
|
1116
|
+
});
|
|
1117
|
+
};
|
|
1118
|
+
const de_WebhookChatAnnotationsCompletedEventData = (output, context) => {
|
|
1119
|
+
return (0, smithy_client_1.take)(output, {
|
|
1120
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1121
|
+
'chat': smithy_client_1._json,
|
|
1122
|
+
});
|
|
1123
|
+
};
|
|
1087
1124
|
const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
1088
1125
|
return (0, smithy_client_1.take)(output, {
|
|
1089
1126
|
'company': smithy_client_1.expectString,
|
|
@@ -1095,6 +1132,23 @@ const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
|
1095
1132
|
'type': smithy_client_1.expectString,
|
|
1096
1133
|
});
|
|
1097
1134
|
};
|
|
1135
|
+
const de_WebhookConferenceAnnotationsCompletedEvent = (output, context) => {
|
|
1136
|
+
return (0, smithy_client_1.take)(output, {
|
|
1137
|
+
'company': smithy_client_1.expectString,
|
|
1138
|
+
'data': (_) => de_WebhookConferenceAnnotationsCompletedEventData(_, context),
|
|
1139
|
+
'id': smithy_client_1.expectString,
|
|
1140
|
+
'integrationId': smithy_client_1.expectString,
|
|
1141
|
+
'pbx': smithy_client_1.expectString,
|
|
1142
|
+
'time': smithy_client_1.expectLong,
|
|
1143
|
+
'type': smithy_client_1.expectString,
|
|
1144
|
+
});
|
|
1145
|
+
};
|
|
1146
|
+
const de_WebhookConferenceAnnotationsCompletedEventData = (output, context) => {
|
|
1147
|
+
return (0, smithy_client_1.take)(output, {
|
|
1148
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1149
|
+
'conference': smithy_client_1._json,
|
|
1150
|
+
});
|
|
1151
|
+
};
|
|
1098
1152
|
const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
|
|
1099
1153
|
return (0, smithy_client_1.take)(output, {
|
|
1100
1154
|
'company': smithy_client_1.expectString,
|
|
@@ -599,6 +599,7 @@ export const ServiceEventType = {
|
|
|
599
599
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
600
600
|
};
|
|
601
601
|
export const WebhookEventType = {
|
|
602
|
+
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
602
603
|
CALL_COMPLETED: "call:completed",
|
|
603
604
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
604
605
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
@@ -612,6 +613,7 @@ export const WebhookEventType = {
|
|
|
612
613
|
CALL_SUMMARY_COMPLETED: "call:summary:completed",
|
|
613
614
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
614
615
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
616
|
+
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
615
617
|
CHAT_COMPLETED: "chat:completed",
|
|
616
618
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
617
619
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
@@ -620,6 +622,7 @@ export const WebhookEventType = {
|
|
|
620
622
|
CHAT_LIVE_PROGRESS: "chat:live:progress",
|
|
621
623
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
622
624
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
625
|
+
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
623
626
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
624
627
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
625
628
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
@@ -302,6 +302,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
302
302
|
'ServiceCallAnalyticsLiveProgressEvent': _json,
|
|
303
303
|
'ServiceCallEventType': __expectString,
|
|
304
304
|
'ServiceEventType': __expectString,
|
|
305
|
+
'WebhookCallAnnotationsCompletedEvent': _ => de_WebhookCallAnnotationsCompletedEvent(_, context),
|
|
305
306
|
'WebhookCallCompletedEvent': _json,
|
|
306
307
|
'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
|
|
307
308
|
'WebhookCallLiveCompletedEvent': _json,
|
|
@@ -315,6 +316,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
315
316
|
'WebhookCallSummaryCompletedEvent': _json,
|
|
316
317
|
'WebhookCallTranscriptionCompletedEvent': _json,
|
|
317
318
|
'WebhookCallTranscriptionTextCompletedEvent': _json,
|
|
319
|
+
'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
|
|
318
320
|
'WebhookChatCompletedEvent': _json,
|
|
319
321
|
'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
|
|
320
322
|
'WebhookChatLiveCompletedEvent': _json,
|
|
@@ -322,6 +324,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
322
324
|
'WebhookChatLiveProgressEvent': _json,
|
|
323
325
|
'WebhookChatManagerMissedEvent': _json,
|
|
324
326
|
'WebhookChatSummaryCompletedEvent': _json,
|
|
327
|
+
'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
|
|
325
328
|
'WebhookConferenceCompletedEvent': _json,
|
|
326
329
|
'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
|
|
327
330
|
'WebhookConferenceLiveCompletedEvent': _json,
|
|
@@ -1029,6 +1032,23 @@ const de_ConferenceAnalyticsLiveAnnotationEventList = (output, context) => {
|
|
|
1029
1032
|
});
|
|
1030
1033
|
return retVal;
|
|
1031
1034
|
};
|
|
1035
|
+
const de_WebhookCallAnnotationsCompletedEvent = (output, context) => {
|
|
1036
|
+
return take(output, {
|
|
1037
|
+
'company': __expectString,
|
|
1038
|
+
'data': (_) => de_WebhookCallAnnotationsCompletedEventData(_, context),
|
|
1039
|
+
'id': __expectString,
|
|
1040
|
+
'integrationId': __expectString,
|
|
1041
|
+
'pbx': __expectString,
|
|
1042
|
+
'time': __expectLong,
|
|
1043
|
+
'type': __expectString,
|
|
1044
|
+
});
|
|
1045
|
+
};
|
|
1046
|
+
const de_WebhookCallAnnotationsCompletedEventData = (output, context) => {
|
|
1047
|
+
return take(output, {
|
|
1048
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1049
|
+
'call': _json,
|
|
1050
|
+
});
|
|
1051
|
+
};
|
|
1032
1052
|
const de_WebhookCallLiveAnnotationEvent = (output, context) => {
|
|
1033
1053
|
return take(output, {
|
|
1034
1054
|
'company': __expectString,
|
|
@@ -1051,6 +1071,23 @@ const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
|
|
|
1051
1071
|
'type': __expectString,
|
|
1052
1072
|
});
|
|
1053
1073
|
};
|
|
1074
|
+
const de_WebhookChatAnnotationsCompletedEvent = (output, context) => {
|
|
1075
|
+
return take(output, {
|
|
1076
|
+
'company': __expectString,
|
|
1077
|
+
'data': (_) => de_WebhookChatAnnotationsCompletedEventData(_, context),
|
|
1078
|
+
'id': __expectString,
|
|
1079
|
+
'integrationId': __expectString,
|
|
1080
|
+
'pbx': __expectString,
|
|
1081
|
+
'time': __expectLong,
|
|
1082
|
+
'type': __expectString,
|
|
1083
|
+
});
|
|
1084
|
+
};
|
|
1085
|
+
const de_WebhookChatAnnotationsCompletedEventData = (output, context) => {
|
|
1086
|
+
return take(output, {
|
|
1087
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1088
|
+
'chat': _json,
|
|
1089
|
+
});
|
|
1090
|
+
};
|
|
1054
1091
|
const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
1055
1092
|
return take(output, {
|
|
1056
1093
|
'company': __expectString,
|
|
@@ -1062,6 +1099,23 @@ const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
|
1062
1099
|
'type': __expectString,
|
|
1063
1100
|
});
|
|
1064
1101
|
};
|
|
1102
|
+
const de_WebhookConferenceAnnotationsCompletedEvent = (output, context) => {
|
|
1103
|
+
return take(output, {
|
|
1104
|
+
'company': __expectString,
|
|
1105
|
+
'data': (_) => de_WebhookConferenceAnnotationsCompletedEventData(_, context),
|
|
1106
|
+
'id': __expectString,
|
|
1107
|
+
'integrationId': __expectString,
|
|
1108
|
+
'pbx': __expectString,
|
|
1109
|
+
'time': __expectLong,
|
|
1110
|
+
'type': __expectString,
|
|
1111
|
+
});
|
|
1112
|
+
};
|
|
1113
|
+
const de_WebhookConferenceAnnotationsCompletedEventData = (output, context) => {
|
|
1114
|
+
return take(output, {
|
|
1115
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1116
|
+
'conference': _json,
|
|
1117
|
+
});
|
|
1118
|
+
};
|
|
1065
1119
|
const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
|
|
1066
1120
|
return take(output, {
|
|
1067
1121
|
'company': __expectString,
|