File Explorer

/var/runtime/node_modules/@aws-sdk/client-taxsettings/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js57.5 KB · 1575 lines
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultTaxSettingsHttpAuthSchemeParametersProvider = async (config, context, input) => {    return {        operation: getSmithyContext(context).operation,        region: await normalizeProvider(config.region)() || (() => {            throw new Error("expected `region` to be configured for `aws.auth#sigv4`");        })(),    };};function createAwsAuthSigv4HttpAuthOption(authParameters) {    return {        schemeId: "aws.auth#sigv4",        signingProperties: {            name: "tax",            region: authParameters.region,        },        propertiesExtractor: (config, context) => ({            signingProperties: {                config,                context,            },        }),    };}const defaultTaxSettingsHttpAuthSchemeProvider = (authParameters) => {    const options = [];    switch (authParameters.operation) {        default: {            options.push(createAwsAuthSigv4HttpAuthOption(authParameters));        }    }    return options;};const resolveHttpAuthSchemeConfig = (config) => {    const config_0 = resolveAwsSdkSigV4Config(config);    return Object.assign(config_0, {        authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),    });}; const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "tax",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; var version = "3.1104.0";var packageInfo = {	version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ [k]: "Region" }];const _data = {    conditions: [        [c, [g]],        [c, j],        ["aws.partition", j, d],        [e, [{ [k]: "UseFIPS" }, b]],        [e, [{ [k]: "UseDualStack" }, b]],        [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],        [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]    ],    results: [        [a],        [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],        [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],        [g, {}],        ["https://tax-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],        ["https://tax-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", i],        [a, "FIPS is enabled but this partition does not support FIPS"],        ["https://tax.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", i],        [a, "DualStack is enabled but this partition does not support DualStack"],        ["https://tax.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", i],        [a, "Invalid Configuration: Missing Region"]    ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([    -1, 1, -1,    0, 12, 3,    1, 4, r + 11,    2, 5, r + 11,    3, 8, 6,    4, 7, r + 10,    5, r + 8, r + 9,    4, 10, 9,    6, r + 6, r + 7,    5, 11, r + 5,    6, r + 4, r + 5,    3, r + 1, 13,    4, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({    size: 50,    params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => {    return cache.get(endpointParams, () => decideEndpoint(bdd, {        endpointParams: endpointParams,        logger: context.logger,    }));};customEndpointFunctions.aws = awsEndpointFunctions; class TaxSettingsServiceException extends ServiceException {    constructor(options) {        super(options);        Object.setPrototypeOf(this, TaxSettingsServiceException.prototype);    }} class AccessDeniedException extends TaxSettingsServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}class AttachmentUploadException extends TaxSettingsServiceException {    name = "AttachmentUploadException";    $fault = "client";    constructor(opts) {        super({            name: "AttachmentUploadException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AttachmentUploadException.prototype);    }}class ConflictException extends TaxSettingsServiceException {    name = "ConflictException";    $fault = "client";    errorCode;    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);        this.errorCode = opts.errorCode;    }}class InternalServerException extends TaxSettingsServiceException {    name = "InternalServerException";    $fault = "server";    errorCode;    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);        this.errorCode = opts.errorCode;    }}class ValidationException extends TaxSettingsServiceException {    name = "ValidationException";    $fault = "client";    errorCode;    fieldList;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.errorCode = opts.errorCode;        this.fieldList = opts.fieldList;    }}class ResourceNotFoundException extends TaxSettingsServiceException {    name = "ResourceNotFoundException";    $fault = "client";    errorCode;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.errorCode = opts.errorCode;    }}class CaseCreationLimitExceededException extends TaxSettingsServiceException {    name = "CaseCreationLimitExceededException";    $fault = "client";    constructor(opts) {        super({            name: "CaseCreationLimitExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, CaseCreationLimitExceededException.prototype);    }} const _A = "Address";const _AD = "AccountDetails";const _ADE = "AccessDeniedException";const _ADL = "AccountDetailsList";const _AIR = "AdditionalInfoRequest";const _AIRd = "AdditionalInfoResponse";const _AMD = "AccountMetaData";const _ARM = "AddressRoleMap";const _AUE = "AttachmentUploadException";const _Au = "Authority";const _Aut = "Authorities";const _BAI = "BelgiumAdditionalInfo";const _BAIr = "BrazilAdditionalInfo";const _BDTR = "BatchDeleteTaxRegistration";const _BDTRE = "BatchDeleteTaxRegistrationError";const _BDTREa = "BatchDeleteTaxRegistrationErrors";const _BDTRR = "BatchDeleteTaxRegistrationRequest";const _BDTRRa = "BatchDeleteTaxRegistrationResponse";const _BGTE = "BatchGetTaxExemptions";const _BGTER = "BatchGetTaxExemptionsRequest";const _BGTERa = "BatchGetTaxExemptionsResponse";const _BPTR = "BatchPutTaxRegistration";const _BPTRE = "BatchPutTaxRegistrationError";const _BPTREa = "BatchPutTaxRegistrationErrors";const _BPTRR = "BatchPutTaxRegistrationRequest";const _BPTRRa = "BatchPutTaxRegistrationResponse";const _CAI = "CanadaAdditionalInfo";const _CAIh = "ChileAdditionalInfo";const _CCLEE = "CaseCreationLimitExceededException";const _CE = "ConflictException";const _DSL = "DestinationS3Location";const _DSTR = "DeleteSupplementalTaxRegistration";const _DSTRR = "DeleteSupplementalTaxRegistrationRequest";const _DSTRRe = "DeleteSupplementalTaxRegistrationResponse";const _DTR = "DeleteTaxRegistration";const _DTRR = "DeleteTaxRegistrationRequest";const _DTRRe = "DeleteTaxRegistrationResponse";const _EAI = "EgyptAdditionalInfo";const _EAIs = "EstoniaAdditionalInfo";const _EC = "ExemptionCertificate";const _EM = "ErrorMessage";const _FAI = "FranceAdditionalInfo";const _GAI = "GeorgiaAdditionalInfo";const _GAIr = "GreeceAdditionalInfo";const _GTET = "GetTaxExemptionTypes";const _GTETR = "GetTaxExemptionTypesRequest";const _GTETRe = "GetTaxExemptionTypesResponse";const _GTI = "GetTaxInheritance";const _GTIR = "GetTaxInheritanceRequest";const _GTIRe = "GetTaxInheritanceResponse";const _GTR = "GetTaxRegistration";const _GTRD = "GetTaxRegistrationDocument";const _GTRDR = "GetTaxRegistrationDocumentRequest";const _GTRDRe = "GetTaxRegistrationDocumentResponse";const _GTRR = "GetTaxRegistrationRequest";const _GTRRe = "GetTaxRegistrationResponse";const _IAI = "IndiaAdditionalInfo";const _IAIn = "IndonesiaAdditionalInfo";const _IAIs = "IsraelAdditionalInfo";const _IAIt = "ItalyAdditionalInfo";const _ISE = "InternalServerException";const _J = "Jurisdiction";const _KAI = "KenyaAdditionalInfo";const _LSTR = "ListSupplementalTaxRegistrations";const _LSTRR = "ListSupplementalTaxRegistrationsRequest";const _LSTRRi = "ListSupplementalTaxRegistrationsResponse";const _LTE = "ListTaxExemptions";const _LTER = "ListTaxExemptionsRequest";const _LTERi = "ListTaxExemptionsResponse";const _LTR = "ListTaxRegistrations";const _LTRR = "ListTaxRegistrationsRequest";const _LTRRi = "ListTaxRegistrationsResponse";const _MAI = "MalaysiaAdditionalInfo";const _PAI = "PhilippinesAdditionalInfo";const _PAIo = "PolandAdditionalInfo";const _PSTR = "PutSupplementalTaxRegistration";const _PSTRR = "PutSupplementalTaxRegistrationRequest";const _PSTRRu = "PutSupplementalTaxRegistrationResponse";const _PTE = "PutTaxExemption";const _PTER = "PutTaxExemptionRequest";const _PTERu = "PutTaxExemptionResponse";const _PTI = "PutTaxInheritance";const _PTIR = "PutTaxInheritanceRequest";const _PTIRu = "PutTaxInheritanceResponse";const _PTR = "PutTaxRegistration";const _PTRR = "PutTaxRegistrationRequest";const _PTRRu = "PutTaxRegistrationResponse";const _RAI = "RomaniaAdditionalInfo";const _RNFE = "ResourceNotFoundException";const _SAAI = "SaudiArabiaAdditionalInfo";const _SAI = "SpainAdditionalInfo";const _SKAI = "SouthKoreaAdditionalInfo";const _SSL = "SourceS3Location";const _STR = "SupplementalTaxRegistration";const _STRE = "SupplementalTaxRegistrationEntry";const _STRL = "SupplementalTaxRegistrationList";const _TAI = "TurkeyAdditionalInfo";const _TDM = "TaxDocumentMetadata";const _TDMa = "TaxDocumentMetadatas";const _TE = "TaxExemption";const _TED = "TaxExemptionDetails";const _TEDM = "TaxExemptionDetailsMap";const _TET = "TaxExemptionType";const _TETa = "TaxExemptionTypes";const _TEa = "TaxExemptions";const _TID = "TaxInheritanceDetails";const _TR = "TaxRegistration";const _TRD = "TaxRegistrationDocument";const _TRDF = "TaxRegistrationDocFile";const _TRDa = "TaxRegistrationDocuments";const _TRE = "TaxRegistrationEntry";const _TRWJ = "TaxRegistrationWithJurisdiction";const _UAI = "UkraineAdditionalInfo";const _UAIz = "UzbekistanAdditionalInfo";const _VAI = "VietnamAdditionalInfo";const _VD = "VerificationDetails";const _VE = "ValidationException";const _VEF = "ValidationExceptionField";const _VEFL = "ValidationExceptionFieldList";const _a = "address";const _aD = "accountDetails";const _aI = "accountId";const _aIc = "accountIds";const _aIu = "authorityId";const _aJ = "applicableJurisdictions";const _aL = "addressLine1";const _aLd = "addressLine2";const _aLdd = "addressLine3";const _aMD = "accountMetaData";const _aN = "accountName";const _aRM = "addressRoleMap";const _aT = "addressType";const _aTI = "additionalTaxInformation";const _au = "authority";const _b = "bucket";const _bA = "businessActivity";const _bAI = "belgiumAdditionalInfo";const _bAIr = "brazilAdditionalInfo";const _bRN = "businessRegistrationNumber";const _bRNu = "businessRepresentativeName";const _c = "client";const _cAC = "contractingAuthorityCode";const _cAI = "canadaAdditionalInfo";const _cAIh = "chileAdditionalInfo";const _cC = "countryCode";const _cCc = "ccmCode";const _cEI = "certifiedEmailId";const _cI = "caseId";const _cN = "cigNumber";const _cNu = "cupNumber";const _cQSTN = "canadaQuebecSalesTaxNumber";const _cRSTN = "canadaRetailSalesTaxNumber";const _cT = "customerType";const _ci = "city";const _co = "country";const _cod = "code";const _d = "description";const _dF = "documentFile";const _dFP = "destinationFilePath";const _dN = "documentName";const _dNe = "decisionNumber";const _dNi = "displayName";const _dOB = "dateOfBirth";const _dOC = "districtOrCounty";const _dSL = "destinationS3Location";const _dT = "documentType";const _dTe = "dealerType";const _e = "error";const _eAI = "estoniaAdditionalInfo";const _eAIg = "egyptAdditionalInfo";const _eC = "errorCode";const _eCx = "exemptionCertificate";const _eD = "effectiveDate";const _eDx = "expirationDate";const _eIN = "enterpriseIdentificationNumber";const _eT = "exemptionType";const _eTCN = "electronicTransactionCodeNumber";const _er = "errors";const _f = "file";const _fA = "failedAccounts";const _fAI = "franceAdditionalInfo";const _fC = "fileContent";const _fL = "fieldList";const _fN = "fileName";const _gAI = "georgiaAdditionalInfo";const _gAIr = "greeceAdditionalInfo";const _h = "http";const _hE = "httpError";const _hOD = "heritageObtainedDetails";const _hOPE = "heritageObtainedParentEntity";const _hOR = "heritageObtainedReason";const _hS = "heritageStatus";const _i = "industries";const _iAI = "israelAdditionalInfo";const _iAIn = "indonesiaAdditionalInfo";const _iAInd = "indiaAdditionalInfo";const _iAIt = "italyAdditionalInfo";const _iGVE = "isGroupVatEnabled";const _iMBE = "isMercuriusBoxEnabled";const _iOB = "itemOfBusiness";const _iOR = "inheritanceObtainedReason";const _iRA = "isResellerAccount";const _iRN = "individualRegistrationNumber";const _iVR = "isVatRegistered";const _j = "jurisdiction";const _k = "key";const _kAI = "kenyaAdditionalInfo";const _kEI = "kepEmailId";const _lA = "legalAddress";const _lN = "legalName";const _lNC = "legalNatureCode";const _lOB = "lineOfBusiness";const _m = "message";const _mAI = "malaysiaAdditionalInfo";const _mR = "maxResults";const _n = "name";const _nT = "nextToken";const _p = "prefix";const _pAI = "polandAdditionalInfo";const _pAIh = "philippinesAdditionalInfo";const _pC = "postalCode";const _pEDC = "ppnExceptionDesignationCode";const _pEI = "parentEntityId";const _pI = "peppolId";const _pSTI = "provincialSalesTaxId";const _pSU = "presignedS3Url";const _pT = "personType";const _pVN = "paymentVoucherNumber";const _pVND = "paymentVoucherNumberDate";const _pa = "pan";const _rAI = "romaniaAdditionalInfo";const _rCC = "registryCommercialCode";const _rI = "registrationId";const _rT = "registrationType";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.taxsettings";const _sAAI = "saudiArabiaAdditionalInfo";const _sAI = "spainAdditionalInfo";const _sAId = "sdiAccountId";const _sED = "systemEffectiveDate";const _sKAI = "southKoreaAdditionalInfo";const _sL = "s3Location";const _sN = "sirenNumber";const _sOR = "stateOrRegion";const _sTC = "serviceTaxCodes";const _sTI = "secondaryTaxId";const _se = "server";const _sec = "sector";const _sel = "seller";const _st = "state";const _sta = "status";const _tAI = "turkeyAdditionalInfo";const _tC = "taxCode";const _tDAT = "taxDocumentAccessToken";const _tDM = "taxDocumentMetadata";const _tDMa = "taxDocumentMetadatas";const _tDN = "taxDocumentName";const _tE = "taxExemptions";const _tEDM = "taxExemptionDetailsMap";const _tET = "taxExemptionTypes";const _tETa = "taxExemptionType";const _tID = "taxInheritanceDetails";const _tIN = "taxInformationNumber";const _tO = "taxOffice";const _tR = "taxRegistration";const _tRD = "taxRegistrationDocuments";const _tRE = "taxRegistrationEntry";const _tRNT = "taxRegistrationNumberType";const _tRa = "taxRegistrations";const _uAI = "ukraineAdditionalInfo";const _uAIz = "uzbekistanAdditionalInfo";const _uIN = "uniqueIdentificationNumber";const _uINED = "uniqueIdentificationNumberExpirationDate";const _uTT = "ukraineTrnType";const _vAI = "vietnamAdditionalInfo";const _vD = "verificationDetails";const _vRN = "vatRegistrationNumber";const n0 = "com.amazonaws.taxsettings";const _s_registry = TypeRegistry.for(_s);var TaxSettingsServiceException$ = [-3, _s, "TaxSettingsServiceException", 0, [], []];_s_registry.registerError(TaxSettingsServiceException$, TaxSettingsServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE,    { [_e]: _c, [_hE]: 401 },    [_m],    [[() => ErrorMessage, 0]], 1];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var AttachmentUploadException$ = [-3, n0, _AUE,    { [_e]: _c, [_hE]: 400 },    [_m],    [[() => ErrorMessage, 0]], 1];n0_registry.registerError(AttachmentUploadException$, AttachmentUploadException);var CaseCreationLimitExceededException$ = [-3, n0, _CCLEE,    { [_e]: _c, [_hE]: 413 },    [_m],    [[() => ErrorMessage, 0]], 1];n0_registry.registerError(CaseCreationLimitExceededException$, CaseCreationLimitExceededException);var ConflictException$ = [-3, n0, _CE,    { [_e]: _c, [_hE]: 409 },    [_m, _eC],    [[() => ErrorMessage, 0], 0], 2];n0_registry.registerError(ConflictException$, ConflictException);var InternalServerException$ = [-3, n0, _ISE,    { [_e]: _se, [_hE]: 500 },    [_m, _eC],    [[() => ErrorMessage, 0], 0], 2];n0_registry.registerError(InternalServerException$, InternalServerException);var ResourceNotFoundException$ = [-3, n0, _RNFE,    { [_e]: _c, [_hE]: 404 },    [_m, _eC],    [[() => ErrorMessage, 0], 0], 2];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ValidationException$ = [-3, n0, _VE,    { [_e]: _c, [_hE]: 400 },    [_m, _eC, _fL],    [[() => ErrorMessage, 0], 0, () => ValidationExceptionFieldList], 2];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [    _s_registry,    n0_registry,];var ErrorMessage = [0, n0, _EM, 8, 0];var AccountDetails$ = [3, n0, _AD,    8,    [_aI, _tR, _tID, _aMD],    [0, [() => TaxRegistrationWithJurisdiction$, 0], () => TaxInheritanceDetails$, [() => AccountMetaData$, 0]]];var AccountMetaData$ = [3, n0, _AMD,    8,    [_aN, _sel, _a, _aT, _aRM],    [0, 0, () => Address$, 0, () => AddressRoleMap]];var AdditionalInfoRequest$ = [3, n0, _AIR,    0,    [_mAI, _iAI, _eAI, _cAI, _sAI, _kAI, _sKAI, _tAI, _gAI, _iAIt, _rAI, _uAI, _pAI, _sAAI, _iAIn, _vAI, _eAIg, _gAIr, _uAIz, _pAIh, _bAI, _cAIh, _fAI],    [() => MalaysiaAdditionalInfo$, () => IsraelAdditionalInfo$, () => EstoniaAdditionalInfo$, () => CanadaAdditionalInfo$, () => SpainAdditionalInfo$, () => KenyaAdditionalInfo$, () => SouthKoreaAdditionalInfo$, () => TurkeyAdditionalInfo$, () => GeorgiaAdditionalInfo$, () => ItalyAdditionalInfo$, () => RomaniaAdditionalInfo$, () => UkraineAdditionalInfo$, () => PolandAdditionalInfo$, () => SaudiArabiaAdditionalInfo$, () => IndonesiaAdditionalInfo$, () => VietnamAdditionalInfo$, () => EgyptAdditionalInfo$, () => GreeceAdditionalInfo$, () => UzbekistanAdditionalInfo$, () => PhilippinesAdditionalInfo$, () => BelgiumAdditionalInfo$, () => ChileAdditionalInfo$, () => FranceAdditionalInfo$]];var AdditionalInfoResponse$ = [3, n0, _AIRd,    0,    [_mAI, _iAI, _eAI, _cAI, _bAIr, _sAI, _kAI, _sKAI, _tAI, _gAI, _iAIt, _rAI, _uAI, _pAI, _sAAI, _iAInd, _iAIn, _vAI, _eAIg, _gAIr, _uAIz, _pAIh, _bAI, _cAIh, _fAI],    [() => MalaysiaAdditionalInfo$, () => IsraelAdditionalInfo$, () => EstoniaAdditionalInfo$, () => CanadaAdditionalInfo$, () => BrazilAdditionalInfo$, () => SpainAdditionalInfo$, () => KenyaAdditionalInfo$, () => SouthKoreaAdditionalInfo$, () => TurkeyAdditionalInfo$, () => GeorgiaAdditionalInfo$, () => ItalyAdditionalInfo$, () => RomaniaAdditionalInfo$, () => UkraineAdditionalInfo$, () => PolandAdditionalInfo$, () => SaudiArabiaAdditionalInfo$, () => IndiaAdditionalInfo$, () => IndonesiaAdditionalInfo$, () => VietnamAdditionalInfo$, () => EgyptAdditionalInfo$, () => GreeceAdditionalInfo$, () => UzbekistanAdditionalInfo$, () => PhilippinesAdditionalInfo$, () => BelgiumAdditionalInfo$, () => ChileAdditionalInfo$, () => FranceAdditionalInfo$]];var Address$ = [3, n0, _A,    0,    [_pC, _cC, _aL, _aLd, _aLdd, _dOC, _ci, _sOR],    [0, 0, 0, 0, 0, 0, 0, 0], 2];var Authority$ = [3, n0, _Au,    0,    [_co, _st],    [0, 0], 1];var BatchDeleteTaxRegistrationError$ = [3, n0, _BDTRE,    0,    [_aI, _m, _cod],    [0, [() => ErrorMessage, 0], 0], 2];var BatchDeleteTaxRegistrationRequest$ = [3, n0, _BDTRR,    0,    [_aIc],    [64 | 0], 1];var BatchDeleteTaxRegistrationResponse$ = [3, n0, _BDTRRa,    0,    [_er],    [[() => BatchDeleteTaxRegistrationErrors, 0]], 1];var BatchGetTaxExemptionsRequest$ = [3, n0, _BGTER,    0,    [_aIc],    [64 | 0], 1];var BatchGetTaxExemptionsResponse$ = [3, n0, _BGTERa,    0,    [_tEDM, _fA],    [() => TaxExemptionDetailsMap, 64 | 0]];var BatchPutTaxRegistrationError$ = [3, n0, _BPTRE,    0,    [_aI, _m, _cod],    [0, [() => ErrorMessage, 0], 0], 2];var BatchPutTaxRegistrationRequest$ = [3, n0, _BPTRR,    0,    [_aIc, _tRE],    [64 | 0, [() => TaxRegistrationEntry$, 0]], 2];var BatchPutTaxRegistrationResponse$ = [3, n0, _BPTRRa,    0,    [_er, _sta],    [[() => BatchPutTaxRegistrationErrors, 0], 0], 1];var BelgiumAdditionalInfo$ = [3, n0, _BAI,    0,    [_pI, _iMBE],    [0, 2]];var BrazilAdditionalInfo$ = [3, n0, _BAIr,    0,    [_cCc, _lNC],    [0, 0]];var CanadaAdditionalInfo$ = [3, n0, _CAI,    0,    [_pSTI, _cQSTN, _cRSTN, _iRA],    [0, 0, 0, 2]];var ChileAdditionalInfo$ = [3, n0, _CAIh,    0,    [_dT, _bA],    [0, 0]];var DeleteSupplementalTaxRegistrationRequest$ = [3, n0, _DSTRR,    0,    [_aIu],    [0], 1];var DeleteSupplementalTaxRegistrationResponse$ = [3, n0, _DSTRRe,    0,    [],    []];var DeleteTaxRegistrationRequest$ = [3, n0, _DTRR,    0,    [_aI],    [0]];var DeleteTaxRegistrationResponse$ = [3, n0, _DTRRe,    0,    [],    []];var DestinationS3Location$ = [3, n0, _DSL,    0,    [_b, _p],    [0, 0], 1];var EgyptAdditionalInfo$ = [3, n0, _EAI,    0,    [_uIN, _uINED],    [0, 0]];var EstoniaAdditionalInfo$ = [3, n0, _EAIs,    0,    [_rCC],    [0], 1];var ExemptionCertificate$ = [3, n0, _EC,    0,    [_dN, _dF],    [0, 21], 2];var FranceAdditionalInfo$ = [3, n0, _FAI,    0,    [_sN],    [0], 1];var GeorgiaAdditionalInfo$ = [3, n0, _GAI,    0,    [_pT],    [0], 1];var GetTaxExemptionTypesRequest$ = [3, n0, _GTETR,    0,    [],    []];var GetTaxExemptionTypesResponse$ = [3, n0, _GTETRe,    0,    [_tET],    [() => TaxExemptionTypes]];var GetTaxInheritanceRequest$ = [3, n0, _GTIR,    0,    [],    []];var GetTaxInheritanceResponse$ = [3, n0, _GTIRe,    0,    [_hS],    [0]];var GetTaxRegistrationDocumentRequest$ = [3, n0, _GTRDR,    0,    [_tDM, _dSL],    [() => TaxDocumentMetadata$, () => DestinationS3Location$], 1];var GetTaxRegistrationDocumentResponse$ = [3, n0, _GTRDRe,    0,    [_dFP, _pSU],    [0, 0]];var GetTaxRegistrationRequest$ = [3, n0, _GTRR,    0,    [_aI],    [0]];var GetTaxRegistrationResponse$ = [3, n0, _GTRRe,    0,    [_tR],    [[() => TaxRegistration$, 0]]];var GreeceAdditionalInfo$ = [3, n0, _GAIr,    0,    [_cAC],    [0]];var IndiaAdditionalInfo$ = [3, n0, _IAI,    0,    [_pa],    [0]];var IndonesiaAdditionalInfo$ = [3, n0, _IAIn,    0,    [_tRNT, _pEDC, _dNe],    [0, 0, 0]];var IsraelAdditionalInfo$ = [3, n0, _IAIs,    0,    [_dTe, _cT],    [0, 0], 2];var ItalyAdditionalInfo$ = [3, n0, _IAIt,    0,    [_sAId, _cN, _cNu, _tC, _cT],    [0, 0, 0, 0, 0]];var Jurisdiction$ = [3, n0, _J,    0,    [_cC, _sOR],    [0, 0], 1];var KenyaAdditionalInfo$ = [3, n0, _KAI,    0,    [_pT],    [0], 1];var ListSupplementalTaxRegistrationsRequest$ = [3, n0, _LSTRR,    0,    [_mR, _nT],    [1, 0]];var ListSupplementalTaxRegistrationsResponse$ = [3, n0, _LSTRRi,    0,    [_tRa, _nT],    [[() => SupplementalTaxRegistrationList, 0], 0], 1];var ListTaxExemptionsRequest$ = [3, n0, _LTER,    0,    [_mR, _nT],    [1, 0]];var ListTaxExemptionsResponse$ = [3, n0, _LTERi,    0,    [_nT, _tEDM],    [0, () => TaxExemptionDetailsMap]];var ListTaxRegistrationsRequest$ = [3, n0, _LTRR,    0,    [_mR, _nT],    [1, 0]];var ListTaxRegistrationsResponse$ = [3, n0, _LTRRi,    0,    [_aD, _nT],    [[() => AccountDetailsList, 0], 0], 1];var MalaysiaAdditionalInfo$ = [3, n0, _MAI,    0,    [_sTC, _tIN, _bRN],    [64 | 0, 0, 0]];var PhilippinesAdditionalInfo$ = [3, n0, _PAI,    0,    [_iVR],    [2]];var PolandAdditionalInfo$ = [3, n0, _PAIo,    0,    [_iRN, _iGVE, _tRNT],    [0, 2, 0]];var PutSupplementalTaxRegistrationRequest$ = [3, n0, _PSTRR,    0,    [_tRE],    [[() => SupplementalTaxRegistrationEntry$, 0]], 1];var PutSupplementalTaxRegistrationResponse$ = [3, n0, _PSTRRu,    0,    [_aIu, _sta],    [0, 0], 2];var PutTaxExemptionRequest$ = [3, n0, _PTER,    0,    [_aIc, _au, _eT, _eCx],    [64 | 0, () => Authority$, 0, () => ExemptionCertificate$], 4];var PutTaxExemptionResponse$ = [3, n0, _PTERu,    0,    [_cI],    [0]];var PutTaxInheritanceRequest$ = [3, n0, _PTIR,    0,    [_hS],    [0]];var PutTaxInheritanceResponse$ = [3, n0, _PTIRu,    0,    [],    []];var PutTaxRegistrationRequest$ = [3, n0, _PTRR,    0,    [_tRE, _aI],    [[() => TaxRegistrationEntry$, 0], 0], 1];var PutTaxRegistrationResponse$ = [3, n0, _PTRRu,    0,    [_sta],    [0]];var RomaniaAdditionalInfo$ = [3, n0, _RAI,    0,    [_tRNT],    [0], 1];var SaudiArabiaAdditionalInfo$ = [3, n0, _SAAI,    0,    [_tRNT],    [0]];var SourceS3Location$ = [3, n0, _SSL,    0,    [_b, _k],    [0, 0], 2];var SouthKoreaAdditionalInfo$ = [3, n0, _SKAI,    0,    [_bRNu, _lOB, _iOB],    [0, 0, 0], 3];var SpainAdditionalInfo$ = [3, n0, _SAI,    0,    [_rT],    [0], 1];var SupplementalTaxRegistration$ = [3, n0, _STR,    8,    [_rI, _rT, _lN, _a, _aIu, _sta],    [0, 0, 0, () => Address$, 0, 0], 6];var SupplementalTaxRegistrationEntry$ = [3, n0, _STRE,    8,    [_rI, _rT, _lN, _a],    [0, 0, 0, () => Address$], 4];var TaxDocumentMetadata$ = [3, n0, _TDM,    0,    [_tDAT, _tDN],    [0, 0], 2];var TaxExemption$ = [3, n0, _TE,    0,    [_au, _tETa, _eD, _eDx, _sED, _sta],    [() => Authority$, () => TaxExemptionType$, 4, 4, 4, 0], 2];var TaxExemptionDetails$ = [3, n0, _TED,    0,    [_tE, _hOD, _hOPE, _hOR],    [() => TaxExemptions, 2, 0, 0]];var TaxExemptionType$ = [3, n0, _TET,    0,    [_dNi, _d, _aJ],    [0, 0, () => Authorities]];var TaxInheritanceDetails$ = [3, n0, _TID,    0,    [_pEI, _iOR],    [0, 0]];var TaxRegistration$ = [3, n0, _TR,    8,    [_rI, _rT, _lN, _sta, _lA, _sec, _tDMa, _cEI, _aTI],    [0, 0, 0, 0, () => Address$, 0, () => TaxDocumentMetadatas, 0, () => AdditionalInfoResponse$], 5];var TaxRegistrationDocFile$ = [3, n0, _TRDF,    0,    [_fN, _fC],    [0, 21], 2];var TaxRegistrationDocument$ = [3, n0, _TRD,    0,    [_sL, _f],    [() => SourceS3Location$, () => TaxRegistrationDocFile$]];var TaxRegistrationEntry$ = [3, n0, _TRE,    8,    [_rI, _rT, _lN, _lA, _sec, _aTI, _vD, _cEI],    [0, 0, 0, () => Address$, 0, () => AdditionalInfoRequest$, () => VerificationDetails$, 0], 2];var TaxRegistrationWithJurisdiction$ = [3, n0, _TRWJ,    8,    [_rI, _rT, _lN, _sta, _j, _sec, _tDMa, _cEI, _aTI],    [0, 0, 0, 0, () => Jurisdiction$, 0, () => TaxDocumentMetadatas, 0, () => AdditionalInfoResponse$], 5];var TurkeyAdditionalInfo$ = [3, n0, _TAI,    0,    [_tO, _kEI, _sTI, _i],    [0, 0, 0, 0]];var UkraineAdditionalInfo$ = [3, n0, _UAI,    0,    [_uTT],    [0], 1];var UzbekistanAdditionalInfo$ = [3, n0, _UAIz,    0,    [_tRNT, _vRN],    [0, 0]];var ValidationExceptionField$ = [3, n0, _VEF,    0,    [_n],    [0], 1];var VerificationDetails$ = [3, n0, _VD,    0,    [_dOB, _tRD],    [0, () => TaxRegistrationDocuments]];var VietnamAdditionalInfo$ = [3, n0, _VAI,    0,    [_eIN, _eTCN, _pVN, _pVND],    [0, 0, 0, 0]];var AccountDetailsList = [1, n0, _ADL,    0, [() => AccountDetails$,        0]];var Authorities = [1, n0, _Aut,    0, () => Authority$];var BatchDeleteTaxRegistrationErrors = [1, n0, _BDTREa,    0, [() => BatchDeleteTaxRegistrationError$,        0]];var BatchPutTaxRegistrationErrors = [1, n0, _BPTREa,    0, [() => BatchPutTaxRegistrationError$,        0]];var SupplementalTaxRegistrationList = [1, n0, _STRL,    0, [() => SupplementalTaxRegistration$,        0]];var TaxDocumentMetadatas = [1, n0, _TDMa,    0, () => TaxDocumentMetadata$];var TaxExemptions = [1, n0, _TEa,    0, () => TaxExemption$];var TaxExemptionTypes = [1, n0, _TETa,    0, () => TaxExemptionType$];var TaxRegistrationDocuments = [1, n0, _TRDa,    0, () => TaxRegistrationDocument$];var ValidationExceptionFieldList = [1, n0, _VEFL,    0, () => ValidationExceptionField$];var AddressRoleMap = [2, n0, _ARM,    0, 0, () => Jurisdiction$];var TaxExemptionDetailsMap = [2, n0, _TEDM,    0, 0, () => TaxExemptionDetails$];var BatchDeleteTaxRegistration$ = [9, n0, _BDTR,    { [_h]: ["POST", "/BatchDeleteTaxRegistration", 200] }, () => BatchDeleteTaxRegistrationRequest$, () => BatchDeleteTaxRegistrationResponse$];var BatchGetTaxExemptions$ = [9, n0, _BGTE,    { [_h]: ["POST", "/BatchGetTaxExemptions", 200] }, () => BatchGetTaxExemptionsRequest$, () => BatchGetTaxExemptionsResponse$];var BatchPutTaxRegistration$ = [9, n0, _BPTR,    { [_h]: ["POST", "/BatchPutTaxRegistration", 200] }, () => BatchPutTaxRegistrationRequest$, () => BatchPutTaxRegistrationResponse$];var DeleteSupplementalTaxRegistration$ = [9, n0, _DSTR,    { [_h]: ["POST", "/DeleteSupplementalTaxRegistration", 200] }, () => DeleteSupplementalTaxRegistrationRequest$, () => DeleteSupplementalTaxRegistrationResponse$];var DeleteTaxRegistration$ = [9, n0, _DTR,    { [_h]: ["POST", "/DeleteTaxRegistration", 200] }, () => DeleteTaxRegistrationRequest$, () => DeleteTaxRegistrationResponse$];var GetTaxExemptionTypes$ = [9, n0, _GTET,    { [_h]: ["POST", "/GetTaxExemptionTypes", 200] }, () => GetTaxExemptionTypesRequest$, () => GetTaxExemptionTypesResponse$];var GetTaxInheritance$ = [9, n0, _GTI,    { [_h]: ["POST", "/GetTaxInheritance", 200] }, () => GetTaxInheritanceRequest$, () => GetTaxInheritanceResponse$];var GetTaxRegistration$ = [9, n0, _GTR,    { [_h]: ["POST", "/GetTaxRegistration", 200] }, () => GetTaxRegistrationRequest$, () => GetTaxRegistrationResponse$];var GetTaxRegistrationDocument$ = [9, n0, _GTRD,    { [_h]: ["POST", "/GetTaxRegistrationDocument", 200] }, () => GetTaxRegistrationDocumentRequest$, () => GetTaxRegistrationDocumentResponse$];var ListSupplementalTaxRegistrations$ = [9, n0, _LSTR,    { [_h]: ["POST", "/ListSupplementalTaxRegistrations", 200] }, () => ListSupplementalTaxRegistrationsRequest$, () => ListSupplementalTaxRegistrationsResponse$];var ListTaxExemptions$ = [9, n0, _LTE,    { [_h]: ["POST", "/ListTaxExemptions", 200] }, () => ListTaxExemptionsRequest$, () => ListTaxExemptionsResponse$];var ListTaxRegistrations$ = [9, n0, _LTR,    { [_h]: ["POST", "/ListTaxRegistrations", 200] }, () => ListTaxRegistrationsRequest$, () => ListTaxRegistrationsResponse$];var PutSupplementalTaxRegistration$ = [9, n0, _PSTR,    { [_h]: ["POST", "/PutSupplementalTaxRegistration", 200] }, () => PutSupplementalTaxRegistrationRequest$, () => PutSupplementalTaxRegistrationResponse$];var PutTaxExemption$ = [9, n0, _PTE,    { [_h]: ["POST", "/PutTaxExemption", 200] }, () => PutTaxExemptionRequest$, () => PutTaxExemptionResponse$];var PutTaxInheritance$ = [9, n0, _PTI,    { [_h]: ["POST", "/PutTaxInheritance", 200] }, () => PutTaxInheritanceRequest$, () => PutTaxInheritanceResponse$];var PutTaxRegistration$ = [9, n0, _PTR,    { [_h]: ["POST", "/PutTaxRegistration", 200] }, () => PutTaxRegistrationRequest$, () => PutTaxRegistrationResponse$]; const getRuntimeConfig$1 = (config) => {    return {        apiVersion: "2018-05-10",        base64Decoder: config?.base64Decoder ?? fromBase64,        base64Encoder: config?.base64Encoder ?? toBase64,        disableHostPrefix: config?.disableHostPrefix ?? false,        endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,        extensions: config?.extensions ?? [],        httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultTaxSettingsHttpAuthSchemeProvider,        httpAuthSchemes: config?.httpAuthSchemes ?? [            {                schemeId: "aws.auth#sigv4",                identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),                signer: new AwsSdkSigV4Signer(),            },        ],        logger: config?.logger ?? new NoOpLogger(),        protocol: config?.protocol ?? AwsRestJsonProtocol,        protocolSettings: config?.protocolSettings ?? {            defaultNamespace: "com.amazonaws.taxsettings",            errorTypeRegistries,            version: "2018-05-10",            serviceTarget: "TaxSettings",        },        serviceId: config?.serviceId ?? "TaxSettings",        sha256: config?.sha256 ?? Sha256,        urlParser: config?.urlParser ?? parseUrl,        utf8Decoder: config?.utf8Decoder ?? fromUtf8,        utf8Encoder: config?.utf8Encoder ?? toUtf8,    };}; const getRuntimeConfig = (config) => {    emitWarningIfUnsupportedVersion(process.version);    const defaultsMode = resolveDefaultsModeConfig(config);    const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);    const clientSharedValues = getRuntimeConfig$1(config);    emitWarningIfUnsupportedVersion$1(process.version);    const loaderConfig = {        profile: config?.profile,        logger: clientSharedValues.logger,    };    return {        ...clientSharedValues,        ...config,        runtime: "node",        defaultsMode,        authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),        bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,        credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,        defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),        maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),        region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),        requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),        retryMode: config?.retryMode ??            loadConfig({                ...NODE_RETRY_MODE_CONFIG_OPTIONS,                default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,            }, config),        streamCollector: config?.streamCollector ?? streamCollector,        useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),        useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),        userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),    };}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class TaxSettingsClient extends Client {    config;    constructor(...[configuration]) {        const _config_0 = getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = resolveUserAgentConfig(_config_1);        const _config_3 = resolveRetryConfig(_config_2);        const _config_4 = resolveRegionConfig(_config_3);        const _config_5 = resolveHostHeaderConfig(_config_4);        const _config_6 = resolveEndpointConfig(_config_5);        const _config_7 = resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(getSchemaSerdePlugin(this.config));        this.middlewareStack.use(getUserAgentPlugin(this.config));        this.middlewareStack.use(getRetryPlugin(this.config));        this.middlewareStack.use(getContentLengthPlugin(this.config));        this.middlewareStack.use(getHostHeaderPlugin(this.config));        this.middlewareStack.use(getLoggerPlugin(this.config));        this.middlewareStack.use(getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: defaultTaxSettingsHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} const command = makeBuilder(commonParams, "TaxSettings", "TaxSettingsClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class BatchDeleteTaxRegistrationCommand extends command(_ep0, _mw0, "BatchDeleteTaxRegistration", BatchDeleteTaxRegistration$) {} class BatchGetTaxExemptionsCommand extends command(_ep0, _mw0, "BatchGetTaxExemptions", BatchGetTaxExemptions$) {} class BatchPutTaxRegistrationCommand extends command(_ep0, _mw0, "BatchPutTaxRegistration", BatchPutTaxRegistration$) {} class DeleteSupplementalTaxRegistrationCommand extends command(_ep0, _mw0, "DeleteSupplementalTaxRegistration", DeleteSupplementalTaxRegistration$) {} class DeleteTaxRegistrationCommand extends command(_ep0, _mw0, "DeleteTaxRegistration", DeleteTaxRegistration$) {} class GetTaxExemptionTypesCommand extends command(_ep0, _mw0, "GetTaxExemptionTypes", GetTaxExemptionTypes$) {} class GetTaxInheritanceCommand extends command(_ep0, _mw0, "GetTaxInheritance", GetTaxInheritance$) {} class GetTaxRegistrationCommand extends command(_ep0, _mw0, "GetTaxRegistration", GetTaxRegistration$) {} class GetTaxRegistrationDocumentCommand extends command(_ep0, _mw0, "GetTaxRegistrationDocument", GetTaxRegistrationDocument$) {} class ListSupplementalTaxRegistrationsCommand extends command(_ep0, _mw0, "ListSupplementalTaxRegistrations", ListSupplementalTaxRegistrations$) {} class ListTaxExemptionsCommand extends command(_ep0, _mw0, "ListTaxExemptions", ListTaxExemptions$) {} class ListTaxRegistrationsCommand extends command(_ep0, _mw0, "ListTaxRegistrations", ListTaxRegistrations$) {} class PutSupplementalTaxRegistrationCommand extends command(_ep0, _mw0, "PutSupplementalTaxRegistration", PutSupplementalTaxRegistration$) {} class PutTaxExemptionCommand extends command(_ep0, _mw0, "PutTaxExemption", PutTaxExemption$) {} class PutTaxInheritanceCommand extends command(_ep0, _mw0, "PutTaxInheritance", PutTaxInheritance$) {} class PutTaxRegistrationCommand extends command(_ep0, _mw0, "PutTaxRegistration", PutTaxRegistration$) {} const paginateListSupplementalTaxRegistrations = createPaginator(TaxSettingsClient, ListSupplementalTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListTaxExemptions = createPaginator(TaxSettingsClient, ListTaxExemptionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListTaxRegistrations = createPaginator(TaxSettingsClient, ListTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults"); const commands = {    BatchDeleteTaxRegistrationCommand,    BatchGetTaxExemptionsCommand,    BatchPutTaxRegistrationCommand,    DeleteSupplementalTaxRegistrationCommand,    DeleteTaxRegistrationCommand,    GetTaxExemptionTypesCommand,    GetTaxInheritanceCommand,    GetTaxRegistrationCommand,    GetTaxRegistrationDocumentCommand,    ListSupplementalTaxRegistrationsCommand,    ListTaxExemptionsCommand,    ListTaxRegistrationsCommand,    PutSupplementalTaxRegistrationCommand,    PutTaxExemptionCommand,    PutTaxInheritanceCommand,    PutTaxRegistrationCommand,};const paginators = {    paginateListSupplementalTaxRegistrations,    paginateListTaxExemptions,    paginateListTaxRegistrations,};class TaxSettings extends TaxSettingsClient {}createAggregatedClient(commands, TaxSettings, { paginators }); const AddressRoleType = {    BILLING_ADDRESS: "BillingAddress",    CONTACT_ADDRESS: "ContactAddress",    TAX_ADDRESS: "TaxAddress",};const ChileDocumentType = {    INVOICE: "Invoice",    RECEIPT: "Receipt",};const PersonType = {    BUSINESS: "Business",    LEGAL_PERSON: "Legal Person",    PHYSICAL_PERSON: "Physical Person",};const IndonesiaTaxRegistrationNumberType = {    NIK: "NIK",    NITKU: "NITKU",    NPWP: "NPWP",    PASSPORT_NUMBER: "PassportNumber",};const IsraelCustomerType = {    BUSINESS: "Business",    INDIVIDUAL: "Individual",};const IsraelDealerType = {    AUTHORIZED: "Authorized",    NON_AUTHORIZED: "Non-authorized",};const CustomerType = {    BUSINESS: "Business",    INDIVIDUAL: "Individual",};const MalaysiaServiceTaxCode = {    CONSULTANCY: "Consultancy",    DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium",    IT_SERVICES: "IT Services",    TRAINING_OR_COACHING: "Training Or Coaching",};const PolandTaxRegistrationNumberType = {    EU_TAX_REGISTRATION_NUMBER: "EUTaxRegistrationNumber",    LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber",    LOCAL_TAX_REGISTRATION_NUMBER: "LocalTaxRegistrationNumber",};const TaxRegistrationNumberType = {    LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber",    TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",};const SaudiArabiaTaxRegistrationNumberType = {    COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber",    TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber",    TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber",};const RegistrationType = {    INTRA_EU: "Intra-EU",    LOCAL: "Local",};const Industries = {    BANKS: "Banks",    CIRCULATING_ORG: "CirculatingOrg",    DEVELOPMENT_AGENCIES: "DevelopmentAgencies",    INSURANCE: "Insurance",    PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds",    PROFESSIONAL_ORG: "ProfessionalOrg",};const UkraineTrnType = {    BUSINESS: "Business",    INDIVIDUAL: "Individual",};const UzbekistanTaxRegistrationNumberType = {    BUSINESS: "Business",    INDIVIDUAL: "Individual",};const TaxRegistrationType = {    CNPJ: "CNPJ",    CPF: "CPF",    GST: "GST",    NIP: "NIP",    NRIC: "NRIC",    PAN: "PAN",    SST: "SST",    TIN: "TIN",    VAT: "VAT",};const Sector = {    BUSINESS: "Business",    INDIVIDUAL: "Individual",    PUBLIC_INSTITUTIONS: "Government",};const TaxRegistrationStatus = {    DELETED: "Deleted",    PENDING: "Pending",    REJECTED: "Rejected",    VERIFIED: "Verified",};const ValidationExceptionErrorCode = {    EXPIRED_TOKEN: "ExpiredToken",    FIELD_VALIDATION_FAILED: "FieldValidationFailed",    GST_EXISTENCE_BLOCK_SET_PAN: "GSTExistenceBlockSetPAN",    INVALID_TOKEN: "InvalidToken",    MALFORMED_TOKEN: "MalformedToken",    MISSING_INPUT: "MissingInput",    NON_INDIA_CUSTOMER_CAN_NOT_SET_PAN: "NonIndiaCustomerCanNotSetPAN",};const EntityExemptionAccountStatus = {    Expired: "Expired",    None: "None",    Pending: "Pending",    Valid: "Valid",};const HeritageStatus = {    OptIn: "OptIn",    OptOut: "OptOut",};const SupplementalTaxRegistrationType = {    VAT: "VAT",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.AccountDetails$ = AccountDetails$;exports.AccountMetaData$ = AccountMetaData$;exports.AdditionalInfoRequest$ = AdditionalInfoRequest$;exports.AdditionalInfoResponse$ = AdditionalInfoResponse$;exports.Address$ = Address$;exports.AddressRoleType = AddressRoleType;exports.AttachmentUploadException = AttachmentUploadException;exports.AttachmentUploadException$ = AttachmentUploadException$;exports.Authority$ = Authority$;exports.BatchDeleteTaxRegistration$ = BatchDeleteTaxRegistration$;exports.BatchDeleteTaxRegistrationCommand = BatchDeleteTaxRegistrationCommand;exports.BatchDeleteTaxRegistrationError$ = BatchDeleteTaxRegistrationError$;exports.BatchDeleteTaxRegistrationRequest$ = BatchDeleteTaxRegistrationRequest$;exports.BatchDeleteTaxRegistrationResponse$ = BatchDeleteTaxRegistrationResponse$;exports.BatchGetTaxExemptions$ = BatchGetTaxExemptions$;exports.BatchGetTaxExemptionsCommand = BatchGetTaxExemptionsCommand;exports.BatchGetTaxExemptionsRequest$ = BatchGetTaxExemptionsRequest$;exports.BatchGetTaxExemptionsResponse$ = BatchGetTaxExemptionsResponse$;exports.BatchPutTaxRegistration$ = BatchPutTaxRegistration$;exports.BatchPutTaxRegistrationCommand = BatchPutTaxRegistrationCommand;exports.BatchPutTaxRegistrationError$ = BatchPutTaxRegistrationError$;exports.BatchPutTaxRegistrationRequest$ = BatchPutTaxRegistrationRequest$;exports.BatchPutTaxRegistrationResponse$ = BatchPutTaxRegistrationResponse$;exports.BelgiumAdditionalInfo$ = BelgiumAdditionalInfo$;exports.BrazilAdditionalInfo$ = BrazilAdditionalInfo$;exports.CanadaAdditionalInfo$ = CanadaAdditionalInfo$;exports.CaseCreationLimitExceededException = CaseCreationLimitExceededException;exports.CaseCreationLimitExceededException$ = CaseCreationLimitExceededException$;exports.ChileAdditionalInfo$ = ChileAdditionalInfo$;exports.ChileDocumentType = ChileDocumentType;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.CustomerType = CustomerType;exports.DeleteSupplementalTaxRegistration$ = DeleteSupplementalTaxRegistration$;exports.DeleteSupplementalTaxRegistrationCommand = DeleteSupplementalTaxRegistrationCommand;exports.DeleteSupplementalTaxRegistrationRequest$ = DeleteSupplementalTaxRegistrationRequest$;exports.DeleteSupplementalTaxRegistrationResponse$ = DeleteSupplementalTaxRegistrationResponse$;exports.DeleteTaxRegistration$ = DeleteTaxRegistration$;exports.DeleteTaxRegistrationCommand = DeleteTaxRegistrationCommand;exports.DeleteTaxRegistrationRequest$ = DeleteTaxRegistrationRequest$;exports.DeleteTaxRegistrationResponse$ = DeleteTaxRegistrationResponse$;exports.DestinationS3Location$ = DestinationS3Location$;exports.EgyptAdditionalInfo$ = EgyptAdditionalInfo$;exports.EntityExemptionAccountStatus = EntityExemptionAccountStatus;exports.EstoniaAdditionalInfo$ = EstoniaAdditionalInfo$;exports.ExemptionCertificate$ = ExemptionCertificate$;exports.FranceAdditionalInfo$ = FranceAdditionalInfo$;exports.GeorgiaAdditionalInfo$ = GeorgiaAdditionalInfo$;exports.GetTaxExemptionTypes$ = GetTaxExemptionTypes$;exports.GetTaxExemptionTypesCommand = GetTaxExemptionTypesCommand;exports.GetTaxExemptionTypesRequest$ = GetTaxExemptionTypesRequest$;exports.GetTaxExemptionTypesResponse$ = GetTaxExemptionTypesResponse$;exports.GetTaxInheritance$ = GetTaxInheritance$;exports.GetTaxInheritanceCommand = GetTaxInheritanceCommand;exports.GetTaxInheritanceRequest$ = GetTaxInheritanceRequest$;exports.GetTaxInheritanceResponse$ = GetTaxInheritanceResponse$;exports.GetTaxRegistration$ = GetTaxRegistration$;exports.GetTaxRegistrationCommand = GetTaxRegistrationCommand;exports.GetTaxRegistrationDocument$ = GetTaxRegistrationDocument$;exports.GetTaxRegistrationDocumentCommand = GetTaxRegistrationDocumentCommand;exports.GetTaxRegistrationDocumentRequest$ = GetTaxRegistrationDocumentRequest$;exports.GetTaxRegistrationDocumentResponse$ = GetTaxRegistrationDocumentResponse$;exports.GetTaxRegistrationRequest$ = GetTaxRegistrationRequest$;exports.GetTaxRegistrationResponse$ = GetTaxRegistrationResponse$;exports.GreeceAdditionalInfo$ = GreeceAdditionalInfo$;exports.HeritageStatus = HeritageStatus;exports.IndiaAdditionalInfo$ = IndiaAdditionalInfo$;exports.IndonesiaAdditionalInfo$ = IndonesiaAdditionalInfo$;exports.IndonesiaTaxRegistrationNumberType = IndonesiaTaxRegistrationNumberType;exports.Industries = Industries;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.IsraelAdditionalInfo$ = IsraelAdditionalInfo$;exports.IsraelCustomerType = IsraelCustomerType;exports.IsraelDealerType = IsraelDealerType;exports.ItalyAdditionalInfo$ = ItalyAdditionalInfo$;exports.Jurisdiction$ = Jurisdiction$;exports.KenyaAdditionalInfo$ = KenyaAdditionalInfo$;exports.ListSupplementalTaxRegistrations$ = ListSupplementalTaxRegistrations$;exports.ListSupplementalTaxRegistrationsCommand = ListSupplementalTaxRegistrationsCommand;exports.ListSupplementalTaxRegistrationsRequest$ = ListSupplementalTaxRegistrationsRequest$;exports.ListSupplementalTaxRegistrationsResponse$ = ListSupplementalTaxRegistrationsResponse$;exports.ListTaxExemptions$ = ListTaxExemptions$;exports.ListTaxExemptionsCommand = ListTaxExemptionsCommand;exports.ListTaxExemptionsRequest$ = ListTaxExemptionsRequest$;exports.ListTaxExemptionsResponse$ = ListTaxExemptionsResponse$;exports.ListTaxRegistrations$ = ListTaxRegistrations$;exports.ListTaxRegistrationsCommand = ListTaxRegistrationsCommand;exports.ListTaxRegistrationsRequest$ = ListTaxRegistrationsRequest$;exports.ListTaxRegistrationsResponse$ = ListTaxRegistrationsResponse$;exports.MalaysiaAdditionalInfo$ = MalaysiaAdditionalInfo$;exports.MalaysiaServiceTaxCode = MalaysiaServiceTaxCode;exports.PersonType = PersonType;exports.PhilippinesAdditionalInfo$ = PhilippinesAdditionalInfo$;exports.PolandAdditionalInfo$ = PolandAdditionalInfo$;exports.PolandTaxRegistrationNumberType = PolandTaxRegistrationNumberType;exports.PutSupplementalTaxRegistration$ = PutSupplementalTaxRegistration$;exports.PutSupplementalTaxRegistrationCommand = PutSupplementalTaxRegistrationCommand;exports.PutSupplementalTaxRegistrationRequest$ = PutSupplementalTaxRegistrationRequest$;exports.PutSupplementalTaxRegistrationResponse$ = PutSupplementalTaxRegistrationResponse$;exports.PutTaxExemption$ = PutTaxExemption$;exports.PutTaxExemptionCommand = PutTaxExemptionCommand;exports.PutTaxExemptionRequest$ = PutTaxExemptionRequest$;exports.PutTaxExemptionResponse$ = PutTaxExemptionResponse$;exports.PutTaxInheritance$ = PutTaxInheritance$;exports.PutTaxInheritanceCommand = PutTaxInheritanceCommand;exports.PutTaxInheritanceRequest$ = PutTaxInheritanceRequest$;exports.PutTaxInheritanceResponse$ = PutTaxInheritanceResponse$;exports.PutTaxRegistration$ = PutTaxRegistration$;exports.PutTaxRegistrationCommand = PutTaxRegistrationCommand;exports.PutTaxRegistrationRequest$ = PutTaxRegistrationRequest$;exports.PutTaxRegistrationResponse$ = PutTaxRegistrationResponse$;exports.RegistrationType = RegistrationType;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.RomaniaAdditionalInfo$ = RomaniaAdditionalInfo$;exports.SaudiArabiaAdditionalInfo$ = SaudiArabiaAdditionalInfo$;exports.SaudiArabiaTaxRegistrationNumberType = SaudiArabiaTaxRegistrationNumberType;exports.Sector = Sector;exports.SourceS3Location$ = SourceS3Location$;exports.SouthKoreaAdditionalInfo$ = SouthKoreaAdditionalInfo$;exports.SpainAdditionalInfo$ = SpainAdditionalInfo$;exports.SupplementalTaxRegistration$ = SupplementalTaxRegistration$;exports.SupplementalTaxRegistrationEntry$ = SupplementalTaxRegistrationEntry$;exports.SupplementalTaxRegistrationType = SupplementalTaxRegistrationType;exports.TaxDocumentMetadata$ = TaxDocumentMetadata$;exports.TaxExemption$ = TaxExemption$;exports.TaxExemptionDetails$ = TaxExemptionDetails$;exports.TaxExemptionType$ = TaxExemptionType$;exports.TaxInheritanceDetails$ = TaxInheritanceDetails$;exports.TaxRegistration$ = TaxRegistration$;exports.TaxRegistrationDocFile$ = TaxRegistrationDocFile$;exports.TaxRegistrationDocument$ = TaxRegistrationDocument$;exports.TaxRegistrationEntry$ = TaxRegistrationEntry$;exports.TaxRegistrationNumberType = TaxRegistrationNumberType;exports.TaxRegistrationStatus = TaxRegistrationStatus;exports.TaxRegistrationType = TaxRegistrationType;exports.TaxRegistrationWithJurisdiction$ = TaxRegistrationWithJurisdiction$;exports.TaxSettings = TaxSettings;exports.TaxSettingsClient = TaxSettingsClient;exports.TaxSettingsServiceException = TaxSettingsServiceException;exports.TaxSettingsServiceException$ = TaxSettingsServiceException$;exports.TurkeyAdditionalInfo$ = TurkeyAdditionalInfo$;exports.UkraineAdditionalInfo$ = UkraineAdditionalInfo$;exports.UkraineTrnType = UkraineTrnType;exports.UzbekistanAdditionalInfo$ = UzbekistanAdditionalInfo$;exports.UzbekistanTaxRegistrationNumberType = UzbekistanTaxRegistrationNumberType;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.ValidationExceptionErrorCode = ValidationExceptionErrorCode;exports.ValidationExceptionField$ = ValidationExceptionField$;exports.VerificationDetails$ = VerificationDetails$;exports.VietnamAdditionalInfo$ = VietnamAdditionalInfo$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateListSupplementalTaxRegistrations = paginateListSupplementalTaxRegistrations;exports.paginateListTaxExemptions = paginateListTaxExemptions;exports.paginateListTaxRegistrations = paginateListTaxRegistrations;