@aws-sdk/client-taxsettings 3.928.0 → 3.929.0
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/index.js +950 -862
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/TaxSettingsClient.js +2 -0
- package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +3 -10
- package/dist-es/commands/BatchGetTaxExemptionsCommand.js +3 -9
- package/dist-es/commands/BatchPutTaxRegistrationCommand.js +3 -10
- package/dist-es/commands/DeleteSupplementalTaxRegistrationCommand.js +3 -9
- package/dist-es/commands/DeleteTaxRegistrationCommand.js +3 -9
- package/dist-es/commands/GetTaxExemptionTypesCommand.js +3 -9
- package/dist-es/commands/GetTaxInheritanceCommand.js +3 -9
- package/dist-es/commands/GetTaxRegistrationCommand.js +3 -10
- package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +3 -9
- package/dist-es/commands/ListSupplementalTaxRegistrationsCommand.js +3 -10
- package/dist-es/commands/ListTaxExemptionsCommand.js +3 -9
- package/dist-es/commands/ListTaxRegistrationsCommand.js +3 -10
- package/dist-es/commands/PutSupplementalTaxRegistrationCommand.js +3 -10
- package/dist-es/commands/PutTaxExemptionCommand.js +3 -9
- package/dist-es/commands/PutTaxInheritanceCommand.js +3 -9
- package/dist-es/commands/PutTaxRegistrationCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -64
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +898 -0
- package/dist-types/TaxSettingsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -68
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +120 -0
- package/dist-types/ts3.4/TaxSettingsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -51
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +127 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -650
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.taxsettings" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "TaxSettings",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class TaxSettingsClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_BatchDeleteTaxRegistrationCommand, se_BatchDeleteTaxRegistrationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { BatchDeleteTaxRegistration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class BatchDeleteTaxRegistrationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TaxSettings", "BatchDeleteTaxRegistration", {})
|
|
18
13
|
.n("TaxSettingsClient", "BatchDeleteTaxRegistrationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_BatchDeleteTaxRegistrationCommand)
|
|
21
|
-
.de(de_BatchDeleteTaxRegistrationCommand)
|
|
14
|
+
.sc(BatchDeleteTaxRegistration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchGetTaxExemptions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchGetTaxExemptionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "BatchGetTaxExemptions", {})
|
|
17
13
|
.n("TaxSettingsClient", "BatchGetTaxExemptionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchGetTaxExemptionsCommand)
|
|
20
|
-
.de(de_BatchGetTaxExemptionsCommand)
|
|
14
|
+
.sc(BatchGetTaxExemptions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_BatchPutTaxRegistrationCommand, se_BatchPutTaxRegistrationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { BatchPutTaxRegistration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class BatchPutTaxRegistrationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TaxSettings", "BatchPutTaxRegistration", {})
|
|
18
13
|
.n("TaxSettingsClient", "BatchPutTaxRegistrationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_BatchPutTaxRegistrationCommand)
|
|
21
|
-
.de(de_BatchPutTaxRegistrationCommand)
|
|
14
|
+
.sc(BatchPutTaxRegistration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteSupplementalTaxRegistration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteSupplementalTaxRegistrationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "DeleteSupplementalTaxRegistration", {})
|
|
17
13
|
.n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteSupplementalTaxRegistrationCommand)
|
|
20
|
-
.de(de_DeleteSupplementalTaxRegistrationCommand)
|
|
14
|
+
.sc(DeleteSupplementalTaxRegistration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteTaxRegistration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteTaxRegistrationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "DeleteTaxRegistration", {})
|
|
17
13
|
.n("TaxSettingsClient", "DeleteTaxRegistrationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteTaxRegistrationCommand)
|
|
20
|
-
.de(de_DeleteTaxRegistrationCommand)
|
|
14
|
+
.sc(DeleteTaxRegistration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetTaxExemptionTypes } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetTaxExemptionTypesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "GetTaxExemptionTypes", {})
|
|
17
13
|
.n("TaxSettingsClient", "GetTaxExemptionTypesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetTaxExemptionTypesCommand)
|
|
20
|
-
.de(de_GetTaxExemptionTypesCommand)
|
|
14
|
+
.sc(GetTaxExemptionTypes)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetTaxInheritance } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetTaxInheritanceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "GetTaxInheritance", {})
|
|
17
13
|
.n("TaxSettingsClient", "GetTaxInheritanceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetTaxInheritanceCommand)
|
|
20
|
-
.de(de_GetTaxInheritanceCommand)
|
|
14
|
+
.sc(GetTaxInheritance)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetTaxRegistrationCommand, se_GetTaxRegistrationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetTaxRegistration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetTaxRegistrationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TaxSettings", "GetTaxRegistration", {})
|
|
18
13
|
.n("TaxSettingsClient", "GetTaxRegistrationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetTaxRegistrationCommand)
|
|
21
|
-
.de(de_GetTaxRegistrationCommand)
|
|
14
|
+
.sc(GetTaxRegistration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetTaxRegistrationDocument } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetTaxRegistrationDocumentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "GetTaxRegistrationDocument", {})
|
|
17
13
|
.n("TaxSettingsClient", "GetTaxRegistrationDocumentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetTaxRegistrationDocumentCommand)
|
|
20
|
-
.de(de_GetTaxRegistrationDocumentCommand)
|
|
14
|
+
.sc(GetTaxRegistrationDocument)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListSupplementalTaxRegistrationsCommand, se_ListSupplementalTaxRegistrationsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListSupplementalTaxRegistrations } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListSupplementalTaxRegistrationsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TaxSettings", "ListSupplementalTaxRegistrations", {})
|
|
18
13
|
.n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListSupplementalTaxRegistrationsCommand)
|
|
21
|
-
.de(de_ListSupplementalTaxRegistrationsCommand)
|
|
14
|
+
.sc(ListSupplementalTaxRegistrations)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTaxExemptions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTaxExemptionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "ListTaxExemptions", {})
|
|
17
13
|
.n("TaxSettingsClient", "ListTaxExemptionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTaxExemptionsCommand)
|
|
20
|
-
.de(de_ListTaxExemptionsCommand)
|
|
14
|
+
.sc(ListTaxExemptions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListTaxRegistrationsCommand, se_ListTaxRegistrationsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListTaxRegistrations } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListTaxRegistrationsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TaxSettings", "ListTaxRegistrations", {})
|
|
18
13
|
.n("TaxSettingsClient", "ListTaxRegistrationsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListTaxRegistrationsCommand)
|
|
21
|
-
.de(de_ListTaxRegistrationsCommand)
|
|
14
|
+
.sc(ListTaxRegistrations)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_PutSupplementalTaxRegistrationCommand, se_PutSupplementalTaxRegistrationCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { PutSupplementalTaxRegistration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class PutSupplementalTaxRegistrationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TaxSettings", "PutSupplementalTaxRegistration", {})
|
|
18
13
|
.n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_PutSupplementalTaxRegistrationCommand)
|
|
21
|
-
.de(de_PutSupplementalTaxRegistrationCommand)
|
|
14
|
+
.sc(PutSupplementalTaxRegistration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutTaxExemption } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutTaxExemptionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "PutTaxExemption", {})
|
|
17
13
|
.n("TaxSettingsClient", "PutTaxExemptionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutTaxExemptionCommand)
|
|
20
|
-
.de(de_PutTaxExemptionCommand)
|
|
14
|
+
.sc(PutTaxExemption)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutTaxInheritance } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutTaxInheritanceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaxSettings", "PutTaxInheritance", {})
|
|
17
13
|
.n("TaxSettingsClient", "PutTaxInheritanceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutTaxInheritanceCommand)
|
|
20
|
-
.de(de_PutTaxInheritanceCommand)
|
|
14
|
+
.sc(PutTaxInheritance)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_PutTaxRegistrationCommand, se_PutTaxRegistrationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { PutTaxRegistration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class PutTaxRegistrationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("TaxSettings", "PutTaxRegistration", {})
|
|
18
13
|
.n("TaxSettingsClient", "PutTaxRegistrationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_PutTaxRegistrationCommand)
|
|
21
|
-
.de(de_PutTaxRegistrationCommand)
|
|
14
|
+
.sc(PutTaxRegistration)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { TaxSettingsServiceException as __BaseException } from "./TaxSettingsServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -193,66 +192,3 @@ export const HeritageStatus = {
|
|
|
193
192
|
export const SupplementalTaxRegistrationType = {
|
|
194
193
|
VAT: "VAT",
|
|
195
194
|
};
|
|
196
|
-
export const AccountMetaDataFilterSensitiveLog = (obj) => ({
|
|
197
|
-
...obj,
|
|
198
|
-
});
|
|
199
|
-
export const TaxRegistrationWithJurisdictionFilterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
});
|
|
202
|
-
export const AccountDetailsFilterSensitiveLog = (obj) => ({
|
|
203
|
-
...obj,
|
|
204
|
-
...(obj.taxRegistration && { taxRegistration: SENSITIVE_STRING }),
|
|
205
|
-
...(obj.accountMetaData && { accountMetaData: SENSITIVE_STRING }),
|
|
206
|
-
});
|
|
207
|
-
export const BatchDeleteTaxRegistrationErrorFilterSensitiveLog = (obj) => ({
|
|
208
|
-
...obj,
|
|
209
|
-
...(obj.message && { message: SENSITIVE_STRING }),
|
|
210
|
-
});
|
|
211
|
-
export const BatchDeleteTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
|
|
212
|
-
...obj,
|
|
213
|
-
...(obj.errors && { errors: obj.errors.map((item) => BatchDeleteTaxRegistrationErrorFilterSensitiveLog(item)) }),
|
|
214
|
-
});
|
|
215
|
-
export const TaxRegistrationEntryFilterSensitiveLog = (obj) => ({
|
|
216
|
-
...obj,
|
|
217
|
-
});
|
|
218
|
-
export const BatchPutTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
...(obj.taxRegistrationEntry && { taxRegistrationEntry: SENSITIVE_STRING }),
|
|
221
|
-
});
|
|
222
|
-
export const BatchPutTaxRegistrationErrorFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
...(obj.message && { message: SENSITIVE_STRING }),
|
|
225
|
-
});
|
|
226
|
-
export const BatchPutTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
|
|
227
|
-
...obj,
|
|
228
|
-
...(obj.errors && { errors: obj.errors.map((item) => BatchPutTaxRegistrationErrorFilterSensitiveLog(item)) }),
|
|
229
|
-
});
|
|
230
|
-
export const TaxRegistrationFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
export const GetTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
...(obj.taxRegistration && { taxRegistration: SENSITIVE_STRING }),
|
|
236
|
-
});
|
|
237
|
-
export const SupplementalTaxRegistrationFilterSensitiveLog = (obj) => ({
|
|
238
|
-
...obj,
|
|
239
|
-
});
|
|
240
|
-
export const ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
...(obj.taxRegistrations && { taxRegistrations: SENSITIVE_STRING }),
|
|
243
|
-
});
|
|
244
|
-
export const ListTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
|
|
245
|
-
...obj,
|
|
246
|
-
...(obj.accountDetails && { accountDetails: SENSITIVE_STRING }),
|
|
247
|
-
});
|
|
248
|
-
export const SupplementalTaxRegistrationEntryFilterSensitiveLog = (obj) => ({
|
|
249
|
-
...obj,
|
|
250
|
-
});
|
|
251
|
-
export const PutSupplementalTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
...(obj.taxRegistrationEntry && { taxRegistrationEntry: SENSITIVE_STRING }),
|
|
254
|
-
});
|
|
255
|
-
export const PutTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
...(obj.taxRegistrationEntry && { taxRegistrationEntry: SENSITIVE_STRING }),
|
|
258
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.taxsettings" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "TaxSettings",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|