@adyen/kyc-components 4.0.0-compact.7 → 4.0.0-compact.9
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/README.md +31 -43
- package/dist/{AcceptTermsOfServiceComponent-BFqDontt.js → AcceptTermsOfServiceComponent-Y5aYfW8R.js} +31 -26
- package/dist/{AccountSetupRejected-f8rcBzZj.js → AccountSetupRejected-BBPH8zsy.js} +2 -5
- package/dist/{ActionBar-CijauUSe.js → ActionBar-CFMobUf9.js} +2 -2
- package/dist/{Address-Bj7zJ6yZ.js → Address-DaePmCRZ.js} +22 -25
- package/dist/{Avatar-DWU7t_0U.js → Avatar-CbD3nP3P.js} +2 -2
- package/dist/{BusinessFinancingComponent-_DvatBRp.js → BusinessFinancingComponent-BfmzIskz.js} +7 -7
- package/dist/{BusinessFinancingDropin-BuATaIOz.js → BusinessFinancingDropin-CLD8LAhP.js} +199 -160
- package/dist/BusinessFinancingPage-Bg-wKhhY.js +43 -0
- package/dist/{BusinessTypeSelectionPage-gsT7g7u8.js → BusinessTypeSelectionPage-D3EIjy_H.js} +11 -17
- package/dist/{Checkbox-5Sc5pzsh.js → Checkbox-DmYVTVOD.js} +2 -2
- package/dist/{Confirm-C0J_JwMM.js → Confirm-NubmSSR7.js} +3 -3
- package/dist/{ConstitutionalDocument-Bw5T0g5Q.js → ConstitutionalDocument-Djj_JCy4.js} +43 -30
- package/dist/{ContactDetails-CXTim9KR.js → ContactDetails-tNdzS3d4.js} +13 -10
- package/dist/{ContextGuidance-074d6FWy.js → ContextGuidance-Dp2PWG5c.js} +2 -3
- package/dist/{CountryField-DxZlK1rV.js → CountryField-C7SjQFv_.js} +4 -6
- package/dist/{CreateIndividualComponent-BppUrKMC.js → CreateIndividualComponent-DwOiAUaA.js} +8 -8
- package/dist/{CreateTransferInstrumentComponent-Cl2NOJb6.js → CreateTransferInstrumentComponent-D29rvuqv.js} +6 -6
- package/dist/{Currency-CIgj9KwH.js → Currency-B4udmJgX.js} +12 -18
- package/dist/{CustomerSupport-UenL9SqQ.js → CustomerSupport-CU3xoowB.js} +10 -11
- package/dist/{DebugModal-KXKodU9u.js → DebugModal-C7WSGJRZ.js} +10 -11
- package/dist/{DecisionMakerDetailsPage-Xwe1qYtH.js → DecisionMakerDetailsPage-C-mB9v5X.js} +10 -10
- package/dist/{DecisionMakers-CJDodZSl.js → DecisionMakers-AhL30Hnp.js} +114 -55
- package/dist/{Dropzone-kpihpy7N.js → Dropzone-B9NMiWRF.js} +4 -4
- package/dist/{EmbeddedStatus-BJjPDUeS.js → EmbeddedStatus-DkQk7orK.js} +3 -3
- package/dist/{EndStateLayout-Cx1NUGVq.js → EndStateLayout-DVisdSEd.js} +2 -2
- package/dist/{EntityAssociation-BtQeHZOq.js → EntityAssociation-BSnS5dP_.js} +5 -6
- package/dist/{EntityGuidanceStatus-DyMVy3R4.js → EntityGuidanceStatus-C2eFgLqN.js} +4 -4
- package/dist/{ErrorPanel-CAALFKmE.js → ErrorPanel-D4kO8XQ8.js} +11 -13
- package/dist/{Field-Bs7wGDqk.js → Field-CPoHG0G-.js} +3 -3
- package/dist/{FormNavigation-BtSvWPRY.js → FormNavigation-yD8USwyG.js} +3 -3
- package/dist/{Individual.rules-CP2tzjmO.js → Individual.rules-0EggSgTn.js} +16 -9
- package/dist/{IndividualDropin-xfXkDkrM.js → IndividualDropin-Eo9sxeBW.js} +692 -267
- package/dist/{InputDate-CLxqciJA.js → InputDate-BVYQZZuX.js} +2 -2
- package/dist/{InputText-BdCbTzL9.js → InputText-C55stM8O.js} +2 -2
- package/dist/{Introduction-BRWdnVv5.js → Introduction-CZ_-eIBj.js} +4 -4
- package/dist/{JpAddress-BSEenMj0.js → JpAddress-B3HjxunW.js} +12 -14
- package/dist/{LandingLayout-kl7TkBGx.js → LandingLayout-C_SbjQZA.js} +2 -3
- package/dist/{LegalCompanyNameField-DzAxAnD9.js → LegalCompanyNameField-DBiJbXem.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage--yY_D66i.js → LegalRepresentativeDetailsPage-DFKA0RAe.js} +6 -6
- package/dist/{Link-CXYU8cLY.js → Link-ru5UMRxt.js} +2 -2
- package/dist/{ListItem-HD5_HiQ2.js → ListItem-C6ALEoR-.js} +3 -3
- package/dist/{LoaderWrapper-C2PvjjQc.js → LoaderWrapper-BL7Hc_DC.js} +2 -2
- package/dist/{ManageIndividualComponent-BGaAbJjj.js → ManageIndividualComponent-CkybWipX.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DFjaajE4.js → ManageTermsOfServiceComponent-Cgjagedl.js} +6 -6
- package/dist/{ManageTransferInstrumentComponent-Dndkwh_d.js → ManageTransferInstrumentComponent-DOpxzIzn.js} +16 -18
- package/dist/{MaskedInput-BSW18fxr.js → MaskedInput-1f16YE1z.js} +5 -5
- package/dist/{MaybeModal-xIjl3I31.js → MaybeModal-7NGTfxO6.js} +3 -3
- package/dist/{Modal-CZ-HuGUO.js → Modal-BMdWqd0Y.js} +15 -25
- package/dist/{Name-D6EhveoK.js → Name-BQWEKtu9.js} +5 -5
- package/dist/NewSummary-D-9PYaY6.js +60 -0
- package/dist/{OnboardingDropinComponent-CHtcVTHh.js → OnboardingDropinComponent-CxUcB7IU.js} +813 -121
- package/dist/{PayoutDetailsDropin-C2pNMAZS.js → PayoutDetailsDropin-DWqomQHU.js} +81 -190
- package/dist/PayoutDetailsPage-NIBSRWDA.js +55 -0
- package/dist/{RadioGroup-CxcIXYzs.js → RadioGroup-BuAX_NLA.js} +2 -2
- package/dist/{RadioGroupCard-Y214QWmQ.js → RadioGroupCard-Cbd_S6Fi.js} +2 -2
- package/dist/{Review-B2NCN4h_.js → Review-BjdQyMeU.js} +6 -8
- package/dist/{RootBusinessDetailsPage-hr5fLCIH.js → RootBusinessDetailsPage-CE9KIQRB.js} +6 -6
- package/dist/{RootBusinessLinesPage-DSna9haW.js → RootBusinessLinesPage-DYZETgKB.js} +129 -139
- package/dist/{RootIndividualDetailsPage-BItguz9n.js → RootIndividualDetailsPage-DCEHjEbR.js} +9 -10
- package/dist/{Select-DaCJsYNl.js → Select-seF9rM5K.js} +4 -4
- package/dist/{SignPCIComponent-C2YjBxQM.js → SignPCIComponent-CkaBa8MB.js} +18 -17
- package/dist/{SingpassSelection-B3ozCH9I.js → SingpassSelection-FctS_Rd2.js} +6 -6
- package/dist/{SoleProprietorshipPage-DIzzhgjr.js → SoleProprietorshipPage-BolUC48_.js} +5 -5
- package/dist/{SourceOfFundsPage-C3kXyE7G.js → SourceOfFundsPage-qPaoxTgM.js} +272 -103
- package/dist/{StepProgressIndicator-BSGlNU3K.js → StepProgressIndicator-DQIv4e4a.js} +2 -2
- package/dist/{StoreProvider-99-ewU62.js → StoreProvider-CBB99upB.js} +1032 -292
- package/dist/{StructuredList-CVMZBzwq.js → StructuredList-EKVbq_i3.js} +1 -1
- package/dist/{Summary-D0GcSMNn.js → Summary-C5uRwUKn.js} +28 -24
- package/dist/{TaxInformationField-BxQvx1zK.js → TaxInformationField-B7AVdVgf.js} +614 -634
- package/dist/{TaxReportingDropin-BqvAQH2c.js → TaxReportingDropin-C2dEK3ij.js} +15 -17
- package/dist/{TextArea-BjsWgkR-.js → TextArea-BbRKVKmP.js} +2 -2
- package/dist/{TileGroup-C-5-VREz.js → TileGroup-oKbh_YGv.js} +3 -3
- package/dist/{TrustDetailsPage-YROGiuFJ.js → TrustDetailsPage-BbQB4A5-.js} +129 -120
- package/dist/{TrustMemberCompanyPage-Z2EuqPEI.js → TrustMemberCompanyPage-CbRLAXBG.js} +7 -7
- package/dist/TrustMemberIndividualPage-BFRSkSas.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-BEOtdItr.js → TrustMemberRoleAndTypePage-pS7j8_f6.js} +35 -44
- package/dist/{TrustMembersOverview-GybHMIEU.js → TrustMembersOverview-aEVgO4Gr.js} +17 -21
- package/dist/{UnincorporatedPartnershipIndividualPage-BCYxSTlv.js → UnincorporatedPartnershipIndividualPage-DO7AXsP5.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js → UnincorporatedPartnershipMemberCompanyPage-qvOu17yc.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js → UnincorporatedPartnershipMemberRoleAndTypePage-reBMcz-Y.js} +15 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-B3Vi088r.js → UnincorporatedPartnershipMembersOverview-B5YCchZY.js} +8 -12
- package/dist/{VerificationErrorAlert-C6_ewC7c.js → VerificationErrorAlert-BcntIwEo.js} +23 -4
- package/dist/{ViewVerificationStatusComponent-DpA4jlct.js → ViewVerificationStatusComponent-CrQahS3p.js} +3 -4
- 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-invited-decision-maker.js +87 -17
- package/dist/adyen-kyc-components.js +18 -47
- 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-CIGv_BK8.js → bafinUtils-B1LygAFl.js} +14 -2
- package/dist/{commonValidators-DTt6he7v.js → commonValidators-CInBRB1V.js} +2 -2
- package/dist/{da-DK-JHZnsI59.js → da-DK-BfsYpvel.js} +18 -3
- package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
- package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
- package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
- package/dist/da-DK-Cv6XUSoW.js +13 -0
- package/dist/da-DK-D9FgPh5e.js +13 -0
- package/dist/{da-DK-h8DYQ_Iq.js → da-DK-mUuPR2YO.js} +2 -2
- package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
- package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
- package/dist/de-DE-BplDsJEb.js +13 -0
- package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
- package/dist/{de-DE-VGGEkxUT.js → de-DE-CEsDXBn-.js} +18 -3
- package/dist/de-DE-Cg_RNIr-.js +13 -0
- package/dist/{de-DE-LQE_LFFL.js → de-DE-CwT6O212.js} +2 -2
- package/dist/{dropinUtils--st1YpV6.js → dropinUtils-D44Paj5u.js} +30 -16
- package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
- package/dist/{en-US-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
- package/dist/en-US-B6tiYqel.js +13 -0
- package/dist/en-US-CfazE4ht.js +13 -0
- package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
- package/dist/{en-US-D1sB335h.js → en-US-DIlZD5Wh.js} +16 -1
- package/dist/{en-US-DYP6rAvA.js → en-US-G607HIyo.js} +2 -2
- package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
- package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
- package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
- package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
- package/dist/{es-ES-Bn9_0wK0.js → es-ES-BWFP5itn.js} +18 -3
- package/dist/es-ES-BZiC4JWr.js +13 -0
- package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
- package/dist/es-ES-DRsix_Xn.js +13 -0
- package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
- package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
- package/dist/fi-FI-BftTiz0c.js +13 -0
- package/dist/fi-FI-CEH4BfU3.js +13 -0
- package/dist/{fi-FI-PVFqd5Ra.js → fi-FI-DenK0WPz.js} +18 -3
- package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
- package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
- package/dist/{formUtils-C_sWWLS3.js → formUtils-BEcbGHkz.js} +3 -18
- package/dist/{fr-FR-mJK4hjwD.js → fr-FR-BmTswZU5.js} +18 -3
- package/dist/fr-FR-C6jxjXAI.js +13 -0
- package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
- package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
- package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
- package/dist/fr-FR-NxOktkWc.js +13 -0
- package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
- package/dist/{getName-CnZDw7kV.js → getName-CdgtxRvu.js} +2 -2
- package/dist/{getProblemsForEntity-D8qEVVOM.js → getProblemsForEntity-DFP6N3co.js} +2 -2
- package/dist/{iframeWidget-DqeucjDU.js → iframeWidget-B0fieiAe.js} +4 -4
- package/dist/{isEmpty-CUuXL9Na.js → isEmpty-3U9fSQsY.js} +2 -2
- package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
- package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
- package/dist/it-IT-CXlaZNIj.js +13 -0
- package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
- package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
- package/dist/{it-IT-BTWkWSJq.js → it-IT-DJe5OflH.js} +18 -3
- package/dist/it-IT-OppZz3gW.js +13 -0
- package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
- package/dist/ja-JP-A6ArIIZ8.js +13 -0
- package/dist/{ja-JP-Bc4U0S8-.js → ja-JP-BpeNsNhn.js} +3 -3
- package/dist/{ja-JP-bz7ekGnF.js → ja-JP-CbP1sVFP.js} +4 -2
- package/dist/ja-JP-CethQRoG.js +13 -0
- package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
- package/dist/{ja-JP-CceCDXLB.js → ja-JP-GGV_-V6p.js} +18 -3
- package/dist/{ja-JP-Bv3ru9Xq.js → ja-JP-GX3l4yqn.js} +17 -17
- package/dist/{japanSupportUtils-CGWcXGP2.js → japanSupportUtils-CaeglTl1.js} +2 -2
- package/dist/{localizeDateString-D6tFShQu.js → localizeDateString-D2nDwdFu.js} +2 -2
- package/dist/{mapExistingFile-BM9f5AeG.js → mapExistingFile-BigOdLU3.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DUoJIoRm.js +54 -0
- package/dist/{mapLegalEntityToIndividualSchema-DVKTWyvx.js → mapLegalEntityToIndividualSchema-UVUkctdQ.js} +43 -45
- package/dist/{mapTransferInstrumentToPayoutAccount--gtugk3J.js → mapTransferInstrumentToPayoutAccount-qpUP3sTf.js} +2 -2
- package/dist/{nl-NL-CTf7zH4M.js → nl-NL-4Mv4rnYy.js} +18 -3
- package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
- package/dist/nl-NL-BwWFlBOs.js +13 -0
- package/dist/nl-NL-CYFznuWn.js +13 -0
- package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
- package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
- package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
- package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
- package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
- package/dist/no-NO-BsEie1We.js +13 -0
- package/dist/{no-NO-RfTK9KAV.js → no-NO-ByCZ3mhz.js} +18 -3
- package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
- package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
- package/dist/no-NO-JWsSd7iY.js +13 -0
- package/dist/{patternValidators-vYKnE5-t.js → patternValidators-BkY5yvNa.js} +2 -2
- package/dist/{process-field-configurations-Dl2Isz78.js → process-field-configurations-BnIbMyYt.js} +5 -5
- package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
- package/dist/pt-BR-BJOww8U1.js +13 -0
- package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
- package/dist/pt-BR-C-YbDjn-.js +13 -0
- package/dist/{pt-BR-zuqB_CBf.js → pt-BR-D4BTdo_w.js} +2 -2
- package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
- package/dist/{pt-BR-BbFJsIVX.js → pt-BR-DRz5cG4o.js} +18 -3
- package/dist/{resolveEnvironment-B_JokQ0n.js → resolveEnvironment-C5RkjL5E.js} +5 -5
- package/dist/{roleMetadata-eM6T7GeQ.js → roleMetadata-C8VLzyMj.js} +3 -3
- package/dist/sl-SI-BfO3xEJx.js +13 -0
- package/dist/sl-SI-CJH14wbj.js +13 -0
- package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
- package/dist/{sl-SI-D8dDckrW.js → sl-SI-DKSu25rO.js} +18 -3
- package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
- package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
- package/dist/style.css +1868 -1836
- package/dist/styles-CLV89_hH.js +1868 -1836
- package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
- package/dist/sv-SE-CMLKzwtj.js +13 -0
- package/dist/{sv-SE-DGpvVvWj.js → sv-SE-Co7Nkd06.js} +18 -3
- package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
- package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
- package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
- package/dist/sv-SE-ZsucW_Uj.js +13 -0
- package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +5 -0
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +6 -3
- package/dist/types/api/companySearch/companySearch.types.d.ts +8 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +9 -3
- package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
- package/dist/types/api/invitations/invitations.types.d.ts +14 -0
- package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +8 -0
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +9 -0
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
- package/dist/types/api/queryKeys.d.ts +4 -1
- package/dist/types/api/toggles/useToggles.d.ts +9 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +7 -7
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +7 -17
- package/dist/types/components/Business/forms/rules.d.ts +10 -8
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -6
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -1
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +6 -0
- package/dist/types/components/Business/utils/submit.d.ts +2 -0
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +5 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2783 -2783
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +5 -7
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +8 -9
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
- package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
- package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +12 -7
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +6 -5
- package/dist/types/components/Individual/forms/Individual.types.d.ts +15 -5
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +4 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +3 -0
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/FormNavigation/types.d.ts +2 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/Currency/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -244
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +10 -0
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +17 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -3
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -1
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +5 -5
- package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +6 -6
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +5 -4
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +9 -7
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +4 -0
- package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/core/models/api/financialReport.d.ts +7 -1
- package/dist/types/core/models/api/legal-entity.d.ts +1 -6
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +7 -2
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +5 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
- package/dist/types/hooks/useForm/types.d.ts +3 -6
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/language/types.d.ts +3 -15
- package/dist/types/language/utils.d.ts +6 -5
- package/dist/types/stores/formState.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +6 -0
- package/dist/types/types/errors/error-message.d.ts +2 -2
- package/dist/types/types/errors/remediation.d.ts +2 -2
- package/dist/types/types/form-configuration.d.ts +2 -2
- package/dist/types/types/form.d.ts +2 -2
- package/dist/types/utils/decisionMaker.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +6 -6
- package/dist/types/utils/formUtils.d.ts +5 -6
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/not.d.ts +12 -0
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/types-CQ2p58-6.js +36 -0
- package/dist/{types-C8io4KaH.js → types-CcxS0801.js} +2 -2
- package/dist/{types-DwXc_yI8.js → types-DcouFF7I.js} +2 -2
- package/dist/{types-B7GElie6.js → types-_ugkpUNx.js} +11 -9
- package/dist/{types-BQL9Lsg4.js → types-vXKpLHZM.js} +2 -2
- package/dist/{Image-CAucF9wz.js → unincorporated-partnership-QawJyhxx.js} +8 -7
- package/dist/{useAssociatedLegalEntity-ETDoz1H2.js → useAssociatedLegalEntity-DXp9udzH.js} +2 -2
- package/dist/{useBusinessDetailsData-FrL0b9Ni.js → useBusinessDetailsData-CgfVRRNG.js} +1090 -917
- package/dist/{useCreateLegalEntity-DrcLoNYT.js → useCreateLegalEntity-C5daQcez.js} +2 -2
- package/dist/{useForm-DqUW2TbW.js → useForm-BQDytQRR.js} +3 -3
- package/dist/{useFormContext-CkuaJPUI.js → useFormContext-CX6rQNws.js} +9 -8
- package/dist/{FormWrapper-B3N3YosC.js → useGlobalData-xVRfhIqc.js} +66 -11
- package/dist/{useMultiForm-Dm2IEMH9.js → useMultiForm-DRZSxmEa.js} +12 -6
- package/dist/{useOnboardingStatus-H7Xqe2GC.js → useOnboardingStatus-C6X8CPF2.js} +2 -2
- package/dist/{useScenarios-CibP5LVa.js → useScenarios-C5uruC52.js} +2 -2
- package/dist/{useTermsOfServiceStatus-Dg_nBQgt.js → useTermsOfServiceStatus-CABu0vXO.js} +2 -2
- package/dist/{useToastContext-D643iewp.js → useToastContext-C2BAjZxO.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BM9dNg4i.js → useUnincorporatedPartnershipMembers-Duhfzca2.js} +5 -5
- package/dist/{useUpdateBusinessLines-BuW6Vnof.js → useUpdateBusinessLines-CFgADcSW.js} +5 -5
- package/dist/{useUpdateLegalEntity-tRw1V_Mt.js → useUpdateLegalEntity-vK1vTzAB.js} +3 -3
- package/dist/{utils-D9h2Aq2w.js → utils-Bh3VtXaW.js} +55 -22
- package/dist/{utils-BnolcW6V.js → utils-Bo1WrnnM.js} +6 -6
- package/dist/{utils-BasWTkqk.js → utils-BvFIL5qs.js} +22 -2
- package/dist/{utils-b_KUV0wb.js → utils-HUgTKRia.js} +2 -2
- package/dist/{utils-PkTZS9uf.js → utils-nUjUW0ze.js} +2 -2
- package/dist/{validate-K0fmvoFj.js → validate-CDGLD3wC.js} +24 -12
- package/dist/{validate-CtxacqMv.js → validate-DDCTmBf4.js} +5 -5
- package/dist/{validationError-DdlWONz2.js → validationError-DmAD3_AN.js} +3 -3
- package/package.json +35 -53
- package/dist/Accordion-B2vSnESS.js +0 -88
- package/dist/Alert-CFmX9yNV.js +0 -169
- package/dist/BusinessFinancingPage-Bpu78Ynn.js +0 -43
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-vslG1ugE.js +0 -83
- package/dist/TaskVerificationStatus-DZIw2ztV.js +0 -129
- package/dist/TrustMemberIndividualPage-DmNp3D89.js +0 -64
- package/dist/accountHolderUtils-Btu9mMnM.js +0 -66
- package/dist/company-types-value-D_mKv5PT.js +0 -23
- package/dist/da-DK-DvZ431fC.js +0 -13
- package/dist/da-DK-DzcTI92X.js +0 -13
- package/dist/datasetUtil-BHQp0-xL.js +0 -58
- package/dist/de-DE-0uSzhWg5.js +0 -13
- package/dist/de-DE-dPfrbCii.js +0 -13
- package/dist/en-US-CozY33On.js +0 -13
- package/dist/en-US-cVpRgdC8.js +0 -13
- package/dist/es-ES--IvNed_Q.js +0 -13
- package/dist/es-ES-B7dt4cn7.js +0 -13
- package/dist/fi-FI-BUixKfXH.js +0 -13
- package/dist/fi-FI-REMsyTSr.js +0 -13
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
- package/dist/fr-FR-BM-qNLci.js +0 -13
- package/dist/fr-FR-CvHWmim-.js +0 -13
- package/dist/getTrustedFields-C5-mXl-l.js +0 -64
- package/dist/it-IT-BeX7-OcD.js +0 -13
- package/dist/it-IT-D63gRTDc.js +0 -13
- package/dist/ja-JP-B3wVYIJU.js +0 -151
- package/dist/ja-JP-DL0IjTzn.js +0 -13
- package/dist/mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js +0 -162
- package/dist/nl-NL-CM5U8ODq.js +0 -13
- package/dist/nl-NL-KQ6bciOb.js +0 -13
- package/dist/no-NO-BQL_M1pn.js +0 -13
- package/dist/no-NO-Ds3VioxT.js +0 -13
- package/dist/pt-BR-AZ3roErF.js +0 -13
- package/dist/pt-BR-Ct4s4jXV.js +0 -13
- package/dist/sl-SI-C0wSbuau.js +0 -13
- package/dist/sl-SI-hxwQIw_i.js +0 -13
- package/dist/sv-SE-0PQ-U1u6.js +0 -13
- package/dist/sv-SE-DtKjf4Go.js +0 -13
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +0 -23
- package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
- package/dist/useBusinessLines-C5NQ5pE8.js +0 -29
- package/dist/useCanSeeIntroduction-BdZJ7k-_.js +0 -48
- package/dist/useDataMissingRemediations-Zgtpw7uZ.js +0 -41
- package/dist/useDataset-Cap5ZjTr.js +0 -76
- package/dist/useDeleteTransferInstrument-B2wRj-qL.js +0 -32
- package/dist/useGlobalData-5Z6W3or1.js +0 -68
- package/dist/useNavigate-CI0N-POy.js +0 -265
- package/dist/usePciQuestionnaireList-BF7TPjbQ.js +0 -29
- package/dist/useSalesChannels-DYGRfKeh.js +0 -65
- package/dist/useSetting-CbBaitp6.js +0 -19
- package/dist/useTaskStatus-1OZ2clnm.js +0 -51
- package/dist/useTrustMembers-BTCDIu6B.js +0 -163
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
|
@@ -4,7 +4,7 @@ export interface BusinessFinancingFinancialInformationSchema {
|
|
|
4
4
|
financialReportingDate?: string;
|
|
5
5
|
legalEntityIdentifier?: string;
|
|
6
6
|
currency?: string;
|
|
7
|
-
|
|
7
|
+
balanceSheetTotal?: string;
|
|
8
8
|
annualTurnover?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const financialInformationFields: (keyof BusinessFinancingFinancialInformationSchema)[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Slottable } from 'named-slots';
|
|
2
|
+
import type { FormModelWithValidity } from '../../../../types/form';
|
|
3
|
+
import type { BusinessFinancingSummaryType } from './types';
|
|
4
|
+
interface BusinessFinancingSummaryProps {
|
|
5
|
+
forms: FormModelWithValidity[];
|
|
6
|
+
items: BusinessFinancingSummaryType;
|
|
7
|
+
handleEditForm: (formId: string) => void;
|
|
8
|
+
children?: Slottable;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Business and data layer around Summary, processing all the data
|
|
12
|
+
*/
|
|
13
|
+
export declare const BusinessFinancingSummary: ({ forms, items, handleEditForm, children, }: BusinessFinancingSummaryProps) => import("preact/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExistingLegalEntity, LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
2
2
|
import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
|
|
3
|
-
import type { NsTranslationKey, Translatable
|
|
3
|
+
import type { NsTranslationKey, Translatable } from '../../../../../types';
|
|
4
4
|
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
5
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
import type { FormList, FormModel } from '../../../../types/form';
|
|
@@ -87,9 +87,6 @@ export interface BusinessFinancingSoleProprietorPersonalInformationProps extends
|
|
|
87
87
|
targetPage: BusinessFinancingPage;
|
|
88
88
|
sectionHeading?: NsTranslationKey<'businessFinancing'>;
|
|
89
89
|
}
|
|
90
|
-
export type BusinessFinancingCustomLabels = {
|
|
91
|
-
[K in keyof BusinessFinancingSchema]?: Partial<Record<keyof NonNullable<BusinessFinancingSchema[K]>, Translatable>>;
|
|
92
|
-
};
|
|
93
90
|
export interface BusinessFinancingOwnershipStructureProps extends BaseInnerFormProps<BusinessFinancingOwnershipStructureSchema> {
|
|
94
91
|
legalEntity?: LegalEntity;
|
|
95
92
|
}
|
|
@@ -114,11 +111,11 @@ declare const BusinessFinancingRadioIds: {
|
|
|
114
111
|
};
|
|
115
112
|
export declare const businessFinancingRadioItems: Array<{
|
|
116
113
|
id: BusinessFinancingRadioId;
|
|
117
|
-
name:
|
|
114
|
+
name: NsTranslationKey<'common'>;
|
|
118
115
|
}>;
|
|
119
116
|
export declare const businessFinancingParentRadioItems: Array<{
|
|
120
117
|
id: BusinessFinancingRadioId;
|
|
121
|
-
name:
|
|
118
|
+
name: NsTranslationKey<'common'>;
|
|
122
119
|
}>;
|
|
123
120
|
export interface BusinessFinancingRegisteredAddressProps extends BaseInnerFormProps<BusinessFinancingRegisteredAddressSchema> {
|
|
124
121
|
sectionHeading?: Translatable;
|
|
@@ -145,7 +142,7 @@ interface BusinessFinancingSummary {
|
|
|
145
142
|
naceCodeLabel?: string;
|
|
146
143
|
legalInformationInsolvency?: string;
|
|
147
144
|
annualTurnover?: string;
|
|
148
|
-
|
|
145
|
+
balanceSheetTotal?: string;
|
|
149
146
|
currency?: string;
|
|
150
147
|
legalProceedingsDate?: string;
|
|
151
148
|
financialReportingDate?: string;
|
|
@@ -156,6 +153,7 @@ interface BusinessFinancingSummary {
|
|
|
156
153
|
sameAddressAsRootEntity?: string;
|
|
157
154
|
registrationAddress?: AddressSchema;
|
|
158
155
|
}
|
|
156
|
+
export type BusinessFinancingSummaryKey = keyof BusinessFinancingSummary;
|
|
159
157
|
export type BusinessFinancingSummaryType = {
|
|
160
158
|
company?: BusinessFinancingSummary;
|
|
161
159
|
soleProprietor?: BusinessFinancingSummary;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExistingLegalEntity, LegalEntity,
|
|
1
|
+
import type { ExistingLegalEntity, LegalEntity, PatchLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
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';
|
|
@@ -12,12 +12,11 @@ export declare const entityHasParentCompany: (data: BusinessFinancingSchema) =>
|
|
|
12
12
|
export declare const entityHasUltimateParentCompany: (data: BusinessFinancingSchema) => boolean | "" | undefined;
|
|
13
13
|
export declare const financialReportsToString: (financialReports: FinancialInformationSchema) => {
|
|
14
14
|
numberOfEmployees: string | undefined;
|
|
15
|
-
netAssets: string | undefined;
|
|
16
15
|
annualTurnover: string | undefined;
|
|
17
16
|
balanceSheetTotal: string | undefined;
|
|
18
|
-
|
|
19
|
-
financialReportingDate?: string;
|
|
17
|
+
financialReportingDate?: any;
|
|
20
18
|
currency?: Currency;
|
|
19
|
+
reportedValueOption?: "balanceSheetTotal" | "annualTurnover";
|
|
21
20
|
};
|
|
22
21
|
/**
|
|
23
22
|
* Prepares sole proprietor business financing data for submission.
|
|
@@ -25,15 +24,15 @@ export declare const financialReportsToString: (financialReports: FinancialInfor
|
|
|
25
24
|
* This function always returns UPDATE payloads (with IDs), never CREATE payloads.
|
|
26
25
|
*/
|
|
27
26
|
export declare const prepareSoleProprietorBusinessFinancingSubmitData: (data: BusinessFinancingSchema, rootLegalEntity: ExistingLegalEntity | undefined, soleProprietorLegalEntity: ExistingLegalEntity | undefined) => {
|
|
28
|
-
individualPayload:
|
|
29
|
-
solePropPayload:
|
|
27
|
+
individualPayload: PatchLegalEntity;
|
|
28
|
+
solePropPayload: PatchLegalEntity;
|
|
30
29
|
} | null;
|
|
31
30
|
export declare const prepareBusinessFinancingSubmitData: (businessFinancingIndex: BusinessFinancingIndex, data: BusinessFinancingSchema, rootLegalEntity: ExistingLegalEntity | undefined) => LegalEntity | null;
|
|
32
31
|
export declare const appendBusinessFinancingData: (legalOrganization?: Organization, businessFinancingData?: BusinessFinancingCompanySchema | BusinessFinancingParentSchemasCombined) => BusinessFinancingCompanySchema | BusinessFinancingParentSchemasCombined | undefined;
|
|
33
32
|
export declare const appendSoleProprietorBusinessFinancingData: (legalArrangement: any, businessFinancingData?: BusinessFinancingSoleProprietorSchema) => BusinessFinancingSoleProprietorSchema | undefined;
|
|
34
|
-
export declare const handleBusinessFinancingFormSubmission: (businessFinancingType: BusinessFinancingIndex, details: LegalEntity |
|
|
33
|
+
export declare const handleBusinessFinancingFormSubmission: (businessFinancingType: BusinessFinancingIndex, details: LegalEntity | PatchLegalEntity | null, createFunction: (details: LegalEntity) => Promise<ExistingLegalEntity>, updateFunction: (details: PatchLegalEntity) => Promise<ExistingLegalEntity>, entityId?: string) => Promise<ExistingLegalEntity>;
|
|
35
34
|
export declare const getCompanySchemaKeys: (country: CountryCode, currentData: Partial<BusinessFinancingCompanySchema>, schemaKeys: (keyof BusinessFinancingCompanySchema)[]) => Array<keyof BusinessFinancingCompanySchema>;
|
|
36
35
|
export declare const getSoleProprietorSchemaKeys: (currentData: Partial<BusinessFinancingSoleProprietorSchema>, schemaKeys: (keyof BusinessFinancingSoleProprietorSchema)[]) => Array<keyof BusinessFinancingSoleProprietorSchema>;
|
|
37
|
-
export declare const getParentCompanySchemaKeys: (currentData: Partial<BusinessFinancingParentSchemasCombined>, schemaKeys: (keyof BusinessFinancingParentSchemasCombined)[]) => Array<keyof BusinessFinancingParentSchemasCombined>;
|
|
38
|
-
export declare const getBusinessFinancingRequiredFields: (country: CountryCode, data?: BusinessFinancingSchema) => MultiFormOptions<BusinessFinancingSchema>["requiredFields"];
|
|
36
|
+
export declare const getParentCompanySchemaKeys: (currentData: Partial<BusinessFinancingParentSchemasCombined>, schemaKeys: (keyof BusinessFinancingParentSchemasCombined)[], rootEntityAddress?: Address) => Array<keyof BusinessFinancingParentSchemasCombined>;
|
|
37
|
+
export declare const getBusinessFinancingRequiredFields: (country: CountryCode, data?: BusinessFinancingSchema, rootEntityAddress?: Address) => MultiFormOptions<BusinessFinancingSchema>["requiredFields"];
|
|
39
38
|
export declare const getAddressCountryForParentCompany: (parentCompany?: BusinessFinancingParentCompanySchema, leAddress?: Address) => CountryCode | undefined;
|
|
@@ -22,7 +22,7 @@ export declare const businessFinancingMultiformRules: {
|
|
|
22
22
|
numberOfEmployees?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
23
23
|
financialReportingDate?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
24
24
|
currency?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
25
|
-
|
|
25
|
+
balanceSheetTotal?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
26
26
|
annualTurnover?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, BusinessFinancingCompanySchema>[] | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
soleProprietor: Partial<{
|
|
@@ -18,6 +18,9 @@ export interface SourceOfFundsProps {
|
|
|
18
18
|
data?: SourceOfFundsSchema;
|
|
19
19
|
country: CountryCode;
|
|
20
20
|
activeBusinessLine?: BusinessLinesType;
|
|
21
|
+
sameAsOption?: SameAsSourceOfFundsOption;
|
|
22
|
+
useSameAs?: boolean;
|
|
23
|
+
onUseSameAsChange?: (useSameAs: boolean) => void;
|
|
21
24
|
}
|
|
22
25
|
export interface SourceOfFundsSchema {
|
|
23
26
|
sourceOfFundsType: SourceOfFundsTypeSchema;
|
|
@@ -50,12 +53,20 @@ export interface SourceOfFundsAdditionalDataSchema {
|
|
|
50
53
|
lastName?: string;
|
|
51
54
|
originatorType?: OriginatorTypeUnion;
|
|
52
55
|
}
|
|
56
|
+
export interface SameAsSourceOfFundsOption {
|
|
57
|
+
businessLineId: string;
|
|
58
|
+
productName: string;
|
|
59
|
+
sourceOfFunds: SourceOfFundsSchema;
|
|
60
|
+
}
|
|
53
61
|
export interface SourceOfFundsTypeProps {
|
|
54
62
|
categories?: DataSet;
|
|
55
63
|
data?: SourceOfFundsTypeSchema;
|
|
56
64
|
errors?: Partial<Record<keyof SourceOfFundsTypeSchema, ValidationRuleResult | null>>;
|
|
57
65
|
valid?: Partial<Record<keyof SourceOfFundsTypeSchema, boolean>>;
|
|
58
66
|
fieldValidationErrors?: Partial<Record<keyof SourceOfFundsTypeSchema, boolean>>;
|
|
67
|
+
sameAsOption?: SameAsSourceOfFundsOption;
|
|
68
|
+
useSameAs?: boolean;
|
|
69
|
+
onUseSameAsChange?: (useSameAs: boolean) => void;
|
|
59
70
|
}
|
|
60
71
|
export interface SourceOfFundsAdditionalDataProps {
|
|
61
72
|
fieldValidationErrors?: Partial<Record<keyof SourceOfFundsAdditionalDataSchema, boolean>>;
|
|
@@ -62,7 +62,22 @@ export declare const parseSofOriginatorPayload: (additionalData?: SourceOfFundsA
|
|
|
62
62
|
export declare const formatDateForInput: (isoDateString?: string) => string;
|
|
63
63
|
export declare const getSofCardDetails: (t: TFunction<"sof">, sourceOfFunds?: SourceOfFundsType) => string;
|
|
64
64
|
export declare const ALLOWED_SOF_SERVICES: BusinessLinesServiceType[];
|
|
65
|
+
/**
|
|
66
|
+
* Returns business lines that require SoF (based on ALLOWED_SOF_SERVICES)
|
|
67
|
+
*/
|
|
68
|
+
export declare const getApplicableBusinessLines: (businessLines: BusinessLinesType[]) => BusinessLinesType[];
|
|
69
|
+
/**
|
|
70
|
+
* Deep comparison of SoF data.
|
|
71
|
+
* Returns true if all business-relevant fields are identical.
|
|
72
|
+
*/
|
|
73
|
+
export declare const areSourceOfFundsEqual: (sof1: SourceOfFundsSchema, sof2: SourceOfFundsSchema) => boolean;
|
|
65
74
|
export declare const SOF_INVALID_INPUT_ERROR_CODES: string[];
|
|
66
75
|
export declare const getRelevantErrors: (problems: Problem[] | undefined, targetCodes: string[]) => false | VerificationError[];
|
|
67
76
|
export declare const getUniqueRemediationActions: (error: VerificationError) => import("../../../../core/models/api/remediating-action").RemediatingAction[];
|
|
68
77
|
export declare const sofCategoryItemMapper: Record<string, NsTranslationKey<'sof'>>;
|
|
78
|
+
/**
|
|
79
|
+
* Prepares additional data for originator creation/update.
|
|
80
|
+
* When useSameAs is true, appends the originatorLegalEntityId from the source
|
|
81
|
+
* so that createOrUpdateOriginator can update the existing LE instead of creating a new one.
|
|
82
|
+
*/
|
|
83
|
+
export declare const getAdditionalDataForOriginator: (additionalData: SourceOfFundsAdditionalDataSchema | undefined, sourceAdditionalData: SourceOfFundsAdditionalDataSchema | undefined, useSameAs: boolean) => SourceOfFundsAdditionalDataSchema | undefined;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { TFunction } from '../../../../types';
|
|
2
2
|
import type { Address } from '../../../core/models/api/address';
|
|
3
3
|
import type { DatasetUtil } from '../../../utils/datasetUtil';
|
|
4
|
-
import type {
|
|
5
|
-
export declare const customLabels: BusinessFinancingCustomLabels;
|
|
4
|
+
import type { BusinessFinancingSchema, BusinessFinancingSummaryType } from '../../EFP/tasks/BusinessFinancingDropin/types';
|
|
6
5
|
export declare const getTranslatedGender: (t: TFunction<"businessFinancing">, gender?: string) => string | undefined;
|
|
7
6
|
export declare const getTranslatedLegalInsolvency: (t: TFunction<"businessFinancing">, insolvencyData?: string) => string | undefined;
|
|
8
7
|
export declare const getValidUserLocale: (locale: string) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IndividualSchema } from '../../Individual/forms/Individual.types';
|
|
2
2
|
export interface CreateIndividualComponentProps {
|
|
3
3
|
legalEntityId: string;
|
|
4
|
-
onSubmitSuccess?(data:
|
|
4
|
+
onSubmitSuccess?(data: IndividualSchema): void;
|
|
5
5
|
modalView?: boolean;
|
|
6
6
|
onClose?(): void;
|
|
7
7
|
onUnmount?(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { DriversLicenseProps } from './DriversLicense.types';
|
|
2
|
-
export declare const DriversLicense: ({ country, driversLicense, onIssuerStateChange, onLicenseNumberInput, onLicenseNumberBlur, onCardNumberInput, onCardNumberBlur, formUtils, isValid, errorMessages, shouldValidate, }: DriversLicenseProps) => import("preact/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const DriversLicense: ({ country, driversLicense, onIssuerStateChange, onLicenseNumberInput, onLicenseNumberBlur, onCardNumberInput, onCardNumberBlur, formUtils, isValid, errorMessages, guidanceText, shouldValidate, }: DriversLicenseProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -20,5 +20,6 @@ export interface DriversLicenseProps {
|
|
|
20
20
|
formUtils: FormUtils<DriversLicenseSchema>;
|
|
21
21
|
isValid: Partial<Record<keyof DriversLicenseSchema, boolean>>;
|
|
22
22
|
errorMessages: Partial<Record<keyof DriversLicenseSchema, Translatable | boolean>>;
|
|
23
|
+
guidanceText: Partial<Record<keyof DriversLicenseSchema, string>>;
|
|
23
24
|
shouldValidate?: boolean;
|
|
24
25
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { IdentityNumberProps, IdentityNumberSchema } from './type';
|
|
2
2
|
export declare const idNumberFields: (keyof IdentityNumberSchema)[];
|
|
3
|
-
export declare function IdentityNumber(props: IdentityNumberProps): import("preact/jsx-runtime").JSX.Element | undefined;
|
|
3
|
+
export declare function IdentityNumber(props: Readonly<IdentityNumberProps>): import("preact/jsx-runtime").JSX.Element | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
3
3
|
import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
4
4
|
import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
|
|
5
5
|
import type { JpAddressSchema } from '../../../Shared/forms/Address/localized/jp/jpAddressSchema';
|
|
@@ -24,6 +24,6 @@ export interface IdentityProps {
|
|
|
24
24
|
additionalPersonalDetails: AdditionalPersonalDetailsProps;
|
|
25
25
|
errors: ValidationRuleResults<IdentityNumberSchema>;
|
|
26
26
|
idNumberType?: IndividualIdNumberType;
|
|
27
|
-
registrationNumberType?:
|
|
27
|
+
registrationNumberType?: NsTranslationKey<'common'>;
|
|
28
28
|
handleFieldChange: any;
|
|
29
29
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
2
2
|
import type { BooleanSettingName } from '../../../../context/SettingsContext/types';
|
|
3
|
-
import type {
|
|
4
|
-
import type { IndividualIdNumberType
|
|
3
|
+
import type { TFunction } from '../../../../../types';
|
|
4
|
+
import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
5
|
+
import type { TaxIdNumberType } from '../../../Shared/fields/TaxInformationField/types';
|
|
5
6
|
import { type TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
6
7
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
7
8
|
import type { FormVerificationErrors } from '../../../../types/errors/form-verification-errors';
|
|
8
9
|
import type { ValidatorRules } from '../../../../utils/validation/types';
|
|
9
10
|
import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails.types';
|
|
10
|
-
export declare const additionalPersonalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors,
|
|
11
|
+
export declare const additionalPersonalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, t, taxIdNumberType, }: {
|
|
11
12
|
country: CountryCode;
|
|
12
13
|
isExperimentEnabled?: (experiment: ExperimentName) => boolean;
|
|
13
14
|
isSettingEnabled?: (setting: BooleanSettingName) => boolean;
|
|
@@ -17,6 +18,6 @@ export declare const additionalPersonalDetailsValidators: ({ country, isExperime
|
|
|
17
18
|
idNumber: string | undefined;
|
|
18
19
|
existingIdNumber: string | undefined;
|
|
19
20
|
formVerificationErrors: FormVerificationErrors | undefined;
|
|
20
|
-
|
|
21
|
+
t: TFunction<"common">;
|
|
21
22
|
taxIdNumberType?: TaxIdNumberType;
|
|
22
23
|
}) => ValidatorRules<AdditionalPersonalDetailsSchema>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
2
2
|
interface ConflictRowProps<Data> {
|
|
3
3
|
provided: Data;
|
|
4
4
|
detected: Data;
|
|
5
|
-
label:
|
|
5
|
+
label: NsTranslationKey<'common'>;
|
|
6
6
|
formatter?: (value: Data) => string;
|
|
7
7
|
selected: 'provided' | 'detected' | undefined;
|
|
8
8
|
onSelect: (selected: 'provided' | 'detected') => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface DataConflictsModalProps<Data extends Partial<Record<Property, unknown>>, Property extends
|
|
1
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
2
|
+
export interface DataConflictsModalProps<Data extends Partial<Record<Property, unknown>>, Property extends NsTranslationKey<'common'>> {
|
|
3
3
|
providedData: Data;
|
|
4
4
|
detectedData: Data;
|
|
5
5
|
conflictingProperties: Property[];
|
|
6
6
|
formatters: Partial<Record<Property, (val: any) => string>>;
|
|
7
|
-
title:
|
|
8
|
-
explanation:
|
|
7
|
+
title: NsTranslationKey<'individual'>;
|
|
8
|
+
explanation: NsTranslationKey<'individual'>;
|
|
9
9
|
onContinue: (resolved: Data) => void;
|
|
10
10
|
onCancel: () => void;
|
|
11
11
|
}
|
|
@@ -19,6 +19,6 @@ export interface DataConflictsModalProps<Data extends Partial<Record<Property, u
|
|
|
19
19
|
* correct version for each field before proceeding.
|
|
20
20
|
*
|
|
21
21
|
* @template Data The shape of the data objects being compared.
|
|
22
|
-
* @template Property A union of keys from the `Data` object, constrained to `
|
|
22
|
+
* @template Property A union of keys from the `Data` object, constrained to `NsTranslationKey<'common'>`.
|
|
23
23
|
*/
|
|
24
|
-
export declare const DataConflictsModal: <Data extends Partial<Record<Property, unknown>>, Property extends
|
|
24
|
+
export declare const DataConflictsModal: <Data extends Partial<Record<Property, unknown>>, Property extends NsTranslationKey<"common">>({ providedData, detectedData, conflictingProperties, formatters, title, explanation, onContinue, onCancel, }: DataConflictsModalProps<Data, Property>) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DocumentType } from '../../../../core/models/api/document';
|
|
2
2
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
import type { FileSchema } from '../../../../types/file';
|
|
6
6
|
import type { MinimumApplicantDetails } from '../IdVerification/types';
|
|
@@ -14,7 +14,7 @@ export interface IdDocumentUploadSchema {
|
|
|
14
14
|
}
|
|
15
15
|
export interface IdDocumentTypeOption {
|
|
16
16
|
id: DocumentType;
|
|
17
|
-
name:
|
|
17
|
+
name: NsTranslationKey<'common'>;
|
|
18
18
|
hasBackPage: boolean;
|
|
19
19
|
}
|
|
20
20
|
export interface OnfidoCaptureSchema {
|
|
@@ -2,14 +2,14 @@ import type { Phone } from '../../../../core/models/api/phone';
|
|
|
2
2
|
import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
3
3
|
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
|
-
import type {
|
|
5
|
+
import type { IndividualSchema } from '../Individual.types';
|
|
6
6
|
/**
|
|
7
|
-
* A schema which allows for easy comparison of specific data between two {@link
|
|
7
|
+
* A schema which allows for easy comparison of specific data between two {@link IndividualSchema}s.
|
|
8
8
|
*
|
|
9
9
|
* **Note:** top-level properties will be compared, e.g. the `address` field will be treated a single, indivisible unit.
|
|
10
10
|
* If you wanted to compare `address.city`, you would need to put that field on the top-level.
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface IndividualConflictsSchema {
|
|
13
13
|
/** see {@link BasicDetailsSchema} */
|
|
14
14
|
firstName?: string;
|
|
15
15
|
lastName?: string;
|
|
@@ -27,20 +27,20 @@ export interface IndividualOnfidoConflictsSchema {
|
|
|
27
27
|
address?: AddressSchema;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Converts and flattens an {@link
|
|
30
|
+
* Converts and flattens an {@link IndividualSchema} to an {@link IndividualConflictsSchema}.
|
|
31
31
|
*
|
|
32
|
-
* This is useful for comparing two {@link
|
|
32
|
+
* This is useful for comparing two {@link IndividualSchema} objects field by field.
|
|
33
33
|
*
|
|
34
|
-
* @param {
|
|
35
|
-
* @returns {
|
|
34
|
+
* @param {IndividualSchema} individualSchema - The schema to convert.
|
|
35
|
+
* @returns {IndividualConflictsSchema} The flattened schema.
|
|
36
36
|
*/
|
|
37
|
-
export declare const
|
|
37
|
+
export declare const toIndividualConflictSchema: ({ basicDetails, additionalPersonalDetails, }: IndividualSchema) => IndividualConflictsSchema;
|
|
38
38
|
/**
|
|
39
|
-
* Converts an {@link
|
|
39
|
+
* Converts an {@link IndividualConflictsSchema} back to an {@link IndividualSchema}.
|
|
40
40
|
*
|
|
41
41
|
* This is useful for reconstructing the original schema after a comparison.
|
|
42
42
|
*
|
|
43
|
-
* @param {
|
|
44
|
-
* @returns {
|
|
43
|
+
* @param {IndividualConflictsSchema} conflictSchema - The flattened schema to convert.
|
|
44
|
+
* @returns {IndividualSchema} The reconstructed schema.
|
|
45
45
|
*/
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const fromIndividualConflictSchema: ({ firstName, lastName, email, phoneNumber, birthDate, nationality, address, ...idFields }: IndividualConflictsSchema) => IndividualSchema;
|
package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ProviderExtractionResponse } from '../../../../api/idVerificationProviders/idVerificationProviders.types';
|
|
2
2
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
|
-
import type {
|
|
4
|
-
export declare const mapExtractionResultToSchema: (result: ProviderExtractionResponse, restrictCountryOfResidenceTo?: CountryCode[]) =>
|
|
3
|
+
import type { IndividualSchema } from '../Individual.types';
|
|
4
|
+
export declare const mapExtractionResultToSchema: (result: ProviderExtractionResponse, restrictCountryOfResidenceTo?: CountryCode[]) => IndividualSchema;
|
package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProviderExtractionResponse } from '../../../../api/idVerificationProviders/idVerificationProviders.types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
3
3
|
import type { GetTranslationOptions } from '../../../../language/utils';
|
|
4
4
|
/**
|
|
5
5
|
* Validates the OCR extraction result against business rules.
|
|
@@ -7,6 +7,6 @@ import type { GetTranslationOptions } from '../../../../language/utils';
|
|
|
7
7
|
* @returns A translation key for an error message if validation fails, otherwise null.
|
|
8
8
|
*/
|
|
9
9
|
export declare const validateExtractionResult: (extractionResult: ProviderExtractionResponse) => {
|
|
10
|
-
key:
|
|
10
|
+
key: NsTranslationKey<"common">;
|
|
11
11
|
options?: GetTranslationOptions;
|
|
12
12
|
} | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
|
|
2
2
|
import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { IndividualProps } from './Individual.types';
|
|
4
4
|
import type { UboQuestionnaireSchema } from './UboQuestionnaire/UboQuestionnaire.types';
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const individualForms: {
|
|
6
6
|
readonly signatoryQuestionnaire: {
|
|
7
7
|
readonly formId: "signatoryQuestionnaire";
|
|
8
8
|
readonly formName: "authorizedSignatory";
|
|
@@ -23,6 +23,11 @@ export declare const individualOnfidoForms: {
|
|
|
23
23
|
readonly formName: "verificationMethod";
|
|
24
24
|
readonly fields: (keyof import("./IdVerificationMethod/IdVerificationMethod.types").IdVerificationMethodSchema)[];
|
|
25
25
|
};
|
|
26
|
+
readonly inviteDetails: {
|
|
27
|
+
readonly formId: "inviteDetails";
|
|
28
|
+
readonly formName: "inviteDetails";
|
|
29
|
+
readonly fields: (keyof import("./InviteDetails/InviteDetails.types").InviteDetailsSchema)[];
|
|
30
|
+
};
|
|
26
31
|
readonly additionalPersonalDetails: {
|
|
27
32
|
readonly formId: "additionalPersonalDetails";
|
|
28
33
|
readonly formName: "additionalPersonalDetails";
|
|
@@ -49,8 +54,8 @@ export declare const individualOnfidoForms: {
|
|
|
49
54
|
readonly fields: readonly ["proofOfRelationship"];
|
|
50
55
|
};
|
|
51
56
|
};
|
|
52
|
-
export type IndividualIdVerificationMethodDocId = typeof
|
|
53
|
-
export type IndividualIdDocumentDocId = typeof
|
|
54
|
-
export type IndividualProofOfResidencyDocId = typeof
|
|
55
|
-
export type IndividualNationalDocId = typeof
|
|
56
|
-
export declare function
|
|
57
|
+
export type IndividualIdVerificationMethodDocId = typeof individualForms.idVerificationMethod.formId;
|
|
58
|
+
export type IndividualIdDocumentDocId = typeof individualForms.manualIdUpload.formId;
|
|
59
|
+
export type IndividualProofOfResidencyDocId = typeof individualForms.proofOfResidency.formId;
|
|
60
|
+
export type IndividualNationalDocId = typeof individualForms.proofOfNationalId.formId;
|
|
61
|
+
export declare function Individual(props: Readonly<IndividualProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
2
2
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
3
3
|
import type { FormRulesParams } from '../../../types/form-rules';
|
|
4
|
-
import type {
|
|
4
|
+
import type { IndividualSchema } from './Individual.types';
|
|
5
5
|
export declare const COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES: CountryCode[];
|
|
6
6
|
export declare const SOLE_PROP_COUNTRIES: CountryCode[];
|
|
7
7
|
export declare const DECISION_MAKER_TYPES_WITH_JOBTITLE: DecisionMakerType[];
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const individualRules: ({ matchingScenario, data, country, taskType, isExperimentEnabled, rootLegalEntity, problems, }: FormRulesParams<IndividualSchema>) => {
|
|
9
9
|
countryUsesTaxId: () => "REQUIRED" | undefined;
|
|
10
10
|
isDirectorIdNumberRequiredForCountry: () => "REQUIRED" | undefined;
|
|
11
|
-
idNumberRules: () => "
|
|
11
|
+
idNumberRules: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
12
12
|
requiredIfDecisionMakerTask: () => "REQUIRED" | undefined;
|
|
13
13
|
idNumberExemptIfApplicableCountry: () => "REQUIRED" | undefined;
|
|
14
14
|
hasChosenIdType: () => "REQUIRED" | undefined;
|
|
@@ -16,6 +16,7 @@ export declare const individualOnfidoRules: ({ matchingScenario, data, country,
|
|
|
16
16
|
isProofOfResidencyRequired: () => "REQUIRED" | undefined;
|
|
17
17
|
isProofOfNationalIdRequired: () => "REQUIRED" | undefined;
|
|
18
18
|
isIdVerificationMethodRequired: () => "REQUIRED" | undefined;
|
|
19
|
+
isVerifyByInviteSelected: () => "REQUIRED" | undefined;
|
|
19
20
|
contactsIfRequiredForRole: () => "REQUIRED" | undefined;
|
|
20
21
|
requiredIfPhoneScenarioDisabled: () => "REQUIRED" | undefined;
|
|
21
22
|
jobTitleIfRequiredForRole: () => "REQUIRED" | undefined;
|
|
@@ -28,7 +29,7 @@ export declare const individualOnfidoRules: ({ matchingScenario, data, country,
|
|
|
28
29
|
legalRepresentativeRelationshipRequired: () => "REQUIRED" | undefined;
|
|
29
30
|
isProofOfRelationshipRequired: () => undefined;
|
|
30
31
|
addressIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
31
|
-
otherAddressInfoIfRequiredForCountry: () => "
|
|
32
|
+
otherAddressInfoIfRequiredForCountry: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
32
33
|
postalCodeIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
33
34
|
cityIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
34
35
|
stateOrProvinceIfRequiredForCountry: () => "REQUIRED" | undefined;
|
|
@@ -42,4 +43,4 @@ export declare const individualOnfidoRules: ({ matchingScenario, data, country,
|
|
|
42
43
|
isDirectorRequiredForCountry: () => "REQUIRED" | undefined;
|
|
43
44
|
japanSpecificField: () => "REQUIRED" | undefined;
|
|
44
45
|
};
|
|
45
|
-
export type
|
|
46
|
+
export type IndividualRules = ReturnType<typeof individualRules>;
|
|
@@ -16,21 +16,23 @@ import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetail
|
|
|
16
16
|
import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
|
|
17
17
|
import type { IdDocumentUploadSchema } from './IdDocumentUpload/types';
|
|
18
18
|
import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
|
|
19
|
+
import type { InviteDetailsSchema } from './InviteDetails/InviteDetails.types';
|
|
19
20
|
import type { SignatoryQuestionnaireSchema } from './SignatoryQuestionnaire/SignatoryQuestionnaire.types';
|
|
20
21
|
import type { UboQuestionnaireSchema } from './UboQuestionnaire/UboQuestionnaire.types';
|
|
21
|
-
export interface
|
|
22
|
+
export interface IndividualSchema {
|
|
22
23
|
signatoryQuestionnaire?: SignatoryQuestionnaireSchema;
|
|
23
24
|
uboQuestionnaire?: UboQuestionnaireSchema;
|
|
24
25
|
basicDetails?: BasicDetailsSchema;
|
|
25
26
|
idVerificationMethod?: IdVerificationMethodSchema;
|
|
27
|
+
inviteDetails?: InviteDetailsSchema;
|
|
26
28
|
additionalPersonalDetails?: AdditionalPersonalDetailsSchema;
|
|
27
29
|
manualIdUpload?: IdDocumentUploadSchema;
|
|
28
30
|
proofOfResidency?: DocumentUploadSchema<'proofOfResidency'>;
|
|
29
31
|
proofOfNationalId?: DocumentUploadSchema<'proofOfNationalId'>;
|
|
30
32
|
proofOfRelationship?: DocumentUploadSchema<'proofOfRelationship'>;
|
|
31
33
|
}
|
|
32
|
-
export type
|
|
33
|
-
export interface
|
|
34
|
+
export type IndividualFormID = keyof IndividualSchema;
|
|
35
|
+
export interface IndividualProps extends BaseOuterFormProps<IndividualSchema> {
|
|
34
36
|
activeForm: FormModel;
|
|
35
37
|
forms: FormModel[];
|
|
36
38
|
defaultCountry: CountryCode;
|
|
@@ -47,14 +49,22 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
|
|
|
47
49
|
trustedRoles?: Array<LegalEntityAssociation['type']>;
|
|
48
50
|
setNextHandler?: (fn: (() => void) | undefined) => void;
|
|
49
51
|
handleHomeClick?(): void;
|
|
52
|
+
isInvitedEntity?: boolean;
|
|
53
|
+
invitedEntityDetails?: InvitedEntityDetails;
|
|
50
54
|
}
|
|
51
|
-
export interface
|
|
55
|
+
export interface InvitedEntityDetails {
|
|
56
|
+
roles: DecisionMakerType[];
|
|
57
|
+
jobTitle?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface IndividualDropinProps extends Omit<IndividualProps, 'legalEntityId' | 'accountHolder' | 'forms' | 'activeForm' | 'defaultCountry'>, Omit<DropinProps, 'taskType'> {
|
|
52
60
|
taskName: 'individualDetails' | 'decisionMakerDetails' | 'legalRepresentativeDetails' | 'trustMemberDetails' | 'individualTrusteeDetails' | 'partnershipMemberDetails' | 'companyOwnerDetails';
|
|
53
61
|
legalEntityResponse?: ExistingLegalEntity;
|
|
54
62
|
trustMember?: TrustMember | UnincorporatedPartnershipMember;
|
|
55
63
|
isTargetLegalEntityType?: boolean;
|
|
56
64
|
country: CountryCode;
|
|
57
|
-
onSubmit?(dataSubmitted:
|
|
65
|
+
onSubmit?(dataSubmitted: IndividualSchema, scenario?: Scenario[]): void;
|
|
58
66
|
isInstantVerificationEnabled?: boolean;
|
|
59
67
|
handleHomeClick(): void;
|
|
68
|
+
isInvitedEntity?: boolean;
|
|
69
|
+
invitedEntityDetails?: InvitedEntityDetails;
|
|
60
70
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { InviteDetailsProps, InviteDetailsSchema } from './InviteDetails.types';
|
|
2
|
+
export { inviteDetailsValidators } from './validate';
|
|
3
|
+
export declare const inviteDetailsFields: Array<keyof InviteDetailsSchema>;
|
|
4
|
+
export declare function InviteDetails(props: Readonly<InviteDetailsProps>): import("preact/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Phone } from '../../../../core/models/api/phone';
|
|
2
|
+
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
|
+
export interface InviteDetailsSchema {
|
|
5
|
+
senderName: string;
|
|
6
|
+
message: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
phoneNumber?: Phone;
|
|
9
|
+
}
|
|
10
|
+
export interface InviteDetailsProps extends BaseInnerFormProps<InviteDetailsSchema> {
|
|
11
|
+
country: CountryCode;
|
|
12
|
+
recipientFirstName?: string;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export type
|
|
1
|
+
export declare const individualFormIds: ["signatoryQuestionnaire", "uboQuestionnaire", "basicDetails", "idVerificationMethod", "inviteDetails", "additionalPersonalDetails", "manualIdUpload", "proofOfResidency", "proofOfNationalId", "proofOfRelationship"];
|
|
2
|
+
export type INDIVIDUAL_FORM_IDS = (typeof individualFormIds)[number];
|
|
@@ -3,7 +3,7 @@ import type { Scenario } from '../../../core/models/api/get-scenarios';
|
|
|
3
3
|
import type { LegalEntityAssociation } from '../../../core/models/api/legal-entity-association';
|
|
4
4
|
import type { TaskType } from '../../../stores/globalStore/taskTypes';
|
|
5
5
|
import type { EntityProblems } from '../../../types/errors/entity-problems';
|
|
6
|
-
import type {
|
|
6
|
+
import type { IndividualSchema } from '../forms/Individual.types';
|
|
7
7
|
/**
|
|
8
8
|
* For the BAFIN signatory flow, certain ID verification errors and remediation actions are not applicable.
|
|
9
9
|
* This utility function takes a problems object and returns a new, deeply cloned object with all
|
|
@@ -21,7 +21,7 @@ import type { IndividualOnfidoSchema } from '../forms/Individual.types';
|
|
|
21
21
|
export declare const removeIdVerificationProblemsForBafinSignatory: (problems: EntityProblems, decisionMakerLe: ExistingLegalEntity) => EntityProblems;
|
|
22
22
|
interface IsBafinSignatoryFlowParams {
|
|
23
23
|
taskType: TaskType;
|
|
24
|
-
data?: LegalEntityAssociation |
|
|
24
|
+
data?: LegalEntityAssociation | IndividualSchema;
|
|
25
25
|
scenarios?: Scenario[];
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropsFromConfiguration } from '../../../core/process-field-configurations';
|
|
2
|
-
import type {
|
|
3
|
-
type ConfigurationSchema = PropsFromConfiguration<
|
|
2
|
+
import type { IndividualSchema } from '../forms/Individual.types';
|
|
3
|
+
type ConfigurationSchema = PropsFromConfiguration<IndividualSchema>;
|
|
4
4
|
export declare const mandateIdVerificationForMotionCapture: (showMotionCapture: boolean | undefined, derivedProps: ConfigurationSchema | undefined) => ConfigurationSchema | undefined;
|
|
5
5
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
2
|
-
import type {
|
|
3
|
-
export declare const calculateRoles: (data?:
|
|
2
|
+
import type { IndividualSchema } from '../forms/Individual.types';
|
|
3
|
+
export declare const calculateRoles: (data?: IndividualSchema) => DecisionMakerType[];
|