@adyen/kyc-components 4.23.0 → 4.24.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/4-people-DKuivE0m.js +35 -0
- package/dist/AcceptTermsOfServiceWorkflow-C3JrMbt5.js +28 -0
- package/dist/Accordion-Dgdxfe-d.js +112 -0
- package/dist/AccountSetupRejected-D63dyojj.js +19 -0
- package/dist/AdaptiveWorkflow-XhWdnJv-.js +33 -0
- package/dist/AdaptiveWorkflowComponent-pMWy1Vig.js +166 -0
- package/dist/AddressFields-BC3QHs2u.js +468 -0
- package/dist/Alert-Cc7p0N5h.js +172 -0
- package/dist/AnalyticsContext-CpimDlw4.js +21 -0
- package/dist/Avatar-oTPu6Ejy.js +54 -0
- package/dist/BusinessFinancingDropin-CxHK6KY3.js +1870 -0
- package/dist/BusinessFinancingPage-teAAjQl8.js +89 -0
- package/dist/BusinessRegistrationNumberField-DKka8aVU.js +103 -0
- package/dist/BusinessRegistrationNumberFieldGroup-Df6_sDA0.js +173 -0
- package/dist/BusinessTypeSelectionPage-BETJH6LZ.js +457 -0
- package/dist/Button-DPJ1k02w.js +108 -0
- package/dist/Checkbox-qfdF12cF.js +60 -0
- package/dist/ComponentGroup-SozxzKWw.js +32 -0
- package/dist/Confirm-DoN9R9Z3.js +77 -0
- package/dist/ConstitutionalDocument-Bxsr1hQb.js +1229 -0
- package/dist/ContactDetails-CiWftLi4.js +516 -0
- package/dist/ContextGuidance-BQPwRscq.js +29 -0
- package/dist/ContractViewer-CG9UNGz1.js +1030 -0
- package/dist/CountryField-DT6-Jr_b.js +38 -0
- package/dist/Currency-oeXHRWzy.js +211 -0
- package/dist/CustomerSupport-D0bE0zga.js +141 -0
- package/dist/DataConflictsModal-CCaMgguu.js +238 -0
- package/dist/DebugModal-Cvp7_Z-i.js +456 -0
- package/dist/DecisionMakerDetails-Bbb_8up2.js +569 -0
- package/dist/DecisionMakerDetailsPage-BDTMzs1X.js +121 -0
- package/dist/DecisionMakers-maoFXpGe.js +594 -0
- package/dist/Dropzone-ttbRg2LI.js +250 -0
- package/dist/EmbeddedStatus-CYd2p4sP.js +129 -0
- package/dist/EndStateLayout-zZPm8S5M.js +83 -0
- package/dist/EntityAssociation-C2_Xuvf5.js +163 -0
- package/dist/ErrorPanel-D4JNFkvi.js +205 -0
- package/dist/Field-DwDJQVSS.js +154 -0
- package/dist/FormFlow.module-DqMxjYHl.js +20 -0
- package/dist/GlobalEntryModal-CLoPJXFE.js +1203 -0
- package/dist/GlobalEntryPage-DNPSSZ3M.js +78 -0
- package/dist/Header-DVLlJ6we.js +93 -0
- package/dist/Icon-4XR6gZzk.js +175 -0
- package/dist/IdentityNumber-3V6ZqvHB.js +540 -0
- package/dist/IdentityNumberFieldGroup-CAjlgTWn.js +57 -0
- package/dist/IdentityScreeningWorkflow-CBStT1hs.js +307 -0
- package/dist/Image-Bn_Yyuof.js +33 -0
- package/dist/IndividualDropin-0t7Oj71F.js +4175 -0
- package/dist/IndustryCodeFieldGroup-C3Zro2ds.js +189 -0
- package/dist/InputDate-Bq3Sb-ZW.js +211 -0
- package/dist/InputText-CFDEmEtp.js +119 -0
- package/dist/Introduction-z2SqIq1W.js +326 -0
- package/dist/InvitedDecisionMakerComponent-CZOVc-t9.js +481 -0
- package/dist/JpAddressFields-F1YCOcbO.js +288 -0
- package/dist/LandingLayout-BsIoIFzs.js +76 -0
- package/dist/LegalCompanyNameField-Cosyjk52.js +108 -0
- package/dist/LegalName-CtqIpsfy.js +33 -0
- package/dist/LegalRepresentativeDetailsPage-DwIARCpj.js +73 -0
- package/dist/Link-CvYhseSD.js +32 -0
- package/dist/ListItem-CYTpdOMa.js +70 -0
- package/dist/Loader-BVtlpTeo.js +92 -0
- package/dist/LoaderWrapper-Dc88hY-P.js +34 -0
- package/dist/MaybeModal-C4ySaA8A.js +24 -0
- package/dist/Modal-CHES6970.js +109 -0
- package/dist/Name-CdCsijr5.js +61 -0
- package/dist/NewSummary-D55f70wB.js +73 -0
- package/dist/NodeRenderer-B3G7pvjG.js +185 -0
- package/dist/PatriotActDisclosure-DqUZeLms.js +266 -0
- package/dist/PayoutDetailsDropin-LKMpfono.js +4104 -0
- package/dist/PayoutDetailsPage-KNHCeXgk.js +69 -0
- package/dist/ProgressBar-DWFxLMUA.js +38 -0
- package/dist/RadioGroup-Bf3DlQnZ.js +47 -0
- package/dist/RadioWithLabel-DQIOEYpF.js +45 -0
- package/dist/Review-CS_-zAlg.js +99 -0
- package/dist/RootBusinessDetailsPage-1z2_FAb6.js +67 -0
- package/dist/RootBusinessLinesPage-BgbkJaW8.js +1464 -0
- package/dist/RootIndividualDetailsPage-DA4hh_gc.js +82 -0
- package/dist/Select-phAxjMBQ.js +782 -0
- package/dist/SignPCIComponent-tBnZMn1u.js +373 -0
- package/dist/SingpassSelection-B6_DsZtn.js +156 -0
- package/dist/SoleProprietorshipPage-2s1kA9ZV.js +69 -0
- package/dist/SourceOfFundsPage-CTjUdOWK.js +2800 -0
- package/dist/SourceOfFundsWorkflow-BZabOpi_.js +28 -0
- package/dist/StateContext-B2_Pqd_y.js +9 -0
- package/dist/StateField-BpMwetvd.js +55 -0
- package/dist/Step-C6XxGAda.js +191 -0
- package/dist/StructuredList-nPasiuLi.js +56 -0
- package/dist/Summary-DM31WxLr.js +235 -0
- package/dist/Task-DwGA1eXE.js +129 -0
- package/dist/TaskGroup-T594JSYM.js +46 -0
- package/dist/TaskListItem-Dx3hKOqG.js +123 -0
- package/dist/TaskStepperContextProvider-DdcsqXT7.js +26 -0
- package/dist/TaskVerificationStatus-DEXk_ndE.js +125 -0
- package/dist/TaxInformationField-CV7SpMH1.js +242 -0
- package/dist/TaxInformationFieldGroup-DI2LzuNr.js +290 -0
- package/dist/TaxReportingDropin-xYwJ-ju7.js +480 -0
- package/dist/TaxReportingWorkflow-BHyHgiI-.js +28 -0
- package/dist/TermsOfServiceManagement-CNQ4J5Gn.js +644 -0
- package/dist/TextArea-qGEo3PFG.js +81 -0
- package/dist/TileGroup-D1-M64Ul.js +172 -0
- package/dist/ToastContext-B_wd2IY2.js +13 -0
- package/dist/ToastContextProvider-DjYKMflX.js +103 -0
- package/dist/TrustDetailsPage-Byj68n3F.js +1172 -0
- package/dist/TrustMemberCompanyPage-Bcz4Ql7s.js +108 -0
- package/dist/TrustMemberIndividualPage-D6CgWF88.js +108 -0
- package/dist/TrustMemberRoleAndTypePage-IUp5FVRW.js +937 -0
- package/dist/TrustMembersOverview-7EoKoSMg.js +453 -0
- package/dist/UboTaskItem-BmcGj5_U.js +115 -0
- package/dist/UnincorporatedPartnershipIndividualPage-BKpJDhhU.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-D8VliL0i.js +78 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-D00bHhyf.js +256 -0
- package/dist/UnincorporatedPartnershipMembersOverview-Dw5IMSkd.js +160 -0
- package/dist/VerificationErrorAlert-CixajVtq.js +38 -0
- package/dist/Workflow-CWzMRGHX.js +228 -0
- package/dist/_rolldown_dynamic_import_helper-sGNwd-kR.js +14 -0
- package/dist/accountHolderUtils-CAu4V0ed.js +43 -0
- package/dist/adyen-business-financing.js +38 -37
- package/dist/adyen-individual-configuration.js +65 -65
- package/dist/adyen-individual-status.js +35 -34
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +109 -101
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +9 -8
- package/dist/adyen-transfer-instrument-configuration.js +62 -61
- package/dist/adyen-transfer-instrument-management.js +76 -70
- package/dist/adyen-verification-status.js +10 -8
- package/dist/arrow-right-D2hul7WG.js +20 -0
- package/dist/bafinUtils-DDrD6bfK.js +96 -0
- package/dist/bag-CRRS1aow.js +20 -0
- package/dist/bank-BoirCLLW.js +20 -0
- package/dist/bg-BG-B0Ia8sQm.js +7 -0
- package/dist/bg-BG-B2xaZ3wB.js +7 -0
- package/dist/bg-BG-DAR7_x2a.js +7 -0
- package/dist/bg-BG-DqfAUTUt.js +7 -0
- package/dist/bg-BG-ivZjQNJZ.js +7 -0
- package/dist/bin-BOmfqfrr.js +30 -0
- package/dist/birthDateUtils-D6uk7zwm.js +84 -0
- package/dist/businessRegistrationNumberPatterns-A08SLm03.js +982 -0
- package/dist/capital-DTjbiurV.js +23 -0
- package/dist/cash-stack-7KpYpBek.js +33 -0
- package/dist/certificate-BPuoJ6Ip.js +23 -0
- package/dist/checkmark-BiSLf8M1.js +20 -0
- package/dist/checkmark-circle-Ams7bSve.js +28 -0
- package/dist/checkmark-circle-fill-_p4ss4ac.js +30 -0
- package/dist/checkmark-small-3bw4ftPV.js +20 -0
- package/dist/chevron-down-GgZawvoy.js +20 -0
- package/dist/chevron-left-TeZTTvo5.js +20 -0
- package/dist/chevron-right-Cg8XlTxx.js +20 -0
- package/dist/chevron-up-COQUTli0.js +20 -0
- package/dist/circle-CypWzg83.js +30 -0
- package/dist/circle-small-filled-DfdK2A35.js +20 -0
- package/dist/clock-DmfGJ2r9.js +28 -0
- package/dist/coins-CBvbB8_X.js +30 -0
- package/dist/constants-C8yo0_RA.js +233 -0
- package/dist/contract-D1_RJ_xh.js +20 -0
- package/dist/countries-BGMTpyJv.js +41 -0
- package/dist/country-BEZkohEO.js +25 -0
- package/dist/cross-BORHADVQ.js +20 -0
- package/dist/cross-circle-fill-CUXdo1x-.js +30 -0
- package/dist/cross-circle-fill-small-DdoPZZeo.js +20 -0
- package/dist/cs-CZ-BwO4yrI4.js +7 -0
- package/dist/cs-CZ-CHMQYoMF.js +7 -0
- package/dist/cs-CZ-DsKlW7_D.js +7 -0
- package/dist/cs-CZ-NVntX32n.js +7 -0
- package/dist/cs-CZ-ywYpJk1F.js +7 -0
- package/dist/da-DK-BvT8Ob4A.js +7 -0
- package/dist/da-DK-BzBfkSME.js +7 -0
- package/dist/da-DK-CE7jnGea.js +7 -0
- package/dist/da-DK-DH5YNYFM.js +7 -0
- package/dist/da-DK-LPtdP8h0.js +7 -0
- package/dist/datasetUtil-BdHPWsxZ.js +45 -0
- package/dist/de-DE-C9cUCFOi.js +7 -0
- package/dist/de-DE-Cn866nnd.js +7 -0
- package/dist/de-DE-DA4LpyZI.js +7 -0
- package/dist/de-DE-DKkoZQ0X.js +7 -0
- package/dist/de-DE-DY_EJohI.js +7 -0
- package/dist/de-DE-vdy64knk.js +7 -0
- package/dist/debouncedInputEvent-Fwwp_K_-.js +54 -0
- package/dist/debugStore-Dwn1FXrh.js +9 -0
- package/dist/decision-makers-group-iEF9oKPp.js +2673 -0
- package/dist/decisionMakerRoles-C6LMC4mh.js +185 -0
- package/dist/document-1-qvV57JdS.js +20 -0
- package/dist/document-person-DiJ7M8-D.js +28 -0
- package/dist/download-Ca4w0Yfr.js +23 -0
- package/dist/dropinUtils-DTBezwYT.js +491 -0
- package/dist/edit-1-D8VhDchs.js +20 -0
- package/dist/el-GR-ChapyKa7.js +7 -0
- package/dist/el-GR-Cvms0L4K.js +7 -0
- package/dist/el-GR-D9PjIB9j.js +7 -0
- package/dist/el-GR-Ov9hqMNe.js +7 -0
- package/dist/el-GR-aelq5Q0a.js +7 -0
- package/dist/el-GR-zFv0QxMR.js +7 -0
- package/dist/en-US-B7HQdrn_.js +7 -0
- package/dist/en-US-CI7y0UEH.js +7 -0
- package/dist/en-US-C_VjFvk_.js +7 -0
- package/dist/en-US-Cz4JoU20.js +41 -0
- package/dist/en-US-DPr5RN3e.js +7 -0
- package/dist/en-US-U0d3NI20.js +7 -0
- package/dist/en-US-tFsDZf7y.js +7 -0
- package/dist/entityAssociationUtil-CY0grcyH.js +58 -0
- package/dist/error-BvgoQFEI.js +36 -0
- package/dist/es-ES-BQrdtEfn.js +7 -0
- package/dist/es-ES-BdByhG4y.js +7 -0
- package/dist/es-ES-BzlHKYJK.js +7 -0
- package/dist/es-ES-DCUvAmKI.js +7 -0
- package/dist/es-ES-DdrA8McY.js +7 -0
- package/dist/es-ES-DhkTbihW.js +7 -0
- package/dist/es-LA-3WgncmHx.js +7 -0
- package/dist/es-LA-BxtxM3Ty.js +7 -0
- package/dist/es-LA-ChRHGYJP.js +7 -0
- package/dist/es-LA-JRuDva0n.js +7 -0
- package/dist/es-LA-i7tKJmA8.js +7 -0
- package/dist/et-EE-BXY66vAz.js +7 -0
- package/dist/et-EE-D8TSvkoE.js +7 -0
- package/dist/et-EE-DOgb4q9o.js +7 -0
- package/dist/et-EE-HHgM0CfO.js +7 -0
- package/dist/et-EE-V-YOCgoh.js +7 -0
- package/dist/external-link-Dy4le-8Q.js +20 -0
- package/dist/fi-FI-B-eTv4bG.js +7 -0
- package/dist/fi-FI-CClpbvJJ.js +7 -0
- package/dist/fi-FI-CVBmM-U1.js +7 -0
- package/dist/fi-FI-DCYPQ6vS.js +7 -0
- package/dist/fi-FI-DCbhu29J.js +7 -0
- package/dist/fieldConfigurations-CZCFghnK.js +11 -0
- package/dist/form-rules-B0RwhsVw.js +284 -0
- package/dist/formFieldsUtils-CnDkgahc.js +7 -0
- package/dist/formUtils-BHgG8yQZ.js +52 -0
- package/dist/formUtils-DVDcdZsP.js +84 -0
- package/dist/formatCurrency-BetgkQKi.js +23 -0
- package/dist/formatValidationError-q_w9DTrl.js +23 -0
- package/dist/fr-FR-B-jA_cbo.js +7 -0
- package/dist/fr-FR-BIyJL6Jj.js +7 -0
- package/dist/fr-FR-BzyefnBh.js +7 -0
- package/dist/fr-FR-C1xYwHeC.js +7 -0
- package/dist/fr-FR-D0hY9V44.js +7 -0
- package/dist/fr-FR-Doo1FVx-.js +7 -0
- package/dist/genUtils-nphCwt1A.js +60 -0
- package/dist/getDefaultRegistrationNumberType-CIu4WMln.js +1056 -0
- package/dist/getFormSlice-C1ma6Xd4.js +21 -0
- package/dist/getLegalEntityCountry-BK-HHa65.js +15 -0
- package/dist/getName-DgxRqagk.js +34 -0
- package/dist/getProblemsForEntity-Bn6dXidE.js +16 -0
- package/dist/getTrustedDecisionMakers-Ta-pURcL.js +25 -0
- package/dist/getTrustedFields-BJ88GlM-.js +28 -0
- package/dist/gift-Bs_mAgul.js +20 -0
- package/dist/globalStore-WASei98w.js +418 -0
- package/dist/graph-Co0JhGiY.js +32 -0
- package/dist/graph-up-DIvH9haf.js +38 -0
- package/dist/headquarter-BESfDGKh.js +42 -0
- package/dist/hotel-Vne7G5M6.js +33 -0
- package/dist/hr-HR-6Wj5Tf60.js +7 -0
- package/dist/hr-HR-B4FRVzrd.js +7 -0
- package/dist/hr-HR-B6z7-PYE.js +7 -0
- package/dist/hr-HR-BOYktLQ2.js +7 -0
- package/dist/hr-HR-Ct_41fWV.js +7 -0
- package/dist/http-fdIO--pH.js +204 -0
- package/dist/hu-HU-B7ofWKn_.js +7 -0
- package/dist/hu-HU-Bwm4UqZz.js +7 -0
- package/dist/hu-HU-CO_7jvk9.js +7 -0
- package/dist/hu-HU-CgJ_F3l2.js +7 -0
- package/dist/hu-HU-DXK7B0r_.js +7 -0
- package/dist/image-BQM21XCk.js +23 -0
- package/dist/info-DExoPRH5.js +32 -0
- package/dist/info-filled-11KMeUso.js +32 -0
- package/dist/invalidateRootLegalEntity-BHaVREw-.js +45 -0
- package/dist/isEmpty-Uewyl-r6.js +14 -0
- package/dist/isEmptyEntity-3OHnhXqG.js +43 -0
- package/dist/it-IT-BFIW0DCO.js +7 -0
- package/dist/it-IT-CNr6PIu3.js +7 -0
- package/dist/it-IT-CQVFYSVx.js +7 -0
- package/dist/it-IT-DfGdOsTs.js +7 -0
- package/dist/it-IT-DgRuEpeD.js +7 -0
- package/dist/it-IT-tZ7dP-Ia.js +7 -0
- package/dist/ja-JP--tMJF7eu.js +7 -0
- package/dist/ja-JP-BjMyxZiN.js +7 -0
- package/dist/ja-JP-Ct54-uwM.js +7 -0
- package/dist/ja-JP-CtX9NZKD.js +7 -0
- package/dist/ja-JP-DAClbueM.js +7 -0
- package/dist/ja-JP-DOuEAOlh.js +7 -0
- package/dist/keys-Ce8YnRP2.js +20 -0
- package/dist/legalArrangementUtils-C68JdH6I.js +114 -0
- package/dist/listToRecord-DumSkYDz.js +10 -0
- package/dist/location-zRH5zJ8c.js +23 -0
- package/dist/lt-LT-BUuouq_-.js +7 -0
- package/dist/lt-LT-Cs3cvyKf.js +7 -0
- package/dist/lt-LT-DQp7UGdC.js +7 -0
- package/dist/lt-LT-DoYCfhZU.js +7 -0
- package/dist/lt-LT-DqtpAjOg.js +7 -0
- package/dist/lv-LV-BCXqSzkk.js +7 -0
- package/dist/lv-LV-BW0BscAd.js +7 -0
- package/dist/lv-LV-C3p57pZV.js +7 -0
- package/dist/lv-LV-ZmyUvPst.js +7 -0
- package/dist/lv-LV-cKvnQI3j.js +7 -0
- package/dist/mail-i1-zg-cv.js +20 -0
- package/dist/mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js +26 -0
- package/dist/mapExistingFile-BkwRTTRm.js +55 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js +74 -0
- package/dist/mapLegalEntityToIndividualSchema-CBKR-InO.js +251 -0
- package/dist/mapScriptLocalization-BCfkZo1y.js +46 -0
- package/dist/mapTransferInstrumentToPayoutAccount-ROfaTly6.js +44 -0
- package/dist/maskHelpers-C0wnCoJl.js +719 -0
- package/dist/minus-circle-filled-CxUdRO8J.js +30 -0
- package/dist/nl-NL-B77Xr99l.js +7 -0
- package/dist/nl-NL-BUwMAW5C.js +7 -0
- package/dist/nl-NL-B_MaTF5h.js +7 -0
- package/dist/nl-NL-CePL3t7P.js +7 -0
- package/dist/nl-NL-DR5SCDAF.js +7 -0
- package/dist/nl-NL-DqGE4Nz5.js +7 -0
- package/dist/no-NO-BePxpMbr.js +7 -0
- package/dist/no-NO-DGCfRiU8.js +7 -0
- package/dist/no-NO-DdI2BI_e.js +7 -0
- package/dist/no-NO-P8SZ1t-h.js +7 -0
- package/dist/no-NO-oL1v_O9N.js +7 -0
- package/dist/options-horizontal-D86T_xAF.js +30 -0
- package/dist/partner-Dje0ykF6.js +30 -0
- package/dist/patternValidators-DsrZkuOO.js +73 -0
- package/dist/pay-by-link-plane-DAiddPu6.js +33 -0
- package/dist/payout-DKiGv3F9.js +38 -0
- package/dist/pdf-CC8vqpTo.js +22320 -0
- package/dist/pdf.worker.min-CdKJICZZ.js +75124 -0
- package/dist/person-DgALGIIz.js +23 -0
- package/dist/pl-PL-6Q3Ue3F5.js +7 -0
- package/dist/pl-PL-B5PBixAB.js +7 -0
- package/dist/pl-PL-BCkw9R28.js +7 -0
- package/dist/pl-PL-BY6KUTBO.js +7 -0
- package/dist/pl-PL-D-s-JI6X.js +7 -0
- package/dist/plus-DlQKP2C9.js +20 -0
- package/dist/plus-circle-filled-BntUOVIJ.js +30 -0
- package/dist/processCapabilities-CWE5UFt8.js +870 -0
- package/dist/processValidationErrors-CjsNfiRK.js +62 -0
- package/dist/pt-BR-B_XHiDCU.js +7 -0
- package/dist/pt-BR-BvNR77Ru.js +7 -0
- package/dist/pt-BR-CrLCMcSz2.js +7 -0
- package/dist/pt-BR-MrUfWW4a.js +7 -0
- package/dist/pt-BR-vwt2tE7H.js +7 -0
- package/dist/pt-PT-B17is9TY.js +7 -0
- package/dist/pt-PT-BZNPd_Tb.js +7 -0
- package/dist/pt-PT-DDYnXawl.js +7 -0
- package/dist/pt-PT-DhF8wwYH.js +7 -0
- package/dist/pt-PT-Du2K44jh.js +7 -0
- package/dist/pt-PT-qAzFgjvF.js +7 -0
- package/dist/recurring-DZgT_ekJ.js +23 -0
- package/dist/resolveEnvironment-B3aGkYuN.js +1000 -0
- package/dist/revenue-accelerate-aMLYFVW6.js +30 -0
- package/dist/ro-RO-B3Fcn95o.js +7 -0
- package/dist/ro-RO-BA5GhaCE.js +7 -0
- package/dist/ro-RO-BmHe4pZ-.js +7 -0
- package/dist/ro-RO-DChAv29z.js +7 -0
- package/dist/ro-RO-W1t7Mnbn.js +7 -0
- package/dist/roleMetadata-Dm1FVuPT.js +56 -0
- package/dist/save-uDNye08N.js +20 -0
- package/dist/search-0OS6oe8N.js +30 -0
- package/dist/show-BWoS9-Y1.js +23 -0
- package/dist/sk-SK-BeNF_m_j.js +7 -0
- package/dist/sk-SK-C9CiQLgt.js +7 -0
- package/dist/sk-SK-CISCMQ2G.js +7 -0
- package/dist/sk-SK-CcoUWnJ4.js +7 -0
- package/dist/sk-SK-D10Kpths.js +7 -0
- package/dist/sl-SI-Bxu4m_5e.js +7 -0
- package/dist/sl-SI-DCMml0lX.js +7 -0
- package/dist/sl-SI-DmYiMn91.js +7 -0
- package/dist/sl-SI-DxomO9JQ.js +7 -0
- package/dist/sl-SI-Qe4hzx5a.js +7 -0
- package/dist/solution-payments-BMal7uJZ.js +20 -0
- package/dist/store-N7ZA4FKy.js +20 -0
- package/dist/style.css +2341 -2252
- package/dist/styles-DYaAeu4q.js +2337 -2248
- package/dist/summaryItem-uDWmtYtt.js +16 -0
- package/dist/sv-SE-B-CXDaXM.js +7 -0
- package/dist/sv-SE-BzPNBHOj.js +7 -0
- package/dist/sv-SE-C9SgeFv6.js +7 -0
- package/dist/sv-SE-DESDUMyu.js +7 -0
- package/dist/sv-SE-Dq6oK7B5.js +7 -0
- package/dist/sv-SE-issaSBHd.js +7 -0
- package/dist/terminal-1-0RlQpbUC.js +30 -0
- package/dist/toFullWidth-Dgy4X4i8.js +52 -0
- package/dist/translation-DbATp_35.js +684 -0
- package/dist/trustUtil-5cyXiJnX.js +98 -0
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/utils/utils.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +12 -12
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -2
- package/dist/types/api/documents/documents.types.d.ts +9 -0
- package/dist/types/api/documents/useCreateDocument.d.ts +10 -3
- package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +10 -2
- package/dist/types/api/documents/useUpdateDocument.d.ts +3 -3
- package/dist/types/api/invitedEntity/getInvitedEntityProblems.d.ts +1 -1
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +32 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +92 -92
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +14 -14
- package/dist/types/api/taskStatus/useTaskStatuses.d.ts +1 -1
- package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +18 -0
- package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/components/Apps/tasks/TaskList/TaskList.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/AccountHolderDescriptionFragment.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +3 -3
- package/dist/types/components/BankAccount/mapping/mapPayoutDocumentsToApiDocuments.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +8 -4
- package/dist/types/components/BankAccount/tasks/PayoutAccount/PayoutAccountTaskListItem.d.ts +2 -2
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +1 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +4 -4
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -4
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +4 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
- package/dist/types/components/Business/utils/buildRequiredForms.d.ts +1 -1
- package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +1 -2
- package/dist/types/components/Business/utils/utils.d.ts +2 -15
- package/dist/types/components/BusinessLines/tasks/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +33 -33
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +2 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +2 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -4
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +2 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +1 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -5
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingGettingStarted.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageIndividualComponent/ManageIndividualComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
- package/dist/types/components/GlobalEntry/companyTypeMetadata.d.ts +10 -0
- package/dist/types/components/GlobalEntry/forms/CompanyStructure/CompanyStructure.d.ts +3 -0
- package/dist/types/components/GlobalEntry/forms/CompanyStructure/types.d.ts +10 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +1 -1
- package/dist/types/components/GlobalEntry/mapping/globalEntryKeyMapping.d.ts +15 -0
- package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +6 -0
- package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +9 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -0
- package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +16 -0
- package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +12 -0
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +20 -0
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +18 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +3 -1
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +8 -8
- package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -3
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -4
- package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +28 -0
- package/dist/types/components/Individual/helpers/hasLiveSelfieError.d.ts +11 -0
- package/dist/types/components/Individual/helpers/isManualVerificationOrExistingDoc.d.ts +13 -0
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +4 -4
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +34 -10
- package/dist/types/components/Individual/tasks/DecisionMakers/getTrustedDecisionMakers.d.ts +2 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +1 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +2 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/constants.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
- package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
- package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +1 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/findExistingTaxInformation.d.ts +10 -0
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -4
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +107 -8
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +7 -6
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +1 -2
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -4
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +1 -1
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +1 -1
- package/dist/types/components/Trust/mapping/mapTrustDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/mapping/trustKeyMappings.d.ts +4 -4
- package/dist/types/components/Trust/mapping/trustMembers/getTrustMembers.d.ts +1 -1
- package/dist/types/components/Trust/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +3 -4
- package/dist/types/components/Trust/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +3 -4
- package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +5 -6
- package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/unincorporatedPartnershipKeyMappings.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +3 -4
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +0 -4
- package/dist/types/core/errorMapping.d.ts +3 -4
- package/dist/types/core/models/api/accountIdentification.d.ts +5 -1
- package/dist/types/core/models/api/legal-entity-association.d.ts +0 -19
- package/dist/types/core/process-field-configurations.d.ts +4 -6
- package/dist/types/core/user-events.d.ts +2 -4
- package/dist/types/hooks/introduction/useCanSeeIntroduction.d.ts +1 -1
- package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +1 -1
- package/dist/types/hooks/introduction/useShouldShowIntroduction.d.ts +1 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -2
- package/dist/types/hooks/useAssociatedLegalRepresentative.d.ts +1 -1
- package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -2
- package/dist/types/hooks/useLegalEntityType.d.ts +1 -2
- package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -1
- package/dist/types/router/DefaultRouteRedirect.d.ts +1 -1
- package/dist/types/router/OnboardingRouter.d.ts +1 -2
- package/dist/types/router/getDefaultTask.d.ts +1 -1
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +3 -5
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +3 -5
- package/dist/types/stores/globalStore/get-task-status.d.ts +4 -4
- package/dist/types/stores/globalStore/globalStore.d.ts +3 -5
- package/dist/types/stores/globalStore/isEmptyEntity.d.ts +1 -1
- package/dist/types/types/businessEntityType.d.ts +1 -2
- package/dist/types/types/errors/capability-problems.d.ts +5 -1
- package/dist/types/types/errors/entity-problems.d.ts +8 -5
- package/dist/types/types/form-rules.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +1 -1
- package/dist/types/utils/addLinkedFields.d.ts +2 -2
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +4 -4
- package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +2 -3
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +2 -2
- package/dist/types/utils/api/documentUtils.d.ts +21 -10
- package/dist/types/utils/api/getProblemsForEntity.d.ts +1 -1
- package/dist/types/utils/api/processCapabilities.d.ts +11 -4
- package/dist/types/utils/bankUtils.d.ts +5 -0
- package/dist/types/utils/birthDateUtils.d.ts +6 -1
- package/dist/types/utils/businessUtils.d.ts +21 -6
- package/dist/types/utils/customerSupportUtils.d.ts +2 -3
- package/dist/types/utils/decisionMakerRoles.d.ts +4 -5
- package/dist/types/utils/entityAssociationUtil.d.ts +21 -12
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
- package/dist/types/utils/getName.d.ts +3 -3
- package/dist/types/utils/getTrustedFields.d.ts +4 -5
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +2 -2
- package/dist/types/utils/mapping/getPage.d.ts +3 -4
- package/dist/types/utils/mapping/mappingRecord.d.ts +1 -1
- package/dist/types/utils/roleMetadata.d.ts +1 -1
- package/dist/types/utils/unincorporatedParnershipUtils.d.ts +4 -4
- package/dist/types-B9zXzag-.js +18 -0
- package/dist/types-BA3bcGAv.js +58 -0
- package/dist/types-CZAHRt31.js +147 -0
- package/dist/types-Cwq1JAWT.js +31 -0
- package/dist/upload-C5NC1E4N.js +23 -0
- package/dist/uppercase-DvjwUM0n.js +7 -0
- package/dist/useAccountHolder-DDto9d9n.js +102 -0
- package/dist/useAdaptiveWorkflow-DryNv0zI.js +28 -0
- package/dist/useAllowedCountries-C-nqVePW.js +80 -0
- package/dist/useAnalyticsContext-gSnRnYgV.js +12 -0
- package/dist/useAssociatedLegalEntity-DtZtKlls.js +35 -0
- package/dist/useBusinessDetailsData-DFU0dLxw.js +4732 -0
- package/dist/useBusinessLines-BZfFqvS_.js +27 -0
- package/dist/useCanSeeIntroduction-DQbanJNE.js +38 -0
- package/dist/useCreateLegalEntity-qP7MeAmi.js +24 -0
- package/dist/useDataMissingRemediations-ttUrk09_.js +39 -0
- package/dist/useDataset-CdLBLq98.js +98 -0
- package/dist/useDeleteTransferInstrument-Dtv14H9I.js +31 -0
- package/dist/useForm-CWrbJG44.js +504 -0
- package/dist/useHideTaskStepper-Dk7ZQ3U8.js +26 -0
- package/dist/useId-BkDhUta2.js +28 -0
- package/dist/useIndustryCodes-BMK6IMiW.js +32 -0
- package/dist/useLegalEntity-DHA8TJeV.js +48 -0
- package/dist/useMultiForm-BxASst0O.js +790 -0
- package/dist/useNavigate-CO1Mcekp.js +246 -0
- package/dist/useOnboardingStatus-Cz6-hSX4.js +23 -0
- package/dist/usePciQuestionnaireList-CWz7Ngs6.js +26 -0
- package/dist/useSalesChannels-bV9DgyLW.js +47 -0
- package/dist/useScenarios-Bn93htbx.js +55 -0
- package/dist/useSettingsContext-9O3Aqpfq.js +12 -0
- package/dist/useTaskLandedEvent-DwZHcMEQ.js +26 -0
- package/dist/useTaskStatus-DJxOWvuN.js +23 -0
- package/dist/useTermsOfServiceStatus-CyVxYqpg.js +39 -0
- package/dist/useToastContext-B6Mqc2HY.js +12 -0
- package/dist/useToggleContext-B_YexrbT.js +21 -0
- package/dist/useTrustMembers-DWo3WU8M.js +151 -0
- package/dist/useUnincorporatedPartnershipMembers-DwFPW09D.js +69 -0
- package/dist/useUpdateBusinessLines-JRPjqoe9.js +43 -0
- package/dist/useUpdateLegalEntity-CqmqXsbR.js +29 -0
- package/dist/utils-BWumuCvl.js +210 -0
- package/dist/utils-CJcGZvj1.js +178 -0
- package/dist/utils-CYUYe54m.js +24 -0
- package/dist/utils-Ck_mZapQ.js +1755 -0
- package/dist/utils-DdHbAadK.js +80 -0
- package/dist/utils-SKYT7xU4.js +52 -0
- package/dist/validate-BZ1-ZeKr.js +430 -0
- package/dist/validate-DTz70AWN.js +224 -0
- package/dist/validate-DUcT-JGF.js +178 -0
- package/dist/validate-Dr8UKZCX.js +126 -0
- package/dist/validateExtractionResult-CntKbt8c.js +343 -0
- package/dist/validationError-DV6t8Ubb.js +55 -0
- package/dist/validationResult-bjYBDjbU.js +29 -0
- package/dist/validatorUtils-D2O6AAZn.js +106 -0
- package/dist/warning-circle-fill-C2lMYPJW.js +30 -0
- package/dist/warning-diamond-filled-CQ2DdW5g.js +30 -0
- package/dist/webinar-BpZWqd-g.js +33 -0
- package/package.json +26 -26
- package/dist/4-people-Dxu4nHSX.js +0 -35
- package/dist/AcceptTermsOfServiceWorkflow-CvKbU2WY.js +0 -28
- package/dist/Accordion-Sjyj7C_t.js +0 -112
- package/dist/AccountSetupRejected-Cq_nlmLn.js +0 -18
- package/dist/AdaptiveWorkflow-CM7ZVGXv.js +0 -210
- package/dist/AdaptiveWorkflowComponent-tM1hJ1zF.js +0 -165
- package/dist/AddressFields-BsxEdBvQ.js +0 -464
- package/dist/Avatar-Zp1T9qAL.js +0 -54
- package/dist/BusinessFinancingDropin-vugW4Vvi.js +0 -1857
- package/dist/BusinessFinancingPage-0J_LImeN.js +0 -89
- package/dist/BusinessRegistrationNumberField-qdC_srMn.js +0 -101
- package/dist/BusinessRegistrationNumberFieldGroup-BvC9n4ou.js +0 -171
- package/dist/BusinessTypeSelectionPage-WCEqP4G2.js +0 -457
- package/dist/Button-DfRmINzF.js +0 -108
- package/dist/Checkbox-B730k3Yy.js +0 -108
- package/dist/ComponentGroup-CsnkYMbT.js +0 -32
- package/dist/ConstitutionalDocument-D92EPGmG.js +0 -1224
- package/dist/ContactDetails-DDSd6X0z.js +0 -511
- package/dist/ContextGuidance-B2ew1lzC.js +0 -29
- package/dist/ContractViewer-JtnAXSDa.js +0 -979
- package/dist/Currency-BKTf95Wp.js +0 -210
- package/dist/CustomerSupport-CCFayyJG.js +0 -140
- package/dist/DataConflictsModal-D-fP_eNs.js +0 -237
- package/dist/DebugModal-CG6CvUnj.js +0 -450
- package/dist/DecisionMakerDetails-DWC1nORL.js +0 -565
- package/dist/DecisionMakerDetailsPage-BVXA74FO.js +0 -122
- package/dist/DecisionMakers-Cvm_i6Uf.js +0 -589
- package/dist/Dropzone-CNHxDEc3.js +0 -250
- package/dist/EmbeddedStatus-tbJfdxm8.js +0 -129
- package/dist/EndStateLayout-BK1Hh02g.js +0 -83
- package/dist/EntityAssociation-i903L9Dh.js +0 -163
- package/dist/ErrorPanel-tnFOlOZU.js +0 -205
- package/dist/GlobalEntryModal-DQoIIvGS.js +0 -975
- package/dist/GlobalEntryPage-DLRGPpAu.js +0 -78
- package/dist/Icon-C3S5_kkS.js +0 -175
- package/dist/IdentityNumber-B8MXzXsO.js +0 -536
- package/dist/IdentityNumberFieldGroup-D7xb2TY7.js +0 -57
- package/dist/IdentityScreeningWorkflow-BdGXtdns.js +0 -307
- package/dist/Image-D82terx4.js +0 -33
- package/dist/IndividualDropin-C0vTSDYU.js +0 -4138
- package/dist/IndustryCodeFieldGroup-CGcE5yYR.js +0 -188
- package/dist/InputDate-Ci60MBrH.js +0 -211
- package/dist/InputText-CTpVF0Mu.js +0 -154
- package/dist/Introduction-Dx6DDaL7.js +0 -327
- package/dist/InvitedDecisionMakerComponent-Ckd26d6Y.js +0 -481
- package/dist/JpAddressFields-C9MbL5XV.js +0 -287
- package/dist/LegalCompanyNameField-D0jM5LDT.js +0 -108
- package/dist/LegalName-TjhII9_p.js +0 -33
- package/dist/LegalRepresentativeDetailsPage-CvGtANu3.js +0 -74
- package/dist/Link-c2jAgGgc.js +0 -32
- package/dist/ListItem-C35r8558.js +0 -93
- package/dist/Loader-BEpMlKm2.js +0 -92
- package/dist/Modal-BsivDPTd.js +0 -129
- package/dist/Name-DMf8Uyof.js +0 -61
- package/dist/NewSummary-DxWLTnJy.js +0 -73
- package/dist/PatriotActDisclosure-ChZ_ePr2.js +0 -265
- package/dist/PayoutDetailsDropin-BhtJSFAS.js +0 -4073
- package/dist/PayoutDetailsPage-MW5Pygp2.js +0 -70
- package/dist/RadioGroup-D8DRUJ2o.js +0 -1806
- package/dist/Review-DImhCvoG.js +0 -99
- package/dist/RootBusinessDetailsPage-Cmh9Z_4g.js +0 -68
- package/dist/RootBusinessLinesPage-C_p-CtCH.js +0 -1455
- package/dist/RootIndividualDetailsPage-04cJ6C15.js +0 -80
- package/dist/Select-ByVcS_J2.js +0 -1093
- package/dist/SignPCIComponent-CAwp2xCC.js +0 -370
- package/dist/SingpassSelection-Txx3gp_g.js +0 -157
- package/dist/SoleProprietorshipPage-CWegllTo.js +0 -70
- package/dist/SourceOfFundsPage-B22iW1ow.js +0 -2781
- package/dist/SourceOfFundsWorkflow-BKHZbLR_.js +0 -28
- package/dist/StateField-CsO_28Co.js +0 -296
- package/dist/Step-BUMarnLL.js +0 -191
- package/dist/Task-Bj_CjiHG.js +0 -129
- package/dist/TaskGroup-BMXhoq1Y.js +0 -46
- package/dist/TaskListItem-BIKdDEzU.js +0 -123
- package/dist/TaskStepperContextProvider-D0tKJplv.js +0 -26
- package/dist/TaskVerificationStatus-DPA4ZEPa.js +0 -125
- package/dist/TaxInformationFieldGroup-D_6IRGj9.js +0 -287
- package/dist/TaxReportingDropin-DA475crP.js +0 -475
- package/dist/TaxReportingWorkflow-kcto0Ysw.js +0 -28
- package/dist/TermsOfServiceManagement-HDnaIeWZ.js +0 -635
- package/dist/TextArea-qbFhi8Az.js +0 -81
- package/dist/TrustDetailsPage-BqVS0xOU.js +0 -1155
- package/dist/TrustMemberCompanyPage-DTe7xWpj.js +0 -109
- package/dist/TrustMemberIndividualPage-C1BDs9Rm.js +0 -110
- package/dist/TrustMemberRoleAndTypePage-GXWuitmt.js +0 -927
- package/dist/TrustMembersOverview-BjJ5fPcC.js +0 -449
- package/dist/UboTaskItem-Aq3iNKX0.js +0 -115
- package/dist/UnincorporatedPartnershipIndividualPage-DdPh2_sa.js +0 -79
- package/dist/UnincorporatedPartnershipMemberCompanyPage-h3OTr_91.js +0 -79
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-CwemN4fL.js +0 -254
- package/dist/UnincorporatedPartnershipMembersOverview-CUczPfUl.js +0 -158
- package/dist/VerificationErrorAlert-BBfoLMwb.js +0 -64
- package/dist/Workflow-Do7P-qDn.js +0 -228
- package/dist/accountHolderUtils-DMi_DHCU.js +0 -44
- package/dist/arrow-right-Bk-ewsex.js +0 -20
- package/dist/bafinUtils-M2AASP_e.js +0 -1963
- package/dist/bag-9BNq_QQO.js +0 -20
- package/dist/bank-BRbxxVK5.js +0 -20
- package/dist/bg-BG-BtgA44Ui.js +0 -7
- package/dist/bg-BG-DX5QKxJz.js +0 -7
- package/dist/bg-BG-DYkxVgeJ.js +0 -7
- package/dist/bg-BG-K6LIkCdf.js +0 -7
- package/dist/bg-BG-uuNDTOoN.js +0 -7
- package/dist/bin-DE1613_5.js +0 -30
- package/dist/businessRegistrationNumberPatterns-C_MSKHlF.js +0 -981
- package/dist/capital-aNk7ragc.js +0 -23
- package/dist/cash-stack-DuKKc4Qj.js +0 -33
- package/dist/certificate-9gDKvXCm.js +0 -23
- package/dist/checkmark-BuqDN4WO.js +0 -20
- package/dist/checkmark-circle-OqcwA6N6.js +0 -28
- package/dist/checkmark-circle-fill-BfcUovCf.js +0 -30
- package/dist/checkmark-small-CBORXg_J.js +0 -20
- package/dist/chevron-down-CjRta08O.js +0 -20
- package/dist/chevron-left-BEm04mIh.js +0 -20
- package/dist/chevron-right-B2GkHG0J.js +0 -20
- package/dist/chevron-up-BKfe5Btb.js +0 -20
- package/dist/circle-C-uuRI8F.js +0 -30
- package/dist/circle-small-filled-Bkh5_ZEu.js +0 -20
- package/dist/clock-BWfWiMxz.js +0 -28
- package/dist/coins-Cw-jDTUz.js +0 -30
- package/dist/constants-BSBlqXY7.js +0 -231
- package/dist/contract-PFVBW8xa.js +0 -20
- package/dist/countries-BE4iGVAo.js +0 -41
- package/dist/country-zZC2TAQB.js +0 -25
- package/dist/cross-B37j1-r4.js +0 -20
- package/dist/cross-circle-fill-CcjwpLj2.js +0 -30
- package/dist/cross-circle-fill-small-CJ4fddNo.js +0 -20
- package/dist/cs-CZ-BJSrh3Vp.js +0 -7
- package/dist/cs-CZ-CMXGY6Ep.js +0 -7
- package/dist/cs-CZ-Ci8c58xJ.js +0 -7
- package/dist/cs-CZ-Cu1v5FA8.js +0 -7
- package/dist/cs-CZ-lJQmuyHq.js +0 -7
- package/dist/da-DK-B9O3xbY6.js +0 -7
- package/dist/da-DK-BNwXg4DX.js +0 -7
- package/dist/da-DK-C1kmOHvo.js +0 -7
- package/dist/da-DK-D53M_d04.js +0 -7
- package/dist/da-DK-DjAV5d9A.js +0 -7
- package/dist/de-DE-B3sSNcDv.js +0 -7
- package/dist/de-DE-C9N6F5oM.js +0 -7
- package/dist/de-DE-CjMOQMqQ.js +0 -7
- package/dist/de-DE-qJPTCQlG.js +0 -7
- package/dist/de-DE-qSBQE-6M.js +0 -7
- package/dist/de-DE-w4l6boYT.js +0 -7
- package/dist/decision-makers-group-DAoxQRJ3.js +0 -4169
- package/dist/decisionMakerRoles-APTR-Ah_.js +0 -185
- package/dist/document-1-B3vw8uuK.js +0 -20
- package/dist/document-person-CERdIfH0.js +0 -28
- package/dist/download-CthdK4dV.js +0 -23
- package/dist/edit-1-BW7NwWP7.js +0 -20
- package/dist/el-GR-BLNCX9mm.js +0 -7
- package/dist/el-GR-Bx996PXx.js +0 -7
- package/dist/el-GR-CgoxpC-Q.js +0 -7
- package/dist/el-GR-DaAMIpOR.js +0 -7
- package/dist/el-GR-DqTetsjB.js +0 -7
- package/dist/el-GR-pGsVWsOm.js +0 -7
- package/dist/en-US-B82BbZaB.js +0 -7
- package/dist/en-US-BUmtG-Wj.js +0 -27
- package/dist/en-US-C3i5Oge2.js +0 -7
- package/dist/en-US-C8karqc5.js +0 -7
- package/dist/en-US-CJPD8qHc.js +0 -7
- package/dist/en-US-D0fscfsz.js +0 -7
- package/dist/en-US-DapC--Cs.js +0 -7
- package/dist/entityAssociationUtil-CLBR9osP.js +0 -59
- package/dist/error-CpJV-CLa.js +0 -36
- package/dist/es-ES-C14ZT-97.js +0 -7
- package/dist/es-ES-DeT4zIDW.js +0 -7
- package/dist/es-ES-DyB2KXfT.js +0 -7
- package/dist/es-ES-U4-lDfZq.js +0 -7
- package/dist/es-ES-tVQDUTJN.js +0 -7
- package/dist/es-ES-wvcyuTNN.js +0 -7
- package/dist/es-LA-B5IRDCf_.js +0 -7
- package/dist/es-LA-B_hzWiiE.js +0 -7
- package/dist/es-LA-CG_cu1hM.js +0 -7
- package/dist/es-LA-ChLRkx-r.js +0 -7
- package/dist/es-LA-mFT_9PL_.js +0 -7
- package/dist/et-EE-4_ZUNt3W.js +0 -7
- package/dist/et-EE-BCWBT8XN.js +0 -7
- package/dist/et-EE-BQEyJFZb.js +0 -7
- package/dist/et-EE-DSK7kb3n.js +0 -7
- package/dist/et-EE-DWVzz1wR.js +0 -7
- package/dist/external-link-CFgynH5A.js +0 -20
- package/dist/fi-FI-B-7uBAf5.js +0 -7
- package/dist/fi-FI-BeJtSWIh.js +0 -7
- package/dist/fi-FI-Caa9ydMd.js +0 -7
- package/dist/fi-FI-D06EzKrW.js +0 -7
- package/dist/fi-FI-DgMsQBRO.js +0 -7
- package/dist/form-rules-zzbZ2bV6.js +0 -1089
- package/dist/formatCurrency-Cq3WFpdZ.js +0 -23
- package/dist/formatValidationError-BHvKLMYZ.js +0 -23
- package/dist/fr-FR-8a-RK9xd.js +0 -7
- package/dist/fr-FR-BCfqr4jm.js +0 -7
- package/dist/fr-FR-BTJoQq71.js +0 -7
- package/dist/fr-FR-CDv300-8.js +0 -7
- package/dist/fr-FR-D7DTFYe4.js +0 -7
- package/dist/fr-FR-Dl4NL-Nc.js +0 -7
- package/dist/genUtils-Ce61IJs8.js +0 -60
- package/dist/getDefaultRegistrationNumberType-CI1NVzJR.js +0 -1055
- package/dist/getFormSlice-DzRO0UUx.js +0 -52
- package/dist/getLegalEntityCountry-CNE5uei8.js +0 -17
- package/dist/getName-s7qmFean.js +0 -35
- package/dist/getProblemsForEntity-Bh9nSdOW.js +0 -16
- package/dist/getTrustedDecisionMakers-DX3nImM5.js +0 -25
- package/dist/gift-0jLCte2h.js +0 -20
- package/dist/graph-DrxuzQF7.js +0 -32
- package/dist/graph-up-4qLbS2Ds.js +0 -38
- package/dist/headquarter-3o2GHW5H.js +0 -42
- package/dist/hotel-pZlrEAK8.js +0 -33
- package/dist/hr-HR-B11sggmG.js +0 -7
- package/dist/hr-HR-BjxPRJ1o.js +0 -7
- package/dist/hr-HR-COdiWKoq.js +0 -7
- package/dist/hr-HR-CXH5M5JZ.js +0 -7
- package/dist/hr-HR-me1zsMas.js +0 -7
- package/dist/http-DsJtugN1.js +0 -204
- package/dist/hu-HU-BNlsrO-l.js +0 -7
- package/dist/hu-HU-BQ5310Yi.js +0 -7
- package/dist/hu-HU-D1ZZwcl0.js +0 -7
- package/dist/hu-HU-DkSsL94T.js +0 -7
- package/dist/hu-HU-Dp6xOBN_.js +0 -7
- package/dist/image-tfgNnE3G.js +0 -23
- package/dist/info-DJW5JooY.js +0 -32
- package/dist/info-filled-C5mP6T4Z.js +0 -32
- package/dist/it-IT-BORQC-7u.js +0 -7
- package/dist/it-IT-BlaVymCj.js +0 -7
- package/dist/it-IT-CawjvBDX.js +0 -7
- package/dist/it-IT-Cnk7j_gC.js +0 -7
- package/dist/it-IT-DIIRAF4_.js +0 -7
- package/dist/it-IT-x4LV31GV.js +0 -7
- package/dist/ja-JP-CyXnoIu3.js +0 -7
- package/dist/ja-JP-DBne3dbI.js +0 -7
- package/dist/ja-JP-DS8zN3mY.js +0 -7
- package/dist/ja-JP-Dpe9Odla.js +0 -7
- package/dist/ja-JP-DrHQO_Se.js +0 -7
- package/dist/ja-JP-h3E8hgLv.js +0 -7
- package/dist/legal-entity-type-0MfCGzUf.js +0 -13
- package/dist/legalArrangementUtils-xvCxpgzJ.js +0 -113
- package/dist/location-Dk0rAiaT.js +0 -23
- package/dist/lt-LT-8kOI6QVq.js +0 -7
- package/dist/lt-LT-B18sQY9g.js +0 -7
- package/dist/lt-LT-Byl8QeWO.js +0 -7
- package/dist/lt-LT-D3ZUJfjr.js +0 -7
- package/dist/lt-LT-Fc1lOUlz.js +0 -7
- package/dist/lv-LV-C70c94CI.js +0 -7
- package/dist/lv-LV-CXifQKfG.js +0 -7
- package/dist/lv-LV-DctYQmfH.js +0 -7
- package/dist/lv-LV-Mj_iV56f.js +0 -7
- package/dist/lv-LV-adiXoKhv.js +0 -7
- package/dist/mail-DG7MBDNE.js +0 -20
- package/dist/mapAddressLocalizationToJpAddressSchema-TUaHGQh6.js +0 -26
- package/dist/mapExistingFile-CwGW1ru4.js +0 -55
- package/dist/mapJpAddressSchemaToAddressLocalizations-CdP6PRAO.js +0 -73
- package/dist/mapLegalEntityToIndividualSchema-ByhXwZqs.js +0 -214
- package/dist/mapTransferInstrumentToPayoutAccount-6eLKhumO.js +0 -44
- package/dist/minus-circle-filled-DglqAgJW.js +0 -30
- package/dist/nl-NL-BIpptPn4.js +0 -7
- package/dist/nl-NL-BWGCqpWp.js +0 -7
- package/dist/nl-NL-Bv8Zk-6e.js +0 -7
- package/dist/nl-NL-DOB0b0m4.js +0 -7
- package/dist/nl-NL-ehxkZFQd.js +0 -7
- package/dist/nl-NL-jt4eYGEY.js +0 -7
- package/dist/no-NO-BG1sYkpp.js +0 -7
- package/dist/no-NO-CeZQnyyD.js +0 -7
- package/dist/no-NO-Chwg5Roi.js +0 -7
- package/dist/no-NO-Dx_Z3uoZ.js +0 -7
- package/dist/no-NO-P5tRWhV9.js +0 -7
- package/dist/options-horizontal-CTUn7IEx.js +0 -30
- package/dist/partner-1StoI4_W.js +0 -30
- package/dist/pay-by-link-plane-Sa_qkL8C.js +0 -33
- package/dist/payout-BAYSxSqU.js +0 -38
- package/dist/pdf-uNYg4Mqz.js +0 -22315
- package/dist/pdf.worker.min-gK7UJW5a.js +0 -74644
- package/dist/person-Da15_s3G.js +0 -23
- package/dist/pl-PL-BsXtscoI.js +0 -7
- package/dist/pl-PL-CWFdZf24.js +0 -7
- package/dist/pl-PL-DSbuyzBx.js +0 -7
- package/dist/pl-PL-J9S3_lCf.js +0 -7
- package/dist/pl-PL-_KG-ZD1N.js +0 -7
- package/dist/plus-BQccvKkd.js +0 -20
- package/dist/plus-circle-filled-CqC30FRL.js +0 -30
- package/dist/processCapabilities-DRD0Aq2i.js +0 -874
- package/dist/processValidationErrors-oxuCOsth.js +0 -62
- package/dist/pt-BR-B2q9Nl16.js +0 -7
- package/dist/pt-BR-BYbyk6xS.js +0 -7
- package/dist/pt-BR-Cph-P8oH.js +0 -7
- package/dist/pt-BR-D1yTuXWd2.js +0 -7
- package/dist/pt-BR-fKlNUybd.js +0 -7
- package/dist/pt-PT-C1gtp2_N.js +0 -7
- package/dist/pt-PT-CQQkh5PS.js +0 -7
- package/dist/pt-PT-D8ldyR-j.js +0 -7
- package/dist/pt-PT-DAvsI-Tr.js +0 -7
- package/dist/pt-PT-DhokEMPi.js +0 -7
- package/dist/pt-PT-IPhkbQvT.js +0 -7
- package/dist/recurring-DSR1fNMh.js +0 -23
- package/dist/resolveEnvironment-BYEL10Nc.js +0 -2524
- package/dist/revenue-accelerate-CPhAVpPK.js +0 -30
- package/dist/ro-RO-C6xoaASq.js +0 -7
- package/dist/ro-RO-CP_IrOlX.js +0 -7
- package/dist/ro-RO-CQJk7Cpo.js +0 -7
- package/dist/ro-RO-CnMe6Mfw.js +0 -7
- package/dist/ro-RO-_BLhsnIB.js +0 -7
- package/dist/save-DQ-mJX8e.js +0 -20
- package/dist/search-DWqWTW_K.js +0 -30
- package/dist/show-BbhlD3IY.js +0 -23
- package/dist/sk-SK-BOc9IqyW.js +0 -7
- package/dist/sk-SK-Bb1CdAzD.js +0 -7
- package/dist/sk-SK-Br1Y4_CN.js +0 -7
- package/dist/sk-SK-Bx2_85dW.js +0 -7
- package/dist/sk-SK-C889qQFo.js +0 -7
- package/dist/sl-SI-B-Xa0hlk.js +0 -7
- package/dist/sl-SI-BQc61Sz2.js +0 -7
- package/dist/sl-SI-DHPadSTy.js +0 -7
- package/dist/sl-SI-DO9c7geI.js +0 -7
- package/dist/sl-SI-bkhhInrg.js +0 -7
- package/dist/solution-payments-D4BORMsX.js +0 -20
- package/dist/store-DWaq3ZiC.js +0 -20
- package/dist/sv-SE-BXrlr0X5.js +0 -7
- package/dist/sv-SE-Dk81lopg.js +0 -7
- package/dist/sv-SE-DzsWB30f.js +0 -7
- package/dist/sv-SE-IBYnJfbW.js +0 -7
- package/dist/sv-SE-X89Q6ZAq.js +0 -7
- package/dist/sv-SE-l_UVgmVu.js +0 -7
- package/dist/terminal-1-crR-pS_R.js +0 -30
- package/dist/translation-BOm4lmPx.js +0 -657
- package/dist/types/components/GlobalEntry/globalEntryKeyMapping.d.ts +0 -15
- package/dist/types/components/GlobalEntry/utils.d.ts +0 -30
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +0 -30
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +0 -13
- package/dist/types/core/models/api/attachment.d.ts +0 -7
- package/dist/types/core/models/api/document.d.ts +0 -25
- package/dist/types/core/models/api/entity-type.d.ts +0 -5
- package/dist/types/core/models/api/legal-arrangement.d.ts +0 -24
- package/dist/types/core/models/api/legal-entity-type.d.ts +0 -8
- package/dist/types/core/models/api/legal-entity.d.ts +0 -36
- package/dist/types/core/models/api/problem.d.ts +0 -12
- package/dist/types/core/models/api/remediating-action.d.ts +0 -5
- package/dist/types/core/models/api/transfer-instrument.d.ts +0 -33
- package/dist/types/core/models/api/trusted-fields-provider.d.ts +0 -5
- package/dist/types/core/models/api/verification-error.d.ts +0 -19
- package/dist/types-BeveNAZK.js +0 -19
- package/dist/types-wRlt8bxb.js +0 -58
- package/dist/upload-D85xAAAm.js +0 -23
- package/dist/useAdaptiveWorkflow-DsQESk9f.js +0 -28
- package/dist/useBusinessDetailsData-Bja80UYy.js +0 -4722
- package/dist/useBusinessLines-BhSN6qCH.js +0 -27
- package/dist/useCanSeeIntroduction-BcfQC4IP.js +0 -38
- package/dist/useDataMissingRemediations-msU1AJvo.js +0 -39
- package/dist/useForm-DbDFfb2S.js +0 -502
- package/dist/useHideTaskStepper-CbMcV9mk.js +0 -26
- package/dist/useId-oOIS1nsj.js +0 -73
- package/dist/useIndustryCodes-uAj90IyS.js +0 -32
- package/dist/useLegalEntity-QQXN6YOm.js +0 -48
- package/dist/useNavigate-CiKOI5QV.js +0 -246
- package/dist/useOnboardingStatus-CsGUjkm-.js +0 -23
- package/dist/usePciQuestionnaireList-CFNJD8pS.js +0 -26
- package/dist/useSalesChannels-BvGJ9PT6.js +0 -47
- package/dist/useScenarios-CGcmXgJv.js +0 -55
- package/dist/useTaskLandedEvent-pmN03gtI.js +0 -26
- package/dist/useTaskStatus-CgrhdaE_.js +0 -23
- package/dist/useTermsOfServiceStatus-DbJDklA2.js +0 -39
- package/dist/useTrustMembers-f13Kf1Zk.js +0 -152
- package/dist/useUnincorporatedPartnershipMembers-K5jkCKfJ.js +0 -70
- package/dist/useUpdateBusinessLines-DCKYTzxd.js +0 -43
- package/dist/utils-2tir5QtF.js +0 -52
- package/dist/utils-BUOt0VrX.js +0 -179
- package/dist/utils-DBIDcVUN.js +0 -214
- package/dist/validate-BpZBKknS.js +0 -224
- package/dist/validate-CPTQceEQ.js +0 -151
- package/dist/validate-YBDlgvjy.js +0 -429
- package/dist/validate-u6nDNwf1.js +0 -126
- package/dist/validateExtractionResult-dH4TewHf.js +0 -343
- package/dist/validationError-B-B3GC86.js +0 -55
- package/dist/warning-circle-fill-BDTmKU1s.js +0 -30
- package/dist/warning-diamond-filled-BjDL-xa8.js +0 -30
- package/dist/webinar-YMbPoCx3.js +0 -33
|
@@ -1,874 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "35fdec54-6dc7-4559-a82d-667a10148ab3", e._sentryDebugIdIdentifier = "sentry-dbid-35fdec54-6dc7-4559-a82d-667a10148ab3");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
6
|
-
import { o as entriesOf, t as cloneObject } from "./genUtils-Ce61IJs8.js";
|
|
7
|
-
import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekPA8E.js";
|
|
8
|
-
//#region src/core/models/api/verification-error.ts
|
|
9
|
-
var VerificationErrorTypes = {
|
|
10
|
-
DATA_MISSING: "dataMissing",
|
|
11
|
-
INVALID_INPUT: "invalidInput",
|
|
12
|
-
PENDING_STATUS: "pendingStatus",
|
|
13
|
-
DATA_REVIEW: "dataReview",
|
|
14
|
-
REJECTED: "rejected"
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/core/errorMapping.ts
|
|
18
|
-
/**
|
|
19
|
-
* Mapping of remediation code to impacted api field path
|
|
20
|
-
*/
|
|
21
|
-
var invalidInputRemediationActionMappings = {
|
|
22
|
-
"1_100": [],
|
|
23
|
-
"1_101": [],
|
|
24
|
-
"1_102": [{ key: "documents" }],
|
|
25
|
-
"1_300": [
|
|
26
|
-
{ key: "individual.birthData.dateOfBirth" },
|
|
27
|
-
{ key: "individual.identificationData.number" },
|
|
28
|
-
{ key: "individual.name.firstName" },
|
|
29
|
-
{ key: "individual.name.lastName" },
|
|
30
|
-
{ key: "individual.residentialAddress" }
|
|
31
|
-
],
|
|
32
|
-
"1_301": [{ key: "passport" }, { key: "idVerificationMethod" }],
|
|
33
|
-
"1_302": [{ key: "passport" }, { key: "idVerificationMethod" }],
|
|
34
|
-
"1_303": [{ key: "passport" }, { key: "idVerificationMethod" }],
|
|
35
|
-
"1_304": [{ key: "proofOfResidency" }],
|
|
36
|
-
"1_305": [{ key: "proofOfResidency" }],
|
|
37
|
-
"1_306": [{ key: "proofOfResidency" }],
|
|
38
|
-
"1_307": [{ key: "proofOfNationalIdNumber" }],
|
|
39
|
-
"1_308": [{ key: "proofOfNationalIdNumber" }],
|
|
40
|
-
"1_309": [{ key: "proofOfNationalIdNumber" }],
|
|
41
|
-
"1_316": [{ key: "individual.identificationData.number" }],
|
|
42
|
-
"1_319": [{ key: "individual.residentialAddress" }],
|
|
43
|
-
"1_320": [{ key: "proofOfResidency" }],
|
|
44
|
-
"1_321": [{ key: "individual.residentialAddress.street" }],
|
|
45
|
-
"1_500": [
|
|
46
|
-
{ key: "organization.legalName" },
|
|
47
|
-
{ key: "organization.registrationNumber" },
|
|
48
|
-
{ key: "organization.taxId" },
|
|
49
|
-
{ key: "organization.registeredAddress" }
|
|
50
|
-
],
|
|
51
|
-
"1_501": [{ key: "registrationDocument" }],
|
|
52
|
-
"1_502": [{ key: "registrationDocument" }],
|
|
53
|
-
"1_503": [{ key: "vatDocument" }],
|
|
54
|
-
"1_504": [{ key: "vatDocument" }],
|
|
55
|
-
"1_505": [{ key: "proofOfAddress" }],
|
|
56
|
-
"1_506": [{ key: "proofOfAddress" }],
|
|
57
|
-
"1_507": [{ key: "proofOfOwnership" }],
|
|
58
|
-
"1_508": [{ key: "proofOfOwnership" }],
|
|
59
|
-
"1_512": [{ key: "vatDocument" }, { key: "organization.vatNumber" }],
|
|
60
|
-
"1_513": [{ key: "vatDocument" }, { key: "organization.vatNumber" }],
|
|
61
|
-
"1_524": [{ key: "organization.registeredAddress.street" }],
|
|
62
|
-
"1_525": [{ key: "organization.principalPlaceOfBusiness.street" }],
|
|
63
|
-
"1_600": [{ key: "soleProprietorship.name" }, { key: "soleProprietorship.registeredAddress" }],
|
|
64
|
-
"1_601": [{ key: "constitutionalDocument" }],
|
|
65
|
-
"1_602": [{ key: "constitutionalDocument" }],
|
|
66
|
-
"1_603": [{ key: "constitutionalDocument" }],
|
|
67
|
-
"1_700": [{ key: "bankAccount" }],
|
|
68
|
-
"1_701": [{ key: "bankAccount" }],
|
|
69
|
-
"1_702": [{ key: "bankAccount" }],
|
|
70
|
-
"1_703": [{ key: "bankStatement" }],
|
|
71
|
-
"1_704": [{ key: "bankStatement" }],
|
|
72
|
-
"1_705": [{ key: "bankStatement" }],
|
|
73
|
-
"1_803": [{ key: "proofOfDirector" }],
|
|
74
|
-
"1_804": [{ key: "proofOfDirector" }],
|
|
75
|
-
"1_800": [{ key: "proofOfSignatory" }],
|
|
76
|
-
"1_801": [{ key: "proofOfSignatory" }],
|
|
77
|
-
"1_802": [{ key: "proofOfSignatory" }],
|
|
78
|
-
"1_3083": [{ key: "proofOfResidency" }],
|
|
79
|
-
"2_243": [{ key: "organization.support.phone" }, { key: "individual.support.phone" }],
|
|
80
|
-
"2_215": [{ key: "passport" }, { key: "idVerificationMethod.idDocument" }]
|
|
81
|
-
};
|
|
82
|
-
var dataMissingRemediationsToFieldsMap = {
|
|
83
|
-
"1_301": ["passport", "idVerificationMethod"],
|
|
84
|
-
"1_501": ["registrationDocument"],
|
|
85
|
-
"1_503": ["proofOfOrganizationTaxInfo"],
|
|
86
|
-
"1_512": ["vatDocument"],
|
|
87
|
-
"1_803": ["proofOfDirector"],
|
|
88
|
-
"1_800": ["proofOfSignatory"],
|
|
89
|
-
"2_117": ["organization.registrationNumber"],
|
|
90
|
-
"2_118": ["organization.taxId"],
|
|
91
|
-
"2_125": ["organization.type"],
|
|
92
|
-
"2_133": ["organization.doingBusinessAs"],
|
|
93
|
-
"2_153": ["phoneNumber"],
|
|
94
|
-
"2_158": ["vatNumber"],
|
|
95
|
-
"2_170": ["organization.taxInformation"],
|
|
96
|
-
"2_184": ["constitutionalDocument"],
|
|
97
|
-
"2_188": ["proofOfOwnership"],
|
|
98
|
-
"2_194": ["organization.registeredAddress.postalCode"],
|
|
99
|
-
"2_206": ["organization.registeredAddress.street"],
|
|
100
|
-
"2_208": ["organization.registeredAddress.city"],
|
|
101
|
-
"2_214": ["proofOfFundingOrWealthSource"],
|
|
102
|
-
"2_222": ["proofOfRelationship"],
|
|
103
|
-
"2_225": ["organization.financialReports"]
|
|
104
|
-
};
|
|
105
|
-
var CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES = [
|
|
106
|
-
"2_8247",
|
|
107
|
-
"2_8248",
|
|
108
|
-
"2_8249",
|
|
109
|
-
"2_8250"
|
|
110
|
-
];
|
|
111
|
-
var DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING = {
|
|
112
|
-
"2_8064": "2_123",
|
|
113
|
-
"2_8067": "2_124",
|
|
114
|
-
"2_8189": "2_151",
|
|
115
|
-
"2_8193": "2_185"
|
|
116
|
-
};
|
|
117
|
-
var OVERRIDE_REMEDIATION_CODE = {
|
|
118
|
-
"1_501": {
|
|
119
|
-
code: "1_503",
|
|
120
|
-
message: "Upload a tax document"
|
|
121
|
-
},
|
|
122
|
-
"1_502": {
|
|
123
|
-
code: "1_504",
|
|
124
|
-
message: "Upload a different tax document"
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
var OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS = {
|
|
128
|
-
"1_3083": [{
|
|
129
|
-
code: "1_319",
|
|
130
|
-
message: "Update individual details"
|
|
131
|
-
}, {
|
|
132
|
-
code: "1_320",
|
|
133
|
-
message: "Upload proof of residency"
|
|
134
|
-
}],
|
|
135
|
-
"1_3072": [{
|
|
136
|
-
code: "1_300",
|
|
137
|
-
message: "Update individual details"
|
|
138
|
-
}, {
|
|
139
|
-
code: "1_302",
|
|
140
|
-
message: "Upload a different ID document"
|
|
141
|
-
}],
|
|
142
|
-
"1_5012": [OVERRIDE_REMEDIATION_CODE["1_501"], {
|
|
143
|
-
code: "1_500",
|
|
144
|
-
message: "Update organization details"
|
|
145
|
-
}],
|
|
146
|
-
"1_5013": [OVERRIDE_REMEDIATION_CODE["1_501"], {
|
|
147
|
-
code: "1_500",
|
|
148
|
-
message: "Update organization details"
|
|
149
|
-
}],
|
|
150
|
-
"1_5015": [OVERRIDE_REMEDIATION_CODE["1_501"], {
|
|
151
|
-
code: "1_500",
|
|
152
|
-
message: "Update organization details"
|
|
153
|
-
}],
|
|
154
|
-
"1_5017": [OVERRIDE_REMEDIATION_CODE["1_501"], {
|
|
155
|
-
code: "1_500",
|
|
156
|
-
message: "Update organization details"
|
|
157
|
-
}],
|
|
158
|
-
"1_5020": [OVERRIDE_REMEDIATION_CODE["1_501"]],
|
|
159
|
-
"1_5021": [OVERRIDE_REMEDIATION_CODE["1_502"]],
|
|
160
|
-
"1_5022": [OVERRIDE_REMEDIATION_CODE["1_502"]],
|
|
161
|
-
"1_5024": [OVERRIDE_REMEDIATION_CODE["1_502"], {
|
|
162
|
-
code: "1_500",
|
|
163
|
-
message: "Update organization details"
|
|
164
|
-
}],
|
|
165
|
-
"1_5035": [OVERRIDE_REMEDIATION_CODE["1_502"], {
|
|
166
|
-
code: "1_500",
|
|
167
|
-
message: "Update organization details"
|
|
168
|
-
}]
|
|
169
|
-
};
|
|
170
|
-
var OVERRIDE_SUB_ERROR = {
|
|
171
|
-
"1_3083": {
|
|
172
|
-
code: "1_3083",
|
|
173
|
-
message: "The name or residential address couldn't be verified.",
|
|
174
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
175
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_3083"]
|
|
176
|
-
},
|
|
177
|
-
"1_5012": {
|
|
178
|
-
code: "1_5012",
|
|
179
|
-
message: "The submitted company type didn't match the one on the registry",
|
|
180
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
181
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5012"]
|
|
182
|
-
},
|
|
183
|
-
"1_5013": {
|
|
184
|
-
code: "1_5013",
|
|
185
|
-
message: "The company was not found in the database",
|
|
186
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
187
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5013"]
|
|
188
|
-
},
|
|
189
|
-
"1_5015": {
|
|
190
|
-
code: "1_5017",
|
|
191
|
-
message: "The tax ID number didn't match the legal business name",
|
|
192
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
193
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5015"]
|
|
194
|
-
},
|
|
195
|
-
"1_5017": {
|
|
196
|
-
code: "1_5017",
|
|
197
|
-
message: "The tax ID number didn't match the legal business name",
|
|
198
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
199
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5017"]
|
|
200
|
-
},
|
|
201
|
-
"1_5020": {
|
|
202
|
-
code: "1_5036",
|
|
203
|
-
message: "Tax document is missing.",
|
|
204
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
205
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5020"]
|
|
206
|
-
},
|
|
207
|
-
"1_5021": {
|
|
208
|
-
code: "1_5039",
|
|
209
|
-
message: "The tax document was too low quality.",
|
|
210
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
211
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5021"]
|
|
212
|
-
},
|
|
213
|
-
"1_5022": {
|
|
214
|
-
code: "1_5040",
|
|
215
|
-
message: "The tax document was too old.",
|
|
216
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
217
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5022"]
|
|
218
|
-
},
|
|
219
|
-
"1_5024": {
|
|
220
|
-
code: "1_5024",
|
|
221
|
-
message: "The registration document did not show the company type",
|
|
222
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
223
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5024"]
|
|
224
|
-
},
|
|
225
|
-
"1_5035": {
|
|
226
|
-
code: "1_5038",
|
|
227
|
-
message: "The tax document wasn't a supported document type.",
|
|
228
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
229
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5035"]
|
|
230
|
-
}
|
|
231
|
-
};
|
|
232
|
-
var OVERRIDE_DATA_MISSING_ERROR = {
|
|
233
|
-
"2_8141": {
|
|
234
|
-
code: "2_8162",
|
|
235
|
-
message: "'proofOfOrganizationTaxInfo' was missing",
|
|
236
|
-
type: VerificationErrorTypes.DATA_MISSING,
|
|
237
|
-
remediatingActions: [OVERRIDE_REMEDIATION_CODE["1_501"]]
|
|
238
|
-
},
|
|
239
|
-
"1_3083": {
|
|
240
|
-
code: "1_3083",
|
|
241
|
-
message: "The name or residential address couldn't be verified.",
|
|
242
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
243
|
-
subErrors: [{
|
|
244
|
-
code: "1_3083",
|
|
245
|
-
message: "Individual details didn't match the ID document",
|
|
246
|
-
type: VerificationErrorTypes.INVALID_INPUT,
|
|
247
|
-
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_3083"]
|
|
248
|
-
}]
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
/**
|
|
252
|
-
* This is a temporary fix for CORE-7011
|
|
253
|
-
*
|
|
254
|
-
* We are remapping error/remediation codes for US organizations to ensure we ask for a tax document instead of a registration document.
|
|
255
|
-
* This will be removed once we complete the refactor in KYC to return the approriate codes.
|
|
256
|
-
*
|
|
257
|
-
* https://docs.adyen.com/platforms/kyc-verification-codes/general-verification-errors/#organization-check
|
|
258
|
-
*/
|
|
259
|
-
var overrideError = (verificationError) => {
|
|
260
|
-
switch (verificationError.type) {
|
|
261
|
-
case VerificationErrorTypes.DATA_MISSING: switch (verificationError.code) {
|
|
262
|
-
case "2_8141": return OVERRIDE_DATA_MISSING_ERROR["2_8141"];
|
|
263
|
-
case "1_3083": return {
|
|
264
|
-
...OVERRIDE_DATA_MISSING_ERROR["1_3083"],
|
|
265
|
-
subErrors: [OVERRIDE_SUB_ERROR["1_3083"]]
|
|
266
|
-
};
|
|
267
|
-
default: return verificationError;
|
|
268
|
-
}
|
|
269
|
-
case VerificationErrorTypes.INVALID_INPUT: switch (verificationError.code) {
|
|
270
|
-
case "1_50": return {
|
|
271
|
-
...verificationError,
|
|
272
|
-
subErrors: verificationError.subErrors?.map((subError) => OVERRIDE_SUB_ERROR[subError.code] ?? subError)
|
|
273
|
-
};
|
|
274
|
-
case "1_52": return {
|
|
275
|
-
...verificationError,
|
|
276
|
-
code: "1_53",
|
|
277
|
-
message: "Tax document didn't meet requirements",
|
|
278
|
-
remediatingActions: verificationError.remediatingActions?.map((remediation) => OVERRIDE_REMEDIATION_CODE[remediation.code] ?? remediation),
|
|
279
|
-
subErrors: verificationError.subErrors?.map((subError) => OVERRIDE_SUB_ERROR[subError.code] ?? subError)
|
|
280
|
-
};
|
|
281
|
-
default: return verificationError;
|
|
282
|
-
}
|
|
283
|
-
default: return verificationError;
|
|
284
|
-
}
|
|
285
|
-
};
|
|
286
|
-
//#endregion
|
|
287
|
-
//#region src/core/models/api/entity-type.ts
|
|
288
|
-
var EntityTypes = {
|
|
289
|
-
BANK_ACCOUNT: "BankAccount",
|
|
290
|
-
LEGAL_ENTITY: "LegalEntity"
|
|
291
|
-
};
|
|
292
|
-
var customerSupportRemediationKeyMapping = {
|
|
293
|
-
"organization.support.email": "customerSupport.email",
|
|
294
|
-
"individual.support.email": "customerSupport.email",
|
|
295
|
-
"organization.support.phone": "customerSupport.phoneNumber.number",
|
|
296
|
-
"individual.support.phone": "customerSupport.phoneNumber.number"
|
|
297
|
-
};
|
|
298
|
-
//#endregion
|
|
299
|
-
//#region src/components/BankAccount/mapping/payoutKeyMappings.ts
|
|
300
|
-
/**
|
|
301
|
-
* **ComponentsKeyMapping -> Use it in formatObject function to create componentSchema object from API object
|
|
302
|
-
* **ApiKeyMapping -> Use it in formatObject function to create API Schema object from component data
|
|
303
|
-
*/
|
|
304
|
-
var payoutBaseMapping = {
|
|
305
|
-
id: "payoutAccountDetails.transferInstrumentId",
|
|
306
|
-
"bankAccount.bankName": "payoutAccountDetails.bankName",
|
|
307
|
-
"bankAccount.countryCode": "payoutVerificationMethod.bankCountry",
|
|
308
|
-
"bankAccount.accountIdentification.iban": "payoutAccountDetails.iban",
|
|
309
|
-
"bankAccount.accountIdentification.accountNumber": "payoutAccountDetails.bankAccountNumber",
|
|
310
|
-
"bankAccount.accountIdentification.bsbCode": "payoutAccountDetails.branchCode",
|
|
311
|
-
"bankAccount.accountIdentification.institutionNumber": "payoutAccountDetails.bankCode",
|
|
312
|
-
"bankAccount.accountIdentification.transitNumber": "payoutAccountDetails.branchCode",
|
|
313
|
-
"bankAccount.accountIdentification.bankCode": "payoutAccountDetails.bankCode",
|
|
314
|
-
"bankAccount.accountIdentification.clearingCode": "payoutAccountDetails.bankCode",
|
|
315
|
-
"bankAccount.accountIdentification.clearingNumber": "payoutAccountDetails.branchCode",
|
|
316
|
-
"bankAccount.accountIdentification.bic": "payoutAccountDetails.swiftCode",
|
|
317
|
-
"bankAccount.accountIdentification.sortCode": "payoutAccountDetails.branchCode",
|
|
318
|
-
"bankAccount.accountIdentification.routingNumber": "payoutAccountDetails.branchCode",
|
|
319
|
-
"bankAccount.accountIdentification.accountType": "payoutAccountDetails.accountType"
|
|
320
|
-
};
|
|
321
|
-
var crossBorderMapping = {
|
|
322
|
-
"bankAccount.countryCode": "payoutCountryDetails.bankCountry",
|
|
323
|
-
"bankAccount.preferredCurrencyCode": "payoutCountryDetails.preferredCurrency"
|
|
324
|
-
};
|
|
325
|
-
var payoutComponentKeyMapping = { ...payoutBaseMapping };
|
|
326
|
-
var remediationPayoutApiKeyMapping = {
|
|
327
|
-
[EntityTypes.BANK_ACCOUNT]: "payoutAccountDetails",
|
|
328
|
-
...payoutComponentKeyMapping,
|
|
329
|
-
["bankStatement"]: "payoutAccountDocuments.bankStatementDocument"
|
|
330
|
-
};
|
|
331
|
-
//#endregion
|
|
332
|
-
//#region src/utils/mapping/reverseMapping.ts
|
|
333
|
-
/**
|
|
334
|
-
* Reverses a {@link MappingRecord}.
|
|
335
|
-
*
|
|
336
|
-
* @example
|
|
337
|
-
* ```ts
|
|
338
|
-
* const mapping = {a:1, b:2,c:3};
|
|
339
|
-
* reverseMapping(mapping); => {1:'a', 2: 'b', 3: 'c'}
|
|
340
|
-
* ```
|
|
341
|
-
*/
|
|
342
|
-
function reverseMapping(mapping) {
|
|
343
|
-
return Object.fromEntries(Object.entries(mapping).map(([key, value]) => [value, key]));
|
|
344
|
-
}
|
|
345
|
-
//#endregion
|
|
346
|
-
//#region src/components/Business/mapping/businessDetails/businessDetailsKeyMappings.ts
|
|
347
|
-
var businessDetailsBaseMapping = {
|
|
348
|
-
"basicInformation.country": "organization.registeredAddress.country",
|
|
349
|
-
"basicInformation.legalCompanyName": "organization.legalName",
|
|
350
|
-
"basicInformation.stateOrProvince": "organization.registeredAddress.stateOrProvince",
|
|
351
|
-
"basicInformation.registrationNumber": "organization.registrationNumber",
|
|
352
|
-
"basicInformation.exemptedFromRegistrationNumber": "organization.registrationNumberAbsent",
|
|
353
|
-
"basicInformation.taxInformation": "organization.taxInformation",
|
|
354
|
-
"basicInformation.countryOfGoverningLaw": "organization.countryOfGoverningLaw",
|
|
355
|
-
"companyStructure.entityType": "organization.type",
|
|
356
|
-
"additionalInformation.legalFormDescription": "organization.legalFormDescription",
|
|
357
|
-
"additionalInformation.doingBusinessAs": "organization.doingBusinessAs",
|
|
358
|
-
"additionalInformation.hasDoingBusinessAs": "organization.doingBusinessAsAbsent",
|
|
359
|
-
"additionalInformation.vatNumber": "organization.vatNumber",
|
|
360
|
-
"additionalInformation.vatAbsenceReason": "organization.vatAbsenceReason",
|
|
361
|
-
"additionalInformation.dateOfIncorporation": "organization.dateOfIncorporation",
|
|
362
|
-
"additionalInformation.stockExchangeMIC": "organization.stockData.marketIdentifier",
|
|
363
|
-
"additionalInformation.stockISIN": "organization.stockData.stockNumber",
|
|
364
|
-
"additionalInformation.stockTickerSymbol": "organization.stockData.tickerSymbol",
|
|
365
|
-
"additionalInformation.registrationAddressCity": "organization.registeredAddress.city",
|
|
366
|
-
"additionalInformation.registrationAddressCountry": "organization.registeredAddress.country",
|
|
367
|
-
"additionalInformation.registrationAddressPostalCode": "organization.registeredAddress.postalCode",
|
|
368
|
-
"additionalInformation.registrationAddressStateOrProvince": "organization.registeredAddress.stateOrProvince",
|
|
369
|
-
"additionalInformation.registrationAddressStreet": "organization.registeredAddress.street",
|
|
370
|
-
"additionalInformation.registrationAddressStreet2": "organization.registeredAddress.street2",
|
|
371
|
-
"additionalInformation.operationalAddressCity": "organization.principalPlaceOfBusiness.city",
|
|
372
|
-
"additionalInformation.operationalAddressCountry": "organization.principalPlaceOfBusiness.country",
|
|
373
|
-
"additionalInformation.operationalAddressPostalCode": "organization.principalPlaceOfBusiness.postalCode",
|
|
374
|
-
"additionalInformation.operationalAddressStateOrProvince": "organization.principalPlaceOfBusiness.stateOrProvince",
|
|
375
|
-
"additionalInformation.operationalAddressStreet": "organization.principalPlaceOfBusiness.street",
|
|
376
|
-
"additionalInformation.operationalAddressStreet2": "organization.principalPlaceOfBusiness.street2",
|
|
377
|
-
"additionalInformation.residentialAddressIndicator": "organization.residentialAddressIndicator",
|
|
378
|
-
"additionalInformation.eInvoicingCode": "organization.eInvoicingCode",
|
|
379
|
-
"additionalInformation.legalForm": "organization.legalForm",
|
|
380
|
-
"additionalInformation.legalEntityIdentifier": "organization.globalLegalEntityIdentifier"
|
|
381
|
-
};
|
|
382
|
-
var businessDetailsKeyMapping = {
|
|
383
|
-
"additionalInformation.exemptedFromVat": "organization.vatAbsenceReason",
|
|
384
|
-
...businessDetailsBaseMapping
|
|
385
|
-
};
|
|
386
|
-
var businessDetailsApiKeyMapping = { ...reverseMapping(businessDetailsBaseMapping) };
|
|
387
|
-
/**
|
|
388
|
-
* Base api mappings do not contain document mappings as the api used for document upload is different
|
|
389
|
-
* For remediation mappings adding document mapping additionally along with the apiKeyMapping
|
|
390
|
-
*/
|
|
391
|
-
var businessDetailsDocumentMapping = {
|
|
392
|
-
["registrationDocument"]: "companyRegistrationDocument.registrationDocument",
|
|
393
|
-
["vatDocument"]: "companyTaxDocument.taxDocument",
|
|
394
|
-
["proofOfOrganizationTaxInfo"]: "companyTaxDocument.taxDocument",
|
|
395
|
-
["proofOfDirector"]: "companyProofOfDirectorDocument.proofOfDirector",
|
|
396
|
-
["proofOfSignatory"]: "companyProofOfSignatoryDocument.proofOfSignatory",
|
|
397
|
-
["proofOfAddress"]: "companyProofOfAddressDocument.proofOfAddress",
|
|
398
|
-
["proofOfOwnership"]: "companyProofOfOwnershipDocument.proofOfOwnership"
|
|
399
|
-
};
|
|
400
|
-
var remediationBusinessDetailsApiKeyMapping = {
|
|
401
|
-
...businessDetailsApiKeyMapping,
|
|
402
|
-
...businessDetailsDocumentMapping
|
|
403
|
-
};
|
|
404
|
-
//#endregion
|
|
405
|
-
//#region src/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.ts
|
|
406
|
-
var solePropBusinessDetailsBaseMapping = {
|
|
407
|
-
"basicInformation.country": "soleProprietorship.countryOfGoverningLaw",
|
|
408
|
-
"basicInformation.legalCompanyName": "soleProprietorship.name",
|
|
409
|
-
"basicInformation.stateOrProvince": "soleProprietorship.registeredAddress.stateOrProvince",
|
|
410
|
-
"basicInformation.countryOfGoverningLaw": "soleProprietorship.countryOfGoverningLaw",
|
|
411
|
-
"basicInformation.registrationNumber": "soleProprietorship.registrationNumber",
|
|
412
|
-
"basicInformation.taxInformation": "soleProprietorship.taxInformation",
|
|
413
|
-
"basicInformation.exemptedFromTax": "soleProprietorship.taxAbsent",
|
|
414
|
-
"additionalInformation.hasDoingBusinessAs": "soleProprietorship.doingBusinessAsAbsent",
|
|
415
|
-
"additionalInformation.doingBusinessAs": "soleProprietorship.doingBusinessAs",
|
|
416
|
-
"additionalInformation.vatNumber": "soleProprietorship.vatNumber",
|
|
417
|
-
"additionalInformation.vatAbsenceReason": "soleProprietorship.vatAbsenceReason",
|
|
418
|
-
"additionalInformation.dateOfIncorporation": "soleProprietorship.dateOfIncorporation",
|
|
419
|
-
"additionalInformation.registrationAddressCity": "soleProprietorship.registeredAddress.city",
|
|
420
|
-
"additionalInformation.registrationAddressCountry": "soleProprietorship.registeredAddress.country",
|
|
421
|
-
"additionalInformation.registrationAddressPostalCode": "soleProprietorship.registeredAddress.postalCode",
|
|
422
|
-
"additionalInformation.registrationAddressStateOrProvince": "soleProprietorship.registeredAddress.stateOrProvince",
|
|
423
|
-
"additionalInformation.registrationAddressStreet": "soleProprietorship.registeredAddress.street",
|
|
424
|
-
"additionalInformation.registrationAddressStreet2": "soleProprietorship.registeredAddress.street2",
|
|
425
|
-
"additionalInformation.residentialAddressIndicator": "soleProprietorship.residentialAddressIndicator",
|
|
426
|
-
"additionalInformation.operationalAddressCity": "soleProprietorship.principalPlaceOfBusiness.city",
|
|
427
|
-
"additionalInformation.operationalAddressCountry": "soleProprietorship.principalPlaceOfBusiness.country",
|
|
428
|
-
"additionalInformation.operationalAddressPostalCode": "soleProprietorship.principalPlaceOfBusiness.postalCode",
|
|
429
|
-
"additionalInformation.operationalAddressStateOrProvince": "soleProprietorship.principalPlaceOfBusiness.stateOrProvince",
|
|
430
|
-
"additionalInformation.operationalAddressStreet": "soleProprietorship.principalPlaceOfBusiness.street",
|
|
431
|
-
"additionalInformation.operationalAddressStreet2": "soleProprietorship.principalPlaceOfBusiness.street2"
|
|
432
|
-
};
|
|
433
|
-
var solePropBusinessDetailsKeyMapping = {
|
|
434
|
-
"additionalInformation.exemptedFromVat": "soleProprietorship.vatAbsenceReason",
|
|
435
|
-
...solePropBusinessDetailsBaseMapping
|
|
436
|
-
};
|
|
437
|
-
var solePropBusinessDetailsApiKeyMapping = { ...reverseMapping(solePropBusinessDetailsBaseMapping) };
|
|
438
|
-
var solePropBusinessDetailsDocumentMapping = { ["constitutionalDocument"]: "companyConstitutionalDocument.constitutionalDocument" };
|
|
439
|
-
var remediationSolePropBusinessDetailsApiKeyMapping = {
|
|
440
|
-
...solePropBusinessDetailsApiKeyMapping,
|
|
441
|
-
...solePropBusinessDetailsDocumentMapping
|
|
442
|
-
};
|
|
443
|
-
//#endregion
|
|
444
|
-
//#region src/components/Individual/mapping/individualKeyMappings.ts
|
|
445
|
-
var individualObscuredFields = ["additionalPersonalDetails.idNumber", "additionalPersonalDetails.idNumberExempt"];
|
|
446
|
-
var individualBaseMapping = {
|
|
447
|
-
"basicDetails.firstName": "individual.name.firstName",
|
|
448
|
-
"basicDetails.lastName": "individual.name.lastName",
|
|
449
|
-
"basicDetails.phoneNumber.number": "individual.phone.number",
|
|
450
|
-
"basicDetails.phoneNumber.phoneCountryCode": "individual.phone.phoneCountryCode",
|
|
451
|
-
"basicDetails.phoneNumber.type": "individual.phone.type",
|
|
452
|
-
"basicDetails.email": "individual.email",
|
|
453
|
-
"additionalPersonalDetails.placeOfBirth": "individual.birthData.placeOfBirth",
|
|
454
|
-
"additionalPersonalDetails.birthDate": "individual.birthData.dateOfBirth",
|
|
455
|
-
"additionalPersonalDetails.idNumber": "individual.identificationData.number",
|
|
456
|
-
"additionalPersonalDetails.idNumberExempt": "individual.identificationData.nationalIdExempt",
|
|
457
|
-
"additionalPersonalDetails.typeOfIdentity": "individual.identificationData.type",
|
|
458
|
-
"additionalPersonalDetails.issuerState": "individual.identificationData.issuerState",
|
|
459
|
-
"additionalPersonalDetails.licenseCardNumber": "individual.identificationData.cardNumber",
|
|
460
|
-
"additionalPersonalDetails.expiryDate": "individual.identificationData.expiryDate",
|
|
461
|
-
"additionalPersonalDetails.nationality": "individual.nationality",
|
|
462
|
-
"additionalPersonalDetails.taxInformation": "individual.taxInformation",
|
|
463
|
-
"additionalPersonalDetails.city": "individual.residentialAddress.city",
|
|
464
|
-
"additionalPersonalDetails.country": "individual.residentialAddress.country",
|
|
465
|
-
"additionalPersonalDetails.postalCode": "individual.residentialAddress.postalCode",
|
|
466
|
-
"additionalPersonalDetails.stateOrProvince": "individual.residentialAddress.stateOrProvince",
|
|
467
|
-
"additionalPersonalDetails.street": "individual.residentialAddress.street",
|
|
468
|
-
"additionalPersonalDetails.street2": "individual.residentialAddress.street2"
|
|
469
|
-
};
|
|
470
|
-
var individualApiKeyMapping = { ...reverseMapping(individualBaseMapping) };
|
|
471
|
-
var individualDocumentMapping = {
|
|
472
|
-
["passport"]: "idVerificationMethod.idDocument",
|
|
473
|
-
["proofOfResidency"]: "proofOfResidency.proofOfResidency",
|
|
474
|
-
["proofOfNationalIdNumber"]: "proofOfNationalId.proofOfNationalId",
|
|
475
|
-
["proofOfRelationship"]: "proofOfRelationship.proofOfRelationship"
|
|
476
|
-
};
|
|
477
|
-
var remediationIndividualApiKeyMapping = {
|
|
478
|
-
...individualApiKeyMapping,
|
|
479
|
-
...individualDocumentMapping
|
|
480
|
-
};
|
|
481
|
-
//#endregion
|
|
482
|
-
//#region src/components/Trust/mapping/trustKeyMappings.ts
|
|
483
|
-
var trustBaseMapping = {
|
|
484
|
-
"trustRegistrationDetails.trustType": "trust.type",
|
|
485
|
-
"trustRegistrationDetails.legalName": "trust.name",
|
|
486
|
-
"trustRegistrationDetails.doingBusinessAs": "trust.doingBusinessAs",
|
|
487
|
-
"trustRegistrationDetails.hasDoingBusinessAs": "trust.doingBusinessAsAbsent",
|
|
488
|
-
"trustRegistrationDetails.country": "trust.countryOfGoverningLaw",
|
|
489
|
-
"trustRegistrationDetails.registrationNumber": "trust.registrationNumber",
|
|
490
|
-
"trustRegistrationDetails.taxInformation": "trust.taxInformation",
|
|
491
|
-
"trustRegistrationDetails.dateOfIncorporation": "trust.dateOfIncorporation",
|
|
492
|
-
"trustRegistrationAddress.registrationAddressCity": "trust.registeredAddress.city",
|
|
493
|
-
"trustRegistrationAddress.registrationAddressCountry": "trust.registeredAddress.country",
|
|
494
|
-
"trustRegistrationAddress.registrationAddressPostalCode": "trust.registeredAddress.postalCode",
|
|
495
|
-
"trustRegistrationAddress.registrationAddressStateOrProvince": "trust.registeredAddress.stateOrProvince",
|
|
496
|
-
"trustRegistrationAddress.registrationAddressStreet": "trust.registeredAddress.street",
|
|
497
|
-
"trustRegistrationAddress.registrationAddressStreet2": "trust.registeredAddress.street2",
|
|
498
|
-
"trustRegistrationAddress.operationalAddressCity": "trust.principalPlaceOfBusiness.city",
|
|
499
|
-
"trustRegistrationAddress.operationalAddressCountry": "trust.principalPlaceOfBusiness.country",
|
|
500
|
-
"trustRegistrationAddress.operationalAddressPostalCode": "trust.principalPlaceOfBusiness.postalCode",
|
|
501
|
-
"trustRegistrationAddress.operationalAddressStateOrProvince": "trust.principalPlaceOfBusiness.stateOrProvince",
|
|
502
|
-
"trustRegistrationAddress.operationalAddressStreet": "trust.principalPlaceOfBusiness.street",
|
|
503
|
-
"trustRegistrationAddress.operationalAddressStreet2": "trust.principalPlaceOfBusiness.street2"
|
|
504
|
-
};
|
|
505
|
-
var trustComponentsKeyMapping = { ...trustBaseMapping };
|
|
506
|
-
var trustApiKeyMapping = { ...reverseMapping(trustBaseMapping) };
|
|
507
|
-
var trustDocumentMapping = { ["constitutionalDocument"]: "trustConstitutionalDocument.constitutionalDocument" };
|
|
508
|
-
var remediationTrustKeyMapping = {
|
|
509
|
-
...trustApiKeyMapping,
|
|
510
|
-
...trustDocumentMapping
|
|
511
|
-
};
|
|
512
|
-
//#endregion
|
|
513
|
-
//#region src/utils/api/processCapabilities.ts
|
|
514
|
-
/**
|
|
515
|
-
* An array of verification error codes that are attached to the main LegalEntity however they are
|
|
516
|
-
* unrelated to the task status so should be omitted from the processing of the capabilities.
|
|
517
|
-
*
|
|
518
|
-
* List of Adyen error codes can be found here @see {@link https://docs.adyen.com/platforms/kyc-verification-codes/general-verification-errors/}
|
|
519
|
-
*/
|
|
520
|
-
var UNRELATED_DATA_MISSING_ERROR_CODES = [
|
|
521
|
-
"2_8036",
|
|
522
|
-
"2_8064",
|
|
523
|
-
"2_8067",
|
|
524
|
-
"2_8183",
|
|
525
|
-
"2_8189",
|
|
526
|
-
"2_8190",
|
|
527
|
-
"2_8191",
|
|
528
|
-
"2_8193",
|
|
529
|
-
"2_8247",
|
|
530
|
-
"2_8249",
|
|
531
|
-
"2_8248",
|
|
532
|
-
"2_8250"
|
|
533
|
-
];
|
|
534
|
-
var UNRELATED_INVALID_INPUT_ERROR_CODES = [
|
|
535
|
-
"1_14",
|
|
536
|
-
"2_901",
|
|
537
|
-
"2_902"
|
|
538
|
-
];
|
|
539
|
-
/**
|
|
540
|
-
* Whitelist of dataMissing error codes that should be displayed on the Summary page
|
|
541
|
-
* alongside invalidInput errors.
|
|
542
|
-
|
|
543
|
-
* Requirements for whitelisted errors:
|
|
544
|
-
* - Must be a dataMissing error type
|
|
545
|
-
* - RemediatingActions must be mapped in the appropriate key mapping files
|
|
546
|
-
*/
|
|
547
|
-
var WHITELISTED_DATA_MISSING_ERROR_CODES = ["2_8210"];
|
|
548
|
-
/** *
|
|
549
|
-
* Processes the capability problems and parses the problems into below form
|
|
550
|
-
* The resulting object segregates the errors based on form and fields they are mapped to
|
|
551
|
-
* and maps them to a task item. Also provides the errorCounts per entity and per form.
|
|
552
|
-
*
|
|
553
|
-
* @example
|
|
554
|
-
* ```
|
|
555
|
-
* {
|
|
556
|
-
* BankAccount: { // Group errors based on supporting entity type
|
|
557
|
-
* [id]: {
|
|
558
|
-
* errors: {
|
|
559
|
-
* [formId]: {
|
|
560
|
-
* [parentErrorCode]: {
|
|
561
|
-
* [subErrorCode]: [
|
|
562
|
-
* {
|
|
563
|
-
* { code: '1_300', forms: ['personalDetails'], fields: ['firstName', 'lastName'] }
|
|
564
|
-
* }
|
|
565
|
-
* ]
|
|
566
|
-
* }
|
|
567
|
-
* },
|
|
568
|
-
* },
|
|
569
|
-
* remediationActions: {
|
|
570
|
-
* '1_300': { code: '1_300', forms: ['personalDetails'], fields: ['firstName', 'lastName'] }
|
|
571
|
-
* }
|
|
572
|
-
* }
|
|
573
|
-
* },
|
|
574
|
-
* LegalEntity: { // will contain main entity as well as associated entity Problems
|
|
575
|
-
* [id]: {
|
|
576
|
-
* errors: {
|
|
577
|
-
* [formId]: {
|
|
578
|
-
* [parentErrorCode]: {
|
|
579
|
-
* [subErrorCode]: [
|
|
580
|
-
* {
|
|
581
|
-
* { code: '1_300', forms: ['personalDetails'], fields: ['firstName', 'lastName'] }
|
|
582
|
-
* }
|
|
583
|
-
* ]
|
|
584
|
-
* }
|
|
585
|
-
* },
|
|
586
|
-
* },
|
|
587
|
-
* remediationActions: {
|
|
588
|
-
* '1_300': { code: '1_300', forms: ['personalDetails'], fields: ['firstName', 'lastName'] }
|
|
589
|
-
* }
|
|
590
|
-
* }
|
|
591
|
-
* }
|
|
592
|
-
*};
|
|
593
|
-
* ```
|
|
594
|
-
*
|
|
595
|
-
* */
|
|
596
|
-
var getComponentMappingFromLEFieldPath = (context, entityType) => {
|
|
597
|
-
if (!context?.key) return;
|
|
598
|
-
if (context.key === "idVerificationMethod") return "idVerificationMethod.idVerificationMethod";
|
|
599
|
-
const individualRemediationKeyMapping = remediationIndividualApiKeyMapping;
|
|
600
|
-
if (context.key in customerSupportRemediationKeyMapping) return customerSupportRemediationKeyMapping[context.key];
|
|
601
|
-
switch (entityType) {
|
|
602
|
-
case LegalEntityTypes.INDIVIDUAL: return context.key in individualRemediationKeyMapping ? individualRemediationKeyMapping[context.key] : void 0;
|
|
603
|
-
case LegalEntityTypes.ORGANIZATION: return context.key in remediationBusinessDetailsApiKeyMapping ? remediationBusinessDetailsApiKeyMapping[context.key] : void 0;
|
|
604
|
-
case EntityTypes.BANK_ACCOUNT: return context.key in remediationPayoutApiKeyMapping ? remediationPayoutApiKeyMapping[context.key] : void 0;
|
|
605
|
-
case LegalEntityTypes.SOLE_PROPRIETORSHIP: return context.key in remediationSolePropBusinessDetailsApiKeyMapping ? remediationSolePropBusinessDetailsApiKeyMapping[context.key] : void 0;
|
|
606
|
-
case LegalEntityTypes.TRUST:
|
|
607
|
-
default: return context.key in remediationTrustKeyMapping ? remediationTrustKeyMapping[context.key] : void 0;
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
|
-
var FIELDS_WITH_LINKED_DATA = ["vatNumber"];
|
|
611
|
-
var getLinkedRemedidationFormFields = (accFormsAndFields, field) => {
|
|
612
|
-
switch (field) {
|
|
613
|
-
case "vatNumber":
|
|
614
|
-
accFormsAndFields.fields.add("vatAbsenceReason");
|
|
615
|
-
accFormsAndFields.fields.add("exemptedFromVat");
|
|
616
|
-
break;
|
|
617
|
-
default: return;
|
|
618
|
-
}
|
|
619
|
-
};
|
|
620
|
-
var getRemediationsWithFormsAndFields = (remediatingActions, entityType) => {
|
|
621
|
-
const mappedRemediations = remediatingActions.reduce((acc, { code: remediationCode }) => {
|
|
622
|
-
/**
|
|
623
|
-
* Map the remediation action code to get the field for context
|
|
624
|
-
*/
|
|
625
|
-
const apiFieldPathToRemediate = invalidInputRemediationActionMappings[remediationCode];
|
|
626
|
-
if (!apiFieldPathToRemediate) return acc;
|
|
627
|
-
/**
|
|
628
|
-
* Translate the LEM context into the UI component context
|
|
629
|
-
*/
|
|
630
|
-
const componentFieldPathsToRemediate = apiFieldPathToRemediate.map((context) => getComponentMappingFromLEFieldPath(context, entityType)).filter(Boolean);
|
|
631
|
-
if (!componentFieldPathsToRemediate) return acc;
|
|
632
|
-
/**
|
|
633
|
-
* Split up component field paths(formName.fieldName) to get form and field
|
|
634
|
-
* Forms related to the single remediation
|
|
635
|
-
*/
|
|
636
|
-
const { forms, fields } = componentFieldPathsToRemediate.reduce((accFormsAndFields, fullFieldPath) => {
|
|
637
|
-
if (!fullFieldPath) return accFormsAndFields;
|
|
638
|
-
const [form, field] = fullFieldPath.split(/\.(.+)/, 2);
|
|
639
|
-
if (FIELDS_WITH_LINKED_DATA.includes(field)) getLinkedRemedidationFormFields(accFormsAndFields, field);
|
|
640
|
-
accFormsAndFields.forms.add(form);
|
|
641
|
-
accFormsAndFields.fields.add(field);
|
|
642
|
-
return accFormsAndFields;
|
|
643
|
-
}, {
|
|
644
|
-
forms: /* @__PURE__ */ new Set(),
|
|
645
|
-
fields: /* @__PURE__ */ new Set()
|
|
646
|
-
});
|
|
647
|
-
acc.remediationsWithFormsAndFields.push({
|
|
648
|
-
code: remediationCode,
|
|
649
|
-
forms: Array.from(forms),
|
|
650
|
-
fields: Array.from(fields)
|
|
651
|
-
});
|
|
652
|
-
/**
|
|
653
|
-
* Forms related to all the remediations in the subError
|
|
654
|
-
*/
|
|
655
|
-
forms.forEach((formId) => acc.forms.add(formId));
|
|
656
|
-
return acc;
|
|
657
|
-
}, {
|
|
658
|
-
forms: /* @__PURE__ */ new Set(),
|
|
659
|
-
remediationsWithFormsAndFields: []
|
|
660
|
-
});
|
|
661
|
-
return {
|
|
662
|
-
forms: Array.from(mappedRemediations.forms),
|
|
663
|
-
remediationsWithFormsAndFields: mappedRemediations.remediationsWithFormsAndFields
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
var isUnRelatedErrorCode = (error) => UNRELATED_DATA_MISSING_ERROR_CODES.includes(error?.code) || UNRELATED_INVALID_INPUT_ERROR_CODES.includes(error?.code);
|
|
667
|
-
/**
|
|
668
|
-
* Processes a dataMissing verification error that has top-level remediatingActions (no subErrors).
|
|
669
|
-
* Maps each remediation action to its affected UI forms/fields, then produces two outputs:
|
|
670
|
-
* 1. verificationErrors — keyed by formId, nesting the parent error code and its child remediation details
|
|
671
|
-
* 2. remediationActions — a flat lookup from remediation code to its forms/fields
|
|
672
|
-
*
|
|
673
|
-
* Because dataMissing errors lack the parent→child hierarchy of invalidInput errors,
|
|
674
|
-
* the parent error code is used as both the parent key and the child key so the
|
|
675
|
-
* resulting shape matches the invalidInput errors.
|
|
676
|
-
*/
|
|
677
|
-
var getDataMissingError = (parentVerificationError, entityType) => {
|
|
678
|
-
const remediatingActions = parentVerificationError.remediatingActions ?? [];
|
|
679
|
-
if (!remediatingActions.length) return {
|
|
680
|
-
verificationErrors: {},
|
|
681
|
-
remediationActions: {}
|
|
682
|
-
};
|
|
683
|
-
const { forms, remediationsWithFormsAndFields } = getRemediationsWithFormsAndFields(remediatingActions, entityType);
|
|
684
|
-
const childErrorsWithRemActions = { [parentVerificationError.code]: remediationsWithFormsAndFields };
|
|
685
|
-
return {
|
|
686
|
-
verificationErrors: Array.from(forms).reduce((acc, formId) => {
|
|
687
|
-
acc = {
|
|
688
|
-
...acc,
|
|
689
|
-
[formId]: { [parentVerificationError.code]: childErrorsWithRemActions }
|
|
690
|
-
};
|
|
691
|
-
return acc;
|
|
692
|
-
}, {}),
|
|
693
|
-
remediationActions: remediationsWithFormsAndFields.reduce((remediationActionsacc, remediationWithFormsAndFields) => ({
|
|
694
|
-
...remediationActionsacc,
|
|
695
|
-
[remediationWithFormsAndFields.code]: remediationWithFormsAndFields
|
|
696
|
-
}), {})
|
|
697
|
-
};
|
|
698
|
-
};
|
|
699
|
-
/**
|
|
700
|
-
* Iterates of the verification subErrors's remediationAction to discover associated forms and fields (using mappings).
|
|
701
|
-
* @param parentVerificationError - Parent verification
|
|
702
|
-
* @param entityType - type of entity
|
|
703
|
-
* @param country
|
|
704
|
-
* @param isFeatureEnabled
|
|
705
|
-
*/
|
|
706
|
-
var getInvalidInputError = (parentVerificationError, entityType) => {
|
|
707
|
-
/**
|
|
708
|
-
* Process subErrors in each verificationError
|
|
709
|
-
*/
|
|
710
|
-
const { allForms, childErrorsWithRemActions } = (parentVerificationError.subErrors ?? [parentVerificationError]).reduce((acc, { code: errorCode, remediatingActions }) => {
|
|
711
|
-
if (!remediatingActions?.length) return acc;
|
|
712
|
-
/**
|
|
713
|
-
* Process remediations of each subError
|
|
714
|
-
*/
|
|
715
|
-
const { forms, remediationsWithFormsAndFields } = getRemediationsWithFormsAndFields(remediatingActions, entityType);
|
|
716
|
-
acc.childErrorsWithRemActions[errorCode] = remediationsWithFormsAndFields;
|
|
717
|
-
forms.forEach((formId) => acc.allForms.add(formId));
|
|
718
|
-
return acc;
|
|
719
|
-
}, {
|
|
720
|
-
allForms: /* @__PURE__ */ new Set(),
|
|
721
|
-
childErrorsWithRemActions: {}
|
|
722
|
-
});
|
|
723
|
-
return {
|
|
724
|
-
verificationErrors: Array.from(allForms).reduce((acc, formId) => {
|
|
725
|
-
acc = {
|
|
726
|
-
...acc,
|
|
727
|
-
[formId]: { [parentVerificationError.code]: childErrorsWithRemActions }
|
|
728
|
-
};
|
|
729
|
-
return acc;
|
|
730
|
-
}, {}),
|
|
731
|
-
remediationActions: Object.values(childErrorsWithRemActions).flatMap((remediationsWithFormsAndFields) => remediationsWithFormsAndFields).reduce((remediationActionsacc, remediationWithFormsAndFields) => ({
|
|
732
|
-
...remediationActionsacc,
|
|
733
|
-
[remediationWithFormsAndFields.code]: remediationWithFormsAndFields
|
|
734
|
-
}), {})
|
|
735
|
-
};
|
|
736
|
-
};
|
|
737
|
-
/**
|
|
738
|
-
* Merge form verification errors
|
|
739
|
-
* @param existingFormVerificationErrors
|
|
740
|
-
* @param newFormVerificationErrors
|
|
741
|
-
*/
|
|
742
|
-
var mergeFormLevelErrors = (existingFormVerificationErrors, newFormVerificationErrors) => {
|
|
743
|
-
const mergedFormVerificationErrors = Object.entries(newFormVerificationErrors ?? {}).reduce((acc, [formId, formVerificationErrors]) => {
|
|
744
|
-
acc = {
|
|
745
|
-
...acc,
|
|
746
|
-
[formId]: {
|
|
747
|
-
...existingFormVerificationErrors?.[formId],
|
|
748
|
-
...formVerificationErrors
|
|
749
|
-
}
|
|
750
|
-
};
|
|
751
|
-
return acc;
|
|
752
|
-
}, {});
|
|
753
|
-
return {
|
|
754
|
-
...existingFormVerificationErrors,
|
|
755
|
-
...mergedFormVerificationErrors
|
|
756
|
-
};
|
|
757
|
-
};
|
|
758
|
-
/**
|
|
759
|
-
* newStatus is set in the entityProblems only if the newStatus has higher priority than
|
|
760
|
-
* existing status. This is because a legalentity can have different status for each capability.
|
|
761
|
-
* Status of the legalEntity should be the one with highest priority defined in Taskstatus enum.
|
|
762
|
-
* @param entityProblems - entityProblems
|
|
763
|
-
* @param newStatusWithReason - new status to set
|
|
764
|
-
*/
|
|
765
|
-
function getPriorityStatus(entityProblems, newStatusWithReason) {
|
|
766
|
-
if (!entityProblems.statusWithReason || TASK_STATUS_PRIORITY[entityProblems.statusWithReason.status] < TASK_STATUS_PRIORITY[newStatusWithReason.status]) return newStatusWithReason;
|
|
767
|
-
return entityProblems.statusWithReason;
|
|
768
|
-
}
|
|
769
|
-
function getMissingDataError(verificationError, entityProblems) {
|
|
770
|
-
return entityProblems.missingData ? [...entityProblems.missingData, verificationError] : [verificationError];
|
|
771
|
-
}
|
|
772
|
-
function getEntityProblems(verificationErrors, entityType) {
|
|
773
|
-
return verificationErrors.reduce((entityProblems, verificationError) => {
|
|
774
|
-
const currEntityProblems = cloneObject(entityProblems);
|
|
775
|
-
switch (verificationError.type) {
|
|
776
|
-
case VerificationErrorTypes.INVALID_INPUT:
|
|
777
|
-
if (!isUnRelatedErrorCode(verificationError)) {
|
|
778
|
-
const { verificationErrors: newVerificationErrors, remediationActions } = getInvalidInputError(verificationError, entityType);
|
|
779
|
-
currEntityProblems.verificationErrors = mergeFormLevelErrors(currEntityProblems.verificationErrors, newVerificationErrors);
|
|
780
|
-
currEntityProblems.remediationActions = remediationActions;
|
|
781
|
-
currEntityProblems.statusWithReason = getPriorityStatus(entityProblems, {
|
|
782
|
-
status: TaskStatuses.ERROR,
|
|
783
|
-
reason: "invalidInputError",
|
|
784
|
-
details: { verificationError }
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
break;
|
|
788
|
-
case VerificationErrorTypes.DATA_MISSING:
|
|
789
|
-
currEntityProblems.missingData = getMissingDataError(verificationError, currEntityProblems);
|
|
790
|
-
if (WHITELISTED_DATA_MISSING_ERROR_CODES.includes(verificationError.code)) {
|
|
791
|
-
const { verificationErrors: newVerificationErrors, remediationActions } = verificationError.subErrors ? getInvalidInputError(verificationError, entityType) : getDataMissingError(verificationError, entityType);
|
|
792
|
-
currEntityProblems.verificationErrors = mergeFormLevelErrors(currEntityProblems.verificationErrors, newVerificationErrors);
|
|
793
|
-
currEntityProblems.remediationActions = {
|
|
794
|
-
...currEntityProblems.remediationActions,
|
|
795
|
-
...remediationActions
|
|
796
|
-
};
|
|
797
|
-
}
|
|
798
|
-
if (!isUnRelatedErrorCode(verificationError)) currEntityProblems.statusWithReason = getPriorityStatus(entityProblems, {
|
|
799
|
-
status: TaskStatuses.DETAILS_REQUIRED,
|
|
800
|
-
reason: "dataMissingError",
|
|
801
|
-
details: { verificationError }
|
|
802
|
-
});
|
|
803
|
-
break;
|
|
804
|
-
case VerificationErrorTypes.DATA_REVIEW:
|
|
805
|
-
currEntityProblems.isReviewRequired = true;
|
|
806
|
-
currEntityProblems.verificationErrors = {
|
|
807
|
-
...currEntityProblems.verificationErrors,
|
|
808
|
-
review: { [verificationError.code]: verificationError.remediatingActions }
|
|
809
|
-
};
|
|
810
|
-
currEntityProblems.statusWithReason = getPriorityStatus(entityProblems, {
|
|
811
|
-
status: TaskStatuses.SUBMIT,
|
|
812
|
-
reason: "dataReviewNeeded"
|
|
813
|
-
});
|
|
814
|
-
break;
|
|
815
|
-
case VerificationErrorTypes.PENDING_STATUS:
|
|
816
|
-
currEntityProblems.statusWithReason = getPriorityStatus(entityProblems, {
|
|
817
|
-
status: TaskStatuses.PROCESSING,
|
|
818
|
-
reason: "pendingStatusError"
|
|
819
|
-
});
|
|
820
|
-
break;
|
|
821
|
-
case VerificationErrorTypes.REJECTED: break;
|
|
822
|
-
}
|
|
823
|
-
return currEntityProblems;
|
|
824
|
-
}, {});
|
|
825
|
-
}
|
|
826
|
-
var aggregateProblemsByEntity = (problems, entity) => problems.reduce((errorsByEntity, problem) => {
|
|
827
|
-
if (!problem.entity?.type || !problem.entity.id || !problem.verificationErrors?.length) return errorsByEntity;
|
|
828
|
-
const { type: baseEntityType, id: entityId } = problem.entity;
|
|
829
|
-
const existingErrorsForEntity = errorsByEntity[entityId];
|
|
830
|
-
const aggregatedErrors = {
|
|
831
|
-
...errorsByEntity,
|
|
832
|
-
[entityId]: {
|
|
833
|
-
baseEntityType,
|
|
834
|
-
exactEntityType: void 0,
|
|
835
|
-
verificationErrors: [...existingErrorsForEntity?.verificationErrors ?? [], ...problem.verificationErrors]
|
|
836
|
-
}
|
|
837
|
-
};
|
|
838
|
-
/**
|
|
839
|
-
* using switch to discriminate union types based on entity type
|
|
840
|
-
*/
|
|
841
|
-
switch (entity.type) {
|
|
842
|
-
case "bankAccount":
|
|
843
|
-
case "recurringDetail":
|
|
844
|
-
aggregatedErrors[entityId].exactEntityType = EntityTypes.BANK_ACCOUNT;
|
|
845
|
-
return aggregatedErrors;
|
|
846
|
-
default:
|
|
847
|
-
aggregatedErrors[entityId].exactEntityType = getEntityType(baseEntityType, entity, entityId);
|
|
848
|
-
return aggregatedErrors;
|
|
849
|
-
}
|
|
850
|
-
}, {});
|
|
851
|
-
var overrideVerificationErrors = (verificationErrors, country) => verificationErrors.map((verificationError) => {
|
|
852
|
-
if (country === "US" || verificationError.code === "1_3083") return overrideError(verificationError);
|
|
853
|
-
return verificationError;
|
|
854
|
-
});
|
|
855
|
-
function getCapabilityProblems(entity, country) {
|
|
856
|
-
return entriesOf(aggregateProblemsByEntity(entity?.problems ?? [], entity)).reduce((capabilityProblems, [entityId, { verificationErrors, exactEntityType, baseEntityType }]) => ({
|
|
857
|
-
...capabilityProblems,
|
|
858
|
-
[baseEntityType]: {
|
|
859
|
-
...capabilityProblems[baseEntityType],
|
|
860
|
-
[entityId]: getEntityProblems(overrideVerificationErrors(verificationErrors, country), exactEntityType)
|
|
861
|
-
}
|
|
862
|
-
}), {});
|
|
863
|
-
}
|
|
864
|
-
var remediationHasFileUploadField = (remediation) => {
|
|
865
|
-
return remediation?.forms?.some((form) => form === "idVerificationMethod" || form === "manualIdUpload" || form === "proofOfResidency" || form === "proofOfNationalId" || form === "companyRegistrationDocument" || form === "companyTaxDocument" || form === "companyProofOfDirectorDocument" || form === "companyProofOfSignatoryDocument" || form === "companyProofOfOwnershipDocument" || form === "companyConstitutionalDocument" || form === "payoutAccountDocuments" || form === "trustConstitutionalDocument" || form === "companyProofOfAddressDocument");
|
|
866
|
-
};
|
|
867
|
-
var getEntityType = (baseEntityType, legalEntity, legalEntityId) => {
|
|
868
|
-
if (baseEntityType !== EntityTypes.LEGAL_ENTITY) return baseEntityType;
|
|
869
|
-
if (legalEntityId === legalEntity.id) return legalEntity.type;
|
|
870
|
-
return legalEntity.entityAssociations?.find((associations) => legalEntityId === associations.legalEntityId)?.entityType;
|
|
871
|
-
};
|
|
872
|
-
var getCapabilities = (legalEntity) => Object.keys(legalEntity?.capabilities ?? {});
|
|
873
|
-
//#endregion
|
|
874
|
-
export { EntityTypes as C, dataMissingRemediationsToFieldsMap as E, remediationPayoutApiKeyMapping as S, DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING as T, businessDetailsKeyMapping as _, trustComponentsKeyMapping as a, crossBorderMapping as b, individualBaseMapping as c, remediationIndividualApiKeyMapping as d, solePropBusinessDetailsApiKeyMapping as f, businessDetailsDocumentMapping as g, businessDetailsApiKeyMapping as h, trustApiKeyMapping as i, individualDocumentMapping as l, solePropBusinessDetailsKeyMapping as m, getCapabilityProblems as n, trustDocumentMapping as o, solePropBusinessDetailsDocumentMapping as p, remediationHasFileUploadField as r, individualApiKeyMapping as s, getCapabilities as t, individualObscuredFields as u, remediationBusinessDetailsApiKeyMapping as v, CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES as w, payoutComponentKeyMapping as x, reverseMapping as y };
|