@aws-sdk/client-taxsettings 3.927.0 → 3.929.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 (40) hide show
  1. package/dist-cjs/index.js +950 -862
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/TaxSettingsClient.js +2 -0
  4. package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +3 -10
  5. package/dist-es/commands/BatchGetTaxExemptionsCommand.js +3 -9
  6. package/dist-es/commands/BatchPutTaxRegistrationCommand.js +3 -10
  7. package/dist-es/commands/DeleteSupplementalTaxRegistrationCommand.js +3 -9
  8. package/dist-es/commands/DeleteTaxRegistrationCommand.js +3 -9
  9. package/dist-es/commands/GetTaxExemptionTypesCommand.js +3 -9
  10. package/dist-es/commands/GetTaxInheritanceCommand.js +3 -9
  11. package/dist-es/commands/GetTaxRegistrationCommand.js +3 -10
  12. package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +3 -9
  13. package/dist-es/commands/ListSupplementalTaxRegistrationsCommand.js +3 -10
  14. package/dist-es/commands/ListTaxExemptionsCommand.js +3 -9
  15. package/dist-es/commands/ListTaxRegistrationsCommand.js +3 -10
  16. package/dist-es/commands/PutSupplementalTaxRegistrationCommand.js +3 -10
  17. package/dist-es/commands/PutTaxExemptionCommand.js +3 -9
  18. package/dist-es/commands/PutTaxInheritanceCommand.js +3 -9
  19. package/dist-es/commands/PutTaxRegistrationCommand.js +3 -10
  20. package/dist-es/models/models_0.js +0 -64
  21. package/dist-es/runtimeConfig.shared.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +898 -0
  23. package/dist-types/TaxSettingsClient.d.ts +10 -1
  24. package/dist-types/models/models_0.d.ts +0 -68
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  26. package/dist-types/runtimeConfig.d.ts +1 -0
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +120 -0
  30. package/dist-types/ts3.4/TaxSettingsClient.d.ts +4 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +0 -51
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +127 -0
  37. package/package.json +5 -5
  38. package/dist-es/protocols/Aws_restJson1.js +0 -650
  39. package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class TaxSettingsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class TaxSettingsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class TaxSettingsServiceException extends smithyClient.ServiceException {
113
+ let TaxSettingsServiceException$1 = class TaxSettingsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, TaxSettingsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends TaxSettingsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends TaxSettingsServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,7 +128,7 @@ class AccessDeniedException extends TaxSettingsServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
131
+ };
132
132
  const AddressRoleType = {
133
133
  BILLING_ADDRESS: "BillingAddress",
134
134
  CONTACT_ADDRESS: "ContactAddress",
@@ -208,7 +208,7 @@ const TaxRegistrationStatus = {
208
208
  REJECTED: "Rejected",
209
209
  VERIFIED: "Verified",
210
210
  };
211
- class AttachmentUploadException extends TaxSettingsServiceException {
211
+ let AttachmentUploadException$1 = class AttachmentUploadException extends TaxSettingsServiceException$1 {
212
212
  name = "AttachmentUploadException";
213
213
  $fault = "client";
214
214
  constructor(opts) {
@@ -219,8 +219,8 @@ class AttachmentUploadException extends TaxSettingsServiceException {
219
219
  });
220
220
  Object.setPrototypeOf(this, AttachmentUploadException.prototype);
221
221
  }
222
- }
223
- class ConflictException extends TaxSettingsServiceException {
222
+ };
223
+ let ConflictException$1 = class ConflictException extends TaxSettingsServiceException$1 {
224
224
  name = "ConflictException";
225
225
  $fault = "client";
226
226
  errorCode;
@@ -233,8 +233,8 @@ class ConflictException extends TaxSettingsServiceException {
233
233
  Object.setPrototypeOf(this, ConflictException.prototype);
234
234
  this.errorCode = opts.errorCode;
235
235
  }
236
- }
237
- class InternalServerException extends TaxSettingsServiceException {
236
+ };
237
+ let InternalServerException$1 = class InternalServerException extends TaxSettingsServiceException$1 {
238
238
  name = "InternalServerException";
239
239
  $fault = "server";
240
240
  errorCode;
@@ -247,7 +247,7 @@ class InternalServerException extends TaxSettingsServiceException {
247
247
  Object.setPrototypeOf(this, InternalServerException.prototype);
248
248
  this.errorCode = opts.errorCode;
249
249
  }
250
- }
250
+ };
251
251
  const ValidationExceptionErrorCode = {
252
252
  EXPIRED_TOKEN: "ExpiredToken",
253
253
  FIELD_VALIDATION_FAILED: "FieldValidationFailed",
@@ -255,7 +255,7 @@ const ValidationExceptionErrorCode = {
255
255
  MALFORMED_TOKEN: "MalformedToken",
256
256
  MISSING_INPUT: "MissingInput",
257
257
  };
258
- class ValidationException extends TaxSettingsServiceException {
258
+ let ValidationException$1 = class ValidationException extends TaxSettingsServiceException$1 {
259
259
  name = "ValidationException";
260
260
  $fault = "client";
261
261
  errorCode;
@@ -270,14 +270,14 @@ class ValidationException extends TaxSettingsServiceException {
270
270
  this.errorCode = opts.errorCode;
271
271
  this.fieldList = opts.fieldList;
272
272
  }
273
- }
273
+ };
274
274
  const EntityExemptionAccountStatus = {
275
275
  Expired: "Expired",
276
276
  None: "None",
277
277
  Pending: "Pending",
278
278
  Valid: "Valid",
279
279
  };
280
- class ResourceNotFoundException extends TaxSettingsServiceException {
280
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends TaxSettingsServiceException$1 {
281
281
  name = "ResourceNotFoundException";
282
282
  $fault = "client";
283
283
  errorCode;
@@ -290,8 +290,8 @@ class ResourceNotFoundException extends TaxSettingsServiceException {
290
290
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
291
291
  this.errorCode = opts.errorCode;
292
292
  }
293
- }
294
- class CaseCreationLimitExceededException extends TaxSettingsServiceException {
293
+ };
294
+ let CaseCreationLimitExceededException$1 = class CaseCreationLimitExceededException extends TaxSettingsServiceException$1 {
295
295
  name = "CaseCreationLimitExceededException";
296
296
  $fault = "client";
297
297
  constructor(opts) {
@@ -302,7 +302,7 @@ class CaseCreationLimitExceededException extends TaxSettingsServiceException {
302
302
  });
303
303
  Object.setPrototypeOf(this, CaseCreationLimitExceededException.prototype);
304
304
  }
305
- }
305
+ };
306
306
  const HeritageStatus = {
307
307
  OptIn: "OptIn",
308
308
  OptOut: "OptOut",
@@ -310,729 +310,909 @@ const HeritageStatus = {
310
310
  const SupplementalTaxRegistrationType = {
311
311
  VAT: "VAT",
312
312
  };
313
- const AccountMetaDataFilterSensitiveLog = (obj) => ({
314
- ...obj,
315
- });
316
- const TaxRegistrationWithJurisdictionFilterSensitiveLog = (obj) => ({
317
- ...obj,
318
- });
319
- const AccountDetailsFilterSensitiveLog = (obj) => ({
320
- ...obj,
321
- ...(obj.taxRegistration && { taxRegistration: smithyClient.SENSITIVE_STRING }),
322
- ...(obj.accountMetaData && { accountMetaData: smithyClient.SENSITIVE_STRING }),
323
- });
324
- const BatchDeleteTaxRegistrationErrorFilterSensitiveLog = (obj) => ({
325
- ...obj,
326
- ...(obj.message && { message: smithyClient.SENSITIVE_STRING }),
327
- });
328
- const BatchDeleteTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
329
- ...obj,
330
- ...(obj.errors && { errors: obj.errors.map((item) => BatchDeleteTaxRegistrationErrorFilterSensitiveLog(item)) }),
331
- });
332
- const TaxRegistrationEntryFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- });
335
- const BatchPutTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
336
- ...obj,
337
- ...(obj.taxRegistrationEntry && { taxRegistrationEntry: smithyClient.SENSITIVE_STRING }),
338
- });
339
- const BatchPutTaxRegistrationErrorFilterSensitiveLog = (obj) => ({
340
- ...obj,
341
- ...(obj.message && { message: smithyClient.SENSITIVE_STRING }),
342
- });
343
- const BatchPutTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
344
- ...obj,
345
- ...(obj.errors && { errors: obj.errors.map((item) => BatchPutTaxRegistrationErrorFilterSensitiveLog(item)) }),
346
- });
347
- const TaxRegistrationFilterSensitiveLog = (obj) => ({
348
- ...obj,
349
- });
350
- const GetTaxRegistrationResponseFilterSensitiveLog = (obj) => ({
351
- ...obj,
352
- ...(obj.taxRegistration && { taxRegistration: smithyClient.SENSITIVE_STRING }),
353
- });
354
- const SupplementalTaxRegistrationFilterSensitiveLog = (obj) => ({
355
- ...obj,
356
- });
357
- const ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
358
- ...obj,
359
- ...(obj.taxRegistrations && { taxRegistrations: smithyClient.SENSITIVE_STRING }),
360
- });
361
- const ListTaxRegistrationsResponseFilterSensitiveLog = (obj) => ({
362
- ...obj,
363
- ...(obj.accountDetails && { accountDetails: smithyClient.SENSITIVE_STRING }),
364
- });
365
- const SupplementalTaxRegistrationEntryFilterSensitiveLog = (obj) => ({
366
- ...obj,
367
- });
368
- const PutSupplementalTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
369
- ...obj,
370
- ...(obj.taxRegistrationEntry && { taxRegistrationEntry: smithyClient.SENSITIVE_STRING }),
371
- });
372
- const PutTaxRegistrationRequestFilterSensitiveLog = (obj) => ({
373
- ...obj,
374
- ...(obj.taxRegistrationEntry && { taxRegistrationEntry: smithyClient.SENSITIVE_STRING }),
375
- });
376
313
 
377
- const se_BatchDeleteTaxRegistrationCommand = async (input, context) => {
378
- const b = core.requestBuilder(input, context);
379
- const headers = {
380
- "content-type": "application/json",
381
- };
382
- b.bp("/BatchDeleteTaxRegistration");
383
- let body;
384
- body = JSON.stringify(smithyClient.take(input, {
385
- accountIds: (_) => smithyClient._json(_),
386
- }));
387
- b.m("POST").h(headers).b(body);
388
- return b.build();
389
- };
390
- const se_BatchGetTaxExemptionsCommand = async (input, context) => {
391
- const b = core.requestBuilder(input, context);
392
- const headers = {
393
- "content-type": "application/json",
394
- };
395
- b.bp("/BatchGetTaxExemptions");
396
- let body;
397
- body = JSON.stringify(smithyClient.take(input, {
398
- accountIds: (_) => smithyClient._json(_),
399
- }));
400
- b.m("POST").h(headers).b(body);
401
- return b.build();
402
- };
403
- const se_BatchPutTaxRegistrationCommand = async (input, context) => {
404
- const b = core.requestBuilder(input, context);
405
- const headers = {
406
- "content-type": "application/json",
407
- };
408
- b.bp("/BatchPutTaxRegistration");
409
- let body;
410
- body = JSON.stringify(smithyClient.take(input, {
411
- accountIds: (_) => smithyClient._json(_),
412
- taxRegistrationEntry: (_) => se_TaxRegistrationEntry(_, context),
413
- }));
414
- b.m("POST").h(headers).b(body);
415
- return b.build();
416
- };
417
- const se_DeleteSupplementalTaxRegistrationCommand = async (input, context) => {
418
- const b = core.requestBuilder(input, context);
419
- const headers = {
420
- "content-type": "application/json",
421
- };
422
- b.bp("/DeleteSupplementalTaxRegistration");
423
- let body;
424
- body = JSON.stringify(smithyClient.take(input, {
425
- authorityId: [],
426
- }));
427
- b.m("POST").h(headers).b(body);
428
- return b.build();
429
- };
430
- const se_DeleteTaxRegistrationCommand = async (input, context) => {
431
- const b = core.requestBuilder(input, context);
432
- const headers = {
433
- "content-type": "application/json",
434
- };
435
- b.bp("/DeleteTaxRegistration");
436
- let body;
437
- body = JSON.stringify(smithyClient.take(input, {
438
- accountId: [],
439
- }));
440
- b.m("POST").h(headers).b(body);
441
- return b.build();
442
- };
443
- const se_GetTaxExemptionTypesCommand = async (input, context) => {
444
- const b = core.requestBuilder(input, context);
445
- const headers = {};
446
- b.bp("/GetTaxExemptionTypes");
447
- let body;
448
- b.m("POST").h(headers).b(body);
449
- return b.build();
450
- };
451
- const se_GetTaxInheritanceCommand = async (input, context) => {
452
- const b = core.requestBuilder(input, context);
453
- const headers = {};
454
- b.bp("/GetTaxInheritance");
455
- let body;
456
- b.m("POST").h(headers).b(body);
457
- return b.build();
458
- };
459
- const se_GetTaxRegistrationCommand = async (input, context) => {
460
- const b = core.requestBuilder(input, context);
461
- const headers = {
462
- "content-type": "application/json",
463
- };
464
- b.bp("/GetTaxRegistration");
465
- let body;
466
- body = JSON.stringify(smithyClient.take(input, {
467
- accountId: [],
468
- }));
469
- b.m("POST").h(headers).b(body);
470
- return b.build();
471
- };
472
- const se_GetTaxRegistrationDocumentCommand = async (input, context) => {
473
- const b = core.requestBuilder(input, context);
474
- const headers = {
475
- "content-type": "application/json",
476
- };
477
- b.bp("/GetTaxRegistrationDocument");
478
- let body;
479
- body = JSON.stringify(smithyClient.take(input, {
480
- destinationS3Location: (_) => smithyClient._json(_),
481
- taxDocumentMetadata: (_) => smithyClient._json(_),
482
- }));
483
- b.m("POST").h(headers).b(body);
484
- return b.build();
485
- };
486
- const se_ListSupplementalTaxRegistrationsCommand = async (input, context) => {
487
- const b = core.requestBuilder(input, context);
488
- const headers = {
489
- "content-type": "application/json",
490
- };
491
- b.bp("/ListSupplementalTaxRegistrations");
492
- let body;
493
- body = JSON.stringify(smithyClient.take(input, {
494
- maxResults: [],
495
- nextToken: [],
496
- }));
497
- b.m("POST").h(headers).b(body);
498
- return b.build();
499
- };
500
- const se_ListTaxExemptionsCommand = async (input, context) => {
501
- const b = core.requestBuilder(input, context);
502
- const headers = {
503
- "content-type": "application/json",
504
- };
505
- b.bp("/ListTaxExemptions");
506
- let body;
507
- body = JSON.stringify(smithyClient.take(input, {
508
- maxResults: [],
509
- nextToken: [],
510
- }));
511
- b.m("POST").h(headers).b(body);
512
- return b.build();
513
- };
514
- const se_ListTaxRegistrationsCommand = async (input, context) => {
515
- const b = core.requestBuilder(input, context);
516
- const headers = {
517
- "content-type": "application/json",
518
- };
519
- b.bp("/ListTaxRegistrations");
520
- let body;
521
- body = JSON.stringify(smithyClient.take(input, {
522
- maxResults: [],
523
- nextToken: [],
524
- }));
525
- b.m("POST").h(headers).b(body);
526
- return b.build();
527
- };
528
- const se_PutSupplementalTaxRegistrationCommand = async (input, context) => {
529
- const b = core.requestBuilder(input, context);
530
- const headers = {
531
- "content-type": "application/json",
532
- };
533
- b.bp("/PutSupplementalTaxRegistration");
534
- let body;
535
- body = JSON.stringify(smithyClient.take(input, {
536
- taxRegistrationEntry: (_) => smithyClient._json(_),
537
- }));
538
- b.m("POST").h(headers).b(body);
539
- return b.build();
540
- };
541
- const se_PutTaxExemptionCommand = async (input, context) => {
542
- const b = core.requestBuilder(input, context);
543
- const headers = {
544
- "content-type": "application/json",
545
- };
546
- b.bp("/PutTaxExemption");
547
- let body;
548
- body = JSON.stringify(smithyClient.take(input, {
549
- accountIds: (_) => smithyClient._json(_),
550
- authority: (_) => smithyClient._json(_),
551
- exemptionCertificate: (_) => se_ExemptionCertificate(_, context),
552
- exemptionType: [],
553
- }));
554
- b.m("POST").h(headers).b(body);
555
- return b.build();
556
- };
557
- const se_PutTaxInheritanceCommand = async (input, context) => {
558
- const b = core.requestBuilder(input, context);
559
- const headers = {
560
- "content-type": "application/json",
561
- };
562
- b.bp("/PutTaxInheritance");
563
- let body;
564
- body = JSON.stringify(smithyClient.take(input, {
565
- heritageStatus: [],
566
- }));
567
- b.m("POST").h(headers).b(body);
568
- return b.build();
569
- };
570
- const se_PutTaxRegistrationCommand = async (input, context) => {
571
- const b = core.requestBuilder(input, context);
572
- const headers = {
573
- "content-type": "application/json",
574
- };
575
- b.bp("/PutTaxRegistration");
576
- let body;
577
- body = JSON.stringify(smithyClient.take(input, {
578
- accountId: [],
579
- taxRegistrationEntry: (_) => se_TaxRegistrationEntry(_, context),
580
- }));
581
- b.m("POST").h(headers).b(body);
582
- return b.build();
583
- };
584
- const de_BatchDeleteTaxRegistrationCommand = async (output, context) => {
585
- if (output.statusCode !== 200 && output.statusCode >= 300) {
586
- return de_CommandError(output, context);
587
- }
588
- const contents = smithyClient.map({
589
- $metadata: deserializeMetadata(output),
590
- });
591
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
592
- const doc = smithyClient.take(data, {
593
- errors: smithyClient._json,
594
- });
595
- Object.assign(contents, doc);
596
- return contents;
597
- };
598
- const de_BatchGetTaxExemptionsCommand = async (output, context) => {
599
- if (output.statusCode !== 200 && output.statusCode >= 300) {
600
- return de_CommandError(output, context);
601
- }
602
- const contents = smithyClient.map({
603
- $metadata: deserializeMetadata(output),
604
- });
605
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
606
- const doc = smithyClient.take(data, {
607
- failedAccounts: smithyClient._json,
608
- taxExemptionDetailsMap: (_) => de_TaxExemptionDetailsMap(_),
609
- });
610
- Object.assign(contents, doc);
611
- return contents;
612
- };
613
- const de_BatchPutTaxRegistrationCommand = async (output, context) => {
614
- if (output.statusCode !== 200 && output.statusCode >= 300) {
615
- return de_CommandError(output, context);
616
- }
617
- const contents = smithyClient.map({
618
- $metadata: deserializeMetadata(output),
619
- });
620
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
621
- const doc = smithyClient.take(data, {
622
- errors: smithyClient._json,
623
- status: smithyClient.expectString,
624
- });
625
- Object.assign(contents, doc);
626
- return contents;
627
- };
628
- const de_DeleteSupplementalTaxRegistrationCommand = async (output, context) => {
629
- if (output.statusCode !== 200 && output.statusCode >= 300) {
630
- return de_CommandError(output, context);
631
- }
632
- const contents = smithyClient.map({
633
- $metadata: deserializeMetadata(output),
634
- });
635
- await smithyClient.collectBody(output.body, context);
636
- return contents;
637
- };
638
- const de_DeleteTaxRegistrationCommand = async (output, context) => {
639
- if (output.statusCode !== 200 && output.statusCode >= 300) {
640
- return de_CommandError(output, context);
641
- }
642
- const contents = smithyClient.map({
643
- $metadata: deserializeMetadata(output),
644
- });
645
- await smithyClient.collectBody(output.body, context);
646
- return contents;
647
- };
648
- const de_GetTaxExemptionTypesCommand = async (output, context) => {
649
- if (output.statusCode !== 200 && output.statusCode >= 300) {
650
- return de_CommandError(output, context);
651
- }
652
- const contents = smithyClient.map({
653
- $metadata: deserializeMetadata(output),
654
- });
655
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
656
- const doc = smithyClient.take(data, {
657
- taxExemptionTypes: smithyClient._json,
658
- });
659
- Object.assign(contents, doc);
660
- return contents;
661
- };
662
- const de_GetTaxInheritanceCommand = async (output, context) => {
663
- if (output.statusCode !== 200 && output.statusCode >= 300) {
664
- return de_CommandError(output, context);
665
- }
666
- const contents = smithyClient.map({
667
- $metadata: deserializeMetadata(output),
668
- });
669
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
670
- const doc = smithyClient.take(data, {
671
- heritageStatus: smithyClient.expectString,
672
- });
673
- Object.assign(contents, doc);
674
- return contents;
675
- };
676
- const de_GetTaxRegistrationCommand = async (output, context) => {
677
- if (output.statusCode !== 200 && output.statusCode >= 300) {
678
- return de_CommandError(output, context);
679
- }
680
- const contents = smithyClient.map({
681
- $metadata: deserializeMetadata(output),
682
- });
683
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
684
- const doc = smithyClient.take(data, {
685
- taxRegistration: smithyClient._json,
686
- });
687
- Object.assign(contents, doc);
688
- return contents;
689
- };
690
- const de_GetTaxRegistrationDocumentCommand = async (output, context) => {
691
- if (output.statusCode !== 200 && output.statusCode >= 300) {
692
- return de_CommandError(output, context);
693
- }
694
- const contents = smithyClient.map({
695
- $metadata: deserializeMetadata(output),
696
- });
697
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
698
- const doc = smithyClient.take(data, {
699
- destinationFilePath: smithyClient.expectString,
700
- presignedS3Url: smithyClient.expectString,
701
- });
702
- Object.assign(contents, doc);
703
- return contents;
704
- };
705
- const de_ListSupplementalTaxRegistrationsCommand = async (output, context) => {
706
- if (output.statusCode !== 200 && output.statusCode >= 300) {
707
- return de_CommandError(output, context);
708
- }
709
- const contents = smithyClient.map({
710
- $metadata: deserializeMetadata(output),
711
- });
712
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
713
- const doc = smithyClient.take(data, {
714
- nextToken: smithyClient.expectString,
715
- taxRegistrations: smithyClient._json,
716
- });
717
- Object.assign(contents, doc);
718
- return contents;
719
- };
720
- const de_ListTaxExemptionsCommand = async (output, context) => {
721
- if (output.statusCode !== 200 && output.statusCode >= 300) {
722
- return de_CommandError(output, context);
723
- }
724
- const contents = smithyClient.map({
725
- $metadata: deserializeMetadata(output),
726
- });
727
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
728
- const doc = smithyClient.take(data, {
729
- nextToken: smithyClient.expectString,
730
- taxExemptionDetailsMap: (_) => de_TaxExemptionDetailsMap(_),
731
- });
732
- Object.assign(contents, doc);
733
- return contents;
734
- };
735
- const de_ListTaxRegistrationsCommand = async (output, context) => {
736
- if (output.statusCode !== 200 && output.statusCode >= 300) {
737
- return de_CommandError(output, context);
738
- }
739
- const contents = smithyClient.map({
740
- $metadata: deserializeMetadata(output),
741
- });
742
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
743
- const doc = smithyClient.take(data, {
744
- accountDetails: smithyClient._json,
745
- nextToken: smithyClient.expectString,
746
- });
747
- Object.assign(contents, doc);
748
- return contents;
749
- };
750
- const de_PutSupplementalTaxRegistrationCommand = async (output, context) => {
751
- if (output.statusCode !== 200 && output.statusCode >= 300) {
752
- return de_CommandError(output, context);
753
- }
754
- const contents = smithyClient.map({
755
- $metadata: deserializeMetadata(output),
756
- });
757
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
758
- const doc = smithyClient.take(data, {
759
- authorityId: smithyClient.expectString,
760
- status: smithyClient.expectString,
761
- });
762
- Object.assign(contents, doc);
763
- return contents;
764
- };
765
- const de_PutTaxExemptionCommand = async (output, context) => {
766
- if (output.statusCode !== 200 && output.statusCode >= 300) {
767
- return de_CommandError(output, context);
768
- }
769
- const contents = smithyClient.map({
770
- $metadata: deserializeMetadata(output),
771
- });
772
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
773
- const doc = smithyClient.take(data, {
774
- caseId: smithyClient.expectString,
775
- });
776
- Object.assign(contents, doc);
777
- return contents;
778
- };
779
- const de_PutTaxInheritanceCommand = async (output, context) => {
780
- if (output.statusCode !== 200 && output.statusCode >= 300) {
781
- return de_CommandError(output, context);
782
- }
783
- const contents = smithyClient.map({
784
- $metadata: deserializeMetadata(output),
785
- });
786
- await smithyClient.collectBody(output.body, context);
787
- return contents;
788
- };
789
- const de_PutTaxRegistrationCommand = async (output, context) => {
790
- if (output.statusCode !== 200 && output.statusCode >= 300) {
791
- return de_CommandError(output, context);
792
- }
793
- const contents = smithyClient.map({
794
- $metadata: deserializeMetadata(output),
795
- });
796
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
797
- const doc = smithyClient.take(data, {
798
- status: smithyClient.expectString,
799
- });
800
- Object.assign(contents, doc);
801
- return contents;
802
- };
803
- const de_CommandError = async (output, context) => {
804
- const parsedOutput = {
805
- ...output,
806
- body: await core$1.parseJsonErrorBody(output.body, context),
807
- };
808
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
809
- switch (errorCode) {
810
- case "ConflictException":
811
- case "com.amazonaws.taxsettings#ConflictException":
812
- throw await de_ConflictExceptionRes(parsedOutput);
813
- case "InternalServerException":
814
- case "com.amazonaws.taxsettings#InternalServerException":
815
- throw await de_InternalServerExceptionRes(parsedOutput);
816
- case "ValidationException":
817
- case "com.amazonaws.taxsettings#ValidationException":
818
- throw await de_ValidationExceptionRes(parsedOutput);
819
- case "ResourceNotFoundException":
820
- case "com.amazonaws.taxsettings#ResourceNotFoundException":
821
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
822
- case "AccessDeniedException":
823
- case "com.amazonaws.taxsettings#AccessDeniedException":
824
- throw await de_AccessDeniedExceptionRes(parsedOutput);
825
- case "AttachmentUploadException":
826
- case "com.amazonaws.taxsettings#AttachmentUploadException":
827
- throw await de_AttachmentUploadExceptionRes(parsedOutput);
828
- case "CaseCreationLimitExceededException":
829
- case "com.amazonaws.taxsettings#CaseCreationLimitExceededException":
830
- throw await de_CaseCreationLimitExceededExceptionRes(parsedOutput);
831
- default:
832
- const parsedBody = parsedOutput.body;
833
- return throwDefaultError({
834
- output,
835
- parsedBody,
836
- errorCode,
837
- });
838
- }
839
- };
840
- const throwDefaultError = smithyClient.withBaseException(TaxSettingsServiceException);
841
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
842
- const contents = smithyClient.map({});
843
- const data = parsedOutput.body;
844
- const doc = smithyClient.take(data, {
845
- message: smithyClient.expectString,
846
- });
847
- Object.assign(contents, doc);
848
- const exception = new AccessDeniedException({
849
- $metadata: deserializeMetadata(parsedOutput),
850
- ...contents,
851
- });
852
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
853
- };
854
- const de_AttachmentUploadExceptionRes = async (parsedOutput, context) => {
855
- const contents = smithyClient.map({});
856
- const data = parsedOutput.body;
857
- const doc = smithyClient.take(data, {
858
- message: smithyClient.expectString,
859
- });
860
- Object.assign(contents, doc);
861
- const exception = new AttachmentUploadException({
862
- $metadata: deserializeMetadata(parsedOutput),
863
- ...contents,
864
- });
865
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
866
- };
867
- const de_CaseCreationLimitExceededExceptionRes = async (parsedOutput, context) => {
868
- const contents = smithyClient.map({});
869
- const data = parsedOutput.body;
870
- const doc = smithyClient.take(data, {
871
- message: smithyClient.expectString,
872
- });
873
- Object.assign(contents, doc);
874
- const exception = new CaseCreationLimitExceededException({
875
- $metadata: deserializeMetadata(parsedOutput),
876
- ...contents,
877
- });
878
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
879
- };
880
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
881
- const contents = smithyClient.map({});
882
- const data = parsedOutput.body;
883
- const doc = smithyClient.take(data, {
884
- errorCode: smithyClient.expectString,
885
- message: smithyClient.expectString,
886
- });
887
- Object.assign(contents, doc);
888
- const exception = new ConflictException({
889
- $metadata: deserializeMetadata(parsedOutput),
890
- ...contents,
891
- });
892
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
893
- };
894
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
895
- const contents = smithyClient.map({});
896
- const data = parsedOutput.body;
897
- const doc = smithyClient.take(data, {
898
- errorCode: smithyClient.expectString,
899
- message: smithyClient.expectString,
900
- });
901
- Object.assign(contents, doc);
902
- const exception = new InternalServerException({
903
- $metadata: deserializeMetadata(parsedOutput),
904
- ...contents,
905
- });
906
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
907
- };
908
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
909
- const contents = smithyClient.map({});
910
- const data = parsedOutput.body;
911
- const doc = smithyClient.take(data, {
912
- errorCode: smithyClient.expectString,
913
- message: smithyClient.expectString,
914
- });
915
- Object.assign(contents, doc);
916
- const exception = new ResourceNotFoundException({
917
- $metadata: deserializeMetadata(parsedOutput),
918
- ...contents,
919
- });
920
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
921
- };
922
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
923
- const contents = smithyClient.map({});
924
- const data = parsedOutput.body;
925
- const doc = smithyClient.take(data, {
926
- errorCode: smithyClient.expectString,
927
- fieldList: smithyClient._json,
928
- message: smithyClient.expectString,
929
- });
930
- Object.assign(contents, doc);
931
- const exception = new ValidationException({
932
- $metadata: deserializeMetadata(parsedOutput),
933
- ...contents,
934
- });
935
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
936
- };
937
- const se_ExemptionCertificate = (input, context) => {
938
- return smithyClient.take(input, {
939
- documentFile: context.base64Encoder,
940
- documentName: [],
941
- });
942
- };
943
- const se_TaxRegistrationDocFile = (input, context) => {
944
- return smithyClient.take(input, {
945
- fileContent: context.base64Encoder,
946
- fileName: [],
947
- });
948
- };
949
- const se_TaxRegistrationDocument = (input, context) => {
950
- return smithyClient.take(input, {
951
- file: (_) => se_TaxRegistrationDocFile(_, context),
952
- s3Location: smithyClient._json,
953
- });
954
- };
955
- const se_TaxRegistrationDocuments = (input, context) => {
956
- return input
957
- .filter((e) => e != null)
958
- .map((entry) => {
959
- return se_TaxRegistrationDocument(entry, context);
960
- });
961
- };
962
- const se_TaxRegistrationEntry = (input, context) => {
963
- return smithyClient.take(input, {
964
- additionalTaxInformation: smithyClient._json,
965
- certifiedEmailId: [],
966
- legalAddress: smithyClient._json,
967
- legalName: [],
968
- registrationId: [],
969
- registrationType: [],
970
- sector: [],
971
- verificationDetails: (_) => se_VerificationDetails(_, context),
972
- });
973
- };
974
- const se_VerificationDetails = (input, context) => {
975
- return smithyClient.take(input, {
976
- dateOfBirth: [],
977
- taxRegistrationDocuments: (_) => se_TaxRegistrationDocuments(_, context),
978
- });
979
- };
980
- const de_TaxExemption = (output, context) => {
981
- return smithyClient.take(output, {
982
- authority: smithyClient._json,
983
- effectiveDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
984
- expirationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
985
- status: smithyClient.expectString,
986
- systemEffectiveDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
987
- taxExemptionType: smithyClient._json,
988
- });
989
- };
990
- const de_TaxExemptionDetails = (output, context) => {
991
- return smithyClient.take(output, {
992
- heritageObtainedDetails: smithyClient.expectBoolean,
993
- heritageObtainedParentEntity: smithyClient.expectString,
994
- heritageObtainedReason: smithyClient.expectString,
995
- taxExemptions: (_) => de_TaxExemptions(_),
996
- });
997
- };
998
- const de_TaxExemptionDetailsMap = (output, context) => {
999
- return Object.entries(output).reduce((acc, [key, value]) => {
1000
- if (value === null) {
1001
- return acc;
1002
- }
1003
- acc[key] = de_TaxExemptionDetails(value);
1004
- return acc;
1005
- }, {});
1006
- };
1007
- const de_TaxExemptions = (output, context) => {
1008
- const retVal = (output || [])
1009
- .filter((e) => e != null)
1010
- .map((entry) => {
1011
- return de_TaxExemption(entry);
1012
- });
1013
- return retVal;
1014
- };
1015
- const deserializeMetadata = (output) => ({
1016
- httpStatusCode: output.statusCode,
1017
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1018
- extendedRequestId: output.headers["x-amz-id-2"],
1019
- cfId: output.headers["x-amz-cf-id"],
1020
- });
314
+ const _A = "Address";
315
+ const _AD = "AccountDetails";
316
+ const _ADE = "AccessDeniedException";
317
+ const _ADL = "AccountDetailsList";
318
+ const _AIR = "AdditionalInfoRequest";
319
+ const _AIRd = "AdditionalInfoResponse";
320
+ const _AMD = "AccountMetaData";
321
+ const _ARM = "AddressRoleMap";
322
+ const _AUE = "AttachmentUploadException";
323
+ const _Au = "Authority";
324
+ const _Aut = "Authorities";
325
+ const _BAI = "BrazilAdditionalInfo";
326
+ const _BDTR = "BatchDeleteTaxRegistration";
327
+ const _BDTRE = "BatchDeleteTaxRegistrationError";
328
+ const _BDTREa = "BatchDeleteTaxRegistrationErrors";
329
+ const _BDTRR = "BatchDeleteTaxRegistrationRequest";
330
+ const _BDTRRa = "BatchDeleteTaxRegistrationResponse";
331
+ const _BGTE = "BatchGetTaxExemptions";
332
+ const _BGTER = "BatchGetTaxExemptionsRequest";
333
+ const _BGTERa = "BatchGetTaxExemptionsResponse";
334
+ const _BPTR = "BatchPutTaxRegistration";
335
+ const _BPTRE = "BatchPutTaxRegistrationError";
336
+ const _BPTREa = "BatchPutTaxRegistrationErrors";
337
+ const _BPTRR = "BatchPutTaxRegistrationRequest";
338
+ const _BPTRRa = "BatchPutTaxRegistrationResponse";
339
+ const _CAI = "CanadaAdditionalInfo";
340
+ const _CCLEE = "CaseCreationLimitExceededException";
341
+ const _CE = "ConflictException";
342
+ const _DSL = "DestinationS3Location";
343
+ const _DSTR = "DeleteSupplementalTaxRegistration";
344
+ const _DSTRR = "DeleteSupplementalTaxRegistrationRequest";
345
+ const _DSTRRe = "DeleteSupplementalTaxRegistrationResponse";
346
+ const _DTR = "DeleteTaxRegistration";
347
+ const _DTRR = "DeleteTaxRegistrationRequest";
348
+ const _DTRRe = "DeleteTaxRegistrationResponse";
349
+ const _EAI = "EgyptAdditionalInfo";
350
+ const _EAIs = "EstoniaAdditionalInfo";
351
+ const _EC = "ExemptionCertificate";
352
+ const _EM = "ErrorMessage";
353
+ const _GAI = "GeorgiaAdditionalInfo";
354
+ const _GAIr = "GreeceAdditionalInfo";
355
+ const _GTET = "GetTaxExemptionTypes";
356
+ const _GTETR = "GetTaxExemptionTypesRequest";
357
+ const _GTETRe = "GetTaxExemptionTypesResponse";
358
+ const _GTI = "GetTaxInheritance";
359
+ const _GTIR = "GetTaxInheritanceRequest";
360
+ const _GTIRe = "GetTaxInheritanceResponse";
361
+ const _GTR = "GetTaxRegistration";
362
+ const _GTRD = "GetTaxRegistrationDocument";
363
+ const _GTRDR = "GetTaxRegistrationDocumentRequest";
364
+ const _GTRDRe = "GetTaxRegistrationDocumentResponse";
365
+ const _GTRR = "GetTaxRegistrationRequest";
366
+ const _GTRRe = "GetTaxRegistrationResponse";
367
+ const _IAI = "IndiaAdditionalInfo";
368
+ const _IAIn = "IndonesiaAdditionalInfo";
369
+ const _IAIs = "IsraelAdditionalInfo";
370
+ const _IAIt = "ItalyAdditionalInfo";
371
+ const _ISE = "InternalServerException";
372
+ const _J = "Jurisdiction";
373
+ const _KAI = "KenyaAdditionalInfo";
374
+ const _LSTR = "ListSupplementalTaxRegistrations";
375
+ const _LSTRR = "ListSupplementalTaxRegistrationsRequest";
376
+ const _LSTRRi = "ListSupplementalTaxRegistrationsResponse";
377
+ const _LTE = "ListTaxExemptions";
378
+ const _LTER = "ListTaxExemptionsRequest";
379
+ const _LTERi = "ListTaxExemptionsResponse";
380
+ const _LTR = "ListTaxRegistrations";
381
+ const _LTRR = "ListTaxRegistrationsRequest";
382
+ const _LTRRi = "ListTaxRegistrationsResponse";
383
+ const _MAI = "MalaysiaAdditionalInfo";
384
+ const _PAI = "PolandAdditionalInfo";
385
+ const _PSTR = "PutSupplementalTaxRegistration";
386
+ const _PSTRR = "PutSupplementalTaxRegistrationRequest";
387
+ const _PSTRRu = "PutSupplementalTaxRegistrationResponse";
388
+ const _PTE = "PutTaxExemption";
389
+ const _PTER = "PutTaxExemptionRequest";
390
+ const _PTERu = "PutTaxExemptionResponse";
391
+ const _PTI = "PutTaxInheritance";
392
+ const _PTIR = "PutTaxInheritanceRequest";
393
+ const _PTIRu = "PutTaxInheritanceResponse";
394
+ const _PTR = "PutTaxRegistration";
395
+ const _PTRR = "PutTaxRegistrationRequest";
396
+ const _PTRRu = "PutTaxRegistrationResponse";
397
+ const _RAI = "RomaniaAdditionalInfo";
398
+ const _RNFE = "ResourceNotFoundException";
399
+ const _SAAI = "SaudiArabiaAdditionalInfo";
400
+ const _SAI = "SpainAdditionalInfo";
401
+ const _SKAI = "SouthKoreaAdditionalInfo";
402
+ const _SSL = "SourceS3Location";
403
+ const _STR = "SupplementalTaxRegistration";
404
+ const _STRE = "SupplementalTaxRegistrationEntry";
405
+ const _STRL = "SupplementalTaxRegistrationList";
406
+ const _TAI = "TurkeyAdditionalInfo";
407
+ const _TDM = "TaxDocumentMetadata";
408
+ const _TDMa = "TaxDocumentMetadatas";
409
+ const _TE = "TaxExemption";
410
+ const _TED = "TaxExemptionDetails";
411
+ const _TEDM = "TaxExemptionDetailsMap";
412
+ const _TET = "TaxExemptionType";
413
+ const _TETa = "TaxExemptionTypes";
414
+ const _TEa = "TaxExemptions";
415
+ const _TID = "TaxInheritanceDetails";
416
+ const _TR = "TaxRegistration";
417
+ const _TRD = "TaxRegistrationDocument";
418
+ const _TRDF = "TaxRegistrationDocFile";
419
+ const _TRDa = "TaxRegistrationDocuments";
420
+ const _TRE = "TaxRegistrationEntry";
421
+ const _TRWJ = "TaxRegistrationWithJurisdiction";
422
+ const _UAI = "UkraineAdditionalInfo";
423
+ const _UAIz = "UzbekistanAdditionalInfo";
424
+ const _VAI = "VietnamAdditionalInfo";
425
+ const _VD = "VerificationDetails";
426
+ const _VE = "ValidationException";
427
+ const _VEF = "ValidationExceptionField";
428
+ const _VEFL = "ValidationExceptionFieldList";
429
+ const _a = "address";
430
+ const _aD = "accountDetails";
431
+ const _aI = "accountId";
432
+ const _aIc = "accountIds";
433
+ const _aIu = "authorityId";
434
+ const _aJ = "applicableJurisdictions";
435
+ const _aL = "addressLine1";
436
+ const _aLd = "addressLine2";
437
+ const _aLdd = "addressLine3";
438
+ const _aMD = "accountMetaData";
439
+ const _aN = "accountName";
440
+ const _aRM = "addressRoleMap";
441
+ const _aT = "addressType";
442
+ const _aTI = "additionalTaxInformation";
443
+ const _au = "authority";
444
+ const _b = "bucket";
445
+ const _bAI = "brazilAdditionalInfo";
446
+ const _bRN = "businessRegistrationNumber";
447
+ const _bRNu = "businessRepresentativeName";
448
+ const _c = "client";
449
+ const _cAC = "contractingAuthorityCode";
450
+ const _cAI = "canadaAdditionalInfo";
451
+ const _cC = "countryCode";
452
+ const _cCc = "ccmCode";
453
+ const _cEI = "certifiedEmailId";
454
+ const _cI = "caseId";
455
+ const _cN = "cigNumber";
456
+ const _cNu = "cupNumber";
457
+ const _cQSTN = "canadaQuebecSalesTaxNumber";
458
+ const _cRSTN = "canadaRetailSalesTaxNumber";
459
+ const _cT = "customerType";
460
+ const _ci = "city";
461
+ const _co = "country";
462
+ const _cod = "code";
463
+ const _d = "description";
464
+ const _dF = "documentFile";
465
+ const _dFP = "destinationFilePath";
466
+ const _dN = "documentName";
467
+ const _dNe = "decisionNumber";
468
+ const _dNi = "displayName";
469
+ const _dOB = "dateOfBirth";
470
+ const _dOC = "districtOrCounty";
471
+ const _dSL = "destinationS3Location";
472
+ const _dT = "dealerType";
473
+ const _e = "error";
474
+ const _eAI = "estoniaAdditionalInfo";
475
+ const _eAIg = "egyptAdditionalInfo";
476
+ const _eC = "errorCode";
477
+ const _eCx = "exemptionCertificate";
478
+ const _eD = "effectiveDate";
479
+ const _eDx = "expirationDate";
480
+ const _eIN = "enterpriseIdentificationNumber";
481
+ const _eT = "exemptionType";
482
+ const _eTCN = "electronicTransactionCodeNumber";
483
+ const _er = "errors";
484
+ const _f = "file";
485
+ const _fA = "failedAccounts";
486
+ const _fC = "fileContent";
487
+ const _fL = "fieldList";
488
+ const _fN = "fileName";
489
+ const _gAI = "georgiaAdditionalInfo";
490
+ const _gAIr = "greeceAdditionalInfo";
491
+ const _h = "http";
492
+ const _hE = "httpError";
493
+ const _hOD = "heritageObtainedDetails";
494
+ const _hOPE = "heritageObtainedParentEntity";
495
+ const _hOR = "heritageObtainedReason";
496
+ const _hS = "heritageStatus";
497
+ const _i = "industries";
498
+ const _iAI = "israelAdditionalInfo";
499
+ const _iAIn = "indonesiaAdditionalInfo";
500
+ const _iAInd = "indiaAdditionalInfo";
501
+ const _iAIt = "italyAdditionalInfo";
502
+ const _iGVE = "isGroupVatEnabled";
503
+ const _iOB = "itemOfBusiness";
504
+ const _iOR = "inheritanceObtainedReason";
505
+ const _iRA = "isResellerAccount";
506
+ const _iRN = "individualRegistrationNumber";
507
+ const _j = "jurisdiction";
508
+ const _k = "key";
509
+ const _kAI = "kenyaAdditionalInfo";
510
+ const _kEI = "kepEmailId";
511
+ const _lA = "legalAddress";
512
+ const _lN = "legalName";
513
+ const _lNC = "legalNatureCode";
514
+ const _lOB = "lineOfBusiness";
515
+ const _m = "message";
516
+ const _mAI = "malaysiaAdditionalInfo";
517
+ const _mR = "maxResults";
518
+ const _n = "name";
519
+ const _nT = "nextToken";
520
+ const _p = "prefix";
521
+ const _pAI = "polandAdditionalInfo";
522
+ const _pC = "postalCode";
523
+ const _pEDC = "ppnExceptionDesignationCode";
524
+ const _pEI = "parentEntityId";
525
+ const _pSTI = "provincialSalesTaxId";
526
+ const _pSU = "presignedS3Url";
527
+ const _pT = "personType";
528
+ const _pVN = "paymentVoucherNumber";
529
+ const _pVND = "paymentVoucherNumberDate";
530
+ const _pa = "pan";
531
+ const _rAI = "romaniaAdditionalInfo";
532
+ const _rCC = "registryCommercialCode";
533
+ const _rI = "registrationId";
534
+ const _rT = "registrationType";
535
+ const _s = "seller";
536
+ const _sAAI = "saudiArabiaAdditionalInfo";
537
+ const _sAI = "spainAdditionalInfo";
538
+ const _sAId = "sdiAccountId";
539
+ const _sED = "systemEffectiveDate";
540
+ const _sKAI = "southKoreaAdditionalInfo";
541
+ const _sL = "s3Location";
542
+ const _sOR = "stateOrRegion";
543
+ const _sTC = "serviceTaxCodes";
544
+ const _sTI = "secondaryTaxId";
545
+ const _se = "server";
546
+ const _sec = "sector";
547
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.taxsettings";
548
+ const _st = "state";
549
+ const _sta = "status";
550
+ const _tAI = "turkeyAdditionalInfo";
551
+ const _tC = "taxCode";
552
+ const _tDAT = "taxDocumentAccessToken";
553
+ const _tDM = "taxDocumentMetadata";
554
+ const _tDMa = "taxDocumentMetadatas";
555
+ const _tDN = "taxDocumentName";
556
+ const _tE = "taxExemptions";
557
+ const _tEDM = "taxExemptionDetailsMap";
558
+ const _tET = "taxExemptionTypes";
559
+ const _tETa = "taxExemptionType";
560
+ const _tID = "taxInheritanceDetails";
561
+ const _tIN = "taxInformationNumber";
562
+ const _tO = "taxOffice";
563
+ const _tR = "taxRegistration";
564
+ const _tRD = "taxRegistrationDocuments";
565
+ const _tRE = "taxRegistrationEntry";
566
+ const _tRNT = "taxRegistrationNumberType";
567
+ const _tRa = "taxRegistrations";
568
+ const _uAI = "ukraineAdditionalInfo";
569
+ const _uAIz = "uzbekistanAdditionalInfo";
570
+ const _uIN = "uniqueIdentificationNumber";
571
+ const _uINED = "uniqueIdentificationNumberExpirationDate";
572
+ const _uTT = "ukraineTrnType";
573
+ const _vAI = "vietnamAdditionalInfo";
574
+ const _vD = "verificationDetails";
575
+ const _vRN = "vatRegistrationNumber";
576
+ const n0 = "com.amazonaws.taxsettings";
577
+ var ErrorMessage = [0, n0, _EM, 8, 0];
578
+ var AccessDeniedException = [
579
+ -3,
580
+ n0,
581
+ _ADE,
582
+ {
583
+ [_e]: _c,
584
+ [_hE]: 401,
585
+ },
586
+ [_m],
587
+ [[() => ErrorMessage, 0]],
588
+ ];
589
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
590
+ var AccountDetails = [
591
+ 3,
592
+ n0,
593
+ _AD,
594
+ 8,
595
+ [_aI, _tR, _tID, _aMD],
596
+ [0, [() => TaxRegistrationWithJurisdiction, 0], () => TaxInheritanceDetails, [() => AccountMetaData, 0]],
597
+ ];
598
+ var AccountMetaData = [
599
+ 3,
600
+ n0,
601
+ _AMD,
602
+ 8,
603
+ [_aN, _s, _a, _aT, _aRM],
604
+ [0, 0, () => Address, 0, () => AddressRoleMap],
605
+ ];
606
+ var AdditionalInfoRequest = [
607
+ 3,
608
+ n0,
609
+ _AIR,
610
+ 0,
611
+ [
612
+ _mAI,
613
+ _iAI,
614
+ _eAI,
615
+ _cAI,
616
+ _sAI,
617
+ _kAI,
618
+ _sKAI,
619
+ _tAI,
620
+ _gAI,
621
+ _iAIt,
622
+ _rAI,
623
+ _uAI,
624
+ _pAI,
625
+ _sAAI,
626
+ _iAIn,
627
+ _vAI,
628
+ _eAIg,
629
+ _gAIr,
630
+ _uAIz,
631
+ ],
632
+ [
633
+ () => MalaysiaAdditionalInfo,
634
+ () => IsraelAdditionalInfo,
635
+ () => EstoniaAdditionalInfo,
636
+ () => CanadaAdditionalInfo,
637
+ () => SpainAdditionalInfo,
638
+ () => KenyaAdditionalInfo,
639
+ () => SouthKoreaAdditionalInfo,
640
+ () => TurkeyAdditionalInfo,
641
+ () => GeorgiaAdditionalInfo,
642
+ () => ItalyAdditionalInfo,
643
+ () => RomaniaAdditionalInfo,
644
+ () => UkraineAdditionalInfo,
645
+ () => PolandAdditionalInfo,
646
+ () => SaudiArabiaAdditionalInfo,
647
+ () => IndonesiaAdditionalInfo,
648
+ () => VietnamAdditionalInfo,
649
+ () => EgyptAdditionalInfo,
650
+ () => GreeceAdditionalInfo,
651
+ () => UzbekistanAdditionalInfo,
652
+ ],
653
+ ];
654
+ var AdditionalInfoResponse = [
655
+ 3,
656
+ n0,
657
+ _AIRd,
658
+ 0,
659
+ [
660
+ _mAI,
661
+ _iAI,
662
+ _eAI,
663
+ _cAI,
664
+ _bAI,
665
+ _sAI,
666
+ _kAI,
667
+ _sKAI,
668
+ _tAI,
669
+ _gAI,
670
+ _iAIt,
671
+ _rAI,
672
+ _uAI,
673
+ _pAI,
674
+ _sAAI,
675
+ _iAInd,
676
+ _iAIn,
677
+ _vAI,
678
+ _eAIg,
679
+ _gAIr,
680
+ _uAIz,
681
+ ],
682
+ [
683
+ () => MalaysiaAdditionalInfo,
684
+ () => IsraelAdditionalInfo,
685
+ () => EstoniaAdditionalInfo,
686
+ () => CanadaAdditionalInfo,
687
+ () => BrazilAdditionalInfo,
688
+ () => SpainAdditionalInfo,
689
+ () => KenyaAdditionalInfo,
690
+ () => SouthKoreaAdditionalInfo,
691
+ () => TurkeyAdditionalInfo,
692
+ () => GeorgiaAdditionalInfo,
693
+ () => ItalyAdditionalInfo,
694
+ () => RomaniaAdditionalInfo,
695
+ () => UkraineAdditionalInfo,
696
+ () => PolandAdditionalInfo,
697
+ () => SaudiArabiaAdditionalInfo,
698
+ () => IndiaAdditionalInfo,
699
+ () => IndonesiaAdditionalInfo,
700
+ () => VietnamAdditionalInfo,
701
+ () => EgyptAdditionalInfo,
702
+ () => GreeceAdditionalInfo,
703
+ () => UzbekistanAdditionalInfo,
704
+ ],
705
+ ];
706
+ var Address = [
707
+ 3,
708
+ n0,
709
+ _A,
710
+ 0,
711
+ [_aL, _aLd, _aLdd, _dOC, _ci, _sOR, _pC, _cC],
712
+ [0, 0, 0, 0, 0, 0, 0, 0],
713
+ ];
714
+ var AttachmentUploadException = [
715
+ -3,
716
+ n0,
717
+ _AUE,
718
+ {
719
+ [_e]: _c,
720
+ [_hE]: 400,
721
+ },
722
+ [_m],
723
+ [[() => ErrorMessage, 0]],
724
+ ];
725
+ schema.TypeRegistry.for(n0).registerError(AttachmentUploadException, AttachmentUploadException$1);
726
+ var Authority = [3, n0, _Au, 0, [_co, _st], [0, 0]];
727
+ var BatchDeleteTaxRegistrationError = [
728
+ 3,
729
+ n0,
730
+ _BDTRE,
731
+ 0,
732
+ [_aI, _m, _cod],
733
+ [0, [() => ErrorMessage, 0], 0],
734
+ ];
735
+ var BatchDeleteTaxRegistrationRequest = [3, n0, _BDTRR, 0, [_aIc], [64 | 0]];
736
+ var BatchDeleteTaxRegistrationResponse = [
737
+ 3,
738
+ n0,
739
+ _BDTRRa,
740
+ 0,
741
+ [_er],
742
+ [[() => BatchDeleteTaxRegistrationErrors, 0]],
743
+ ];
744
+ var BatchGetTaxExemptionsRequest = [3, n0, _BGTER, 0, [_aIc], [64 | 0]];
745
+ var BatchGetTaxExemptionsResponse = [
746
+ 3,
747
+ n0,
748
+ _BGTERa,
749
+ 0,
750
+ [_tEDM, _fA],
751
+ [() => TaxExemptionDetailsMap, 64 | 0],
752
+ ];
753
+ var BatchPutTaxRegistrationError = [
754
+ 3,
755
+ n0,
756
+ _BPTRE,
757
+ 0,
758
+ [_aI, _m, _cod],
759
+ [0, [() => ErrorMessage, 0], 0],
760
+ ];
761
+ var BatchPutTaxRegistrationRequest = [
762
+ 3,
763
+ n0,
764
+ _BPTRR,
765
+ 0,
766
+ [_aIc, _tRE],
767
+ [64 | 0, [() => TaxRegistrationEntry, 0]],
768
+ ];
769
+ var BatchPutTaxRegistrationResponse = [
770
+ 3,
771
+ n0,
772
+ _BPTRRa,
773
+ 0,
774
+ [_sta, _er],
775
+ [0, [() => BatchPutTaxRegistrationErrors, 0]],
776
+ ];
777
+ var BrazilAdditionalInfo = [3, n0, _BAI, 0, [_cCc, _lNC], [0, 0]];
778
+ var CanadaAdditionalInfo = [3, n0, _CAI, 0, [_pSTI, _cQSTN, _cRSTN, _iRA], [0, 0, 0, 2]];
779
+ var CaseCreationLimitExceededException = [
780
+ -3,
781
+ n0,
782
+ _CCLEE,
783
+ {
784
+ [_e]: _c,
785
+ [_hE]: 413,
786
+ },
787
+ [_m],
788
+ [[() => ErrorMessage, 0]],
789
+ ];
790
+ schema.TypeRegistry.for(n0).registerError(CaseCreationLimitExceededException, CaseCreationLimitExceededException$1);
791
+ var ConflictException = [
792
+ -3,
793
+ n0,
794
+ _CE,
795
+ {
796
+ [_e]: _c,
797
+ [_hE]: 409,
798
+ },
799
+ [_m, _eC],
800
+ [[() => ErrorMessage, 0], 0],
801
+ ];
802
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
803
+ var DeleteSupplementalTaxRegistrationRequest = [3, n0, _DSTRR, 0, [_aIu], [0]];
804
+ var DeleteSupplementalTaxRegistrationResponse = [3, n0, _DSTRRe, 0, [], []];
805
+ var DeleteTaxRegistrationRequest = [3, n0, _DTRR, 0, [_aI], [0]];
806
+ var DeleteTaxRegistrationResponse = [3, n0, _DTRRe, 0, [], []];
807
+ var DestinationS3Location = [3, n0, _DSL, 0, [_b, _p], [0, 0]];
808
+ var EgyptAdditionalInfo = [3, n0, _EAI, 0, [_uIN, _uINED], [0, 0]];
809
+ var EstoniaAdditionalInfo = [3, n0, _EAIs, 0, [_rCC], [0]];
810
+ var ExemptionCertificate = [3, n0, _EC, 0, [_dN, _dF], [0, 21]];
811
+ var GeorgiaAdditionalInfo = [3, n0, _GAI, 0, [_pT], [0]];
812
+ var GetTaxExemptionTypesRequest = [3, n0, _GTETR, 0, [], []];
813
+ var GetTaxExemptionTypesResponse = [3, n0, _GTETRe, 0, [_tET], [() => TaxExemptionTypes]];
814
+ var GetTaxInheritanceRequest = [3, n0, _GTIR, 0, [], []];
815
+ var GetTaxInheritanceResponse = [3, n0, _GTIRe, 0, [_hS], [0]];
816
+ var GetTaxRegistrationDocumentRequest = [
817
+ 3,
818
+ n0,
819
+ _GTRDR,
820
+ 0,
821
+ [_dSL, _tDM],
822
+ [() => DestinationS3Location, () => TaxDocumentMetadata],
823
+ ];
824
+ var GetTaxRegistrationDocumentResponse = [3, n0, _GTRDRe, 0, [_dFP, _pSU], [0, 0]];
825
+ var GetTaxRegistrationRequest = [3, n0, _GTRR, 0, [_aI], [0]];
826
+ var GetTaxRegistrationResponse = [3, n0, _GTRRe, 0, [_tR], [[() => TaxRegistration, 0]]];
827
+ var GreeceAdditionalInfo = [3, n0, _GAIr, 0, [_cAC], [0]];
828
+ var IndiaAdditionalInfo = [3, n0, _IAI, 0, [_pa], [0]];
829
+ var IndonesiaAdditionalInfo = [3, n0, _IAIn, 0, [_tRNT, _pEDC, _dNe], [0, 0, 0]];
830
+ var InternalServerException = [
831
+ -3,
832
+ n0,
833
+ _ISE,
834
+ {
835
+ [_e]: _se,
836
+ [_hE]: 500,
837
+ },
838
+ [_m, _eC],
839
+ [[() => ErrorMessage, 0], 0],
840
+ ];
841
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
842
+ var IsraelAdditionalInfo = [3, n0, _IAIs, 0, [_dT, _cT], [0, 0]];
843
+ var ItalyAdditionalInfo = [3, n0, _IAIt, 0, [_sAId, _cN, _cNu, _tC], [0, 0, 0, 0]];
844
+ var Jurisdiction = [3, n0, _J, 0, [_sOR, _cC], [0, 0]];
845
+ var KenyaAdditionalInfo = [3, n0, _KAI, 0, [_pT], [0]];
846
+ var ListSupplementalTaxRegistrationsRequest = [3, n0, _LSTRR, 0, [_mR, _nT], [1, 0]];
847
+ var ListSupplementalTaxRegistrationsResponse = [
848
+ 3,
849
+ n0,
850
+ _LSTRRi,
851
+ 0,
852
+ [_tRa, _nT],
853
+ [[() => SupplementalTaxRegistrationList, 0], 0],
854
+ ];
855
+ var ListTaxExemptionsRequest = [3, n0, _LTER, 0, [_mR, _nT], [1, 0]];
856
+ var ListTaxExemptionsResponse = [
857
+ 3,
858
+ n0,
859
+ _LTERi,
860
+ 0,
861
+ [_nT, _tEDM],
862
+ [0, () => TaxExemptionDetailsMap],
863
+ ];
864
+ var ListTaxRegistrationsRequest = [3, n0, _LTRR, 0, [_mR, _nT], [1, 0]];
865
+ var ListTaxRegistrationsResponse = [
866
+ 3,
867
+ n0,
868
+ _LTRRi,
869
+ 0,
870
+ [_aD, _nT],
871
+ [[() => AccountDetailsList, 0], 0],
872
+ ];
873
+ var MalaysiaAdditionalInfo = [3, n0, _MAI, 0, [_sTC, _tIN, _bRN], [64 | 0, 0, 0]];
874
+ var PolandAdditionalInfo = [3, n0, _PAI, 0, [_iRN, _iGVE], [0, 2]];
875
+ var PutSupplementalTaxRegistrationRequest = [
876
+ 3,
877
+ n0,
878
+ _PSTRR,
879
+ 0,
880
+ [_tRE],
881
+ [[() => SupplementalTaxRegistrationEntry, 0]],
882
+ ];
883
+ var PutSupplementalTaxRegistrationResponse = [3, n0, _PSTRRu, 0, [_aIu, _sta], [0, 0]];
884
+ var PutTaxExemptionRequest = [
885
+ 3,
886
+ n0,
887
+ _PTER,
888
+ 0,
889
+ [_aIc, _au, _eT, _eCx],
890
+ [64 | 0, () => Authority, 0, () => ExemptionCertificate],
891
+ ];
892
+ var PutTaxExemptionResponse = [3, n0, _PTERu, 0, [_cI], [0]];
893
+ var PutTaxInheritanceRequest = [3, n0, _PTIR, 0, [_hS], [0]];
894
+ var PutTaxInheritanceResponse = [3, n0, _PTIRu, 0, [], []];
895
+ var PutTaxRegistrationRequest = [
896
+ 3,
897
+ n0,
898
+ _PTRR,
899
+ 0,
900
+ [_aI, _tRE],
901
+ [0, [() => TaxRegistrationEntry, 0]],
902
+ ];
903
+ var PutTaxRegistrationResponse = [3, n0, _PTRRu, 0, [_sta], [0]];
904
+ var ResourceNotFoundException = [
905
+ -3,
906
+ n0,
907
+ _RNFE,
908
+ {
909
+ [_e]: _c,
910
+ [_hE]: 404,
911
+ },
912
+ [_m, _eC],
913
+ [[() => ErrorMessage, 0], 0],
914
+ ];
915
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
916
+ var RomaniaAdditionalInfo = [3, n0, _RAI, 0, [_tRNT], [0]];
917
+ var SaudiArabiaAdditionalInfo = [3, n0, _SAAI, 0, [_tRNT], [0]];
918
+ var SourceS3Location = [3, n0, _SSL, 0, [_b, _k], [0, 0]];
919
+ var SouthKoreaAdditionalInfo = [3, n0, _SKAI, 0, [_bRNu, _lOB, _iOB], [0, 0, 0]];
920
+ var SpainAdditionalInfo = [3, n0, _SAI, 0, [_rT], [0]];
921
+ var SupplementalTaxRegistration = [
922
+ 3,
923
+ n0,
924
+ _STR,
925
+ 8,
926
+ [_rI, _rT, _lN, _a, _aIu, _sta],
927
+ [0, 0, 0, () => Address, 0, 0],
928
+ ];
929
+ var SupplementalTaxRegistrationEntry = [
930
+ 3,
931
+ n0,
932
+ _STRE,
933
+ 8,
934
+ [_rI, _rT, _lN, _a],
935
+ [0, 0, 0, () => Address],
936
+ ];
937
+ var TaxDocumentMetadata = [3, n0, _TDM, 0, [_tDAT, _tDN], [0, 0]];
938
+ var TaxExemption = [
939
+ 3,
940
+ n0,
941
+ _TE,
942
+ 0,
943
+ [_au, _tETa, _eD, _eDx, _sED, _sta],
944
+ [() => Authority, () => TaxExemptionType, 4, 4, 4, 0],
945
+ ];
946
+ var TaxExemptionDetails = [
947
+ 3,
948
+ n0,
949
+ _TED,
950
+ 0,
951
+ [_tE, _hOD, _hOPE, _hOR],
952
+ [() => TaxExemptions, 2, 0, 0],
953
+ ];
954
+ var TaxExemptionType = [3, n0, _TET, 0, [_dNi, _d, _aJ], [0, 0, () => Authorities]];
955
+ var TaxInheritanceDetails = [3, n0, _TID, 0, [_pEI, _iOR], [0, 0]];
956
+ var TaxRegistration = [
957
+ 3,
958
+ n0,
959
+ _TR,
960
+ 8,
961
+ [_rI, _rT, _lN, _sta, _sec, _tDMa, _cEI, _aTI, _lA],
962
+ [0, 0, 0, 0, 0, () => TaxDocumentMetadatas, 0, () => AdditionalInfoResponse, () => Address],
963
+ ];
964
+ var TaxRegistrationDocFile = [3, n0, _TRDF, 0, [_fN, _fC], [0, 21]];
965
+ var TaxRegistrationDocument = [
966
+ 3,
967
+ n0,
968
+ _TRD,
969
+ 0,
970
+ [_sL, _f],
971
+ [() => SourceS3Location, () => TaxRegistrationDocFile],
972
+ ];
973
+ var TaxRegistrationEntry = [
974
+ 3,
975
+ n0,
976
+ _TRE,
977
+ 8,
978
+ [_rI, _rT, _lN, _lA, _sec, _aTI, _vD, _cEI],
979
+ [0, 0, 0, () => Address, 0, () => AdditionalInfoRequest, () => VerificationDetails, 0],
980
+ ];
981
+ var TaxRegistrationWithJurisdiction = [
982
+ 3,
983
+ n0,
984
+ _TRWJ,
985
+ 8,
986
+ [_rI, _rT, _lN, _sta, _sec, _tDMa, _cEI, _aTI, _j],
987
+ [0, 0, 0, 0, 0, () => TaxDocumentMetadatas, 0, () => AdditionalInfoResponse, () => Jurisdiction],
988
+ ];
989
+ var TurkeyAdditionalInfo = [3, n0, _TAI, 0, [_tO, _kEI, _sTI, _i], [0, 0, 0, 0]];
990
+ var UkraineAdditionalInfo = [3, n0, _UAI, 0, [_uTT], [0]];
991
+ var UzbekistanAdditionalInfo = [3, n0, _UAIz, 0, [_tRNT, _vRN], [0, 0]];
992
+ var ValidationException = [
993
+ -3,
994
+ n0,
995
+ _VE,
996
+ {
997
+ [_e]: _c,
998
+ [_hE]: 400,
999
+ },
1000
+ [_m, _eC, _fL],
1001
+ [[() => ErrorMessage, 0], 0, () => ValidationExceptionFieldList],
1002
+ ];
1003
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1004
+ var ValidationExceptionField = [3, n0, _VEF, 0, [_n], [0]];
1005
+ var VerificationDetails = [
1006
+ 3,
1007
+ n0,
1008
+ _VD,
1009
+ 0,
1010
+ [_dOB, _tRD],
1011
+ [0, () => TaxRegistrationDocuments],
1012
+ ];
1013
+ var VietnamAdditionalInfo = [3, n0, _VAI, 0, [_eIN, _eTCN, _pVN, _pVND], [0, 0, 0, 0]];
1014
+ var TaxSettingsServiceException = [-3, _sm, "TaxSettingsServiceException", 0, [], []];
1015
+ schema.TypeRegistry.for(_sm).registerError(TaxSettingsServiceException, TaxSettingsServiceException$1);
1016
+ var AccountDetailsList = [1, n0, _ADL, 0, [() => AccountDetails, 0]];
1017
+ var Authorities = [1, n0, _Aut, 0, () => Authority];
1018
+ var BatchDeleteTaxRegistrationErrors = [
1019
+ 1,
1020
+ n0,
1021
+ _BDTREa,
1022
+ 0,
1023
+ [() => BatchDeleteTaxRegistrationError, 0],
1024
+ ];
1025
+ var BatchPutTaxRegistrationErrors = [
1026
+ 1,
1027
+ n0,
1028
+ _BPTREa,
1029
+ 0,
1030
+ [() => BatchPutTaxRegistrationError, 0],
1031
+ ];
1032
+ var SupplementalTaxRegistrationList = [
1033
+ 1,
1034
+ n0,
1035
+ _STRL,
1036
+ 0,
1037
+ [() => SupplementalTaxRegistration, 0],
1038
+ ];
1039
+ var TaxDocumentMetadatas = [1, n0, _TDMa, 0, () => TaxDocumentMetadata];
1040
+ var TaxExemptions = [1, n0, _TEa, 0, () => TaxExemption];
1041
+ var TaxExemptionTypes = [1, n0, _TETa, 0, () => TaxExemptionType];
1042
+ var TaxRegistrationDocuments = [1, n0, _TRDa, 0, () => TaxRegistrationDocument];
1043
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
1044
+ var AddressRoleMap = [2, n0, _ARM, 0, 0, () => Jurisdiction];
1045
+ var TaxExemptionDetailsMap = [2, n0, _TEDM, 0, 0, () => TaxExemptionDetails];
1046
+ var BatchDeleteTaxRegistration = [
1047
+ 9,
1048
+ n0,
1049
+ _BDTR,
1050
+ {
1051
+ [_h]: ["POST", "/BatchDeleteTaxRegistration", 200],
1052
+ },
1053
+ () => BatchDeleteTaxRegistrationRequest,
1054
+ () => BatchDeleteTaxRegistrationResponse,
1055
+ ];
1056
+ var BatchGetTaxExemptions = [
1057
+ 9,
1058
+ n0,
1059
+ _BGTE,
1060
+ {
1061
+ [_h]: ["POST", "/BatchGetTaxExemptions", 200],
1062
+ },
1063
+ () => BatchGetTaxExemptionsRequest,
1064
+ () => BatchGetTaxExemptionsResponse,
1065
+ ];
1066
+ var BatchPutTaxRegistration = [
1067
+ 9,
1068
+ n0,
1069
+ _BPTR,
1070
+ {
1071
+ [_h]: ["POST", "/BatchPutTaxRegistration", 200],
1072
+ },
1073
+ () => BatchPutTaxRegistrationRequest,
1074
+ () => BatchPutTaxRegistrationResponse,
1075
+ ];
1076
+ var DeleteSupplementalTaxRegistration = [
1077
+ 9,
1078
+ n0,
1079
+ _DSTR,
1080
+ {
1081
+ [_h]: ["POST", "/DeleteSupplementalTaxRegistration", 200],
1082
+ },
1083
+ () => DeleteSupplementalTaxRegistrationRequest,
1084
+ () => DeleteSupplementalTaxRegistrationResponse,
1085
+ ];
1086
+ var DeleteTaxRegistration = [
1087
+ 9,
1088
+ n0,
1089
+ _DTR,
1090
+ {
1091
+ [_h]: ["POST", "/DeleteTaxRegistration", 200],
1092
+ },
1093
+ () => DeleteTaxRegistrationRequest,
1094
+ () => DeleteTaxRegistrationResponse,
1095
+ ];
1096
+ var GetTaxExemptionTypes = [
1097
+ 9,
1098
+ n0,
1099
+ _GTET,
1100
+ {
1101
+ [_h]: ["POST", "/GetTaxExemptionTypes", 200],
1102
+ },
1103
+ () => GetTaxExemptionTypesRequest,
1104
+ () => GetTaxExemptionTypesResponse,
1105
+ ];
1106
+ var GetTaxInheritance = [
1107
+ 9,
1108
+ n0,
1109
+ _GTI,
1110
+ {
1111
+ [_h]: ["POST", "/GetTaxInheritance", 200],
1112
+ },
1113
+ () => GetTaxInheritanceRequest,
1114
+ () => GetTaxInheritanceResponse,
1115
+ ];
1116
+ var GetTaxRegistration = [
1117
+ 9,
1118
+ n0,
1119
+ _GTR,
1120
+ {
1121
+ [_h]: ["POST", "/GetTaxRegistration", 200],
1122
+ },
1123
+ () => GetTaxRegistrationRequest,
1124
+ () => GetTaxRegistrationResponse,
1125
+ ];
1126
+ var GetTaxRegistrationDocument = [
1127
+ 9,
1128
+ n0,
1129
+ _GTRD,
1130
+ {
1131
+ [_h]: ["POST", "/GetTaxRegistrationDocument", 200],
1132
+ },
1133
+ () => GetTaxRegistrationDocumentRequest,
1134
+ () => GetTaxRegistrationDocumentResponse,
1135
+ ];
1136
+ var ListSupplementalTaxRegistrations = [
1137
+ 9,
1138
+ n0,
1139
+ _LSTR,
1140
+ {
1141
+ [_h]: ["POST", "/ListSupplementalTaxRegistrations", 200],
1142
+ },
1143
+ () => ListSupplementalTaxRegistrationsRequest,
1144
+ () => ListSupplementalTaxRegistrationsResponse,
1145
+ ];
1146
+ var ListTaxExemptions = [
1147
+ 9,
1148
+ n0,
1149
+ _LTE,
1150
+ {
1151
+ [_h]: ["POST", "/ListTaxExemptions", 200],
1152
+ },
1153
+ () => ListTaxExemptionsRequest,
1154
+ () => ListTaxExemptionsResponse,
1155
+ ];
1156
+ var ListTaxRegistrations = [
1157
+ 9,
1158
+ n0,
1159
+ _LTR,
1160
+ {
1161
+ [_h]: ["POST", "/ListTaxRegistrations", 200],
1162
+ },
1163
+ () => ListTaxRegistrationsRequest,
1164
+ () => ListTaxRegistrationsResponse,
1165
+ ];
1166
+ var PutSupplementalTaxRegistration = [
1167
+ 9,
1168
+ n0,
1169
+ _PSTR,
1170
+ {
1171
+ [_h]: ["POST", "/PutSupplementalTaxRegistration", 200],
1172
+ },
1173
+ () => PutSupplementalTaxRegistrationRequest,
1174
+ () => PutSupplementalTaxRegistrationResponse,
1175
+ ];
1176
+ var PutTaxExemption = [
1177
+ 9,
1178
+ n0,
1179
+ _PTE,
1180
+ {
1181
+ [_h]: ["POST", "/PutTaxExemption", 200],
1182
+ },
1183
+ () => PutTaxExemptionRequest,
1184
+ () => PutTaxExemptionResponse,
1185
+ ];
1186
+ var PutTaxInheritance = [
1187
+ 9,
1188
+ n0,
1189
+ _PTI,
1190
+ {
1191
+ [_h]: ["POST", "/PutTaxInheritance", 200],
1192
+ },
1193
+ () => PutTaxInheritanceRequest,
1194
+ () => PutTaxInheritanceResponse,
1195
+ ];
1196
+ var PutTaxRegistration = [
1197
+ 9,
1198
+ n0,
1199
+ _PTR,
1200
+ {
1201
+ [_h]: ["POST", "/PutTaxRegistration", 200],
1202
+ },
1203
+ () => PutTaxRegistrationRequest,
1204
+ () => PutTaxRegistrationResponse,
1205
+ ];
1021
1206
 
1022
1207
  class BatchDeleteTaxRegistrationCommand extends smithyClient.Command
1023
1208
  .classBuilder()
1024
1209
  .ep(commonParams)
1025
1210
  .m(function (Command, cs, config, o) {
1026
- return [
1027
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1028
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1029
- ];
1211
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1030
1212
  })
1031
1213
  .s("TaxSettings", "BatchDeleteTaxRegistration", {})
1032
1214
  .n("TaxSettingsClient", "BatchDeleteTaxRegistrationCommand")
1033
- .f(void 0, BatchDeleteTaxRegistrationResponseFilterSensitiveLog)
1034
- .ser(se_BatchDeleteTaxRegistrationCommand)
1035
- .de(de_BatchDeleteTaxRegistrationCommand)
1215
+ .sc(BatchDeleteTaxRegistration)
1036
1216
  .build() {
1037
1217
  }
1038
1218
 
@@ -1040,16 +1220,11 @@ class BatchGetTaxExemptionsCommand extends smithyClient.Command
1040
1220
  .classBuilder()
1041
1221
  .ep(commonParams)
1042
1222
  .m(function (Command, cs, config, o) {
1043
- return [
1044
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1045
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1046
- ];
1223
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1047
1224
  })
1048
1225
  .s("TaxSettings", "BatchGetTaxExemptions", {})
1049
1226
  .n("TaxSettingsClient", "BatchGetTaxExemptionsCommand")
1050
- .f(void 0, void 0)
1051
- .ser(se_BatchGetTaxExemptionsCommand)
1052
- .de(de_BatchGetTaxExemptionsCommand)
1227
+ .sc(BatchGetTaxExemptions)
1053
1228
  .build() {
1054
1229
  }
1055
1230
 
@@ -1057,16 +1232,11 @@ class BatchPutTaxRegistrationCommand extends smithyClient.Command
1057
1232
  .classBuilder()
1058
1233
  .ep(commonParams)
1059
1234
  .m(function (Command, cs, config, o) {
1060
- return [
1061
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1062
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1063
- ];
1235
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1064
1236
  })
1065
1237
  .s("TaxSettings", "BatchPutTaxRegistration", {})
1066
1238
  .n("TaxSettingsClient", "BatchPutTaxRegistrationCommand")
1067
- .f(BatchPutTaxRegistrationRequestFilterSensitiveLog, BatchPutTaxRegistrationResponseFilterSensitiveLog)
1068
- .ser(se_BatchPutTaxRegistrationCommand)
1069
- .de(de_BatchPutTaxRegistrationCommand)
1239
+ .sc(BatchPutTaxRegistration)
1070
1240
  .build() {
1071
1241
  }
1072
1242
 
@@ -1074,16 +1244,11 @@ class DeleteSupplementalTaxRegistrationCommand extends smithyClient.Command
1074
1244
  .classBuilder()
1075
1245
  .ep(commonParams)
1076
1246
  .m(function (Command, cs, config, o) {
1077
- return [
1078
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1079
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1080
- ];
1247
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1081
1248
  })
1082
1249
  .s("TaxSettings", "DeleteSupplementalTaxRegistration", {})
1083
1250
  .n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand")
1084
- .f(void 0, void 0)
1085
- .ser(se_DeleteSupplementalTaxRegistrationCommand)
1086
- .de(de_DeleteSupplementalTaxRegistrationCommand)
1251
+ .sc(DeleteSupplementalTaxRegistration)
1087
1252
  .build() {
1088
1253
  }
1089
1254
 
@@ -1091,16 +1256,11 @@ class DeleteTaxRegistrationCommand extends smithyClient.Command
1091
1256
  .classBuilder()
1092
1257
  .ep(commonParams)
1093
1258
  .m(function (Command, cs, config, o) {
1094
- return [
1095
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1096
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1097
- ];
1259
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1098
1260
  })
1099
1261
  .s("TaxSettings", "DeleteTaxRegistration", {})
1100
1262
  .n("TaxSettingsClient", "DeleteTaxRegistrationCommand")
1101
- .f(void 0, void 0)
1102
- .ser(se_DeleteTaxRegistrationCommand)
1103
- .de(de_DeleteTaxRegistrationCommand)
1263
+ .sc(DeleteTaxRegistration)
1104
1264
  .build() {
1105
1265
  }
1106
1266
 
@@ -1108,16 +1268,11 @@ class GetTaxExemptionTypesCommand extends smithyClient.Command
1108
1268
  .classBuilder()
1109
1269
  .ep(commonParams)
1110
1270
  .m(function (Command, cs, config, o) {
1111
- return [
1112
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1113
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1114
- ];
1271
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1115
1272
  })
1116
1273
  .s("TaxSettings", "GetTaxExemptionTypes", {})
1117
1274
  .n("TaxSettingsClient", "GetTaxExemptionTypesCommand")
1118
- .f(void 0, void 0)
1119
- .ser(se_GetTaxExemptionTypesCommand)
1120
- .de(de_GetTaxExemptionTypesCommand)
1275
+ .sc(GetTaxExemptionTypes)
1121
1276
  .build() {
1122
1277
  }
1123
1278
 
@@ -1125,16 +1280,11 @@ class GetTaxInheritanceCommand extends smithyClient.Command
1125
1280
  .classBuilder()
1126
1281
  .ep(commonParams)
1127
1282
  .m(function (Command, cs, config, o) {
1128
- return [
1129
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1130
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1131
- ];
1283
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1132
1284
  })
1133
1285
  .s("TaxSettings", "GetTaxInheritance", {})
1134
1286
  .n("TaxSettingsClient", "GetTaxInheritanceCommand")
1135
- .f(void 0, void 0)
1136
- .ser(se_GetTaxInheritanceCommand)
1137
- .de(de_GetTaxInheritanceCommand)
1287
+ .sc(GetTaxInheritance)
1138
1288
  .build() {
1139
1289
  }
1140
1290
 
@@ -1142,16 +1292,11 @@ class GetTaxRegistrationCommand extends smithyClient.Command
1142
1292
  .classBuilder()
1143
1293
  .ep(commonParams)
1144
1294
  .m(function (Command, cs, config, o) {
1145
- return [
1146
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1147
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1148
- ];
1295
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1149
1296
  })
1150
1297
  .s("TaxSettings", "GetTaxRegistration", {})
1151
1298
  .n("TaxSettingsClient", "GetTaxRegistrationCommand")
1152
- .f(void 0, GetTaxRegistrationResponseFilterSensitiveLog)
1153
- .ser(se_GetTaxRegistrationCommand)
1154
- .de(de_GetTaxRegistrationCommand)
1299
+ .sc(GetTaxRegistration)
1155
1300
  .build() {
1156
1301
  }
1157
1302
 
@@ -1159,16 +1304,11 @@ class GetTaxRegistrationDocumentCommand extends smithyClient.Command
1159
1304
  .classBuilder()
1160
1305
  .ep(commonParams)
1161
1306
  .m(function (Command, cs, config, o) {
1162
- return [
1163
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1164
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1165
- ];
1307
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1166
1308
  })
1167
1309
  .s("TaxSettings", "GetTaxRegistrationDocument", {})
1168
1310
  .n("TaxSettingsClient", "GetTaxRegistrationDocumentCommand")
1169
- .f(void 0, void 0)
1170
- .ser(se_GetTaxRegistrationDocumentCommand)
1171
- .de(de_GetTaxRegistrationDocumentCommand)
1311
+ .sc(GetTaxRegistrationDocument)
1172
1312
  .build() {
1173
1313
  }
1174
1314
 
@@ -1176,16 +1316,11 @@ class ListSupplementalTaxRegistrationsCommand extends smithyClient.Command
1176
1316
  .classBuilder()
1177
1317
  .ep(commonParams)
1178
1318
  .m(function (Command, cs, config, o) {
1179
- return [
1180
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1181
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1182
- ];
1319
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1183
1320
  })
1184
1321
  .s("TaxSettings", "ListSupplementalTaxRegistrations", {})
1185
1322
  .n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand")
1186
- .f(void 0, ListSupplementalTaxRegistrationsResponseFilterSensitiveLog)
1187
- .ser(se_ListSupplementalTaxRegistrationsCommand)
1188
- .de(de_ListSupplementalTaxRegistrationsCommand)
1323
+ .sc(ListSupplementalTaxRegistrations)
1189
1324
  .build() {
1190
1325
  }
1191
1326
 
@@ -1193,16 +1328,11 @@ class ListTaxExemptionsCommand extends smithyClient.Command
1193
1328
  .classBuilder()
1194
1329
  .ep(commonParams)
1195
1330
  .m(function (Command, cs, config, o) {
1196
- return [
1197
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1198
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1199
- ];
1331
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1200
1332
  })
1201
1333
  .s("TaxSettings", "ListTaxExemptions", {})
1202
1334
  .n("TaxSettingsClient", "ListTaxExemptionsCommand")
1203
- .f(void 0, void 0)
1204
- .ser(se_ListTaxExemptionsCommand)
1205
- .de(de_ListTaxExemptionsCommand)
1335
+ .sc(ListTaxExemptions)
1206
1336
  .build() {
1207
1337
  }
1208
1338
 
@@ -1210,16 +1340,11 @@ class ListTaxRegistrationsCommand extends smithyClient.Command
1210
1340
  .classBuilder()
1211
1341
  .ep(commonParams)
1212
1342
  .m(function (Command, cs, config, o) {
1213
- return [
1214
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1215
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1216
- ];
1343
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1217
1344
  })
1218
1345
  .s("TaxSettings", "ListTaxRegistrations", {})
1219
1346
  .n("TaxSettingsClient", "ListTaxRegistrationsCommand")
1220
- .f(void 0, ListTaxRegistrationsResponseFilterSensitiveLog)
1221
- .ser(se_ListTaxRegistrationsCommand)
1222
- .de(de_ListTaxRegistrationsCommand)
1347
+ .sc(ListTaxRegistrations)
1223
1348
  .build() {
1224
1349
  }
1225
1350
 
@@ -1227,16 +1352,11 @@ class PutSupplementalTaxRegistrationCommand extends smithyClient.Command
1227
1352
  .classBuilder()
1228
1353
  .ep(commonParams)
1229
1354
  .m(function (Command, cs, config, o) {
1230
- return [
1231
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1232
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1233
- ];
1355
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1234
1356
  })
1235
1357
  .s("TaxSettings", "PutSupplementalTaxRegistration", {})
1236
1358
  .n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand")
1237
- .f(PutSupplementalTaxRegistrationRequestFilterSensitiveLog, void 0)
1238
- .ser(se_PutSupplementalTaxRegistrationCommand)
1239
- .de(de_PutSupplementalTaxRegistrationCommand)
1359
+ .sc(PutSupplementalTaxRegistration)
1240
1360
  .build() {
1241
1361
  }
1242
1362
 
@@ -1244,16 +1364,11 @@ class PutTaxExemptionCommand extends smithyClient.Command
1244
1364
  .classBuilder()
1245
1365
  .ep(commonParams)
1246
1366
  .m(function (Command, cs, config, o) {
1247
- return [
1248
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1249
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1250
- ];
1367
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1251
1368
  })
1252
1369
  .s("TaxSettings", "PutTaxExemption", {})
1253
1370
  .n("TaxSettingsClient", "PutTaxExemptionCommand")
1254
- .f(void 0, void 0)
1255
- .ser(se_PutTaxExemptionCommand)
1256
- .de(de_PutTaxExemptionCommand)
1371
+ .sc(PutTaxExemption)
1257
1372
  .build() {
1258
1373
  }
1259
1374
 
@@ -1261,16 +1376,11 @@ class PutTaxInheritanceCommand extends smithyClient.Command
1261
1376
  .classBuilder()
1262
1377
  .ep(commonParams)
1263
1378
  .m(function (Command, cs, config, o) {
1264
- return [
1265
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1266
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1267
- ];
1379
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
1380
  })
1269
1381
  .s("TaxSettings", "PutTaxInheritance", {})
1270
1382
  .n("TaxSettingsClient", "PutTaxInheritanceCommand")
1271
- .f(void 0, void 0)
1272
- .ser(se_PutTaxInheritanceCommand)
1273
- .de(de_PutTaxInheritanceCommand)
1383
+ .sc(PutTaxInheritance)
1274
1384
  .build() {
1275
1385
  }
1276
1386
 
@@ -1278,16 +1388,11 @@ class PutTaxRegistrationCommand extends smithyClient.Command
1278
1388
  .classBuilder()
1279
1389
  .ep(commonParams)
1280
1390
  .m(function (Command, cs, config, o) {
1281
- return [
1282
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1283
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1284
- ];
1391
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1285
1392
  })
1286
1393
  .s("TaxSettings", "PutTaxRegistration", {})
1287
1394
  .n("TaxSettingsClient", "PutTaxRegistrationCommand")
1288
- .f(PutTaxRegistrationRequestFilterSensitiveLog, void 0)
1289
- .ser(se_PutTaxRegistrationCommand)
1290
- .de(de_PutTaxRegistrationCommand)
1395
+ .sc(PutTaxRegistration)
1291
1396
  .build() {
1292
1397
  }
1293
1398
 
@@ -1327,21 +1432,14 @@ Object.defineProperty(exports, "__Client", {
1327
1432
  enumerable: true,
1328
1433
  get: function () { return smithyClient.Client; }
1329
1434
  });
1330
- exports.AccessDeniedException = AccessDeniedException;
1331
- exports.AccountDetailsFilterSensitiveLog = AccountDetailsFilterSensitiveLog;
1332
- exports.AccountMetaDataFilterSensitiveLog = AccountMetaDataFilterSensitiveLog;
1435
+ exports.AccessDeniedException = AccessDeniedException$1;
1333
1436
  exports.AddressRoleType = AddressRoleType;
1334
- exports.AttachmentUploadException = AttachmentUploadException;
1437
+ exports.AttachmentUploadException = AttachmentUploadException$1;
1335
1438
  exports.BatchDeleteTaxRegistrationCommand = BatchDeleteTaxRegistrationCommand;
1336
- exports.BatchDeleteTaxRegistrationErrorFilterSensitiveLog = BatchDeleteTaxRegistrationErrorFilterSensitiveLog;
1337
- exports.BatchDeleteTaxRegistrationResponseFilterSensitiveLog = BatchDeleteTaxRegistrationResponseFilterSensitiveLog;
1338
1439
  exports.BatchGetTaxExemptionsCommand = BatchGetTaxExemptionsCommand;
1339
1440
  exports.BatchPutTaxRegistrationCommand = BatchPutTaxRegistrationCommand;
1340
- exports.BatchPutTaxRegistrationErrorFilterSensitiveLog = BatchPutTaxRegistrationErrorFilterSensitiveLog;
1341
- exports.BatchPutTaxRegistrationRequestFilterSensitiveLog = BatchPutTaxRegistrationRequestFilterSensitiveLog;
1342
- exports.BatchPutTaxRegistrationResponseFilterSensitiveLog = BatchPutTaxRegistrationResponseFilterSensitiveLog;
1343
- exports.CaseCreationLimitExceededException = CaseCreationLimitExceededException;
1344
- exports.ConflictException = ConflictException;
1441
+ exports.CaseCreationLimitExceededException = CaseCreationLimitExceededException$1;
1442
+ exports.ConflictException = ConflictException$1;
1345
1443
  exports.DeleteSupplementalTaxRegistrationCommand = DeleteSupplementalTaxRegistrationCommand;
1346
1444
  exports.DeleteTaxRegistrationCommand = DeleteTaxRegistrationCommand;
1347
1445
  exports.EntityExemptionAccountStatus = EntityExemptionAccountStatus;
@@ -1349,45 +1447,35 @@ exports.GetTaxExemptionTypesCommand = GetTaxExemptionTypesCommand;
1349
1447
  exports.GetTaxInheritanceCommand = GetTaxInheritanceCommand;
1350
1448
  exports.GetTaxRegistrationCommand = GetTaxRegistrationCommand;
1351
1449
  exports.GetTaxRegistrationDocumentCommand = GetTaxRegistrationDocumentCommand;
1352
- exports.GetTaxRegistrationResponseFilterSensitiveLog = GetTaxRegistrationResponseFilterSensitiveLog;
1353
1450
  exports.HeritageStatus = HeritageStatus;
1354
1451
  exports.IndonesiaTaxRegistrationNumberType = IndonesiaTaxRegistrationNumberType;
1355
1452
  exports.Industries = Industries;
1356
- exports.InternalServerException = InternalServerException;
1453
+ exports.InternalServerException = InternalServerException$1;
1357
1454
  exports.IsraelCustomerType = IsraelCustomerType;
1358
1455
  exports.IsraelDealerType = IsraelDealerType;
1359
1456
  exports.ListSupplementalTaxRegistrationsCommand = ListSupplementalTaxRegistrationsCommand;
1360
- exports.ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = ListSupplementalTaxRegistrationsResponseFilterSensitiveLog;
1361
1457
  exports.ListTaxExemptionsCommand = ListTaxExemptionsCommand;
1362
1458
  exports.ListTaxRegistrationsCommand = ListTaxRegistrationsCommand;
1363
- exports.ListTaxRegistrationsResponseFilterSensitiveLog = ListTaxRegistrationsResponseFilterSensitiveLog;
1364
1459
  exports.MalaysiaServiceTaxCode = MalaysiaServiceTaxCode;
1365
1460
  exports.PersonType = PersonType;
1366
1461
  exports.PutSupplementalTaxRegistrationCommand = PutSupplementalTaxRegistrationCommand;
1367
- exports.PutSupplementalTaxRegistrationRequestFilterSensitiveLog = PutSupplementalTaxRegistrationRequestFilterSensitiveLog;
1368
1462
  exports.PutTaxExemptionCommand = PutTaxExemptionCommand;
1369
1463
  exports.PutTaxInheritanceCommand = PutTaxInheritanceCommand;
1370
1464
  exports.PutTaxRegistrationCommand = PutTaxRegistrationCommand;
1371
- exports.PutTaxRegistrationRequestFilterSensitiveLog = PutTaxRegistrationRequestFilterSensitiveLog;
1372
1465
  exports.RegistrationType = RegistrationType;
1373
- exports.ResourceNotFoundException = ResourceNotFoundException;
1466
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1374
1467
  exports.SaudiArabiaTaxRegistrationNumberType = SaudiArabiaTaxRegistrationNumberType;
1375
1468
  exports.Sector = Sector;
1376
- exports.SupplementalTaxRegistrationEntryFilterSensitiveLog = SupplementalTaxRegistrationEntryFilterSensitiveLog;
1377
- exports.SupplementalTaxRegistrationFilterSensitiveLog = SupplementalTaxRegistrationFilterSensitiveLog;
1378
1469
  exports.SupplementalTaxRegistrationType = SupplementalTaxRegistrationType;
1379
- exports.TaxRegistrationEntryFilterSensitiveLog = TaxRegistrationEntryFilterSensitiveLog;
1380
- exports.TaxRegistrationFilterSensitiveLog = TaxRegistrationFilterSensitiveLog;
1381
1470
  exports.TaxRegistrationNumberType = TaxRegistrationNumberType;
1382
1471
  exports.TaxRegistrationStatus = TaxRegistrationStatus;
1383
1472
  exports.TaxRegistrationType = TaxRegistrationType;
1384
- exports.TaxRegistrationWithJurisdictionFilterSensitiveLog = TaxRegistrationWithJurisdictionFilterSensitiveLog;
1385
1473
  exports.TaxSettings = TaxSettings;
1386
1474
  exports.TaxSettingsClient = TaxSettingsClient;
1387
- exports.TaxSettingsServiceException = TaxSettingsServiceException;
1475
+ exports.TaxSettingsServiceException = TaxSettingsServiceException$1;
1388
1476
  exports.UkraineTrnType = UkraineTrnType;
1389
1477
  exports.UzbekistanTaxRegistrationNumberType = UzbekistanTaxRegistrationNumberType;
1390
- exports.ValidationException = ValidationException;
1478
+ exports.ValidationException = ValidationException$1;
1391
1479
  exports.ValidationExceptionErrorCode = ValidationExceptionErrorCode;
1392
1480
  exports.paginateListSupplementalTaxRegistrations = paginateListSupplementalTaxRegistrations;
1393
1481
  exports.paginateListTaxExemptions = paginateListTaxExemptions;