@wildix/xbees-conversations-client 1.1.0 → 1.1.1
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/Conversations.js +12 -0
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +21 -0
- package/dist-cjs/commands/PinMessageCommand.js +21 -0
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
- package/dist-cjs/commands/UnpinMessageCommand.js +21 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +77 -12
- package/dist-cjs/protocols/Aws_restJson1.js +230 -2
- package/dist-es/Conversations.js +12 -0
- package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/ListPinnedMessagesCommand.js +17 -0
- package/dist-es/commands/PinMessageCommand.js +17 -0
- package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
- package/dist-es/commands/UnpinMessageCommand.js +17 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +74 -11
- package/dist-es/protocols/Aws_restJson1.js +216 -1
- package/dist-types/Conversations.d.ts +42 -0
- package/dist-types/ConversationsClient.d.ts +8 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +144 -9
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
- package/dist-types/commands/GetMessageCommand.d.ts +24 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +24 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +224 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +53 -1
- package/dist-types/commands/PinMessageCommand.d.ts +73 -0
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +24 -0
- package/dist-types/commands/SendMessageCommand.d.ts +48 -0
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +75 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +71 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +49 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +466 -84
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +2 -2
|
@@ -60,6 +60,34 @@ export const ChannelType = {
|
|
|
60
60
|
DIRECT: "direct",
|
|
61
61
|
GROUP: "group",
|
|
62
62
|
};
|
|
63
|
+
export var ButtonHandler;
|
|
64
|
+
(function (ButtonHandler) {
|
|
65
|
+
ButtonHandler.visit = (value, visitor) => {
|
|
66
|
+
if (value.link !== undefined)
|
|
67
|
+
return visitor.link(value.link);
|
|
68
|
+
if (value.reply !== undefined)
|
|
69
|
+
return visitor.reply(value.reply);
|
|
70
|
+
if (value.action !== undefined)
|
|
71
|
+
return visitor.action(value.action);
|
|
72
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
73
|
+
};
|
|
74
|
+
})(ButtonHandler || (ButtonHandler = {}));
|
|
75
|
+
export const ButtonVariant = {
|
|
76
|
+
CONTAINED: "contained",
|
|
77
|
+
OUTLINED: "outlined",
|
|
78
|
+
};
|
|
79
|
+
export var ActionElement;
|
|
80
|
+
(function (ActionElement) {
|
|
81
|
+
ActionElement.visit = (value, visitor) => {
|
|
82
|
+
if (value.button !== undefined)
|
|
83
|
+
return visitor.button(value.button);
|
|
84
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
85
|
+
};
|
|
86
|
+
})(ActionElement || (ActionElement = {}));
|
|
87
|
+
export const ActionTriggerStatus = {
|
|
88
|
+
COMPLETED: "completed",
|
|
89
|
+
PENDING: "pending",
|
|
90
|
+
};
|
|
63
91
|
export const ChannelMemberRole = {
|
|
64
92
|
MEMBER: "member",
|
|
65
93
|
SUPERVISOR: "supervisor",
|
|
@@ -163,17 +191,14 @@ export const ReactionType = {
|
|
|
163
191
|
THUMBSUP: "thumbsup",
|
|
164
192
|
WHITE_CHECK_MARK: "white_check_mark",
|
|
165
193
|
};
|
|
166
|
-
export
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
REACTION_DELETED: "chat:reaction:deleted",
|
|
175
|
-
REACTION_NEW: "chat:reaction:new",
|
|
176
|
-
};
|
|
194
|
+
export var Element;
|
|
195
|
+
(function (Element) {
|
|
196
|
+
Element.visit = (value, visitor) => {
|
|
197
|
+
if (value.actions !== undefined)
|
|
198
|
+
return visitor.actions(value.actions);
|
|
199
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
200
|
+
};
|
|
201
|
+
})(Element || (Element = {}));
|
|
177
202
|
export const MessageSmsStatus = {
|
|
178
203
|
DELIVERED: "delivered",
|
|
179
204
|
ERROR: "error",
|
|
@@ -190,6 +215,30 @@ export const MessageWhatsAppStatus = {
|
|
|
190
215
|
SENT: "sent",
|
|
191
216
|
TRYING: "trying",
|
|
192
217
|
};
|
|
218
|
+
export const WebhookEventType = {
|
|
219
|
+
ACTION_TRIGGERED: "chat:action:triggered",
|
|
220
|
+
CHANNEL_CREATED: "chat:channel:created",
|
|
221
|
+
CHANNEL_UPDATED: "chat:channel:updated",
|
|
222
|
+
MEMBER_ADDED: "chat:member:added",
|
|
223
|
+
MEMBER_REMOVED: "chat:member:removed",
|
|
224
|
+
MESSAGE_DELETED: "chat:message:deleted",
|
|
225
|
+
MESSAGE_NEW: "chat:message:new",
|
|
226
|
+
MESSAGE_UPDATED: "chat:message:updated",
|
|
227
|
+
REACTION_DELETED: "chat:reaction:deleted",
|
|
228
|
+
REACTION_NEW: "chat:reaction:new",
|
|
229
|
+
};
|
|
230
|
+
export class TriggerNotFoundException extends __BaseException {
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "TriggerNotFoundException",
|
|
234
|
+
$fault: "client",
|
|
235
|
+
...opts
|
|
236
|
+
});
|
|
237
|
+
this.name = "TriggerNotFoundException";
|
|
238
|
+
this.$fault = "client";
|
|
239
|
+
Object.setPrototypeOf(this, TriggerNotFoundException.prototype);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
193
242
|
export class TagNotFoundException extends __BaseException {
|
|
194
243
|
constructor(opts) {
|
|
195
244
|
super({
|
|
@@ -224,7 +273,9 @@ export const GroupChannelUnsetOptions = {
|
|
|
224
273
|
};
|
|
225
274
|
export const MessageUnsetFields = {
|
|
226
275
|
ATTACHMENTS: "attachments",
|
|
276
|
+
ELEMENTS: "elements",
|
|
227
277
|
FORWARD: "forward",
|
|
278
|
+
MENTIONS: "mentions",
|
|
228
279
|
QUOTE: "quote",
|
|
229
280
|
TEXT: "text",
|
|
230
281
|
};
|
|
@@ -264,3 +315,15 @@ export class TaggedChannelsLimitReachedException extends __BaseException {
|
|
|
264
315
|
Object.setPrototypeOf(this, TaggedChannelsLimitReachedException.prototype);
|
|
265
316
|
}
|
|
266
317
|
}
|
|
318
|
+
export class MessageActionNotFoundException extends __BaseException {
|
|
319
|
+
constructor(opts) {
|
|
320
|
+
super({
|
|
321
|
+
name: "MessageActionNotFoundException",
|
|
322
|
+
$fault: "client",
|
|
323
|
+
...opts
|
|
324
|
+
});
|
|
325
|
+
this.name = "MessageActionNotFoundException";
|
|
326
|
+
this.$fault = "client";
|
|
327
|
+
Object.setPrototypeOf(this, MessageActionNotFoundException.prototype);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConversationsServiceException as __BaseException } from "../models/ConversationsServiceException";
|
|
2
|
-
import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageNotFoundException, PinnedChannelsLimitReachedException, RateLimitExceededException, TagNotFoundException, TaggedChannelsLimitReachedException, TagsLimitReachedException, ValidationException, } from "../models/models_0";
|
|
2
|
+
import { ChannelAlreadyExistException, ChannelNotFoundException, ConversationsServiceException, FileNotFoundException, ForbiddenException, MarkUnreadChannelsLimitReachedException, MemberAlreadyExistException, MemberNotFoundException, MessageActionNotFoundException, MessageNotFoundException, PinnedChannelsLimitReachedException, RateLimitExceededException, TagNotFoundException, TaggedChannelsLimitReachedException, TagsLimitReachedException, TriggerNotFoundException, ValidationException, } from "../models/models_0";
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
4
|
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
export const se_AddChannelMemberCommand = async (input, context) => {
|
|
@@ -182,6 +182,21 @@ export const se_DescribeEventCommand = async (input, context) => {
|
|
|
182
182
|
.b(body);
|
|
183
183
|
return b.build();
|
|
184
184
|
};
|
|
185
|
+
export const se_GetActionTriggerResultCommand = async (input, context) => {
|
|
186
|
+
const b = rb(input, context);
|
|
187
|
+
const headers = {};
|
|
188
|
+
b.bp("/v2/conversations/triggers/{triggerId}/result");
|
|
189
|
+
b.p('triggerId', () => input.triggerId, '{triggerId}', false);
|
|
190
|
+
const query = map({
|
|
191
|
+
[_u]: [, input[_uI]],
|
|
192
|
+
});
|
|
193
|
+
let body;
|
|
194
|
+
b.m("GET")
|
|
195
|
+
.h(headers)
|
|
196
|
+
.q(query)
|
|
197
|
+
.b(body);
|
|
198
|
+
return b.build();
|
|
199
|
+
};
|
|
185
200
|
export const se_GetChannelCommand = async (input, context) => {
|
|
186
201
|
const b = rb(input, context);
|
|
187
202
|
const headers = {};
|
|
@@ -469,6 +484,22 @@ export const se_ListMessagesCommand = async (input, context) => {
|
|
|
469
484
|
.b(body);
|
|
470
485
|
return b.build();
|
|
471
486
|
};
|
|
487
|
+
export const se_ListPinnedMessagesCommand = async (input, context) => {
|
|
488
|
+
const b = rb(input, context);
|
|
489
|
+
const headers = {};
|
|
490
|
+
b.bp("/v2/conversations/channels/{channelId}/pinned_messages");
|
|
491
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
492
|
+
const query = map({
|
|
493
|
+
[_l]: [() => input.limit !== void 0, () => (input[_l].toString())],
|
|
494
|
+
[_o]: [() => input.offset !== void 0, () => (input[_o].toString())],
|
|
495
|
+
});
|
|
496
|
+
let body;
|
|
497
|
+
b.m("GET")
|
|
498
|
+
.h(headers)
|
|
499
|
+
.q(query)
|
|
500
|
+
.b(body);
|
|
501
|
+
return b.build();
|
|
502
|
+
};
|
|
472
503
|
export const se_MarkReadCommand = async (input, context) => {
|
|
473
504
|
const b = rb(input, context);
|
|
474
505
|
const headers = {};
|
|
@@ -541,6 +572,7 @@ export const se_PartialUpdateMessageCommand = async (input, context) => {
|
|
|
541
572
|
let body;
|
|
542
573
|
body = JSON.stringify(take(input, {
|
|
543
574
|
'set': _ => _json(_),
|
|
575
|
+
'silent': [],
|
|
544
576
|
'unset': _ => _json(_),
|
|
545
577
|
}));
|
|
546
578
|
b.m("PATCH")
|
|
@@ -565,6 +597,29 @@ export const se_PinChannelCommand = async (input, context) => {
|
|
|
565
597
|
.b(body);
|
|
566
598
|
return b.build();
|
|
567
599
|
};
|
|
600
|
+
export const se_PinMessageCommand = async (input, context) => {
|
|
601
|
+
const b = rb(input, context);
|
|
602
|
+
const headers = {
|
|
603
|
+
'content-type': 'application/json',
|
|
604
|
+
};
|
|
605
|
+
b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}/pin");
|
|
606
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
607
|
+
b.p('messageId', () => input.messageId, '{messageId}', false);
|
|
608
|
+
const query = map({
|
|
609
|
+
[_u]: [, input[_uI]],
|
|
610
|
+
});
|
|
611
|
+
let body;
|
|
612
|
+
body = JSON.stringify(take(input, {
|
|
613
|
+
'expiresAfter': [],
|
|
614
|
+
'expiresAt': [],
|
|
615
|
+
'silent': [],
|
|
616
|
+
}));
|
|
617
|
+
b.m("PUT")
|
|
618
|
+
.h(headers)
|
|
619
|
+
.q(query)
|
|
620
|
+
.b(body);
|
|
621
|
+
return b.build();
|
|
622
|
+
};
|
|
568
623
|
export const se_ScheduleExternalFlagAdjustmentJobCommand = async (input, context) => {
|
|
569
624
|
const b = rb(input, context);
|
|
570
625
|
const headers = {
|
|
@@ -580,6 +635,23 @@ export const se_ScheduleExternalFlagAdjustmentJobCommand = async (input, context
|
|
|
580
635
|
.b(body);
|
|
581
636
|
return b.build();
|
|
582
637
|
};
|
|
638
|
+
export const se_SendActionTriggerResultCommand = async (input, context) => {
|
|
639
|
+
const b = rb(input, context);
|
|
640
|
+
const headers = {
|
|
641
|
+
'content-type': 'application/json',
|
|
642
|
+
};
|
|
643
|
+
b.bp("/v2/conversations/triggers/{triggerId}/result");
|
|
644
|
+
b.p('triggerId', () => input.triggerId, '{triggerId}', false);
|
|
645
|
+
let body;
|
|
646
|
+
body = JSON.stringify(take(input, {
|
|
647
|
+
'result': _ => _json(_),
|
|
648
|
+
'status': [],
|
|
649
|
+
}));
|
|
650
|
+
b.m("POST")
|
|
651
|
+
.h(headers)
|
|
652
|
+
.b(body);
|
|
653
|
+
return b.build();
|
|
654
|
+
};
|
|
583
655
|
export const se_SendGiphyCommand = async (input, context) => {
|
|
584
656
|
const b = rb(input, context);
|
|
585
657
|
const headers = {
|
|
@@ -614,6 +686,7 @@ export const se_SendMessageCommand = async (input, context) => {
|
|
|
614
686
|
let body;
|
|
615
687
|
body = JSON.stringify(take(input, {
|
|
616
688
|
'attachments': _ => _json(_),
|
|
689
|
+
'elements': _ => _json(_),
|
|
617
690
|
'forward': _ => _json(_),
|
|
618
691
|
'mentions': _ => _json(_),
|
|
619
692
|
'messageId': [],
|
|
@@ -709,6 +782,23 @@ export const se_TagChannelCommand = async (input, context) => {
|
|
|
709
782
|
.b(body);
|
|
710
783
|
return b.build();
|
|
711
784
|
};
|
|
785
|
+
export const se_TriggerMessageActionCommand = async (input, context) => {
|
|
786
|
+
const b = rb(input, context);
|
|
787
|
+
const headers = {};
|
|
788
|
+
b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}/actions/{actionId}/trigger");
|
|
789
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
790
|
+
b.p('messageId', () => input.messageId, '{messageId}', false);
|
|
791
|
+
b.p('actionId', () => input.actionId, '{actionId}', false);
|
|
792
|
+
const query = map({
|
|
793
|
+
[_u]: [, input[_uI]],
|
|
794
|
+
});
|
|
795
|
+
let body;
|
|
796
|
+
b.m("POST")
|
|
797
|
+
.h(headers)
|
|
798
|
+
.q(query)
|
|
799
|
+
.b(body);
|
|
800
|
+
return b.build();
|
|
801
|
+
};
|
|
712
802
|
export const se_UnpinChannelCommand = async (input, context) => {
|
|
713
803
|
const b = rb(input, context);
|
|
714
804
|
const headers = {};
|
|
@@ -724,6 +814,23 @@ export const se_UnpinChannelCommand = async (input, context) => {
|
|
|
724
814
|
.b(body);
|
|
725
815
|
return b.build();
|
|
726
816
|
};
|
|
817
|
+
export const se_UnpinMessageCommand = async (input, context) => {
|
|
818
|
+
const b = rb(input, context);
|
|
819
|
+
const headers = {};
|
|
820
|
+
b.bp("/v2/conversations/channels/{channelId}/messages/{messageId}/pin");
|
|
821
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
822
|
+
b.p('messageId', () => input.messageId, '{messageId}', false);
|
|
823
|
+
const query = map({
|
|
824
|
+
[_u]: [, input[_uI]],
|
|
825
|
+
[_s]: [() => input.silent !== void 0, () => (input[_s].toString())],
|
|
826
|
+
});
|
|
827
|
+
let body;
|
|
828
|
+
b.m("DELETE")
|
|
829
|
+
.h(headers)
|
|
830
|
+
.q(query)
|
|
831
|
+
.b(body);
|
|
832
|
+
return b.build();
|
|
833
|
+
};
|
|
727
834
|
export const se_UntagChannelCommand = async (input, context) => {
|
|
728
835
|
const b = rb(input, context);
|
|
729
836
|
const headers = {
|
|
@@ -804,9 +911,11 @@ export const se_UpdateMessageCommand = async (input, context) => {
|
|
|
804
911
|
let body;
|
|
805
912
|
body = JSON.stringify(take(input, {
|
|
806
913
|
'attachments': _ => _json(_),
|
|
914
|
+
'elements': _ => _json(_),
|
|
807
915
|
'forward': _ => _json(_),
|
|
808
916
|
'mentions': _ => _json(_),
|
|
809
917
|
'quote': _ => _json(_),
|
|
918
|
+
'silent': [],
|
|
810
919
|
'text': [],
|
|
811
920
|
}));
|
|
812
921
|
b.m("PUT")
|
|
@@ -953,6 +1062,7 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
953
1062
|
});
|
|
954
1063
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
955
1064
|
const doc = take(data, {
|
|
1065
|
+
'WebhookChatActionTriggeredEvent': _json,
|
|
956
1066
|
'WebhookChatChannelCreatedEvent': _json,
|
|
957
1067
|
'WebhookChatChannelUpdatedEvent': _json,
|
|
958
1068
|
'WebhookChatMemberAddedEvent': _json,
|
|
@@ -966,6 +1076,21 @@ export const de_DescribeEventCommand = async (output, context) => {
|
|
|
966
1076
|
Object.assign(contents, doc);
|
|
967
1077
|
return contents;
|
|
968
1078
|
};
|
|
1079
|
+
export const de_GetActionTriggerResultCommand = async (output, context) => {
|
|
1080
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1081
|
+
return de_CommandError(output, context);
|
|
1082
|
+
}
|
|
1083
|
+
const contents = map({
|
|
1084
|
+
$metadata: deserializeMetadata(output),
|
|
1085
|
+
});
|
|
1086
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1087
|
+
const doc = take(data, {
|
|
1088
|
+
'result': _json,
|
|
1089
|
+
'status': __expectString,
|
|
1090
|
+
});
|
|
1091
|
+
Object.assign(contents, doc);
|
|
1092
|
+
return contents;
|
|
1093
|
+
};
|
|
969
1094
|
export const de_GetChannelCommand = async (output, context) => {
|
|
970
1095
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
971
1096
|
return de_CommandError(output, context);
|
|
@@ -1213,6 +1338,20 @@ export const de_ListMessagesCommand = async (output, context) => {
|
|
|
1213
1338
|
Object.assign(contents, doc);
|
|
1214
1339
|
return contents;
|
|
1215
1340
|
};
|
|
1341
|
+
export const de_ListPinnedMessagesCommand = async (output, context) => {
|
|
1342
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1343
|
+
return de_CommandError(output, context);
|
|
1344
|
+
}
|
|
1345
|
+
const contents = map({
|
|
1346
|
+
$metadata: deserializeMetadata(output),
|
|
1347
|
+
});
|
|
1348
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1349
|
+
const doc = take(data, {
|
|
1350
|
+
'messages': _json,
|
|
1351
|
+
});
|
|
1352
|
+
Object.assign(contents, doc);
|
|
1353
|
+
return contents;
|
|
1354
|
+
};
|
|
1216
1355
|
export const de_MarkReadCommand = async (output, context) => {
|
|
1217
1356
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1218
1357
|
return de_CommandError(output, context);
|
|
@@ -1271,6 +1410,16 @@ export const de_PinChannelCommand = async (output, context) => {
|
|
|
1271
1410
|
await collectBody(output.body, context);
|
|
1272
1411
|
return contents;
|
|
1273
1412
|
};
|
|
1413
|
+
export const de_PinMessageCommand = async (output, context) => {
|
|
1414
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1415
|
+
return de_CommandError(output, context);
|
|
1416
|
+
}
|
|
1417
|
+
const contents = map({
|
|
1418
|
+
$metadata: deserializeMetadata(output),
|
|
1419
|
+
});
|
|
1420
|
+
await collectBody(output.body, context);
|
|
1421
|
+
return contents;
|
|
1422
|
+
};
|
|
1274
1423
|
export const de_ScheduleExternalFlagAdjustmentJobCommand = async (output, context) => {
|
|
1275
1424
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1276
1425
|
return de_CommandError(output, context);
|
|
@@ -1281,6 +1430,16 @@ export const de_ScheduleExternalFlagAdjustmentJobCommand = async (output, contex
|
|
|
1281
1430
|
await collectBody(output.body, context);
|
|
1282
1431
|
return contents;
|
|
1283
1432
|
};
|
|
1433
|
+
export const de_SendActionTriggerResultCommand = async (output, context) => {
|
|
1434
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1435
|
+
return de_CommandError(output, context);
|
|
1436
|
+
}
|
|
1437
|
+
const contents = map({
|
|
1438
|
+
$metadata: deserializeMetadata(output),
|
|
1439
|
+
});
|
|
1440
|
+
await collectBody(output.body, context);
|
|
1441
|
+
return contents;
|
|
1442
|
+
};
|
|
1284
1443
|
export const de_SendGiphyCommand = async (output, context) => {
|
|
1285
1444
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1286
1445
|
return de_CommandError(output, context);
|
|
@@ -1359,6 +1518,20 @@ export const de_TagChannelCommand = async (output, context) => {
|
|
|
1359
1518
|
await collectBody(output.body, context);
|
|
1360
1519
|
return contents;
|
|
1361
1520
|
};
|
|
1521
|
+
export const de_TriggerMessageActionCommand = async (output, context) => {
|
|
1522
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1523
|
+
return de_CommandError(output, context);
|
|
1524
|
+
}
|
|
1525
|
+
const contents = map({
|
|
1526
|
+
$metadata: deserializeMetadata(output),
|
|
1527
|
+
});
|
|
1528
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1529
|
+
const doc = take(data, {
|
|
1530
|
+
'triggerId': __expectString,
|
|
1531
|
+
});
|
|
1532
|
+
Object.assign(contents, doc);
|
|
1533
|
+
return contents;
|
|
1534
|
+
};
|
|
1362
1535
|
export const de_UnpinChannelCommand = async (output, context) => {
|
|
1363
1536
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1364
1537
|
return de_CommandError(output, context);
|
|
@@ -1369,6 +1542,16 @@ export const de_UnpinChannelCommand = async (output, context) => {
|
|
|
1369
1542
|
await collectBody(output.body, context);
|
|
1370
1543
|
return contents;
|
|
1371
1544
|
};
|
|
1545
|
+
export const de_UnpinMessageCommand = async (output, context) => {
|
|
1546
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1547
|
+
return de_CommandError(output, context);
|
|
1548
|
+
}
|
|
1549
|
+
const contents = map({
|
|
1550
|
+
$metadata: deserializeMetadata(output),
|
|
1551
|
+
});
|
|
1552
|
+
await collectBody(output.body, context);
|
|
1553
|
+
return contents;
|
|
1554
|
+
};
|
|
1372
1555
|
export const de_UntagChannelCommand = async (output, context) => {
|
|
1373
1556
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1374
1557
|
return de_CommandError(output, context);
|
|
@@ -1470,6 +1653,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1470
1653
|
case "MessageNotFoundException":
|
|
1471
1654
|
case "wildix.xbees.conversations#MessageNotFoundException":
|
|
1472
1655
|
throw await de_MessageNotFoundExceptionRes(parsedOutput, context);
|
|
1656
|
+
case "TriggerNotFoundException":
|
|
1657
|
+
case "wildix.xbees.conversations#TriggerNotFoundException":
|
|
1658
|
+
throw await de_TriggerNotFoundExceptionRes(parsedOutput, context);
|
|
1473
1659
|
case "FileNotFoundException":
|
|
1474
1660
|
case "wildix.xbees.conversations#FileNotFoundException":
|
|
1475
1661
|
throw await de_FileNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1488,6 +1674,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1488
1674
|
case "TaggedChannelsLimitReachedException":
|
|
1489
1675
|
case "wildix.xbees.conversations#TaggedChannelsLimitReachedException":
|
|
1490
1676
|
throw await de_TaggedChannelsLimitReachedExceptionRes(parsedOutput, context);
|
|
1677
|
+
case "MessageActionNotFoundException":
|
|
1678
|
+
case "wildix.xbees.conversations#MessageActionNotFoundException":
|
|
1679
|
+
throw await de_MessageActionNotFoundExceptionRes(parsedOutput, context);
|
|
1491
1680
|
default:
|
|
1492
1681
|
const parsedBody = parsedOutput.body;
|
|
1493
1682
|
return throwDefaultError({
|
|
@@ -1633,6 +1822,19 @@ const de_MemberNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1633
1822
|
});
|
|
1634
1823
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1635
1824
|
};
|
|
1825
|
+
const de_MessageActionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1826
|
+
const contents = map({});
|
|
1827
|
+
const data = parsedOutput.body;
|
|
1828
|
+
const doc = take(data, {
|
|
1829
|
+
'message': __expectString,
|
|
1830
|
+
});
|
|
1831
|
+
Object.assign(contents, doc);
|
|
1832
|
+
const exception = new MessageActionNotFoundException({
|
|
1833
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1834
|
+
...contents
|
|
1835
|
+
});
|
|
1836
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1837
|
+
};
|
|
1636
1838
|
const de_MessageNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1637
1839
|
const contents = map({});
|
|
1638
1840
|
const data = parsedOutput.body;
|
|
@@ -1698,6 +1900,19 @@ const de_TagsLimitReachedExceptionRes = async (parsedOutput, context) => {
|
|
|
1698
1900
|
});
|
|
1699
1901
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1700
1902
|
};
|
|
1903
|
+
const de_TriggerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1904
|
+
const contents = map({});
|
|
1905
|
+
const data = parsedOutput.body;
|
|
1906
|
+
const doc = take(data, {
|
|
1907
|
+
'message': __expectString,
|
|
1908
|
+
});
|
|
1909
|
+
Object.assign(contents, doc);
|
|
1910
|
+
const exception = new TriggerNotFoundException({
|
|
1911
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1912
|
+
...contents
|
|
1913
|
+
});
|
|
1914
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1915
|
+
};
|
|
1701
1916
|
const deserializeMetadata = (output) => ({
|
|
1702
1917
|
httpStatusCode: output.statusCode,
|
|
1703
1918
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -9,6 +9,7 @@ import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./comma
|
|
|
9
9
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
10
10
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
11
11
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
12
|
+
import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "./commands/GetActionTriggerResultCommand";
|
|
12
13
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
13
14
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
14
15
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
@@ -27,12 +28,15 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
27
28
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
28
29
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
29
30
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
31
|
+
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "./commands/ListPinnedMessagesCommand";
|
|
30
32
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
31
33
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
32
34
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
33
35
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
34
36
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
37
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
35
38
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
39
|
+
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
|
|
36
40
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
37
41
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
38
42
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
@@ -40,7 +44,9 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./com
|
|
|
40
44
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
41
45
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
42
46
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
|
|
47
|
+
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "./commands/TriggerMessageActionCommand";
|
|
43
48
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
|
|
49
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
44
50
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
|
|
45
51
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
46
52
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
@@ -110,6 +116,12 @@ export interface Conversations {
|
|
|
110
116
|
describeEvent(args: DescribeEventCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventCommandOutput>;
|
|
111
117
|
describeEvent(args: DescribeEventCommandInput, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
|
|
112
118
|
describeEvent(args: DescribeEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventCommandOutput) => void): void;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link GetActionTriggerResultCommand}
|
|
121
|
+
*/
|
|
122
|
+
getActionTriggerResult(args: GetActionTriggerResultCommandInput, options?: __HttpHandlerOptions): Promise<GetActionTriggerResultCommandOutput>;
|
|
123
|
+
getActionTriggerResult(args: GetActionTriggerResultCommandInput, cb: (err: any, data?: GetActionTriggerResultCommandOutput) => void): void;
|
|
124
|
+
getActionTriggerResult(args: GetActionTriggerResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetActionTriggerResultCommandOutput) => void): void;
|
|
113
125
|
/**
|
|
114
126
|
* @see {@link GetChannelCommand}
|
|
115
127
|
*/
|
|
@@ -223,6 +235,12 @@ export interface Conversations {
|
|
|
223
235
|
listMessages(args: ListMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListMessagesCommandOutput>;
|
|
224
236
|
listMessages(args: ListMessagesCommandInput, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
225
237
|
listMessages(args: ListMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
238
|
+
/**
|
|
239
|
+
* @see {@link ListPinnedMessagesCommand}
|
|
240
|
+
*/
|
|
241
|
+
listPinnedMessages(args: ListPinnedMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListPinnedMessagesCommandOutput>;
|
|
242
|
+
listPinnedMessages(args: ListPinnedMessagesCommandInput, cb: (err: any, data?: ListPinnedMessagesCommandOutput) => void): void;
|
|
243
|
+
listPinnedMessages(args: ListPinnedMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPinnedMessagesCommandOutput) => void): void;
|
|
226
244
|
/**
|
|
227
245
|
* @see {@link MarkReadCommand}
|
|
228
246
|
*/
|
|
@@ -253,12 +271,24 @@ export interface Conversations {
|
|
|
253
271
|
pinChannel(args: PinChannelCommandInput, options?: __HttpHandlerOptions): Promise<PinChannelCommandOutput>;
|
|
254
272
|
pinChannel(args: PinChannelCommandInput, cb: (err: any, data?: PinChannelCommandOutput) => void): void;
|
|
255
273
|
pinChannel(args: PinChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PinChannelCommandOutput) => void): void;
|
|
274
|
+
/**
|
|
275
|
+
* @see {@link PinMessageCommand}
|
|
276
|
+
*/
|
|
277
|
+
pinMessage(args: PinMessageCommandInput, options?: __HttpHandlerOptions): Promise<PinMessageCommandOutput>;
|
|
278
|
+
pinMessage(args: PinMessageCommandInput, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
279
|
+
pinMessage(args: PinMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
256
280
|
/**
|
|
257
281
|
* @see {@link ScheduleExternalFlagAdjustmentJobCommand}
|
|
258
282
|
*/
|
|
259
283
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options?: __HttpHandlerOptions): Promise<ScheduleExternalFlagAdjustmentJobCommandOutput>;
|
|
260
284
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
|
|
261
285
|
scheduleExternalFlagAdjustmentJob(args: ScheduleExternalFlagAdjustmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScheduleExternalFlagAdjustmentJobCommandOutput) => void): void;
|
|
286
|
+
/**
|
|
287
|
+
* @see {@link SendActionTriggerResultCommand}
|
|
288
|
+
*/
|
|
289
|
+
sendActionTriggerResult(args: SendActionTriggerResultCommandInput, options?: __HttpHandlerOptions): Promise<SendActionTriggerResultCommandOutput>;
|
|
290
|
+
sendActionTriggerResult(args: SendActionTriggerResultCommandInput, cb: (err: any, data?: SendActionTriggerResultCommandOutput) => void): void;
|
|
291
|
+
sendActionTriggerResult(args: SendActionTriggerResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendActionTriggerResultCommandOutput) => void): void;
|
|
262
292
|
/**
|
|
263
293
|
* @see {@link SendGiphyCommand}
|
|
264
294
|
*/
|
|
@@ -301,12 +331,24 @@ export interface Conversations {
|
|
|
301
331
|
tagChannel(args: TagChannelCommandInput, options?: __HttpHandlerOptions): Promise<TagChannelCommandOutput>;
|
|
302
332
|
tagChannel(args: TagChannelCommandInput, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
|
|
303
333
|
tagChannel(args: TagChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagChannelCommandOutput) => void): void;
|
|
334
|
+
/**
|
|
335
|
+
* @see {@link TriggerMessageActionCommand}
|
|
336
|
+
*/
|
|
337
|
+
triggerMessageAction(args: TriggerMessageActionCommandInput, options?: __HttpHandlerOptions): Promise<TriggerMessageActionCommandOutput>;
|
|
338
|
+
triggerMessageAction(args: TriggerMessageActionCommandInput, cb: (err: any, data?: TriggerMessageActionCommandOutput) => void): void;
|
|
339
|
+
triggerMessageAction(args: TriggerMessageActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TriggerMessageActionCommandOutput) => void): void;
|
|
304
340
|
/**
|
|
305
341
|
* @see {@link UnpinChannelCommand}
|
|
306
342
|
*/
|
|
307
343
|
unpinChannel(args: UnpinChannelCommandInput, options?: __HttpHandlerOptions): Promise<UnpinChannelCommandOutput>;
|
|
308
344
|
unpinChannel(args: UnpinChannelCommandInput, cb: (err: any, data?: UnpinChannelCommandOutput) => void): void;
|
|
309
345
|
unpinChannel(args: UnpinChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnpinChannelCommandOutput) => void): void;
|
|
346
|
+
/**
|
|
347
|
+
* @see {@link UnpinMessageCommand}
|
|
348
|
+
*/
|
|
349
|
+
unpinMessage(args: UnpinMessageCommandInput, options?: __HttpHandlerOptions): Promise<UnpinMessageCommandOutput>;
|
|
350
|
+
unpinMessage(args: UnpinMessageCommandInput, cb: (err: any, data?: UnpinMessageCommandOutput) => void): void;
|
|
351
|
+
unpinMessage(args: UnpinMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnpinMessageCommandOutput) => void): void;
|
|
310
352
|
/**
|
|
311
353
|
* @see {@link UntagChannelCommand}
|
|
312
354
|
*/
|
|
@@ -8,6 +8,7 @@ import { DeleteInboxTagCommandInput, DeleteInboxTagCommandOutput } from "./comma
|
|
|
8
8
|
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
9
9
|
import { DeleteMessageReactionCommandInput, DeleteMessageReactionCommandOutput } from "./commands/DeleteMessageReactionCommand";
|
|
10
10
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
|
|
11
|
+
import { GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput } from "./commands/GetActionTriggerResultCommand";
|
|
11
12
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
12
13
|
import { GetChannelMemberCommandInput, GetChannelMemberCommandOutput } from "./commands/GetChannelMemberCommand";
|
|
13
14
|
import { GetDirectChannelIdCommandInput, GetDirectChannelIdCommandOutput } from "./commands/GetDirectChannelIdCommand";
|
|
@@ -26,12 +27,15 @@ import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutp
|
|
|
26
27
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "./commands/ListInboxTagsCommand";
|
|
27
28
|
import { ListMessageReactionsCommandInput, ListMessageReactionsCommandOutput } from "./commands/ListMessageReactionsCommand";
|
|
28
29
|
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
30
|
+
import { ListPinnedMessagesCommandInput, ListPinnedMessagesCommandOutput } from "./commands/ListPinnedMessagesCommand";
|
|
29
31
|
import { MarkReadCommandInput, MarkReadCommandOutput } from "./commands/MarkReadCommand";
|
|
30
32
|
import { MarkUnreadCommandInput, MarkUnreadCommandOutput } from "./commands/MarkUnreadCommand";
|
|
31
33
|
import { PartialUpdateChannelCommandInput, PartialUpdateChannelCommandOutput } from "./commands/PartialUpdateChannelCommand";
|
|
32
34
|
import { PartialUpdateMessageCommandInput, PartialUpdateMessageCommandOutput } from "./commands/PartialUpdateMessageCommand";
|
|
33
35
|
import { PinChannelCommandInput, PinChannelCommandOutput } from "./commands/PinChannelCommand";
|
|
36
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
34
37
|
import { ScheduleExternalFlagAdjustmentJobCommandInput, ScheduleExternalFlagAdjustmentJobCommandOutput } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
38
|
+
import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutput } from "./commands/SendActionTriggerResultCommand";
|
|
35
39
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "./commands/SendGiphyCommand";
|
|
36
40
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
37
41
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "./commands/SendMessageReactionCommand";
|
|
@@ -39,7 +43,9 @@ import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "./com
|
|
|
39
43
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "./commands/SendTypingStopCommand";
|
|
40
44
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "./commands/ShowChannelCommand";
|
|
41
45
|
import { TagChannelCommandInput, TagChannelCommandOutput } from "./commands/TagChannelCommand";
|
|
46
|
+
import { TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput } from "./commands/TriggerMessageActionCommand";
|
|
42
47
|
import { UnpinChannelCommandInput, UnpinChannelCommandOutput } from "./commands/UnpinChannelCommand";
|
|
48
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
43
49
|
import { UntagChannelCommandInput, UntagChannelCommandOutput } from "./commands/UntagChannelCommand";
|
|
44
50
|
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
45
51
|
import { UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput } from "./commands/UpdateInboxTagCommand";
|
|
@@ -56,11 +62,11 @@ export { __Client };
|
|
|
56
62
|
/**
|
|
57
63
|
* @public
|
|
58
64
|
*/
|
|
59
|
-
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | UnpinChannelCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
65
|
+
export type ServiceInputTypes = AddChannelMemberCommandInput | AddChannelMembersCommandInput | CreateGroupChannelCommandInput | CreateInboxTagCommandInput | DeleteChannelCommandInput | DeleteChannelMemberCommandInput | DeleteInboxTagCommandInput | DeleteMessageCommandInput | DeleteMessageReactionCommandInput | DescribeEventCommandInput | GetActionTriggerResultCommandInput | GetChannelCommandInput | GetChannelMemberCommandInput | GetDirectChannelIdCommandInput | GetFilePresignedDownloadUrlCommandInput | GetInboxStateCommandInput | GetMessageCommandInput | GetOrCreateDirectChannelCommandInput | GetUploadedFileInfoCommandInput | HideChannelCommandInput | InviteCommandInput | JoinChannelCommandInput | LeaveChannelCommandInput | ListChannelMembersCommandInput | ListChannelsCommandInput | ListInboxTaggedChannelsCommandInput | ListInboxTagsCommandInput | ListMessageReactionsCommandInput | ListMessagesCommandInput | ListPinnedMessagesCommandInput | MarkReadCommandInput | MarkUnreadCommandInput | PartialUpdateChannelCommandInput | PartialUpdateMessageCommandInput | PinChannelCommandInput | PinMessageCommandInput | ScheduleExternalFlagAdjustmentJobCommandInput | SendActionTriggerResultCommandInput | SendGiphyCommandInput | SendMessageCommandInput | SendMessageReactionCommandInput | SendTypingStartCommandInput | SendTypingStopCommandInput | ShowChannelCommandInput | TagChannelCommandInput | TriggerMessageActionCommandInput | UnpinChannelCommandInput | UnpinMessageCommandInput | UntagChannelCommandInput | UpdateChannelCommandInput | UpdateInboxTagCommandInput | UpdateMessageCommandInput | UploadFileCommandInput;
|
|
60
66
|
/**
|
|
61
67
|
* @public
|
|
62
68
|
*/
|
|
63
|
-
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | UnpinChannelCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
69
|
+
export type ServiceOutputTypes = AddChannelMemberCommandOutput | AddChannelMembersCommandOutput | CreateGroupChannelCommandOutput | CreateInboxTagCommandOutput | DeleteChannelCommandOutput | DeleteChannelMemberCommandOutput | DeleteInboxTagCommandOutput | DeleteMessageCommandOutput | DeleteMessageReactionCommandOutput | DescribeEventCommandOutput | GetActionTriggerResultCommandOutput | GetChannelCommandOutput | GetChannelMemberCommandOutput | GetDirectChannelIdCommandOutput | GetFilePresignedDownloadUrlCommandOutput | GetInboxStateCommandOutput | GetMessageCommandOutput | GetOrCreateDirectChannelCommandOutput | GetUploadedFileInfoCommandOutput | HideChannelCommandOutput | InviteCommandOutput | JoinChannelCommandOutput | LeaveChannelCommandOutput | ListChannelMembersCommandOutput | ListChannelsCommandOutput | ListInboxTaggedChannelsCommandOutput | ListInboxTagsCommandOutput | ListMessageReactionsCommandOutput | ListMessagesCommandOutput | ListPinnedMessagesCommandOutput | MarkReadCommandOutput | MarkUnreadCommandOutput | PartialUpdateChannelCommandOutput | PartialUpdateMessageCommandOutput | PinChannelCommandOutput | PinMessageCommandOutput | ScheduleExternalFlagAdjustmentJobCommandOutput | SendActionTriggerResultCommandOutput | SendGiphyCommandOutput | SendMessageCommandOutput | SendMessageReactionCommandOutput | SendTypingStartCommandOutput | SendTypingStopCommandOutput | ShowChannelCommandOutput | TagChannelCommandOutput | TriggerMessageActionCommandOutput | UnpinChannelCommandOutput | UnpinMessageCommandOutput | UntagChannelCommandOutput | UpdateChannelCommandOutput | UpdateInboxTagCommandOutput | UpdateMessageCommandOutput | UploadFileCommandOutput;
|
|
64
70
|
/**
|
|
65
71
|
* @public
|
|
66
72
|
*/
|