@aws-sdk/client-taxsettings 3.590.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.
Files changed (119) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +272 -0
  3. package/dist-cjs/TaxSettings.js +25 -0
  4. package/dist-cjs/TaxSettingsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchDeleteTaxRegistrationCommand.js +29 -0
  8. package/dist-cjs/commands/BatchPutTaxRegistrationCommand.js +29 -0
  9. package/dist-cjs/commands/DeleteTaxRegistrationCommand.js +28 -0
  10. package/dist-cjs/commands/GetTaxRegistrationCommand.js +29 -0
  11. package/dist-cjs/commands/GetTaxRegistrationDocumentCommand.js +28 -0
  12. package/dist-cjs/commands/ListTaxRegistrationsCommand.js +29 -0
  13. package/dist-cjs/commands/PutTaxRegistrationCommand.js +29 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  16. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  17. package/dist-cjs/endpoint/ruleset.js +7 -0
  18. package/dist-cjs/extensionConfiguration.js +2 -0
  19. package/dist-cjs/index.js +11 -0
  20. package/dist-cjs/models/TaxSettingsServiceException.js +12 -0
  21. package/dist-cjs/models/index.js +4 -0
  22. package/dist-cjs/models/models_0.js +198 -0
  23. package/dist-cjs/pagination/Interfaces.js +2 -0
  24. package/dist-cjs/pagination/ListTaxRegistrationsPaginator.js +7 -0
  25. package/dist-cjs/pagination/index.js +5 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +311 -0
  27. package/dist-cjs/runtimeConfig.browser.js +39 -0
  28. package/dist-cjs/runtimeConfig.js +49 -0
  29. package/dist-cjs/runtimeConfig.native.js +15 -0
  30. package/dist-cjs/runtimeConfig.shared.js +34 -0
  31. package/dist-cjs/runtimeExtensions.js +25 -0
  32. package/dist-es/TaxSettings.js +21 -0
  33. package/dist-es/TaxSettingsClient.js +52 -0
  34. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  35. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  36. package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +25 -0
  37. package/dist-es/commands/BatchPutTaxRegistrationCommand.js +25 -0
  38. package/dist-es/commands/DeleteTaxRegistrationCommand.js +24 -0
  39. package/dist-es/commands/GetTaxRegistrationCommand.js +25 -0
  40. package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +24 -0
  41. package/dist-es/commands/ListTaxRegistrationsCommand.js +25 -0
  42. package/dist-es/commands/PutTaxRegistrationCommand.js +25 -0
  43. package/dist-es/commands/index.js +7 -0
  44. package/dist-es/endpoint/EndpointParameters.js +14 -0
  45. package/dist-es/endpoint/endpointResolver.js +10 -0
  46. package/dist-es/endpoint/ruleset.js +4 -0
  47. package/dist-es/extensionConfiguration.js +1 -0
  48. package/dist-es/index.js +6 -0
  49. package/dist-es/models/TaxSettingsServiceException.js +8 -0
  50. package/dist-es/models/index.js +1 -0
  51. package/dist-es/models/models_0.js +178 -0
  52. package/dist-es/pagination/Interfaces.js +1 -0
  53. package/dist-es/pagination/ListTaxRegistrationsPaginator.js +4 -0
  54. package/dist-es/pagination/index.js +2 -0
  55. package/dist-es/protocols/Aws_restJson1.js +294 -0
  56. package/dist-es/runtimeConfig.browser.js +34 -0
  57. package/dist-es/runtimeConfig.js +44 -0
  58. package/dist-es/runtimeConfig.native.js +11 -0
  59. package/dist-es/runtimeConfig.shared.js +30 -0
  60. package/dist-es/runtimeExtensions.js +21 -0
  61. package/dist-types/TaxSettings.d.ts +73 -0
  62. package/dist-types/TaxSettingsClient.d.ts +189 -0
  63. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  64. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  65. package/dist-types/commands/BatchDeleteTaxRegistrationCommand.d.ts +81 -0
  66. package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +346 -0
  67. package/dist-types/commands/DeleteTaxRegistrationCommand.d.ts +73 -0
  68. package/dist-types/commands/GetTaxRegistrationCommand.d.ts +158 -0
  69. package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +74 -0
  70. package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +186 -0
  71. package/dist-types/commands/PutTaxRegistrationCommand.d.ts +336 -0
  72. package/dist-types/commands/index.d.ts +7 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  74. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  75. package/dist-types/endpoint/ruleset.d.ts +2 -0
  76. package/dist-types/extensionConfiguration.d.ts +9 -0
  77. package/dist-types/index.d.ts +25 -0
  78. package/dist-types/models/TaxSettingsServiceException.d.ts +13 -0
  79. package/dist-types/models/index.d.ts +1 -0
  80. package/dist-types/models/models_0.d.ts +1476 -0
  81. package/dist-types/pagination/Interfaces.d.ts +8 -0
  82. package/dist-types/pagination/ListTaxRegistrationsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/index.d.ts +2 -0
  84. package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  86. package/dist-types/runtimeConfig.d.ts +45 -0
  87. package/dist-types/runtimeConfig.native.d.ts +44 -0
  88. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  89. package/dist-types/runtimeExtensions.d.ts +17 -0
  90. package/dist-types/ts3.4/TaxSettings.d.ts +129 -0
  91. package/dist-types/ts3.4/TaxSettingsClient.d.ts +162 -0
  92. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  93. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  94. package/dist-types/ts3.4/commands/BatchDeleteTaxRegistrationCommand.d.ts +39 -0
  95. package/dist-types/ts3.4/commands/BatchPutTaxRegistrationCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/DeleteTaxRegistrationCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/GetTaxRegistrationCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/GetTaxRegistrationDocumentCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/ListTaxRegistrationsCommand.d.ts +39 -0
  100. package/dist-types/ts3.4/commands/PutTaxRegistrationCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  102. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  103. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  104. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  105. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  106. package/dist-types/ts3.4/index.d.ts +9 -0
  107. package/dist-types/ts3.4/models/TaxSettingsServiceException.d.ts +8 -0
  108. package/dist-types/ts3.4/models/index.d.ts +1 -0
  109. package/dist-types/ts3.4/models/models_0.d.ts +408 -0
  110. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  111. package/dist-types/ts3.4/pagination/ListTaxRegistrationsPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  113. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
  114. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  115. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  116. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  117. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  118. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  119. package/package.json +101 -0
@@ -0,0 +1,408 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { TaxSettingsServiceException as __BaseException } from "./TaxSettingsServiceException";
3
+ export interface Address {
4
+ addressLine1: string | undefined;
5
+ addressLine2?: string;
6
+ addressLine3?: string;
7
+ districtOrCounty?: string;
8
+ city: string | undefined;
9
+ stateOrRegion?: string;
10
+ postalCode: string | undefined;
11
+ countryCode: string | undefined;
12
+ }
13
+ export declare const AddressRoleType: {
14
+ readonly BILLING_ADDRESS: "BillingAddress";
15
+ readonly CONTACT_ADDRESS: "ContactAddress";
16
+ readonly TAX_ADDRESS: "TaxAddress";
17
+ };
18
+ export type AddressRoleType =
19
+ (typeof AddressRoleType)[keyof typeof AddressRoleType];
20
+ export interface Jurisdiction {
21
+ stateOrRegion?: string;
22
+ countryCode: string | undefined;
23
+ }
24
+ export interface AccountMetaData {
25
+ accountName?: string;
26
+ seller?: string;
27
+ address?: Address;
28
+ addressType?: AddressRoleType;
29
+ addressRoleMap?: Partial<Record<AddressRoleType, Jurisdiction>>;
30
+ }
31
+ export interface TaxInheritanceDetails {
32
+ parentEntityId?: string;
33
+ inheritanceObtainedReason?: string;
34
+ }
35
+ export interface BrazilAdditionalInfo {
36
+ ccmCode?: string;
37
+ legalNatureCode?: string;
38
+ }
39
+ export interface CanadaAdditionalInfo {
40
+ provincialSalesTaxId?: string;
41
+ canadaQuebecSalesTaxNumber?: string;
42
+ canadaRetailSalesTaxNumber?: string;
43
+ isResellerAccount?: boolean;
44
+ }
45
+ export interface EstoniaAdditionalInfo {
46
+ registryCommercialCode: string | undefined;
47
+ }
48
+ export declare const PersonType: {
49
+ readonly BUSINESS: "Business";
50
+ readonly LEGAL_PERSON: "Legal Person";
51
+ readonly PHYSICAL_PERSON: "Physical Person";
52
+ };
53
+ export type PersonType = (typeof PersonType)[keyof typeof PersonType];
54
+ export interface GeorgiaAdditionalInfo {
55
+ personType: PersonType | undefined;
56
+ }
57
+ export interface IndiaAdditionalInfo {
58
+ pan?: string;
59
+ }
60
+ export declare const IsraelCustomerType: {
61
+ readonly BUSINESS: "Business";
62
+ readonly INDIVIDUAL: "Individual";
63
+ };
64
+ export type IsraelCustomerType =
65
+ (typeof IsraelCustomerType)[keyof typeof IsraelCustomerType];
66
+ export declare const IsraelDealerType: {
67
+ readonly AUTHORIZED: "Authorized";
68
+ readonly NON_AUTHORIZED: "Non-authorized";
69
+ };
70
+ export type IsraelDealerType =
71
+ (typeof IsraelDealerType)[keyof typeof IsraelDealerType];
72
+ export interface IsraelAdditionalInfo {
73
+ dealerType: IsraelDealerType | undefined;
74
+ customerType: IsraelCustomerType | undefined;
75
+ }
76
+ export interface ItalyAdditionalInfo {
77
+ sdiAccountId?: string;
78
+ cigNumber?: string;
79
+ cupNumber?: string;
80
+ taxCode?: string;
81
+ }
82
+ export interface KenyaAdditionalInfo {
83
+ personType: PersonType | undefined;
84
+ }
85
+ export declare const MalaysiaServiceTaxCode: {
86
+ readonly CONSULTANCY: "Consultancy";
87
+ readonly DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium";
88
+ readonly IT_SERVICES: "IT Services";
89
+ readonly TRAINING_OR_COACHING: "Training Or Coaching";
90
+ };
91
+ export type MalaysiaServiceTaxCode =
92
+ (typeof MalaysiaServiceTaxCode)[keyof typeof MalaysiaServiceTaxCode];
93
+ export interface MalaysiaAdditionalInfo {
94
+ serviceTaxCodes: MalaysiaServiceTaxCode[] | undefined;
95
+ }
96
+ export interface PolandAdditionalInfo {
97
+ individualRegistrationNumber?: string;
98
+ isGroupVatEnabled?: boolean;
99
+ }
100
+ export declare const TaxRegistrationNumberType: {
101
+ readonly LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber";
102
+ readonly TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber";
103
+ };
104
+ export type TaxRegistrationNumberType =
105
+ (typeof TaxRegistrationNumberType)[keyof typeof TaxRegistrationNumberType];
106
+ export interface RomaniaAdditionalInfo {
107
+ taxRegistrationNumberType: TaxRegistrationNumberType | undefined;
108
+ }
109
+ export declare const SaudiArabiaTaxRegistrationNumberType: {
110
+ readonly COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber";
111
+ readonly TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber";
112
+ readonly TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber";
113
+ };
114
+ export type SaudiArabiaTaxRegistrationNumberType =
115
+ (typeof SaudiArabiaTaxRegistrationNumberType)[keyof typeof SaudiArabiaTaxRegistrationNumberType];
116
+ export interface SaudiArabiaAdditionalInfo {
117
+ taxRegistrationNumberType?: SaudiArabiaTaxRegistrationNumberType;
118
+ }
119
+ export interface SouthKoreaAdditionalInfo {
120
+ businessRepresentativeName: string | undefined;
121
+ lineOfBusiness: string | undefined;
122
+ itemOfBusiness: string | undefined;
123
+ }
124
+ export declare const RegistrationType: {
125
+ readonly INTRA_EU: "Intra-EU";
126
+ readonly LOCAL: "Local";
127
+ };
128
+ export type RegistrationType =
129
+ (typeof RegistrationType)[keyof typeof RegistrationType];
130
+ export interface SpainAdditionalInfo {
131
+ registrationType: RegistrationType | undefined;
132
+ }
133
+ export declare const Industries: {
134
+ readonly BANKS: "Banks";
135
+ readonly CIRCULATING_ORG: "CirculatingOrg";
136
+ readonly DEVELOPMENT_AGENCIES: "DevelopmentAgencies";
137
+ readonly INSURANCE: "Insurance";
138
+ readonly PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds";
139
+ readonly PROFESSIONAL_ORG: "ProfessionalOrg";
140
+ };
141
+ export type Industries = (typeof Industries)[keyof typeof Industries];
142
+ export interface TurkeyAdditionalInfo {
143
+ taxOffice?: string;
144
+ kepEmailId?: string;
145
+ secondaryTaxId?: string;
146
+ industries?: Industries;
147
+ }
148
+ export declare const UkraineTrnType: {
149
+ readonly BUSINESS: "Business";
150
+ readonly INDIVIDUAL: "Individual";
151
+ };
152
+ export type UkraineTrnType =
153
+ (typeof UkraineTrnType)[keyof typeof UkraineTrnType];
154
+ export interface UkraineAdditionalInfo {
155
+ ukraineTrnType: UkraineTrnType | undefined;
156
+ }
157
+ export interface AdditionalInfoResponse {
158
+ malaysiaAdditionalInfo?: MalaysiaAdditionalInfo;
159
+ israelAdditionalInfo?: IsraelAdditionalInfo;
160
+ estoniaAdditionalInfo?: EstoniaAdditionalInfo;
161
+ canadaAdditionalInfo?: CanadaAdditionalInfo;
162
+ brazilAdditionalInfo?: BrazilAdditionalInfo;
163
+ spainAdditionalInfo?: SpainAdditionalInfo;
164
+ kenyaAdditionalInfo?: KenyaAdditionalInfo;
165
+ southKoreaAdditionalInfo?: SouthKoreaAdditionalInfo;
166
+ turkeyAdditionalInfo?: TurkeyAdditionalInfo;
167
+ georgiaAdditionalInfo?: GeorgiaAdditionalInfo;
168
+ italyAdditionalInfo?: ItalyAdditionalInfo;
169
+ romaniaAdditionalInfo?: RomaniaAdditionalInfo;
170
+ ukraineAdditionalInfo?: UkraineAdditionalInfo;
171
+ polandAdditionalInfo?: PolandAdditionalInfo;
172
+ saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo;
173
+ indiaAdditionalInfo?: IndiaAdditionalInfo;
174
+ }
175
+ export declare const TaxRegistrationType: {
176
+ readonly CNPJ: "CNPJ";
177
+ readonly CPF: "CPF";
178
+ readonly GST: "GST";
179
+ readonly SST: "SST";
180
+ readonly VAT: "VAT";
181
+ };
182
+ export type TaxRegistrationType =
183
+ (typeof TaxRegistrationType)[keyof typeof TaxRegistrationType];
184
+ export declare const Sector: {
185
+ readonly BUSINESS: "Business";
186
+ readonly INDIVIDUAL: "Individual";
187
+ readonly PUBLIC_INSTITUTIONS: "Government";
188
+ };
189
+ export type Sector = (typeof Sector)[keyof typeof Sector];
190
+ export declare const TaxRegistrationStatus: {
191
+ readonly DELETED: "Deleted";
192
+ readonly PENDING: "Pending";
193
+ readonly REJECTED: "Rejected";
194
+ readonly VERIFIED: "Verified";
195
+ };
196
+ export type TaxRegistrationStatus =
197
+ (typeof TaxRegistrationStatus)[keyof typeof TaxRegistrationStatus];
198
+ export interface TaxDocumentMetadata {
199
+ taxDocumentAccessToken: string | undefined;
200
+ taxDocumentName: string | undefined;
201
+ }
202
+ export interface TaxRegistrationWithJurisdiction {
203
+ registrationId: string | undefined;
204
+ registrationType: TaxRegistrationType | undefined;
205
+ legalName: string | undefined;
206
+ status: TaxRegistrationStatus | undefined;
207
+ sector?: Sector;
208
+ taxDocumentMetadatas?: TaxDocumentMetadata[];
209
+ certifiedEmailId?: string;
210
+ additionalTaxInformation?: AdditionalInfoResponse;
211
+ jurisdiction: Jurisdiction | undefined;
212
+ }
213
+ export interface AccountDetails {
214
+ accountId?: string;
215
+ taxRegistration?: TaxRegistrationWithJurisdiction;
216
+ taxInheritanceDetails?: TaxInheritanceDetails;
217
+ accountMetaData?: AccountMetaData;
218
+ }
219
+ export interface AdditionalInfoRequest {
220
+ malaysiaAdditionalInfo?: MalaysiaAdditionalInfo;
221
+ israelAdditionalInfo?: IsraelAdditionalInfo;
222
+ estoniaAdditionalInfo?: EstoniaAdditionalInfo;
223
+ canadaAdditionalInfo?: CanadaAdditionalInfo;
224
+ spainAdditionalInfo?: SpainAdditionalInfo;
225
+ kenyaAdditionalInfo?: KenyaAdditionalInfo;
226
+ southKoreaAdditionalInfo?: SouthKoreaAdditionalInfo;
227
+ turkeyAdditionalInfo?: TurkeyAdditionalInfo;
228
+ georgiaAdditionalInfo?: GeorgiaAdditionalInfo;
229
+ italyAdditionalInfo?: ItalyAdditionalInfo;
230
+ romaniaAdditionalInfo?: RomaniaAdditionalInfo;
231
+ ukraineAdditionalInfo?: UkraineAdditionalInfo;
232
+ polandAdditionalInfo?: PolandAdditionalInfo;
233
+ saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo;
234
+ }
235
+ export interface BatchDeleteTaxRegistrationRequest {
236
+ accountIds: string[] | undefined;
237
+ }
238
+ export interface BatchDeleteTaxRegistrationError {
239
+ accountId: string | undefined;
240
+ message: string | undefined;
241
+ code?: string;
242
+ }
243
+ export interface BatchDeleteTaxRegistrationResponse {
244
+ errors: BatchDeleteTaxRegistrationError[] | undefined;
245
+ }
246
+ export declare class ConflictException extends __BaseException {
247
+ readonly name: "ConflictException";
248
+ readonly $fault: "client";
249
+ errorCode: string | undefined;
250
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
251
+ }
252
+ export declare class InternalServerException extends __BaseException {
253
+ readonly name: "InternalServerException";
254
+ readonly $fault: "server";
255
+ errorCode: string | undefined;
256
+ constructor(
257
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
258
+ );
259
+ }
260
+ export declare const ValidationExceptionErrorCode: {
261
+ readonly EXPIRED_TOKEN: "ExpiredToken";
262
+ readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
263
+ readonly INVALID_TOKEN: "InvalidToken";
264
+ readonly MALFORMED_TOKEN: "MalformedToken";
265
+ readonly MISSING_INPUT: "MissingInput";
266
+ };
267
+ export type ValidationExceptionErrorCode =
268
+ (typeof ValidationExceptionErrorCode)[keyof typeof ValidationExceptionErrorCode];
269
+ export interface ValidationExceptionField {
270
+ name: string | undefined;
271
+ }
272
+ export declare class ValidationException extends __BaseException {
273
+ readonly name: "ValidationException";
274
+ readonly $fault: "client";
275
+ errorCode: ValidationExceptionErrorCode | undefined;
276
+ fieldList?: ValidationExceptionField[];
277
+ constructor(
278
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
279
+ );
280
+ }
281
+ export interface SourceS3Location {
282
+ bucket: string | undefined;
283
+ key: string | undefined;
284
+ }
285
+ export interface TaxRegistrationDocument {
286
+ s3Location: SourceS3Location | undefined;
287
+ }
288
+ export interface VerificationDetails {
289
+ dateOfBirth?: string;
290
+ taxRegistrationDocuments?: TaxRegistrationDocument[];
291
+ }
292
+ export interface TaxRegistrationEntry {
293
+ registrationId: string | undefined;
294
+ registrationType: TaxRegistrationType | undefined;
295
+ legalName?: string;
296
+ legalAddress?: Address;
297
+ sector?: Sector;
298
+ additionalTaxInformation?: AdditionalInfoRequest;
299
+ verificationDetails?: VerificationDetails;
300
+ certifiedEmailId?: string;
301
+ }
302
+ export interface BatchPutTaxRegistrationRequest {
303
+ accountIds: string[] | undefined;
304
+ taxRegistrationEntry: TaxRegistrationEntry | undefined;
305
+ }
306
+ export interface BatchPutTaxRegistrationError {
307
+ accountId: string | undefined;
308
+ message: string | undefined;
309
+ code?: string;
310
+ }
311
+ export interface BatchPutTaxRegistrationResponse {
312
+ status?: TaxRegistrationStatus;
313
+ errors: BatchPutTaxRegistrationError[] | undefined;
314
+ }
315
+ export interface DeleteTaxRegistrationRequest {
316
+ accountId?: string;
317
+ }
318
+ export interface DeleteTaxRegistrationResponse {}
319
+ export declare class ResourceNotFoundException extends __BaseException {
320
+ readonly name: "ResourceNotFoundException";
321
+ readonly $fault: "client";
322
+ errorCode: string | undefined;
323
+ constructor(
324
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
325
+ );
326
+ }
327
+ export interface DestinationS3Location {
328
+ bucket: string | undefined;
329
+ prefix?: string;
330
+ }
331
+ export interface GetTaxRegistrationRequest {
332
+ accountId?: string;
333
+ }
334
+ export interface TaxRegistration {
335
+ registrationId: string | undefined;
336
+ registrationType: TaxRegistrationType | undefined;
337
+ legalName: string | undefined;
338
+ status: TaxRegistrationStatus | undefined;
339
+ sector?: Sector;
340
+ taxDocumentMetadatas?: TaxDocumentMetadata[];
341
+ certifiedEmailId?: string;
342
+ additionalTaxInformation?: AdditionalInfoResponse;
343
+ legalAddress: Address | undefined;
344
+ }
345
+ export interface GetTaxRegistrationResponse {
346
+ taxRegistration?: TaxRegistration;
347
+ }
348
+ export interface GetTaxRegistrationDocumentRequest {
349
+ destinationS3Location: DestinationS3Location | undefined;
350
+ taxDocumentMetadata: TaxDocumentMetadata | undefined;
351
+ }
352
+ export interface GetTaxRegistrationDocumentResponse {
353
+ destinationFilePath?: string;
354
+ }
355
+ export interface ListTaxRegistrationsRequest {
356
+ maxResults?: number;
357
+ nextToken?: string;
358
+ }
359
+ export interface ListTaxRegistrationsResponse {
360
+ accountDetails: AccountDetails[] | undefined;
361
+ nextToken?: string;
362
+ }
363
+ export interface PutTaxRegistrationRequest {
364
+ accountId?: string;
365
+ taxRegistrationEntry: TaxRegistrationEntry | undefined;
366
+ }
367
+ export interface PutTaxRegistrationResponse {
368
+ status?: TaxRegistrationStatus;
369
+ }
370
+ export declare const AccountMetaDataFilterSensitiveLog: (
371
+ obj: AccountMetaData
372
+ ) => any;
373
+ export declare const TaxRegistrationWithJurisdictionFilterSensitiveLog: (
374
+ obj: TaxRegistrationWithJurisdiction
375
+ ) => any;
376
+ export declare const AccountDetailsFilterSensitiveLog: (
377
+ obj: AccountDetails
378
+ ) => any;
379
+ export declare const BatchDeleteTaxRegistrationErrorFilterSensitiveLog: (
380
+ obj: BatchDeleteTaxRegistrationError
381
+ ) => any;
382
+ export declare const BatchDeleteTaxRegistrationResponseFilterSensitiveLog: (
383
+ obj: BatchDeleteTaxRegistrationResponse
384
+ ) => any;
385
+ export declare const TaxRegistrationEntryFilterSensitiveLog: (
386
+ obj: TaxRegistrationEntry
387
+ ) => any;
388
+ export declare const BatchPutTaxRegistrationRequestFilterSensitiveLog: (
389
+ obj: BatchPutTaxRegistrationRequest
390
+ ) => any;
391
+ export declare const BatchPutTaxRegistrationErrorFilterSensitiveLog: (
392
+ obj: BatchPutTaxRegistrationError
393
+ ) => any;
394
+ export declare const BatchPutTaxRegistrationResponseFilterSensitiveLog: (
395
+ obj: BatchPutTaxRegistrationResponse
396
+ ) => any;
397
+ export declare const TaxRegistrationFilterSensitiveLog: (
398
+ obj: TaxRegistration
399
+ ) => any;
400
+ export declare const GetTaxRegistrationResponseFilterSensitiveLog: (
401
+ obj: GetTaxRegistrationResponse
402
+ ) => any;
403
+ export declare const ListTaxRegistrationsResponseFilterSensitiveLog: (
404
+ obj: ListTaxRegistrationsResponse
405
+ ) => any;
406
+ export declare const PutTaxRegistrationRequestFilterSensitiveLog: (
407
+ obj: PutTaxRegistrationRequest
408
+ ) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { TaxSettingsClient } from "../TaxSettingsClient";
3
+ export interface TaxSettingsPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: TaxSettingsClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListTaxRegistrationsCommandInput,
4
+ ListTaxRegistrationsCommandOutput,
5
+ } from "../commands/ListTaxRegistrationsCommand";
6
+ import { TaxSettingsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListTaxRegistrations: (
8
+ config: TaxSettingsPaginationConfiguration,
9
+ input: ListTaxRegistrationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListTaxRegistrationsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListTaxRegistrationsPaginator";
@@ -0,0 +1,89 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ BatchDeleteTaxRegistrationCommandInput,
8
+ BatchDeleteTaxRegistrationCommandOutput,
9
+ } from "../commands/BatchDeleteTaxRegistrationCommand";
10
+ import {
11
+ BatchPutTaxRegistrationCommandInput,
12
+ BatchPutTaxRegistrationCommandOutput,
13
+ } from "../commands/BatchPutTaxRegistrationCommand";
14
+ import {
15
+ DeleteTaxRegistrationCommandInput,
16
+ DeleteTaxRegistrationCommandOutput,
17
+ } from "../commands/DeleteTaxRegistrationCommand";
18
+ import {
19
+ GetTaxRegistrationCommandInput,
20
+ GetTaxRegistrationCommandOutput,
21
+ } from "../commands/GetTaxRegistrationCommand";
22
+ import {
23
+ GetTaxRegistrationDocumentCommandInput,
24
+ GetTaxRegistrationDocumentCommandOutput,
25
+ } from "../commands/GetTaxRegistrationDocumentCommand";
26
+ import {
27
+ ListTaxRegistrationsCommandInput,
28
+ ListTaxRegistrationsCommandOutput,
29
+ } from "../commands/ListTaxRegistrationsCommand";
30
+ import {
31
+ PutTaxRegistrationCommandInput,
32
+ PutTaxRegistrationCommandOutput,
33
+ } from "../commands/PutTaxRegistrationCommand";
34
+ export declare const se_BatchDeleteTaxRegistrationCommand: (
35
+ input: BatchDeleteTaxRegistrationCommandInput,
36
+ context: __SerdeContext
37
+ ) => Promise<__HttpRequest>;
38
+ export declare const se_BatchPutTaxRegistrationCommand: (
39
+ input: BatchPutTaxRegistrationCommandInput,
40
+ context: __SerdeContext
41
+ ) => Promise<__HttpRequest>;
42
+ export declare const se_DeleteTaxRegistrationCommand: (
43
+ input: DeleteTaxRegistrationCommandInput,
44
+ context: __SerdeContext
45
+ ) => Promise<__HttpRequest>;
46
+ export declare const se_GetTaxRegistrationCommand: (
47
+ input: GetTaxRegistrationCommandInput,
48
+ context: __SerdeContext
49
+ ) => Promise<__HttpRequest>;
50
+ export declare const se_GetTaxRegistrationDocumentCommand: (
51
+ input: GetTaxRegistrationDocumentCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
54
+ export declare const se_ListTaxRegistrationsCommand: (
55
+ input: ListTaxRegistrationsCommandInput,
56
+ context: __SerdeContext
57
+ ) => Promise<__HttpRequest>;
58
+ export declare const se_PutTaxRegistrationCommand: (
59
+ input: PutTaxRegistrationCommandInput,
60
+ context: __SerdeContext
61
+ ) => Promise<__HttpRequest>;
62
+ export declare const de_BatchDeleteTaxRegistrationCommand: (
63
+ output: __HttpResponse,
64
+ context: __SerdeContext
65
+ ) => Promise<BatchDeleteTaxRegistrationCommandOutput>;
66
+ export declare const de_BatchPutTaxRegistrationCommand: (
67
+ output: __HttpResponse,
68
+ context: __SerdeContext
69
+ ) => Promise<BatchPutTaxRegistrationCommandOutput>;
70
+ export declare const de_DeleteTaxRegistrationCommand: (
71
+ output: __HttpResponse,
72
+ context: __SerdeContext
73
+ ) => Promise<DeleteTaxRegistrationCommandOutput>;
74
+ export declare const de_GetTaxRegistrationCommand: (
75
+ output: __HttpResponse,
76
+ context: __SerdeContext
77
+ ) => Promise<GetTaxRegistrationCommandOutput>;
78
+ export declare const de_GetTaxRegistrationDocumentCommand: (
79
+ output: __HttpResponse,
80
+ context: __SerdeContext
81
+ ) => Promise<GetTaxRegistrationDocumentCommandOutput>;
82
+ export declare const de_ListTaxRegistrationsCommand: (
83
+ output: __HttpResponse,
84
+ context: __SerdeContext
85
+ ) => Promise<ListTaxRegistrationsCommandOutput>;
86
+ export declare const de_PutTaxRegistrationCommand: (
87
+ output: __HttpResponse,
88
+ context: __SerdeContext
89
+ ) => Promise<PutTaxRegistrationCommandOutput>;
@@ -0,0 +1,85 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { TaxSettingsClientConfig } from "./TaxSettingsClient";
3
+ export declare const getRuntimeConfig: (config: TaxSettingsClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
17
+ requestHandler:
18
+ | import("@smithy/protocol-http").HttpHandler<any>
19
+ | RequestHandler;
20
+ retryMode: string | import("@smithy/types").Provider<string>;
21
+ sha256: import("@smithy/types").HashConstructor;
22
+ streamCollector: import("@smithy/types").StreamCollector;
23
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ apiVersion: string;
26
+ urlParser: import("@smithy/types").UrlParser;
27
+ base64Decoder: import("@smithy/types").Decoder;
28
+ base64Encoder: (_input: string | Uint8Array) => string;
29
+ utf8Decoder: import("@smithy/types").Decoder;
30
+ utf8Encoder: (input: string | Uint8Array) => string;
31
+ disableHostPrefix: boolean;
32
+ serviceId: string;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ endpoint?:
36
+ | ((
37
+ | string
38
+ | import("@smithy/types").Endpoint
39
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
40
+ | import("@smithy/types").EndpointV2
41
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
42
+ ) &
43
+ (
44
+ | string
45
+ | import("@smithy/types").Provider<string>
46
+ | import("@smithy/types").Endpoint
47
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
48
+ | import("@smithy/types").EndpointV2
49
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
50
+ ))
51
+ | undefined;
52
+ endpointProvider: (
53
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
54
+ context?: {
55
+ logger?: import("@smithy/types").Logger | undefined;
56
+ }
57
+ ) => import("@smithy/types").EndpointV2;
58
+ tls?: boolean | undefined;
59
+ retryStrategy?:
60
+ | import("@smithy/types").RetryStrategy
61
+ | import("@smithy/types").RetryStrategyV2
62
+ | undefined;
63
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
64
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TaxSettingsHttpAuthSchemeProvider;
66
+ credentials?:
67
+ | import("@smithy/types").AwsCredentialIdentity
68
+ | import("@smithy/types").AwsCredentialIdentityProvider
69
+ | undefined;
70
+ signer?:
71
+ | import("@smithy/types").RequestSigner
72
+ | ((
73
+ authScheme?: import("@smithy/types").AuthScheme | undefined
74
+ ) => Promise<import("@smithy/types").RequestSigner>)
75
+ | undefined;
76
+ signingEscapePath?: boolean | undefined;
77
+ systemClockOffset?: number | undefined;
78
+ signingRegion?: string | undefined;
79
+ signerConstructor?:
80
+ | (new (
81
+ options: import("@smithy/signature-v4").SignatureV4Init &
82
+ import("@smithy/signature-v4").SignatureV4CryptoInit
83
+ ) => import("@smithy/types").RequestSigner)
84
+ | undefined;
85
+ };
@@ -0,0 +1,89 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { TaxSettingsClientConfig } from "./TaxSettingsClient";
3
+ export declare const getRuntimeConfig: (config: TaxSettingsClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ init?:
11
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
+ | undefined
13
+ ) => import("@smithy/types").MemoizedProvider<
14
+ import("@smithy/types").AwsCredentialIdentity
15
+ >;
16
+ defaultUserAgentProvider: import("@smithy/types").Provider<
17
+ import("@smithy/types").UserAgent
18
+ >;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<string>;
21
+ requestHandler:
22
+ | RequestHandler
23
+ | import("@smithy/protocol-http").HttpHandler<any>;
24
+ retryMode: string | import("@smithy/types").Provider<string>;
25
+ sha256: import("@smithy/types").HashConstructor;
26
+ streamCollector: import("@smithy/types").StreamCollector;
27
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
+ apiVersion: string;
30
+ urlParser: import("@smithy/types").UrlParser;
31
+ base64Decoder: import("@smithy/types").Decoder;
32
+ base64Encoder: (_input: string | Uint8Array) => string;
33
+ utf8Decoder: import("@smithy/types").Decoder;
34
+ utf8Encoder: (input: string | Uint8Array) => string;
35
+ disableHostPrefix: boolean;
36
+ serviceId: string;
37
+ logger: import("@smithy/types").Logger;
38
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ endpoint?:
40
+ | ((
41
+ | string
42
+ | import("@smithy/types").Endpoint
43
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
44
+ | import("@smithy/types").EndpointV2
45
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
46
+ ) &
47
+ (
48
+ | string
49
+ | import("@smithy/types").Provider<string>
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ))
55
+ | undefined;
56
+ endpointProvider: (
57
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
58
+ context?: {
59
+ logger?: import("@smithy/types").Logger | undefined;
60
+ }
61
+ ) => import("@smithy/types").EndpointV2;
62
+ tls?: boolean | undefined;
63
+ retryStrategy?:
64
+ | import("@smithy/types").RetryStrategy
65
+ | import("@smithy/types").RetryStrategyV2
66
+ | undefined;
67
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
68
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TaxSettingsHttpAuthSchemeProvider;
70
+ credentials?:
71
+ | import("@smithy/types").AwsCredentialIdentity
72
+ | import("@smithy/types").AwsCredentialIdentityProvider
73
+ | undefined;
74
+ signer?:
75
+ | import("@smithy/types").RequestSigner
76
+ | ((
77
+ authScheme?: import("@smithy/types").AuthScheme | undefined
78
+ ) => Promise<import("@smithy/types").RequestSigner>)
79
+ | undefined;
80
+ signingEscapePath?: boolean | undefined;
81
+ systemClockOffset?: number | undefined;
82
+ signingRegion?: string | undefined;
83
+ signerConstructor?:
84
+ | (new (
85
+ options: import("@smithy/signature-v4").SignatureV4Init &
86
+ import("@smithy/signature-v4").SignatureV4CryptoInit
87
+ ) => import("@smithy/types").RequestSigner)
88
+ | undefined;
89
+ };