@wildix/xbees-conversations-client 1.4.1 → 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 -438
- 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 -418
- 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 +15 -14
- 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 +107 -610
- 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 -2559
- package/dist-es/models/ConversationsServiceException.js +0 -8
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2424
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -587
package/dist-es/Conversations.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { AddChannelMemberCommand, } from "./commands/AddChannelMemberCommand";
|
|
3
3
|
import { AddChannelMembersCommand, } from "./commands/AddChannelMembersCommand";
|
|
4
4
|
import { AssignChannelCommand, } from "./commands/AssignChannelCommand";
|
|
@@ -24,11 +24,11 @@ import { GetOrCreateTelephonyChannelCommand, } from "./commands/GetOrCreateTelep
|
|
|
24
24
|
import { GetOrCreateWhatsAppChannelCommand, } from "./commands/GetOrCreateWhatsAppChannelCommand";
|
|
25
25
|
import { GetSmsChannelIdCommand, } from "./commands/GetSmsChannelIdCommand";
|
|
26
26
|
import { GetTelephonyChannelIdCommand, } from "./commands/GetTelephonyChannelIdCommand";
|
|
27
|
-
import { GetTokenCommand
|
|
27
|
+
import { GetTokenCommand } from "./commands/GetTokenCommand";
|
|
28
28
|
import { GetUploadedFileInfoCommand, } from "./commands/GetUploadedFileInfoCommand";
|
|
29
29
|
import { GetWhatsAppChannelIdCommand, } from "./commands/GetWhatsAppChannelIdCommand";
|
|
30
30
|
import { HideChannelCommand, } from "./commands/HideChannelCommand";
|
|
31
|
-
import { InviteCommand
|
|
31
|
+
import { InviteCommand } from "./commands/InviteCommand";
|
|
32
32
|
import { JoinChannelCommand, } from "./commands/JoinChannelCommand";
|
|
33
33
|
import { LeaveChannelCommand, } from "./commands/LeaveChannelCommand";
|
|
34
34
|
import { ListChannelMembersCommand, } from "./commands/ListChannelMembersCommand";
|
|
@@ -39,7 +39,7 @@ import { ListInboxTagsCommand, } from "./commands/ListInboxTagsCommand";
|
|
|
39
39
|
import { ListMessageReactionsCommand, } from "./commands/ListMessageReactionsCommand";
|
|
40
40
|
import { ListMessagesCommand, } from "./commands/ListMessagesCommand";
|
|
41
41
|
import { ListPinnedMessagesCommand, } from "./commands/ListPinnedMessagesCommand";
|
|
42
|
-
import { MarkReadCommand
|
|
42
|
+
import { MarkReadCommand } from "./commands/MarkReadCommand";
|
|
43
43
|
import { MarkUnreadCommand, } from "./commands/MarkUnreadCommand";
|
|
44
44
|
import { PartialUpdateChannelCommand, } from "./commands/PartialUpdateChannelCommand";
|
|
45
45
|
import { PartialUpdateMessageCommand, } from "./commands/PartialUpdateMessageCommand";
|
|
@@ -48,7 +48,7 @@ import { PinMessageCommand, } from "./commands/PinMessageCommand";
|
|
|
48
48
|
import { QueryChannelsCommand, } from "./commands/QueryChannelsCommand";
|
|
49
49
|
import { ScheduleExternalFlagAdjustmentJobCommand, } from "./commands/ScheduleExternalFlagAdjustmentJobCommand";
|
|
50
50
|
import { SendActionTriggerResultCommand, } from "./commands/SendActionTriggerResultCommand";
|
|
51
|
-
import { SendGiphyCommand
|
|
51
|
+
import { SendGiphyCommand } from "./commands/SendGiphyCommand";
|
|
52
52
|
import { SendMessageCommand, } from "./commands/SendMessageCommand";
|
|
53
53
|
import { SendMessageReactionCommand, } from "./commands/SendMessageReactionCommand";
|
|
54
54
|
import { SendSystemMessageCommand, } from "./commands/SendSystemMessageCommand";
|
|
@@ -64,7 +64,7 @@ import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
|
64
64
|
import { UpdateInboxTagCommand, } from "./commands/UpdateInboxTagCommand";
|
|
65
65
|
import { UpdateMessageCommand, } from "./commands/UpdateMessageCommand";
|
|
66
66
|
import { UploadFileCommand, } from "./commands/UploadFileCommand";
|
|
67
|
-
import {
|
|
67
|
+
import { ConversationsClient } from "./ConversationsClient";
|
|
68
68
|
const commands = {
|
|
69
69
|
AddChannelMemberCommand,
|
|
70
70
|
AddChannelMembersCommand,
|
|
@@ -1,35 +1,43 @@
|
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
2
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
3
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
4
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
6
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
|
+
import { defaultConversationsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
1
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
2
|
-
import { resolveRuntimeExtensions
|
|
3
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
4
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
5
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
6
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
7
|
-
import { authorizationMiddleware } from '@wildix/smithy-utils';
|
|
11
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
8
12
|
export { __Client };
|
|
9
13
|
export class ConversationsClient extends __Client {
|
|
10
14
|
config;
|
|
11
15
|
constructor(...[configuration]) {
|
|
12
|
-
|
|
16
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
13
17
|
super(_config_0);
|
|
14
18
|
this.initConfig = _config_0;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
path: ''
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
const config = { ..._config_3, endpoint };
|
|
28
|
-
this.config = config;
|
|
29
|
-
this.middlewareStack.add(authorizationMiddleware.bind(this, configuration.token), { step: "build" });
|
|
19
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveEndpointConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveHttpAuthSchemeConfig(_config_5);
|
|
25
|
+
const _config_7 = resolveRuntimeExtensions(_config_6, configuration?.extensions || []);
|
|
26
|
+
this.config = _config_7;
|
|
27
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
30
28
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
29
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
31
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
35
|
+
httpAuthSchemeParametersProvider: defaultConversationsHttpAuthSchemeParametersProvider,
|
|
36
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
37
|
+
"smithy.api#httpBearerAuth": config.token,
|
|
38
|
+
}),
|
|
39
|
+
}));
|
|
40
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
33
41
|
}
|
|
34
42
|
destroy() {
|
|
35
43
|
super.destroy();
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
2
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
3
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
4
|
+
let _token = runtimeConfig.token;
|
|
5
|
+
return {
|
|
6
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
7
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
8
|
+
if (index === -1) {
|
|
9
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
httpAuthSchemes() {
|
|
16
|
+
return _httpAuthSchemes;
|
|
17
|
+
},
|
|
18
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
19
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
20
|
+
},
|
|
21
|
+
httpAuthSchemeProvider() {
|
|
22
|
+
return _httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
setToken(token) {
|
|
25
|
+
_token = token;
|
|
26
|
+
},
|
|
27
|
+
token() {
|
|
28
|
+
return _token;
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export const resolveHttpAuthRuntimeConfig = (config) => {
|
|
33
|
+
return {
|
|
34
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
35
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
36
|
+
token: config.token(),
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider } from "@smithy/core";
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
|
+
export const defaultConversationsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
+
return {
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
|
|
9
|
+
return {
|
|
10
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
function createWildixAuthApiKeysHttpAuthOption(authParameters) {
|
|
14
|
+
return {
|
|
15
|
+
schemeId: "wildix.auth#apiKeys",
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function createWildixAuthBotHttpAuthOption(authParameters) {
|
|
19
|
+
return {
|
|
20
|
+
schemeId: "wildix.auth#bot",
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function createWildixAuthPbxHttpAuthOption(authParameters) {
|
|
24
|
+
return {
|
|
25
|
+
schemeId: "wildix.auth#pbx",
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function createWildixAuthS2sHttpAuthOption(authParameters) {
|
|
29
|
+
return {
|
|
30
|
+
schemeId: "wildix.auth#s2s",
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function createWildixAuthXbsHttpAuthOption(authParameters) {
|
|
34
|
+
return {
|
|
35
|
+
schemeId: "wildix.auth#xbs",
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function createWildixAuthXbsAnonymousHttpAuthOption(authParameters) {
|
|
39
|
+
return {
|
|
40
|
+
schemeId: "wildix.auth#xbsAnonymous",
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export const defaultConversationsHttpAuthSchemeProvider = (authParameters) => {
|
|
44
|
+
const options = [];
|
|
45
|
+
switch (authParameters.operation) {
|
|
46
|
+
case "CreateKiteChannel":
|
|
47
|
+
{
|
|
48
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
49
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
50
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
51
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
52
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
53
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
;
|
|
57
|
+
case "GetActionTriggerResult":
|
|
58
|
+
{
|
|
59
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
60
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
61
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
62
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
;
|
|
66
|
+
case "GetFilePresignedDownloadUrl":
|
|
67
|
+
{
|
|
68
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
69
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
70
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
71
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
72
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
73
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
;
|
|
77
|
+
case "GetToken":
|
|
78
|
+
{
|
|
79
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
80
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
81
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
82
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
83
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
84
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
;
|
|
88
|
+
case "GetUploadedFileInfo":
|
|
89
|
+
{
|
|
90
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
91
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
92
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
93
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
94
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
95
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
;
|
|
99
|
+
case "JoinChannel":
|
|
100
|
+
{
|
|
101
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
102
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
103
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
104
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
105
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
106
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
;
|
|
110
|
+
case "MarkRead":
|
|
111
|
+
{
|
|
112
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
113
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
114
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
115
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
116
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
117
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
;
|
|
121
|
+
case "MarkUnread":
|
|
122
|
+
{
|
|
123
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
124
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
125
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
126
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
127
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
128
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
;
|
|
132
|
+
case "SendActionTriggerResult":
|
|
133
|
+
{
|
|
134
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
135
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
136
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
;
|
|
140
|
+
case "TriggerMessageAction":
|
|
141
|
+
{
|
|
142
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
143
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
144
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
145
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
;
|
|
149
|
+
case "UploadFile":
|
|
150
|
+
{
|
|
151
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
152
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
153
|
+
options.push(createWildixAuthXbsAnonymousHttpAuthOption(authParameters));
|
|
154
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
155
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
156
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
;
|
|
160
|
+
default: {
|
|
161
|
+
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
162
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
163
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
164
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
165
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
166
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
return options;
|
|
170
|
+
};
|
|
171
|
+
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
172
|
+
const token = memoizeIdentityProvider(config.token, isIdentityExpired, doesIdentityRequireRefresh);
|
|
173
|
+
return Object.assign(config, {
|
|
174
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
175
|
+
token,
|
|
176
|
+
});
|
|
177
|
+
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { AddChannelMember$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class AddChannelMemberCommand extends $Command
|
|
6
|
+
export class AddChannelMemberCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "AddChannelMember", {})
|
|
12
13
|
.n("ConversationsClient", "AddChannelMemberCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_AddChannelMemberCommand)
|
|
15
|
-
.de(de_AddChannelMemberCommand)
|
|
14
|
+
.sc(AddChannelMember$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { AddChannelMembers$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class AddChannelMembersCommand extends $Command
|
|
6
|
+
export class AddChannelMembersCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "AddChannelMembers", {})
|
|
12
13
|
.n("ConversationsClient", "AddChannelMembersCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_AddChannelMembersCommand)
|
|
15
|
-
.de(de_AddChannelMembersCommand)
|
|
14
|
+
.sc(AddChannelMembers$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { AssignChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class AssignChannelCommand extends $Command
|
|
6
|
+
export class AssignChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "AssignChannel", {})
|
|
12
13
|
.n("ConversationsClient", "AssignChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_AssignChannelCommand)
|
|
15
|
-
.de(de_AssignChannelCommand)
|
|
14
|
+
.sc(AssignChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateGroupChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class CreateGroupChannelCommand extends $Command
|
|
6
|
+
export class CreateGroupChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "CreateGroupChannel", {})
|
|
12
13
|
.n("ConversationsClient", "CreateGroupChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_CreateGroupChannelCommand)
|
|
15
|
-
.de(de_CreateGroupChannelCommand)
|
|
14
|
+
.sc(CreateGroupChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateInboxTag$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class CreateInboxTagCommand extends $Command
|
|
6
|
+
export class CreateInboxTagCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "CreateInboxTag", {})
|
|
12
13
|
.n("ConversationsClient", "CreateInboxTagCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_CreateInboxTagCommand)
|
|
15
|
-
.de(de_CreateInboxTagCommand)
|
|
14
|
+
.sc(CreateInboxTag$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateKiteChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class CreateKiteChannelCommand extends $Command
|
|
6
|
+
export class CreateKiteChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "CreateKiteChannel", {})
|
|
12
13
|
.n("ConversationsClient", "CreateKiteChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_CreateKiteChannelCommand)
|
|
15
|
-
.de(de_CreateKiteChannelCommand)
|
|
14
|
+
.sc(CreateKiteChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class DeleteChannelCommand extends $Command
|
|
6
|
+
export class DeleteChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "DeleteChannel", {})
|
|
12
13
|
.n("ConversationsClient", "DeleteChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_DeleteChannelCommand)
|
|
15
|
-
.de(de_DeleteChannelCommand)
|
|
14
|
+
.sc(DeleteChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteChannelMember$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class DeleteChannelMemberCommand extends $Command
|
|
6
|
+
export class DeleteChannelMemberCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "DeleteChannelMember", {})
|
|
12
13
|
.n("ConversationsClient", "DeleteChannelMemberCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_DeleteChannelMemberCommand)
|
|
15
|
-
.de(de_DeleteChannelMemberCommand)
|
|
14
|
+
.sc(DeleteChannelMember$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteInboxTag$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class DeleteInboxTagCommand extends $Command
|
|
6
|
+
export class DeleteInboxTagCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "DeleteInboxTag", {})
|
|
12
13
|
.n("ConversationsClient", "DeleteInboxTagCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_DeleteInboxTagCommand)
|
|
15
|
-
.de(de_DeleteInboxTagCommand)
|
|
14
|
+
.sc(DeleteInboxTag$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteMessage$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class DeleteMessageCommand extends $Command
|
|
6
|
+
export class DeleteMessageCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "DeleteMessage", {})
|
|
12
13
|
.n("ConversationsClient", "DeleteMessageCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_DeleteMessageCommand)
|
|
15
|
-
.de(de_DeleteMessageCommand)
|
|
14
|
+
.sc(DeleteMessage$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteMessageReaction$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class DeleteMessageReactionCommand extends $Command
|
|
6
|
+
export class DeleteMessageReactionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("Conversations", "DeleteMessageReaction", {})
|
|
12
13
|
.n("ConversationsClient", "DeleteMessageReactionCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_DeleteMessageReactionCommand)
|
|
15
|
-
.de(de_DeleteMessageReactionCommand)
|
|
14
|
+
.sc(DeleteMessageReaction$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|