@wildix/wda-stream-client 1.1.57 → 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 +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +96 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +96 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +260 -97
- package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingConferenceCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +1 -1
- package/dist-types/commands/QueryConversationsCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +118 -104
- package/dist-types/models/models_1.d.ts +100 -1
- package/package.json +1 -1
|
@@ -353,6 +353,7 @@ exports.CallEndConsume = {
|
|
|
353
353
|
CALLER: "caller",
|
|
354
354
|
};
|
|
355
355
|
exports.CallEventType = {
|
|
356
|
+
ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent",
|
|
356
357
|
COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
|
|
357
358
|
LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
|
|
358
359
|
LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
|
|
@@ -374,6 +375,7 @@ exports.ChatConsumeEventType = {
|
|
|
374
375
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
375
376
|
};
|
|
376
377
|
exports.ChatEventType = {
|
|
378
|
+
ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent",
|
|
377
379
|
LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
|
|
378
380
|
LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
|
|
379
381
|
LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
|
|
@@ -402,6 +404,7 @@ exports.ConferenceConsumeDirection = {
|
|
|
402
404
|
OUTBOUND: "outbound",
|
|
403
405
|
};
|
|
404
406
|
exports.ConferenceEventType = {
|
|
407
|
+
ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent",
|
|
405
408
|
LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
|
|
406
409
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
407
410
|
LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
|
|
@@ -602,6 +605,7 @@ exports.ServiceEventType = {
|
|
|
602
605
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
603
606
|
};
|
|
604
607
|
exports.WebhookEventType = {
|
|
608
|
+
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
605
609
|
CALL_COMPLETED: "call:completed",
|
|
606
610
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
607
611
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
@@ -615,6 +619,7 @@ exports.WebhookEventType = {
|
|
|
615
619
|
CALL_SUMMARY_COMPLETED: "call:summary:completed",
|
|
616
620
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
617
621
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
622
|
+
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
618
623
|
CHAT_COMPLETED: "chat:completed",
|
|
619
624
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
620
625
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
@@ -623,6 +628,7 @@ exports.WebhookEventType = {
|
|
|
623
628
|
CHAT_LIVE_PROGRESS: "chat:live:progress",
|
|
624
629
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
625
630
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
631
|
+
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
626
632
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
627
633
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
628
634
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
@@ -280,6 +280,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
280
280
|
});
|
|
281
281
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
282
282
|
const doc = (0, smithy_client_1.take)(data, {
|
|
283
|
+
'CallAnalyticsAnnotationsRecordEvent': _ => de_CallAnalyticsAnnotationsRecordEvent(_, context),
|
|
283
284
|
'CallAnalyticsCostRecordEvent': _ => de_CallAnalyticsCostRecordEvent(_, context),
|
|
284
285
|
'CallAnalyticsLiveAnnotationEvent': _ => de_CallAnalyticsLiveAnnotationEvent(_, context),
|
|
285
286
|
'CallAnalyticsLiveCompleteEvent': smithy_client_1._json,
|
|
@@ -289,6 +290,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
289
290
|
'CallAnalyticsRecordEvent': smithy_client_1._json,
|
|
290
291
|
'CallAnalyticsTranscriptionRecordEvent': _ => de_CallAnalyticsTranscriptionRecordEvent(_, context),
|
|
291
292
|
'CallEventType': smithy_client_1.expectString,
|
|
293
|
+
'ChatAnalyticsAnnotationsRecordEvent': _ => de_ChatAnalyticsAnnotationsRecordEvent(_, context),
|
|
292
294
|
'ChatAnalyticsLiveAnnotationEvent': _ => de_ChatAnalyticsLiveAnnotationEvent(_, context),
|
|
293
295
|
'ChatAnalyticsLiveCompleteEvent': smithy_client_1._json,
|
|
294
296
|
'ChatAnalyticsLiveInterruptedEvent': smithy_client_1._json,
|
|
@@ -298,6 +300,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
298
300
|
'ChatAnalyticsRecordEvent': smithy_client_1._json,
|
|
299
301
|
'ChatAnalyticsTranscriptionRecordEvent': _ => de_ChatAnalyticsTranscriptionRecordEvent(_, context),
|
|
300
302
|
'ChatEventType': smithy_client_1.expectString,
|
|
303
|
+
'ConferenceAnalyticsAnnotationsRecordEvent': _ => de_ConferenceAnalyticsAnnotationsRecordEvent(_, context),
|
|
301
304
|
'ConferenceAnalyticsLiveAnnotationEvent': _ => de_ConferenceAnalyticsLiveAnnotationEvent(_, context),
|
|
302
305
|
'ConferenceAnalyticsLiveCompleteEvent': smithy_client_1._json,
|
|
303
306
|
'ConferenceAnalyticsLiveInterruptedEvent': smithy_client_1._json,
|
|
@@ -318,6 +321,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
318
321
|
'ServiceCallAnalyticsLiveProgressEvent': smithy_client_1._json,
|
|
319
322
|
'ServiceCallEventType': smithy_client_1.expectString,
|
|
320
323
|
'ServiceEventType': smithy_client_1.expectString,
|
|
324
|
+
'WebhookCallAnnotationsCompletedEvent': _ => de_WebhookCallAnnotationsCompletedEvent(_, context),
|
|
321
325
|
'WebhookCallCompletedEvent': smithy_client_1._json,
|
|
322
326
|
'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
|
|
323
327
|
'WebhookCallLiveCompletedEvent': smithy_client_1._json,
|
|
@@ -331,6 +335,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
331
335
|
'WebhookCallSummaryCompletedEvent': smithy_client_1._json,
|
|
332
336
|
'WebhookCallTranscriptionCompletedEvent': smithy_client_1._json,
|
|
333
337
|
'WebhookCallTranscriptionTextCompletedEvent': smithy_client_1._json,
|
|
338
|
+
'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
|
|
334
339
|
'WebhookChatCompletedEvent': smithy_client_1._json,
|
|
335
340
|
'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
|
|
336
341
|
'WebhookChatLiveCompletedEvent': smithy_client_1._json,
|
|
@@ -338,6 +343,7 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
338
343
|
'WebhookChatLiveProgressEvent': smithy_client_1._json,
|
|
339
344
|
'WebhookChatManagerMissedEvent': smithy_client_1._json,
|
|
340
345
|
'WebhookChatSummaryCompletedEvent': smithy_client_1._json,
|
|
346
|
+
'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
|
|
341
347
|
'WebhookConferenceCompletedEvent': smithy_client_1._json,
|
|
342
348
|
'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
|
|
343
349
|
'WebhookConferenceLiveCompletedEvent': smithy_client_1._json,
|
|
@@ -870,11 +876,31 @@ const de_AnnotationResultValue = (output, context) => {
|
|
|
870
876
|
'value': (_) => de_Document(_, context),
|
|
871
877
|
});
|
|
872
878
|
};
|
|
879
|
+
const de_Annotations = (output, context) => {
|
|
880
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
881
|
+
return de_Annotation(entry, context);
|
|
882
|
+
});
|
|
883
|
+
return retVal;
|
|
884
|
+
};
|
|
873
885
|
const de_AnnotationVariablesValue = (output, context) => {
|
|
874
886
|
return (0, smithy_client_1.take)(output, {
|
|
875
887
|
'value': (_) => de_Document(_, context),
|
|
876
888
|
});
|
|
877
889
|
};
|
|
890
|
+
const de_CallAnalyticsAnnotationsRecordEvent = (output, context) => {
|
|
891
|
+
return (0, smithy_client_1.take)(output, {
|
|
892
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
893
|
+
'callStartTime': smithy_client_1.expectLong,
|
|
894
|
+
'company': smithy_client_1.expectString,
|
|
895
|
+
'flowIndex': smithy_client_1.expectInt32,
|
|
896
|
+
'flowStartTime': smithy_client_1.expectLong,
|
|
897
|
+
'id': smithy_client_1.expectString,
|
|
898
|
+
'licenses': smithy_client_1._json,
|
|
899
|
+
'pbx': smithy_client_1.expectString,
|
|
900
|
+
'time': smithy_client_1.expectLong,
|
|
901
|
+
'type': smithy_client_1.expectString,
|
|
902
|
+
});
|
|
903
|
+
};
|
|
878
904
|
const de_CallAnalyticsCostRecordEvent = (output, context) => {
|
|
879
905
|
return (0, smithy_client_1.take)(output, {
|
|
880
906
|
'company': smithy_client_1.expectString,
|
|
@@ -979,6 +1005,16 @@ const de_CallTranscriptionList = (output, context) => {
|
|
|
979
1005
|
});
|
|
980
1006
|
return retVal;
|
|
981
1007
|
};
|
|
1008
|
+
const de_ChatAnalyticsAnnotationsRecordEvent = (output, context) => {
|
|
1009
|
+
return (0, smithy_client_1.take)(output, {
|
|
1010
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1011
|
+
'chatId': smithy_client_1.expectString,
|
|
1012
|
+
'company': smithy_client_1.expectString,
|
|
1013
|
+
'id': smithy_client_1.expectString,
|
|
1014
|
+
'time': smithy_client_1.expectLong,
|
|
1015
|
+
'type': smithy_client_1.expectString,
|
|
1016
|
+
});
|
|
1017
|
+
};
|
|
982
1018
|
const de_ChatAnalyticsLiveAnnotationEvent = (output, context) => {
|
|
983
1019
|
return (0, smithy_client_1.take)(output, {
|
|
984
1020
|
'annotation': (_) => de_Annotation(_, context),
|
|
@@ -1005,6 +1041,15 @@ const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
|
|
|
1005
1041
|
'type': smithy_client_1.expectString,
|
|
1006
1042
|
});
|
|
1007
1043
|
};
|
|
1044
|
+
const de_ConferenceAnalyticsAnnotationsRecordEvent = (output, context) => {
|
|
1045
|
+
return (0, smithy_client_1.take)(output, {
|
|
1046
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1047
|
+
'company': smithy_client_1.expectString,
|
|
1048
|
+
'id': smithy_client_1.expectString,
|
|
1049
|
+
'time': smithy_client_1.expectLong,
|
|
1050
|
+
'type': smithy_client_1.expectString,
|
|
1051
|
+
});
|
|
1052
|
+
};
|
|
1008
1053
|
const de_ConferenceAnalyticsLiveAnnotationEvent = (output, context) => {
|
|
1009
1054
|
return (0, smithy_client_1.take)(output, {
|
|
1010
1055
|
'annotation': (_) => de_Annotation(_, context),
|
|
@@ -1020,6 +1065,23 @@ const de_ConferenceAnalyticsLiveAnnotationEventList = (output, context) => {
|
|
|
1020
1065
|
});
|
|
1021
1066
|
return retVal;
|
|
1022
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
|
+
};
|
|
1023
1085
|
const de_WebhookCallLiveAnnotationEvent = (output, context) => {
|
|
1024
1086
|
return (0, smithy_client_1.take)(output, {
|
|
1025
1087
|
'company': smithy_client_1.expectString,
|
|
@@ -1042,6 +1104,23 @@ const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
|
|
|
1042
1104
|
'type': smithy_client_1.expectString,
|
|
1043
1105
|
});
|
|
1044
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
|
+
};
|
|
1045
1124
|
const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
1046
1125
|
return (0, smithy_client_1.take)(output, {
|
|
1047
1126
|
'company': smithy_client_1.expectString,
|
|
@@ -1053,6 +1132,23 @@ const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
|
1053
1132
|
'type': smithy_client_1.expectString,
|
|
1054
1133
|
});
|
|
1055
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
|
+
};
|
|
1056
1152
|
const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
|
|
1057
1153
|
return (0, smithy_client_1.take)(output, {
|
|
1058
1154
|
'company': smithy_client_1.expectString,
|
|
@@ -347,6 +347,7 @@ export const CallEndConsume = {
|
|
|
347
347
|
CALLER: "caller",
|
|
348
348
|
};
|
|
349
349
|
export const CallEventType = {
|
|
350
|
+
ANNOTATIONS_RECORD_EVENT: "CallAnalyticsAnnotationsRecordEvent",
|
|
350
351
|
COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
|
|
351
352
|
LIVE_ANNOTATION_EVENT: "CallAnalyticsLiveAnnotationEvent",
|
|
352
353
|
LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
|
|
@@ -368,6 +369,7 @@ export const ChatConsumeEventType = {
|
|
|
368
369
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
369
370
|
};
|
|
370
371
|
export const ChatEventType = {
|
|
372
|
+
ANNOTATIONS_RECORD_EVENT: "ChatAnalyticsAnnotationsRecordEvent",
|
|
371
373
|
LIVE_ANNOTATION_EVENT: "ChatAnalyticsLiveAnnotationEvent",
|
|
372
374
|
LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
|
|
373
375
|
LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
|
|
@@ -396,6 +398,7 @@ export const ConferenceConsumeDirection = {
|
|
|
396
398
|
OUTBOUND: "outbound",
|
|
397
399
|
};
|
|
398
400
|
export const ConferenceEventType = {
|
|
401
|
+
ANNOTATIONS_RECORD_EVENT: "ConferenceAnalyticsAnnotationsRecordEvent",
|
|
399
402
|
LIVE_ANNOTATION_EVENT: "ConferenceAnalyticsLiveAnnotationEvent",
|
|
400
403
|
LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
|
|
401
404
|
LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
|
|
@@ -596,6 +599,7 @@ export const ServiceEventType = {
|
|
|
596
599
|
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
597
600
|
};
|
|
598
601
|
export const WebhookEventType = {
|
|
602
|
+
CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed",
|
|
599
603
|
CALL_COMPLETED: "call:completed",
|
|
600
604
|
CALL_LIVE_ANNOTATION: "call:live:annotation",
|
|
601
605
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
@@ -609,6 +613,7 @@ export const WebhookEventType = {
|
|
|
609
613
|
CALL_SUMMARY_COMPLETED: "call:summary:completed",
|
|
610
614
|
CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed",
|
|
611
615
|
CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed",
|
|
616
|
+
CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed",
|
|
612
617
|
CHAT_COMPLETED: "chat:completed",
|
|
613
618
|
CHAT_LIVE_ANNOTATION: "chat:live:annotation",
|
|
614
619
|
CHAT_LIVE_COMPLETED: "chat:live:completed",
|
|
@@ -617,6 +622,7 @@ export const WebhookEventType = {
|
|
|
617
622
|
CHAT_LIVE_PROGRESS: "chat:live:progress",
|
|
618
623
|
CHAT_MANAGER_MISSED: "chat:manager:missed",
|
|
619
624
|
CHAT_SUMMARY_COMPLETED: "chat:summary:completed",
|
|
625
|
+
CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed",
|
|
620
626
|
CONFERENCE_COMPLETED: "conference:completed",
|
|
621
627
|
CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation",
|
|
622
628
|
CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
|
|
@@ -261,6 +261,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
261
261
|
});
|
|
262
262
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
263
263
|
const doc = take(data, {
|
|
264
|
+
'CallAnalyticsAnnotationsRecordEvent': _ => de_CallAnalyticsAnnotationsRecordEvent(_, context),
|
|
264
265
|
'CallAnalyticsCostRecordEvent': _ => de_CallAnalyticsCostRecordEvent(_, context),
|
|
265
266
|
'CallAnalyticsLiveAnnotationEvent': _ => de_CallAnalyticsLiveAnnotationEvent(_, context),
|
|
266
267
|
'CallAnalyticsLiveCompleteEvent': _json,
|
|
@@ -270,6 +271,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
270
271
|
'CallAnalyticsRecordEvent': _json,
|
|
271
272
|
'CallAnalyticsTranscriptionRecordEvent': _ => de_CallAnalyticsTranscriptionRecordEvent(_, context),
|
|
272
273
|
'CallEventType': __expectString,
|
|
274
|
+
'ChatAnalyticsAnnotationsRecordEvent': _ => de_ChatAnalyticsAnnotationsRecordEvent(_, context),
|
|
273
275
|
'ChatAnalyticsLiveAnnotationEvent': _ => de_ChatAnalyticsLiveAnnotationEvent(_, context),
|
|
274
276
|
'ChatAnalyticsLiveCompleteEvent': _json,
|
|
275
277
|
'ChatAnalyticsLiveInterruptedEvent': _json,
|
|
@@ -279,6 +281,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
279
281
|
'ChatAnalyticsRecordEvent': _json,
|
|
280
282
|
'ChatAnalyticsTranscriptionRecordEvent': _ => de_ChatAnalyticsTranscriptionRecordEvent(_, context),
|
|
281
283
|
'ChatEventType': __expectString,
|
|
284
|
+
'ConferenceAnalyticsAnnotationsRecordEvent': _ => de_ConferenceAnalyticsAnnotationsRecordEvent(_, context),
|
|
282
285
|
'ConferenceAnalyticsLiveAnnotationEvent': _ => de_ConferenceAnalyticsLiveAnnotationEvent(_, context),
|
|
283
286
|
'ConferenceAnalyticsLiveCompleteEvent': _json,
|
|
284
287
|
'ConferenceAnalyticsLiveInterruptedEvent': _json,
|
|
@@ -299,6 +302,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
299
302
|
'ServiceCallAnalyticsLiveProgressEvent': _json,
|
|
300
303
|
'ServiceCallEventType': __expectString,
|
|
301
304
|
'ServiceEventType': __expectString,
|
|
305
|
+
'WebhookCallAnnotationsCompletedEvent': _ => de_WebhookCallAnnotationsCompletedEvent(_, context),
|
|
302
306
|
'WebhookCallCompletedEvent': _json,
|
|
303
307
|
'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
|
|
304
308
|
'WebhookCallLiveCompletedEvent': _json,
|
|
@@ -312,6 +316,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
312
316
|
'WebhookCallSummaryCompletedEvent': _json,
|
|
313
317
|
'WebhookCallTranscriptionCompletedEvent': _json,
|
|
314
318
|
'WebhookCallTranscriptionTextCompletedEvent': _json,
|
|
319
|
+
'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
|
|
315
320
|
'WebhookChatCompletedEvent': _json,
|
|
316
321
|
'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
|
|
317
322
|
'WebhookChatLiveCompletedEvent': _json,
|
|
@@ -319,6 +324,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
319
324
|
'WebhookChatLiveProgressEvent': _json,
|
|
320
325
|
'WebhookChatManagerMissedEvent': _json,
|
|
321
326
|
'WebhookChatSummaryCompletedEvent': _json,
|
|
327
|
+
'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
|
|
322
328
|
'WebhookConferenceCompletedEvent': _json,
|
|
323
329
|
'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
|
|
324
330
|
'WebhookConferenceLiveCompletedEvent': _json,
|
|
@@ -837,11 +843,31 @@ const de_AnnotationResultValue = (output, context) => {
|
|
|
837
843
|
'value': (_) => de_Document(_, context),
|
|
838
844
|
});
|
|
839
845
|
};
|
|
846
|
+
const de_Annotations = (output, context) => {
|
|
847
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
848
|
+
return de_Annotation(entry, context);
|
|
849
|
+
});
|
|
850
|
+
return retVal;
|
|
851
|
+
};
|
|
840
852
|
const de_AnnotationVariablesValue = (output, context) => {
|
|
841
853
|
return take(output, {
|
|
842
854
|
'value': (_) => de_Document(_, context),
|
|
843
855
|
});
|
|
844
856
|
};
|
|
857
|
+
const de_CallAnalyticsAnnotationsRecordEvent = (output, context) => {
|
|
858
|
+
return take(output, {
|
|
859
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
860
|
+
'callStartTime': __expectLong,
|
|
861
|
+
'company': __expectString,
|
|
862
|
+
'flowIndex': __expectInt32,
|
|
863
|
+
'flowStartTime': __expectLong,
|
|
864
|
+
'id': __expectString,
|
|
865
|
+
'licenses': _json,
|
|
866
|
+
'pbx': __expectString,
|
|
867
|
+
'time': __expectLong,
|
|
868
|
+
'type': __expectString,
|
|
869
|
+
});
|
|
870
|
+
};
|
|
845
871
|
const de_CallAnalyticsCostRecordEvent = (output, context) => {
|
|
846
872
|
return take(output, {
|
|
847
873
|
'company': __expectString,
|
|
@@ -946,6 +972,16 @@ const de_CallTranscriptionList = (output, context) => {
|
|
|
946
972
|
});
|
|
947
973
|
return retVal;
|
|
948
974
|
};
|
|
975
|
+
const de_ChatAnalyticsAnnotationsRecordEvent = (output, context) => {
|
|
976
|
+
return take(output, {
|
|
977
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
978
|
+
'chatId': __expectString,
|
|
979
|
+
'company': __expectString,
|
|
980
|
+
'id': __expectString,
|
|
981
|
+
'time': __expectLong,
|
|
982
|
+
'type': __expectString,
|
|
983
|
+
});
|
|
984
|
+
};
|
|
949
985
|
const de_ChatAnalyticsLiveAnnotationEvent = (output, context) => {
|
|
950
986
|
return take(output, {
|
|
951
987
|
'annotation': (_) => de_Annotation(_, context),
|
|
@@ -972,6 +1008,15 @@ const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
|
|
|
972
1008
|
'type': __expectString,
|
|
973
1009
|
});
|
|
974
1010
|
};
|
|
1011
|
+
const de_ConferenceAnalyticsAnnotationsRecordEvent = (output, context) => {
|
|
1012
|
+
return take(output, {
|
|
1013
|
+
'annotations': (_) => de_Annotations(_, context),
|
|
1014
|
+
'company': __expectString,
|
|
1015
|
+
'id': __expectString,
|
|
1016
|
+
'time': __expectLong,
|
|
1017
|
+
'type': __expectString,
|
|
1018
|
+
});
|
|
1019
|
+
};
|
|
975
1020
|
const de_ConferenceAnalyticsLiveAnnotationEvent = (output, context) => {
|
|
976
1021
|
return take(output, {
|
|
977
1022
|
'annotation': (_) => de_Annotation(_, context),
|
|
@@ -987,6 +1032,23 @@ const de_ConferenceAnalyticsLiveAnnotationEventList = (output, context) => {
|
|
|
987
1032
|
});
|
|
988
1033
|
return retVal;
|
|
989
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
|
+
};
|
|
990
1052
|
const de_WebhookCallLiveAnnotationEvent = (output, context) => {
|
|
991
1053
|
return take(output, {
|
|
992
1054
|
'company': __expectString,
|
|
@@ -1009,6 +1071,23 @@ const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
|
|
|
1009
1071
|
'type': __expectString,
|
|
1010
1072
|
});
|
|
1011
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
|
+
};
|
|
1012
1091
|
const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
1013
1092
|
return take(output, {
|
|
1014
1093
|
'company': __expectString,
|
|
@@ -1020,6 +1099,23 @@ const de_WebhookChatLiveAnnotationEvent = (output, context) => {
|
|
|
1020
1099
|
'type': __expectString,
|
|
1021
1100
|
});
|
|
1022
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
|
+
};
|
|
1023
1119
|
const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
|
|
1024
1120
|
return take(output, {
|
|
1025
1121
|
'company': __expectString,
|