@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
|
@@ -2,35 +2,35 @@
|
|
|
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] = "be3651d6-80b7-4d03-9001-bc7fb0dc05e3", e._sentryDebugIdIdentifier = "sentry-dbid-be3651d6-80b7-4d03-9001-bc7fb0dc05e3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ba as getNestedPropertyKeys, a0 as CountryCodes, o as LegalEntityTypes, a6 as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, j as TaskTypes, aD as keysOf, v as useExperimentsContext, m as useAccountHolder } from "./StoreProvider-BL3nK1iO.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { H as Header } from "./Header-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { T as TextArea } from "./TextArea-
|
|
18
|
-
import { S as StateContextSetter } from "./validate-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-
|
|
25
|
-
import { C as CompanyTypesValues } from "./
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
27
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
14
|
+
import { F as Field } from "./Field-CApB-T06.js";
|
|
15
|
+
import { H as Header } from "./Header-DCVQMDDt.js";
|
|
16
|
+
import { S as Select } from "./Select-C_6mHv91.js";
|
|
17
|
+
import { T as TextArea } from "./TextArea-CWY-x138.js";
|
|
18
|
+
import { S as StateContextSetter } from "./validate-jqVPVUI3.js";
|
|
19
|
+
import { u as useForm } from "./useForm-Bh638xmS.js";
|
|
20
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-DtG8dtIh.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-D-KrwtNK.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-CAHQTbMv.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-CJQolfmf.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-4TE31vJm.js";
|
|
25
|
+
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
26
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-BbFU7XNV.js";
|
|
27
|
+
import { S as SettingNames } from "./TaskVerificationStatus-ycoS73dK.js";
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-_6SITBJE.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
31
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
32
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
33
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
30
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-BucfNSWB.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-uWZO7A9W.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-DcjAPGFV.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-DzUpgP12.js";
|
|
34
34
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
35
35
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
36
36
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -1247,6 +1247,24 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
1249
|
},
|
|
1250
|
+
[CountryCodes.Austria]: {
|
|
1251
|
+
label: "taxInformationNumber__AT",
|
|
1252
|
+
placeholder: "taxInformationNumber__placeHolder__AT",
|
|
1253
|
+
validators: mapValidators(
|
|
1254
|
+
[validatePatternOnBlur(/^\d{1,4}-?\d{1,3}\/?\d{4}$|^\d{9}$/)],
|
|
1255
|
+
CountryCodes.Austria
|
|
1256
|
+
),
|
|
1257
|
+
mask: {
|
|
1258
|
+
mask: makeMask(
|
|
1259
|
+
...numericInputs(4, true),
|
|
1260
|
+
{ type: "input", allow: /[-/]/, optional: true },
|
|
1261
|
+
...numericInputs(3, true),
|
|
1262
|
+
{ type: "input", allow: /[-/]/, optional: true },
|
|
1263
|
+
...numericInputs(4)
|
|
1264
|
+
)
|
|
1265
|
+
},
|
|
1266
|
+
guidanceText: "validationPleaseEnterAValidIdNumberWithExample__AT"
|
|
1267
|
+
},
|
|
1250
1268
|
[CountryCodes.Belgium]: ({ companyType }) => {
|
|
1251
1269
|
switch (companyType) {
|
|
1252
1270
|
case LegalEntityTypes.INDIVIDUAL:
|
|
@@ -1291,6 +1309,70 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1291
1309
|
}
|
|
1292
1310
|
}
|
|
1293
1311
|
},
|
|
1312
|
+
[CountryCodes.Croatia]: {
|
|
1313
|
+
label: "taxInformationNumber__HR",
|
|
1314
|
+
placeholder: "taxInformationNumber__placeHolder__HR",
|
|
1315
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
|
|
1316
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1317
|
+
guidanceText: {
|
|
1318
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1319
|
+
values: {
|
|
1320
|
+
example: "94577403194",
|
|
1321
|
+
idType: "OIB"
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
[CountryCodes.Cyprus]: {
|
|
1326
|
+
label: "taxInformationNumber__CY",
|
|
1327
|
+
placeholder: "taxInformationNumber__placeHolder__CY",
|
|
1328
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
|
|
1329
|
+
mask: {
|
|
1330
|
+
mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
|
|
1331
|
+
transformOnType: uppercase
|
|
1332
|
+
},
|
|
1333
|
+
guidanceText: {
|
|
1334
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1335
|
+
values: {
|
|
1336
|
+
example: "00123123T",
|
|
1337
|
+
idType: "TIC"
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
[CountryCodes.Estonia]: {
|
|
1342
|
+
label: "taxInformationNumber__ET",
|
|
1343
|
+
placeholder: "taxInformationNumber__placeHolder__ET",
|
|
1344
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
|
|
1345
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1346
|
+
guidanceText: {
|
|
1347
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1348
|
+
values: {
|
|
1349
|
+
example: "32708101201",
|
|
1350
|
+
idType: "Isikukood"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
[CountryCodes.Finland]: {
|
|
1355
|
+
label: "taxInformationNumber__FI",
|
|
1356
|
+
placeholder: "taxInformationNumber__placeHolder__FI",
|
|
1357
|
+
validators: mapValidators(
|
|
1358
|
+
[validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)],
|
|
1359
|
+
CountryCodes.Finland
|
|
1360
|
+
),
|
|
1361
|
+
mask: {
|
|
1362
|
+
mask: makeMask(...numericInputs(6), { type: "input", allow: /[+\-A]/ }, ...numericInputs(3), {
|
|
1363
|
+
type: "input",
|
|
1364
|
+
allow: /[0-9A-Y]/
|
|
1365
|
+
}),
|
|
1366
|
+
transformOnType: uppercase
|
|
1367
|
+
},
|
|
1368
|
+
guidanceText: {
|
|
1369
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1370
|
+
values: {
|
|
1371
|
+
example: "131052-308T",
|
|
1372
|
+
idType: "Henkilötunnus"
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1294
1376
|
[CountryCodes.France]: {
|
|
1295
1377
|
label: "taxInformationNumber__FR",
|
|
1296
1378
|
placeholder: "taxInformationNumber__placeHolder__FR",
|
|
@@ -1336,8 +1418,11 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1336
1418
|
return {
|
|
1337
1419
|
label: "taxInformationNumber__DE",
|
|
1338
1420
|
placeholder: "taxInformationNumber__placeHolder__DE",
|
|
1339
|
-
validators: mapValidators(
|
|
1340
|
-
|
|
1421
|
+
validators: mapValidators(
|
|
1422
|
+
[validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)],
|
|
1423
|
+
CountryCodes.Germany
|
|
1424
|
+
),
|
|
1425
|
+
mask: { mask: makeMask(...numericInputs(10), ...numericInputs(3, true)) },
|
|
1341
1426
|
guidanceText: {
|
|
1342
1427
|
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1343
1428
|
values: {
|
|
@@ -1362,6 +1447,19 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1362
1447
|
}
|
|
1363
1448
|
}
|
|
1364
1449
|
},
|
|
1450
|
+
[CountryCodes.Greece]: {
|
|
1451
|
+
label: "taxInformationNumber__GR",
|
|
1452
|
+
placeholder: "taxInformationNumber__placeHolder__GR",
|
|
1453
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
|
|
1454
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1455
|
+
guidanceText: {
|
|
1456
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1457
|
+
values: {
|
|
1458
|
+
example: "244709851",
|
|
1459
|
+
idType: "AFM"
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1365
1463
|
[CountryCodes.Guernsey]: ({ companyType }) => {
|
|
1366
1464
|
switch (companyType) {
|
|
1367
1465
|
case CompanyTypesValues.SOLE_PROPRIETORSHIP:
|
|
@@ -1430,6 +1528,74 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1430
1528
|
}
|
|
1431
1529
|
}
|
|
1432
1530
|
},
|
|
1531
|
+
[CountryCodes.Ireland]: ({ companyType }) => {
|
|
1532
|
+
switch (companyType) {
|
|
1533
|
+
case LegalEntityTypes.INDIVIDUAL:
|
|
1534
|
+
return {
|
|
1535
|
+
label: "taxInformationNumber__IE_Individual",
|
|
1536
|
+
placeholder: "taxInformationNumber__placeHolder__IE_Individual",
|
|
1537
|
+
validators: mapValidators(
|
|
1538
|
+
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)],
|
|
1539
|
+
CountryCodes.Ireland
|
|
1540
|
+
),
|
|
1541
|
+
mask: {
|
|
1542
|
+
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1543
|
+
transformOnType: uppercase
|
|
1544
|
+
},
|
|
1545
|
+
guidanceText: {
|
|
1546
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1547
|
+
values: {
|
|
1548
|
+
example: "1234567T",
|
|
1549
|
+
idType: "Personal Public Service Number"
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
};
|
|
1553
|
+
default:
|
|
1554
|
+
return {
|
|
1555
|
+
label: "trnNumber",
|
|
1556
|
+
validators: mapValidators(
|
|
1557
|
+
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)],
|
|
1558
|
+
CountryCodes.Ireland
|
|
1559
|
+
),
|
|
1560
|
+
mask: {
|
|
1561
|
+
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
|
|
1562
|
+
transformOnType: uppercase
|
|
1563
|
+
},
|
|
1564
|
+
guidanceText: {
|
|
1565
|
+
key: "enterXDigitsThenXToYLettersForExample",
|
|
1566
|
+
values: {
|
|
1567
|
+
numDigits: "7",
|
|
1568
|
+
minLetters: "1",
|
|
1569
|
+
maxLetters: "2",
|
|
1570
|
+
example: "1497955KA"
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1576
|
+
[CountryCodes.IsleOfMan]: {
|
|
1577
|
+
label: "taxReferenceNumber",
|
|
1578
|
+
validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
|
|
1579
|
+
mask: {
|
|
1580
|
+
mask: makeMask(
|
|
1581
|
+
{
|
|
1582
|
+
type: "input",
|
|
1583
|
+
allow: /[HCX]/
|
|
1584
|
+
},
|
|
1585
|
+
...numericInputs(6),
|
|
1586
|
+
...nonInputs(" - "),
|
|
1587
|
+
...numericInputs(2)
|
|
1588
|
+
),
|
|
1589
|
+
transformOnType: uppercase
|
|
1590
|
+
},
|
|
1591
|
+
guidanceText: {
|
|
1592
|
+
key: "enterNCharactersForExample",
|
|
1593
|
+
values: {
|
|
1594
|
+
numChars: "9",
|
|
1595
|
+
example: "C155673-79"
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1433
1599
|
[CountryCodes.Jersey]: ({ taxIdNumberType, companyType }) => {
|
|
1434
1600
|
switch (taxIdNumberType) {
|
|
1435
1601
|
case "SSN":
|
|
@@ -1497,48 +1663,84 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1497
1663
|
}
|
|
1498
1664
|
}
|
|
1499
1665
|
},
|
|
1500
|
-
[CountryCodes.
|
|
1501
|
-
label: "
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
),
|
|
1506
|
-
mask: {
|
|
1507
|
-
mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true))
|
|
1508
|
-
},
|
|
1666
|
+
[CountryCodes.Latvia]: {
|
|
1667
|
+
label: "taxInformationNumber__LV",
|
|
1668
|
+
placeholder: "taxInformationNumber__placeHolder__LV",
|
|
1669
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
|
|
1670
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1509
1671
|
guidanceText: {
|
|
1510
|
-
key: "
|
|
1672
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1511
1673
|
values: {
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
maxLetters: "2",
|
|
1515
|
-
example: "1497955KA"
|
|
1674
|
+
example: "32532963606",
|
|
1675
|
+
idType: "Personas kods"
|
|
1516
1676
|
}
|
|
1517
1677
|
}
|
|
1518
1678
|
},
|
|
1519
|
-
[CountryCodes.
|
|
1520
|
-
label: "
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
{
|
|
1525
|
-
type: "input",
|
|
1526
|
-
allow: /[HCX]/
|
|
1527
|
-
},
|
|
1528
|
-
...numericInputs(6),
|
|
1529
|
-
...nonInputs(" - "),
|
|
1530
|
-
...numericInputs(2)
|
|
1531
|
-
),
|
|
1532
|
-
transformOnType: uppercase
|
|
1533
|
-
},
|
|
1679
|
+
[CountryCodes.Lithuania]: {
|
|
1680
|
+
label: "taxInformationNumber__LT",
|
|
1681
|
+
placeholder: "taxInformationNumber__placeHolder__LT",
|
|
1682
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
|
|
1683
|
+
mask: { mask: makeMask(...numericInputs(11)) },
|
|
1534
1684
|
guidanceText: {
|
|
1535
|
-
key: "
|
|
1685
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1536
1686
|
values: {
|
|
1537
|
-
|
|
1538
|
-
|
|
1687
|
+
example: "33309240064",
|
|
1688
|
+
idType: "Asmens kodas"
|
|
1539
1689
|
}
|
|
1540
1690
|
}
|
|
1541
1691
|
},
|
|
1692
|
+
[CountryCodes.Luxembourg]: {
|
|
1693
|
+
label: "taxInformationNumber__LU",
|
|
1694
|
+
placeholder: "taxInformationNumber__placeHolder__LU",
|
|
1695
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
|
|
1696
|
+
mask: { mask: makeMask(...numericInputs(13)) },
|
|
1697
|
+
guidanceText: {
|
|
1698
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1699
|
+
values: {
|
|
1700
|
+
example: "1893120105732",
|
|
1701
|
+
idType: "National identification number"
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
[CountryCodes.Malta]: ({ taxIdNumberType }) => {
|
|
1706
|
+
switch (taxIdNumberType) {
|
|
1707
|
+
case "IDENTITY_CARD_NUMBER":
|
|
1708
|
+
return {
|
|
1709
|
+
label: "taxInformationNumber__MT",
|
|
1710
|
+
placeholder: "taxInformationNumber__placeHolder__MT",
|
|
1711
|
+
validators: mapValidators(
|
|
1712
|
+
[validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)],
|
|
1713
|
+
CountryCodes.Malta
|
|
1714
|
+
),
|
|
1715
|
+
mask: {
|
|
1716
|
+
mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
|
|
1717
|
+
transformOnType: uppercase
|
|
1718
|
+
},
|
|
1719
|
+
guidanceText: {
|
|
1720
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1721
|
+
values: {
|
|
1722
|
+
example: "1234567A",
|
|
1723
|
+
idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
};
|
|
1727
|
+
case "NRU":
|
|
1728
|
+
default:
|
|
1729
|
+
return {
|
|
1730
|
+
label: "taxInformationNumber__MT_NRU",
|
|
1731
|
+
placeholder: "taxInformationNumber__placeHolder__MT_NRU",
|
|
1732
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
|
|
1733
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1734
|
+
guidanceText: {
|
|
1735
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1736
|
+
values: {
|
|
1737
|
+
example: "999999999",
|
|
1738
|
+
idType: "NRU (Non-Maltese nationals)"
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
};
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1542
1744
|
[CountryCodes.Netherlands]: ({ companyType }) => {
|
|
1543
1745
|
switch (companyType) {
|
|
1544
1746
|
case LegalEntityTypes.INDIVIDUAL:
|
|
@@ -1586,6 +1788,35 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1586
1788
|
}
|
|
1587
1789
|
}
|
|
1588
1790
|
},
|
|
1791
|
+
[CountryCodes.Portugal]: {
|
|
1792
|
+
label: "taxInformationNumber__PT",
|
|
1793
|
+
placeholder: "taxInformationNumber__placeHolder__PT",
|
|
1794
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
|
|
1795
|
+
mask: { mask: makeMask(...numericInputs(9)) },
|
|
1796
|
+
guidanceText: {
|
|
1797
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1798
|
+
values: {
|
|
1799
|
+
example: "299999998",
|
|
1800
|
+
idType: "Numéro ID Civil"
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
[CountryCodes.PuertoRico]: {
|
|
1805
|
+
// should exactly match CountryCodes.UnitedStates
|
|
1806
|
+
label: "taxInformationNumber__US",
|
|
1807
|
+
placeholder: "taxInformationNumber__placeHolder__US",
|
|
1808
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
|
|
1809
|
+
mask: {
|
|
1810
|
+
mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7))
|
|
1811
|
+
},
|
|
1812
|
+
guidanceText: {
|
|
1813
|
+
key: "validationPleaseEnterAValidEINWithFormat",
|
|
1814
|
+
values: {
|
|
1815
|
+
format: "XX-XXXXXXX",
|
|
1816
|
+
example: "98-7654321"
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
},
|
|
1589
1820
|
// Special case for SG in which we also save the registration number as the TaxID if that selection has been made
|
|
1590
1821
|
[CountryCodes.Singapore]: {
|
|
1591
1822
|
label: "gst",
|
|
@@ -1608,20 +1839,38 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1608
1839
|
}
|
|
1609
1840
|
}
|
|
1610
1841
|
},
|
|
1611
|
-
[CountryCodes.
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1842
|
+
[CountryCodes.Slovakia]: {
|
|
1843
|
+
label: "taxInformationNumber__SK",
|
|
1844
|
+
placeholder: "taxInformationNumber__placeHolder__SK",
|
|
1845
|
+
validators: mapValidators(
|
|
1846
|
+
[validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)],
|
|
1847
|
+
CountryCodes.Slovakia
|
|
1848
|
+
),
|
|
1617
1849
|
mask: {
|
|
1618
|
-
mask: makeMask(
|
|
1850
|
+
mask: makeMask(
|
|
1851
|
+
...numericInputs(6),
|
|
1852
|
+
{ type: "input", allow: /\//, optional: true },
|
|
1853
|
+
...numericInputs(4)
|
|
1854
|
+
)
|
|
1619
1855
|
},
|
|
1620
1856
|
guidanceText: {
|
|
1621
|
-
key: "
|
|
1857
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1622
1858
|
values: {
|
|
1623
|
-
|
|
1624
|
-
|
|
1859
|
+
example: "7711167420",
|
|
1860
|
+
idType: "Rodne Cislo"
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
[CountryCodes.Slovenia]: {
|
|
1865
|
+
label: "taxInformationNumber__SI",
|
|
1866
|
+
placeholder: "taxInformationNumber__placeHolder__SI",
|
|
1867
|
+
validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
|
|
1868
|
+
mask: { mask: makeMask(...numericInputs(8)) },
|
|
1869
|
+
guidanceText: {
|
|
1870
|
+
key: "validationPleaseEnterAValidIdNumberWithExample",
|
|
1871
|
+
values: {
|
|
1872
|
+
example: "15012557",
|
|
1873
|
+
idType: "SI tax number"
|
|
1625
1874
|
}
|
|
1626
1875
|
}
|
|
1627
1876
|
},
|
|
@@ -1684,7 +1933,6 @@ const taxInformationDefaultFieldConfig = {
|
|
|
1684
1933
|
},
|
|
1685
1934
|
[CountryCodes.UnitedStates]: {
|
|
1686
1935
|
label: "taxInformationNumber__US",
|
|
1687
|
-
helperText: "taxInformationNumber__helperText__US",
|
|
1688
1936
|
placeholder: "taxInformationNumber__placeHolder__US",
|
|
1689
1937
|
validators: mapValidators(
|
|
1690
1938
|
[validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)],
|
|
@@ -2107,6 +2355,13 @@ const taxIdNumberOptions = {
|
|
|
2107
2355
|
name: "australianBusinessNumberAbn"
|
|
2108
2356
|
}
|
|
2109
2357
|
],
|
|
2358
|
+
[CountryCodes.Austria]: [
|
|
2359
|
+
{
|
|
2360
|
+
id: "STEUERNUMMER",
|
|
2361
|
+
name: "taxInformationNumber__AT",
|
|
2362
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2363
|
+
}
|
|
2364
|
+
],
|
|
2110
2365
|
[CountryCodes.Belgium]: [
|
|
2111
2366
|
{
|
|
2112
2367
|
id: "BUSINESS_NUMMER",
|
|
@@ -2130,6 +2385,34 @@ const taxIdNumberOptions = {
|
|
|
2130
2385
|
],
|
|
2131
2386
|
[CountryCodes.Brazil]: [{ id: "CNPJ", name: "CNPJ" }],
|
|
2132
2387
|
[CountryCodes.Canada]: [{ id: "BUSINESS_NUMBER", name: "businessNumber" }],
|
|
2388
|
+
[CountryCodes.Croatia]: [
|
|
2389
|
+
{
|
|
2390
|
+
id: "OIB",
|
|
2391
|
+
name: "taxInformationNumber__HR",
|
|
2392
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2393
|
+
}
|
|
2394
|
+
],
|
|
2395
|
+
[CountryCodes.Cyprus]: [
|
|
2396
|
+
{
|
|
2397
|
+
id: "TIC",
|
|
2398
|
+
name: "taxInformationNumber__CY",
|
|
2399
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2400
|
+
}
|
|
2401
|
+
],
|
|
2402
|
+
[CountryCodes.Estonia]: [
|
|
2403
|
+
{
|
|
2404
|
+
id: "ISIKUKOOD",
|
|
2405
|
+
name: "taxInformationNumber__ET",
|
|
2406
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2407
|
+
}
|
|
2408
|
+
],
|
|
2409
|
+
[CountryCodes.Finland]: [
|
|
2410
|
+
{
|
|
2411
|
+
id: "HENKILOTUNNUS",
|
|
2412
|
+
name: "taxInformationNumber__FI",
|
|
2413
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2414
|
+
}
|
|
2415
|
+
],
|
|
2133
2416
|
[CountryCodes.Germany]: [
|
|
2134
2417
|
{
|
|
2135
2418
|
id: "STEUERNUMMER",
|
|
@@ -2154,6 +2437,13 @@ const taxIdNumberOptions = {
|
|
|
2154
2437
|
[CountryCodes.Gibraltar]: [
|
|
2155
2438
|
{ id: "GI_TAXPAYER_REFERENCE_NUMBER", name: "taxpayerReferenceNumber" }
|
|
2156
2439
|
],
|
|
2440
|
+
[CountryCodes.Greece]: [
|
|
2441
|
+
{
|
|
2442
|
+
id: "AFM",
|
|
2443
|
+
name: "taxInformationNumber__GR",
|
|
2444
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2445
|
+
}
|
|
2446
|
+
],
|
|
2157
2447
|
[CountryCodes.Guernsey]: [
|
|
2158
2448
|
{ id: "GG_REGISTRATION_NUMBER", name: "taxInformationNumber" },
|
|
2159
2449
|
{
|
|
@@ -2173,9 +2463,21 @@ const taxIdNumberOptions = {
|
|
|
2173
2463
|
id: "TRN",
|
|
2174
2464
|
name: "trnNumber",
|
|
2175
2465
|
applicableOnlyFor: [CompanyTypesValues.UNINCORPORATED_PARTNERSHIP]
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
id: "PPSN",
|
|
2469
|
+
name: "taxInformationNumber__IE_Individual",
|
|
2470
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2176
2471
|
}
|
|
2177
2472
|
],
|
|
2178
2473
|
[CountryCodes.IsleOfMan]: [{ id: "IM_TAX_REFERENCE_NUMBER", name: "taxReferenceNumber" }],
|
|
2474
|
+
[CountryCodes.Italy]: [
|
|
2475
|
+
{
|
|
2476
|
+
id: "CODICE_FISCALE",
|
|
2477
|
+
name: "taxInformationNumber__IT",
|
|
2478
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2479
|
+
}
|
|
2480
|
+
],
|
|
2179
2481
|
[CountryCodes.Japan]: [{ id: "CORPORATE_NUMBER", name: "taxInformationNumber" }],
|
|
2180
2482
|
[CountryCodes.Jersey]: [
|
|
2181
2483
|
{
|
|
@@ -2188,6 +2490,39 @@ const taxIdNumberOptions = {
|
|
|
2188
2490
|
applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
|
|
2189
2491
|
}
|
|
2190
2492
|
],
|
|
2493
|
+
[CountryCodes.Latvia]: [
|
|
2494
|
+
{
|
|
2495
|
+
id: "PERSONAS_KODS",
|
|
2496
|
+
name: "taxInformationNumber__LV",
|
|
2497
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2498
|
+
}
|
|
2499
|
+
],
|
|
2500
|
+
[CountryCodes.Lithuania]: [
|
|
2501
|
+
{
|
|
2502
|
+
id: "ASMENSKODAS",
|
|
2503
|
+
name: "taxInformationNumber__LT",
|
|
2504
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2505
|
+
}
|
|
2506
|
+
],
|
|
2507
|
+
[CountryCodes.Luxembourg]: [
|
|
2508
|
+
{
|
|
2509
|
+
id: "NATIONAL_IDENTIFICATION_NUMBER",
|
|
2510
|
+
name: "taxInformationNumber__LU",
|
|
2511
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2512
|
+
}
|
|
2513
|
+
],
|
|
2514
|
+
[CountryCodes.Malta]: [
|
|
2515
|
+
{
|
|
2516
|
+
id: "NRU",
|
|
2517
|
+
name: "taxInformationNumber__MT_NRU",
|
|
2518
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
id: "IDENTITY_CARD_NUMBER",
|
|
2522
|
+
name: "taxInformationNumber__MT",
|
|
2523
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2524
|
+
}
|
|
2525
|
+
],
|
|
2191
2526
|
[CountryCodes.Netherlands]: [
|
|
2192
2527
|
{
|
|
2193
2528
|
id: "RSIN",
|
|
@@ -2214,6 +2549,13 @@ const taxIdNumberOptions = {
|
|
|
2214
2549
|
name: "irdNumber"
|
|
2215
2550
|
}
|
|
2216
2551
|
],
|
|
2552
|
+
[CountryCodes.Portugal]: [
|
|
2553
|
+
{
|
|
2554
|
+
id: "NUMERO_ID_CIVIL",
|
|
2555
|
+
name: "taxInformationNumber__PT",
|
|
2556
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2557
|
+
}
|
|
2558
|
+
],
|
|
2217
2559
|
[CountryCodes.PuertoRico]: [
|
|
2218
2560
|
{
|
|
2219
2561
|
id: "EIN",
|
|
@@ -2230,6 +2572,20 @@ const taxIdNumberOptions = {
|
|
|
2230
2572
|
name: "uen"
|
|
2231
2573
|
}
|
|
2232
2574
|
],
|
|
2575
|
+
[CountryCodes.Slovakia]: [
|
|
2576
|
+
{
|
|
2577
|
+
id: "RODNE_CISLO",
|
|
2578
|
+
name: "taxInformationNumber__SK",
|
|
2579
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2580
|
+
}
|
|
2581
|
+
],
|
|
2582
|
+
[CountryCodes.Slovenia]: [
|
|
2583
|
+
{
|
|
2584
|
+
id: "SI_TAX_NUMBER",
|
|
2585
|
+
name: "taxInformationNumber__SI",
|
|
2586
|
+
applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
|
|
2587
|
+
}
|
|
2588
|
+
],
|
|
2233
2589
|
[CountryCodes.Spain]: [
|
|
2234
2590
|
{
|
|
2235
2591
|
id: "dni",
|
|
@@ -2551,7 +2907,7 @@ const rules = ({
|
|
|
2551
2907
|
data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax
|
|
2552
2908
|
);
|
|
2553
2909
|
if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country) && rootLegalEntity?.type === "organization" && // SOE-5931 - TODO: investigate L scenario returned to show this on the backend
|
|
2554
|
-
keysOf(rootLegalEntity
|
|
2910
|
+
keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount")) {
|
|
2555
2911
|
return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
|
|
2556
2912
|
}
|
|
2557
2913
|
if (COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country) && !(taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY && COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP.includes(country))) {
|
|
@@ -3110,24 +3466,25 @@ export {
|
|
|
3110
3466
|
TaxInformationField as T,
|
|
3111
3467
|
taxInformationDefaultFieldConfig as a,
|
|
3112
3468
|
additionallIdNumberOptions as b,
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3469
|
+
taxIdNumberOptions as c,
|
|
3470
|
+
TAX_INFORMATION_FIELD as d,
|
|
3471
|
+
requestingIssuing as e,
|
|
3472
|
+
isUsingCompanySearch as f,
|
|
3117
3473
|
getFieldsWithExistingData as g,
|
|
3118
|
-
|
|
3474
|
+
isRegistrationNumberAbsentStateV4Scenario as h,
|
|
3119
3475
|
individualIdNumberOptions as i,
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3476
|
+
COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as j,
|
|
3477
|
+
getCompanyRegistrationNumberOptions as k,
|
|
3478
|
+
countryToTaxInfoTypeMap as l,
|
|
3479
|
+
rules as m,
|
|
3480
|
+
businessRegistrationNumberMasks as n,
|
|
3481
|
+
businessRegistrationNumberPatterns as o,
|
|
3482
|
+
getVatNumberOptions as p,
|
|
3483
|
+
exemptedFromTaxDefaultFieldMetadata as q,
|
|
3128
3484
|
requestingBanking as r,
|
|
3129
3485
|
stateFormatGuidanceText as s,
|
|
3130
3486
|
taxInformationDefaultFieldMetadata as t,
|
|
3131
3487
|
useCapabilities as u,
|
|
3132
|
-
vatNumberOptions as v
|
|
3488
|
+
vatNumberOptions as v,
|
|
3489
|
+
exemptedFromTaxDefaultFieldConfig as w
|
|
3133
3490
|
};
|