@adyen/kyc-components 4.0.0-compact.4 → 4.0.0-compact.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{4-people-BzyXLUF9.js → 4-people-BtDi7O9A.js} +2 -2
- package/dist/{AcceptTermsOfServiceComponent-BpEgUWXz.js → AcceptTermsOfServiceComponent-kRAMcIqz.js} +37 -29
- package/dist/{Accordion-C7tT1-lq.js → Accordion-s3uIJ_O9.js} +2 -2
- package/dist/{AccountSetupRejected-Bx9bf2P2.js → AccountSetupRejected-WvT8wynP.js} +4 -4
- package/dist/{ActionBar-BYag3Mhx.js → ActionBar-BOto3kIR.js} +2 -2
- package/dist/{Address-BG5_sFfZ.js → Address-DfQEZqfV.js} +83 -288
- package/dist/{Alert-CjdHpM1t.js → Alert-_9nVl6uE.js} +3 -3
- package/dist/{Avatar-BbYg2DuO.js → Avatar-B1FMn4jz.js} +2 -2
- package/dist/{BusinessFinancingComponent-C6IiU1SV.js → BusinessFinancingComponent-DgeP0WtS.js} +7 -7
- package/dist/{BusinessFinancingDropin-BGSfIRyw.js → BusinessFinancingDropin-BpaTs3Tb.js} +691 -300
- package/dist/{BusinessFinancingPage-B6B4tyGt.js → BusinessFinancingPage-qodSYGAB.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-0jkL0xW-.js → BusinessTypeSelectionPage-CsvC5c2P.js} +59 -39
- package/dist/Card-OQuFzmxm.js +90 -0
- package/dist/{debouncedInputEvent-BdLyqQK5.js → Checkbox-CQQWg0dg.js} +3 -38
- package/dist/Confirm-DqMkw97y.js +64 -0
- package/dist/ConstitutionalDocument-B1vSvDTu.js +2361 -0
- package/dist/ContactDetails-171etkPM.js +396 -0
- package/dist/ContextGuidance-PEl3_E1Y.js +34 -0
- package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
- package/dist/CountryField-61GLcHq3.js +66 -0
- package/dist/CreateIndividualComponent-U4BUiWzp.js +65 -0
- package/dist/{CreateTransferInstrumentComponent-BNvXg6_9.js → CreateTransferInstrumentComponent-CHPjKshD.js} +6 -13
- package/dist/{Currency-DpseKPZa.js → Currency-8vOxnPYI.js} +68 -13
- package/dist/{CustomerSupport-BzpGH7XC.js → CustomerSupport-DcnFyc9J.js} +13 -10
- package/dist/{DebugModal-DyH69DXv.js → DebugModal-yKPZa0En.js} +12 -9
- package/dist/{DecisionMakerDetailsPage-BiCWUl-E.js → DecisionMakerDetailsPage-bIZxlptv.js} +19 -21
- package/dist/{DecisionMakers-WTQe_49J.js → DecisionMakers-rudvJ8LE.js} +41 -25
- package/dist/Dropzone-Brt8j_On.js +224 -0
- package/dist/{EmbeddedStatus-CcwyilpG.js → EmbeddedStatus-C6KmRWYa.js} +3 -3
- package/dist/{EndStateLayout-DUFAp0sp.js → EndStateLayout-CNBH6HSv.js} +2 -2
- package/dist/EntityAssociation-CvfmwTx0.js +178 -0
- package/dist/{EntityGuidanceStatus-Bpa8WnR_.js → EntityGuidanceStatus-DfqozWFu.js} +4 -3
- package/dist/ErrorPanel-8g7vzs2J.js +194 -0
- package/dist/Field-GFhXhBL7.js +141 -0
- package/dist/{FormNavigation-BP2ZV8AF.js → FormNavigation-CuO_QOlJ.js} +3 -3
- package/dist/{FormWrapper-D2abCVld.js → FormWrapper-MyJZP-4s.js} +10 -10
- package/dist/Header-B9Tv_mvA.js +83 -0
- package/dist/Image-8l9eOMtL.js +27 -0
- package/dist/Individual.rules-NmFmV4le.js +383 -0
- package/dist/IndividualDropin-D_UTW3Pt.js +5168 -0
- package/dist/InputDate-D741B4uo.js +43 -0
- package/dist/InputGroup-WBfGDV5F.js +32 -0
- package/dist/InputText-BstgOD1h.js +134 -0
- package/dist/{Introduction-Ee8931m9.js → Introduction-586MDoqe.js} +4 -4
- package/dist/{JpAddress-Br78ZY9o.js → JpAddress-D5DwOic-.js} +62 -28
- package/dist/LandingLayout-DfrTphbg.js +60 -0
- package/dist/LegalCompanyNameField-Z2dNj0Qq.js +138 -0
- package/dist/{LegalRepresentativeDetailsPage-kZbXv8m2.js → LegalRepresentativeDetailsPage-Dkufg--B.js} +7 -12
- package/dist/Link-hYPpX6dq.js +35 -0
- package/dist/List-BAzyC6sw.js +83 -0
- package/dist/{ListItem-DKLPtRMQ.js → ListItem-DCNK7Kw1.js} +3 -3
- package/dist/LoaderWrapper-Brwtj1ws.js +42 -0
- package/dist/{ManageIndividualComponent-CrAC6lmI.js → ManageIndividualComponent-HmFUwG8J.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-D188174Y.js → ManageTermsOfServiceComponent-CEXRN-aQ.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-DDIhJrq3.js → ManageTransferInstrumentComponent-BZMoocXD.js} +20 -15
- package/dist/{Spacer-BT5nYRXK.js → MaskedInput-D1fbApUW.js} +29 -635
- package/dist/{MaybeModal-QG3JQV0A.js → MaybeModal-D1Kv1uXL.js} +3 -3
- package/dist/{Modal-B8fxl0iP.js → Modal-BRPW5V15.js} +5 -5
- package/dist/Name-DNcNeuyc.js +81 -0
- package/dist/OnboardingDropinComponent-Jp7jobVe.js +2672 -0
- package/dist/{PayoutDetailsDropin-D_ee4PgW.js → PayoutDetailsDropin-CQ8jWnhg.js} +257 -161
- package/dist/Radio-BMtxBpnn.js +39 -0
- package/dist/RadioGroup-BLGCNZj6.js +100 -0
- package/dist/RadioGroupCard-Dp6kxT2Z.js +152 -0
- package/dist/{Review-BDXmgIlE.js → Review-DsexJYqW.js} +8 -7
- package/dist/RootBusinessDetailsPage-W6I6u26i.js +50 -0
- package/dist/{RootBusinessLinesPage-CbaRG8zg.js → RootBusinessLinesPage-BfW_VGr0.js} +166 -82
- package/dist/{RootIndividualDetailsPage-D4hpO1W0.js → RootIndividualDetailsPage-CU0ERRgH.js} +10 -19
- package/dist/{useForm-BsQfbbso.js → Select-_jyQwO_g.js} +22 -779
- package/dist/{SignPCIComponent-4qzKpijW.js → SignPCIComponent-DqNgUb0y.js} +16 -13
- package/dist/{SingpassSelection-BB6R98e_.js → SingpassSelection-CInOhNfV.js} +9 -7
- package/dist/{SoleProprietorshipPage-Z5lqmwWa.js → SoleProprietorshipPage-Bgg5nHmh.js} +6 -5
- package/dist/{SourceOfFundsPage-BA638WTW.js → SourceOfFundsPage-DWz_BoML.js} +200 -421
- package/dist/Spacer-BK3jDget.js +18 -0
- package/dist/{StepProgressIndicator-Bs1V38Kt.js → StepProgressIndicator-DsULqiFr.js} +2 -2
- package/dist/StoreProvider-DwuHWsNs.js +4793 -0
- package/dist/StructuredList-CVMZBzwq.js +61 -0
- package/dist/{Summary-BOSxxPjv.js → Summary-BtqxXkko.js} +22 -6
- package/dist/{InputText-qTMbrUXW.js → TaskVerificationStatus-DQVG3_xF.js} +3 -123
- package/dist/TaxInformationField-QyHTiEoc.js +3741 -0
- package/dist/{TaxReportingDropin-CQzNhf9Q.js → TaxReportingDropin-Cs21XUR6.js} +38 -37
- package/dist/TextArea-DFDjCEZ2.js +103 -0
- package/dist/TileGroup-6wc032O1.js +203 -0
- package/dist/{TrustDetailsPage-BLNK52Za.js → TrustDetailsPage-BpITz9Vt.js} +59 -37
- package/dist/TrustMemberCompanyPage-Web2yU9Z.js +68 -0
- package/dist/{TrustMemberIndividualPage-q2iayL78.js → TrustMemberIndividualPage-tBGM6dM8.js} +13 -15
- package/dist/{TrustMemberRoleAndTypePage-C1WVoqKI.js → TrustMemberRoleAndTypePage-CJEVcHdE.js} +136 -35
- package/dist/{TrustMembersOverview-5UGm_iG9.js → TrustMembersOverview-DefELe9P.js} +14 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-CyqUGlhC.js → UnincorporatedPartnershipIndividualPage-BXQiQmMN.js} +12 -14
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D_J_JQ00.js → UnincorporatedPartnershipMemberCompanyPage-DhzsjYbl.js} +11 -7
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C98KZ4pT.js → UnincorporatedPartnershipMemberRoleAndTypePage-OdKCGjaA.js} +28 -17
- package/dist/{UnincorporatedPartnershipMembersOverview-C5jfbcPJ.js → UnincorporatedPartnershipMembersOverview-DSeUBGiY.js} +10 -9
- package/dist/{VerificationErrorAlert-BJ9X1Bkv.js → VerificationErrorAlert-I8hQrG1X.js} +4 -23
- package/dist/{ViewVerificationStatusComponent-KnTqf4d6.js → ViewVerificationStatusComponent-CneXbSXW.js} +5 -4
- package/dist/accountHolderUtils-CPiTlzkl.js +66 -0
- package/dist/adyen-business-financing.js +8 -4
- package/dist/adyen-individual-configuration.js +8 -4
- package/dist/adyen-individual-status.js +5 -4
- package/dist/adyen-invited-decision-maker.js +87 -0
- package/dist/adyen-kyc-components.js +22 -20
- package/dist/adyen-onboarding.js +8 -4
- package/dist/adyen-terms-of-service-management.js +8 -4
- package/dist/adyen-terms-of-service-status.js +5 -4
- package/dist/adyen-transfer-instrument-configuration.js +8 -4
- package/dist/adyen-transfer-instrument-management.js +5 -4
- package/dist/adyen-verification-status.js +8 -4
- package/dist/{arrow-right-KxA3SvQj.js → arrow-right-BoqwUH_d.js} +2 -2
- package/dist/bafinUtils-u4rPfeF0.js +80 -0
- package/dist/{bag-BPumznWh.js → bag-BXVWLrwo.js} +2 -2
- package/dist/{bank-D6FiNBhs.js → bank-1GvaHPAZ.js} +2 -2
- package/dist/{bin-Bz6KOIeE.js → bin-Ba-3ll8T.js} +2 -2
- package/dist/{business-lines-DboUCbXw.js → business-lines-BAqTbnBw.js} +2 -2
- package/dist/{capital-GVQ3svwN.js → capital-9TKHySO7.js} +2 -2
- package/dist/{cash-stack-D9AoDDwt.js → cash-stack-DwYu4xNy.js} +2 -2
- package/dist/{certificate-CdEWgHQf.js → certificate-N2YFedpI.js} +2 -2
- package/dist/{checkmark-Q7x6tGhy.js → checkmark-D9dGhGpG.js} +2 -2
- package/dist/{checkmark-circle-x7dzbp3I.js → checkmark-circle-CFWClLQ6.js} +2 -2
- package/dist/{checkmark-circle-fill-CsvN5_PL.js → checkmark-circle-fill-DEB-tuGl.js} +2 -2
- package/dist/{checkmark-small-D35myntq.js → checkmark-small-D3VNx2lo.js} +2 -2
- package/dist/{chevron-down-C2iDorpW.js → chevron-down-C7SUSYfl.js} +2 -2
- package/dist/{chevron-left-ztPO84q-.js → chevron-left-BXmd-S46.js} +2 -2
- package/dist/{chevron-right-C_JN0oDt.js → chevron-right-jE6RwM2B.js} +2 -2
- package/dist/{chevron-up-CgG8n25g.js → chevron-up-BdfNcqzq.js} +2 -2
- package/dist/{circle-Bt3Nlr3q.js → circle-BJPTMCWB.js} +2 -2
- package/dist/{circle-small-filled-YMzP6yQU.js → circle-small-filled-BuO8Vg8j.js} +2 -2
- package/dist/{clock-BZHremOA.js → clock-DAzaBRWk.js} +2 -2
- package/dist/{coins-fkAk6dCo.js → coins-DYdzG5e_.js} +2 -2
- package/dist/commonValidators-BWyE1hKM.js +24 -0
- package/dist/company-types-value-D_mKv5PT.js +23 -0
- package/dist/{contract-BTa4HltT.js → contract-BfJb1t6M.js} +2 -2
- package/dist/{cross-Cn09MtQ_.js → cross-CDS_eot4.js} +2 -2
- package/dist/{cross-circle-fill-maan7Z5S.js → cross-circle-fill-C-EJ57Yn.js} +2 -2
- package/dist/{cross-circle-fill-small-DCz52AuN.js → cross-circle-fill-small-DkPjsuBH.js} +2 -2
- package/dist/currency-CrdnaaDu.js +35 -0
- package/dist/da-DK-B3Pg-MWO.js +13 -0
- package/dist/{da-DK-Dc0QYG8m.js → da-DK-Cd5IQPv3.js} +8 -1
- package/dist/{da-DK-CoTdzXlA.js → da-DK-DQ4ZYSea.js} +2 -2
- package/dist/da-DK-DzcTI92X.js +13 -0
- package/dist/datasetUtil-BHQp0-xL.js +58 -0
- package/dist/{de-DE-Dz2OsS1F.js → de-DE-C9NH2zMh.js} +8 -1
- package/dist/{de-DE-z0cPgxGN.js → de-DE-CkbOZ6S_.js} +2 -2
- package/dist/de-DE-S6qDey1L.js +13 -0
- package/dist/de-DE-dPfrbCii.js +13 -0
- package/dist/debouncedInputEvent-Cv2S512Y.js +46 -0
- package/dist/{decision-makers-group-CgddXgrx.js → decision-makers-group-DrvpnEqj.js} +2 -2
- package/dist/{digital-wallet-D_IpxnkN.js → digital-wallet-Bx5YM1LY.js} +2 -2
- package/dist/{document-1-C08ut-Dt.js → document-1-qlSTF558.js} +2 -2
- package/dist/{document-blurred-2Zpodj3_.js → document-blurred-BiWap0xs.js} +2 -2
- package/dist/{document-cut-off-ClS7RiOp.js → document-cut-off-aQezqOif.js} +2 -2
- package/dist/{document-expired-CjksBq-N.js → document-expired-BhBXaWWQ.js} +2 -2
- package/dist/{document-front-DiAairT3.js → document-front-DYuhZGeQ.js} +2 -2
- package/dist/{document-person-vxlA6C5f.js → document-person-CDbnTOdV.js} +2 -2
- package/dist/{download-Drhk9k1f.js → download-BZQB1WkZ.js} +2 -2
- package/dist/{dropinUtils-BYk71qFP.js → dropinUtils-NHYW3kj5.js} +4 -4
- package/dist/{edit-1-CFoDTMvQ.js → edit-1-DAqtnOIx.js} +2 -2
- package/dist/{en-US-BzrLvydZ.js → en-US-CjjPhkB5.js} +2 -2
- package/dist/{en-US-CzEL6t1W.js → en-US-D1sB335h.js} +9 -3
- package/dist/en-US-DLY20x1O.js +13 -0
- package/dist/{en-US-D-B35AoN.js → en-US-DYP6rAvA.js} +8 -1
- package/dist/{en-US-fyGPkcqX.js → en-US-cVpRgdC8.js} +2 -2
- package/dist/es-ES--IvNed_Q.js +13 -0
- package/dist/{es-ES-DUn82eVS.js → es-ES-BAolMrZ0.js} +2 -2
- package/dist/es-ES-BYl5-PFR.js +13 -0
- package/dist/{es-ES-BI_jdT67.js → es-ES-DK-7qtDf.js} +8 -1
- package/dist/{external-link-DCMYUMfW.js → external-link-Cg6pJaSJ.js} +2 -2
- package/dist/{fi-FI-hwzizPnr.js → fi-FI-BJLU1JHw.js} +8 -1
- package/dist/fi-FI-BUixKfXH.js +13 -0
- package/dist/{fi-FI-C3TTCFBv.js → fi-FI-D8WrLxxq.js} +2 -2
- package/dist/fi-FI-DFxljML-.js +13 -0
- package/dist/fieldConfigurations-BUT9DTUH.js +21 -0
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
- package/dist/form-rules-DhbF2mY4.js +13 -0
- package/dist/formUtils-Dg7QeiCj.js +107 -0
- package/dist/{fr-FR-CYZXbwc9.js → fr-FR-B2je0smB.js} +8 -1
- package/dist/fr-FR-BM-qNLci.js +13 -0
- package/dist/{fr-FR-BbKadiaZ.js → fr-FR-Beljeilc.js} +2 -2
- package/dist/fr-FR-DPehHVb6.js +13 -0
- package/dist/{funds-in-D8bj0aoE.js → funds-in-CInoUdmG.js} +2 -2
- package/dist/{getName-9MyzlDpt.js → getName-DAC824XH.js} +2 -2
- package/dist/getProblemsForEntity-Cx2uHyD0.js +24 -0
- package/dist/getProps-Cc3J2-z9.js +148 -0
- package/dist/getTrustedFields-C5-mXl-l.js +64 -0
- package/dist/{gift-CQ_DEma7.js → gift-omNInZeB.js} +2 -2
- package/dist/{graph-BJmqglH2.js → graph-DunG_uu1.js} +2 -2
- package/dist/{graph-up-Bq6adtlX.js → graph-up-BZze4i6m.js} +2 -2
- package/dist/{headquarter-DNYyuuFq.js → headquarter-BhpSibFO.js} +2 -2
- package/dist/{hotel-BuNql78Z.js → hotel-Cp7VgGCJ.js} +2 -2
- package/dist/{house-B6sNRj-B.js → house-BhyBQdR3.js} +2 -2
- package/dist/{id-blurred-9dzBOWCE.js → id-blurred-B5lHEP8M.js} +2 -2
- package/dist/{id-cut-off-CohJCI2h.js → id-cut-off-Ba1FRzKO.js} +2 -2
- package/dist/{id-front-CSZfvdRg.js → id-front-CpNWN6nG.js} +2 -2
- package/dist/{id-glare-Q2JWo5ts.js → id-glare-DgCQON8k.js} +2 -2
- package/dist/{iframeWidget-OATZoluK.js → iframeWidget-DbWZPZHG.js} +4 -4
- package/dist/{image-BSihO8lR.js → image-CmB0ioUM.js} +2 -2
- package/dist/{info-vHTZWoJ7.js → info-Bb_-xIEK.js} +2 -2
- package/dist/{info-filled-SQotHmT9.js → info-filled-CK8LB339.js} +2 -2
- package/dist/{instant-verification-Dvvkyfmp.js → instant-verification-UrnuHTYn.js} +2 -2
- package/dist/isEmpty-CzqpRnGb.js +23 -0
- package/dist/isNewEntity-7Vw_eQBr.js +13 -0
- package/dist/{it-IT-CGhQqmiU.js → it-IT-5a7NHVFo.js} +2 -2
- package/dist/it-IT-D63gRTDc.js +13 -0
- package/dist/it-IT-DOBp2-MP.js +13 -0
- package/dist/{it-IT-Erh1DIlj.js → it-IT-Dhwa9Ecj.js} +8 -1
- package/dist/{ja-JP-D1vtig2x.js → ja-JP-B3wVYIJU.js} +38 -38
- package/dist/{ja-JP-ThzG9vIo.js → ja-JP-Bc4U0S8-.js} +9 -2
- package/dist/{ja-JP-DGNXrNMK.js → ja-JP-Bv3ru9Xq.js} +21 -14
- package/dist/{ja-JP-CSz7fEkn.js → ja-JP-CceCDXLB.js} +2 -2
- package/dist/ja-JP-DL0IjTzn.js +13 -0
- package/dist/{ja-JP-CvREJ56h.js → ja-JP-DSvZhFNY.js} +5 -5
- package/dist/{ja-JP-C6Go-kaC.js → ja-JP-g6VOUGXZ.js} +4 -4
- package/dist/japanSupportUtils-Bn6j_2Iu.js +16 -0
- package/dist/jpAddressSchema-DEOyz9Yo.js +26 -0
- package/dist/{localizeDateString-CtnAUzr_.js → localizeDateString-rX5kfMAS.js} +2 -2
- package/dist/{location-Q4oKvnkl.js → location-itJfxrDQ.js} +2 -2
- package/dist/{mail-BOdyoVqB.js → mail-VHTlAusn.js} +2 -2
- package/dist/{manual-verification-BvZWqA00.js → manual-verification-BO8zgAYT.js} +2 -2
- package/dist/{mapExistingFile-Iep6Rez8.js → mapExistingFile-euVcQ8wC.js} +81 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-A0yOTAyr.js +162 -0
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-BGAZ4tOn.js → mapLegalEntityToIndividualSchema-BeggFrAo.js} +63 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-C6ha6E0S.js → mapTransferInstrumentToPayoutAccount-DZ5tvBdP.js} +3 -2
- package/dist/{minus-circle-filled-kC2IUvKz.js → minus-circle-filled-ZhtJ0GD3.js} +2 -2
- package/dist/{nl-NL-O9GCHMDA.js → nl-NL-B0fvINJj.js} +8 -1
- package/dist/{nl-NL-OHlJx2bn.js → nl-NL-CmURERx_.js} +2 -2
- package/dist/nl-NL-KQ6bciOb.js +13 -0
- package/dist/nl-NL-SjOGmGk5.js +13 -0
- package/dist/no-NO-BAWVf0GX.js +13 -0
- package/dist/no-NO-Ds3VioxT.js +13 -0
- package/dist/{no-NO-CA1aR6Wh.js → no-NO-Jw7Gae-a.js} +8 -1
- package/dist/{no-NO-DEYydng4.js → no-NO-qyqWODMp.js} +2 -2
- package/dist/{onfido-logo-BWSv__sQ.js → onfido-logo-BSkKPH10.js} +2 -2
- package/dist/{options-horizontal-CBmbNv7R.js → options-horizontal-GuXvLvV3.js} +2 -2
- package/dist/{partner-CPjsrePY.js → partner-QD27Vy4w.js} +2 -2
- package/dist/{passport-blurred-B4UDQfmc.js → passport-blurred-CVG493IJ.js} +2 -2
- package/dist/{passport-cut-off-C0N2mgLk.js → passport-cut-off-COzA_TmB.js} +2 -2
- package/dist/{passport-front-BwA7wR91.js → passport-front-WJleLixT.js} +2 -2
- package/dist/{passport-front-green-BL4HmtsB.js → passport-front-green-CZVkCa1n.js} +2 -2
- package/dist/{passport-glare-Mg2ixsYA.js → passport-glare-BP5WnJZj.js} +2 -2
- package/dist/patternValidators-EfBVKdNn.js +83 -0
- package/dist/{pay-by-link-plane-BVZndh67.js → pay-by-link-plane-BpY8Q6-B.js} +2 -2
- package/dist/{payout-ChUEoLjt.js → payout-DtB68BcZ.js} +2 -2
- package/dist/{payout-verification-instant-5u-wvFKv.js → payout-verification-instant-BzpfOQLD.js} +2 -2
- package/dist/{payout-verification-manual-BH2mu0UW.js → payout-verification-manual-gNEoeZkV.js} +2 -2
- package/dist/{person-DGjUU4S4.js → person-IVZG3t3_.js} +2 -2
- package/dist/{plaid-logo-CtActXTN.js → plaid-logo-FsZ7kfL-.js} +2 -2
- package/dist/{plus-CWXA5wdX.js → plus-DiALAL8-.js} +2 -2
- package/dist/{plus-circle-filled-CbC0u2Y1.js → plus-circle-filled-BzHtTqEN.js} +2 -2
- package/dist/{process-field-configurations-BBc1EBeB.js → process-field-configurations-CAtKO6CG.js} +4 -4
- package/dist/{pt-BR-NtLaWlnZ.js → pt-BR-BaTE6BB_.js} +8 -1
- package/dist/pt-BR-BfDe_8iW.js +13 -0
- package/dist/{pt-BR-DWAziFjb.js → pt-BR-BxoOF8jB.js} +2 -2
- package/dist/pt-BR-Ct4s4jXV.js +13 -0
- package/dist/{recurring-CkL4cCM2.js → recurring-DKNs9K3x.js} +2 -2
- package/dist/{reporting-DerosUNm.js → reporting-D5ABpLO_.js} +2 -2
- package/dist/resolveEnvironment-D3grZ1cC.js +84 -0
- package/dist/{revenue-accelerate-Dp4Ns_5c.js → revenue-accelerate-D7Sp0V4a.js} +2 -2
- package/dist/{review-CxIN9azU.js → review-D4TUjcWF.js} +2 -2
- package/dist/roleMetadata-CkOicLV_.js +66 -0
- package/dist/{save-Fgy7EDid.js → save-BfqO2JBI.js} +2 -2
- package/dist/{search-C4GZ-Rc1.js → search-Cmzbf5zI.js} +2 -2
- package/dist/{show-yPjPmEf8.js → show-IdbU1C6P.js} +2 -2
- package/dist/{singpass-logo-BkMSwiGY.js → singpass-logo-wY4xsmTX.js} +2 -2
- package/dist/{singpass-verification-instant-hY4eGFwl.js → singpass-verification-instant-JCqTr7Mv.js} +2 -2
- package/dist/{singpass-verification-manual-DwhRpy5Q.js → singpass-verification-manual-DQ7XW6R3.js} +2 -2
- package/dist/sl-SI-BAIm-qBe.js +13 -0
- package/dist/{sl-SI-C5vfq7vv.js → sl-SI-DTvJT7fC.js} +2 -2
- package/dist/{sl-SI-tPwbFvOI.js → sl-SI-DbfswGh0.js} +8 -1
- package/dist/sl-SI-hxwQIw_i.js +13 -0
- package/dist/{solution-payments-CNAat9h7.js → solution-payments-DpyE_sdS.js} +2 -2
- package/dist/{store-IuAkDRAp.js → store-Btc4GcmU.js} +2 -2
- package/dist/style.css +1364 -1368
- package/dist/styles-CLV89_hH.js +1364 -1368
- package/dist/summaryItem-CAQCQSkt.js +18 -0
- package/dist/sv-SE-0PQ-U1u6.js +13 -0
- package/dist/sv-SE-BZNey_8S.js +13 -0
- package/dist/{sv-SE-K1QT1cOt.js → sv-SE-D_Efxy3s.js} +8 -1
- package/dist/{sv-SE-BrO9NKWs.js → sv-SE-N-Hqwcjq.js} +2 -2
- package/dist/{tax-reporting-graph-DjzwRgE6.js → tax-reporting-graph-hgoilCHZ.js} +2 -2
- package/dist/{terminal-1-_me9J9h0.js → terminal-1-D1pwXCoi.js} +2 -2
- package/dist/{tink-logo-BcIv93ND.js → tink-logo-DDyjz5eJ.js} +2 -2
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
- package/dist/types/api/address/useSearchAddress.d.ts +1 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +3 -3
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +2 -2
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +2 -2
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +2 -2
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
- package/dist/types/api/check/useCheck.d.ts +1 -2
- package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +2 -2
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +3 -161
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +2 -2
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -4
- package/dist/types/api/documents/useCreateDocument.d.ts +2 -2
- package/dist/types/api/documents/useDeleteDocument.d.ts +2 -2
- package/dist/types/api/documents/useDocument.d.ts +2 -2
- package/dist/types/api/documents/useDocuments.d.ts +1 -1
- package/dist/types/api/documents/useUpdateDocument.d.ts +2 -2
- package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +2 -2
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +2 -2
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +3 -3
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +2 -2
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -2
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/pci/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
- package/dist/types/api/pci/useSignPci.d.ts +2 -3
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +2 -3
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/types.d.ts +3 -2
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +2 -3
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
- package/dist/types/components/{Shared → Apps}/tasks/TaskList/utils.d.ts +1 -5
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +0 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +439 -439
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +3 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +2 -0
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +12 -11
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +4 -4
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +0 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +11 -11
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +7 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -2
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -4
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -10
- package/dist/types/components/BusinessLines/constants.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +8 -4
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +0 -2
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5771 -541
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +6 -4
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/validate.d.ts +8 -8
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +8 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/ConflictRow.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/DataConflictsModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/types.d.ts +5 -15
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.types.d.ts +5 -4
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/UploadedDocument/UploadedDocument.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/individualOnfidoConflictsSchema.d.ts +5 -5
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/validateExtractionResult.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.d.ts → Individual.d.ts} +6 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.rules.d.ts → Individual.rules.d.ts} +8 -9
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.types.d.ts → Individual.types.d.ts} +16 -15
- package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaireModalContent.d.ts +1 -1
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
- package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
- package/dist/types/components/Individual/mapping/{mapIndividualOnfidoSchemaToLegalEntity.d.ts → mapIndividualSchemaToLegalEntity.d.ts} +1 -1
- package/dist/types/components/Individual/mapping/{mapLegalEntityToIndividualOnfidoSchema.d.ts → mapLegalEntityToIndividualSchema.d.ts} +1 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +6 -7
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +2 -14
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
- package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +119 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
- package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +5 -0
- package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +8 -0
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +6 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +5 -5
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +5 -5
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
- package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
- package/dist/types/components/ui/atoms/MultiSelectList/MultiSelectList.d.ts +0 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +0 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/ErrorPanel.d.ts +0 -1
- package/dist/types/context/ExperimentContext/types.d.ts +19 -42
- package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
- package/dist/types/context/StateContext/types.d.ts +2 -3
- package/dist/types/core/models/api/individual.d.ts +3 -0
- package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
- package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +0 -5
- package/dist/types/core/services/types.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +4 -2
- package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +7 -2
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +39 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
- package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +0 -8
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
- package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
- package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
- package/dist/types/language/types.d.ts +7 -2
- package/dist/types/language/utils.d.ts +1 -2
- package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
- package/dist/types/router/MemoryRouterContext.d.ts +9 -0
- package/dist/types/router/OnboardingRouter.d.ts +39 -0
- package/dist/types/router/SuspenseRoute.d.ts +7 -0
- package/dist/types/router/getDefaultTask.d.ts +16 -0
- package/dist/types/router/routeConfig.d.ts +68 -0
- package/dist/types/router/useCurrentTask.d.ts +5 -0
- package/dist/types/router/useNavigate.d.ts +7 -0
- package/dist/types/stores/formState.d.ts +1 -1
- package/dist/types/stores/globalStore/taskStatus.d.ts +5 -3
- package/dist/types/types/assert.d.ts +1 -0
- package/dist/types/types/form-rules.d.ts +0 -1
- package/dist/types/utils/addLinkedFields.d.ts +0 -2
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -0
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +28 -0
- package/dist/types/utils/api/processCapabilitites.d.ts +14 -2
- package/dist/types/utils/birthDateUtils.d.ts +0 -17
- package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -2
- package/dist/types/utils/formUtils.d.ts +1 -6
- package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -1
- package/dist/types/utils/logger.d.ts +0 -1
- package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
- package/dist/types/utils/performance.d.ts +64 -0
- package/dist/types/utils/regex/patternValidators.d.ts +1 -1
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/types/utils/validatorUtils.d.ts +2 -1
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
- package/dist/{types-Dk94b8kx.js → types-B7GElie6.js} +21 -44
- package/dist/{types-fRMvVcuU.js → types-BveVR11j.js} +2 -2
- package/dist/{types-DtV30rT3.js → types-COOK2jmb.js} +3 -26
- package/dist/{types-Q8QbiVOz.js → types-DlIEfVQ_.js} +2 -2
- package/dist/unincorporated-partnership-MeN1dp53.js +97 -0
- package/dist/{upload-BF65P4KM.js → upload-BmUXjsaU.js} +2 -2
- package/dist/{us-check-CYY6Crhr.js → us-check-C1rTBsCY.js} +2 -2
- package/dist/{us-check-account-number-C7KE5YzX.js → us-check-account-number-9lI1dXNC.js} +2 -2
- package/dist/{us-check-routing-number-DUbhsYAR.js → us-check-routing-number-s_KaAGSM.js} +2 -2
- package/dist/{useAssociatedLegalEntity-CtNg5gYS.js → useAssociatedLegalEntity-BMeOu2ox.js} +3 -2
- package/dist/useBusinessDetailsData-CAiFFs88.js +5197 -0
- package/dist/useBusinessLines-DG-LapFA.js +29 -0
- package/dist/useCanSeeIntroduction-DJUYy5a5.js +48 -0
- package/dist/{useCreateLegalEntity-DIzVLIrw.js → useCreateLegalEntity-BzRbiLpn.js} +3 -2
- package/dist/useDataMissingRemediations-x7yza9Ka.js +41 -0
- package/dist/useDataset-CDtTEXqi.js +76 -0
- package/dist/useDeleteTransferInstrument-S3FmBm7Z.js +32 -0
- package/dist/useForm-De1DLL-w.js +582 -0
- package/dist/{FormFlow-DX2A0gcf.js → useFormContext-BPBBPKhK.js} +26 -31
- package/dist/{useGlobalData-CO2a2RhB.js → useGlobalData-DemxVumJ.js} +3 -3
- package/dist/useId-BZ0PA7jP.js +24 -0
- package/dist/{useMultiForm-BkNgL1zi.js → useMultiForm-Cs0-iUXR.js} +46 -37
- package/dist/useNavigate-DdA-YVRy.js +265 -0
- package/dist/{useOnboardingStatus-BB5IzxTg.js → useOnboardingStatus-DeOWI7wU.js} +3 -2
- package/dist/usePciQuestionnaireList-rxdFFrP5.js +29 -0
- package/dist/useSalesChannels-CI133F-6.js +65 -0
- package/dist/{useScenarios-yIXrDacU.js → useScenarios-BE647UZ3.js} +7 -5
- package/dist/useSetting-BkKRHr6e.js +19 -0
- package/dist/useTaskStatus-DdTyBvAb.js +51 -0
- package/dist/{useTermsOfServiceStatus-BRdLkis6.js → useTermsOfServiceStatus-uSdmiCT3.js} +3 -2
- package/dist/{useToastContext-BQYYaLd-.js → useToastContext-B1vl-x5N.js} +6 -17
- package/dist/useTrustMembers-BOp5wFXa.js +163 -0
- package/dist/{useUnincorporatedPartnershipMembers-fl3LbBcx.js → useUnincorporatedPartnershipMembers-D7WsY1Dm.js} +5 -5
- package/dist/useUpdateBusinessLines-CdYUvjtv.js +339 -0
- package/dist/{useUpdateLegalEntity-CIZP-vhE.js → useUpdateLegalEntity-3og4ank0.js} +4 -3
- package/dist/utils-CHdXRuoO.js +159 -0
- package/dist/utils-CK72-tJC.js +29 -0
- package/dist/{utils-_N6wjH1k.js → utils-CXUBcmhg.js} +6 -6
- package/dist/utils-CYscdqdR.js +58 -0
- package/dist/{utils-BtBmicYe.js → utils-Ds83U_vM.js} +26 -22
- package/dist/{documentUtils-CmY7W1gB.js → validate-CoZiS4Ny.js} +171 -6
- package/dist/{validate-yIqc2enK.js → validate-TM7n49em.js} +10 -2
- package/dist/{validationError-BcmQ2z0b.js → validationError-DozI7J9X.js} +3 -3
- package/dist/{warning-circle-fill-CEN1WL7A.js → warning-circle-fill-DBvt921B.js} +2 -2
- package/dist/{warning-diamond-filled-BfXMlVrG.js → warning-diamond-filled-Lb2od2ry.js} +2 -2
- package/dist/{webinar-DqjqrNEv.js → webinar-m9nuFZBt.js} +2 -2
- package/dist/{yapily-logo-CZ4ywjwA.js → yapily-logo-BduxhNRA.js} +2 -2
- package/package.json +88 -56
- package/dist/Card-BHab7Kyt.js +0 -82
- package/dist/ConstitutionalDocument--Z--xpF7.js +0 -143
- package/dist/CountryField-BIYJvEAW.js +0 -843
- package/dist/CreateIndividualComponent-3t1p_6gB.js +0 -71
- package/dist/EntityAssociation-0B8bfpR4.js +0 -159
- package/dist/IndividualOnfido-BxhmIQwc.js +0 -9662
- package/dist/IndividualOnfidoDropin-Cy08-w8F.js +0 -2575
- package/dist/OnboardingDropinComponent-Cu2pv74K.js +0 -7623
- package/dist/RootBusinessDetailsPage-ChobUam3.js +0 -49
- package/dist/StoreProvider-DTMSAVgy.js +0 -7707
- package/dist/TrustMemberCompanyPage-DwVARA6c.js +0 -64
- package/dist/da-DK-CrtuBoDC.js +0 -118
- package/dist/da-DK-uHPPFvD-.js +0 -13
- package/dist/de-DE-SMf6w4NJ.js +0 -13
- package/dist/de-DE-mH3MobT9.js +0 -13
- package/dist/en-US-d4WBvUW7.js +0 -118
- package/dist/es-ES-BqpvBqmR.js +0 -13
- package/dist/es-ES-CnyVffM-.js +0 -118
- package/dist/fi-FI-DPegZzTc.js +0 -13
- package/dist/fi-FI-kXC-0USa.js +0 -118
- package/dist/fr-FR-6YOKsDLQ.js +0 -13
- package/dist/fr-FR-BPGwsLDa.js +0 -13
- package/dist/getFieldsWithExistingData-D6K7_vTh.js +0 -22
- package/dist/hasDataChanged-6p9Ib-IH.js +0 -19
- package/dist/id-verification-instant-BUVBO4R3.js +0 -58
- package/dist/id-verification-manual-B3YZALYU.js +0 -55
- package/dist/it-IT-B1eJg9RL.js +0 -13
- package/dist/it-IT-DyCHFg-b.js +0 -118
- package/dist/ja-JP-PnqAHl14.js +0 -13
- package/dist/mapFinancialReportsToFinancialInformation-CeqxQKYv.js +0 -67
- package/dist/mapJpAddressSchemaToAddressLocalizations-C22nFO39.js +0 -63
- package/dist/nl-NL-DkbhmJAw.js +0 -118
- package/dist/nl-NL-cVVIDG7s.js +0 -13
- package/dist/no-NO-C_tmZ39d.js +0 -13
- package/dist/no-NO-Df5qUoTc.js +0 -118
- package/dist/pt-BR-BOOm5lRR.js +0 -118
- package/dist/pt-BR-CMiGlY3k.js +0 -13
- package/dist/resolveEnvironment-DV8jSeQ4.js +0 -164
- package/dist/rules-Cu3mKCzh.js +0 -317
- package/dist/sl-SI-C3nGkfNb.js +0 -13
- package/dist/sl-SI-CGvCdquD.js +0 -118
- package/dist/sv-SE-BP2Oun8l.js +0 -118
- package/dist/sv-SE-CXn28ybc.js +0 -13
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
- package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -9
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
- package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -51
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
- package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
- package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
- package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +0 -11
- package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
- package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
- package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
- package/dist/types/embeds/EmbedCore.d.ts +0 -22
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
- package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
- package/dist/useBusinessDetailsData-kMDQy2r1.js +0 -2441
- package/dist/useDataset-D1R4kueP.js +0 -220
- package/dist/useUpdateBusinessLines-DWsML109.js +0 -46
- package/dist/validate-C4R1LPcu.js +0 -41
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/PayoutAccountTaskListItem.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskList.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListGroup.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListItem.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
- /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "de47ac48-8414-465b-ab09-f1d7f86ac6b6", e._sentryDebugIdIdentifier = "sentry-dbid-de47ac48-8414-465b-ab09-f1d7f86ac6b6");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { useContext } from "preact/hooks";
|
|
11
|
+
import { bi as SettingsContext } from "./StoreProvider-DwuHWsNs.js";
|
|
12
|
+
const useSetting = (settingName) => {
|
|
13
|
+
const context = useContext(SettingsContext);
|
|
14
|
+
const { getSetting } = context;
|
|
15
|
+
return getSetting(settingName);
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
useSetting as u
|
|
19
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5a276f79-b759-497c-8cf3-ad2cc267508b", e._sentryDebugIdIdentifier = "sentry-dbid-5a276f79-b759-497c-8cf3-ad2cc267508b");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
+
import { q as TaskStatuses, a3 as createLogger, b as useApiContext, k as httpGet } from "./StoreProvider-DwuHWsNs.js";
|
|
12
|
+
const logger = createLogger();
|
|
13
|
+
const normalizeTaskStatuses = (taskStatuses) => {
|
|
14
|
+
return taskStatuses?.statuses?.reduce((acc, currentTask) => {
|
|
15
|
+
const status = TaskStatuses[currentTask.status];
|
|
16
|
+
const statusEntries = currentTask.taskStatusEntries;
|
|
17
|
+
acc[currentTask.type] = {
|
|
18
|
+
status: status ?? TaskStatuses.DETAILS_REQUIRED,
|
|
19
|
+
taskStatusEntries: statusEntries
|
|
20
|
+
};
|
|
21
|
+
return acc;
|
|
22
|
+
}, {});
|
|
23
|
+
};
|
|
24
|
+
const getAccountTaskStatus = (accountId, payinPayoutTaskStatus) => {
|
|
25
|
+
const taskStatusEntries = payinPayoutTaskStatus?.taskStatusEntries;
|
|
26
|
+
const taskStatusEntry = taskStatusEntries?.find((entry) => entry.id.includes(accountId));
|
|
27
|
+
if (!taskStatusEntry) {
|
|
28
|
+
logger.warn(`No task status for this account: ${accountId}`);
|
|
29
|
+
return payinPayoutTaskStatus?.status ?? TaskStatuses.PROCESSING;
|
|
30
|
+
}
|
|
31
|
+
return TaskStatuses[taskStatusEntry.status];
|
|
32
|
+
};
|
|
33
|
+
const getTaskStatus = async (legalEntityId, baseUrl) => {
|
|
34
|
+
return httpGet({
|
|
35
|
+
baseUrl,
|
|
36
|
+
path: `legalEntities/${legalEntityId}/taskStatus`
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
const useTaskStatus = (options) => {
|
|
40
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
41
|
+
return useQuery({
|
|
42
|
+
queryKey: ["taskStatus"],
|
|
43
|
+
queryFn: () => getTaskStatus(rootLegalEntityId.value, baseUrl.value),
|
|
44
|
+
select: (data) => normalizeTaskStatuses(data),
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
getAccountTaskStatus as g,
|
|
50
|
+
useTaskStatus as u
|
|
51
|
+
};
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "298db054-2f4b-43b7-80e0-248ea04d2cfb", e._sentryDebugIdIdentifier = "sentry-dbid-298db054-2f4b-43b7-80e0-248ea04d2cfb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-DwuHWsNs.js";
|
|
11
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
13
|
return httpGet({
|
|
13
14
|
baseUrl,
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93315c4a-4b17-4721-917a-030c8d038173", e._sentryDebugIdIdentifier = "sentry-dbid-93315c4a-4b17-4721-917a-030c8d038173");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { useCallback,
|
|
10
|
+
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
|
+
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
+
import { a3 as createLogger, b as useApiContext, af as ToastContext } from "./StoreProvider-DwuHWsNs.js";
|
|
12
13
|
const logger = createLogger();
|
|
13
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
14
15
|
"businessLines",
|
|
@@ -38,23 +39,11 @@ const useInvalidateRootLegalEntity = () => {
|
|
|
38
39
|
[rootLegalEntityId.value, queryClient]
|
|
39
40
|
);
|
|
40
41
|
};
|
|
41
|
-
function uuidv4() {
|
|
42
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
43
|
-
let r = Math.random() * 16 | 0, v = c == "x" ? r : r & 3 | 8;
|
|
44
|
-
return v.toString(16);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
const useId = (prefix) => {
|
|
48
|
-
const [uuid] = useState(uuidv4());
|
|
49
|
-
return `${prefix}_${uuid}`;
|
|
50
|
-
};
|
|
51
42
|
function useToastContext() {
|
|
52
43
|
const context = useContext(ToastContext);
|
|
53
44
|
return context;
|
|
54
45
|
}
|
|
55
46
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
useInvalidateRootLegalEntity as c,
|
|
59
|
-
uuidv4 as u
|
|
47
|
+
useInvalidateRootLegalEntity as a,
|
|
48
|
+
useToastContext as u
|
|
60
49
|
};
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e124822c-dbbd-43dc-8452-24d039eb8921", e._sentryDebugIdIdentifier = "sentry-dbid-e124822c-dbbd-43dc-8452-24d039eb8921");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { useMemo } from "preact/hooks";
|
|
11
|
+
import { ae as getOwnEntityAssociations, bn as TrustMemberTypes, c as useLegalEntity, o as LegalEntityTypes, R as ROOT_LE, v as useExperimentsContext } from "./StoreProvider-DwuHWsNs.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BMeOu2ox.js";
|
|
13
|
+
import { skipToken } from "@tanstack/preact-query";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-DAC824XH.js";
|
|
15
|
+
const useExemptSettlor = ({
|
|
16
|
+
trust
|
|
17
|
+
}) => {
|
|
18
|
+
const matchingAssociation = useMemo(() => {
|
|
19
|
+
if (!trust) return void 0;
|
|
20
|
+
return getOwnEntityAssociations(trust).find(
|
|
21
|
+
(association) => association.type === TrustMemberTypes.SETTLOR && Boolean(association.settlorExemptionReason)
|
|
22
|
+
);
|
|
23
|
+
}, [trust]);
|
|
24
|
+
const { data } = useLegalEntity(matchingAssociation?.legalEntityId ?? skipToken);
|
|
25
|
+
return data;
|
|
26
|
+
};
|
|
27
|
+
const splitAtFirstOccurrence = (str, separator) => {
|
|
28
|
+
const firstOccurrence = str.indexOf(separator);
|
|
29
|
+
if (firstOccurrence === -1) return [str];
|
|
30
|
+
return [str.slice(0, firstOccurrence), str.slice(firstOccurrence + 1)];
|
|
31
|
+
};
|
|
32
|
+
const getTrustMemberOwnerId = (trustMemberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === trustMemberId)?.legalEntityId;
|
|
33
|
+
const getFallbackName = (exemptSettlorAssociation) => {
|
|
34
|
+
const [firstName, lastName] = splitAtFirstOccurrence(exemptSettlorAssociation.name ?? "", " ");
|
|
35
|
+
return {
|
|
36
|
+
firstName,
|
|
37
|
+
lastName
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
const convertEntityAssociationIntoTrustMember = (association, associations, exemptSettlorLE) => {
|
|
41
|
+
if (association.settlorExemptionReason) {
|
|
42
|
+
return {
|
|
43
|
+
trustMemberType: "exemptSettlor",
|
|
44
|
+
roles: [TrustMemberTypes.SETTLOR],
|
|
45
|
+
legalEntityType: association.entityType,
|
|
46
|
+
legalEntityId: association.legalEntityId,
|
|
47
|
+
settlorExemptionReason: association.settlorExemptionReason,
|
|
48
|
+
exemptSettlorName: association.entityType === LegalEntityTypes.INDIVIDUAL ? exemptSettlorLE?.individual?.name ?? getFallbackName(association) : void 0,
|
|
49
|
+
name: association.name
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
if (association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
53
|
+
return {
|
|
54
|
+
trustMemberType: "company",
|
|
55
|
+
roles: [],
|
|
56
|
+
legalEntityType: LegalEntityTypes.ORGANIZATION,
|
|
57
|
+
legalEntityId: association.legalEntityId,
|
|
58
|
+
name: association.name,
|
|
59
|
+
ownerId: getTrustMemberOwnerId(association.legalEntityId, associations)
|
|
60
|
+
};
|
|
61
|
+
if (association.entityType === LegalEntityTypes.INDIVIDUAL)
|
|
62
|
+
return {
|
|
63
|
+
trustMemberType: "regular",
|
|
64
|
+
roles: [],
|
|
65
|
+
legalEntityType: LegalEntityTypes.INDIVIDUAL,
|
|
66
|
+
legalEntityId: association.legalEntityId,
|
|
67
|
+
name: association.name
|
|
68
|
+
};
|
|
69
|
+
throw new Error(`Not a valid trust member: ${JSON.stringify(association)}`);
|
|
70
|
+
};
|
|
71
|
+
const mapEntityAssociationsToTrustMembers = (trustEntityId, entityAssociations, exemptSettlorLE) => {
|
|
72
|
+
const mappedTrustMembers = entityAssociations.reduce(
|
|
73
|
+
(acc, entityAssociation) => {
|
|
74
|
+
if (!Object.values(TrustMemberTypes).includes(entityAssociation.type) || entityAssociation.associatorId !== trustEntityId || !entityAssociation.legalEntityId) {
|
|
75
|
+
return acc;
|
|
76
|
+
}
|
|
77
|
+
const trustMember = acc[entityAssociation.legalEntityId] ?? convertEntityAssociationIntoTrustMember(
|
|
78
|
+
entityAssociation,
|
|
79
|
+
entityAssociations,
|
|
80
|
+
exemptSettlorLE
|
|
81
|
+
);
|
|
82
|
+
const trustMemberType = entityAssociation.type;
|
|
83
|
+
acc[entityAssociation.legalEntityId] = {
|
|
84
|
+
...trustMember,
|
|
85
|
+
roles: [.../* @__PURE__ */ new Set([...trustMember.roles, trustMemberType])]
|
|
86
|
+
};
|
|
87
|
+
return acc;
|
|
88
|
+
},
|
|
89
|
+
{}
|
|
90
|
+
);
|
|
91
|
+
return Object.values(mappedTrustMembers);
|
|
92
|
+
};
|
|
93
|
+
const mapRootLegalEntityToTrustMember = (rootLegalEntity) => ({
|
|
94
|
+
trustMemberType: "rootTrustee",
|
|
95
|
+
roles: [TrustMemberTypes.TRUSTEE],
|
|
96
|
+
legalEntityType: rootLegalEntity.type,
|
|
97
|
+
legalEntityId: rootLegalEntity.id,
|
|
98
|
+
name: getLegalEntityNameBasedOnType(rootLegalEntity)
|
|
99
|
+
});
|
|
100
|
+
const mapUndefinedBeneficiaryInfoToTrustMembers = (undefinedBeneficiaryInfo) => undefinedBeneficiaryInfo.map(({ reference, description }) => ({
|
|
101
|
+
trustMemberType: "undefinedBeneficiary",
|
|
102
|
+
roles: [TrustMemberTypes.UNDEFINED_BENEFICIARY],
|
|
103
|
+
reference,
|
|
104
|
+
description
|
|
105
|
+
}));
|
|
106
|
+
const getTrustMembers = (trustLE, rootLegalEntity, exemptSettlorLE) => [
|
|
107
|
+
mapRootLegalEntityToTrustMember(rootLegalEntity),
|
|
108
|
+
...mapEntityAssociationsToTrustMembers(
|
|
109
|
+
trustLE.id,
|
|
110
|
+
trustLE.entityAssociations ?? [],
|
|
111
|
+
exemptSettlorLE
|
|
112
|
+
),
|
|
113
|
+
...mapUndefinedBeneficiaryInfoToTrustMembers(trustLE.trust?.undefinedBeneficiaryInfo ?? [])
|
|
114
|
+
];
|
|
115
|
+
const combineRootLegalEntityWithEntityAssociations = (rootLegalEntity, entityAssociations) => {
|
|
116
|
+
const allowedRolesForRootLegalEntity = [
|
|
117
|
+
TrustMemberTypes.SETTLOR,
|
|
118
|
+
TrustMemberTypes.PROTECTOR,
|
|
119
|
+
TrustMemberTypes.DEFINED_BENEFICIARY
|
|
120
|
+
];
|
|
121
|
+
const roles = entityAssociations.map((entityAssociation) => entityAssociation.type).filter((role) => allowedRolesForRootLegalEntity.includes(role));
|
|
122
|
+
return {
|
|
123
|
+
trustMemberType: "rootTrustee",
|
|
124
|
+
roles: [...roles, TrustMemberTypes.TRUSTEE],
|
|
125
|
+
legalEntityType: rootLegalEntity.type,
|
|
126
|
+
legalEntityId: rootLegalEntity.id,
|
|
127
|
+
name: getLegalEntityNameBasedOnType(rootLegalEntity)
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
const getRootTrusteeTrustMembers = (trustLE, rootLegalEntity, exemptSettlorLE) => {
|
|
131
|
+
const entityAssociations = trustLE.entityAssociations ?? [];
|
|
132
|
+
const rootLegalEntityAssociations = entityAssociations.filter(
|
|
133
|
+
(a) => a.legalEntityId === rootLegalEntity.id
|
|
134
|
+
);
|
|
135
|
+
const nonRootLegalEntityAssociations = entityAssociations.filter(
|
|
136
|
+
(a) => a.legalEntityId !== rootLegalEntity.id
|
|
137
|
+
);
|
|
138
|
+
return [
|
|
139
|
+
combineRootLegalEntityWithEntityAssociations(rootLegalEntity, rootLegalEntityAssociations),
|
|
140
|
+
...mapEntityAssociationsToTrustMembers(
|
|
141
|
+
trustLE.id,
|
|
142
|
+
nonRootLegalEntityAssociations ?? [],
|
|
143
|
+
exemptSettlorLE
|
|
144
|
+
),
|
|
145
|
+
...mapUndefinedBeneficiaryInfoToTrustMembers(trustLE.trust?.undefinedBeneficiaryInfo ?? [])
|
|
146
|
+
];
|
|
147
|
+
};
|
|
148
|
+
function useTrustMembers() {
|
|
149
|
+
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
150
|
+
const { data: trust } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityTypes.TRUST);
|
|
151
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
152
|
+
const exemptSettlor = useExemptSettlor({
|
|
153
|
+
trust
|
|
154
|
+
});
|
|
155
|
+
const allowMoreRolesForMainRootTrustee = isExperimentEnabled("AllowMoreRolesForMainRootTrustee");
|
|
156
|
+
return useMemo(() => {
|
|
157
|
+
if (!rootLegalEntity || !trust?.trust) return [];
|
|
158
|
+
return allowMoreRolesForMainRootTrustee ? getRootTrusteeTrustMembers(trust, rootLegalEntity, exemptSettlor) : getTrustMembers(trust, rootLegalEntity, exemptSettlor);
|
|
159
|
+
}, [rootLegalEntity, trust, exemptSettlor, allowMoreRolesForMainRootTrustee]);
|
|
160
|
+
}
|
|
161
|
+
export {
|
|
162
|
+
useTrustMembers as u
|
|
163
|
+
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9aff9633-cf8a-4bf0-9330-d4fdaaedcecb", e._sentryDebugIdIdentifier = "sentry-dbid-9aff9633-cf8a-4bf0-9330-d4fdaaedcecb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import {
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { o as LegalEntityTypes, ae as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DwuHWsNs.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BMeOu2ox.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-DAC824XH.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "823b5d34-a39a-495f-a737-f4a6e6b3794e", e._sentryDebugIdIdentifier = "sentry-dbid-823b5d34-a39a-495f-a737-f4a6e6b3794e");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
+
import { b as useApiContext, k as httpGet, ai as isEmpty, u as useTranslation, v as useExperimentsContext, t as IconButton, $ as httpPost } from "./StoreProvider-DwuHWsNs.js";
|
|
12
|
+
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
|
+
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
15
|
+
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
+
import { S as Select } from "./Select-_jyQwO_g.js";
|
|
17
|
+
import { signal } from "@preact/signals";
|
|
18
|
+
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
|
+
const results = await Promise.all(
|
|
20
|
+
businessLineTypes2.map((businessLineType) => {
|
|
21
|
+
return httpGet({
|
|
22
|
+
baseUrl,
|
|
23
|
+
path: `legalEntities/${legalEntityId}/businessLines/${businessLineType}/industryCodes?locale=${locale}`
|
|
24
|
+
});
|
|
25
|
+
})
|
|
26
|
+
);
|
|
27
|
+
const deduped = [];
|
|
28
|
+
for (const result of results) {
|
|
29
|
+
for (const industryCodeDTO of result) {
|
|
30
|
+
const found = deduped.find((item) => item.code === industryCodeDTO.code);
|
|
31
|
+
if (!found) {
|
|
32
|
+
deduped.push(industryCodeDTO);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return deduped;
|
|
37
|
+
};
|
|
38
|
+
const useIndustryCodes = (businessLineTypes2, locale, options) => {
|
|
39
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
40
|
+
return useQuery({
|
|
41
|
+
queryKey: ["industryCodes", businessLineTypes2.join(","), locale],
|
|
42
|
+
queryFn: () => fetchIndustryCodes(rootLegalEntityId.value, baseUrl.value, businessLineTypes2, locale),
|
|
43
|
+
...options
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
const industryCodeFieldValidation = () => ({
|
|
47
|
+
industryCodes: {
|
|
48
|
+
modes: ["blur"],
|
|
49
|
+
validate: (industryCode) => !isEmpty(industryCode),
|
|
50
|
+
errorMessage: "fieldIsRequired"
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
const industryCodeFieldMetadata = {
|
|
54
|
+
label: "industry",
|
|
55
|
+
validators: [
|
|
56
|
+
industryCodeFieldValidation().industryCodes
|
|
57
|
+
]
|
|
58
|
+
};
|
|
59
|
+
const selectedBusinessLine = signal(void 0);
|
|
60
|
+
const shouldSignNewPci = signal(false);
|
|
61
|
+
const industryCodesContent = "adyen-kyc-industry-codes-content";
|
|
62
|
+
const industryCodesSelection = "adyen-kyc-industry-codes-selection";
|
|
63
|
+
const styles$1 = {
|
|
64
|
+
industryCodesContent,
|
|
65
|
+
industryCodesSelection
|
|
66
|
+
};
|
|
67
|
+
const mapSelectedCodes = (selectedCodes) => {
|
|
68
|
+
return selectedCodes && selectedCodes.length > 0 ? selectedCodes.map((i) => {
|
|
69
|
+
return {
|
|
70
|
+
value: i,
|
|
71
|
+
touched: !!i.id
|
|
72
|
+
};
|
|
73
|
+
}) : [{ value: { id: "", name: "" }, touched: false }];
|
|
74
|
+
};
|
|
75
|
+
function IndustryCodeField({
|
|
76
|
+
data,
|
|
77
|
+
valid,
|
|
78
|
+
errors,
|
|
79
|
+
labels,
|
|
80
|
+
readonly,
|
|
81
|
+
handleChangeFor,
|
|
82
|
+
guidanceText,
|
|
83
|
+
setErrors,
|
|
84
|
+
// need to manually set errors due to nested select components
|
|
85
|
+
setValid,
|
|
86
|
+
// need to manually set validation due to nested select components
|
|
87
|
+
businessLineTypes: businessLineTypes2,
|
|
88
|
+
single = false,
|
|
89
|
+
industryCodes,
|
|
90
|
+
existingBusinessLines
|
|
91
|
+
}) {
|
|
92
|
+
const { t } = useTranslation("ui");
|
|
93
|
+
const industryCodesRef = useRef(null);
|
|
94
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
95
|
+
const singleIndustryCode = single || !!selectedBusinessLine.value || // when editing a business line, only single dropdown should render
|
|
96
|
+
isExperimentEnabled("EnableLimitToSingleBusinessLine");
|
|
97
|
+
const allIndustryCodeSelectItems = useMemo(
|
|
98
|
+
() => industryCodes?.map((entry) => ({
|
|
99
|
+
id: entry.code,
|
|
100
|
+
name: `${entry.code} - ${entry.description}`
|
|
101
|
+
})) ?? [],
|
|
102
|
+
[industryCodes]
|
|
103
|
+
);
|
|
104
|
+
const selectableIndustryCodes = useMemo(() => {
|
|
105
|
+
if (!businessLineTypes2.includes("acquiring")) return allIndustryCodeSelectItems;
|
|
106
|
+
const selectedIds = data.industryCodes?.map((c) => c.id);
|
|
107
|
+
const existingIds = (existingBusinessLines ?? []).map((b) => b.industryCode);
|
|
108
|
+
return allIndustryCodeSelectItems.filter((item) => {
|
|
109
|
+
const isDuplicate = selectedIds?.includes(item.id) || existingIds?.includes(item.id);
|
|
110
|
+
return !isDuplicate;
|
|
111
|
+
});
|
|
112
|
+
}, [allIndustryCodeSelectItems, businessLineTypes2, data.industryCodes, existingBusinessLines]);
|
|
113
|
+
const selectedCodes = data.industryCodes;
|
|
114
|
+
const [items, setItems] = useState(mapSelectedCodes(selectedCodes));
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
setItems(mapSelectedCodes(selectedCodes));
|
|
117
|
+
}, [selectedCodes]);
|
|
118
|
+
const updateIndustryCodes = (value) => {
|
|
119
|
+
handleChangeFor("industryCodes")(value);
|
|
120
|
+
};
|
|
121
|
+
const addIndustryCodeField = (e) => {
|
|
122
|
+
if (items[items.length - 1].value.id === "") {
|
|
123
|
+
handleIndustryCodeFocusOut(e, items.length - 1);
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
const newItems = [...items, { value: { id: "", name: "" }, touched: false }];
|
|
127
|
+
setItems(newItems);
|
|
128
|
+
updateIndustryCodes(newItems.map((item) => item.value));
|
|
129
|
+
};
|
|
130
|
+
const removeField = (indexToRemove) => {
|
|
131
|
+
const newItems = items.filter((_, index) => index !== indexToRemove);
|
|
132
|
+
setItems(newItems);
|
|
133
|
+
updateIndustryCodes(newItems.map((item) => item.value));
|
|
134
|
+
};
|
|
135
|
+
const handleSelectIndustryCode = (indexToUpdate, selectedItem) => {
|
|
136
|
+
setItems((prevItems) => {
|
|
137
|
+
const newItems = [...prevItems];
|
|
138
|
+
newItems[indexToUpdate] = {
|
|
139
|
+
value: {
|
|
140
|
+
id: selectedItem.id,
|
|
141
|
+
name: selectedItem.name
|
|
142
|
+
},
|
|
143
|
+
touched: true
|
|
144
|
+
};
|
|
145
|
+
updateIndustryCodes(
|
|
146
|
+
newItems.map((item) => {
|
|
147
|
+
return {
|
|
148
|
+
id: item.value.id,
|
|
149
|
+
name: item.value.name
|
|
150
|
+
};
|
|
151
|
+
})
|
|
152
|
+
);
|
|
153
|
+
return newItems;
|
|
154
|
+
});
|
|
155
|
+
};
|
|
156
|
+
const handleIndustryCodeFocusOut = (e, index) => {
|
|
157
|
+
if (industryCodesRef.current && !industryCodesRef.current.contains(e.relatedTarget)) {
|
|
158
|
+
setItems((prevItems) => {
|
|
159
|
+
if (prevItems[index].value.id || prevItems[index].touched) {
|
|
160
|
+
return prevItems;
|
|
161
|
+
}
|
|
162
|
+
const newItems = [...prevItems];
|
|
163
|
+
newItems[index] = { ...newItems[index], touched: true };
|
|
164
|
+
const isGroupInvalid = newItems.some((item) => item.value.id === "");
|
|
165
|
+
if (isGroupInvalid) {
|
|
166
|
+
setErrors?.(
|
|
167
|
+
"industryCodes",
|
|
168
|
+
{
|
|
169
|
+
isValid: false,
|
|
170
|
+
errorMessage: "fieldIsRequired",
|
|
171
|
+
hasError: true
|
|
172
|
+
},
|
|
173
|
+
"industryCodesForm"
|
|
174
|
+
);
|
|
175
|
+
setValid?.("industryCodes", false, "industryCodesForm");
|
|
176
|
+
} else {
|
|
177
|
+
setErrors?.("industryCodes", null, "industryCodesForm");
|
|
178
|
+
setValid?.("industryCodes", true, "industryCodesForm");
|
|
179
|
+
}
|
|
180
|
+
return newItems;
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
return /* @__PURE__ */ jsx(
|
|
185
|
+
Field,
|
|
186
|
+
{
|
|
187
|
+
name: "industryCodes",
|
|
188
|
+
label: labels?.industryCodes || t(($) => $["industry"]),
|
|
189
|
+
errorMessage: errors.industryCodes,
|
|
190
|
+
isValid: valid.industryCodes,
|
|
191
|
+
formatGuidance: guidanceText.industryCodes,
|
|
192
|
+
showErrorIcon: false,
|
|
193
|
+
children: (childProps) => /* @__PURE__ */ jsx(Wrapper, { single: singleIndustryCode, children: /* @__PURE__ */ jsx(
|
|
194
|
+
"div",
|
|
195
|
+
{
|
|
196
|
+
className: styles$1.industryCodesContent,
|
|
197
|
+
ref: industryCodesRef,
|
|
198
|
+
"data-testid": "industryCode",
|
|
199
|
+
children: items.map((code, index) => {
|
|
200
|
+
const isInvalid = code.touched && code.value.id === "";
|
|
201
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$1.industryCodesSelection, children: [
|
|
202
|
+
/* @__PURE__ */ jsx(
|
|
203
|
+
Select,
|
|
204
|
+
{
|
|
205
|
+
...childProps,
|
|
206
|
+
id: `industryCodeSelection-${index}`,
|
|
207
|
+
name: `industryCodeSelection-${index}`,
|
|
208
|
+
selected: code.value,
|
|
209
|
+
placeholder: t(($) => $["industryCode__placeholder"]),
|
|
210
|
+
items: allIndustryCodeSelectItems,
|
|
211
|
+
excludedValues: allIndustryCodeSelectItems.filter(
|
|
212
|
+
(i) => !selectableIndustryCodes.includes(i)
|
|
213
|
+
),
|
|
214
|
+
readonly: !!data.industryCodes && readonly || !!industryCodes && selectableIndustryCodes.length === 0,
|
|
215
|
+
onSelect: (selectedItem) => handleSelectIndustryCode(index, selectedItem),
|
|
216
|
+
isInvalid,
|
|
217
|
+
onBlur: (e) => handleIndustryCodeFocusOut(e, index)
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
!singleIndustryCode && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
221
|
+
/* @__PURE__ */ jsx(
|
|
222
|
+
IconButton,
|
|
223
|
+
{
|
|
224
|
+
ariaLabel: t(($) => $["removeIndustryCode"]),
|
|
225
|
+
variant: "tertiary",
|
|
226
|
+
icon: "minusCircleFilled",
|
|
227
|
+
circle: true,
|
|
228
|
+
onClick: () => removeField(index),
|
|
229
|
+
disabled: items.length === 1 || readonly
|
|
230
|
+
}
|
|
231
|
+
),
|
|
232
|
+
/* @__PURE__ */ jsx(
|
|
233
|
+
IconButton,
|
|
234
|
+
{
|
|
235
|
+
ariaLabel: t(($) => $["addIndustryCode"]),
|
|
236
|
+
variant: "tertiary",
|
|
237
|
+
icon: "plusCircleFilled",
|
|
238
|
+
circle: true,
|
|
239
|
+
onClick: addIndustryCodeField,
|
|
240
|
+
disabled: readonly || code.value.id === "" || code.value.id !== "" && index !== items.length - 1 || selectableIndustryCodes.length === 0
|
|
241
|
+
}
|
|
242
|
+
)
|
|
243
|
+
] })
|
|
244
|
+
] }, code.value.id);
|
|
245
|
+
})
|
|
246
|
+
}
|
|
247
|
+
) })
|
|
248
|
+
}
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
function Wrapper({ single, children }) {
|
|
252
|
+
return single ? children : /* @__PURE__ */ jsx(List, { dividers: false, variant: "grouped-primary", children });
|
|
253
|
+
}
|
|
254
|
+
const salesChannelsWithWebData = ["eCommerce", "ecomMoto"];
|
|
255
|
+
const SALES_CHANNELS_FIELD = ["salesChannels"];
|
|
256
|
+
const WEB_DATA_FIELD = ["webAddress", "webExempt"];
|
|
257
|
+
const INDUSTRY_CODE_FIELD = ["industryCodes"];
|
|
258
|
+
const SCTA_FIELD = ["sctaUrl", "sctaExempt"];
|
|
259
|
+
const businessLinesConfigurations = {
|
|
260
|
+
industryCodes: { rule: "REQUIRED" },
|
|
261
|
+
salesChannels: { rule: "REQUIRED" },
|
|
262
|
+
webAddress: { rule: "webAddressRequired" },
|
|
263
|
+
webExempt: { rule: "OPTIONAL" },
|
|
264
|
+
sctaUrl: { rule: "sctaUrlRequired" },
|
|
265
|
+
sctaExempt: { rule: "OPTIONAL" }
|
|
266
|
+
};
|
|
267
|
+
const businessLinesForms = {
|
|
268
|
+
industryCodesForm: {
|
|
269
|
+
formId: "industryCodesForm",
|
|
270
|
+
formName: "industryCodesForm",
|
|
271
|
+
fields: INDUSTRY_CODE_FIELD
|
|
272
|
+
},
|
|
273
|
+
salesChannelsForm: {
|
|
274
|
+
formId: "salesChannelsForm",
|
|
275
|
+
formName: "paymentProcessing",
|
|
276
|
+
fields: [...SALES_CHANNELS_FIELD, ...WEB_DATA_FIELD]
|
|
277
|
+
},
|
|
278
|
+
sctaForm: {
|
|
279
|
+
formId: "sctaForm",
|
|
280
|
+
formName: "japaneseCommercialDisclosure",
|
|
281
|
+
fields: SCTA_FIELD
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
const businessLineTypes = ["acquiring"];
|
|
285
|
+
const divider = "adyen-kyc-divider";
|
|
286
|
+
const styles = {
|
|
287
|
+
divider
|
|
288
|
+
};
|
|
289
|
+
const Divider = () => /* @__PURE__ */ jsx("hr", { className: styles.divider });
|
|
290
|
+
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
291
|
+
return httpPost(
|
|
292
|
+
{
|
|
293
|
+
baseUrl,
|
|
294
|
+
path: `legalEntities/${legalEntityId}/businessLines`
|
|
295
|
+
},
|
|
296
|
+
data
|
|
297
|
+
);
|
|
298
|
+
};
|
|
299
|
+
const useCreateBusinessLine = (options) => {
|
|
300
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
301
|
+
return useMutation({
|
|
302
|
+
mutationFn: (data) => createBusinessLine(rootLegalEntityId.value, baseUrl.value, data),
|
|
303
|
+
...options
|
|
304
|
+
});
|
|
305
|
+
};
|
|
306
|
+
const updateBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
307
|
+
return httpPost(
|
|
308
|
+
{
|
|
309
|
+
baseUrl,
|
|
310
|
+
path: `legalEntities/${legalEntityId}/businessLines/${data.id}`
|
|
311
|
+
},
|
|
312
|
+
data
|
|
313
|
+
);
|
|
314
|
+
};
|
|
315
|
+
const useUpdateBusinessLine = (options) => {
|
|
316
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
317
|
+
return useMutation({
|
|
318
|
+
mutationFn: (data) => updateBusinessLine(rootLegalEntityId.value, baseUrl.value, data),
|
|
319
|
+
...options
|
|
320
|
+
});
|
|
321
|
+
};
|
|
322
|
+
export {
|
|
323
|
+
Divider as D,
|
|
324
|
+
INDUSTRY_CODE_FIELD as I,
|
|
325
|
+
SALES_CHANNELS_FIELD as S,
|
|
326
|
+
WEB_DATA_FIELD as W,
|
|
327
|
+
IndustryCodeField as a,
|
|
328
|
+
useCreateBusinessLine as b,
|
|
329
|
+
useUpdateBusinessLine as c,
|
|
330
|
+
businessLineTypes as d,
|
|
331
|
+
shouldSignNewPci as e,
|
|
332
|
+
SCTA_FIELD as f,
|
|
333
|
+
selectedBusinessLine as g,
|
|
334
|
+
businessLinesConfigurations as h,
|
|
335
|
+
industryCodeFieldMetadata as i,
|
|
336
|
+
businessLinesForms as j,
|
|
337
|
+
salesChannelsWithWebData as s,
|
|
338
|
+
useIndustryCodes as u
|
|
339
|
+
};
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "762a78bb-4916-4a5c-905d-643ca4cd5034", e._sentryDebugIdIdentifier = "sentry-dbid-762a78bb-4916-4a5c-905d-643ca4cd5034");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-B1vl-x5N.js";
|
|
12
|
+
import { b as useApiContext, $ as httpPost } from "./StoreProvider-DwuHWsNs.js";
|
|
12
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
14
|
return httpPost(
|
|
14
15
|
{
|