@adyen/kyc-components 3.79.0-beta.9 → 3.80.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BtDbLa_E.js → AcceptTermsOfServiceComponent-DBSkKRHS.js} +7 -7
- package/dist/{AccountSetupRejected-CcEP6pSK.js → AccountSetupRejected-gAGWuJ9N.js} +6 -6
- package/dist/{Avatar-CIGV_SS9.js → Avatar-5RObc8Yd.js} +2 -2
- package/dist/{BusinessDetailsDropin-DLYZERBF.js → BusinessDetailsDropin-O92NE-y1.js} +132 -144
- package/dist/{BusinessFinancingComponent-B0-te_Xu.js → BusinessFinancingComponent-DDKomenp.js} +3 -3
- package/dist/{BusinessFinancingDropin-B4_rfH9-.js → BusinessFinancingDropin-Bhg9neRS.js} +135 -97
- package/dist/{BusinessFinancingPage-CrrXzA0g.js → BusinessFinancingPage-DyItV5SR.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-D8xVIVhb.js → BusinessTypeSelectionPage-DmjbM57I.js} +47 -76
- package/dist/{ContractViewer-UYqTJdeu.js → ContractViewer-DBW5C6kA.js} +2 -2
- package/dist/{CreateIndividualComponent-XvZnVu7B.js → CreateIndividualComponent-c8yAn2_J.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BgYVNCFm.js → CreateTransferInstrumentComponent-BF-KFdjU.js} +5 -5
- package/dist/{CustomerSupport-CYFiNKxp.js → CustomerSupport-rSYElbVr.js} +10 -10
- package/dist/{DebugModal-D3MJ4glT.js → DebugModal-BTr0idCC.js} +12 -226
- package/dist/{DecisionMakerDetailsPage-CbEA4IVc.js → DecisionMakerDetailsPage-DQcWSwTb.js} +4 -4
- package/dist/DecisionMakers-C2awPhE6.js +478 -0
- package/dist/{EmbeddedStatus-90fvG4vd.js → EmbeddedStatus-COKtxNW-.js} +13 -13
- package/dist/{FormEndState-n1UQXu_s.js → FormEndState-BmDRa3zJ.js} +4 -3
- package/dist/{FormFlow-DJAJpY63.js → FormFlow-CNxGh4Yu.js} +3 -3
- package/dist/{IndividualOnfidoDropin-UnR6_lSH.js → IndividualOnfidoDropin-DUzjucM9.js} +217 -188
- package/dist/{Introduction-DF3A8V4n.js → Introduction-BEM_wmkj.js} +24 -26
- package/dist/{ProviderButton-C0l7gpNQ.js → LandingLayout-DyY0Exht.js} +91 -83
- package/dist/{LegalRepresentativeDetailsPage-BVyxsmeu.js → LegalRepresentativeDetailsPage-1tw_BPLr.js} +4 -4
- package/dist/{ManageIndividualComponent-CgoC5kz6.js → ManageIndividualComponent-B0y8wd24.js} +6 -6
- package/dist/{ManageTermsOfServiceComponent-Csey0WTR.js → ManageTermsOfServiceComponent-DJVDf-iH.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-Cl1QWiGy.js → ManageTransferInstrumentComponent-DF4Q8oEB.js} +6 -6
- package/dist/{OnboardingDropinComponent-CMrZ3LMb.js → OnboardingDropinComponent-B0Sj7qf1.js} +366 -208
- package/dist/{Review-CzahUVPw.js → Review-C4HOjR6y.js} +11 -11
- package/dist/RootBusinessDetailsPage-DeqKfOFX.js +1848 -0
- package/dist/{RootIndividualDetailsPage-BWTT7m_R.js → RootIndividualDetailsPage-CKOquQ0-.js} +4 -4
- package/dist/{SignPCIComponent-BQNUvb0U.js → SignPCIComponent-Cx8oL8wu.js} +6 -6
- package/dist/{SingpassSelection-XgZwkWE1.js → SingpassSelection-BJNZw1u-.js} +11 -11
- package/dist/{SoleProprietorshipPage-By5_23ht.js → SoleProprietorshipPage-Dtw3XHVJ.js} +4 -4
- package/dist/{SourceOfFundsPage-CDGfbVu5.js → SourceOfFundsPage-gPmK4QX6.js} +28 -20
- package/dist/{StoreProvider-D6PzfyGo.js → StoreProvider-DhQ4sdLg.js} +5809 -5424
- package/dist/{TaskItemStatus-FSfcOG5a.js → TaskItemStatus-Cxcag2AH.js} +23 -23
- package/dist/TaskStatusIndicator-B5fp8LzR.js +69 -0
- package/dist/{TaxReportingDropin-B7TEo7Kn.js → TaxReportingDropin-CbDYoO31.js} +8 -7
- package/dist/{TileGroup-rR4DgKfb.js → TileGroup-BkLtnLiA.js} +2 -2
- package/dist/{TrustDetailsPage-DPBPQVSn.js → TrustDetailsPage-DktRQRum.js} +38 -14
- package/dist/{TrustMemberCompanyPage-B_TShwlL.js → TrustMemberCompanyPage-CLTOpWzU.js} +5 -5
- package/dist/{TrustMemberIndividualPage-BgQBZEcL.js → TrustMemberIndividualPage-wPh86-GQ.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-DHcH33Db.js → UnincorporatedPartnershipIndividualPage-B-2i68Nd.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BTklC9NY.js → UnincorporatedPartnershipMemberCompanyPage-DWLczj6F.js} +4 -4
- package/dist/{VerificationErrorAlert-BrW_bMo4.js → VerificationErrorAlert-AbvM4lbK.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-4QUIn73E.js → ViewVerificationStatusComponent-vVZeXYDs.js} +14 -12
- package/dist/adyen-business-financing.js +8 -12
- package/dist/adyen-individual.js +6 -4
- package/dist/adyen-kyc-components.js +143 -124
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +3 -3
- package/dist/adyen-manage-transfer-instruments.js +3 -3
- package/dist/adyen-onboarding.js +14 -6
- package/dist/adyen-terms-of-service.js +18 -6
- package/dist/adyen-transfer-instrument.js +10 -6
- package/dist/adyen-verification-status.js +2 -2
- package/dist/bag-DpxmyXfR.js +14 -0
- package/dist/business-lines-DboUCbXw.js +135 -0
- package/dist/decision-makers-group-CgddXgrx.js +1944 -0
- package/dist/en-US-CQ3angjM.js +22 -0
- package/dist/{getFieldsWithExistingData-nHjOwfDp.js → getFieldsWithExistingData-BS9W6RQp.js} +2 -2
- package/dist/{hasDataChanged-C8mesP2r.js → hasDataChanged-DK74H0sZ.js} +2 -2
- package/dist/{localizeDateString-BUxfnxIU.js → localizeDateString-C34eXZqY.js} +2 -2
- package/dist/mail-Z_IE_hkw.js +14 -0
- package/dist/{mapFinancialReportsToFinancialInformation-CYeTa8E1.js → mapFinancialReportsToFinancialInformation-DoJu-RRw.js} +2 -2
- package/dist/pay-by-link-plane-Pv7Babgn.js +22 -0
- package/dist/{resolveEnvironment-sH8SYGuY.js → resolveEnvironment-rJv_NJF_.js} +3 -3
- package/dist/{rules-CbVhdTWA.js → rules-OP83mdq4.js} +13 -13
- package/dist/solution-payments-DTAuLSWF.js +14 -0
- package/dist/style.css +218 -181
- package/dist/styles-CLV89_hH.js +218 -181
- package/dist/terminal-1-ewywjFJI.js +18 -0
- package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +4 -8
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +2 -3
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +25 -24
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +10 -10
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -306
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +9 -0
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +10 -0
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -2
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +5 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +14 -0
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +3 -0
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +4 -0
- package/dist/types/components/Business/forms/forms.types.d.ts +14 -0
- package/dist/types/components/Business/forms/rules.d.ts +26 -8
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -1
- package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -3
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +18 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +5 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +21 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/validate.d.ts +22 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +3 -3
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLinesGettingStarted/BusinessLinesGettingStarted.d.ts +6 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1 -306
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +22 -19
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +5 -5
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +6 -0
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +8 -8
- package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +18 -18
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +3 -2
- 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 +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +4 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +3 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +3 -3
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +7 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersGettingStarted.d.ts +5 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersModalContent.d.ts +1 -0
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +4 -4
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/constants.d.ts +3 -3
- package/dist/types/components/Shared/Introduction/copy.d.ts +6 -5
- package/dist/types/components/Shared/Introduction/types.d.ts +11 -11
- package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +5 -7
- 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 +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -3
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +27 -27
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultRegistrationNumberType.d.ts +16 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultVatNumberType.d.ts +13 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -3
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +3 -7
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +2 -4
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +11 -10
- package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +3 -0
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +7 -5
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +2 -4
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -2
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
- package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/CompanyTrustMemberTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/ExemptSettlorTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/RegularTrustMemberTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/RootTrusteeTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +6 -6
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +7 -6
- package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +6 -6
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +5 -5
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +16 -0
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +14 -0
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -1
- package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +3 -2
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
- package/dist/types/constants/keys.d.ts +2 -0
- package/dist/types/context/ExperimentContext/types.d.ts +49 -37
- package/dist/types/context/SettingsContext/types.d.ts +24 -24
- package/dist/types/core/models/api/company-types-value.d.ts +12 -11
- package/dist/types/core/models/api/decision-maker-type.d.ts +7 -6
- package/dist/types/core/models/api/entity-type.d.ts +5 -4
- package/dist/types/core/models/api/get-scenarios.d.ts +18 -18
- package/dist/types/core/models/api/individual.d.ts +1 -0
- package/dist/types/core/models/api/legal-arrangement.d.ts +2 -2
- package/dist/types/core/models/api/legal-entity-association.d.ts +2 -2
- package/dist/types/core/models/api/legal-entity-type.d.ts +8 -7
- package/dist/types/core/models/api/trust-member-type.d.ts +8 -8
- package/dist/types/core/models/api/trusted-fields-provider.d.ts +5 -4
- package/dist/types/core/models/api/unincorporated-partnership.d.ts +6 -6
- package/dist/types/core/models/api/verification-error.d.ts +8 -7
- package/dist/types/core/models/api/verification-status.d.ts +7 -6
- package/dist/types/core/models/api/view-verification-status.d.ts +8 -7
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +6 -1
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +6 -1
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +1 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +4 -1
- package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +7 -1
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +2 -1
- package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +7 -2
- package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +4 -4
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +7 -6
- package/dist/types/hooks/useBusinessSetup.d.ts +11 -10
- package/dist/types/hooks/useDataMissingRemediations.d.ts +2 -2
- package/dist/types/hooks/useFormComposer.d.ts +1 -1
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -3
- package/dist/types/hooks/useLegalEntityType.d.ts +1 -1
- package/dist/types/hooks/useMultiForm/types.d.ts +38 -36
- package/dist/types/hooks/useMultiForm/useMultiForm.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
- package/dist/types/language/Language.d.ts +1 -0
- package/dist/types/language/utils.d.ts +11 -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 +2 -2
- package/dist/types/stores/globalStore/globalStore.d.ts +7 -7
- package/dist/types/stores/globalStore/taskStatus.d.ts +17 -16
- package/dist/types/stores/globalStore/taskTypes.d.ts +37 -35
- package/dist/types/types/datasets/country-code.d.ts +249 -249
- package/dist/types/types/datasets/currency.d.ts +25 -25
- package/dist/types/types/datasets/province-code.d.ts +46 -46
- package/dist/types/types/datasets/state-code.d.ts +84 -84
- package/dist/types/types/errors/entity-problems.d.ts +3 -4
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
- package/dist/types/utils/birthDateUtils.d.ts +3 -3
- package/dist/types/utils/decisionMaker.d.ts +4 -3
- package/dist/types/utils/decisionMakerRoles.d.ts +4 -3
- package/dist/types/utils/entityAssociationUtil.d.ts +4 -5
- package/dist/types/utils/entityStatusUtil.d.ts +3 -3
- package/dist/types/utils/formUtils.d.ts +2 -2
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getName.d.ts +2 -2
- package/dist/types/utils/makeSelectItemForRole.d.ts +2 -2
- package/dist/types/utils/regex/patternValidators.d.ts +1 -0
- package/dist/types/utils/roleMetadata.d.ts +3 -3
- package/dist/types/utils/translation.d.ts +40 -0
- package/dist/{useMultiForm-DEOL8O6Q.js → useMultiForm-ChxUZ4e7.js} +10 -5
- package/dist/{useOnboardingStatus-BSZeiaAC.js → useOnboardingStatus-1BQlEPEi.js} +2 -2
- package/dist/{useTermsOfServiceStatus-B9zuE6yV.js → useTermsOfServiceStatus-BaVCmUdo.js} +2 -2
- package/dist/{useUpdateLegalEntity-Bs2tKEPC.js → useUpdateLegalEntity-LE_Kt3am.js} +2 -2
- package/dist/{utils-WopSF2zY.js → utils-DmcbDJEd.js} +17 -17
- package/dist/{validate-D40HSgPc.js → validate-B2VmmEPC.js} +2 -2
- package/dist/{validate-D2R8_9ew.js → validate-D66zPhDG.js} +2 -2
- package/dist/view-verification-status-VFcBydkR.js +21 -0
- package/package.json +5 -30
- package/dist/DecisionMakers-DCU9mFe8.js +0 -217
- package/dist/LandingLayout-DIrahoMq.js +0 -139
- package/dist/ManagePCIComponent-sKP7Mgeo.js +0 -33
- package/dist/RootBusinessDetailsPage-CA5r2xq3.js +0 -42
- package/dist/_plugin-vue_export-helper-CgYpM5kA.js +0 -19
- package/dist/adyen-manage-pci.js +0 -48
- package/dist/adyen-sign-pci.js +0 -62
- package/dist/adyen-terms-of-service.vue_vue_type_script_lang-BD4hndWg.js +0 -42
- package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-BE-ro1iH.js +0 -53
- package/dist/css-Di2ysu56.js +0 -24
- package/dist/json-x8T3RzUR.js +0 -31
- package/dist/plaintext-D3Ww_aF9.js +0 -17
- package/dist/preact/adyen-individual.js +0 -15
- package/dist/preact/adyen-manage-individual.js +0 -15
- package/dist/preact/adyen-terms-of-service.js +0 -16
- package/dist/preact/adyen-transfer-instrument.js +0 -16
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationDisclaimer/IdVerificationDisclaimer.d.ts +0 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationHeader/IdVerificationHeader.d.ts +0 -1
- package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +0 -3
- package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +0 -3
- package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +0 -12
- package/dist/types/embeds/manage-pci/adyen-manage-pci.d.ts +0 -1
- package/dist/types/embeds/manage-pci/adyen-manage-pci.types.d.ts +0 -39
- package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +0 -15
- package/dist/types/embeds/sign-pci/adyen-sign-pci.d.ts +0 -1
- package/dist/types/embeds/sign-pci/adyen-sign-pci.types.d.ts +0 -43
- package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +0 -3
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +0 -3
- package/dist/useSalesChannelsSettings-CuQ0ULoa.js +0 -51
- package/dist/view-verification-status-DTkA8PtO.js +0 -20
- package/dist/vue/adyen-individual.js +0 -53
- package/dist/vue/adyen-manage-individual.js +0 -56
- package/dist/vue/adyen-terms-of-service.js +0 -28
- package/dist/vue/adyen-transfer-instrument.js +0 -30
- package/dist/yaml-BMoCIv2z.js +0 -22
|
@@ -2,100 +2,21 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bd489f5a-f828-4e74-b467-14801ad8ec50", e._sentryDebugIdIdentifier = "sentry-dbid-bd489f5a-f828-4e74-b467-14801ad8ec50");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
-
import { useState, useEffect, useRef,
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
16
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
11
|
+
import { u as useI18nContext, dx as MemoizedDocumentUpload, G as Button, bc as Modal, be as ModalContent, N as Typography, as as CountryCodes, Y as CompanyTypesValues, e$ as useGlobalData, eR as getForms, $ as TaskTypes, f0 as BasicInformation, dr as getFormProps, f1 as CompanyStructure, f2 as AdditionalInformation, eL as MemoizedConstitutionalDocument, O as LegalEntityTypes, eK as FinancialInformation, cg as getDocument, ch as mapExistingFile, ci as getPageName, bA as formatObject, bm as entriesOf, b8 as businessDetailsComponentsKeyMapping, f3 as solePropBusinessDetailsKeyMapping, f4 as getDefaultRegistrationNumberType, f5 as getDefaultVatNumberType, b3 as objectsDeepEqual, dZ as operationalAddressIsSameIds, eN as COUNTRIES_USING_COMPANY_SEARCH, f6 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dg as keysOf, i as isUndefinedOrNull, dK as isDateOlderThanAYear, aN as summaryItem, f7 as solePropBusinessDetailsApiKeyMapping, e_ as businessDetailsApiKeyMapping, f8 as isRegistrationNumberAbsentStateV4Scenario, dh as isEmpty, f9 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cl as createDocumentRequest, ba as datasetUtilities, cG as mapAddressLabels, eJ as companyTypeMetadata, a0 as createLogger, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, fa as getProp, at as isEmpty$1, fb as documentFormsIds, av as resolveFieldMetadata, e7 as registrationNumberDefaultFieldMetadata, fc as inferCompanyRegistrationNumberType, fd as getCompanyRegistrationNumberOptions, e8 as registrationNumberDefaultFieldConfig, cb as taxInformationDefaultFieldMetadata, fe as countryToTaxInfoTypeMap, cc as taxInformationDefaultFieldConfig, ff as getKeyForField, co as drop, ao as getOwnEntityAssociations, cP as doArraysMatch, cL as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dU as verifiedBusiness, br as useQueryClient, fg as useStateContext, w as SettingNames, fh as setIsBankAccountRequestedForOrganization, bP as getAssociatedLeAnalyticsPayload, bb as getCapabilityProblems, cp as documentApiUtils, cD as composePerScenarioFormConfigurations, cx as useScenarioConfiguration, eV as rules, cy as getPropsFromConfigurations, eW as useCompanySearch, fi as useCompanySelection, eX as useVerifyTin, bQ as getRequiredForms, bR as addValidityToForms, fj as useClearCompanyData, bS as useFormComposer, fk as setVerifiedBusiness, fl as FormWrapper, bi as Confirm, fm as solePropBusinessDetailsDocumentMapping, eZ as businessDetailsDocumentMapping } from "./StoreProvider-DhQ4sdLg.js";
|
|
12
|
+
import { useState, useEffect, useRef, useMemo, useCallback } from "preact/hooks";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-LE_Kt3am.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-DK74H0sZ.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DmcbDJEd.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BS9W6RQp.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-DoJu-RRw.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
|
-
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
21
|
-
return httpPost({
|
|
22
|
-
baseUrl,
|
|
23
|
-
path: `legalEntities/${legalEntityId}/companyDataset/clearCompanyData`
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
const useClearCompanyData = (options) => {
|
|
27
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
28
|
-
return useMutation({
|
|
29
|
-
mutationFn: () => {
|
|
30
|
-
return clearCompanyData(rootLegalEntityId.value, baseUrl.value);
|
|
31
|
-
},
|
|
32
|
-
retry: 0,
|
|
33
|
-
...options
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
const useCompanySearch = (data, options) => {
|
|
37
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
38
|
-
return useQuery({
|
|
39
|
-
queryKey: ["companySearch", data],
|
|
40
|
-
queryFn: () => handleCompanySearch(rootLegalEntityId.value, baseUrl.value, data),
|
|
41
|
-
// TODO: Remove this once Moody's resolves & bug
|
|
42
|
-
select: (data2) => {
|
|
43
|
-
const transformedResults = data2.results.map((item) => ({
|
|
44
|
-
...item,
|
|
45
|
-
name: item.name.replaceAll("&", "&")
|
|
46
|
-
}));
|
|
47
|
-
return {
|
|
48
|
-
results: transformedResults
|
|
49
|
-
};
|
|
50
|
-
},
|
|
51
|
-
retry: 0,
|
|
52
|
-
...options
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
const handleCompanySearch = async (rootLegalEntityId, baseUrl, data) => {
|
|
56
|
-
const requestPayload = {
|
|
57
|
-
text: data.registrationNumber ? data.registrationNumber : data.name,
|
|
58
|
-
country: data.country,
|
|
59
|
-
state: data.state,
|
|
60
|
-
limit: data.limit ?? 15
|
|
61
|
-
};
|
|
62
|
-
const searchRequest = async (path) => {
|
|
63
|
-
return httpPost(
|
|
64
|
-
{
|
|
65
|
-
baseUrl,
|
|
66
|
-
path: `legalEntities/${rootLegalEntityId}/companySearch${path ? "/" + path : ""}`
|
|
67
|
-
},
|
|
68
|
-
requestPayload
|
|
69
|
-
);
|
|
70
|
-
};
|
|
71
|
-
const companyDeepSearch = async () => await searchRequest("deep");
|
|
72
|
-
const companyIndexSearch = async () => await searchRequest();
|
|
73
|
-
const companyRegistrationNumberDeepSearch = async () => await searchRequest("deepSearchByRegistrationNumber");
|
|
74
|
-
const companyRegistrationNumberIndexSearch = async () => await searchRequest("searchByRegistrationNumber");
|
|
75
|
-
const primarySourceSearch = async (indexSearch, deepSearch) => {
|
|
76
|
-
let response;
|
|
77
|
-
try {
|
|
78
|
-
response = await deepSearch();
|
|
79
|
-
} catch {
|
|
80
|
-
response = await indexSearch();
|
|
81
|
-
}
|
|
82
|
-
return response;
|
|
83
|
-
};
|
|
84
|
-
const searchByRegistrationNumber = async () => {
|
|
85
|
-
return KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS.includes(data.state) ? await companyRegistrationNumberIndexSearch() : await primarySourceSearch(
|
|
86
|
-
companyRegistrationNumberIndexSearch,
|
|
87
|
-
companyRegistrationNumberDeepSearch
|
|
88
|
-
);
|
|
89
|
-
};
|
|
90
|
-
const searchByCompanyName = async () => {
|
|
91
|
-
return KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS.includes(data.state) ? await companyIndexSearch() : await primarySourceSearch(companyIndexSearch, companyDeepSearch);
|
|
92
|
-
};
|
|
93
|
-
if (data.registrationNumber) {
|
|
94
|
-
const registrationNumberResponse = await searchByRegistrationNumber();
|
|
95
|
-
return registrationNumberResponse.results.length > 0 ? registrationNumberResponse : await searchByCompanyName();
|
|
96
|
-
}
|
|
97
|
-
return await searchByCompanyName();
|
|
98
|
-
};
|
|
99
20
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
100
21
|
const toNormalizedString = (s) => stripWhitespace(s.toLowerCase());
|
|
101
22
|
const isNormalizedStringMatch = (s1, s2) => toNormalizedString(s1) === toNormalizedString(s2);
|
|
@@ -300,7 +221,7 @@ function ProofOfSignatoryDocument({
|
|
|
300
221
|
const ACCEPTED_DOCUMENTS_MAP$1 = {
|
|
301
222
|
[CountryCodes.PuertoRico]: {
|
|
302
223
|
// should exactly match CountryCodes.UnitedStates
|
|
303
|
-
[
|
|
224
|
+
[CompanyTypesValues.PRIVATE_COMPANY]: {
|
|
304
225
|
header: "acceptedDocumentsForPrivateCompanies",
|
|
305
226
|
documents: [
|
|
306
227
|
"certificateOfIncorporation",
|
|
@@ -308,19 +229,19 @@ const ACCEPTED_DOCUMENTS_MAP$1 = {
|
|
|
308
229
|
"secretaryOfStateFiling__PR"
|
|
309
230
|
]
|
|
310
231
|
},
|
|
311
|
-
[
|
|
232
|
+
[CompanyTypesValues.PUBLIC_COMPANY]: {
|
|
312
233
|
header: "acceptedDocumentsForPublicCompanies",
|
|
313
234
|
documents: ["certificateOfIncorporation", "certificateOfFormation"]
|
|
314
235
|
},
|
|
315
|
-
[
|
|
236
|
+
[CompanyTypesValues.UNLISTED_PUBLIC_COMPANY]: {
|
|
316
237
|
header: "acceptedDocumentsForPublicCompanies",
|
|
317
238
|
documents: ["certificateOfIncorporation", "certificateOfFormation"]
|
|
318
239
|
},
|
|
319
|
-
[
|
|
240
|
+
[CompanyTypesValues.GOVERNMENTAL_ORGANIZATION]: {
|
|
320
241
|
header: "acceptedDocumentsForGovernment",
|
|
321
242
|
documents: ["charter"]
|
|
322
243
|
},
|
|
323
|
-
[
|
|
244
|
+
[CompanyTypesValues.NON_PROFIT_OR_CHARITABLE]: {
|
|
324
245
|
header: "acceptedDocumentsForNonProfit",
|
|
325
246
|
documents: [
|
|
326
247
|
"articlesOfIncorporation",
|
|
@@ -329,29 +250,29 @@ const ACCEPTED_DOCUMENTS_MAP$1 = {
|
|
|
329
250
|
"certificateOfIncumbency"
|
|
330
251
|
]
|
|
331
252
|
},
|
|
332
|
-
[
|
|
253
|
+
[CompanyTypesValues.INCORPORATED_PARTNERSHIP]: {
|
|
333
254
|
header: "acceptedDocumentsForPartnerships",
|
|
334
255
|
documents: ["partnerShipAgreement", "secretaryOfStateFiling__PR"]
|
|
335
256
|
}
|
|
336
257
|
},
|
|
337
258
|
[CountryCodes.UnitedStates]: {
|
|
338
|
-
[
|
|
259
|
+
[CompanyTypesValues.PRIVATE_COMPANY]: {
|
|
339
260
|
header: "acceptedDocumentsForPrivateCompanies",
|
|
340
261
|
documents: ["certificateOfIncorporation", "certificateOfFormation", "secretaryOfStateFiling"]
|
|
341
262
|
},
|
|
342
|
-
[
|
|
263
|
+
[CompanyTypesValues.PUBLIC_COMPANY]: {
|
|
343
264
|
header: "acceptedDocumentsForPublicCompanies",
|
|
344
265
|
documents: ["certificateOfIncorporation", "certificateOfFormation"]
|
|
345
266
|
},
|
|
346
|
-
[
|
|
267
|
+
[CompanyTypesValues.UNLISTED_PUBLIC_COMPANY]: {
|
|
347
268
|
header: "acceptedDocumentsForPublicCompanies",
|
|
348
269
|
documents: ["certificateOfIncorporation", "certificateOfFormation"]
|
|
349
270
|
},
|
|
350
|
-
[
|
|
271
|
+
[CompanyTypesValues.GOVERNMENTAL_ORGANIZATION]: {
|
|
351
272
|
header: "acceptedDocumentsForGovernment",
|
|
352
273
|
documents: ["charter"]
|
|
353
274
|
},
|
|
354
|
-
[
|
|
275
|
+
[CompanyTypesValues.NON_PROFIT_OR_CHARITABLE]: {
|
|
355
276
|
header: "acceptedDocumentsForNonProfit",
|
|
356
277
|
documents: [
|
|
357
278
|
"articlesOfIncorporation",
|
|
@@ -360,7 +281,7 @@ const ACCEPTED_DOCUMENTS_MAP$1 = {
|
|
|
360
281
|
"certificateOfIncumbency"
|
|
361
282
|
]
|
|
362
283
|
},
|
|
363
|
-
[
|
|
284
|
+
[CompanyTypesValues.INCORPORATED_PARTNERSHIP]: {
|
|
364
285
|
header: "acceptedDocumentsForPartnerships",
|
|
365
286
|
documents: ["partnerShipAgreement", "secretaryOfStateFiling"]
|
|
366
287
|
}
|
|
@@ -392,7 +313,7 @@ const GuidanceContent$1 = ({
|
|
|
392
313
|
function RegistrationDocument({
|
|
393
314
|
id,
|
|
394
315
|
country,
|
|
395
|
-
companyType =
|
|
316
|
+
companyType = CompanyTypesValues.PRIVATE_COMPANY,
|
|
396
317
|
heading = "companyRegistrationDocumentFormHeading",
|
|
397
318
|
description = "companyRegistrationDocumentFormDescription",
|
|
398
319
|
...props
|
|
@@ -417,45 +338,45 @@ function RegistrationDocument({
|
|
|
417
338
|
const ACCEPTED_DOCUMENTS_MAP = {
|
|
418
339
|
[CountryCodes.PuertoRico]: {
|
|
419
340
|
// should exactly match CountryCodes.UnitedStates
|
|
420
|
-
[
|
|
341
|
+
[CompanyTypesValues.PRIVATE_COMPANY]: {
|
|
421
342
|
header: "acceptedDocumentsForPrivateCompanies",
|
|
422
343
|
documents: ["irsCP575"]
|
|
423
344
|
},
|
|
424
|
-
[
|
|
345
|
+
[CompanyTypesValues.PUBLIC_COMPANY]: {
|
|
425
346
|
header: "acceptedDocumentsForPublicCompanies",
|
|
426
347
|
documents: ["annualReport", "secForm10k"]
|
|
427
348
|
},
|
|
428
|
-
[
|
|
349
|
+
[CompanyTypesValues.UNLISTED_PUBLIC_COMPANY]: {
|
|
429
350
|
header: "acceptedDocumentsForPublicCompanies",
|
|
430
351
|
documents: ["annualReport", "secForm10k"]
|
|
431
352
|
},
|
|
432
|
-
[
|
|
353
|
+
[CompanyTypesValues.NON_PROFIT_OR_CHARITABLE]: {
|
|
433
354
|
header: "acceptedDocumentsForNonProfit",
|
|
434
355
|
documents: ["annualReport"]
|
|
435
356
|
},
|
|
436
|
-
[
|
|
357
|
+
[CompanyTypesValues.INCORPORATED_PARTNERSHIP]: {
|
|
437
358
|
header: "acceptedDocumentsForPartnerships",
|
|
438
359
|
documents: ["irsScheduleK1"]
|
|
439
360
|
}
|
|
440
361
|
},
|
|
441
362
|
[CountryCodes.UnitedStates]: {
|
|
442
|
-
[
|
|
363
|
+
[CompanyTypesValues.PRIVATE_COMPANY]: {
|
|
443
364
|
header: "acceptedDocumentsForPrivateCompanies",
|
|
444
365
|
documents: ["irsCP575"]
|
|
445
366
|
},
|
|
446
|
-
[
|
|
367
|
+
[CompanyTypesValues.PUBLIC_COMPANY]: {
|
|
447
368
|
header: "acceptedDocumentsForPublicCompanies",
|
|
448
369
|
documents: ["annualReport", "secForm10k"]
|
|
449
370
|
},
|
|
450
|
-
[
|
|
371
|
+
[CompanyTypesValues.UNLISTED_PUBLIC_COMPANY]: {
|
|
451
372
|
header: "acceptedDocumentsForPublicCompanies",
|
|
452
373
|
documents: ["annualReport", "secForm10k"]
|
|
453
374
|
},
|
|
454
|
-
[
|
|
375
|
+
[CompanyTypesValues.NON_PROFIT_OR_CHARITABLE]: {
|
|
455
376
|
header: "acceptedDocumentsForNonProfit",
|
|
456
377
|
documents: ["annualReport"]
|
|
457
378
|
},
|
|
458
|
-
[
|
|
379
|
+
[CompanyTypesValues.INCORPORATED_PARTNERSHIP]: {
|
|
459
380
|
header: "acceptedDocumentsForPartnerships",
|
|
460
381
|
documents: ["irsScheduleK1"]
|
|
461
382
|
}
|
|
@@ -491,7 +412,7 @@ const GuidanceContent = ({
|
|
|
491
412
|
function TaxDocument({
|
|
492
413
|
id,
|
|
493
414
|
country,
|
|
494
|
-
companyType =
|
|
415
|
+
companyType = CompanyTypesValues.PRIVATE_COMPANY,
|
|
495
416
|
heading = "companyTaxDocumentFormHeading",
|
|
496
417
|
description = "companyTaxDocumentFormDescription",
|
|
497
418
|
...props
|
|
@@ -535,7 +456,7 @@ function BusinessDetails(props) {
|
|
|
535
456
|
const classNames = cx("adyen-kyc-business-details", {
|
|
536
457
|
"adyen-kyc-business-details--hide": activeForm?.formId === "summary"
|
|
537
458
|
});
|
|
538
|
-
const companyType = taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY ?
|
|
459
|
+
const companyType = taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY ? CompanyTypesValues.SOLE_PROPRIETORSHIP : companyStructure?.entityType;
|
|
539
460
|
return /* @__PURE__ */ jsxs("div", { className: classNames, children: [
|
|
540
461
|
/* @__PURE__ */ jsx("div", { className: formWrapperClasses(forms.basicInformation.formId), children: /* @__PURE__ */ jsx(
|
|
541
462
|
BasicInformation,
|
|
@@ -662,7 +583,7 @@ function BusinessDetails(props) {
|
|
|
662
583
|
{
|
|
663
584
|
...getFormProps(props, forms.companyConstitutionalDocument.formId),
|
|
664
585
|
id: forms.companyConstitutionalDocument.formId,
|
|
665
|
-
legalEntityType:
|
|
586
|
+
legalEntityType: LegalEntityTypes.SOLE_PROPRIETORSHIP,
|
|
666
587
|
country
|
|
667
588
|
}
|
|
668
589
|
) }),
|
|
@@ -742,6 +663,13 @@ const mapAdditionalInformation = (data, legalEntity) => {
|
|
|
742
663
|
data.registrationNumber,
|
|
743
664
|
currentCountry
|
|
744
665
|
);
|
|
666
|
+
const companyType = legalEntity.type === "organization" ? legalEntity.organization?.type : CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
667
|
+
const registrationNumberType = getDefaultRegistrationNumberType(
|
|
668
|
+
entity?.registrationNumber,
|
|
669
|
+
currentCountry,
|
|
670
|
+
companyType
|
|
671
|
+
);
|
|
672
|
+
const vatNumberType = getDefaultVatNumberType(entity?.vatNumber, currentCountry);
|
|
745
673
|
const operationalAddressIsSame = entity?.principalPlaceOfBusiness && !objectsDeepEqual(entity?.principalPlaceOfBusiness, entity?.registeredAddress) ? operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME : operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME;
|
|
746
674
|
const result = entriesOf(data).reduce(
|
|
747
675
|
(acc, [field]) => {
|
|
@@ -759,7 +687,7 @@ const mapAdditionalInformation = (data, legalEntity) => {
|
|
|
759
687
|
}
|
|
760
688
|
return acc;
|
|
761
689
|
},
|
|
762
|
-
{ operationalAddressIsSame }
|
|
690
|
+
{ operationalAddressIsSame, registrationNumberType, vatNumberType }
|
|
763
691
|
);
|
|
764
692
|
return { ...result, ...dbaNameFields, ...isUen };
|
|
765
693
|
};
|
|
@@ -781,7 +709,7 @@ const mapLocalization = (data) => {
|
|
|
781
709
|
});
|
|
782
710
|
return result;
|
|
783
711
|
};
|
|
784
|
-
const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
|
|
712
|
+
const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity, isExperimentEnabled) => {
|
|
785
713
|
if (!legalEntity) return {};
|
|
786
714
|
const {
|
|
787
715
|
companyRegistrationDocument,
|
|
@@ -811,7 +739,16 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
|
|
|
811
739
|
companyConstitutionalDocument
|
|
812
740
|
};
|
|
813
741
|
};
|
|
814
|
-
const orgSchema = {
|
|
742
|
+
const orgSchema = isExperimentEnabled?.("EnableBusinessDetailsMultiForm") ? {
|
|
743
|
+
...formatObject(legalEntity, businessDetailsComponentsKeyMapping),
|
|
744
|
+
businessSelection: {},
|
|
745
|
+
companyRegistrationDocument,
|
|
746
|
+
companyTaxDocument,
|
|
747
|
+
companyProofOfDirectorDocument,
|
|
748
|
+
companyProofOfSignatoryDocument,
|
|
749
|
+
companyProofOfOwnershipDocument,
|
|
750
|
+
companyFinancialInformation: {}
|
|
751
|
+
} : {
|
|
815
752
|
...formatObject(legalEntity, businessDetailsComponentsKeyMapping),
|
|
816
753
|
companyRegistrationDocument,
|
|
817
754
|
companyTaxDocument,
|
|
@@ -830,6 +767,14 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
|
|
|
830
767
|
[key]: { ...mapBasicInformation(businessDetailsSchema[key]), ...localization ?? {} }
|
|
831
768
|
};
|
|
832
769
|
}
|
|
770
|
+
case "businessSelection": {
|
|
771
|
+
return {
|
|
772
|
+
...componentData,
|
|
773
|
+
[key]: {
|
|
774
|
+
hasSelectedBusiness: false
|
|
775
|
+
}
|
|
776
|
+
};
|
|
777
|
+
}
|
|
833
778
|
case "companyStructure": {
|
|
834
779
|
return {
|
|
835
780
|
...componentData,
|
|
@@ -900,17 +845,20 @@ const businessDetailsBase = {
|
|
|
900
845
|
jaHaniLegalCompanyName: { rule: "japaneseLegalCompanyName" },
|
|
901
846
|
jaKanaLegalCompanyName: { rule: "japaneseLegalCompanyName" },
|
|
902
847
|
hasDoingBusinessAs: { rule: "REQUIRED" },
|
|
848
|
+
doingBusinessAs: { rule: "requireDoingBusinessAsName" },
|
|
903
849
|
registrationAddress: { rule: "REQUIRED" },
|
|
904
850
|
operationalAddressIsSame: { rule: "REQUIRED" },
|
|
905
851
|
/* Base optional fields */
|
|
906
852
|
operationalAddress: { rule: "OPTIONAL" },
|
|
907
853
|
/* Fields with custom country specific rules */
|
|
854
|
+
hasSelectedBusiness: { rule: "requireBusinessSelection" },
|
|
908
855
|
stockExchangeMIC: { rule: "ifPubliclyTradedCompany" },
|
|
909
856
|
stockISIN: { rule: "ifPubliclyTradedCompany" },
|
|
910
857
|
stockTickerSymbol: { rule: "ifPubliclyTradedCompany" },
|
|
911
858
|
dateOfIncorporation: { rule: "isDateOfIncorporationRequired" },
|
|
912
859
|
stateOrProvince: { rule: "countryUsingCompanySearch" },
|
|
913
860
|
registrationNumber: { rule: "countryRequiresRegistrationNumber" },
|
|
861
|
+
registrationNumberType: { rule: "registrationNumberType" },
|
|
914
862
|
exemptedFromRegistrationNumber: { rule: "companyRegistrationNumberExemptionAllowed" },
|
|
915
863
|
eInvoicingCode: { rule: "isEInvoicingCodeEnabled" },
|
|
916
864
|
countryOfGoverningLaw: { rule: "countryOfGoverningLawRequired" },
|
|
@@ -918,15 +866,21 @@ const businessDetailsBase = {
|
|
|
918
866
|
};
|
|
919
867
|
const taxInformationBase = {
|
|
920
868
|
vatNumber: { rule: "countryUsesVat" },
|
|
921
|
-
|
|
922
|
-
|
|
869
|
+
vatNumberType: { rule: "vatNumberType" },
|
|
870
|
+
exemptedFromVat: { rule: "isVatExempt" },
|
|
871
|
+
vatAbsenceReason: { rule: "isVatExempt" },
|
|
923
872
|
taxInformation: { rule: "countryUsesTaxId" },
|
|
924
873
|
exemptedFromTax: { rule: "countryHasTaxExemptions" },
|
|
925
874
|
isUen: { rule: "countryUsesUenOrGst" }
|
|
926
875
|
};
|
|
927
876
|
const financialInformationBase = {
|
|
928
877
|
numberOfEmployees: { rule: "countryRequiresFinancialInformation" },
|
|
929
|
-
financialReportingDate: { rule: "isFinancialReportingFieldsRequired" }
|
|
878
|
+
financialReportingDate: { rule: "isFinancialReportingFieldsRequired" },
|
|
879
|
+
currency: { rule: "isFinancialReportingFieldsRequired" },
|
|
880
|
+
reportedValueOption: { rule: "isFinancialReportingFieldsRequired" },
|
|
881
|
+
annualTurnover: { rule: "annualTurnoverRequired" },
|
|
882
|
+
netAssets: { rule: "netAssetsRequired" },
|
|
883
|
+
balanceSheetTotal: { rule: "balanceSheetTotalRequired" }
|
|
930
884
|
};
|
|
931
885
|
const businessDetailsFieldsPerScenario = {
|
|
932
886
|
L0: {
|
|
@@ -1015,10 +969,11 @@ const mapBusinessDetailsDocumentToApiDocument = async (data, entityId) => {
|
|
|
1015
969
|
companyProofOfDirectorDocument,
|
|
1016
970
|
companyConstitutionalDocument,
|
|
1017
971
|
companyProofOfSignatoryDocument,
|
|
1018
|
-
companyProofOfOwnershipDocument
|
|
972
|
+
companyProofOfOwnershipDocument,
|
|
973
|
+
basicInformation
|
|
1019
974
|
} = data;
|
|
1020
975
|
const taxDocumentType = COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(
|
|
1021
|
-
|
|
976
|
+
basicInformation?.country
|
|
1022
977
|
) ? "proofOfOrganizationTaxInfo" : "vatDocument";
|
|
1023
978
|
const documents = await Promise.all([
|
|
1024
979
|
createDocumentRequest({
|
|
@@ -1069,6 +1024,10 @@ const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperiment
|
|
|
1069
1024
|
)
|
|
1070
1025
|
};
|
|
1071
1026
|
delete requestObj.organization?.legalFormDescription;
|
|
1027
|
+
const canSaveRegNumberAbsentState = isExperimentEnabled("EnableRegistrationAndTaxAbsentStatesV4") && isRegistrationNumberAbsentStateV4Scenario(
|
|
1028
|
+
data.basicInformation?.country,
|
|
1029
|
+
data.companyStructure?.entityType
|
|
1030
|
+
);
|
|
1072
1031
|
const taxData = COUNTRIES_USING_COMPANY_SEARCH.includes(
|
|
1073
1032
|
data.basicInformation?.country
|
|
1074
1033
|
) ? data.basicInformation?.taxInformation : data.additionalInformation?.taxInformation;
|
|
@@ -1087,14 +1046,14 @@ const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperiment
|
|
|
1087
1046
|
}
|
|
1088
1047
|
if (registrationNumber) {
|
|
1089
1048
|
entityObject.registrationNumber = registrationNumber;
|
|
1090
|
-
if (
|
|
1049
|
+
if (canSaveRegNumberAbsentState && requestObj.organization) {
|
|
1091
1050
|
requestObj.organization.registrationNumberAbsent = false;
|
|
1092
1051
|
}
|
|
1093
1052
|
}
|
|
1094
1053
|
if (localization) {
|
|
1095
1054
|
entityObject.localization = localization;
|
|
1096
1055
|
}
|
|
1097
|
-
if (data.additionalInformation?.exemptedFromRegistrationNumber &&
|
|
1056
|
+
if (data.additionalInformation?.exemptedFromRegistrationNumber && canSaveRegNumberAbsentState && requestObj.organization) {
|
|
1098
1057
|
requestObj.organization.registrationNumberAbsent = data.additionalInformation?.exemptedFromRegistrationNumber;
|
|
1099
1058
|
}
|
|
1100
1059
|
if (data.additionalInformation?.vatAbsenceReason) {
|
|
@@ -1123,10 +1082,13 @@ const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperiment
|
|
|
1123
1082
|
];
|
|
1124
1083
|
}
|
|
1125
1084
|
}
|
|
1126
|
-
requestObj.type = requestObj.organization ?
|
|
1085
|
+
requestObj.type = requestObj.organization ? LegalEntityTypes.ORGANIZATION : LegalEntityTypes.SOLE_PROPRIETORSHIP;
|
|
1127
1086
|
if (entityObject?.registeredAddress.country === "US") {
|
|
1128
1087
|
delete entityObject.registrationNumber;
|
|
1129
1088
|
}
|
|
1089
|
+
if (!canSaveRegNumberAbsentState) {
|
|
1090
|
+
delete requestObj.organization?.registrationNumberAbsent;
|
|
1091
|
+
}
|
|
1130
1092
|
return requestObj;
|
|
1131
1093
|
};
|
|
1132
1094
|
const processLocalizationFields = (data) => {
|
|
@@ -1411,7 +1373,7 @@ async function submit({
|
|
|
1411
1373
|
}) {
|
|
1412
1374
|
const logger = createLogger();
|
|
1413
1375
|
setLoadingStatus("loading");
|
|
1414
|
-
|
|
1376
|
+
let trackingPayload = {
|
|
1415
1377
|
...additionalTrackingParams,
|
|
1416
1378
|
actionType: "submit",
|
|
1417
1379
|
companyStructure: data.companyStructure?.entityType ?? null,
|
|
@@ -1472,7 +1434,7 @@ async function submit({
|
|
|
1472
1434
|
const updatedAssociations = {
|
|
1473
1435
|
entityAssociations: [
|
|
1474
1436
|
{
|
|
1475
|
-
type:
|
|
1437
|
+
type: LegalEntityTypes.SOLE_PROPRIETORSHIP,
|
|
1476
1438
|
legalEntityId: legalEntity.id
|
|
1477
1439
|
}
|
|
1478
1440
|
]
|
|
@@ -1480,7 +1442,7 @@ async function submit({
|
|
|
1480
1442
|
await handleUpdateLegalEntity({ ...updatedAssociations, id: legalEntityResponse.id });
|
|
1481
1443
|
}
|
|
1482
1444
|
};
|
|
1483
|
-
const savedLegalEntityData = legalEntityResponse ? mapLegalEntityToBusinessDetailsSchema(legalEntityResponse) : null;
|
|
1445
|
+
const savedLegalEntityData = legalEntityResponse ? mapLegalEntityToBusinessDetailsSchema(legalEntityResponse, void 0, isExperimentEnabled) : null;
|
|
1484
1446
|
const filteredData = savedLegalEntityData ? setRemovedFieldsOnSchemaToDeletedValue(data, savedLegalEntityData) : data;
|
|
1485
1447
|
if (filteredData?.additionalInformation && !filteredData?.additionalInformation?.taxInformation) {
|
|
1486
1448
|
filteredData.additionalInformation.taxInformation = void 0;
|
|
@@ -1529,10 +1491,22 @@ async function submit({
|
|
|
1529
1491
|
onExternalSubmit?.(data);
|
|
1530
1492
|
} catch (err) {
|
|
1531
1493
|
if (isValidationError(err)) {
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1494
|
+
const getErrors = processValidationErrors(err, TaskTypes.BUSINESS_DETAILS);
|
|
1495
|
+
if (getErrors && !Object.keys(getErrors).length) {
|
|
1496
|
+
showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
|
|
1497
|
+
const unmappedErrorNames = err.invalidFields?.map((field) => field.name).filter(Boolean) ?? [];
|
|
1498
|
+
if (unmappedErrorNames.length) {
|
|
1499
|
+
trackingPayload = {
|
|
1500
|
+
...trackingPayload,
|
|
1501
|
+
additionalData: { unmappedErrorNames }
|
|
1502
|
+
};
|
|
1503
|
+
}
|
|
1504
|
+
} else {
|
|
1505
|
+
setProblems({
|
|
1506
|
+
...problems,
|
|
1507
|
+
validationErrors: getErrors
|
|
1508
|
+
});
|
|
1509
|
+
}
|
|
1536
1510
|
}
|
|
1537
1511
|
if (isMaintenanceModeError(err)) {
|
|
1538
1512
|
showToast({
|
|
@@ -1599,20 +1573,23 @@ function BusinessDetailsDropin({
|
|
|
1599
1573
|
const isSoleProp = accountHolder === "mySoleProprietorName";
|
|
1600
1574
|
const formWith2Views = "basicInformation";
|
|
1601
1575
|
const isAssociationTaskType = !taskType ? accountHolder !== "theCompanyIWorkFor" : taskType !== TaskTypes.BUSINESS_DETAILS;
|
|
1602
|
-
const legalEntityType = !isSoleProp ?
|
|
1576
|
+
const legalEntityType = !isSoleProp ? LegalEntityTypes.ORGANIZATION : LegalEntityTypes.SOLE_PROPRIETORSHIP;
|
|
1603
1577
|
const isUS = country === CountryCodes.UnitedStates;
|
|
1604
1578
|
const currentCountry = currentState.data.basicInformation?.country ?? country;
|
|
1605
1579
|
const isSkippingCompanyStructure = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(
|
|
1606
1580
|
legalEntityResponse?.organization?.type
|
|
1607
|
-
) && accountHolder !== "aTrust" || isSoleProp;
|
|
1581
|
+
) && accountHolder !== "aTrust" && accountHolder !== "anUnincorporatedPartnership" || isSoleProp;
|
|
1608
1582
|
useEffect(() => {
|
|
1609
1583
|
const isBankAccountRequested = legalEntityResponse?.capabilities?.issueBankAccount?.requested;
|
|
1610
1584
|
setIsBankAccountRequestedForOrganization(isBankAccountRequested);
|
|
1611
1585
|
}, [legalEntityResponse]);
|
|
1612
1586
|
const subjectEntity = !isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement : nestedLegalEntity;
|
|
1613
|
-
const associatedLeTrackingParams =
|
|
1614
|
-
|
|
1615
|
-
|
|
1587
|
+
const associatedLeTrackingParams = useMemo(
|
|
1588
|
+
() => getAssociatedLeAnalyticsPayload({
|
|
1589
|
+
associatedLegalEntity: associatedLegalArrangement
|
|
1590
|
+
}),
|
|
1591
|
+
[associatedLegalArrangement]
|
|
1592
|
+
);
|
|
1616
1593
|
useEffect(() => {
|
|
1617
1594
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
1618
1595
|
userEvents.addTaskEvent("Landed on page", {
|
|
@@ -1628,12 +1605,13 @@ function BusinessDetailsDropin({
|
|
|
1628
1605
|
const [initialData, setInitialData] = useState(() => {
|
|
1629
1606
|
return mapLegalEntityToBusinessDetailsSchema(
|
|
1630
1607
|
!isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement ?? legalEntityResponse : nestedLegalEntity,
|
|
1631
|
-
isSoleProp ? legalEntityResponse : void 0
|
|
1608
|
+
isSoleProp ? legalEntityResponse : void 0,
|
|
1609
|
+
isExperimentEnabled
|
|
1632
1610
|
);
|
|
1633
1611
|
});
|
|
1634
1612
|
const [trustedFields, setTrustedFields] = useState(subjectEntity?.trustedFields ?? void 0);
|
|
1635
1613
|
const [currentProblems, setCurrentProblems] = useState(
|
|
1636
|
-
problems ?? getCapabilityProblems(legalEntityResponse, currentCountry)?.LegalEntity?.[legalEntityResponse.id]
|
|
1614
|
+
problems ?? getCapabilityProblems(legalEntityResponse, currentCountry)?.LegalEntity?.[legalEntityResponse.id] ?? {}
|
|
1637
1615
|
);
|
|
1638
1616
|
const [showCompanyStructure, setShowCompanyStructure] = useState(
|
|
1639
1617
|
currentCountry !== "US" && !isSoleProp
|
|
@@ -1704,7 +1682,7 @@ function BusinessDetailsDropin({
|
|
|
1704
1682
|
initialForms,
|
|
1705
1683
|
currentProblems?.remediationActions ? Object.values(currentProblems?.remediationActions) : [],
|
|
1706
1684
|
currentProblems?.missingData ?? [],
|
|
1707
|
-
subjectEntity ? subjectEntity.type ===
|
|
1685
|
+
subjectEntity ? subjectEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP ? getFieldsWithExistingData(
|
|
1708
1686
|
subjectEntity,
|
|
1709
1687
|
solePropBusinessDetailsApiKeyMapping,
|
|
1710
1688
|
solePropBusinessDetailsDocumentMapping
|
|
@@ -1793,7 +1771,7 @@ function BusinessDetailsDropin({
|
|
|
1793
1771
|
);
|
|
1794
1772
|
return removeConditionalForms(
|
|
1795
1773
|
validityAddedForms,
|
|
1796
|
-
currentCountry !== "US" ? isSkippingCompanyStructure : !showCompanyStructure
|
|
1774
|
+
currentCountry !== "US" || accountHolder !== "theCompanyIWorkFor" ? isSkippingCompanyStructure : !showCompanyStructure
|
|
1797
1775
|
);
|
|
1798
1776
|
}, [
|
|
1799
1777
|
initialForms,
|
|
@@ -1826,7 +1804,7 @@ function BusinessDetailsDropin({
|
|
|
1826
1804
|
);
|
|
1827
1805
|
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
1828
1806
|
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
1829
|
-
const { mutateAsync:
|
|
1807
|
+
const { mutateAsync: clearCompanyData, isPending: resettingTrustedData } = useClearCompanyData();
|
|
1830
1808
|
const submitTask = useCallback(() => {
|
|
1831
1809
|
setAccountHolder(accountHolder);
|
|
1832
1810
|
return submit({
|
|
@@ -1888,7 +1866,7 @@ function BusinessDetailsDropin({
|
|
|
1888
1866
|
});
|
|
1889
1867
|
const loading = fetchingDataset || searchingCompanies || resettingTrustedData;
|
|
1890
1868
|
const proceedToManualDataEntry = useCallback(async () => {
|
|
1891
|
-
await
|
|
1869
|
+
await clearCompanyData().then(async () => {
|
|
1892
1870
|
if (!isUS) {
|
|
1893
1871
|
setShowCompanyStructure(true);
|
|
1894
1872
|
return;
|
|
@@ -1916,7 +1894,7 @@ function BusinessDetailsDropin({
|
|
|
1916
1894
|
}
|
|
1917
1895
|
});
|
|
1918
1896
|
}, [
|
|
1919
|
-
|
|
1897
|
+
clearCompanyData,
|
|
1920
1898
|
isUS,
|
|
1921
1899
|
businessName,
|
|
1922
1900
|
tin,
|
|
@@ -2171,5 +2149,15 @@ function BusinessDetailsDropin({
|
|
|
2171
2149
|
);
|
|
2172
2150
|
}
|
|
2173
2151
|
export {
|
|
2174
|
-
BusinessDetailsDropin as B
|
|
2152
|
+
BusinessDetailsDropin as B,
|
|
2153
|
+
ProofOfOwnershipDocument as P,
|
|
2154
|
+
RegistrationDocument as R,
|
|
2155
|
+
TaxDocument as T,
|
|
2156
|
+
ProofOfSignatoryDocument as a,
|
|
2157
|
+
ProofOfDirectorDocument as b,
|
|
2158
|
+
mapLegalEntityToBusinessDetailsSchema as c,
|
|
2159
|
+
businessDetailsFieldsPerScenario as d,
|
|
2160
|
+
formatDataForSummary as f,
|
|
2161
|
+
mapApiDocumentToBusinessDetailsDocuments as m,
|
|
2162
|
+
submit as s
|
|
2175
2163
|
};
|
package/dist/{BusinessFinancingComponent-B0-te_Xu.js → BusinessFinancingComponent-DDKomenp.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] = "8a42ea9b-4859-4af4-a402-4329753b07ad", e._sentryDebugIdIdentifier = "sentry-dbid-8a42ea9b-4859-4af4-a402-4329753b07ad");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import {
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-DhQ4sdLg.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-Bhg9neRS.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|