@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,22 +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] = "9380c83e-0825-4411-8c2b-df6140eca7fb", e._sentryDebugIdIdentifier = "sentry-dbid-9380c83e-0825-4411-8c2b-df6140eca7fb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
12
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext,
|
|
13
|
-
import {
|
|
14
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BJNO2HQM.js";
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-kHFgZANq.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Y as Button, $ as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, Z as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, X as TaskStatus, bd as useTransferInstrument, aK as createLogger, a4 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-CairIABM.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-D_5O-E9M.js";
|
|
15
14
|
import { useState } from "preact/hooks";
|
|
16
|
-
import { m as mapTransferInstrumentToPayoutAccount, u as useTransferInstrument } from "./mapTransferInstrumentToPayoutAccount-Dz9ksLeQ.js";
|
|
17
|
-
import { M as Modal, a as ModalHeader, b as ModalContent, c as ModalFooter } from "./Modal-B4HGO4xa.js";
|
|
18
|
-
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
19
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
20
|
-
import { C as Confirm } from "./Confirm-CdvwUHlM.js";
|
|
21
16
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|
|
22
17
|
return httpGet({
|
|
23
18
|
baseUrl,
|
package/dist/{OnboardingDropinComponent-CXM4ne0C.js → OnboardingDropinComponent-O5G-8Wpl.js}
RENAMED
|
@@ -2,27 +2,25 @@
|
|
|
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] = "05f95ba9-3bde-438a-b09d-4bcf4c4abba2", e._sentryDebugIdIdentifier = "sentry-dbid-05f95ba9-3bde-438a-b09d-4bcf4c4abba2");
|
|
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, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as TaskStatus, Y as Button, Z as IconButton, _ as useAnalyticsContext, $ as Card, a0 as handleKeys, a1 as LoaderWrapper, a2 as Icon, a3 as noop, a4 as
|
|
11
|
+
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as TaskStatus, Y as Button, Z as IconButton, _ as useAnalyticsContext, $ as Card, a0 as handleKeys, a1 as LoaderWrapper, a2 as Icon, a3 as noop, a4 as useToastContext, a5 as useExperimentsContext, a6 as isInstantVerifiedAccount, a7 as getObscuredAccountNumber, a8 as useGetTaskStatus, a9 as CardGroup, R as ROOT_LE, aa as useCapabilityProblems, L as Loader, ab as useGlobalStore, ac as useSetting, ad as isPartOfUnincorporatedPartnership, ae as getOwnSignatories, af as getOwnDecisionMakersLegalEntityIds, ag as getOwnSolePropProblems, ah as getOwnTrustProblems, ai as getOwnUnincorporatedPartnershipProblems, aj as TrustMemberTypes, ak as getLegalEntityNameBasedOnType, al as getOwnEntityAssociations, am as useAssociatedLegalEntity, an as CountryCodes, ao as isEmpty, ap as mergeFieldMetadataIntoProps, aq as resolveFieldMetadata, ar as defaultFieldMetadata, as as defaultFieldConfig, at as useForm, au as getFieldProps, av as nameFields, F as FormHeader, aw as ErrorPanel, ax as createFormUtils, ay as Field, az as MultiSelectList, aA as makeSelectItemForRole, aB as RadioGroupCard, aC as TextArea, aD as Name, aE as CountryField, aF as COUNTRY_FIELD, aG as LegalCompanyNameField, aH as LEGAL_COMPANY_NAME_FIELD, aI as summaryItem, aJ as getRoleName, aK as createLogger, aL as summaryStep, aM as FormNavigation, aN as Summary, aO as ActionBar, g as getLegalEntityCountry, aP as UnincorporatedPartnershipMemberTypes, aQ as getDecisionMakerDescriptionMap, aR as TRUST_DEFAULT_DESCRIPTIONS_MAP, aS as getRoleTagVariant, aT as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aU as ContextGuidance, aV as RadioGroup, aW as useUnincorporatedPartnershipMembers, aX as deleteUnincorporatedPartnershipMember, aY as hasAllCapabilitiesResolved, aZ as hasRejectedCapabilities, a_ as objectsDeepEqual, a$ as TrustedFieldsProvider } from "./StoreProvider-CairIABM.js";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { P as ProviderButton, u as
|
|
14
|
+
import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-BEwLbf1l.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
17
|
-
import { u as
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-BHaVFSLN.js";
|
|
16
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-a9NvV0WH.js";
|
|
17
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DD0WeUI2.js";
|
|
19
18
|
import { signal } from "@preact/signals";
|
|
20
19
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
21
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
22
|
-
import { A as Avatar } from "./Avatar-
|
|
23
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
24
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
25
|
-
import { F as FormNavigation } from "./FormNavigation-9Ha5WQ7h.js";
|
|
20
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-kHFgZANq.js";
|
|
21
|
+
import { A as Avatar } from "./Avatar-EN9QqneW.js";
|
|
22
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-9_rlwmj8.js";
|
|
23
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-C8OwKklo.js";
|
|
26
24
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
27
25
|
const getTaskTypes = async (id, baseUrl) => {
|
|
28
26
|
return httpGet({
|
|
@@ -594,63 +592,101 @@ function TaskListInner({
|
|
|
594
592
|
singpassComponent
|
|
595
593
|
}) {
|
|
596
594
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
597
|
-
const isReview = Boolean(
|
|
598
|
-
(_b = (_a = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _a[legalEntityResponse.id]) == null ? void 0 : _b.isReviewRequired
|
|
599
|
-
);
|
|
600
|
-
const { accountHolder } = useAccountHolder();
|
|
601
595
|
const { i18n } = useI18nContext();
|
|
602
596
|
const userEvents = useAnalyticsContext();
|
|
603
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
604
597
|
const { showToast } = useToastContext();
|
|
605
|
-
const
|
|
598
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
606
599
|
const { isSettingEnabled } = useSettingsContext();
|
|
607
|
-
const
|
|
600
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
601
|
+
const { accountHolder } = useAccountHolder();
|
|
602
|
+
const tasks = useGlobalStore().tasks.value;
|
|
603
|
+
const getTaskStatus2 = useGetTaskStatus();
|
|
604
|
+
const businessSetup = useBusinessSetup(legalEntityResponse);
|
|
608
605
|
const canSeeIntroduction = useCanSeeIntroduction({ legalEntity: legalEntityResponse });
|
|
606
|
+
const additionalSalesChannels = useSalesChannelsSettings();
|
|
609
607
|
const { remediationMessages } = useDataMissingRemediations({
|
|
610
608
|
legalEntityId: legalEntityResponse.id,
|
|
611
609
|
problems: capabilityProblems
|
|
612
610
|
});
|
|
613
|
-
const businessSetup = useBusinessSetup(legalEntityResponse);
|
|
614
|
-
const tasks = useGlobalStore().tasks.value;
|
|
615
|
-
const getTaskStatus2 = useGetTaskStatus();
|
|
616
|
-
const additionalSalesChannels = useSalesChannelsSettings();
|
|
617
611
|
const { data: pciStatus } = usePciStatus(
|
|
618
612
|
{ additionalSalesChannels },
|
|
619
613
|
{ enabled: tasks.includes(TaskTypes.PCI_DSS) }
|
|
620
614
|
);
|
|
621
615
|
const { data: pciQuestionnaireList } = usePciQuestionnaireList();
|
|
622
|
-
const
|
|
623
|
-
const
|
|
624
|
-
const
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
616
|
+
const { data: termsOfServiceStatus } = useTermsOfServiceStatus();
|
|
617
|
+
const { data: termsOfServiceStatusAcceptanceInfos } = useTermsOfServiceAcceptanceInfos();
|
|
618
|
+
const { data: taskStatuses } = useTaskStatus({
|
|
619
|
+
refetchInterval: (query) => {
|
|
620
|
+
const { data: response } = query.state || {};
|
|
621
|
+
const statuses = response == null ? void 0 : response.statuses;
|
|
622
|
+
const areAllTasksFinishedOrEmpty = (statuses == null ? void 0 : statuses.length) === 0 || (statuses == null ? void 0 : statuses.every((task) => task.status === TaskStatus[TaskStatus.FINISHED]));
|
|
623
|
+
return areAllTasksFinishedOrEmpty ? TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS : TASK_STATUS_POLLING_INTERVAL_MS;
|
|
624
|
+
}
|
|
625
|
+
});
|
|
626
|
+
const canChangeEntityType = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange);
|
|
629
627
|
const hidePayoutAccountTaskExperiment = isExperimentEnabled("HidePayoutAccountTask");
|
|
630
628
|
const hidePciTaskExperiment = isExperimentEnabled("HidePciTask");
|
|
631
|
-
const { data: termsOfServiceStatusAcceptanceInfos } = useTermsOfServiceAcceptanceInfos();
|
|
632
|
-
const { data: termsOfServiceStatus } = useTermsOfServiceStatus();
|
|
633
|
-
const serviceAgreementTypes = (termsOfServiceStatus == null ? void 0 : termsOfServiceStatus.termsOfServiceTypes) ?? [];
|
|
634
|
-
const serviceAgreementAcceptanceInfos = (termsOfServiceStatusAcceptanceInfos == null ? void 0 : termsOfServiceStatusAcceptanceInfos.data) ?? [];
|
|
635
629
|
const showCustomerSupportV4 = isExperimentEnabled("ShowCustomerSupportV4");
|
|
630
|
+
const EnableSignPCIBeforeTOS = isExperimentEnabled("EnableSignPCIBeforeTOS");
|
|
631
|
+
const transferInstrumentLimit = useSetting("transferInstrumentLimit");
|
|
632
|
+
const normalizedTasks = normalizeTaskStatuses(taskStatuses);
|
|
633
|
+
setNormalizedTaskStatusStore(normalizedTasks);
|
|
634
|
+
const payinPayoutTaskStatus = (normalizedTasks == null ? void 0 : normalizedTasks.PAYOUT) ?? (normalizedTasks == null ? void 0 : normalizedTasks.PAYIN);
|
|
635
|
+
const businessDetailsTaskStatus = isExperimentEnabled("EnableBusinessDetailsTaskStatusService") ? ((_a = normalizedTasks == null ? void 0 : normalizedTasks.BUSINESS_DETAILS) == null ? void 0 : _a.status) ?? TaskStatus.DETAILS_REQUIRED : getTaskStatus2(TaskTypes.BUSINESS_DETAILS);
|
|
636
|
+
const isReview = Boolean(
|
|
637
|
+
(_c = (_b = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _b[legalEntityResponse.id]) == null ? void 0 : _c.isReviewRequired
|
|
638
|
+
);
|
|
639
|
+
const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(legalEntityResponse);
|
|
640
|
+
const hasUnincorporatedPartnership = accountHolder === "anUnincorporatedPartnership" || isPartOfUnincorporatedPartnership(legalEntityResponse);
|
|
641
|
+
const hasSoleProprietorship = accountHolder === "mySoleProprietorName" || hasSolePropInLegalEntity(legalEntityResponse);
|
|
636
642
|
const isLegalRepresentativeRequired = isExperimentEnabled("EnableAgeVerification") && doesLegalEntityRequiresLegalRepresentative(legalEntityResponse);
|
|
637
643
|
const legalRepresentative = isLegalRepresentativeRequired && getLegalRepresentative(legalEntityResponse);
|
|
638
644
|
const transferInstruments = (legalEntityResponse == null ? void 0 : legalEntityResponse.transferInstruments) || [];
|
|
639
645
|
const canAddPayoutAccount = ((_d = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _d.legalName) || ((_e = legalEntityResponse == null ? void 0 : legalEntityResponse.individual) == null ? void 0 : _e.name);
|
|
640
646
|
const hasPayinTaskNotPayout = tasks.includes(TaskTypes.PAYIN) && !tasks.includes(TaskTypes.PAYOUT);
|
|
641
|
-
const
|
|
642
|
-
const
|
|
647
|
+
const payoutTaskDescriptionKey = isReview ? "payoutAccountsDescriptionReview" : "payoutAccountsDescription";
|
|
648
|
+
const pciHasDocuments = !!((_f = pciQuestionnaireList == null ? void 0 : pciQuestionnaireList.data) == null ? void 0 : _f.length);
|
|
649
|
+
const canSignPci = (
|
|
650
|
+
// PCI requires decision makers to be added
|
|
651
|
+
legalEntityResponse.type === LegalEntityType.ORGANIZATION && !!((_g = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _g.length) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!((_h = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _h.length)
|
|
652
|
+
);
|
|
643
653
|
const canDownloadPci = !(pciStatus == null ? void 0 : pciStatus.signingRequired) && pciHasDocuments;
|
|
644
|
-
const
|
|
645
|
-
const
|
|
646
|
-
const
|
|
654
|
+
const hasSignedPci = !(pciStatus == null ? void 0 : pciStatus.signingRequired) && canSignPci;
|
|
655
|
+
const serviceAgreementTypes = (termsOfServiceStatus == null ? void 0 : termsOfServiceStatus.termsOfServiceTypes) ?? [];
|
|
656
|
+
const serviceAgreementAcceptanceInfos = (termsOfServiceStatusAcceptanceInfos == null ? void 0 : termsOfServiceStatusAcceptanceInfos.data) ?? [];
|
|
647
657
|
const hasServiceAgreementSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && getOwnSignatories(legalEntityResponse).length || Boolean(legalRepresentative) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!(legalEntityResponse == null ? void 0 : legalEntityResponse.individual);
|
|
648
|
-
const
|
|
658
|
+
const hasTaskOfGroupAccountDetails = tasks.some((task) => LEGAL_ENTITY_BASE_TASKS.includes(task));
|
|
659
|
+
const hasContractTasks = tasks.some((task) => CONTRACT_TASKS.includes(task));
|
|
660
|
+
const hasFinancingTasks = tasks.includes(TaskTypes.BUSINESS_FINANCING) || tasks.includes(TaskTypes.SOURCE_OF_FUNDS);
|
|
661
|
+
const showServiceAgreementTask = tasks.includes(TaskTypes.SERVICE_AGREEMENT) && (serviceAgreementTypes.length > 0 || serviceAgreementAcceptanceInfos.length > 0);
|
|
662
|
+
const showPciTask = tasks.includes(TaskTypes.PCI_DSS) && (canDownloadPci || (pciStatus == null ? void 0 : pciStatus.signingRequired)) && !hidePciTaskExperiment;
|
|
649
663
|
const showContractTasks = hasContractTasks && (showPciTask || showServiceAgreementTask);
|
|
650
|
-
const
|
|
651
|
-
|
|
652
|
-
);
|
|
653
|
-
const
|
|
664
|
+
const shouldSignPciFirst = showServiceAgreementTask && showPciTask && !hasSignedPci;
|
|
665
|
+
const areServiceAgreementTasksDisabled = EnableSignPCIBeforeTOS ? !hasServiceAgreementSigners || shouldSignPciFirst : !hasServiceAgreementSigners;
|
|
666
|
+
const isPciTaskDisabled = !(pciStatus == null ? void 0 : pciStatus.signingRequired) || !canSignPci;
|
|
667
|
+
const getBusinessTaskListTitleKey = () => {
|
|
668
|
+
if (hasUnincorporatedPartnership) {
|
|
669
|
+
return "tellUsMoreAboutPrimaryPartner";
|
|
670
|
+
} else if (tasks.includes(TaskTypes.BUSINESS_DETAILS)) {
|
|
671
|
+
return isReview ? "businessAccountDetailsDescriptionReview" : "businessAccountDetailsDescription";
|
|
672
|
+
} else if (canChangeEntityType) {
|
|
673
|
+
return "provideFewDetailsAboutYourself";
|
|
674
|
+
} else {
|
|
675
|
+
return "accountDetailsDescription";
|
|
676
|
+
}
|
|
677
|
+
};
|
|
678
|
+
const getEmptyBankAccountProblems = () => {
|
|
679
|
+
var _a2, _b2, _c2;
|
|
680
|
+
const transferInstrumentId = (_b2 = (_a2 = legalEntityResponse == null ? void 0 : legalEntityResponse.transferInstruments) == null ? void 0 : _a2[0]) == null ? void 0 : _b2.id;
|
|
681
|
+
return transferInstrumentId ? (_c2 = capabilityProblems == null ? void 0 : capabilityProblems.BankAccount) == null ? void 0 : _c2[transferInstrumentId] : void 0;
|
|
682
|
+
};
|
|
683
|
+
const onEditBusinessSetupClick = () => {
|
|
684
|
+
userEvents.addTaskEvent("Clicked button", {
|
|
685
|
+
task: TaskTypes.TASKS_OVERVIEW,
|
|
686
|
+
actionType: "edit"
|
|
687
|
+
});
|
|
688
|
+
onNavigateToTask(TaskTypes.BUSINESS_TYPE_SELECTION);
|
|
689
|
+
};
|
|
654
690
|
const onPciDownload = async () => {
|
|
655
691
|
try {
|
|
656
692
|
const response = await getPciQuestionnaireList(rootLegalEntityId.value, baseUrl.value);
|
|
@@ -689,31 +725,9 @@ function TaskListInner({
|
|
|
689
725
|
const handleOnNavigateToSourceOfFunds = () => onNavigateToTask(TaskTypes.SOURCE_OF_FUNDS);
|
|
690
726
|
const handleOnNavigateToBusinessFinancing = () => onNavigateToTask(TaskTypes.BUSINESS_FINANCING);
|
|
691
727
|
const handleOnNavigateToTaxReporting = () => onNavigateToTask(TaskTypes.TAX_REPORTING);
|
|
692
|
-
const
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
userEvents.addTaskEvent("Clicked button", {
|
|
696
|
-
task: TaskTypes.TASKS_OVERVIEW,
|
|
697
|
-
actionType: "edit"
|
|
698
|
-
});
|
|
699
|
-
onNavigateToTask(TaskTypes.BUSINESS_TYPE_SELECTION);
|
|
700
|
-
};
|
|
701
|
-
const getBusinessTaskListTitleKey = () => {
|
|
702
|
-
if (hasUnincorporatedPartnership) {
|
|
703
|
-
return "tellUsMoreAboutPrimaryPartner";
|
|
704
|
-
} else if (tasks.includes(TaskTypes.BUSINESS_DETAILS)) {
|
|
705
|
-
return isReview ? "businessAccountDetailsDescriptionReview" : "businessAccountDetailsDescription";
|
|
706
|
-
} else if (canChangeEntityType) {
|
|
707
|
-
return "provideFewDetailsAboutYourself";
|
|
708
|
-
} else {
|
|
709
|
-
return "accountDetailsDescription";
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
const getEmptyBankAccountProblems = () => {
|
|
713
|
-
var _a2, _b2, _c2;
|
|
714
|
-
const transferInstrumentId = (_b2 = (_a2 = legalEntityResponse == null ? void 0 : legalEntityResponse.transferInstruments) == null ? void 0 : _a2[0]) == null ? void 0 : _b2.id;
|
|
715
|
-
return transferInstrumentId ? (_c2 = capabilityProblems == null ? void 0 : capabilityProblems.BankAccount) == null ? void 0 : _c2[transferInstrumentId] : void 0;
|
|
716
|
-
};
|
|
728
|
+
const showDecisionMakersWarning = Boolean(
|
|
729
|
+
getOwnDecisionMakersLegalEntityIds(legalEntityResponse).length && remediationMessages.DECISION_MAKER
|
|
730
|
+
);
|
|
717
731
|
useEffect(() => {
|
|
718
732
|
if (showDecisionMakersWarning) {
|
|
719
733
|
userEvents.addTaskEvent("Encountered error", {
|
|
@@ -723,18 +737,6 @@ function TaskListInner({
|
|
|
723
737
|
});
|
|
724
738
|
}
|
|
725
739
|
}, [showDecisionMakersWarning, userEvents]);
|
|
726
|
-
const { data: taskStatuses } = useTaskStatus({
|
|
727
|
-
refetchInterval: (query) => {
|
|
728
|
-
const { data: response } = query.state || {};
|
|
729
|
-
const statuses = response == null ? void 0 : response.statuses;
|
|
730
|
-
const areAllTasksFinishedOrEmpty = (statuses == null ? void 0 : statuses.length) === 0 || (statuses == null ? void 0 : statuses.every((task) => task.status === TaskStatus[TaskStatus.FINISHED]));
|
|
731
|
-
return areAllTasksFinishedOrEmpty ? TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS : TASK_STATUS_POLLING_INTERVAL_MS;
|
|
732
|
-
}
|
|
733
|
-
});
|
|
734
|
-
const normalizedTasks = normalizeTaskStatuses(taskStatuses);
|
|
735
|
-
setNormalizedTaskStatusStore(normalizedTasks);
|
|
736
|
-
const payinPayoutTaskStatus = (normalizedTasks == null ? void 0 : normalizedTasks.PAYOUT) ?? (normalizedTasks == null ? void 0 : normalizedTasks.PAYIN);
|
|
737
|
-
const businessDetailsTaskStatus = isExperimentEnabled("EnableBusinessDetailsTaskStatusService") ? ((_h = normalizedTasks == null ? void 0 : normalizedTasks.BUSINESS_DETAILS) == null ? void 0 : _h.status) ?? TaskStatus.DETAILS_REQUIRED : getTaskStatus2(TaskTypes.BUSINESS_DETAILS);
|
|
738
740
|
return /* @__PURE__ */ jsxs("div", { className: "adyen-task-list__container", children: [
|
|
739
741
|
canSeeIntroduction && /* @__PURE__ */ jsx("div", { className: "adyen-task-list__nav", children: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: () => onNavigateToTask(TaskTypes.INTRODUCTION), children: i18n.get("goToIntroduction") }) }),
|
|
740
742
|
canChangeEntityType && /* @__PURE__ */ jsxs("header", { className: "adyen-task-list__heading", children: [
|
|
@@ -945,17 +947,6 @@ function TaskListInner({
|
|
|
945
947
|
}
|
|
946
948
|
),
|
|
947
949
|
showContractTasks && /* @__PURE__ */ jsxs(TaskListGroup, { title: i18n.get("reviewAndSignLegalDisclosures"), children: [
|
|
948
|
-
showServiceAgreementTask && /* @__PURE__ */ jsx(
|
|
949
|
-
TaskListItem,
|
|
950
|
-
{
|
|
951
|
-
onNavigateToTask: handleOnNavigateToServiceAgreement,
|
|
952
|
-
icon: "contract",
|
|
953
|
-
titleKey: "signServiceAgreement",
|
|
954
|
-
disabled: areServiceAgreementTasksDisabled,
|
|
955
|
-
status: serviceAgreementTypes.length ? TaskStatus.SIGN : TaskStatus.SIGNED,
|
|
956
|
-
info: areServiceAgreementTasksDisabled ? i18n.get("requiresSignatory") : void 0
|
|
957
|
-
}
|
|
958
|
-
),
|
|
959
950
|
showPciTask && /* @__PURE__ */ jsx(
|
|
960
951
|
TaskListItem,
|
|
961
952
|
{
|
|
@@ -968,6 +959,17 @@ function TaskListInner({
|
|
|
968
959
|
disabled: isPciTaskDisabled,
|
|
969
960
|
info: isPciTaskDisabled && !canDownloadPci ? i18n.get("requiresDecisionMakers") : void 0
|
|
970
961
|
}
|
|
962
|
+
),
|
|
963
|
+
showServiceAgreementTask && /* @__PURE__ */ jsx(
|
|
964
|
+
TaskListItem,
|
|
965
|
+
{
|
|
966
|
+
onNavigateToTask: handleOnNavigateToServiceAgreement,
|
|
967
|
+
icon: "contract",
|
|
968
|
+
titleKey: "signServiceAgreement",
|
|
969
|
+
disabled: areServiceAgreementTasksDisabled,
|
|
970
|
+
status: serviceAgreementTypes.length ? TaskStatus.SIGN : TaskStatus.SIGNED,
|
|
971
|
+
info: EnableSignPCIBeforeTOS && shouldSignPciFirst ? i18n.get("signPciFirst") : !hasServiceAgreementSigners ? i18n.get("requiresSignatory") : void 0
|
|
972
|
+
}
|
|
971
973
|
)
|
|
972
974
|
] }),
|
|
973
975
|
isReview && /* @__PURE__ */ jsx(TaskListGroup, { title: i18n.get("pleaseEnsureTheFollowing"), children: /* @__PURE__ */ jsx(
|
|
@@ -3368,71 +3370,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3368
3370
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3369
3371
|
};
|
|
3370
3372
|
const Introduction = lazy(
|
|
3371
|
-
async () => (await import("./Introduction-
|
|
3373
|
+
async () => (await import("./Introduction-BifK4Csi.js")).Introduction
|
|
3372
3374
|
);
|
|
3373
3375
|
const BusinessTypeSelectionPage = lazy(
|
|
3374
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3376
|
+
async () => (await import("./BusinessTypeSelectionPage-D3fUNn7f.js")).BusinessTypeSelectionPage
|
|
3375
3377
|
);
|
|
3376
3378
|
const SingpassSelection = lazy(
|
|
3377
|
-
async () => (await import("./SingpassSelection-
|
|
3379
|
+
async () => (await import("./SingpassSelection-BnbLViNx.js")).SingpassSelection
|
|
3378
3380
|
);
|
|
3379
3381
|
const AccountSetupRejected = lazy(
|
|
3380
|
-
async () => (await import("./AccountSetupRejected-
|
|
3382
|
+
async () => (await import("./AccountSetupRejected-D-gXso-m.js")).AccountSetupRejected
|
|
3381
3383
|
);
|
|
3382
3384
|
const DecisionMakers = lazy(
|
|
3383
|
-
async () => (await import("./DecisionMakers-
|
|
3385
|
+
async () => (await import("./DecisionMakers-CX22Ap-u.js")).DecisionMakers
|
|
3384
3386
|
);
|
|
3385
3387
|
const CustomerSupport = lazy(
|
|
3386
|
-
async () => (await import("./CustomerSupport-
|
|
3388
|
+
async () => (await import("./CustomerSupport-zKf2s-8D.js")).CustomerSupport
|
|
3387
3389
|
);
|
|
3388
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3390
|
+
const Review = lazy(async () => (await import("./Review-BtJMQZDF.js")).Review);
|
|
3389
3391
|
const SignPCIComponent = lazy(
|
|
3390
|
-
async () => (await import("./SignPCIComponent-
|
|
3392
|
+
async () => (await import("./SignPCIComponent-CpPSrDnv.js")).SignPCIComponent
|
|
3391
3393
|
);
|
|
3392
3394
|
const AcceptTermsOfService = lazy(
|
|
3393
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3395
|
+
async () => (await import("./AcceptTermsOfServiceComponent-CmtjlLkc.js")).AcceptTermsOfServiceComponent
|
|
3394
3396
|
);
|
|
3395
3397
|
const TaxReportingDropin = lazy(
|
|
3396
|
-
async () => (await import("./TaxReportingDropin-
|
|
3398
|
+
async () => (await import("./TaxReportingDropin-DxckPuwa.js")).TaxReportingDropin
|
|
3397
3399
|
);
|
|
3398
3400
|
const PayoutDetailsPage = lazy(
|
|
3399
|
-
async () => (await import("./
|
|
3401
|
+
async () => (await import("./StoreProvider-CairIABM.js").then((n) => n.eu)).PayoutDetailsPage
|
|
3400
3402
|
);
|
|
3401
3403
|
const RootBusinessDetailsPage = lazy(
|
|
3402
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3404
|
+
async () => (await import("./RootBusinessDetailsPage-WN5nZDvo.js")).RootBusinessDetailsPage
|
|
3403
3405
|
);
|
|
3404
3406
|
const SoleProprietorshipPage = lazy(
|
|
3405
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3407
|
+
async () => (await import("./SoleProprietorshipPage-IcvPd-nL.js")).SoleProprietorshipPage
|
|
3406
3408
|
);
|
|
3407
3409
|
const TrustMemberCompanyPage = lazy(
|
|
3408
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3410
|
+
async () => (await import("./TrustMemberCompanyPage-mOFqP6NS.js")).TrustMemberCompanyPage
|
|
3409
3411
|
);
|
|
3410
3412
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3411
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3413
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-B8uzg9KK.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3412
3414
|
);
|
|
3413
3415
|
const BusinessFinancingPage = lazy(
|
|
3414
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3416
|
+
async () => (await import("./BusinessFinancingPage-BUaBk8uq.js")).BusinessFinancingPage
|
|
3415
3417
|
);
|
|
3416
3418
|
const TrustDetailsPage = lazy(
|
|
3417
|
-
async () => (await import("./TrustDetailsPage-
|
|
3419
|
+
async () => (await import("./TrustDetailsPage-C0SUQFV-.js")).TrustDetailsPage
|
|
3418
3420
|
);
|
|
3419
3421
|
const SourceOfFundsPage = lazy(
|
|
3420
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3422
|
+
async () => (await import("./SourceOfFundsPage-CCv1L9it.js")).SourceOfFundsPage
|
|
3421
3423
|
);
|
|
3422
3424
|
const RootIndividualDetailsPage = lazy(
|
|
3423
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3425
|
+
async () => (await import("./RootIndividualDetailsPage-CVSrwRCQ.js")).RootIndividualDetailsPage
|
|
3424
3426
|
);
|
|
3425
3427
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3426
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3428
|
+
async () => (await import("./LegalRepresentativeDetailsPage-VLBt7NDI.js")).LegalRepresentativeDetailsPage
|
|
3427
3429
|
);
|
|
3428
3430
|
const TrustMemberIndividualPage = lazy(
|
|
3429
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3431
|
+
async () => (await import("./TrustMemberIndividualPage-BGJsBZEr.js")).TrustMemberIndividualPage
|
|
3430
3432
|
);
|
|
3431
3433
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3432
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3434
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-CogP3uSQ.js")).UnincorporatedPartnershipIndividualPage
|
|
3433
3435
|
);
|
|
3434
3436
|
const DecisionMakerDetailsPage = lazy(
|
|
3435
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3437
|
+
async () => (await import("./DecisionMakerDetailsPage-DqlS3Pit.js")).DecisionMakerDetailsPage
|
|
3436
3438
|
);
|
|
3437
3439
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
3438
3440
|
const logger = createLogger();
|
|
@@ -3669,7 +3671,7 @@ function DropinComposer({
|
|
|
3669
3671
|
}
|
|
3670
3672
|
switch (currentTask) {
|
|
3671
3673
|
case TaskTypes.BUSINESS_TYPE_SELECTION:
|
|
3672
|
-
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-display-flex adyen-kyc-u-justify-content-center
|
|
3674
|
+
return /* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-display-flex adyen-kyc-u-justify-content-center", children: /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
3673
3675
|
BusinessTypeSelectionPage,
|
|
3674
3676
|
{
|
|
3675
3677
|
onComplete: async (newAccountHolder) => {
|
|
@@ -2,22 +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] = "a08af0fc-9f0f-49d8-972b-2d5c669ddf33", e._sentryDebugIdIdentifier = "sentry-dbid-a08af0fc-9f0f-49d8-972b-2d5c669ddf33");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as useLegalEntity, R as ROOT_LE, a_ as getCapabilityProblems, g as getLegalEntityCountry, p as useApiContext, q as useQuery, b6 as httpPost, a4 as useExperimentsContext, al as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, aY as TrustedFieldsProvider, b7 as individualComponentsKeyMapping, b8 as businessDetailsComponentsKeyMapping, b as useI18nContext, Y as Button, b9 as Svg } from "./StoreProvider-BSkziuJ9.js";
|
|
11
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
+
import { p as useApiContext, q as useQuery, bh as httpPost, a5 as useExperimentsContext, g as getLegalEntityCountry, an as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, a$ as TrustedFieldsProvider, bj as individualComponentsKeyMapping, bk as businessDetailsComponentsKeyMapping, b as useI18nContext, Y as Button, bl as Svg } from "./StoreProvider-CairIABM.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
const useCapabilityProblems = () => {
|
|
14
|
-
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
15
|
-
return rootLegalEntity ? getCapabilityProblems(rootLegalEntity, getLegalEntityCountry(rootLegalEntity)) : void 0;
|
|
16
|
-
};
|
|
17
|
-
const getProblemsForEntity = (capabilityProblems, entityType, entityId) => {
|
|
18
|
-
var _a;
|
|
19
|
-
return (_a = capabilityProblems[entityType]) == null ? void 0 : _a[entityId];
|
|
20
|
-
};
|
|
21
13
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
22
14
|
const response = await Promise.resolve(openIdInitiateResponse);
|
|
23
15
|
const item = { authUrl: response.authUrl, success: true };
|
|
@@ -244,7 +236,5 @@ const ProviderButton = ({
|
|
|
244
236
|
};
|
|
245
237
|
export {
|
|
246
238
|
ProviderButton as P,
|
|
247
|
-
useSingpassMyInfoLogin as
|
|
248
|
-
getProblemsForEntity as g,
|
|
249
|
-
useCapabilityProblems as u
|
|
239
|
+
useSingpassMyInfoLogin as u
|
|
250
240
|
};
|
|
@@ -2,16 +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] = "bc588554-4164-4120-8d16-7e9d03269407", e._sentryDebugIdIdentifier = "sentry-dbid-bc588554-4164-4120-8d16-7e9d03269407");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext,
|
|
13
|
-
import {
|
|
14
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-CXM4ne0C.js";
|
|
12
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, b as useI18nContext, a4 as useToastContext, a1 as LoaderWrapper, F as FormHeader, bG as Checkbox, aO as ActionBar } from "./StoreProvider-CairIABM.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-O5G-8Wpl.js";
|
|
15
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
16
15
|
return httpPost({
|
|
17
16
|
baseUrl,
|
|
@@ -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] = "344de5f2-302c-4d75-a3de-2cce08298070", e._sentryDebugIdIdentifier = "sentry-dbid-344de5f2-302c-4d75-a3de-2cce08298070");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, L as Loader, G as isPartOfTrustFromLegalEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import {
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BTgBn9DK.js";
|
|
11
|
+
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, aa as useCapabilityProblems, L as Loader, G as isPartOfTrustFromLegalEntity, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-CairIABM.js";
|
|
12
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-D7bmlCWL.js";
|
|
14
13
|
const RootBusinessDetailsPage = ({
|
|
15
14
|
isTargetLegalEntityType = false,
|
|
16
15
|
onSubmit,
|
package/dist/{RootIndividualDetailsPage-_Ay6SL3f.js → RootIndividualDetailsPage-CVSrwRCQ.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] = "736e3683-fb54-4e4a-9661-b3e563e67265", e._sentryDebugIdIdentifier = "sentry-dbid-736e3683-fb54-4e4a-9661-b3e563e67265");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, 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, R as ROOT_LE, aa as useCapabilityProblems, a5 as useExperimentsContext, P as useAccountHolder, L as Loader, g as getLegalEntityCountry, G as isPartOfTrustFromLegalEntity, 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 RootIndividualDetailsPage({
|
|
15
14
|
asModal = false,
|
|
16
15
|
hideSidebar = false,
|
|
@@ -2,21 +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] = "34082128-12ab-4d55-86a9-aa38032342e7", e._sentryDebugIdIdentifier = "sentry-dbid-34082128-12ab-4d55-86a9-aa38032342e7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery,
|
|
12
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-B7hrFdPk.js";
|
|
16
|
-
import { F as FormEndState } from "./FormEndState-HM9-Iybg.js";
|
|
11
|
+
import { p as useApiContext, q as useQuery, bh as httpPost, be as useInvalidateRootLegalEntity, bf as useMutation, ao as isEmpty, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, at as useForm, by as getOwnDecisionMakers, y as LegalEntityType, W as TaskTypes, bH as MaybeModal, b4 as ModalContent, Y as Button, a1 as LoaderWrapper, ay as Field, bI as Select, bG as Checkbox, b6 as ModalFooter, b7 as Spacer, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-CairIABM.js";
|
|
12
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-a9NvV0WH.js";
|
|
13
|
+
import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-fPv7fuFx.js";
|
|
14
|
+
import { F as FormEndState } from "./FormEndState-DL_XVLTU.js";
|
|
17
15
|
import { useState, useCallback, useEffect } from "preact/hooks";
|
|
18
|
-
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-BHaVFSLN.js";
|
|
20
16
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
21
17
|
return httpPost(
|
|
22
18
|
{
|
|
@@ -180,7 +176,7 @@ function PciDropin({
|
|
|
180
176
|
{
|
|
181
177
|
name: "signer",
|
|
182
178
|
label: i18n.get("signer"),
|
|
183
|
-
classNameModifiers: ["col-50"],
|
|
179
|
+
classNameModifiers: ["signer", "col-50"],
|
|
184
180
|
className: "adyen-kyc-u-margin-y-32",
|
|
185
181
|
errorMessage: (_c = errors.signer) == null ? void 0 : _c.errorMessage,
|
|
186
182
|
isValid: valid.signer,
|
|
@@ -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] = "1fdd3681-341d-4eb7-b63c-c1dfff2cb51d", e._sentryDebugIdIdentifier = "sentry-dbid-1fdd3681-341d-4eb7-b63c-c1dfff2cb51d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext,
|
|
12
|
+
import { b as useI18nContext, at as useForm, C as Typography, ay as Field, aB as RadioGroupCard, Y as Button, bl as Svg, y as LegalEntityType } from "./StoreProvider-CairIABM.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -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] = "024fd920-b434-494a-b05a-a8792281cd0a", e._sentryDebugIdIdentifier = "sentry-dbid-024fd920-b434-494a-b05a-a8792281cd0a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, w as skipToken, L as Loader, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import {
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BTgBn9DK.js";
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, w as skipToken, aa as useCapabilityProblems, L as Loader, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-CairIABM.js";
|
|
12
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-D7bmlCWL.js";
|
|
14
13
|
function SoleProprietorshipPage({
|
|
15
14
|
solePropId,
|
|
16
15
|
isTargetLegalEntityType = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, X as TaskStatus } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, X as TaskStatus } from "./StoreProvider-CairIABM.js";
|
|
13
13
|
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
14
|
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
15
|
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|