@adyen/kyc-components 3.83.0 → 3.85.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-DuGvxDCD.js → AcceptTermsOfServiceComponent-BW8S5c-F.js} +23 -20
- package/dist/Accordion-CxXXx4Ly.js +88 -0
- package/dist/{AccountSetupRejected-WRvC8Lhx.js → AccountSetupRejected-B0RVdTUw.js} +6 -6
- package/dist/{Address-DzNHaLQd.js → Address-BBHj9Aas.js} +10 -10
- package/dist/{Alert-Ce3pDSUY.js → Alert-Dz_jjJ1E.js} +3 -75
- package/dist/{Avatar-ERL8LlcN.js → Avatar-CCed5bJE.js} +2 -2
- package/dist/{BusinessDetailsDropin-CdWljVO6.js → BusinessDetailsMultiformDropin-B7HHvJeq.js} +2288 -272
- package/dist/BusinessFinancingComponent-D9cn6vVF.js +54 -0
- package/dist/{BusinessFinancingDropin-R940kp66.js → BusinessFinancingDropin-CCci5zHD.js} +185 -125
- package/dist/BusinessFinancingPage-DuRkxp4x.js +46 -0
- package/dist/{BusinessTypeSelectionPage-Dn1P9vc8.js → BusinessTypeSelectionPage-CQvrZNZZ.js} +12 -12
- package/dist/{Card-Cma0bwYR.js → Card-dFm_Z3TI.js} +6 -4
- package/dist/{CountryField-DrB-OFMR.js → CountryField-DunKeW_n.js} +220 -235
- package/dist/CreateIndividualComponent-wFiOsvgz.js +71 -0
- package/dist/CreateTransferInstrumentComponent-B_fQXq70.js +66 -0
- package/dist/{Currency-DD63TDvu.js → Currency-2wpP-9m3.js} +6 -6
- package/dist/{CustomerSupport-Cs9YbnBI.js → CustomerSupport-DyfNEq22.js} +11 -10
- package/dist/{DebugModal-AFNn6VI2.js → DebugModal-BMw5O5pH.js} +128 -42
- package/dist/{DecisionMakerDetailsPage-CUAalT7g.js → DecisionMakerDetailsPage-D-8hNnWf.js} +16 -10
- package/dist/DecisionMakers-DUjAziKs.js +831 -0
- package/dist/Divider-Ckm8Nfyb.js +239 -0
- package/dist/{Dropzone-DXfuqm2D.js → Dropzone-BtTUNjsc.js} +4 -4
- package/dist/{EmbeddedStatus-BjGURjyl.js → EmbeddedStatus-kQRIlMAC.js} +15 -16
- package/dist/{EndStateLayout-BuVgF0ER.js → EndStateLayout-CePzY6oB.js} +2 -2
- package/dist/{FormNavigation-DXaxaf1-.js → FormNavigation-a9y0a0iw.js} +3 -3
- package/dist/Image-TkXLA-UY.js +22 -0
- package/dist/{IndividualOnfidoDropin-fERsTakw.js → IndividualOnfidoDropin-CljBpKM8.js} +256 -401
- package/dist/{InputDate-By5i2Hlf.js → InputDate-DggMbeJG.js} +2 -2
- package/dist/{InputText-CqLs_M75.js → InputText-zem7Kt4i.js} +4 -7
- package/dist/{Introduction-3UWByITz.js → Introduction-DH4Tivyl.js} +4 -5
- package/dist/{JpAddress-C0iTeXx7.js → JpAddress-BEKjE0bR.js} +27 -10
- package/dist/LandingLayout-BLjTVlVb.js +60 -0
- package/dist/{LegalRepresentativeDetailsPage-DSppGGc6.js → LegalRepresentativeDetailsPage-Dny2mD-G.js} +5 -6
- package/dist/{Link-CaxhkJ24.js → Link-BZJgg2rS.js} +2 -2
- package/dist/ListItem-BqBZ36Qn.js +69 -0
- package/dist/ManageIndividualComponent-CHbI_tji.js +46 -0
- package/dist/ManageTermsOfServiceComponent-Dwsmig7o.js +58 -0
- package/dist/{ManageTransferInstrumentComponent-muOE0ZjV.js → ManageTransferInstrumentComponent-Btz3RWc6.js} +17 -17
- package/dist/{MaskedInput-OYLtVOZ6.js → MaskedInput-CSKFmTC0.js} +6 -6
- package/dist/MaybeModal-DraEs2gj.js +25 -0
- package/dist/{Modal-BaaNj5F-.js → Modal-DvB1odWq.js} +2 -2
- package/dist/OnboardingDropinComponent-KKy3000L.js +4274 -0
- package/dist/{PayoutDetailsDropin-DIJbRfg_.js → PayoutDetailsDropin-BFUH8RvF.js} +324 -97
- package/dist/RadioGroup-Br5v8w0a.js +144 -0
- package/dist/{RegistrationAddress-CbElOOZ6.js → RegistrationAddress-CP_kZ9NI.js} +39 -42
- package/dist/{Review-1Y__iPB0.js → Review-4b9BWdsh.js} +9 -8
- package/dist/RootBusinessDetailsPage-DO5202Yd.js +61 -0
- package/dist/{OnboardingDropinComponent-DIf93Tzb.js → RootBusinessLinesPage-D0tGN2u3.js} +866 -5062
- package/dist/{RootIndividualDetailsPage-BVr2fbYb.js → RootIndividualDetailsPage-2c_nvpAv.js} +5 -6
- package/dist/{SignPCIComponent-BcR2vNVB.js → SignPCIComponent-4UrP4tNd.js} +12 -11
- package/dist/{SingpassSelection-DDG-DpRN.js → SingpassSelection-DTOk81Y1.js} +11 -10
- package/dist/SoleProprietorshipPage-BL3u4nCi.js +60 -0
- package/dist/{SourceOfFundsPage-DF3muJcW.js → SourceOfFundsPage-HgGh-VDQ.js} +43 -65
- package/dist/{StepProgressIndicator-BUDjmmPK.js → StepProgressIndicator-sfM13J_b.js} +2 -2
- package/dist/{StoreProvider-DGxWcgrS.js → StoreProvider-DadhkEyO.js} +660 -195
- package/dist/{TaskItemStatus-Clfh9v2q.js → TaskItemStatus-DuJ01Ng6.js} +3 -14
- package/dist/{TaxInformationField-Bu8s2JZA.js → TaxInformationField-C4OeLAhU.js} +34 -31
- package/dist/{TaxReportingDropin-C1aPbXfp.js → TaxReportingDropin-2VcdfJvr.js} +64 -56
- package/dist/{TileGroup-AskMVW9b.js → TileGroup-B_9rid7_.js} +4 -4
- package/dist/{TrustDetailsPage-S0YwnBAx.js → TrustDetailsPage-COIeKAk2.js} +53 -44
- package/dist/TrustMemberCompanyPage-CwNG1bni.js +73 -0
- package/dist/TrustMemberIndividualPage-D57poDUv.js +66 -0
- package/dist/{UnincorporatedPartnershipIndividualPage-B_fmnaes.js → UnincorporatedPartnershipIndividualPage-oiEGWL8D.js} +5 -6
- package/dist/UnincorporatedPartnershipMemberCompanyPage-av-gOgOa.js +76 -0
- package/dist/{ViewVerificationStatusComponent-CivzRszd.js → ViewVerificationStatusComponent-Zk6t-F6h.js} +19 -13
- package/dist/adyen-business-financing.js +4 -5
- package/dist/adyen-individual-configuration.js +4 -5
- package/dist/adyen-individual-status.js +4 -5
- package/dist/adyen-kyc-components.js +39 -29
- package/dist/adyen-onboarding.js +4 -5
- package/dist/adyen-terms-of-service-management.js +4 -5
- package/dist/adyen-terms-of-service-status.js +4 -5
- package/dist/adyen-transfer-instrument-configuration.js +4 -5
- package/dist/adyen-transfer-instrument-management.js +4 -5
- package/dist/adyen-verification-status.js +4 -5
- package/dist/analytics-awjVudvY.js +123 -0
- package/dist/{bafinUtils-BJao1Xb_.js → bafinUtils-CAVAvSFg.js} +8 -99
- package/dist/bg-BG-BIOMFPaW.js +27 -0
- package/dist/bg-BG-BLe6BCNz.js +13 -0
- package/dist/bg-BG-BPsOhDfg.js +13 -0
- package/dist/bg-BG-BvLl6gaB.js +13 -0
- package/dist/bg-BG-CepHap8j.js +68 -0
- package/dist/bg-BG-Coja327N.js +24 -0
- package/dist/{bg-BG-GVhnrvRn.js → bg-BG-Cs_1PU3v.js} +5 -1
- package/dist/bg-BG-D5C7Gq2o.js +35 -0
- package/dist/bg-BG-DcxZ1tmt.js +32 -0
- package/dist/{bg-BG-Bot37sd7.js → bg-BG-Dp4LxSP7.js} +2 -1
- package/dist/bg-BG-er0t4jTs.js +27 -0
- package/dist/bg-BG-fr-xfUBV.js +110 -0
- package/dist/{bg-BG-fgdGvtqa.js → bg-BG-z3gZQvGq.js} +6 -1
- package/dist/commonValidators-DM04eNpa.js +24 -0
- package/dist/{cs-CZ-CVpbQMSY.js → cs-CZ-B2WAqmaW.js} +9 -1
- package/dist/cs-CZ-BP7niQM9.js +68 -0
- package/dist/cs-CZ-C0sNB1Fm.js +110 -0
- package/dist/{cs-CZ-DwiXbzIv.js → cs-CZ-C5lyVYlZ.js} +6 -1
- package/dist/cs-CZ-C9FuJCsg.js +35 -0
- package/dist/cs-CZ-CHzJM-ii.js +13 -0
- package/dist/cs-CZ-CQNBae2b.js +27 -0
- package/dist/{cs-CZ-BEynVkgn.js → cs-CZ-CyLqoG1j.js} +2 -1
- package/dist/cs-CZ-D4Hg-t16.js +32 -0
- package/dist/cs-CZ-DNWTRefA.js +27 -0
- package/dist/cs-CZ-DXtJsBPz.js +24 -0
- package/dist/cs-CZ-hT5w5It6.js +13 -0
- package/dist/cs-CZ-xoLsda7i.js +13 -0
- package/dist/da-DK-8dk9Q_Wk.js +110 -0
- package/dist/da-DK-BeSNTO9k.js +35 -0
- package/dist/{da-DK-Y6PJ69rt.js → da-DK-CYl2jko-.js} +6 -1
- package/dist/da-DK-D-PlwKvZ.js +27 -0
- package/dist/da-DK-D-TJghBi.js +13 -0
- package/dist/{da-DK-DLcvdXDS.js → da-DK-D-eeokQn.js} +9 -1
- package/dist/da-DK-DCJhV2qS.js +32 -0
- package/dist/da-DK-DWA8uOd8.js +24 -0
- package/dist/{da-DK-DmL_Ja3L.js → da-DK-DYpfNZdP.js} +2 -1
- package/dist/da-DK-DZwlENGe.js +13 -0
- package/dist/da-DK-Dc0QYG8m.js +68 -0
- package/dist/da-DK-XNMYSp7w.js +13 -0
- package/dist/da-DK-gnPgzwrG.js +27 -0
- package/dist/de-DE-4GAd_srm.js +27 -0
- package/dist/de-DE-BI7AAdOv.js +13 -0
- package/dist/{de-DE-BahIk-1-.js → de-DE-BXt1K0Tr.js} +2 -1
- package/dist/de-DE-CCmlaL2F.js +13 -0
- package/dist/de-DE-CCyKie8B.js +110 -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-CKZrABo7.js → de-DE-Dcs3W1fT.js} +9 -1
- package/dist/{de-DE-xdQMmrrt.js → de-DE-DlUEkik0.js} +6 -1
- package/dist/de-DE-Dp-2BAWQ.js +35 -0
- package/dist/de-DE-DwOQKCuU.js +32 -0
- package/dist/de-DE-Dz2OsS1F.js +68 -0
- package/dist/{hr-HR-CNzbyo9r.js → debugStore-BvbyN1Oi.js} +4 -5
- package/dist/dropinUtils-wWEQXoqU.js +196 -0
- package/dist/el-GR-5WvkRyW5.js +35 -0
- package/dist/{el-GR-TZUpX1j3.js → el-GR-B90M6tcZ.js} +2 -1
- package/dist/el-GR-BHG69mXl.js +68 -0
- package/dist/el-GR-CKHMsdx2.js +24 -0
- package/dist/el-GR-D7zMcBtK.js +110 -0
- package/dist/{el-GR-C_y2406P.js → el-GR-DBum-QDu.js} +9 -1
- package/dist/{el-GR-DR_5DKI1.js → el-GR-DZ8GheJK.js} +6 -1
- package/dist/el-GR-Ddnh0NhQ.js +27 -0
- package/dist/el-GR-DoCIcce-.js +13 -0
- package/dist/el-GR-DtFE64KX.js +13 -0
- package/dist/el-GR-Hk4NbZSY.js +32 -0
- package/dist/el-GR-XRux2Wpv.js +27 -0
- package/dist/el-GR-kYiInIQ9.js +13 -0
- package/dist/en-US-B96dpVon.js +27 -0
- package/dist/{en-US-DI1dH0ZB.js → en-US-BCFNoF5y.js} +5 -1
- package/dist/en-US-BQZhzROc.js +32 -0
- package/dist/en-US-BwDZ0WHW.js +110 -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-DYpvuCLO.js +13 -0
- package/dist/{en-US-nL0-_PSp.js → en-US-DdeSoN_2.js} +2 -1
- package/dist/{en-US-BbAzROHT.js → en-US-Dg505Oh3.js} +2 -1
- package/dist/{en-US-BQpgt41j.js → en-US-DjF6iC7G.js} +17 -1
- package/dist/es-ES-BI_jdT67.js +68 -0
- package/dist/es-ES-BOoPqnPI.js +32 -0
- package/dist/{es-ES-BPDeEYGv.js → es-ES-BhNhIf08.js} +2 -1
- package/dist/es-ES-C4lENXHH.js +27 -0
- package/dist/{es-ES-DdT2wJTP.js → es-ES-C7XjLOHi.js} +9 -1
- package/dist/es-ES-C9oDOVSQ.js +35 -0
- package/dist/es-ES-CJMsyMAc.js +13 -0
- package/dist/es-ES-CXDJLKAI.js +27 -0
- package/dist/es-ES-CnNU6AJv.js +13 -0
- package/dist/{es-ES-keMO-LlU.js → es-ES-D0c0MoqK.js} +6 -1
- package/dist/es-ES-DF_L5EDd.js +24 -0
- package/dist/es-ES-JvAvmB2A.js +110 -0
- package/dist/es-ES-yMXcOjDL.js +13 -0
- package/dist/et-EE--cL_YqWe.js +27 -0
- package/dist/et-EE-3EQr-1cj.js +27 -0
- package/dist/et-EE-B1KmQWmI.js +35 -0
- package/dist/{et-EE-DftDBzjA.js → et-EE-BMgFCxds.js} +2 -1
- package/dist/et-EE-BR4OXRfV.js +13 -0
- package/dist/{et-EE-Y890kc89.js → et-EE-BUG05EDz.js} +9 -1
- package/dist/et-EE-Be__VK7Y.js +32 -0
- package/dist/et-EE-BuBiNLCi.js +24 -0
- package/dist/{et-EE-CLuAFAri.js → et-EE-C4Fwyr7-.js} +6 -1
- package/dist/et-EE-C8RrUpLm.js +13 -0
- package/dist/et-EE-C_PZO2aI.js +68 -0
- package/dist/et-EE-SJf3_Ega.js +110 -0
- package/dist/et-EE-sB7wkSA3.js +13 -0
- package/dist/fi-FI-BbqwYcLI.js +13 -0
- package/dist/fi-FI-Byvvcxxq.js +27 -0
- package/dist/{fi-FI-DKxJM0k6.js → fi-FI-CEzjKgiz.js} +9 -1
- package/dist/fi-FI-Cy2hAl0B.js +110 -0
- package/dist/fi-FI-DH6jpo9K.js +24 -0
- package/dist/fi-FI-DV1etLPT.js +35 -0
- package/dist/{fi-FI-CBHr-_To.js → fi-FI-bRXb-Q_i.js} +6 -1
- 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-u5GxMZsq.js +13 -0
- package/dist/fi-FI-xqnQ38yC.js +13 -0
- package/dist/{fi-FI-LpkpSl5X.js → fi-FI-ysUrBilO.js} +2 -1
- package/dist/{fieldConfigurations-BzmPcPW1.js → fieldConfigurations-BZuo2e0d.js} +16 -313
- package/dist/{pl-PL-D6heiKsH.js → form-rules-DhbF2mY4.js} +3 -5
- package/dist/{fr-FR-CuSchzjE.js → fr-FR-BSvSKazD.js} +2 -1
- package/dist/fr-FR-BSynpexF.js +13 -0
- package/dist/fr-FR-BmW46mYd.js +110 -0
- package/dist/fr-FR-BnblnBsx.js +24 -0
- package/dist/fr-FR-CMjrAkKl.js +13 -0
- package/dist/fr-FR-CYZXbwc9.js +68 -0
- package/dist/fr-FR-CiwkAb3E.js +27 -0
- package/dist/fr-FR-Cr-Y1vIy.js +13 -0
- package/dist/{fr-FR-BxO1IR9C.js → fr-FR-DNJiLv9b.js} +9 -1
- package/dist/fr-FR-DZICoAHV.js +35 -0
- package/dist/fr-FR-E_UubsZ-.js +27 -0
- package/dist/{fr-FR-B3qQW3oG.js → fr-FR-JLPKgufm.js} +6 -1
- package/dist/fr-FR-cTKcuHqX.js +32 -0
- package/dist/{getName-DN1hhEuf.js → getName-DwJ2SEhe.js} +2 -2
- package/dist/{hasDataChanged-Di3pJ9RD.js → hasDataChanged-qmdT2J_a.js} +2 -2
- package/dist/{hr-HR-DST-QbRI.js → hr-HR-BLpGb4f2.js} +2 -1
- package/dist/hr-HR-Bhsop3CT.js +13 -0
- package/dist/hr-HR-ComCqan_.js +32 -0
- package/dist/{hr-HR-DMV2OsPs.js → hr-HR-D26Gz-HL.js} +6 -1
- package/dist/hr-HR-D5V7g9H2.js +13 -0
- package/dist/hr-HR-D8cBxUFa.js +13 -0
- package/dist/hr-HR-D9bzCN_d.js +35 -0
- package/dist/hr-HR-De5kHU8U.js +24 -0
- package/dist/hr-HR-DtfHQVe0.js +27 -0
- package/dist/hr-HR-TVOgDkBf.js +27 -0
- package/dist/{hr-HR-DghVS0jH.js → hr-HR-WMnlxMEY.js} +9 -1
- package/dist/hr-HR-bE6cvRCQ.js +68 -0
- package/dist/hr-HR-c1Si_0s4.js +110 -0
- package/dist/{hu-HU-CJh8OY-w.js → hu-HU-B2nrl0pw.js} +9 -1
- package/dist/hu-HU-BVfkOdJe.js +13 -0
- package/dist/{hu-HU-CPWGnq22.js → hu-HU-BZCFneWx.js} +6 -1
- package/dist/hu-HU-BcogZby3.js +24 -0
- package/dist/hu-HU-C5p7RWWD.js +35 -0
- package/dist/{hu-HU-BgHugMwG.js → hu-HU-Ca9Hex26.js} +2 -1
- package/dist/hu-HU-CibGC8KY.js +110 -0
- package/dist/hu-HU-D2j1ISVk.js +13 -0
- package/dist/hu-HU-DG-NUDx4.js +68 -0
- package/dist/hu-HU-DRONW_47.js +27 -0
- package/dist/hu-HU-DUGz5q5D.js +32 -0
- package/dist/hu-HU-I4-KFzvz.js +27 -0
- package/dist/hu-HU-hbVM6tMS.js +13 -0
- package/dist/{iframeWidget-CdgdGJSA.js → iframeWidget-Bdf5GkVq.js} +4 -4
- package/dist/{isEmpty-Cg1sEY56.js → isEmpty-DWL1114W.js} +2 -2
- package/dist/it-IT-BMjuva_2.js +110 -0
- package/dist/{it-IT-vJt2CGXz.js → it-IT-BRmX2jEi.js} +9 -1
- package/dist/it-IT-C7Sg1k4p.js +13 -0
- package/dist/it-IT-C_651bEP.js +13 -0
- package/dist/it-IT-Ckv8Ce4e.js +24 -0
- package/dist/it-IT-CwA8megO.js +13 -0
- package/dist/it-IT-DERflsUd.js +32 -0
- package/dist/it-IT-DIbH-udG.js +27 -0
- package/dist/it-IT-DuBLJIdz.js +27 -0
- package/dist/it-IT-Erh1DIlj.js +68 -0
- package/dist/{it-IT-p_DER3dq.js → it-IT-Qfzc8jnW.js} +2 -1
- package/dist/{it-IT-CRmaykgQ.js → it-IT-mScKLwBR.js} +6 -1
- package/dist/it-IT-mYyg3XGz.js +35 -0
- package/dist/ja-JP-BSYrPZsE.js +35 -0
- package/dist/ja-JP-BoxeBgOv.js +32 -0
- package/dist/{ja-JP-DT0qGp0i.js → ja-JP-CCnzjx-u.js} +32 -2
- package/dist/{ja-JP-C870wgmw.js → ja-JP-CHQ64lw1.js} +2 -1
- package/dist/ja-JP-CJ_j_HAA.js +27 -0
- package/dist/ja-JP-Cr_qjpZ2.js +110 -0
- package/dist/{ja-JP-a6UbRzaS.js → ja-JP-CvNJvxkQ.js} +22 -3
- package/dist/{ja-JP-DCOsVkrk.js → ja-JP-DyELKS9Q.js} +6 -1
- package/dist/ja-JP-FWHXsXlW.js +24 -0
- package/dist/ja-JP-GSbqID7o.js +13 -0
- package/dist/ja-JP-ThzG9vIo.js +68 -0
- package/dist/ja-JP-bz7ekGnF.js +27 -0
- package/dist/{ja-JP-Cm2wakN6.js → ja-JP-gRRH8Eph.js} +21 -13
- package/dist/jpAddressSchema-ULGNNt5U.js +27 -0
- package/dist/{localizeDateString-CjJb5ip4.js → localizeDateString--iXm1oBl.js} +1 -1
- package/dist/{lt-LT-Dxde15Cc.js → lt-LT-0RKZeraM.js} +2 -1
- package/dist/{lt-LT-CrCYV_jv.js → lt-LT-BJQDUanx.js} +9 -1
- package/dist/lt-LT-BLsIcCtE.js +27 -0
- package/dist/lt-LT-C5nNCk4_.js +13 -0
- package/dist/lt-LT-CBBDNCnp.js +27 -0
- package/dist/{lt-LT-0CK0Iin7.js → lt-LT-CLPQVRpJ.js} +6 -1
- package/dist/lt-LT-Ci357QYQ.js +13 -0
- package/dist/lt-LT-D5Rhxm1h.js +32 -0
- package/dist/lt-LT-DDdq07sX.js +24 -0
- package/dist/lt-LT-DSiutpRl.js +13 -0
- package/dist/lt-LT-DjNjg3Pl.js +110 -0
- package/dist/lt-LT-Nd1uRoIj.js +68 -0
- package/dist/lt-LT-i-T_HQ42.js +35 -0
- package/dist/{lv-LV-DDvnyHlO.js → lv-LV-Bh-WQp0K.js} +2 -1
- package/dist/lv-LV-BpRfRfMz.js +110 -0
- package/dist/lv-LV-BtX12dHJ.js +35 -0
- package/dist/lv-LV-C62XiDE5.js +13 -0
- package/dist/lv-LV-C7hMdPcY.js +27 -0
- package/dist/lv-LV-CEK8Re4d.js +13 -0
- package/dist/lv-LV-CG1zToz7.js +32 -0
- package/dist/lv-LV-CkyuY2ji.js +24 -0
- package/dist/lv-LV-CtIe38WU.js +27 -0
- package/dist/{lv-LV-CSxppAD_.js → lv-LV-Cu-MJMVO.js} +6 -1
- package/dist/lv-LV-DKhV24CI.js +68 -0
- package/dist/lv-LV-Dxe-A5vo.js +13 -0
- package/dist/{lv-LV-CaFrxG3S.js → lv-LV-h3nTokkM.js} +9 -1
- package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
- package/dist/{mapExistingFile-Dww-3m9M.js → mapExistingFile-Ct5Drm_t.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-Btg-uZPu.js +147 -0
- package/dist/mapLegalEntityToIndividualOnfidoSchema-DQsaMiqB.js +203 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-NoTqg5NI.js → mapTransferInstrumentToPayoutAccount-CRhSOuJd.js} +6 -3
- package/dist/nl-NL-BOJ6zuBr.js +13 -0
- package/dist/nl-NL-Bx5p0nXL.js +24 -0
- package/dist/nl-NL-CE4l8R5l.js +27 -0
- package/dist/nl-NL-Cjlmc0Ii.js +32 -0
- package/dist/{nl-NL-Uf_myU_8.js → nl-NL-D7gBNWEY.js} +2 -1
- package/dist/nl-NL-DOQPxTX-.js +13 -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/nl-NL-PUQGh3Rp.js +35 -0
- package/dist/{nl-NL-BQJjhn7U.js → nl-NL-YzDSCWLL.js} +9 -1
- package/dist/nl-NL-oaBDOlm6.js +110 -0
- package/dist/{nl-NL-RfK34nkp.js → nl-NL-pVdpCCOx.js} +6 -1
- package/dist/no-NO--OoWld_l.js +13 -0
- package/dist/no-NO-B1_YJlMP.js +27 -0
- package/dist/no-NO-BTrfxWS7.js +110 -0
- package/dist/{no-NO-CSia2Bd5.js → no-NO-Big2B13b.js} +9 -1
- package/dist/no-NO-Bs3-6MDM.js +24 -0
- package/dist/{no-NO-DZ1y_9mq.js → no-NO-C-gCYc9q.js} +2 -1
- package/dist/no-NO-CA1aR6Wh.js +68 -0
- package/dist/{no-NO-BWzGost-.js → no-NO-CRULNwNn.js} +6 -1
- package/dist/no-NO-CY_XHrYd.js +32 -0
- package/dist/no-NO-Cp3-tDMw.js +13 -0
- package/dist/no-NO-Crlsj6HG.js +27 -0
- package/dist/no-NO-CuwTDFSf.js +13 -0
- package/dist/no-NO-kPnbGnBM.js +35 -0
- package/dist/pl-PL-1-MrLPXu.js +13 -0
- package/dist/pl-PL-BKDK0_G8.js +68 -0
- package/dist/pl-PL-BzhEoDb5.js +24 -0
- package/dist/pl-PL-C-MmQaeR.js +35 -0
- package/dist/pl-PL-C72GTDxW.js +110 -0
- package/dist/{pl-PL-6WyUmy0K.js → pl-PL-CL483jMb.js} +9 -1
- package/dist/pl-PL-C_MvVzPy.js +32 -0
- package/dist/pl-PL-CtDHmbhp.js +13 -0
- package/dist/{pl-PL-DFrOIiCG.js → pl-PL-CxCiWdAF.js} +6 -1
- package/dist/pl-PL-DGYFY42P.js +27 -0
- package/dist/pl-PL-DYxD6VJ_.js +27 -0
- package/dist/pl-PL-DtJ3sgVO.js +13 -0
- package/dist/{pl-PL-B1tVRX3A.js → pl-PL-LnVPufjb.js} +2 -1
- package/dist/process-field-configurations-B1Iwtpx2.js +304 -0
- package/dist/pt-BR-BfxgHKY4.js +27 -0
- package/dist/pt-BR-Br_cHzGx.js +13 -0
- package/dist/pt-BR-C0I_kTQ6.js +13 -0
- package/dist/pt-BR-CBAe0SnK.js +32 -0
- package/dist/pt-BR-Co8OqKh-.js +27 -0
- package/dist/pt-BR-CtFCi7U4.js +110 -0
- package/dist/pt-BR-DJOzf0y2.js +53 -0
- package/dist/pt-BR-DSENwwGu.js +24 -0
- package/dist/pt-BR-DnKEuslh.js +13 -0
- package/dist/pt-BR-Dw0UZ-Od.js +35 -0
- package/dist/pt-BR-NtLaWlnZ.js +68 -0
- package/dist/{pt-BR-CxjlToN4.js → pt-BR-apPtB2cK.js} +6 -1
- package/dist/{pt-BR-BD3-Ecm8.js → pt-BR-ur86nRrK.js} +2 -1
- package/dist/{pt-PT-CWYxqUbN.js → pt-PT-B3qoJ3Fr.js} +9 -1
- package/dist/pt-PT-Bf4IV7wp.js +13 -0
- package/dist/pt-PT-CIo3mlXL.js +24 -0
- package/dist/pt-PT-CLwCij2I.js +13 -0
- package/dist/{pt-PT-DpBfkgVw.js → pt-PT-CVNEcs32.js} +2 -1
- package/dist/{pt-PT-CU13UUwT.js → pt-PT-Coa6J7SM.js} +6 -1
- package/dist/pt-PT-DSxxVA0f.js +68 -0
- package/dist/pt-PT-DfVjLaAU.js +35 -0
- package/dist/pt-PT-Dm5DRDrd.js +32 -0
- package/dist/pt-PT-TKg5FLat.js +27 -0
- package/dist/pt-PT-XAn7WGle.js +110 -0
- package/dist/pt-PT-cjbtYBUX.js +13 -0
- package/dist/pt-PT-pKLoM66X.js +27 -0
- package/dist/resolveEnvironment-DC9P7X3D.js +164 -0
- package/dist/ro-RO-3rOfS17N.js +27 -0
- package/dist/ro-RO-4j2I7YM7.js +13 -0
- package/dist/ro-RO-B5YT9vP-.js +32 -0
- package/dist/{ro-RO-B2u2q1Ez.js → ro-RO-BTqq5BPM.js} +6 -1
- package/dist/ro-RO-Bybq8JFn.js +68 -0
- package/dist/ro-RO-CGhIjlpU.js +13 -0
- package/dist/ro-RO-Cmk-sVDr.js +13 -0
- package/dist/{ro-RO-BWQeseQ_.js → ro-RO-Ct_BJvsc.js} +9 -1
- package/dist/ro-RO-D3rQ93wa.js +27 -0
- package/dist/ro-RO-ECJHARCT.js +35 -0
- package/dist/ro-RO-ILTvlS9i.js +24 -0
- package/dist/{ro-RO-BF1Q86nQ.js → ro-RO-i7lojG2G.js} +2 -1
- package/dist/ro-RO-qX8X1Q1m.js +110 -0
- package/dist/{rules-4TEUMKya.js → rules-CzXw9tws.js} +10 -6
- package/dist/{sk-SK-Rd06VJ5k.js → sk-SK-B5brxU1N.js} +2 -1
- package/dist/sk-SK-Bo5nvxWQ.js +13 -0
- package/dist/sk-SK-C5Qmv4E6.js +13 -0
- package/dist/sk-SK-C6rMIxpz.js +68 -0
- package/dist/sk-SK-CjdK4BKW.js +110 -0
- package/dist/sk-SK-CjrLvDMx.js +27 -0
- package/dist/sk-SK-CmH1I1tp.js +27 -0
- package/dist/sk-SK-Cv23cDQO.js +24 -0
- package/dist/sk-SK-Do6CKNU4.js +13 -0
- package/dist/{sk-SK-DnNuh37c.js → sk-SK-FGK1FMMO.js} +9 -1
- package/dist/sk-SK-S6iF1WDH.js +32 -0
- package/dist/sk-SK-rSmwmSCa.js +35 -0
- package/dist/{sk-SK-BWA3fAcI.js → sk-SK-welR06By.js} +6 -1
- package/dist/{sl-SI-B7zbwoZn.js → sl-SI-B9N6vA08.js} +6 -1
- package/dist/sl-SI-BZpXMHiG.js +13 -0
- package/dist/sl-SI-C-C-KJCX.js +27 -0
- package/dist/{sl-SI-BuIFB5zU.js → sl-SI-CUCrzJQv.js} +2 -1
- package/dist/sl-SI-CedEO3kf.js +35 -0
- package/dist/sl-SI-CrTRlNnN.js +13 -0
- package/dist/{sl-SI-D212isFw.js → sl-SI-Cz28AFTz.js} +9 -1
- package/dist/sl-SI-DEaeEVKB.js +24 -0
- package/dist/sl-SI-DqUEy_Cm.js +32 -0
- package/dist/sl-SI-cY-L2ma-.js +13 -0
- package/dist/sl-SI-hnlbW1OT.js +27 -0
- package/dist/sl-SI-lPxRRPsh.js +110 -0
- package/dist/sl-SI-tPwbFvOI.js +68 -0
- package/dist/style.css +696 -597
- package/dist/styles-CLV89_hH.js +696 -597
- package/dist/sv-SE-7Cbo1oic.js +27 -0
- package/dist/sv-SE-BHfydid5.js +27 -0
- package/dist/sv-SE-BPpQ-05i.js +110 -0
- package/dist/sv-SE-BYUoi-08.js +35 -0
- package/dist/sv-SE-BtwPrLEA.js +13 -0
- package/dist/{sv-SE-BwJgkIDf.js → sv-SE-C6uPh9g5.js} +2 -1
- package/dist/sv-SE-CRBRuE8Z.js +32 -0
- package/dist/sv-SE-CXaMlJCI.js +24 -0
- package/dist/{sv-SE-Hi07uLM9.js → sv-SE-D6al0j6W.js} +6 -1
- package/dist/{sv-SE-Ca1bxZf3.js → sv-SE-DLl7OGxl.js} +9 -1
- package/dist/sv-SE-DsPdegWB.js +13 -0
- package/dist/sv-SE-K1QT1cOt.js +68 -0
- package/dist/sv-SE-WPziDPQa.js +13 -0
- package/dist/types/api/businessLines/businessLines.types.d.ts +10 -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/companySearch/useCompanySearch.d.ts +1 -0
- package/dist/types/api/configurations/useScenarios.d.ts +12 -12
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
- 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/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/types.d.ts +11 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +6 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +4 -4
- 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 +53 -51
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +3 -2
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +5 -3
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -3
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -3
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +2 -1
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -2
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +2 -4
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/BusinessLineModal.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +13 -4
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +151 -151
- 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/sofStore.d.ts +1 -1
- 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/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/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
- 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/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 +56 -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/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/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/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +1 -1
- 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/types.d.ts +3 -2
- 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 +1 -4
- 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/pages/TrustMemberCompanyPage.d.ts +1 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
- 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/ListItem/ListItem.d.ts +1 -2
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +3 -4
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
- 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/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 +4 -12
- package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
- package/dist/types/context/SettingsContext/types.d.ts +2 -2
- 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 +2 -2
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -0
- 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 +15 -1
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
- package/dist/types/{core → utils}/analytics.d.ts +5 -5
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -0
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
- package/dist/types/utils/translation.d.ts +1 -0
- package/dist/{types-IWh9Nm-W.js → types-28yvE9dj.js} +2 -2
- package/dist/{types-Dsz7b4S_.js → types-BzOpGekG.js} +2 -2
- package/dist/{types-CAznNNSI.js → types-DHmyPbAn.js} +5 -13
- package/dist/{useAssociatedLegalEntity-CPl7E0oh.js → useAssociatedLegalEntity-Cd77TYXt.js} +1 -1
- package/dist/{useDataset-CYBhIC5y.js → useDataset-B-72Ufk7.js} +3 -3
- package/dist/{useForm-NtB5fMq5.js → useForm-Aw38WiTE.js} +8 -79
- package/dist/useFormContext-Bx1n-f4V.js +222 -0
- package/dist/{useGlobalData-COgPG9qd.js → useGlobalData-BYJWYYpf.js} +10 -11
- package/dist/{RadioGroup-QZCH1TCn.js → useMultiForm-D-wGVJq1.js} +6 -342
- package/dist/{useOnboardingStatus-B8yCxKXz.js → useOnboardingStatus-AbPudgMj.js} +1 -1
- package/dist/{useScenarios-DesE_Dem.js → useScenarios-CEHvpucH.js} +2 -2
- package/dist/{useTermsOfServiceStatus-qtseJuA8.js → useTermsOfServiceStatus-BugRyfkQ.js} +1 -1
- package/dist/{useToastContext-D4w2gBxd.js → useToastContext-D58NfzLh.js} +2 -5
- package/dist/{useUnincorporatedPartnershipMembers-FOg1r690.js → useUnincorporatedPartnershipMembers-BOfx-rWR.js} +5 -5
- package/dist/{utils-BnQGsYPp.js → utils-D-PqLpBS.js} +2 -2
- package/dist/{utils-B1i9qK_1.js → utils-JAm-rEQS.js} +10 -10
- package/dist/{utils-BMvr9mIu.js → utils-qNiMqbmo.js} +16 -10
- package/dist/{validate-C6-L7Vfa.js → validate-6QHmaW1O.js} +3 -6
- package/dist/{validate-anwsdbQz.js → validate-9J9pJpyR.js} +8 -8
- package/dist/{validate-BiuAh7Ub.js → validate-BY5vrcXH.js} +2 -2
- package/dist/{validationError-zbgp4iB7.js → validationError-kAn6qx2R.js} +2 -2
- package/package.json +70 -70
- package/dist/BusinessFinancingComponent-BdV2XNEs.js +0 -45
- package/dist/BusinessFinancingPage-CutMOZIo.js +0 -40
- package/dist/CreateIndividualComponent-DcwNaN_i.js +0 -72
- package/dist/CreateTransferInstrumentComponent-BFYc-5Zc.js +0 -67
- package/dist/DecisionMakers-c18dspZ1.js +0 -593
- package/dist/ManageIndividualComponent-DBe5ValD.js +0 -47
- package/dist/ManageTermsOfServiceComponent-5GHjPbHb.js +0 -47
- package/dist/RootBusinessDetailsPage-Cy5mUuKv.js +0 -1915
- package/dist/SoleProprietorshipPage-XnNdoc8n.js +0 -50
- package/dist/TaskStatusIndicator-CEZcV_gi.js +0 -69
- package/dist/TrustMemberCompanyPage-DVm9LzCY.js +0 -60
- package/dist/TrustMemberIndividualPage-BqncnJnj.js +0 -66
- package/dist/UnincorporatedPartnershipMemberCompanyPage-DMBIT2KR.js +0 -64
- package/dist/analytics-B9jlnux-.js +0 -61
- package/dist/bg-BG-9uVrFuHv.js +0 -23
- package/dist/bg-BG-B0-ZcjR0.js +0 -22
- package/dist/bg-BG-Cp58y2fj.js +0 -13
- package/dist/bg-BG-Cr0ewJCW.js +0 -13
- package/dist/bg-BG-D5192UVe.js +0 -35
- package/dist/bg-BG-ZJvmfx01.js +0 -13
- package/dist/bg-BG-hFblesn-.js +0 -15
- package/dist/cs-CZ-7xfNBIeH.js +0 -13
- package/dist/cs-CZ-B8IPRc47.js +0 -15
- package/dist/cs-CZ-DMwpeH56.js +0 -13
- package/dist/cs-CZ-DOqH0WeT.js +0 -35
- package/dist/cs-CZ-De4wbl1W.js +0 -13
- package/dist/cs-CZ-Dk1ePReM.js +0 -22
- package/dist/cs-CZ-Wzc382q6.js +0 -23
- package/dist/da-DK-B45X2VaJ.js +0 -35
- package/dist/da-DK-BK6TE3SH.js +0 -13
- package/dist/da-DK-BTpZzEgA.js +0 -15
- package/dist/da-DK-CeNMXUfE.js +0 -23
- package/dist/da-DK-DC8dAHWf.js +0 -13
- package/dist/da-DK-DStNe471.js +0 -22
- package/dist/da-DK-R0sNbjuQ.js +0 -13
- package/dist/de-DE-CGoBPCPv.js +0 -22
- package/dist/de-DE-CWvgMDqU.js +0 -35
- package/dist/de-DE-CY7fT1B5.js +0 -13
- package/dist/de-DE-D9r_yUSr.js +0 -13
- package/dist/de-DE-DjOUNvp6.js +0 -15
- package/dist/de-DE-JI-7mvxy.js +0 -23
- package/dist/de-DE-ZQioXTGO.js +0 -13
- package/dist/el-GR-B06F8VNw.js +0 -13
- package/dist/el-GR-B69zcWyB.js +0 -22
- package/dist/el-GR-C3rkK_oc.js +0 -35
- package/dist/el-GR-C7ThPKtr.js +0 -13
- package/dist/el-GR-Cu9HwD-f.js +0 -15
- package/dist/el-GR-DfNOPkLq.js +0 -23
- package/dist/el-GR-kj1-bNjH.js +0 -13
- package/dist/en-US-BTYdAWXp.js +0 -15
- package/dist/en-US-BaWkkHh3.js +0 -13
- package/dist/en-US-DHq7VYFs.js +0 -23
- package/dist/es-ES-CKMfS8Yy.js +0 -22
- package/dist/es-ES-Cj7q7fWO.js +0 -15
- package/dist/es-ES-D6Uauj9W.js +0 -13
- package/dist/es-ES-DKCCgVF8.js +0 -35
- package/dist/es-ES-DOVPTeyf.js +0 -23
- package/dist/es-ES-Dm8otLm9.js +0 -13
- package/dist/es-ES-XCII5d8J.js +0 -13
- package/dist/et-EE-BJIsPOnh.js +0 -23
- package/dist/et-EE-Bc6ioJRG.js +0 -35
- package/dist/et-EE-DHwaH1by.js +0 -13
- package/dist/et-EE-DNcqO4R9.js +0 -13
- package/dist/et-EE-Dor3enPS.js +0 -15
- package/dist/et-EE-Dw-aPF7J.js +0 -22
- package/dist/et-EE-XPQ-Sf9x.js +0 -13
- package/dist/fi-FI-67pS4_t6.js +0 -13
- package/dist/fi-FI-BNcnKrJ9.js +0 -15
- package/dist/fi-FI-CLg2__EV.js +0 -13
- package/dist/fi-FI-D522KHGk.js +0 -23
- package/dist/fi-FI-DTgF3AuK.js +0 -13
- package/dist/fi-FI-Hhku9Lmc.js +0 -35
- package/dist/fi-FI-REYOX46I.js +0 -22
- package/dist/fr-FR-BYuKsZIb.js +0 -35
- package/dist/fr-FR-BZbWBKOT.js +0 -13
- package/dist/fr-FR-Bn3D6mmY.js +0 -15
- package/dist/fr-FR-CsogZlc6.js +0 -13
- package/dist/fr-FR-D7U2da1i.js +0 -13
- package/dist/fr-FR-D9qaP6nx.js +0 -22
- package/dist/fr-FR-DInQKkTd.js +0 -23
- package/dist/hr-HR-B3boX_dq.js +0 -13
- package/dist/hr-HR-BVzZeaDc.js +0 -13
- package/dist/hr-HR-CJ5rmUrZ.js +0 -13
- package/dist/hr-HR-CPO5Yw2B.js +0 -35
- package/dist/hr-HR-CbxEvbrE.js +0 -22
- package/dist/hr-HR-DzS44Gpv.js +0 -23
- package/dist/hu-HU-BJpO-WrQ.js +0 -13
- package/dist/hu-HU-BSOiZA7a.js +0 -15
- package/dist/hu-HU-CX5vJbE8.js +0 -13
- package/dist/hu-HU-CYfNXKwk.js +0 -13
- package/dist/hu-HU-D0C6UfXB.js +0 -22
- package/dist/hu-HU-mo_0ULJG.js +0 -35
- package/dist/hu-HU-xCvNM5TU.js +0 -23
- package/dist/it-IT-5QHf-hkt.js +0 -13
- package/dist/it-IT-Biduphjt.js +0 -22
- package/dist/it-IT-Cepap1v0.js +0 -13
- package/dist/it-IT-CjEYONJg.js +0 -23
- package/dist/it-IT-Dn9AGEIq.js +0 -13
- package/dist/it-IT-DvM-9LpM.js +0 -15
- package/dist/it-IT-Nl57jui-.js +0 -35
- package/dist/ja-JP-Ajo-tIow.js +0 -23
- package/dist/ja-JP-B2txEVPx.js +0 -22
- package/dist/ja-JP-D3oQAH7z.js +0 -35
- package/dist/ja-JP-DRJ0RpUn.js +0 -13
- package/dist/ja-JP-GXkLvnQ4.js +0 -15
- package/dist/lt-LT-3rmXgF6K.js +0 -13
- package/dist/lt-LT-B6CJ4ULI.js +0 -23
- package/dist/lt-LT-CVasDmF3.js +0 -35
- package/dist/lt-LT-C_YMgjp9.js +0 -22
- package/dist/lt-LT-DNjXmQPv.js +0 -15
- package/dist/lt-LT-Dsy0UVdI.js +0 -13
- package/dist/lt-LT-lJLUJnzd.js +0 -13
- package/dist/lv-LV-B3sT3_cw.js +0 -22
- package/dist/lv-LV-BiilWzcg.js +0 -13
- package/dist/lv-LV-CBex8RS9.js +0 -13
- package/dist/lv-LV-ChOoZuhc.js +0 -15
- package/dist/lv-LV-DPZgF65i.js +0 -13
- package/dist/lv-LV-DTtuyfHS.js +0 -23
- package/dist/lv-LV-Sbsv8-nD.js +0 -35
- package/dist/mapScriptLocalization-BXWQCCfg.js +0 -72
- package/dist/nl-NL-BHkRnVrj.js +0 -35
- package/dist/nl-NL-BHqiO21q.js +0 -15
- package/dist/nl-NL-BIcLB7e6.js +0 -13
- package/dist/nl-NL-CU6c8oyY.js +0 -13
- package/dist/nl-NL-DKYvsnqM.js +0 -13
- package/dist/nl-NL-G1wVnmzT.js +0 -22
- package/dist/nl-NL-Zcq0bXd-.js +0 -23
- package/dist/no-NO-BTtAuqCb.js +0 -22
- package/dist/no-NO-BWpBc9_J.js +0 -13
- package/dist/no-NO-Bj0_2wjm.js +0 -13
- package/dist/no-NO-BxReX6oF.js +0 -23
- package/dist/no-NO-CKT9kLAH.js +0 -15
- package/dist/no-NO-YuIAbtuI.js +0 -13
- package/dist/no-NO-kaAdT9B8.js +0 -35
- package/dist/pl-PL--qPaNyJD.js +0 -22
- package/dist/pl-PL-B87v7Wzw.js +0 -13
- package/dist/pl-PL-B8pWxq6T.js +0 -13
- package/dist/pl-PL-B9eq4QTe.js +0 -13
- package/dist/pl-PL-DD8JN4Qf.js +0 -35
- package/dist/pl-PL-T6uD5--R.js +0 -23
- package/dist/pt-BR-BljlblJ5.js +0 -23
- package/dist/pt-BR-CI2ZzGeN.js +0 -15
- package/dist/pt-BR-Cmr5LoAm.js +0 -22
- package/dist/pt-BR-CrKxuloz.js +0 -13
- package/dist/pt-BR-DMCle1o_.js +0 -30
- package/dist/pt-BR-DeDXIlM_.js +0 -35
- package/dist/pt-BR-DtLKiYpp.js +0 -60
- package/dist/pt-PT-BNJcehJa.js +0 -13
- package/dist/pt-PT-Cu735tNP.js +0 -13
- package/dist/pt-PT-D2elvnDU.js +0 -15
- package/dist/pt-PT-Dk48OVtf.js +0 -22
- package/dist/pt-PT-Gsd7I9Ff.js +0 -13
- package/dist/pt-PT-N0njcfLO.js +0 -23
- package/dist/pt-PT-Xm-pm3mb.js +0 -35
- package/dist/resolveEnvironment-DTf0YGQw.js +0 -84
- package/dist/ro-RO-B4ASHhK6.js +0 -13
- package/dist/ro-RO-B75duQ_N.js +0 -13
- package/dist/ro-RO-BLuOjrS0.js +0 -22
- package/dist/ro-RO-C3m6aJVP.js +0 -35
- package/dist/ro-RO-DL9V1CMj.js +0 -15
- package/dist/ro-RO-DkHxxgVT.js +0 -13
- package/dist/ro-RO-Ic1SzBgx.js +0 -23
- package/dist/sk-SK-BSioQTMW.js +0 -15
- package/dist/sk-SK-BVc-vNQm.js +0 -35
- package/dist/sk-SK-C1Ky2nl_.js +0 -22
- package/dist/sk-SK-CiD0FeLN.js +0 -23
- package/dist/sk-SK-Cv76Qa3V.js +0 -13
- package/dist/sk-SK-DUZblaeq.js +0 -13
- package/dist/sk-SK-DibZzOqt.js +0 -13
- package/dist/sl-SI-BB7iVcFI.js +0 -22
- package/dist/sl-SI-BylvpF-X.js +0 -15
- package/dist/sl-SI-CyNtynTN.js +0 -13
- package/dist/sl-SI-D9rl7bIN.js +0 -13
- package/dist/sl-SI-D_rqR0D7.js +0 -35
- package/dist/sl-SI-MZoDApq9.js +0 -23
- package/dist/sl-SI-vyebIKls.js +0 -13
- package/dist/sv-SE-1eeTTIj7.js +0 -13
- package/dist/sv-SE-B3zoXMuH.js +0 -35
- package/dist/sv-SE-BcTCn-cn.js +0 -13
- 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-Ez33Bdgp.js +0 -13
- package/dist/translation-C21WMjvq.js +0 -472
- package/dist/types/components/BusinessLines/forms/rules.d.ts +0 -5
- 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/molecules/Card/CardGroup.d.ts +0 -3
|
@@ -2,44 +2,48 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "22574afc-6856-434d-a685-347920a23640", e._sentryDebugIdIdentifier = "sentry-dbid-22574afc-6856-434d-a685-347920a23640");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as useQuery, k as httpPost, o as httpGet,
|
|
13
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
14
|
-
import { a as useForm, F as Field,
|
|
15
|
-
import { E as ExperimentNames } from "./types-
|
|
16
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
17
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
18
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
22
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
23
|
-
import { c as currencyByCountry } from "./types-
|
|
24
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
25
|
-
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-
|
|
26
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
27
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
12
|
+
import { b as useApiContext, j as useQuery, k as httpPost, o as httpGet, aD as useMutation, aF as useQueryClient, N as createLogger, a9 as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, y as LegalEntityTypes, a as addResourceBundles, L as Loader, J as EntityTypes, _ as __variableDynamicImportRuntimeHelper, P as useAnalyticsContext, U as Icon, x as Typography, B as Button, af as useI18nContext, ai as objectsDeepEqual, aJ as doArraysMatch, aa as isEmpty, be as getSdkToken, G as hasOwnEntityAssociationOfType, X as useExperimentsContext, m as useSettingsContext, bf as EEA_Countries, g as getLegalEntityCountry, ad as Trans, bg as isAccountIdentifierObscured, bh as hasEmptyFields, bi as extractFieldName, bj as concatenateFieldNames, aG as keysOf, ap as getCapabilityProblems, M as TaskTypes, aB as cloneObject, q as skipToken } from "./StoreProvider-DadhkEyO.js";
|
|
13
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-CRhSOuJd.js";
|
|
14
|
+
import { a as useForm, F as Field, c as Select, L as LoaderWrapper } from "./useForm-Aw38WiTE.js";
|
|
15
|
+
import { E as ExperimentNames } from "./types-DHmyPbAn.js";
|
|
16
|
+
import { I as InputText, S as SettingNames } from "./InputText-zem7Kt4i.js";
|
|
17
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-BYJWYYpf.js";
|
|
18
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-D58NfzLh.js";
|
|
19
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-B1Iwtpx2.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-wWEQXoqU.js";
|
|
21
|
+
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-Ct5Drm_t.js";
|
|
22
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-B-72Ufk7.js";
|
|
23
|
+
import { c as currencyByCountry } from "./types-28yvE9dj.js";
|
|
24
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-kAn6qx2R.js";
|
|
25
|
+
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-6QHmaW1O.js";
|
|
26
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-DwJ2SEhe.js";
|
|
27
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-Bdf5GkVq.js";
|
|
28
28
|
import { Show } from "@preact/signals/utils";
|
|
29
|
-
import {
|
|
29
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, m as mergeFieldMetadataIntoProps, g as getFieldProps, C as CountryField, h as getFormProps, d as summaryStep, s as summaryItem } from "./CountryField-DunKeW_n.js";
|
|
30
30
|
import { signal } from "@preact/signals";
|
|
31
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
31
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Cd77TYXt.js";
|
|
32
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity, T as TextArea, f as validatePatternOnBlur, r as resolveFieldMetadata, a as useAccountHolder, R as RadioGroupCard, C as ContextGuidance } from "./fieldConfigurations-BZuo2e0d.js";
|
|
33
|
+
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
34
34
|
import cx from "classnames";
|
|
35
|
+
import { memo, lazy } from "preact/compat";
|
|
36
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-BOfx-rWR.js";
|
|
35
37
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
36
38
|
import { createContext } from "preact";
|
|
37
|
-
import { a as Alert } from "./Alert-
|
|
38
|
-
import { A as ActionBar } from "./FormNavigation-
|
|
39
|
+
import { a as Alert } from "./Alert-Dz_jjJ1E.js";
|
|
40
|
+
import { A as ActionBar } from "./FormNavigation-a9y0a0iw.js";
|
|
39
41
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
40
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-
|
|
42
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-CSKFmTC0.js";
|
|
43
|
+
import { a as isNotEmptyValidator } from "./commonValidators-DM04eNpa.js";
|
|
41
44
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
42
|
-
import {
|
|
45
|
+
import { I as Image } from "./Image-TkXLA-UY.js";
|
|
46
|
+
import { L as Link } from "./Link-BZJgg2rS.js";
|
|
43
47
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
44
48
|
return httpPost(
|
|
45
49
|
{
|
|
@@ -137,7 +141,15 @@ const getAccountFormatsForCountry = async (country) => {
|
|
|
137
141
|
if (!importForCountry) {
|
|
138
142
|
throw Error(`No account formats available for ${country}`);
|
|
139
143
|
}
|
|
140
|
-
|
|
144
|
+
const countryBankFormats = (await importForCountry()).default;
|
|
145
|
+
const expandedBankFormats = {
|
|
146
|
+
...countryBankFormats,
|
|
147
|
+
numberAndBic: {
|
|
148
|
+
bankStatementRequirement: "OPTIONAL",
|
|
149
|
+
fields: ["bankAccountNumber", "swiftCode"]
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
return expandedBankFormats;
|
|
141
153
|
};
|
|
142
154
|
const validateAccountIdentification = async (baseUrl, data) => {
|
|
143
155
|
return httpPost(
|
|
@@ -190,12 +202,20 @@ const useAsyncAccountDetailsValidationRules = (payload, hasEmptyFields2, isAccou
|
|
|
190
202
|
return accountValidationData;
|
|
191
203
|
};
|
|
192
204
|
const logger = createLogger();
|
|
193
|
-
const getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCountry) => {
|
|
194
|
-
if ("iban" in payoutAccount && payoutAccount.iban)
|
|
205
|
+
const getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCountry, enabledCrossBorderPayouts) => {
|
|
206
|
+
if ("iban" in payoutAccount && payoutAccount.iban) {
|
|
195
207
|
return {
|
|
196
208
|
type: "iban",
|
|
197
209
|
iban: payoutAccount.iban
|
|
198
210
|
};
|
|
211
|
+
}
|
|
212
|
+
if (enabledCrossBorderPayouts && "bankAccountNumber" in payoutAccount && payoutAccount.bankAccountNumber && "swiftCode" in payoutAccount && payoutAccount.swiftCode) {
|
|
213
|
+
return {
|
|
214
|
+
type: "numberAndBic",
|
|
215
|
+
bic: payoutAccount.swiftCode,
|
|
216
|
+
accountNumber: payoutAccount.bankAccountNumber
|
|
217
|
+
};
|
|
218
|
+
}
|
|
199
219
|
switch (bankCountry) {
|
|
200
220
|
case CountryCodes.Australia:
|
|
201
221
|
return {
|
|
@@ -283,11 +303,13 @@ const getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCoun
|
|
|
283
303
|
};
|
|
284
304
|
}
|
|
285
305
|
};
|
|
286
|
-
const mapPayoutAccountSchemaToApiBankAccount = (payoutAccount, bankCountry) => ({
|
|
306
|
+
const mapPayoutAccountSchemaToApiBankAccount = (payoutAccount, bankCountry, preferredCurrency, enabledCrossBorderPayouts) => ({
|
|
287
307
|
accountIdentification: getAccountIdentificationFromPayoutAccountSchema(
|
|
288
308
|
payoutAccount,
|
|
289
|
-
bankCountry
|
|
309
|
+
bankCountry,
|
|
310
|
+
enabledCrossBorderPayouts
|
|
290
311
|
),
|
|
312
|
+
preferredCurrencyCode: preferredCurrency,
|
|
291
313
|
countryCode: bankCountry,
|
|
292
314
|
bankName: payoutAccount.bankName
|
|
293
315
|
});
|
|
@@ -312,7 +334,7 @@ function PayoutDetailsPage({
|
|
|
312
334
|
);
|
|
313
335
|
const capabilityProblems = useCapabilityProblems();
|
|
314
336
|
addResourceBundles(i18n, i18n.language, [
|
|
315
|
-
{ ns: "banking", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-
|
|
337
|
+
{ ns: "banking", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-z3gZQvGq.js"), "../language/cs-CZ.json": () => import("./cs-CZ-C5lyVYlZ.js"), "../language/da-DK.json": () => import("./da-DK-CYl2jko-.js"), "../language/de-DE.json": () => import("./de-DE-DlUEkik0.js"), "../language/el-GR.json": () => import("./el-GR-DZ8GheJK.js"), "../language/en-US.json": () => import("./en-US-DjF6iC7G.js"), "../language/es-ES.json": () => import("./es-ES-D0c0MoqK.js"), "../language/et-EE.json": () => import("./et-EE-C4Fwyr7-.js"), "../language/fi-FI.json": () => import("./fi-FI-bRXb-Q_i.js"), "../language/fr-FR.json": () => import("./fr-FR-JLPKgufm.js"), "../language/hr-HR.json": () => import("./hr-HR-D26Gz-HL.js"), "../language/hu-HU.json": () => import("./hu-HU-BZCFneWx.js"), "../language/it-IT.json": () => import("./it-IT-mScKLwBR.js"), "../language/ja-JP.json": () => import("./ja-JP-DyELKS9Q.js"), "../language/lt-LT.json": () => import("./lt-LT-CLPQVRpJ.js"), "../language/lv-LV.json": () => import("./lv-LV-Cu-MJMVO.js"), "../language/nl-NL.json": () => import("./nl-NL-pVdpCCOx.js"), "../language/no-NO.json": () => import("./no-NO-CRULNwNn.js"), "../language/pl-PL.json": () => import("./pl-PL-CxCiWdAF.js"), "../language/pt-BR.json": () => import("./pt-BR-apPtB2cK.js"), "../language/pt-PT.json": () => import("./pt-PT-Coa6J7SM.js"), "../language/ro-RO.json": () => import("./ro-RO-BTqq5BPM.js"), "../language/sk-SK.json": () => import("./sk-SK-welR06By.js"), "../language/sl-SI.json": () => import("./sl-SI-B9N6vA08.js"), "../language/sv-SE.json": () => import("./sv-SE-D6al0j6W.js") }), `../language/${i18n.language}.json`, 3) }
|
|
316
338
|
]);
|
|
317
339
|
if (!rootLe || associatedLeIsLoading) {
|
|
318
340
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -466,8 +488,12 @@ function FilePicker({
|
|
|
466
488
|
] });
|
|
467
489
|
}
|
|
468
490
|
const bankDocument = "adyen-kyc-bank-document";
|
|
491
|
+
const bankDocumentDocumentUpload = "adyen-kyc-bank-document-document-upload";
|
|
492
|
+
const bankDocumentDocumentDescription = "adyen-kyc-bank-document-document-description";
|
|
469
493
|
const styles$2 = {
|
|
470
|
-
bankDocument
|
|
494
|
+
bankDocument,
|
|
495
|
+
bankDocumentDocumentUpload,
|
|
496
|
+
bankDocumentDocumentDescription
|
|
471
497
|
};
|
|
472
498
|
const documentRequirements = "adyen-kyc-document-requirements";
|
|
473
499
|
const documentRequirementsSubtitle = "adyen-kyc-document-requirements-subtitle";
|
|
@@ -766,7 +792,7 @@ function BankDocument(props) {
|
|
|
766
792
|
);
|
|
767
793
|
return /* @__PURE__ */ jsxs("form", { className: styles$2.bankDocument, children: [
|
|
768
794
|
/* @__PURE__ */ jsx(StateContextSetter, { owner: id, stateRef }),
|
|
769
|
-
/* @__PURE__ */ jsx(
|
|
795
|
+
heading && /* @__PURE__ */ jsx(Header, { title: heading, description }),
|
|
770
796
|
/* @__PURE__ */ jsx(
|
|
771
797
|
ErrorPanel,
|
|
772
798
|
{
|
|
@@ -811,7 +837,7 @@ function BankDocument(props) {
|
|
|
811
837
|
data.documentType || usingExistingUploadedDocuments ? /* @__PURE__ */ jsx(
|
|
812
838
|
Field,
|
|
813
839
|
{
|
|
814
|
-
className: "adyen-kyc-
|
|
840
|
+
className: cx(styles$2.bankDocumentDocumentUpload, "adyen-kyc-upload-field"),
|
|
815
841
|
name: "bankStatementDocument",
|
|
816
842
|
isValid: valid.bankStatementDocument,
|
|
817
843
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -832,7 +858,7 @@ function BankDocument(props) {
|
|
|
832
858
|
data.documentType || usingExistingUploadedDocuments ? /* @__PURE__ */ jsx(
|
|
833
859
|
Field,
|
|
834
860
|
{
|
|
835
|
-
className:
|
|
861
|
+
className: cx(styles$2.bankDocumentDocumentDescription),
|
|
836
862
|
name: "description",
|
|
837
863
|
label: formUtils.getLabel("bankDocumentFileDescription"),
|
|
838
864
|
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
@@ -1205,7 +1231,7 @@ function BankVerification(props) {
|
|
|
1205
1231
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1206
1232
|
/* @__PURE__ */ jsx(StateContextSetter, { owner: id, stateRef }),
|
|
1207
1233
|
bankInfoValidated && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1208
|
-
/* @__PURE__ */ jsx(
|
|
1234
|
+
heading && /* @__PURE__ */ jsx(Header, { title: heading }),
|
|
1209
1235
|
/* @__PURE__ */ jsx(Alert, { title: i18n.get("youSuccessfullyVerifiedAccount"), variant: "success" })
|
|
1210
1236
|
] }),
|
|
1211
1237
|
provider && formIsActive && !bankInfoValidated && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-bank-verification-container", children: /* @__PURE__ */ jsx("form", { className: "adyen-kyc-bank-verification", children: !hideVerificationWidget ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1226,25 +1252,25 @@ function BankVerification(props) {
|
|
|
1226
1252
|
] });
|
|
1227
1253
|
}
|
|
1228
1254
|
function BankAccountFormat(props) {
|
|
1229
|
-
const {
|
|
1255
|
+
const { t } = useTranslation(["banking"]);
|
|
1230
1256
|
const { bankAccountFormat, handleAccountFormatChange } = props;
|
|
1231
1257
|
const bankFormatOptions = [
|
|
1232
1258
|
{
|
|
1233
1259
|
id: "iban",
|
|
1234
|
-
name:
|
|
1260
|
+
name: t(($) => $["ibanFormat"])
|
|
1235
1261
|
},
|
|
1236
1262
|
{
|
|
1237
1263
|
id: "local",
|
|
1238
|
-
name:
|
|
1264
|
+
name: t(($) => $["localFormat"])
|
|
1239
1265
|
}
|
|
1240
1266
|
];
|
|
1241
|
-
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Field, { name: "bankAccountFormat", label:
|
|
1267
|
+
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Field, { name: "bankAccountFormat", label: t(($) => $["bankAccountFormat"]), children: (childProps) => /* @__PURE__ */ jsx(
|
|
1242
1268
|
Select,
|
|
1243
1269
|
{
|
|
1244
1270
|
...childProps,
|
|
1245
1271
|
onChange: (e) => handleAccountFormatChange?.(e?.target?.value),
|
|
1246
1272
|
name: "bankAccountFormat",
|
|
1247
|
-
placeholder:
|
|
1273
|
+
placeholder: t(($) => $["localFormat"]),
|
|
1248
1274
|
selected: bankAccountFormat,
|
|
1249
1275
|
items: bankFormatOptions
|
|
1250
1276
|
}
|
|
@@ -2158,6 +2184,13 @@ const getSupportedCurrenciesPerFormat = (country, format) => {
|
|
|
2158
2184
|
}
|
|
2159
2185
|
return supportedCurrencies[format];
|
|
2160
2186
|
};
|
|
2187
|
+
const isLocalCurrency = (country, currency) => {
|
|
2188
|
+
if (!country || !currency) {
|
|
2189
|
+
return false;
|
|
2190
|
+
}
|
|
2191
|
+
const supportedCurrencies = currencyByCountry[country];
|
|
2192
|
+
return supportedCurrencies?.includes(currency) ?? false;
|
|
2193
|
+
};
|
|
2161
2194
|
const AccountHolderDescriptionFragment = ({
|
|
2162
2195
|
legalEntityResponse
|
|
2163
2196
|
}) => {
|
|
@@ -2305,13 +2338,14 @@ const payoutAccountFields = [
|
|
|
2305
2338
|
...bankNameFields,
|
|
2306
2339
|
...bankCodeFields
|
|
2307
2340
|
];
|
|
2308
|
-
const defaultArray = [];
|
|
2309
2341
|
function PayoutAccount(props) {
|
|
2310
2342
|
const accountFormat = payoutAccountFormat.value;
|
|
2311
2343
|
const { t } = useTranslation("banking");
|
|
2312
2344
|
const { t: commonT } = useTranslation("common");
|
|
2313
2345
|
const { i18n } = useI18nContext();
|
|
2314
2346
|
const [checkAnnotation, setCheckAnnotation] = useState();
|
|
2347
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
2348
|
+
const isCrossBorderPayoutsEnabled = isExperimentEnabled("EnableCrossBorderPayouts");
|
|
2315
2349
|
const { isSettingEnabled } = useSettingsContext();
|
|
2316
2350
|
const bankAccountFormatSelectionAllowed = isSettingEnabled(
|
|
2317
2351
|
SettingNames.AllowBankAccountFormatSelection
|
|
@@ -2321,11 +2355,12 @@ function PayoutAccount(props) {
|
|
|
2321
2355
|
country,
|
|
2322
2356
|
id,
|
|
2323
2357
|
legalEntityResponse,
|
|
2324
|
-
requiredFields =
|
|
2358
|
+
requiredFields = [],
|
|
2325
2359
|
arePayoutAccountDetailsInvalid,
|
|
2326
2360
|
invalidFieldNames,
|
|
2327
2361
|
formVerificationErrors,
|
|
2328
|
-
fieldValidationErrors
|
|
2362
|
+
fieldValidationErrors,
|
|
2363
|
+
preferredCurrencyCode
|
|
2329
2364
|
} = props;
|
|
2330
2365
|
const showCheckGuidance = shouldShowCheckGuidance(country);
|
|
2331
2366
|
const formUtils = createFormUtils({ ...props, requiredFields }, commonT);
|
|
@@ -2346,8 +2381,21 @@ function PayoutAccount(props) {
|
|
|
2346
2381
|
clearStateSlice();
|
|
2347
2382
|
payoutAccountFormat.value = accountFormat2;
|
|
2348
2383
|
};
|
|
2384
|
+
const localCurrency = isCrossBorderPayoutsEnabled ? isLocalCurrency(country, preferredCurrencyCode) : true;
|
|
2385
|
+
useEffect(() => {
|
|
2386
|
+
if (!isCrossBorderPayoutsEnabled) {
|
|
2387
|
+
return;
|
|
2388
|
+
}
|
|
2389
|
+
if (preferredCurrencyCode === "EUR") {
|
|
2390
|
+
handleAccountFormatChange?.("iban");
|
|
2391
|
+
return;
|
|
2392
|
+
}
|
|
2393
|
+
if (!localCurrency) {
|
|
2394
|
+
handleAccountFormatChange?.("numberAndBic");
|
|
2395
|
+
}
|
|
2396
|
+
}, [country, preferredCurrencyCode]);
|
|
2349
2397
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__payout-account", "aria-describedby": "ariaErrorField", children: [
|
|
2350
|
-
/* @__PURE__ */ jsx(
|
|
2398
|
+
heading && /* @__PURE__ */ jsx(Header, { title: heading, children: /* @__PURE__ */ jsx(
|
|
2351
2399
|
AccountHolderDescriptionFragment,
|
|
2352
2400
|
{
|
|
2353
2401
|
slot: "description",
|
|
@@ -2364,7 +2412,7 @@ function PayoutAccount(props) {
|
|
|
2364
2412
|
}
|
|
2365
2413
|
),
|
|
2366
2414
|
showCheckGuidance ? /* @__PURE__ */ jsx(CheckGuidance, { annotated: checkAnnotation }) : void 0,
|
|
2367
|
-
bankAccountFormatSelectionAllowed && shouldShowPayoutAccountFormatSelector(country) && accountFormat && /* @__PURE__ */ jsx(
|
|
2415
|
+
bankAccountFormatSelectionAllowed && shouldShowPayoutAccountFormatSelector(country) && accountFormat && localCurrency && /* @__PURE__ */ jsx(
|
|
2368
2416
|
BankAccountFormat,
|
|
2369
2417
|
{
|
|
2370
2418
|
bankAccountFormat: accountFormat,
|
|
@@ -2396,14 +2444,14 @@ function PayoutAccount(props) {
|
|
|
2396
2444
|
formUtils.isRequiredField("bankName") && /* @__PURE__ */ jsx(BankName, { ...bankNameProps, dataStoreId: id }),
|
|
2397
2445
|
formUtils.isRequiredField("bankCode") && /* @__PURE__ */ jsx(BankCode, { ...bankCodeProps, country, dataStoreId: id }),
|
|
2398
2446
|
formUtils.isRequiredField("bankCity") && /* @__PURE__ */ jsx(BankCity, { ...bankCityProps, dataStoreId: id }),
|
|
2399
|
-
shouldShowPayoutAlert(country) && /* @__PURE__ */ jsx(
|
|
2447
|
+
shouldShowPayoutAlert(country) && !isCrossBorderPayoutsEnabled && /* @__PURE__ */ jsx(
|
|
2400
2448
|
Alert,
|
|
2401
2449
|
{
|
|
2402
2450
|
title: getSupportedCurrencyGuidance(i18n, country, requiredFields),
|
|
2403
2451
|
className: "adyen-kyc-u-margin-bottom-8"
|
|
2404
2452
|
}
|
|
2405
2453
|
),
|
|
2406
|
-
/* @__PURE__ */ jsx(Typography, { variant: "caption", color: "tertiary", children: t(($) => $["thisAccountWillBeVerifiedToPrevent"]) }),
|
|
2454
|
+
!isCrossBorderPayoutsEnabled && /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "tertiary", children: t(($) => $["thisAccountWillBeVerifiedToPrevent"]) }),
|
|
2407
2455
|
arePayoutAccountDetailsInvalid && /* @__PURE__ */ jsx(
|
|
2408
2456
|
Alert,
|
|
2409
2457
|
{
|
|
@@ -2416,6 +2464,72 @@ function PayoutAccount(props) {
|
|
|
2416
2464
|
)
|
|
2417
2465
|
] });
|
|
2418
2466
|
}
|
|
2467
|
+
const currenciesDataset = /* @__PURE__ */ JSON.parse('[{"currencyCode":"AED","description":"UAE Dirham","exponent":2,"symbol":""},{"currencyCode":"ALL","description":"Albanian Lek","exponent":2,"symbol":"L"},{"currencyCode":"AMD","description":"Armenian Dram","exponent":2,"symbol":""},{"currencyCode":"ANG","description":"Antillian Guilder","exponent":2,"symbol":"Naƒ"},{"currencyCode":"AOA","description":"Angolan kwanza","exponent":2,"symbol":""},{"currencyCode":"ARS","description":"Nuevo Argentine Peso","exponent":2,"symbol":"$"},{"currencyCode":"AUD","description":"Australian Dollar","exponent":2,"symbol":"A$"},{"currencyCode":"AWG","description":"Aruban Guilder","exponent":2,"symbol":""},{"currencyCode":"AZN","description":"Azerbaijani manat","exponent":2,"symbol":"man"},{"currencyCode":"BAM","description":"Bosnia and Herzegovina Convertible Marks","exponent":2,"symbol":""},{"currencyCode":"BBD","description":"Barbados Dollar","exponent":2,"symbol":""},{"currencyCode":"BDT","description":"Bangladesh Taka","exponent":2,"symbol":""},{"currencyCode":"BGL","description":"Bulgaria Lev","exponent":2,"symbol":""},{"currencyCode":"BGN","description":"New Bulgarian Lev","exponent":2,"symbol":""},{"currencyCode":"BHD","description":"Bahraini Dinar","exponent":3,"symbol":""},{"currencyCode":"BMD","description":"Bermudian Dollar","exponent":2,"symbol":""},{"currencyCode":"BND","description":"Brunei Dollar","exponent":2,"symbol":""},{"currencyCode":"BOB","description":"Bolivia Boliviano","exponent":2,"symbol":""},{"currencyCode":"BRL","description":"Brazilian Real","exponent":2,"symbol":"R$"},{"currencyCode":"BSD","description":"Bahamian Dollar","exponent":2,"symbol":""},{"currencyCode":"BTN","description":"Bhutan Ngultrum","exponent":2,"symbol":"Nu."},{"currencyCode":"BWP","description":"Botswana Pula","exponent":2,"symbol":""},{"currencyCode":"BYN","description":"Belarusian Ruble","exponent":2,"symbol":"Br"},{"currencyCode":"BYR","description":"Belarusian Ruble","exponent":0,"symbol":"Br"},{"currencyCode":"BZD","description":"Belize Dollar","exponent":2,"symbol":""},{"currencyCode":"CAD","description":"Canadian Dollar","exponent":2,"symbol":"$"},{"currencyCode":"CHF","description":"Swiss Franc","exponent":2,"symbol":""},{"currencyCode":"CLP","description":"Chilean Peso","exponent":2,"symbol":"$"},{"currencyCode":"CNY","description":"Yuan Renminbi","exponent":2,"symbol":"¥"},{"currencyCode":"COP","description":"Colombian Peso","exponent":2,"symbol":"₱"},{"currencyCode":"CRC","description":"Costa Rican Colon","exponent":2,"symbol":""},{"currencyCode":"CSD","description":"Serbian Dinar","exponent":2,"symbol":""},{"currencyCode":"CUP","description":"Cuban Peso","exponent":2,"symbol":""},{"currencyCode":"CVE","description":"Cape Verdi Escudo","exponent":0,"symbol":""},{"currencyCode":"CZK","description":"Czech Koruna","exponent":2,"symbol":""},{"currencyCode":"DJF","description":"Djibouti Franc","exponent":0,"symbol":""},{"currencyCode":"DKK","description":"Danish Krone","exponent":2,"symbol":"kr"},{"currencyCode":"DOP","description":"Dominican Republic Peso","exponent":2,"symbol":""},{"currencyCode":"DZD","description":"Algerian Dinar","exponent":2,"symbol":""},{"currencyCode":"EEK","description":"Estonian Krone","exponent":2,"symbol":""},{"currencyCode":"EGP","description":"Egyptian Pound","exponent":2,"symbol":"£"},{"currencyCode":"ETB","description":"Ethiopian Birr","exponent":2,"symbol":""},{"currencyCode":"EUR","description":"Euro","exponent":2,"symbol":"€"},{"currencyCode":"FJD","description":"Fiji Dollar","exponent":2,"symbol":"$"},{"currencyCode":"FKP","description":"Falkland Islands Pound","exponent":2,"symbol":""},{"currencyCode":"GBP","description":"Pound Sterling","exponent":2,"symbol":"£"},{"currencyCode":"GEL","description":"Georgian Lari","exponent":2,"symbol":""},{"currencyCode":"GHC","description":"Ghanaian Cedi (2nd)","exponent":0,"symbol":""},{"currencyCode":"GHS","description":"Ghanaian Cedi (3rd)","exponent":2,"symbol":"GH₵"},{"currencyCode":"GIP","description":"Gibraltar Pound","exponent":2,"symbol":""},{"currencyCode":"GMD","description":"Gambia Delasi","exponent":2,"symbol":""},{"currencyCode":"GNF","description":"Guinea Franc","exponent":0,"symbol":""},{"currencyCode":"GTQ","description":"Guatemala Quetzal","exponent":2,"symbol":""},{"currencyCode":"GYD","description":"Guyanese Dollar","exponent":2,"symbol":""},{"currencyCode":"HKD","description":"Hong Kong Dollar","exponent":2,"symbol":"$"},{"currencyCode":"HNL","description":"Honduras Lempira","exponent":2,"symbol":""},{"currencyCode":"HRK","description":"Croatia Kuna","exponent":2,"symbol":""},{"currencyCode":"HTG","description":"Haitian Gourde","exponent":2,"symbol":""},{"currencyCode":"HUF","description":"Hungarian Forint","exponent":2,"symbol":"Ft"},{"currencyCode":"IDR","description":"Indonesian Rupiah","exponent":0,"symbol":""},{"currencyCode":"ILS","description":"New Israeli Scheqel","exponent":2,"symbol":"₪"},{"currencyCode":"INR","description":"Indian Rupee","exponent":2,"symbol":"₨"},{"currencyCode":"IQD","description":"Iraqi Dinar","exponent":3,"symbol":""},{"currencyCode":"ISK","description":"Iceland Krona","exponent":2,"symbol":""},{"currencyCode":"JMD","description":"Jamaican Dollar","exponent":2,"symbol":""},{"currencyCode":"JOD","description":"Jordanian Dinar","exponent":3,"symbol":""},{"currencyCode":"JPY","description":"Japanese Yen","exponent":0,"symbol":"¥"},{"currencyCode":"KES","description":"Kenyan Shilling","exponent":2,"symbol":""},{"currencyCode":"KGS","description":"Kyrgyzstan Som","exponent":2,"symbol":""},{"currencyCode":"KHR","description":"Cambodia Riel","exponent":2,"symbol":""},{"currencyCode":"KMF","description":"Comoro Franc","exponent":0,"symbol":""},{"currencyCode":"KRW","description":"South-Korean Won","exponent":0,"symbol":"₩"},{"currencyCode":"KWD","description":"Kuwaiti Dinar","exponent":3,"symbol":""},{"currencyCode":"KYD","description":"Cayman Islands Dollar","exponent":2,"symbol":""},{"currencyCode":"KZT","description":"Kazakhstani Tenge","exponent":2,"symbol":"8"},{"currencyCode":"LAK","description":"Laos Kip","exponent":2,"symbol":""},{"currencyCode":"LBP","description":"Lebanese Pound","exponent":2,"symbol":"£"},{"currencyCode":"LKR","description":"Sri Lanka Rupee","exponent":2,"symbol":"₨"},{"currencyCode":"LTL","description":"Lithunianian Litas","exponent":2,"symbol":""},{"currencyCode":"LVL","description":"Latvian Lats","exponent":2,"symbol":""},{"currencyCode":"LYD","description":"Libyan Dinar","exponent":3,"symbol":""},{"currencyCode":"MAD","description":"Moroccan Dirham","exponent":2,"symbol":""},{"currencyCode":"MDL","description":"Moldovia Leu","exponent":2,"symbol":""},{"currencyCode":"MKD","description":"Macedonian Denar","exponent":2,"symbol":"ден"},{"currencyCode":"MMK","description":"Myanmar Kyat","exponent":2,"symbol":""},{"currencyCode":"MNT","description":"Mongolia Tugrik","exponent":2,"symbol":""},{"currencyCode":"MOP","description":"Macau Pataca","exponent":2,"symbol":""},{"currencyCode":"MRO","description":"Mauritania Ouguiya","exponent":1,"symbol":""},{"currencyCode":"MRU","description":"Mauritania Ouguiya","exponent":2,"symbol":""},{"currencyCode":"MUR","description":"Mauritius Rupee","exponent":2,"symbol":""},{"currencyCode":"MVR","description":"Maldives Rufiyaa","exponent":2,"symbol":""},{"currencyCode":"MWK","description":"Malawi Kwacha","exponent":2,"symbol":""},{"currencyCode":"MXN","description":"Mexican Peso","exponent":2,"symbol":"$"},{"currencyCode":"MXP","description":"Mexican Peso","exponent":2,"symbol":""},{"currencyCode":"MYR","description":"Malaysian Ringgit","exponent":2,"symbol":""},{"currencyCode":"MZN","description":"Mozambican Metical","exponent":2,"symbol":""},{"currencyCode":"NAD","description":"Namibian Dollar","exponent":2,"symbol":"$"},{"currencyCode":"NGN","description":"Nigerian naira","exponent":2,"symbol":"&"},{"currencyCode":"NIO","description":"Nicaragua Cordoba Oro","exponent":2,"symbol":""},{"currencyCode":"NOK","description":"Norwegian Krone","exponent":2,"symbol":""},{"currencyCode":"NPR","description":"Nepalese Rupee","exponent":2,"symbol":""},{"currencyCode":"NZD","description":"New Zealand Dollar","exponent":2,"symbol":"$"},{"currencyCode":"OMR","description":"Rial Omani","exponent":3,"symbol":"﷼"},{"currencyCode":"PAB","description":"Panamanian Balboa","exponent":2,"symbol":""},{"currencyCode":"PEN","description":"Peruvian Nuevo Sol","exponent":2,"symbol":"S/."},{"currencyCode":"PGK","description":"New Guinea Kina","exponent":2,"symbol":""},{"currencyCode":"PHP","description":"Philippine Peso","exponent":2,"symbol":"₱"},{"currencyCode":"PKR","description":"Pakistan Rupee","exponent":2,"symbol":"₨"},{"currencyCode":"PLN","description":"New Polish Zloty","exponent":2,"symbol":""},{"currencyCode":"PYG","description":"Paraguay Guarani","exponent":0,"symbol":""},{"currencyCode":"QAR","description":"Qatari Rial","exponent":2,"symbol":"﷼"},{"currencyCode":"ROL","description":"Romanian Lei","exponent":2,"symbol":""},{"currencyCode":"RON","description":"New Romanian Lei","exponent":2,"symbol":""},{"currencyCode":"RSD","description":"Serbian Dinar","exponent":2,"symbol":"РСД"},{"currencyCode":"RUB","description":"Russian Ruble","exponent":2,"symbol":"руб"},{"currencyCode":"RWF","description":"Rwanda Franc","exponent":0,"symbol":""},{"currencyCode":"SAR","description":"Saudi Riyal","exponent":2,"symbol":"﷼"},{"currencyCode":"SBD","description":"Solomon Island Dollar","exponent":2,"symbol":""},{"currencyCode":"SCR","description":"Seychelles Rupee","exponent":2,"symbol":""},{"currencyCode":"SEK","description":"Swedish Krone","exponent":2,"symbol":"kr"},{"currencyCode":"SGD","description":"Singapore Dollar","exponent":2,"symbol":"$"},{"currencyCode":"SHP","description":"St. Helena Pound","exponent":2,"symbol":""},{"currencyCode":"SKK","description":"Slovak Koruna","exponent":2,"symbol":""},{"currencyCode":"SLE","description":"Sierra Leone Leone","exponent":2,"symbol":"Le"},{"currencyCode":"SLL","description":"Sierra Leone Leone","exponent":2,"symbol":""},{"currencyCode":"SOS","description":"Somalia Shilling","exponent":2,"symbol":""},{"currencyCode":"SRD","description":"Surinamese dollar","exponent":2,"symbol":"Sr$"},{"currencyCode":"STD","description":"Sao Tome & Principe Dobra","exponent":2,"symbol":""},{"currencyCode":"STN","description":"Sao Tome & Principe Dobra","exponent":2,"symbol":""},{"currencyCode":"SVC","description":"El Salvador Colón","exponent":2,"symbol":"₡"},{"currencyCode":"SZL","description":"Swaziland Lilangeni","exponent":2,"symbol":""},{"currencyCode":"THB","description":"Thai Baht","exponent":2,"symbol":"฿"},{"currencyCode":"TND","description":"Tunisian Dinar","exponent":3,"symbol":""},{"currencyCode":"TOP","description":"Tonga Pa’anga","exponent":2,"symbol":""},{"currencyCode":"TRY","description":"New Turkish Lira","exponent":2,"symbol":"₤"},{"currencyCode":"TTD","description":"Trinidad & Tobago Dollar","exponent":2,"symbol":""},{"currencyCode":"TWD","description":"New Taiwan Dollar","exponent":2,"symbol":"元"},{"currencyCode":"TZS","description":"Tanzanian Shilling","exponent":2,"symbol":""},{"currencyCode":"UAH","description":"Ukraine Hryvnia","exponent":2,"symbol":""},{"currencyCode":"UGX","description":"Uganda Shilling","exponent":0,"symbol":""},{"currencyCode":"USD","description":"US Dollars","exponent":2,"symbol":"$"},{"currencyCode":"UYU","description":"Peso Uruguayo","exponent":2,"symbol":"₱"},{"currencyCode":"UZS","description":"Uzbekistani Som","exponent":2,"symbol":"som"},{"currencyCode":"VEF","description":"Venezuelan Bolívar","exponent":2,"symbol":"Bs.F."},{"currencyCode":"VND","description":"Vietnamese New Dong","exponent":0,"symbol":"₫"},{"currencyCode":"VUV","description":"Vanuatu Vatu","exponent":0,"symbol":""},{"currencyCode":"WST","description":"Samoan Tala","exponent":2,"symbol":""},{"currencyCode":"XAF","description":"CFA Franc BEAC","exponent":0,"symbol":""},{"currencyCode":"XCD","description":"East Carribean Dollar","exponent":2,"symbol":"EC$"},{"currencyCode":"XOF","description":"CFA Franc BCEAO","exponent":0,"symbol":""},{"currencyCode":"XPF","description":"CFP Franc","exponent":0,"symbol":""},{"currencyCode":"YER","description":"Yemeni Rial","exponent":2,"symbol":""},{"currencyCode":"ZAR","description":"South African Rand","exponent":2,"symbol":"R"},{"currencyCode":"ZMK","description":"Zambia Kwacha","exponent":2,"symbol":""},{"currencyCode":"ZMW","description":"Zambian Kwacha","exponent":2,"symbol":""}]');
|
|
2468
|
+
const ALLOWED_PAYOUT_CURRENCIES = Object.keys(Currencies);
|
|
2469
|
+
const PreferredCurrency = (props) => {
|
|
2470
|
+
const { country, preferredCurrency, handleChangeFor } = props;
|
|
2471
|
+
const { t } = useTranslation(["common", "banking"]);
|
|
2472
|
+
const currencyDescriptionByCode = new Map(
|
|
2473
|
+
currenciesDataset.map((currency) => [currency.currencyCode, currency.description])
|
|
2474
|
+
);
|
|
2475
|
+
const getPrioritizedCurrencies = () => {
|
|
2476
|
+
const countryPreferredCurrencies = currencyByCountry[country] || [];
|
|
2477
|
+
const allowedCountryCurrencies = countryPreferredCurrencies.filter(
|
|
2478
|
+
(currency) => ALLOWED_PAYOUT_CURRENCIES.includes(currency)
|
|
2479
|
+
);
|
|
2480
|
+
const otherAllowedCurrencies = ALLOWED_PAYOUT_CURRENCIES.filter(
|
|
2481
|
+
(currency) => !allowedCountryCurrencies.includes(currency)
|
|
2482
|
+
);
|
|
2483
|
+
if (allowedCountryCurrencies.length > 0 && otherAllowedCurrencies.length > 0) {
|
|
2484
|
+
return [...allowedCountryCurrencies, null, ...otherAllowedCurrencies];
|
|
2485
|
+
}
|
|
2486
|
+
return [...allowedCountryCurrencies, ...otherAllowedCurrencies];
|
|
2487
|
+
};
|
|
2488
|
+
const prioritizedCurrencies = getPrioritizedCurrencies();
|
|
2489
|
+
const currenciesAsOptions = prioritizedCurrencies.map((currency) => {
|
|
2490
|
+
if (currency === null) {
|
|
2491
|
+
return {
|
|
2492
|
+
id: "separator",
|
|
2493
|
+
name: " ",
|
|
2494
|
+
disabled: true
|
|
2495
|
+
};
|
|
2496
|
+
}
|
|
2497
|
+
const description = currencyDescriptionByCode.get(currency);
|
|
2498
|
+
const label = description ? `${description} (${currency})` : currency;
|
|
2499
|
+
return {
|
|
2500
|
+
id: currency,
|
|
2501
|
+
name: label
|
|
2502
|
+
};
|
|
2503
|
+
});
|
|
2504
|
+
const selectCurrency = (e) => {
|
|
2505
|
+
if (e.id === "separator") {
|
|
2506
|
+
return;
|
|
2507
|
+
}
|
|
2508
|
+
handleChangeFor("preferredCurrency")(e.id);
|
|
2509
|
+
};
|
|
2510
|
+
return /* @__PURE__ */ jsx(
|
|
2511
|
+
Field,
|
|
2512
|
+
{
|
|
2513
|
+
name: "preferredCurrency",
|
|
2514
|
+
label: t(($) => $["preferredPayoutCurrency"], { ns: "banking" }),
|
|
2515
|
+
helper: t(($) => $["ifYouChooseAPayoutCurrencyThatDoesntMatchYourBankAccount"], {
|
|
2516
|
+
ns: "banking"
|
|
2517
|
+
}),
|
|
2518
|
+
helperPosition: "below",
|
|
2519
|
+
children: (childProps) => /* @__PURE__ */ jsx(
|
|
2520
|
+
Select,
|
|
2521
|
+
{
|
|
2522
|
+
...childProps,
|
|
2523
|
+
onSelect: selectCurrency,
|
|
2524
|
+
name: "preferredPayoutCurrency",
|
|
2525
|
+
placeholder: t(($) => $["localFormat"], { ns: "banking" }),
|
|
2526
|
+
selected: preferredCurrency,
|
|
2527
|
+
items: currenciesAsOptions || []
|
|
2528
|
+
}
|
|
2529
|
+
)
|
|
2530
|
+
}
|
|
2531
|
+
);
|
|
2532
|
+
};
|
|
2419
2533
|
const regions = {
|
|
2420
2534
|
europe: [
|
|
2421
2535
|
...EEA_Countries,
|
|
@@ -2428,6 +2542,78 @@ const regions = {
|
|
|
2428
2542
|
const getAllowedBankCountries = (country) => Object.values(regions).find((countriesInARegion) => countriesInARegion.includes(country)) ?? [
|
|
2429
2543
|
country
|
|
2430
2544
|
];
|
|
2545
|
+
const payoutCountryDetailsFields = [
|
|
2546
|
+
"bankCountry",
|
|
2547
|
+
"preferredCurrency"
|
|
2548
|
+
];
|
|
2549
|
+
const DEFAULT_CURRENCY_FALLBACK = "USD";
|
|
2550
|
+
const getDefaultCurrencyForCountry = (country) => currencyByCountry[country]?.[0] ?? DEFAULT_CURRENCY_FALLBACK;
|
|
2551
|
+
const getCountryCodeFromEvent = (event) => event?.target?.value;
|
|
2552
|
+
function PayoutCountryDetails(props) {
|
|
2553
|
+
const { legalEntityResponse, data: propData } = props;
|
|
2554
|
+
const { t: commonT } = useTranslation("common");
|
|
2555
|
+
const { t } = useTranslation("banking");
|
|
2556
|
+
const { isSettingEnabled } = useSettingsContext();
|
|
2557
|
+
const country = getLegalEntityCountry(legalEntityResponse);
|
|
2558
|
+
const legalEntityType = legalEntityResponse.type;
|
|
2559
|
+
const defaultCurrency = getDefaultCurrencyForCountry(country);
|
|
2560
|
+
const { handleChangeFor, data, valid, errors, fieldProblems } = useForm({
|
|
2561
|
+
...props,
|
|
2562
|
+
schema: payoutCountryDetailsFields,
|
|
2563
|
+
defaultData: {
|
|
2564
|
+
bankCountry: propData?.bankCountry ?? country,
|
|
2565
|
+
preferredCurrency: propData?.preferredCurrency ?? defaultCurrency
|
|
2566
|
+
},
|
|
2567
|
+
shouldValidate: true
|
|
2568
|
+
});
|
|
2569
|
+
const formUtils = createFormUtils(props, commonT);
|
|
2570
|
+
const allowedBankCountries = getAllowedBankCountries(country);
|
|
2571
|
+
const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(
|
|
2572
|
+
SettingNames.AllowIntraRegionCrossBorderPayout
|
|
2573
|
+
);
|
|
2574
|
+
const canChangeEntityType = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange);
|
|
2575
|
+
const helperTextCountry = !intraRegionCrossBorderPayoutsAllowed ? t(
|
|
2576
|
+
($) => $[legalEntityType === "individual" ? "youCanOnlyUseABankAccountInTheCountryRegionWhereYouLive" : "youCanOnlyUseABankAccountInTheCountryRegionWhereYourCompanyIsRegistered"]
|
|
2577
|
+
) : void 0;
|
|
2578
|
+
const description = /* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-bottom-12", children: canChangeEntityType ? /* @__PURE__ */ jsx(AccountHolderDescriptionFragment, { legalEntityResponse }) : /* @__PURE__ */ jsx(Typography, { children: t(($) => $["linkAndVerifyBankAccount"]) }) });
|
|
2579
|
+
const { updateStateSlice } = useGlobalDataSlice(
|
|
2580
|
+
"payoutCountryDetails"
|
|
2581
|
+
);
|
|
2582
|
+
useEffect(() => {
|
|
2583
|
+
updateStateSlice({ data, valid, errors, fieldProblems });
|
|
2584
|
+
}, [data, valid, errors, updateStateSlice, fieldProblems]);
|
|
2585
|
+
const updateCountryField = (event) => {
|
|
2586
|
+
const updatedCountry = getCountryCodeFromEvent(event);
|
|
2587
|
+
handleChangeFor("bankCountry", "input")(updatedCountry);
|
|
2588
|
+
handleChangeFor("preferredCurrency", "input")(getDefaultCurrencyForCountry(updatedCountry));
|
|
2589
|
+
};
|
|
2590
|
+
return /* @__PURE__ */ jsxs("form", { style: { minHeight: "480px" }, children: [
|
|
2591
|
+
/* @__PURE__ */ jsx(Header, { title: t(($) => $["payoutBankAccount"]), children: /* @__PURE__ */ jsx("div", { slot: "description", className: "adyen-kyc-form-header__description", children: description }) }),
|
|
2592
|
+
/* @__PURE__ */ jsx(
|
|
2593
|
+
CountryField,
|
|
2594
|
+
{
|
|
2595
|
+
data: { country: data.bankCountry },
|
|
2596
|
+
valid: { country: valid?.bankCountry },
|
|
2597
|
+
errors: { country: formUtils.getErrorMessage("bankCountry", errors, fieldProblems) },
|
|
2598
|
+
labels: { country: t(($) => $["bankAccountCountryRegion"]) },
|
|
2599
|
+
readonly: !intraRegionCrossBorderPayoutsAllowed || allowedBankCountries.length === 1,
|
|
2600
|
+
allowedCountries: allowedBankCountries,
|
|
2601
|
+
handleChangeFor: () => updateCountryField,
|
|
2602
|
+
helperText: {
|
|
2603
|
+
country: helperTextCountry
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
),
|
|
2607
|
+
/* @__PURE__ */ jsx(
|
|
2608
|
+
PreferredCurrency,
|
|
2609
|
+
{
|
|
2610
|
+
country: data.bankCountry,
|
|
2611
|
+
preferredCurrency: data.preferredCurrency ?? defaultCurrency,
|
|
2612
|
+
handleChangeFor
|
|
2613
|
+
}
|
|
2614
|
+
)
|
|
2615
|
+
] });
|
|
2616
|
+
}
|
|
2431
2617
|
const tinkLogo = lazy(() => import("./tink-logo-BcIv93ND.js"));
|
|
2432
2618
|
const plaidLogo = lazy(() => import("./plaid-logo-CtActXTN.js"));
|
|
2433
2619
|
const yapilyLogo = lazy(() => import("./yapily-logo-CZ4ywjwA.js"));
|
|
@@ -2468,13 +2654,26 @@ const makePayoutVerificationMethodsMetadata = (instantVerificationProviderName)
|
|
|
2468
2654
|
}
|
|
2469
2655
|
});
|
|
2470
2656
|
const payoutVerificationMethods = ["instantVerification", "manualVerification"];
|
|
2657
|
+
const getMustHaveSameAccountHolderNameTransKey = (legalEntityType) => {
|
|
2658
|
+
switch (legalEntityType) {
|
|
2659
|
+
case "individual":
|
|
2660
|
+
case "soleProprietorship":
|
|
2661
|
+
return "theBankAccountHolderMustBeInYourName";
|
|
2662
|
+
case "organization":
|
|
2663
|
+
case "trust":
|
|
2664
|
+
case "unincorporatedPartnership":
|
|
2665
|
+
return "theBankAccountHolderMustHaveTheSameNameAsYourCompany";
|
|
2666
|
+
default:
|
|
2667
|
+
return "theBankAccountHolderMustHaveTheSameNameAsYourCompany";
|
|
2668
|
+
}
|
|
2669
|
+
};
|
|
2471
2670
|
const PayoutVerificationMethodOptionFooter = ({
|
|
2472
2671
|
method,
|
|
2473
2672
|
methodsMetadata
|
|
2474
2673
|
}) => {
|
|
2475
2674
|
const { i18n } = useI18nContext();
|
|
2476
2675
|
const { provider } = methodsMetadata[method];
|
|
2477
|
-
return provider ? /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "adyen-kyc-field-verification-methods__footer", children: [
|
|
2676
|
+
return provider ? /* @__PURE__ */ jsxs(Typography, { el: "div", variant: "caption", className: "adyen-kyc-field-verification-methods__footer", children: [
|
|
2478
2677
|
i18n.get("poweredBy"),
|
|
2479
2678
|
provider.svgImport ? /* @__PURE__ */ jsx(
|
|
2480
2679
|
Image,
|
|
@@ -2486,17 +2685,6 @@ const PayoutVerificationMethodOptionFooter = ({
|
|
|
2486
2685
|
] }) : null;
|
|
2487
2686
|
};
|
|
2488
2687
|
const payoutVerificationMethodFields = ["payoutVerificationMethod", "bankCountry", ...accountVerificationFields];
|
|
2489
|
-
const getMustHaveSameAccountHolderNameTransKey = (legalEntityType) => {
|
|
2490
|
-
switch (legalEntityType) {
|
|
2491
|
-
case LegalEntityTypes.INDIVIDUAL:
|
|
2492
|
-
case LegalEntityTypes.SOLE_PROPRIETORSHIP:
|
|
2493
|
-
return "theBankAccountHolderMustBeInYourName";
|
|
2494
|
-
case LegalEntityTypes.ORGANIZATION:
|
|
2495
|
-
case LegalEntityTypes.TRUST:
|
|
2496
|
-
case LegalEntityTypes.UNINCORPORATED_PARTNERSHIP:
|
|
2497
|
-
return "theBankAccountHolderMustHaveTheSameNameAsYourCompany";
|
|
2498
|
-
}
|
|
2499
|
-
};
|
|
2500
2688
|
function PayoutVerificationMethod(props) {
|
|
2501
2689
|
const {
|
|
2502
2690
|
heading,
|
|
@@ -2579,7 +2767,7 @@ function PayoutVerificationMethod(props) {
|
|
|
2579
2767
|
data: { country: data.bankCountry },
|
|
2580
2768
|
valid: { country: valid?.bankCountry },
|
|
2581
2769
|
errors: { country: formUtils.getErrorMessage("bankCountry", errors, fieldProblems) },
|
|
2582
|
-
labels: { country:
|
|
2770
|
+
labels: { country: t(($) => $["bankAccountCountryRegion"]) },
|
|
2583
2771
|
readonly: !intraRegionCrossBorderPayoutsAllowed || allowedBankCountries.length === 1 || bankInfoValidated,
|
|
2584
2772
|
allowedCountries: allowedBankCountries,
|
|
2585
2773
|
handleChangeFor: () => (e) => {
|
|
@@ -2607,7 +2795,7 @@ function PayoutVerificationMethod(props) {
|
|
|
2607
2795
|
)
|
|
2608
2796
|
] });
|
|
2609
2797
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-payout-verification-method", children: [
|
|
2610
|
-
/* @__PURE__ */ jsx(
|
|
2798
|
+
heading && /* @__PURE__ */ jsx(Header, { title: heading, children: /* @__PURE__ */ jsx("template", { slot: "description", children: description }) }),
|
|
2611
2799
|
instantVerificationError && /* @__PURE__ */ jsx(
|
|
2612
2800
|
Alert,
|
|
2613
2801
|
{
|
|
@@ -2617,7 +2805,7 @@ function PayoutVerificationMethod(props) {
|
|
|
2617
2805
|
children: instantVerificationError.content && /* @__PURE__ */ jsx("p", { className: "adyen-kyc-u-margin-0", children: instantVerificationError.content })
|
|
2618
2806
|
}
|
|
2619
2807
|
),
|
|
2620
|
-
countryField,
|
|
2808
|
+
!isExperimentEnabled(ExperimentNames.EnableCrossBorderPayouts) && countryField,
|
|
2621
2809
|
/* @__PURE__ */ jsx(
|
|
2622
2810
|
Field,
|
|
2623
2811
|
{
|
|
@@ -2637,9 +2825,9 @@ function PayoutVerificationMethod(props) {
|
|
|
2637
2825
|
onSelect: selectVerificationMethod,
|
|
2638
2826
|
selected: data.payoutVerificationMethod,
|
|
2639
2827
|
optionId: (method) => method,
|
|
2640
|
-
optionName: (method) => methodsMetadata[method].name,
|
|
2641
|
-
optionDescription: (method) => methodsMetadata[method].description,
|
|
2642
|
-
optionSubtitle: (method) => methodsMetadata[method].subtitle,
|
|
2828
|
+
optionName: (method) => t(($) => $[methodsMetadata[method].name]),
|
|
2829
|
+
optionDescription: (method) => t(($) => $[methodsMetadata[method].description]),
|
|
2830
|
+
optionSubtitle: (method) => t(($) => $[methodsMetadata[method].subtitle]),
|
|
2643
2831
|
className: "adyen-kyc-field-verification-methods",
|
|
2644
2832
|
optionClassNames: () => ({
|
|
2645
2833
|
label: "adyen-kyc-field-verification-methods__card"
|
|
@@ -2692,6 +2880,11 @@ function PayoutVerificationMethod(props) {
|
|
|
2692
2880
|
] });
|
|
2693
2881
|
}
|
|
2694
2882
|
const payoutSteps = {
|
|
2883
|
+
payoutCountryDetails: {
|
|
2884
|
+
formId: "payoutCountryDetails",
|
|
2885
|
+
formName: "payoutCountryDetails",
|
|
2886
|
+
fields: payoutCountryDetailsFields
|
|
2887
|
+
},
|
|
2695
2888
|
payoutVerificationMethod: {
|
|
2696
2889
|
formId: "payoutVerificationMethod",
|
|
2697
2890
|
formName: "verificationMethod",
|
|
@@ -2715,6 +2908,7 @@ const payoutSteps = {
|
|
|
2715
2908
|
fields: accountVerificationFields
|
|
2716
2909
|
}
|
|
2717
2910
|
};
|
|
2911
|
+
const PayoutCountryDetailsFormID = payoutSteps.payoutCountryDetails.formId;
|
|
2718
2912
|
const PayoutVerificationMethodFormID = payoutSteps.payoutVerificationMethod.formId;
|
|
2719
2913
|
const PayoutAccountDocumentsFormID = payoutSteps.payoutAccountDocuments.formId;
|
|
2720
2914
|
const PayoutAccountVerificationFormID = payoutSteps.payoutAccountVerification.formId;
|
|
@@ -2739,11 +2933,13 @@ function PayoutDetails(props) {
|
|
|
2739
2933
|
trustedTransferInstrumentId
|
|
2740
2934
|
} = props;
|
|
2741
2935
|
const [instantVerificationError, setInstantVerificationError] = useInstantVerificationErrorNotification(1e4);
|
|
2936
|
+
const payoutCountryDetailsFormProps = getFormProps(props, PayoutCountryDetailsFormID);
|
|
2742
2937
|
const verificationMethodFormProps = getFormProps(props, PayoutVerificationMethodFormID);
|
|
2743
2938
|
const accountVerificationFormProps = getFormProps(props, PayoutAccountVerificationFormID);
|
|
2744
2939
|
const payoutAccountFormProps = getFormProps(props, payoutSteps.payoutAccountDetails.formId);
|
|
2745
2940
|
const bankDocumentFormProps = getFormProps(props, PayoutAccountDocumentsFormID);
|
|
2746
|
-
const
|
|
2941
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
2942
|
+
const isCrossBorderPayoutsEnabled = isExperimentEnabled("EnableCrossBorderPayouts");
|
|
2747
2943
|
const isBankStatementDocumentOptional = createFormUtils(
|
|
2748
2944
|
bankDocumentFormProps ?? {},
|
|
2749
2945
|
commonT
|
|
@@ -2752,10 +2948,7 @@ function PayoutDetails(props) {
|
|
|
2752
2948
|
const data = isEmpty(globalData) || propData?.payoutAccountDetails?.transferInstrumentId ? propData : globalData;
|
|
2753
2949
|
const resetData = useResetGlobalData();
|
|
2754
2950
|
const verifyInstantly = data?.payoutVerificationMethod?.payoutVerificationMethod === "instantVerification";
|
|
2755
|
-
const bankCountry = data?.payoutVerificationMethod?.bankCountry ?? country;
|
|
2756
|
-
const bankDocumentDescription = t(
|
|
2757
|
-
($) => $[legalEntityResponse.type === "individual" ? "toHelpVerifyYourBankDetailsIndividual" : "toHelpVerifyYourBankDetailsBusiness"]
|
|
2758
|
-
);
|
|
2951
|
+
const bankCountry = (isExperimentEnabled(ExperimentNames.EnableCrossBorderPayouts) ? data?.payoutCountryDetails?.bankCountry : data?.payoutVerificationMethod?.bankCountry) ?? country;
|
|
2759
2952
|
useEffect(() => resetData(), [resetData]);
|
|
2760
2953
|
useEffect(() => {
|
|
2761
2954
|
if (activeForm?.formId === summaryStep.formId && verifyInstantly && trustedTransferInstrumentId) {
|
|
@@ -2766,7 +2959,11 @@ function PayoutDetails(props) {
|
|
|
2766
2959
|
const [arePayoutAccountDetailsInvalid, setArePayoutAccountDetailsInvalid] = useState(false);
|
|
2767
2960
|
const [invalidFieldNames, setInvalidFieldNames] = useState("");
|
|
2768
2961
|
const payload = useMemo(
|
|
2769
|
-
() => bankCountry && accountDetailsFromInput ? getAccountIdentificationFromPayoutAccountSchema(
|
|
2962
|
+
() => bankCountry && accountDetailsFromInput ? getAccountIdentificationFromPayoutAccountSchema(
|
|
2963
|
+
accountDetailsFromInput,
|
|
2964
|
+
bankCountry,
|
|
2965
|
+
isCrossBorderPayoutsEnabled
|
|
2966
|
+
) : {},
|
|
2770
2967
|
[accountDetailsFromInput, bankCountry]
|
|
2771
2968
|
);
|
|
2772
2969
|
const validateAccountDetails = useAsyncAccountDetailsValidationRules(
|
|
@@ -2789,6 +2986,19 @@ function PayoutDetails(props) {
|
|
|
2789
2986
|
}
|
|
2790
2987
|
}, [t, validateAccountDetails]);
|
|
2791
2988
|
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-payout", children: [
|
|
2989
|
+
/* @__PURE__ */ jsx(
|
|
2990
|
+
"div",
|
|
2991
|
+
{
|
|
2992
|
+
className: activeForm?.formId !== "payoutCountryDetails" ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
|
|
2993
|
+
children: /* @__PURE__ */ jsx(
|
|
2994
|
+
PayoutCountryDetails,
|
|
2995
|
+
{
|
|
2996
|
+
...payoutCountryDetailsFormProps,
|
|
2997
|
+
legalEntityResponse
|
|
2998
|
+
}
|
|
2999
|
+
)
|
|
3000
|
+
}
|
|
3001
|
+
),
|
|
2792
3002
|
/* @__PURE__ */ jsx(
|
|
2793
3003
|
"div",
|
|
2794
3004
|
{
|
|
@@ -2798,7 +3008,7 @@ function PayoutDetails(props) {
|
|
|
2798
3008
|
{
|
|
2799
3009
|
...verificationMethodFormProps,
|
|
2800
3010
|
id: PayoutVerificationMethodFormID,
|
|
2801
|
-
heading:
|
|
3011
|
+
heading: t(($) => $["addABankAccountForPayouts"]),
|
|
2802
3012
|
country,
|
|
2803
3013
|
accountHolder,
|
|
2804
3014
|
legalEntityResponse,
|
|
@@ -2841,12 +3051,13 @@ function PayoutDetails(props) {
|
|
|
2841
3051
|
PayoutAccount,
|
|
2842
3052
|
{
|
|
2843
3053
|
...payoutAccountFormProps,
|
|
2844
|
-
heading:
|
|
3054
|
+
heading: t(($) => $["addABankAccountForPayouts"]),
|
|
2845
3055
|
id: payoutSteps.payoutAccountDetails.formId,
|
|
2846
3056
|
country: bankCountry,
|
|
2847
3057
|
legalEntityResponse,
|
|
2848
3058
|
arePayoutAccountDetailsInvalid,
|
|
2849
|
-
invalidFieldNames
|
|
3059
|
+
invalidFieldNames,
|
|
3060
|
+
preferredCurrencyCode: globalData?.payoutCountryDetails?.preferredCurrency
|
|
2850
3061
|
}
|
|
2851
3062
|
)
|
|
2852
3063
|
}
|
|
@@ -2862,7 +3073,9 @@ function PayoutDetails(props) {
|
|
|
2862
3073
|
heading: t(
|
|
2863
3074
|
($) => $[isBankStatementDocumentOptional ? "uploadABankDocumentOptional" : "uploadABankDocument"]
|
|
2864
3075
|
),
|
|
2865
|
-
description:
|
|
3076
|
+
description: t(
|
|
3077
|
+
($) => $[legalEntityResponse.type === "individual" ? "toHelpVerifyYourBankDetailsIndividual" : "toHelpVerifyYourBankDetailsBusiness"]
|
|
3078
|
+
),
|
|
2866
3079
|
id: PayoutAccountDocumentsFormID,
|
|
2867
3080
|
legalEntity: legalEntityResponse,
|
|
2868
3081
|
associatedLegalArrangement,
|
|
@@ -2935,15 +3148,23 @@ const mapApiDocumentToPayoutDocuments = (entityId) => {
|
|
|
2935
3148
|
};
|
|
2936
3149
|
const mapPayoutDetailsToTransferInstrument = ({
|
|
2937
3150
|
data,
|
|
2938
|
-
legalEntity
|
|
3151
|
+
legalEntity,
|
|
3152
|
+
enabledCrossBorderPayouts
|
|
2939
3153
|
}) => {
|
|
2940
3154
|
if (!data.payoutAccountDetails || !data.payoutVerificationMethod) {
|
|
2941
3155
|
throw new Error("Missing payout details data");
|
|
2942
3156
|
}
|
|
3157
|
+
if (enabledCrossBorderPayouts && !data.payoutCountryDetails) {
|
|
3158
|
+
throw new Error("Missing payout details data");
|
|
3159
|
+
}
|
|
3160
|
+
const bankCountry = enabledCrossBorderPayouts ? data.payoutCountryDetails?.bankCountry : data.payoutVerificationMethod?.bankCountry;
|
|
3161
|
+
const preferredCurrency = enabledCrossBorderPayouts ? data.payoutCountryDetails?.preferredCurrency : void 0;
|
|
2943
3162
|
return {
|
|
2944
3163
|
bankAccount: mapPayoutAccountSchemaToApiBankAccount(
|
|
2945
3164
|
data.payoutAccountDetails,
|
|
2946
|
-
|
|
3165
|
+
bankCountry,
|
|
3166
|
+
preferredCurrency,
|
|
3167
|
+
enabledCrossBorderPayouts
|
|
2947
3168
|
),
|
|
2948
3169
|
legalEntityId: legalEntity.id,
|
|
2949
3170
|
type: "bankAccount"
|
|
@@ -3057,17 +3278,19 @@ function parsePayoutScenarios({
|
|
|
3057
3278
|
}
|
|
3058
3279
|
return augmentWithCountryConfigs(payoutDetailsCountryConfig[country], formConfig);
|
|
3059
3280
|
}
|
|
3060
|
-
const getAppropriatePayoutDetailsSteps = (isEditing, instantVerificationAvailable, canChangeCountry) => {
|
|
3281
|
+
const getAppropriatePayoutDetailsSteps = (isEditing, instantVerificationAvailable, canChangeCountry, isCrossBorderEnabled) => {
|
|
3061
3282
|
const dependentSteps = {
|
|
3283
|
+
payoutCountryDetails: payoutSteps.payoutCountryDetails,
|
|
3284
|
+
payoutVerificationMethod: payoutSteps.payoutVerificationMethod,
|
|
3062
3285
|
payoutAccountDetails: payoutSteps.payoutAccountDetails,
|
|
3063
3286
|
payoutAccountDocuments: payoutSteps.payoutAccountDocuments,
|
|
3064
3287
|
payoutAccountVerification: payoutSteps.payoutAccountVerification
|
|
3065
3288
|
};
|
|
3066
|
-
if (!
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3289
|
+
if (!isCrossBorderEnabled) {
|
|
3290
|
+
delete dependentSteps["payoutCountryDetails"];
|
|
3291
|
+
}
|
|
3292
|
+
if (isEditing || !instantVerificationAvailable && !canChangeCountry) {
|
|
3293
|
+
delete dependentSteps["payoutVerificationMethod"];
|
|
3071
3294
|
}
|
|
3072
3295
|
return dependentSteps;
|
|
3073
3296
|
};
|
|
@@ -3155,9 +3378,10 @@ function PayoutDetailsDropin({
|
|
|
3155
3378
|
const { showToast, clearToasts } = useToastContext();
|
|
3156
3379
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
3157
3380
|
const { isSettingEnabled } = useSettingsContext();
|
|
3381
|
+
const enabledCrossBorderPayouts = isExperimentEnabled(ExperimentNames.EnableCrossBorderPayouts);
|
|
3158
3382
|
const defaultPayoutCountry = getLegalEntityCountry(legalEntityResponse);
|
|
3159
3383
|
const existingPayoutDetails = useMemo(
|
|
3160
|
-
() => transferInstrument ? mapTransferInstrumentToPayoutAccount(transferInstrument) : void 0,
|
|
3384
|
+
() => transferInstrument ? mapTransferInstrumentToPayoutAccount(transferInstrument, enabledCrossBorderPayouts) : void 0,
|
|
3161
3385
|
[transferInstrument]
|
|
3162
3386
|
);
|
|
3163
3387
|
const [documents, setDocuments] = useState();
|
|
@@ -3175,6 +3399,10 @@ function PayoutDetailsDropin({
|
|
|
3175
3399
|
const taskType = propTaskType ?? TaskTypes.PAYOUT;
|
|
3176
3400
|
const [trustedTransferInstrumentId, setTrustedTransferInstrumentId] = useState();
|
|
3177
3401
|
const prefilledData = {
|
|
3402
|
+
payoutCountryDetails: {
|
|
3403
|
+
bankCountry: existingPayoutDetails?.payoutCountryDetails?.bankCountry ?? defaultPayoutCountry,
|
|
3404
|
+
preferredCurrency: existingPayoutDetails?.payoutCountryDetails?.preferredCurrency
|
|
3405
|
+
},
|
|
3178
3406
|
payoutAccountDetails: {
|
|
3179
3407
|
accountHolder: accountHolderName,
|
|
3180
3408
|
currency: fallbackCurrency,
|
|
@@ -3203,7 +3431,7 @@ function PayoutDetailsDropin({
|
|
|
3203
3431
|
state: { currentState }
|
|
3204
3432
|
} = useStateContext();
|
|
3205
3433
|
const formValidity = currentState.validityByForm;
|
|
3206
|
-
const bankAccountCountry = currentState?.data?.payoutVerificationMethod?.bankCountry ?? defaultPayoutCountry;
|
|
3434
|
+
const bankAccountCountry = (enabledCrossBorderPayouts ? currentState?.data?.payoutCountryDetails?.bankCountry : currentState?.data?.payoutVerificationMethod?.bankCountry) ?? defaultPayoutCountry;
|
|
3207
3435
|
const [hideFooterAndSidebar, setHideFooterAndSidebar] = useState(false);
|
|
3208
3436
|
const [skipSubmit, setSkipSubmit] = useState(false);
|
|
3209
3437
|
const [loadingStatus, setLoadingStatus] = useState("loading");
|
|
@@ -3217,7 +3445,7 @@ function PayoutDetailsDropin({
|
|
|
3217
3445
|
prefilledData.payoutAccountDetails
|
|
3218
3446
|
);
|
|
3219
3447
|
const isMaskedBankAccountNumber = data.payoutAccountDetails?.bankAccountNumber?.includes("*") || data.payoutAccountDetails?.iban?.includes("*");
|
|
3220
|
-
const existingBankAccountFormat = transferInstrument ? existingPayoutDetails?.payoutAccountDetails?.iban ? "iban" : "local" : void 0;
|
|
3448
|
+
const existingBankAccountFormat = transferInstrument ? transferInstrument?.bankAccount?.accountIdentification?.type === "numberAndBic" ? "numberAndBic" : existingPayoutDetails?.payoutAccountDetails?.iban ? "iban" : "local" : void 0;
|
|
3221
3449
|
const checkAsAServiceAnalyticsProps = {
|
|
3222
3450
|
"Experiment name": ExperimentNames.BankVerificationFlowOptimization_CAASIntegration,
|
|
3223
3451
|
"Experiment value": enableCheckOnCreateBankAccount ? "TREATMENT" : "CONTROL"
|
|
@@ -3297,11 +3525,11 @@ function PayoutDetailsDropin({
|
|
|
3297
3525
|
const appropriatePayoutDetailsSteps = getAppropriatePayoutDetailsSteps(
|
|
3298
3526
|
Boolean(prefilledData?.payoutAccountDetails?.transferInstrumentId),
|
|
3299
3527
|
instantVerificationAvailable,
|
|
3300
|
-
isSettingEnabled(SettingNames.AllowIntraRegionCrossBorderPayout)
|
|
3528
|
+
isSettingEnabled(SettingNames.AllowIntraRegionCrossBorderPayout),
|
|
3529
|
+
enabledCrossBorderPayouts
|
|
3301
3530
|
);
|
|
3302
|
-
const { payoutAccountDocuments: _, ...restOfAppropriatePayoutDetailsSteps } = appropriatePayoutDetailsSteps;
|
|
3303
3531
|
if (enableCheckOnCreateBankAccount && !isCheckAsAServiceError && (checkAsAServiceResultStatus === "VALID" || checkAsAServiceResultStatus === void 0) && !isMaskedBankAccountNumber) {
|
|
3304
|
-
|
|
3532
|
+
delete appropriatePayoutDetailsSteps[payoutSteps.payoutAccountDocuments.formId];
|
|
3305
3533
|
}
|
|
3306
3534
|
return appropriatePayoutDetailsSteps;
|
|
3307
3535
|
}, [
|
|
@@ -3409,7 +3637,8 @@ function PayoutDetailsDropin({
|
|
|
3409
3637
|
};
|
|
3410
3638
|
let transferInstrumentFromInput = mapPayoutDetailsToTransferInstrument({
|
|
3411
3639
|
data: dataSubmitted,
|
|
3412
|
-
legalEntity: legalEntityResponse
|
|
3640
|
+
legalEntity: legalEntityResponse,
|
|
3641
|
+
enabledCrossBorderPayouts
|
|
3413
3642
|
});
|
|
3414
3643
|
transferInstrumentFromInput = omitObscuredFieldsIfUnchanged(
|
|
3415
3644
|
["bankAccount.accountIdentification.accountNumber", "bankAccount.accountIdentification.iban"],
|
|
@@ -3471,9 +3700,9 @@ function PayoutDetailsDropin({
|
|
|
3471
3700
|
const formatFileSummaryData = (bankDocuments) => {
|
|
3472
3701
|
const bankStatementDocument = bankDocuments?.bankStatementDocument?.[0];
|
|
3473
3702
|
return {
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3703
|
+
documentType: bankDocuments?.documentType && i18n.get(bankDocuments?.documentType),
|
|
3704
|
+
fileName: bankStatementDocument?.name,
|
|
3705
|
+
description: bankDocuments?.description
|
|
3477
3706
|
};
|
|
3478
3707
|
};
|
|
3479
3708
|
const canSubmit = () => {
|
|
@@ -3493,9 +3722,7 @@ function PayoutDetailsDropin({
|
|
|
3493
3722
|
);
|
|
3494
3723
|
}
|
|
3495
3724
|
if (summaryData.payoutAccountDocuments) {
|
|
3496
|
-
summaryData.payoutAccountDocuments
|
|
3497
|
-
data?.payoutAccountDocuments
|
|
3498
|
-
);
|
|
3725
|
+
summaryData.payoutAccountDocuments = formatFileSummaryData(data?.payoutAccountDocuments);
|
|
3499
3726
|
}
|
|
3500
3727
|
summaryData.payoutAccountVerification = formatAccountVerificationSummary(
|
|
3501
3728
|
data.payoutAccountVerification
|