@wildix/stream-client 0.0.1 → 0.0.5
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 +98 -6
- package/dist-cjs/commands/AddChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/AddChannelMembersCommand.js +21 -0
- package/dist-cjs/commands/AssignChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateGroupChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateKiteChannelCommand.js +21 -0
- package/dist-cjs/commands/CreateSectionCommand.js +21 -0
- package/dist-cjs/commands/DeleteChannelCommand.js +21 -0
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +21 -0
- package/dist-cjs/commands/DeleteSectionCommand.js +21 -0
- package/dist-cjs/commands/GetChannelCommand.js +21 -0
- package/dist-cjs/commands/GetChannelMemberCommand.js +21 -0
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +21 -0
- package/dist-cjs/commands/GetSmsChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetTokenCommand.js +21 -0
- package/dist-cjs/commands/GetUploadedFileInfoCommand.js +21 -0
- package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +21 -0
- package/dist-cjs/commands/{AddReactionCommand.js → HideChannelCommand.js} +7 -7
- package/dist-cjs/commands/{EditMessageCommand.js → JoinChannelCommand.js} +7 -7
- package/dist-cjs/commands/LeaveChannelCommand.js +21 -0
- package/dist-cjs/commands/ListChannelMembersCommand.js +21 -0
- package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +21 -0
- package/dist-cjs/commands/MarkReadCommand.js +21 -0
- package/dist-cjs/commands/MarkUnreadCommand.js +21 -0
- package/dist-cjs/commands/MoveChannelToSectionCommand.js +21 -0
- package/dist-cjs/commands/MuteChannelCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +21 -0
- package/dist-cjs/commands/PinChannelCommand.js +21 -0
- package/dist-cjs/commands/QueryChannelsCommand.js +21 -0
- package/dist-cjs/commands/RemoveChannelFromSectionCommand.js +21 -0
- package/dist-cjs/commands/RenameSectionCommand.js +21 -0
- package/dist-cjs/commands/SendGiphyCommand.js +21 -0
- package/dist-cjs/commands/SendMessageReactionCommand.js +21 -0
- package/dist-cjs/commands/SendSystemMessageCommand.js +21 -0
- package/dist-cjs/commands/SendTypingStartCommand.js +21 -0
- package/dist-cjs/commands/{RemoveReactionCommand.js → SendTypingStopCommand.js} +7 -7
- package/dist-cjs/commands/ShowChannelCommand.js +21 -0
- package/dist-cjs/commands/UnmuteChannelCommand.js +21 -0
- package/dist-cjs/commands/UnpinChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateChannelCommand.js +21 -0
- package/dist-cjs/commands/UpdateMessageCommand.js +21 -0
- package/dist-cjs/commands/UploadFileCommand.js +21 -0
- package/dist-cjs/commands/index.js +49 -3
- package/dist-cjs/models/models_0.js +293 -26
- package/dist-cjs/protocols/Aws_restJson1.js +1955 -131
- package/dist-es/StreamService.js +98 -6
- package/dist-es/commands/AddChannelMemberCommand.js +17 -0
- package/dist-es/commands/AddChannelMembersCommand.js +17 -0
- package/dist-es/commands/AssignChannelCommand.js +17 -0
- package/dist-es/commands/CreateGroupChannelCommand.js +17 -0
- package/dist-es/commands/CreateKiteChannelCommand.js +17 -0
- package/dist-es/commands/CreateSectionCommand.js +17 -0
- package/dist-es/commands/DeleteChannelCommand.js +17 -0
- package/dist-es/commands/DeleteChannelMemberCommand.js +17 -0
- package/dist-es/commands/DeleteMessageReactionCommand.js +17 -0
- package/dist-es/commands/DeleteSectionCommand.js +17 -0
- package/dist-es/commands/GetChannelCommand.js +17 -0
- package/dist-es/commands/GetChannelMemberCommand.js +17 -0
- package/dist-es/commands/GetDirectChannelIdCommand.js +17 -0
- package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +17 -0
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateSmsChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +17 -0
- package/dist-es/commands/GetSmsChannelIdCommand.js +17 -0
- package/dist-es/commands/GetTelephonyChannelIdCommand.js +17 -0
- package/dist-es/commands/GetTokenCommand.js +17 -0
- package/dist-es/commands/GetUploadedFileInfoCommand.js +17 -0
- package/dist-es/commands/GetWhatsAppChannelIdCommand.js +17 -0
- package/dist-es/commands/{EditMessageCommand.js → HideChannelCommand.js} +6 -6
- package/dist-es/commands/{AddReactionCommand.js → JoinChannelCommand.js} +6 -6
- package/dist-es/commands/LeaveChannelCommand.js +17 -0
- package/dist-es/commands/ListChannelMembersCommand.js +17 -0
- package/dist-es/commands/ListChannelMembersReadStatusCommand.js +17 -0
- package/dist-es/commands/MarkReadCommand.js +17 -0
- package/dist-es/commands/MarkUnreadCommand.js +17 -0
- package/dist-es/commands/MoveChannelToSectionCommand.js +17 -0
- package/dist-es/commands/MuteChannelCommand.js +17 -0
- package/dist-es/commands/PartialUpdateChannelCommand.js +17 -0
- package/dist-es/commands/PartialUpdateMessageCommand.js +17 -0
- package/dist-es/commands/PinChannelCommand.js +17 -0
- package/dist-es/commands/QueryChannelsCommand.js +17 -0
- package/dist-es/commands/RemoveChannelFromSectionCommand.js +17 -0
- package/dist-es/commands/RenameSectionCommand.js +17 -0
- package/dist-es/commands/SendGiphyCommand.js +17 -0
- package/dist-es/commands/SendMessageReactionCommand.js +17 -0
- package/dist-es/commands/SendSystemMessageCommand.js +17 -0
- package/dist-es/commands/SendTypingStartCommand.js +17 -0
- package/dist-es/commands/{RemoveReactionCommand.js → SendTypingStopCommand.js} +6 -6
- package/dist-es/commands/ShowChannelCommand.js +17 -0
- package/dist-es/commands/UnmuteChannelCommand.js +17 -0
- package/dist-es/commands/UnpinChannelCommand.js +17 -0
- package/dist-es/commands/UpdateChannelCommand.js +17 -0
- package/dist-es/commands/UpdateMessageCommand.js +17 -0
- package/dist-es/commands/UploadFileCommand.js +17 -0
- package/dist-es/commands/index.js +49 -3
- package/dist-es/models/models_0.js +281 -23
- package/dist-es/protocols/Aws_restJson1.js +1843 -113
- package/dist-types/StreamService.d.ts +341 -15
- package/dist-types/StreamServiceClient.d.ts +51 -5
- package/dist-types/commands/AddChannelMemberCommand.d.ts +101 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +108 -0
- package/dist-types/commands/AssignChannelCommand.d.ts +96 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +201 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +291 -0
- package/dist-types/commands/CreateSectionCommand.d.ts +96 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +82 -0
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +88 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +193 -0
- package/dist-types/commands/DeleteSectionCommand.d.ts +84 -0
- package/dist-types/commands/GetChannelCommand.d.ts +150 -0
- package/dist-types/commands/GetChannelMemberCommand.d.ts +93 -0
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +90 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +94 -0
- package/dist-types/commands/GetInboxCommand.d.ts +53 -6
- package/dist-types/commands/GetMessageCommand.d.ts +57 -1
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +154 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +150 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/GetTokenCommand.d.ts +85 -0
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +98 -0
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +86 -0
- package/dist-types/commands/HideChannelCommand.d.ts +84 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +151 -0
- package/dist-types/commands/LeaveChannelCommand.d.ts +85 -0
- package/dist-types/commands/ListChannelMembersCommand.d.ts +94 -0
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +92 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +53 -6
- package/dist-types/commands/ListMentionsCommand.d.ts +58 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +57 -1
- package/dist-types/commands/MarkReadCommand.d.ts +99 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +103 -0
- package/dist-types/commands/MoveChannelToSectionCommand.d.ts +101 -0
- package/dist-types/commands/MuteChannelCommand.d.ts +99 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +195 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +261 -0
- package/dist-types/commands/PinChannelCommand.d.ts +87 -0
- package/dist-types/commands/PinMessageCommand.d.ts +57 -1
- package/dist-types/commands/QueryChannelsCommand.d.ts +167 -0
- package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +101 -0
- package/dist-types/commands/RenameSectionCommand.d.ts +98 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +207 -0
- package/dist-types/commands/SendMessageCommand.d.ts +105 -8
- package/dist-types/commands/SendMessageReactionCommand.d.ts +193 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +199 -0
- package/dist-types/commands/SendTypingStartCommand.d.ts +84 -0
- package/dist-types/commands/SendTypingStopCommand.d.ts +84 -0
- package/dist-types/commands/ShowChannelCommand.d.ts +84 -0
- package/dist-types/commands/UnmuteChannelCommand.d.ts +98 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +84 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +57 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +190 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +256 -0
- package/dist-types/commands/UploadFileCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +49 -3
- package/dist-types/models/models_0.d.ts +3256 -403
- package/dist-types/protocols/Aws_restJson1.d.ts +429 -15
- package/package.json +1 -1
- package/dist-types/commands/AddReactionCommand.d.ts +0 -137
- package/dist-types/commands/EditMessageCommand.d.ts +0 -151
- package/dist-types/commands/RemoveReactionCommand.d.ts +0 -137
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { SendTypingStopInput, SendTypingStopOutput } 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 SendTypingStopCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendTypingStopCommandInput extends SendTypingStopInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendTypingStopCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendTypingStopCommandOutput extends SendTypingStopOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendTypingStopCommand_base: {
|
|
25
|
+
new (input: SendTypingStopCommandInput): import("@smithy/smithy-client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SendTypingStopCommandInput): import("@smithy/smithy-client").CommandImpl<SendTypingStopCommandInput, SendTypingStopCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Broadcasts a typing-stop indicator for the current user in a channel.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, SendTypingStopCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, SendTypingStopCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // SendTypingStopInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new SendTypingStopCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param SendTypingStopCommandInput - {@link SendTypingStopCommandInput}
|
|
49
|
+
* @returns {@link SendTypingStopCommandOutput}
|
|
50
|
+
* @see {@link SendTypingStopCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link SendTypingStopCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link StreamServiceServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class SendTypingStopCommand extends SendTypingStopCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: SendTypingStopInput;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: SendTypingStopCommandInput;
|
|
81
|
+
output: SendTypingStopCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { ShowChannelInput, ShowChannelOutput } 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 ShowChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ShowChannelCommandInput extends ShowChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ShowChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ShowChannelCommandOutput extends ShowChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ShowChannelCommand_base: {
|
|
25
|
+
new (input: ShowChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ShowChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ShowChannelCommandInput, ShowChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Restores a hidden channel for the current user.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, ShowChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, ShowChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // ShowChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ShowChannelCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param ShowChannelCommandInput - {@link ShowChannelCommandInput}
|
|
49
|
+
* @returns {@link ShowChannelCommandOutput}
|
|
50
|
+
* @see {@link ShowChannelCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link ShowChannelCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link StreamServiceServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class ShowChannelCommand extends ShowChannelCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: ShowChannelInput;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: ShowChannelCommandInput;
|
|
81
|
+
output: ShowChannelCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { UnmuteChannelInput, UnmuteChannelOutput } 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 UnmuteChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UnmuteChannelCommandInput extends UnmuteChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UnmuteChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UnmuteChannelCommandOutput extends UnmuteChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UnmuteChannelCommand_base: {
|
|
25
|
+
new (input: UnmuteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnmuteChannelCommandInput, UnmuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UnmuteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnmuteChannelCommandInput, UnmuteChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Unmutes a channel for the current user.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, UnmuteChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, UnmuteChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // UnmuteChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UnmuteChannelCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UnmuteChannelOutput
|
|
45
|
+
* // inbox: { // InboxState
|
|
46
|
+
* // sectionIds: [ // SectionIdList // required
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // unreadCount: Number("int"), // required
|
|
50
|
+
* // mentionUnreadCount: Number("int"), // required
|
|
51
|
+
* // lastReadVisibleSeq: Number("long"),
|
|
52
|
+
* // lastReadAt: "STRING_VALUE",
|
|
53
|
+
* // hidden: true || false, // required
|
|
54
|
+
* // muted: true || false, // required
|
|
55
|
+
* // mutedUntil: "STRING_VALUE",
|
|
56
|
+
* // unreadMarkAt: Number("long"),
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param UnmuteChannelCommandInput - {@link UnmuteChannelCommandInput}
|
|
63
|
+
* @returns {@link UnmuteChannelCommandOutput}
|
|
64
|
+
* @see {@link UnmuteChannelCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link UnmuteChannelCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link StreamServiceServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class UnmuteChannelCommand extends UnmuteChannelCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: UnmuteChannelInput;
|
|
91
|
+
output: UnmuteChannelOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: UnmuteChannelCommandInput;
|
|
95
|
+
output: UnmuteChannelCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { UnpinChannelInput, UnpinChannelOutput } 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 UnpinChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UnpinChannelCommandInput extends UnpinChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UnpinChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UnpinChannelCommandOutput extends UnpinChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UnpinChannelCommand_base: {
|
|
25
|
+
new (input: UnpinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UnpinChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UnpinChannelCommandInput, UnpinChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Unpins a channel in the current user's inbox.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, UnpinChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, UnpinChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // UnpinChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* channelId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UnpinChannelCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UnpinChannelCommandInput - {@link UnpinChannelCommandInput}
|
|
49
|
+
* @returns {@link UnpinChannelCommandOutput}
|
|
50
|
+
* @see {@link UnpinChannelCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UnpinChannelCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ValidationException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link StreamServiceServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class UnpinChannelCommand extends UnpinChannelCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: UnpinChannelInput;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: UnpinChannelCommandInput;
|
|
81
|
+
output: UnpinChannelCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -79,6 +79,13 @@ declare const UnpinMessageCommand_base: {
|
|
|
79
79
|
* // reactionCounts: { // ReactionCounts // required
|
|
80
80
|
* // "<keys>": Number("int"),
|
|
81
81
|
* // },
|
|
82
|
+
* // latestReactions: [ // ReactionList
|
|
83
|
+
* // { // Reaction
|
|
84
|
+
* // type: "STRING_VALUE", // required
|
|
85
|
+
* // userId: "STRING_VALUE", // required
|
|
86
|
+
* // messageId: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
82
89
|
* // pinned: true || false, // required
|
|
83
90
|
* // pinnedAt: "STRING_VALUE",
|
|
84
91
|
* // pinnedBy: "STRING_VALUE",
|
|
@@ -90,6 +97,55 @@ declare const UnpinMessageCommand_base: {
|
|
|
90
97
|
* // createdAt: "STRING_VALUE", // required
|
|
91
98
|
* // editedAt: "STRING_VALUE",
|
|
92
99
|
* // deletedAt: "STRING_VALUE",
|
|
100
|
+
* // elements: [ // ElementsList
|
|
101
|
+
* // { // Element Union: only one key present
|
|
102
|
+
* // template: { // MessageTemplateConfig
|
|
103
|
+
* // whatsapp: { // TemplateWithParameters
|
|
104
|
+
* // name: "STRING_VALUE", // required
|
|
105
|
+
* // parameters: [ // ListTemplateParameter
|
|
106
|
+
* // { // TemplateParameter
|
|
107
|
+
* // name: "STRING_VALUE", // required
|
|
108
|
+
* // value: "STRING_VALUE", // required
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // actions: [ // ActionsElementsList
|
|
114
|
+
* // { // ActionElement Union: only one key present
|
|
115
|
+
* // button: { // ButtonElement
|
|
116
|
+
* // text: "STRING_VALUE", // required
|
|
117
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
118
|
+
* // link: { // ButtonLinkHandler
|
|
119
|
+
* // url: "STRING_VALUE", // required
|
|
120
|
+
* // },
|
|
121
|
+
* // reply: { // ButtonReplyHandler
|
|
122
|
+
* // text: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // action: { // ButtonActionHandler
|
|
125
|
+
* // id: "STRING_VALUE", // required
|
|
126
|
+
* // },
|
|
127
|
+
* // },
|
|
128
|
+
* // variant: "contained" || "outlined",
|
|
129
|
+
* // disabled: true || false,
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // whatsapp: true || false,
|
|
136
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
137
|
+
* // sms: true || false,
|
|
138
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
139
|
+
* // markdown: true || false,
|
|
140
|
+
* // giphy: { // MessageGiphy
|
|
141
|
+
* // id: "STRING_VALUE", // required
|
|
142
|
+
* // size: "STRING_VALUE", // required
|
|
143
|
+
* // url: "STRING_VALUE", // required
|
|
144
|
+
* // height: "STRING_VALUE", // required
|
|
145
|
+
* // width: "STRING_VALUE", // required
|
|
146
|
+
* // },
|
|
147
|
+
* // silent: true || false,
|
|
148
|
+
* // event: "STRING_VALUE",
|
|
93
149
|
* // },
|
|
94
150
|
* // };
|
|
95
151
|
*
|
|
@@ -105,7 +161,7 @@ declare const UnpinMessageCommand_base: {
|
|
|
105
161
|
*
|
|
106
162
|
* @throws {@link MessageNotFoundException} (client fault)
|
|
107
163
|
*
|
|
108
|
-
* @throws {@link
|
|
164
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
109
165
|
*
|
|
110
166
|
* @throws {@link UnauthorizedException} (client fault)
|
|
111
167
|
*
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, StreamServiceClientResolvedConfig } from "../StreamServiceClient";
|
|
2
|
+
import { UpdateChannelInput, UpdateChannelOutput } 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 UpdateChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateChannelCommandInput extends UpdateChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateChannelCommand_base: {
|
|
25
|
+
new (input: UpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateChannelCommandInput, UpdateChannelCommandOutput, StreamServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Replaces editable channel metadata.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { StreamServiceClient, UpdateChannelCommand } from "@wildix/stream-client"; // ES Modules import
|
|
35
|
+
* // const { StreamServiceClient, UpdateChannelCommand } = require("@wildix/stream-client"); // CommonJS import
|
|
36
|
+
* const client = new StreamServiceClient(config);
|
|
37
|
+
* const input = { // UpdateChannelInput
|
|
38
|
+
* companyId: "STRING_VALUE",
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* subject: "STRING_VALUE",
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* picture: "STRING_VALUE",
|
|
43
|
+
* pictureColor: "STRING_VALUE",
|
|
44
|
+
* access: "private" || "public",
|
|
45
|
+
* broadcast: true || false,
|
|
46
|
+
* context: { // ChannelContext
|
|
47
|
+
* source: "kite",
|
|
48
|
+
* target: "STRING_VALUE",
|
|
49
|
+
* events: [ // ChannelContextEventList
|
|
50
|
+
* { // ChannelContextEvent
|
|
51
|
+
* id: "STRING_VALUE",
|
|
52
|
+
* owner: "STRING_VALUE",
|
|
53
|
+
* start: "STRING_VALUE",
|
|
54
|
+
* end: "STRING_VALUE",
|
|
55
|
+
* summary: "STRING_VALUE",
|
|
56
|
+
* attendees: [ // ChannelContextEventAttendeeList
|
|
57
|
+
* { // ChannelContextEventAttendee
|
|
58
|
+
* email: "STRING_VALUE", // required
|
|
59
|
+
* name: "STRING_VALUE",
|
|
60
|
+
* status: "accepted" || "tentative" || "declined" || "none", // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* ptt: { // ChannelContextPushToTalk
|
|
66
|
+
* broadcastId: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* whatsappStatus: "24h_channel_closed",
|
|
70
|
+
* sms: true || false,
|
|
71
|
+
* mms: true || false,
|
|
72
|
+
* whatsapp: true || false,
|
|
73
|
+
* kiteAssign: "STRING_VALUE",
|
|
74
|
+
* serviceTitle: "STRING_VALUE",
|
|
75
|
+
* assigneeId: "STRING_VALUE",
|
|
76
|
+
* autoRecord: true || false,
|
|
77
|
+
* transcriptionLanguage: "STRING_VALUE",
|
|
78
|
+
* wizyGuestViewOnly: true || false,
|
|
79
|
+
* channelId: "STRING_VALUE", // required
|
|
80
|
+
* silent: true || false,
|
|
81
|
+
* };
|
|
82
|
+
* const command = new UpdateChannelCommand(input);
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* // { // UpdateChannelOutput
|
|
85
|
+
* // channel: { // Channel
|
|
86
|
+
* // channelId: "STRING_VALUE", // required
|
|
87
|
+
* // channelType: "direct" || "group", // required
|
|
88
|
+
* // membersCount: Number("int"), // required
|
|
89
|
+
* // createdAt: "STRING_VALUE", // required
|
|
90
|
+
* // createdBy: "STRING_VALUE", // required
|
|
91
|
+
* // updatedAt: "STRING_VALUE",
|
|
92
|
+
* // channelVersion: Number("long"), // required
|
|
93
|
+
* // lastActivityAt: "STRING_VALUE", // required
|
|
94
|
+
* // lastMessage: { // LastMessagePreview
|
|
95
|
+
* // messageId: "STRING_VALUE", // required
|
|
96
|
+
* // userId: "STRING_VALUE", // required
|
|
97
|
+
* // text: "STRING_VALUE",
|
|
98
|
+
* // createdAt: "STRING_VALUE", // required
|
|
99
|
+
* // },
|
|
100
|
+
* // company: "STRING_VALUE",
|
|
101
|
+
* // kite: true || false,
|
|
102
|
+
* // kiteTarget: "STRING_VALUE",
|
|
103
|
+
* // kiteVariant: "STRING_VALUE",
|
|
104
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
105
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
106
|
+
* // service: "STRING_VALUE",
|
|
107
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
108
|
+
* // telephony: true || false,
|
|
109
|
+
* // external: true || false,
|
|
110
|
+
* // subject: "STRING_VALUE",
|
|
111
|
+
* // description: "STRING_VALUE",
|
|
112
|
+
* // picture: "STRING_VALUE",
|
|
113
|
+
* // pictureColor: "STRING_VALUE",
|
|
114
|
+
* // access: "private" || "public",
|
|
115
|
+
* // broadcast: true || false,
|
|
116
|
+
* // context: { // ChannelContext
|
|
117
|
+
* // source: "kite",
|
|
118
|
+
* // target: "STRING_VALUE",
|
|
119
|
+
* // events: [ // ChannelContextEventList
|
|
120
|
+
* // { // ChannelContextEvent
|
|
121
|
+
* // id: "STRING_VALUE",
|
|
122
|
+
* // owner: "STRING_VALUE",
|
|
123
|
+
* // start: "STRING_VALUE",
|
|
124
|
+
* // end: "STRING_VALUE",
|
|
125
|
+
* // summary: "STRING_VALUE",
|
|
126
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
127
|
+
* // { // ChannelContextEventAttendee
|
|
128
|
+
* // email: "STRING_VALUE", // required
|
|
129
|
+
* // name: "STRING_VALUE",
|
|
130
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
136
|
+
* // broadcastId: "STRING_VALUE",
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
140
|
+
* // sms: true || false,
|
|
141
|
+
* // mms: true || false,
|
|
142
|
+
* // whatsapp: true || false,
|
|
143
|
+
* // kiteAssign: "STRING_VALUE",
|
|
144
|
+
* // serviceTitle: "STRING_VALUE",
|
|
145
|
+
* // assigneeId: "STRING_VALUE",
|
|
146
|
+
* // autoRecord: true || false,
|
|
147
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
148
|
+
* // wizyGuestViewOnly: true || false,
|
|
149
|
+
* // },
|
|
150
|
+
* // };
|
|
151
|
+
*
|
|
152
|
+
* ```
|
|
153
|
+
*
|
|
154
|
+
* @param UpdateChannelCommandInput - {@link UpdateChannelCommandInput}
|
|
155
|
+
* @returns {@link UpdateChannelCommandOutput}
|
|
156
|
+
* @see {@link UpdateChannelCommandInput} for command's `input` shape.
|
|
157
|
+
* @see {@link UpdateChannelCommandOutput} for command's `response` shape.
|
|
158
|
+
* @see {@link StreamServiceClientResolvedConfig | config} for StreamServiceClient's `config` shape.
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link ChannelNotFoundException} (client fault)
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link StreamServiceException} (server fault)
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link ValidationException} (client fault)
|
|
169
|
+
*
|
|
170
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link StreamServiceServiceException}
|
|
173
|
+
* <p>Base exception class for all service exceptions from StreamService service.</p>
|
|
174
|
+
*
|
|
175
|
+
*
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export declare class UpdateChannelCommand extends UpdateChannelCommand_base {
|
|
179
|
+
/** @internal type navigation helper, not in runtime. */
|
|
180
|
+
protected static __types: {
|
|
181
|
+
api: {
|
|
182
|
+
input: UpdateChannelInput;
|
|
183
|
+
output: UpdateChannelOutput;
|
|
184
|
+
};
|
|
185
|
+
sdk: {
|
|
186
|
+
input: UpdateChannelCommandInput;
|
|
187
|
+
output: UpdateChannelCommandOutput;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
}
|