@aws-sdk/client-taxsettings 3.1063.0 → 3.1064.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 +1 -12
- package/dist-cjs/index.js +20 -0
- package/dist-cjs/schemas/schemas_0.js +54 -20
- package/dist-es/models/enums.js +17 -0
- package/dist-es/schemas/schemas_0.js +51 -17
- package/dist-types/TaxSettings.d.ts +1 -12
- package/dist-types/TaxSettingsClient.d.ts +1 -12
- package/dist-types/commands/BatchDeleteTaxRegistrationCommand.d.ts +2 -7
- package/dist-types/commands/BatchGetTaxExemptionsCommand.d.ts +2 -4
- package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +21 -211
- package/dist-types/commands/DeleteSupplementalTaxRegistrationCommand.d.ts +2 -5
- package/dist-types/commands/DeleteTaxRegistrationCommand.d.ts +2 -6
- package/dist-types/commands/GetTaxExemptionTypesCommand.d.ts +2 -4
- package/dist-types/commands/GetTaxInheritanceCommand.d.ts +2 -4
- package/dist-types/commands/GetTaxRegistrationCommand.d.ts +20 -5
- package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +2 -4
- package/dist-types/commands/ListSupplementalTaxRegistrationsCommand.d.ts +4 -7
- package/dist-types/commands/ListTaxExemptionsCommand.d.ts +1 -2
- package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +21 -8
- package/dist-types/commands/PutSupplementalTaxRegistrationCommand.d.ts +4 -7
- package/dist-types/commands/PutTaxExemptionCommand.d.ts +5 -10
- package/dist-types/commands/PutTaxInheritanceCommand.d.ts +2 -4
- package/dist-types/commands/PutTaxRegistrationCommand.d.ts +21 -210
- package/dist-types/index.d.ts +1 -12
- package/dist-types/models/enums.d.ts +41 -0
- package/dist-types/models/errors.d.ts +4 -8
- package/dist-types/models/models_0.d.ts +267 -445
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +5 -5
|
@@ -28,8 +28,10 @@ export declare var BatchGetTaxExemptionsResponse$: StaticStructureSchema;
|
|
|
28
28
|
export declare var BatchPutTaxRegistrationError$: StaticStructureSchema;
|
|
29
29
|
export declare var BatchPutTaxRegistrationRequest$: StaticStructureSchema;
|
|
30
30
|
export declare var BatchPutTaxRegistrationResponse$: StaticStructureSchema;
|
|
31
|
+
export declare var BelgiumAdditionalInfo$: StaticStructureSchema;
|
|
31
32
|
export declare var BrazilAdditionalInfo$: StaticStructureSchema;
|
|
32
33
|
export declare var CanadaAdditionalInfo$: StaticStructureSchema;
|
|
34
|
+
export declare var ChileAdditionalInfo$: StaticStructureSchema;
|
|
33
35
|
export declare var DeleteSupplementalTaxRegistrationRequest$: StaticStructureSchema;
|
|
34
36
|
export declare var DeleteSupplementalTaxRegistrationResponse$: StaticStructureSchema;
|
|
35
37
|
export declare var DeleteTaxRegistrationRequest$: StaticStructureSchema;
|
|
@@ -38,6 +40,7 @@ export declare var DestinationS3Location$: StaticStructureSchema;
|
|
|
38
40
|
export declare var EgyptAdditionalInfo$: StaticStructureSchema;
|
|
39
41
|
export declare var EstoniaAdditionalInfo$: StaticStructureSchema;
|
|
40
42
|
export declare var ExemptionCertificate$: StaticStructureSchema;
|
|
43
|
+
export declare var FranceAdditionalInfo$: StaticStructureSchema;
|
|
41
44
|
export declare var GeorgiaAdditionalInfo$: StaticStructureSchema;
|
|
42
45
|
export declare var GetTaxExemptionTypesRequest$: StaticStructureSchema;
|
|
43
46
|
export declare var GetTaxExemptionTypesResponse$: StaticStructureSchema;
|
|
@@ -61,6 +64,7 @@ export declare var ListTaxExemptionsResponse$: StaticStructureSchema;
|
|
|
61
64
|
export declare var ListTaxRegistrationsRequest$: StaticStructureSchema;
|
|
62
65
|
export declare var ListTaxRegistrationsResponse$: StaticStructureSchema;
|
|
63
66
|
export declare var MalaysiaAdditionalInfo$: StaticStructureSchema;
|
|
67
|
+
export declare var PhilippinesAdditionalInfo$: StaticStructureSchema;
|
|
64
68
|
export declare var PolandAdditionalInfo$: StaticStructureSchema;
|
|
65
69
|
export declare var PutSupplementalTaxRegistrationRequest$: StaticStructureSchema;
|
|
66
70
|
export declare var PutSupplementalTaxRegistrationResponse$: StaticStructureSchema;
|
|
@@ -5,6 +5,12 @@ export declare const AddressRoleType: {
|
|
|
5
5
|
};
|
|
6
6
|
export type AddressRoleType =
|
|
7
7
|
(typeof AddressRoleType)[keyof typeof AddressRoleType];
|
|
8
|
+
export declare const ChileDocumentType: {
|
|
9
|
+
readonly INVOICE: "Invoice";
|
|
10
|
+
readonly RECEIPT: "Receipt";
|
|
11
|
+
};
|
|
12
|
+
export type ChileDocumentType =
|
|
13
|
+
(typeof ChileDocumentType)[keyof typeof ChileDocumentType];
|
|
8
14
|
export declare const PersonType: {
|
|
9
15
|
readonly BUSINESS: "Business";
|
|
10
16
|
readonly LEGAL_PERSON: "Legal Person";
|
|
@@ -31,6 +37,11 @@ export declare const IsraelDealerType: {
|
|
|
31
37
|
};
|
|
32
38
|
export type IsraelDealerType =
|
|
33
39
|
(typeof IsraelDealerType)[keyof typeof IsraelDealerType];
|
|
40
|
+
export declare const CustomerType: {
|
|
41
|
+
readonly BUSINESS: "Business";
|
|
42
|
+
readonly INDIVIDUAL: "Individual";
|
|
43
|
+
};
|
|
44
|
+
export type CustomerType = (typeof CustomerType)[keyof typeof CustomerType];
|
|
34
45
|
export declare const MalaysiaServiceTaxCode: {
|
|
35
46
|
readonly CONSULTANCY: "Consultancy";
|
|
36
47
|
readonly DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium";
|
|
@@ -39,6 +50,13 @@ export declare const MalaysiaServiceTaxCode: {
|
|
|
39
50
|
};
|
|
40
51
|
export type MalaysiaServiceTaxCode =
|
|
41
52
|
(typeof MalaysiaServiceTaxCode)[keyof typeof MalaysiaServiceTaxCode];
|
|
53
|
+
export declare const PolandTaxRegistrationNumberType: {
|
|
54
|
+
readonly EU_TAX_REGISTRATION_NUMBER: "EUTaxRegistrationNumber";
|
|
55
|
+
readonly LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber";
|
|
56
|
+
readonly LOCAL_TAX_REGISTRATION_NUMBER: "LocalTaxRegistrationNumber";
|
|
57
|
+
};
|
|
58
|
+
export type PolandTaxRegistrationNumberType =
|
|
59
|
+
(typeof PolandTaxRegistrationNumberType)[keyof typeof PolandTaxRegistrationNumberType];
|
|
42
60
|
export declare const TaxRegistrationNumberType: {
|
|
43
61
|
readonly LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber";
|
|
44
62
|
readonly TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber";
|
|
@@ -83,7 +101,9 @@ export declare const TaxRegistrationType: {
|
|
|
83
101
|
readonly CNPJ: "CNPJ";
|
|
84
102
|
readonly CPF: "CPF";
|
|
85
103
|
readonly GST: "GST";
|
|
104
|
+
readonly NIP: "NIP";
|
|
86
105
|
readonly NRIC: "NRIC";
|
|
106
|
+
readonly PAN: "PAN";
|
|
87
107
|
readonly SST: "SST";
|
|
88
108
|
readonly TIN: "TIN";
|
|
89
109
|
readonly VAT: "VAT";
|
|
@@ -107,9 +127,11 @@ export type TaxRegistrationStatus =
|
|
|
107
127
|
export declare const ValidationExceptionErrorCode: {
|
|
108
128
|
readonly EXPIRED_TOKEN: "ExpiredToken";
|
|
109
129
|
readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
|
|
130
|
+
readonly GST_EXISTENCE_BLOCK_SET_PAN: "GSTExistenceBlockSetPAN";
|
|
110
131
|
readonly INVALID_TOKEN: "InvalidToken";
|
|
111
132
|
readonly MALFORMED_TOKEN: "MalformedToken";
|
|
112
133
|
readonly MISSING_INPUT: "MissingInput";
|
|
134
|
+
readonly NON_INDIA_CUSTOMER_CAN_NOT_SET_PAN: "NonIndiaCustomerCanNotSetPAN";
|
|
113
135
|
};
|
|
114
136
|
export type ValidationExceptionErrorCode =
|
|
115
137
|
(typeof ValidationExceptionErrorCode)[keyof typeof ValidationExceptionErrorCode];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AddressRoleType,
|
|
3
|
+
ChileDocumentType,
|
|
4
|
+
CustomerType,
|
|
3
5
|
EntityExemptionAccountStatus,
|
|
4
6
|
HeritageStatus,
|
|
5
7
|
IndonesiaTaxRegistrationNumberType,
|
|
@@ -8,6 +10,7 @@ import {
|
|
|
8
10
|
IsraelDealerType,
|
|
9
11
|
MalaysiaServiceTaxCode,
|
|
10
12
|
PersonType,
|
|
13
|
+
PolandTaxRegistrationNumberType,
|
|
11
14
|
RegistrationType,
|
|
12
15
|
SaudiArabiaTaxRegistrationNumberType,
|
|
13
16
|
Sector,
|
|
@@ -19,11 +22,11 @@ import {
|
|
|
19
22
|
UzbekistanTaxRegistrationNumberType,
|
|
20
23
|
} from "./enums";
|
|
21
24
|
export interface Address {
|
|
22
|
-
addressLine1
|
|
25
|
+
addressLine1?: string | undefined;
|
|
23
26
|
addressLine2?: string | undefined;
|
|
24
27
|
addressLine3?: string | undefined;
|
|
25
28
|
districtOrCounty?: string | undefined;
|
|
26
|
-
city
|
|
29
|
+
city?: string | undefined;
|
|
27
30
|
stateOrRegion?: string | undefined;
|
|
28
31
|
postalCode: string | undefined;
|
|
29
32
|
countryCode: string | undefined;
|
|
@@ -43,6 +46,10 @@ export interface TaxInheritanceDetails {
|
|
|
43
46
|
parentEntityId?: string | undefined;
|
|
44
47
|
inheritanceObtainedReason?: string | undefined;
|
|
45
48
|
}
|
|
49
|
+
export interface BelgiumAdditionalInfo {
|
|
50
|
+
peppolId?: string | undefined;
|
|
51
|
+
isMercuriusBoxEnabled?: boolean | undefined;
|
|
52
|
+
}
|
|
46
53
|
export interface BrazilAdditionalInfo {
|
|
47
54
|
ccmCode?: string | undefined;
|
|
48
55
|
legalNatureCode?: string | undefined;
|
|
@@ -53,6 +60,10 @@ export interface CanadaAdditionalInfo {
|
|
|
53
60
|
canadaRetailSalesTaxNumber?: string | undefined;
|
|
54
61
|
isResellerAccount?: boolean | undefined;
|
|
55
62
|
}
|
|
63
|
+
export interface ChileAdditionalInfo {
|
|
64
|
+
documentType?: ChileDocumentType | undefined;
|
|
65
|
+
businessActivity?: string | undefined;
|
|
66
|
+
}
|
|
56
67
|
export interface EgyptAdditionalInfo {
|
|
57
68
|
uniqueIdentificationNumber?: string | undefined;
|
|
58
69
|
uniqueIdentificationNumberExpirationDate?: string | undefined;
|
|
@@ -60,6 +71,9 @@ export interface EgyptAdditionalInfo {
|
|
|
60
71
|
export interface EstoniaAdditionalInfo {
|
|
61
72
|
registryCommercialCode: string | undefined;
|
|
62
73
|
}
|
|
74
|
+
export interface FranceAdditionalInfo {
|
|
75
|
+
sirenNumber: string | undefined;
|
|
76
|
+
}
|
|
63
77
|
export interface GeorgiaAdditionalInfo {
|
|
64
78
|
personType: PersonType | undefined;
|
|
65
79
|
}
|
|
@@ -83,6 +97,7 @@ export interface ItalyAdditionalInfo {
|
|
|
83
97
|
cigNumber?: string | undefined;
|
|
84
98
|
cupNumber?: string | undefined;
|
|
85
99
|
taxCode?: string | undefined;
|
|
100
|
+
customerType?: CustomerType | undefined;
|
|
86
101
|
}
|
|
87
102
|
export interface KenyaAdditionalInfo {
|
|
88
103
|
personType: PersonType | undefined;
|
|
@@ -92,9 +107,13 @@ export interface MalaysiaAdditionalInfo {
|
|
|
92
107
|
taxInformationNumber?: string | undefined;
|
|
93
108
|
businessRegistrationNumber?: string | undefined;
|
|
94
109
|
}
|
|
110
|
+
export interface PhilippinesAdditionalInfo {
|
|
111
|
+
isVatRegistered?: boolean | undefined;
|
|
112
|
+
}
|
|
95
113
|
export interface PolandAdditionalInfo {
|
|
96
114
|
individualRegistrationNumber?: string | undefined;
|
|
97
115
|
isGroupVatEnabled?: boolean | undefined;
|
|
116
|
+
taxRegistrationNumberType?: PolandTaxRegistrationNumberType | undefined;
|
|
98
117
|
}
|
|
99
118
|
export interface RomaniaAdditionalInfo {
|
|
100
119
|
taxRegistrationNumberType: TaxRegistrationNumberType | undefined;
|
|
@@ -151,6 +170,10 @@ export interface AdditionalInfoResponse {
|
|
|
151
170
|
egyptAdditionalInfo?: EgyptAdditionalInfo | undefined;
|
|
152
171
|
greeceAdditionalInfo?: GreeceAdditionalInfo | undefined;
|
|
153
172
|
uzbekistanAdditionalInfo?: UzbekistanAdditionalInfo | undefined;
|
|
173
|
+
philippinesAdditionalInfo?: PhilippinesAdditionalInfo | undefined;
|
|
174
|
+
belgiumAdditionalInfo?: BelgiumAdditionalInfo | undefined;
|
|
175
|
+
chileAdditionalInfo?: ChileAdditionalInfo | undefined;
|
|
176
|
+
franceAdditionalInfo?: FranceAdditionalInfo | undefined;
|
|
154
177
|
}
|
|
155
178
|
export interface TaxDocumentMetadata {
|
|
156
179
|
taxDocumentAccessToken: string | undefined;
|
|
@@ -193,6 +216,10 @@ export interface AdditionalInfoRequest {
|
|
|
193
216
|
egyptAdditionalInfo?: EgyptAdditionalInfo | undefined;
|
|
194
217
|
greeceAdditionalInfo?: GreeceAdditionalInfo | undefined;
|
|
195
218
|
uzbekistanAdditionalInfo?: UzbekistanAdditionalInfo | undefined;
|
|
219
|
+
philippinesAdditionalInfo?: PhilippinesAdditionalInfo | undefined;
|
|
220
|
+
belgiumAdditionalInfo?: BelgiumAdditionalInfo | undefined;
|
|
221
|
+
chileAdditionalInfo?: ChileAdditionalInfo | undefined;
|
|
222
|
+
franceAdditionalInfo?: FranceAdditionalInfo | undefined;
|
|
196
223
|
}
|
|
197
224
|
export interface Authority {
|
|
198
225
|
country: string | undefined;
|
|
@@ -27,8 +27,10 @@ export declare var BatchGetTaxExemptionsResponse$: StaticStructureSchema;
|
|
|
27
27
|
export declare var BatchPutTaxRegistrationError$: StaticStructureSchema;
|
|
28
28
|
export declare var BatchPutTaxRegistrationRequest$: StaticStructureSchema;
|
|
29
29
|
export declare var BatchPutTaxRegistrationResponse$: StaticStructureSchema;
|
|
30
|
+
export declare var BelgiumAdditionalInfo$: StaticStructureSchema;
|
|
30
31
|
export declare var BrazilAdditionalInfo$: StaticStructureSchema;
|
|
31
32
|
export declare var CanadaAdditionalInfo$: StaticStructureSchema;
|
|
33
|
+
export declare var ChileAdditionalInfo$: StaticStructureSchema;
|
|
32
34
|
export declare var DeleteSupplementalTaxRegistrationRequest$: StaticStructureSchema;
|
|
33
35
|
export declare var DeleteSupplementalTaxRegistrationResponse$: StaticStructureSchema;
|
|
34
36
|
export declare var DeleteTaxRegistrationRequest$: StaticStructureSchema;
|
|
@@ -37,6 +39,7 @@ export declare var DestinationS3Location$: StaticStructureSchema;
|
|
|
37
39
|
export declare var EgyptAdditionalInfo$: StaticStructureSchema;
|
|
38
40
|
export declare var EstoniaAdditionalInfo$: StaticStructureSchema;
|
|
39
41
|
export declare var ExemptionCertificate$: StaticStructureSchema;
|
|
42
|
+
export declare var FranceAdditionalInfo$: StaticStructureSchema;
|
|
40
43
|
export declare var GeorgiaAdditionalInfo$: StaticStructureSchema;
|
|
41
44
|
export declare var GetTaxExemptionTypesRequest$: StaticStructureSchema;
|
|
42
45
|
export declare var GetTaxExemptionTypesResponse$: StaticStructureSchema;
|
|
@@ -60,6 +63,7 @@ export declare var ListTaxExemptionsResponse$: StaticStructureSchema;
|
|
|
60
63
|
export declare var ListTaxRegistrationsRequest$: StaticStructureSchema;
|
|
61
64
|
export declare var ListTaxRegistrationsResponse$: StaticStructureSchema;
|
|
62
65
|
export declare var MalaysiaAdditionalInfo$: StaticStructureSchema;
|
|
66
|
+
export declare var PhilippinesAdditionalInfo$: StaticStructureSchema;
|
|
63
67
|
export declare var PolandAdditionalInfo$: StaticStructureSchema;
|
|
64
68
|
export declare var PutSupplementalTaxRegistrationRequest$: StaticStructureSchema;
|
|
65
69
|
export declare var PutSupplementalTaxRegistrationResponse$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-taxsettings",
|
|
3
3
|
"description": "AWS SDK for JavaScript Taxsettings Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1064.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
|
-
"build:cjs": "node ../../scripts/compilation/inline
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.974.19",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.53",
|
|
26
|
+
"@aws-sdk/types": "^3.973.12",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
29
29
|
"@smithy/node-http-handler": "^4.7.6",
|