@aws-sdk/client-taxsettings 3.693.0 → 3.699.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 (55) hide show
  1. package/README.md +55 -7
  2. package/dist-cjs/TaxSettings.js +12 -0
  3. package/dist-cjs/commands/BatchGetTaxExemptionsCommand.js +26 -0
  4. package/dist-cjs/commands/GetTaxExemptionTypesCommand.js +26 -0
  5. package/dist-cjs/commands/GetTaxInheritanceCommand.js +26 -0
  6. package/dist-cjs/commands/ListTaxExemptionsCommand.js +26 -0
  7. package/dist-cjs/commands/PutTaxExemptionCommand.js +26 -0
  8. package/dist-cjs/commands/PutTaxInheritanceCommand.js +26 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +50 -1
  11. package/dist-cjs/pagination/ListTaxExemptionsPaginator.js +7 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_restJson1.js +296 -3
  14. package/dist-es/TaxSettings.js +12 -0
  15. package/dist-es/commands/BatchGetTaxExemptionsCommand.js +22 -0
  16. package/dist-es/commands/GetTaxExemptionTypesCommand.js +22 -0
  17. package/dist-es/commands/GetTaxInheritanceCommand.js +22 -0
  18. package/dist-es/commands/ListTaxExemptionsCommand.js +22 -0
  19. package/dist-es/commands/PutTaxExemptionCommand.js +22 -0
  20. package/dist-es/commands/PutTaxInheritanceCommand.js +22 -0
  21. package/dist-es/commands/index.js +6 -0
  22. package/dist-es/models/models_0.js +46 -0
  23. package/dist-es/pagination/ListTaxExemptionsPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_restJson1.js +285 -4
  26. package/dist-types/TaxSettings.d.ts +46 -0
  27. package/dist-types/TaxSettingsClient.d.ts +8 -2
  28. package/dist-types/commands/BatchGetTaxExemptionsCommand.d.ts +115 -0
  29. package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +4 -0
  30. package/dist-types/commands/GetTaxExemptionTypesCommand.d.ts +91 -0
  31. package/dist-types/commands/GetTaxInheritanceCommand.d.ts +80 -0
  32. package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +1 -0
  33. package/dist-types/commands/ListTaxExemptionsCommand.d.ts +112 -0
  34. package/dist-types/commands/PutTaxExemptionCommand.d.ts +105 -0
  35. package/dist-types/commands/PutTaxInheritanceCommand.d.ts +83 -0
  36. package/dist-types/commands/PutTaxRegistrationCommand.d.ts +4 -0
  37. package/dist-types/commands/index.d.ts +6 -0
  38. package/dist-types/models/models_0.d.ts +404 -19
  39. package/dist-types/pagination/ListTaxExemptionsPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  42. package/dist-types/ts3.4/TaxSettings.d.ts +106 -0
  43. package/dist-types/ts3.4/TaxSettingsClient.d.ts +36 -0
  44. package/dist-types/ts3.4/commands/BatchGetTaxExemptionsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/GetTaxExemptionTypesCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/GetTaxInheritanceCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/ListTaxExemptionsCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/PutTaxExemptionCommand.d.ts +50 -0
  49. package/dist-types/ts3.4/commands/PutTaxInheritanceCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +117 -10
  52. package/dist-types/ts3.4/pagination/ListTaxExemptionsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  55. package/package.json +35 -35
package/README.md CHANGED
@@ -34,16 +34,16 @@ using your favorite package manager:
34
34
 
35
35
  The AWS SDK is modulized by clients and commands.
36
36
  To send a request, you only need to import the `TaxSettingsClient` and
37
- the commands you need, for example `ListTaxRegistrationsCommand`:
37
+ the commands you need, for example `ListTaxExemptionsCommand`:
38
38
 
39
39
  ```js
40
40
  // ES5 example
41
- const { TaxSettingsClient, ListTaxRegistrationsCommand } = require("@aws-sdk/client-taxsettings");
41
+ const { TaxSettingsClient, ListTaxExemptionsCommand } = require("@aws-sdk/client-taxsettings");
42
42
  ```
43
43
 
44
44
  ```ts
45
45
  // ES6+ example
46
- import { TaxSettingsClient, ListTaxRegistrationsCommand } from "@aws-sdk/client-taxsettings";
46
+ import { TaxSettingsClient, ListTaxExemptionsCommand } from "@aws-sdk/client-taxsettings";
47
47
  ```
48
48
 
49
49
  ### Usage
@@ -62,7 +62,7 @@ const client = new TaxSettingsClient({ region: "REGION" });
62
62
  const params = {
63
63
  /** input parameters */
64
64
  };
65
- const command = new ListTaxRegistrationsCommand(params);
65
+ const command = new ListTaxExemptionsCommand(params);
66
66
  ```
67
67
 
68
68
  #### Async/await
@@ -141,7 +141,7 @@ const client = new AWS.TaxSettings({ region: "REGION" });
141
141
 
142
142
  // async/await.
143
143
  try {
144
- const data = await client.listTaxRegistrations(params);
144
+ const data = await client.listTaxExemptions(params);
145
145
  // process data.
146
146
  } catch (error) {
147
147
  // error handling.
@@ -149,7 +149,7 @@ try {
149
149
 
150
150
  // Promises.
151
151
  client
152
- .listTaxRegistrations(params)
152
+ .listTaxExemptions(params)
153
153
  .then((data) => {
154
154
  // process data.
155
155
  })
@@ -158,7 +158,7 @@ client
158
158
  });
159
159
 
160
160
  // callbacks.
161
- client.listTaxRegistrations(params, (err, data) => {
161
+ client.listTaxExemptions(params, (err, data) => {
162
162
  // process err and data.
163
163
  });
164
164
  ```
@@ -221,6 +221,14 @@ BatchDeleteTaxRegistration
221
221
 
222
222
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/BatchDeleteTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchDeleteTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchDeleteTaxRegistrationCommandOutput/)
223
223
 
224
+ </details>
225
+ <details>
226
+ <summary>
227
+ BatchGetTaxExemptions
228
+ </summary>
229
+
230
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/BatchGetTaxExemptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchGetTaxExemptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchGetTaxExemptionsCommandOutput/)
231
+
224
232
  </details>
225
233
  <details>
226
234
  <summary>
@@ -245,6 +253,22 @@ DeleteTaxRegistration
245
253
 
246
254
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/DeleteTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/DeleteTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/DeleteTaxRegistrationCommandOutput/)
247
255
 
256
+ </details>
257
+ <details>
258
+ <summary>
259
+ GetTaxExemptionTypes
260
+ </summary>
261
+
262
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/GetTaxExemptionTypesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxExemptionTypesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxExemptionTypesCommandOutput/)
263
+
264
+ </details>
265
+ <details>
266
+ <summary>
267
+ GetTaxInheritance
268
+ </summary>
269
+
270
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/GetTaxInheritanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxInheritanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxInheritanceCommandOutput/)
271
+
248
272
  </details>
249
273
  <details>
250
274
  <summary>
@@ -269,6 +293,14 @@ ListSupplementalTaxRegistrations
269
293
 
270
294
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/ListSupplementalTaxRegistrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListSupplementalTaxRegistrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListSupplementalTaxRegistrationsCommandOutput/)
271
295
 
296
+ </details>
297
+ <details>
298
+ <summary>
299
+ ListTaxExemptions
300
+ </summary>
301
+
302
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/ListTaxExemptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListTaxExemptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListTaxExemptionsCommandOutput/)
303
+
272
304
  </details>
273
305
  <details>
274
306
  <summary>
@@ -285,6 +317,22 @@ PutSupplementalTaxRegistration
285
317
 
286
318
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/PutSupplementalTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutSupplementalTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutSupplementalTaxRegistrationCommandOutput/)
287
319
 
320
+ </details>
321
+ <details>
322
+ <summary>
323
+ PutTaxExemption
324
+ </summary>
325
+
326
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/PutTaxExemptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutTaxExemptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutTaxExemptionCommandOutput/)
327
+
328
+ </details>
329
+ <details>
330
+ <summary>
331
+ PutTaxInheritance
332
+ </summary>
333
+
334
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/PutTaxInheritanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutTaxInheritanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/PutTaxInheritanceCommandOutput/)
335
+
288
336
  </details>
289
337
  <details>
290
338
  <summary>
@@ -3,26 +3,38 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TaxSettings = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const BatchDeleteTaxRegistrationCommand_1 = require("./commands/BatchDeleteTaxRegistrationCommand");
6
+ const BatchGetTaxExemptionsCommand_1 = require("./commands/BatchGetTaxExemptionsCommand");
6
7
  const BatchPutTaxRegistrationCommand_1 = require("./commands/BatchPutTaxRegistrationCommand");
7
8
  const DeleteSupplementalTaxRegistrationCommand_1 = require("./commands/DeleteSupplementalTaxRegistrationCommand");
8
9
  const DeleteTaxRegistrationCommand_1 = require("./commands/DeleteTaxRegistrationCommand");
10
+ const GetTaxExemptionTypesCommand_1 = require("./commands/GetTaxExemptionTypesCommand");
11
+ const GetTaxInheritanceCommand_1 = require("./commands/GetTaxInheritanceCommand");
9
12
  const GetTaxRegistrationCommand_1 = require("./commands/GetTaxRegistrationCommand");
10
13
  const GetTaxRegistrationDocumentCommand_1 = require("./commands/GetTaxRegistrationDocumentCommand");
11
14
  const ListSupplementalTaxRegistrationsCommand_1 = require("./commands/ListSupplementalTaxRegistrationsCommand");
15
+ const ListTaxExemptionsCommand_1 = require("./commands/ListTaxExemptionsCommand");
12
16
  const ListTaxRegistrationsCommand_1 = require("./commands/ListTaxRegistrationsCommand");
13
17
  const PutSupplementalTaxRegistrationCommand_1 = require("./commands/PutSupplementalTaxRegistrationCommand");
18
+ const PutTaxExemptionCommand_1 = require("./commands/PutTaxExemptionCommand");
19
+ const PutTaxInheritanceCommand_1 = require("./commands/PutTaxInheritanceCommand");
14
20
  const PutTaxRegistrationCommand_1 = require("./commands/PutTaxRegistrationCommand");
15
21
  const TaxSettingsClient_1 = require("./TaxSettingsClient");
16
22
  const commands = {
17
23
  BatchDeleteTaxRegistrationCommand: BatchDeleteTaxRegistrationCommand_1.BatchDeleteTaxRegistrationCommand,
24
+ BatchGetTaxExemptionsCommand: BatchGetTaxExemptionsCommand_1.BatchGetTaxExemptionsCommand,
18
25
  BatchPutTaxRegistrationCommand: BatchPutTaxRegistrationCommand_1.BatchPutTaxRegistrationCommand,
19
26
  DeleteSupplementalTaxRegistrationCommand: DeleteSupplementalTaxRegistrationCommand_1.DeleteSupplementalTaxRegistrationCommand,
20
27
  DeleteTaxRegistrationCommand: DeleteTaxRegistrationCommand_1.DeleteTaxRegistrationCommand,
28
+ GetTaxExemptionTypesCommand: GetTaxExemptionTypesCommand_1.GetTaxExemptionTypesCommand,
29
+ GetTaxInheritanceCommand: GetTaxInheritanceCommand_1.GetTaxInheritanceCommand,
21
30
  GetTaxRegistrationCommand: GetTaxRegistrationCommand_1.GetTaxRegistrationCommand,
22
31
  GetTaxRegistrationDocumentCommand: GetTaxRegistrationDocumentCommand_1.GetTaxRegistrationDocumentCommand,
23
32
  ListSupplementalTaxRegistrationsCommand: ListSupplementalTaxRegistrationsCommand_1.ListSupplementalTaxRegistrationsCommand,
33
+ ListTaxExemptionsCommand: ListTaxExemptionsCommand_1.ListTaxExemptionsCommand,
24
34
  ListTaxRegistrationsCommand: ListTaxRegistrationsCommand_1.ListTaxRegistrationsCommand,
25
35
  PutSupplementalTaxRegistrationCommand: PutSupplementalTaxRegistrationCommand_1.PutSupplementalTaxRegistrationCommand,
36
+ PutTaxExemptionCommand: PutTaxExemptionCommand_1.PutTaxExemptionCommand,
37
+ PutTaxInheritanceCommand: PutTaxInheritanceCommand_1.PutTaxInheritanceCommand,
26
38
  PutTaxRegistrationCommand: PutTaxRegistrationCommand_1.PutTaxRegistrationCommand,
27
39
  };
28
40
  class TaxSettings extends TaxSettingsClient_1.TaxSettingsClient {
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetTaxExemptionsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class BatchGetTaxExemptionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("TaxSettings", "BatchGetTaxExemptions", {})
20
+ .n("TaxSettingsClient", "BatchGetTaxExemptionsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_BatchGetTaxExemptionsCommand)
23
+ .de(Aws_restJson1_1.de_BatchGetTaxExemptionsCommand)
24
+ .build() {
25
+ }
26
+ exports.BatchGetTaxExemptionsCommand = BatchGetTaxExemptionsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTaxExemptionTypesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetTaxExemptionTypesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("TaxSettings", "GetTaxExemptionTypes", {})
20
+ .n("TaxSettingsClient", "GetTaxExemptionTypesCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_GetTaxExemptionTypesCommand)
23
+ .de(Aws_restJson1_1.de_GetTaxExemptionTypesCommand)
24
+ .build() {
25
+ }
26
+ exports.GetTaxExemptionTypesCommand = GetTaxExemptionTypesCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTaxInheritanceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetTaxInheritanceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("TaxSettings", "GetTaxInheritance", {})
20
+ .n("TaxSettingsClient", "GetTaxInheritanceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_GetTaxInheritanceCommand)
23
+ .de(Aws_restJson1_1.de_GetTaxInheritanceCommand)
24
+ .build() {
25
+ }
26
+ exports.GetTaxInheritanceCommand = GetTaxInheritanceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTaxExemptionsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListTaxExemptionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("TaxSettings", "ListTaxExemptions", {})
20
+ .n("TaxSettingsClient", "ListTaxExemptionsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_ListTaxExemptionsCommand)
23
+ .de(Aws_restJson1_1.de_ListTaxExemptionsCommand)
24
+ .build() {
25
+ }
26
+ exports.ListTaxExemptionsCommand = ListTaxExemptionsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutTaxExemptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class PutTaxExemptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("TaxSettings", "PutTaxExemption", {})
20
+ .n("TaxSettingsClient", "PutTaxExemptionCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_PutTaxExemptionCommand)
23
+ .de(Aws_restJson1_1.de_PutTaxExemptionCommand)
24
+ .build() {
25
+ }
26
+ exports.PutTaxExemptionCommand = PutTaxExemptionCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutTaxInheritanceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class PutTaxInheritanceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("TaxSettings", "PutTaxInheritance", {})
20
+ .n("TaxSettingsClient", "PutTaxInheritanceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_PutTaxInheritanceCommand)
23
+ .de(Aws_restJson1_1.de_PutTaxInheritanceCommand)
24
+ .build() {
25
+ }
26
+ exports.PutTaxInheritanceCommand = PutTaxInheritanceCommand;
@@ -2,12 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./BatchDeleteTaxRegistrationCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchGetTaxExemptionsCommand"), exports);
5
6
  tslib_1.__exportStar(require("./BatchPutTaxRegistrationCommand"), exports);
6
7
  tslib_1.__exportStar(require("./DeleteSupplementalTaxRegistrationCommand"), exports);
7
8
  tslib_1.__exportStar(require("./DeleteTaxRegistrationCommand"), exports);
9
+ tslib_1.__exportStar(require("./GetTaxExemptionTypesCommand"), exports);
10
+ tslib_1.__exportStar(require("./GetTaxInheritanceCommand"), exports);
8
11
  tslib_1.__exportStar(require("./GetTaxRegistrationCommand"), exports);
9
12
  tslib_1.__exportStar(require("./GetTaxRegistrationDocumentCommand"), exports);
10
13
  tslib_1.__exportStar(require("./ListSupplementalTaxRegistrationsCommand"), exports);
14
+ tslib_1.__exportStar(require("./ListTaxExemptionsCommand"), exports);
11
15
  tslib_1.__exportStar(require("./ListTaxRegistrationsCommand"), exports);
12
16
  tslib_1.__exportStar(require("./PutSupplementalTaxRegistrationCommand"), exports);
17
+ tslib_1.__exportStar(require("./PutTaxExemptionCommand"), exports);
18
+ tslib_1.__exportStar(require("./PutTaxInheritanceCommand"), exports);
13
19
  tslib_1.__exportStar(require("./PutTaxRegistrationCommand"), exports);
@@ -1,8 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutTaxRegistrationRequestFilterSensitiveLog = exports.PutSupplementalTaxRegistrationRequestFilterSensitiveLog = exports.SupplementalTaxRegistrationEntryFilterSensitiveLog = exports.ListTaxRegistrationsResponseFilterSensitiveLog = exports.ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = exports.SupplementalTaxRegistrationFilterSensitiveLog = exports.GetTaxRegistrationResponseFilterSensitiveLog = exports.TaxRegistrationFilterSensitiveLog = exports.BatchPutTaxRegistrationResponseFilterSensitiveLog = exports.BatchPutTaxRegistrationErrorFilterSensitiveLog = exports.BatchPutTaxRegistrationRequestFilterSensitiveLog = exports.TaxRegistrationEntryFilterSensitiveLog = exports.BatchDeleteTaxRegistrationResponseFilterSensitiveLog = exports.BatchDeleteTaxRegistrationErrorFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.TaxRegistrationWithJurisdictionFilterSensitiveLog = exports.AccountMetaDataFilterSensitiveLog = exports.SupplementalTaxRegistrationType = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionErrorCode = exports.InternalServerException = exports.ConflictException = exports.TaxRegistrationStatus = exports.Sector = exports.TaxRegistrationType = exports.UkraineTrnType = exports.Industries = exports.RegistrationType = exports.SaudiArabiaTaxRegistrationNumberType = exports.TaxRegistrationNumberType = exports.MalaysiaServiceTaxCode = exports.IsraelDealerType = exports.IsraelCustomerType = exports.PersonType = exports.AddressRoleType = void 0;
3
+ exports.PutTaxRegistrationRequestFilterSensitiveLog = exports.PutSupplementalTaxRegistrationRequestFilterSensitiveLog = exports.SupplementalTaxRegistrationEntryFilterSensitiveLog = exports.ListTaxRegistrationsResponseFilterSensitiveLog = exports.ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = exports.SupplementalTaxRegistrationFilterSensitiveLog = exports.GetTaxRegistrationResponseFilterSensitiveLog = exports.TaxRegistrationFilterSensitiveLog = exports.BatchPutTaxRegistrationResponseFilterSensitiveLog = exports.BatchPutTaxRegistrationErrorFilterSensitiveLog = exports.BatchPutTaxRegistrationRequestFilterSensitiveLog = exports.TaxRegistrationEntryFilterSensitiveLog = exports.BatchDeleteTaxRegistrationResponseFilterSensitiveLog = exports.BatchDeleteTaxRegistrationErrorFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.TaxRegistrationWithJurisdictionFilterSensitiveLog = exports.AccountMetaDataFilterSensitiveLog = exports.SupplementalTaxRegistrationType = exports.HeritageStatus = exports.CaseCreationLimitExceededException = exports.ResourceNotFoundException = exports.EntityExemptionAccountStatus = exports.ValidationException = exports.ValidationExceptionErrorCode = exports.InternalServerException = exports.ConflictException = exports.AttachmentUploadException = exports.TaxRegistrationStatus = exports.Sector = exports.TaxRegistrationType = exports.UkraineTrnType = exports.Industries = exports.RegistrationType = exports.SaudiArabiaTaxRegistrationNumberType = exports.TaxRegistrationNumberType = exports.MalaysiaServiceTaxCode = exports.IsraelDealerType = exports.IsraelCustomerType = exports.PersonType = exports.AddressRoleType = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const TaxSettingsServiceException_1 = require("./TaxSettingsServiceException");
6
+ class AccessDeniedException extends TaxSettingsServiceException_1.TaxSettingsServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "AccessDeniedException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ this.name = "AccessDeniedException";
14
+ this.$fault = "client";
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ }
17
+ }
18
+ exports.AccessDeniedException = AccessDeniedException;
6
19
  exports.AddressRoleType = {
7
20
  BILLING_ADDRESS: "BillingAddress",
8
21
  CONTACT_ADDRESS: "ContactAddress",
@@ -72,6 +85,19 @@ exports.TaxRegistrationStatus = {
72
85
  REJECTED: "Rejected",
73
86
  VERIFIED: "Verified",
74
87
  };
88
+ class AttachmentUploadException extends TaxSettingsServiceException_1.TaxSettingsServiceException {
89
+ constructor(opts) {
90
+ super({
91
+ name: "AttachmentUploadException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ this.name = "AttachmentUploadException";
96
+ this.$fault = "client";
97
+ Object.setPrototypeOf(this, AttachmentUploadException.prototype);
98
+ }
99
+ }
100
+ exports.AttachmentUploadException = AttachmentUploadException;
75
101
  class ConflictException extends TaxSettingsServiceException_1.TaxSettingsServiceException {
76
102
  constructor(opts) {
77
103
  super({
@@ -122,6 +148,12 @@ class ValidationException extends TaxSettingsServiceException_1.TaxSettingsServi
122
148
  }
123
149
  }
124
150
  exports.ValidationException = ValidationException;
151
+ exports.EntityExemptionAccountStatus = {
152
+ Expired: "Expired",
153
+ None: "None",
154
+ Pending: "Pending",
155
+ Valid: "Valid",
156
+ };
125
157
  class ResourceNotFoundException extends TaxSettingsServiceException_1.TaxSettingsServiceException {
126
158
  constructor(opts) {
127
159
  super({
@@ -136,6 +168,23 @@ class ResourceNotFoundException extends TaxSettingsServiceException_1.TaxSetting
136
168
  }
137
169
  }
138
170
  exports.ResourceNotFoundException = ResourceNotFoundException;
171
+ class CaseCreationLimitExceededException extends TaxSettingsServiceException_1.TaxSettingsServiceException {
172
+ constructor(opts) {
173
+ super({
174
+ name: "CaseCreationLimitExceededException",
175
+ $fault: "client",
176
+ ...opts,
177
+ });
178
+ this.name = "CaseCreationLimitExceededException";
179
+ this.$fault = "client";
180
+ Object.setPrototypeOf(this, CaseCreationLimitExceededException.prototype);
181
+ }
182
+ }
183
+ exports.CaseCreationLimitExceededException = CaseCreationLimitExceededException;
184
+ exports.HeritageStatus = {
185
+ OptIn: "OptIn",
186
+ OptOut: "OptOut",
187
+ };
139
188
  exports.SupplementalTaxRegistrationType = {
140
189
  VAT: "VAT",
141
190
  };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListTaxExemptions = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListTaxExemptionsCommand_1 = require("../commands/ListTaxExemptionsCommand");
6
+ const TaxSettingsClient_1 = require("../TaxSettingsClient");
7
+ exports.paginateListTaxExemptions = (0, core_1.createPaginator)(TaxSettingsClient_1.TaxSettingsClient, ListTaxExemptionsCommand_1.ListTaxExemptionsCommand, "nextToken", "nextToken", "maxResults");
@@ -3,4 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
5
  tslib_1.__exportStar(require("./ListSupplementalTaxRegistrationsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListTaxExemptionsPaginator"), exports);
6
7
  tslib_1.__exportStar(require("./ListTaxRegistrationsPaginator"), exports);