@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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { SendTypingStopInput, SendTypingStopOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface SendTypingStopCommandInput extends SendTypingStopInput {
|
|
|
22
22
|
export interface SendTypingStopCommandOutput extends SendTypingStopOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SendTypingStopCommand_base: {
|
|
25
|
-
new (input: SendTypingStopCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SendTypingStopCommandInput): import("@smithy/core/client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendTypingStopCommandInput): import("@smithy/core/client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Sends a typing stop event to a specified channel. This operation requires the channel to be accessible to the user.
|
|
@@ -33,6 +35,8 @@ declare const SendTypingStopCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, SendTypingStopCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, SendTypingStopCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // SendTypingStopInput
|
|
38
42
|
* channelId: "STRING_VALUE", // required
|
|
@@ -58,7 +62,7 @@ declare const SendTypingStopCommand_base: {
|
|
|
58
62
|
*
|
|
59
63
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
60
64
|
*
|
|
61
|
-
* @throws {@link
|
|
65
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
62
66
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
63
67
|
*
|
|
64
68
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { ShowChannelInput, ShowChannelOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface ShowChannelCommandInput extends ShowChannelInput {
|
|
|
22
22
|
export interface ShowChannelCommandOutput extends ShowChannelOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ShowChannelCommand_base: {
|
|
25
|
-
new (input: ShowChannelCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ShowChannelCommandInput): import("@smithy/core/client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ShowChannelCommandInput): import("@smithy/core/client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Allows a user to show an existing hidden channel. This operation requires the channel to be accessible to the user.
|
|
@@ -33,6 +35,8 @@ declare const ShowChannelCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, ShowChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, ShowChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // ShowChannelInput
|
|
38
42
|
* channelId: "STRING_VALUE", // required
|
|
@@ -58,7 +62,7 @@ declare const ShowChannelCommand_base: {
|
|
|
58
62
|
*
|
|
59
63
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
60
64
|
*
|
|
61
|
-
* @throws {@link
|
|
65
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
62
66
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
63
67
|
*
|
|
64
68
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { TagChannelInput, TagChannelOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface TagChannelCommandInput extends TagChannelInput {
|
|
|
22
22
|
export interface TagChannelCommandOutput extends TagChannelOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const TagChannelCommand_base: {
|
|
25
|
-
new (input: TagChannelCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: TagChannelCommandInput): import("@smithy/core/client").CommandImpl<TagChannelCommandInput, TagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagChannelCommandInput): import("@smithy/core/client").CommandImpl<TagChannelCommandInput, TagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
*
|
|
@@ -38,6 +40,8 @@ declare const TagChannelCommand_base: {
|
|
|
38
40
|
* ```javascript
|
|
39
41
|
* import { ConversationsClient, TagChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
40
42
|
* // const { ConversationsClient, TagChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
43
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
44
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
41
45
|
* const client = new ConversationsClient(config);
|
|
42
46
|
* const input = { // TagChannelInput
|
|
43
47
|
* channelId: "STRING_VALUE", // required
|
|
@@ -67,7 +71,7 @@ declare const TagChannelCommand_base: {
|
|
|
67
71
|
*
|
|
68
72
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
69
73
|
*
|
|
70
|
-
* @throws {@link
|
|
74
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
71
75
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
72
76
|
*
|
|
73
77
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { TriggerMessageActionInput, TriggerMessageActionOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface TriggerMessageActionCommandInput extends TriggerMessageActionIn
|
|
|
22
22
|
export interface TriggerMessageActionCommandOutput extends TriggerMessageActionOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const TriggerMessageActionCommand_base: {
|
|
25
|
-
new (input: TriggerMessageActionCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: TriggerMessageActionCommandInput): import("@smithy/core/client").CommandImpl<TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TriggerMessageActionCommandInput): import("@smithy/core/client").CommandImpl<TriggerMessageActionCommandInput, TriggerMessageActionCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Sends a trigger for specific action for specified message. This operation requires the message to be accessible to the user.
|
|
@@ -33,6 +35,8 @@ declare const TriggerMessageActionCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, TriggerMessageActionCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, TriggerMessageActionCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // TriggerMessageActionInput
|
|
38
42
|
* channelId: "STRING_VALUE", // required
|
|
@@ -66,7 +70,7 @@ declare const TriggerMessageActionCommand_base: {
|
|
|
66
70
|
*
|
|
67
71
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
68
72
|
*
|
|
69
|
-
* @throws {@link
|
|
73
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
70
74
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
71
75
|
*
|
|
72
76
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { UnpinChannelInput, UnpinChannelOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UnpinChannelCommandInput extends UnpinChannelInput {
|
|
|
22
22
|
export interface UnpinChannelCommandOutput extends UnpinChannelOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UnpinChannelCommand_base: {
|
|
25
|
-
new (input: UnpinChannelCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UnpinChannelCommandInput): import("@smithy/core/client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UnpinChannelCommandInput): import("@smithy/core/client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Removes pin flag from the the channel.
|
|
@@ -33,6 +35,8 @@ declare const UnpinChannelCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, UnpinChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, UnpinChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // UnpinChannelInput
|
|
38
42
|
* channelId: "STRING_VALUE", // required
|
|
@@ -58,7 +62,7 @@ declare const UnpinChannelCommand_base: {
|
|
|
58
62
|
*
|
|
59
63
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
60
64
|
*
|
|
61
|
-
* @throws {@link
|
|
65
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
62
66
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
63
67
|
*
|
|
64
68
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { UnpinMessageInput, UnpinMessageOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UnpinMessageCommandInput extends UnpinMessageInput {
|
|
|
22
22
|
export interface UnpinMessageCommandOutput extends UnpinMessageOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UnpinMessageCommand_base: {
|
|
25
|
-
new (input: UnpinMessageCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UnpinMessageCommandInput): import("@smithy/core/client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UnpinMessageCommandInput): import("@smithy/core/client").CommandImpl<UnpinMessageCommandInput, UnpinMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Unpins the message that was previously pinned. This operation is idempotent, meaning that if the message is not pinned, no error will be thrown.
|
|
@@ -33,6 +35,8 @@ declare const UnpinMessageCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, UnpinMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, UnpinMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // UnpinMessageInput
|
|
38
42
|
* channelId: "STRING_VALUE", // required
|
|
@@ -62,7 +66,7 @@ declare const UnpinMessageCommand_base: {
|
|
|
62
66
|
*
|
|
63
67
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
64
68
|
*
|
|
65
|
-
* @throws {@link
|
|
69
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
66
70
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
67
71
|
*
|
|
68
72
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { UntagChannelInput, UntagChannelOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UntagChannelCommandInput extends UntagChannelInput {
|
|
|
22
22
|
export interface UntagChannelCommandOutput extends UntagChannelOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UntagChannelCommand_base: {
|
|
25
|
-
new (input: UntagChannelCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UntagChannelCommandInput): import("@smithy/core/client").CommandImpl<UntagChannelCommandInput, UntagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagChannelCommandInput): import("@smithy/core/client").CommandImpl<UntagChannelCommandInput, UntagChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Removes specified tag from the the channel.
|
|
@@ -33,6 +35,8 @@ declare const UntagChannelCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, UntagChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, UntagChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // UntagChannelInput
|
|
38
42
|
* channelId: "STRING_VALUE", // required
|
|
@@ -59,7 +63,7 @@ declare const UntagChannelCommand_base: {
|
|
|
59
63
|
*
|
|
60
64
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
61
65
|
*
|
|
62
|
-
* @throws {@link
|
|
66
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
63
67
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
64
68
|
*
|
|
65
69
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { UpdateChannelInput, UpdateChannelOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UpdateChannelCommandInput extends UpdateChannelInput {
|
|
|
22
22
|
export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateChannelCommand_base: {
|
|
25
|
-
new (input: UpdateChannelCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateChannelCommandInput): import("@smithy/core/client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateChannelCommandInput): import("@smithy/core/client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates the details of an existing channel. This operation can modify channel properties such as name, description, and members.
|
|
@@ -33,6 +35,8 @@ declare const UpdateChannelCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, UpdateChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, UpdateChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // UpdateChannelInput
|
|
38
42
|
* subject: "STRING_VALUE",
|
|
@@ -192,7 +196,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
192
196
|
*
|
|
193
197
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
194
198
|
*
|
|
195
|
-
* @throws {@link
|
|
199
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
196
200
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
197
201
|
*
|
|
198
202
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { UpdateInboxTagInput, UpdateInboxTagOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UpdateInboxTagCommandInput extends UpdateInboxTagInput {
|
|
|
22
22
|
export interface UpdateInboxTagCommandOutput extends UpdateInboxTagOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateInboxTagCommand_base: {
|
|
25
|
-
new (input: UpdateInboxTagCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateInboxTagCommandInput): import("@smithy/core/client").CommandImpl<UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateInboxTagCommandInput): import("@smithy/core/client").CommandImpl<UpdateInboxTagCommandInput, UpdateInboxTagCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates an existing tag. This operation is idempotent.
|
|
@@ -33,6 +35,8 @@ declare const UpdateInboxTagCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, UpdateInboxTagCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, UpdateInboxTagCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // UpdateInboxTagInput
|
|
38
42
|
* tagId: "STRING_VALUE", // required
|
|
@@ -64,7 +68,7 @@ declare const UpdateInboxTagCommand_base: {
|
|
|
64
68
|
*
|
|
65
69
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
66
70
|
*
|
|
67
|
-
* @throws {@link
|
|
71
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
68
72
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
69
73
|
*
|
|
70
74
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { UpdateMessageInput, UpdateMessageOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UpdateMessageCommandInput extends UpdateMessageInput {
|
|
|
22
22
|
export interface UpdateMessageCommandOutput extends UpdateMessageOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateMessageCommand_base: {
|
|
25
|
-
new (input: UpdateMessageCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateMessageCommandInput): import("@smithy/core/client").CommandImpl<UpdateMessageCommandInput, UpdateMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateMessageCommandInput): import("@smithy/core/client").CommandImpl<UpdateMessageCommandInput, UpdateMessageCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Updates an existing message in a specified channel. This operation is idempotent and requires the channel and message to be accessible to the user.
|
|
@@ -33,6 +35,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, UpdateMessageCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, UpdateMessageCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // UpdateMessageInput
|
|
38
42
|
* text: "STRING_VALUE",
|
|
@@ -368,7 +372,7 @@ declare const UpdateMessageCommand_base: {
|
|
|
368
372
|
*
|
|
369
373
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
370
374
|
*
|
|
371
|
-
* @throws {@link
|
|
375
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
372
376
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
373
377
|
*
|
|
374
378
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { UploadFileInput, UploadFileOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -22,9 +22,11 @@ export interface UploadFileCommandInput extends UploadFileInput {
|
|
|
22
22
|
export interface UploadFileCommandOutput extends UploadFileOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UploadFileCommand_base: {
|
|
25
|
-
new (input: UploadFileCommandInput): import("@smithy/
|
|
26
|
-
new (
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UploadFileCommandInput): import("@smithy/core/client").CommandImpl<UploadFileCommandInput, UploadFileCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UploadFileCommandInput): import("@smithy/core/client").CommandImpl<UploadFileCommandInput, UploadFileCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* Create a presigned URL for file upload in the channel.
|
|
@@ -33,6 +35,8 @@ declare const UploadFileCommand_base: {
|
|
|
33
35
|
* ```javascript
|
|
34
36
|
* import { ConversationsClient, UploadFileCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
37
|
* // const { ConversationsClient, UploadFileCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
38
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
39
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
36
40
|
* const client = new ConversationsClient(config);
|
|
37
41
|
* const input = { // UploadFileInput
|
|
38
42
|
* channelId: "STRING_VALUE", // required
|
|
@@ -68,7 +72,7 @@ declare const UploadFileCommand_base: {
|
|
|
68
72
|
*
|
|
69
73
|
* @throws {@link RateLimitExceededException} (client fault)
|
|
70
74
|
*
|
|
71
|
-
* @throws {@link
|
|
75
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
72
76
|
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
73
77
|
*
|
|
74
78
|
*
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
clientContextParams?: {
|
|
7
|
+
env?: string | undefined | Provider<string | undefined>;
|
|
8
|
+
};
|
|
9
|
+
env?: string | undefined | Provider<string | undefined>;
|
|
10
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
16
|
+
defaultSigningName: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const commonParams: {
|
|
26
|
+
readonly env: {
|
|
27
|
+
readonly type: "clientContextParams";
|
|
28
|
+
readonly name: "env";
|
|
29
|
+
};
|
|
30
|
+
readonly endpoint: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "endpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
39
|
+
env?: string | undefined;
|
|
40
|
+
endpoint?: string | undefined;
|
|
41
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
2
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface ConversationsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface ConversationsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
7
8
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export * from "./ConversationsClient";
|
|
2
2
|
export * from "./Conversations";
|
|
3
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
3
4
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
4
5
|
export type { ConversationsExtensionConfiguration } from "./extensionConfiguration";
|
|
5
6
|
export * from "./commands";
|
|
6
|
-
export * from "./
|
|
7
|
-
export
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
11
|
+
export { ConversationsSyntheticServiceException } from "./models/ConversationsSyntheticServiceException";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ export { __ServiceException };
|
|
|
6
6
|
*
|
|
7
7
|
* Base exception class for all service exceptions from Conversations service.
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class ConversationsSyntheticServiceException extends __ServiceException {
|
|
10
10
|
/**
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|