@wildix/xbees-conversations-client 1.0.45 → 1.0.46

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.
@@ -23,236 +23,10 @@ export class ForbiddenException extends __BaseException {
23
23
  Object.setPrototypeOf(this, ForbiddenException.prototype);
24
24
  }
25
25
  }
26
- export const CallFlowAttachmentType = {
27
- FAX: "FAX",
28
- VOICEMAIL: "VOICEMAIL",
29
- };
30
- export const CallParticipantRole = {
31
- AGENT: "AGENT",
32
- CLIENT: "CLIENT",
33
- };
34
- export const CallParticipantType = {
35
- LOCAL: "LOCAL",
36
- REMOTE: "REMOTE",
37
- };
38
- export const CallDevice = {
39
- COLLABORATION_ANDROID: "COLLABORATION_ANDROID",
40
- COLLABORATION_IOS: "COLLABORATION_IOS",
41
- COLLABORATION_WEB: "COLLABORATION_WEB",
42
- UNKNOWN: "UNKNOWN",
43
- WILDIX_DEVICE: "WILDIX_DEVICE",
44
- WILDIX_PHONE: "WILDIX_PHONE",
45
- XBEES_ANDROID: "XBEES_ANDROID",
46
- XBEES_IOS: "XBEES_IOS",
47
- XBEES_WEB: "XBEES_WEB",
48
- };
49
- export const ConversationStatus = {
50
- COMPLETED: "COMPLETED",
51
- MISSED: "MISSED",
52
- };
53
- export const CallDirection = {
54
- INBOUND: "INBOUND",
55
- INTERNAL: "INTERNAL",
56
- OUTBOUND: "OUTBOUND",
57
- UNDEFINED: "UNDEFINED",
58
- };
59
- export const License = {
60
- XBEES: "x-bees",
61
- };
62
- export const CallRecordOwner = {
63
- CALLEE: "callee",
64
- CALLER: "caller",
65
- SYSTEM: "system",
66
- };
67
- export const CallRecordPauseReason = {
68
- HOLD: "hold",
69
- PAUSE: "pause",
70
- };
71
- export const CallFlowTranscriptionStatus = {
72
- AVAILABLE: "AVAILABLE",
73
- UNAVAILABLE: "UNAVAILABLE",
74
- };
75
- export const CallTranscriptionSpeaker = {
76
- CALLEE: "callee",
77
- CALLER: "caller",
78
- };
79
- export const ConferenceDirection = {
80
- INBOUND: "INBOUND",
81
- INTERNAL: "INTERNAL",
82
- OUTBOUND: "OUTBOUND",
83
- };
84
- export const PbxLicenseType = {
85
- BASIC: "basic",
86
- BUSINESS: "business",
87
- ESSENTIAL: "essential",
88
- PREMIUM: "premium",
89
- WIZYCONF: "wizyconf",
90
- };
91
- export const ConferenceParticipantRole = {
92
- AGENT: "AGENT",
93
- CLIENT: "CLIENT",
94
- };
95
- export const ConferenceParticipantType = {
96
- EXTERNAL: "EXTERNAL",
97
- EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN",
98
- PBX: "PBX",
99
- PBX_SIP: "PBX_SIP",
100
- XBS: "XBS",
101
- };
102
- export const ConferenceTranscriptionStatus = {
103
- AVAILABLE: "AVAILABLE",
104
- UNAVAILABLE: "UNAVAILABLE",
105
- };
106
- export const LiveEventType = {
107
- CALL: "call",
108
- CALL_COMPLETE: "call_complete",
109
- CALL_INTERRUPTED: "call_interrupted",
110
- CALL_TRANSCRIPTION: "call_transcription",
111
- CHAT: "chat",
112
- CHAT_COMPLETE: "chat_complete",
113
- CHAT_COST: "call_cost",
114
- CHAT_INTERRUPTED: "chat_interrupted",
115
- CHAT_MISSED: "chat_missed",
116
- CONFERENCE: "conference",
117
- CONFERENCE_COMPLETE: "conference_complete",
118
- CONFERENCE_INTERRUPTED: "conference_interrupted",
119
- CONFERENCE_JOIN: "conference_join",
120
- CONFERENCE_LEAVE: "conference_leave",
121
- CONFERENCE_TRANSCRIPTION: "conference_transcription",
122
- };
123
- export const CallAnalyticsLiveProgressEventTrigger = {
124
- AGENTS_CANCEL: "call.agents_cancel",
125
- AGENTS_START: "call.agents_start",
126
- ATTACHMENT: "call.attachment",
127
- RECORD_START: "call.record_start",
128
- RECORD_STOP: "call.record_stop",
129
- SPLIT: "call.split",
130
- START: "call.start",
131
- TRANSCRIPTION: "call.transcription",
132
- UPDATE: "call.update",
133
- };
134
- export const CallFlowStatus = {
135
- CONNECTING: "CONNECTING",
136
- HOLD: "HOLD",
137
- TALKING: "TALKING",
138
- };
139
- export const CallEndBy = {
140
- CALLEE: "CALLEE",
141
- CALLER: "CALLER",
142
- };
143
- export const CallEventType = {
144
- COST_RECORD_EVENT: "CallAnalyticsCostRecordEvent",
145
- LIVE_COMPLETE_EVENT: "CallAnalyticsLiveCompleteEvent",
146
- LIVE_INTERRUPTED_EVENT: "CallAnalyticsLiveInterruptedEvent",
147
- LIVE_PROGRESS_EVENT: "CallAnalyticsLiveProgressEvent",
148
- LIVE_TRANSCRIPTION_EVENT: "CallAnalyticsLiveTranscriptionEvent",
149
- RECORD_EVENT: "CallAnalyticsRecordEvent",
150
- TRANSCRIPTION_RECORD_EVENT: "CallAnalyticsTranscriptionRecordEvent",
151
- };
152
26
  export const ChannelType = {
153
27
  DIRECT: "direct",
154
28
  GROUP: "group",
155
29
  };
156
- export const ChatDirection = {
157
- INBOUND: "INBOUND",
158
- INTERNAL: "INTERNAL",
159
- OUTBOUND: "OUTBOUND",
160
- };
161
- export const ChatParticipantRole = {
162
- AGENT: "AGENT",
163
- CLIENT: "CLIENT",
164
- };
165
- export const ChatParticipantType = {
166
- LOCAL: "LOCAL",
167
- REMOTE: "REMOTE",
168
- };
169
- export const ChatStatus = {
170
- COMPLETED: "COMPLETED",
171
- MISSED: "MISSED",
172
- WAITFIRSTREPLY: "WAITFIRSTREPLY",
173
- WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT",
174
- WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST",
175
- };
176
- export const ChatTag = {
177
- SMS: "sms",
178
- TELEPHONY: "telephony",
179
- };
180
- export const ChatEventType = {
181
- LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
182
- LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
183
- LIVE_MISSED_EVENT: "ChatAnalyticsLiveMissedEvent",
184
- LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
185
- MANAGER_MISSED_EVENT: "ChatAnalyticsManagerMissedEvent",
186
- RECORD_EVENT: "ChatAnalyticsRecordEvent",
187
- };
188
- export const ConferenceEventType = {
189
- LIVE_COMPLETE_EVENT: "ConferenceAnalyticsLiveCompleteEvent",
190
- LIVE_INTERRUPTED_EVENT: "ConferenceAnalyticsLiveInterruptedEvent",
191
- LIVE_JOIN_EVENT: "ConferenceAnalyticsLiveJoinEvent",
192
- LIVE_LEAVE_EVENT: "ConferenceAnalyticsLiveLeaveEvent",
193
- LIVE_PROGRESS_EVENT: "ConferenceAnalyticsLiveProgressEvent",
194
- LIVE_TRANSCRIPTION_EVENT: "ConferenceAnalyticsLiveTranscriptionEvent",
195
- RECORD_EVENT: "ConferenceAnalyticsRecordEvent",
196
- TRANSCRIPTION_RECORD_EVENT: "ConferenceAnalyticsTranscriptionRecordEvent",
197
- };
198
- export const SmsConsumeEventType = {
199
- SMS_INBOUND: "SMS.INBOUND",
200
- SMS_STATUS: "SMS.STATUS",
201
- };
202
- export const SmsChannelType = {
203
- ONE_WAY: "1-way-sms",
204
- TWO_WAY: "2-way-sms",
205
- };
206
- export const SmsStatus = {
207
- DELIVERED: "delivered",
208
- ERROR: "error",
209
- SENT: "sent",
210
- TRYING: "trying",
211
- };
212
- export const PresenceAnalyticsEventType = {
213
- PRESENCE: "PRESENCE",
214
- PRESENCE_TELEPHONY: "PRESENCE_TELEPHONY",
215
- };
216
- export const PresenceEventType = {
217
- CONFERENCE_EVENT: "PresenceAnalyticsConferenceEvent",
218
- STATUS_EVENT: "PresenceAnalyticsStatusEvent",
219
- TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent",
220
- };
221
- export const WebhookEventType = {
222
- CALL_COMPLETED: "call:completed",
223
- CALL_LIVE_COMPLETED: "call:live:completed",
224
- CALL_LIVE_INTERRUPTED: "call:live:interrupted",
225
- CALL_LIVE_PROGRESS: "call:live:progress",
226
- CALL_LIVE_TRANSCRIPTION: "call:live:transcription",
227
- CHAT_COMPLETED: "chat:completed",
228
- CHAT_LIVE_COMPLETED: "chat:live:completed",
229
- CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
230
- CHAT_LIVE_PROGRESS: "chat:live:progress",
231
- CHAT_MANAGER_MISSED: "chat:manager:missed",
232
- CONFERENCE_COMPLETED: "conference:completed",
233
- CONFERENCE_LIVE_COMPLETED: "conference:live:completed",
234
- CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted",
235
- CONFERENCE_LIVE_JOIN: "conference:live:join",
236
- CONFERENCE_LIVE_LEAVE: "conference:live:leave",
237
- CONFERENCE_LIVE_PROGRESS: "conference:live:progress",
238
- CONFERENCE_LIVE_TRANSCRIPTION: "conference:live:transcription",
239
- OLD_CALL_END: "call:end",
240
- OLD_CALL_START: "call:start",
241
- OLD_CALL_UPDATE: "call:update",
242
- PRESENCE_CONFERENCE: "presence:conference",
243
- PRESENCE_TELEPHONY: "presence:telephony",
244
- PRESENCE_USER: "presence:user",
245
- };
246
- export const WebsocketEvent = {
247
- AUTHORIZED: "authorized",
248
- BROADCAST: "broadcast",
249
- SUBSCRIBED: "subscribed",
250
- };
251
- export const WebsocketTopic = {
252
- CONVERSATIONS: "conversations",
253
- PRESENCE: "presence",
254
- TRANSCRIPTIONS: "transcriptions",
255
- };
256
30
  export const ChannelMemberRole = {
257
31
  MEMBER: "member",
258
32
  SUPERVISOR: "supervisor",
@@ -345,6 +119,26 @@ export const ReactionType = {
345
119
  THUMBSUP: "thumbsup",
346
120
  WHITE_CHECK_MARK: "white_check_mark",
347
121
  };
122
+ export const WebhookEventType = {
123
+ CHANNEL_CREATED: "chat:channel:created",
124
+ CHANNEL_UPDATED: "chat:channel:updated",
125
+ MEMBER_ADDED: "chat:member:added",
126
+ MEMBER_REMOVED: "chat:member:removed",
127
+ MESSAGE_DELETED: "chat:message:deleted",
128
+ MESSAGE_NEW: "chat:message:new",
129
+ MESSAGE_UPDATED: "chat:message:updated",
130
+ REACTION_DELETED: "chat:reaction:deleted",
131
+ REACTION_NEW: "chat:reaction:new",
132
+ };
133
+ export const MessageSmsStatus = {
134
+ DELIVERED: "delivered",
135
+ ERROR: "error",
136
+ SENT: "sent",
137
+ TRYING: "trying",
138
+ };
139
+ export const MessageType = {
140
+ REGULAR: "regular",
141
+ };
348
142
  export class FileNotFoundException extends __BaseException {
349
143
  constructor(opts) {
350
144
  super({
@@ -357,15 +151,6 @@ export class FileNotFoundException extends __BaseException {
357
151
  Object.setPrototypeOf(this, FileNotFoundException.prototype);
358
152
  }
359
153
  }
360
- export const MessageSmsStatus = {
361
- DELIVERED: "delivered",
362
- ERROR: "error",
363
- SENT: "sent",
364
- TRYING: "trying",
365
- };
366
- export const MessageType = {
367
- REGULAR: "regular",
368
- };
369
154
  export const GroupChannelUnsetOptions = {
370
155
  ACCESS: "access",
371
156
  BROADCAST: "broadcast",
@@ -1,23 +1,7 @@
1
1
  import { ConversationsServiceException as __BaseException } from "../models/ConversationsServiceException";
2
2
  import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, ValidationException, } from "../models/models_0";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
- import { decorateServiceException as __decorateServiceException, 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";
5
- export const se_DescribeEventCommand = async (input, context) => {
6
- const b = rb(input, context);
7
- const headers = {
8
- 'content-type': 'application/json',
9
- };
10
- b.bp("/v2/stream/events/describe");
11
- let body;
12
- body = JSON.stringify(take(input, {
13
- 'SmsInboundEvent': _ => _json(_),
14
- 'SmsStatusEvent': _ => _json(_),
15
- }));
16
- b.m("POST")
17
- .h(headers)
18
- .b(body);
19
- return b.build();
20
- };
4
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
21
5
  export const se_AddChannelMemberCommand = async (input, context) => {
22
6
  const b = rb(input, context);
23
7
  const headers = {
@@ -150,6 +134,19 @@ export const se_DeleteMessageReactionCommand = async (input, context) => {
150
134
  .b(body);
151
135
  return b.build();
152
136
  };
137
+ export const se_DescribeEventCommand = async (input, context) => {
138
+ const b = rb(input, context);
139
+ const headers = {
140
+ 'content-type': 'application/json',
141
+ };
142
+ b.bp("/v2/conversations/describe");
143
+ let body;
144
+ body = "";
145
+ b.m("POST")
146
+ .h(headers)
147
+ .b(body);
148
+ return b.build();
149
+ };
153
150
  export const se_GetChannelCommand = async (input, context) => {
154
151
  const b = rb(input, context);
155
152
  const headers = {};
@@ -639,73 +636,6 @@ export const se_UploadFileCommand = async (input, context) => {
639
636
  .b(body);
640
637
  return b.build();
641
638
  };
642
- export const de_DescribeEventCommand = async (output, context) => {
643
- if (output.statusCode !== 200 && output.statusCode >= 300) {
644
- return de_CommandError(output, context);
645
- }
646
- const contents = map({
647
- $metadata: deserializeMetadata(output),
648
- });
649
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
650
- const doc = take(data, {
651
- 'CallAnalyticsCostRecordEvent': _ => de_CallAnalyticsCostRecordEvent(_, context),
652
- 'CallAnalyticsLiveCompleteEvent': _json,
653
- 'CallAnalyticsLiveInterruptedEvent': _json,
654
- 'CallAnalyticsLiveProgressEvent': _json,
655
- 'CallAnalyticsLiveTranscriptionEvent': _json,
656
- 'CallAnalyticsRecordEvent': _json,
657
- 'CallAnalyticsTranscriptionRecordEvent': _json,
658
- 'CallEventType': __expectString,
659
- 'ChatAnalyticsLiveCompleteEvent': _json,
660
- 'ChatAnalyticsLiveInterruptedEvent': _json,
661
- 'ChatAnalyticsLiveMissedEvent': _json,
662
- 'ChatAnalyticsLiveProgressEvent': _json,
663
- 'ChatAnalyticsManagerMissedEvent': _json,
664
- 'ChatAnalyticsRecordEvent': _json,
665
- 'ChatEventType': __expectString,
666
- 'ConferenceAnalyticsLiveCompleteEvent': _json,
667
- 'ConferenceAnalyticsLiveInterruptedEvent': _json,
668
- 'ConferenceAnalyticsLiveJoinEvent': _json,
669
- 'ConferenceAnalyticsLiveLeaveEvent': _json,
670
- 'ConferenceAnalyticsLiveProgressEvent': _json,
671
- 'ConferenceAnalyticsLiveTranscriptionEvent': _json,
672
- 'ConferenceAnalyticsRecordEvent': _json,
673
- 'ConferenceAnalyticsTranscriptionRecordEvent': _json,
674
- 'ConferenceEventType': __expectString,
675
- 'PresenceAnalyticsConferenceEvent': _json,
676
- 'PresenceAnalyticsStatusEvent': _json,
677
- 'PresenceAnalyticsTelephonyEvent': _json,
678
- 'PresenceEventType': __expectString,
679
- 'WebhookCallCompletedEvent': _json,
680
- 'WebhookCallLiveCompletedEvent': _json,
681
- 'WebhookCallLiveInterruptedEvent': _json,
682
- 'WebhookCallLiveProgressEvent': _json,
683
- 'WebhookCallLiveTranscriptionEvent': _json,
684
- 'WebhookChatCompletedEvent': _json,
685
- 'WebhookChatLiveCompletedEvent': _json,
686
- 'WebhookChatLiveInterruptedEvent': _json,
687
- 'WebhookChatLiveProgressEvent': _json,
688
- 'WebhookChatManagerMissedEvent': _json,
689
- 'WebhookConferenceCompletedEvent': _json,
690
- 'WebhookConferenceLiveCompletedEvent': _json,
691
- 'WebhookConferenceLiveInterruptedEvent': _json,
692
- 'WebhookConferenceLiveJoinEvent': _json,
693
- 'WebhookConferenceLiveLeaveEvent': _json,
694
- 'WebhookConferenceLiveProgressEvent': _json,
695
- 'WebhookConferenceLiveTranscriptionEvent': _json,
696
- 'WebhookOutdatedCallEndEvent': _json,
697
- 'WebhookOutdatedCallStartEvent': _json,
698
- 'WebhookOutdatedCallUpdateEvent': _json,
699
- 'WebhookPresenceConferenceEvent': _json,
700
- 'WebhookPresenceTelephonyEvent': _json,
701
- 'WebhookPresenceUserEvent': _json,
702
- 'WebsocketConversationsBroadcastEvent': _ => de_WebsocketConversationsBroadcastEvent(_, context),
703
- 'WebsocketPresenceBroadcastEvent': _ => de_WebsocketPresenceBroadcastEvent(_, context),
704
- 'WebsocketTranscriptionsBroadcastEvent': _ => de_WebsocketTranscriptionsBroadcastEvent(_, context),
705
- });
706
- Object.assign(contents, doc);
707
- return contents;
708
- };
709
639
  export const de_AddChannelMemberCommand = async (output, context) => {
710
640
  if (output.statusCode !== 200 && output.statusCode >= 300) {
711
641
  return de_CommandError(output, context);
@@ -790,6 +720,28 @@ export const de_DeleteMessageReactionCommand = async (output, context) => {
790
720
  await collectBody(output.body, context);
791
721
  return contents;
792
722
  };
723
+ export const de_DescribeEventCommand = async (output, context) => {
724
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
725
+ return de_CommandError(output, context);
726
+ }
727
+ const contents = map({
728
+ $metadata: deserializeMetadata(output),
729
+ });
730
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
731
+ const doc = take(data, {
732
+ 'WebhookChatChannelCreatedEvent': _json,
733
+ 'WebhookChatChannelUpdatedEvent': _json,
734
+ 'WebhookChatMemberAddedEvent': _json,
735
+ 'WebhookChatMemberRemovedEvent': _json,
736
+ 'WebhookChatMessageDeletedEvent': _json,
737
+ 'WebhookChatMessageNewEvent': _json,
738
+ 'WebhookChatMessageUpdatedEvent': _json,
739
+ 'WebhookChatReactionDeletedEvent': _json,
740
+ 'WebhookChatReactionNewEvent': _json,
741
+ });
742
+ Object.assign(contents, doc);
743
+ return contents;
744
+ };
793
745
  export const de_GetChannelCommand = async (output, context) => {
794
746
  if (output.statusCode !== 200 && output.statusCode >= 300) {
795
747
  return de_CommandError(output, context);
@@ -1160,18 +1112,18 @@ const de_CommandError = async (output, context) => {
1160
1112
  };
1161
1113
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1162
1114
  switch (errorCode) {
1163
- case "ForbiddenException":
1164
- case "smithy.framework#ForbiddenException":
1165
- throw await de_ForbiddenExceptionRes(parsedOutput, context);
1166
- case "ValidationException":
1167
- case "smithy.framework#ValidationException":
1168
- throw await de_ValidationExceptionRes(parsedOutput, context);
1169
1115
  case "ChannelNotFoundException":
1170
1116
  case "wildix.xbees.conversations#ChannelNotFoundException":
1171
1117
  throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
1118
+ case "ForbiddenException":
1119
+ case "smithy.framework#ForbiddenException":
1120
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1172
1121
  case "MemberAlreadyExistException":
1173
1122
  case "wildix.xbees.conversations#MemberAlreadyExistException":
1174
1123
  throw await de_MemberAlreadyExistExceptionRes(parsedOutput, context);
1124
+ case "ValidationException":
1125
+ case "smithy.framework#ValidationException":
1126
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1175
1127
  case "ChannelAlreadyExistException":
1176
1128
  case "wildix.xbees.conversations#ChannelAlreadyExistException":
1177
1129
  throw await de_ChannelAlreadyExistExceptionRes(parsedOutput, context);
@@ -1314,47 +1266,6 @@ const de_MessageNotFoundExceptionRes = async (parsedOutput, context) => {
1314
1266
  });
1315
1267
  return __decorateServiceException(exception, parsedOutput.body);
1316
1268
  };
1317
- const de_Document = (output, context) => {
1318
- return output;
1319
- };
1320
- const de_CallAnalyticsCostRecordEvent = (output, context) => {
1321
- return take(output, {
1322
- 'company': __expectString,
1323
- 'cost': __limitedParseDouble,
1324
- 'flowIndex': __expectInt32,
1325
- 'id': __expectString,
1326
- 'licenses': _json,
1327
- 'pbx': __expectString,
1328
- 'time': __expectLong,
1329
- 'transcriptions': _json,
1330
- 'type': __expectString,
1331
- });
1332
- };
1333
- const de_WebsocketConversationsBroadcastEvent = (output, context) => {
1334
- return take(output, {
1335
- 'data': (_) => de_Document(_, context),
1336
- 'event': __expectString,
1337
- 'meta': (_) => de_Document(_, context),
1338
- 'topic': __expectString,
1339
- });
1340
- };
1341
- const de_WebsocketPresenceBroadcastEvent = (output, context) => {
1342
- return take(output, {
1343
- 'data': _json,
1344
- 'delta': _json,
1345
- 'event': __expectString,
1346
- 'meta': (_) => de_Document(_, context),
1347
- 'topic': __expectString,
1348
- });
1349
- };
1350
- const de_WebsocketTranscriptionsBroadcastEvent = (output, context) => {
1351
- return take(output, {
1352
- 'data': (_) => de_Document(_, context),
1353
- 'event': __expectString,
1354
- 'meta': (_) => de_Document(_, context),
1355
- 'topic': __expectString,
1356
- });
1357
- };
1358
1269
  const deserializeMetadata = (output) => ({
1359
1270
  httpStatusCode: output.statusCode,
1360
1271
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -37,13 +37,6 @@ import { UpdateMessageCommandInput, UpdateMessageCommandOutput } from "./command
37
37
  import { UploadFileCommandInput, UploadFileCommandOutput } from "./commands/UploadFileCommand";
38
38
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
39
39
  export interface Conversations {
40
- /**
41
- * @see {@link DescribeEventCommand}
42
- */
43
- describeEvent(): Promise<DescribeEventCommandOutput>;
44
- describeEvent(args: DescribeEventCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventCommandOutput>;
45
- describeEvent(args: DescribeEventCommandInput, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
46
- describeEvent(args: DescribeEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
47
40
  /**
48
41
  * @see {@link AddChannelMemberCommand}
49
42
  */
@@ -87,6 +80,13 @@ export interface Conversations {
87
80
  deleteMessageReaction(args: DeleteMessageReactionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageReactionCommandOutput>;
88
81
  deleteMessageReaction(args: DeleteMessageReactionCommandInput, cb: (err: any, data?: DeleteMessageReactionCommandOutput) => void): void;
89
82
  deleteMessageReaction(args: DeleteMessageReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageReactionCommandOutput) => void): void;
83
+ /**
84
+ * @see {@link DescribeEventCommand}
85
+ */
86
+ describeEvent(): Promise<DescribeEventCommandOutput>;
87
+ describeEvent(args: DescribeEventCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventCommandOutput>;
88
+ describeEvent(args: DescribeEventCommandInput, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
89
+ describeEvent(args: DescribeEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
90
90
  /**
91
91
  * @see {@link GetChannelCommand}
92
92
  */