@wildix/xbees-conversations-client 1.0.55 → 1.0.57
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 +22 -0
- package/dist-cjs/commands/CreateInboxTagCommand.js +21 -0
- package/dist-cjs/commands/DeleteInboxTagCommand.js +21 -0
- package/dist-cjs/commands/GetInboxStateCommand.js +21 -0
- package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +21 -0
- package/dist-cjs/commands/ListInboxTagsCommand.js +21 -0
- package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
- package/dist-cjs/commands/PinChannelCommand.js +21 -0
- package/dist-cjs/commands/TagChannelCommand.js +21 -0
- package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
- package/dist-cjs/commands/UntagChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateInboxTagCommand.js +21 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/models/models_0.js +66 -1
- package/dist-cjs/protocols/Aws_restJson1.js +423 -2
- package/dist-es/Conversations.js +22 -0
- package/dist-es/commands/CreateInboxTagCommand.js +17 -0
- package/dist-es/commands/DeleteInboxTagCommand.js +17 -0
- package/dist-es/commands/GetInboxStateCommand.js +17 -0
- package/dist-es/commands/ListInboxTaggedChannelsCommand.js +17 -0
- package/dist-es/commands/ListInboxTagsCommand.js +17 -0
- package/dist-es/commands/MarkUnreadCommand.js +17 -0
- package/dist-es/commands/PinChannelCommand.js +17 -0
- package/dist-es/commands/TagChannelCommand.js +17 -0
- package/dist-es/commands/UnpinChannelCommand.js +17 -0
- package/dist-es/commands/UntagChannelCommand.js +17 -0
- package/dist-es/commands/UpdateInboxTagCommand.js +17 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +60 -0
- package/dist-es/protocols/Aws_restJson1.js +400 -1
- package/dist-types/Conversations.d.ts +79 -0
- package/dist-types/ConversationsClient.d.ts +13 -2
- package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
- package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
- package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
- package/dist-types/commands/PinChannelCommand.d.ts +75 -0
- package/dist-types/commands/TagChannelCommand.d.ts +76 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +67 -0
- package/dist-types/commands/UntagChannelCommand.d.ts +68 -0
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +352 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand = void 0;
|
|
3
|
+
exports.de_CreateGroupChannelCommand = exports.de_AddChannelMembersCommand = exports.de_AddChannelMemberCommand = exports.se_UploadFileCommand = exports.se_UpdateMessageCommand = exports.se_UpdateInboxTagCommand = exports.se_UpdateChannelCommand = exports.se_UntagChannelCommand = exports.se_UnpinChannelCommand = exports.se_TagChannelCommand = exports.se_ShowChannelCommand = exports.se_SendTypingStopCommand = exports.se_SendTypingStartCommand = exports.se_SendMessageReactionCommand = exports.se_SendMessageCommand = exports.se_SendGiphyCommand = exports.se_ScheduleExternalFlagAdjustmentJobCommand = exports.se_PinChannelCommand = exports.se_PartialUpdateMessageCommand = exports.se_PartialUpdateChannelCommand = exports.se_MarkUnreadCommand = exports.se_MarkReadCommand = exports.se_ListMessagesCommand = exports.se_ListMessageReactionsCommand = exports.se_ListInboxTagsCommand = exports.se_ListInboxTaggedChannelsCommand = exports.se_ListChannelsCommand = exports.se_ListChannelMembersCommand = exports.se_LeaveChannelCommand = exports.se_JoinChannelCommand = exports.se_InviteCommand = exports.se_HideChannelCommand = exports.se_GetUploadedFileInfoCommand = exports.se_GetOrCreateDirectChannelCommand = exports.se_GetMessageCommand = exports.se_GetInboxStateCommand = exports.se_GetFilePresignedDownloadUrlCommand = exports.se_GetDirectChannelIdCommand = exports.se_GetChannelMemberCommand = exports.se_GetChannelCommand = exports.se_DescribeEventCommand = exports.se_DeleteMessageReactionCommand = exports.se_DeleteMessageCommand = exports.se_DeleteInboxTagCommand = exports.se_DeleteChannelMemberCommand = exports.se_DeleteChannelCommand = exports.se_CreateInboxTagCommand = exports.se_CreateGroupChannelCommand = exports.se_AddChannelMembersCommand = exports.se_AddChannelMemberCommand = void 0;
|
|
4
|
+
exports.de_UploadFileCommand = exports.de_UpdateMessageCommand = exports.de_UpdateInboxTagCommand = exports.de_UpdateChannelCommand = exports.de_UntagChannelCommand = exports.de_UnpinChannelCommand = exports.de_TagChannelCommand = exports.de_ShowChannelCommand = exports.de_SendTypingStopCommand = exports.de_SendTypingStartCommand = exports.de_SendMessageReactionCommand = exports.de_SendMessageCommand = exports.de_SendGiphyCommand = exports.de_ScheduleExternalFlagAdjustmentJobCommand = exports.de_PinChannelCommand = exports.de_PartialUpdateMessageCommand = exports.de_PartialUpdateChannelCommand = exports.de_MarkUnreadCommand = exports.de_MarkReadCommand = exports.de_ListMessagesCommand = exports.de_ListMessageReactionsCommand = exports.de_ListInboxTagsCommand = exports.de_ListInboxTaggedChannelsCommand = exports.de_ListChannelsCommand = exports.de_ListChannelMembersCommand = exports.de_LeaveChannelCommand = exports.de_JoinChannelCommand = exports.de_InviteCommand = exports.de_HideChannelCommand = exports.de_GetUploadedFileInfoCommand = exports.de_GetOrCreateDirectChannelCommand = exports.de_GetMessageCommand = exports.de_GetInboxStateCommand = exports.de_GetFilePresignedDownloadUrlCommand = exports.de_GetDirectChannelIdCommand = exports.de_GetChannelMemberCommand = exports.de_GetChannelCommand = exports.de_DescribeEventCommand = exports.de_DeleteMessageReactionCommand = exports.de_DeleteMessageCommand = exports.de_DeleteInboxTagCommand = exports.de_DeleteChannelMemberCommand = exports.de_DeleteChannelCommand = exports.de_CreateInboxTagCommand = void 0;
|
|
5
5
|
const ConversationsServiceException_1 = require("../models/ConversationsServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@smithy/core");
|
|
@@ -80,6 +80,27 @@ const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
80
80
|
return b.build();
|
|
81
81
|
};
|
|
82
82
|
exports.se_CreateGroupChannelCommand = se_CreateGroupChannelCommand;
|
|
83
|
+
const se_CreateInboxTagCommand = async (input, context) => {
|
|
84
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
85
|
+
const headers = {
|
|
86
|
+
'content-type': 'application/json',
|
|
87
|
+
};
|
|
88
|
+
b.bp("/v2/conversations/inbox/tags");
|
|
89
|
+
const query = (0, smithy_client_1.map)({
|
|
90
|
+
[_u]: [, input[_uI]],
|
|
91
|
+
});
|
|
92
|
+
let body;
|
|
93
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
94
|
+
'name': [],
|
|
95
|
+
'tagId': [],
|
|
96
|
+
}));
|
|
97
|
+
b.m("POST")
|
|
98
|
+
.h(headers)
|
|
99
|
+
.q(query)
|
|
100
|
+
.b(body);
|
|
101
|
+
return b.build();
|
|
102
|
+
};
|
|
103
|
+
exports.se_CreateInboxTagCommand = se_CreateInboxTagCommand;
|
|
83
104
|
const se_DeleteChannelCommand = async (input, context) => {
|
|
84
105
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
85
106
|
const headers = {};
|
|
@@ -110,6 +131,22 @@ const se_DeleteChannelMemberCommand = async (input, context) => {
|
|
|
110
131
|
return b.build();
|
|
111
132
|
};
|
|
112
133
|
exports.se_DeleteChannelMemberCommand = se_DeleteChannelMemberCommand;
|
|
134
|
+
const se_DeleteInboxTagCommand = async (input, context) => {
|
|
135
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
136
|
+
const headers = {};
|
|
137
|
+
b.bp("/v2/conversations/inbox/tags/{tagId}");
|
|
138
|
+
b.p('tagId', () => input.tagId, '{tagId}', false);
|
|
139
|
+
const query = (0, smithy_client_1.map)({
|
|
140
|
+
[_u]: [, input[_uI]],
|
|
141
|
+
});
|
|
142
|
+
let body;
|
|
143
|
+
b.m("DELETE")
|
|
144
|
+
.h(headers)
|
|
145
|
+
.q(query)
|
|
146
|
+
.b(body);
|
|
147
|
+
return b.build();
|
|
148
|
+
};
|
|
149
|
+
exports.se_DeleteInboxTagCommand = se_DeleteInboxTagCommand;
|
|
113
150
|
const se_DeleteMessageCommand = async (input, context) => {
|
|
114
151
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
115
152
|
const headers = {};
|
|
@@ -223,6 +260,21 @@ const se_GetFilePresignedDownloadUrlCommand = async (input, context) => {
|
|
|
223
260
|
return b.build();
|
|
224
261
|
};
|
|
225
262
|
exports.se_GetFilePresignedDownloadUrlCommand = se_GetFilePresignedDownloadUrlCommand;
|
|
263
|
+
const se_GetInboxStateCommand = async (input, context) => {
|
|
264
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
265
|
+
const headers = {};
|
|
266
|
+
b.bp("/v2/conversations/inbox/state");
|
|
267
|
+
const query = (0, smithy_client_1.map)({
|
|
268
|
+
[_u]: [, input[_uI]],
|
|
269
|
+
});
|
|
270
|
+
let body;
|
|
271
|
+
b.m("GET")
|
|
272
|
+
.h(headers)
|
|
273
|
+
.q(query)
|
|
274
|
+
.b(body);
|
|
275
|
+
return b.build();
|
|
276
|
+
};
|
|
277
|
+
exports.se_GetInboxStateCommand = se_GetInboxStateCommand;
|
|
226
278
|
const se_GetMessageCommand = async (input, context) => {
|
|
227
279
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
228
280
|
const headers = {};
|
|
@@ -382,6 +434,37 @@ const se_ListChannelsCommand = async (input, context) => {
|
|
|
382
434
|
return b.build();
|
|
383
435
|
};
|
|
384
436
|
exports.se_ListChannelsCommand = se_ListChannelsCommand;
|
|
437
|
+
const se_ListInboxTaggedChannelsCommand = async (input, context) => {
|
|
438
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
439
|
+
const headers = {};
|
|
440
|
+
b.bp("/v2/conversations/inbox/tags/{tagId}");
|
|
441
|
+
b.p('tagId', () => input.tagId, '{tagId}', false);
|
|
442
|
+
const query = (0, smithy_client_1.map)({
|
|
443
|
+
[_u]: [, input[_uI]],
|
|
444
|
+
});
|
|
445
|
+
let body;
|
|
446
|
+
b.m("GET")
|
|
447
|
+
.h(headers)
|
|
448
|
+
.q(query)
|
|
449
|
+
.b(body);
|
|
450
|
+
return b.build();
|
|
451
|
+
};
|
|
452
|
+
exports.se_ListInboxTaggedChannelsCommand = se_ListInboxTaggedChannelsCommand;
|
|
453
|
+
const se_ListInboxTagsCommand = async (input, context) => {
|
|
454
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
455
|
+
const headers = {};
|
|
456
|
+
b.bp("/v2/conversations/inbox/tags");
|
|
457
|
+
const query = (0, smithy_client_1.map)({
|
|
458
|
+
[_u]: [, input[_uI]],
|
|
459
|
+
});
|
|
460
|
+
let body;
|
|
461
|
+
b.m("GET")
|
|
462
|
+
.h(headers)
|
|
463
|
+
.q(query)
|
|
464
|
+
.b(body);
|
|
465
|
+
return b.build();
|
|
466
|
+
};
|
|
467
|
+
exports.se_ListInboxTagsCommand = se_ListInboxTagsCommand;
|
|
385
468
|
const se_ListMessageReactionsCommand = async (input, context) => {
|
|
386
469
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
387
470
|
const headers = {};
|
|
@@ -433,6 +516,28 @@ const se_MarkReadCommand = async (input, context) => {
|
|
|
433
516
|
return b.build();
|
|
434
517
|
};
|
|
435
518
|
exports.se_MarkReadCommand = se_MarkReadCommand;
|
|
519
|
+
const se_MarkUnreadCommand = async (input, context) => {
|
|
520
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
521
|
+
const headers = {
|
|
522
|
+
'content-type': 'application/json',
|
|
523
|
+
};
|
|
524
|
+
b.bp("/v2/conversations/channels/{channelId}/unread");
|
|
525
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
526
|
+
const query = (0, smithy_client_1.map)({
|
|
527
|
+
[_u]: [, input[_uI]],
|
|
528
|
+
[_f]: [() => input.force !== void 0, () => (input[_f].toString())],
|
|
529
|
+
});
|
|
530
|
+
let body;
|
|
531
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
532
|
+
'messageId': [],
|
|
533
|
+
}));
|
|
534
|
+
b.m("PUT")
|
|
535
|
+
.h(headers)
|
|
536
|
+
.q(query)
|
|
537
|
+
.b(body);
|
|
538
|
+
return b.build();
|
|
539
|
+
};
|
|
540
|
+
exports.se_MarkUnreadCommand = se_MarkUnreadCommand;
|
|
436
541
|
const se_PartialUpdateChannelCommand = async (input, context) => {
|
|
437
542
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
438
543
|
const headers = {
|
|
@@ -479,6 +584,23 @@ const se_PartialUpdateMessageCommand = async (input, context) => {
|
|
|
479
584
|
return b.build();
|
|
480
585
|
};
|
|
481
586
|
exports.se_PartialUpdateMessageCommand = se_PartialUpdateMessageCommand;
|
|
587
|
+
const se_PinChannelCommand = async (input, context) => {
|
|
588
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
589
|
+
const headers = {};
|
|
590
|
+
b.bp("/v2/conversations/channels/{channelId}/pin");
|
|
591
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
592
|
+
const query = (0, smithy_client_1.map)({
|
|
593
|
+
[_u]: [, input[_uI]],
|
|
594
|
+
[_f]: [() => input.force !== void 0, () => (input[_f].toString())],
|
|
595
|
+
});
|
|
596
|
+
let body;
|
|
597
|
+
b.m("POST")
|
|
598
|
+
.h(headers)
|
|
599
|
+
.q(query)
|
|
600
|
+
.b(body);
|
|
601
|
+
return b.build();
|
|
602
|
+
};
|
|
603
|
+
exports.se_PinChannelCommand = se_PinChannelCommand;
|
|
482
604
|
const se_ScheduleExternalFlagAdjustmentJobCommand = async (input, context) => {
|
|
483
605
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
484
606
|
const headers = {
|
|
@@ -613,6 +735,61 @@ const se_ShowChannelCommand = async (input, context) => {
|
|
|
613
735
|
return b.build();
|
|
614
736
|
};
|
|
615
737
|
exports.se_ShowChannelCommand = se_ShowChannelCommand;
|
|
738
|
+
const se_TagChannelCommand = async (input, context) => {
|
|
739
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
740
|
+
const headers = {};
|
|
741
|
+
b.bp("/v2/conversations/channels/{channelId}/tags/{tagId}");
|
|
742
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
743
|
+
b.p('tagId', () => input.tagId, '{tagId}', false);
|
|
744
|
+
const query = (0, smithy_client_1.map)({
|
|
745
|
+
[_u]: [, input[_uI]],
|
|
746
|
+
[_f]: [() => input.force !== void 0, () => (input[_f].toString())],
|
|
747
|
+
});
|
|
748
|
+
let body;
|
|
749
|
+
b.m("PUT")
|
|
750
|
+
.h(headers)
|
|
751
|
+
.q(query)
|
|
752
|
+
.b(body);
|
|
753
|
+
return b.build();
|
|
754
|
+
};
|
|
755
|
+
exports.se_TagChannelCommand = se_TagChannelCommand;
|
|
756
|
+
const se_UnpinChannelCommand = async (input, context) => {
|
|
757
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
758
|
+
const headers = {};
|
|
759
|
+
b.bp("/v2/conversations/channels/{channelId}/pin");
|
|
760
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
761
|
+
const query = (0, smithy_client_1.map)({
|
|
762
|
+
[_u]: [, input[_uI]],
|
|
763
|
+
});
|
|
764
|
+
let body;
|
|
765
|
+
b.m("DELETE")
|
|
766
|
+
.h(headers)
|
|
767
|
+
.q(query)
|
|
768
|
+
.b(body);
|
|
769
|
+
return b.build();
|
|
770
|
+
};
|
|
771
|
+
exports.se_UnpinChannelCommand = se_UnpinChannelCommand;
|
|
772
|
+
const se_UntagChannelCommand = async (input, context) => {
|
|
773
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
774
|
+
const headers = {
|
|
775
|
+
'content-type': 'application/json',
|
|
776
|
+
};
|
|
777
|
+
b.bp("/v2/conversations/channels/{channelId}/untag");
|
|
778
|
+
b.p('channelId', () => input.channelId, '{channelId}', false);
|
|
779
|
+
const query = (0, smithy_client_1.map)({
|
|
780
|
+
[_u]: [, input[_uI]],
|
|
781
|
+
});
|
|
782
|
+
let body;
|
|
783
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
784
|
+
'tagId': [],
|
|
785
|
+
}));
|
|
786
|
+
b.m("POST")
|
|
787
|
+
.h(headers)
|
|
788
|
+
.q(query)
|
|
789
|
+
.b(body);
|
|
790
|
+
return b.build();
|
|
791
|
+
};
|
|
792
|
+
exports.se_UntagChannelCommand = se_UntagChannelCommand;
|
|
616
793
|
const se_UpdateChannelCommand = async (input, context) => {
|
|
617
794
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
618
795
|
const headers = {
|
|
@@ -640,6 +817,27 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
640
817
|
return b.build();
|
|
641
818
|
};
|
|
642
819
|
exports.se_UpdateChannelCommand = se_UpdateChannelCommand;
|
|
820
|
+
const se_UpdateInboxTagCommand = async (input, context) => {
|
|
821
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
822
|
+
const headers = {
|
|
823
|
+
'content-type': 'application/json',
|
|
824
|
+
};
|
|
825
|
+
b.bp("/v2/conversations/inbox/tags/{tagId}");
|
|
826
|
+
b.p('tagId', () => input.tagId, '{tagId}', false);
|
|
827
|
+
const query = (0, smithy_client_1.map)({
|
|
828
|
+
[_u]: [, input[_uI]],
|
|
829
|
+
});
|
|
830
|
+
let body;
|
|
831
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
832
|
+
'name': [],
|
|
833
|
+
}));
|
|
834
|
+
b.m("PUT")
|
|
835
|
+
.h(headers)
|
|
836
|
+
.q(query)
|
|
837
|
+
.b(body);
|
|
838
|
+
return b.build();
|
|
839
|
+
};
|
|
840
|
+
exports.se_UpdateInboxTagCommand = se_UpdateInboxTagCommand;
|
|
643
841
|
const se_UpdateMessageCommand = async (input, context) => {
|
|
644
842
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
645
843
|
const headers = {
|
|
@@ -735,6 +933,21 @@ const de_CreateGroupChannelCommand = async (output, context) => {
|
|
|
735
933
|
return contents;
|
|
736
934
|
};
|
|
737
935
|
exports.de_CreateGroupChannelCommand = de_CreateGroupChannelCommand;
|
|
936
|
+
const de_CreateInboxTagCommand = async (output, context) => {
|
|
937
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
938
|
+
return de_CommandError(output, context);
|
|
939
|
+
}
|
|
940
|
+
const contents = (0, smithy_client_1.map)({
|
|
941
|
+
$metadata: deserializeMetadata(output),
|
|
942
|
+
});
|
|
943
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
944
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
945
|
+
'tag': smithy_client_1._json,
|
|
946
|
+
});
|
|
947
|
+
Object.assign(contents, doc);
|
|
948
|
+
return contents;
|
|
949
|
+
};
|
|
950
|
+
exports.de_CreateInboxTagCommand = de_CreateInboxTagCommand;
|
|
738
951
|
const de_DeleteChannelCommand = async (output, context) => {
|
|
739
952
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
740
953
|
return de_CommandError(output, context);
|
|
@@ -757,6 +970,17 @@ const de_DeleteChannelMemberCommand = async (output, context) => {
|
|
|
757
970
|
return contents;
|
|
758
971
|
};
|
|
759
972
|
exports.de_DeleteChannelMemberCommand = de_DeleteChannelMemberCommand;
|
|
973
|
+
const de_DeleteInboxTagCommand = async (output, context) => {
|
|
974
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
975
|
+
return de_CommandError(output, context);
|
|
976
|
+
}
|
|
977
|
+
const contents = (0, smithy_client_1.map)({
|
|
978
|
+
$metadata: deserializeMetadata(output),
|
|
979
|
+
});
|
|
980
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
981
|
+
return contents;
|
|
982
|
+
};
|
|
983
|
+
exports.de_DeleteInboxTagCommand = de_DeleteInboxTagCommand;
|
|
760
984
|
const de_DeleteMessageCommand = async (output, context) => {
|
|
761
985
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
762
986
|
return de_CommandError(output, context);
|
|
@@ -863,6 +1087,22 @@ const de_GetFilePresignedDownloadUrlCommand = async (output, context) => {
|
|
|
863
1087
|
return contents;
|
|
864
1088
|
};
|
|
865
1089
|
exports.de_GetFilePresignedDownloadUrlCommand = de_GetFilePresignedDownloadUrlCommand;
|
|
1090
|
+
const de_GetInboxStateCommand = async (output, context) => {
|
|
1091
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1092
|
+
return de_CommandError(output, context);
|
|
1093
|
+
}
|
|
1094
|
+
const contents = (0, smithy_client_1.map)({
|
|
1095
|
+
$metadata: deserializeMetadata(output),
|
|
1096
|
+
});
|
|
1097
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1098
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1099
|
+
'channels': smithy_client_1._json,
|
|
1100
|
+
'tags': smithy_client_1._json,
|
|
1101
|
+
});
|
|
1102
|
+
Object.assign(contents, doc);
|
|
1103
|
+
return contents;
|
|
1104
|
+
};
|
|
1105
|
+
exports.de_GetInboxStateCommand = de_GetInboxStateCommand;
|
|
866
1106
|
const de_GetMessageCommand = async (output, context) => {
|
|
867
1107
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
868
1108
|
return de_CommandError(output, context);
|
|
@@ -991,6 +1231,36 @@ const de_ListChannelsCommand = async (output, context) => {
|
|
|
991
1231
|
return contents;
|
|
992
1232
|
};
|
|
993
1233
|
exports.de_ListChannelsCommand = de_ListChannelsCommand;
|
|
1234
|
+
const de_ListInboxTaggedChannelsCommand = async (output, context) => {
|
|
1235
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1236
|
+
return de_CommandError(output, context);
|
|
1237
|
+
}
|
|
1238
|
+
const contents = (0, smithy_client_1.map)({
|
|
1239
|
+
$metadata: deserializeMetadata(output),
|
|
1240
|
+
});
|
|
1241
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1242
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1243
|
+
'channels': smithy_client_1._json,
|
|
1244
|
+
});
|
|
1245
|
+
Object.assign(contents, doc);
|
|
1246
|
+
return contents;
|
|
1247
|
+
};
|
|
1248
|
+
exports.de_ListInboxTaggedChannelsCommand = de_ListInboxTaggedChannelsCommand;
|
|
1249
|
+
const de_ListInboxTagsCommand = async (output, context) => {
|
|
1250
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1251
|
+
return de_CommandError(output, context);
|
|
1252
|
+
}
|
|
1253
|
+
const contents = (0, smithy_client_1.map)({
|
|
1254
|
+
$metadata: deserializeMetadata(output),
|
|
1255
|
+
});
|
|
1256
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1257
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1258
|
+
'tags': smithy_client_1._json,
|
|
1259
|
+
});
|
|
1260
|
+
Object.assign(contents, doc);
|
|
1261
|
+
return contents;
|
|
1262
|
+
};
|
|
1263
|
+
exports.de_ListInboxTagsCommand = de_ListInboxTagsCommand;
|
|
994
1264
|
const de_ListMessageReactionsCommand = async (output, context) => {
|
|
995
1265
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
996
1266
|
return de_CommandError(output, context);
|
|
@@ -1032,6 +1302,17 @@ const de_MarkReadCommand = async (output, context) => {
|
|
|
1032
1302
|
return contents;
|
|
1033
1303
|
};
|
|
1034
1304
|
exports.de_MarkReadCommand = de_MarkReadCommand;
|
|
1305
|
+
const de_MarkUnreadCommand = async (output, context) => {
|
|
1306
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1307
|
+
return de_CommandError(output, context);
|
|
1308
|
+
}
|
|
1309
|
+
const contents = (0, smithy_client_1.map)({
|
|
1310
|
+
$metadata: deserializeMetadata(output),
|
|
1311
|
+
});
|
|
1312
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1313
|
+
return contents;
|
|
1314
|
+
};
|
|
1315
|
+
exports.de_MarkUnreadCommand = de_MarkUnreadCommand;
|
|
1035
1316
|
const de_PartialUpdateChannelCommand = async (output, context) => {
|
|
1036
1317
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1037
1318
|
return de_CommandError(output, context);
|
|
@@ -1062,6 +1343,17 @@ const de_PartialUpdateMessageCommand = async (output, context) => {
|
|
|
1062
1343
|
return contents;
|
|
1063
1344
|
};
|
|
1064
1345
|
exports.de_PartialUpdateMessageCommand = de_PartialUpdateMessageCommand;
|
|
1346
|
+
const de_PinChannelCommand = async (output, context) => {
|
|
1347
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1348
|
+
return de_CommandError(output, context);
|
|
1349
|
+
}
|
|
1350
|
+
const contents = (0, smithy_client_1.map)({
|
|
1351
|
+
$metadata: deserializeMetadata(output),
|
|
1352
|
+
});
|
|
1353
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1354
|
+
return contents;
|
|
1355
|
+
};
|
|
1356
|
+
exports.de_PinChannelCommand = de_PinChannelCommand;
|
|
1065
1357
|
const de_ScheduleExternalFlagAdjustmentJobCommand = async (output, context) => {
|
|
1066
1358
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1067
1359
|
return de_CommandError(output, context);
|
|
@@ -1147,6 +1439,39 @@ const de_ShowChannelCommand = async (output, context) => {
|
|
|
1147
1439
|
return contents;
|
|
1148
1440
|
};
|
|
1149
1441
|
exports.de_ShowChannelCommand = de_ShowChannelCommand;
|
|
1442
|
+
const de_TagChannelCommand = async (output, context) => {
|
|
1443
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1444
|
+
return de_CommandError(output, context);
|
|
1445
|
+
}
|
|
1446
|
+
const contents = (0, smithy_client_1.map)({
|
|
1447
|
+
$metadata: deserializeMetadata(output),
|
|
1448
|
+
});
|
|
1449
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1450
|
+
return contents;
|
|
1451
|
+
};
|
|
1452
|
+
exports.de_TagChannelCommand = de_TagChannelCommand;
|
|
1453
|
+
const de_UnpinChannelCommand = async (output, context) => {
|
|
1454
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1455
|
+
return de_CommandError(output, context);
|
|
1456
|
+
}
|
|
1457
|
+
const contents = (0, smithy_client_1.map)({
|
|
1458
|
+
$metadata: deserializeMetadata(output),
|
|
1459
|
+
});
|
|
1460
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1461
|
+
return contents;
|
|
1462
|
+
};
|
|
1463
|
+
exports.de_UnpinChannelCommand = de_UnpinChannelCommand;
|
|
1464
|
+
const de_UntagChannelCommand = async (output, context) => {
|
|
1465
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1466
|
+
return de_CommandError(output, context);
|
|
1467
|
+
}
|
|
1468
|
+
const contents = (0, smithy_client_1.map)({
|
|
1469
|
+
$metadata: deserializeMetadata(output),
|
|
1470
|
+
});
|
|
1471
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1472
|
+
return contents;
|
|
1473
|
+
};
|
|
1474
|
+
exports.de_UntagChannelCommand = de_UntagChannelCommand;
|
|
1150
1475
|
const de_UpdateChannelCommand = async (output, context) => {
|
|
1151
1476
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1152
1477
|
return de_CommandError(output, context);
|
|
@@ -1162,6 +1487,21 @@ const de_UpdateChannelCommand = async (output, context) => {
|
|
|
1162
1487
|
return contents;
|
|
1163
1488
|
};
|
|
1164
1489
|
exports.de_UpdateChannelCommand = de_UpdateChannelCommand;
|
|
1490
|
+
const de_UpdateInboxTagCommand = async (output, context) => {
|
|
1491
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1492
|
+
return de_CommandError(output, context);
|
|
1493
|
+
}
|
|
1494
|
+
const contents = (0, smithy_client_1.map)({
|
|
1495
|
+
$metadata: deserializeMetadata(output),
|
|
1496
|
+
});
|
|
1497
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
1498
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1499
|
+
'tag': smithy_client_1._json,
|
|
1500
|
+
});
|
|
1501
|
+
Object.assign(contents, doc);
|
|
1502
|
+
return contents;
|
|
1503
|
+
};
|
|
1504
|
+
exports.de_UpdateInboxTagCommand = de_UpdateInboxTagCommand;
|
|
1165
1505
|
const de_UpdateMessageCommand = async (output, context) => {
|
|
1166
1506
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1167
1507
|
return de_CommandError(output, context);
|
|
@@ -1218,6 +1558,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1218
1558
|
case "ChannelAlreadyExistException":
|
|
1219
1559
|
case "wildix.xbees.conversations#ChannelAlreadyExistException":
|
|
1220
1560
|
throw await de_ChannelAlreadyExistExceptionRes(parsedOutput, context);
|
|
1561
|
+
case "TagsLimitReachedException":
|
|
1562
|
+
case "wildix.xbees.conversations#TagsLimitReachedException":
|
|
1563
|
+
throw await de_TagsLimitReachedExceptionRes(parsedOutput, context);
|
|
1221
1564
|
case "MemberNotFoundException":
|
|
1222
1565
|
case "wildix.xbees.conversations#MemberNotFoundException":
|
|
1223
1566
|
throw await de_MemberNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1227,9 +1570,21 @@ const de_CommandError = async (output, context) => {
|
|
|
1227
1570
|
case "FileNotFoundException":
|
|
1228
1571
|
case "wildix.xbees.conversations#FileNotFoundException":
|
|
1229
1572
|
throw await de_FileNotFoundExceptionRes(parsedOutput, context);
|
|
1573
|
+
case "TagNotFoundException":
|
|
1574
|
+
case "wildix.xbees.conversations#TagNotFoundException":
|
|
1575
|
+
throw await de_TagNotFoundExceptionRes(parsedOutput, context);
|
|
1576
|
+
case "MarkUnreadChannelsLimitReachedException":
|
|
1577
|
+
case "wildix.xbees.conversations#MarkUnreadChannelsLimitReachedException":
|
|
1578
|
+
throw await de_MarkUnreadChannelsLimitReachedExceptionRes(parsedOutput, context);
|
|
1579
|
+
case "PinnedChannelsLimitReachedException":
|
|
1580
|
+
case "wildix.xbees.conversations#PinnedChannelsLimitReachedException":
|
|
1581
|
+
throw await de_PinnedChannelsLimitReachedExceptionRes(parsedOutput, context);
|
|
1230
1582
|
case "ConversationsServiceException":
|
|
1231
1583
|
case "wildix.xbees.conversations#ConversationsServiceException":
|
|
1232
1584
|
throw await de_ConversationsServiceExceptionRes(parsedOutput, context);
|
|
1585
|
+
case "TaggedChannelsLimitReachedException":
|
|
1586
|
+
case "wildix.xbees.conversations#TaggedChannelsLimitReachedException":
|
|
1587
|
+
throw await de_TaggedChannelsLimitReachedExceptionRes(parsedOutput, context);
|
|
1233
1588
|
default:
|
|
1234
1589
|
const parsedBody = parsedOutput.body;
|
|
1235
1590
|
return throwDefaultError({
|
|
@@ -1336,6 +1691,19 @@ const de_FileNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1336
1691
|
});
|
|
1337
1692
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1338
1693
|
};
|
|
1694
|
+
const de_MarkUnreadChannelsLimitReachedExceptionRes = async (parsedOutput, context) => {
|
|
1695
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1696
|
+
const data = parsedOutput.body;
|
|
1697
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1698
|
+
'message': smithy_client_1.expectString,
|
|
1699
|
+
});
|
|
1700
|
+
Object.assign(contents, doc);
|
|
1701
|
+
const exception = new models_0_1.MarkUnreadChannelsLimitReachedException({
|
|
1702
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1703
|
+
...contents
|
|
1704
|
+
});
|
|
1705
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1706
|
+
};
|
|
1339
1707
|
const de_MemberAlreadyExistExceptionRes = async (parsedOutput, context) => {
|
|
1340
1708
|
const contents = (0, smithy_client_1.map)({});
|
|
1341
1709
|
const data = parsedOutput.body;
|
|
@@ -1375,6 +1743,58 @@ const de_MessageNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1375
1743
|
});
|
|
1376
1744
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1377
1745
|
};
|
|
1746
|
+
const de_PinnedChannelsLimitReachedExceptionRes = async (parsedOutput, context) => {
|
|
1747
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1748
|
+
const data = parsedOutput.body;
|
|
1749
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1750
|
+
'message': smithy_client_1.expectString,
|
|
1751
|
+
});
|
|
1752
|
+
Object.assign(contents, doc);
|
|
1753
|
+
const exception = new models_0_1.PinnedChannelsLimitReachedException({
|
|
1754
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1755
|
+
...contents
|
|
1756
|
+
});
|
|
1757
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1758
|
+
};
|
|
1759
|
+
const de_TaggedChannelsLimitReachedExceptionRes = async (parsedOutput, context) => {
|
|
1760
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1761
|
+
const data = parsedOutput.body;
|
|
1762
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1763
|
+
'message': smithy_client_1.expectString,
|
|
1764
|
+
});
|
|
1765
|
+
Object.assign(contents, doc);
|
|
1766
|
+
const exception = new models_0_1.TaggedChannelsLimitReachedException({
|
|
1767
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1768
|
+
...contents
|
|
1769
|
+
});
|
|
1770
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1771
|
+
};
|
|
1772
|
+
const de_TagNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1773
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1774
|
+
const data = parsedOutput.body;
|
|
1775
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1776
|
+
'message': smithy_client_1.expectString,
|
|
1777
|
+
});
|
|
1778
|
+
Object.assign(contents, doc);
|
|
1779
|
+
const exception = new models_0_1.TagNotFoundException({
|
|
1780
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1781
|
+
...contents
|
|
1782
|
+
});
|
|
1783
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1784
|
+
};
|
|
1785
|
+
const de_TagsLimitReachedExceptionRes = async (parsedOutput, context) => {
|
|
1786
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1787
|
+
const data = parsedOutput.body;
|
|
1788
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1789
|
+
'message': smithy_client_1.expectString,
|
|
1790
|
+
});
|
|
1791
|
+
Object.assign(contents, doc);
|
|
1792
|
+
const exception = new models_0_1.TagsLimitReachedException({
|
|
1793
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1794
|
+
...contents
|
|
1795
|
+
});
|
|
1796
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1797
|
+
};
|
|
1378
1798
|
const deserializeMetadata = (output) => ({
|
|
1379
1799
|
httpStatusCode: output.statusCode,
|
|
1380
1800
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1389,6 +1809,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1389
1809
|
value.length != 0) &&
|
|
1390
1810
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1391
1811
|
const _c = "category";
|
|
1812
|
+
const _f = "force";
|
|
1392
1813
|
const _l = "limit";
|
|
1393
1814
|
const _o = "offset";
|
|
1394
1815
|
const _rA = "retryAfter";
|
package/dist-es/Conversations.js
CHANGED
|
@@ -2,8 +2,10 @@ import { ConversationsClient, } from "./ConversationsClient";
|
|
|
2
2
|
import { AddChannelMemberCommand, } from "./commands/AddChannelMemberCommand";
|
|
3
3
|
import { AddChannelMembersCommand, } from "./commands/AddChannelMembersCommand";
|
|
4
4
|
import { CreateGroupChannelCommand, } from "./commands/CreateGroupChannelCommand";
|
|
5
|
+
import { CreateInboxTagCommand, } from "./commands/CreateInboxTagCommand";
|
|
5
6
|
import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
|
|
6
7
|
import { DeleteChannelMemberCommand, } from "./commands/DeleteChannelMemberCommand";
|
|
8
|
+
import { DeleteInboxTagCommand, } from "./commands/DeleteInboxTagCommand";
|
|
7
9
|
import { DeleteMessageCommand, } from "./commands/DeleteMessageCommand";
|
|
8
10
|
import { DeleteMessageReactionCommand, } from "./commands/DeleteMessageReactionCommand";
|
|
9
11
|
import { DescribeEventCommand, } from "./commands/DescribeEventCommand";
|
|
@@ -11,6 +13,7 @@ import { GetChannelCommand, } from "./commands/GetChannelCommand";
|
|
|
11
13
|
import { GetChannelMemberCommand, } from "./commands/GetChannelMemberCommand";
|
|
12
14
|
import { GetDirectChannelIdCommand, } from "./commands/GetDirectChannelIdCommand";
|
|
13
15
|
import { GetFilePresignedDownloadUrlCommand, } from "./commands/GetFilePresignedDownloadUrlCommand";
|
|
16
|
+
import { GetInboxStateCommand, } from "./commands/GetInboxStateCommand";
|
|
14
17
|
import { GetMessageCommand, } from "./commands/GetMessageCommand";
|
|
15
18
|
import { GetOrCreateDirectChannelCommand, } from "./commands/GetOrCreateDirectChannelCommand";
|
|
16
19
|
import { GetUploadedFileInfoCommand, } from "./commands/GetUploadedFileInfoCommand";
|
|
@@ -20,11 +23,15 @@ import { JoinChannelCommand, } from "./commands/JoinChannelCommand";
|
|
|
20
23
|
import { LeaveChannelCommand, } from "./commands/LeaveChannelCommand";
|
|
21
24
|
import { ListChannelMembersCommand, } from "./commands/ListChannelMembersCommand";
|
|
22
25
|
import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
|
|
26
|
+
import { ListInboxTaggedChannelsCommand, } from "./commands/ListInboxTaggedChannelsCommand";
|
|
27
|
+
import { ListInboxTagsCommand, } from "./commands/ListInboxTagsCommand";
|
|
23
28
|
import { ListMessageReactionsCommand, } from "./commands/ListMessageReactionsCommand";
|
|
24
29
|
import { ListMessagesCommand, } from "./commands/ListMessagesCommand";
|
|
25
30
|
import { MarkReadCommand, } from "./commands/MarkReadCommand";
|
|
31
|
+
import { MarkUnreadCommand, } from "./commands/MarkUnreadCommand";
|
|
26
32
|
import { PartialUpdateChannelCommand, } from "./commands/PartialUpdateChannelCommand";
|
|
27
33
|
import { PartialUpdateMessageCommand, } from "./commands/PartialUpdateMessageCommand";
|
|
34
|
+
import { PinChannelCommand, } from "./commands/PinChannelCommand";
|
|
28
35
|
import { ScheduleExternalFlagAdjustmentJobCommand, } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
29
36
|
import { SendGiphyCommand, } from "./commands/SendGiphyCommand";
|
|
30
37
|
import { SendMessageCommand, } from "./commands/SendMessageCommand";
|
|
@@ -32,7 +39,11 @@ import { SendMessageReactionCommand, } from "./commands/SendMessageReactionComma
|
|
|
32
39
|
import { SendTypingStartCommand, } from "./commands/SendTypingStartCommand";
|
|
33
40
|
import { SendTypingStopCommand, } from "./commands/SendTypingStopCommand";
|
|
34
41
|
import { ShowChannelCommand, } from "./commands/ShowChannelCommand";
|
|
42
|
+
import { TagChannelCommand, } from "./commands/TagChannelCommand";
|
|
43
|
+
import { UnpinChannelCommand, } from "./commands/UnpinChannelCommand";
|
|
44
|
+
import { UntagChannelCommand, } from "./commands/UntagChannelCommand";
|
|
35
45
|
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
46
|
+
import { UpdateInboxTagCommand, } from "./commands/UpdateInboxTagCommand";
|
|
36
47
|
import { UpdateMessageCommand, } from "./commands/UpdateMessageCommand";
|
|
37
48
|
import { UploadFileCommand, } from "./commands/UploadFileCommand";
|
|
38
49
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
@@ -40,8 +51,10 @@ const commands = {
|
|
|
40
51
|
AddChannelMemberCommand,
|
|
41
52
|
AddChannelMembersCommand,
|
|
42
53
|
CreateGroupChannelCommand,
|
|
54
|
+
CreateInboxTagCommand,
|
|
43
55
|
DeleteChannelCommand,
|
|
44
56
|
DeleteChannelMemberCommand,
|
|
57
|
+
DeleteInboxTagCommand,
|
|
45
58
|
DeleteMessageCommand,
|
|
46
59
|
DeleteMessageReactionCommand,
|
|
47
60
|
DescribeEventCommand,
|
|
@@ -49,6 +62,7 @@ const commands = {
|
|
|
49
62
|
GetChannelMemberCommand,
|
|
50
63
|
GetDirectChannelIdCommand,
|
|
51
64
|
GetFilePresignedDownloadUrlCommand,
|
|
65
|
+
GetInboxStateCommand,
|
|
52
66
|
GetMessageCommand,
|
|
53
67
|
GetOrCreateDirectChannelCommand,
|
|
54
68
|
GetUploadedFileInfoCommand,
|
|
@@ -58,11 +72,15 @@ const commands = {
|
|
|
58
72
|
LeaveChannelCommand,
|
|
59
73
|
ListChannelMembersCommand,
|
|
60
74
|
ListChannelsCommand,
|
|
75
|
+
ListInboxTaggedChannelsCommand,
|
|
76
|
+
ListInboxTagsCommand,
|
|
61
77
|
ListMessageReactionsCommand,
|
|
62
78
|
ListMessagesCommand,
|
|
63
79
|
MarkReadCommand,
|
|
80
|
+
MarkUnreadCommand,
|
|
64
81
|
PartialUpdateChannelCommand,
|
|
65
82
|
PartialUpdateMessageCommand,
|
|
83
|
+
PinChannelCommand,
|
|
66
84
|
ScheduleExternalFlagAdjustmentJobCommand,
|
|
67
85
|
SendGiphyCommand,
|
|
68
86
|
SendMessageCommand,
|
|
@@ -70,7 +88,11 @@ const commands = {
|
|
|
70
88
|
SendTypingStartCommand,
|
|
71
89
|
SendTypingStopCommand,
|
|
72
90
|
ShowChannelCommand,
|
|
91
|
+
TagChannelCommand,
|
|
92
|
+
UnpinChannelCommand,
|
|
93
|
+
UntagChannelCommand,
|
|
73
94
|
UpdateChannelCommand,
|
|
95
|
+
UpdateInboxTagCommand,
|
|
74
96
|
UpdateMessageCommand,
|
|
75
97
|
UploadFileCommand,
|
|
76
98
|
};
|