@wildix/stream-client 0.0.15 → 4.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 +3 -7
- package/dist-cjs/StreamServiceClient.js +34 -27
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -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/CreateKiteChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateSectionCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/DeleteSectionCommand.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/GetInboxCommand.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/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/ListMentionsCommand.js +10 -11
- package/dist-cjs/commands/ListMessagesCommand.js +10 -11
- package/dist-cjs/commands/MarkReadCommand.js +10 -11
- package/dist-cjs/commands/MarkUnreadCommand.js +10 -11
- package/dist-cjs/commands/MoveChannelToSectionCommand.js +10 -11
- package/dist-cjs/commands/MuteChannelCommand.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/RemoveChannelFromSectionCommand.js +10 -11
- package/dist-cjs/commands/RenameSectionCommand.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/UnmuteChannelCommand.js +10 -11
- package/dist-cjs/commands/UnpinChannelCommand.js +10 -11
- package/dist-cjs/commands/UnpinMessageCommand.js +10 -11
- package/dist-cjs/commands/UpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/UploadFileCommand.js +10 -11
- package/dist-cjs/commands/index.js +0 -2
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/StreamServiceServiceException.js +3 -3
- package/dist-cjs/models/enums.js +114 -0
- package/dist-cjs/models/errors.js +209 -0
- package/dist-cjs/models/models_0.js +0 -387
- 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 +1584 -0
- package/dist-es/StreamService.js +6 -10
- package/dist-es/StreamServiceClient.js +30 -23
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -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/CreateKiteChannelCommand.js +9 -10
- package/dist-es/commands/CreateSectionCommand.js +9 -10
- package/dist-es/commands/DeleteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelMemberCommand.js +9 -10
- package/dist-es/commands/DeleteMessageCommand.js +9 -10
- package/dist-es/commands/DeleteMessageReactionCommand.js +9 -10
- package/dist-es/commands/DeleteSectionCommand.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/GetInboxCommand.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/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/ListMentionsCommand.js +9 -10
- package/dist-es/commands/ListMessagesCommand.js +9 -10
- package/dist-es/commands/MarkReadCommand.js +9 -10
- package/dist-es/commands/MarkUnreadCommand.js +9 -10
- package/dist-es/commands/MoveChannelToSectionCommand.js +9 -10
- package/dist-es/commands/MuteChannelCommand.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/RemoveChannelFromSectionCommand.js +9 -10
- package/dist-es/commands/RenameSectionCommand.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/UnmuteChannelCommand.js +9 -10
- package/dist-es/commands/UnpinChannelCommand.js +9 -10
- package/dist-es/commands/UnpinMessageCommand.js +9 -10
- package/dist-es/commands/UpdateChannelCommand.js +9 -10
- package/dist-es/commands/UpdateMessageCommand.js +9 -10
- package/dist-es/commands/UploadFileCommand.js +9 -10
- package/dist-es/commands/index.js +0 -2
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/StreamServiceServiceException.js +1 -1
- package/dist-es/models/enums.js +111 -0
- package/dist-es/models/errors.js +191 -0
- package/dist-es/models/models_0.js +1 -371
- 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 +1577 -0
- package/dist-types/StreamService.d.ts +59 -75
- package/dist-types/StreamServiceClient.d.ts +90 -76
- 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 +11 -7
- package/dist-types/commands/AddChannelMembersCommand.d.ts +11 -7
- package/dist-types/commands/AssignChannelCommand.d.ts +11 -7
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +11 -7
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +11 -7
- package/dist-types/commands/CreateSectionCommand.d.ts +11 -7
- package/dist-types/commands/DeleteChannelCommand.d.ts +11 -7
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +11 -7
- package/dist-types/commands/DeleteMessageCommand.d.ts +11 -7
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +11 -7
- package/dist-types/commands/DeleteSectionCommand.d.ts +11 -7
- package/dist-types/commands/GetChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetChannelMemberCommand.d.ts +11 -7
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +11 -7
- package/dist-types/commands/GetInboxCommand.d.ts +11 -7
- package/dist-types/commands/GetMessageCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +11 -7
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/GetTokenCommand.d.ts +11 -7
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +11 -7
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +11 -7
- package/dist-types/commands/HideChannelCommand.d.ts +11 -7
- package/dist-types/commands/JoinChannelCommand.d.ts +11 -7
- package/dist-types/commands/LeaveChannelCommand.d.ts +11 -7
- package/dist-types/commands/ListChannelMembersCommand.d.ts +11 -7
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +11 -7
- package/dist-types/commands/ListChannelsCommand.d.ts +11 -7
- package/dist-types/commands/ListMentionsCommand.d.ts +11 -7
- package/dist-types/commands/ListMessagesCommand.d.ts +11 -7
- package/dist-types/commands/MarkReadCommand.d.ts +11 -7
- package/dist-types/commands/MarkUnreadCommand.d.ts +11 -7
- package/dist-types/commands/MoveChannelToSectionCommand.d.ts +11 -7
- package/dist-types/commands/MuteChannelCommand.d.ts +11 -7
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +11 -7
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +11 -7
- package/dist-types/commands/PinChannelCommand.d.ts +11 -7
- package/dist-types/commands/PinMessageCommand.d.ts +11 -7
- package/dist-types/commands/QueryChannelsCommand.d.ts +11 -7
- package/dist-types/commands/RemoveChannelFromSectionCommand.d.ts +11 -7
- package/dist-types/commands/RenameSectionCommand.d.ts +11 -7
- package/dist-types/commands/SendGiphyCommand.d.ts +11 -7
- package/dist-types/commands/SendMessageCommand.d.ts +11 -7
- package/dist-types/commands/SendMessageReactionCommand.d.ts +11 -7
- package/dist-types/commands/SendSystemMessageCommand.d.ts +11 -7
- package/dist-types/commands/SendTypingStartCommand.d.ts +11 -7
- package/dist-types/commands/SendTypingStopCommand.d.ts +11 -7
- package/dist-types/commands/ShowChannelCommand.d.ts +11 -7
- package/dist-types/commands/UnmuteChannelCommand.d.ts +11 -7
- package/dist-types/commands/UnpinChannelCommand.d.ts +11 -7
- package/dist-types/commands/UnpinMessageCommand.d.ts +11 -7
- package/dist-types/commands/UpdateChannelCommand.d.ts +11 -7
- package/dist-types/commands/UpdateMessageCommand.d.ts +11 -7
- package/dist-types/commands/UploadFileCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +0 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +48 -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 +5 -1
- package/dist-types/models/StreamServiceServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +286 -0
- package/dist-types/models/errors.d.ts +189 -0
- package/dist-types/models/models_0.d.ts +69 -713
- package/dist-types/runtimeConfig.browser.d.ts +37 -18
- package/dist-types/runtimeConfig.d.ts +36 -17
- package/dist-types/runtimeConfig.native.d.ts +38 -19
- 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 +243 -0
- package/package.json +14 -40
- package/dist-cjs/commands/SearchChannelsCommand.js +0 -21
- package/dist-cjs/commands/SearchMessagesCommand.js +0 -21
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2474
- package/dist-es/commands/SearchChannelsCommand.js +0 -17
- package/dist-es/commands/SearchMessagesCommand.js +0 -17
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2349
- package/dist-types/commands/SearchChannelsCommand.d.ts +0 -163
- package/dist-types/commands/SearchMessagesCommand.d.ts +0 -211
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -542
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetInbox$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetInboxCommand extends $Command
|
|
6
|
+
export class GetInboxCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetInbox", {})
|
|
12
13
|
.n("StreamServiceClient", "GetInboxCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetInboxCommand)
|
|
15
|
-
.de(de_GetInboxCommand)
|
|
14
|
+
.sc(GetInbox$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetMessage$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetMessageCommand extends $Command
|
|
6
|
+
export class GetMessageCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetMessage", {})
|
|
12
13
|
.n("StreamServiceClient", "GetMessageCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetMessageCommand)
|
|
15
|
-
.de(de_GetMessageCommand)
|
|
14
|
+
.sc(GetMessage$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetOrCreateDirectChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetOrCreateDirectChannelCommand extends $Command
|
|
6
|
+
export class GetOrCreateDirectChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetOrCreateDirectChannel", {})
|
|
12
13
|
.n("StreamServiceClient", "GetOrCreateDirectChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetOrCreateDirectChannelCommand)
|
|
15
|
-
.de(de_GetOrCreateDirectChannelCommand)
|
|
14
|
+
.sc(GetOrCreateDirectChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetOrCreateSmsChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetOrCreateSmsChannelCommand extends $Command
|
|
6
|
+
export class GetOrCreateSmsChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetOrCreateSmsChannel", {})
|
|
12
13
|
.n("StreamServiceClient", "GetOrCreateSmsChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetOrCreateSmsChannelCommand)
|
|
15
|
-
.de(de_GetOrCreateSmsChannelCommand)
|
|
14
|
+
.sc(GetOrCreateSmsChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetOrCreateTelephonyChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetOrCreateTelephonyChannelCommand extends $Command
|
|
6
|
+
export class GetOrCreateTelephonyChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetOrCreateTelephonyChannel", {})
|
|
12
13
|
.n("StreamServiceClient", "GetOrCreateTelephonyChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetOrCreateTelephonyChannelCommand)
|
|
15
|
-
.de(de_GetOrCreateTelephonyChannelCommand)
|
|
14
|
+
.sc(GetOrCreateTelephonyChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetOrCreateWhatsAppChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetOrCreateWhatsAppChannelCommand extends $Command
|
|
6
|
+
export class GetOrCreateWhatsAppChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetOrCreateWhatsAppChannel", {})
|
|
12
13
|
.n("StreamServiceClient", "GetOrCreateWhatsAppChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetOrCreateWhatsAppChannelCommand)
|
|
15
|
-
.de(de_GetOrCreateWhatsAppChannelCommand)
|
|
14
|
+
.sc(GetOrCreateWhatsAppChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetSmsChannelId$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetSmsChannelIdCommand extends $Command
|
|
6
|
+
export class GetSmsChannelIdCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetSmsChannelId", {})
|
|
12
13
|
.n("StreamServiceClient", "GetSmsChannelIdCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetSmsChannelIdCommand)
|
|
15
|
-
.de(de_GetSmsChannelIdCommand)
|
|
14
|
+
.sc(GetSmsChannelId$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTelephonyChannelId$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetTelephonyChannelIdCommand extends $Command
|
|
6
|
+
export class GetTelephonyChannelIdCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetTelephonyChannelId", {})
|
|
12
13
|
.n("StreamServiceClient", "GetTelephonyChannelIdCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetTelephonyChannelIdCommand)
|
|
15
|
-
.de(de_GetTelephonyChannelIdCommand)
|
|
14
|
+
.sc(GetTelephonyChannelId$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetToken$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetTokenCommand extends $Command
|
|
6
|
+
export class GetTokenCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetToken", {})
|
|
12
13
|
.n("StreamServiceClient", "GetTokenCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetTokenCommand)
|
|
15
|
-
.de(de_GetTokenCommand)
|
|
14
|
+
.sc(GetToken$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetUploadedFileInfo$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetUploadedFileInfoCommand extends $Command
|
|
6
|
+
export class GetUploadedFileInfoCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetUploadedFileInfo", {})
|
|
12
13
|
.n("StreamServiceClient", "GetUploadedFileInfoCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetUploadedFileInfoCommand)
|
|
15
|
-
.de(de_GetUploadedFileInfoCommand)
|
|
14
|
+
.sc(GetUploadedFileInfo$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetWhatsAppChannelId$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class GetWhatsAppChannelIdCommand extends $Command
|
|
6
|
+
export class GetWhatsAppChannelIdCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "GetWhatsAppChannelId", {})
|
|
12
13
|
.n("StreamServiceClient", "GetWhatsAppChannelIdCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_GetWhatsAppChannelIdCommand)
|
|
15
|
-
.de(de_GetWhatsAppChannelIdCommand)
|
|
14
|
+
.sc(GetWhatsAppChannelId$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { HideChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class HideChannelCommand extends $Command
|
|
6
|
+
export class HideChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "HideChannel", {})
|
|
12
13
|
.n("StreamServiceClient", "HideChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_HideChannelCommand)
|
|
15
|
-
.de(de_HideChannelCommand)
|
|
14
|
+
.sc(HideChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { JoinChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class JoinChannelCommand extends $Command
|
|
6
|
+
export class JoinChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "JoinChannel", {})
|
|
12
13
|
.n("StreamServiceClient", "JoinChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_JoinChannelCommand)
|
|
15
|
-
.de(de_JoinChannelCommand)
|
|
14
|
+
.sc(JoinChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { LeaveChannel$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class LeaveChannelCommand extends $Command
|
|
6
|
+
export class LeaveChannelCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "LeaveChannel", {})
|
|
12
13
|
.n("StreamServiceClient", "LeaveChannelCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_LeaveChannelCommand)
|
|
15
|
-
.de(de_LeaveChannelCommand)
|
|
14
|
+
.sc(LeaveChannel$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListChannelMembers$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class ListChannelMembersCommand extends $Command
|
|
6
|
+
export class ListChannelMembersCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "ListChannelMembers", {})
|
|
12
13
|
.n("StreamServiceClient", "ListChannelMembersCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_ListChannelMembersCommand)
|
|
15
|
-
.de(de_ListChannelMembersCommand)
|
|
14
|
+
.sc(ListChannelMembers$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListChannelMembersReadStatus$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class ListChannelMembersReadStatusCommand extends $Command
|
|
6
|
+
export class ListChannelMembersReadStatusCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "ListChannelMembersReadStatus", {})
|
|
12
13
|
.n("StreamServiceClient", "ListChannelMembersReadStatusCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_ListChannelMembersReadStatusCommand)
|
|
15
|
-
.de(de_ListChannelMembersReadStatusCommand)
|
|
14
|
+
.sc(ListChannelMembersReadStatus$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListChannels$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class ListChannelsCommand extends $Command
|
|
6
|
+
export class ListChannelsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "ListChannels", {})
|
|
12
13
|
.n("StreamServiceClient", "ListChannelsCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_ListChannelsCommand)
|
|
15
|
-
.de(de_ListChannelsCommand)
|
|
14
|
+
.sc(ListChannels$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListMentions$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class ListMentionsCommand extends $Command
|
|
6
|
+
export class ListMentionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "ListMentions", {})
|
|
12
13
|
.n("StreamServiceClient", "ListMentionsCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_ListMentionsCommand)
|
|
15
|
-
.de(de_ListMentionsCommand)
|
|
14
|
+
.sc(ListMentions$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListMessages$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class ListMessagesCommand extends $Command
|
|
6
|
+
export class ListMessagesCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "ListMessages", {})
|
|
12
13
|
.n("StreamServiceClient", "ListMessagesCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_ListMessagesCommand)
|
|
15
|
-
.de(de_ListMessagesCommand)
|
|
14
|
+
.sc(ListMessages$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { MarkRead$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class MarkReadCommand extends $Command
|
|
6
|
+
export class MarkReadCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "MarkRead", {})
|
|
12
13
|
.n("StreamServiceClient", "MarkReadCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_MarkReadCommand)
|
|
15
|
-
.de(de_MarkReadCommand)
|
|
14
|
+
.sc(MarkRead$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { MarkUnread$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class MarkUnreadCommand extends $Command
|
|
6
|
+
export class MarkUnreadCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "MarkUnread", {})
|
|
12
13
|
.n("StreamServiceClient", "MarkUnreadCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_MarkUnreadCommand)
|
|
15
|
-
.de(de_MarkUnreadCommand)
|
|
14
|
+
.sc(MarkUnread$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { MoveChannelToSection$ } from "../schemas/schemas_0";
|
|
4
5
|
export { $Command };
|
|
5
|
-
export class MoveChannelToSectionCommand extends $Command
|
|
6
|
+
export class MoveChannelToSectionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
6
9
|
.m(function (Command, cs, config, o) {
|
|
7
|
-
return [
|
|
8
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
10
11
|
})
|
|
11
12
|
.s("StreamService", "MoveChannelToSection", {})
|
|
12
13
|
.n("StreamServiceClient", "MoveChannelToSectionCommand")
|
|
13
|
-
.
|
|
14
|
-
.ser(se_MoveChannelToSectionCommand)
|
|
15
|
-
.de(de_MoveChannelToSectionCommand)
|
|
14
|
+
.sc(MoveChannelToSection$)
|
|
16
15
|
.build() {
|
|
17
16
|
}
|