@wildix/stream-client 0.0.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/StreamService.js +35 -0
- package/dist-cjs/StreamServiceClient.js +42 -0
- package/dist-cjs/commands/AddReactionCommand.js +21 -0
- package/dist-cjs/commands/DeleteMessageCommand.js +21 -0
- package/dist-cjs/commands/EditMessageCommand.js +21 -0
- package/dist-cjs/commands/GetInboxCommand.js +21 -0
- package/dist-cjs/commands/GetMessageCommand.js +21 -0
- package/dist-cjs/commands/ListChannelsCommand.js +21 -0
- package/dist-cjs/commands/ListMentionsCommand.js +21 -0
- package/dist-cjs/commands/ListMessagesCommand.js +21 -0
- package/dist-cjs/commands/PinMessageCommand.js +21 -0
- package/dist-cjs/commands/RemoveReactionCommand.js +21 -0
- package/dist-cjs/commands/SendMessageCommand.js +21 -0
- package/dist-cjs/commands/UnpinMessageCommand.js +21 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/StreamServiceServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +123 -0
- package/dist-cjs/protocols/Aws_restJson1.js +579 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +37 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeExtensions.js +11 -0
- package/dist-es/StreamService.js +31 -0
- package/dist-es/StreamServiceClient.js +38 -0
- package/dist-es/commands/AddReactionCommand.js +17 -0
- package/dist-es/commands/DeleteMessageCommand.js +17 -0
- package/dist-es/commands/EditMessageCommand.js +17 -0
- package/dist-es/commands/GetInboxCommand.js +17 -0
- package/dist-es/commands/GetMessageCommand.js +17 -0
- package/dist-es/commands/ListChannelsCommand.js +17 -0
- package/dist-es/commands/ListMentionsCommand.js +17 -0
- package/dist-es/commands/ListMessagesCommand.js +17 -0
- package/dist-es/commands/PinMessageCommand.js +17 -0
- package/dist-es/commands/RemoveReactionCommand.js +17 -0
- package/dist-es/commands/SendMessageCommand.js +17 -0
- package/dist-es/commands/UnpinMessageCommand.js +17 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/StreamServiceServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +113 -0
- package/dist-es/protocols/Aws_restJson1.js +552 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +32 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-es/runtimeExtensions.js +7 -0
- package/dist-types/StreamService.d.ts +96 -0
- package/dist-types/StreamServiceClient.d.ts +157 -0
- package/dist-types/commands/AddReactionCommand.d.ts +137 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +87 -0
- package/dist-types/commands/EditMessageCommand.d.ts +151 -0
- package/dist-types/commands/GetInboxCommand.d.ts +129 -0
- package/dist-types/commands/GetMessageCommand.d.ts +136 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +119 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +153 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +137 -0
- package/dist-types/commands/PinMessageCommand.d.ts +136 -0
- package/dist-types/commands/RemoveReactionCommand.d.ts +137 -0
- package/dist-types/commands/SendMessageCommand.d.ts +160 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/extensionConfiguration.d.ts +7 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/models/StreamServiceServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1113 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/runtimeConfig.d.ts +38 -0
- package/dist-types/runtimeConfig.native.d.ts +37 -0
- package/dist-types/runtimeConfig.shared.d.ts +15 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +83 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { StreamServiceClient } from "./StreamServiceClient";
|
|
2
|
+
import { AddReactionCommandInput, AddReactionCommandOutput } from "./commands/AddReactionCommand";
|
|
3
|
+
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
4
|
+
import { EditMessageCommandInput, EditMessageCommandOutput } from "./commands/EditMessageCommand";
|
|
5
|
+
import { GetInboxCommandInput, GetInboxCommandOutput } from "./commands/GetInboxCommand";
|
|
6
|
+
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
7
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
8
|
+
import { ListMentionsCommandInput, ListMentionsCommandOutput } from "./commands/ListMentionsCommand";
|
|
9
|
+
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
10
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
11
|
+
import { RemoveReactionCommandInput, RemoveReactionCommandOutput } from "./commands/RemoveReactionCommand";
|
|
12
|
+
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
13
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
14
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
15
|
+
export interface StreamService {
|
|
16
|
+
/**
|
|
17
|
+
* @see {@link AddReactionCommand}
|
|
18
|
+
*/
|
|
19
|
+
addReaction(args: AddReactionCommandInput, options?: __HttpHandlerOptions): Promise<AddReactionCommandOutput>;
|
|
20
|
+
addReaction(args: AddReactionCommandInput, cb: (err: any, data?: AddReactionCommandOutput) => void): void;
|
|
21
|
+
addReaction(args: AddReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddReactionCommandOutput) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link DeleteMessageCommand}
|
|
24
|
+
*/
|
|
25
|
+
deleteMessage(args: DeleteMessageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMessageCommandOutput>;
|
|
26
|
+
deleteMessage(args: DeleteMessageCommandInput, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
27
|
+
deleteMessage(args: DeleteMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMessageCommandOutput) => void): void;
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link EditMessageCommand}
|
|
30
|
+
*/
|
|
31
|
+
editMessage(args: EditMessageCommandInput, options?: __HttpHandlerOptions): Promise<EditMessageCommandOutput>;
|
|
32
|
+
editMessage(args: EditMessageCommandInput, cb: (err: any, data?: EditMessageCommandOutput) => void): void;
|
|
33
|
+
editMessage(args: EditMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EditMessageCommandOutput) => void): void;
|
|
34
|
+
/**
|
|
35
|
+
* @see {@link GetInboxCommand}
|
|
36
|
+
*/
|
|
37
|
+
getInbox(): Promise<GetInboxCommandOutput>;
|
|
38
|
+
getInbox(args: GetInboxCommandInput, options?: __HttpHandlerOptions): Promise<GetInboxCommandOutput>;
|
|
39
|
+
getInbox(args: GetInboxCommandInput, cb: (err: any, data?: GetInboxCommandOutput) => void): void;
|
|
40
|
+
getInbox(args: GetInboxCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInboxCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link GetMessageCommand}
|
|
43
|
+
*/
|
|
44
|
+
getMessage(args: GetMessageCommandInput, options?: __HttpHandlerOptions): Promise<GetMessageCommandOutput>;
|
|
45
|
+
getMessage(args: GetMessageCommandInput, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
46
|
+
getMessage(args: GetMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMessageCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link ListChannelsCommand}
|
|
49
|
+
*/
|
|
50
|
+
listChannels(): Promise<ListChannelsCommandOutput>;
|
|
51
|
+
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
52
|
+
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
53
|
+
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link ListMentionsCommand}
|
|
56
|
+
*/
|
|
57
|
+
listMentions(): Promise<ListMentionsCommandOutput>;
|
|
58
|
+
listMentions(args: ListMentionsCommandInput, options?: __HttpHandlerOptions): Promise<ListMentionsCommandOutput>;
|
|
59
|
+
listMentions(args: ListMentionsCommandInput, cb: (err: any, data?: ListMentionsCommandOutput) => void): void;
|
|
60
|
+
listMentions(args: ListMentionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMentionsCommandOutput) => void): void;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link ListMessagesCommand}
|
|
63
|
+
*/
|
|
64
|
+
listMessages(args: ListMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListMessagesCommandOutput>;
|
|
65
|
+
listMessages(args: ListMessagesCommandInput, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
66
|
+
listMessages(args: ListMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMessagesCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link PinMessageCommand}
|
|
69
|
+
*/
|
|
70
|
+
pinMessage(args: PinMessageCommandInput, options?: __HttpHandlerOptions): Promise<PinMessageCommandOutput>;
|
|
71
|
+
pinMessage(args: PinMessageCommandInput, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
72
|
+
pinMessage(args: PinMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PinMessageCommandOutput) => void): void;
|
|
73
|
+
/**
|
|
74
|
+
* @see {@link RemoveReactionCommand}
|
|
75
|
+
*/
|
|
76
|
+
removeReaction(args: RemoveReactionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveReactionCommandOutput>;
|
|
77
|
+
removeReaction(args: RemoveReactionCommandInput, cb: (err: any, data?: RemoveReactionCommandOutput) => void): void;
|
|
78
|
+
removeReaction(args: RemoveReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveReactionCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link SendMessageCommand}
|
|
81
|
+
*/
|
|
82
|
+
sendMessage(args: SendMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendMessageCommandOutput>;
|
|
83
|
+
sendMessage(args: SendMessageCommandInput, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
84
|
+
sendMessage(args: SendMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessageCommandOutput) => void): void;
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link UnpinMessageCommand}
|
|
87
|
+
*/
|
|
88
|
+
unpinMessage(args: UnpinMessageCommandInput, options?: __HttpHandlerOptions): Promise<UnpinMessageCommandOutput>;
|
|
89
|
+
unpinMessage(args: UnpinMessageCommandInput, cb: (err: any, data?: UnpinMessageCommandOutput) => void): void;
|
|
90
|
+
unpinMessage(args: UnpinMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnpinMessageCommandOutput) => void): void;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class StreamService extends StreamServiceClient implements StreamService {
|
|
96
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { AddReactionCommandInput, AddReactionCommandOutput } from "./commands/AddReactionCommand";
|
|
2
|
+
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
3
|
+
import { EditMessageCommandInput, EditMessageCommandOutput } from "./commands/EditMessageCommand";
|
|
4
|
+
import { GetInboxCommandInput, GetInboxCommandOutput } from "./commands/GetInboxCommand";
|
|
5
|
+
import { GetMessageCommandInput, GetMessageCommandOutput } from "./commands/GetMessageCommand";
|
|
6
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
7
|
+
import { ListMentionsCommandInput, ListMentionsCommandOutput } from "./commands/ListMentionsCommand";
|
|
8
|
+
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "./commands/ListMessagesCommand";
|
|
9
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "./commands/PinMessageCommand";
|
|
10
|
+
import { RemoveReactionCommandInput, RemoveReactionCommandOutput } from "./commands/RemoveReactionCommand";
|
|
11
|
+
import { SendMessageCommandInput, SendMessageCommandOutput } from "./commands/SendMessageCommand";
|
|
12
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "./commands/UnpinMessageCommand";
|
|
13
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
14
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
15
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
16
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
17
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
18
|
+
import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
19
|
+
import { TokenProvider } from '@wildix/smithy-utils';
|
|
20
|
+
export { __Client };
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type ServiceInputTypes = AddReactionCommandInput | DeleteMessageCommandInput | EditMessageCommandInput | GetInboxCommandInput | GetMessageCommandInput | ListChannelsCommandInput | ListMentionsCommandInput | ListMessagesCommandInput | PinMessageCommandInput | RemoveReactionCommandInput | SendMessageCommandInput | UnpinMessageCommandInput;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type ServiceOutputTypes = AddReactionCommandOutput | DeleteMessageCommandOutput | EditMessageCommandOutput | GetInboxCommandOutput | GetMessageCommandOutput | ListChannelsCommandOutput | ListMentionsCommandOutput | ListMessagesCommandOutput | PinMessageCommandOutput | RemoveReactionCommandOutput | SendMessageCommandOutput | UnpinMessageCommandOutput;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
33
|
+
/**
|
|
34
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
35
|
+
*/
|
|
36
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
37
|
+
/**
|
|
38
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
39
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
43
|
+
/**
|
|
44
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
urlParser?: __UrlParser;
|
|
48
|
+
/**
|
|
49
|
+
* A function that can calculate the length of a request body.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
53
|
+
/**
|
|
54
|
+
* A function that converts a stream into an array of bytes.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
streamCollector?: __StreamCollector;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
base64Decoder?: __Decoder;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
base64Encoder?: __Encoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
utf8Decoder?: __Decoder;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
utf8Encoder?: __Encoder;
|
|
78
|
+
/**
|
|
79
|
+
* The runtime environment.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
runtime?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
85
|
+
* trait of an operation.
|
|
86
|
+
*/
|
|
87
|
+
disableHostPrefix?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
93
|
+
/**
|
|
94
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
95
|
+
*/
|
|
96
|
+
maxAttempts?: number | __Provider<number>;
|
|
97
|
+
/**
|
|
98
|
+
* Specifies which retry algorithm to use.
|
|
99
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
retryMode?: string | __Provider<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Optional logger for logging debug/info/warn/error.
|
|
105
|
+
*/
|
|
106
|
+
logger?: __Logger;
|
|
107
|
+
/**
|
|
108
|
+
* Optional extensions
|
|
109
|
+
*/
|
|
110
|
+
extensions?: RuntimeExtension[];
|
|
111
|
+
/**
|
|
112
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
113
|
+
*/
|
|
114
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export type StreamServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig;
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*
|
|
123
|
+
* The configuration interface of StreamServiceClient class constructor that set the region, credentials and other options.
|
|
124
|
+
*/
|
|
125
|
+
export interface StreamServiceClientConfig extends StreamServiceClientConfigType {
|
|
126
|
+
serviceRegion?: 'eu-1' | 'us-1';
|
|
127
|
+
env?: 'stage' | 'stable' | 'prod';
|
|
128
|
+
token: TokenProvider;
|
|
129
|
+
endpoint?: () => Record<string, string>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export type StreamServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig;
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*
|
|
138
|
+
* The resolved configuration interface of StreamServiceClient class. This is resolved and normalized from the {@link StreamServiceClientConfig | constructor configuration interface}.
|
|
139
|
+
*/
|
|
140
|
+
export interface StreamServiceClientResolvedConfig extends StreamServiceClientResolvedConfigType {
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export declare class StreamServiceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig> {
|
|
146
|
+
/**
|
|
147
|
+
* The resolved configuration of StreamServiceClient class. This is resolved and normalized from the {@link StreamServiceClientConfig | constructor configuration interface}.
|
|
148
|
+
*/
|
|
149
|
+
readonly config: StreamServiceClientResolvedConfig;
|
|
150
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<StreamServiceClientConfig>);
|
|
151
|
+
/**
|
|
152
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
153
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
154
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
155
|
+
*/
|
|
156
|
+
destroy(): void;
|
|
157
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { AddReactionInput, AddReactionOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AddReactionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AddReactionCommandInput extends AddReactionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AddReactionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AddReactionCommandOutput extends AddReactionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AddReactionCommand_base: {
|
|
25
|
+
new (input: AddReactionCommandInput): import("@smithy/smithy-client").CommandImpl<AddReactionCommandInput, AddReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: AddReactionCommandInput): import("@smithy/smithy-client").CommandImpl<AddReactionCommandInput, AddReactionCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Adds the current user's reaction of `<type>` on one message. The denormalized `reactionCounts` map on the message row is enough for rendering counters; the full reactor list per `<type>` is fetched on demand. Duplicate adds are absorbed and only the first apply advances `messageVersion`. Reactions on a deleted message are rejected.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, AddReactionCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, AddReactionCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // AddReactionInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* messageId: "STRING_VALUE", // required
|
|
42
|
+
* type: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new AddReactionCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // AddReactionOutput
|
|
47
|
+
* // message: { // Message
|
|
48
|
+
* // messageId: "STRING_VALUE", // required
|
|
49
|
+
* // userId: "STRING_VALUE", // required
|
|
50
|
+
* // messageType: "regular" || "system", // required
|
|
51
|
+
* // text: "STRING_VALUE",
|
|
52
|
+
* // attachments: [ // MessageAttachmentList // required
|
|
53
|
+
* // { // MessageAttachment
|
|
54
|
+
* // fsId: "STRING_VALUE", // required
|
|
55
|
+
* // mime: "STRING_VALUE",
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // size: Number("long"), // required
|
|
58
|
+
* // width: Number("int"),
|
|
59
|
+
* // height: Number("int"),
|
|
60
|
+
* // thumbnail: "STRING_VALUE",
|
|
61
|
+
* // id: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // mentions: [ // UserIdList // required
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // quote: { // MessageQuote
|
|
68
|
+
* // channelId: "STRING_VALUE", // required
|
|
69
|
+
* // messageId: "STRING_VALUE", // required
|
|
70
|
+
* // userId: "STRING_VALUE", // required
|
|
71
|
+
* // text: "STRING_VALUE",
|
|
72
|
+
* // createdAt: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // forward: { // MessageForward
|
|
75
|
+
* // channelId: "STRING_VALUE", // required
|
|
76
|
+
* // messageId: "STRING_VALUE", // required
|
|
77
|
+
* // userId: "STRING_VALUE", // required
|
|
78
|
+
* // forwardedAt: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // reactionCounts: { // ReactionCounts // required
|
|
81
|
+
* // "<keys>": Number("int"),
|
|
82
|
+
* // },
|
|
83
|
+
* // pinned: true || false, // required
|
|
84
|
+
* // pinnedAt: "STRING_VALUE",
|
|
85
|
+
* // pinnedBy: "STRING_VALUE",
|
|
86
|
+
* // system: true || false, // required
|
|
87
|
+
* // timelineSeq: Number("long"), // required
|
|
88
|
+
* // visibleSeq: Number("long"), // required
|
|
89
|
+
* // channelVersion: Number("long"), // required
|
|
90
|
+
* // messageVersion: Number("long"), // required
|
|
91
|
+
* // createdAt: "STRING_VALUE", // required
|
|
92
|
+
* // editedAt: "STRING_VALUE",
|
|
93
|
+
* // deletedAt: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param AddReactionCommandInput - {@link AddReactionCommandInput}
|
|
100
|
+
* @returns {@link AddReactionCommandOutput}
|
|
101
|
+
* @see {@link AddReactionCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link AddReactionCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link MessageNotFoundException} (client fault)
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link InternalServerError} (server fault)
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ValidationException} (client fault)
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link StreamServiceServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
121
|
+
*
|
|
122
|
+
*
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class AddReactionCommand extends AddReactionCommand_base {
|
|
126
|
+
/** @internal type navigation helper, not in runtime. */
|
|
127
|
+
protected static __types: {
|
|
128
|
+
api: {
|
|
129
|
+
input: AddReactionInput;
|
|
130
|
+
output: AddReactionOutput;
|
|
131
|
+
};
|
|
132
|
+
sdk: {
|
|
133
|
+
input: AddReactionCommandInput;
|
|
134
|
+
output: AddReactionCommandOutput;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { DeleteMessageInput, DeleteMessageOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteMessageCommandInput extends DeleteMessageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteMessageCommandOutput extends DeleteMessageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteMessageCommand_base: {
|
|
25
|
+
new (input: DeleteMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageCommandInput, DeleteMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageCommandInput, DeleteMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Tombstones one message. The row stays in place so timeline ordering is stable; clients render the gap as a deleted-message placeholder. Hard purge is owned by retention, not by this endpoint. Only the sender or an admin may delete.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, DeleteMessageCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, DeleteMessageCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // DeleteMessageInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* messageId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteMessageCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteMessageCommandInput - {@link DeleteMessageCommandInput}
|
|
50
|
+
* @returns {@link DeleteMessageCommandOutput}
|
|
51
|
+
* @see {@link DeleteMessageCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteMessageCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link MessageNotFoundException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerError} (server fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link StreamServiceServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteMessageCommand extends DeleteMessageCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DeleteMessageInput;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DeleteMessageCommandInput;
|
|
84
|
+
output: DeleteMessageCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { EditMessageInput, EditMessageOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EditMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EditMessageCommandInput extends EditMessageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EditMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EditMessageCommandOutput extends EditMessageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const EditMessageCommand_base: {
|
|
25
|
+
new (input: EditMessageCommandInput): import("@smithy/smithy-client").CommandImpl<EditMessageCommandInput, EditMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: EditMessageCommandInput): import("@smithy/smithy-client").CommandImpl<EditMessageCommandInput, EditMessageCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Rewrites the content of an existing message in place. Edits change `text`, `attachments`, and `mentions[]` only and never move the message in the timeline. The server rejects payloads that would empty both `text` and `attachments`. Returns the rewritten message snapshot with `messageVersion` incremented and `editedAt` set.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, EditMessageCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, EditMessageCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // EditMessageInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* messageId: "STRING_VALUE", // required
|
|
42
|
+
* text: "STRING_VALUE",
|
|
43
|
+
* attachments: [ // MessageAttachmentRequestList
|
|
44
|
+
* { // MessageAttachmentRequest
|
|
45
|
+
* fsId: "STRING_VALUE", // required
|
|
46
|
+
* mime: "STRING_VALUE",
|
|
47
|
+
* name: "STRING_VALUE", // required
|
|
48
|
+
* size: Number("long"), // required
|
|
49
|
+
* width: Number("int"),
|
|
50
|
+
* height: Number("int"),
|
|
51
|
+
* thumbnail: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* mentions: [ // UserIdList
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
58
|
+
* const command = new EditMessageCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // EditMessageOutput
|
|
61
|
+
* // message: { // Message
|
|
62
|
+
* // messageId: "STRING_VALUE", // required
|
|
63
|
+
* // userId: "STRING_VALUE", // required
|
|
64
|
+
* // messageType: "regular" || "system", // required
|
|
65
|
+
* // text: "STRING_VALUE",
|
|
66
|
+
* // attachments: [ // MessageAttachmentList // required
|
|
67
|
+
* // { // MessageAttachment
|
|
68
|
+
* // fsId: "STRING_VALUE", // required
|
|
69
|
+
* // mime: "STRING_VALUE",
|
|
70
|
+
* // name: "STRING_VALUE", // required
|
|
71
|
+
* // size: Number("long"), // required
|
|
72
|
+
* // width: Number("int"),
|
|
73
|
+
* // height: Number("int"),
|
|
74
|
+
* // thumbnail: "STRING_VALUE",
|
|
75
|
+
* // id: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // mentions: [ // UserIdList // required
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // quote: { // MessageQuote
|
|
82
|
+
* // channelId: "STRING_VALUE", // required
|
|
83
|
+
* // messageId: "STRING_VALUE", // required
|
|
84
|
+
* // userId: "STRING_VALUE", // required
|
|
85
|
+
* // text: "STRING_VALUE",
|
|
86
|
+
* // createdAt: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // forward: { // MessageForward
|
|
89
|
+
* // channelId: "STRING_VALUE", // required
|
|
90
|
+
* // messageId: "STRING_VALUE", // required
|
|
91
|
+
* // userId: "STRING_VALUE", // required
|
|
92
|
+
* // forwardedAt: "STRING_VALUE", // required
|
|
93
|
+
* // },
|
|
94
|
+
* // reactionCounts: { // ReactionCounts // required
|
|
95
|
+
* // "<keys>": Number("int"),
|
|
96
|
+
* // },
|
|
97
|
+
* // pinned: true || false, // required
|
|
98
|
+
* // pinnedAt: "STRING_VALUE",
|
|
99
|
+
* // pinnedBy: "STRING_VALUE",
|
|
100
|
+
* // system: true || false, // required
|
|
101
|
+
* // timelineSeq: Number("long"), // required
|
|
102
|
+
* // visibleSeq: Number("long"), // required
|
|
103
|
+
* // channelVersion: Number("long"), // required
|
|
104
|
+
* // messageVersion: Number("long"), // required
|
|
105
|
+
* // createdAt: "STRING_VALUE", // required
|
|
106
|
+
* // editedAt: "STRING_VALUE",
|
|
107
|
+
* // deletedAt: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param EditMessageCommandInput - {@link EditMessageCommandInput}
|
|
114
|
+
* @returns {@link EditMessageCommandOutput}
|
|
115
|
+
* @see {@link EditMessageCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link EditMessageCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link MessageNotFoundException} (client fault)
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link InternalServerError} (server fault)
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ValidationException} (client fault)
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link StreamServiceServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
135
|
+
*
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class EditMessageCommand extends EditMessageCommand_base {
|
|
140
|
+
/** @internal type navigation helper, not in runtime. */
|
|
141
|
+
protected static __types: {
|
|
142
|
+
api: {
|
|
143
|
+
input: EditMessageInput;
|
|
144
|
+
output: EditMessageOutput;
|
|
145
|
+
};
|
|
146
|
+
sdk: {
|
|
147
|
+
input: EditMessageCommandInput;
|
|
148
|
+
output: EditMessageCommandOutput;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
}
|