@wildix/xbees-conversations-client 1.0.32 → 1.0.34
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 +6 -4
- package/dist-cjs/commands/{SendSystemMessageCommand.js → HideChannelCommand.js} +7 -7
- package/dist-cjs/commands/ListMessageReactionsCommand.js +41 -0
- package/dist-cjs/commands/{GetMessageReactionsCommand.js → ShowChannelCommand.js} +7 -7
- package/dist-cjs/commands/index.js +3 -2
- package/dist-cjs/protocols/Aws_restJson1.js +138 -135
- package/dist-es/Conversations.js +6 -4
- package/dist-es/commands/{SendSystemMessageCommand.js → HideChannelCommand.js} +6 -6
- package/dist-es/commands/ListMessageReactionsCommand.js +37 -0
- package/dist-es/commands/{GetMessageReactionsCommand.js → ShowChannelCommand.js} +6 -6
- package/dist-es/commands/index.js +3 -2
- package/dist-es/protocols/Aws_restJson1.js +125 -124
- package/dist-types/Conversations.d.ts +21 -14
- package/dist-types/ConversationsClient.d.ts +5 -4
- package/dist-types/commands/AddChannelMemberCommand.d.ts +1 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +1 -0
- package/dist-types/commands/GetMessageCommand.d.ts +29 -47
- package/dist-types/commands/HideChannelCommand.d.ts +140 -0
- package/dist-types/commands/{GetMessageReactionsCommand.d.ts → ListMessageReactionsCommand.d.ts} +18 -18
- package/dist-types/commands/ListMessagesCommand.d.ts +31 -47
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +65 -138
- package/dist-types/commands/SendGiphyCommand.d.ts +29 -47
- package/dist-types/commands/SendMessageCommand.d.ts +65 -138
- package/dist-types/commands/ShowChannelCommand.d.ts +140 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +65 -138
- package/dist-types/commands/index.d.ts +3 -2
- package/dist-types/models/models_0.d.ts +150 -119
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -18
- package/package.json +1 -1
- package/dist-types/commands/SendSystemMessageCommand.d.ts +0 -213
|
@@ -13,13 +13,14 @@ const GetChannelCommand_1 = require("./commands/GetChannelCommand");
|
|
|
13
13
|
const GetChannelMemberCommand_1 = require("./commands/GetChannelMemberCommand");
|
|
14
14
|
const GetDirectChannelIdCommand_1 = require("./commands/GetDirectChannelIdCommand");
|
|
15
15
|
const GetMessageCommand_1 = require("./commands/GetMessageCommand");
|
|
16
|
-
const GetMessageReactionsCommand_1 = require("./commands/GetMessageReactionsCommand");
|
|
17
16
|
const GetOrCreateDirectChannelCommand_1 = require("./commands/GetOrCreateDirectChannelCommand");
|
|
17
|
+
const HideChannelCommand_1 = require("./commands/HideChannelCommand");
|
|
18
18
|
const InviteCommand_1 = require("./commands/InviteCommand");
|
|
19
19
|
const JoinChannelCommand_1 = require("./commands/JoinChannelCommand");
|
|
20
20
|
const LeaveChannelCommand_1 = require("./commands/LeaveChannelCommand");
|
|
21
21
|
const ListChannelMembersCommand_1 = require("./commands/ListChannelMembersCommand");
|
|
22
22
|
const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
|
|
23
|
+
const ListMessageReactionsCommand_1 = require("./commands/ListMessageReactionsCommand");
|
|
23
24
|
const ListMessagesCommand_1 = require("./commands/ListMessagesCommand");
|
|
24
25
|
const MarkReadCommand_1 = require("./commands/MarkReadCommand");
|
|
25
26
|
const PartialUpdateChannelCommand_1 = require("./commands/PartialUpdateChannelCommand");
|
|
@@ -28,9 +29,9 @@ const ScheduleExternalFlagAdjustmentJobCommand_1 = require("./commands/ScheduleE
|
|
|
28
29
|
const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
|
|
29
30
|
const SendMessageCommand_1 = require("./commands/SendMessageCommand");
|
|
30
31
|
const SendMessageReactionCommand_1 = require("./commands/SendMessageReactionCommand");
|
|
31
|
-
const SendSystemMessageCommand_1 = require("./commands/SendSystemMessageCommand");
|
|
32
32
|
const SendTypingStartCommand_1 = require("./commands/SendTypingStartCommand");
|
|
33
33
|
const SendTypingStopCommand_1 = require("./commands/SendTypingStopCommand");
|
|
34
|
+
const ShowChannelCommand_1 = require("./commands/ShowChannelCommand");
|
|
34
35
|
const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
|
|
35
36
|
const UpdateMessageCommand_1 = require("./commands/UpdateMessageCommand");
|
|
36
37
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -46,13 +47,14 @@ const commands = {
|
|
|
46
47
|
GetChannelMemberCommand: GetChannelMemberCommand_1.GetChannelMemberCommand,
|
|
47
48
|
GetDirectChannelIdCommand: GetDirectChannelIdCommand_1.GetDirectChannelIdCommand,
|
|
48
49
|
GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
|
|
49
|
-
GetMessageReactionsCommand: GetMessageReactionsCommand_1.GetMessageReactionsCommand,
|
|
50
50
|
GetOrCreateDirectChannelCommand: GetOrCreateDirectChannelCommand_1.GetOrCreateDirectChannelCommand,
|
|
51
|
+
HideChannelCommand: HideChannelCommand_1.HideChannelCommand,
|
|
51
52
|
InviteCommand: InviteCommand_1.InviteCommand,
|
|
52
53
|
JoinChannelCommand: JoinChannelCommand_1.JoinChannelCommand,
|
|
53
54
|
LeaveChannelCommand: LeaveChannelCommand_1.LeaveChannelCommand,
|
|
54
55
|
ListChannelMembersCommand: ListChannelMembersCommand_1.ListChannelMembersCommand,
|
|
55
56
|
ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
|
|
57
|
+
ListMessageReactionsCommand: ListMessageReactionsCommand_1.ListMessageReactionsCommand,
|
|
56
58
|
ListMessagesCommand: ListMessagesCommand_1.ListMessagesCommand,
|
|
57
59
|
MarkReadCommand: MarkReadCommand_1.MarkReadCommand,
|
|
58
60
|
PartialUpdateChannelCommand: PartialUpdateChannelCommand_1.PartialUpdateChannelCommand,
|
|
@@ -61,9 +63,9 @@ const commands = {
|
|
|
61
63
|
SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
|
|
62
64
|
SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
|
|
63
65
|
SendMessageReactionCommand: SendMessageReactionCommand_1.SendMessageReactionCommand,
|
|
64
|
-
SendSystemMessageCommand: SendSystemMessageCommand_1.SendSystemMessageCommand,
|
|
65
66
|
SendTypingStartCommand: SendTypingStartCommand_1.SendTypingStartCommand,
|
|
66
67
|
SendTypingStopCommand: SendTypingStopCommand_1.SendTypingStopCommand,
|
|
68
|
+
ShowChannelCommand: ShowChannelCommand_1.ShowChannelCommand,
|
|
67
69
|
UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
|
|
68
70
|
UpdateMessageCommand: UpdateMessageCommand_1.UpdateMessageCommand,
|
|
69
71
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.HideChannelCommand = 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
8
|
const types_1 = require("@smithy/types");
|
|
9
|
-
class
|
|
9
|
+
class HideChannelCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
@@ -16,7 +16,7 @@ class SendSystemMessageCommand extends smithy_client_1.Command {
|
|
|
16
16
|
const stack = clientStack.concat(this.middlewareStack);
|
|
17
17
|
const { logger } = configuration;
|
|
18
18
|
const clientName = "ConversationsClient";
|
|
19
|
-
const commandName = "
|
|
19
|
+
const commandName = "HideChannelCommand";
|
|
20
20
|
const handlerExecutionContext = {
|
|
21
21
|
logger,
|
|
22
22
|
clientName,
|
|
@@ -25,17 +25,17 @@ class SendSystemMessageCommand extends smithy_client_1.Command {
|
|
|
25
25
|
outputFilterSensitiveLog: (_) => _,
|
|
26
26
|
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
27
|
service: "Conversations",
|
|
28
|
-
operation: "
|
|
28
|
+
operation: "HideChannel",
|
|
29
29
|
},
|
|
30
30
|
};
|
|
31
31
|
const { requestHandler } = configuration;
|
|
32
32
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
33
|
}
|
|
34
34
|
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.
|
|
35
|
+
return (0, Aws_restJson1_1.se_HideChannelCommand)(input, context);
|
|
36
36
|
}
|
|
37
37
|
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.
|
|
38
|
+
return (0, Aws_restJson1_1.de_HideChannelCommand)(output, context);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
41
|
+
exports.HideChannelCommand = HideChannelCommand;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListMessageReactionsCommand = 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
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
class ListMessageReactionsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "ConversationsClient";
|
|
19
|
+
const commandName = "ListMessageReactionsCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
24
|
+
inputFilterSensitiveLog: (_) => _,
|
|
25
|
+
outputFilterSensitiveLog: (_) => _,
|
|
26
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
+
service: "Conversations",
|
|
28
|
+
operation: "ListMessageReactions",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
const { requestHandler } = configuration;
|
|
32
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
|
+
}
|
|
34
|
+
serialize(input, context) {
|
|
35
|
+
return (0, Aws_restJson1_1.se_ListMessageReactionsCommand)(input, context);
|
|
36
|
+
}
|
|
37
|
+
deserialize(output, context) {
|
|
38
|
+
return (0, Aws_restJson1_1.de_ListMessageReactionsCommand)(output, context);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.ListMessageReactionsCommand = ListMessageReactionsCommand;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ShowChannelCommand = 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
8
|
const types_1 = require("@smithy/types");
|
|
9
|
-
class
|
|
9
|
+
class ShowChannelCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
@@ -16,7 +16,7 @@ class GetMessageReactionsCommand extends smithy_client_1.Command {
|
|
|
16
16
|
const stack = clientStack.concat(this.middlewareStack);
|
|
17
17
|
const { logger } = configuration;
|
|
18
18
|
const clientName = "ConversationsClient";
|
|
19
|
-
const commandName = "
|
|
19
|
+
const commandName = "ShowChannelCommand";
|
|
20
20
|
const handlerExecutionContext = {
|
|
21
21
|
logger,
|
|
22
22
|
clientName,
|
|
@@ -25,17 +25,17 @@ class GetMessageReactionsCommand extends smithy_client_1.Command {
|
|
|
25
25
|
outputFilterSensitiveLog: (_) => _,
|
|
26
26
|
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
27
|
service: "Conversations",
|
|
28
|
-
operation: "
|
|
28
|
+
operation: "ShowChannel",
|
|
29
29
|
},
|
|
30
30
|
};
|
|
31
31
|
const { requestHandler } = configuration;
|
|
32
32
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
33
33
|
}
|
|
34
34
|
serialize(input, context) {
|
|
35
|
-
return (0, Aws_restJson1_1.
|
|
35
|
+
return (0, Aws_restJson1_1.se_ShowChannelCommand)(input, context);
|
|
36
36
|
}
|
|
37
37
|
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.
|
|
38
|
+
return (0, Aws_restJson1_1.de_ShowChannelCommand)(output, context);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
41
|
+
exports.ShowChannelCommand = ShowChannelCommand;
|
|
@@ -12,13 +12,14 @@ tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
|
12
12
|
tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./GetDirectChannelIdCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./GetMessageCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./GetMessageReactionsCommand"), exports);
|
|
16
15
|
tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./HideChannelCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./InviteCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./JoinChannelCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./LeaveChannelCommand"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./ListChannelMembersCommand"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListMessageReactionsCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./ListMessagesCommand"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./MarkReadCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
|
|
@@ -27,8 +28,8 @@ tslib_1.__exportStar(require("./ScheduleExternalFlagAdjustmentJobCommand"), expo
|
|
|
27
28
|
tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
|
|
28
29
|
tslib_1.__exportStar(require("./SendMessageCommand"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./SendSystemMessageCommand"), exports);
|
|
31
31
|
tslib_1.__exportStar(require("./SendTypingStartCommand"), exports);
|
|
32
32
|
tslib_1.__exportStar(require("./SendTypingStopCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./ShowChannelCommand"), exports);
|
|
33
34
|
tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
|
|
34
35
|
tslib_1.__exportStar(require("./UpdateMessageCommand"), exports);
|