@wildix/wda-stream-client 1.1.58 → 1.1.60

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.
Files changed (37) hide show
  1. package/dist-cjs/WdaStream.js +0 -6
  2. package/dist-cjs/commands/index.js +0 -3
  3. package/dist-cjs/models/models_0.js +31 -67
  4. package/dist-cjs/models/models_1.js +1 -7
  5. package/dist-cjs/protocols/Aws_restJson1.js +3 -342
  6. package/dist-es/WdaStream.js +0 -6
  7. package/dist-es/commands/index.js +0 -3
  8. package/dist-es/models/models_0.js +29 -65
  9. package/dist-es/models/models_1.js +0 -6
  10. package/dist-es/protocols/Aws_restJson1.js +4 -337
  11. package/dist-types/WdaStream.d.ts +0 -21
  12. package/dist-types/WdaStreamClient.d.ts +2 -5
  13. package/dist-types/commands/ConsumeEventCommand.d.ts +88 -146
  14. package/dist-types/commands/DescribeEventCommand.d.ts +195 -336
  15. package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -1
  16. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +2 -2
  17. package/dist-types/commands/GetOngoingConferenceCommand.d.ts +1 -2
  18. package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +2 -3
  19. package/dist-types/commands/ListServicesCommand.d.ts +1 -0
  20. package/dist-types/commands/QueryConversationsCommand.d.ts +4 -6
  21. package/dist-types/commands/index.d.ts +0 -3
  22. package/dist-types/models/models_0.d.ts +739 -725
  23. package/dist-types/models/models_1.d.ts +18 -288
  24. package/dist-types/protocols/Aws_restJson1.d.ts +0 -27
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  26. package/dist-types/runtimeConfig.d.ts +1 -1
  27. package/dist-types/runtimeConfig.native.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +0 -21
  30. package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +0 -21
  31. package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +0 -21
  32. package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +0 -17
  33. package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +0 -17
  34. package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +0 -17
  35. package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +0 -286
  36. package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +0 -190
  37. package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +0 -134
@@ -1,7 +1,7 @@
1
1
  import { WdaStreamServiceException as __BaseException } from "../models/WdaStreamServiceException";
2
- import { AnnotationPayload, ConsumeEventInputEvent, ForbiddenException, ValidationException, } from "../models/models_0";
2
+ import { ConsumeEventInputEvent, ForbiddenException, ValidationException, } from "../models/models_0";
3
3
  import { MatchNotFoundException, PresenceNotAvailableException, } from "../models/models_1";
4
- import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
4
+ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
5
5
  import { requestBuilder as rb } from "@smithy/core";
6
6
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
7
7
  export const se_ConsumeEventCommand = async (input, context) => {
@@ -70,21 +70,6 @@ export const se_GetOngoingCallCommand = async (input, context) => {
70
70
  .b(body);
71
71
  return b.build();
72
72
  };
73
- export const se_GetOngoingCallAnnotationsCommand = async (input, context) => {
74
- const b = rb(input, context);
75
- const headers = {};
76
- b.bp("/v2/stream/calls/{callId}/annotations");
77
- b.p('callId', () => input.callId, '{callId}', false);
78
- const query = map({
79
- [_c]: [, input[_c]],
80
- });
81
- let body;
82
- b.m("GET")
83
- .h(headers)
84
- .q(query)
85
- .b(body);
86
- return b.build();
87
- };
88
73
  export const se_GetOngoingCallTranscriptionCommand = async (input, context) => {
89
74
  const b = rb(input, context);
90
75
  const headers = {};
@@ -100,21 +85,6 @@ export const se_GetOngoingCallTranscriptionCommand = async (input, context) => {
100
85
  .b(body);
101
86
  return b.build();
102
87
  };
103
- export const se_GetOngoingChatAnnotationsCommand = async (input, context) => {
104
- const b = rb(input, context);
105
- const headers = {};
106
- b.bp("/v2/stream/chats/{chatId}/annotations");
107
- b.p('chatId', () => input.chatId, '{chatId}', false);
108
- const query = map({
109
- [_c]: [, input[_c]],
110
- });
111
- let body;
112
- b.m("GET")
113
- .h(headers)
114
- .q(query)
115
- .b(body);
116
- return b.build();
117
- };
118
88
  export const se_GetOngoingConferenceCommand = async (input, context) => {
119
89
  const b = rb(input, context);
120
90
  const headers = {};
@@ -130,21 +100,6 @@ export const se_GetOngoingConferenceCommand = async (input, context) => {
130
100
  .b(body);
131
101
  return b.build();
132
102
  };
133
- export const se_GetOngoingConferenceAnnotationsCommand = async (input, context) => {
134
- const b = rb(input, context);
135
- const headers = {};
136
- b.bp("/v2/stream/conferences/{conferenceId}/annotations");
137
- b.p('conferenceId', () => input.conferenceId, '{conferenceId}', false);
138
- const query = map({
139
- [_c]: [, input[_c]],
140
- });
141
- let body;
142
- b.m("GET")
143
- .h(headers)
144
- .q(query)
145
- .b(body);
146
- return b.build();
147
- };
148
103
  export const se_GetOngoingConferenceTranscriptionCommand = async (input, context) => {
149
104
  const b = rb(input, context);
150
105
  const headers = {};
@@ -261,9 +216,7 @@ export const de_DescribeEventCommand = async (output, context) => {
261
216
  });
262
217
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
263
218
  const doc = take(data, {
264
- 'CallAnalyticsAnnotationsRecordEvent': _ => de_CallAnalyticsAnnotationsRecordEvent(_, context),
265
219
  'CallAnalyticsCostRecordEvent': _ => de_CallAnalyticsCostRecordEvent(_, context),
266
- 'CallAnalyticsLiveAnnotationEvent': _ => de_CallAnalyticsLiveAnnotationEvent(_, context),
267
220
  'CallAnalyticsLiveCompleteEvent': _json,
268
221
  'CallAnalyticsLiveInterruptedEvent': _json,
269
222
  'CallAnalyticsLiveProgressEvent': _json,
@@ -271,8 +224,6 @@ export const de_DescribeEventCommand = async (output, context) => {
271
224
  'CallAnalyticsRecordEvent': _json,
272
225
  'CallAnalyticsTranscriptionRecordEvent': _ => de_CallAnalyticsTranscriptionRecordEvent(_, context),
273
226
  'CallEventType': __expectString,
274
- 'ChatAnalyticsAnnotationsRecordEvent': _ => de_ChatAnalyticsAnnotationsRecordEvent(_, context),
275
- 'ChatAnalyticsLiveAnnotationEvent': _ => de_ChatAnalyticsLiveAnnotationEvent(_, context),
276
227
  'ChatAnalyticsLiveCompleteEvent': _json,
277
228
  'ChatAnalyticsLiveInterruptedEvent': _json,
278
229
  'ChatAnalyticsLiveProgressEvent': _json,
@@ -281,8 +232,6 @@ export const de_DescribeEventCommand = async (output, context) => {
281
232
  'ChatAnalyticsRecordEvent': _json,
282
233
  'ChatAnalyticsTranscriptionRecordEvent': _ => de_ChatAnalyticsTranscriptionRecordEvent(_, context),
283
234
  'ChatEventType': __expectString,
284
- 'ConferenceAnalyticsAnnotationsRecordEvent': _ => de_ConferenceAnalyticsAnnotationsRecordEvent(_, context),
285
- 'ConferenceAnalyticsLiveAnnotationEvent': _ => de_ConferenceAnalyticsLiveAnnotationEvent(_, context),
286
235
  'ConferenceAnalyticsLiveCompleteEvent': _json,
287
236
  'ConferenceAnalyticsLiveInterruptedEvent': _json,
288
237
  'ConferenceAnalyticsLiveJoinEvent': _json,
@@ -296,14 +245,15 @@ export const de_DescribeEventCommand = async (output, context) => {
296
245
  'PresenceAnalyticsStatusEvent': _json,
297
246
  'PresenceAnalyticsTelephonyEvent': _json,
298
247
  'PresenceEventType': __expectString,
248
+ 'ServiceAgentsStatusAnalyticsRecordEvent': _json,
299
249
  'ServiceAnalyticsLiveCompleteEvent': _json,
300
250
  'ServiceAnalyticsLiveProgressEvent': _json,
301
251
  'ServiceCallAnalyticsLiveCompleteEvent': _json,
302
252
  'ServiceCallAnalyticsLiveProgressEvent': _json,
253
+ 'ServiceCallAnalyticsRecordEvent': _json,
303
254
  'ServiceCallEventType': __expectString,
304
255
  'ServiceEventType': __expectString,
305
256
  'WebhookCallCompletedEvent': _json,
306
- 'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
307
257
  'WebhookCallLiveCompletedEvent': _json,
308
258
  'WebhookCallLiveInterruptedEvent': _json,
309
259
  'WebhookCallLiveProgressEvent': _json,
@@ -316,14 +266,12 @@ export const de_DescribeEventCommand = async (output, context) => {
316
266
  'WebhookCallTranscriptionCompletedEvent': _json,
317
267
  'WebhookCallTranscriptionTextCompletedEvent': _json,
318
268
  'WebhookChatCompletedEvent': _json,
319
- 'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
320
269
  'WebhookChatLiveCompletedEvent': _json,
321
270
  'WebhookChatLiveInterruptedEvent': _json,
322
271
  'WebhookChatLiveProgressEvent': _json,
323
272
  'WebhookChatManagerMissedEvent': _json,
324
273
  'WebhookChatSummaryCompletedEvent': _json,
325
274
  'WebhookConferenceCompletedEvent': _json,
326
- 'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
327
275
  'WebhookConferenceLiveCompletedEvent': _json,
328
276
  'WebhookConferenceLiveInterruptedEvent': _json,
329
277
  'WebhookConferenceLiveJoinEvent': _json,
@@ -382,22 +330,6 @@ export const de_GetOngoingCallCommand = async (output, context) => {
382
330
  Object.assign(contents, doc);
383
331
  return contents;
384
332
  };
385
- export const de_GetOngoingCallAnnotationsCommand = async (output, context) => {
386
- if (output.statusCode !== 200 && output.statusCode >= 300) {
387
- return de_CommandError(output, context);
388
- }
389
- const contents = map({
390
- $metadata: deserializeMetadata(output),
391
- });
392
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
393
- const doc = take(data, {
394
- 'annotations': _ => de_CallAnalyticsLiveAnnotationEventList(_, context),
395
- 'company': __expectString,
396
- 'flows': _json,
397
- });
398
- Object.assign(contents, doc);
399
- return contents;
400
- };
401
333
  export const de_GetOngoingCallTranscriptionCommand = async (output, context) => {
402
334
  if (output.statusCode !== 200 && output.statusCode >= 300) {
403
335
  return de_CommandError(output, context);
@@ -414,21 +346,6 @@ export const de_GetOngoingCallTranscriptionCommand = async (output, context) =>
414
346
  Object.assign(contents, doc);
415
347
  return contents;
416
348
  };
417
- export const de_GetOngoingChatAnnotationsCommand = async (output, context) => {
418
- if (output.statusCode !== 200 && output.statusCode >= 300) {
419
- return de_CommandError(output, context);
420
- }
421
- const contents = map({
422
- $metadata: deserializeMetadata(output),
423
- });
424
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
425
- const doc = take(data, {
426
- 'annotations': _ => de_ChatAnalyticsLiveAnnotationEventList(_, context),
427
- 'chat': _json,
428
- });
429
- Object.assign(contents, doc);
430
- return contents;
431
- };
432
349
  export const de_GetOngoingConferenceCommand = async (output, context) => {
433
350
  if (output.statusCode !== 200 && output.statusCode >= 300) {
434
351
  return de_CommandError(output, context);
@@ -443,21 +360,6 @@ export const de_GetOngoingConferenceCommand = async (output, context) => {
443
360
  Object.assign(contents, doc);
444
361
  return contents;
445
362
  };
446
- export const de_GetOngoingConferenceAnnotationsCommand = async (output, context) => {
447
- if (output.statusCode !== 200 && output.statusCode >= 300) {
448
- return de_CommandError(output, context);
449
- }
450
- const contents = map({
451
- $metadata: deserializeMetadata(output),
452
- });
453
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
454
- const doc = take(data, {
455
- 'annotations': _ => de_ConferenceAnalyticsLiveAnnotationEventList(_, context),
456
- 'conference': _json,
457
- });
458
- Object.assign(contents, doc);
459
- return contents;
460
- };
461
363
  export const de_GetOngoingConferenceTranscriptionCommand = async (output, context) => {
462
364
  if (output.statusCode !== 200 && output.statusCode >= 300) {
463
365
  return de_CommandError(output, context);
@@ -625,83 +527,10 @@ const de_PresenceNotAvailableExceptionRes = async (parsedOutput, context) => {
625
527
  const se_Document = (input, context) => {
626
528
  return input;
627
529
  };
628
- const se_Annotation = (input, context) => {
629
- return take(input, {
630
- 'id': [],
631
- 'payload': _ => se_AnnotationPayload(_, context),
632
- 'source': _json,
633
- 'time': [],
634
- });
635
- };
636
- const se_AnnotationPayload = (input, context) => {
637
- return AnnotationPayload.visit(input, {
638
- result: value => ({ "result": se_AnnotationResultValue(value, context) }),
639
- tag: value => ({ "tag": value }),
640
- text: value => ({ "text": value }),
641
- variables: value => ({ "variables": se_AnnotationVariablesValue(value, context) }),
642
- _: (name, value) => ({ [name]: value })
643
- });
644
- };
645
- const se_AnnotationResultValue = (input, context) => {
646
- return take(input, {
647
- 'value': _ => se_Document(_, context),
648
- });
649
- };
650
- const se_AnnotationVariablesValue = (input, context) => {
651
- return take(input, {
652
- 'value': _ => se_Document(_, context),
653
- });
654
- };
655
- const se_CallAnnotateConsumeEvent = (input, context) => {
656
- return take(input, {
657
- 'company': [],
658
- 'data': _ => se_CallAnnotateConsumeEventData(_, context),
659
- 'id': [],
660
- 'pbx': [],
661
- 'time': [],
662
- 'type': [],
663
- });
664
- };
665
- const se_CallAnnotateConsumeEventData = (input, context) => {
666
- return take(input, {
667
- 'annotation': _ => se_Annotation(_, context),
668
- 'flowIndex': [],
669
- });
670
- };
671
- const se_ChatAnnotateConsumeEvent = (input, context) => {
672
- return take(input, {
673
- 'company': [],
674
- 'data': _ => se_ChatAnnotateConsumeEventData(_, context),
675
- 'time': [],
676
- 'type': [],
677
- });
678
- };
679
- const se_ChatAnnotateConsumeEventData = (input, context) => {
680
- return take(input, {
681
- 'annotation': _ => se_Annotation(_, context),
682
- 'chatId': [],
683
- });
684
- };
685
- const se_ConferenceAnnotateConsumeEvent = (input, context) => {
686
- return take(input, {
687
- 'data': _ => se_ConferenceAnnotateConsumeEventData(_, context),
688
- 'room': [],
689
- 'session': [],
690
- 'time': [],
691
- 'type': [],
692
- });
693
- };
694
- const se_ConferenceAnnotateConsumeEventData = (input, context) => {
695
- return take(input, {
696
- 'annotation': _ => se_Annotation(_, context),
697
- 'company': [],
698
- });
699
- };
700
530
  const se_ConsumeEventInputEvent = (input, context) => {
701
531
  return ConsumeEventInputEvent.visit(input, {
702
532
  callAgentsCancel: value => ({ "callAgentsCancel": _json(value) }),
703
533
  callAgentsStart: value => ({ "callAgentsStart": _json(value) }),
704
- callAnnotate: value => ({ "callAnnotate": se_CallAnnotateConsumeEvent(value, context) }),
705
534
  callAttachment: value => ({ "callAttachment": _json(value) }),
706
535
  callEnd: value => ({ "callEnd": _json(value) }),
707
536
  callLive: value => ({ "callLive": _json(value) }),
@@ -714,11 +543,9 @@ const se_ConsumeEventInputEvent = (input, context) => {
714
543
  callStart: value => ({ "callStart": _json(value) }),
715
544
  callTranscription: value => ({ "callTranscription": _json(value) }),
716
545
  callUpdate: value => ({ "callUpdate": _json(value) }),
717
- chatAnnotate: value => ({ "chatAnnotate": se_ChatAnnotateConsumeEvent(value, context) }),
718
546
  chatMessage: value => ({ "chatMessage": _json(value) }),
719
547
  chatNew: value => ({ "chatNew": _json(value) }),
720
548
  chatUpdate: value => ({ "chatUpdate": _json(value) }),
721
- conferenceAnnotate: value => ({ "conferenceAnnotate": se_ConferenceAnnotateConsumeEvent(value, context) }),
722
549
  conferenceEnd: value => ({ "conferenceEnd": _json(value) }),
723
550
  conferenceJoin: value => ({ "conferenceJoin": _json(value) }),
724
551
  conferenceKeepAlive: value => ({ "conferenceKeepAlive": _json(value) }),
@@ -808,63 +635,6 @@ const se_WhatsAppStatusEvent = (input, context) => {
808
635
  const de_Document = (output, context) => {
809
636
  return output;
810
637
  };
811
- const de_Annotation = (output, context) => {
812
- return take(output, {
813
- 'id': __expectString,
814
- 'payload': (_) => de_AnnotationPayload(__expectUnion(_), context),
815
- 'source': _json,
816
- 'time': __expectLong,
817
- });
818
- };
819
- const de_AnnotationPayload = (output, context) => {
820
- if (output.result != null) {
821
- return {
822
- result: de_AnnotationResultValue(output.result, context)
823
- };
824
- }
825
- if (__expectString(output.tag) !== undefined) {
826
- return { tag: __expectString(output.tag) };
827
- }
828
- if (__expectString(output.text) !== undefined) {
829
- return { text: __expectString(output.text) };
830
- }
831
- if (output.variables != null) {
832
- return {
833
- variables: de_AnnotationVariablesValue(output.variables, context)
834
- };
835
- }
836
- return { $unknown: Object.entries(output)[0] };
837
- };
838
- const de_AnnotationResultValue = (output, context) => {
839
- return take(output, {
840
- 'value': (_) => de_Document(_, context),
841
- });
842
- };
843
- const de_Annotations = (output, context) => {
844
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
845
- return de_Annotation(entry, context);
846
- });
847
- return retVal;
848
- };
849
- const de_AnnotationVariablesValue = (output, context) => {
850
- return take(output, {
851
- 'value': (_) => de_Document(_, context),
852
- });
853
- };
854
- const de_CallAnalyticsAnnotationsRecordEvent = (output, context) => {
855
- return take(output, {
856
- 'annotations': (_) => de_Annotations(_, context),
857
- 'callStartTime': __expectLong,
858
- 'company': __expectString,
859
- 'flowIndex': __expectInt32,
860
- 'flowStartTime': __expectLong,
861
- 'id': __expectString,
862
- 'licenses': _json,
863
- 'pbx': __expectString,
864
- 'time': __expectLong,
865
- 'type': __expectString,
866
- });
867
- };
868
638
  const de_CallAnalyticsCostRecordEvent = (output, context) => {
869
639
  return take(output, {
870
640
  'company': __expectString,
@@ -878,26 +648,6 @@ const de_CallAnalyticsCostRecordEvent = (output, context) => {
878
648
  'type': __expectString,
879
649
  });
880
650
  };
881
- const de_CallAnalyticsLiveAnnotationEvent = (output, context) => {
882
- return take(output, {
883
- 'annotation': (_) => de_Annotation(_, context),
884
- 'callStartTime': __expectLong,
885
- 'company': __expectString,
886
- 'event': __expectString,
887
- 'flowIndex': __expectInt32,
888
- 'flowStartTime': __expectLong,
889
- 'id': __expectString,
890
- 'licenses': _json,
891
- 'pbx': __expectString,
892
- 'time': __expectLong,
893
- });
894
- };
895
- const de_CallAnalyticsLiveAnnotationEventList = (output, context) => {
896
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
897
- return de_CallAnalyticsLiveAnnotationEvent(entry, context);
898
- });
899
- return retVal;
900
- };
901
651
  const de_CallAnalyticsLiveTranscriptionEvent = (output, context) => {
902
652
  return take(output, {
903
653
  'callStartTime': __expectLong,
@@ -969,32 +719,6 @@ const de_CallTranscriptionList = (output, context) => {
969
719
  });
970
720
  return retVal;
971
721
  };
972
- const de_ChatAnalyticsAnnotationsRecordEvent = (output, context) => {
973
- return take(output, {
974
- 'annotations': (_) => de_Annotations(_, context),
975
- 'chatId': __expectString,
976
- 'company': __expectString,
977
- 'id': __expectString,
978
- 'time': __expectLong,
979
- 'type': __expectString,
980
- });
981
- };
982
- const de_ChatAnalyticsLiveAnnotationEvent = (output, context) => {
983
- return take(output, {
984
- 'annotation': (_) => de_Annotation(_, context),
985
- 'chatId': __expectString,
986
- 'company': __expectString,
987
- 'event': __expectString,
988
- 'id': __expectString,
989
- 'time': __expectLong,
990
- });
991
- };
992
- const de_ChatAnalyticsLiveAnnotationEventList = (output, context) => {
993
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
994
- return de_ChatAnalyticsLiveAnnotationEvent(entry, context);
995
- });
996
- return retVal;
997
- };
998
722
  const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
999
723
  return take(output, {
1000
724
  'chatId': __expectString,
@@ -1005,41 +729,6 @@ const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
1005
729
  'type': __expectString,
1006
730
  });
1007
731
  };
1008
- const de_ConferenceAnalyticsAnnotationsRecordEvent = (output, context) => {
1009
- return take(output, {
1010
- 'annotations': (_) => de_Annotations(_, context),
1011
- 'company': __expectString,
1012
- 'id': __expectString,
1013
- 'time': __expectLong,
1014
- 'type': __expectString,
1015
- });
1016
- };
1017
- const de_ConferenceAnalyticsLiveAnnotationEvent = (output, context) => {
1018
- return take(output, {
1019
- 'annotation': (_) => de_Annotation(_, context),
1020
- 'company': __expectString,
1021
- 'event': __expectString,
1022
- 'id': __expectString,
1023
- 'time': __expectLong,
1024
- });
1025
- };
1026
- const de_ConferenceAnalyticsLiveAnnotationEventList = (output, context) => {
1027
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1028
- return de_ConferenceAnalyticsLiveAnnotationEvent(entry, context);
1029
- });
1030
- return retVal;
1031
- };
1032
- const de_WebhookCallLiveAnnotationEvent = (output, context) => {
1033
- return take(output, {
1034
- 'company': __expectString,
1035
- 'data': (_) => de_CallAnalyticsLiveAnnotationEvent(_, context),
1036
- 'id': __expectString,
1037
- 'integrationId': __expectString,
1038
- 'pbx': __expectString,
1039
- 'time': __expectLong,
1040
- 'type': __expectString,
1041
- });
1042
- };
1043
732
  const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
1044
733
  return take(output, {
1045
734
  'company': __expectString,
@@ -1051,28 +740,6 @@ const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
1051
740
  'type': __expectString,
1052
741
  });
1053
742
  };
1054
- const de_WebhookChatLiveAnnotationEvent = (output, context) => {
1055
- return take(output, {
1056
- 'company': __expectString,
1057
- 'data': (_) => de_ChatAnalyticsLiveAnnotationEvent(_, context),
1058
- 'id': __expectString,
1059
- 'integrationId': __expectString,
1060
- 'pbx': __expectString,
1061
- 'time': __expectLong,
1062
- 'type': __expectString,
1063
- });
1064
- };
1065
- const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
1066
- return take(output, {
1067
- 'company': __expectString,
1068
- 'data': (_) => de_ConferenceAnalyticsLiveAnnotationEvent(_, context),
1069
- 'id': __expectString,
1070
- 'integrationId': __expectString,
1071
- 'pbx': __expectString,
1072
- 'time': __expectLong,
1073
- 'type': __expectString,
1074
- });
1075
- };
1076
743
  const de_WebsocketAuthorizedEvent = (output, context) => {
1077
744
  return take(output, {
1078
745
  'connectionId': __expectString,
@@ -2,11 +2,8 @@ import { WdaStreamClient } from "./WdaStreamClient";
2
2
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
3
3
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
5
- import { GetOngoingCallAnnotationsCommandInput, GetOngoingCallAnnotationsCommandOutput } from "./commands/GetOngoingCallAnnotationsCommand";
6
5
  import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "./commands/GetOngoingCallCommand";
7
6
  import { GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput } from "./commands/GetOngoingCallTranscriptionCommand";
8
- import { GetOngoingChatAnnotationsCommandInput, GetOngoingChatAnnotationsCommandOutput } from "./commands/GetOngoingChatAnnotationsCommand";
9
- import { GetOngoingConferenceAnnotationsCommandInput, GetOngoingConferenceAnnotationsCommandOutput } from "./commands/GetOngoingConferenceAnnotationsCommand";
10
7
  import { GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput } from "./commands/GetOngoingConferenceCommand";
11
8
  import { GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput } from "./commands/GetOngoingConferenceTranscriptionCommand";
12
9
  import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
@@ -41,36 +38,18 @@ export interface WdaStream {
41
38
  getOngoingCall(args: GetOngoingCallCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingCallCommandOutput>;
42
39
  getOngoingCall(args: GetOngoingCallCommandInput, cb: (err: any, data?: GetOngoingCallCommandOutput) => void): void;
43
40
  getOngoingCall(args: GetOngoingCallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingCallCommandOutput) => void): void;
44
- /**
45
- * @see {@link GetOngoingCallAnnotationsCommand}
46
- */
47
- getOngoingCallAnnotations(args: GetOngoingCallAnnotationsCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingCallAnnotationsCommandOutput>;
48
- getOngoingCallAnnotations(args: GetOngoingCallAnnotationsCommandInput, cb: (err: any, data?: GetOngoingCallAnnotationsCommandOutput) => void): void;
49
- getOngoingCallAnnotations(args: GetOngoingCallAnnotationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingCallAnnotationsCommandOutput) => void): void;
50
41
  /**
51
42
  * @see {@link GetOngoingCallTranscriptionCommand}
52
43
  */
53
44
  getOngoingCallTranscription(args: GetOngoingCallTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingCallTranscriptionCommandOutput>;
54
45
  getOngoingCallTranscription(args: GetOngoingCallTranscriptionCommandInput, cb: (err: any, data?: GetOngoingCallTranscriptionCommandOutput) => void): void;
55
46
  getOngoingCallTranscription(args: GetOngoingCallTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingCallTranscriptionCommandOutput) => void): void;
56
- /**
57
- * @see {@link GetOngoingChatAnnotationsCommand}
58
- */
59
- getOngoingChatAnnotations(args: GetOngoingChatAnnotationsCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingChatAnnotationsCommandOutput>;
60
- getOngoingChatAnnotations(args: GetOngoingChatAnnotationsCommandInput, cb: (err: any, data?: GetOngoingChatAnnotationsCommandOutput) => void): void;
61
- getOngoingChatAnnotations(args: GetOngoingChatAnnotationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingChatAnnotationsCommandOutput) => void): void;
62
47
  /**
63
48
  * @see {@link GetOngoingConferenceCommand}
64
49
  */
65
50
  getOngoingConference(args: GetOngoingConferenceCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingConferenceCommandOutput>;
66
51
  getOngoingConference(args: GetOngoingConferenceCommandInput, cb: (err: any, data?: GetOngoingConferenceCommandOutput) => void): void;
67
52
  getOngoingConference(args: GetOngoingConferenceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingConferenceCommandOutput) => void): void;
68
- /**
69
- * @see {@link GetOngoingConferenceAnnotationsCommand}
70
- */
71
- getOngoingConferenceAnnotations(args: GetOngoingConferenceAnnotationsCommandInput, options?: __HttpHandlerOptions): Promise<GetOngoingConferenceAnnotationsCommandOutput>;
72
- getOngoingConferenceAnnotations(args: GetOngoingConferenceAnnotationsCommandInput, cb: (err: any, data?: GetOngoingConferenceAnnotationsCommandOutput) => void): void;
73
- getOngoingConferenceAnnotations(args: GetOngoingConferenceAnnotationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOngoingConferenceAnnotationsCommandOutput) => void): void;
74
53
  /**
75
54
  * @see {@link GetOngoingConferenceTranscriptionCommand}
76
55
  */
@@ -1,11 +1,8 @@
1
1
  import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/ConsumeEventCommand";
2
2
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
3
3
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
4
- import { GetOngoingCallAnnotationsCommandInput, GetOngoingCallAnnotationsCommandOutput } from "./commands/GetOngoingCallAnnotationsCommand";
5
4
  import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "./commands/GetOngoingCallCommand";
6
5
  import { GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput } from "./commands/GetOngoingCallTranscriptionCommand";
7
- import { GetOngoingChatAnnotationsCommandInput, GetOngoingChatAnnotationsCommandOutput } from "./commands/GetOngoingChatAnnotationsCommand";
8
- import { GetOngoingConferenceAnnotationsCommandInput, GetOngoingConferenceAnnotationsCommandOutput } from "./commands/GetOngoingConferenceAnnotationsCommand";
9
6
  import { GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput } from "./commands/GetOngoingConferenceCommand";
10
7
  import { GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput } from "./commands/GetOngoingConferenceTranscriptionCommand";
11
8
  import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
@@ -24,11 +21,11 @@ export { __Client };
24
21
  /**
25
22
  * @public
26
23
  */
27
- export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetOngoingCallAnnotationsCommandInput | GetOngoingCallCommandInput | GetOngoingCallTranscriptionCommandInput | GetOngoingChatAnnotationsCommandInput | GetOngoingConferenceAnnotationsCommandInput | GetOngoingConferenceCommandInput | GetOngoingConferenceTranscriptionCommandInput | ListServicesCommandInput | QueryConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
24
+ export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetOngoingCallCommandInput | GetOngoingCallTranscriptionCommandInput | GetOngoingConferenceCommandInput | GetOngoingConferenceTranscriptionCommandInput | ListServicesCommandInput | QueryConversationsCommandInput | QueryPresenceCommandInput | QueryPresencesCommandInput | UpdatePresenceLastSeenCommandInput;
28
25
  /**
29
26
  * @public
30
27
  */
31
- export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetOngoingCallAnnotationsCommandOutput | GetOngoingCallCommandOutput | GetOngoingCallTranscriptionCommandOutput | GetOngoingChatAnnotationsCommandOutput | GetOngoingConferenceAnnotationsCommandOutput | GetOngoingConferenceCommandOutput | GetOngoingConferenceTranscriptionCommandOutput | ListServicesCommandOutput | QueryConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
28
+ export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetOngoingCallCommandOutput | GetOngoingCallTranscriptionCommandOutput | GetOngoingConferenceCommandOutput | GetOngoingConferenceTranscriptionCommandOutput | ListServicesCommandOutput | QueryConversationsCommandOutput | QueryPresenceCommandOutput | QueryPresencesCommandOutput | UpdatePresenceLastSeenCommandOutput;
32
29
  /**
33
30
  * @public
34
31
  */