@aws-sdk/client-taxsettings 3.682.0 → 3.685.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/README.md +25 -1
- package/dist-cjs/TaxSettings.js +6 -0
- package/dist-cjs/commands/DeleteSupplementalTaxRegistrationCommand.js +26 -0
- package/dist-cjs/commands/ListSupplementalTaxRegistrationsCommand.js +27 -0
- package/dist-cjs/commands/PutSupplementalTaxRegistrationCommand.js +27 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +24 -1
- package/dist-cjs/pagination/ListSupplementalTaxRegistrationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +87 -1
- package/dist-es/TaxSettings.js +6 -0
- package/dist-es/commands/DeleteSupplementalTaxRegistrationCommand.js +22 -0
- package/dist-es/commands/ListSupplementalTaxRegistrationsCommand.js +23 -0
- package/dist-es/commands/PutSupplementalTaxRegistrationCommand.js +23 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/pagination/ListSupplementalTaxRegistrationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +80 -0
- package/dist-types/TaxSettings.d.ts +22 -0
- package/dist-types/TaxSettingsClient.d.ts +5 -2
- package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +17 -14
- package/dist-types/commands/DeleteSupplementalTaxRegistrationCommand.d.ts +84 -0
- package/dist-types/commands/GetTaxRegistrationCommand.d.ts +4 -2
- package/dist-types/commands/ListSupplementalTaxRegistrationsCommand.d.ts +103 -0
- package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +4 -2
- package/dist-types/commands/PutSupplementalTaxRegistrationCommand.d.ts +98 -0
- package/dist-types/commands/PutTaxRegistrationCommand.d.ts +17 -14
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +223 -9
- package/dist-types/pagination/ListSupplementalTaxRegistrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/TaxSettings.d.ts +58 -0
- package/dist-types/ts3.4/TaxSettingsClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteSupplementalTaxRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSupplementalTaxRegistrationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutSupplementalTaxRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -4
- package/dist-types/ts3.4/pagination/ListSupplementalTaxRegistrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ the console.</p>
|
|
|
21
21
|
|
|
22
22
|
## Installing
|
|
23
23
|
|
|
24
|
-
To install
|
|
24
|
+
To install this package, simply type add or install @aws-sdk/client-taxsettings
|
|
25
25
|
using your favorite package manager:
|
|
26
26
|
|
|
27
27
|
- `npm install @aws-sdk/client-taxsettings`
|
|
@@ -229,6 +229,14 @@ BatchPutTaxRegistration
|
|
|
229
229
|
|
|
230
230
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/BatchPutTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchPutTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/BatchPutTaxRegistrationCommandOutput/)
|
|
231
231
|
|
|
232
|
+
</details>
|
|
233
|
+
<details>
|
|
234
|
+
<summary>
|
|
235
|
+
DeleteSupplementalTaxRegistration
|
|
236
|
+
</summary>
|
|
237
|
+
|
|
238
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/DeleteSupplementalTaxRegistrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/DeleteSupplementalTaxRegistrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/DeleteSupplementalTaxRegistrationCommandOutput/)
|
|
239
|
+
|
|
232
240
|
</details>
|
|
233
241
|
<details>
|
|
234
242
|
<summary>
|
|
@@ -253,6 +261,14 @@ GetTaxRegistrationDocument
|
|
|
253
261
|
|
|
254
262
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/GetTaxRegistrationDocumentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxRegistrationDocumentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/GetTaxRegistrationDocumentCommandOutput/)
|
|
255
263
|
|
|
264
|
+
</details>
|
|
265
|
+
<details>
|
|
266
|
+
<summary>
|
|
267
|
+
ListSupplementalTaxRegistrations
|
|
268
|
+
</summary>
|
|
269
|
+
|
|
270
|
+
[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
|
+
|
|
256
272
|
</details>
|
|
257
273
|
<details>
|
|
258
274
|
<summary>
|
|
@@ -261,6 +277,14 @@ ListTaxRegistrations
|
|
|
261
277
|
|
|
262
278
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/taxsettings/command/ListTaxRegistrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListTaxRegistrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-taxsettings/Interface/ListTaxRegistrationsCommandOutput/)
|
|
263
279
|
|
|
280
|
+
</details>
|
|
281
|
+
<details>
|
|
282
|
+
<summary>
|
|
283
|
+
PutSupplementalTaxRegistration
|
|
284
|
+
</summary>
|
|
285
|
+
|
|
286
|
+
[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
|
+
|
|
264
288
|
</details>
|
|
265
289
|
<details>
|
|
266
290
|
<summary>
|
package/dist-cjs/TaxSettings.js
CHANGED
|
@@ -4,19 +4,25 @@ exports.TaxSettings = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BatchDeleteTaxRegistrationCommand_1 = require("./commands/BatchDeleteTaxRegistrationCommand");
|
|
6
6
|
const BatchPutTaxRegistrationCommand_1 = require("./commands/BatchPutTaxRegistrationCommand");
|
|
7
|
+
const DeleteSupplementalTaxRegistrationCommand_1 = require("./commands/DeleteSupplementalTaxRegistrationCommand");
|
|
7
8
|
const DeleteTaxRegistrationCommand_1 = require("./commands/DeleteTaxRegistrationCommand");
|
|
8
9
|
const GetTaxRegistrationCommand_1 = require("./commands/GetTaxRegistrationCommand");
|
|
9
10
|
const GetTaxRegistrationDocumentCommand_1 = require("./commands/GetTaxRegistrationDocumentCommand");
|
|
11
|
+
const ListSupplementalTaxRegistrationsCommand_1 = require("./commands/ListSupplementalTaxRegistrationsCommand");
|
|
10
12
|
const ListTaxRegistrationsCommand_1 = require("./commands/ListTaxRegistrationsCommand");
|
|
13
|
+
const PutSupplementalTaxRegistrationCommand_1 = require("./commands/PutSupplementalTaxRegistrationCommand");
|
|
11
14
|
const PutTaxRegistrationCommand_1 = require("./commands/PutTaxRegistrationCommand");
|
|
12
15
|
const TaxSettingsClient_1 = require("./TaxSettingsClient");
|
|
13
16
|
const commands = {
|
|
14
17
|
BatchDeleteTaxRegistrationCommand: BatchDeleteTaxRegistrationCommand_1.BatchDeleteTaxRegistrationCommand,
|
|
15
18
|
BatchPutTaxRegistrationCommand: BatchPutTaxRegistrationCommand_1.BatchPutTaxRegistrationCommand,
|
|
19
|
+
DeleteSupplementalTaxRegistrationCommand: DeleteSupplementalTaxRegistrationCommand_1.DeleteSupplementalTaxRegistrationCommand,
|
|
16
20
|
DeleteTaxRegistrationCommand: DeleteTaxRegistrationCommand_1.DeleteTaxRegistrationCommand,
|
|
17
21
|
GetTaxRegistrationCommand: GetTaxRegistrationCommand_1.GetTaxRegistrationCommand,
|
|
18
22
|
GetTaxRegistrationDocumentCommand: GetTaxRegistrationDocumentCommand_1.GetTaxRegistrationDocumentCommand,
|
|
23
|
+
ListSupplementalTaxRegistrationsCommand: ListSupplementalTaxRegistrationsCommand_1.ListSupplementalTaxRegistrationsCommand,
|
|
19
24
|
ListTaxRegistrationsCommand: ListTaxRegistrationsCommand_1.ListTaxRegistrationsCommand,
|
|
25
|
+
PutSupplementalTaxRegistrationCommand: PutSupplementalTaxRegistrationCommand_1.PutSupplementalTaxRegistrationCommand,
|
|
20
26
|
PutTaxRegistrationCommand: PutTaxRegistrationCommand_1.PutTaxRegistrationCommand,
|
|
21
27
|
};
|
|
22
28
|
class TaxSettings extends TaxSettingsClient_1.TaxSettingsClient {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteSupplementalTaxRegistrationCommand = 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 DeleteSupplementalTaxRegistrationCommand 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", "DeleteSupplementalTaxRegistration", {})
|
|
20
|
+
.n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_DeleteSupplementalTaxRegistrationCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_DeleteSupplementalTaxRegistrationCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.DeleteSupplementalTaxRegistrationCommand = DeleteSupplementalTaxRegistrationCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListSupplementalTaxRegistrationsCommand = 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 models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class ListSupplementalTaxRegistrationsCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("TaxSettings", "ListSupplementalTaxRegistrations", {})
|
|
21
|
+
.n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand")
|
|
22
|
+
.f(void 0, models_0_1.ListSupplementalTaxRegistrationsResponseFilterSensitiveLog)
|
|
23
|
+
.ser(Aws_restJson1_1.se_ListSupplementalTaxRegistrationsCommand)
|
|
24
|
+
.de(Aws_restJson1_1.de_ListSupplementalTaxRegistrationsCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.ListSupplementalTaxRegistrationsCommand = ListSupplementalTaxRegistrationsCommand;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutSupplementalTaxRegistrationCommand = 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 models_0_1 = require("../models/models_0");
|
|
10
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
+
class PutSupplementalTaxRegistrationCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("TaxSettings", "PutSupplementalTaxRegistration", {})
|
|
21
|
+
.n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand")
|
|
22
|
+
.f(models_0_1.PutSupplementalTaxRegistrationRequestFilterSensitiveLog, void 0)
|
|
23
|
+
.ser(Aws_restJson1_1.se_PutSupplementalTaxRegistrationCommand)
|
|
24
|
+
.de(Aws_restJson1_1.de_PutSupplementalTaxRegistrationCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
27
|
+
exports.PutSupplementalTaxRegistrationCommand = PutSupplementalTaxRegistrationCommand;
|
|
@@ -3,8 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./BatchDeleteTaxRegistrationCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./BatchPutTaxRegistrationCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DeleteSupplementalTaxRegistrationCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DeleteTaxRegistrationCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./GetTaxRegistrationCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./GetTaxRegistrationDocumentCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListSupplementalTaxRegistrationsCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./ListTaxRegistrationsCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./PutSupplementalTaxRegistrationCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./PutTaxRegistrationCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutTaxRegistrationRequestFilterSensitiveLog = exports.ListTaxRegistrationsResponseFilterSensitiveLog = exports.GetTaxRegistrationResponseFilterSensitiveLog = exports.TaxRegistrationFilterSensitiveLog = exports.BatchPutTaxRegistrationResponseFilterSensitiveLog = exports.BatchPutTaxRegistrationErrorFilterSensitiveLog = exports.BatchPutTaxRegistrationRequestFilterSensitiveLog = exports.TaxRegistrationEntryFilterSensitiveLog = exports.BatchDeleteTaxRegistrationResponseFilterSensitiveLog = exports.BatchDeleteTaxRegistrationErrorFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.TaxRegistrationWithJurisdictionFilterSensitiveLog = exports.AccountMetaDataFilterSensitiveLog = 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.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;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const TaxSettingsServiceException_1 = require("./TaxSettingsServiceException");
|
|
6
6
|
exports.AddressRoleType = {
|
|
@@ -56,7 +56,9 @@ exports.TaxRegistrationType = {
|
|
|
56
56
|
CNPJ: "CNPJ",
|
|
57
57
|
CPF: "CPF",
|
|
58
58
|
GST: "GST",
|
|
59
|
+
NRIC: "NRIC",
|
|
59
60
|
SST: "SST",
|
|
61
|
+
TIN: "TIN",
|
|
60
62
|
VAT: "VAT",
|
|
61
63
|
};
|
|
62
64
|
exports.Sector = {
|
|
@@ -134,6 +136,9 @@ class ResourceNotFoundException extends TaxSettingsServiceException_1.TaxSetting
|
|
|
134
136
|
}
|
|
135
137
|
}
|
|
136
138
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
139
|
+
exports.SupplementalTaxRegistrationType = {
|
|
140
|
+
VAT: "VAT",
|
|
141
|
+
};
|
|
137
142
|
const AccountMetaDataFilterSensitiveLog = (obj) => ({
|
|
138
143
|
...obj,
|
|
139
144
|
});
|
|
@@ -186,11 +191,29 @@ const GetTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
|
|
|
186
191
|
...(obj.taxRegistration && { taxRegistration: smithy_client_1.SENSITIVE_STRING }),
|
|
187
192
|
});
|
|
188
193
|
exports.GetTaxRegistrationResponseFilterSensitiveLog = GetTaxRegistrationResponseFilterSensitiveLog;
|
|
194
|
+
const SupplementalTaxRegistrationFilterSensitiveLog = (obj) => ({
|
|
195
|
+
...obj,
|
|
196
|
+
});
|
|
197
|
+
exports.SupplementalTaxRegistrationFilterSensitiveLog = SupplementalTaxRegistrationFilterSensitiveLog;
|
|
198
|
+
const ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
...(obj.taxRegistrations && { taxRegistrations: smithy_client_1.SENSITIVE_STRING }),
|
|
201
|
+
});
|
|
202
|
+
exports.ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = ListSupplementalTaxRegistrationsResponseFilterSensitiveLog;
|
|
189
203
|
const ListTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
|
|
190
204
|
...obj,
|
|
191
205
|
...(obj.accountDetails && { accountDetails: smithy_client_1.SENSITIVE_STRING }),
|
|
192
206
|
});
|
|
193
207
|
exports.ListTaxRegistrationsResponseFilterSensitiveLog = ListTaxRegistrationsResponseFilterSensitiveLog;
|
|
208
|
+
const SupplementalTaxRegistrationEntryFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
exports.SupplementalTaxRegistrationEntryFilterSensitiveLog = SupplementalTaxRegistrationEntryFilterSensitiveLog;
|
|
212
|
+
const PutSupplementalTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
213
|
+
...obj,
|
|
214
|
+
...(obj.taxRegistrationEntry && { taxRegistrationEntry: smithy_client_1.SENSITIVE_STRING }),
|
|
215
|
+
});
|
|
216
|
+
exports.PutSupplementalTaxRegistrationRequestFilterSensitiveLog = PutSupplementalTaxRegistrationRequestFilterSensitiveLog;
|
|
194
217
|
const PutTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
195
218
|
...obj,
|
|
196
219
|
...(obj.taxRegistrationEntry && { taxRegistrationEntry: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSupplementalTaxRegistrations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListSupplementalTaxRegistrationsCommand_1 = require("../commands/ListSupplementalTaxRegistrationsCommand");
|
|
6
|
+
const TaxSettingsClient_1 = require("../TaxSettingsClient");
|
|
7
|
+
exports.paginateListSupplementalTaxRegistrations = (0, core_1.createPaginator)(TaxSettingsClient_1.TaxSettingsClient, ListSupplementalTaxRegistrationsCommand_1.ListSupplementalTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListSupplementalTaxRegistrationsPaginator"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ListTaxRegistrationsPaginator"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_PutTaxRegistrationCommand = exports.de_ListTaxRegistrationsCommand = exports.de_GetTaxRegistrationDocumentCommand = exports.de_GetTaxRegistrationCommand = exports.de_DeleteTaxRegistrationCommand = exports.de_BatchPutTaxRegistrationCommand = exports.de_BatchDeleteTaxRegistrationCommand = exports.se_PutTaxRegistrationCommand = exports.se_ListTaxRegistrationsCommand = exports.se_GetTaxRegistrationDocumentCommand = exports.se_GetTaxRegistrationCommand = exports.se_DeleteTaxRegistrationCommand = exports.se_BatchPutTaxRegistrationCommand = exports.se_BatchDeleteTaxRegistrationCommand = void 0;
|
|
3
|
+
exports.de_PutTaxRegistrationCommand = exports.de_PutSupplementalTaxRegistrationCommand = exports.de_ListTaxRegistrationsCommand = exports.de_ListSupplementalTaxRegistrationsCommand = exports.de_GetTaxRegistrationDocumentCommand = exports.de_GetTaxRegistrationCommand = exports.de_DeleteTaxRegistrationCommand = exports.de_DeleteSupplementalTaxRegistrationCommand = exports.de_BatchPutTaxRegistrationCommand = exports.de_BatchDeleteTaxRegistrationCommand = exports.se_PutTaxRegistrationCommand = exports.se_PutSupplementalTaxRegistrationCommand = exports.se_ListTaxRegistrationsCommand = exports.se_ListSupplementalTaxRegistrationsCommand = exports.se_GetTaxRegistrationDocumentCommand = exports.se_GetTaxRegistrationCommand = exports.se_DeleteTaxRegistrationCommand = exports.se_DeleteSupplementalTaxRegistrationCommand = exports.se_BatchPutTaxRegistrationCommand = exports.se_BatchDeleteTaxRegistrationCommand = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
5
|
const core_2 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -35,6 +35,20 @@ const se_BatchPutTaxRegistrationCommand = async (input, context) => {
|
|
|
35
35
|
return b.build();
|
|
36
36
|
};
|
|
37
37
|
exports.se_BatchPutTaxRegistrationCommand = se_BatchPutTaxRegistrationCommand;
|
|
38
|
+
const se_DeleteSupplementalTaxRegistrationCommand = async (input, context) => {
|
|
39
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
40
|
+
const headers = {
|
|
41
|
+
"content-type": "application/json",
|
|
42
|
+
};
|
|
43
|
+
b.bp("/DeleteSupplementalTaxRegistration");
|
|
44
|
+
let body;
|
|
45
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
46
|
+
authorityId: [],
|
|
47
|
+
}));
|
|
48
|
+
b.m("POST").h(headers).b(body);
|
|
49
|
+
return b.build();
|
|
50
|
+
};
|
|
51
|
+
exports.se_DeleteSupplementalTaxRegistrationCommand = se_DeleteSupplementalTaxRegistrationCommand;
|
|
38
52
|
const se_DeleteTaxRegistrationCommand = async (input, context) => {
|
|
39
53
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
40
54
|
const headers = {
|
|
@@ -78,6 +92,21 @@ const se_GetTaxRegistrationDocumentCommand = async (input, context) => {
|
|
|
78
92
|
return b.build();
|
|
79
93
|
};
|
|
80
94
|
exports.se_GetTaxRegistrationDocumentCommand = se_GetTaxRegistrationDocumentCommand;
|
|
95
|
+
const se_ListSupplementalTaxRegistrationsCommand = async (input, context) => {
|
|
96
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
97
|
+
const headers = {
|
|
98
|
+
"content-type": "application/json",
|
|
99
|
+
};
|
|
100
|
+
b.bp("/ListSupplementalTaxRegistrations");
|
|
101
|
+
let body;
|
|
102
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
103
|
+
maxResults: [],
|
|
104
|
+
nextToken: [],
|
|
105
|
+
}));
|
|
106
|
+
b.m("POST").h(headers).b(body);
|
|
107
|
+
return b.build();
|
|
108
|
+
};
|
|
109
|
+
exports.se_ListSupplementalTaxRegistrationsCommand = se_ListSupplementalTaxRegistrationsCommand;
|
|
81
110
|
const se_ListTaxRegistrationsCommand = async (input, context) => {
|
|
82
111
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
83
112
|
const headers = {
|
|
@@ -93,6 +122,20 @@ const se_ListTaxRegistrationsCommand = async (input, context) => {
|
|
|
93
122
|
return b.build();
|
|
94
123
|
};
|
|
95
124
|
exports.se_ListTaxRegistrationsCommand = se_ListTaxRegistrationsCommand;
|
|
125
|
+
const se_PutSupplementalTaxRegistrationCommand = async (input, context) => {
|
|
126
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
127
|
+
const headers = {
|
|
128
|
+
"content-type": "application/json",
|
|
129
|
+
};
|
|
130
|
+
b.bp("/PutSupplementalTaxRegistration");
|
|
131
|
+
let body;
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
133
|
+
taxRegistrationEntry: (_) => (0, smithy_client_1._json)(_),
|
|
134
|
+
}));
|
|
135
|
+
b.m("POST").h(headers).b(body);
|
|
136
|
+
return b.build();
|
|
137
|
+
};
|
|
138
|
+
exports.se_PutSupplementalTaxRegistrationCommand = se_PutSupplementalTaxRegistrationCommand;
|
|
96
139
|
const se_PutTaxRegistrationCommand = async (input, context) => {
|
|
97
140
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
98
141
|
const headers = {
|
|
@@ -139,6 +182,17 @@ const de_BatchPutTaxRegistrationCommand = async (output, context) => {
|
|
|
139
182
|
return contents;
|
|
140
183
|
};
|
|
141
184
|
exports.de_BatchPutTaxRegistrationCommand = de_BatchPutTaxRegistrationCommand;
|
|
185
|
+
const de_DeleteSupplementalTaxRegistrationCommand = async (output, context) => {
|
|
186
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
187
|
+
return de_CommandError(output, context);
|
|
188
|
+
}
|
|
189
|
+
const contents = (0, smithy_client_1.map)({
|
|
190
|
+
$metadata: deserializeMetadata(output),
|
|
191
|
+
});
|
|
192
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
193
|
+
return contents;
|
|
194
|
+
};
|
|
195
|
+
exports.de_DeleteSupplementalTaxRegistrationCommand = de_DeleteSupplementalTaxRegistrationCommand;
|
|
142
196
|
const de_DeleteTaxRegistrationCommand = async (output, context) => {
|
|
143
197
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
144
198
|
return de_CommandError(output, context);
|
|
@@ -180,6 +234,22 @@ const de_GetTaxRegistrationDocumentCommand = async (output, context) => {
|
|
|
180
234
|
return contents;
|
|
181
235
|
};
|
|
182
236
|
exports.de_GetTaxRegistrationDocumentCommand = de_GetTaxRegistrationDocumentCommand;
|
|
237
|
+
const de_ListSupplementalTaxRegistrationsCommand = async (output, context) => {
|
|
238
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
239
|
+
return de_CommandError(output, context);
|
|
240
|
+
}
|
|
241
|
+
const contents = (0, smithy_client_1.map)({
|
|
242
|
+
$metadata: deserializeMetadata(output),
|
|
243
|
+
});
|
|
244
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
245
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
246
|
+
nextToken: smithy_client_1.expectString,
|
|
247
|
+
taxRegistrations: smithy_client_1._json,
|
|
248
|
+
});
|
|
249
|
+
Object.assign(contents, doc);
|
|
250
|
+
return contents;
|
|
251
|
+
};
|
|
252
|
+
exports.de_ListSupplementalTaxRegistrationsCommand = de_ListSupplementalTaxRegistrationsCommand;
|
|
183
253
|
const de_ListTaxRegistrationsCommand = async (output, context) => {
|
|
184
254
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
185
255
|
return de_CommandError(output, context);
|
|
@@ -196,6 +266,22 @@ const de_ListTaxRegistrationsCommand = async (output, context) => {
|
|
|
196
266
|
return contents;
|
|
197
267
|
};
|
|
198
268
|
exports.de_ListTaxRegistrationsCommand = de_ListTaxRegistrationsCommand;
|
|
269
|
+
const de_PutSupplementalTaxRegistrationCommand = async (output, context) => {
|
|
270
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
271
|
+
return de_CommandError(output, context);
|
|
272
|
+
}
|
|
273
|
+
const contents = (0, smithy_client_1.map)({
|
|
274
|
+
$metadata: deserializeMetadata(output),
|
|
275
|
+
});
|
|
276
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
277
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
278
|
+
authorityId: smithy_client_1.expectString,
|
|
279
|
+
status: smithy_client_1.expectString,
|
|
280
|
+
});
|
|
281
|
+
Object.assign(contents, doc);
|
|
282
|
+
return contents;
|
|
283
|
+
};
|
|
284
|
+
exports.de_PutSupplementalTaxRegistrationCommand = de_PutSupplementalTaxRegistrationCommand;
|
|
199
285
|
const de_PutTaxRegistrationCommand = async (output, context) => {
|
|
200
286
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
201
287
|
return de_CommandError(output, context);
|
package/dist-es/TaxSettings.js
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { BatchDeleteTaxRegistrationCommand, } from "./commands/BatchDeleteTaxRegistrationCommand";
|
|
3
3
|
import { BatchPutTaxRegistrationCommand, } from "./commands/BatchPutTaxRegistrationCommand";
|
|
4
|
+
import { DeleteSupplementalTaxRegistrationCommand, } from "./commands/DeleteSupplementalTaxRegistrationCommand";
|
|
4
5
|
import { DeleteTaxRegistrationCommand, } from "./commands/DeleteTaxRegistrationCommand";
|
|
5
6
|
import { GetTaxRegistrationCommand, } from "./commands/GetTaxRegistrationCommand";
|
|
6
7
|
import { GetTaxRegistrationDocumentCommand, } from "./commands/GetTaxRegistrationDocumentCommand";
|
|
8
|
+
import { ListSupplementalTaxRegistrationsCommand, } from "./commands/ListSupplementalTaxRegistrationsCommand";
|
|
7
9
|
import { ListTaxRegistrationsCommand, } from "./commands/ListTaxRegistrationsCommand";
|
|
10
|
+
import { PutSupplementalTaxRegistrationCommand, } from "./commands/PutSupplementalTaxRegistrationCommand";
|
|
8
11
|
import { PutTaxRegistrationCommand, } from "./commands/PutTaxRegistrationCommand";
|
|
9
12
|
import { TaxSettingsClient } from "./TaxSettingsClient";
|
|
10
13
|
const commands = {
|
|
11
14
|
BatchDeleteTaxRegistrationCommand,
|
|
12
15
|
BatchPutTaxRegistrationCommand,
|
|
16
|
+
DeleteSupplementalTaxRegistrationCommand,
|
|
13
17
|
DeleteTaxRegistrationCommand,
|
|
14
18
|
GetTaxRegistrationCommand,
|
|
15
19
|
GetTaxRegistrationDocumentCommand,
|
|
20
|
+
ListSupplementalTaxRegistrationsCommand,
|
|
16
21
|
ListTaxRegistrationsCommand,
|
|
22
|
+
PutSupplementalTaxRegistrationCommand,
|
|
17
23
|
PutTaxRegistrationCommand,
|
|
18
24
|
};
|
|
19
25
|
export class TaxSettings extends TaxSettingsClient {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteSupplementalTaxRegistrationCommand, se_DeleteSupplementalTaxRegistrationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteSupplementalTaxRegistrationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TaxSettings", "DeleteSupplementalTaxRegistration", {})
|
|
17
|
+
.n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteSupplementalTaxRegistrationCommand)
|
|
20
|
+
.de(de_DeleteSupplementalTaxRegistrationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListSupplementalTaxRegistrationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListSupplementalTaxRegistrationsCommand, se_ListSupplementalTaxRegistrationsCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListSupplementalTaxRegistrationsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("TaxSettings", "ListSupplementalTaxRegistrations", {})
|
|
18
|
+
.n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand")
|
|
19
|
+
.f(void 0, ListSupplementalTaxRegistrationsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListSupplementalTaxRegistrationsCommand)
|
|
21
|
+
.de(de_ListSupplementalTaxRegistrationsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { PutSupplementalTaxRegistrationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_PutSupplementalTaxRegistrationCommand, se_PutSupplementalTaxRegistrationCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class PutSupplementalTaxRegistrationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("TaxSettings", "PutSupplementalTaxRegistration", {})
|
|
18
|
+
.n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand")
|
|
19
|
+
.f(PutSupplementalTaxRegistrationRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_PutSupplementalTaxRegistrationCommand)
|
|
21
|
+
.de(de_PutSupplementalTaxRegistrationCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from "./BatchDeleteTaxRegistrationCommand";
|
|
2
2
|
export * from "./BatchPutTaxRegistrationCommand";
|
|
3
|
+
export * from "./DeleteSupplementalTaxRegistrationCommand";
|
|
3
4
|
export * from "./DeleteTaxRegistrationCommand";
|
|
4
5
|
export * from "./GetTaxRegistrationCommand";
|
|
5
6
|
export * from "./GetTaxRegistrationDocumentCommand";
|
|
7
|
+
export * from "./ListSupplementalTaxRegistrationsCommand";
|
|
6
8
|
export * from "./ListTaxRegistrationsCommand";
|
|
9
|
+
export * from "./PutSupplementalTaxRegistrationCommand";
|
|
7
10
|
export * from "./PutTaxRegistrationCommand";
|
|
@@ -53,7 +53,9 @@ export const TaxRegistrationType = {
|
|
|
53
53
|
CNPJ: "CNPJ",
|
|
54
54
|
CPF: "CPF",
|
|
55
55
|
GST: "GST",
|
|
56
|
+
NRIC: "NRIC",
|
|
56
57
|
SST: "SST",
|
|
58
|
+
TIN: "TIN",
|
|
57
59
|
VAT: "VAT",
|
|
58
60
|
};
|
|
59
61
|
export const Sector = {
|
|
@@ -127,6 +129,9 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
127
129
|
this.errorCode = opts.errorCode;
|
|
128
130
|
}
|
|
129
131
|
}
|
|
132
|
+
export const SupplementalTaxRegistrationType = {
|
|
133
|
+
VAT: "VAT",
|
|
134
|
+
};
|
|
130
135
|
export const AccountMetaDataFilterSensitiveLog = (obj) => ({
|
|
131
136
|
...obj,
|
|
132
137
|
});
|
|
@@ -168,10 +173,24 @@ export const GetTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
|
|
|
168
173
|
...obj,
|
|
169
174
|
...(obj.taxRegistration && { taxRegistration: SENSITIVE_STRING }),
|
|
170
175
|
});
|
|
176
|
+
export const SupplementalTaxRegistrationFilterSensitiveLog = (obj) => ({
|
|
177
|
+
...obj,
|
|
178
|
+
});
|
|
179
|
+
export const ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
|
|
180
|
+
...obj,
|
|
181
|
+
...(obj.taxRegistrations && { taxRegistrations: SENSITIVE_STRING }),
|
|
182
|
+
});
|
|
171
183
|
export const ListTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
|
|
172
184
|
...obj,
|
|
173
185
|
...(obj.accountDetails && { accountDetails: SENSITIVE_STRING }),
|
|
174
186
|
});
|
|
187
|
+
export const SupplementalTaxRegistrationEntryFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
export const PutSupplementalTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
...(obj.taxRegistrationEntry && { taxRegistrationEntry: SENSITIVE_STRING }),
|
|
193
|
+
});
|
|
175
194
|
export const PutTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
176
195
|
...obj,
|
|
177
196
|
...(obj.taxRegistrationEntry && { taxRegistrationEntry: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSupplementalTaxRegistrationsCommand, } from "../commands/ListSupplementalTaxRegistrationsCommand";
|
|
3
|
+
import { TaxSettingsClient } from "../TaxSettingsClient";
|
|
4
|
+
export const paginateListSupplementalTaxRegistrations = createPaginator(TaxSettingsClient, ListSupplementalTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults");
|