@adyen/kyc-components 3.94.0 → 3.95.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-UXDlHmf_.js → AcceptTermsOfServiceComponent-DQBTbYHm.js} +36 -32
- package/dist/{Accordion-DM9qeMoR.js → Accordion-CyFxp5eR.js} +2 -2
- package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-BgPC6a82.js} +4 -4
- package/dist/{ActionBar-DCKuV5BO.js → ActionBar-DuqmbwPb.js} +2 -2
- package/dist/{Address-BEUcWe_H.js → Address-uWZO7A9W.js} +10 -12
- package/dist/{Alert-D9HbhU88.js → Alert-BpQzk7oa.js} +3 -3
- package/dist/{Avatar-C_tjYaBz.js → Avatar-cL2Btfr9.js} +2 -2
- package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-DQnluWsY.js} +7 -7
- package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-TTX58HNJ.js} +689 -307
- package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-CARcv8Qh.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-BamCO_8X.js} +9 -9
- package/dist/{Checkbox-BU4IYlt6.js → Checkbox-4TE31vJm.js} +2 -2
- package/dist/{Confirm-BM1PTsnm.js → Confirm-BCbTBwh3.js} +3 -3
- package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-DAXsUY5o.js} +37 -30
- package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-DF1ERAlH.js} +8 -8
- package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-c2saCqxR.js} +3 -3
- package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
- package/dist/{CountryField-DShqP-Yi.js → CountryField-0SyPMIyv.js} +6 -6
- package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-BEG5bcc8.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-UEBRtXZu.js} +5 -5
- package/dist/{Currency-CEtDxV-F.js → Currency-CYaHlY2Z.js} +7 -11
- package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-CZAM9Fzm.js} +11 -11
- package/dist/{DebugModal-C3horl0P.js → DebugModal-Dpm0S2dA.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-CgEYI6wt.js} +14 -10
- package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-Dj2lHuCW.js} +36 -26
- package/dist/{Dropzone-DYIUInYF.js → Dropzone-D-KrwtNK.js} +4 -4
- package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-Bz7OcIMW.js} +3 -3
- package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-DnGdtXOr.js} +2 -2
- package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-ysCVZKn5.js} +35 -23
- package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-BHI0RfAS.js} +3 -3
- package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-CAHQTbMv.js} +3 -3
- package/dist/{Field-Cp_UOAnA.js → Field-CApB-T06.js} +2 -2
- package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-DSCpClML.js} +3 -3
- package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-CVN-7oA1.js} +9 -9
- package/dist/{Header-CIxJSQWR.js → Header-DCVQMDDt.js} +2 -2
- package/dist/{Image-T-D-HDf5.js → Image-CJu0BRVo.js} +2 -2
- package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-NaoLBYL8.js} +29 -14
- package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-CfUopCha.js} +71 -63
- package/dist/{InputDate-z9OpUslu.js → InputDate-CiL0lNHS.js} +2 -2
- package/dist/{InputText-CBhD5jca.js → InputText-BV_-tgjA.js} +2 -2
- package/dist/{Introduction-Bm3kybSH.js → Introduction-D1Ki78MP.js} +4 -4
- package/dist/{JpAddress-owiNWOqn.js → JpAddress-UoTJ6rCV.js} +18 -13
- package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-Cn77l9Co.js} +2 -2
- package/dist/{fieldConfig-CMdKt41r.js → LegalCompanyNameField-iFBtpehs.js} +71 -67
- package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-B0UoHJQJ.js} +5 -5
- package/dist/{Link-CIBefZJS.js → Link-BJyutNM5.js} +2 -2
- package/dist/{ListItem-CnzgA-sH.js → ListItem-Bgm6YMzN.js} +3 -3
- package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-C4vG5XIf.js} +1 -1
- package/dist/ManageIndividualComponent-D9R1S14p.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-CwmatDwh.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-2b76XSTc.js} +15 -14
- package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-BbFU7XNV.js} +5 -5
- package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-BpIcw6KQ.js} +3 -3
- package/dist/{Modal-BKWXTEoU.js → Modal-CJUtsR2N.js} +2 -2
- package/dist/{Name-BCar2_dk.js → Name-DTE823OG.js} +5 -5
- package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-BX4esftr.js} +850 -520
- package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-Cqeomvbg.js} +130 -77
- package/dist/{RadioGroup-COsozc9g.js → RadioGroup-DzUpgP12.js} +2 -2
- package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-g4OS0871.js} +2 -2
- package/dist/{Review-CZwc-DMp.js → Review-Cj1WCiGQ.js} +7 -7
- package/dist/RootBusinessDetailsPage-9NXM1XdC.js +50 -0
- package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-YxGXibwW.js} +27 -24
- package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-DX1rjTXN.js} +7 -6
- package/dist/{Select-DeTBytOH.js → Select-C_6mHv91.js} +4 -4
- package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-OxWCtP3x.js} +14 -14
- package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-DE4uUTZo.js} +6 -6
- package/dist/SoleProprietorshipPage-BzpFPKOl.js +50 -0
- package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-CESAo3kl.js} +33 -32
- package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-a3q7kzzC.js} +2 -2
- package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-BL3nK1iO.js} +157 -132
- package/dist/{StructuredList-9dnJRdx_.js → StructuredList-BNLhk_zV.js} +1 -1
- package/dist/{Summary-DPm9r7Az.js → Summary-8HdspbcQ.js} +19 -8
- package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-ycoS73dK.js} +2 -2
- package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-BfDJhJG4.js} +438 -81
- package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-xYD4YqWR.js} +18 -18
- package/dist/{TextArea-CCjCNpAP.js → TextArea-CWY-x138.js} +2 -2
- package/dist/{TileGroup-BhKhvfLz.js → TileGroup-DmZTiaip.js} +3 -3
- package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-JQ-U6HZk.js} +44 -38
- package/dist/TrustMemberCompanyPage-WwsnSV7c.js +68 -0
- package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-27y1WJMM.js} +11 -8
- package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-DHCLuLa-.js} +43 -38
- package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-CqdtBx67.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-xOJ-Kusf.js} +10 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-CBw2IY6X.js} +10 -7
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-B4fDDHnW.js} +15 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-BrBvKluu.js} +9 -9
- package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-DXaYFyA9.js} +4 -24
- package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-YY4hrQ8I.js} +4 -4
- package/dist/accountHolderUtils-DP6cbO7y.js +66 -0
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-kyc-components.js +20 -19
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-Ch6rVpGi.js → bafinUtils-BCq4-e97.js} +3 -22
- package/dist/bg-BG-CFuVZnaC.js +13 -0
- package/dist/{bg-BG-CepHap8j.js → bg-BG-DMNRRZZE.js} +8 -1
- package/dist/bg-BG-Dp1J1L2X.js +13 -0
- package/dist/{commonValidators-B8wfpMjX.js → commonValidators-BXRpCFOY.js} +2 -2
- package/dist/company-types-value-D_mKv5PT.js +23 -0
- package/dist/cs-CZ-Bd9Zz7z4.js +13 -0
- package/dist/cs-CZ-CYsR__kj.js +13 -0
- package/dist/{cs-CZ-BP7niQM9.js → cs-CZ-DXSMRqPu.js} +8 -1
- package/dist/da-DK-B3Pg-MWO.js +13 -0
- package/dist/{da-DK-Dc0QYG8m.js → da-DK-Cd5IQPv3.js} +8 -1
- package/dist/da-DK-DmFDgnbC.js +13 -0
- package/dist/{de-DE-Dz2OsS1F.js → de-DE-C9NH2zMh.js} +8 -1
- package/dist/de-DE-DRuKxSOy.js +13 -0
- package/dist/de-DE-S6qDey1L.js +13 -0
- package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-DGUJjA6y.js} +4 -4
- package/dist/el-GR-Cezskrdn.js +13 -0
- package/dist/{el-GR-BHG69mXl.js → el-GR-DTHQslLc.js} +8 -1
- package/dist/el-GR-DoS_Va-n.js +13 -0
- package/dist/{en-US-CzEL6t1W.js → en-US-D1sB335h.js} +9 -3
- package/dist/en-US-DLY20x1O.js +13 -0
- package/dist/{en-US-D-B35AoN.js → en-US-DYP6rAvA.js} +8 -1
- package/dist/{en-US-fyGPkcqX.js → en-US-cVpRgdC8.js} +2 -2
- package/dist/es-ES-BYl5-PFR.js +13 -0
- package/dist/{es-ES-BI_jdT67.js → es-ES-DK-7qtDf.js} +8 -1
- package/dist/es-ES-DzB4V6UZ.js +13 -0
- package/dist/et-EE-4fHYOoff.js +13 -0
- package/dist/et-EE-BkHzGD3D.js +13 -0
- package/dist/{et-EE-C_PZO2aI.js → et-EE-DNC4hcxm.js} +8 -1
- package/dist/{fi-FI-hwzizPnr.js → fi-FI-BJLU1JHw.js} +8 -1
- package/dist/fi-FI-Cxkp0GQA.js +13 -0
- package/dist/fi-FI-DFxljML-.js +13 -0
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
- package/dist/{formUtils-q44BTi2U.js → formUtils-CJQolfmf.js} +3 -22
- package/dist/{fr-FR-CYZXbwc9.js → fr-FR-B2je0smB.js} +8 -1
- package/dist/fr-FR-DPehHVb6.js +13 -0
- package/dist/fr-FR-DsEmssxk.js +13 -0
- package/dist/{getName-BxKx8lLd.js → getName-C1AIqAns.js} +2 -2
- package/dist/{getProps-CLJfvUMb.js → getProps-O8Fpl_k_.js} +2 -6
- package/dist/getTrustedFields-C5-mXl-l.js +64 -0
- package/dist/hr-HR-Bjx-KdVs.js +13 -0
- package/dist/{hr-HR-bE6cvRCQ.js → hr-HR-C0NLgF1r.js} +8 -1
- package/dist/hr-HR-DU4nvY6g.js +13 -0
- package/dist/hu-HU-B-lUkFnQ.js +13 -0
- package/dist/hu-HU-D6frnZmR.js +13 -0
- package/dist/{hu-HU-DG-NUDx4.js → hu-HU-DU-5ujQK.js} +8 -1
- package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-DRjCrrYZ.js} +4 -4
- package/dist/{isEmpty-BNacTlfR.js → isEmpty-C7bLX-qG.js} +2 -2
- package/dist/isNewEntity-7Vw_eQBr.js +13 -0
- package/dist/it-IT-DOBp2-MP.js +13 -0
- package/dist/{it-IT-Erh1DIlj.js → it-IT-Dhwa9Ecj.js} +8 -1
- package/dist/it-IT-VFXgXyRA.js +13 -0
- package/dist/{ja-JP-DfE1PYyN.js → ja-JP-B3wVYIJU.js} +2 -2
- package/dist/ja-JP-B_Q8X66O.js +13 -0
- package/dist/{ja-JP-CWJzqrtj.js → ja-JP-Bc4U0S8-.js} +8 -1
- package/dist/{ja-JP-4Q9zp35q.js → ja-JP-Bv3ru9Xq.js} +14 -7
- package/dist/{ja-JP-CSz7fEkn.js → ja-JP-CceCDXLB.js} +2 -2
- package/dist/{ja-JP-DBoYLzeA.js → ja-JP-DSvZhFNY.js} +4 -4
- package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-BucfNSWB.js} +2 -2
- package/dist/{jpAddressSchema-De6ix57p.js → jpAddressSchema-DEOyz9Yo.js} +2 -4
- package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-n8b2kwyK.js} +2 -2
- package/dist/{lt-LT-Nd1uRoIj.js → lt-LT-C8n1GZoU.js} +8 -1
- package/dist/lt-LT-CE-GdWrg.js +13 -0
- package/dist/lt-LT-WRulV980.js +13 -0
- package/dist/{lv-LV-DKhV24CI.js → lv-LV-BZN4-Xat.js} +8 -1
- package/dist/lv-LV-C9Dhkruv.js +13 -0
- package/dist/lv-LV-dv7fqeBS.js +13 -0
- package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-DtG8dtIh.js} +5 -6
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-CpVZUxo1.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-1aYgn5km.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BDQGKfhP.js} +2 -2
- package/dist/{nl-NL-O9GCHMDA.js → nl-NL-B0fvINJj.js} +8 -1
- package/dist/nl-NL-BwIRHJgf.js +13 -0
- package/dist/nl-NL-SjOGmGk5.js +13 -0
- package/dist/no-NO-BAWVf0GX.js +13 -0
- package/dist/{no-NO-CA1aR6Wh.js → no-NO-Jw7Gae-a.js} +8 -1
- package/dist/no-NO-u56mEoG3.js +13 -0
- package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-DcjAPGFV.js} +5 -5
- package/dist/{pl-PL-BKDK0_G8.js → pl-PL-Bmaq3IC3.js} +8 -1
- package/dist/pl-PL-DEMxxz7h.js +13 -0
- package/dist/pl-PL-zqT41Yjw.js +13 -0
- package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-CQoldE8s.js} +3 -3
- package/dist/{pt-BR-NtLaWlnZ.js → pt-BR-BaTE6BB_.js} +8 -1
- package/dist/pt-BR-BfDe_8iW.js +13 -0
- package/dist/pt-BR-fMKntiMG.js +13 -0
- package/dist/{pt-PT-C6teRGuD.js → pt-PT-C6pZR9Bc.js} +2 -2
- package/dist/pt-PT-F1qPZJ2c.js +13 -0
- package/dist/{pt-PT-DSxxVA0f.js → pt-PT-c0ap84_F.js} +8 -1
- package/dist/{resolveEnvironment-BEU3VKd8.js → resolveEnvironment-D-07Kfa-.js} +3 -3
- package/dist/ro-RO-0vx6ZLWV.js +13 -0
- package/dist/ro-RO-B5BQrf6C.js +13 -0
- package/dist/{ro-RO-Bybq8JFn.js → ro-RO-BPOHV6Wp.js} +8 -1
- package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-DsoqlMAY.js} +2 -2
- package/dist/{sk-SK-C6rMIxpz.js → sk-SK-3_SoEn6P.js} +8 -1
- package/dist/sk-SK-Bz4T7upD.js +13 -0
- package/dist/sk-SK-DuLm2CVx.js +13 -0
- package/dist/sl-SI--RTGDByj.js +13 -0
- package/dist/sl-SI-BAIm-qBe.js +13 -0
- package/dist/{sl-SI-tPwbFvOI.js → sl-SI-DbfswGh0.js} +8 -1
- package/dist/style.css +140 -148
- package/dist/styles-CLV89_hH.js +140 -148
- package/dist/sv-SE-BZNey_8S.js +13 -0
- package/dist/{sv-SE-K1QT1cOt.js → sv-SE-D_Efxy3s.js} +8 -1
- package/dist/sv-SE-Dryy3JLw.js +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +3 -3
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +10 -10
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -3
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -1
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5283 -53
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -3
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +78 -0
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
- package/dist/types/context/ExperimentContext/types.d.ts +17 -0
- package/dist/types/core/models/api/individual.d.ts +3 -0
- package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
- package/dist/types/hooks/useForm/types.d.ts +0 -4
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
- package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
- package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
- package/dist/types/router/MemoryRouterContext.d.ts +9 -0
- package/dist/types/router/OnboardingRouter.d.ts +39 -0
- package/dist/types/router/SuspenseRoute.d.ts +7 -0
- package/dist/types/router/getDefaultTask.d.ts +16 -0
- package/dist/types/router/routeConfig.d.ts +68 -0
- package/dist/types/router/useCurrentTask.d.ts +5 -0
- package/dist/types/router/useNavigate.d.ts +7 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -1
- package/dist/types/utils/formUtils.d.ts +0 -3
- package/dist/types/utils/regex/patternValidators.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -1
- package/dist/{types-B7eWQV7z.js → types-C8yt1YG2.js} +19 -2
- package/dist/{types-BY62XJTq.js → types-DRTd35hZ.js} +2 -2
- package/dist/{types-pKG9olDB.js → types-DujGXeMG.js} +2 -2
- package/dist/{types-BuMuCpsa.js → types-XpRg7EOC.js} +2 -2
- package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-DlZrp3qi.js} +2 -2
- package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-gZ8moheH.js} +713 -718
- package/dist/useBusinessLines-BD1Yg8Ja.js +29 -0
- package/dist/useCanSeeIntroduction-BHQYUN_d.js +48 -0
- package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-DjRvxwI5.js} +2 -2
- package/dist/useDataMissingRemediations-KgLqbiZx.js +41 -0
- package/dist/{useDataset-CvATx7EN.js → useDataset-Bafefouf.js} +5 -3
- package/dist/useDeleteTransferInstrument-Cf8rmBGA.js +32 -0
- package/dist/{useForm-9nSw9LZY.js → useForm-Bh638xmS.js} +27 -27
- package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-BilJQsMw.js} +7 -7
- package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-DkE5IpZB.js} +2 -2
- package/dist/{useMultiForm-CBefohos.js → useMultiForm-djEDTyaG.js} +45 -36
- package/dist/useNavigate-DE0sTmpX.js +265 -0
- package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-DhK2qF95.js} +1 -1
- package/dist/usePciQuestionnaireList-DsgAv5Ql.js +29 -0
- package/dist/useSalesChannels-DUTiDcGq.js +65 -0
- package/dist/{useScenarios-CkgrmOF-.js → useScenarios-BxbmDi2R.js} +2 -2
- package/dist/useSetting-DwC0bC4k.js +19 -0
- package/dist/useTaskStatus-Cps0L-Yp.js +51 -0
- package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-COugffxI.js} +1 -1
- package/dist/{useToastContext-uSKjdph9.js → useToastContext-DBDF60Ps.js} +2 -2
- package/dist/useTrustMembers-ymPJMufc.js +163 -0
- package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-ZlPU6E-_.js} +4 -4
- package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-DfjB9Ur6.js} +4 -4
- package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-C8rOYkS1.js} +3 -3
- package/dist/{utils-CLLUBF1a.js → utils-B8oIRKRm.js} +2 -2
- package/dist/{utils-ClKogQZa.js → utils-D1RKmLBo.js} +3 -3
- package/dist/{utils-5yZQq_bx.js → utils-DIBG3Hc5.js} +6 -6
- package/dist/{utils-CIHH_aYF.js → utils-Dd2ry06C.js} +2 -2
- package/dist/{utils-CIIs2bXi.js → utils-_6SITBJE.js} +3 -2
- package/dist/{validate-BntX2W3B.js → validate-B6hMWJ8a.js} +10 -2
- package/dist/{validate-CLYo0JdH.js → validate-jqVPVUI3.js} +3 -3
- package/dist/{validationError-DJ6zTIzv.js → validationError-CsCEpxs1.js} +2 -2
- package/package.json +3 -2
- package/dist/ManageIndividualComponent-CJEqOUgN.js +0 -46
- package/dist/RootBusinessDetailsPage-BsAtLAyF.js +0 -50
- package/dist/SoleProprietorshipPage-zgU4q95D.js +0 -50
- package/dist/TrustMemberCompanyPage-DfXulzKv.js +0 -65
- package/dist/bg-BG-C1maG7_G.js +0 -13
- package/dist/bg-BG-D4k_k98M.js +0 -118
- package/dist/cs-CZ-Dq3xx45p.js +0 -13
- package/dist/cs-CZ-nIWwyOHK.js +0 -118
- package/dist/da-DK-CoqZjIMT.js +0 -13
- package/dist/da-DK-CrtuBoDC.js +0 -118
- package/dist/de-DE-CLMlbqGz.js +0 -13
- package/dist/de-DE-mH3MobT9.js +0 -13
- package/dist/el-GR-BEOd56RY.js +0 -13
- package/dist/el-GR-Ckn_3h1a.js +0 -118
- package/dist/en-US-d4WBvUW7.js +0 -118
- package/dist/es-ES-BnPWZP0s.js +0 -13
- package/dist/es-ES-CnyVffM-.js +0 -118
- package/dist/et-EE-RzdBGxDM.js +0 -118
- package/dist/et-EE-rYc8-Bm2.js +0 -13
- package/dist/fi-FI-CYEjY7DQ.js +0 -13
- package/dist/fi-FI-kXC-0USa.js +0 -118
- package/dist/fr-FR-6YOKsDLQ.js +0 -13
- package/dist/fr-FR-CsJuDM2B.js +0 -13
- package/dist/hr-HR-DMSNClBZ.js +0 -13
- package/dist/hr-HR-fyublN95.js +0 -118
- package/dist/hu-HU-CpJDiSu2.js +0 -118
- package/dist/hu-HU-DQlYtR9y.js +0 -13
- package/dist/it-IT-C9cOsMxY.js +0 -13
- package/dist/it-IT-DyCHFg-b.js +0 -118
- package/dist/ja-JP-NuKpFRZl.js +0 -13
- package/dist/lt-LT-CKE7_7_A.js +0 -118
- package/dist/lt-LT-DPU2ZqVt.js +0 -13
- package/dist/lv-LV-BD8xCiCe.js +0 -13
- package/dist/lv-LV-D4Ik0yoE.js +0 -118
- package/dist/nl-NL-CBnYVFv_.js +0 -13
- package/dist/nl-NL-DkbhmJAw.js +0 -118
- package/dist/no-NO-C690hkyd.js +0 -13
- package/dist/no-NO-Df5qUoTc.js +0 -118
- package/dist/pl-PL-BDclj9dt.js +0 -13
- package/dist/pl-PL-ggZjqXWE.js +0 -118
- package/dist/pt-BR-B4wCnZ06.js +0 -13
- package/dist/pt-BR-BOOm5lRR.js +0 -118
- package/dist/pt-PT-BDfNlThr.js +0 -118
- package/dist/ro-RO-BRngQXgs.js +0 -118
- package/dist/ro-RO-PA9lKU0J.js +0 -13
- package/dist/sk-SK-DmqCF6I9.js +0 -13
- package/dist/sk-SK-y9eb7N6i.js +0 -118
- package/dist/sl-SI-CGvCdquD.js +0 -118
- package/dist/sl-SI-DnT4vnh4.js +0 -13
- package/dist/sv-SE-BP2Oun8l.js +0 -118
- package/dist/sv-SE-DopUU1N2.js +0 -13
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { LegalEntity } from '../../../core/models/api/legal-entity';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
2
|
+
import type { MappingRecord } from '../../../utils/mapping/mappingRecord';
|
|
3
|
+
import type { BusinessFinancingCompanySchema, BusinessFinancingParentCompanySchema, BusinessFinancingSoleProprietorSchema, BusinessFinancingUltimateParentCompanySchema } from '../tasks/BusinessFinancingDropin/types';
|
|
4
|
+
export declare const mapBusinessFinancingToLegalEntity: (data: BusinessFinancingCompanySchema | BusinessFinancingSoleProprietorSchema | BusinessFinancingParentCompanySchema | BusinessFinancingUltimateParentCompanySchema, isIndividualOrSoleProprietor?: boolean, customMapping?: MappingRecord<LegalEntity, BusinessFinancingCompanySchema | BusinessFinancingSoleProprietorSchema | BusinessFinancingParentCompanySchema | BusinessFinancingUltimateParentCompanySchema>) => LegalEntity;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { LegalEntity } from '../../../core/models/api/legal-entity';
|
|
2
|
-
export declare const mapLegalEntityToBusinessFinancing: (legalEntity: LegalEntity) => Record<string,
|
|
2
|
+
export declare const mapLegalEntityToBusinessFinancing: (legalEntity: LegalEntity) => Record<string, unknown>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { BusinessFinancingSchema } from '../tasks/BusinessFinancingDropin/types';
|
|
2
|
-
interface BusinessFinancingPageProps {
|
|
2
|
+
export interface BusinessFinancingPageProps {
|
|
3
3
|
onSubmit(data: BusinessFinancingSchema): void;
|
|
4
4
|
handleHomeClick(): void;
|
|
5
5
|
}
|
|
6
6
|
export declare const BusinessFinancingPage: ({ onSubmit, handleHomeClick, }: BusinessFinancingPageProps) => import("preact/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { SourceOfFundsSchema } from '../tasks/SourceOfFundsDropin/types';
|
|
2
|
-
interface SourceOfFundsPageProps {
|
|
2
|
+
export interface SourceOfFundsPageProps {
|
|
3
3
|
onSubmit(data: SourceOfFundsSchema): void;
|
|
4
4
|
handleHomeClick(): void;
|
|
5
5
|
}
|
|
6
6
|
export declare const SourceOfFundsPage: ({ onSubmit, handleHomeClick }: SourceOfFundsPageProps) => import("preact/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BusinessFinancingSoleProprietorPersonalInformationProps, BusinessFinancingSoleProprietorSchema } from './types';
|
|
2
|
+
export type BusinessFinancingSoleProprietorPersonalInformationSchema = Pick<BusinessFinancingSoleProprietorSchema, 'gender' | 'countryOfBirth'>;
|
|
3
|
+
export declare const soleProprietorPersonalInformationFields: (keyof BusinessFinancingSoleProprietorPersonalInformationSchema)[];
|
|
4
|
+
export declare function BusinessFinancingSoleProprietorPersonalInformation(props: BusinessFinancingSoleProprietorPersonalInformationProps): import("preact/jsx-runtime").JSX.Element | undefined;
|
|
@@ -14,12 +14,17 @@ export interface BusinessFinancingCompanySchema extends BusinessFinancingOwnersh
|
|
|
14
14
|
isThisAddressTheMainHeadquarters?: string;
|
|
15
15
|
sameAddressAsRootEntity?: boolean;
|
|
16
16
|
}
|
|
17
|
+
export interface BusinessFinancingSoleProprietorSchema extends BusinessFinancingLegalInformationSchema, Pick<BusinessFinancingBusinessInformationSchema, 'naceCode' | 'naceCodeLabel'> {
|
|
18
|
+
gender?: string;
|
|
19
|
+
countryOfBirth?: CountryCode;
|
|
20
|
+
}
|
|
17
21
|
export interface BusinessFinancingParentCompanySchema extends BusinessFinancingBasicCompanyInformationSchema, BusinessFinancingRegisteredAddressSchema, BusinessFinancingLegalInformationSchema, BusinessFinancingBusinessInformationSchema, BusinessFinancingFinancialInformationSchema {
|
|
18
22
|
}
|
|
19
23
|
export interface BusinessFinancingUltimateParentCompanySchema extends BusinessFinancingBasicCompanyInformationSchema, BusinessFinancingRegisteredAddressSchema, BusinessFinancingLegalInformationSchema, BusinessFinancingBusinessInformationSchema, BusinessFinancingFinancialInformationSchema {
|
|
20
24
|
}
|
|
21
25
|
export interface BusinessFinancingSchema {
|
|
22
26
|
company?: BusinessFinancingCompanySchema;
|
|
27
|
+
soleProprietor?: BusinessFinancingSoleProprietorSchema;
|
|
23
28
|
parentCompany?: BusinessFinancingParentCompanySchema;
|
|
24
29
|
ultimateParentCompany?: BusinessFinancingUltimateParentCompanySchema;
|
|
25
30
|
}
|
|
@@ -43,6 +48,10 @@ export interface BusinessFinancingCompanyDetailsProps extends BaseInnerFormProps
|
|
|
43
48
|
country: CountryCode;
|
|
44
49
|
legalEntity?: ExistingLegalEntity;
|
|
45
50
|
}
|
|
51
|
+
export interface BusinessFinancingSoleProprietorDetailsProps extends BaseInnerFormProps<BusinessFinancingSoleProprietorSchema> {
|
|
52
|
+
country: CountryCode;
|
|
53
|
+
legalEntity?: ExistingLegalEntity;
|
|
54
|
+
}
|
|
46
55
|
export interface BusinessFinancingParentCompanyDetailsProps extends BaseInnerFormProps<BusinessFinancingParentCompanySchema> {
|
|
47
56
|
country: CountryCode;
|
|
48
57
|
legalEntity?: ExistingLegalEntity;
|
|
@@ -55,6 +64,7 @@ export type BusinessFinancingSchemaCombined = BusinessFinancingCompanySchema & B
|
|
|
55
64
|
export type BusinessFinancingPage = (typeof BusinessFinancingPages)[keyof typeof BusinessFinancingPages];
|
|
56
65
|
export declare const BusinessFinancingPages: {
|
|
57
66
|
readonly COMPANY_PAGE: "company";
|
|
67
|
+
readonly SOLE_PROPRIETOR_PAGE: "soleProprietor";
|
|
58
68
|
readonly PARENT_COMPANY_PAGE: "parentCompany";
|
|
59
69
|
readonly ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany";
|
|
60
70
|
};
|
|
@@ -63,6 +73,19 @@ export interface BusinessFinancingBusinessInformationProps extends BaseInnerForm
|
|
|
63
73
|
targetPage: BusinessFinancingPage;
|
|
64
74
|
sectionHeading?: NsTranslationKey<'businessFinancing'>;
|
|
65
75
|
hideSectionHeading?: boolean;
|
|
76
|
+
isSoleProprietor?: boolean;
|
|
77
|
+
}
|
|
78
|
+
export interface BusinessFinancingSoleProprietorBusinessInformationProps extends BaseInnerFormProps<Pick<BusinessFinancingBusinessInformationSchema, 'naceCode' | 'naceCodeLabel'>> {
|
|
79
|
+
country: CountryCode;
|
|
80
|
+
targetPage: BusinessFinancingPage;
|
|
81
|
+
sectionHeading?: NsTranslationKey<'businessFinancing'>;
|
|
82
|
+
hideSectionHeading?: boolean;
|
|
83
|
+
isSoleProprietor: true;
|
|
84
|
+
}
|
|
85
|
+
export interface BusinessFinancingSoleProprietorPersonalInformationProps extends BaseInnerFormProps<Pick<BusinessFinancingSoleProprietorSchema, 'gender' | 'countryOfBirth'>> {
|
|
86
|
+
country: CountryCode;
|
|
87
|
+
targetPage: BusinessFinancingPage;
|
|
88
|
+
sectionHeading?: NsTranslationKey<'businessFinancing'>;
|
|
66
89
|
}
|
|
67
90
|
export type BusinessFinancingCustomLabels = {
|
|
68
91
|
[K in keyof BusinessFinancingSchema]?: Partial<Record<keyof NonNullable<BusinessFinancingSchema[K]>, Translatable>>;
|
|
@@ -104,11 +127,13 @@ export interface BusinessFinancingRegisteredAddressProps extends BaseInnerFormPr
|
|
|
104
127
|
defaultData?: BusinessFinancingParentCompanySchema;
|
|
105
128
|
}
|
|
106
129
|
export declare const companySchemaKeys: (keyof BusinessFinancingCompanySchema)[];
|
|
130
|
+
export declare const soleProprietorSchemaKeys: (keyof BusinessFinancingSoleProprietorSchema)[];
|
|
107
131
|
export declare const parentCompaniesSchemaKeys: (keyof BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema)[];
|
|
108
132
|
export declare const businessFinancingForms: FormList;
|
|
109
133
|
export type BusinessFinancingIndex = (typeof BusinessFinancingIndices)[keyof typeof BusinessFinancingIndices];
|
|
110
134
|
export declare const BusinessFinancingIndices: {
|
|
111
135
|
readonly COMPANY: "company";
|
|
136
|
+
readonly SOLE_PROPRIETOR: "soleProprietor";
|
|
112
137
|
readonly PARENT_COMPANY: "parentCompany";
|
|
113
138
|
readonly ULTIMATE_PARENT_COMPANY: "ultimateParentCompany";
|
|
114
139
|
};
|
|
@@ -125,12 +150,15 @@ interface BusinessFinancingSummary {
|
|
|
125
150
|
legalProceedingsDate?: string;
|
|
126
151
|
financialReportingDate?: string;
|
|
127
152
|
country?: string | null;
|
|
153
|
+
countryOfBirth?: string;
|
|
154
|
+
gender?: string;
|
|
128
155
|
legalEntityIdentifier?: string;
|
|
129
156
|
sameAddressAsRootEntity?: string;
|
|
130
157
|
registrationAddress?: AddressSchema;
|
|
131
158
|
}
|
|
132
159
|
export type BusinessFinancingSummaryType = {
|
|
133
160
|
company?: BusinessFinancingSummary;
|
|
161
|
+
soleProprietor?: BusinessFinancingSummary;
|
|
134
162
|
parentCompany?: BusinessFinancingSummary;
|
|
135
163
|
ultimateParentCompany?: BusinessFinancingSummary;
|
|
136
164
|
};
|
|
@@ -2,10 +2,10 @@ import type { ExistingLegalEntity, LegalEntity, NewPatchLegalEntity } from '../.
|
|
|
2
2
|
import type { Organization } from '../../../../core/models/api/organization';
|
|
3
3
|
import type { MultiFormOptions } from '../../../../hooks/useMultiForm/types';
|
|
4
4
|
import type { Address } from '../../../../core/models/api/address';
|
|
5
|
-
import type { FinancialInformationSchema } from '../../../Shared/forms/FinancialInformation/types';
|
|
6
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
7
6
|
import type { Currency } from '../../../../types/datasets/currency';
|
|
8
|
-
import type {
|
|
7
|
+
import type { FinancialInformationSchema } from '../../../Business/forms/FinancialInformation/types';
|
|
8
|
+
import type { BusinessFinancingCompanySchema, BusinessFinancingIndex, BusinessFinancingParentCompanySchema, BusinessFinancingParentSchemasCombined, BusinessFinancingSchema, BusinessFinancingSoleProprietorSchema } from './types';
|
|
9
9
|
export declare const getLegalEntityId: (businessFinancingIndex: BusinessFinancingIndex, rootLegalEntity: ExistingLegalEntity | undefined) => undefined | string;
|
|
10
10
|
export declare const USER_LOCALE: string;
|
|
11
11
|
export declare const entityHasParentCompany: (data: BusinessFinancingSchema) => boolean | "" | undefined;
|
|
@@ -19,10 +19,21 @@ export declare const financialReportsToString: (financialReports: FinancialInfor
|
|
|
19
19
|
financialReportingDate?: string;
|
|
20
20
|
currency?: Currency;
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* Prepares sole proprietor business financing data for submission.
|
|
24
|
+
* IMPORTANT: Both root LE (individual) and sole prop LE MUST exist before calling this.
|
|
25
|
+
* This function always returns UPDATE payloads (with IDs), never CREATE payloads.
|
|
26
|
+
*/
|
|
27
|
+
export declare const prepareSoleProprietorBusinessFinancingSubmitData: (data: BusinessFinancingSchema, rootLegalEntity: ExistingLegalEntity | undefined, soleProprietorLegalEntity: ExistingLegalEntity | undefined) => {
|
|
28
|
+
individualPayload: NewPatchLegalEntity;
|
|
29
|
+
solePropPayload: NewPatchLegalEntity;
|
|
30
|
+
} | null;
|
|
22
31
|
export declare const prepareBusinessFinancingSubmitData: (businessFinancingIndex: BusinessFinancingIndex, data: BusinessFinancingSchema, rootLegalEntity: ExistingLegalEntity | undefined) => LegalEntity | null;
|
|
23
32
|
export declare const appendBusinessFinancingData: (legalOrganization?: Organization, businessFinancingData?: BusinessFinancingCompanySchema | BusinessFinancingParentSchemasCombined) => BusinessFinancingCompanySchema | BusinessFinancingParentSchemasCombined | undefined;
|
|
24
|
-
export declare const
|
|
33
|
+
export declare const appendSoleProprietorBusinessFinancingData: (legalArrangement: any, businessFinancingData?: BusinessFinancingSoleProprietorSchema) => BusinessFinancingSoleProprietorSchema | undefined;
|
|
34
|
+
export declare const handleBusinessFinancingFormSubmission: (businessFinancingType: BusinessFinancingIndex, details: LegalEntity | NewPatchLegalEntity | null, createFunction: (details: LegalEntity) => Promise<ExistingLegalEntity>, updateFunction: (details: NewPatchLegalEntity) => Promise<ExistingLegalEntity>, entityId?: string) => Promise<ExistingLegalEntity>;
|
|
25
35
|
export declare const getCompanySchemaKeys: (country: CountryCode, currentData: Partial<BusinessFinancingCompanySchema>, schemaKeys: (keyof BusinessFinancingCompanySchema)[]) => Array<keyof BusinessFinancingCompanySchema>;
|
|
36
|
+
export declare const getSoleProprietorSchemaKeys: (currentData: Partial<BusinessFinancingSoleProprietorSchema>, schemaKeys: (keyof BusinessFinancingSoleProprietorSchema)[]) => Array<keyof BusinessFinancingSoleProprietorSchema>;
|
|
26
37
|
export declare const getParentCompanySchemaKeys: (currentData: Partial<BusinessFinancingParentSchemasCombined>, schemaKeys: (keyof BusinessFinancingParentSchemasCombined)[]) => Array<keyof BusinessFinancingParentSchemasCombined>;
|
|
27
38
|
export declare const getBusinessFinancingRequiredFields: (country: CountryCode, data?: BusinessFinancingSchema) => MultiFormOptions<BusinessFinancingSchema>["requiredFields"];
|
|
28
39
|
export declare const getAddressCountryForParentCompany: (parentCompany?: BusinessFinancingParentCompanySchema, leAddress?: Address) => CountryCode | undefined;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ValidatorRules } from '../../../../utils/validation/types';
|
|
2
|
-
import type { BusinessFinancingCompanySchema, BusinessFinancingParentCompanySchema, BusinessFinancingUltimateParentCompanySchema } from './types';
|
|
2
|
+
import type { BusinessFinancingCompanySchema, BusinessFinancingParentCompanySchema, BusinessFinancingSoleProprietorSchema, BusinessFinancingUltimateParentCompanySchema } from './types';
|
|
3
3
|
export declare const validateLegalEntityIdentifier: (legalEntityIdentifier: string | null | undefined) => boolean;
|
|
4
4
|
export declare const validateDateNotInTheFuture: (selectedDate: string | null | undefined) => boolean;
|
|
5
5
|
export declare const businessFinancingCompanyDetailsValidations: ValidatorRules<BusinessFinancingCompanySchema>;
|
|
6
6
|
export declare const businessFinancingParentCompanyDetailsValidations: ValidatorRules<BusinessFinancingParentCompanySchema | BusinessFinancingUltimateParentCompanySchema>;
|
|
7
|
+
export declare const businessFinancingSoleProprietorValidations: ValidatorRules<BusinessFinancingSoleProprietorSchema>;
|
|
7
8
|
export declare const businessFinancingMultiformRules: {
|
|
8
9
|
company: Partial<{
|
|
9
10
|
isThisAddressTheMainHeadquarters?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
@@ -24,6 +25,14 @@ export declare const businessFinancingMultiformRules: {
|
|
|
24
25
|
netAssets?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
25
26
|
annualTurnover?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
26
27
|
}>;
|
|
28
|
+
soleProprietor: Partial<{
|
|
29
|
+
gender?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema>[] | undefined;
|
|
30
|
+
countryOfBirth?: import("../../../../utils/validation/types").ValidatorRule<import("../../../../types/datasets/country-code").CountryCode | undefined, BusinessFinancingSoleProprietorSchema> | import("../../../../utils/validation/types").ValidatorRule<import("../../../../types/datasets/country-code").CountryCode | undefined, BusinessFinancingSoleProprietorSchema>[] | undefined;
|
|
31
|
+
legalInformationInsolvency?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema>[] | undefined;
|
|
32
|
+
legalProceedingsDate?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema>[] | undefined;
|
|
33
|
+
naceCode?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema>[] | undefined;
|
|
34
|
+
naceCodeLabel?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingSoleProprietorSchema>[] | undefined;
|
|
35
|
+
}>;
|
|
27
36
|
parentCompany: ValidatorRules<BusinessFinancingParentCompanySchema | BusinessFinancingUltimateParentCompanySchema>;
|
|
28
37
|
ultimateParentCompany: ValidatorRules<BusinessFinancingParentCompanySchema | BusinessFinancingUltimateParentCompanySchema>;
|
|
29
38
|
};
|
|
@@ -3,6 +3,7 @@ import type { Address } from '../../../core/models/api/address';
|
|
|
3
3
|
import type { DatasetUtil } from '../../../utils/datasetUtil';
|
|
4
4
|
import type { BusinessFinancingCustomLabels, BusinessFinancingSchema, BusinessFinancingSummaryType } from '../../EFP/tasks/BusinessFinancingDropin/types';
|
|
5
5
|
export declare const customLabels: BusinessFinancingCustomLabels;
|
|
6
|
+
export declare const getTranslatedGender: (t: TFunction<"businessFinancing">, gender?: string) => string | undefined;
|
|
6
7
|
export declare const getTranslatedLegalInsolvency: (t: TFunction<"businessFinancing">, insolvencyData?: string) => string | undefined;
|
|
7
8
|
export declare const getValidUserLocale: (locale: string) => string;
|
|
8
9
|
export declare const getFormattedAmount: (value?: string, currency?: string) => string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { DropinComposerProps } from './types';
|
|
2
|
-
export declare function DropinComposer(
|
|
2
|
+
export declare function DropinComposer(props: DropinComposerProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DropinComposerProps } from './types';
|
|
2
|
+
export declare function URLRouterDropinComposer(props: DropinComposerProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const MEMORY_ROUTER_SESSION_KEY = "ho-memory-router-path";
|
|
4
|
+
export declare function MemoryRouterDropinComposer({ legalEntityResponse, ...rest }: DropinComposerProps): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
2
2
|
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
3
3
|
import type { IdDocumentUploadSchema } from '../IdDocumentUpload/types';
|
|
4
|
-
export type IdVerificationMethodType = 'instantVerification' | 'manualVerification' | 'existingDocument';
|
|
4
|
+
export type IdVerificationMethodType = 'instantVerification' | 'manualVerification' | 'verifyByInvite' | 'existingDocument';
|
|
5
5
|
export interface IdVerificationMethodSchema {
|
|
6
6
|
idVerificationMethod?: IdVerificationMethodType;
|
|
7
7
|
idDocument?: IdDocumentUploadSchema;
|
|
@@ -11,6 +11,7 @@ export interface IdVerificationMethodProps {
|
|
|
11
11
|
taskType: TaskType;
|
|
12
12
|
handlers: {
|
|
13
13
|
handleContinueToAdditionalDetails: () => void;
|
|
14
|
+
handleContinueToInviteDetails?: () => void;
|
|
14
15
|
handleDeleteDocument: () => void;
|
|
15
16
|
handleUpdateDocument: () => void;
|
|
16
17
|
};
|
|
@@ -8,7 +8,7 @@ export declare const DECISION_MAKER_TYPES_WITH_JOBTITLE: DecisionMakerType[];
|
|
|
8
8
|
export declare const individualOnfidoRules: ({ matchingScenario, data, country, taskType, isExperimentEnabled, rootLegalEntity, problems, version, }: FormRulesParams<IndividualOnfidoSchema>) => {
|
|
9
9
|
countryUsesTaxId: () => "REQUIRED" | undefined;
|
|
10
10
|
isDirectorIdNumberRequiredForCountry: () => "REQUIRED" | undefined;
|
|
11
|
-
idNumberRules: () => "
|
|
11
|
+
idNumberRules: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
12
12
|
requiredIfDecisionMakerTask: () => "REQUIRED" | undefined;
|
|
13
13
|
idNumberExemptIfApplicableCountry: () => "REQUIRED" | undefined;
|
|
14
14
|
hasChosenIdType: () => "REQUIRED" | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const individualOnfidoRules: ({ matchingScenario, data, country,
|
|
|
28
28
|
legalRepresentativeRelationshipRequired: () => "REQUIRED" | undefined;
|
|
29
29
|
isProofOfRelationshipRequired: () => undefined;
|
|
30
30
|
addressIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
31
|
-
otherAddressInfoIfRequiredForCountry: () => "
|
|
31
|
+
otherAddressInfoIfRequiredForCountry: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
32
32
|
postalCodeIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
33
33
|
cityIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
34
34
|
stateOrProvinceIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
@@ -3,12 +3,12 @@ import { TaskTypes } from '../../../stores/globalStore/taskTypes';
|
|
|
3
3
|
import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
4
4
|
import type { IndividualOnfidoSchema } from '../forms/Individual.types';
|
|
5
5
|
export interface DecisionMakerDetailsPageProps extends DropinProps {
|
|
6
|
-
decisionMakerId
|
|
7
|
-
parentCompanyId
|
|
6
|
+
decisionMakerId?: string | undefined;
|
|
7
|
+
parentCompanyId?: string;
|
|
8
8
|
taskType?: typeof TaskTypes.DECISION_MAKER | typeof TaskTypes.TRUST_MEMBER_COMPANY_OWNER | typeof TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
9
9
|
asModal?: boolean;
|
|
10
10
|
hideSidebar?: boolean;
|
|
11
11
|
isTargetLegalEntityType?: boolean;
|
|
12
12
|
onSubmit?(dataSubmitted: IndividualOnfidoSchema, scenario?: Scenario[]): void;
|
|
13
13
|
}
|
|
14
|
-
export declare function DecisionMakerDetailsPage({ decisionMakerId, parentCompanyId, taskType, asModal, hideSidebar, isTargetLegalEntityType, onSubmit, handleBackClick, handleCloseClick, handleHomeClick, }: DecisionMakerDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function DecisionMakerDetailsPage({ decisionMakerId: decisionMakerIdProp, parentCompanyId: parentCompanyIdProp, taskType, asModal, hideSidebar, isTargetLegalEntityType, onSubmit, handleBackClick, handleCloseClick, handleHomeClick, }: DecisionMakerDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import './_entity-association.component.scss';
|
|
2
1
|
import type { EntityAssociationProps } from './types';
|
|
3
2
|
export declare const EntityAssociation: ({ name, types, status, actions, problems, infoContent, onNavigateToEntity, deleteEntity, isDeleteDisabled, }: EntityAssociationProps) => import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
2
2
|
import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
3
|
+
import type { TFunction } from '../../../../../types';
|
|
4
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
5
|
import type { StateCodeUS } from '../../../../types/datasets/state-code';
|
|
4
6
|
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
|
|
5
7
|
import type { CompanyRegistrationNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
|
|
@@ -14,4 +16,12 @@ export declare const registrationNumberDefaultFieldMetadata: FieldMetadata<Busin
|
|
|
14
16
|
export declare const registrationNumberDefaultFieldConfig: PerCountryFieldConfig<BusinessRegistrationNumberFieldSchema, 'registrationNumber', FieldConfigParams>;
|
|
15
17
|
export declare const exemptFromRegistrationNumberDefaultFieldMetadata: FieldMetadata<BusinessRegistrationNumberFieldSchema, 'exemptedFromRegistrationNumber'>;
|
|
16
18
|
export declare const exemptFromRegistrationNumberDefaultFieldConfig: PerCountryFieldConfig<BusinessRegistrationNumberFieldSchema, 'exemptedFromRegistrationNumber', NoParams>;
|
|
19
|
+
interface GetHelperTextParams {
|
|
20
|
+
country: CountryCode;
|
|
21
|
+
companyType?: CompanyTypesValue | 'trust';
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns the helper text for the business registration number field.
|
|
25
|
+
*/
|
|
26
|
+
export declare const getRegistrationNumberHelperText: <Ns extends "business" | "trust">(t: TFunction<Ns>, { country, companyType }: GetHelperTextParams) => string | undefined;
|
|
17
27
|
export {};
|
|
@@ -8,8 +8,9 @@ export interface BusinessRegistrationNumberFieldSchema {
|
|
|
8
8
|
registrationNumberType?: CompanyRegistrationNumberType;
|
|
9
9
|
exemptedFromRegistrationNumber?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export interface BusinessRegistrationNumberFieldProps extends Pick<BaseFormFieldProps<BusinessRegistrationNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'placeholders' | 'readonly' | 'shouldValidate' | 'optional' | 'handleChangeFor'
|
|
11
|
+
export interface BusinessRegistrationNumberFieldProps extends Pick<BaseFormFieldProps<BusinessRegistrationNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'placeholders' | 'readonly' | 'shouldValidate' | 'optional' | 'handleChangeFor'> {
|
|
12
12
|
country: CountryCode;
|
|
13
13
|
canExempt: boolean;
|
|
14
14
|
companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST;
|
|
15
|
+
helperText?: string;
|
|
15
16
|
}
|
|
@@ -3,6 +3,7 @@ import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
|
3
3
|
export interface CountryFieldSchema {
|
|
4
4
|
country?: CountryCode;
|
|
5
5
|
}
|
|
6
|
-
export interface CountryFieldProps extends Pick<BaseFormFieldProps<CountryFieldSchema>, 'name' | 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor' | '
|
|
6
|
+
export interface CountryFieldProps extends Pick<BaseFormFieldProps<CountryFieldSchema>, 'name' | 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor' | 'handleBlur'> {
|
|
7
7
|
allowedCountries?: readonly CountryCode[];
|
|
8
|
+
helperText?: string;
|
|
8
9
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { CountryOfGoverningLawFieldProps, CountryOfGoverningLawFieldSchema } from './types';
|
|
2
2
|
export declare const COUNTRY_OF_GOVERNING_LAW_FIELD: Array<keyof CountryOfGoverningLawFieldSchema>;
|
|
3
|
-
export declare function CountryOfGoverningLawField({ data, valid, errors, labels, readonly, handleChangeFor,
|
|
3
|
+
export declare function CountryOfGoverningLawField({ data, valid, errors, labels, readonly, handleChangeFor, allowedCountries, country, }: CountryOfGoverningLawFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
|
3
3
|
export interface CountryOfGoverningLawFieldSchema {
|
|
4
4
|
countryOfGoverningLaw?: CountryCode;
|
|
5
5
|
}
|
|
6
|
-
export interface CountryOfGoverningLawFieldProps extends Pick<BaseFormFieldProps<CountryOfGoverningLawFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'
|
|
6
|
+
export interface CountryOfGoverningLawFieldProps extends Pick<BaseFormFieldProps<CountryOfGoverningLawFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> {
|
|
7
7
|
allowedCountries?: readonly CountryCode[];
|
|
8
8
|
country?: CountryCode;
|
|
9
9
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { CurrencyProps, CurrencySchema } from './types';
|
|
2
2
|
export declare const CURRENCY_FIELD: Array<keyof CurrencySchema>;
|
|
3
|
-
export declare function Currency({ data, valid, errors, labels, readonly, handleChangeFor,
|
|
3
|
+
export declare function Currency({ data, valid, errors, labels, readonly, handleChangeFor, country, }: CurrencyProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ import type { Currency } from '../../../../types/datasets/currency';
|
|
|
4
4
|
export interface CurrencySchema {
|
|
5
5
|
currency?: string;
|
|
6
6
|
}
|
|
7
|
-
export interface CurrencyProps extends Pick<BaseFormFieldProps<CurrencySchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'
|
|
7
|
+
export interface CurrencyProps extends Pick<BaseFormFieldProps<CurrencySchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> {
|
|
8
8
|
country: CountryCode;
|
|
9
9
|
}
|
|
10
10
|
export declare const currencyByCountry: Partial<Record<CountryCode, Array<Currency>>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './DBANameField.scss';
|
|
2
2
|
import type { DBANameFieldProps, DBANameFieldSchema } from './types';
|
|
3
3
|
export declare const DBA_NAME_FIELD: Array<keyof DBANameFieldSchema>;
|
|
4
|
-
export declare function DBANameField({ data, valid, errors, labels,
|
|
4
|
+
export declare function DBANameField({ data, valid, errors, labels, readonly, handleChangeFor, }: DBANameFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface DBANameFieldSchema {
|
|
|
3
3
|
hasDoingBusinessAs?: boolean;
|
|
4
4
|
doingBusinessAs?: string;
|
|
5
5
|
}
|
|
6
|
-
export type DBANameFieldProps = Pick<BaseFormFieldProps<DBANameFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
6
|
+
export type DBANameFieldProps = Pick<BaseFormFieldProps<DBANameFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'>;
|
|
@@ -152,6 +152,11 @@ export declare const taxIdNumberOptions: {
|
|
|
152
152
|
readonly id: "ABN";
|
|
153
153
|
readonly name: "australianBusinessNumberAbn";
|
|
154
154
|
}];
|
|
155
|
+
readonly AT: readonly [{
|
|
156
|
+
readonly id: "STEUERNUMMER";
|
|
157
|
+
readonly name: "taxInformationNumber__AT";
|
|
158
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
159
|
+
}];
|
|
155
160
|
readonly BE: readonly [{
|
|
156
161
|
readonly id: "BUSINESS_NUMMER";
|
|
157
162
|
readonly name: "businessNumber";
|
|
@@ -169,6 +174,26 @@ export declare const taxIdNumberOptions: {
|
|
|
169
174
|
readonly id: "BUSINESS_NUMBER";
|
|
170
175
|
readonly name: "businessNumber";
|
|
171
176
|
}];
|
|
177
|
+
readonly HR: readonly [{
|
|
178
|
+
readonly id: "OIB";
|
|
179
|
+
readonly name: "taxInformationNumber__HR";
|
|
180
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
181
|
+
}];
|
|
182
|
+
readonly CY: readonly [{
|
|
183
|
+
readonly id: "TIC";
|
|
184
|
+
readonly name: "taxInformationNumber__CY";
|
|
185
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
186
|
+
}];
|
|
187
|
+
readonly EE: readonly [{
|
|
188
|
+
readonly id: "ISIKUKOOD";
|
|
189
|
+
readonly name: "taxInformationNumber__ET";
|
|
190
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
191
|
+
}];
|
|
192
|
+
readonly FI: readonly [{
|
|
193
|
+
readonly id: "HENKILOTUNNUS";
|
|
194
|
+
readonly name: "taxInformationNumber__FI";
|
|
195
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
196
|
+
}];
|
|
172
197
|
readonly DE: readonly [{
|
|
173
198
|
readonly id: "STEUERNUMMER";
|
|
174
199
|
readonly name: "taxInformationNumber__DE";
|
|
@@ -182,6 +207,11 @@ export declare const taxIdNumberOptions: {
|
|
|
182
207
|
readonly id: "GI_TAXPAYER_REFERENCE_NUMBER";
|
|
183
208
|
readonly name: "taxpayerReferenceNumber";
|
|
184
209
|
}];
|
|
210
|
+
readonly GR: readonly [{
|
|
211
|
+
readonly id: "AFM";
|
|
212
|
+
readonly name: "taxInformationNumber__GR";
|
|
213
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
214
|
+
}];
|
|
185
215
|
readonly GG: readonly [{
|
|
186
216
|
readonly id: "GG_REGISTRATION_NUMBER";
|
|
187
217
|
readonly name: "taxInformationNumber";
|
|
@@ -198,11 +228,20 @@ export declare const taxIdNumberOptions: {
|
|
|
198
228
|
readonly id: "TRN";
|
|
199
229
|
readonly name: "trnNumber";
|
|
200
230
|
readonly applicableOnlyFor: readonly ["unincorporatedPartnership"];
|
|
231
|
+
}, {
|
|
232
|
+
readonly id: "PPSN";
|
|
233
|
+
readonly name: "taxInformationNumber__IE_Individual";
|
|
234
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
201
235
|
}];
|
|
202
236
|
readonly IM: readonly [{
|
|
203
237
|
readonly id: "IM_TAX_REFERENCE_NUMBER";
|
|
204
238
|
readonly name: "taxReferenceNumber";
|
|
205
239
|
}];
|
|
240
|
+
readonly IT: readonly [{
|
|
241
|
+
readonly id: "CODICE_FISCALE";
|
|
242
|
+
readonly name: "taxInformationNumber__IT";
|
|
243
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
244
|
+
}];
|
|
206
245
|
readonly JP: readonly [{
|
|
207
246
|
readonly id: "CORPORATE_NUMBER";
|
|
208
247
|
readonly name: "taxInformationNumber";
|
|
@@ -215,6 +254,30 @@ export declare const taxIdNumberOptions: {
|
|
|
215
254
|
readonly name: "socialSecurityNumber";
|
|
216
255
|
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
217
256
|
}];
|
|
257
|
+
readonly LV: readonly [{
|
|
258
|
+
readonly id: "PERSONAS_KODS";
|
|
259
|
+
readonly name: "taxInformationNumber__LV";
|
|
260
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
261
|
+
}];
|
|
262
|
+
readonly LT: readonly [{
|
|
263
|
+
readonly id: "ASMENSKODAS";
|
|
264
|
+
readonly name: "taxInformationNumber__LT";
|
|
265
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
266
|
+
}];
|
|
267
|
+
readonly LU: readonly [{
|
|
268
|
+
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
269
|
+
readonly name: "taxInformationNumber__LU";
|
|
270
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
271
|
+
}];
|
|
272
|
+
readonly MT: readonly [{
|
|
273
|
+
readonly id: "NRU";
|
|
274
|
+
readonly name: "taxInformationNumber__MT_NRU";
|
|
275
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
276
|
+
}, {
|
|
277
|
+
readonly id: "IDENTITY_CARD_NUMBER";
|
|
278
|
+
readonly name: "taxInformationNumber__MT";
|
|
279
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
280
|
+
}];
|
|
218
281
|
readonly NL: readonly [{
|
|
219
282
|
readonly id: "RSIN";
|
|
220
283
|
readonly name: "rsinNumber";
|
|
@@ -228,6 +291,11 @@ export declare const taxIdNumberOptions: {
|
|
|
228
291
|
readonly id: "IRD";
|
|
229
292
|
readonly name: "irdNumber";
|
|
230
293
|
}];
|
|
294
|
+
readonly PT: readonly [{
|
|
295
|
+
readonly id: "NUMERO_ID_CIVIL";
|
|
296
|
+
readonly name: "taxInformationNumber__PT";
|
|
297
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
298
|
+
}];
|
|
231
299
|
readonly PR: readonly [{
|
|
232
300
|
readonly id: "EIN";
|
|
233
301
|
readonly name: "ein";
|
|
@@ -239,6 +307,16 @@ export declare const taxIdNumberOptions: {
|
|
|
239
307
|
readonly id: "UEN";
|
|
240
308
|
readonly name: "uen";
|
|
241
309
|
}];
|
|
310
|
+
readonly SK: readonly [{
|
|
311
|
+
readonly id: "RODNE_CISLO";
|
|
312
|
+
readonly name: "taxInformationNumber__SK";
|
|
313
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
314
|
+
}];
|
|
315
|
+
readonly SI: readonly [{
|
|
316
|
+
readonly id: "SI_TAX_NUMBER";
|
|
317
|
+
readonly name: "taxInformationNumber__SI";
|
|
318
|
+
readonly applicableOnlyFor: readonly ["individual"];
|
|
319
|
+
}];
|
|
242
320
|
readonly ES: readonly [{
|
|
243
321
|
readonly id: "dni";
|
|
244
322
|
readonly name: "dni";
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TFunction } from '../../../../../types';
|
|
2
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
|
+
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
|
|
2
4
|
import type { LegalCompanyNameFieldSchema } from './types';
|
|
3
|
-
interface FieldConfigParams {
|
|
4
|
-
isBusiness?: boolean;
|
|
5
|
-
}
|
|
6
5
|
export declare const defaultFieldMetadata: FieldMetadata<LegalCompanyNameFieldSchema, 'legalCompanyName'>;
|
|
7
|
-
export declare const defaultFieldConfig: PerCountryFieldConfig<LegalCompanyNameFieldSchema, 'legalCompanyName',
|
|
6
|
+
export declare const defaultFieldConfig: PerCountryFieldConfig<LegalCompanyNameFieldSchema, 'legalCompanyName', NoParams>;
|
|
8
7
|
export declare const defaultFieldMetadataV4: FieldMetadata<LegalCompanyNameFieldSchema, 'legalCompanyName'>;
|
|
9
|
-
export declare const defaultFieldConfigV4: PerCountryFieldConfig<LegalCompanyNameFieldSchema, 'legalCompanyName',
|
|
8
|
+
export declare const defaultFieldConfigV4: PerCountryFieldConfig<LegalCompanyNameFieldSchema, 'legalCompanyName', NoParams>;
|
|
9
|
+
interface HelperTextParams {
|
|
10
|
+
country: CountryCode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Returns the helper text for the legal company name field based on country.
|
|
14
|
+
*/
|
|
15
|
+
export declare const getLegalCompanyNameHelperText: (t: TFunction<"business" | "trust">, { country }: HelperTextParams) => string;
|
|
10
16
|
export {};
|
|
@@ -2,4 +2,6 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
|
2
2
|
export interface LegalCompanyNameFieldSchema {
|
|
3
3
|
legalCompanyName?: string | undefined;
|
|
4
4
|
}
|
|
5
|
-
export type LegalCompanyNameFieldProps = Pick<BaseFormFieldProps<LegalCompanyNameFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | '
|
|
5
|
+
export type LegalCompanyNameFieldProps = Pick<BaseFormFieldProps<LegalCompanyNameFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> & {
|
|
6
|
+
helperText?: string;
|
|
7
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NumberOfEmployeesFieldProps, NumberOfEmployeesFieldSchema } from './types';
|
|
2
2
|
export declare const NUMBER_OF_EMPLOYEES_FIELD: Array<keyof NumberOfEmployeesFieldSchema>;
|
|
3
|
-
export declare function NumberOfEmployees({ data, valid, errors, labels, readonly, handleChangeFor,
|
|
3
|
+
export declare function NumberOfEmployees({ data, valid, errors, labels, readonly, handleChangeFor, }: NumberOfEmployeesFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
|
2
2
|
export interface NumberOfEmployeesFieldSchema {
|
|
3
3
|
numberOfEmployees?: number;
|
|
4
4
|
}
|
|
5
|
-
export type NumberOfEmployeesFieldProps = Pick<BaseFormFieldProps<NumberOfEmployeesFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'
|
|
5
|
+
export type NumberOfEmployeesFieldProps = Pick<BaseFormFieldProps<NumberOfEmployeesFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './Address.scss';
|
|
2
2
|
import type { AddressProps } from './types';
|
|
3
|
-
export declare function Address({ data: dataProp, labels, placeholders,
|
|
3
|
+
export declare function Address({ data: dataProp, labels, placeholders, readOnly, hideCountry, fieldValidationErrors: propFieldValidationErrors, allFields, requiredFields, optionalFields, readOnlyFields, obscuredFields, trustedFields, shouldValidate, onChange, verifiedAddress, condensed, handleFieldChange, errors: errorProp, valid: validProp, addressType, }: Readonly<AddressProps>): import("preact/jsx-runtime").JSX.Element;
|