@adyen/kyc-components 3.74.3 → 3.75.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Ck5vcITZ.js → AcceptTermsOfServiceComponent-C2Gjgc2-.js} +7 -13
- package/dist/{AccountSetupRejected-BTxTladO.js → AccountSetupRejected-CfbrJVbb.js} +2 -2
- package/dist/{Avatar-D3cma0Ca.js → Avatar-CkY4CsSc.js} +1 -1
- package/dist/{BusinessDetailsDropin-iP-5Iee_.js → BusinessDetailsDropin-DW_Hg4YJ.js} +95 -75
- package/dist/{BusinessFinancingComponent-CoOKkXsQ.js → BusinessFinancingComponent-CTLP0O1L.js} +3 -3
- package/dist/{BusinessFinancingDropin-CmgYopR_.js → BusinessFinancingDropin-DcfbYhTz.js} +9 -15
- package/dist/{BusinessFinancingPage-BpzZN6_M.js → BusinessFinancingPage-B0Oen8T1.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DmjIOdYQ.js → BusinessTypeSelectionPage-Bpem0_3N.js} +4 -6
- package/dist/{ContractViewer-3PX9_9q0.js → ContractViewer-Bi7A58HN.js} +1 -1
- package/dist/{CreateIndividualComponent-BIcKe___.js → CreateIndividualComponent-MXzIV9n7.js} +3 -4
- package/dist/{CreateTransferInstrumentComponent-03Lc-o4l.js → CreateTransferInstrumentComponent-DX1pUkXY.js} +2 -3
- package/dist/{CustomerSupport-Cau1epER.js → CustomerSupport-724suk5t.js} +5 -6
- package/dist/{DebugModal-CIhZupHm.js → DebugModal-jUQSIT6v.js} +10 -9
- package/dist/{DecisionMakerDetailsPage-BALNj-sG.js → DecisionMakerDetailsPage-UXcB8fo-.js} +3 -4
- package/dist/{DecisionMakers-DaeP2HJk.js → DecisionMakers-D6bYcN-b.js} +4 -6
- package/dist/{EmbeddedStatus-Chlr2BOy.js → EmbeddedStatus-D8snms5Y.js} +3 -3
- package/dist/{FormEndState-BoZjTIZQ.js → FormEndState-Bs082VlL.js} +1 -1
- package/dist/{FormFlow-DV4lzmaT.js → FormFlow-DgPgql4N.js} +2 -5
- package/dist/{IndividualOnfidoDropin-C5xkTx8D.js → IndividualOnfidoDropin-BYEK8-kb.js} +73 -84
- package/dist/{Introduction-DwMIAUVr.js → Introduction-X4A4JonO.js} +3 -4
- package/dist/{LegalRepresentativeDetailsPage-h0-QObw4.js → LegalRepresentativeDetailsPage-Ds1wqfhn.js} +3 -4
- package/dist/{ManageIndividualComponent-DTUmEsiI.js → ManageIndividualComponent-eiiqmrQf.js} +4 -4
- package/dist/{ManagePCIComponent-D--Sc5iS.js → ManagePCIComponent-C_A6KJQC.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DAeZ5vYi.js → ManageTermsOfServiceComponent-C4rgA3Zn.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-CSmDe2Aj.js → ManageTransferInstrumentComponent-D_NpJ1fj.js} +4 -9
- package/dist/{OnboardingDropinComponent-BRiJTEi2.js → OnboardingDropinComponent-QAfknRI6.js} +117 -115
- package/dist/{ProviderButton-CWJ-FtN2.js → ProviderButton-C41BPE99.js} +3 -13
- package/dist/{Review-D00Ongqo.js → Review-BP1gRH2v.js} +3 -4
- package/dist/{RootBusinessDetailsPage-BbJiQRFS.js → RootBusinessDetailsPage-Dsc2ThxL.js} +3 -4
- package/dist/{RootIndividualDetailsPage-BCukNljO.js → RootIndividualDetailsPage-xO9XM84K.js} +3 -4
- package/dist/{SignPCIComponent-Bie5l5Pp.js → SignPCIComponent-Di6TH2l5.js} +6 -10
- package/dist/{SingpassSelection-BzR43Ssh.js → SingpassSelection-CwFd4cUK.js} +2 -2
- package/dist/{SoleProprietorshipPage-C7JFyBmF.js → SoleProprietorshipPage-Bk6cw9Fc.js} +3 -4
- package/dist/{SourceOfFunds.module-LqkzqWQw.js → SourceOfFunds.module-DlbpDtvU.js} +1 -1
- package/dist/{SourceOfFundsPage-DRcWTb4M.js → SourceOfFundsPage-DfuQzm8v.js} +36 -28
- package/dist/{StoreProvider-HRzOkLfJ.js → StoreProvider-DAebRaGX.js} +3205 -956
- package/dist/{TaskItemStatus-DFo5TC2Y.js → TaskItemStatus-BcXHGejj.js} +2 -2
- package/dist/{TaxReportingDropin-DaeK7OJ5.js → TaxReportingDropin-DTCfSOdX.js} +7 -8
- package/dist/{TileGroup-CyOXU1VM.js → TileGroup-DoHVu5fx.js} +2 -2
- package/dist/{TrustDetailsPage-BGTV2VoA.js → TrustDetailsPage-B472vaxW.js} +12 -36
- package/dist/{TrustMemberCompanyPage-CORiuRx_.js → TrustMemberCompanyPage-BPUYsM0C.js} +4 -5
- package/dist/{TrustMemberIndividualPage-CCYWbLgI.js → TrustMemberIndividualPage-DskGhF4-.js} +3 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-BZaQMQIr.js → UnincorporatedPartnershipIndividualPage-CtIZnOD_.js} +3 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CqxV_reO.js → UnincorporatedPartnershipMemberCompanyPage-zICGgwMK.js} +3 -4
- package/dist/{VerificationErrorAlert-D-7UwDcj.js → VerificationErrorAlert-DrYrhePc.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Cbx4hMbW.js → ViewVerificationStatusComponent-CuahWp9y.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bg-BG-BzeiDl-e.js → bg-BG-BV_GOHGg.js} +49 -3
- package/dist/{cs-CZ-4Tk67nmO.js → cs-CZ-CZDCUWRh.js} +49 -3
- package/dist/{css-CjGexWiH.js → css-C0E5Jx17.js} +2 -2
- package/dist/{da-DK-CN3Rc5da.js → da-DK-BmTgxKpq.js} +49 -3
- package/dist/{de-DE-GaynF_xB.js → de-DE-DZeG8NVg.js} +49 -3
- package/dist/{el-GR-C3tN9AFZ.js → el-GR-C3likHBP.js} +48 -2
- package/dist/{es-ES-9Q6u4x6u.js → es-ES-DHhHHeU-.js} +48 -2
- package/dist/{et-EE-jHAEJC5c.js → et-EE-CiD_oBu3.js} +49 -3
- package/dist/{fi-FI-DH5DphLd.js → fi-FI-DAZqSyjL.js} +49 -3
- package/dist/{fr-FR-DCboO9VH.js → fr-FR-vs5BYMWx.js} +49 -3
- package/dist/{getFieldsWithExistingData-V_dOfMAx.js → getFieldsWithExistingData-DCVuD0lR.js} +2 -2
- package/dist/{hasDataChanged-8P9Lq6q6.js → hasDataChanged-BPldDCDA.js} +2 -2
- package/dist/{hr-HR-333ODlHZ.js → hr-HR-CcaMvc2K.js} +49 -3
- package/dist/{hu-HU-CUNG9bik.js → hu-HU-CzBd9g0P.js} +48 -2
- package/dist/{individualFormConfig-CC14oka4.js → individualFormConfig-7KIVtibX.js} +6 -2
- package/dist/{it-IT-CXxD91gu.js → it-IT-BXIdTOUw.js} +49 -3
- package/dist/{ja-JP-1qp81W1I.js → ja-JP-CngmcMI-.js} +48 -2
- package/dist/{json-BDCUvP6f.js → json-C4Tdz70o.js} +2 -2
- package/dist/{localizeDateString-DT4qdmzP.js → localizeDateString-SMxMQ2Kc.js} +2 -2
- package/dist/{lt-LT-vQmxFgVn.js → lt-LT-Dpyaroh2.js} +49 -3
- package/dist/{lv-LV-Ds10XQ8q.js → lv-LV-CCcm8aDW.js} +49 -3
- package/dist/{mapFinancialReportsToFinancialInformation-BSpq38Ec.js → mapFinancialReportsToFinancialInformation-BQ61tSxK.js} +2 -2
- package/dist/{nl-NL-BsDTOkW4.js → nl-NL-gYpP7VMA.js} +49 -3
- package/dist/{no-NO-BpyiF6sI.js → no-NO-nOXLv4rO.js} +49 -3
- package/dist/{pl-PL-BqA3pc6p.js → pl-PL-Dwlwj1ob.js} +49 -3
- package/dist/{plaintext-CRAmB2-f.js → plaintext-BnZzPiVL.js} +2 -2
- package/dist/preact/adyen-terms-of-service.js +1 -1
- package/dist/preact/adyen-transfer-instrument.js +1 -1
- package/dist/{pt-PT-DSry7yG3.js → pt-PT-DbQbuaCm.js} +49 -3
- package/dist/{resolveEnvironment-tasvyH9Q.js → resolveEnvironment-Cp9vnHw_.js} +3 -3
- package/dist/{ro-RO-r8myUMxM.js → ro-RO-ZTuJtIop.js} +49 -3
- package/dist/{rules-6t6CtVMU.js → rules-Dg3nwm78.js} +14 -3
- package/dist/{sk-SK-Dy7mKbdU.js → sk-SK-Ba8jBCvr.js} +49 -3
- package/dist/{sl-SI-L3YffGqX.js → sl-SI-DszG8wEm.js} +49 -3
- package/dist/style.css +475 -490
- package/dist/styles-CLV89_hH.js +481 -496
- package/dist/{sv-SE-BtKMAZPD.js → sv-SE-Fo7zzjiG.js} +48 -2
- package/dist/types/api/address/address.types.d.ts +0 -1
- package/dist/types/api/address/useSearchAddress.d.ts +0 -1
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +2 -2
- package/dist/types/api/companyDataSet/constants.d.ts +1 -1
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +3 -0
- package/dist/types/api/companySearch/companySearch.types.d.ts +2 -2
- package/dist/types/api/companySelection/companySelection.types.d.ts +6 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +4 -0
- package/dist/types/api/configurations/useScenarios.d.ts +7 -7
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +3 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +4 -4
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -0
- package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +1 -1
- package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -10
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/ibanValidator.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -7
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +24 -24
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +3 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -0
- package/dist/types/components/BankAccount/utils/defaultPayoutAccountFormat.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +2 -4
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +0 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +1 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +2 -2
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +5 -4
- package/dist/types/components/Individual/forms/Individual/types.d.ts +4 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +23 -9
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +5 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -4
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +1 -1
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +3 -3
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/DBANameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/types.d.ts +3 -3
- package/dist/types/components/Shared/fields/StockExchangeMICField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/constants.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/ContactDetails/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/FinancialInformation/ReportedValue.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -3
- package/dist/types/components/Trust/forms/Trust/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/trustFormConfig.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/types/types.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +2 -2
- package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +2 -2
- package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +1 -1
- package/dist/types/constants/countries.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +9 -1
- package/dist/types/context/FormRouterContext/types.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +1 -1
- package/dist/types/core/analytics.d.ts +3 -1
- package/dist/types/core/errorMapping.d.ts +3 -3
- package/dist/types/core/models/api/address.d.ts +1 -1
- package/dist/types/core/models/api/financialReport.d.ts +1 -1
- package/dist/types/core/models/api/get-scenarios.d.ts +0 -7
- package/dist/types/core/models/api/legal-arrangement.d.ts +1 -1
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/models/api/phone.d.ts +1 -1
- package/dist/types/core/models/api/remediating-action.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +1 -1
- package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
- package/dist/types/core/models/api/verification-error.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +4 -4
- package/dist/types/core/types.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +11 -2
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
- package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
- package/dist/types/hooks/singpass/useHasSeenSingpassSelection.d.ts +2 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/hooks/useAccountHolder.d.ts +1 -1
- package/dist/types/hooks/useAllowedCountries.d.ts +1 -1
- package/dist/types/hooks/useAsyncValidator.d.ts +2 -1
- package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
- package/dist/types/hooks/useDataConflicts.d.ts +0 -6
- package/dist/types/hooks/useDataMissingRemediations.d.ts +1 -1
- package/dist/types/hooks/useForm/reducer.d.ts +2 -2
- package/dist/types/hooks/useForm/types.d.ts +6 -6
- package/dist/types/hooks/useFormComposer.d.ts +2 -2
- package/dist/types/hooks/useMultiForm/reducer.d.ts +4 -3
- package/dist/types/hooks/useMultiForm/types.d.ts +0 -39
- package/dist/types/hooks/useMultiForm/useMultiFormAsyncValidator.d.ts +2 -2
- package/dist/types/hooks/useScenarioConfiguration.d.ts +3 -3
- package/dist/types/language/utils.d.ts +1 -1
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +2 -2
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +1 -1
- package/dist/types/stores/globalStore/globalStore.d.ts +3 -3
- package/dist/types/{core/models → types}/errors/capability-problems.d.ts +1 -1
- package/dist/types/{core/models → types}/errors/entity-problems.d.ts +4 -4
- package/dist/types/{core/models → types}/errors/error-message.d.ts +1 -1
- package/dist/types/{core/models → types}/errors/remediation.d.ts +1 -1
- package/dist/types/{core/models → types}/form-configuration.d.ts +4 -4
- package/dist/types/{core/models → types}/form-rules.d.ts +10 -8
- package/dist/types/{core/models → types}/form.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -1
- package/dist/types/utils/api/getProblemsForEntity.d.ts +2 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +3 -3
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
- package/dist/types/utils/birthDateUtils.d.ts +1 -1
- package/dist/types/utils/country.d.ts +1 -1
- package/dist/types/utils/datasetUtil.d.ts +3 -3
- package/dist/types/{core/models/decision-maker.d.ts → utils/decisionMaker.d.ts} +2 -2
- package/dist/types/utils/dropinUtils.d.ts +2 -2
- package/dist/types/utils/entityAssociationUtil.d.ts +5 -5
- package/dist/types/utils/entityStatusUtil.d.ts +2 -2
- package/dist/types/{core/models/field-configurations.d.ts → utils/fieldConfigurations.d.ts} +4 -4
- package/dist/types/utils/formUtils.d.ts +1 -1
- package/dist/types/utils/formatCurrency.d.ts +1 -1
- package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -1
- package/dist/types/utils/mapping/mapExistingFile.d.ts +1 -1
- package/dist/types/utils/perCountry.d.ts +1 -1
- package/dist/types/utils/perState.d.ts +3 -2
- package/dist/types/utils/regex/postalCodePatterns.d.ts +1 -1
- package/dist/types/utils/validation/types.d.ts +1 -1
- package/dist/types/{core/models/errors/validation-error.d.ts → utils/validationError.d.ts} +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -1
- package/dist/{useMultiForm-DxlQ1Mkc.js → useMultiForm-B_SrTfOp.js} +2 -2
- package/dist/{useOnboardingStatus-BhjtrqPQ.js → useOnboardingStatus-CyCPc1vj.js} +1 -1
- package/dist/{useSalesChannelsSettings-4cf4pJ0N.js → useSalesChannelsSettings-BVJXTzlR.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CExwHP29.js → useTermsOfServiceStatus-8XdGXbPl.js} +4 -4
- package/dist/{useUpdateLegalEntity-D1AbV8w_.js → useUpdateLegalEntity-Yr0adese.js} +2 -2
- package/dist/{utils-vsa5CskP.js → utils-GZDRmFSR.js} +4 -4
- package/dist/{validate-y0pyKWME.js → validate-BlofB0F6.js} +2 -2
- package/dist/{validate-tGjEyd8Q.js → validate-DIQCrjk7.js} +2 -2
- package/dist/vue/adyen-individual.js +1 -1
- package/dist/vue/adyen-manage-individual.js +1 -1
- package/dist/vue/adyen-terms-of-service.js +1 -1
- package/dist/vue/adyen-transfer-instrument.js +1 -1
- package/dist/{yaml-B7DVK1fQ.js → yaml-BN5PYhM7.js} +2 -2
- package/package.json +1 -1
- package/dist/Confirm-CSYow9zX.js +0 -56
- package/dist/FormNavigation-B0U6S6OX.js +0 -145
- package/dist/FormWrapper-BGT0y0_A.js +0 -149
- package/dist/MaybeModal-Dnx2ARAl.js +0 -18
- package/dist/Modal-CAvMYaEN.js +0 -135
- package/dist/PayoutDetailsDropin-DV9Dz3yb.js +0 -901
- package/dist/PayoutDetailsPage-ChrYPNyW.js +0 -57
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StepProgressIndicator-CBua2pA0.js +0 -74
- package/dist/documentUtils-Bx37-uJ_.js +0 -226
- package/dist/dropinUtils-B4hMy9jU.js +0 -204
- package/dist/mapExistingFile-BE74t9jV.js +0 -25
- package/dist/mapTransferInstrumentToPayoutAccount-D2ouRoHp.js +0 -30
- package/dist/omitObscuredFieldsIfUnchanged-jdf97C04.js +0 -28
- package/dist/process-field-configurations-BWHX3P5x.js +0 -185
- package/dist/processValidationErrors-C6TDpZz0.js +0 -203
- package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +0 -5
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/formatId.d.ts +0 -3
- package/dist/useToastContext-DJS5737s.js +0 -21
- package/dist/utils-B1H_8b1P.js +0 -74
- /package/dist/types/{core/types/AccountHolder.types.d.ts → types/accountHolder.d.ts} +0 -0
- /package/dist/types/{core/models → types/datasets}/country-code.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/currency.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/province-code.d.ts +0 -0
- /package/dist/types/{core/models → types/datasets}/state-code.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/form-verification-errors.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/maintenance-mode-error.d.ts +0 -0
- /package/dist/types/{core/models → types}/errors/remediation-action-context.d.ts +0 -0
- /package/dist/types/{core/models → types}/file.d.ts +0 -0
package/dist/{AcceptTermsOfServiceComponent-Ck5vcITZ.js → AcceptTermsOfServiceComponent-C2Gjgc2-.js}
RENAMED
|
@@ -2,25 +2,19 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea20e472-6cf8-4125-8f2b-69bf6f600571", e._sentryDebugIdIdentifier = "sentry-dbid-ea20e472-6cf8-4125-8f2b-69bf6f600571");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext,
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-3PX9_9q0.js";
|
|
17
|
-
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
18
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-CBua2pA0.js";
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-DJS5737s.js";
|
|
20
|
-
import { F as FormEndState } from "./FormEndState-BoZjTIZQ.js";
|
|
21
|
-
import { F as FormNavigation } from "./FormNavigation-B0U6S6OX.js";
|
|
12
|
+
import { p as useApiContext, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, aK as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, at as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, ay as Field, bI as Select, bG as Checkbox, aO as ActionBar, bH as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bv as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, ae as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ak as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-DAebRaGX.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-8XdGXbPl.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-Bi7A58HN.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-Bs082VlL.js";
|
|
22
16
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
23
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-SMxMQ2Kc.js";
|
|
24
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
25
19
|
return httpPost(
|
|
26
20
|
{
|
|
@@ -453,7 +447,7 @@ function ServiceAgreementDropin({
|
|
|
453
447
|
{
|
|
454
448
|
name: "signer",
|
|
455
449
|
label: i18n.get("signer"),
|
|
456
|
-
classNameModifiers: ["col-50"],
|
|
450
|
+
classNameModifiers: ["signer", "col-50"],
|
|
457
451
|
className: "adyen-kyc-u-margin-top-32",
|
|
458
452
|
errorMessage: (_a = errors.signer) == null ? void 0 : _a.errorMessage,
|
|
459
453
|
isValid: valid.signer,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-DAebRaGX.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-QAfknRI6.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a2 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a2 as Icon } from "./StoreProvider-DAebRaGX.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,30 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0f7338dc-12fb-41e0-9acc-cddb2aea3f4f", e._sentryDebugIdIdentifier = "sentry-dbid-0f7338dc-12fb-41e0-9acc-cddb2aea3f4f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext,
|
|
11
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dM as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dC as MemoizedDocumentUpload, Y as Button, b2 as Modal, b4 as ModalContent, C as Typography, an as CountryCodes, O as CompanyTypesValue, b_ as useGlobalData, dN as getForms, W as TaskTypes, dO as BasicInformation, bK as getFormProps, dP as CompanyStructure, dQ as AdditionalInformation, dR as MemoizedConstitutionalDocument, y as LegalEntityType, dS as FinancialInformation, bQ as formatObject, bc as entriesOf, cw as getDocument, cx as mapExistingFile, cy as getPageName, bk as businessDetailsComponentsKeyMapping, dT as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dU as operationalAddressIsSameIds, dV as COUNTRIES_USING_COMPANY_SEARCH, dW as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dp as keysOf, i as isUndefinedOrNull, aI as summaryItem, dX as solePropBusinessDetailsApiKeyMapping, dY as businessDetailsApiKeyMapping, bL as isEmpty, dZ as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cB as createDocumentRequest, d_ as augmentWithCountryConfigs, c8 as composePerScenarioFormConfigurations, b0 as datasetUtilities, cQ as mapAddressLabels, d$ as companyTypeMetadata, bS as getProp, ao as isEmpty$1, aK as createLogger, cP as filterOutUnwantedAssociationsIfRootLE, ca as isValidationError, cb as processValidationErrors, cc as isMaintenanceModeError, e0 as documentFormsIds, aq as resolveFieldMetadata, e1 as defaultFieldMetadata, e2 as inferCompanyRegistrationNumberType, e3 as getCompanyRegistrationNumberOptions, e4 as defaultFieldConfig, cr as defaultFieldMetadata$1, e5 as countryToTaxInfoTypeMap, cs as defaultFieldConfig$1, e6 as getKeyForField, cU as drop, al as getOwnEntityAssociations, c_ as doArraysMatch, cW as getFileExtention, P as useAccountHolder, a4 as useToastContext, _ as useAnalyticsContext, a5 as useExperimentsContext, J as useSettingsContext, e7 as verifiedBusiness, bm as useQueryClient, c5 as useStateContext, K as SettingNames, e8 as setIsBankAccountRequestedForOrganization, c6 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cE as documentApiUtils, c3 as useScenarioConfiguration, e9 as rules, c4 as getPropsFromConfigurations, ea as useCompanySelection, eb as useVerifyTin, bM as getRequiredForms, bN as addValidityToForms, bO as useFormComposer, ec as setVerifiedBusiness, c7 as FormWrapper, b8 as Confirm, ed as solePropBusinessDetailsDocumentMapping, ee as businessDetailsDocumentMapping } from "./StoreProvider-DAebRaGX.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B4hMy9jU.js";
|
|
18
|
-
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-C6TDpZz0.js";
|
|
19
|
-
import { C as Confirm } from "./Confirm-CSYow9zX.js";
|
|
20
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-vsa5CskP.js";
|
|
21
|
-
import { F as FormWrapper } from "./FormWrapper-BGT0y0_A.js";
|
|
22
|
-
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-Bx37-uJ_.js";
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-V_dOfMAx.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-BPldDCDA.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-GZDRmFSR.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DCVuD0lR.js";
|
|
24
17
|
import cx from "classnames";
|
|
25
|
-
import {
|
|
26
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BSpq38Ec.js";
|
|
27
|
-
import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
|
|
28
|
-
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BQ61tSxK.js";
|
|
29
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
30
20
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
31
21
|
return httpPost({
|
|
@@ -134,6 +124,7 @@ function ProofOfDirectorDocument({
|
|
|
134
124
|
documentType: "proofOfDirector",
|
|
135
125
|
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$4, {}),
|
|
136
126
|
country,
|
|
127
|
+
hidePageCount: true,
|
|
137
128
|
documentTypeSelect: {
|
|
138
129
|
selectedType: selectedDocumentName,
|
|
139
130
|
setSelectedType: setSelectedDocumentName,
|
|
@@ -289,6 +280,7 @@ function ProofOfSignatoryDocument({
|
|
|
289
280
|
documentType: "proofOfSignatory",
|
|
290
281
|
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$2, {}),
|
|
291
282
|
country,
|
|
283
|
+
hidePageCount: true,
|
|
292
284
|
documentTypeSelect: {
|
|
293
285
|
selectedType: selectedDocumentName,
|
|
294
286
|
setSelectedType: setSelectedDocumentName,
|
|
@@ -410,7 +402,8 @@ function RegistrationDocument({
|
|
|
410
402
|
documentType: "registrationDocument",
|
|
411
403
|
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$1, { country, companyType }),
|
|
412
404
|
companyType,
|
|
413
|
-
country
|
|
405
|
+
country,
|
|
406
|
+
hidePageCount: true
|
|
414
407
|
}
|
|
415
408
|
);
|
|
416
409
|
}
|
|
@@ -509,7 +502,8 @@ function TaxDocument({
|
|
|
509
502
|
documentType: "proofOfOrganizationTaxInfo",
|
|
510
503
|
guidanceContent: /* @__PURE__ */ jsx(GuidanceContent, { country, companyType }),
|
|
511
504
|
companyType,
|
|
512
|
-
country
|
|
505
|
+
country,
|
|
506
|
+
hidePageCount: true
|
|
513
507
|
}
|
|
514
508
|
);
|
|
515
509
|
}
|
|
@@ -613,6 +607,7 @@ function BusinessDetails(props) {
|
|
|
613
607
|
description: i18n.get(forms.companyTaxDocument.formDescription),
|
|
614
608
|
documentField: "taxDocument",
|
|
615
609
|
documentType: "vatDocument",
|
|
610
|
+
hidePageCount: true,
|
|
616
611
|
guidanceContent: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-u-margin-bottom-24", children: [
|
|
617
612
|
/* @__PURE__ */ jsxs("div", { className: "adyen-kyc-upload-field__subtitle", children: [
|
|
618
613
|
" ",
|
|
@@ -774,12 +769,17 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
|
|
|
774
769
|
companyConstitutionalDocument
|
|
775
770
|
} = mapApiDocumentToBusinessDetailsDocuments(legalEntity.id);
|
|
776
771
|
const buildSolePropSchema = () => {
|
|
777
|
-
var _a, _b, _c;
|
|
772
|
+
var _a, _b, _c, _d;
|
|
778
773
|
const solePropData = formatObject(
|
|
779
774
|
legalEntity,
|
|
780
775
|
solePropBusinessDetailsKeyMapping
|
|
781
776
|
);
|
|
782
777
|
const country = ((_b = (_a = solePropData == null ? void 0 : solePropData.additionalInformation) == null ? void 0 : _a.registrationAddress) == null ? void 0 : _b.country) ?? ((_c = parentEntity == null ? void 0 : parentEntity.individual) == null ? void 0 : _c.residentialAddress.country);
|
|
778
|
+
if (((_d = legalEntity == null ? void 0 : legalEntity.soleProprietorship) == null ? void 0 : _d.financialReports) && solePropData) {
|
|
779
|
+
solePropData.companyFinancialInformation = mapFinancialReportsToFinancialInformation(
|
|
780
|
+
legalEntity.soleProprietorship.financialReports
|
|
781
|
+
);
|
|
782
|
+
}
|
|
783
783
|
return {
|
|
784
784
|
...solePropData,
|
|
785
785
|
basicInformation: {
|
|
@@ -800,7 +800,7 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
|
|
|
800
800
|
};
|
|
801
801
|
const businessDetailsSchema = legalEntity.type === "organization" ? orgSchema : buildSolePropSchema();
|
|
802
802
|
return entriesOf(businessDetailsSchema).reduce((componentData, [key]) => {
|
|
803
|
-
var _a;
|
|
803
|
+
var _a, _b;
|
|
804
804
|
switch (key) {
|
|
805
805
|
case "basicInformation": {
|
|
806
806
|
return {
|
|
@@ -859,11 +859,10 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
|
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
861
|
case "companyFinancialInformation": {
|
|
862
|
-
|
|
862
|
+
const financialReports = legalEntity.type === "organization" ? (_a = legalEntity == null ? void 0 : legalEntity.organization) == null ? void 0 : _a.financialReports : (_b = legalEntity == null ? void 0 : legalEntity.soleProprietorship) == null ? void 0 : _b.financialReports;
|
|
863
|
+
return financialReports ? {
|
|
863
864
|
...componentData,
|
|
864
|
-
[key]: mapFinancialReportsToFinancialInformation(
|
|
865
|
-
legalEntity.organization.financialReports
|
|
866
|
-
)
|
|
865
|
+
[key]: mapFinancialReportsToFinancialInformation(financialReports)
|
|
867
866
|
} : componentData;
|
|
868
867
|
}
|
|
869
868
|
default:
|
|
@@ -1567,7 +1566,7 @@ function BusinessDetailsDropin({
|
|
|
1567
1566
|
onSubmit: onExternalSubmit,
|
|
1568
1567
|
handleHomeClick
|
|
1569
1568
|
}) {
|
|
1570
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r
|
|
1569
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
|
1571
1570
|
const formRef = useRef(null);
|
|
1572
1571
|
const { accountHolder, setAccountHolder } = useAccountHolder();
|
|
1573
1572
|
const { showToast } = useToastContext();
|
|
@@ -1593,12 +1592,11 @@ function BusinessDetailsDropin({
|
|
|
1593
1592
|
const isSkippingCompanyStructure = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(
|
|
1594
1593
|
(_b = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _b.type
|
|
1595
1594
|
) && accountHolder !== "aTrust" || isSoleProp;
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
const isBankAccountRequested = (
|
|
1595
|
+
useEffect(() => {
|
|
1596
|
+
var _a2, _b2;
|
|
1597
|
+
const isBankAccountRequested = (_b2 = (_a2 = legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) == null ? void 0 : _a2.issueBankAccount) == null ? void 0 : _b2.requested;
|
|
1599
1598
|
setIsBankAccountRequestedForOrganization(isBankAccountRequested);
|
|
1600
|
-
|
|
1601
|
-
}
|
|
1599
|
+
}, [legalEntityResponse]);
|
|
1602
1600
|
const subjectEntity = !isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement : nestedLegalEntity;
|
|
1603
1601
|
const associatedLeTrackingParams = getAssociatedLeAnalyticsPayload({
|
|
1604
1602
|
associatedLegalEntity: associatedLegalArrangement
|
|
@@ -1607,6 +1605,10 @@ function BusinessDetailsDropin({
|
|
|
1607
1605
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
1608
1606
|
userEvents.addTaskEvent("Landed on page", {
|
|
1609
1607
|
actionType: "start",
|
|
1608
|
+
...(subjectEntity == null ? void 0 : subjectEntity.id) && (subjectEntity == null ? void 0 : subjectEntity.type) && {
|
|
1609
|
+
legalEntityId: subjectEntity.id,
|
|
1610
|
+
entityType: subjectEntity.type
|
|
1611
|
+
},
|
|
1610
1612
|
...associatedLeTrackingParams
|
|
1611
1613
|
});
|
|
1612
1614
|
}, []);
|
|
@@ -1619,7 +1621,7 @@ function BusinessDetailsDropin({
|
|
|
1619
1621
|
});
|
|
1620
1622
|
const [trustedFields, setTrustedFields] = useState((subjectEntity == null ? void 0 : subjectEntity.trustedFields) ?? void 0);
|
|
1621
1623
|
const [currentProblems, setCurrentProblems] = useState(
|
|
1622
|
-
problems ?? ((
|
|
1624
|
+
problems ?? ((_d = (_c = getCapabilityProblems(legalEntityResponse, currentCountry)) == null ? void 0 : _c.LegalEntity) == null ? void 0 : _d[legalEntityResponse.id])
|
|
1623
1625
|
);
|
|
1624
1626
|
const [showCompanyStructure, setShowCompanyStructure] = useState(
|
|
1625
1627
|
currentCountry !== "US" && !isSoleProp
|
|
@@ -1732,32 +1734,41 @@ function BusinessDetailsDropin({
|
|
|
1732
1734
|
}
|
|
1733
1735
|
);
|
|
1734
1736
|
const companySearchResults = companySearchResponse == null ? void 0 : companySearchResponse.results;
|
|
1735
|
-
const businessName = ((
|
|
1736
|
-
const nameMatch = isNormalizedStringMatch(businessName, ((
|
|
1737
|
-
const taxInformation = (
|
|
1738
|
-
const tin = ((
|
|
1737
|
+
const businessName = ((_f = (_e = currentState == null ? void 0 : currentState.data) == null ? void 0 : _e.basicInformation) == null ? void 0 : _f.legalCompanyName) || "";
|
|
1738
|
+
const nameMatch = isNormalizedStringMatch(businessName, ((_g = companySearchResults == null ? void 0 : companySearchResults[0]) == null ? void 0 : _g.name) ?? "");
|
|
1739
|
+
const taxInformation = (_i = (_h = currentState == null ? void 0 : currentState.data) == null ? void 0 : _h.basicInformation) == null ? void 0 : _i.taxInformation;
|
|
1740
|
+
const tin = ((_j = taxInformation == null ? void 0 : taxInformation.find((taxId) => currentCountry === taxId.country)) == null ? void 0 : _j.number) || "";
|
|
1739
1741
|
const [prevCompanySearchResults, setPrevCompanySearchResults] = useState(companySearchResults);
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1742
|
+
useEffect(() => {
|
|
1743
|
+
if (!searchingCompanies && companySearchResults) {
|
|
1744
|
+
userEvents.addPageEvent("Success", {
|
|
1745
|
+
actionType: "submit",
|
|
1746
|
+
label: "companySearch",
|
|
1747
|
+
additionalData: {
|
|
1748
|
+
numberOfResults: companySearchResults.length
|
|
1749
|
+
},
|
|
1750
|
+
...(subjectEntity == null ? void 0 : subjectEntity.id) && (subjectEntity == null ? void 0 : subjectEntity.type) && {
|
|
1751
|
+
legalEntityId: subjectEntity.id,
|
|
1752
|
+
entityType: subjectEntity.type
|
|
1753
|
+
},
|
|
1754
|
+
...associatedLeTrackingParams
|
|
1755
|
+
});
|
|
1744
1756
|
}
|
|
1745
|
-
|
|
1757
|
+
}, [
|
|
1758
|
+
searchingCompanies,
|
|
1759
|
+
companySearchResults,
|
|
1760
|
+
userEvents,
|
|
1761
|
+
subjectEntity,
|
|
1762
|
+
associatedLeTrackingParams
|
|
1763
|
+
]);
|
|
1746
1764
|
const {
|
|
1747
|
-
data:
|
|
1748
|
-
isLoading:
|
|
1749
|
-
refetch:
|
|
1750
|
-
} =
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
},
|
|
1755
|
-
/** With a single result that DOES match the user-provided name, we attempt TIN verification after dataset retrieval */
|
|
1756
|
-
{
|
|
1757
|
-
enabled: !!singleCompanyDatasetResponse && showBusinessSelection
|
|
1758
|
-
}
|
|
1759
|
-
);
|
|
1760
|
-
const [prevTinResponse, setPrevTinResponse] = useState(tinResponse == null ? void 0 : tinResponse.matched);
|
|
1765
|
+
data: singleCompanyDatasetAndTinResponse,
|
|
1766
|
+
isLoading: fetchingDataset,
|
|
1767
|
+
refetch: getCompanySelection
|
|
1768
|
+
} = useCompanySelection(singleCompanyDatasetParams, {
|
|
1769
|
+
enabled: !!singleCompanyDatasetParams && showBusinessSelection
|
|
1770
|
+
});
|
|
1771
|
+
const { refetch: fetchTin } = useVerifyTin({ name: businessName, tin }, { enabled: false });
|
|
1761
1772
|
const forms = useMemo(() => {
|
|
1762
1773
|
const requiredForms = getRequiredForms(
|
|
1763
1774
|
initialForms,
|
|
@@ -1864,7 +1875,7 @@ function BusinessDetailsDropin({
|
|
|
1864
1875
|
forms,
|
|
1865
1876
|
onSubmit: submitTask
|
|
1866
1877
|
});
|
|
1867
|
-
const loading = fetchingDataset ||
|
|
1878
|
+
const loading = fetchingDataset || searchingCompanies || resettingTrustedData;
|
|
1868
1879
|
const proceedToManualDataEntry = useCallback(async () => {
|
|
1869
1880
|
await clearCompanyData2().then(async () => {
|
|
1870
1881
|
if (!isUS) {
|
|
@@ -1883,11 +1894,12 @@ function BusinessDetailsDropin({
|
|
|
1883
1894
|
setBusinessMismatchModalOpen(true);
|
|
1884
1895
|
setTinMatched(false);
|
|
1885
1896
|
if ((subjectEntity == null ? void 0 : subjectEntity.id) && (subjectEntity == null ? void 0 : subjectEntity.type)) {
|
|
1886
|
-
userEvents.
|
|
1887
|
-
actionType: "
|
|
1897
|
+
userEvents.addPageEvent("Encountered error", {
|
|
1898
|
+
actionType: "submit",
|
|
1888
1899
|
label: "tinVerificationFailure",
|
|
1889
1900
|
legalEntityId: subjectEntity.id,
|
|
1890
|
-
entityType: subjectEntity.type
|
|
1901
|
+
entityType: subjectEntity.type,
|
|
1902
|
+
...associatedLeTrackingParams
|
|
1891
1903
|
});
|
|
1892
1904
|
}
|
|
1893
1905
|
}
|
|
@@ -1897,27 +1909,35 @@ function BusinessDetailsDropin({
|
|
|
1897
1909
|
isUS,
|
|
1898
1910
|
businessName,
|
|
1899
1911
|
tin,
|
|
1900
|
-
|
|
1912
|
+
getCompanySelection,
|
|
1901
1913
|
subjectEntity == null ? void 0 : subjectEntity.id,
|
|
1902
1914
|
subjectEntity == null ? void 0 : subjectEntity.type,
|
|
1915
|
+
associatedLeTrackingParams,
|
|
1903
1916
|
userEvents
|
|
1904
1917
|
]);
|
|
1905
|
-
if (prevCompanySearchResults !== companySearchResults
|
|
1918
|
+
if (prevCompanySearchResults !== companySearchResults) {
|
|
1906
1919
|
if ((companySearchResults == null ? void 0 : companySearchResults.length) === 1 && nameMatch) {
|
|
1907
1920
|
setSingleCompanyDatasetParams({
|
|
1908
1921
|
company: companySearchResults[0],
|
|
1909
|
-
state: (
|
|
1922
|
+
state: (_k = currentState.data.basicInformation) == null ? void 0 : _k.stateOrProvince,
|
|
1923
|
+
name: businessName,
|
|
1924
|
+
tin
|
|
1910
1925
|
});
|
|
1911
|
-
if ((tinResponse == null ? void 0 : tinResponse.matched) === true) {
|
|
1912
|
-
setVerifiedBusiness(singleCompanyDatasetResponse);
|
|
1913
|
-
handleNextClick();
|
|
1914
|
-
}
|
|
1915
1926
|
} else if ((companySearchResults == null ? void 0 : companySearchResults.length) === 0 && !searchingCompanies && showBusinessSelection) {
|
|
1916
1927
|
proceedToManualDataEntry();
|
|
1917
1928
|
}
|
|
1918
|
-
setPrevTinResponse(tinResponse == null ? void 0 : tinResponse.matched);
|
|
1919
1929
|
setPrevCompanySearchResults(companySearchResults);
|
|
1920
1930
|
}
|
|
1931
|
+
const [prevSingleCompanyDatasetResponse, setPrevSingleCompanyDatasetResponse] = useState(
|
|
1932
|
+
singleCompanyDatasetAndTinResponse
|
|
1933
|
+
);
|
|
1934
|
+
if (prevSingleCompanyDatasetResponse !== singleCompanyDatasetAndTinResponse) {
|
|
1935
|
+
if ((singleCompanyDatasetAndTinResponse == null ? void 0 : singleCompanyDatasetAndTinResponse.tinMatched) === true) {
|
|
1936
|
+
setVerifiedBusiness(singleCompanyDatasetAndTinResponse);
|
|
1937
|
+
handleNextClick();
|
|
1938
|
+
}
|
|
1939
|
+
setPrevSingleCompanyDatasetResponse(singleCompanyDatasetAndTinResponse);
|
|
1940
|
+
}
|
|
1921
1941
|
useEffect(() => {
|
|
1922
1942
|
if (searchingError) {
|
|
1923
1943
|
proceedToManualDataEntry();
|
|
@@ -1977,11 +1997,11 @@ function BusinessDetailsDropin({
|
|
|
1977
1997
|
isSoleProp,
|
|
1978
1998
|
handleNextClick,
|
|
1979
1999
|
activeForm.formId,
|
|
1980
|
-
(
|
|
1981
|
-
(
|
|
1982
|
-
(
|
|
1983
|
-
(
|
|
1984
|
-
(
|
|
2000
|
+
(_l = currentState.validityByForm) == null ? void 0 : _l.basicInformation,
|
|
2001
|
+
(_m = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _m.legalCompanyName,
|
|
2002
|
+
(_n = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _n.country,
|
|
2003
|
+
(_o = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _o.stateOrProvince,
|
|
2004
|
+
(_p = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _p.registrationNumber,
|
|
1985
2005
|
isBusinessSelection,
|
|
1986
2006
|
verifiedBusiness$1,
|
|
1987
2007
|
country
|
|
@@ -2062,19 +2082,19 @@ function BusinessDetailsDropin({
|
|
|
2062
2082
|
]);
|
|
2063
2083
|
useEffect(() => {
|
|
2064
2084
|
var _a2, _b2, _c2;
|
|
2065
|
-
if (((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.legalCompanyName) !== (verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && (((_b2 = currentState.data.basicInformation) == null ? void 0 : _b2.legalCompanyName) !== companySearchParams.legalCompanyName || ((_c2 = currentState.data.basicInformation) == null ? void 0 : _c2.stateOrProvince) !== companySearchParams.stateOrProvince)) {
|
|
2085
|
+
if ((verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && ((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.legalCompanyName) !== (verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && (((_b2 = currentState.data.basicInformation) == null ? void 0 : _b2.legalCompanyName) !== companySearchParams.legalCompanyName || ((_c2 = currentState.data.basicInformation) == null ? void 0 : _c2.stateOrProvince) !== companySearchParams.stateOrProvince)) {
|
|
2066
2086
|
setShowCompanyStructure(false);
|
|
2067
2087
|
resetBusinessData();
|
|
2068
2088
|
}
|
|
2069
2089
|
}, [
|
|
2070
2090
|
companySearchParams,
|
|
2071
2091
|
currentState.data.basicInformation,
|
|
2072
|
-
(
|
|
2092
|
+
(_q = currentState.data.basicInformation) == null ? void 0 : _q.legalCompanyName,
|
|
2073
2093
|
resetBusinessData,
|
|
2074
2094
|
verifiedBusiness$1
|
|
2075
2095
|
]);
|
|
2076
2096
|
const [prevCurrentCountry, setPrevCurrentCountry] = useState(currentCountry);
|
|
2077
|
-
if (prevCurrentCountry !== currentCountry && (trustedFields == null ? void 0 : trustedFields.length) && ((
|
|
2097
|
+
if (prevCurrentCountry !== currentCountry && (trustedFields == null ? void 0 : trustedFields.length) && ((_r = legalEntityResponse.organization) == null ? void 0 : _r.registeredAddress.country) !== currentCountry) {
|
|
2078
2098
|
setTrustedFields(void 0);
|
|
2079
2099
|
setPrevCurrentCountry(currentCountry);
|
|
2080
2100
|
}
|
package/dist/{BusinessFinancingComponent-CoOKkXsQ.js → BusinessFinancingComponent-CTLP0O1L.js}
RENAMED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "92a6bb37-7366-4eca-a07f-d7b0505d2bc8", e._sentryDebugIdIdentifier = "sentry-dbid-92a6bb37-7366-4eca-a07f-d7b0505d2bc8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-DAebRaGX.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DcfbYhTz.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -2,27 +2,21 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02126333-3b95-4355-a2d5-d945f1126a05", e._sentryDebugIdIdentifier = "sentry-dbid-02126333-3b95-4355-a2d5-d945f1126a05");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import {
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { F as FormWrapper } from "./FormWrapper-BGT0y0_A.js";
|
|
21
|
-
import { l as localizeDateString } from "./localizeDateString-DT4qdmzP.js";
|
|
22
|
-
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
23
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BSpq38Ec.js";
|
|
24
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-CC14oka4.js";
|
|
25
|
-
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-tGjEyd8Q.js";
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
|
|
13
|
+
import { bP as reverseMapping, bQ as formatObject, bR as isEeaCountry, y as LegalEntityType, ba as cloneObject, bS as getProp, ao as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, ay as Field, bI as Select, C as Typography, aV as RadioGroup, bT as Link, bp as InputText, bb as currencyByCountry, bU as InputNumber, bV as InputDate, bW as Currency, bX as CURRENCY_FIELD, bY as InputCurrency, at as useForm, bZ as useGlobalDataSlice, aw as ErrorPanel, ax as createFormUtils, b_ as useGlobalData, b$ as getAddressSchemaForCountry, c0 as COUNTRIES_WITH_STATES_DATASET, c1 as Address, c2 as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, be as useInvalidateRootLegalEntity, am as useAssociatedLegalEntity, b0 as datasetUtilities, a4 as useToastContext, c3 as useScenarioConfiguration, c4 as getPropsFromConfigurations, c5 as useStateContext, bM as getRequiredForms, bN as addValidityToForms, J as useSettingsContext, K as SettingNames, c6 as getAssociatedLeAnalyticsPayload, bO as useFormComposer, bK as getFormProps, L as Loader, a2 as Icon, Y as Button, c7 as FormWrapper, c8 as composePerScenarioFormConfigurations, c9 as trackNavigation, ca as isValidationError, cb as processValidationErrors, cc as isMaintenanceModeError } from "./StoreProvider-DAebRaGX.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-BPldDCDA.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-Bs082VlL.js";
|
|
16
|
+
import { l as localizeDateString } from "./localizeDateString-SMxMQ2Kc.js";
|
|
17
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BQ61tSxK.js";
|
|
18
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-7KIVtibX.js";
|
|
19
|
+
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-DIQCrjk7.js";
|
|
26
20
|
const MANDATORY_FIELDS_BUSINESS_FINANCING = [
|
|
27
21
|
"company.numberOfEmployees",
|
|
28
22
|
"parentCompany.numberOfEmployees",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3606638b-8535-4f8c-a8df-40607d37fcd4", e._sentryDebugIdIdentifier = "sentry-dbid-3606638b-8535-4f8c-a8df-40607d37fcd4");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-DAebRaGX.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DcfbYhTz.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-DmjIOdYQ.js → BusinessTypeSelectionPage-Bpem0_3N.js}
RENAMED
|
@@ -2,18 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "28c0d3d5-0b6f-4cf1-ac93-2cfe848a3131", e._sentryDebugIdIdentifier = "sentry-dbid-28c0d3d5-0b6f-4cf1-ac93-2cfe848a3131");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder,
|
|
11
|
+
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, P as useAccountHolder, bw as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, at as useForm, a1 as LoaderWrapper, C as Typography, ay as Field, bx as EntityTypeRadioGroupCard, aB as RadioGroupCard, Y as Button, b7 as Spacer, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-DAebRaGX.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import {
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-DJS5737s.js";
|
|
16
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-vsa5CskP.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
|
|
14
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-GZDRmFSR.js";
|
|
17
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
18
16
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
19
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a2 as Icon } from "./StoreProvider-DAebRaGX.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useEffect } from "preact/hooks";
|
|
14
14
|
const outlinedIcon = "adyen-kyc-outlined-icon";
|
package/dist/{CreateIndividualComponent-BIcKe___.js → CreateIndividualComponent-MXzIV9n7.js}
RENAMED
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "04e99299-5244-4752-853e-5f48ad1abffc", e._sentryDebugIdIdentifier = "sentry-dbid-04e99299-5244-4752-853e-5f48ad1abffc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity,
|
|
12
|
-
import {
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-C5xkTx8D.js";
|
|
11
|
+
import { a as useLegalEntity, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-DAebRaGX.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BYEK8-kb.js";
|
|
14
13
|
const CreateIndividualComponent = ({
|
|
15
14
|
legalEntityId,
|
|
16
15
|
onSubmitSuccess,
|
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e60dc7d1-ff4d-477e-afb6-73c5d045ff42", e._sentryDebugIdIdentifier = "sentry-dbid-e60dc7d1-ff4d-477e-afb6-73c5d045ff42");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity,
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-DV9Dz3yb.js";
|
|
12
|
+
import { a as useLegalEntity, am as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-DAebRaGX.js";
|
|
14
13
|
function CreateTransferInstrumentComponent({
|
|
15
14
|
legalEntityId,
|
|
16
15
|
transferInstrumentId,
|
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ad2e6510-2019-400e-bc13-04c66caee138", e._sentryDebugIdIdentifier = "sentry-dbid-ad2e6510-2019-400e-bc13-04c66caee138");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext,
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, bm as useQueryClient, aq as resolveFieldMetadata, bC as defaultFieldMetadata, bD as fieldConfig, bE as getAsyncPhoneValidationRules, F as FormHeader, bF as ContactDetails, aO as ActionBar, aK as createLogger } from "./StoreProvider-DAebRaGX.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { u as
|
|
16
|
-
import { u as useMultiForm } from "./useMultiForm-DxlQ1Mkc.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BlofB0F6.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-B_SrTfOp.js";
|
|
17
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
18
17
|
var _a, _b, _c;
|
|
19
18
|
return {
|