@aws-sdk/client-taxsettings 3.933.0 → 3.935.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/dist-cjs/index.js +100 -99
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +99 -0
- package/dist-es/models/errors.js +95 -0
- package/dist-es/models/models_0.js +1 -194
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +251 -0
- package/dist-types/models/errors.d.ts +117 -0
- package/dist-types/models/models_0.d.ts +1 -366
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +134 -0
- package/dist-types/ts3.4/models/errors.d.ts +59 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -191
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -129,85 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends TaxSettingsSer
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const AddressRoleType = {
|
|
133
|
-
BILLING_ADDRESS: "BillingAddress",
|
|
134
|
-
CONTACT_ADDRESS: "ContactAddress",
|
|
135
|
-
TAX_ADDRESS: "TaxAddress",
|
|
136
|
-
};
|
|
137
|
-
const PersonType = {
|
|
138
|
-
BUSINESS: "Business",
|
|
139
|
-
LEGAL_PERSON: "Legal Person",
|
|
140
|
-
PHYSICAL_PERSON: "Physical Person",
|
|
141
|
-
};
|
|
142
|
-
const IndonesiaTaxRegistrationNumberType = {
|
|
143
|
-
NIK: "NIK",
|
|
144
|
-
NITKU: "NITKU",
|
|
145
|
-
NPWP: "NPWP",
|
|
146
|
-
PASSPORT_NUMBER: "PassportNumber",
|
|
147
|
-
};
|
|
148
|
-
const IsraelCustomerType = {
|
|
149
|
-
BUSINESS: "Business",
|
|
150
|
-
INDIVIDUAL: "Individual",
|
|
151
|
-
};
|
|
152
|
-
const IsraelDealerType = {
|
|
153
|
-
AUTHORIZED: "Authorized",
|
|
154
|
-
NON_AUTHORIZED: "Non-authorized",
|
|
155
|
-
};
|
|
156
|
-
const MalaysiaServiceTaxCode = {
|
|
157
|
-
CONSULTANCY: "Consultancy",
|
|
158
|
-
DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium",
|
|
159
|
-
IT_SERVICES: "IT Services",
|
|
160
|
-
TRAINING_OR_COACHING: "Training Or Coaching",
|
|
161
|
-
};
|
|
162
|
-
const TaxRegistrationNumberType = {
|
|
163
|
-
LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber",
|
|
164
|
-
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
165
|
-
};
|
|
166
|
-
const SaudiArabiaTaxRegistrationNumberType = {
|
|
167
|
-
COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber",
|
|
168
|
-
TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber",
|
|
169
|
-
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
170
|
-
};
|
|
171
|
-
const RegistrationType = {
|
|
172
|
-
INTRA_EU: "Intra-EU",
|
|
173
|
-
LOCAL: "Local",
|
|
174
|
-
};
|
|
175
|
-
const Industries = {
|
|
176
|
-
BANKS: "Banks",
|
|
177
|
-
CIRCULATING_ORG: "CirculatingOrg",
|
|
178
|
-
DEVELOPMENT_AGENCIES: "DevelopmentAgencies",
|
|
179
|
-
INSURANCE: "Insurance",
|
|
180
|
-
PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds",
|
|
181
|
-
PROFESSIONAL_ORG: "ProfessionalOrg",
|
|
182
|
-
};
|
|
183
|
-
const UkraineTrnType = {
|
|
184
|
-
BUSINESS: "Business",
|
|
185
|
-
INDIVIDUAL: "Individual",
|
|
186
|
-
};
|
|
187
|
-
const UzbekistanTaxRegistrationNumberType = {
|
|
188
|
-
BUSINESS: "Business",
|
|
189
|
-
INDIVIDUAL: "Individual",
|
|
190
|
-
};
|
|
191
|
-
const TaxRegistrationType = {
|
|
192
|
-
CNPJ: "CNPJ",
|
|
193
|
-
CPF: "CPF",
|
|
194
|
-
GST: "GST",
|
|
195
|
-
NRIC: "NRIC",
|
|
196
|
-
SST: "SST",
|
|
197
|
-
TIN: "TIN",
|
|
198
|
-
VAT: "VAT",
|
|
199
|
-
};
|
|
200
|
-
const Sector = {
|
|
201
|
-
BUSINESS: "Business",
|
|
202
|
-
INDIVIDUAL: "Individual",
|
|
203
|
-
PUBLIC_INSTITUTIONS: "Government",
|
|
204
|
-
};
|
|
205
|
-
const TaxRegistrationStatus = {
|
|
206
|
-
DELETED: "Deleted",
|
|
207
|
-
PENDING: "Pending",
|
|
208
|
-
REJECTED: "Rejected",
|
|
209
|
-
VERIFIED: "Verified",
|
|
210
|
-
};
|
|
211
132
|
let AttachmentUploadException$1 = class AttachmentUploadException extends TaxSettingsServiceException$1 {
|
|
212
133
|
name = "AttachmentUploadException";
|
|
213
134
|
$fault = "client";
|
|
@@ -248,13 +169,6 @@ let InternalServerException$1 = class InternalServerException extends TaxSetting
|
|
|
248
169
|
this.errorCode = opts.errorCode;
|
|
249
170
|
}
|
|
250
171
|
};
|
|
251
|
-
const ValidationExceptionErrorCode = {
|
|
252
|
-
EXPIRED_TOKEN: "ExpiredToken",
|
|
253
|
-
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
254
|
-
INVALID_TOKEN: "InvalidToken",
|
|
255
|
-
MALFORMED_TOKEN: "MalformedToken",
|
|
256
|
-
MISSING_INPUT: "MissingInput",
|
|
257
|
-
};
|
|
258
172
|
let ValidationException$1 = class ValidationException extends TaxSettingsServiceException$1 {
|
|
259
173
|
name = "ValidationException";
|
|
260
174
|
$fault = "client";
|
|
@@ -271,12 +185,6 @@ let ValidationException$1 = class ValidationException extends TaxSettingsService
|
|
|
271
185
|
this.fieldList = opts.fieldList;
|
|
272
186
|
}
|
|
273
187
|
};
|
|
274
|
-
const EntityExemptionAccountStatus = {
|
|
275
|
-
Expired: "Expired",
|
|
276
|
-
None: "None",
|
|
277
|
-
Pending: "Pending",
|
|
278
|
-
Valid: "Valid",
|
|
279
|
-
};
|
|
280
188
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends TaxSettingsServiceException$1 {
|
|
281
189
|
name = "ResourceNotFoundException";
|
|
282
190
|
$fault = "client";
|
|
@@ -303,13 +211,6 @@ let CaseCreationLimitExceededException$1 = class CaseCreationLimitExceededExcept
|
|
|
303
211
|
Object.setPrototypeOf(this, CaseCreationLimitExceededException.prototype);
|
|
304
212
|
}
|
|
305
213
|
};
|
|
306
|
-
const HeritageStatus = {
|
|
307
|
-
OptIn: "OptIn",
|
|
308
|
-
OptOut: "OptOut",
|
|
309
|
-
};
|
|
310
|
-
const SupplementalTaxRegistrationType = {
|
|
311
|
-
VAT: "VAT",
|
|
312
|
-
};
|
|
313
214
|
|
|
314
215
|
const _A = "Address";
|
|
315
216
|
const _AD = "AccountDetails";
|
|
@@ -1424,6 +1325,106 @@ const paginateListTaxExemptions = core.createPaginator(TaxSettingsClient, ListTa
|
|
|
1424
1325
|
|
|
1425
1326
|
const paginateListTaxRegistrations = core.createPaginator(TaxSettingsClient, ListTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1426
1327
|
|
|
1328
|
+
const AddressRoleType = {
|
|
1329
|
+
BILLING_ADDRESS: "BillingAddress",
|
|
1330
|
+
CONTACT_ADDRESS: "ContactAddress",
|
|
1331
|
+
TAX_ADDRESS: "TaxAddress",
|
|
1332
|
+
};
|
|
1333
|
+
const PersonType = {
|
|
1334
|
+
BUSINESS: "Business",
|
|
1335
|
+
LEGAL_PERSON: "Legal Person",
|
|
1336
|
+
PHYSICAL_PERSON: "Physical Person",
|
|
1337
|
+
};
|
|
1338
|
+
const IndonesiaTaxRegistrationNumberType = {
|
|
1339
|
+
NIK: "NIK",
|
|
1340
|
+
NITKU: "NITKU",
|
|
1341
|
+
NPWP: "NPWP",
|
|
1342
|
+
PASSPORT_NUMBER: "PassportNumber",
|
|
1343
|
+
};
|
|
1344
|
+
const IsraelCustomerType = {
|
|
1345
|
+
BUSINESS: "Business",
|
|
1346
|
+
INDIVIDUAL: "Individual",
|
|
1347
|
+
};
|
|
1348
|
+
const IsraelDealerType = {
|
|
1349
|
+
AUTHORIZED: "Authorized",
|
|
1350
|
+
NON_AUTHORIZED: "Non-authorized",
|
|
1351
|
+
};
|
|
1352
|
+
const MalaysiaServiceTaxCode = {
|
|
1353
|
+
CONSULTANCY: "Consultancy",
|
|
1354
|
+
DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium",
|
|
1355
|
+
IT_SERVICES: "IT Services",
|
|
1356
|
+
TRAINING_OR_COACHING: "Training Or Coaching",
|
|
1357
|
+
};
|
|
1358
|
+
const TaxRegistrationNumberType = {
|
|
1359
|
+
LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber",
|
|
1360
|
+
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
1361
|
+
};
|
|
1362
|
+
const SaudiArabiaTaxRegistrationNumberType = {
|
|
1363
|
+
COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber",
|
|
1364
|
+
TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber",
|
|
1365
|
+
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
1366
|
+
};
|
|
1367
|
+
const RegistrationType = {
|
|
1368
|
+
INTRA_EU: "Intra-EU",
|
|
1369
|
+
LOCAL: "Local",
|
|
1370
|
+
};
|
|
1371
|
+
const Industries = {
|
|
1372
|
+
BANKS: "Banks",
|
|
1373
|
+
CIRCULATING_ORG: "CirculatingOrg",
|
|
1374
|
+
DEVELOPMENT_AGENCIES: "DevelopmentAgencies",
|
|
1375
|
+
INSURANCE: "Insurance",
|
|
1376
|
+
PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds",
|
|
1377
|
+
PROFESSIONAL_ORG: "ProfessionalOrg",
|
|
1378
|
+
};
|
|
1379
|
+
const UkraineTrnType = {
|
|
1380
|
+
BUSINESS: "Business",
|
|
1381
|
+
INDIVIDUAL: "Individual",
|
|
1382
|
+
};
|
|
1383
|
+
const UzbekistanTaxRegistrationNumberType = {
|
|
1384
|
+
BUSINESS: "Business",
|
|
1385
|
+
INDIVIDUAL: "Individual",
|
|
1386
|
+
};
|
|
1387
|
+
const TaxRegistrationType = {
|
|
1388
|
+
CNPJ: "CNPJ",
|
|
1389
|
+
CPF: "CPF",
|
|
1390
|
+
GST: "GST",
|
|
1391
|
+
NRIC: "NRIC",
|
|
1392
|
+
SST: "SST",
|
|
1393
|
+
TIN: "TIN",
|
|
1394
|
+
VAT: "VAT",
|
|
1395
|
+
};
|
|
1396
|
+
const Sector = {
|
|
1397
|
+
BUSINESS: "Business",
|
|
1398
|
+
INDIVIDUAL: "Individual",
|
|
1399
|
+
PUBLIC_INSTITUTIONS: "Government",
|
|
1400
|
+
};
|
|
1401
|
+
const TaxRegistrationStatus = {
|
|
1402
|
+
DELETED: "Deleted",
|
|
1403
|
+
PENDING: "Pending",
|
|
1404
|
+
REJECTED: "Rejected",
|
|
1405
|
+
VERIFIED: "Verified",
|
|
1406
|
+
};
|
|
1407
|
+
const ValidationExceptionErrorCode = {
|
|
1408
|
+
EXPIRED_TOKEN: "ExpiredToken",
|
|
1409
|
+
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
1410
|
+
INVALID_TOKEN: "InvalidToken",
|
|
1411
|
+
MALFORMED_TOKEN: "MalformedToken",
|
|
1412
|
+
MISSING_INPUT: "MissingInput",
|
|
1413
|
+
};
|
|
1414
|
+
const EntityExemptionAccountStatus = {
|
|
1415
|
+
Expired: "Expired",
|
|
1416
|
+
None: "None",
|
|
1417
|
+
Pending: "Pending",
|
|
1418
|
+
Valid: "Valid",
|
|
1419
|
+
};
|
|
1420
|
+
const HeritageStatus = {
|
|
1421
|
+
OptIn: "OptIn",
|
|
1422
|
+
OptOut: "OptOut",
|
|
1423
|
+
};
|
|
1424
|
+
const SupplementalTaxRegistrationType = {
|
|
1425
|
+
VAT: "VAT",
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1427
1428
|
Object.defineProperty(exports, "$Command", {
|
|
1428
1429
|
enumerable: true,
|
|
1429
1430
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./TaxSettingsClient";
|
|
|
2
2
|
export * from "./TaxSettings";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { TaxSettingsServiceException } from "./models/TaxSettingsServiceException";
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export const AddressRoleType = {
|
|
2
|
+
BILLING_ADDRESS: "BillingAddress",
|
|
3
|
+
CONTACT_ADDRESS: "ContactAddress",
|
|
4
|
+
TAX_ADDRESS: "TaxAddress",
|
|
5
|
+
};
|
|
6
|
+
export const PersonType = {
|
|
7
|
+
BUSINESS: "Business",
|
|
8
|
+
LEGAL_PERSON: "Legal Person",
|
|
9
|
+
PHYSICAL_PERSON: "Physical Person",
|
|
10
|
+
};
|
|
11
|
+
export const IndonesiaTaxRegistrationNumberType = {
|
|
12
|
+
NIK: "NIK",
|
|
13
|
+
NITKU: "NITKU",
|
|
14
|
+
NPWP: "NPWP",
|
|
15
|
+
PASSPORT_NUMBER: "PassportNumber",
|
|
16
|
+
};
|
|
17
|
+
export const IsraelCustomerType = {
|
|
18
|
+
BUSINESS: "Business",
|
|
19
|
+
INDIVIDUAL: "Individual",
|
|
20
|
+
};
|
|
21
|
+
export const IsraelDealerType = {
|
|
22
|
+
AUTHORIZED: "Authorized",
|
|
23
|
+
NON_AUTHORIZED: "Non-authorized",
|
|
24
|
+
};
|
|
25
|
+
export const MalaysiaServiceTaxCode = {
|
|
26
|
+
CONSULTANCY: "Consultancy",
|
|
27
|
+
DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium",
|
|
28
|
+
IT_SERVICES: "IT Services",
|
|
29
|
+
TRAINING_OR_COACHING: "Training Or Coaching",
|
|
30
|
+
};
|
|
31
|
+
export const TaxRegistrationNumberType = {
|
|
32
|
+
LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber",
|
|
33
|
+
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
34
|
+
};
|
|
35
|
+
export const SaudiArabiaTaxRegistrationNumberType = {
|
|
36
|
+
COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber",
|
|
37
|
+
TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber",
|
|
38
|
+
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
39
|
+
};
|
|
40
|
+
export const RegistrationType = {
|
|
41
|
+
INTRA_EU: "Intra-EU",
|
|
42
|
+
LOCAL: "Local",
|
|
43
|
+
};
|
|
44
|
+
export const Industries = {
|
|
45
|
+
BANKS: "Banks",
|
|
46
|
+
CIRCULATING_ORG: "CirculatingOrg",
|
|
47
|
+
DEVELOPMENT_AGENCIES: "DevelopmentAgencies",
|
|
48
|
+
INSURANCE: "Insurance",
|
|
49
|
+
PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds",
|
|
50
|
+
PROFESSIONAL_ORG: "ProfessionalOrg",
|
|
51
|
+
};
|
|
52
|
+
export const UkraineTrnType = {
|
|
53
|
+
BUSINESS: "Business",
|
|
54
|
+
INDIVIDUAL: "Individual",
|
|
55
|
+
};
|
|
56
|
+
export const UzbekistanTaxRegistrationNumberType = {
|
|
57
|
+
BUSINESS: "Business",
|
|
58
|
+
INDIVIDUAL: "Individual",
|
|
59
|
+
};
|
|
60
|
+
export const TaxRegistrationType = {
|
|
61
|
+
CNPJ: "CNPJ",
|
|
62
|
+
CPF: "CPF",
|
|
63
|
+
GST: "GST",
|
|
64
|
+
NRIC: "NRIC",
|
|
65
|
+
SST: "SST",
|
|
66
|
+
TIN: "TIN",
|
|
67
|
+
VAT: "VAT",
|
|
68
|
+
};
|
|
69
|
+
export const Sector = {
|
|
70
|
+
BUSINESS: "Business",
|
|
71
|
+
INDIVIDUAL: "Individual",
|
|
72
|
+
PUBLIC_INSTITUTIONS: "Government",
|
|
73
|
+
};
|
|
74
|
+
export const TaxRegistrationStatus = {
|
|
75
|
+
DELETED: "Deleted",
|
|
76
|
+
PENDING: "Pending",
|
|
77
|
+
REJECTED: "Rejected",
|
|
78
|
+
VERIFIED: "Verified",
|
|
79
|
+
};
|
|
80
|
+
export const ValidationExceptionErrorCode = {
|
|
81
|
+
EXPIRED_TOKEN: "ExpiredToken",
|
|
82
|
+
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
83
|
+
INVALID_TOKEN: "InvalidToken",
|
|
84
|
+
MALFORMED_TOKEN: "MalformedToken",
|
|
85
|
+
MISSING_INPUT: "MissingInput",
|
|
86
|
+
};
|
|
87
|
+
export const EntityExemptionAccountStatus = {
|
|
88
|
+
Expired: "Expired",
|
|
89
|
+
None: "None",
|
|
90
|
+
Pending: "Pending",
|
|
91
|
+
Valid: "Valid",
|
|
92
|
+
};
|
|
93
|
+
export const HeritageStatus = {
|
|
94
|
+
OptIn: "OptIn",
|
|
95
|
+
OptOut: "OptOut",
|
|
96
|
+
};
|
|
97
|
+
export const SupplementalTaxRegistrationType = {
|
|
98
|
+
VAT: "VAT",
|
|
99
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { TaxSettingsServiceException as __BaseException } from "./TaxSettingsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class AttachmentUploadException extends __BaseException {
|
|
15
|
+
name = "AttachmentUploadException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "AttachmentUploadException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, AttachmentUploadException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ConflictException extends __BaseException {
|
|
27
|
+
name = "ConflictException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
errorCode;
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "ConflictException",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
37
|
+
this.errorCode = opts.errorCode;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export class InternalServerException extends __BaseException {
|
|
41
|
+
name = "InternalServerException";
|
|
42
|
+
$fault = "server";
|
|
43
|
+
errorCode;
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "InternalServerException",
|
|
47
|
+
$fault: "server",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
51
|
+
this.errorCode = opts.errorCode;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export class ValidationException extends __BaseException {
|
|
55
|
+
name = "ValidationException";
|
|
56
|
+
$fault = "client";
|
|
57
|
+
errorCode;
|
|
58
|
+
fieldList;
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "ValidationException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
66
|
+
this.errorCode = opts.errorCode;
|
|
67
|
+
this.fieldList = opts.fieldList;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
71
|
+
name = "ResourceNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
errorCode;
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ResourceNotFoundException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
81
|
+
this.errorCode = opts.errorCode;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
export class CaseCreationLimitExceededException extends __BaseException {
|
|
85
|
+
name = "CaseCreationLimitExceededException";
|
|
86
|
+
$fault = "client";
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "CaseCreationLimitExceededException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, CaseCreationLimitExceededException.prototype);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -1,194 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export const AddressRoleType = {
|
|
15
|
-
BILLING_ADDRESS: "BillingAddress",
|
|
16
|
-
CONTACT_ADDRESS: "ContactAddress",
|
|
17
|
-
TAX_ADDRESS: "TaxAddress",
|
|
18
|
-
};
|
|
19
|
-
export const PersonType = {
|
|
20
|
-
BUSINESS: "Business",
|
|
21
|
-
LEGAL_PERSON: "Legal Person",
|
|
22
|
-
PHYSICAL_PERSON: "Physical Person",
|
|
23
|
-
};
|
|
24
|
-
export const IndonesiaTaxRegistrationNumberType = {
|
|
25
|
-
NIK: "NIK",
|
|
26
|
-
NITKU: "NITKU",
|
|
27
|
-
NPWP: "NPWP",
|
|
28
|
-
PASSPORT_NUMBER: "PassportNumber",
|
|
29
|
-
};
|
|
30
|
-
export const IsraelCustomerType = {
|
|
31
|
-
BUSINESS: "Business",
|
|
32
|
-
INDIVIDUAL: "Individual",
|
|
33
|
-
};
|
|
34
|
-
export const IsraelDealerType = {
|
|
35
|
-
AUTHORIZED: "Authorized",
|
|
36
|
-
NON_AUTHORIZED: "Non-authorized",
|
|
37
|
-
};
|
|
38
|
-
export const MalaysiaServiceTaxCode = {
|
|
39
|
-
CONSULTANCY: "Consultancy",
|
|
40
|
-
DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium",
|
|
41
|
-
IT_SERVICES: "IT Services",
|
|
42
|
-
TRAINING_OR_COACHING: "Training Or Coaching",
|
|
43
|
-
};
|
|
44
|
-
export const TaxRegistrationNumberType = {
|
|
45
|
-
LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber",
|
|
46
|
-
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
47
|
-
};
|
|
48
|
-
export const SaudiArabiaTaxRegistrationNumberType = {
|
|
49
|
-
COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber",
|
|
50
|
-
TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber",
|
|
51
|
-
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",
|
|
52
|
-
};
|
|
53
|
-
export const RegistrationType = {
|
|
54
|
-
INTRA_EU: "Intra-EU",
|
|
55
|
-
LOCAL: "Local",
|
|
56
|
-
};
|
|
57
|
-
export const Industries = {
|
|
58
|
-
BANKS: "Banks",
|
|
59
|
-
CIRCULATING_ORG: "CirculatingOrg",
|
|
60
|
-
DEVELOPMENT_AGENCIES: "DevelopmentAgencies",
|
|
61
|
-
INSURANCE: "Insurance",
|
|
62
|
-
PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds",
|
|
63
|
-
PROFESSIONAL_ORG: "ProfessionalOrg",
|
|
64
|
-
};
|
|
65
|
-
export const UkraineTrnType = {
|
|
66
|
-
BUSINESS: "Business",
|
|
67
|
-
INDIVIDUAL: "Individual",
|
|
68
|
-
};
|
|
69
|
-
export const UzbekistanTaxRegistrationNumberType = {
|
|
70
|
-
BUSINESS: "Business",
|
|
71
|
-
INDIVIDUAL: "Individual",
|
|
72
|
-
};
|
|
73
|
-
export const TaxRegistrationType = {
|
|
74
|
-
CNPJ: "CNPJ",
|
|
75
|
-
CPF: "CPF",
|
|
76
|
-
GST: "GST",
|
|
77
|
-
NRIC: "NRIC",
|
|
78
|
-
SST: "SST",
|
|
79
|
-
TIN: "TIN",
|
|
80
|
-
VAT: "VAT",
|
|
81
|
-
};
|
|
82
|
-
export const Sector = {
|
|
83
|
-
BUSINESS: "Business",
|
|
84
|
-
INDIVIDUAL: "Individual",
|
|
85
|
-
PUBLIC_INSTITUTIONS: "Government",
|
|
86
|
-
};
|
|
87
|
-
export const TaxRegistrationStatus = {
|
|
88
|
-
DELETED: "Deleted",
|
|
89
|
-
PENDING: "Pending",
|
|
90
|
-
REJECTED: "Rejected",
|
|
91
|
-
VERIFIED: "Verified",
|
|
92
|
-
};
|
|
93
|
-
export class AttachmentUploadException extends __BaseException {
|
|
94
|
-
name = "AttachmentUploadException";
|
|
95
|
-
$fault = "client";
|
|
96
|
-
constructor(opts) {
|
|
97
|
-
super({
|
|
98
|
-
name: "AttachmentUploadException",
|
|
99
|
-
$fault: "client",
|
|
100
|
-
...opts,
|
|
101
|
-
});
|
|
102
|
-
Object.setPrototypeOf(this, AttachmentUploadException.prototype);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
export class ConflictException extends __BaseException {
|
|
106
|
-
name = "ConflictException";
|
|
107
|
-
$fault = "client";
|
|
108
|
-
errorCode;
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "ConflictException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
116
|
-
this.errorCode = opts.errorCode;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
export class InternalServerException extends __BaseException {
|
|
120
|
-
name = "InternalServerException";
|
|
121
|
-
$fault = "server";
|
|
122
|
-
errorCode;
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "InternalServerException",
|
|
126
|
-
$fault: "server",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
130
|
-
this.errorCode = opts.errorCode;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
export const ValidationExceptionErrorCode = {
|
|
134
|
-
EXPIRED_TOKEN: "ExpiredToken",
|
|
135
|
-
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
136
|
-
INVALID_TOKEN: "InvalidToken",
|
|
137
|
-
MALFORMED_TOKEN: "MalformedToken",
|
|
138
|
-
MISSING_INPUT: "MissingInput",
|
|
139
|
-
};
|
|
140
|
-
export class ValidationException extends __BaseException {
|
|
141
|
-
name = "ValidationException";
|
|
142
|
-
$fault = "client";
|
|
143
|
-
errorCode;
|
|
144
|
-
fieldList;
|
|
145
|
-
constructor(opts) {
|
|
146
|
-
super({
|
|
147
|
-
name: "ValidationException",
|
|
148
|
-
$fault: "client",
|
|
149
|
-
...opts,
|
|
150
|
-
});
|
|
151
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
152
|
-
this.errorCode = opts.errorCode;
|
|
153
|
-
this.fieldList = opts.fieldList;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
export const EntityExemptionAccountStatus = {
|
|
157
|
-
Expired: "Expired",
|
|
158
|
-
None: "None",
|
|
159
|
-
Pending: "Pending",
|
|
160
|
-
Valid: "Valid",
|
|
161
|
-
};
|
|
162
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
163
|
-
name = "ResourceNotFoundException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
errorCode;
|
|
166
|
-
constructor(opts) {
|
|
167
|
-
super({
|
|
168
|
-
name: "ResourceNotFoundException",
|
|
169
|
-
$fault: "client",
|
|
170
|
-
...opts,
|
|
171
|
-
});
|
|
172
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
173
|
-
this.errorCode = opts.errorCode;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
export class CaseCreationLimitExceededException extends __BaseException {
|
|
177
|
-
name = "CaseCreationLimitExceededException";
|
|
178
|
-
$fault = "client";
|
|
179
|
-
constructor(opts) {
|
|
180
|
-
super({
|
|
181
|
-
name: "CaseCreationLimitExceededException",
|
|
182
|
-
$fault: "client",
|
|
183
|
-
...opts,
|
|
184
|
-
});
|
|
185
|
-
Object.setPrototypeOf(this, CaseCreationLimitExceededException.prototype);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
export const HeritageStatus = {
|
|
189
|
-
OptIn: "OptIn",
|
|
190
|
-
OptOut: "OptOut",
|
|
191
|
-
};
|
|
192
|
-
export const SupplementalTaxRegistrationType = {
|
|
193
|
-
VAT: "VAT",
|
|
194
|
-
};
|
|
1
|
+
export {};
|
|
@@ -262,7 +262,7 @@ const _vD = "verificationDetails";
|
|
|
262
262
|
const _vRN = "vatRegistrationNumber";
|
|
263
263
|
const n0 = "com.amazonaws.taxsettings";
|
|
264
264
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
265
|
-
import { AccessDeniedException as __AccessDeniedException, AttachmentUploadException as __AttachmentUploadException, CaseCreationLimitExceededException as __CaseCreationLimitExceededException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/
|
|
265
|
+
import { AccessDeniedException as __AccessDeniedException, AttachmentUploadException as __AttachmentUploadException, CaseCreationLimitExceededException as __CaseCreationLimitExceededException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/errors";
|
|
266
266
|
import { TaxSettingsServiceException as __TaxSettingsServiceException } from "../models/TaxSettingsServiceException";
|
|
267
267
|
export var ErrorMessage = [0, n0, _EM, 8, 0];
|
|
268
268
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -21,5 +21,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
21
21
|
export type { TaxSettingsExtensionConfiguration } from "./extensionConfiguration";
|
|
22
22
|
export * from "./commands";
|
|
23
23
|
export * from "./pagination";
|
|
24
|
-
export * from "./models";
|
|
24
|
+
export * from "./models/enums";
|
|
25
|
+
export * from "./models/errors";
|
|
26
|
+
export type * from "./models/models_0";
|
|
25
27
|
export { TaxSettingsServiceException } from "./models/TaxSettingsServiceException";
|