@wildix/xbees-conversations-client 1.0.35 → 1.0.37
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/ConversationsClient.js +7 -3
- package/dist-cjs/commands/AddChannelMemberCommand.js +12 -32
- package/dist-cjs/commands/AddChannelMembersCommand.js +12 -32
- package/dist-cjs/commands/CreateGroupChannelCommand.js +12 -32
- package/dist-cjs/commands/DeleteChannelCommand.js +12 -32
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +12 -32
- package/dist-cjs/commands/DeleteMessageCommand.js +12 -32
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +12 -32
- package/dist-cjs/commands/GetChannelCommand.js +12 -32
- package/dist-cjs/commands/GetChannelMemberCommand.js +12 -32
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +12 -32
- package/dist-cjs/commands/GetMessageCommand.js +12 -32
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +12 -32
- package/dist-cjs/commands/HideChannelCommand.js +12 -32
- package/dist-cjs/commands/InviteCommand.js +12 -32
- package/dist-cjs/commands/JoinChannelCommand.js +12 -32
- package/dist-cjs/commands/LeaveChannelCommand.js +12 -32
- package/dist-cjs/commands/ListChannelMembersCommand.js +12 -32
- package/dist-cjs/commands/ListChannelsCommand.js +12 -32
- package/dist-cjs/commands/ListMessageReactionsCommand.js +12 -32
- package/dist-cjs/commands/ListMessagesCommand.js +12 -32
- package/dist-cjs/commands/MarkReadCommand.js +12 -32
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +12 -32
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +12 -32
- package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
- package/dist-cjs/commands/SendGiphyCommand.js +12 -32
- package/dist-cjs/commands/SendMessageCommand.js +12 -32
- package/dist-cjs/commands/SendMessageReactionCommand.js +12 -32
- package/dist-cjs/commands/SendTypingStartCommand.js +12 -32
- package/dist-cjs/commands/SendTypingStopCommand.js +12 -32
- package/dist-cjs/commands/ShowChannelCommand.js +12 -32
- package/dist-cjs/commands/UpdateChannelCommand.js +12 -32
- package/dist-cjs/commands/UpdateMessageCommand.js +12 -32
- package/dist-cjs/protocols/Aws_restJson1.js +346 -1270
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +5 -1
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-es/ConversationsClient.js +7 -3
- package/dist-es/commands/AddChannelMemberCommand.js +12 -32
- package/dist-es/commands/AddChannelMembersCommand.js +12 -32
- package/dist-es/commands/CreateGroupChannelCommand.js +12 -32
- package/dist-es/commands/DeleteChannelCommand.js +12 -32
- package/dist-es/commands/DeleteChannelMemberCommand.js +12 -32
- package/dist-es/commands/DeleteMessageCommand.js +12 -32
- package/dist-es/commands/DeleteMessageReactionCommand.js +12 -32
- package/dist-es/commands/GetChannelCommand.js +12 -32
- package/dist-es/commands/GetChannelMemberCommand.js +12 -32
- package/dist-es/commands/GetDirectChannelIdCommand.js +12 -32
- package/dist-es/commands/GetMessageCommand.js +12 -32
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +12 -32
- package/dist-es/commands/HideChannelCommand.js +12 -32
- package/dist-es/commands/InviteCommand.js +12 -32
- package/dist-es/commands/JoinChannelCommand.js +12 -32
- package/dist-es/commands/LeaveChannelCommand.js +12 -32
- package/dist-es/commands/ListChannelMembersCommand.js +12 -32
- package/dist-es/commands/ListChannelsCommand.js +12 -32
- package/dist-es/commands/ListMessageReactionsCommand.js +12 -32
- package/dist-es/commands/ListMessagesCommand.js +12 -32
- package/dist-es/commands/MarkReadCommand.js +12 -32
- package/dist-es/commands/PartialUpdateChannelCommand.js +12 -32
- package/dist-es/commands/PartialUpdateMessageCommand.js +12 -32
- package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +12 -32
- package/dist-es/commands/SendGiphyCommand.js +12 -32
- package/dist-es/commands/SendMessageCommand.js +12 -32
- package/dist-es/commands/SendMessageReactionCommand.js +12 -32
- package/dist-es/commands/SendTypingStartCommand.js +12 -32
- package/dist-es/commands/SendTypingStopCommand.js +12 -32
- package/dist-es/commands/ShowChannelCommand.js +12 -32
- package/dist-es/commands/UpdateChannelCommand.js +12 -32
- package/dist-es/commands/UpdateMessageCommand.js +12 -32
- package/dist-es/protocols/Aws_restJson1.js +347 -1271
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-types/Conversations.d.ts +4 -0
- package/dist-types/ConversationsClient.d.ts +13 -7
- package/dist-types/commands/AddChannelMemberCommand.d.ts +8 -19
- package/dist-types/commands/AddChannelMembersCommand.d.ts +8 -19
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +7 -19
- package/dist-types/commands/DeleteChannelCommand.d.ts +7 -19
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +8 -19
- package/dist-types/commands/DeleteMessageCommand.d.ts +7 -19
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +7 -19
- package/dist-types/commands/GetChannelCommand.d.ts +7 -19
- package/dist-types/commands/GetChannelMemberCommand.d.ts +7 -19
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +9 -21
- package/dist-types/commands/GetMessageCommand.d.ts +7 -19
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +7 -19
- package/dist-types/commands/HideChannelCommand.d.ts +8 -84
- package/dist-types/commands/InviteCommand.d.ts +7 -19
- package/dist-types/commands/JoinChannelCommand.d.ts +7 -19
- package/dist-types/commands/LeaveChannelCommand.d.ts +7 -19
- package/dist-types/commands/ListChannelMembersCommand.d.ts +7 -19
- package/dist-types/commands/ListChannelsCommand.d.ts +7 -19
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +7 -19
- package/dist-types/commands/ListMessagesCommand.d.ts +8 -20
- package/dist-types/commands/MarkReadCommand.d.ts +7 -19
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +8 -19
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +7 -19
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +8 -20
- package/dist-types/commands/SendGiphyCommand.d.ts +7 -19
- package/dist-types/commands/SendMessageCommand.d.ts +7 -19
- package/dist-types/commands/SendMessageReactionCommand.d.ts +7 -19
- package/dist-types/commands/SendTypingStartCommand.d.ts +7 -19
- package/dist-types/commands/SendTypingStopCommand.d.ts +7 -19
- package/dist-types/commands/ShowChannelCommand.d.ts +8 -84
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -19
- package/dist-types/commands/UpdateMessageCommand.d.ts +7 -19
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +69 -46
- package/dist-types/runtimeConfig.browser.d.ts +3 -4
- package/dist-types/runtimeConfig.d.ts +3 -4
- package/dist-types/runtimeConfig.native.d.ts +3 -4
- package/package.json +30 -28
|
@@ -3,28 +3,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ConversationsClient = exports.__Client = void 0;
|
|
4
4
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
5
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
6
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
8
9
|
const smithy_utils_1 = require("@wildix/smithy-utils");
|
|
9
10
|
class ConversationsClient extends smithy_client_1.Client {
|
|
10
11
|
constructor(...[configuration]) {
|
|
11
12
|
let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
12
|
-
let _config_1 = (0,
|
|
13
|
+
let _config_1 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_0);
|
|
14
|
+
let _config_2 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_1, configuration?.extensions || []);
|
|
15
|
+
const hostname = ['stable', 'stage'].includes(configuration.env || '') ? `api-${configuration.env}.x-bees.com` : 'api.x-bees.com';
|
|
13
16
|
const endpoint = () => {
|
|
14
17
|
return {
|
|
15
|
-
hostname
|
|
18
|
+
hostname,
|
|
16
19
|
protocol: "https",
|
|
17
20
|
port: '443',
|
|
18
21
|
path: ''
|
|
19
22
|
};
|
|
20
23
|
};
|
|
21
24
|
const config = {
|
|
22
|
-
...
|
|
25
|
+
..._config_2,
|
|
23
26
|
endpoint,
|
|
24
27
|
};
|
|
25
28
|
super(config);
|
|
26
29
|
this.config = config;
|
|
27
30
|
this.middlewareStack.add(smithy_utils_1.authorizationMiddleware.bind(this, configuration.token), { step: "build" });
|
|
31
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
28
32
|
}
|
|
29
33
|
destroy() {
|
|
30
34
|
super.destroy();
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "AddChannelMember",
|
|
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_AddChannelMemberCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_AddChannelMemberCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class AddChannelMemberCommand 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", "AddChannelMember", {})
|
|
15
|
+
.n("ConversationsClient", "AddChannelMemberCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_AddChannelMemberCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_AddChannelMemberCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.AddChannelMemberCommand = AddChannelMemberCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "AddChannelMembers",
|
|
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_AddChannelMembersCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_AddChannelMembersCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class AddChannelMembersCommand 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", "AddChannelMembers", {})
|
|
15
|
+
.n("ConversationsClient", "AddChannelMembersCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_AddChannelMembersCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_AddChannelMembersCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.AddChannelMembersCommand = AddChannelMembersCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "CreateGroupChannel",
|
|
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_CreateGroupChannelCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_CreateGroupChannelCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class CreateGroupChannelCommand 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", "CreateGroupChannel", {})
|
|
15
|
+
.n("ConversationsClient", "CreateGroupChannelCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_CreateGroupChannelCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_CreateGroupChannelCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.CreateGroupChannelCommand = CreateGroupChannelCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "DeleteChannel",
|
|
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_DeleteChannelCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_DeleteChannelCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class DeleteChannelCommand 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", "DeleteChannel", {})
|
|
15
|
+
.n("ConversationsClient", "DeleteChannelCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_DeleteChannelCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_DeleteChannelCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.DeleteChannelCommand = DeleteChannelCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "DeleteChannelMember",
|
|
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_DeleteChannelMemberCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_DeleteChannelMemberCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class DeleteChannelMemberCommand 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", "DeleteChannelMember", {})
|
|
15
|
+
.n("ConversationsClient", "DeleteChannelMemberCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_DeleteChannelMemberCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_DeleteChannelMemberCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.DeleteChannelMemberCommand = DeleteChannelMemberCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "DeleteMessage",
|
|
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_DeleteMessageCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_DeleteMessageCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class DeleteMessageCommand 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", "DeleteMessage", {})
|
|
15
|
+
.n("ConversationsClient", "DeleteMessageCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_DeleteMessageCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_DeleteMessageCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.DeleteMessageCommand = DeleteMessageCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "DeleteMessageReaction",
|
|
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_DeleteMessageReactionCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_DeleteMessageReactionCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class DeleteMessageReactionCommand 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", "DeleteMessageReaction", {})
|
|
15
|
+
.n("ConversationsClient", "DeleteMessageReactionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_DeleteMessageReactionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_DeleteMessageReactionCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.DeleteMessageReactionCommand = DeleteMessageReactionCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "GetChannel",
|
|
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_GetChannelCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetChannelCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetChannelCommand 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", "GetChannel", {})
|
|
15
|
+
.n("ConversationsClient", "GetChannelCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetChannelCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetChannelCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetChannelCommand = GetChannelCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "GetChannelMember",
|
|
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_GetChannelMemberCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetChannelMemberCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetChannelMemberCommand 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", "GetChannelMember", {})
|
|
15
|
+
.n("ConversationsClient", "GetChannelMemberCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetChannelMemberCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetChannelMemberCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetChannelMemberCommand = GetChannelMemberCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "GetDirectChannelId",
|
|
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_GetDirectChannelIdCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetDirectChannelIdCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetDirectChannelIdCommand 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", "GetDirectChannelId", {})
|
|
15
|
+
.n("ConversationsClient", "GetDirectChannelIdCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetDirectChannelIdCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetDirectChannelIdCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetDirectChannelIdCommand = GetDirectChannelIdCommand;
|
|
@@ -5,37 +5,17 @@ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const handlerExecutionContext = {
|
|
21
|
-
logger,
|
|
22
|
-
clientName,
|
|
23
|
-
commandName,
|
|
24
|
-
inputFilterSensitiveLog: (_) => _,
|
|
25
|
-
outputFilterSensitiveLog: (_) => _,
|
|
26
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
27
|
-
service: "Conversations",
|
|
28
|
-
operation: "GetMessage",
|
|
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_GetMessageCommand)(input, context);
|
|
36
|
-
}
|
|
37
|
-
deserialize(output, context) {
|
|
38
|
-
return (0, Aws_restJson1_1.de_GetMessageCommand)(output, context);
|
|
39
|
-
}
|
|
8
|
+
class GetMessageCommand 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", "GetMessage", {})
|
|
15
|
+
.n("ConversationsClient", "GetMessageCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetMessageCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetMessageCommand)
|
|
19
|
+
.build() {
|
|
40
20
|
}
|
|
41
21
|
exports.GetMessageCommand = GetMessageCommand;
|