@wildix/xbees-conversations-client 1.5.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Conversations.js +3 -3
- package/dist-cjs/ConversationsClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +183 -0
- package/dist-cjs/commands/AddChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/AddChannelMembersCommand.js +10 -11
- package/dist-cjs/commands/AssignChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateGroupChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateInboxTagCommand.js +10 -11
- package/dist-cjs/commands/CreateKiteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/DeleteInboxTagCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/DescribeEventCommand.js +10 -11
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +10 -11
- package/dist-cjs/commands/GetChannelCommand.js +10 -11
- package/dist-cjs/commands/GetChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +10 -11
- package/dist-cjs/commands/GetInboxStateCommand.js +10 -11
- package/dist-cjs/commands/GetMessageCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +10 -11
- package/dist-cjs/commands/GetSmsChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetTokenCommand.js +10 -11
- package/dist-cjs/commands/GetUploadedFileInfoCommand.js +10 -11
- package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +10 -11
- package/dist-cjs/commands/HideChannelCommand.js +10 -11
- package/dist-cjs/commands/InviteCommand.js +10 -11
- package/dist-cjs/commands/JoinChannelCommand.js +10 -11
- package/dist-cjs/commands/LeaveChannelCommand.js +10 -11
- package/dist-cjs/commands/ListChannelMembersCommand.js +10 -11
- package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +10 -11
- package/dist-cjs/commands/ListChannelsCommand.js +10 -11
- package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +10 -11
- package/dist-cjs/commands/ListInboxTagsCommand.js +10 -11
- package/dist-cjs/commands/ListMessageReactionsCommand.js +10 -11
- package/dist-cjs/commands/ListMessagesCommand.js +10 -11
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +10 -11
- package/dist-cjs/commands/MarkReadCommand.js +10 -11
- package/dist-cjs/commands/MarkUnreadCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/PinChannelCommand.js +10 -11
- package/dist-cjs/commands/PinMessageCommand.js +10 -11
- package/dist-cjs/commands/QueryChannelsCommand.js +10 -11
- package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +10 -11
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +10 -11
- package/dist-cjs/commands/SendGiphyCommand.js +10 -11
- package/dist-cjs/commands/SendMessageCommand.js +10 -11
- package/dist-cjs/commands/SendMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/SendSystemMessageCommand.js +10 -11
- package/dist-cjs/commands/SendTypingStartCommand.js +10 -11
- package/dist-cjs/commands/SendTypingStopCommand.js +10 -11
- package/dist-cjs/commands/ShowChannelCommand.js +10 -11
- package/dist-cjs/commands/TagChannelCommand.js +10 -11
- package/dist-cjs/commands/TriggerMessageActionCommand.js +10 -11
- package/dist-cjs/commands/UnpinChannelCommand.js +10 -11
- package/dist-cjs/commands/UnpinMessageCommand.js +10 -11
- package/dist-cjs/commands/UntagChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateInboxTagCommand.js +10 -11
- package/dist-cjs/commands/UpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/UploadFileCommand.js +10 -11
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +7 -4
- package/dist-cjs/models/ConversationsSyntheticServiceException.js +12 -0
- package/dist-cjs/models/enums.js +124 -0
- package/dist-cjs/models/errors.js +274 -0
- package/dist-cjs/models/models_0.js +0 -451
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1854 -0
- package/dist-es/Conversations.js +6 -6
- package/dist-es/ConversationsClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +177 -0
- package/dist-es/commands/AddChannelMemberCommand.js +9 -10
- package/dist-es/commands/AddChannelMembersCommand.js +9 -10
- package/dist-es/commands/AssignChannelCommand.js +9 -10
- package/dist-es/commands/CreateGroupChannelCommand.js +9 -10
- package/dist-es/commands/CreateInboxTagCommand.js +9 -10
- package/dist-es/commands/CreateKiteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelMemberCommand.js +9 -10
- package/dist-es/commands/DeleteInboxTagCommand.js +9 -10
- package/dist-es/commands/DeleteMessageCommand.js +9 -10
- package/dist-es/commands/DeleteMessageReactionCommand.js +9 -10
- package/dist-es/commands/DescribeEventCommand.js +9 -10
- package/dist-es/commands/GetActionTriggerResultCommand.js +9 -10
- package/dist-es/commands/GetChannelCommand.js +9 -10
- package/dist-es/commands/GetChannelMemberCommand.js +9 -10
- package/dist-es/commands/GetDirectChannelIdCommand.js +9 -10
- package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +9 -10
- package/dist-es/commands/GetInboxStateCommand.js +9 -10
- package/dist-es/commands/GetMessageCommand.js +9 -10
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateSmsChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +9 -10
- package/dist-es/commands/GetSmsChannelIdCommand.js +9 -10
- package/dist-es/commands/GetTelephonyChannelIdCommand.js +9 -10
- package/dist-es/commands/GetTokenCommand.js +9 -10
- package/dist-es/commands/GetUploadedFileInfoCommand.js +9 -10
- package/dist-es/commands/GetWhatsAppChannelIdCommand.js +9 -10
- package/dist-es/commands/HideChannelCommand.js +9 -10
- package/dist-es/commands/InviteCommand.js +9 -10
- package/dist-es/commands/JoinChannelCommand.js +9 -10
- package/dist-es/commands/LeaveChannelCommand.js +9 -10
- package/dist-es/commands/ListChannelMembersCommand.js +9 -10
- package/dist-es/commands/ListChannelMembersReadStatusCommand.js +9 -10
- package/dist-es/commands/ListChannelsCommand.js +9 -10
- package/dist-es/commands/ListInboxTaggedChannelsCommand.js +9 -10
- package/dist-es/commands/ListInboxTagsCommand.js +9 -10
- package/dist-es/commands/ListMessageReactionsCommand.js +9 -10
- package/dist-es/commands/ListMessagesCommand.js +9 -10
- package/dist-es/commands/ListPinnedMessagesCommand.js +9 -10
- package/dist-es/commands/MarkReadCommand.js +9 -10
- package/dist-es/commands/MarkUnreadCommand.js +9 -10
- package/dist-es/commands/PartialUpdateChannelCommand.js +9 -10
- package/dist-es/commands/PartialUpdateMessageCommand.js +9 -10
- package/dist-es/commands/PinChannelCommand.js +9 -10
- package/dist-es/commands/PinMessageCommand.js +9 -10
- package/dist-es/commands/QueryChannelsCommand.js +9 -10
- package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +9 -10
- package/dist-es/commands/SendActionTriggerResultCommand.js +9 -10
- package/dist-es/commands/SendGiphyCommand.js +9 -10
- package/dist-es/commands/SendMessageCommand.js +9 -10
- package/dist-es/commands/SendMessageReactionCommand.js +9 -10
- package/dist-es/commands/SendSystemMessageCommand.js +9 -10
- package/dist-es/commands/SendTypingStartCommand.js +9 -10
- package/dist-es/commands/SendTypingStopCommand.js +9 -10
- package/dist-es/commands/ShowChannelCommand.js +9 -10
- package/dist-es/commands/TagChannelCommand.js +9 -10
- package/dist-es/commands/TriggerMessageActionCommand.js +9 -10
- package/dist-es/commands/UnpinChannelCommand.js +9 -10
- package/dist-es/commands/UnpinMessageCommand.js +9 -10
- package/dist-es/commands/UntagChannelCommand.js +9 -10
- package/dist-es/commands/UpdateChannelCommand.js +9 -10
- package/dist-es/commands/UpdateInboxTagCommand.js +9 -10
- package/dist-es/commands/UpdateMessageCommand.js +9 -10
- package/dist-es/commands/UploadFileCommand.js +9 -10
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +5 -2
- package/dist-es/models/ConversationsSyntheticServiceException.js +8 -0
- package/dist-es/models/enums.js +121 -0
- package/dist-es/models/errors.js +251 -0
- package/dist-es/models/models_0.js +1 -430
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1846 -0
- package/dist-types/Conversations.d.ts +66 -66
- package/dist-types/ConversationsClient.d.ts +95 -77
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/AddChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/AddChannelMembersCommand.d.ts +12 -8
- package/dist-types/commands/AssignChannelCommand.d.ts +12 -8
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +12 -8
- package/dist-types/commands/CreateInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -8
- package/dist-types/commands/DeleteChannelCommand.d.ts +12 -8
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/DeleteMessageCommand.d.ts +12 -8
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +12 -8
- package/dist-types/commands/DescribeEventCommand.d.ts +12 -8
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +12 -8
- package/dist-types/commands/GetChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +12 -8
- package/dist-types/commands/GetInboxStateCommand.d.ts +12 -8
- package/dist-types/commands/GetMessageCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetTokenCommand.d.ts +12 -8
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +12 -8
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/HideChannelCommand.d.ts +12 -8
- package/dist-types/commands/InviteCommand.d.ts +12 -8
- package/dist-types/commands/JoinChannelCommand.d.ts +12 -8
- package/dist-types/commands/LeaveChannelCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelMembersCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ListInboxTagsCommand.d.ts +12 -8
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +12 -8
- package/dist-types/commands/ListMessagesCommand.d.ts +12 -8
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +12 -8
- package/dist-types/commands/MarkReadCommand.d.ts +12 -8
- package/dist-types/commands/MarkUnreadCommand.d.ts +12 -8
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +12 -8
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +12 -8
- package/dist-types/commands/PinChannelCommand.d.ts +12 -8
- package/dist-types/commands/PinMessageCommand.d.ts +12 -8
- package/dist-types/commands/QueryChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +12 -8
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +12 -8
- package/dist-types/commands/SendGiphyCommand.d.ts +12 -8
- package/dist-types/commands/SendMessageCommand.d.ts +12 -8
- package/dist-types/commands/SendMessageReactionCommand.d.ts +12 -8
- package/dist-types/commands/SendSystemMessageCommand.d.ts +12 -8
- package/dist-types/commands/SendTypingStartCommand.d.ts +12 -8
- package/dist-types/commands/SendTypingStopCommand.d.ts +12 -8
- package/dist-types/commands/ShowChannelCommand.d.ts +12 -8
- package/dist-types/commands/TagChannelCommand.d.ts +12 -8
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +12 -8
- package/dist-types/commands/UnpinChannelCommand.d.ts +12 -8
- package/dist-types/commands/UnpinMessageCommand.d.ts +12 -8
- package/dist-types/commands/UntagChannelCommand.d.ts +12 -8
- package/dist-types/commands/UpdateChannelCommand.d.ts +12 -8
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/UpdateMessageCommand.d.ts +12 -8
- package/dist-types/commands/UploadFileCommand.d.ts +12 -8
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +6 -2
- package/dist-types/models/{ConversationsServiceException.d.ts → ConversationsSyntheticServiceException.d.ts} +2 -2
- package/dist-types/models/enums.d.ts +285 -0
- package/dist-types/models/errors.d.ts +244 -0
- package/dist-types/models/models_0.d.ts +85 -594
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +286 -0
- package/package.json +14 -40
- package/dist-cjs/models/ConversationsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2574
- package/dist-es/models/ConversationsServiceException.js +0 -8
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2439
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -587
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Conversations = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
5
|
const AddChannelMemberCommand_1 = require("./commands/AddChannelMemberCommand");
|
|
6
6
|
const AddChannelMembersCommand_1 = require("./commands/AddChannelMembersCommand");
|
|
7
7
|
const AssignChannelCommand_1 = require("./commands/AssignChannelCommand");
|
|
@@ -67,7 +67,7 @@ const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
|
|
|
67
67
|
const UpdateInboxTagCommand_1 = require("./commands/UpdateInboxTagCommand");
|
|
68
68
|
const UpdateMessageCommand_1 = require("./commands/UpdateMessageCommand");
|
|
69
69
|
const UploadFileCommand_1 = require("./commands/UploadFileCommand");
|
|
70
|
-
const
|
|
70
|
+
const ConversationsClient_1 = require("./ConversationsClient");
|
|
71
71
|
const commands = {
|
|
72
72
|
AddChannelMemberCommand: AddChannelMemberCommand_1.AddChannelMemberCommand,
|
|
73
73
|
AddChannelMembersCommand: AddChannelMembersCommand_1.AddChannelMembersCommand,
|
|
@@ -138,4 +138,4 @@ const commands = {
|
|
|
138
138
|
class Conversations extends ConversationsClient_1.ConversationsClient {
|
|
139
139
|
}
|
|
140
140
|
exports.Conversations = Conversations;
|
|
141
|
-
(0,
|
|
141
|
+
(0, client_1.createAggregatedClient)(commands, Conversations);
|
|
@@ -1,38 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConversationsClient = exports.__Client = void 0;
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
|
+
const client_2 = require("@smithy/core/client");
|
|
7
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return client_2.Client; } });
|
|
8
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
9
|
+
const protocols_1 = require("@smithy/core/protocols");
|
|
10
|
+
const retry_1 = require("@smithy/core/retry");
|
|
11
|
+
const schema_1 = require("@smithy/core/schema");
|
|
12
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
4
14
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
15
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
6
|
-
|
|
7
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
8
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
9
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
10
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
11
|
-
const smithy_utils_1 = require("@wildix/smithy-utils");
|
|
12
|
-
class ConversationsClient extends smithy_client_1.Client {
|
|
16
|
+
class ConversationsClient extends client_2.Client {
|
|
13
17
|
config;
|
|
14
18
|
constructor(...[configuration]) {
|
|
15
|
-
|
|
19
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
16
20
|
super(_config_0);
|
|
17
21
|
this.initConfig = _config_0;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
this.
|
|
32
|
-
this.middlewareStack.
|
|
33
|
-
this.middlewareStack.use((0,
|
|
34
|
-
|
|
35
|
-
|
|
22
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
23
|
+
const _config_2 = (0, client_1.resolveUserAgentConfig)(_config_1);
|
|
24
|
+
const _config_3 = (0, retry_1.resolveRetryConfig)(_config_2);
|
|
25
|
+
const _config_4 = (0, client_1.resolveHostHeaderConfig)(_config_3);
|
|
26
|
+
const _config_5 = (0, endpoints_1.resolveEndpointConfig)(_config_4);
|
|
27
|
+
const _config_6 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_5);
|
|
28
|
+
const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []);
|
|
29
|
+
this.config = _config_7;
|
|
30
|
+
this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
|
|
31
|
+
this.middlewareStack.use((0, client_1.getUserAgentPlugin)(this.config));
|
|
32
|
+
this.middlewareStack.use((0, retry_1.getRetryPlugin)(this.config));
|
|
33
|
+
this.middlewareStack.use((0, protocols_1.getContentLengthPlugin)(this.config));
|
|
34
|
+
this.middlewareStack.use((0, client_1.getHostHeaderPlugin)(this.config));
|
|
35
|
+
this.middlewareStack.use((0, client_1.getLoggerPlugin)(this.config));
|
|
36
|
+
this.middlewareStack.use((0, client_1.getRecursionDetectionPlugin)(this.config));
|
|
37
|
+
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
38
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultConversationsHttpAuthSchemeParametersProvider,
|
|
39
|
+
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
40
|
+
"smithy.api#httpBearerAuth": config.token,
|
|
41
|
+
}),
|
|
42
|
+
}));
|
|
43
|
+
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
36
44
|
}
|
|
37
45
|
destroy() {
|
|
38
46
|
super.destroy();
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
+
let _token = runtimeConfig.token;
|
|
8
|
+
return {
|
|
9
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
+
if (index === -1) {
|
|
12
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
httpAuthSchemes() {
|
|
19
|
+
return _httpAuthSchemes;
|
|
20
|
+
},
|
|
21
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
httpAuthSchemeProvider() {
|
|
25
|
+
return _httpAuthSchemeProvider;
|
|
26
|
+
},
|
|
27
|
+
setToken(token) {
|
|
28
|
+
_token = token;
|
|
29
|
+
},
|
|
30
|
+
token() {
|
|
31
|
+
return _token;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
+
return {
|
|
38
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
+
token: config.token(),
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultConversationsHttpAuthSchemeProvider = exports.defaultConversationsHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
|
+
const defaultConversationsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.defaultConversationsHttpAuthSchemeParametersProvider = defaultConversationsHttpAuthSchemeParametersProvider;
|
|
12
|
+
function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
|
|
13
|
+
return {
|
|
14
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function createWildixAuthApiKeysHttpAuthOption(authParameters) {
|
|
18
|
+
return {
|
|
19
|
+
schemeId: "wildix.auth#apiKeys",
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function createWildixAuthBotHttpAuthOption(authParameters) {
|
|
23
|
+
return {
|
|
24
|
+
schemeId: "wildix.auth#bot",
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function createWildixAuthPbxHttpAuthOption(authParameters) {
|
|
28
|
+
return {
|
|
29
|
+
schemeId: "wildix.auth#pbx",
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function createWildixAuthS2sHttpAuthOption(authParameters) {
|
|
33
|
+
return {
|
|
34
|
+
schemeId: "wildix.auth#s2s",
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function createWildixAuthXbsHttpAuthOption(authParameters) {
|
|
38
|
+
return {
|
|
39
|
+
schemeId: "wildix.auth#xbs",
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function createWildixAuthXbsAnonymousHttpAuthOption(authParameters) {
|
|
43
|
+
return {
|
|
44
|
+
schemeId: "wildix.auth#xbsAnonymous",
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const defaultConversationsHttpAuthSchemeProvider = (authParameters) => {
|
|
48
|
+
const options = [];
|
|
49
|
+
switch (authParameters.operation) {
|
|
50
|
+
case "CreateKiteChannel":
|
|
51
|
+
{
|
|
52
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
53
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
54
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
55
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
56
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
57
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
;
|
|
61
|
+
case "GetActionTriggerResult":
|
|
62
|
+
{
|
|
63
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
64
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
65
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
66
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
;
|
|
70
|
+
case "GetFilePresignedDownloadUrl":
|
|
71
|
+
{
|
|
72
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
73
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
74
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
75
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
76
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
77
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
;
|
|
81
|
+
case "GetToken":
|
|
82
|
+
{
|
|
83
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
84
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
85
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
86
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
87
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
88
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
;
|
|
92
|
+
case "GetUploadedFileInfo":
|
|
93
|
+
{
|
|
94
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
95
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
96
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
97
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
98
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
99
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
;
|
|
103
|
+
case "JoinChannel":
|
|
104
|
+
{
|
|
105
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
106
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
107
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
108
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
109
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
110
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
;
|
|
114
|
+
case "MarkRead":
|
|
115
|
+
{
|
|
116
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
117
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
118
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
119
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
120
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
121
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
;
|
|
125
|
+
case "MarkUnread":
|
|
126
|
+
{
|
|
127
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
128
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
129
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
130
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
131
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
132
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
;
|
|
136
|
+
case "SendActionTriggerResult":
|
|
137
|
+
{
|
|
138
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
139
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
140
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
;
|
|
144
|
+
case "TriggerMessageAction":
|
|
145
|
+
{
|
|
146
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
147
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
148
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
149
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
;
|
|
153
|
+
case "UploadFile":
|
|
154
|
+
{
|
|
155
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
156
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
157
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
158
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
159
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
160
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
;
|
|
164
|
+
default: {
|
|
165
|
+
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
166
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
167
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
168
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
169
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
170
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
return options;
|
|
174
|
+
};
|
|
175
|
+
exports.defaultConversationsHttpAuthSchemeProvider = defaultConversationsHttpAuthSchemeProvider;
|
|
176
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
177
|
+
const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
|
|
178
|
+
return Object.assign(config, {
|
|
179
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
180
|
+
token,
|
|
181
|
+
});
|
|
182
|
+
};
|
|
183
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AddChannelMemberCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class AddChannelMemberCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "AddChannelMember", {})
|
|
15
16
|
.n("ConversationsClient", "AddChannelMemberCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_AddChannelMemberCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_AddChannelMemberCommand)
|
|
17
|
+
.sc(schemas_0_1.AddChannelMember$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.AddChannelMemberCommand = AddChannelMemberCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AddChannelMembersCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class AddChannelMembersCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "AddChannelMembers", {})
|
|
15
16
|
.n("ConversationsClient", "AddChannelMembersCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_AddChannelMembersCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_AddChannelMembersCommand)
|
|
17
|
+
.sc(schemas_0_1.AddChannelMembers$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.AddChannelMembersCommand = AddChannelMembersCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AssignChannelCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class AssignChannelCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "AssignChannel", {})
|
|
15
16
|
.n("ConversationsClient", "AssignChannelCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_AssignChannelCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_AssignChannelCommand)
|
|
17
|
+
.sc(schemas_0_1.AssignChannel$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.AssignChannelCommand = AssignChannelCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateGroupChannelCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateGroupChannelCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "CreateGroupChannel", {})
|
|
15
16
|
.n("ConversationsClient", "CreateGroupChannelCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateGroupChannelCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateGroupChannelCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateGroupChannel$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateGroupChannelCommand = CreateGroupChannelCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateInboxTagCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateInboxTagCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "CreateInboxTag", {})
|
|
15
16
|
.n("ConversationsClient", "CreateInboxTagCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateInboxTagCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateInboxTagCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateInboxTag$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateInboxTagCommand = CreateInboxTagCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateKiteChannelCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateKiteChannelCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "CreateKiteChannel", {})
|
|
15
16
|
.n("ConversationsClient", "CreateKiteChannelCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateKiteChannelCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateKiteChannelCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateKiteChannel$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateKiteChannelCommand = CreateKiteChannelCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteChannelCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class DeleteChannelCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "DeleteChannel", {})
|
|
15
16
|
.n("ConversationsClient", "DeleteChannelCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeleteChannelCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeleteChannelCommand)
|
|
17
|
+
.sc(schemas_0_1.DeleteChannel$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.DeleteChannelCommand = DeleteChannelCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteChannelMemberCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class DeleteChannelMemberCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "DeleteChannelMember", {})
|
|
15
16
|
.n("ConversationsClient", "DeleteChannelMemberCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeleteChannelMemberCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeleteChannelMemberCommand)
|
|
17
|
+
.sc(schemas_0_1.DeleteChannelMember$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.DeleteChannelMemberCommand = DeleteChannelMemberCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteInboxTagCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class DeleteInboxTagCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Conversations", "DeleteInboxTag", {})
|
|
15
16
|
.n("ConversationsClient", "DeleteInboxTagCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeleteInboxTagCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeleteInboxTagCommand)
|
|
17
|
+
.sc(schemas_0_1.DeleteInboxTag$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.DeleteInboxTagCommand = DeleteInboxTagCommand;
|