@adyen/kyc-components 3.74.6 → 3.75.0-beta.1
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-BqzgKlvm.js → AcceptTermsOfServiceComponent-CmtjlLkc.js} +7 -13
- package/dist/{AccountSetupRejected-DjDL8jmS.js → AccountSetupRejected-D-gXso-m.js} +2 -2
- package/dist/{Avatar-wjLtSQkK.js → Avatar-EN9QqneW.js} +1 -1
- package/dist/{BusinessDetailsDropin-BTgBn9DK.js → BusinessDetailsDropin-D7bmlCWL.js} +95 -75
- package/dist/{BusinessFinancingComponent-BXOS208z.js → BusinessFinancingComponent-CWrke1wB.js} +3 -3
- package/dist/{BusinessFinancingDropin-BbQp3Trc.js → BusinessFinancingDropin-CIr8dodZ.js} +9 -15
- package/dist/{BusinessFinancingPage-CWZUFD8-.js → BusinessFinancingPage-BUaBk8uq.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BZCOP0IF.js → BusinessTypeSelectionPage-D3fUNn7f.js} +4 -6
- package/dist/{ContractViewer-B7hrFdPk.js → ContractViewer-fPv7fuFx.js} +1 -1
- package/dist/{CreateIndividualComponent-BT09k8CS.js → CreateIndividualComponent-BSLA7VnY.js} +3 -4
- package/dist/{CreateTransferInstrumentComponent-DieMuBVh.js → CreateTransferInstrumentComponent-Drs_YkA-.js} +2 -3
- package/dist/{CustomerSupport-QKjx95Se.js → CustomerSupport-zKf2s-8D.js} +5 -6
- package/dist/{DebugModal-D5jsBdP9.js → DebugModal-BYymGgjT.js} +43 -10
- package/dist/{DecisionMakerDetailsPage-j44uyMcI.js → DecisionMakerDetailsPage-DqlS3Pit.js} +3 -4
- package/dist/{DecisionMakers-CS10zS56.js → DecisionMakers-CX22Ap-u.js} +4 -6
- package/dist/{EmbeddedStatus-BJNO2HQM.js → EmbeddedStatus-D_5O-E9M.js} +3 -3
- package/dist/{FormEndState-HM9-Iybg.js → FormEndState-DL_XVLTU.js} +1 -1
- package/dist/{FormFlow-Dh42U5Dm.js → FormFlow-8fZuMxhg.js} +2 -5
- package/dist/{IndividualOnfidoDropin-185xffxF.js → IndividualOnfidoDropin-fwzLO6t3.js} +73 -84
- package/dist/{Introduction-DA4Vqi29.js → Introduction-BifK4Csi.js} +3 -4
- package/dist/{LegalRepresentativeDetailsPage-BadQ0fr1.js → LegalRepresentativeDetailsPage-VLBt7NDI.js} +3 -4
- package/dist/{ManageIndividualComponent-DCMI3sdK.js → ManageIndividualComponent-DVtZzeGS.js} +4 -4
- package/dist/{ManagePCIComponent-BC0TK7FM.js → ManagePCIComponent-CfRjUILc.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CiK3SL8y.js → ManageTermsOfServiceComponent-B3NHrk94.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-sCdm0_6v.js → ManageTransferInstrumentComponent-DLZUnjM-.js} +4 -9
- package/dist/{OnboardingDropinComponent-CXM4ne0C.js → OnboardingDropinComponent-O5G-8Wpl.js} +117 -115
- package/dist/{ProviderButton-BKQeyTkZ.js → ProviderButton-BEwLbf1l.js} +3 -13
- package/dist/{Review-CkMsQ4jl.js → Review-BtJMQZDF.js} +3 -4
- package/dist/{RootBusinessDetailsPage-sFpUGMqo.js → RootBusinessDetailsPage-WN5nZDvo.js} +3 -4
- package/dist/{RootIndividualDetailsPage-_Ay6SL3f.js → RootIndividualDetailsPage-CVSrwRCQ.js} +3 -4
- package/dist/{SignPCIComponent-D35Kpcfv.js → SignPCIComponent-CpPSrDnv.js} +6 -10
- package/dist/{SingpassSelection-B0dtvrCa.js → SingpassSelection-BnbLViNx.js} +2 -2
- package/dist/{SoleProprietorshipPage-C6YDlNql.js → SoleProprietorshipPage-IcvPd-nL.js} +3 -4
- package/dist/{SourceOfFunds.module-BdvORVHN.js → SourceOfFunds.module-Bo6TYBfH.js} +1 -1
- package/dist/{SourceOfFundsPage-wl2-rTNr.js → SourceOfFundsPage-CCv1L9it.js} +36 -28
- package/dist/{StoreProvider-BSkziuJ9.js → StoreProvider-CairIABM.js} +3206 -956
- package/dist/{TaskItemStatus-BYKG95n7.js → TaskItemStatus-9_rlwmj8.js} +2 -2
- package/dist/{TaxReportingDropin-khLr0hFP.js → TaxReportingDropin-DxckPuwa.js} +7 -8
- package/dist/{TileGroup-CSl0rZJR.js → TileGroup-jtLX8JgH.js} +2 -2
- package/dist/{TrustDetailsPage-DSbNRTLH.js → TrustDetailsPage-C0SUQFV-.js} +12 -36
- package/dist/{TrustMemberCompanyPage-MHb4v-mt.js → TrustMemberCompanyPage-mOFqP6NS.js} +4 -5
- package/dist/{TrustMemberIndividualPage-DrH2zcs2.js → TrustMemberIndividualPage-BGJsBZEr.js} +3 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-DTXEST-V.js → UnincorporatedPartnershipIndividualPage-CogP3uSQ.js} +3 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BrwfQPSK.js → UnincorporatedPartnershipMemberCompanyPage-B8uzg9KK.js} +3 -4
- package/dist/{VerificationErrorAlert-BPgzHZvz.js → VerificationErrorAlert-kHFgZANq.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-CGZbOuEz.js → ViewVerificationStatusComponent-CD3Jt8MZ.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-CH00rBdF.js → css-Cz9rxCv4.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-M80AmxW5.js → getFieldsWithExistingData-BsvSqWoV.js} +2 -2
- package/dist/{hasDataChanged-rFZP3bN1.js → hasDataChanged-Dms2p9LC.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-Jzdtvxb0.js → individualFormConfig-DlheGOdv.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--XurzXL9.js → json-B-tTa0eY.js} +2 -2
- package/dist/{localizeDateString-BTqPuXz8.js → localizeDateString-B7q5Bl9r.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-XSFKqLLm.js → mapFinancialReportsToFinancialInformation-B0S7gC4f.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-C-xhcbw9.js → plaintext-CW6d70Y6.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-CF43kjG9.js → resolveEnvironment-BsLkkNKL.js} +3 -3
- package/dist/{ro-RO-r8myUMxM.js → ro-RO-ZTuJtIop.js} +49 -3
- package/dist/{rules-ClGuufcz.js → rules-9XmAbTQu.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-BVPPHa0M.js → useMultiForm-akawPP6-.js} +2 -2
- package/dist/{useOnboardingStatus-DpP-tjPy.js → useOnboardingStatus-C757XzAk.js} +1 -1
- package/dist/{useSalesChannelsSettings-zsFV9x70.js → useSalesChannelsSettings-a9NvV0WH.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CBKy10jD.js → useTermsOfServiceStatus-DD0WeUI2.js} +4 -4
- package/dist/{useUpdateLegalEntity-ClwtWsot.js → useUpdateLegalEntity-C8OwKklo.js} +2 -2
- package/dist/{utils-mM6f_wxM.js → utils-DaglygRr.js} +4 -4
- package/dist/{validate-DFKx6bSa.js → validate-C7NHrX-0.js} +2 -2
- package/dist/{validate-CEf7z2pv.js → validate-PZoo-tXo.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-CSK-WKa1.js → yaml-2GWWWq1l.js} +2 -2
- package/package.json +1 -1
- package/dist/Confirm-CdvwUHlM.js +0 -56
- package/dist/FormNavigation-9Ha5WQ7h.js +0 -145
- package/dist/FormWrapper-CjafzdMl.js +0 -149
- package/dist/MaybeModal-D7t6odRe.js +0 -18
- package/dist/Modal-B4HGO4xa.js +0 -135
- package/dist/PayoutDetailsDropin-B62ePi00.js +0 -914
- package/dist/PayoutDetailsPage-BtEL7Ure.js +0 -57
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StepProgressIndicator-CLum5vhL.js +0 -74
- package/dist/documentUtils-DQ_zpuxK.js +0 -226
- package/dist/dropinUtils-CjsvWZ8W.js +0 -204
- package/dist/mapExistingFile-BE74t9jV.js +0 -25
- package/dist/mapTransferInstrumentToPayoutAccount-Dz9ksLeQ.js +0 -30
- package/dist/omitObscuredFieldsIfUnchanged-aJVqTkBm.js +0 -28
- package/dist/process-field-configurations-DDlO4LEU.js +0 -185
- package/dist/processValidationErrors-BEKEAx0L.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/types-CjUrSQiM.js +0 -45
- package/dist/useToastContext-BHaVFSLN.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
|
@@ -2,18 +2,51 @@
|
|
|
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] = "7c20d6ec-daf7-40fb-a9d1-cc7581c42012", e._sentryDebugIdIdentifier = "sentry-dbid-7c20d6ec-daf7-40fb-a9d1-cc7581c42012");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { Y as Button,
|
|
13
|
-
import { M as Modal } from "./Modal-B4HGO4xa.js";
|
|
14
|
-
import { E as ExperimentNames } from "./types-CjUrSQiM.js";
|
|
12
|
+
import { Y as Button, bc as entriesOf, bp as InputText, b as useI18nContext, bq as splitTaskIdentifier, a5 as useExperimentsContext, J as useSettingsContext, ab as useGlobalStore, br as listToRecord, bs as valuesOf, b2 as Modal, aK as createLogger, a2 as Icon, K as SettingNames } from "./StoreProvider-CairIABM.js";
|
|
15
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-9_rlwmj8.js";
|
|
15
|
+
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
16
|
+
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
17
|
+
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
18
|
+
ExperimentNames2["ShowExtraTaxExemptionReasons"] = "ShowExtraTaxExemptionReasons";
|
|
19
|
+
ExperimentNames2["EnableEInvoicingCodeField"] = "EnableEInvoicingCodeField";
|
|
20
|
+
ExperimentNames2["EnableCountryOfGoverningLawForUKCompanies"] = "EnableCountryOfGoverningLawForUKCompanies";
|
|
21
|
+
ExperimentNames2["HidePayoutAccountTask"] = "HidePayoutAccountTask";
|
|
22
|
+
ExperimentNames2["HidePciTask"] = "HidePciTask";
|
|
23
|
+
ExperimentNames2["EnableAgeVerification"] = "EnableAgeVerification";
|
|
24
|
+
ExperimentNames2["EnableNationalitySGHK"] = "EnableNationalitySGHK";
|
|
25
|
+
ExperimentNames2["EnableFinancialInformationComponentV4"] = "EnableFinancialInformationComponentV4";
|
|
26
|
+
ExperimentNames2["StrictNameAndAddressValidationV4"] = "StrictNameAndAddressValidationV4";
|
|
27
|
+
ExperimentNames2["EnableDoingBusinessAsNameV4"] = "EnableDoingBusinessAsNameV4";
|
|
28
|
+
ExperimentNames2["EnablePhoneFieldScenario"] = "EnablePhoneFieldScenario";
|
|
29
|
+
ExperimentNames2["ShowCustomerSupportV4"] = "ShowCustomerSupportV4";
|
|
30
|
+
ExperimentNames2["EnableRegistrationAndTaxAbsentStatesV4"] = "EnableRegistrationAndTaxAbsentStatesV4";
|
|
31
|
+
ExperimentNames2["EnableAutofillFlowForPureIndividualsInKeyMarkets"] = "EnableAutofillFlowForPureIndividualsInKeyMarkets";
|
|
32
|
+
ExperimentNames2["EnableAutofillFlowForPureIndividualsInAdditionalMarkets"] = "EnableAutofillFlowForPureIndividualsInAdditionalMarkets";
|
|
33
|
+
ExperimentNames2["EnableAutofillFlowForDecisionMakersInKeyMarkets"] = "EnableAutofillFlowForDecisionMakersInKeyMarkets";
|
|
34
|
+
ExperimentNames2["EnableAutofillFlowForDecisionMakersInAdditionalMarkets"] = "EnableAutofillFlowForDecisionMakersInAdditionalMarkets";
|
|
35
|
+
ExperimentNames2["EnableLimitCountryBusinessAccountCustomers"] = "EnableLimitCountryBusinessAccountCustomers";
|
|
36
|
+
ExperimentNames2["EnableUnincorporatedPartnershipInHO"] = "EnableUnincorporatedPartnershipInHO";
|
|
37
|
+
ExperimentNames2["UseOnboardingComponentsForSingpass"] = "UseOnboardingComponentsForSingpass";
|
|
38
|
+
ExperimentNames2["EnableCheckOnCreateBankAccount"] = "EnableCheckOnCreateBankAccount";
|
|
39
|
+
ExperimentNames2["EnableTaxIdRequiredForBusinessAccountsScenarios"] = "EnableTaxIdRequiredForBusinessAccountsScenarios";
|
|
40
|
+
ExperimentNames2["EnableJaJPLocale"] = "EnableJaJPLocale";
|
|
41
|
+
ExperimentNames2["EnableGuidedDecisionMakersFlow"] = "EnableGuidedDecisionMakersFlow";
|
|
42
|
+
ExperimentNames2["EnableBusinessDetailsTaskStatusService"] = "EnableBusinessDetailsTaskStatusService";
|
|
43
|
+
ExperimentNames2["UseTaskStatusApiForPayout"] = "UseTaskStatusApiForPayout";
|
|
44
|
+
ExperimentNames2["EnableSignPCIBeforeTOS"] = "EnableSignPCIBeforeTOS";
|
|
45
|
+
ExperimentNames2["BankVerificationFlowOptimization_CAASIntegration"] = "BankVerificationFlowOptimization_CAASIntegration";
|
|
46
|
+
ExperimentNames2["DecisionMakersFlowOptimization_GuidedDecisionMakersFlow"] = "DecisionMakersFlowOptimization_GuidedDecisionMakersFlow";
|
|
47
|
+
ExperimentNames2["BankVerificationMethodAutonomy_UnbiasedSelection"] = "BankVerificationMethodAutonomy_UnbiasedSelection";
|
|
48
|
+
return ExperimentNames2;
|
|
49
|
+
})(ExperimentNames || {});
|
|
17
50
|
const tabs = "adyen-kyc-tabs";
|
|
18
51
|
const styles$1 = {
|
|
19
52
|
tabs
|
|
@@ -148,10 +181,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
148
181
|
};
|
|
149
182
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
150
183
|
const moduleMap = {
|
|
151
|
-
plaintext: () => import("./plaintext-
|
|
152
|
-
json: () => import("./json
|
|
153
|
-
yaml: () => import("./yaml-
|
|
154
|
-
css: () => import("./css-
|
|
184
|
+
plaintext: () => import("./plaintext-CW6d70Y6.js"),
|
|
185
|
+
json: () => import("./json-B-tTa0eY.js"),
|
|
186
|
+
yaml: () => import("./yaml-2GWWWq1l.js"),
|
|
187
|
+
css: () => import("./css-Cz9rxCv4.js")
|
|
155
188
|
};
|
|
156
189
|
const getModule = async (name) => {
|
|
157
190
|
if (!supportedModules.includes(name)) {
|
|
@@ -442,7 +475,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
442
475
|
const [tab, setTab] = useState("metadata");
|
|
443
476
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
444
477
|
const metadata = {
|
|
445
|
-
sdkVersion: "3.
|
|
478
|
+
sdkVersion: "3.75.0-beta.1",
|
|
446
479
|
locale: i18n.locale,
|
|
447
480
|
rootLegalEntityId: rootLegalEntity.id
|
|
448
481
|
};
|
|
@@ -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] = "56b81589-f5e6-453c-9d26-e92fa280574c", e._sentryDebugIdIdentifier = "sentry-dbid-56b81589-f5e6-453c-9d26-e92fa280574c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken,
|
|
12
|
-
import {
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-185xffxF.js";
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-CairIABM.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-fwzLO6t3.js";
|
|
14
13
|
function DecisionMakerDetailsPage({
|
|
15
14
|
decisionMakerId,
|
|
16
15
|
parentCompanyId,
|
|
@@ -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] = "89da1e9a-cd92-4a84-9662-da8296468ce1", e._sentryDebugIdIdentifier = "sentry-dbid-89da1e9a-cd92-4a84-9662-da8296468ce1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader,
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import {
|
|
15
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-CXM4ne0C.js";
|
|
16
|
-
import { u as useCapabilityProblems } from "./ProviderButton-BKQeyTkZ.js";
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a8 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, aa as useCapabilityProblems, by as getOwnDecisionMakers, bz as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bA as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bB as DecisionMakerType, B as Alert, a9 as CardGroup, Y as Button, aO as ActionBar } from "./StoreProvider-CairIABM.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-C8OwKklo.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-O5G-8Wpl.js";
|
|
17
15
|
const DecisionMakers = (props) => {
|
|
18
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
19
17
|
if (isLoading || !data) {
|
|
@@ -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] = "19f005f9-bdb8-431a-ae19-451b710d51b5", e._sentryDebugIdIdentifier = "sentry-dbid-19f005f9-bdb8-431a-ae19-451b710d51b5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-EN9QqneW.js";
|
|
13
|
+
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-CairIABM.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a2 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a2 as Icon, A as AlertIcon } from "./StoreProvider-CairIABM.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -2,18 +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] = "2bf9c718-74dc-4491-9935-2e21f74ee772", e._sentryDebugIdIdentifier = "sentry-dbid-2bf9c718-74dc-4491-9935-2e21f74ee772");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import {
|
|
12
|
+
import { dF as FormContext, _ as useAnalyticsContext, b as useI18nContext, bH as MaybeModal, a1 as LoaderWrapper, dG as FormRouterContextProvider, aN as Summary, Y as Button, Z as IconButton, b8 as Confirm } from "./StoreProvider-CairIABM.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-D7t6odRe.js";
|
|
15
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-CjsvWZ8W.js";
|
|
16
|
-
import { C as Confirm } from "./Confirm-CdvwUHlM.js";
|
|
17
14
|
function FormContextProvider({
|
|
18
15
|
children,
|
|
19
16
|
form
|
|
@@ -2,35 +2,24 @@
|
|
|
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] = "74c084b1-3dd3-4c4e-9a6e-2c9700a1da65", e._sentryDebugIdIdentifier = "sentry-dbid-74c084b1-3dd3-4c4e-9a6e-2c9700a1da65");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { an as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, cd as matchesRegex, ce as trimValWithOneSpace, cf as NO_ALPHABET_REGEX, cg as EMOJI_REGEX, ch as hasRepeatedCharacters, ci as isInvalidName, cj as INDIVIDUAL_VALID_CHAR_REGEX, ck as getFormattingRegEx, cl as SPECIAL_CHARS, cm as standardKatakanaValidator, cn as standardKanjiValidator, aq as resolveFieldMetadata, co as getSSNType, ao as isEmpty, cp as defaultFieldMetadata, cq as defaultFieldConfig, bC as defaultFieldMetadata$1, bD as fieldConfig, cr as defaultFieldMetadata$2, y as LegalEntityType, cs as defaultFieldConfig$1, ct as getAgeToday, cu as euCountries, cv as getIdDocument, cw as getDocument, cx as mapExistingFile, cy as getPageName, cz as getLocalizedIdDocumentTypeOptions, cA as getPage, cB as createDocumentRequest, bQ as formatObject, cC as individualApiKeyMapping, bj as individualComponentsKeyMapping, bP as reverseMapping, cD as getNomineeFromAssociation, aK as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, J as useSettingsContext, cE as documentApiUtils, cF as useProviderStatus, g as getLegalEntityCountry, c6 as getAssociatedLeAnalyticsPayload, cG as addressValidators, cH as getAsyncIdNumberValidationRule, bE as getAsyncPhoneValidationRules, cI as addressFormatters, cJ as useScenarios, cK as setHasMotionCaptureScenario, c3 as useScenarioConfiguration, c4 as getPropsFromConfigurations, cL as individualForms, cM as showIndividualMotionCapture, bM as getRequiredForms, bN as addValidityToForms, bA as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bO as useFormComposer, c9 as trackNavigation, cN as Individual, c8 as composePerScenarioFormConfigurations, cO as omitObscuredFieldsIfUnchanged, cP as filterOutUnwantedAssociationsIfRootLE, ca as isValidationError, cb as processValidationErrors, cc as isMaintenanceModeError, ba as cloneObject, cQ as mapAddressLabels, cR as individualDocumentForms, cS as individualDocumentMapping, cT as individualObscuredFields, cU as drop, cV as mergeAttachments, cW as getFileExtention, al as getOwnEntityAssociations, cX as hasNomineesChanged, cY as attachNomineeToRole, cZ as idVerificationProviderId, c_ as doArraysMatch, bB as DecisionMakerType, c$ as createFormRules, bz as getAvailableDecisionMakerRoleTypes, d0 as allowedCountriesForNominee, b$ as getAddressSchemaForCountry, c0 as COUNTRIES_WITH_STATES_DATASET, d1 as Scenarios, d2 as isLowRiskCountry, ay as Field, bI as Select, d3 as isTruthyValidator, d4 as licenseCardNumberDefaultMetadata, d5 as licenseCardNumberDefaultConfig, ap as mergeFieldMetadataIntoProps, ax as createFormUtils, bJ as useFormContext, au as getFieldProps, d6 as idNumberFields, d7 as IdentityNumber, d8 as additionallIdNumberOptions, d9 as MaskedInput, bV as InputDate, da as formatDateObj, db as DriversLicense, dc as addressFields, u as useAllowedCountries, K as SettingNames, dd as getDefaultTaxIdNumberType, F as FormHeader, aw as ErrorPanel, C as Typography, aE as CountryField, c1 as Address, c2 as getAddressSchemaLabelsByCountry, bT as Link, b8 as Confirm, de as getAgeRangeForLegalRepresentative, df as IndividualIdNumberTypeSelector, dg as TaxInformationField, dh as PatriotActDisclosure, di as isLegalRepresentativeNeeded, av as nameFields, dj as decisionMakerRoleFields, dk as nomineeFields, dl as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dm as DecisionMakerRole, dn as NomineeDecisionMakerRole, aD as Name, bp as InputText, bF as ContactDetails, dp as keysOf, a_ as objectsDeepEqual, bL as isEmpty$1, dq as RadioWithLabel, br as listToRecord, b2 as Modal, Y as Button, bl as Svg, dr as pick, ds as IdVerification, b7 as Spacer, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dt as isPersonUnderAge, du as IdDocumentManualUpload, dv as idDocumentUploadFields, dw as useFormRouterContext, bK as getFormProps, dx as useCapabilities, dy as hasMotionCaptureScenario, dz as setShowIndividualMotionCapture, dA as shouldShowMotionCapture, dB as MemoizedProofOfRelationship, dC as MemoizedDocumentUpload, dD as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-CairIABM.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { u as
|
|
18
|
-
import { g as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-M80AmxW5.js";
|
|
24
|
-
import { l as localizeDateString } from "./localizeDateString-BTqPuXz8.js";
|
|
25
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-aJVqTkBm.js";
|
|
26
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-ClGuufcz.js";
|
|
27
|
-
import { f as formatObject } from "./utils-B1H_8b1P.js";
|
|
28
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-Jzdtvxb0.js";
|
|
29
|
-
import { C as Confirm } from "./Confirm-CdvwUHlM.js";
|
|
30
|
-
import { M as Modal } from "./Modal-B4HGO4xa.js";
|
|
31
|
-
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
32
|
-
import { T as TileGroup } from "./TileGroup-CSl0rZJR.js";
|
|
33
|
-
import { m as mapExistingFile, g as getPageName, a as getPage } from "./mapExistingFile-BE74t9jV.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-C8OwKklo.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-C7NHrX-0.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-8fZuMxhg.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-BEwLbf1l.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-akawPP6-.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BsvSqWoV.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-B7q5Bl9r.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-9XmAbTQu.js";
|
|
21
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-DlheGOdv.js";
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-jtLX8JgH.js";
|
|
34
23
|
const KEY_MARKETS = [
|
|
35
24
|
CountryCodes.UnitedStates,
|
|
36
25
|
CountryCodes.UnitedKingdom,
|
|
@@ -710,10 +699,11 @@ function IndividualDropin({
|
|
|
710
699
|
country: ((_a2 = data == null ? void 0 : data.personalDetails) == null ? void 0 : _a2.residencyCountry) ?? country,
|
|
711
700
|
taskType,
|
|
712
701
|
isExperimentEnabled,
|
|
713
|
-
rootLegalEntity: parentLegalEntity
|
|
702
|
+
rootLegalEntity: parentLegalEntity,
|
|
703
|
+
problems
|
|
714
704
|
});
|
|
715
705
|
},
|
|
716
|
-
[country, matchingScenario, data, taskType]
|
|
706
|
+
[country, matchingScenario, data, taskType, problems]
|
|
717
707
|
);
|
|
718
708
|
useEffect(() => {
|
|
719
709
|
var _a2;
|
|
@@ -1345,13 +1335,15 @@ const DECISION_MAKER_TYPES_WITH_JOBTITLE = [
|
|
|
1345
1335
|
DecisionMakerType.SIGNATORY,
|
|
1346
1336
|
DecisionMakerType.CONTROLLING_PERSON
|
|
1347
1337
|
];
|
|
1338
|
+
const ID_MISSING_DATA_ERROR_CODE = "2_8071";
|
|
1348
1339
|
const individualOnfidoRules = ({
|
|
1349
1340
|
matchingScenario,
|
|
1350
1341
|
data,
|
|
1351
1342
|
country,
|
|
1352
1343
|
taskType,
|
|
1353
1344
|
isExperimentEnabled = () => false,
|
|
1354
|
-
rootLegalEntity
|
|
1345
|
+
rootLegalEntity,
|
|
1346
|
+
problems
|
|
1355
1347
|
}) => createFormRules({
|
|
1356
1348
|
countryUsesTaxId: () => {
|
|
1357
1349
|
if (isExperimentEnabled("EnableTaxIdRequiredForBusinessAccountsScenarios") && TAX_ID_REQUIRED_COUNTRIES.includes(country)) {
|
|
@@ -1545,10 +1537,21 @@ const individualOnfidoRules = ({
|
|
|
1545
1537
|
return isManualFlow ? "REQUIRED" : void 0;
|
|
1546
1538
|
},
|
|
1547
1539
|
isManualIdFlowAndNotProvidingIdNumber: () => {
|
|
1540
|
+
var _a, _b, _c;
|
|
1541
|
+
const hasMissingId = (_a = problems == null ? void 0 : problems.missingData) == null ? void 0 : _a.some(
|
|
1542
|
+
(error) => error.code === ID_MISSING_DATA_ERROR_CODE
|
|
1543
|
+
);
|
|
1544
|
+
const isManualFlow = ((_b = data == null ? void 0 : data.idVerificationMethod) == null ? void 0 : _b.idVerificationMethod) === "manualVerification";
|
|
1545
|
+
const idNumberExempt = (_c = data == null ? void 0 : data.additionalPersonalDetails) == null ? void 0 : _c.idNumberExempt;
|
|
1546
|
+
return isManualFlow && (idNumberExempt || hasMissingId) ? "REQUIRED" : void 0;
|
|
1547
|
+
},
|
|
1548
|
+
isManualIdFlowAndHasMissingData: () => {
|
|
1548
1549
|
var _a, _b;
|
|
1549
|
-
const
|
|
1550
|
-
|
|
1551
|
-
|
|
1550
|
+
const hasMissingId = (_a = problems == null ? void 0 : problems.missingData) == null ? void 0 : _a.some(
|
|
1551
|
+
(error) => error.code === ID_MISSING_DATA_ERROR_CODE
|
|
1552
|
+
);
|
|
1553
|
+
const isManualFlow = ((_b = data == null ? void 0 : data.idVerificationMethod) == null ? void 0 : _b.idVerificationMethod) === "manualVerification";
|
|
1554
|
+
return isManualFlow && hasMissingId ? "REQUIRED" : void 0;
|
|
1552
1555
|
},
|
|
1553
1556
|
idVerificationRequired: () => {
|
|
1554
1557
|
return REQUIRED;
|
|
@@ -2284,9 +2287,6 @@ const createAddressConflictRule = (datasetUtils) => (provided, detected) => {
|
|
|
2284
2287
|
const detectedString = addressToString(mapApiAddressToSchema(detected), datasetUtils);
|
|
2285
2288
|
return { hasConflict: providedString !== detectedString };
|
|
2286
2289
|
};
|
|
2287
|
-
const createIdConflictRule = () => () => {
|
|
2288
|
-
return { hasConflict: false };
|
|
2289
|
-
};
|
|
2290
2290
|
const useDataConflicts = (providedData, detectedData, rules2 = {}, onAutoResolve) => {
|
|
2291
2291
|
const { conflictingProperties, wasAutoResolved, resolvedData, hasConflicts } = useMemo(() => {
|
|
2292
2292
|
if (!providedData || !detectedData) {
|
|
@@ -2535,23 +2535,6 @@ const DataConflictsModal = ({
|
|
|
2535
2535
|
)
|
|
2536
2536
|
] });
|
|
2537
2537
|
};
|
|
2538
|
-
const formatId = (id, i18n) => {
|
|
2539
|
-
switch (id.typeOfIdentity) {
|
|
2540
|
-
case "passport":
|
|
2541
|
-
return `${i18n.get("passport")} (${id.idNumber})`;
|
|
2542
|
-
case "driversLicense":
|
|
2543
|
-
return `${i18n.get("driversLicense")} (${id.licenseCardNumber})`;
|
|
2544
|
-
case "proofOfIdentityCard":
|
|
2545
|
-
return `${i18n.get("proofOfIdentityCard")} (${id.idNumber})`;
|
|
2546
|
-
case "nationalIdNumber":
|
|
2547
|
-
return `${i18n.get("nationalIdNumber")} (${id.idNumber})`;
|
|
2548
|
-
default:
|
|
2549
|
-
if (id.idNumber) {
|
|
2550
|
-
return `${id.typeOfIdentity || i18n.get("idNumber")} (${id.idNumber})`;
|
|
2551
|
-
}
|
|
2552
|
-
return `${id.typeOfIdentity}`;
|
|
2553
|
-
}
|
|
2554
|
-
};
|
|
2555
2538
|
const verificationDisclaimer = "adyen-kyc-verification-disclaimer";
|
|
2556
2539
|
const styles$4 = {
|
|
2557
2540
|
verificationDisclaimer
|
|
@@ -2607,38 +2590,42 @@ const styles$2 = {
|
|
|
2607
2590
|
const toIndividualOnfidoConflictSchema = ({
|
|
2608
2591
|
basicDetails,
|
|
2609
2592
|
additionalPersonalDetails
|
|
2610
|
-
}) =>
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2593
|
+
}) => {
|
|
2594
|
+
return {
|
|
2595
|
+
// from basicDetails
|
|
2596
|
+
firstName: basicDetails == null ? void 0 : basicDetails.firstName,
|
|
2597
|
+
lastName: basicDetails == null ? void 0 : basicDetails.lastName,
|
|
2598
|
+
email: basicDetails == null ? void 0 : basicDetails.email,
|
|
2599
|
+
phoneNumber: basicDetails == null ? void 0 : basicDetails.phoneNumber,
|
|
2600
|
+
// from additionalPersonalDetails
|
|
2601
|
+
birthDate: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.birthDate,
|
|
2602
|
+
nationality: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.nationality,
|
|
2603
|
+
address: pick(
|
|
2604
|
+
"address",
|
|
2605
|
+
"otherAddressInformation",
|
|
2606
|
+
"postalCode",
|
|
2607
|
+
"city",
|
|
2608
|
+
"stateOrProvince",
|
|
2609
|
+
"country"
|
|
2610
|
+
).from(additionalPersonalDetails),
|
|
2611
|
+
// from additionalPersonalDetails (flattened so that `id` fields can be compared at granular level)
|
|
2616
2612
|
idNumber: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.idNumber,
|
|
2617
2613
|
typeOfIdentity: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.typeOfIdentity,
|
|
2618
2614
|
issuerState: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.issuerState,
|
|
2619
2615
|
licenseCardNumber: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.licenseCardNumber,
|
|
2620
2616
|
expiryDate: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.expiryDate
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
|
-
nationality: additionalPersonalDetails == null ? void 0 : additionalPersonalDetails.nationality,
|
|
2624
|
-
address: pick(
|
|
2625
|
-
"address",
|
|
2626
|
-
"otherAddressInformation",
|
|
2627
|
-
"postalCode",
|
|
2628
|
-
"city",
|
|
2629
|
-
"stateOrProvince",
|
|
2630
|
-
"country"
|
|
2631
|
-
).from(additionalPersonalDetails)
|
|
2632
|
-
});
|
|
2617
|
+
};
|
|
2618
|
+
};
|
|
2633
2619
|
const fromIndividualOnfidoConflictSchema = ({
|
|
2634
2620
|
firstName,
|
|
2635
2621
|
lastName,
|
|
2636
2622
|
email,
|
|
2637
2623
|
phoneNumber,
|
|
2638
|
-
id,
|
|
2639
2624
|
birthDate,
|
|
2640
2625
|
nationality: nationality2,
|
|
2641
|
-
address
|
|
2626
|
+
address,
|
|
2627
|
+
...idFields
|
|
2628
|
+
// The rest of the properties are the flattened ID Fields
|
|
2642
2629
|
}) => ({
|
|
2643
2630
|
basicDetails: {
|
|
2644
2631
|
firstName,
|
|
@@ -2649,11 +2636,8 @@ const fromIndividualOnfidoConflictSchema = ({
|
|
|
2649
2636
|
additionalPersonalDetails: {
|
|
2650
2637
|
birthDate,
|
|
2651
2638
|
nationality: nationality2,
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
issuerState: id == null ? void 0 : id.issuerState,
|
|
2655
|
-
licenseCardNumber: id == null ? void 0 : id.licenseCardNumber,
|
|
2656
|
-
expiryDate: id == null ? void 0 : id.expiryDate,
|
|
2639
|
+
// Reconstruct the `id` object from the flattened top-level properties
|
|
2640
|
+
...idFields,
|
|
2657
2641
|
...address
|
|
2658
2642
|
}
|
|
2659
2643
|
});
|
|
@@ -2779,7 +2763,7 @@ const idVerificationMethodFields = [
|
|
|
2779
2763
|
"idDocument"
|
|
2780
2764
|
];
|
|
2781
2765
|
function IdVerificationMethod(props) {
|
|
2782
|
-
var _a, _b, _c, _d, _e;
|
|
2766
|
+
var _a, _b, _c, _d, _e, _f;
|
|
2783
2767
|
const {
|
|
2784
2768
|
legalEntityId,
|
|
2785
2769
|
handlers,
|
|
@@ -2819,9 +2803,7 @@ function IdVerificationMethod(props) {
|
|
|
2819
2803
|
);
|
|
2820
2804
|
const conflictRules = useMemo(
|
|
2821
2805
|
() => ({
|
|
2822
|
-
address: createAddressConflictRule(datasetUtils)
|
|
2823
|
-
id: createIdConflictRule()
|
|
2824
|
-
// ignore id related conflicts
|
|
2806
|
+
address: createAddressConflictRule(datasetUtils)
|
|
2825
2807
|
}),
|
|
2826
2808
|
[datasetUtils]
|
|
2827
2809
|
);
|
|
@@ -2944,6 +2926,9 @@ function IdVerificationMethod(props) {
|
|
|
2944
2926
|
handleFieldChange("idDocument")(void 0);
|
|
2945
2927
|
}
|
|
2946
2928
|
};
|
|
2929
|
+
if (hasLiveSelfieErrorCode && ((_e = data.idVerificationMethod) == null ? void 0 : _e.idVerificationMethod) === "existingDocument") {
|
|
2930
|
+
handleDeleteDocument();
|
|
2931
|
+
}
|
|
2947
2932
|
const handleCancelDeleteDocument = () => {
|
|
2948
2933
|
setStatus("ready");
|
|
2949
2934
|
userEvents.addPageEvent("Clicked button", {
|
|
@@ -2987,7 +2972,7 @@ function IdVerificationMethod(props) {
|
|
|
2987
2972
|
className: styles$2.verifyOnfidoError
|
|
2988
2973
|
}
|
|
2989
2974
|
) : void 0,
|
|
2990
|
-
/* @__PURE__ */ jsx("div", { className: styles$2.verifyOnfidoContent, children: showLoadingSpinner ? /* @__PURE__ */ jsx(Loader, { size: "large" }) : /* @__PURE__ */ jsx(Fragment, { children: hasExistingDocument
|
|
2975
|
+
/* @__PURE__ */ jsx("div", { className: styles$2.verifyOnfidoContent, children: showLoadingSpinner ? /* @__PURE__ */ jsx(Loader, { size: "large" }) : /* @__PURE__ */ jsx(Fragment, { children: hasExistingDocument ? /* @__PURE__ */ jsx(
|
|
2991
2976
|
UploadedDocument,
|
|
2992
2977
|
{
|
|
2993
2978
|
document: existingDocument,
|
|
@@ -3005,7 +2990,7 @@ function IdVerificationMethod(props) {
|
|
|
3005
2990
|
onClick: launchOnfido
|
|
3006
2991
|
}
|
|
3007
2992
|
),
|
|
3008
|
-
!((
|
|
2993
|
+
!((_f = showIndividualMotionCapture) == null ? void 0 : _f.value) && /* @__PURE__ */ jsx(
|
|
3009
2994
|
Button,
|
|
3010
2995
|
{
|
|
3011
2996
|
onClick: () => setStatus("confirmManualFlowModal"),
|
|
@@ -3054,8 +3039,7 @@ function IdVerificationMethod(props) {
|
|
|
3054
3039
|
detectedData: comparableExtractedData,
|
|
3055
3040
|
conflictingProperties,
|
|
3056
3041
|
formatters: {
|
|
3057
|
-
address: (val) => addressToString(val, datasetUtils)
|
|
3058
|
-
id: (val) => formatId(val, i18n)
|
|
3042
|
+
address: (val) => addressToString(val, datasetUtils)
|
|
3059
3043
|
},
|
|
3060
3044
|
title: "confirmPersonalDetails",
|
|
3061
3045
|
explanation: "theDetailsYouEnteredDontMatch",
|
|
@@ -3866,6 +3850,10 @@ const identityOnfidoBase = {
|
|
|
3866
3850
|
// (either from Onfido or previously-uploaded document)
|
|
3867
3851
|
rule: "isUsingInstantVerificationOrHasExistingDocument"
|
|
3868
3852
|
},
|
|
3853
|
+
idDocumentType: {
|
|
3854
|
+
// If the user has a missing ID error and chooses manual flow
|
|
3855
|
+
rule: "isManualIdFlowAndHasMissingData"
|
|
3856
|
+
},
|
|
3869
3857
|
/**
|
|
3870
3858
|
* Below fields only relevant if manual ID is needed
|
|
3871
3859
|
* @see identityNumber
|
|
@@ -4146,10 +4134,11 @@ function IndividualOnfidoDropin({
|
|
|
4146
4134
|
country: ((_a2 = data == null ? void 0 : data.additionalPersonalDetails) == null ? void 0 : _a2.country) ?? country,
|
|
4147
4135
|
taskType,
|
|
4148
4136
|
isExperimentEnabled,
|
|
4149
|
-
rootLegalEntity: parentLegalEntity
|
|
4137
|
+
rootLegalEntity: parentLegalEntity,
|
|
4138
|
+
problems
|
|
4150
4139
|
});
|
|
4151
4140
|
},
|
|
4152
|
-
[country, matchingScenario, data, isExperimentEnabled, parentLegalEntity, taskType]
|
|
4141
|
+
[country, matchingScenario, data, isExperimentEnabled, parentLegalEntity, taskType, problems]
|
|
4153
4142
|
);
|
|
4154
4143
|
useEffect(() => {
|
|
4155
4144
|
var _a2;
|
|
@@ -2,17 +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] = "19cbd5ab-ad84-468d-b2eb-e661a2771b94", e._sentryDebugIdIdentifier = "sentry-dbid-19cbd5ab-ad84-468d-b2eb-e661a2771b94");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { W as TaskTypes, y as LegalEntityType,
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-CLum5vhL.js";
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bu as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, bv as StepProgressIndicator, Y as Button } from "./StoreProvider-CairIABM.js";
|
|
14
13
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-O5G-8Wpl.js";
|
|
16
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
16
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
17
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -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] = "e7a83dcc-d2be-4184-a462-1a4df400b8e9", e._sentryDebugIdIdentifier = "sentry-dbid-e7a83dcc-d2be-4184-a462-1a4df400b8e9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE,
|
|
12
|
-
import {
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-185xffxF.js";
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-CairIABM.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-fwzLO6t3.js";
|
|
14
13
|
function LegalRepresentativeDetailsPage({
|
|
15
14
|
legalRepresentativeId,
|
|
16
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-DCMI3sdK.js → ManageIndividualComponent-DVtZzeGS.js}
RENAMED
|
@@ -2,16 +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] = "2eb95398-7834-4cf8-8f43-7635e2ffb1b3", e._sentryDebugIdIdentifier = "sentry-dbid-2eb95398-7834-4cf8-8f43-7635e2ffb1b3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CairIABM.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-C757XzAk.js";
|
|
13
13
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-D_5O-E9M.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -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] = "ed81a5d0-d1b8-41f5-ab21-09de2b7dbb38", e._sentryDebugIdIdentifier = "sentry-dbid-ed81a5d0-d1b8-41f5-ab21-09de2b7dbb38");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
12
|
-
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-a9NvV0WH.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-CairIABM.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-D_5O-E9M.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-CiK3SL8y.js → ManageTermsOfServiceComponent-B3NHrk94.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] = "559a1d78-d1c0-4fb6-a3b2-7449c68a65e3", e._sentryDebugIdIdentifier = "sentry-dbid-559a1d78-d1c0-4fb6-a3b2-7449c68a65e3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
-
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DD0WeUI2.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-CairIABM.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-D_5O-E9M.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|