@wildix/xbees-users-client 1.3.2 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Users.js +3 -3
- package/dist-cjs/UsersClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +81 -0
- package/dist-cjs/commands/BatchGetUsersCommand.js +10 -11
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataCommand.js +10 -11
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataV1Command.js +10 -11
- package/dist-cjs/commands/ChangeUserEmailCommand.js +10 -11
- package/dist-cjs/commands/CreateAnonymousSessionCommand.js +10 -11
- package/dist-cjs/commands/CreateBotApiKeyCommand.js +10 -11
- package/dist-cjs/commands/CreateBotCommand.js +10 -11
- package/dist-cjs/commands/CreateSystemBotCommand.js +10 -11
- package/dist-cjs/commands/DeleteBotApiKeyCommand.js +10 -11
- package/dist-cjs/commands/DeleteBotCommand.js +10 -11
- package/dist-cjs/commands/GetAccountCommand.js +10 -11
- package/dist-cjs/commands/GetAppVersionCommand.js +10 -11
- package/dist-cjs/commands/GetBotCallbackCommand.js +10 -11
- package/dist-cjs/commands/GetBotCommand.js +10 -11
- package/dist-cjs/commands/GetUserCommand.js +10 -11
- package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +10 -11
- package/dist-cjs/commands/GetUserPbxLinkSuggestionCommand.js +10 -11
- package/dist-cjs/commands/GetUserPbxLinkSuggestionV1Command.js +10 -11
- package/dist-cjs/commands/IntelligenceSearchCommand.js +10 -11
- package/dist-cjs/commands/InviteCommand.js +10 -11
- package/dist-cjs/commands/LinkIdentityCommand.js +10 -11
- package/dist-cjs/commands/ListBotApiKeysCommand.js +10 -11
- package/dist-cjs/commands/ListBotsCommand.js +10 -11
- package/dist-cjs/commands/ListIdentitiesCommand.js +10 -11
- package/dist-cjs/commands/ListWorkspacesCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/QueryColleaguesCommand.js +10 -11
- package/dist-cjs/commands/QueryUserCommand.js +10 -11
- package/dist-cjs/commands/QueryUsersCommand.js +10 -11
- package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +10 -11
- package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +10 -11
- package/dist-cjs/commands/UnlinkIdentityCommand.js +10 -11
- package/dist-cjs/commands/UnlinkWorkspaceCommand.js +10 -11
- package/dist-cjs/commands/UpdateAccountCommand.js +10 -11
- package/dist-cjs/commands/UpdateBotCallbackCommand.js +10 -11
- package/dist-cjs/commands/UpdateBotCommand.js +10 -11
- package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/UpdateWorkspaceCommand.js +10 -11
- package/dist-cjs/commands/UploadPictureCommand.js +10 -11
- package/dist-cjs/commands/UploadPictureV1Command.js +10 -11
- package/dist-cjs/commands/VerifyBotSecretKeyCommand.js +10 -11
- package/dist-cjs/commands/VerifyBotSecretKeyV1Command.js +10 -11
- package/dist-cjs/commands/VerifyIdentityCommand.js +10 -11
- package/dist-cjs/commands/index.js +4 -4
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/UsersServiceException.js +3 -3
- package/dist-cjs/models/enums.js +86 -0
- package/dist-cjs/models/errors.js +225 -0
- package/dist-cjs/models/models_0.js +0 -400
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +35 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1463 -0
- package/dist-es/Users.js +10 -10
- package/dist-es/UsersClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +75 -0
- package/dist-es/commands/BatchGetUsersCommand.js +9 -10
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/BatchGetUsersPbxLinkDataCommand.js +9 -10
- package/dist-es/commands/BatchGetUsersPbxLinkDataV1Command.js +9 -10
- package/dist-es/commands/ChangeUserEmailCommand.js +9 -10
- package/dist-es/commands/CreateAnonymousSessionCommand.js +9 -10
- package/dist-es/commands/CreateBotApiKeyCommand.js +9 -10
- package/dist-es/commands/CreateBotCommand.js +9 -10
- package/dist-es/commands/CreateSystemBotCommand.js +9 -10
- package/dist-es/commands/DeleteBotApiKeyCommand.js +9 -10
- package/dist-es/commands/DeleteBotCommand.js +9 -10
- package/dist-es/commands/GetAccountCommand.js +9 -10
- package/dist-es/commands/GetAppVersionCommand.js +9 -10
- package/dist-es/commands/GetBotCallbackCommand.js +9 -10
- package/dist-es/commands/GetBotCommand.js +9 -10
- package/dist-es/commands/GetUserCommand.js +9 -10
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/GetUserPbxLinkDataCommand.js +9 -10
- package/dist-es/commands/GetUserPbxLinkSuggestionCommand.js +9 -10
- package/dist-es/commands/GetUserPbxLinkSuggestionV1Command.js +9 -10
- package/dist-es/commands/IntelligenceSearchCommand.js +9 -10
- package/dist-es/commands/InviteCommand.js +9 -10
- package/dist-es/commands/LinkIdentityCommand.js +9 -10
- package/dist-es/commands/ListBotApiKeysCommand.js +9 -10
- package/dist-es/commands/ListBotsCommand.js +9 -10
- package/dist-es/commands/ListIdentitiesCommand.js +9 -10
- package/dist-es/commands/ListWorkspacesCommand.js +9 -10
- package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/QueryColleaguesCommand.js +9 -10
- package/dist-es/commands/QueryUserCommand.js +9 -10
- package/dist-es/commands/QueryUsersCommand.js +9 -10
- package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +9 -10
- package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +9 -10
- package/dist-es/commands/UnlinkIdentityCommand.js +9 -10
- package/dist-es/commands/UnlinkWorkspaceCommand.js +9 -10
- package/dist-es/commands/UpdateAccountCommand.js +9 -10
- package/dist-es/commands/UpdateBotCallbackCommand.js +9 -10
- package/dist-es/commands/UpdateBotCommand.js +9 -10
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/UpdateWorkspaceCommand.js +9 -10
- package/dist-es/commands/UploadPictureCommand.js +9 -10
- package/dist-es/commands/UploadPictureV1Command.js +9 -10
- package/dist-es/commands/VerifyBotSecretKeyCommand.js +9 -10
- package/dist-es/commands/VerifyBotSecretKeyV1Command.js +9 -10
- package/dist-es/commands/VerifyIdentityCommand.js +9 -10
- package/dist-es/commands/index.js +4 -4
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/UsersServiceException.js +1 -1
- package/dist-es/models/enums.js +83 -0
- package/dist-es/models/errors.js +205 -0
- package/dist-es/models/models_0.js +1 -382
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +29 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1456 -0
- package/dist-types/Users.d.ts +46 -46
- package/dist-types/UsersClient.d.ts +75 -57
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/BatchGetUsersCommand.d.ts +11 -7
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +11 -7
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +11 -7
- package/dist-types/commands/ChangeUserEmailCommand.d.ts +11 -7
- package/dist-types/commands/CreateAnonymousSessionCommand.d.ts +11 -7
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +11 -7
- package/dist-types/commands/CreateBotCommand.d.ts +11 -7
- package/dist-types/commands/CreateSystemBotCommand.d.ts +11 -7
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +11 -7
- package/dist-types/commands/DeleteBotCommand.d.ts +11 -7
- package/dist-types/commands/GetAccountCommand.d.ts +11 -7
- package/dist-types/commands/GetAppVersionCommand.d.ts +11 -7
- package/dist-types/commands/GetBotCallbackCommand.d.ts +11 -7
- package/dist-types/commands/GetBotCommand.d.ts +11 -7
- package/dist-types/commands/GetUserCommand.d.ts +11 -7
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +11 -7
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +11 -7
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +11 -7
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +11 -7
- package/dist-types/commands/InviteCommand.d.ts +11 -7
- package/dist-types/commands/LinkIdentityCommand.d.ts +11 -7
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +11 -7
- package/dist-types/commands/ListBotsCommand.d.ts +11 -7
- package/dist-types/commands/ListIdentitiesCommand.d.ts +11 -7
- package/dist-types/commands/ListWorkspacesCommand.d.ts +11 -7
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/QueryColleaguesCommand.d.ts +11 -7
- package/dist-types/commands/QueryUserCommand.d.ts +11 -7
- package/dist-types/commands/QueryUsersCommand.d.ts +11 -7
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +11 -7
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +11 -7
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +11 -7
- package/dist-types/commands/UnlinkWorkspaceCommand.d.ts +11 -7
- package/dist-types/commands/UpdateAccountCommand.d.ts +11 -7
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +11 -7
- package/dist-types/commands/UpdateBotCommand.d.ts +11 -7
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +11 -7
- package/dist-types/commands/UploadPictureCommand.d.ts +11 -7
- package/dist-types/commands/UploadPictureV1Command.d.ts +12 -8
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +11 -7
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +11 -7
- package/dist-types/commands/VerifyIdentityCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/UsersServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +196 -0
- package/dist-types/models/errors.d.ts +189 -0
- package/dist-types/models/models_0.d.ts +75 -435
- package/dist-types/runtimeConfig.browser.d.ts +39 -16
- package/dist-types/runtimeConfig.d.ts +38 -15
- package/dist-types/runtimeConfig.native.d.ts +40 -17
- package/dist-types/runtimeConfig.shared.d.ts +24 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +217 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1915
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1821
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -407
package/dist-cjs/Users.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Users = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
5
|
const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
|
|
6
6
|
const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
|
|
7
7
|
const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
|
|
@@ -47,7 +47,7 @@ const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
|
|
|
47
47
|
const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
|
|
48
48
|
const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
|
|
49
49
|
const VerifyIdentityCommand_1 = require("./commands/VerifyIdentityCommand");
|
|
50
|
-
const
|
|
50
|
+
const UsersClient_1 = require("./UsersClient");
|
|
51
51
|
const commands = {
|
|
52
52
|
BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
|
|
53
53
|
BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
|
|
@@ -98,4 +98,4 @@ const commands = {
|
|
|
98
98
|
class Users extends UsersClient_1.UsersClient {
|
|
99
99
|
}
|
|
100
100
|
exports.Users = Users;
|
|
101
|
-
(0,
|
|
101
|
+
(0, client_1.createAggregatedClient)(commands, Users);
|
package/dist-cjs/UsersClient.js
CHANGED
|
@@ -1,38 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UsersClient = exports.__Client = void 0;
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
|
+
const client_2 = require("@smithy/core/client");
|
|
7
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return client_2.Client; } });
|
|
8
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
9
|
+
const protocols_1 = require("@smithy/core/protocols");
|
|
10
|
+
const retry_1 = require("@smithy/core/retry");
|
|
11
|
+
const schema_1 = require("@smithy/core/schema");
|
|
12
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
4
14
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
15
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
6
|
-
|
|
7
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
8
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
9
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
10
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
11
|
-
const smithy_utils_1 = require("@wildix/smithy-utils");
|
|
12
|
-
class UsersClient extends smithy_client_1.Client {
|
|
16
|
+
class UsersClient extends client_2.Client {
|
|
13
17
|
config;
|
|
14
18
|
constructor(...[configuration]) {
|
|
15
|
-
|
|
19
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
16
20
|
super(_config_0);
|
|
17
21
|
this.initConfig = _config_0;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
this.
|
|
32
|
-
this.middlewareStack.
|
|
33
|
-
this.middlewareStack.use((0,
|
|
34
|
-
|
|
35
|
-
|
|
22
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
23
|
+
const _config_2 = (0, client_1.resolveUserAgentConfig)(_config_1);
|
|
24
|
+
const _config_3 = (0, retry_1.resolveRetryConfig)(_config_2);
|
|
25
|
+
const _config_4 = (0, client_1.resolveHostHeaderConfig)(_config_3);
|
|
26
|
+
const _config_5 = (0, endpoints_1.resolveEndpointConfig)(_config_4);
|
|
27
|
+
const _config_6 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_5);
|
|
28
|
+
const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []);
|
|
29
|
+
this.config = _config_7;
|
|
30
|
+
this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
|
|
31
|
+
this.middlewareStack.use((0, client_1.getUserAgentPlugin)(this.config));
|
|
32
|
+
this.middlewareStack.use((0, retry_1.getRetryPlugin)(this.config));
|
|
33
|
+
this.middlewareStack.use((0, protocols_1.getContentLengthPlugin)(this.config));
|
|
34
|
+
this.middlewareStack.use((0, client_1.getHostHeaderPlugin)(this.config));
|
|
35
|
+
this.middlewareStack.use((0, client_1.getLoggerPlugin)(this.config));
|
|
36
|
+
this.middlewareStack.use((0, client_1.getRecursionDetectionPlugin)(this.config));
|
|
37
|
+
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
38
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultUsersHttpAuthSchemeParametersProvider,
|
|
39
|
+
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
40
|
+
"smithy.api#httpBearerAuth": config.token,
|
|
41
|
+
}),
|
|
42
|
+
}));
|
|
43
|
+
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
36
44
|
}
|
|
37
45
|
destroy() {
|
|
38
46
|
super.destroy();
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
+
let _token = runtimeConfig.token;
|
|
8
|
+
return {
|
|
9
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
+
if (index === -1) {
|
|
12
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
httpAuthSchemes() {
|
|
19
|
+
return _httpAuthSchemes;
|
|
20
|
+
},
|
|
21
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
httpAuthSchemeProvider() {
|
|
25
|
+
return _httpAuthSchemeProvider;
|
|
26
|
+
},
|
|
27
|
+
setToken(token) {
|
|
28
|
+
_token = token;
|
|
29
|
+
},
|
|
30
|
+
token() {
|
|
31
|
+
return _token;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
+
return {
|
|
38
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
+
token: config.token(),
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultUsersHttpAuthSchemeProvider = exports.defaultUsersHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
|
+
const defaultUsersHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.defaultUsersHttpAuthSchemeParametersProvider = defaultUsersHttpAuthSchemeParametersProvider;
|
|
12
|
+
function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
|
|
13
|
+
return {
|
|
14
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
18
|
+
return {
|
|
19
|
+
schemeId: "smithy.api#noAuth",
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function createWildixAuthApiKeysHttpAuthOption(authParameters) {
|
|
23
|
+
return {
|
|
24
|
+
schemeId: "wildix.auth#apiKeys",
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function createWildixAuthBotHttpAuthOption(authParameters) {
|
|
28
|
+
return {
|
|
29
|
+
schemeId: "wildix.auth#bot",
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function createWildixAuthPbxHttpAuthOption(authParameters) {
|
|
33
|
+
return {
|
|
34
|
+
schemeId: "wildix.auth#pbx",
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function createWildixAuthS2sHttpAuthOption(authParameters) {
|
|
38
|
+
return {
|
|
39
|
+
schemeId: "wildix.auth#s2s",
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function createWildixAuthXbsHttpAuthOption(authParameters) {
|
|
43
|
+
return {
|
|
44
|
+
schemeId: "wildix.auth#xbs",
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
48
|
+
const options = [];
|
|
49
|
+
switch (authParameters.operation) {
|
|
50
|
+
case "CreateAnonymousSession":
|
|
51
|
+
{
|
|
52
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
;
|
|
56
|
+
case "UpdateWorkspace":
|
|
57
|
+
{
|
|
58
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
;
|
|
62
|
+
default: {
|
|
63
|
+
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
64
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
65
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
66
|
+
options.push(createWildixAuthBotHttpAuthOption(authParameters));
|
|
67
|
+
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
68
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return options;
|
|
72
|
+
};
|
|
73
|
+
exports.defaultUsersHttpAuthSchemeProvider = defaultUsersHttpAuthSchemeProvider;
|
|
74
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
75
|
+
const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
|
|
76
|
+
return Object.assign(config, {
|
|
77
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
78
|
+
token,
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchGetUsersCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class BatchGetUsersCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "BatchGetUsers", {})
|
|
15
16
|
.n("UsersClient", "BatchGetUsersCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_BatchGetUsersCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_BatchGetUsersCommand)
|
|
17
|
+
.sc(schemas_0_1.BatchGetUsers$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.BatchGetUsersCommand = BatchGetUsersCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchGetUsersEmailNotificationsSettingsCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class BatchGetUsersEmailNotificationsSettingsCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "BatchGetUsersEmailNotificationsSettings", {})
|
|
15
16
|
.n("UsersClient", "BatchGetUsersEmailNotificationsSettingsCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_BatchGetUsersEmailNotificationsSettingsCommand)
|
|
17
|
+
.sc(schemas_0_1.BatchGetUsersEmailNotificationsSettings$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.BatchGetUsersEmailNotificationsSettingsCommand = BatchGetUsersEmailNotificationsSettingsCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchGetUsersPbxLinkDataCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class BatchGetUsersPbxLinkDataCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "BatchGetUsersPbxLinkData", {})
|
|
15
16
|
.n("UsersClient", "BatchGetUsersPbxLinkDataCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_BatchGetUsersPbxLinkDataCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_BatchGetUsersPbxLinkDataCommand)
|
|
17
|
+
.sc(schemas_0_1.BatchGetUsersPbxLinkData$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.BatchGetUsersPbxLinkDataCommand = BatchGetUsersPbxLinkDataCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchGetUsersPbxLinkDataV1Command = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class BatchGetUsersPbxLinkDataV1Command extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "BatchGetUsersPbxLinkDataV1", {})
|
|
15
16
|
.n("UsersClient", "BatchGetUsersPbxLinkDataV1Command")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_BatchGetUsersPbxLinkDataV1Command)
|
|
18
|
-
.de(Aws_restJson1_1.de_BatchGetUsersPbxLinkDataV1Command)
|
|
17
|
+
.sc(schemas_0_1.BatchGetUsersPbxLinkDataV1$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.BatchGetUsersPbxLinkDataV1Command = BatchGetUsersPbxLinkDataV1Command;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ChangeUserEmailCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ChangeUserEmailCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "ChangeUserEmail", {})
|
|
15
16
|
.n("UsersClient", "ChangeUserEmailCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_ChangeUserEmailCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_ChangeUserEmailCommand)
|
|
17
|
+
.sc(schemas_0_1.ChangeUserEmail$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.ChangeUserEmailCommand = ChangeUserEmailCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateAnonymousSessionCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateAnonymousSessionCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "CreateAnonymousSession", {})
|
|
15
16
|
.n("UsersClient", "CreateAnonymousSessionCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateAnonymousSessionCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateAnonymousSessionCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateAnonymousSession$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateAnonymousSessionCommand = CreateAnonymousSessionCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateBotApiKeyCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateBotApiKeyCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "CreateBotApiKey", {})
|
|
15
16
|
.n("UsersClient", "CreateBotApiKeyCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateBotApiKeyCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateBotApiKeyCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateBotApiKey$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateBotApiKeyCommand = CreateBotApiKeyCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateBotCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateBotCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "CreateBot", {})
|
|
15
16
|
.n("UsersClient", "CreateBotCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateBotCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateBotCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateBot$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateBotCommand = CreateBotCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateSystemBotCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateSystemBotCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "CreateSystemBot", {})
|
|
15
16
|
.n("UsersClient", "CreateSystemBotCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateSystemBotCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateSystemBotCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateSystemBot$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateSystemBotCommand = CreateSystemBotCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteBotApiKeyCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class DeleteBotApiKeyCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "DeleteBotApiKey", {})
|
|
15
16
|
.n("UsersClient", "DeleteBotApiKeyCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeleteBotApiKeyCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeleteBotApiKeyCommand)
|
|
17
|
+
.sc(schemas_0_1.DeleteBotApiKey$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.DeleteBotApiKeyCommand = DeleteBotApiKeyCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteBotCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class DeleteBotCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "DeleteBot", {})
|
|
15
16
|
.n("UsersClient", "DeleteBotCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeleteBotCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeleteBotCommand)
|
|
17
|
+
.sc(schemas_0_1.DeleteBot$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.DeleteBotCommand = DeleteBotCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAccountCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class GetAccountCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Users", "GetAccount", {})
|
|
15
16
|
.n("UsersClient", "GetAccountCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetAccountCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetAccountCommand)
|
|
17
|
+
.sc(schemas_0_1.GetAccount$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.GetAccountCommand = GetAccountCommand;
|