@aws-sdk/client-taxsettings 3.948.0 → 3.953.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +366 -261
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +2 -2
  4. package/dist-es/commands/BatchGetTaxExemptionsCommand.js +2 -2
  5. package/dist-es/commands/BatchPutTaxRegistrationCommand.js +2 -2
  6. package/dist-es/commands/DeleteSupplementalTaxRegistrationCommand.js +2 -2
  7. package/dist-es/commands/DeleteTaxRegistrationCommand.js +2 -2
  8. package/dist-es/commands/GetTaxExemptionTypesCommand.js +2 -2
  9. package/dist-es/commands/GetTaxInheritanceCommand.js +2 -2
  10. package/dist-es/commands/GetTaxRegistrationCommand.js +2 -2
  11. package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +2 -2
  12. package/dist-es/commands/ListSupplementalTaxRegistrationsCommand.js +2 -2
  13. package/dist-es/commands/ListTaxExemptionsCommand.js +2 -2
  14. package/dist-es/commands/ListTaxRegistrationsCommand.js +2 -2
  15. package/dist-es/commands/PutSupplementalTaxRegistrationCommand.js +2 -2
  16. package/dist-es/commands/PutTaxExemptionCommand.js +2 -2
  17. package/dist-es/commands/PutTaxInheritanceCommand.js +2 -2
  18. package/dist-es/commands/PutTaxRegistrationCommand.js +2 -2
  19. package/dist-es/index.js +1 -0
  20. package/dist-es/runtimeConfig.shared.js +6 -1
  21. package/dist-es/schemas/schemas_0.js +231 -229
  22. package/dist-types/TaxSettingsClient.d.ts +1 -10
  23. package/dist-types/index.d.ts +1 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  25. package/dist-types/runtimeConfig.d.ts +6 -2
  26. package/dist-types/runtimeConfig.native.d.ts +6 -2
  27. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  28. package/dist-types/schemas/schemas_0.d.ts +104 -119
  29. package/dist-types/ts3.4/TaxSettingsClient.d.ts +0 -4
  30. package/dist-types/ts3.4/index.d.ts +1 -0
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +103 -121
  36. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.taxsettings" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.taxsettings",
32
+ version: "2018-05-10",
33
+ serviceTarget: "TaxSettings",
34
+ },
30
35
  serviceId: config?.serviceId ?? "TaxSettings",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchDeleteTaxRegistration } from "../schemas/schemas_0";
4
+ import { BatchDeleteTaxRegistration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchDeleteTaxRegistrationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchDeleteTaxRegistrationCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "BatchDeleteTaxRegistration", {})
13
13
  .n("TaxSettingsClient", "BatchDeleteTaxRegistrationCommand")
14
- .sc(BatchDeleteTaxRegistration)
14
+ .sc(BatchDeleteTaxRegistration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchGetTaxExemptions } from "../schemas/schemas_0";
4
+ import { BatchGetTaxExemptions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchGetTaxExemptionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchGetTaxExemptionsCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "BatchGetTaxExemptions", {})
13
13
  .n("TaxSettingsClient", "BatchGetTaxExemptionsCommand")
14
- .sc(BatchGetTaxExemptions)
14
+ .sc(BatchGetTaxExemptions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchPutTaxRegistration } from "../schemas/schemas_0";
4
+ import { BatchPutTaxRegistration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchPutTaxRegistrationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchPutTaxRegistrationCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "BatchPutTaxRegistration", {})
13
13
  .n("TaxSettingsClient", "BatchPutTaxRegistrationCommand")
14
- .sc(BatchPutTaxRegistration)
14
+ .sc(BatchPutTaxRegistration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSupplementalTaxRegistration } from "../schemas/schemas_0";
4
+ import { DeleteSupplementalTaxRegistration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSupplementalTaxRegistrationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSupplementalTaxRegistrationCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "DeleteSupplementalTaxRegistration", {})
13
13
  .n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand")
14
- .sc(DeleteSupplementalTaxRegistration)
14
+ .sc(DeleteSupplementalTaxRegistration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteTaxRegistration } from "../schemas/schemas_0";
4
+ import { DeleteTaxRegistration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteTaxRegistrationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteTaxRegistrationCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "DeleteTaxRegistration", {})
13
13
  .n("TaxSettingsClient", "DeleteTaxRegistrationCommand")
14
- .sc(DeleteTaxRegistration)
14
+ .sc(DeleteTaxRegistration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTaxExemptionTypes } from "../schemas/schemas_0";
4
+ import { GetTaxExemptionTypes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTaxExemptionTypesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTaxExemptionTypesCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "GetTaxExemptionTypes", {})
13
13
  .n("TaxSettingsClient", "GetTaxExemptionTypesCommand")
14
- .sc(GetTaxExemptionTypes)
14
+ .sc(GetTaxExemptionTypes$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTaxInheritance } from "../schemas/schemas_0";
4
+ import { GetTaxInheritance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTaxInheritanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTaxInheritanceCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "GetTaxInheritance", {})
13
13
  .n("TaxSettingsClient", "GetTaxInheritanceCommand")
14
- .sc(GetTaxInheritance)
14
+ .sc(GetTaxInheritance$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTaxRegistration } from "../schemas/schemas_0";
4
+ import { GetTaxRegistration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTaxRegistrationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTaxRegistrationCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "GetTaxRegistration", {})
13
13
  .n("TaxSettingsClient", "GetTaxRegistrationCommand")
14
- .sc(GetTaxRegistration)
14
+ .sc(GetTaxRegistration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTaxRegistrationDocument } from "../schemas/schemas_0";
4
+ import { GetTaxRegistrationDocument$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTaxRegistrationDocumentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTaxRegistrationDocumentCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "GetTaxRegistrationDocument", {})
13
13
  .n("TaxSettingsClient", "GetTaxRegistrationDocumentCommand")
14
- .sc(GetTaxRegistrationDocument)
14
+ .sc(GetTaxRegistrationDocument$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSupplementalTaxRegistrations } from "../schemas/schemas_0";
4
+ import { ListSupplementalTaxRegistrations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSupplementalTaxRegistrationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSupplementalTaxRegistrationsCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "ListSupplementalTaxRegistrations", {})
13
13
  .n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand")
14
- .sc(ListSupplementalTaxRegistrations)
14
+ .sc(ListSupplementalTaxRegistrations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTaxExemptions } from "../schemas/schemas_0";
4
+ import { ListTaxExemptions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTaxExemptionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTaxExemptionsCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "ListTaxExemptions", {})
13
13
  .n("TaxSettingsClient", "ListTaxExemptionsCommand")
14
- .sc(ListTaxExemptions)
14
+ .sc(ListTaxExemptions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTaxRegistrations } from "../schemas/schemas_0";
4
+ import { ListTaxRegistrations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTaxRegistrationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTaxRegistrationsCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "ListTaxRegistrations", {})
13
13
  .n("TaxSettingsClient", "ListTaxRegistrationsCommand")
14
- .sc(ListTaxRegistrations)
14
+ .sc(ListTaxRegistrations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSupplementalTaxRegistration } from "../schemas/schemas_0";
4
+ import { PutSupplementalTaxRegistration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSupplementalTaxRegistrationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSupplementalTaxRegistrationCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "PutSupplementalTaxRegistration", {})
13
13
  .n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand")
14
- .sc(PutSupplementalTaxRegistration)
14
+ .sc(PutSupplementalTaxRegistration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutTaxExemption } from "../schemas/schemas_0";
4
+ import { PutTaxExemption$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutTaxExemptionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutTaxExemptionCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "PutTaxExemption", {})
13
13
  .n("TaxSettingsClient", "PutTaxExemptionCommand")
14
- .sc(PutTaxExemption)
14
+ .sc(PutTaxExemption$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutTaxInheritance } from "../schemas/schemas_0";
4
+ import { PutTaxInheritance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutTaxInheritanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutTaxInheritanceCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "PutTaxInheritance", {})
13
13
  .n("TaxSettingsClient", "PutTaxInheritanceCommand")
14
- .sc(PutTaxInheritance)
14
+ .sc(PutTaxInheritance$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutTaxRegistration } from "../schemas/schemas_0";
4
+ import { PutTaxRegistration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutTaxRegistrationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutTaxRegistrationCommand extends $Command
11
11
  })
12
12
  .s("TaxSettings", "PutTaxRegistration", {})
13
13
  .n("TaxSettingsClient", "PutTaxRegistrationCommand")
14
- .sc(PutTaxRegistration)
14
+ .sc(PutTaxRegistration$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./TaxSettingsClient";
2
2
  export * from "./TaxSettings";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.taxsettings" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.taxsettings",
29
+ version: "2018-05-10",
30
+ serviceTarget: "TaxSettings",
31
+ },
27
32
  serviceId: config?.serviceId ?? "TaxSettings",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,