@adyen/kyc-components 4.0.0-compact.1 → 4.0.0-compact.3
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/4-people-BzyXLUF9.js +24 -0
- package/dist/{AD-CyP5INSp.js → AD-BQAadLyG.js} +2 -2
- package/dist/{AT-DJLlevck.js → AT-BI8ju2NH.js} +2 -2
- package/dist/{AcceptTermsOfServiceComponent-Ddtg_ZHH.js → AcceptTermsOfServiceComponent-DmtE39CC.js} +51 -66
- package/dist/Accordion-C-BvE1VA.js +88 -0
- package/dist/{AccountSetupRejected-CvdEsdWe.js → AccountSetupRejected-DDoI43lB.js} +6 -6
- package/dist/ActionBar-Dzrzolec.js +31 -0
- package/dist/{Address-YjoUtTTT.js → Address-e41CN3CB.js} +292 -51
- package/dist/{Alert-C_-UwoDE.js → Alert-Dk-oZlnx.js} +7 -79
- package/dist/{Avatar-CeHhAxxR.js → Avatar-efxn8pKz.js} +2 -2
- package/dist/{BE-B-m_4F41.js → BE-nWHKW0xQ.js} +2 -2
- package/dist/{BG-BVR5ytc-.js → BG-HKzabLqZ.js} +3 -3
- package/dist/BusinessDetailsDropin-DDh_D2hv.js +2359 -0
- package/dist/BusinessFinancingComponent-C04uRrhE.js +55 -0
- package/dist/{BusinessFinancingDropin-B6Vpswcj.js → BusinessFinancingDropin-_OlSqohS.js} +186 -154
- package/dist/BusinessFinancingPage-DdMugwOa.js +43 -0
- package/dist/{BusinessTypeSelectionPage-CQxhI1B6.js → BusinessTypeSelectionPage-vkCTEFEJ.js} +13 -13
- package/dist/{CH-CesIKOYy.js → CH-TX4BTE2y.js} +2 -2
- package/dist/{CY-BnJ7k_mN.js → CY-D59Nypl7.js} +2 -2
- package/dist/{CZ-BiPeoA9G.js → CZ-B6iI1GbE.js} +3 -3
- package/dist/Card-CqXQA0AI.js +82 -0
- package/dist/ConstitutionalDocument-CcwyClZ7.js +143 -0
- package/dist/{CountryField-50Iboayh.js → CountryField-CzRN1OE8.js} +195 -216
- package/dist/CreateIndividualComponent-BNeY6u8q.js +71 -0
- package/dist/CreateTransferInstrumentComponent-B8cNHRdF.js +63 -0
- package/dist/{Currency-D-0ToVpS.js → Currency-BBt4yo5i.js} +10 -65
- package/dist/{CustomerSupport-DTw357Bq.js → CustomerSupport-CObTT8cH.js} +23 -11
- package/dist/{DE-DdcbG-CC.js → DE-CsuX_tSL.js} +2 -2
- package/dist/{DK-DA8qRrzq.js → DK-oQEFrF6o.js} +3 -3
- package/dist/{DebugModal-Dc6JIQeF.js → DebugModal-DJcim6UP.js} +128 -43
- package/dist/DecisionMakerDetailsPage-CrQgRW8X.js +106 -0
- package/dist/DecisionMakers-B-3aMddf.js +842 -0
- package/dist/DropinLayout-CBP_cHLC.js +17 -0
- package/dist/{EE-CaXoPgZz.js → EE-3WZV5Ejt.js} +2 -2
- package/dist/{ES-Bt_oaIaf.js → ES-NfxpqbC2.js} +2 -2
- package/dist/{EmbeddedStatus-DQXq53qv.js → EmbeddedStatus-C_5DguHv.js} +15 -16
- package/dist/{EndStateLayout-BPsmcrN3.js → EndStateLayout-CwdrDEYY.js} +2 -2
- package/dist/EntityAssociation-C413vcu6.js +159 -0
- package/dist/EntityGuidanceStatus-C6b8i7os.js +105 -0
- package/dist/{FI-C5V3lLuN.js → FI-CHQIvHa-.js} +2 -2
- package/dist/{FR-Bc1tLIC4.js → FR-MWZyWX3x.js} +2 -2
- package/dist/FormFlow-PppMJ6OA.js +186 -0
- package/dist/{FormNavigation-29vpexO6.js → FormNavigation-DL47b_QR.js} +6 -24
- package/dist/{useGlobalData-TJeJM5fq.js → FormWrapper-BOrTn1C8.js} +12 -82
- package/dist/{GG-BGuqxplU.js → GG-CPoMVQPc.js} +3 -3
- package/dist/{GI-CROkpYrU.js → GI-DxmBwVD_.js} +3 -3
- package/dist/{GR-B9c2boG8.js → GR-Rk0pXlNw.js} +2 -2
- package/dist/{HR-p4luVYpu.js → HR-WapHW2fw.js} +2 -2
- package/dist/{HU-D8vJYkDH.js → HU-DCOMuOhe.js} +3 -3
- package/dist/{IE-Cli_j7Al.js → IE-BkgtVgDi.js} +2 -2
- package/dist/{IM-mpIyBn16.js → IM-Wr4iDT94.js} +3 -3
- package/dist/{IS-02zCAdvq.js → IS-C-Cgc6zp.js} +2 -2
- package/dist/{IT-CzURFhrK.js → IT-CXekiddL.js} +2 -2
- package/dist/{IndividualOnfidoDropin-XYcD-6sb.js → IndividualOnfido-CmmyKC7J.js} +8212 -6455
- package/dist/IndividualOnfidoDropin-BsCb6dvy.js +2569 -0
- package/dist/{InputText-CnEQJihB.js → InputText-BfL9DgWp.js} +101 -13
- package/dist/{Introduction-BkGNoXvo.js → Introduction-CBMl7v2M.js} +7 -11
- package/dist/{JE-MFwIYti7.js → JE-B4gj54Hg.js} +3 -3
- package/dist/JpAddress-BCwWQ0Ul.js +271 -0
- package/dist/{LI-DA06W10W.js → LI-L0ZAALRT.js} +2 -2
- package/dist/{LT-DuU6E2Ct.js → LT-Ao2uagV9.js} +2 -2
- package/dist/{LU-BQHhNpDy.js → LU-B7LRUuc6.js} +2 -2
- package/dist/{LV-DN7wckbP.js → LV-DZeGjA2G.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-D3Ld1xg7.js → LegalRepresentativeDetailsPage-CDURNY_v.js} +6 -7
- package/dist/ListItem-BhUSZdS5.js +69 -0
- package/dist/{MC-DtSWC4jS.js → MC-EDVNGWhy.js} +2 -2
- package/dist/{MT-DeDMQ1f_.js → MT-B9my7RlP.js} +2 -2
- package/dist/ManageIndividualComponent-wYIuZdQ8.js +46 -0
- package/dist/ManageTermsOfServiceComponent-6RBHbbsn.js +52 -0
- package/dist/{ManageTransferInstrumentComponent-D8e5YRiK.js → ManageTransferInstrumentComponent-BDyWbySW.js} +19 -26
- package/dist/{MaybeModal-D6lc_yUc.js → MaybeModal-CG0BAO68.js} +15 -4
- package/dist/{Modal-ltKHtBfL.js → Modal-CJ_hgcGb.js} +19 -6
- package/dist/{NL-aVL0NAp-.js → NL-VXAFOhV5.js} +2 -2
- package/dist/{NO-D7EOiQA1.js → NO-Cx1VSh2W.js} +3 -3
- package/dist/OnboardingDropinComponent-D3dYF_4W.js +7617 -0
- package/dist/{PL-Bg7axKQA.js → PL-BZW1hGvD.js} +3 -3
- package/dist/{PT-hB1HnBM2.js → PT-OpU4MU3L.js} +2 -2
- package/dist/{PayoutDetailsDropin-Ba4z1H8Y.js → PayoutDetailsDropin-DxALk48X.js} +1530 -384
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{RO-BLlC4CKq.js → RO-Cz6Sh0ls.js} +2 -2
- package/dist/{Review-QGTwsuVG.js → Review-C_JnI94L.js} +9 -8
- package/dist/RootBusinessDetailsPage-BE3Uck1r.js +46 -0
- package/dist/RootBusinessLinesPage-DknXuZgi.js +1484 -0
- package/dist/RootIndividualDetailsPage-BIj988Sh.js +71 -0
- package/dist/{SE-q25Qt85B.js → SE-B5K-FkQd.js} +3 -3
- package/dist/{SI-BzA-ozn6.js → SI-BOGTNLPa.js} +2 -2
- package/dist/{SK-DOTdLJPw.js → SK-BOVrp_Av.js} +2 -2
- package/dist/{SM-B4BIgmhk.js → SM-meowwILA.js} +2 -2
- package/dist/{SignPCIComponent-BvOwbwCX.js → SignPCIComponent-BjVEKTlw.js} +29 -19
- package/dist/{SingpassSelection-CfMjudRn.js → SingpassSelection-Bkbz_bGo.js} +10 -10
- package/dist/SoleProprietorshipPage-DSOEsSfJ.js +46 -0
- package/dist/{SourceOfFundsPage-BOFtbQbF.js → SourceOfFundsPage-cWwthA_A.js} +238 -956
- package/dist/{MaskedInput-Cr4BEARC.js → Spacer-D4I0f08n.js} +641 -24
- package/dist/{StepProgressIndicator-D8I0VtoT.js → StepProgressIndicator-FNAEisRr.js} +2 -2
- package/dist/{StoreProvider-D4cRWOo4.js → StoreProvider-jtUYKLRz.js} +1195 -560
- package/dist/Summary-COehg8IT.js +204 -0
- package/dist/{TaxReportingDropin-CDqErRkl.js → TaxReportingDropin-BBkhMcPn.js} +76 -74
- package/dist/TrustDetailsPage-50i4_lFA.js +2149 -0
- package/dist/TrustMemberCompanyPage-v2Md1srF.js +57 -0
- package/dist/TrustMemberIndividualPage-Bn6TXkhN.js +66 -0
- package/dist/TrustMemberRoleAndTypePage-C_NPNe6_.js +985 -0
- package/dist/TrustMembersOverview-FcSsQZ3Z.js +438 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-Dx1qdgZL.js → UnincorporatedPartnershipIndividualPage-zsyk9RTz.js} +6 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B89QmXFf.js → UnincorporatedPartnershipMemberCompanyPage-FP75ZgOg.js} +7 -11
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-n6SndOAj.js +281 -0
- package/dist/UnincorporatedPartnershipMembersOverview-BbW2q9EI.js +172 -0
- package/dist/{VA-bPXdCnwD.js → VA-DXsYTCoh.js} +2 -2
- package/dist/VerificationErrorAlert-B7jRGdgn.js +79 -0
- package/dist/{ViewVerificationStatusComponent-2jYPePEI.js → ViewVerificationStatusComponent-CuUmC319.js} +16 -13
- package/dist/adyen-business-financing.js +10 -7
- package/dist/adyen-individual-configuration.js +5 -6
- package/dist/adyen-individual-status.js +5 -6
- package/dist/adyen-kyc-components.js +38 -33
- package/dist/adyen-onboarding.js +4 -5
- package/dist/adyen-terms-of-service-management.js +5 -6
- package/dist/adyen-terms-of-service-status.js +5 -6
- package/dist/adyen-transfer-instrument-configuration.js +5 -6
- package/dist/adyen-transfer-instrument-management.js +5 -6
- package/dist/adyen-verification-status.js +5 -6
- package/dist/{arrow-right-D_mdkZmE.js → arrow-right-KxA3SvQj.js} +2 -2
- package/dist/{bag-DpxmyXfR.js → bag-BPumznWh.js} +2 -2
- package/dist/{bank-gyBvaSp4.js → bank-D6FiNBhs.js} +2 -2
- package/dist/bin-Bz6KOIeE.js +18 -0
- package/dist/capital-GVQ3svwN.js +17 -0
- package/dist/{cash-stack-Ds76Du8m.js → cash-stack-D9AoDDwt.js} +3 -3
- package/dist/{certificate-D6xjhThs.js → certificate-CdEWgHQf.js} +3 -3
- package/dist/{checkmark-tfEAu7lj.js → checkmark-Q7x6tGhy.js} +2 -2
- package/dist/checkmark-circle-fill-CsvN5_PL.js +17 -0
- package/dist/{checkmark-circle-nACBJ24q.js → checkmark-circle-x7dzbp3I.js} +3 -3
- package/dist/{checkmark-small-63w5fAxg.js → checkmark-small-D35myntq.js} +2 -2
- package/dist/{chevron-down-CkQS-knD.js → chevron-down-C2iDorpW.js} +2 -2
- package/dist/{chevron-left-CBCMdMx6.js → chevron-left-ztPO84q-.js} +2 -2
- package/dist/{chevron-right-dIVWvPJu.js → chevron-right-C_JN0oDt.js} +2 -2
- package/dist/{chevron-up-D93IGU9z.js → chevron-up-CgG8n25g.js} +2 -2
- package/dist/circle-Bt3Nlr3q.js +17 -0
- package/dist/circle-small-filled-YMzP6yQU.js +14 -0
- package/dist/clock-BZHremOA.js +20 -0
- package/dist/coins-fkAk6dCo.js +17 -0
- package/dist/{contract-DI03_xrF.js → contract-BTa4HltT.js} +2 -2
- package/dist/{cross-o4n5KXxG.js → cross-Cn09MtQ_.js} +2 -2
- package/dist/cross-circle-fill-maan7Z5S.js +17 -0
- package/dist/{cross-circle-fill-small-CHMDaA3q.js → cross-circle-fill-small-DCz52AuN.js} +2 -2
- package/dist/da-DK-BlU1EczG.js +30 -0
- package/dist/da-DK-DCJhV2qS.js +32 -0
- package/dist/da-DK-DEdQ-QPp.js +13 -0
- package/dist/da-DK-DWA8uOd8.js +24 -0
- package/dist/{da-DK-BoQic3Gy.js → da-DK-DYpfNZdP.js} +5 -1
- package/dist/da-DK-DZwlENGe.js +13 -0
- package/dist/da-DK-Dc0QYG8m.js +68 -0
- package/dist/da-DK-DqkN5oIu.js +13 -0
- package/dist/da-DK-DvZ431fC.js +13 -0
- package/dist/{da-DK-B45X2VaJ.js → da-DK-JHZnsI59.js} +24 -4
- package/dist/da-DK-gnPgzwrG.js +27 -0
- package/dist/da-DK-h8DYQ_Iq.js +13 -0
- package/dist/da-DK-jK7c9UL0.js +57 -0
- package/dist/de-DE-0uSzhWg5.js +13 -0
- package/dist/{de-DE-Dwagawx1.js → de-DE-BXt1K0Tr.js} +5 -1
- package/dist/de-DE-COuUdtao.js +13 -0
- package/dist/de-DE-D3lLuF8z.js +27 -0
- package/dist/de-DE-D50lGOJE.js +24 -0
- package/dist/de-DE-DXR3EpEc.js +13 -0
- package/dist/de-DE-DrSSblam.js +13 -0
- package/dist/de-DE-DwOQKCuU.js +32 -0
- package/dist/de-DE-Dz2OsS1F.js +68 -0
- package/dist/de-DE-LQE_LFFL.js +13 -0
- package/dist/{de-DE-CWvgMDqU.js → de-DE-VGGEkxUT.js} +24 -4
- package/dist/de-DE-s0B-XZyp.js +30 -0
- package/dist/de-DE-wmerDL2e.js +57 -0
- package/dist/debouncedInputEvent-HhImBs4O.js +109 -0
- package/dist/{form-rules-DhbF2mY4.js → debugStore-BvbyN1Oi.js} +4 -3
- package/dist/{document-1-DsCi9vmX.js → document-1-C08ut-Dt.js} +2 -2
- package/dist/document-person-vxlA6C5f.js +20 -0
- package/dist/documentUtils-DIcRD9lR.js +218 -0
- package/dist/download-Drhk9k1f.js +17 -0
- package/dist/{dropinUtils-CXnvPFZN.js → dropinUtils-BK1u6OTG.js} +32 -24
- package/dist/edit-1-CFoDTMvQ.js +14 -0
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/en-US-B96dpVon.js +27 -0
- package/dist/en-US-BQZhzROc.js +32 -0
- package/dist/en-US-CozY33On.js +13 -0
- package/dist/{en-US-DIdQJky-.js → en-US-CzEL6t1W.js} +24 -4
- package/dist/en-US-D-B35AoN.js +68 -0
- package/dist/en-US-D2yrwtzT.js +24 -0
- package/dist/{en-US-BbAzROHT.js → en-US-Dg505Oh3.js} +2 -1
- package/dist/en-US-d4WBvUW7.js +118 -0
- package/dist/en-US-fyGPkcqX.js +13 -0
- package/dist/en-US-gsp7CD_E.js +57 -0
- package/dist/en-US-h0JneJJl.js +13 -0
- package/dist/es-ES-B7dt4cn7.js +13 -0
- package/dist/es-ES-BI_jdT67.js +68 -0
- package/dist/es-ES-BOoPqnPI.js +32 -0
- package/dist/{es-ES-Bsoco8Fj.js → es-ES-BhNhIf08.js} +5 -1
- package/dist/{es-ES-DKCCgVF8.js → es-ES-Bn9_0wK0.js} +24 -4
- package/dist/es-ES-CXDJLKAI.js +27 -0
- package/dist/es-ES-DF_L5EDd.js +24 -0
- package/dist/es-ES-DNGEW6V_.js +13 -0
- package/dist/es-ES-DdGmXdxO.js +13 -0
- package/dist/es-ES-Qnc0Q6JH.js +57 -0
- package/dist/es-ES-ShWaSuJd.js +13 -0
- package/dist/es-ES-esfwvKwz.js +30 -0
- package/dist/es-ES-yMXcOjDL.js +13 -0
- package/dist/{external-link-BjladU3E.js → external-link-DCMYUMfW.js} +2 -2
- package/dist/fi-FI-CIYa9SyS.js +13 -0
- package/dist/fi-FI-ChApf7lf.js +13 -0
- package/dist/fi-FI-CjB6QC01.js +30 -0
- package/dist/fi-FI-CoI_94Fv.js +13 -0
- package/dist/fi-FI-DH6jpo9K.js +24 -0
- package/dist/fi-FI-Dn2MC8uW.js +57 -0
- package/dist/{fi-FI-Hhku9Lmc.js → fi-FI-PVFqd5Ra.js} +24 -4
- package/dist/fi-FI-REMsyTSr.js +13 -0
- package/dist/fi-FI-bZzNB1WB.js +32 -0
- package/dist/fi-FI-fArobrt5.js +27 -0
- package/dist/fi-FI-hwzizPnr.js +68 -0
- package/dist/fi-FI-xqnQ38yC.js +13 -0
- package/dist/{fi-FI-ClnsYt3L.js → fi-FI-ysUrBilO.js} +5 -1
- package/dist/{fr-FR-CJI0bIig.js → fr-FR-BSvSKazD.js} +5 -1
- package/dist/fr-FR-BSynpexF.js +13 -0
- package/dist/fr-FR-BWX14yb7.js +57 -0
- package/dist/fr-FR-BnblnBsx.js +24 -0
- package/dist/fr-FR-Br7OeDIe.js +13 -0
- package/dist/fr-FR-C1XqLftn.js +30 -0
- package/dist/fr-FR-CYZXbwc9.js +68 -0
- package/dist/fr-FR-CiwkAb3E.js +27 -0
- package/dist/fr-FR-CvHWmim-.js +13 -0
- package/dist/fr-FR-Q3urMjbl.js +13 -0
- package/dist/fr-FR-cTKcuHqX.js +32 -0
- package/dist/fr-FR-l5z31r7i.js +13 -0
- package/dist/{fr-FR-BYuKsZIb.js → fr-FR-mJK4hjwD.js} +24 -4
- package/dist/getFieldsWithExistingData-DxCFyXNd.js +22 -0
- package/dist/{getName-BsaU8Hqr.js → getName-BS-pHwl0.js} +2 -2
- package/dist/gift-CQ_DEma7.js +14 -0
- package/dist/{graph-DwYwlplw.js → graph-BJmqglH2.js} +3 -3
- package/dist/{graph-up-DpbCSPbc.js → graph-up-Bq6adtlX.js} +6 -6
- package/dist/{hasDataChanged-CA7cMLCV.js → hasDataChanged-CWdnpJrE.js} +2 -2
- package/dist/headquarter-DNYyuuFq.js +21 -0
- package/dist/{hotel-JX0bjsSA.js → hotel-BuNql78Z.js} +3 -3
- package/dist/{iframeWidget-BPBJSJJt.js → iframeWidget-Uz4rHS0r.js} +4 -4
- package/dist/image-BSihO8lR.js +17 -0
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/info-vHTZWoJ7.js +21 -0
- package/dist/it-IT-B0YGvVgW.js +57 -0
- package/dist/it-IT-BAvmkEF8.js +13 -0
- package/dist/it-IT-BAvsF2TB.js +13 -0
- package/dist/{it-IT-Nl57jui-.js → it-IT-BTWkWSJq.js} +24 -4
- package/dist/it-IT-BeX7-OcD.js +13 -0
- package/dist/it-IT-C_651bEP.js +13 -0
- package/dist/it-IT-C_YDqVNT.js +30 -0
- package/dist/it-IT-Ckv8Ce4e.js +24 -0
- package/dist/it-IT-DERflsUd.js +32 -0
- package/dist/it-IT-DIbH-udG.js +27 -0
- package/dist/it-IT-Erh1DIlj.js +68 -0
- package/dist/{it-IT-BeC2Y1F8.js → it-IT-Qfzc8jnW.js} +5 -1
- package/dist/it-IT-vdMlF0Ha.js +13 -0
- package/dist/{localizeDateString-cCOzCBvl.js → localizeDateString-DgSdo3D5.js} +2 -2
- package/dist/location-Q4oKvnkl.js +17 -0
- package/dist/mail-BOdyoVqB.js +14 -0
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
- package/dist/{mapExistingFile-B1UL2lZR.js → mapExistingFile-CqrlnmFQ.js} +5 -80
- package/dist/mapFinancialReportsToFinancialInformation-ZmhVRj3f.js +67 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-D6HjhjJT.js +63 -0
- package/dist/mapLegalEntityToIndividualOnfidoSchema-COcit7Hx.js +146 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-BdPUh-FT.js → mapTransferInstrumentToPayoutAccount-DfJHF9H8.js} +6 -3
- package/dist/{minus-circle-filled-BGKeHaxJ.js → minus-circle-filled-kC2IUvKz.js} +3 -3
- package/dist/nl-NL-BMUYBqlF.js +57 -0
- package/dist/nl-NL-BwKrj-29.js +13 -0
- package/dist/nl-NL-Bx5p0nXL.js +24 -0
- package/dist/nl-NL-C3YJkSIj.js +13 -0
- package/dist/nl-NL-CM5U8ODq.js +13 -0
- package/dist/{nl-NL-BHkRnVrj.js → nl-NL-CTf7zH4M.js} +24 -4
- package/dist/nl-NL-Cjlmc0Ii.js +32 -0
- package/dist/{nl-NL-Cysslsh2.js → nl-NL-D7gBNWEY.js} +5 -1
- package/dist/nl-NL-DV4NqPVW.js +13 -0
- package/dist/nl-NL-DyeSX0PH.js +30 -0
- package/dist/nl-NL-JChnFdCY.js +13 -0
- package/dist/nl-NL-NlkjOSYi.js +27 -0
- package/dist/nl-NL-O9GCHMDA.js +68 -0
- package/dist/no-NO--OoWld_l.js +13 -0
- package/dist/no-NO-B6OPS2CA.js +13 -0
- package/dist/no-NO-B9618F4_.js +13 -0
- package/dist/no-NO-BQL_M1pn.js +13 -0
- package/dist/no-NO-Bs3-6MDM.js +24 -0
- package/dist/{no-NO-zSnPtrDi.js → no-NO-C-gCYc9q.js} +5 -1
- package/dist/no-NO-CA1aR6Wh.js +68 -0
- package/dist/no-NO-CY_XHrYd.js +32 -0
- package/dist/no-NO-Crlsj6HG.js +27 -0
- package/dist/no-NO-D4BECLky.js +130 -0
- package/dist/no-NO-DKbWxgF-.js +57 -0
- package/dist/no-NO-DPRsAb_o.js +30 -0
- package/dist/{no-NO-kaAdT9B8.js → no-NO-RfTK9KAV.js} +24 -4
- package/dist/{options-horizontal-nJ9-ButA.js → options-horizontal-CBmbNv7R.js} +4 -4
- package/dist/partner-CPjsrePY.js +18 -0
- package/dist/pay-by-link-plane-BVZndh67.js +22 -0
- package/dist/{payout-iEmHhgQ4.js → payout-ChUEoLjt.js} +6 -6
- package/dist/payout-verification-instant-5u-wvFKv.js +41 -0
- package/dist/payout-verification-manual-BH2mu0UW.js +90 -0
- package/dist/person-DGjUU4S4.js +17 -0
- package/dist/{plus-CwLva7fq.js → plus-CWXA5wdX.js} +2 -2
- package/dist/plus-circle-filled-CbC0u2Y1.js +17 -0
- package/dist/process-field-configurations-N1jHgPa8.js +324 -0
- package/dist/pt-BR--kaJvtE6.js +57 -0
- package/dist/pt-BR-AZ3roErF.js +13 -0
- package/dist/pt-BR-BKQRvAfq.js +13 -0
- package/dist/pt-BR-BbFJsIVX.js +55 -0
- package/dist/pt-BR-BfxgHKY4.js +27 -0
- package/dist/pt-BR-C-C4ZJ9x.js +30 -0
- package/dist/pt-BR-C0I_kTQ6.js +13 -0
- package/dist/pt-BR-CBAe0SnK.js +32 -0
- package/dist/pt-BR-DSENwwGu.js +24 -0
- package/dist/pt-BR-NtLaWlnZ.js +68 -0
- package/dist/pt-BR-gh27BC86.js +13 -0
- package/dist/pt-BR-nU_2Wbo5.js +54 -0
- package/dist/pt-BR-ur86nRrK.js +37 -0
- package/dist/pt-BR-zuqB_CBf.js +13 -0
- package/dist/{pt-PT-Xm-pm3mb.js → pt-PT-B4F_5NWi.js} +24 -4
- package/dist/pt-PT-BZ5ZZm6G.js +57 -0
- package/dist/pt-PT-Bf4IV7wp.js +13 -0
- package/dist/pt-PT-CFY1O_K0.js +13 -0
- package/dist/pt-PT-CIo3mlXL.js +24 -0
- package/dist/{pt-PT-CjsyP_OK.js → pt-PT-CVNEcs32.js} +5 -1
- package/dist/pt-PT-D2Xe-OdG.js +13 -0
- package/dist/pt-PT-DSxxVA0f.js +68 -0
- package/dist/pt-PT-DVKtHjIY.js +13 -0
- package/dist/pt-PT-DYihdcJx.js +13 -0
- package/dist/pt-PT-Dm5DRDrd.js +32 -0
- package/dist/pt-PT-LbneTcRx.js +30 -0
- package/dist/pt-PT-TKg5FLat.js +27 -0
- package/dist/recurring-CkL4cCM2.js +17 -0
- package/dist/{reporting-DlRoibD7.js → reporting-DerosUNm.js} +1 -2
- package/dist/resolveEnvironment-DZ77JxLV.js +164 -0
- package/dist/revenue-accelerate-Dp4Ns_5c.js +17 -0
- package/dist/{rules-CkD4bHtQ.js → rules-_v8BprU3.js} +14 -8
- package/dist/save-Fgy7EDid.js +14 -0
- package/dist/search-C4GZ-Rc1.js +17 -0
- package/dist/{show-uL6I-rMo.js → show-yPjPmEf8.js} +3 -3
- package/dist/sl-SI-59OQIZ3f.js +13 -0
- package/dist/sl-SI-8SzKx7XD.js +30 -0
- package/dist/sl-SI-C-C-KJCX.js +27 -0
- package/dist/sl-SI-C0wSbuau.js +13 -0
- package/dist/{sl-SI-Br0UEUPL.js → sl-SI-CUCrzJQv.js} +5 -1
- package/dist/sl-SI-DdjgSySI.js +13 -0
- package/dist/sl-SI-DtdGMD6i.js +57 -0
- package/dist/{solution-payments-DTAuLSWF.js → solution-payments-CNAat9h7.js} +2 -2
- package/dist/store-IuAkDRAp.js +14 -0
- package/dist/style.css +2911 -2181
- package/dist/styles-CLV89_hH.js +2911 -2181
- package/dist/sv-SE-B7cpKp1l.js +30 -0
- package/dist/sv-SE-BHfydid5.js +27 -0
- package/dist/sv-SE-BHkYspm-.js +130 -0
- package/dist/{sv-SE-BtXmvxx4.js → sv-SE-C6uPh9g5.js} +5 -1
- package/dist/sv-SE-CQWBP7n1.js +13 -0
- package/dist/sv-SE-CRBRuE8Z.js +32 -0
- package/dist/sv-SE-CXaMlJCI.js +24 -0
- package/dist/{sv-SE-B3zoXMuH.js → sv-SE-DGpvVvWj.js} +24 -4
- package/dist/sv-SE-DsPdegWB.js +13 -0
- package/dist/sv-SE-DtKjf4Go.js +13 -0
- package/dist/sv-SE-K1QT1cOt.js +68 -0
- package/dist/sv-SE-kR514dO1.js +57 -0
- package/dist/sv-SE-zTiw1bUU.js +13 -0
- package/dist/terminal-1-_me9J9h0.js +18 -0
- package/dist/trackNavigation-db_h46BT.js +28 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +6 -2
- package/dist/types/api/address/useRetrieveAddress.d.ts +3 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +18 -0
- package/dist/types/api/businessLines/businessLines.types.d.ts +21 -0
- package/dist/types/api/businessLines/useBusinessLines.d.ts +4 -2
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +7 -0
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +5 -0
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +7 -0
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/api/configurations/useScenarios.d.ts +12 -12
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +15 -0
- package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -1
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +3 -3
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
- package/dist/types/api/{pciTemplate/pciTemplate.types.d.ts → pci/pci.types.d.ts} +9 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaire.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/{pciTemplate → pci}/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +5 -4
- package/dist/types/components/BankAccount/fields/BankAccountFormat/types.d.ts +2 -1
- package/dist/types/components/BankAccount/fields/PreferredCurrency/PreferredCurrency.d.ts +10 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +5 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +7 -0
- package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutRequirementsModal.d.ts +8 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +13 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +6 -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/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +5 -5
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +2 -0
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1052 -642
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +5 -4
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -2
- package/dist/types/components/Business/forms/AdditionalInformation/{VerifiedBusinessCard.d.ts → VerifiedBusinessCard/VerifiedBusinessCard.d.ts} +2 -3
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +6 -7
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -4
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +0 -35
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +0 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -3
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -3
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/ProofOfDirectorDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/ProofOfSignatoryDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +0 -3
- package/dist/types/components/Business/forms/RegistrationDocument/RegistrationDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/TaxDocument/TaxDocument.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -5
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -3
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +16 -10
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +26 -5
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +5 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
- package/dist/types/components/Business/utils/requestingCapabilities.d.ts +3 -0
- package/dist/types/components/BusinessLines/constants.d.ts +31 -0
- package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +30 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/SctaField/SctaField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/WebDataField.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +6 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/SalesChannelsForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaForm.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/rules.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +6 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLines.d.ts +9 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +3 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
- package/dist/types/components/BusinessLines/tasks/types.d.ts +19 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +40 -0
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +11 -0
- package/dist/types/components/Contract/hooks/useSalesChannels.d.ts +2 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1328 -758
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +0 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +7 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +3 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +14 -13
- package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +6 -6
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/BusinessFinancingComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/SignPCIComponent/SignPCIComponent.d.ts +3 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +3 -3
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +3 -0
- package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -0
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +4 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +3 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -8
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -6
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +57 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/RemediationAlerts.d.ts +7 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +19 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +3 -0
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoStore.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -4
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
- package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +1 -2
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +18 -0
- package/dist/types/components/Shared/devex/DebugListener/DebugFormData.d.ts +1 -0
- package/dist/types/components/Shared/devex/DebugListener/debugStore.d.ts +5 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +4 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +22 -0
- package/dist/types/components/Shared/fields/IndustryCodeField/validate.d.ts +3 -0
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/ReadonlyTextField.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +3 -2
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +3 -0
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +3 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +4 -0
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +3 -1
- package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +4 -12
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +1 -2
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetailsMultiform.d.ts +2 -0
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -16
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +21 -0
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +2 -0
- package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +5 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/ui/atoms/Header/Header.d.ts +12 -0
- package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +1 -2
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +1 -0
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +4 -4
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
- package/dist/types/components/ui/atoms/Status/Status.d.ts +9 -3
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +10 -0
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
- package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +29 -7
- package/dist/types/components/ui/molecules/Card/Card.d.ts +1 -1
- package/dist/types/components/ui/molecules/Card/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -2
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -23
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +3 -3
- package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +23 -0
- package/dist/types/context/ExperimentContext/types.d.ts +24 -23
- package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
- package/dist/types/context/SettingsContext/SettingsProvider.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -1
- package/dist/types/core/errorMapping.d.ts +4 -1
- package/dist/types/core/models/api/address.d.ts +5 -0
- package/dist/types/core/models/api/capability.d.ts +20 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +5 -0
- package/dist/types/core/models/api/transfer-instrument.d.ts +2 -0
- package/dist/types/core/process-field-configurations.d.ts +4 -1
- package/dist/types/core/user-events.d.ts +22 -11
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -0
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +2 -0
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -6
- package/dist/types/hooks/{useAnalytics.d.ts → useAnalytics/useAnalytics.d.ts} +1 -7
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -8
- package/dist/types/hooks/useUboQuestionnaire.d.ts +25 -0
- package/dist/types/language/Language.d.ts +10 -0
- package/dist/types/language/types.d.ts +21 -7
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/stores/formState.d.ts +2 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
- package/dist/types/types/datasets/currency.d.ts +0 -1
- package/dist/types/types/form-rules.d.ts +3 -0
- package/dist/types/types/form.d.ts +0 -2
- package/dist/types/utils/addLinkedFields.d.ts +26 -2
- package/dist/types/utils/analytics/convertToEmbeddedEvent.d.ts +9 -0
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +30 -0
- package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +13 -0
- package/dist/types/utils/{trackNavigation.d.ts → analytics/trackNavigation.d.ts} +1 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/types/utils/customerSupportUtils.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/filterProblemsByTaskForms.d.ts +12 -0
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -0
- package/dist/types/utils/getTrustedFields.d.ts +9 -0
- package/dist/types/utils/japanSupportUtils.d.ts +2 -0
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/types-BnnF5_7m.js +34 -0
- package/dist/{types-BZdZSp82.js → types-D0u3f6aG.js} +27 -4
- package/dist/{types-CAznNNSI.js → types-Dk94b8kx.js} +27 -26
- package/dist/{types-CX7rD7X4.js → types-sYQKhaSL.js} +2 -2
- package/dist/upload-BF65P4KM.js +17 -0
- package/dist/{useAssociatedLegalEntity-DD2ldSE1.js → useAssociatedLegalEntity-00JVCmQ7.js} +2 -2
- package/dist/useCreateLegalEntity-BvvwB9r0.js +31 -0
- package/dist/{useDataset-B8uRm9G9.js → useDataset-8WyOJBhU.js} +102 -2
- package/dist/{useForm-Bikkn7wR.js → useForm-DLxHtZTP.js} +16 -86
- package/dist/useGlobalData-D9dz7GIi.js +68 -0
- package/dist/{useMultiForm-BvLkXMC6.js → useMultiForm--sSlt50X.js} +4 -4
- package/dist/{useOnboardingStatus-CHvOF6oX.js → useOnboardingStatus-91zhqzLd.js} +2 -2
- package/dist/{useScenarios-uUD1GHMT.js → useScenarios-CqKpYbe_.js} +2 -2
- package/dist/{useTermsOfServiceStatus-_0VSQK9K.js → useTermsOfServiceStatus-DLQVpbik.js} +2 -2
- package/dist/{useToastContext-kLS15CCB.js → useToastContext-FI3dwzzs.js} +17 -8
- package/dist/{useUnincorporatedPartnershipMembers-pxytkrwW.js → useUnincorporatedPartnershipMembers-CdQDPlZq.js} +5 -5
- package/dist/useUpdateBusinessLines-BulhyPjH.js +46 -0
- package/dist/useUpdateLegalEntity-Q3Icdeo6.js +39 -0
- package/dist/utils-DQLhii3U.js +774 -0
- package/dist/{utils-BI6oHlaw.js → utils-DV0_GilJ.js} +6 -46
- package/dist/{validate-DGgXfXyg.js → validate-BD3wn-YX.js} +2 -2
- package/dist/validate-H-iE__-w.js +41 -0
- package/dist/{validationError-CpKFQv28.js → validationError-B5aoMbe_.js} +2 -2
- package/dist/warning-circle-fill-CEN1WL7A.js +17 -0
- package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
- package/dist/webinar-DqjqrNEv.js +22 -0
- package/package.json +77 -78
- package/dist/4-people-CCqdlDEw.js +0 -24
- package/dist/BusinessDetailsDropin-Be1nkzWx.js +0 -5088
- package/dist/BusinessFinancingComponent-BiFxtiME.js +0 -45
- package/dist/BusinessFinancingPage-C_3W8tC9.js +0 -40
- package/dist/Card-D0gduObT.js +0 -145
- package/dist/Confirm-DyWhqxmU.js +0 -64
- package/dist/CreateIndividualComponent-9-TP2x1D.js +0 -72
- package/dist/CreateTransferInstrumentComponent-U_HRSoZx.js +0 -67
- package/dist/DecisionMakerDetailsPage-vWtfPycT.js +0 -100
- package/dist/DecisionMakers-2aN_F-vt.js +0 -591
- package/dist/Dropzone-Cp2PTdED.js +0 -218
- package/dist/FormFlow-C95V54gu.js +0 -216
- package/dist/InputDate-DX90XEmr.js +0 -43
- package/dist/InputGroup-WBfGDV5F.js +0 -32
- package/dist/Link-Bn9pt52z.js +0 -35
- package/dist/ManageIndividualComponent-C5Epqe2I.js +0 -47
- package/dist/ManageTermsOfServiceComponent-zcuZm98f.js +0 -47
- package/dist/OnboardingDropinComponent-BgFPF-FG.js +0 -4301
- package/dist/RadioGroup-htJh3Lz5.js +0 -143
- package/dist/RegistrationAddress-DiVxWv-x.js +0 -2334
- package/dist/RootBusinessDetailsPage-DNGDa-xd.js +0 -1870
- package/dist/RootIndividualDetailsPage-DyWuruIM.js +0 -77
- package/dist/SoleProprietorshipPage-CYz0fHew.js +0 -50
- package/dist/Spacer-BK3jDget.js +0 -18
- package/dist/StructuredList-DaepaiVE.js +0 -38
- package/dist/TaskItemStatus-lQuiqU1e.js +0 -125
- package/dist/TaskStatusIndicator-8ug09mhu.js +0 -69
- package/dist/TaxInformationField-BfyN5nzh.js +0 -3062
- package/dist/TileGroup-CTesI0Vt.js +0 -174
- package/dist/TrustDetailsPage-CjG99ca_.js +0 -1205
- package/dist/TrustMemberCompanyPage-CiA3B0Ro.js +0 -60
- package/dist/TrustMemberIndividualPage-J1-6IFlZ.js +0 -66
- package/dist/analytics-Cg99WKif.js +0 -61
- package/dist/bafinUtils-Sy6B6Lec.js +0 -457
- package/dist/bin-Bgdj6KzC.js +0 -18
- package/dist/capital-CF9_Ev99.js +0 -17
- package/dist/checkmark-circle-fill-BhvuqTl9.js +0 -17
- package/dist/circle-Dgfa7GUy.js +0 -17
- package/dist/coins-CFu331p2.js +0 -17
- package/dist/commonValidators-cnXbus2a.js +0 -24
- package/dist/currency-BGwQyxBo.js +0 -36
- package/dist/da-DK-BJ7aTPir.js +0 -13
- package/dist/da-DK-BTpZzEgA.js +0 -15
- package/dist/da-DK-CeNMXUfE.js +0 -23
- package/dist/da-DK-D0N1TVVU.js +0 -58
- package/dist/da-DK-D4H69PX3.js +0 -30
- package/dist/da-DK-DStNe471.js +0 -22
- package/dist/da-DK-q2b_1elr.js +0 -35
- package/dist/de-DE-C78RLE2G.js +0 -13
- package/dist/de-DE-CGoBPCPv.js +0 -22
- package/dist/de-DE-D2ByeIZs.js +0 -35
- package/dist/de-DE-DjOUNvp6.js +0 -15
- package/dist/de-DE-Dtuu-nE7.js +0 -58
- package/dist/de-DE-JI-7mvxy.js +0 -23
- package/dist/de-DE-wp5-H-ov.js +0 -30
- package/dist/document-person-DBlLin9u.js +0 -20
- package/dist/download-B8_c4ARV.js +0 -17
- package/dist/edit-1-D6f6zk9p.js +0 -14
- package/dist/en-US-546hB2Wn.js +0 -60
- package/dist/en-US-BQpgt41j.js +0 -37
- package/dist/en-US-BTYdAWXp.js +0 -15
- package/dist/en-US-CAm3meB1.js +0 -30
- package/dist/en-US-CQ3angjM.js +0 -22
- package/dist/en-US-DHq7VYFs.js +0 -23
- package/dist/es-ES-BsQpwaPN.js +0 -58
- package/dist/es-ES-BtUSEzkE.js +0 -13
- package/dist/es-ES-CKMfS8Yy.js +0 -22
- package/dist/es-ES-Cj7q7fWO.js +0 -15
- package/dist/es-ES-DOVPTeyf.js +0 -23
- package/dist/es-ES-Ds3-DtqZ.js +0 -30
- package/dist/es-ES-WWftn3JX.js +0 -35
- package/dist/fi-FI-BJ9RzrL3.js +0 -58
- package/dist/fi-FI-BNcnKrJ9.js +0 -15
- package/dist/fi-FI-Cvar63RH.js +0 -13
- package/dist/fi-FI-D522KHGk.js +0 -23
- package/dist/fi-FI-D9E_KaJi.js +0 -35
- package/dist/fi-FI-DPNeTsJS.js +0 -30
- package/dist/fi-FI-REYOX46I.js +0 -22
- package/dist/fieldConfigurations-kDKvJ6je.js +0 -458
- package/dist/formatCurrency-CMOSdJMB.js +0 -29
- package/dist/fr-FR-B5543Fe-.js +0 -13
- package/dist/fr-FR-Bn3D6mmY.js +0 -15
- package/dist/fr-FR-CNR5-s9g.js +0 -58
- package/dist/fr-FR-ChmNQciP.js +0 -30
- package/dist/fr-FR-Cv0k-3Xc.js +0 -35
- package/dist/fr-FR-D9qaP6nx.js +0 -22
- package/dist/fr-FR-DInQKkTd.js +0 -23
- package/dist/gift-SdNY6AqI.js +0 -14
- package/dist/headquarter-C6AsewcP.js +0 -21
- package/dist/image-eUqBiRX_.js +0 -17
- package/dist/info-Wao3PEQK.js +0 -21
- package/dist/isEmpty-C9y5I8Tl.js +0 -23
- package/dist/it-IT-BV9K87FK.js +0 -58
- package/dist/it-IT-Biduphjt.js +0 -22
- package/dist/it-IT-C_fNHhjE.js +0 -35
- package/dist/it-IT-CjEYONJg.js +0 -23
- package/dist/it-IT-Dd6xGSe-.js +0 -13
- package/dist/it-IT-DvM-9LpM.js +0 -15
- package/dist/it-IT-eCrTB65E.js +0 -30
- package/dist/keys-BpNgnAsD.js +0 -23
- package/dist/location-YXhcBMDy.js +0 -17
- package/dist/mail-Z_IE_hkw.js +0 -14
- package/dist/mapScriptLocalization-B4Be11Tx.js +0 -72
- package/dist/nl-NL-BHqiO21q.js +0 -15
- package/dist/nl-NL-D2QKudfh.js +0 -30
- package/dist/nl-NL-DLedC3mO.js +0 -35
- package/dist/nl-NL-DVENFpd5.js +0 -13
- package/dist/nl-NL-DywVQ9km.js +0 -58
- package/dist/nl-NL-G1wVnmzT.js +0 -22
- package/dist/nl-NL-Zcq0bXd-.js +0 -23
- package/dist/no-NO-B8oxqfNI.js +0 -58
- package/dist/no-NO-BTtAuqCb.js +0 -22
- package/dist/no-NO-BxReX6oF.js +0 -23
- package/dist/no-NO-CKT9kLAH.js +0 -15
- package/dist/no-NO-C_snYWBc.js +0 -30
- package/dist/no-NO-CpVal4cV.js +0 -35
- package/dist/no-NO-Dn2UkdoI.js +0 -13
- package/dist/partner-COG2_Erh.js +0 -21
- package/dist/pay-by-link-plane-Pv7Babgn.js +0 -22
- package/dist/person-CdGfItMU.js +0 -17
- package/dist/plus-circle-filled-Cnf1oJTm.js +0 -17
- package/dist/pt-PT-BkvMsoK4.js +0 -35
- package/dist/pt-PT-BvK00TeI.js +0 -58
- package/dist/pt-PT-C-hbNnsB.js +0 -30
- package/dist/pt-PT-D2elvnDU.js +0 -15
- package/dist/pt-PT-Dk48OVtf.js +0 -22
- package/dist/pt-PT-N0njcfLO.js +0 -23
- package/dist/pt-PT-_o5xgnxS.js +0 -13
- package/dist/resolveEnvironment-Il1uuuaq.js +0 -84
- package/dist/revenue-accelerate-rtXA-8EE.js +0 -17
- package/dist/save-BofgDbDX.js +0 -14
- package/dist/search-BjMkvQh0.js +0 -17
- package/dist/sl-SI-BB7iVcFI.js +0 -22
- package/dist/sl-SI-BhVTSmhQ.js +0 -30
- package/dist/sl-SI-BylvpF-X.js +0 -15
- package/dist/sl-SI-Cth2Qa5T.js +0 -35
- package/dist/sl-SI-D_rqR0D7.js +0 -35
- package/dist/sl-SI-MZoDApq9.js +0 -23
- package/dist/sl-SI-NI2OJAvm.js +0 -58
- package/dist/store-CkhgQMl0.js +0 -14
- package/dist/sv-SE-66rqYTxi.js +0 -30
- package/dist/sv-SE-BUfESAQK.js +0 -13
- package/dist/sv-SE-CAZpDX9G.js +0 -58
- package/dist/sv-SE-DCFSf4Oj.js +0 -23
- package/dist/sv-SE-DbI-1JqN.js +0 -22
- package/dist/sv-SE-Dwz1yTrB.js +0 -15
- package/dist/sv-SE-OPOHtqtP.js +0 -35
- package/dist/terminal-1-ewywjFJI.js +0 -18
- package/dist/toCapitalized-Bq7laD0b.js +0 -13
- package/dist/translation-RPPT5Bll.js +0 -472
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +0 -14
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -21
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +0 -5
- package/dist/types/components/Contract/hooks/useSalesChannelsSettings.d.ts +0 -3
- package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +0 -2
- package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +0 -8
- package/dist/types/components/ui/atoms/Remove/Remove.d.ts +0 -2
- package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +0 -9
- package/dist/types/components/ui/atoms/Status/Status.types.d.ts +0 -8
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +0 -11
- package/dist/types/components/ui/molecules/Card/CardGroup.d.ts +0 -3
- package/dist/types/core/analytics.d.ts +0 -31
- package/dist/types/utils/bankVerification/animation.d.ts +0 -2
- package/dist/upload-XDhHhAHV.js +0 -17
- package/dist/useFormContext-beqGS11A.js +0 -23
- package/dist/utils-B7kcMyYW.js +0 -159
- package/dist/utils-DvAaNu7U.js +0 -29
- package/dist/validate-DxfuzxT4.js +0 -382
- package/dist/validate-Dz7xvgxq.js +0 -605
- package/dist/warning-circle-fill-DADaWT65.js +0 -17
- package/dist/warning-filled-BfAQN-BF.js +0 -14
- package/dist/webinar-BJWDRK2H.js +0 -22
- /package/dist/types/api/{pciTemplate → pci}/useSignPci.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
- /package/dist/types/components/BusinessLines/tasks/{BusinessLinesGettingStarted → BusinessLines}/BusinessLinesGettingStarted.d.ts +0 -0
|
@@ -0,0 +1,774 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
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] = "d47d0036-dfcf-4cde-9fa1-699829b41b8d", e._sentryDebugIdIdentifier = "sentry-dbid-d47d0036-dfcf-4cde-9fa1-699829b41b8d");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-jtUYKLRz.js";
|
|
12
|
+
import { C as Currencies } from "./types-D0u3f6aG.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-DgSdo3D5.js";
|
|
14
|
+
const formatCurrency = (amount, currency, locale) => {
|
|
15
|
+
const { format } = new Intl.NumberFormat(
|
|
16
|
+
locale,
|
|
17
|
+
currency ? { style: "currency", currency } : void 0
|
|
18
|
+
);
|
|
19
|
+
return format(amount);
|
|
20
|
+
};
|
|
21
|
+
const formatAmountWithCurrency = (amount, currency) => {
|
|
22
|
+
const commaDecimalCurrencies = ["EUR", "BRL", "ARS", "CHF"];
|
|
23
|
+
const locale = commaDecimalCurrencies.includes(currency.toUpperCase()) ? "de-DE" : "en-US";
|
|
24
|
+
const formattedAmount = formatCurrency(amount, currency, locale);
|
|
25
|
+
if (!formattedAmount) {
|
|
26
|
+
return void 0;
|
|
27
|
+
}
|
|
28
|
+
return `${formattedAmount} ${currency}`;
|
|
29
|
+
};
|
|
30
|
+
const additionalDataSchemaKeys = [
|
|
31
|
+
"description",
|
|
32
|
+
"dateOfFundsReceived",
|
|
33
|
+
"purpose",
|
|
34
|
+
"relationship",
|
|
35
|
+
"originatorLegalEntityId",
|
|
36
|
+
"amount",
|
|
37
|
+
"financiers",
|
|
38
|
+
"cryptocurrencyExchange",
|
|
39
|
+
"dateOfSourceEvent",
|
|
40
|
+
"website"
|
|
41
|
+
];
|
|
42
|
+
const allowedCurrencies = Object.entries(Currencies).map(([key]) => ({
|
|
43
|
+
name: key,
|
|
44
|
+
id: key
|
|
45
|
+
}));
|
|
46
|
+
const SOF_CHARACTERS_LIMIT = 200;
|
|
47
|
+
const TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
48
|
+
const getSchemaForOriginator = (baseSchema, originatorType) => {
|
|
49
|
+
if (originatorType === "organization") {
|
|
50
|
+
return [...baseSchema, "legalName"];
|
|
51
|
+
}
|
|
52
|
+
if (originatorType === "individual") {
|
|
53
|
+
return [...baseSchema, "firstName", "lastName"];
|
|
54
|
+
}
|
|
55
|
+
return baseSchema;
|
|
56
|
+
};
|
|
57
|
+
const getAdditionalDataSchemaKeys = (sourceOfFundsType, originatorType) => {
|
|
58
|
+
switch (sourceOfFundsType) {
|
|
59
|
+
case "business":
|
|
60
|
+
return ["amount", "description"];
|
|
61
|
+
case "donations":
|
|
62
|
+
return getSchemaForOriginator(
|
|
63
|
+
[
|
|
64
|
+
"dateOfFundsReceived",
|
|
65
|
+
"purpose",
|
|
66
|
+
"relationship",
|
|
67
|
+
"originatorLegalEntityId",
|
|
68
|
+
"country",
|
|
69
|
+
"originatorType"
|
|
70
|
+
],
|
|
71
|
+
originatorType
|
|
72
|
+
);
|
|
73
|
+
case "inheritance":
|
|
74
|
+
return getSchemaForOriginator(
|
|
75
|
+
[
|
|
76
|
+
"dateOfFundsReceived",
|
|
77
|
+
"amount",
|
|
78
|
+
"relationship",
|
|
79
|
+
"originatorLegalEntityId",
|
|
80
|
+
"country",
|
|
81
|
+
"originatorType"
|
|
82
|
+
],
|
|
83
|
+
originatorType
|
|
84
|
+
);
|
|
85
|
+
case "thirdPartyFunding":
|
|
86
|
+
return ["financiers"];
|
|
87
|
+
case "cryptocurrencyIncome":
|
|
88
|
+
return ["cryptocurrencyExchange"];
|
|
89
|
+
case "assetSale":
|
|
90
|
+
return ["dateOfSourceEvent", "description", "amount"];
|
|
91
|
+
case "gamblingWinnings":
|
|
92
|
+
return ["dateOfSourceEvent", "website", "amount"];
|
|
93
|
+
default:
|
|
94
|
+
return [];
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const getServiceTranslation = (t, service) => {
|
|
98
|
+
switch (service) {
|
|
99
|
+
case "banking":
|
|
100
|
+
return t(($) => $["businessBankAccounts"]);
|
|
101
|
+
case "issuing":
|
|
102
|
+
return t(($) => $["paymentCards"]);
|
|
103
|
+
case "paymentProcessing":
|
|
104
|
+
return t(($) => $["acceptingPayments"]);
|
|
105
|
+
default:
|
|
106
|
+
return t(($) => $["supportingDocuments"]);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
const getServiceTranslationSelectTitle = (t, service) => {
|
|
110
|
+
switch (service) {
|
|
111
|
+
case "banking":
|
|
112
|
+
return t(($) => $["forYourBusinessBankAccounts"]);
|
|
113
|
+
case "issuing":
|
|
114
|
+
return t(($) => $["forYourPaymentCards"]);
|
|
115
|
+
case "paymentProcessing":
|
|
116
|
+
return t(($) => $["whenAcceptingPayments"]);
|
|
117
|
+
default:
|
|
118
|
+
return t(($) => $["supportingDocuments"]);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
const getServiceTranslationKey = (service) => {
|
|
122
|
+
switch (service) {
|
|
123
|
+
case "banking":
|
|
124
|
+
return "bankingService";
|
|
125
|
+
case "issuing":
|
|
126
|
+
return "issuingService";
|
|
127
|
+
case "paymentProcessing":
|
|
128
|
+
return "paymentService";
|
|
129
|
+
default:
|
|
130
|
+
return "supportingDocuments";
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
const getGettingStartedCardDetails = (sourceOfFundsType, t, data) => {
|
|
134
|
+
const details = [];
|
|
135
|
+
sourceOfFundsType?.forEach((type) => {
|
|
136
|
+
switch (type) {
|
|
137
|
+
case "amount":
|
|
138
|
+
details.push({
|
|
139
|
+
term: t(($) => $["amount"]),
|
|
140
|
+
details: data?.amount?.currency && data?.amount?.value ? formatAmountWithCurrency(data.amount.value, data.amount.currency) : ""
|
|
141
|
+
});
|
|
142
|
+
break;
|
|
143
|
+
case "description":
|
|
144
|
+
details.push({
|
|
145
|
+
term: t(($) => $["description"]),
|
|
146
|
+
details: data?.description || ""
|
|
147
|
+
});
|
|
148
|
+
break;
|
|
149
|
+
case "dateOfFundsReceived":
|
|
150
|
+
details.push({
|
|
151
|
+
term: t(($) => $["date"]),
|
|
152
|
+
details: localizeDateString(data?.dateOfFundsReceived || "", navigator.language)
|
|
153
|
+
});
|
|
154
|
+
break;
|
|
155
|
+
case "purpose":
|
|
156
|
+
details.push({
|
|
157
|
+
term: t(($) => $["reason"]),
|
|
158
|
+
details: data?.purpose || ""
|
|
159
|
+
});
|
|
160
|
+
break;
|
|
161
|
+
case "relationship":
|
|
162
|
+
details.push({ term: t(($) => $["relationship"]), details: data?.relationship || "" });
|
|
163
|
+
break;
|
|
164
|
+
case "originatorLegalEntityId":
|
|
165
|
+
details.push({
|
|
166
|
+
term: t(($) => $["benefactorDetails"]),
|
|
167
|
+
details: [
|
|
168
|
+
data?.legalName ? `${data?.legalName}` : `${data?.firstName} ${data?.lastName}`,
|
|
169
|
+
/* @__PURE__ */ jsx(Typography, { color: "secondary", children: data?.country || "" }, "location")
|
|
170
|
+
]
|
|
171
|
+
});
|
|
172
|
+
break;
|
|
173
|
+
case "financiers":
|
|
174
|
+
data?.financiers?.map((financier) => {
|
|
175
|
+
return details.push({
|
|
176
|
+
term: t(($) => $["investor"]),
|
|
177
|
+
details: [
|
|
178
|
+
`${financier?.firstName} ${financier?.lastName}`,
|
|
179
|
+
/* @__PURE__ */ jsx(Typography, { color: "secondary", children: financier?.location || "" }, "location"),
|
|
180
|
+
/* @__PURE__ */ jsx(Typography, { color: "secondary", children: financier?.amount?.currency && financier?.amount?.value ? formatAmountWithCurrency(
|
|
181
|
+
financier.amount.value,
|
|
182
|
+
financier.amount.currency
|
|
183
|
+
) || "" : "" }, "value")
|
|
184
|
+
]
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
break;
|
|
188
|
+
case "cryptocurrencyExchange":
|
|
189
|
+
details.push({
|
|
190
|
+
term: t(($) => $["cryptocurrencyExchange"]),
|
|
191
|
+
details: data?.cryptocurrencyExchange || ""
|
|
192
|
+
});
|
|
193
|
+
break;
|
|
194
|
+
case "dateOfSourceEvent":
|
|
195
|
+
details.push({
|
|
196
|
+
term: t(($) => $["dateOfSourceEvent"]),
|
|
197
|
+
details: localizeDateString(data?.dateOfSourceEvent || "", navigator.language)
|
|
198
|
+
});
|
|
199
|
+
break;
|
|
200
|
+
case "website":
|
|
201
|
+
details.push({
|
|
202
|
+
term: t(($) => $["website"]),
|
|
203
|
+
details: data?.website || ""
|
|
204
|
+
});
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
return details;
|
|
209
|
+
};
|
|
210
|
+
const sourceOfFundsForms = {
|
|
211
|
+
sourceOfFundsType: {
|
|
212
|
+
formId: "sourceOfFundsType",
|
|
213
|
+
formName: "selectASourceOfFunding",
|
|
214
|
+
fields: ["type"]
|
|
215
|
+
},
|
|
216
|
+
additionalData: {
|
|
217
|
+
formId: "additionalData",
|
|
218
|
+
formName: "tellUsMoreAboutThisSource",
|
|
219
|
+
fields: [...additionalDataSchemaKeys]
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
const sourceOfFundsRequiredFields = {
|
|
223
|
+
sourceOfFundsType: sourceOfFundsForms.sourceOfFundsType.fields,
|
|
224
|
+
additionalData: sourceOfFundsForms.additionalData.fields
|
|
225
|
+
};
|
|
226
|
+
const typesRequiringAdditionalData = [
|
|
227
|
+
"business",
|
|
228
|
+
"donations",
|
|
229
|
+
"inheritance",
|
|
230
|
+
"thirdPartyFunding",
|
|
231
|
+
"cryptocurrencyIncome",
|
|
232
|
+
"assetSale",
|
|
233
|
+
"gamblingWinnings"
|
|
234
|
+
];
|
|
235
|
+
const getSourceOfFundsRequiredForms = (data) => {
|
|
236
|
+
return Object.fromEntries(
|
|
237
|
+
Object.entries(sourceOfFundsForms).filter(([form]) => {
|
|
238
|
+
if (!data?.type || !typesRequiringAdditionalData.includes(data?.type))
|
|
239
|
+
return form !== sourceOfFundsForms.additionalData.formId;
|
|
240
|
+
return form;
|
|
241
|
+
})
|
|
242
|
+
);
|
|
243
|
+
};
|
|
244
|
+
const getInputErrors = ({
|
|
245
|
+
formErrors,
|
|
246
|
+
data,
|
|
247
|
+
key,
|
|
248
|
+
value
|
|
249
|
+
}) => {
|
|
250
|
+
const isEmpty = value === "" || value === null || value === void 0;
|
|
251
|
+
let errors = { ...formErrors };
|
|
252
|
+
if (isEmpty) {
|
|
253
|
+
errors = { ...formErrors, [key]: "fieldIsRequired" };
|
|
254
|
+
} else {
|
|
255
|
+
errors = { ...formErrors, [key]: void 0 };
|
|
256
|
+
}
|
|
257
|
+
if (["amount", "currency"].includes(key)) {
|
|
258
|
+
if (data?.amount?.value && data?.amount?.currency) {
|
|
259
|
+
errors = { ...formErrors, amount: void 0 };
|
|
260
|
+
}
|
|
261
|
+
if (!data?.amount?.currency) {
|
|
262
|
+
errors = { ...formErrors, amount: "currencyIsRequired" };
|
|
263
|
+
}
|
|
264
|
+
if (!data?.amount?.value) {
|
|
265
|
+
errors = { ...formErrors, amount: "amountIsRequired" };
|
|
266
|
+
} else if (isNaN(data?.amount.value)) {
|
|
267
|
+
errors = { ...formErrors, amount: "pleaseEnterAValidAmount" };
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return errors;
|
|
271
|
+
};
|
|
272
|
+
const getPageHeadings = (type) => {
|
|
273
|
+
switch (type) {
|
|
274
|
+
case "cryptocurrencyIncome":
|
|
275
|
+
return {
|
|
276
|
+
heading: "cryptocurrencyProceedDetails",
|
|
277
|
+
description: "tellUsMoreAboutTheCryptocurrency"
|
|
278
|
+
};
|
|
279
|
+
case "assetSale":
|
|
280
|
+
return {
|
|
281
|
+
heading: "propertySaleDetails",
|
|
282
|
+
description: "tellUsMoreAboutTheProperty"
|
|
283
|
+
};
|
|
284
|
+
case "gamblingWinnings":
|
|
285
|
+
return {
|
|
286
|
+
heading: "gamblingProceedDetails",
|
|
287
|
+
description: "tellUsMoreAboutTheGamblingProceeds"
|
|
288
|
+
};
|
|
289
|
+
case "business":
|
|
290
|
+
return {
|
|
291
|
+
heading: "businessEarningDetails",
|
|
292
|
+
description: "tellUsMoreAboutThePreviousBusinessEarnings"
|
|
293
|
+
};
|
|
294
|
+
case "thirdPartyFunding":
|
|
295
|
+
return {
|
|
296
|
+
heading: "thirdPartyInvestmentDetails",
|
|
297
|
+
description: "tellUsMoreAboutTheInvestors"
|
|
298
|
+
};
|
|
299
|
+
case "inheritance":
|
|
300
|
+
return {
|
|
301
|
+
heading: "inheritanceDetails",
|
|
302
|
+
description: "tellUsMoreAboutTheInheritanceProceeds"
|
|
303
|
+
};
|
|
304
|
+
case "donations":
|
|
305
|
+
return {
|
|
306
|
+
heading: "giftOrDonationDetails",
|
|
307
|
+
description: "tellUsMoreAboutTheGiftOrDonationProceeds"
|
|
308
|
+
};
|
|
309
|
+
default:
|
|
310
|
+
return {
|
|
311
|
+
heading: "tellUsMoreAboutThisSource"
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
const getDocumentRequirements = {
|
|
316
|
+
loanAgreement: [
|
|
317
|
+
"yourBusinessName",
|
|
318
|
+
"lendersNameAndAddress",
|
|
319
|
+
"principalAmount",
|
|
320
|
+
"loanDate",
|
|
321
|
+
"purposeOfLoan"
|
|
322
|
+
],
|
|
323
|
+
loanStatement: [
|
|
324
|
+
"yourBusinessName",
|
|
325
|
+
"lendersNameAndAddress",
|
|
326
|
+
"principalAmount",
|
|
327
|
+
"loanDate",
|
|
328
|
+
"purposeOfLoan"
|
|
329
|
+
],
|
|
330
|
+
proofOfWalletOwnership: [
|
|
331
|
+
"yourBusinessName",
|
|
332
|
+
"nameOfTheCryptocurrencyExchange",
|
|
333
|
+
"nameOfTheCoins",
|
|
334
|
+
"issueDateWithinTheLast12Months"
|
|
335
|
+
],
|
|
336
|
+
transactionStatement: [
|
|
337
|
+
"showsYourBusinessName",
|
|
338
|
+
"showsTheNameOfTheCryptocurrencyExchange",
|
|
339
|
+
"showsTheNameOfTheCoins",
|
|
340
|
+
"issueDateWithinTheLast12Months"
|
|
341
|
+
],
|
|
342
|
+
taxFiling: [
|
|
343
|
+
"showsYourBusinessName",
|
|
344
|
+
"showsTheNameOfTheCryptocurrencyExchange",
|
|
345
|
+
"showsTheNameOfTheCoins",
|
|
346
|
+
"issueDateWithinTheLast12Months"
|
|
347
|
+
],
|
|
348
|
+
proofOfWinnings: ["winningProceedAmount", "dateOfWinning", "nameOfCasinoLottery"],
|
|
349
|
+
winReport: ["winningProceedAmount", "dateOfWinning", "nameOfCasinoLottery"],
|
|
350
|
+
winLossStatement: ["winningProceedAmount", "dateOfWinning", "nameOfCasinoLottery"],
|
|
351
|
+
taxDeclaration: ["winningProceedAmount", "issuedWithinTheLast12Months"],
|
|
352
|
+
annualStatements: [
|
|
353
|
+
"yourBusinessName",
|
|
354
|
+
"proofOfAnnualTurnoverAmount",
|
|
355
|
+
"issueDateWithinTheLast12Months"
|
|
356
|
+
],
|
|
357
|
+
latestTaxFiling: [
|
|
358
|
+
"yourBusinessName",
|
|
359
|
+
"proofOfAnnualTurnoverAmount",
|
|
360
|
+
"issueDateWithinTheLast12Months"
|
|
361
|
+
],
|
|
362
|
+
letterFromAccountant: [
|
|
363
|
+
"yourBusinessName",
|
|
364
|
+
"proofOfAnnualTurnoverAmount",
|
|
365
|
+
"signatureAndDateWithinTheLast12Months"
|
|
366
|
+
],
|
|
367
|
+
recentInvoices: ["yourBusinessName", "invoicesFromThe3MostRecentMonths"],
|
|
368
|
+
bankStatements: [
|
|
369
|
+
"yourBusinessName",
|
|
370
|
+
"issueDate",
|
|
371
|
+
"banksLogoAndName",
|
|
372
|
+
"allStatementsFrom3MostRecentMonths"
|
|
373
|
+
],
|
|
374
|
+
payslips: ["employersName", "issueDate", "banksLogoAndName", "allPayslipsFrom3MostRecentMonths"],
|
|
375
|
+
contractSpecifyingDividends: [
|
|
376
|
+
"theBusinessName",
|
|
377
|
+
"termLengthAndDividendYield",
|
|
378
|
+
"namesOfInvolvedParties"
|
|
379
|
+
],
|
|
380
|
+
latestTaxReturn: ["theBusinessName", "reportedDividendAmount"],
|
|
381
|
+
investmentCertificate: ["theBusinessName", "termLengthAndDividendYield"],
|
|
382
|
+
brokerStatements: [
|
|
383
|
+
"theBrokerageName",
|
|
384
|
+
"dividendAmount",
|
|
385
|
+
"issueDateWithinTheLast3Months",
|
|
386
|
+
"namesOfInvolvedParties"
|
|
387
|
+
],
|
|
388
|
+
investorContract: [
|
|
389
|
+
"yourBusinessName",
|
|
390
|
+
"nameAddressSignatureOfAllInvestors",
|
|
391
|
+
"investmentAmount",
|
|
392
|
+
"fundDepositDate"
|
|
393
|
+
],
|
|
394
|
+
investorMemo: [
|
|
395
|
+
"yourBusinessName",
|
|
396
|
+
"nameAddressSignatureOfAllInvestors",
|
|
397
|
+
"investmentAmount",
|
|
398
|
+
"fundDepositDate"
|
|
399
|
+
],
|
|
400
|
+
notarizedStatement: [
|
|
401
|
+
"yourBusinessName",
|
|
402
|
+
"nameAddressSignatureOfAllInvestors",
|
|
403
|
+
"investmentAmount",
|
|
404
|
+
"fundDepositDate"
|
|
405
|
+
],
|
|
406
|
+
partnershipAgreement: [
|
|
407
|
+
"yourBusinessName",
|
|
408
|
+
"nameAddressSignatureOfAllInvestors",
|
|
409
|
+
"investmentAmount",
|
|
410
|
+
"fundDepositDate"
|
|
411
|
+
],
|
|
412
|
+
proofOfOwnership: [
|
|
413
|
+
"descriptionOfProperty",
|
|
414
|
+
"netProceedAmount",
|
|
415
|
+
"fundDepositDate",
|
|
416
|
+
"propertyAddress"
|
|
417
|
+
],
|
|
418
|
+
letterFromAttorney: [
|
|
419
|
+
"descriptionOfProperty",
|
|
420
|
+
"netProceedAmount",
|
|
421
|
+
"fundDepositDate",
|
|
422
|
+
"propertyAddress"
|
|
423
|
+
],
|
|
424
|
+
saleContract: ["descriptionOfProperty", "netProceedAmount", "fundDepositDate", "propertyAddress"],
|
|
425
|
+
taxDeclarationProperty: [
|
|
426
|
+
"descriptionOfProperty",
|
|
427
|
+
"netProceedAmount",
|
|
428
|
+
"fundDepositDate",
|
|
429
|
+
"propertyAddress"
|
|
430
|
+
],
|
|
431
|
+
titleDeed: ["descriptionOfProperty", "netProceedAmount", "fundDepositDate", "propertyAddress"],
|
|
432
|
+
rentalAgreementOrLease: ["namesOfLandlordAndTenant", "propertyAddress", "rentAmount"],
|
|
433
|
+
proofOfOwnershipRent: ["yourName", "propertyAddress"],
|
|
434
|
+
giftOrDonationAgreement: ["donorsName", "fundTransferDate", "fundDepositAmount"],
|
|
435
|
+
royaltyAgreement: ["descriptionOfIntellectualProperty", "royaltyAmount", "agreementPeriod"],
|
|
436
|
+
taxDocuments: ["royaltyAmount", "provideMostRecentYearAvailable"],
|
|
437
|
+
certificateOfInheritance: [
|
|
438
|
+
"decedentsName",
|
|
439
|
+
"inheritanceAmount",
|
|
440
|
+
"fundDepositDate",
|
|
441
|
+
"estateAttorneysName"
|
|
442
|
+
],
|
|
443
|
+
grantOfProbate: ["decedentsName", "inheritanceAmount", "fundDepositDate", "estateAttorneysName"],
|
|
444
|
+
letterFromAttorneyOrNotary: [
|
|
445
|
+
"decedentsName",
|
|
446
|
+
"inheritanceAmount",
|
|
447
|
+
"fundDepositDate",
|
|
448
|
+
"estateAttorneysName"
|
|
449
|
+
],
|
|
450
|
+
signedCopyOfTheWill: [
|
|
451
|
+
"decedentsName",
|
|
452
|
+
"inheritanceAmount",
|
|
453
|
+
"fundDepositDate",
|
|
454
|
+
"estateAttorneysName"
|
|
455
|
+
],
|
|
456
|
+
pensionSlip: ["yourFullName", "previousEmployersName", "pensionPaymentAmount"],
|
|
457
|
+
letterFromPreviousEmployer: [
|
|
458
|
+
"yourFullName",
|
|
459
|
+
"previousEmployersName",
|
|
460
|
+
"pensionPaymentAmountOrTotalValue"
|
|
461
|
+
],
|
|
462
|
+
pensionStatement: ["yourFullName", "previousEmployersName", "pensionPaymentAmountOrTotalValue"],
|
|
463
|
+
courtOrder: ["yourFullName", "totalSettlementAmount", "fundDepositDate"],
|
|
464
|
+
letterFromAttorneyInsurance: ["yourFullName", "totalSettlementAmount", "fundDepositDate"],
|
|
465
|
+
letterFromInsurer: ["yourFullName", "totalSettlementAmount", "fundDepositDate"],
|
|
466
|
+
confirmationOfGrantOrSubsidy: [
|
|
467
|
+
"benefactorsName",
|
|
468
|
+
"subsidyOrGrantAmount",
|
|
469
|
+
"timePeriodIfApplicable"
|
|
470
|
+
]
|
|
471
|
+
};
|
|
472
|
+
const getDocumentLists = (sourceOfFundsType) => {
|
|
473
|
+
switch (sourceOfFundsType) {
|
|
474
|
+
case "loans":
|
|
475
|
+
return ["loanAgreement", "loanStatement"];
|
|
476
|
+
case "gamblingWinnings":
|
|
477
|
+
return ["proofOfWinnings", "winReport", "winLossStatement", "taxDeclaration"];
|
|
478
|
+
case "cryptocurrencyIncome":
|
|
479
|
+
return ["proofOfWalletOwnership", "transactionStatement", "taxFiling"];
|
|
480
|
+
case "business":
|
|
481
|
+
return ["annualStatements", "latestTaxFiling", "letterFromAccountant", "recentInvoices"];
|
|
482
|
+
case "employment":
|
|
483
|
+
return ["bankStatements", "payslips"];
|
|
484
|
+
case "dividendIncome":
|
|
485
|
+
return [
|
|
486
|
+
"contractSpecifyingDividends",
|
|
487
|
+
"latestTaxReturn",
|
|
488
|
+
"investmentCertificate",
|
|
489
|
+
"brokerStatements"
|
|
490
|
+
];
|
|
491
|
+
case "thirdPartyFunding":
|
|
492
|
+
return ["investorContract", "investorMemo", "notarizedStatement", "partnershipAgreement"];
|
|
493
|
+
case "assetSale":
|
|
494
|
+
return [
|
|
495
|
+
"proofOfOwnership",
|
|
496
|
+
"letterFromAttorney",
|
|
497
|
+
"saleContract",
|
|
498
|
+
"taxDeclarationProperty",
|
|
499
|
+
"titleDeed"
|
|
500
|
+
];
|
|
501
|
+
case "rentalIncome":
|
|
502
|
+
return ["rentalAgreementOrLease", "proofOfOwnership"];
|
|
503
|
+
case "donations":
|
|
504
|
+
return ["giftOrDonationAgreement"];
|
|
505
|
+
case "royaltyIncome":
|
|
506
|
+
return ["royaltyAgreement", "taxDocuments"];
|
|
507
|
+
case "inheritance":
|
|
508
|
+
return [
|
|
509
|
+
"certificateOfInheritance",
|
|
510
|
+
"grantOfProbate",
|
|
511
|
+
"letterFromAttorneyOrNotary",
|
|
512
|
+
"signedCopyOfTheWill"
|
|
513
|
+
];
|
|
514
|
+
case "pensionIncome":
|
|
515
|
+
return ["pensionSlip", "letterFromPreviousEmployer", "pensionStatement"];
|
|
516
|
+
case "insuranceSettlement":
|
|
517
|
+
return ["courtOrder", "letterFromAttorneyInsurance", "letterFromInsurer"];
|
|
518
|
+
case "financialAid":
|
|
519
|
+
return ["confirmationOfGrantOrSubsidy"];
|
|
520
|
+
default:
|
|
521
|
+
return [];
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
const parseSOFDocumentDescription = (t, documentDescription) => {
|
|
525
|
+
if (!documentDescription || documentDescription.trim() === "" || !documentDescription.startsWith("$")) {
|
|
526
|
+
return void 0;
|
|
527
|
+
}
|
|
528
|
+
const [servicePart, typePart] = documentDescription.split("--");
|
|
529
|
+
const selectedService = servicePart.split(":")[1];
|
|
530
|
+
const documentType = typePart.split(":")[1];
|
|
531
|
+
const parsed = {
|
|
532
|
+
selectedService: getServiceTranslation(t, selectedService || ""),
|
|
533
|
+
documentType: t(($) => $[documentType])
|
|
534
|
+
};
|
|
535
|
+
return `${parsed.selectedService} (${parsed.documentType})`;
|
|
536
|
+
};
|
|
537
|
+
const MISSING_DATA_SOF_UPLOAD_CODE = "2_8224";
|
|
538
|
+
const parseOriginatorDetails = (originatorDetails, businessLine) => {
|
|
539
|
+
const copiedBusinessLine = { ...businessLine };
|
|
540
|
+
if (copiedBusinessLine.sourceOfFunds) {
|
|
541
|
+
if (originatorDetails.organization) {
|
|
542
|
+
copiedBusinessLine.sourceOfFunds.legalName = originatorDetails.organization.legalName;
|
|
543
|
+
copiedBusinessLine.sourceOfFunds.country = originatorDetails.organization?.registeredAddress?.country;
|
|
544
|
+
copiedBusinessLine.sourceOfFunds.originatorType = "organization";
|
|
545
|
+
}
|
|
546
|
+
if (originatorDetails.individual) {
|
|
547
|
+
copiedBusinessLine.sourceOfFunds.firstName = originatorDetails.individual.name?.firstName;
|
|
548
|
+
copiedBusinessLine.sourceOfFunds.lastName = originatorDetails.individual.name?.lastName;
|
|
549
|
+
copiedBusinessLine.sourceOfFunds.country = originatorDetails.individual.residentialAddress?.country;
|
|
550
|
+
copiedBusinessLine.sourceOfFunds.originatorType = "individual";
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
return copiedBusinessLine;
|
|
554
|
+
};
|
|
555
|
+
const getSourceOfFundsPayload = (sofType, additionalData) => {
|
|
556
|
+
switch (sofType) {
|
|
557
|
+
case "business":
|
|
558
|
+
return {
|
|
559
|
+
adyenProcessedFunds: false,
|
|
560
|
+
type: "business",
|
|
561
|
+
description: additionalData?.description,
|
|
562
|
+
amount: {
|
|
563
|
+
currency: additionalData?.amount?.currency ?? "USD",
|
|
564
|
+
value: additionalData?.amount?.value ?? 0
|
|
565
|
+
}
|
|
566
|
+
};
|
|
567
|
+
case "employment":
|
|
568
|
+
return {
|
|
569
|
+
adyenProcessedFunds: false,
|
|
570
|
+
type: "employment"
|
|
571
|
+
};
|
|
572
|
+
case "donations":
|
|
573
|
+
return {
|
|
574
|
+
adyenProcessedFunds: false,
|
|
575
|
+
type: "donations",
|
|
576
|
+
dateOfFundsReceived: additionalData?.dateOfFundsReceived,
|
|
577
|
+
purpose: additionalData?.purpose,
|
|
578
|
+
relationship: additionalData?.relationship,
|
|
579
|
+
originatorLegalEntityId: additionalData?.originatorLegalEntityId
|
|
580
|
+
};
|
|
581
|
+
case "inheritance":
|
|
582
|
+
return {
|
|
583
|
+
adyenProcessedFunds: false,
|
|
584
|
+
type: "inheritance",
|
|
585
|
+
dateOfFundsReceived: additionalData?.dateOfFundsReceived,
|
|
586
|
+
amount: additionalData?.amount,
|
|
587
|
+
relationship: additionalData?.relationship,
|
|
588
|
+
originatorLegalEntityId: additionalData?.originatorLegalEntityId
|
|
589
|
+
};
|
|
590
|
+
case "financialAid":
|
|
591
|
+
return {
|
|
592
|
+
adyenProcessedFunds: false,
|
|
593
|
+
type: "financialAid"
|
|
594
|
+
};
|
|
595
|
+
case "rentalIncome":
|
|
596
|
+
return {
|
|
597
|
+
adyenProcessedFunds: false,
|
|
598
|
+
type: "rentalIncome"
|
|
599
|
+
};
|
|
600
|
+
case "dividendIncome":
|
|
601
|
+
return {
|
|
602
|
+
adyenProcessedFunds: false,
|
|
603
|
+
type: "dividendIncome"
|
|
604
|
+
};
|
|
605
|
+
case "royaltyIncome":
|
|
606
|
+
return {
|
|
607
|
+
adyenProcessedFunds: false,
|
|
608
|
+
type: "royaltyIncome"
|
|
609
|
+
};
|
|
610
|
+
case "pensionIncome":
|
|
611
|
+
return {
|
|
612
|
+
adyenProcessedFunds: false,
|
|
613
|
+
type: "pensionIncome"
|
|
614
|
+
};
|
|
615
|
+
case "insuranceSettlement":
|
|
616
|
+
return {
|
|
617
|
+
adyenProcessedFunds: false,
|
|
618
|
+
type: "insuranceSettlement"
|
|
619
|
+
};
|
|
620
|
+
case "thirdPartyFunding":
|
|
621
|
+
return {
|
|
622
|
+
adyenProcessedFunds: false,
|
|
623
|
+
type: "thirdPartyFunding",
|
|
624
|
+
financiers: additionalData?.financiers
|
|
625
|
+
};
|
|
626
|
+
case "cryptocurrencyIncome":
|
|
627
|
+
return {
|
|
628
|
+
adyenProcessedFunds: false,
|
|
629
|
+
type: "cryptocurrencyIncome",
|
|
630
|
+
cryptocurrencyExchange: additionalData?.cryptocurrencyExchange
|
|
631
|
+
};
|
|
632
|
+
case "assetSale":
|
|
633
|
+
return {
|
|
634
|
+
adyenProcessedFunds: false,
|
|
635
|
+
type: "assetSale",
|
|
636
|
+
cryptocurrencyExchange: additionalData?.cryptocurrencyExchange,
|
|
637
|
+
dateOfSourceEvent: additionalData?.dateOfSourceEvent,
|
|
638
|
+
description: additionalData?.description,
|
|
639
|
+
amount: additionalData?.amount
|
|
640
|
+
};
|
|
641
|
+
case "loans":
|
|
642
|
+
return {
|
|
643
|
+
adyenProcessedFunds: false,
|
|
644
|
+
type: "loans"
|
|
645
|
+
};
|
|
646
|
+
case "gamblingWinnings":
|
|
647
|
+
return {
|
|
648
|
+
adyenProcessedFunds: false,
|
|
649
|
+
type: "gamblingWinnings",
|
|
650
|
+
dateOfSourceEvent: additionalData?.dateOfSourceEvent,
|
|
651
|
+
website: additionalData?.website && !additionalData.website.startsWith("http://") && !additionalData.website.startsWith("https://") ? `https://${additionalData.website}` : additionalData?.website,
|
|
652
|
+
amount: additionalData?.amount
|
|
653
|
+
};
|
|
654
|
+
default:
|
|
655
|
+
return { adyenProcessedFunds: true };
|
|
656
|
+
}
|
|
657
|
+
};
|
|
658
|
+
const parseSofOriginatorPayload = (additionalData) => {
|
|
659
|
+
let sofOriginator;
|
|
660
|
+
if (additionalData?.originatorType === "individual") {
|
|
661
|
+
sofOriginator = {
|
|
662
|
+
type: LegalEntityTypes.INDIVIDUAL,
|
|
663
|
+
individual: {
|
|
664
|
+
name: {
|
|
665
|
+
firstName: additionalData?.firstName ?? "",
|
|
666
|
+
lastName: additionalData?.lastName ?? ""
|
|
667
|
+
},
|
|
668
|
+
residentialAddress: {
|
|
669
|
+
country: additionalData?.country
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
} else {
|
|
674
|
+
sofOriginator = {
|
|
675
|
+
type: LegalEntityTypes.ORGANIZATION,
|
|
676
|
+
organization: {
|
|
677
|
+
legalName: additionalData?.legalName ?? "",
|
|
678
|
+
registeredAddress: {
|
|
679
|
+
country: additionalData?.country
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
return sofOriginator;
|
|
685
|
+
};
|
|
686
|
+
const formatDateForInput = (isoDateString) => {
|
|
687
|
+
if (!isoDateString) return "";
|
|
688
|
+
try {
|
|
689
|
+
const datePart = isoDateString.split("T")[0];
|
|
690
|
+
if (/^\d{4}-\d{2}-\d{2}$/.test(datePart)) {
|
|
691
|
+
return datePart;
|
|
692
|
+
}
|
|
693
|
+
return "";
|
|
694
|
+
} catch {
|
|
695
|
+
return "";
|
|
696
|
+
}
|
|
697
|
+
};
|
|
698
|
+
const getSofCardDetails = (t, sourceOfFunds) => {
|
|
699
|
+
if (!sourceOfFunds) {
|
|
700
|
+
return "";
|
|
701
|
+
}
|
|
702
|
+
if (sourceOfFunds?.adyenProcessedFunds) {
|
|
703
|
+
return t(($) => $["transactionsOnThisPlatform"]);
|
|
704
|
+
}
|
|
705
|
+
if (sourceOfFunds?.type) {
|
|
706
|
+
return sourceOfFunds?.type ? t(($) => $[sofCategoryItemMapper[sourceOfFunds.type]]) : "";
|
|
707
|
+
}
|
|
708
|
+
return "";
|
|
709
|
+
};
|
|
710
|
+
const ALLOWED_SOF_SERVICES = ["issuing", "banking"];
|
|
711
|
+
const SOF_INVALID_INPUT_ERROR_CODES = ["1_93", "1_94"];
|
|
712
|
+
const getRelevantErrors = (problems, targetCodes) => {
|
|
713
|
+
if (!problems) return false;
|
|
714
|
+
return problems.flatMap(
|
|
715
|
+
(problem) => (problem.verificationErrors || []).filter(
|
|
716
|
+
(error) => targetCodes.includes(error.code) || (error.subErrors || []).some((sub) => targetCodes.includes(sub.code))
|
|
717
|
+
)
|
|
718
|
+
);
|
|
719
|
+
};
|
|
720
|
+
const getUniqueRemediationActions = (error) => {
|
|
721
|
+
const allActions = [
|
|
722
|
+
...error.remediatingActions || [],
|
|
723
|
+
...error.subErrors?.flatMap((sub) => sub.remediatingActions || []) || []
|
|
724
|
+
];
|
|
725
|
+
return allActions.filter((action, i, arr) => arr.findIndex((a) => a.code === action.code) === i);
|
|
726
|
+
};
|
|
727
|
+
const sofCategoryItemMapper = {
|
|
728
|
+
business: "otherBusinessEarnings",
|
|
729
|
+
employment: "employmentWages",
|
|
730
|
+
cryptocurrencyIncome: "cryptocurrency",
|
|
731
|
+
dividendIncome: "dividends",
|
|
732
|
+
loans: "loans",
|
|
733
|
+
financialAid: "financialAid",
|
|
734
|
+
thirdPartyFunding: "thirdPartyFunding",
|
|
735
|
+
rentalIncome: "rentalIncome",
|
|
736
|
+
royaltyIncome: "royaltyIncome",
|
|
737
|
+
gamblingWinnings: "gambling",
|
|
738
|
+
inheritance: "inheritance",
|
|
739
|
+
pensionIncome: "pensionIncome",
|
|
740
|
+
insuranceSettlement: "insuranceSettlement",
|
|
741
|
+
assetSale: "propertySale",
|
|
742
|
+
donations: "giftOrDonation"
|
|
743
|
+
};
|
|
744
|
+
export {
|
|
745
|
+
ALLOWED_SOF_SERVICES as A,
|
|
746
|
+
MISSING_DATA_SOF_UPLOAD_CODE as M,
|
|
747
|
+
SOF_CHARACTERS_LIMIT as S,
|
|
748
|
+
TODAY_DATE as T,
|
|
749
|
+
allowedCurrencies as a,
|
|
750
|
+
formatDateForInput as b,
|
|
751
|
+
formatAmountWithCurrency as c,
|
|
752
|
+
getAdditionalDataSchemaKeys as d,
|
|
753
|
+
getPageHeadings as e,
|
|
754
|
+
formatCurrency as f,
|
|
755
|
+
getInputErrors as g,
|
|
756
|
+
getServiceTranslationSelectTitle as h,
|
|
757
|
+
sourceOfFundsForms as i,
|
|
758
|
+
getSofCardDetails as j,
|
|
759
|
+
getGettingStartedCardDetails as k,
|
|
760
|
+
getServiceTranslation as l,
|
|
761
|
+
getRelevantErrors as m,
|
|
762
|
+
getUniqueRemediationActions as n,
|
|
763
|
+
SOF_INVALID_INPUT_ERROR_CODES as o,
|
|
764
|
+
parseSOFDocumentDescription as p,
|
|
765
|
+
getServiceTranslationKey as q,
|
|
766
|
+
getDocumentLists as r,
|
|
767
|
+
sofCategoryItemMapper as s,
|
|
768
|
+
getDocumentRequirements as t,
|
|
769
|
+
parseOriginatorDetails as u,
|
|
770
|
+
getSourceOfFundsRequiredForms as v,
|
|
771
|
+
sourceOfFundsRequiredFields as w,
|
|
772
|
+
getSourceOfFundsPayload as x,
|
|
773
|
+
parseSofOriginatorPayload as y
|
|
774
|
+
};
|