@wildix/wda-stream-client 1.1.59 → 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 -70
  4. package/dist-cjs/models/models_1.js +1 -7
  5. package/dist-cjs/protocols/Aws_restJson1.js +3 -396
  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 -68
  9. package/dist-es/models/models_1.js +0 -6
  10. package/dist-es/protocols/Aws_restJson1.js +4 -391
  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 +196 -467
  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 +786 -770
  23. package/dist-types/models/models_1.d.ts +18 -353
  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,15 +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
- 'WebhookCallAnnotationsCompletedEvent': _ => de_WebhookCallAnnotationsCompletedEvent(_, context),
306
256
  'WebhookCallCompletedEvent': _json,
307
- 'WebhookCallLiveAnnotationEvent': _ => de_WebhookCallLiveAnnotationEvent(_, context),
308
257
  'WebhookCallLiveCompletedEvent': _json,
309
258
  'WebhookCallLiveInterruptedEvent': _json,
310
259
  'WebhookCallLiveProgressEvent': _json,
@@ -316,17 +265,13 @@ export const de_DescribeEventCommand = async (output, context) => {
316
265
  'WebhookCallSummaryCompletedEvent': _json,
317
266
  'WebhookCallTranscriptionCompletedEvent': _json,
318
267
  'WebhookCallTranscriptionTextCompletedEvent': _json,
319
- 'WebhookChatAnnotationsCompletedEvent': _ => de_WebhookChatAnnotationsCompletedEvent(_, context),
320
268
  'WebhookChatCompletedEvent': _json,
321
- 'WebhookChatLiveAnnotationEvent': _ => de_WebhookChatLiveAnnotationEvent(_, context),
322
269
  'WebhookChatLiveCompletedEvent': _json,
323
270
  'WebhookChatLiveInterruptedEvent': _json,
324
271
  'WebhookChatLiveProgressEvent': _json,
325
272
  'WebhookChatManagerMissedEvent': _json,
326
273
  'WebhookChatSummaryCompletedEvent': _json,
327
- 'WebhookConferenceAnnotationsCompletedEvent': _ => de_WebhookConferenceAnnotationsCompletedEvent(_, context),
328
274
  'WebhookConferenceCompletedEvent': _json,
329
- 'WebhookConferenceLiveAnnotationEvent': _ => de_WebhookConferenceLiveAnnotationEvent(_, context),
330
275
  'WebhookConferenceLiveCompletedEvent': _json,
331
276
  'WebhookConferenceLiveInterruptedEvent': _json,
332
277
  'WebhookConferenceLiveJoinEvent': _json,
@@ -385,22 +330,6 @@ export const de_GetOngoingCallCommand = async (output, context) => {
385
330
  Object.assign(contents, doc);
386
331
  return contents;
387
332
  };
388
- export const de_GetOngoingCallAnnotationsCommand = async (output, context) => {
389
- if (output.statusCode !== 200 && output.statusCode >= 300) {
390
- return de_CommandError(output, context);
391
- }
392
- const contents = map({
393
- $metadata: deserializeMetadata(output),
394
- });
395
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
396
- const doc = take(data, {
397
- 'annotations': _ => de_CallAnalyticsLiveAnnotationEventList(_, context),
398
- 'company': __expectString,
399
- 'flows': _json,
400
- });
401
- Object.assign(contents, doc);
402
- return contents;
403
- };
404
333
  export const de_GetOngoingCallTranscriptionCommand = async (output, context) => {
405
334
  if (output.statusCode !== 200 && output.statusCode >= 300) {
406
335
  return de_CommandError(output, context);
@@ -417,21 +346,6 @@ export const de_GetOngoingCallTranscriptionCommand = async (output, context) =>
417
346
  Object.assign(contents, doc);
418
347
  return contents;
419
348
  };
420
- export const de_GetOngoingChatAnnotationsCommand = async (output, context) => {
421
- if (output.statusCode !== 200 && output.statusCode >= 300) {
422
- return de_CommandError(output, context);
423
- }
424
- const contents = map({
425
- $metadata: deserializeMetadata(output),
426
- });
427
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
428
- const doc = take(data, {
429
- 'annotations': _ => de_ChatAnalyticsLiveAnnotationEventList(_, context),
430
- 'chat': _json,
431
- });
432
- Object.assign(contents, doc);
433
- return contents;
434
- };
435
349
  export const de_GetOngoingConferenceCommand = async (output, context) => {
436
350
  if (output.statusCode !== 200 && output.statusCode >= 300) {
437
351
  return de_CommandError(output, context);
@@ -446,21 +360,6 @@ export const de_GetOngoingConferenceCommand = async (output, context) => {
446
360
  Object.assign(contents, doc);
447
361
  return contents;
448
362
  };
449
- export const de_GetOngoingConferenceAnnotationsCommand = async (output, context) => {
450
- if (output.statusCode !== 200 && output.statusCode >= 300) {
451
- return de_CommandError(output, context);
452
- }
453
- const contents = map({
454
- $metadata: deserializeMetadata(output),
455
- });
456
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
457
- const doc = take(data, {
458
- 'annotations': _ => de_ConferenceAnalyticsLiveAnnotationEventList(_, context),
459
- 'conference': _json,
460
- });
461
- Object.assign(contents, doc);
462
- return contents;
463
- };
464
363
  export const de_GetOngoingConferenceTranscriptionCommand = async (output, context) => {
465
364
  if (output.statusCode !== 200 && output.statusCode >= 300) {
466
365
  return de_CommandError(output, context);
@@ -628,83 +527,10 @@ const de_PresenceNotAvailableExceptionRes = async (parsedOutput, context) => {
628
527
  const se_Document = (input, context) => {
629
528
  return input;
630
529
  };
631
- const se_Annotation = (input, context) => {
632
- return take(input, {
633
- 'id': [],
634
- 'payload': _ => se_AnnotationPayload(_, context),
635
- 'source': _json,
636
- 'time': [],
637
- });
638
- };
639
- const se_AnnotationPayload = (input, context) => {
640
- return AnnotationPayload.visit(input, {
641
- result: value => ({ "result": se_AnnotationResultValue(value, context) }),
642
- tag: value => ({ "tag": value }),
643
- text: value => ({ "text": value }),
644
- variables: value => ({ "variables": se_AnnotationVariablesValue(value, context) }),
645
- _: (name, value) => ({ [name]: value })
646
- });
647
- };
648
- const se_AnnotationResultValue = (input, context) => {
649
- return take(input, {
650
- 'value': _ => se_Document(_, context),
651
- });
652
- };
653
- const se_AnnotationVariablesValue = (input, context) => {
654
- return take(input, {
655
- 'value': _ => se_Document(_, context),
656
- });
657
- };
658
- const se_CallAnnotateConsumeEvent = (input, context) => {
659
- return take(input, {
660
- 'company': [],
661
- 'data': _ => se_CallAnnotateConsumeEventData(_, context),
662
- 'id': [],
663
- 'pbx': [],
664
- 'time': [],
665
- 'type': [],
666
- });
667
- };
668
- const se_CallAnnotateConsumeEventData = (input, context) => {
669
- return take(input, {
670
- 'annotation': _ => se_Annotation(_, context),
671
- 'flowIndex': [],
672
- });
673
- };
674
- const se_ChatAnnotateConsumeEvent = (input, context) => {
675
- return take(input, {
676
- 'company': [],
677
- 'data': _ => se_ChatAnnotateConsumeEventData(_, context),
678
- 'time': [],
679
- 'type': [],
680
- });
681
- };
682
- const se_ChatAnnotateConsumeEventData = (input, context) => {
683
- return take(input, {
684
- 'annotation': _ => se_Annotation(_, context),
685
- 'chatId': [],
686
- });
687
- };
688
- const se_ConferenceAnnotateConsumeEvent = (input, context) => {
689
- return take(input, {
690
- 'data': _ => se_ConferenceAnnotateConsumeEventData(_, context),
691
- 'room': [],
692
- 'session': [],
693
- 'time': [],
694
- 'type': [],
695
- });
696
- };
697
- const se_ConferenceAnnotateConsumeEventData = (input, context) => {
698
- return take(input, {
699
- 'annotation': _ => se_Annotation(_, context),
700
- 'company': [],
701
- });
702
- };
703
530
  const se_ConsumeEventInputEvent = (input, context) => {
704
531
  return ConsumeEventInputEvent.visit(input, {
705
532
  callAgentsCancel: value => ({ "callAgentsCancel": _json(value) }),
706
533
  callAgentsStart: value => ({ "callAgentsStart": _json(value) }),
707
- callAnnotate: value => ({ "callAnnotate": se_CallAnnotateConsumeEvent(value, context) }),
708
534
  callAttachment: value => ({ "callAttachment": _json(value) }),
709
535
  callEnd: value => ({ "callEnd": _json(value) }),
710
536
  callLive: value => ({ "callLive": _json(value) }),
@@ -717,11 +543,9 @@ const se_ConsumeEventInputEvent = (input, context) => {
717
543
  callStart: value => ({ "callStart": _json(value) }),
718
544
  callTranscription: value => ({ "callTranscription": _json(value) }),
719
545
  callUpdate: value => ({ "callUpdate": _json(value) }),
720
- chatAnnotate: value => ({ "chatAnnotate": se_ChatAnnotateConsumeEvent(value, context) }),
721
546
  chatMessage: value => ({ "chatMessage": _json(value) }),
722
547
  chatNew: value => ({ "chatNew": _json(value) }),
723
548
  chatUpdate: value => ({ "chatUpdate": _json(value) }),
724
- conferenceAnnotate: value => ({ "conferenceAnnotate": se_ConferenceAnnotateConsumeEvent(value, context) }),
725
549
  conferenceEnd: value => ({ "conferenceEnd": _json(value) }),
726
550
  conferenceJoin: value => ({ "conferenceJoin": _json(value) }),
727
551
  conferenceKeepAlive: value => ({ "conferenceKeepAlive": _json(value) }),
@@ -811,63 +635,6 @@ const se_WhatsAppStatusEvent = (input, context) => {
811
635
  const de_Document = (output, context) => {
812
636
  return output;
813
637
  };
814
- const de_Annotation = (output, context) => {
815
- return take(output, {
816
- 'id': __expectString,
817
- 'payload': (_) => de_AnnotationPayload(__expectUnion(_), context),
818
- 'source': _json,
819
- 'time': __expectLong,
820
- });
821
- };
822
- const de_AnnotationPayload = (output, context) => {
823
- if (output.result != null) {
824
- return {
825
- result: de_AnnotationResultValue(output.result, context)
826
- };
827
- }
828
- if (__expectString(output.tag) !== undefined) {
829
- return { tag: __expectString(output.tag) };
830
- }
831
- if (__expectString(output.text) !== undefined) {
832
- return { text: __expectString(output.text) };
833
- }
834
- if (output.variables != null) {
835
- return {
836
- variables: de_AnnotationVariablesValue(output.variables, context)
837
- };
838
- }
839
- return { $unknown: Object.entries(output)[0] };
840
- };
841
- const de_AnnotationResultValue = (output, context) => {
842
- return take(output, {
843
- 'value': (_) => de_Document(_, context),
844
- });
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
- };
852
- const de_AnnotationVariablesValue = (output, context) => {
853
- return take(output, {
854
- 'value': (_) => de_Document(_, context),
855
- });
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
- };
871
638
  const de_CallAnalyticsCostRecordEvent = (output, context) => {
872
639
  return take(output, {
873
640
  'company': __expectString,
@@ -881,26 +648,6 @@ const de_CallAnalyticsCostRecordEvent = (output, context) => {
881
648
  'type': __expectString,
882
649
  });
883
650
  };
884
- const de_CallAnalyticsLiveAnnotationEvent = (output, context) => {
885
- return take(output, {
886
- 'annotation': (_) => de_Annotation(_, context),
887
- 'callStartTime': __expectLong,
888
- 'company': __expectString,
889
- 'event': __expectString,
890
- 'flowIndex': __expectInt32,
891
- 'flowStartTime': __expectLong,
892
- 'id': __expectString,
893
- 'licenses': _json,
894
- 'pbx': __expectString,
895
- 'time': __expectLong,
896
- });
897
- };
898
- const de_CallAnalyticsLiveAnnotationEventList = (output, context) => {
899
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
900
- return de_CallAnalyticsLiveAnnotationEvent(entry, context);
901
- });
902
- return retVal;
903
- };
904
651
  const de_CallAnalyticsLiveTranscriptionEvent = (output, context) => {
905
652
  return take(output, {
906
653
  'callStartTime': __expectLong,
@@ -972,32 +719,6 @@ const de_CallTranscriptionList = (output, context) => {
972
719
  });
973
720
  return retVal;
974
721
  };
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
- };
985
- const de_ChatAnalyticsLiveAnnotationEvent = (output, context) => {
986
- return take(output, {
987
- 'annotation': (_) => de_Annotation(_, context),
988
- 'chatId': __expectString,
989
- 'company': __expectString,
990
- 'event': __expectString,
991
- 'id': __expectString,
992
- 'time': __expectLong,
993
- });
994
- };
995
- const de_ChatAnalyticsLiveAnnotationEventList = (output, context) => {
996
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
997
- return de_ChatAnalyticsLiveAnnotationEvent(entry, context);
998
- });
999
- return retVal;
1000
- };
1001
722
  const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
1002
723
  return take(output, {
1003
724
  'chatId': __expectString,
@@ -1008,58 +729,6 @@ const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
1008
729
  'type': __expectString,
1009
730
  });
1010
731
  };
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
- };
1020
- const de_ConferenceAnalyticsLiveAnnotationEvent = (output, context) => {
1021
- return take(output, {
1022
- 'annotation': (_) => de_Annotation(_, context),
1023
- 'company': __expectString,
1024
- 'event': __expectString,
1025
- 'id': __expectString,
1026
- 'time': __expectLong,
1027
- });
1028
- };
1029
- const de_ConferenceAnalyticsLiveAnnotationEventList = (output, context) => {
1030
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1031
- return de_ConferenceAnalyticsLiveAnnotationEvent(entry, context);
1032
- });
1033
- return retVal;
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
- };
1052
- const de_WebhookCallLiveAnnotationEvent = (output, context) => {
1053
- return take(output, {
1054
- 'company': __expectString,
1055
- 'data': (_) => de_CallAnalyticsLiveAnnotationEvent(_, context),
1056
- 'id': __expectString,
1057
- 'integrationId': __expectString,
1058
- 'pbx': __expectString,
1059
- 'time': __expectLong,
1060
- 'type': __expectString,
1061
- });
1062
- };
1063
732
  const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
1064
733
  return take(output, {
1065
734
  'company': __expectString,
@@ -1071,62 +740,6 @@ const de_WebhookCallLiveTranscriptionEvent = (output, context) => {
1071
740
  'type': __expectString,
1072
741
  });
1073
742
  };
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
- };
1091
- const de_WebhookChatLiveAnnotationEvent = (output, context) => {
1092
- return take(output, {
1093
- 'company': __expectString,
1094
- 'data': (_) => de_ChatAnalyticsLiveAnnotationEvent(_, context),
1095
- 'id': __expectString,
1096
- 'integrationId': __expectString,
1097
- 'pbx': __expectString,
1098
- 'time': __expectLong,
1099
- 'type': __expectString,
1100
- });
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
- };
1119
- const de_WebhookConferenceLiveAnnotationEvent = (output, context) => {
1120
- return take(output, {
1121
- 'company': __expectString,
1122
- 'data': (_) => de_ConferenceAnalyticsLiveAnnotationEvent(_, context),
1123
- 'id': __expectString,
1124
- 'integrationId': __expectString,
1125
- 'pbx': __expectString,
1126
- 'time': __expectLong,
1127
- 'type': __expectString,
1128
- });
1129
- };
1130
743
  const de_WebsocketAuthorizedEvent = (output, context) => {
1131
744
  return take(output, {
1132
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
  */