@aws-sdk/client-taxsettings 3.682.0 → 3.686.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 +35 -35
|
@@ -78,26 +78,27 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
78
78
|
* </p>
|
|
79
79
|
* <ul>
|
|
80
80
|
* <li>
|
|
81
|
-
* <p>
|
|
82
|
-
* resellers with a valid sales and service tax (SST) number are required to provide tax
|
|
83
|
-
* registration information.</p>
|
|
81
|
+
* <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p>
|
|
84
82
|
* </li>
|
|
85
83
|
* <li>
|
|
86
|
-
* <p>
|
|
87
|
-
*
|
|
88
|
-
* Malaysia Customs Department (RMCD) and have a valid SST number.</p>
|
|
84
|
+
* <p>
|
|
85
|
+
* <code>RegistrationType</code> valid values are <code>NRIC</code> for individual, and TIN and sales and service tax (SST) for Business.</p>
|
|
89
86
|
* </li>
|
|
90
87
|
* <li>
|
|
91
|
-
* <p>
|
|
92
|
-
*
|
|
88
|
+
* <p>For individual, you can specify the <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with NRIC type, and a valid <code>MyKad</code> or NRIC number.</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>For business, you must specify a <code>businessRegistrationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a TIN type and tax identification number.</p>
|
|
93
92
|
* </li>
|
|
94
93
|
* <li>
|
|
95
|
-
* <p>
|
|
96
|
-
* this operation to set the TRN in Malaysia.</p>
|
|
94
|
+
* <p>For business resellers, you must specify a <code>businessRegistrationNumber</code> and <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a sales and service tax (SST) type and a valid SST number.</p>
|
|
97
95
|
* </li>
|
|
98
96
|
* <li>
|
|
99
|
-
* <p>
|
|
100
|
-
*
|
|
97
|
+
* <p>For business resellers with service codes, you must specify <code>businessRegistrationNumber</code>, <code>taxInformationNumber</code>, and distinct <code>serviceTaxCodes</code> in <code>MalaysiaAdditionalInfo</code> with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* <li>
|
|
100
|
+
* <p>Amazon Web Services reserves the right to seek additional information and/or take other actions to
|
|
101
|
+
* support your self-declaration as appropriate.</p>
|
|
101
102
|
* </li>
|
|
102
103
|
* <li>
|
|
103
104
|
* <p>Amazon Web Services is currently registered under the following service tax codes. You must include
|
|
@@ -218,7 +219,7 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
218
219
|
* accountId: "STRING_VALUE",
|
|
219
220
|
* taxRegistrationEntry: { // TaxRegistrationEntry
|
|
220
221
|
* registrationId: "STRING_VALUE", // required
|
|
221
|
-
* registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST", // required
|
|
222
|
+
* registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST" || "TIN" || "NRIC", // required
|
|
222
223
|
* legalName: "STRING_VALUE",
|
|
223
224
|
* legalAddress: { // Address
|
|
224
225
|
* addressLine1: "STRING_VALUE", // required
|
|
@@ -233,9 +234,11 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
233
234
|
* sector: "Business" || "Individual" || "Government",
|
|
234
235
|
* additionalTaxInformation: { // AdditionalInfoRequest
|
|
235
236
|
* malaysiaAdditionalInfo: { // MalaysiaAdditionalInfo
|
|
236
|
-
* serviceTaxCodes: [ // MalaysiaServiceTaxCodesList
|
|
237
|
+
* serviceTaxCodes: [ // MalaysiaServiceTaxCodesList
|
|
237
238
|
* "Consultancy" || "Digital Service And Electronic Medium" || "IT Services" || "Training Or Coaching",
|
|
238
239
|
* ],
|
|
240
|
+
* taxInformationNumber: "STRING_VALUE",
|
|
241
|
+
* businessRegistrationNumber: "STRING_VALUE",
|
|
239
242
|
* },
|
|
240
243
|
* israelAdditionalInfo: { // IsraelAdditionalInfo
|
|
241
244
|
* dealerType: "Authorized" || "Non-authorized", // required
|
|
@@ -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";
|
|
@@ -38,7 +38,7 @@ export interface Address {
|
|
|
38
38
|
*/
|
|
39
39
|
city: string | undefined;
|
|
40
40
|
/**
|
|
41
|
-
* <p>The state, region, or province that the address is located.</p>
|
|
41
|
+
* <p>The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.</p>
|
|
42
42
|
* <p>If this is required for tax settings, use the same name as shown on the <b>Tax Settings</b> page.</p>
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
@@ -198,7 +198,7 @@ export interface CanadaAdditionalInfo {
|
|
|
198
198
|
canadaQuebecSalesTaxNumber?: string;
|
|
199
199
|
/**
|
|
200
200
|
* <p>
|
|
201
|
-
* Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services for resale.
|
|
201
|
+
* Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services services for resale.
|
|
202
202
|
* </p>
|
|
203
203
|
* @public
|
|
204
204
|
*/
|
|
@@ -382,7 +382,24 @@ export interface MalaysiaAdditionalInfo {
|
|
|
382
382
|
* <p>List of service tax codes for your TRN in Malaysia.</p>
|
|
383
383
|
* @public
|
|
384
384
|
*/
|
|
385
|
-
serviceTaxCodes
|
|
385
|
+
serviceTaxCodes?: MalaysiaServiceTaxCode[];
|
|
386
|
+
/**
|
|
387
|
+
* <p>The tax information number in Malaysia.
|
|
388
|
+
* </p>
|
|
389
|
+
* <p>For individual, you can specify the <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with NRIC type, and a valid MyKad or NRIC number. For business resellers, you must specify a <code>businessRegistrationNumber</code> and <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a sales and service tax (SST) type and a valid SST number.
|
|
390
|
+
* </p>
|
|
391
|
+
* <p>For business resellers with service codes, you must specify <code>businessRegistrationNumber</code>, <code>taxInformationNumber</code>, and distinct <code>serviceTaxCodes</code> in <code>MalaysiaAdditionalInfo</code> with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.</p>
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
taxInformationNumber?: string;
|
|
395
|
+
/**
|
|
396
|
+
* <p>The tax registration number (TRN) in Malaysia. </p>
|
|
397
|
+
* <p>For individual, you can specify the <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with NRIC type, and a valid MyKad or NRIC number. For business, you must specify a <code>businessRegistrationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a TIN type and tax identification number. For business resellers, you must specify a <code>businessRegistrationNumber</code> and <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a sales and service tax (SST) type and a valid SST number.
|
|
398
|
+
* </p>
|
|
399
|
+
* <p>For business resellers with service codes, you must specify <code>businessRegistrationNumber</code>, <code>taxInformationNumber</code>, and distinct <code>serviceTaxCodes</code> in <code>MalaysiaAdditionalInfo</code> with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.</p>
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
businessRegistrationNumber?: string;
|
|
386
403
|
}
|
|
387
404
|
/**
|
|
388
405
|
* <p>
|
|
@@ -687,7 +704,9 @@ export declare const TaxRegistrationType: {
|
|
|
687
704
|
readonly CNPJ: "CNPJ";
|
|
688
705
|
readonly CPF: "CPF";
|
|
689
706
|
readonly GST: "GST";
|
|
707
|
+
readonly NRIC: "NRIC";
|
|
690
708
|
readonly SST: "SST";
|
|
709
|
+
readonly TIN: "TIN";
|
|
691
710
|
readonly VAT: "VAT";
|
|
692
711
|
};
|
|
693
712
|
/**
|
|
@@ -1217,19 +1236,19 @@ export interface BatchPutTaxRegistrationResponse {
|
|
|
1217
1236
|
/**
|
|
1218
1237
|
* @public
|
|
1219
1238
|
*/
|
|
1220
|
-
export interface
|
|
1239
|
+
export interface DeleteSupplementalTaxRegistrationRequest {
|
|
1221
1240
|
/**
|
|
1222
|
-
* <p>
|
|
1223
|
-
*
|
|
1224
|
-
*
|
|
1241
|
+
* <p>
|
|
1242
|
+
* The unique authority Id for the supplemental TRN information that needs to be deleted.
|
|
1243
|
+
* </p>
|
|
1225
1244
|
* @public
|
|
1226
1245
|
*/
|
|
1227
|
-
|
|
1246
|
+
authorityId: string | undefined;
|
|
1228
1247
|
}
|
|
1229
1248
|
/**
|
|
1230
1249
|
* @public
|
|
1231
1250
|
*/
|
|
1232
|
-
export interface
|
|
1251
|
+
export interface DeleteSupplementalTaxRegistrationResponse {
|
|
1233
1252
|
}
|
|
1234
1253
|
/**
|
|
1235
1254
|
* <p>The exception thrown when the input doesn't have a resource associated to it.</p>
|
|
@@ -1248,6 +1267,23 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
1248
1267
|
*/
|
|
1249
1268
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1250
1269
|
}
|
|
1270
|
+
/**
|
|
1271
|
+
* @public
|
|
1272
|
+
*/
|
|
1273
|
+
export interface DeleteTaxRegistrationRequest {
|
|
1274
|
+
/**
|
|
1275
|
+
* <p>Unique account identifier for the TRN information that needs to be deleted. If this isn't
|
|
1276
|
+
* passed, the account ID corresponding to the credentials of the API caller will be used for
|
|
1277
|
+
* this parameter.</p>
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1280
|
+
accountId?: string;
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
* @public
|
|
1284
|
+
*/
|
|
1285
|
+
export interface DeleteTaxRegistrationResponse {
|
|
1286
|
+
}
|
|
1251
1287
|
/**
|
|
1252
1288
|
* <p>The location of the Amazon S3 bucket that you specify to download your tax documents to.</p>
|
|
1253
1289
|
* @public
|
|
@@ -1363,6 +1399,103 @@ export interface GetTaxRegistrationDocumentResponse {
|
|
|
1363
1399
|
*/
|
|
1364
1400
|
destinationFilePath?: string;
|
|
1365
1401
|
}
|
|
1402
|
+
/**
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
export interface ListSupplementalTaxRegistrationsRequest {
|
|
1406
|
+
/**
|
|
1407
|
+
* <p>
|
|
1408
|
+
* The number of <code>taxRegistrations</code> results you want in one response.
|
|
1409
|
+
* </p>
|
|
1410
|
+
* @public
|
|
1411
|
+
*/
|
|
1412
|
+
maxResults?: number;
|
|
1413
|
+
/**
|
|
1414
|
+
* <p>
|
|
1415
|
+
* The token to retrieve the next set of results.
|
|
1416
|
+
* </p>
|
|
1417
|
+
* @public
|
|
1418
|
+
*/
|
|
1419
|
+
nextToken?: string;
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* @public
|
|
1423
|
+
* @enum
|
|
1424
|
+
*/
|
|
1425
|
+
export declare const SupplementalTaxRegistrationType: {
|
|
1426
|
+
readonly VAT: "VAT";
|
|
1427
|
+
};
|
|
1428
|
+
/**
|
|
1429
|
+
* @public
|
|
1430
|
+
*/
|
|
1431
|
+
export type SupplementalTaxRegistrationType = (typeof SupplementalTaxRegistrationType)[keyof typeof SupplementalTaxRegistrationType];
|
|
1432
|
+
/**
|
|
1433
|
+
* <p>
|
|
1434
|
+
* Supplemental TRN details.
|
|
1435
|
+
* </p>
|
|
1436
|
+
* @public
|
|
1437
|
+
*/
|
|
1438
|
+
export interface SupplementalTaxRegistration {
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>
|
|
1441
|
+
* The supplemental TRN unique identifier.
|
|
1442
|
+
* </p>
|
|
1443
|
+
* @public
|
|
1444
|
+
*/
|
|
1445
|
+
registrationId: string | undefined;
|
|
1446
|
+
/**
|
|
1447
|
+
* <p>
|
|
1448
|
+
* Type of supplemental TRN. Currently, this can only be VAT.
|
|
1449
|
+
* </p>
|
|
1450
|
+
* @public
|
|
1451
|
+
*/
|
|
1452
|
+
registrationType: SupplementalTaxRegistrationType | undefined;
|
|
1453
|
+
/**
|
|
1454
|
+
* <p>
|
|
1455
|
+
* The legal name associated with your TRN registration.
|
|
1456
|
+
* </p>
|
|
1457
|
+
* @public
|
|
1458
|
+
*/
|
|
1459
|
+
legalName: string | undefined;
|
|
1460
|
+
/**
|
|
1461
|
+
* <p> The details of the address associated with the TRN information. </p>
|
|
1462
|
+
* @public
|
|
1463
|
+
*/
|
|
1464
|
+
address: Address | undefined;
|
|
1465
|
+
/**
|
|
1466
|
+
* <p>
|
|
1467
|
+
* Unique authority ID for the supplemental TRN.
|
|
1468
|
+
* </p>
|
|
1469
|
+
* @public
|
|
1470
|
+
*/
|
|
1471
|
+
authorityId: string | undefined;
|
|
1472
|
+
/**
|
|
1473
|
+
* <p>
|
|
1474
|
+
* The status of your TRN.
|
|
1475
|
+
* </p>
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
status: TaxRegistrationStatus | undefined;
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
export interface ListSupplementalTaxRegistrationsResponse {
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>
|
|
1486
|
+
* The list of supplemental tax registrations.
|
|
1487
|
+
* </p>
|
|
1488
|
+
* @public
|
|
1489
|
+
*/
|
|
1490
|
+
taxRegistrations: SupplementalTaxRegistration[] | undefined;
|
|
1491
|
+
/**
|
|
1492
|
+
* <p>
|
|
1493
|
+
* The token to retrieve the next set of results.
|
|
1494
|
+
* </p>
|
|
1495
|
+
* @public
|
|
1496
|
+
*/
|
|
1497
|
+
nextToken?: string;
|
|
1498
|
+
}
|
|
1366
1499
|
/**
|
|
1367
1500
|
* @public
|
|
1368
1501
|
*/
|
|
@@ -1394,6 +1527,71 @@ export interface ListTaxRegistrationsResponse {
|
|
|
1394
1527
|
*/
|
|
1395
1528
|
nextToken?: string;
|
|
1396
1529
|
}
|
|
1530
|
+
/**
|
|
1531
|
+
* <p>
|
|
1532
|
+
* The supplemental TRN information to provide when adding or updating a supplemental TRN.
|
|
1533
|
+
* </p>
|
|
1534
|
+
* @public
|
|
1535
|
+
*/
|
|
1536
|
+
export interface SupplementalTaxRegistrationEntry {
|
|
1537
|
+
/**
|
|
1538
|
+
* <p>
|
|
1539
|
+
* The supplemental TRN unique identifier.
|
|
1540
|
+
* </p>
|
|
1541
|
+
* @public
|
|
1542
|
+
*/
|
|
1543
|
+
registrationId: string | undefined;
|
|
1544
|
+
/**
|
|
1545
|
+
* <p>
|
|
1546
|
+
* Type of supplemental TRN. Currently, this can only be VAT.
|
|
1547
|
+
* </p>
|
|
1548
|
+
* @public
|
|
1549
|
+
*/
|
|
1550
|
+
registrationType: SupplementalTaxRegistrationType | undefined;
|
|
1551
|
+
/**
|
|
1552
|
+
* <p>
|
|
1553
|
+
* The legal name associated with your TRN registration.
|
|
1554
|
+
* </p>
|
|
1555
|
+
* @public
|
|
1556
|
+
*/
|
|
1557
|
+
legalName: string | undefined;
|
|
1558
|
+
/**
|
|
1559
|
+
* <p> The details of the address associated with the TRN information. </p>
|
|
1560
|
+
* @public
|
|
1561
|
+
*/
|
|
1562
|
+
address: Address | undefined;
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* @public
|
|
1566
|
+
*/
|
|
1567
|
+
export interface PutSupplementalTaxRegistrationRequest {
|
|
1568
|
+
/**
|
|
1569
|
+
* <p>
|
|
1570
|
+
* The supplemental TRN information that will be stored for the caller account ID.
|
|
1571
|
+
* </p>
|
|
1572
|
+
* @public
|
|
1573
|
+
*/
|
|
1574
|
+
taxRegistrationEntry: SupplementalTaxRegistrationEntry | undefined;
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* @public
|
|
1578
|
+
*/
|
|
1579
|
+
export interface PutSupplementalTaxRegistrationResponse {
|
|
1580
|
+
/**
|
|
1581
|
+
* <p>
|
|
1582
|
+
* Unique authority ID for the supplemental TRN information that was stored.
|
|
1583
|
+
* </p>
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
authorityId: string | undefined;
|
|
1587
|
+
/**
|
|
1588
|
+
* <p>
|
|
1589
|
+
* The status of the supplemental TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be <code>Verified</code>, <code>Pending</code>, <code>Rejected</code>, or <code>Deleted</code>.
|
|
1590
|
+
* </p>
|
|
1591
|
+
* @public
|
|
1592
|
+
*/
|
|
1593
|
+
status: TaxRegistrationStatus | undefined;
|
|
1594
|
+
}
|
|
1397
1595
|
/**
|
|
1398
1596
|
* @public
|
|
1399
1597
|
*/
|
|
@@ -1466,10 +1664,26 @@ export declare const TaxRegistrationFilterSensitiveLog: (obj: TaxRegistration) =
|
|
|
1466
1664
|
* @internal
|
|
1467
1665
|
*/
|
|
1468
1666
|
export declare const GetTaxRegistrationResponseFilterSensitiveLog: (obj: GetTaxRegistrationResponse) => any;
|
|
1667
|
+
/**
|
|
1668
|
+
* @internal
|
|
1669
|
+
*/
|
|
1670
|
+
export declare const SupplementalTaxRegistrationFilterSensitiveLog: (obj: SupplementalTaxRegistration) => any;
|
|
1671
|
+
/**
|
|
1672
|
+
* @internal
|
|
1673
|
+
*/
|
|
1674
|
+
export declare const ListSupplementalTaxRegistrationsResponseFilterSensitiveLog: (obj: ListSupplementalTaxRegistrationsResponse) => any;
|
|
1469
1675
|
/**
|
|
1470
1676
|
* @internal
|
|
1471
1677
|
*/
|
|
1472
1678
|
export declare const ListTaxRegistrationsResponseFilterSensitiveLog: (obj: ListTaxRegistrationsResponse) => any;
|
|
1679
|
+
/**
|
|
1680
|
+
* @internal
|
|
1681
|
+
*/
|
|
1682
|
+
export declare const SupplementalTaxRegistrationEntryFilterSensitiveLog: (obj: SupplementalTaxRegistrationEntry) => any;
|
|
1683
|
+
/**
|
|
1684
|
+
* @internal
|
|
1685
|
+
*/
|
|
1686
|
+
export declare const PutSupplementalTaxRegistrationRequestFilterSensitiveLog: (obj: PutSupplementalTaxRegistrationRequest) => any;
|
|
1473
1687
|
/**
|
|
1474
1688
|
* @internal
|
|
1475
1689
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListSupplementalTaxRegistrationsCommandInput, ListSupplementalTaxRegistrationsCommandOutput } from "../commands/ListSupplementalTaxRegistrationsCommand";
|
|
3
|
+
import { TaxSettingsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListSupplementalTaxRegistrations: (config: TaxSettingsPaginationConfiguration, input: ListSupplementalTaxRegistrationsCommandInput, ...rest: any[]) => Paginator<ListSupplementalTaxRegistrationsCommandOutput>;
|
|
@@ -2,10 +2,13 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { BatchDeleteTaxRegistrationCommandInput, BatchDeleteTaxRegistrationCommandOutput } from "../commands/BatchDeleteTaxRegistrationCommand";
|
|
4
4
|
import { BatchPutTaxRegistrationCommandInput, BatchPutTaxRegistrationCommandOutput } from "../commands/BatchPutTaxRegistrationCommand";
|
|
5
|
+
import { DeleteSupplementalTaxRegistrationCommandInput, DeleteSupplementalTaxRegistrationCommandOutput } from "../commands/DeleteSupplementalTaxRegistrationCommand";
|
|
5
6
|
import { DeleteTaxRegistrationCommandInput, DeleteTaxRegistrationCommandOutput } from "../commands/DeleteTaxRegistrationCommand";
|
|
6
7
|
import { GetTaxRegistrationCommandInput, GetTaxRegistrationCommandOutput } from "../commands/GetTaxRegistrationCommand";
|
|
7
8
|
import { GetTaxRegistrationDocumentCommandInput, GetTaxRegistrationDocumentCommandOutput } from "../commands/GetTaxRegistrationDocumentCommand";
|
|
9
|
+
import { ListSupplementalTaxRegistrationsCommandInput, ListSupplementalTaxRegistrationsCommandOutput } from "../commands/ListSupplementalTaxRegistrationsCommand";
|
|
8
10
|
import { ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput } from "../commands/ListTaxRegistrationsCommand";
|
|
11
|
+
import { PutSupplementalTaxRegistrationCommandInput, PutSupplementalTaxRegistrationCommandOutput } from "../commands/PutSupplementalTaxRegistrationCommand";
|
|
9
12
|
import { PutTaxRegistrationCommandInput, PutTaxRegistrationCommandOutput } from "../commands/PutTaxRegistrationCommand";
|
|
10
13
|
/**
|
|
11
14
|
* serializeAws_restJson1BatchDeleteTaxRegistrationCommand
|
|
@@ -15,6 +18,10 @@ export declare const se_BatchDeleteTaxRegistrationCommand: (input: BatchDeleteTa
|
|
|
15
18
|
* serializeAws_restJson1BatchPutTaxRegistrationCommand
|
|
16
19
|
*/
|
|
17
20
|
export declare const se_BatchPutTaxRegistrationCommand: (input: BatchPutTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
/**
|
|
22
|
+
* serializeAws_restJson1DeleteSupplementalTaxRegistrationCommand
|
|
23
|
+
*/
|
|
24
|
+
export declare const se_DeleteSupplementalTaxRegistrationCommand: (input: DeleteSupplementalTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
25
|
/**
|
|
19
26
|
* serializeAws_restJson1DeleteTaxRegistrationCommand
|
|
20
27
|
*/
|
|
@@ -27,10 +34,18 @@ export declare const se_GetTaxRegistrationCommand: (input: GetTaxRegistrationCom
|
|
|
27
34
|
* serializeAws_restJson1GetTaxRegistrationDocumentCommand
|
|
28
35
|
*/
|
|
29
36
|
export declare const se_GetTaxRegistrationDocumentCommand: (input: GetTaxRegistrationDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
|
+
/**
|
|
38
|
+
* serializeAws_restJson1ListSupplementalTaxRegistrationsCommand
|
|
39
|
+
*/
|
|
40
|
+
export declare const se_ListSupplementalTaxRegistrationsCommand: (input: ListSupplementalTaxRegistrationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
41
|
/**
|
|
31
42
|
* serializeAws_restJson1ListTaxRegistrationsCommand
|
|
32
43
|
*/
|
|
33
44
|
export declare const se_ListTaxRegistrationsCommand: (input: ListTaxRegistrationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
|
+
/**
|
|
46
|
+
* serializeAws_restJson1PutSupplementalTaxRegistrationCommand
|
|
47
|
+
*/
|
|
48
|
+
export declare const se_PutSupplementalTaxRegistrationCommand: (input: PutSupplementalTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
49
|
/**
|
|
35
50
|
* serializeAws_restJson1PutTaxRegistrationCommand
|
|
36
51
|
*/
|
|
@@ -43,6 +58,10 @@ export declare const de_BatchDeleteTaxRegistrationCommand: (output: __HttpRespon
|
|
|
43
58
|
* deserializeAws_restJson1BatchPutTaxRegistrationCommand
|
|
44
59
|
*/
|
|
45
60
|
export declare const de_BatchPutTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutTaxRegistrationCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* deserializeAws_restJson1DeleteSupplementalTaxRegistrationCommand
|
|
63
|
+
*/
|
|
64
|
+
export declare const de_DeleteSupplementalTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSupplementalTaxRegistrationCommandOutput>;
|
|
46
65
|
/**
|
|
47
66
|
* deserializeAws_restJson1DeleteTaxRegistrationCommand
|
|
48
67
|
*/
|
|
@@ -55,10 +74,18 @@ export declare const de_GetTaxRegistrationCommand: (output: __HttpResponse, cont
|
|
|
55
74
|
* deserializeAws_restJson1GetTaxRegistrationDocumentCommand
|
|
56
75
|
*/
|
|
57
76
|
export declare const de_GetTaxRegistrationDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaxRegistrationDocumentCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* deserializeAws_restJson1ListSupplementalTaxRegistrationsCommand
|
|
79
|
+
*/
|
|
80
|
+
export declare const de_ListSupplementalTaxRegistrationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSupplementalTaxRegistrationsCommandOutput>;
|
|
58
81
|
/**
|
|
59
82
|
* deserializeAws_restJson1ListTaxRegistrationsCommand
|
|
60
83
|
*/
|
|
61
84
|
export declare const de_ListTaxRegistrationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTaxRegistrationsCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* deserializeAws_restJson1PutSupplementalTaxRegistrationCommand
|
|
87
|
+
*/
|
|
88
|
+
export declare const de_PutSupplementalTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutSupplementalTaxRegistrationCommandOutput>;
|
|
62
89
|
/**
|
|
63
90
|
* deserializeAws_restJson1PutTaxRegistrationCommand
|
|
64
91
|
*/
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
BatchPutTaxRegistrationCommandInput,
|
|
8
8
|
BatchPutTaxRegistrationCommandOutput,
|
|
9
9
|
} from "./commands/BatchPutTaxRegistrationCommand";
|
|
10
|
+
import {
|
|
11
|
+
DeleteSupplementalTaxRegistrationCommandInput,
|
|
12
|
+
DeleteSupplementalTaxRegistrationCommandOutput,
|
|
13
|
+
} from "./commands/DeleteSupplementalTaxRegistrationCommand";
|
|
10
14
|
import {
|
|
11
15
|
DeleteTaxRegistrationCommandInput,
|
|
12
16
|
DeleteTaxRegistrationCommandOutput,
|
|
@@ -19,10 +23,18 @@ import {
|
|
|
19
23
|
GetTaxRegistrationDocumentCommandInput,
|
|
20
24
|
GetTaxRegistrationDocumentCommandOutput,
|
|
21
25
|
} from "./commands/GetTaxRegistrationDocumentCommand";
|
|
26
|
+
import {
|
|
27
|
+
ListSupplementalTaxRegistrationsCommandInput,
|
|
28
|
+
ListSupplementalTaxRegistrationsCommandOutput,
|
|
29
|
+
} from "./commands/ListSupplementalTaxRegistrationsCommand";
|
|
22
30
|
import {
|
|
23
31
|
ListTaxRegistrationsCommandInput,
|
|
24
32
|
ListTaxRegistrationsCommandOutput,
|
|
25
33
|
} from "./commands/ListTaxRegistrationsCommand";
|
|
34
|
+
import {
|
|
35
|
+
PutSupplementalTaxRegistrationCommandInput,
|
|
36
|
+
PutSupplementalTaxRegistrationCommandOutput,
|
|
37
|
+
} from "./commands/PutSupplementalTaxRegistrationCommand";
|
|
26
38
|
import {
|
|
27
39
|
PutTaxRegistrationCommandInput,
|
|
28
40
|
PutTaxRegistrationCommandOutput,
|
|
@@ -55,6 +67,25 @@ export interface TaxSettings {
|
|
|
55
67
|
options: __HttpHandlerOptions,
|
|
56
68
|
cb: (err: any, data?: BatchPutTaxRegistrationCommandOutput) => void
|
|
57
69
|
): void;
|
|
70
|
+
deleteSupplementalTaxRegistration(
|
|
71
|
+
args: DeleteSupplementalTaxRegistrationCommandInput,
|
|
72
|
+
options?: __HttpHandlerOptions
|
|
73
|
+
): Promise<DeleteSupplementalTaxRegistrationCommandOutput>;
|
|
74
|
+
deleteSupplementalTaxRegistration(
|
|
75
|
+
args: DeleteSupplementalTaxRegistrationCommandInput,
|
|
76
|
+
cb: (
|
|
77
|
+
err: any,
|
|
78
|
+
data?: DeleteSupplementalTaxRegistrationCommandOutput
|
|
79
|
+
) => void
|
|
80
|
+
): void;
|
|
81
|
+
deleteSupplementalTaxRegistration(
|
|
82
|
+
args: DeleteSupplementalTaxRegistrationCommandInput,
|
|
83
|
+
options: __HttpHandlerOptions,
|
|
84
|
+
cb: (
|
|
85
|
+
err: any,
|
|
86
|
+
data?: DeleteSupplementalTaxRegistrationCommandOutput
|
|
87
|
+
) => void
|
|
88
|
+
): void;
|
|
58
89
|
deleteTaxRegistration(): Promise<DeleteTaxRegistrationCommandOutput>;
|
|
59
90
|
deleteTaxRegistration(
|
|
60
91
|
args: DeleteTaxRegistrationCommandInput,
|
|
@@ -96,6 +127,20 @@ export interface TaxSettings {
|
|
|
96
127
|
options: __HttpHandlerOptions,
|
|
97
128
|
cb: (err: any, data?: GetTaxRegistrationDocumentCommandOutput) => void
|
|
98
129
|
): void;
|
|
130
|
+
listSupplementalTaxRegistrations(): Promise<ListSupplementalTaxRegistrationsCommandOutput>;
|
|
131
|
+
listSupplementalTaxRegistrations(
|
|
132
|
+
args: ListSupplementalTaxRegistrationsCommandInput,
|
|
133
|
+
options?: __HttpHandlerOptions
|
|
134
|
+
): Promise<ListSupplementalTaxRegistrationsCommandOutput>;
|
|
135
|
+
listSupplementalTaxRegistrations(
|
|
136
|
+
args: ListSupplementalTaxRegistrationsCommandInput,
|
|
137
|
+
cb: (err: any, data?: ListSupplementalTaxRegistrationsCommandOutput) => void
|
|
138
|
+
): void;
|
|
139
|
+
listSupplementalTaxRegistrations(
|
|
140
|
+
args: ListSupplementalTaxRegistrationsCommandInput,
|
|
141
|
+
options: __HttpHandlerOptions,
|
|
142
|
+
cb: (err: any, data?: ListSupplementalTaxRegistrationsCommandOutput) => void
|
|
143
|
+
): void;
|
|
99
144
|
listTaxRegistrations(): Promise<ListTaxRegistrationsCommandOutput>;
|
|
100
145
|
listTaxRegistrations(
|
|
101
146
|
args: ListTaxRegistrationsCommandInput,
|
|
@@ -110,6 +155,19 @@ export interface TaxSettings {
|
|
|
110
155
|
options: __HttpHandlerOptions,
|
|
111
156
|
cb: (err: any, data?: ListTaxRegistrationsCommandOutput) => void
|
|
112
157
|
): void;
|
|
158
|
+
putSupplementalTaxRegistration(
|
|
159
|
+
args: PutSupplementalTaxRegistrationCommandInput,
|
|
160
|
+
options?: __HttpHandlerOptions
|
|
161
|
+
): Promise<PutSupplementalTaxRegistrationCommandOutput>;
|
|
162
|
+
putSupplementalTaxRegistration(
|
|
163
|
+
args: PutSupplementalTaxRegistrationCommandInput,
|
|
164
|
+
cb: (err: any, data?: PutSupplementalTaxRegistrationCommandOutput) => void
|
|
165
|
+
): void;
|
|
166
|
+
putSupplementalTaxRegistration(
|
|
167
|
+
args: PutSupplementalTaxRegistrationCommandInput,
|
|
168
|
+
options: __HttpHandlerOptions,
|
|
169
|
+
cb: (err: any, data?: PutSupplementalTaxRegistrationCommandOutput) => void
|
|
170
|
+
): void;
|
|
113
171
|
putTaxRegistration(
|
|
114
172
|
args: PutTaxRegistrationCommandInput,
|
|
115
173
|
options?: __HttpHandlerOptions
|
|
@@ -53,6 +53,10 @@ import {
|
|
|
53
53
|
BatchPutTaxRegistrationCommandInput,
|
|
54
54
|
BatchPutTaxRegistrationCommandOutput,
|
|
55
55
|
} from "./commands/BatchPutTaxRegistrationCommand";
|
|
56
|
+
import {
|
|
57
|
+
DeleteSupplementalTaxRegistrationCommandInput,
|
|
58
|
+
DeleteSupplementalTaxRegistrationCommandOutput,
|
|
59
|
+
} from "./commands/DeleteSupplementalTaxRegistrationCommand";
|
|
56
60
|
import {
|
|
57
61
|
DeleteTaxRegistrationCommandInput,
|
|
58
62
|
DeleteTaxRegistrationCommandOutput,
|
|
@@ -65,10 +69,18 @@ import {
|
|
|
65
69
|
GetTaxRegistrationDocumentCommandInput,
|
|
66
70
|
GetTaxRegistrationDocumentCommandOutput,
|
|
67
71
|
} from "./commands/GetTaxRegistrationDocumentCommand";
|
|
72
|
+
import {
|
|
73
|
+
ListSupplementalTaxRegistrationsCommandInput,
|
|
74
|
+
ListSupplementalTaxRegistrationsCommandOutput,
|
|
75
|
+
} from "./commands/ListSupplementalTaxRegistrationsCommand";
|
|
68
76
|
import {
|
|
69
77
|
ListTaxRegistrationsCommandInput,
|
|
70
78
|
ListTaxRegistrationsCommandOutput,
|
|
71
79
|
} from "./commands/ListTaxRegistrationsCommand";
|
|
80
|
+
import {
|
|
81
|
+
PutSupplementalTaxRegistrationCommandInput,
|
|
82
|
+
PutSupplementalTaxRegistrationCommandOutput,
|
|
83
|
+
} from "./commands/PutSupplementalTaxRegistrationCommand";
|
|
72
84
|
import {
|
|
73
85
|
PutTaxRegistrationCommandInput,
|
|
74
86
|
PutTaxRegistrationCommandOutput,
|
|
@@ -83,18 +95,24 @@ export { __Client };
|
|
|
83
95
|
export type ServiceInputTypes =
|
|
84
96
|
| BatchDeleteTaxRegistrationCommandInput
|
|
85
97
|
| BatchPutTaxRegistrationCommandInput
|
|
98
|
+
| DeleteSupplementalTaxRegistrationCommandInput
|
|
86
99
|
| DeleteTaxRegistrationCommandInput
|
|
87
100
|
| GetTaxRegistrationCommandInput
|
|
88
101
|
| GetTaxRegistrationDocumentCommandInput
|
|
102
|
+
| ListSupplementalTaxRegistrationsCommandInput
|
|
89
103
|
| ListTaxRegistrationsCommandInput
|
|
104
|
+
| PutSupplementalTaxRegistrationCommandInput
|
|
90
105
|
| PutTaxRegistrationCommandInput;
|
|
91
106
|
export type ServiceOutputTypes =
|
|
92
107
|
| BatchDeleteTaxRegistrationCommandOutput
|
|
93
108
|
| BatchPutTaxRegistrationCommandOutput
|
|
109
|
+
| DeleteSupplementalTaxRegistrationCommandOutput
|
|
94
110
|
| DeleteTaxRegistrationCommandOutput
|
|
95
111
|
| GetTaxRegistrationCommandOutput
|
|
96
112
|
| GetTaxRegistrationDocumentCommandOutput
|
|
113
|
+
| ListSupplementalTaxRegistrationsCommandOutput
|
|
97
114
|
| ListTaxRegistrationsCommandOutput
|
|
115
|
+
| PutSupplementalTaxRegistrationCommandOutput
|
|
98
116
|
| PutTaxRegistrationCommandOutput;
|
|
99
117
|
export interface ClientDefaults
|
|
100
118
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DeleteSupplementalTaxRegistrationRequest,
|
|
5
|
+
DeleteSupplementalTaxRegistrationResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
TaxSettingsClientResolvedConfig,
|
|
11
|
+
} from "../TaxSettingsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteSupplementalTaxRegistrationCommandInput
|
|
15
|
+
extends DeleteSupplementalTaxRegistrationRequest {}
|
|
16
|
+
export interface DeleteSupplementalTaxRegistrationCommandOutput
|
|
17
|
+
extends DeleteSupplementalTaxRegistrationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteSupplementalTaxRegistrationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteSupplementalTaxRegistrationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteSupplementalTaxRegistrationCommandInput,
|
|
24
|
+
DeleteSupplementalTaxRegistrationCommandOutput,
|
|
25
|
+
TaxSettingsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: DeleteSupplementalTaxRegistrationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteSupplementalTaxRegistrationCommandInput,
|
|
33
|
+
DeleteSupplementalTaxRegistrationCommandOutput,
|
|
34
|
+
TaxSettingsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteSupplementalTaxRegistrationCommand extends DeleteSupplementalTaxRegistrationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteSupplementalTaxRegistrationRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteSupplementalTaxRegistrationCommandInput;
|
|
48
|
+
output: DeleteSupplementalTaxRegistrationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|