@wildix/xbees-conversations-client 1.0.56 → 1.0.58
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 -2
- package/dist-cjs/commands/{CreateKiteChannelCommand.js → CreateInboxTagCommand.js} +7 -7
- 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 -1
- package/dist-cjs/models/models_0.js +74 -39
- package/dist-cjs/protocols/Aws_restJson1.js +373 -26
- package/dist-es/Conversations.js +22 -2
- 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 -1
- package/dist-es/models/models_0.js +68 -36
- package/dist-es/protocols/Aws_restJson1.js +350 -23
- package/dist-types/Conversations.d.ts +77 -5
- package/dist-types/ConversationsClient.d.ts +13 -3
- package/dist-types/commands/CreateInboxTagCommand.d.ts +73 -0
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +65 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +0 -30
- package/dist-types/commands/GetInboxStateCommand.d.ts +92 -0
- package/dist-types/commands/GetMessageCommand.d.ts +0 -6
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +74 -0
- package/dist-types/commands/ListInboxTagsCommand.d.ts +71 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +0 -6
- package/dist-types/commands/MarkUnreadCommand.d.ts +76 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +0 -12
- package/dist-types/commands/PinChannelCommand.d.ts +75 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +0 -6
- package/dist-types/commands/SendMessageCommand.d.ts +0 -12
- 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/UpdateMessageCommand.d.ts +0 -12
- package/dist-types/commands/index.d.ts +11 -1
- package/dist-types/models/models_0.d.ts +412 -217
- package/dist-types/protocols/Aws_restJson1.d.ts +95 -5
- package/package.json +4 -3
- package/dist-es/commands/CreateKiteChannelCommand.js +0 -17
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +0 -300
|
@@ -5,9 +5,10 @@ const ConversationsClient_1 = require("./ConversationsClient");
|
|
|
5
5
|
const AddChannelMemberCommand_1 = require("./commands/AddChannelMemberCommand");
|
|
6
6
|
const AddChannelMembersCommand_1 = require("./commands/AddChannelMembersCommand");
|
|
7
7
|
const CreateGroupChannelCommand_1 = require("./commands/CreateGroupChannelCommand");
|
|
8
|
-
const
|
|
8
|
+
const CreateInboxTagCommand_1 = require("./commands/CreateInboxTagCommand");
|
|
9
9
|
const DeleteChannelCommand_1 = require("./commands/DeleteChannelCommand");
|
|
10
10
|
const DeleteChannelMemberCommand_1 = require("./commands/DeleteChannelMemberCommand");
|
|
11
|
+
const DeleteInboxTagCommand_1 = require("./commands/DeleteInboxTagCommand");
|
|
11
12
|
const DeleteMessageCommand_1 = require("./commands/DeleteMessageCommand");
|
|
12
13
|
const DeleteMessageReactionCommand_1 = require("./commands/DeleteMessageReactionCommand");
|
|
13
14
|
const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
|
|
@@ -15,6 +16,7 @@ const GetChannelCommand_1 = require("./commands/GetChannelCommand");
|
|
|
15
16
|
const GetChannelMemberCommand_1 = require("./commands/GetChannelMemberCommand");
|
|
16
17
|
const GetDirectChannelIdCommand_1 = require("./commands/GetDirectChannelIdCommand");
|
|
17
18
|
const GetFilePresignedDownloadUrlCommand_1 = require("./commands/GetFilePresignedDownloadUrlCommand");
|
|
19
|
+
const GetInboxStateCommand_1 = require("./commands/GetInboxStateCommand");
|
|
18
20
|
const GetMessageCommand_1 = require("./commands/GetMessageCommand");
|
|
19
21
|
const GetOrCreateDirectChannelCommand_1 = require("./commands/GetOrCreateDirectChannelCommand");
|
|
20
22
|
const GetUploadedFileInfoCommand_1 = require("./commands/GetUploadedFileInfoCommand");
|
|
@@ -24,11 +26,15 @@ const JoinChannelCommand_1 = require("./commands/JoinChannelCommand");
|
|
|
24
26
|
const LeaveChannelCommand_1 = require("./commands/LeaveChannelCommand");
|
|
25
27
|
const ListChannelMembersCommand_1 = require("./commands/ListChannelMembersCommand");
|
|
26
28
|
const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
|
|
29
|
+
const ListInboxTaggedChannelsCommand_1 = require("./commands/ListInboxTaggedChannelsCommand");
|
|
30
|
+
const ListInboxTagsCommand_1 = require("./commands/ListInboxTagsCommand");
|
|
27
31
|
const ListMessageReactionsCommand_1 = require("./commands/ListMessageReactionsCommand");
|
|
28
32
|
const ListMessagesCommand_1 = require("./commands/ListMessagesCommand");
|
|
29
33
|
const MarkReadCommand_1 = require("./commands/MarkReadCommand");
|
|
34
|
+
const MarkUnreadCommand_1 = require("./commands/MarkUnreadCommand");
|
|
30
35
|
const PartialUpdateChannelCommand_1 = require("./commands/PartialUpdateChannelCommand");
|
|
31
36
|
const PartialUpdateMessageCommand_1 = require("./commands/PartialUpdateMessageCommand");
|
|
37
|
+
const PinChannelCommand_1 = require("./commands/PinChannelCommand");
|
|
32
38
|
const ScheduleExternalFlagAdjustmentJobCommand_1 = require("./commands/ScheduleExternalFlagAdjustmentJobCommand");
|
|
33
39
|
const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
|
|
34
40
|
const SendMessageCommand_1 = require("./commands/SendMessageCommand");
|
|
@@ -36,7 +42,11 @@ const SendMessageReactionCommand_1 = require("./commands/SendMessageReactionComm
|
|
|
36
42
|
const SendTypingStartCommand_1 = require("./commands/SendTypingStartCommand");
|
|
37
43
|
const SendTypingStopCommand_1 = require("./commands/SendTypingStopCommand");
|
|
38
44
|
const ShowChannelCommand_1 = require("./commands/ShowChannelCommand");
|
|
45
|
+
const TagChannelCommand_1 = require("./commands/TagChannelCommand");
|
|
46
|
+
const UnpinChannelCommand_1 = require("./commands/UnpinChannelCommand");
|
|
47
|
+
const UntagChannelCommand_1 = require("./commands/UntagChannelCommand");
|
|
39
48
|
const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
|
|
49
|
+
const UpdateInboxTagCommand_1 = require("./commands/UpdateInboxTagCommand");
|
|
40
50
|
const UpdateMessageCommand_1 = require("./commands/UpdateMessageCommand");
|
|
41
51
|
const UploadFileCommand_1 = require("./commands/UploadFileCommand");
|
|
42
52
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -44,9 +54,10 @@ const commands = {
|
|
|
44
54
|
AddChannelMemberCommand: AddChannelMemberCommand_1.AddChannelMemberCommand,
|
|
45
55
|
AddChannelMembersCommand: AddChannelMembersCommand_1.AddChannelMembersCommand,
|
|
46
56
|
CreateGroupChannelCommand: CreateGroupChannelCommand_1.CreateGroupChannelCommand,
|
|
47
|
-
|
|
57
|
+
CreateInboxTagCommand: CreateInboxTagCommand_1.CreateInboxTagCommand,
|
|
48
58
|
DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
|
|
49
59
|
DeleteChannelMemberCommand: DeleteChannelMemberCommand_1.DeleteChannelMemberCommand,
|
|
60
|
+
DeleteInboxTagCommand: DeleteInboxTagCommand_1.DeleteInboxTagCommand,
|
|
50
61
|
DeleteMessageCommand: DeleteMessageCommand_1.DeleteMessageCommand,
|
|
51
62
|
DeleteMessageReactionCommand: DeleteMessageReactionCommand_1.DeleteMessageReactionCommand,
|
|
52
63
|
DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
|
|
@@ -54,6 +65,7 @@ const commands = {
|
|
|
54
65
|
GetChannelMemberCommand: GetChannelMemberCommand_1.GetChannelMemberCommand,
|
|
55
66
|
GetDirectChannelIdCommand: GetDirectChannelIdCommand_1.GetDirectChannelIdCommand,
|
|
56
67
|
GetFilePresignedDownloadUrlCommand: GetFilePresignedDownloadUrlCommand_1.GetFilePresignedDownloadUrlCommand,
|
|
68
|
+
GetInboxStateCommand: GetInboxStateCommand_1.GetInboxStateCommand,
|
|
57
69
|
GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
|
|
58
70
|
GetOrCreateDirectChannelCommand: GetOrCreateDirectChannelCommand_1.GetOrCreateDirectChannelCommand,
|
|
59
71
|
GetUploadedFileInfoCommand: GetUploadedFileInfoCommand_1.GetUploadedFileInfoCommand,
|
|
@@ -63,11 +75,15 @@ const commands = {
|
|
|
63
75
|
LeaveChannelCommand: LeaveChannelCommand_1.LeaveChannelCommand,
|
|
64
76
|
ListChannelMembersCommand: ListChannelMembersCommand_1.ListChannelMembersCommand,
|
|
65
77
|
ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
|
|
78
|
+
ListInboxTaggedChannelsCommand: ListInboxTaggedChannelsCommand_1.ListInboxTaggedChannelsCommand,
|
|
79
|
+
ListInboxTagsCommand: ListInboxTagsCommand_1.ListInboxTagsCommand,
|
|
66
80
|
ListMessageReactionsCommand: ListMessageReactionsCommand_1.ListMessageReactionsCommand,
|
|
67
81
|
ListMessagesCommand: ListMessagesCommand_1.ListMessagesCommand,
|
|
68
82
|
MarkReadCommand: MarkReadCommand_1.MarkReadCommand,
|
|
83
|
+
MarkUnreadCommand: MarkUnreadCommand_1.MarkUnreadCommand,
|
|
69
84
|
PartialUpdateChannelCommand: PartialUpdateChannelCommand_1.PartialUpdateChannelCommand,
|
|
70
85
|
PartialUpdateMessageCommand: PartialUpdateMessageCommand_1.PartialUpdateMessageCommand,
|
|
86
|
+
PinChannelCommand: PinChannelCommand_1.PinChannelCommand,
|
|
71
87
|
ScheduleExternalFlagAdjustmentJobCommand: ScheduleExternalFlagAdjustmentJobCommand_1.ScheduleExternalFlagAdjustmentJobCommand,
|
|
72
88
|
SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
|
|
73
89
|
SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
|
|
@@ -75,7 +91,11 @@ const commands = {
|
|
|
75
91
|
SendTypingStartCommand: SendTypingStartCommand_1.SendTypingStartCommand,
|
|
76
92
|
SendTypingStopCommand: SendTypingStopCommand_1.SendTypingStopCommand,
|
|
77
93
|
ShowChannelCommand: ShowChannelCommand_1.ShowChannelCommand,
|
|
94
|
+
TagChannelCommand: TagChannelCommand_1.TagChannelCommand,
|
|
95
|
+
UnpinChannelCommand: UnpinChannelCommand_1.UnpinChannelCommand,
|
|
96
|
+
UntagChannelCommand: UntagChannelCommand_1.UntagChannelCommand,
|
|
78
97
|
UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
|
|
98
|
+
UpdateInboxTagCommand: UpdateInboxTagCommand_1.UpdateInboxTagCommand,
|
|
79
99
|
UpdateMessageCommand: UpdateMessageCommand_1.UpdateMessageCommand,
|
|
80
100
|
UploadFileCommand: UploadFileCommand_1.UploadFileCommand,
|
|
81
101
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreateInboxTagCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class
|
|
8
|
+
class CreateInboxTagCommand extends smithy_client_1.Command.classBuilder()
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [
|
|
11
11
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
12
|
];
|
|
13
13
|
})
|
|
14
|
-
.s("Conversations", "
|
|
15
|
-
.n("ConversationsClient", "
|
|
14
|
+
.s("Conversations", "CreateInboxTag", {})
|
|
15
|
+
.n("ConversationsClient", "CreateInboxTagCommand")
|
|
16
16
|
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.
|
|
18
|
-
.de(Aws_restJson1_1.
|
|
17
|
+
.ser(Aws_restJson1_1.se_CreateInboxTagCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CreateInboxTagCommand)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
21
|
+
exports.CreateInboxTagCommand = CreateInboxTagCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteInboxTagCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class DeleteInboxTagCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "DeleteInboxTag", {})
|
|
15
|
+
.n("ConversationsClient", "DeleteInboxTagCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_DeleteInboxTagCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_DeleteInboxTagCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.DeleteInboxTagCommand = DeleteInboxTagCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInboxStateCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetInboxStateCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "GetInboxState", {})
|
|
15
|
+
.n("ConversationsClient", "GetInboxStateCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetInboxStateCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetInboxStateCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetInboxStateCommand = GetInboxStateCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListInboxTaggedChannelsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class ListInboxTaggedChannelsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "ListInboxTaggedChannels", {})
|
|
15
|
+
.n("ConversationsClient", "ListInboxTaggedChannelsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_ListInboxTaggedChannelsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ListInboxTaggedChannelsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.ListInboxTaggedChannelsCommand = ListInboxTaggedChannelsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListInboxTagsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class ListInboxTagsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "ListInboxTags", {})
|
|
15
|
+
.n("ConversationsClient", "ListInboxTagsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_ListInboxTagsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ListInboxTagsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.ListInboxTagsCommand = ListInboxTagsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MarkUnreadCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class MarkUnreadCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "MarkUnread", {})
|
|
15
|
+
.n("ConversationsClient", "MarkUnreadCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_MarkUnreadCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_MarkUnreadCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.MarkUnreadCommand = MarkUnreadCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PinChannelCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PinChannelCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "PinChannel", {})
|
|
15
|
+
.n("ConversationsClient", "PinChannelCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PinChannelCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PinChannelCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PinChannelCommand = PinChannelCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagChannelCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class TagChannelCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "TagChannel", {})
|
|
15
|
+
.n("ConversationsClient", "TagChannelCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_TagChannelCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_TagChannelCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.TagChannelCommand = TagChannelCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnpinChannelCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class UnpinChannelCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "UnpinChannel", {})
|
|
15
|
+
.n("ConversationsClient", "UnpinChannelCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_UnpinChannelCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_UnpinChannelCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.UnpinChannelCommand = UnpinChannelCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagChannelCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class UntagChannelCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "UntagChannel", {})
|
|
15
|
+
.n("ConversationsClient", "UntagChannelCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_UntagChannelCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_UntagChannelCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.UntagChannelCommand = UntagChannelCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateInboxTagCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class UpdateInboxTagCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Conversations", "UpdateInboxTag", {})
|
|
15
|
+
.n("ConversationsClient", "UpdateInboxTagCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_UpdateInboxTagCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_UpdateInboxTagCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateInboxTagCommand = UpdateInboxTagCommand;
|
|
@@ -4,9 +4,10 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./AddChannelMemberCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./AddChannelMembersCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateGroupChannelCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./
|
|
7
|
+
tslib_1.__exportStar(require("./CreateInboxTagCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./DeleteChannelMemberCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteInboxTagCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DeleteMessageCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./DeleteMessageReactionCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
|
|
@@ -14,6 +15,7 @@ tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
|
14
15
|
tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./GetDirectChannelIdCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./GetFilePresignedDownloadUrlCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetInboxStateCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./GetMessageCommand"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./GetUploadedFileInfoCommand"), exports);
|
|
@@ -23,11 +25,15 @@ tslib_1.__exportStar(require("./JoinChannelCommand"), exports);
|
|
|
23
25
|
tslib_1.__exportStar(require("./LeaveChannelCommand"), exports);
|
|
24
26
|
tslib_1.__exportStar(require("./ListChannelMembersCommand"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ListInboxTaggedChannelsCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListInboxTagsCommand"), exports);
|
|
26
30
|
tslib_1.__exportStar(require("./ListMessageReactionsCommand"), exports);
|
|
27
31
|
tslib_1.__exportStar(require("./ListMessagesCommand"), exports);
|
|
28
32
|
tslib_1.__exportStar(require("./MarkReadCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./MarkUnreadCommand"), exports);
|
|
29
34
|
tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
|
|
30
35
|
tslib_1.__exportStar(require("./PartialUpdateMessageCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./PinChannelCommand"), exports);
|
|
31
37
|
tslib_1.__exportStar(require("./ScheduleExternalFlagAdjustmentJobCommand"), exports);
|
|
32
38
|
tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
|
|
33
39
|
tslib_1.__exportStar(require("./SendMessageCommand"), exports);
|
|
@@ -35,6 +41,10 @@ tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
|
|
|
35
41
|
tslib_1.__exportStar(require("./SendTypingStartCommand"), exports);
|
|
36
42
|
tslib_1.__exportStar(require("./SendTypingStopCommand"), exports);
|
|
37
43
|
tslib_1.__exportStar(require("./ShowChannelCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./TagChannelCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./UnpinChannelCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./UntagChannelCommand"), exports);
|
|
38
47
|
tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./UpdateInboxTagCommand"), exports);
|
|
39
49
|
tslib_1.__exportStar(require("./UpdateMessageCommand"), exports);
|
|
40
50
|
tslib_1.__exportStar(require("./UploadFileCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.
|
|
3
|
+
exports.TaggedChannelsLimitReachedException = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.FileNotFoundException = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.TagsLimitReachedException = exports.ConversationFileCategory = exports.ChannelAlreadyExistException = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.RateLimitExceededException = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
5
|
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -112,52 +112,19 @@ exports.ConversationFileCategory = {
|
|
|
112
112
|
GENERAL: "channels",
|
|
113
113
|
RECORDING: "recordings",
|
|
114
114
|
};
|
|
115
|
-
|
|
116
|
-
DELIVERED: "delivered",
|
|
117
|
-
ERROR: "error",
|
|
118
|
-
SENT: "sent",
|
|
119
|
-
TRYING: "trying",
|
|
120
|
-
};
|
|
121
|
-
exports.MessageType = {
|
|
122
|
-
REGULAR: "regular",
|
|
123
|
-
SYSTEM: "system",
|
|
124
|
-
};
|
|
125
|
-
exports.MessageWhatsAppStatus = {
|
|
126
|
-
DELIVERED: "delivered",
|
|
127
|
-
ERROR: "error",
|
|
128
|
-
SENT: "sent",
|
|
129
|
-
TRYING: "trying",
|
|
130
|
-
};
|
|
131
|
-
exports.TargetNotEligibleReason = {
|
|
132
|
-
NO_LICENSE: "no_license",
|
|
133
|
-
};
|
|
134
|
-
class TargetNotEligibleException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
115
|
+
class TagsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
135
116
|
constructor(opts) {
|
|
136
117
|
super({
|
|
137
|
-
name: "
|
|
118
|
+
name: "TagsLimitReachedException",
|
|
138
119
|
$fault: "client",
|
|
139
120
|
...opts
|
|
140
121
|
});
|
|
141
|
-
this.name = "
|
|
122
|
+
this.name = "TagsLimitReachedException";
|
|
142
123
|
this.$fault = "client";
|
|
143
|
-
Object.setPrototypeOf(this,
|
|
144
|
-
this.reason = opts.reason;
|
|
124
|
+
Object.setPrototypeOf(this, TagsLimitReachedException.prototype);
|
|
145
125
|
}
|
|
146
126
|
}
|
|
147
|
-
exports.
|
|
148
|
-
class TargetNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
149
|
-
constructor(opts) {
|
|
150
|
-
super({
|
|
151
|
-
name: "TargetNotFoundException",
|
|
152
|
-
$fault: "client",
|
|
153
|
-
...opts
|
|
154
|
-
});
|
|
155
|
-
this.name = "TargetNotFoundException";
|
|
156
|
-
this.$fault = "client";
|
|
157
|
-
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
exports.TargetNotFoundException = TargetNotFoundException;
|
|
127
|
+
exports.TagsLimitReachedException = TagsLimitReachedException;
|
|
161
128
|
class MemberNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
162
129
|
constructor(opts) {
|
|
163
130
|
super({
|
|
@@ -206,6 +173,22 @@ exports.WebhookEventType = {
|
|
|
206
173
|
REACTION_DELETED: "chat:reaction:deleted",
|
|
207
174
|
REACTION_NEW: "chat:reaction:new",
|
|
208
175
|
};
|
|
176
|
+
exports.MessageSmsStatus = {
|
|
177
|
+
DELIVERED: "delivered",
|
|
178
|
+
ERROR: "error",
|
|
179
|
+
SENT: "sent",
|
|
180
|
+
TRYING: "trying",
|
|
181
|
+
};
|
|
182
|
+
exports.MessageType = {
|
|
183
|
+
REGULAR: "regular",
|
|
184
|
+
SYSTEM: "system",
|
|
185
|
+
};
|
|
186
|
+
exports.MessageWhatsAppStatus = {
|
|
187
|
+
DELIVERED: "delivered",
|
|
188
|
+
ERROR: "error",
|
|
189
|
+
SENT: "sent",
|
|
190
|
+
TRYING: "trying",
|
|
191
|
+
};
|
|
209
192
|
class FileNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
210
193
|
constructor(opts) {
|
|
211
194
|
super({
|
|
@@ -219,6 +202,32 @@ class FileNotFoundException extends ConversationsServiceException_1.Conversation
|
|
|
219
202
|
}
|
|
220
203
|
}
|
|
221
204
|
exports.FileNotFoundException = FileNotFoundException;
|
|
205
|
+
class TagNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
206
|
+
constructor(opts) {
|
|
207
|
+
super({
|
|
208
|
+
name: "TagNotFoundException",
|
|
209
|
+
$fault: "client",
|
|
210
|
+
...opts
|
|
211
|
+
});
|
|
212
|
+
this.name = "TagNotFoundException";
|
|
213
|
+
this.$fault = "client";
|
|
214
|
+
Object.setPrototypeOf(this, TagNotFoundException.prototype);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
exports.TagNotFoundException = TagNotFoundException;
|
|
218
|
+
class MarkUnreadChannelsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "MarkUnreadChannelsLimitReachedException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts
|
|
224
|
+
});
|
|
225
|
+
this.name = "MarkUnreadChannelsLimitReachedException";
|
|
226
|
+
this.$fault = "client";
|
|
227
|
+
Object.setPrototypeOf(this, MarkUnreadChannelsLimitReachedException.prototype);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
exports.MarkUnreadChannelsLimitReachedException = MarkUnreadChannelsLimitReachedException;
|
|
222
231
|
exports.GroupChannelUnsetOptions = {
|
|
223
232
|
ACCESS: "access",
|
|
224
233
|
BROADCAST: "broadcast",
|
|
@@ -233,6 +242,19 @@ exports.MessageUnsetFields = {
|
|
|
233
242
|
QUOTE: "quote",
|
|
234
243
|
TEXT: "text",
|
|
235
244
|
};
|
|
245
|
+
class PinnedChannelsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
246
|
+
constructor(opts) {
|
|
247
|
+
super({
|
|
248
|
+
name: "PinnedChannelsLimitReachedException",
|
|
249
|
+
$fault: "client",
|
|
250
|
+
...opts
|
|
251
|
+
});
|
|
252
|
+
this.name = "PinnedChannelsLimitReachedException";
|
|
253
|
+
this.$fault = "client";
|
|
254
|
+
Object.setPrototypeOf(this, PinnedChannelsLimitReachedException.prototype);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
exports.PinnedChannelsLimitReachedException = PinnedChannelsLimitReachedException;
|
|
236
258
|
class ConversationsServiceException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
237
259
|
constructor(opts) {
|
|
238
260
|
super({
|
|
@@ -246,3 +268,16 @@ class ConversationsServiceException extends ConversationsServiceException_1.Conv
|
|
|
246
268
|
}
|
|
247
269
|
}
|
|
248
270
|
exports.ConversationsServiceException = ConversationsServiceException;
|
|
271
|
+
class TaggedChannelsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "TaggedChannelsLimitReachedException",
|
|
275
|
+
$fault: "client",
|
|
276
|
+
...opts
|
|
277
|
+
});
|
|
278
|
+
this.name = "TaggedChannelsLimitReachedException";
|
|
279
|
+
this.$fault = "client";
|
|
280
|
+
Object.setPrototypeOf(this, TaggedChannelsLimitReachedException.prototype);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
exports.TaggedChannelsLimitReachedException = TaggedChannelsLimitReachedException;
|