@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.
@@ -1,12 +1,23 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { TaxSettingsServiceException as __BaseException } from "./TaxSettingsServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
1
+ import {
2
+ AddressRoleType,
3
+ EntityExemptionAccountStatus,
4
+ HeritageStatus,
5
+ IndonesiaTaxRegistrationNumberType,
6
+ Industries,
7
+ IsraelCustomerType,
8
+ IsraelDealerType,
9
+ MalaysiaServiceTaxCode,
10
+ PersonType,
11
+ RegistrationType,
12
+ SaudiArabiaTaxRegistrationNumberType,
13
+ Sector,
14
+ SupplementalTaxRegistrationType,
15
+ TaxRegistrationNumberType,
16
+ TaxRegistrationStatus,
17
+ TaxRegistrationType,
18
+ UkraineTrnType,
19
+ UzbekistanTaxRegistrationNumberType,
20
+ } from "./enums";
10
21
  export interface Address {
11
22
  addressLine1: string | undefined;
12
23
  addressLine2?: string | undefined;
@@ -17,13 +28,6 @@ export interface Address {
17
28
  postalCode: string | undefined;
18
29
  countryCode: string | undefined;
19
30
  }
20
- export declare const AddressRoleType: {
21
- readonly BILLING_ADDRESS: "BillingAddress";
22
- readonly CONTACT_ADDRESS: "ContactAddress";
23
- readonly TAX_ADDRESS: "TaxAddress";
24
- };
25
- export type AddressRoleType =
26
- (typeof AddressRoleType)[keyof typeof AddressRoleType];
27
31
  export interface Jurisdiction {
28
32
  stateOrRegion?: string | undefined;
29
33
  countryCode: string | undefined;
@@ -56,12 +60,6 @@ export interface EgyptAdditionalInfo {
56
60
  export interface EstoniaAdditionalInfo {
57
61
  registryCommercialCode: string | undefined;
58
62
  }
59
- export declare const PersonType: {
60
- readonly BUSINESS: "Business";
61
- readonly LEGAL_PERSON: "Legal Person";
62
- readonly PHYSICAL_PERSON: "Physical Person";
63
- };
64
- export type PersonType = (typeof PersonType)[keyof typeof PersonType];
65
63
  export interface GeorgiaAdditionalInfo {
66
64
  personType: PersonType | undefined;
67
65
  }
@@ -71,31 +69,11 @@ export interface GreeceAdditionalInfo {
71
69
  export interface IndiaAdditionalInfo {
72
70
  pan?: string | undefined;
73
71
  }
74
- export declare const IndonesiaTaxRegistrationNumberType: {
75
- readonly NIK: "NIK";
76
- readonly NITKU: "NITKU";
77
- readonly NPWP: "NPWP";
78
- readonly PASSPORT_NUMBER: "PassportNumber";
79
- };
80
- export type IndonesiaTaxRegistrationNumberType =
81
- (typeof IndonesiaTaxRegistrationNumberType)[keyof typeof IndonesiaTaxRegistrationNumberType];
82
72
  export interface IndonesiaAdditionalInfo {
83
73
  taxRegistrationNumberType?: IndonesiaTaxRegistrationNumberType | undefined;
84
74
  ppnExceptionDesignationCode?: string | undefined;
85
75
  decisionNumber?: string | undefined;
86
76
  }
87
- export declare const IsraelCustomerType: {
88
- readonly BUSINESS: "Business";
89
- readonly INDIVIDUAL: "Individual";
90
- };
91
- export type IsraelCustomerType =
92
- (typeof IsraelCustomerType)[keyof typeof IsraelCustomerType];
93
- export declare const IsraelDealerType: {
94
- readonly AUTHORIZED: "Authorized";
95
- readonly NON_AUTHORIZED: "Non-authorized";
96
- };
97
- export type IsraelDealerType =
98
- (typeof IsraelDealerType)[keyof typeof IsraelDealerType];
99
77
  export interface IsraelAdditionalInfo {
100
78
  dealerType: IsraelDealerType | undefined;
101
79
  customerType: IsraelCustomerType | undefined;
@@ -109,14 +87,6 @@ export interface ItalyAdditionalInfo {
109
87
  export interface KenyaAdditionalInfo {
110
88
  personType: PersonType | undefined;
111
89
  }
112
- export declare const MalaysiaServiceTaxCode: {
113
- readonly CONSULTANCY: "Consultancy";
114
- readonly DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium";
115
- readonly IT_SERVICES: "IT Services";
116
- readonly TRAINING_OR_COACHING: "Training Or Coaching";
117
- };
118
- export type MalaysiaServiceTaxCode =
119
- (typeof MalaysiaServiceTaxCode)[keyof typeof MalaysiaServiceTaxCode];
120
90
  export interface MalaysiaAdditionalInfo {
121
91
  serviceTaxCodes?: MalaysiaServiceTaxCode[] | undefined;
122
92
  taxInformationNumber?: string | undefined;
@@ -126,22 +96,9 @@ export interface PolandAdditionalInfo {
126
96
  individualRegistrationNumber?: string | undefined;
127
97
  isGroupVatEnabled?: boolean | undefined;
128
98
  }
129
- export declare const TaxRegistrationNumberType: {
130
- readonly LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber";
131
- readonly TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber";
132
- };
133
- export type TaxRegistrationNumberType =
134
- (typeof TaxRegistrationNumberType)[keyof typeof TaxRegistrationNumberType];
135
99
  export interface RomaniaAdditionalInfo {
136
100
  taxRegistrationNumberType: TaxRegistrationNumberType | undefined;
137
101
  }
138
- export declare const SaudiArabiaTaxRegistrationNumberType: {
139
- readonly COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber";
140
- readonly TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber";
141
- readonly TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber";
142
- };
143
- export type SaudiArabiaTaxRegistrationNumberType =
144
- (typeof SaudiArabiaTaxRegistrationNumberType)[keyof typeof SaudiArabiaTaxRegistrationNumberType];
145
102
  export interface SaudiArabiaAdditionalInfo {
146
103
  taxRegistrationNumberType?: SaudiArabiaTaxRegistrationNumberType | undefined;
147
104
  }
@@ -150,45 +107,18 @@ export interface SouthKoreaAdditionalInfo {
150
107
  lineOfBusiness: string | undefined;
151
108
  itemOfBusiness: string | undefined;
152
109
  }
153
- export declare const RegistrationType: {
154
- readonly INTRA_EU: "Intra-EU";
155
- readonly LOCAL: "Local";
156
- };
157
- export type RegistrationType =
158
- (typeof RegistrationType)[keyof typeof RegistrationType];
159
110
  export interface SpainAdditionalInfo {
160
111
  registrationType: RegistrationType | undefined;
161
112
  }
162
- export declare const Industries: {
163
- readonly BANKS: "Banks";
164
- readonly CIRCULATING_ORG: "CirculatingOrg";
165
- readonly DEVELOPMENT_AGENCIES: "DevelopmentAgencies";
166
- readonly INSURANCE: "Insurance";
167
- readonly PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds";
168
- readonly PROFESSIONAL_ORG: "ProfessionalOrg";
169
- };
170
- export type Industries = (typeof Industries)[keyof typeof Industries];
171
113
  export interface TurkeyAdditionalInfo {
172
114
  taxOffice?: string | undefined;
173
115
  kepEmailId?: string | undefined;
174
116
  secondaryTaxId?: string | undefined;
175
117
  industries?: Industries | undefined;
176
118
  }
177
- export declare const UkraineTrnType: {
178
- readonly BUSINESS: "Business";
179
- readonly INDIVIDUAL: "Individual";
180
- };
181
- export type UkraineTrnType =
182
- (typeof UkraineTrnType)[keyof typeof UkraineTrnType];
183
119
  export interface UkraineAdditionalInfo {
184
120
  ukraineTrnType: UkraineTrnType | undefined;
185
121
  }
186
- export declare const UzbekistanTaxRegistrationNumberType: {
187
- readonly BUSINESS: "Business";
188
- readonly INDIVIDUAL: "Individual";
189
- };
190
- export type UzbekistanTaxRegistrationNumberType =
191
- (typeof UzbekistanTaxRegistrationNumberType)[keyof typeof UzbekistanTaxRegistrationNumberType];
192
122
  export interface UzbekistanAdditionalInfo {
193
123
  taxRegistrationNumberType?: UzbekistanTaxRegistrationNumberType | undefined;
194
124
  vatRegistrationNumber?: string | undefined;
@@ -222,31 +152,6 @@ export interface AdditionalInfoResponse {
222
152
  greeceAdditionalInfo?: GreeceAdditionalInfo | undefined;
223
153
  uzbekistanAdditionalInfo?: UzbekistanAdditionalInfo | undefined;
224
154
  }
225
- export declare const TaxRegistrationType: {
226
- readonly CNPJ: "CNPJ";
227
- readonly CPF: "CPF";
228
- readonly GST: "GST";
229
- readonly NRIC: "NRIC";
230
- readonly SST: "SST";
231
- readonly TIN: "TIN";
232
- readonly VAT: "VAT";
233
- };
234
- export type TaxRegistrationType =
235
- (typeof TaxRegistrationType)[keyof typeof TaxRegistrationType];
236
- export declare const Sector: {
237
- readonly BUSINESS: "Business";
238
- readonly INDIVIDUAL: "Individual";
239
- readonly PUBLIC_INSTITUTIONS: "Government";
240
- };
241
- export type Sector = (typeof Sector)[keyof typeof Sector];
242
- export declare const TaxRegistrationStatus: {
243
- readonly DELETED: "Deleted";
244
- readonly PENDING: "Pending";
245
- readonly REJECTED: "Rejected";
246
- readonly VERIFIED: "Verified";
247
- };
248
- export type TaxRegistrationStatus =
249
- (typeof TaxRegistrationStatus)[keyof typeof TaxRegistrationStatus];
250
155
  export interface TaxDocumentMetadata {
251
156
  taxDocumentAccessToken: string | undefined;
252
157
  taxDocumentName: string | undefined;
@@ -289,13 +194,6 @@ export interface AdditionalInfoRequest {
289
194
  greeceAdditionalInfo?: GreeceAdditionalInfo | undefined;
290
195
  uzbekistanAdditionalInfo?: UzbekistanAdditionalInfo | undefined;
291
196
  }
292
- export declare class AttachmentUploadException extends __BaseException {
293
- readonly name: "AttachmentUploadException";
294
- readonly $fault: "client";
295
- constructor(
296
- opts: __ExceptionOptionType<AttachmentUploadException, __BaseException>
297
- );
298
- }
299
197
  export interface Authority {
300
198
  country: string | undefined;
301
199
  state?: string | undefined;
@@ -311,52 +209,12 @@ export interface BatchDeleteTaxRegistrationError {
311
209
  export interface BatchDeleteTaxRegistrationResponse {
312
210
  errors: BatchDeleteTaxRegistrationError[] | undefined;
313
211
  }
314
- export declare class ConflictException extends __BaseException {
315
- readonly name: "ConflictException";
316
- readonly $fault: "client";
317
- errorCode: string | undefined;
318
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
319
- }
320
- export declare class InternalServerException extends __BaseException {
321
- readonly name: "InternalServerException";
322
- readonly $fault: "server";
323
- errorCode: string | undefined;
324
- constructor(
325
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
326
- );
327
- }
328
- export declare const ValidationExceptionErrorCode: {
329
- readonly EXPIRED_TOKEN: "ExpiredToken";
330
- readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
331
- readonly INVALID_TOKEN: "InvalidToken";
332
- readonly MALFORMED_TOKEN: "MalformedToken";
333
- readonly MISSING_INPUT: "MissingInput";
334
- };
335
- export type ValidationExceptionErrorCode =
336
- (typeof ValidationExceptionErrorCode)[keyof typeof ValidationExceptionErrorCode];
337
212
  export interface ValidationExceptionField {
338
213
  name: string | undefined;
339
214
  }
340
- export declare class ValidationException extends __BaseException {
341
- readonly name: "ValidationException";
342
- readonly $fault: "client";
343
- errorCode: ValidationExceptionErrorCode | undefined;
344
- fieldList?: ValidationExceptionField[] | undefined;
345
- constructor(
346
- opts: __ExceptionOptionType<ValidationException, __BaseException>
347
- );
348
- }
349
215
  export interface BatchGetTaxExemptionsRequest {
350
216
  accountIds: string[] | undefined;
351
217
  }
352
- export declare const EntityExemptionAccountStatus: {
353
- readonly Expired: "Expired";
354
- readonly None: "None";
355
- readonly Pending: "Pending";
356
- readonly Valid: "Valid";
357
- };
358
- export type EntityExemptionAccountStatus =
359
- (typeof EntityExemptionAccountStatus)[keyof typeof EntityExemptionAccountStatus];
360
218
  export interface TaxExemptionType {
361
219
  displayName?: string | undefined;
362
220
  description?: string | undefined;
@@ -380,14 +238,6 @@ export interface BatchGetTaxExemptionsResponse {
380
238
  taxExemptionDetailsMap?: Record<string, TaxExemptionDetails> | undefined;
381
239
  failedAccounts?: string[] | undefined;
382
240
  }
383
- export declare class ResourceNotFoundException extends __BaseException {
384
- readonly name: "ResourceNotFoundException";
385
- readonly $fault: "client";
386
- errorCode: string | undefined;
387
- constructor(
388
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
389
- );
390
- }
391
241
  export interface TaxRegistrationDocFile {
392
242
  fileName: string | undefined;
393
243
  fileContent: Uint8Array | undefined;
@@ -427,16 +277,6 @@ export interface BatchPutTaxRegistrationResponse {
427
277
  status?: TaxRegistrationStatus | undefined;
428
278
  errors: BatchPutTaxRegistrationError[] | undefined;
429
279
  }
430
- export declare class CaseCreationLimitExceededException extends __BaseException {
431
- readonly name: "CaseCreationLimitExceededException";
432
- readonly $fault: "client";
433
- constructor(
434
- opts: __ExceptionOptionType<
435
- CaseCreationLimitExceededException,
436
- __BaseException
437
- >
438
- );
439
- }
440
280
  export interface DeleteSupplementalTaxRegistrationRequest {
441
281
  authorityId: string | undefined;
442
282
  }
@@ -458,12 +298,6 @@ export interface GetTaxExemptionTypesResponse {
458
298
  taxExemptionTypes?: TaxExemptionType[] | undefined;
459
299
  }
460
300
  export interface GetTaxInheritanceRequest {}
461
- export declare const HeritageStatus: {
462
- readonly OptIn: "OptIn";
463
- readonly OptOut: "OptOut";
464
- };
465
- export type HeritageStatus =
466
- (typeof HeritageStatus)[keyof typeof HeritageStatus];
467
301
  export interface GetTaxInheritanceResponse {
468
302
  heritageStatus?: HeritageStatus | undefined;
469
303
  }
@@ -496,11 +330,6 @@ export interface ListSupplementalTaxRegistrationsRequest {
496
330
  maxResults?: number | undefined;
497
331
  nextToken?: string | undefined;
498
332
  }
499
- export declare const SupplementalTaxRegistrationType: {
500
- readonly VAT: "VAT";
501
- };
502
- export type SupplementalTaxRegistrationType =
503
- (typeof SupplementalTaxRegistrationType)[keyof typeof SupplementalTaxRegistrationType];
504
333
  export interface SupplementalTaxRegistration {
505
334
  registrationId: string | undefined;
506
335
  registrationType: SupplementalTaxRegistrationType | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-taxsettings",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";