@adyen/kyc-components 4.6.1 → 4.7.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/{AcceptTermsOfServiceComponent-B3l9btP-.js → AcceptTermsOfServiceComponent-RYwThKmu.js} +17 -16
- package/dist/{AccountSetupRejected-DbdJB-OJ.js → AccountSetupRejected-DhwwBH0S.js} +2 -2
- package/dist/{ActionBar-BUo_zptQ.js → ActionBar-u-Qc7Y4w.js} +1 -1
- package/dist/{Address-B1q0i8VT.js → Address-TGZeMCUA.js} +15 -15
- package/dist/{Avatar-V--81dug.js → Avatar-LSd9cIJV.js} +1 -1
- package/dist/{BusinessFinancingComponent-yACwTlmi.js → BusinessFinancingComponent-DAeZTKW1.js} +6 -6
- package/dist/{BusinessFinancingDropin-DwMpqWbh.js → BusinessFinancingDropin-BVgSTmUm.js} +27 -27
- package/dist/BusinessFinancingPage-vKWY2gWN.js +43 -0
- package/dist/{BusinessTypeSelectionPage-RRp8YkIk.js → BusinessTypeSelectionPage-DhpGpgac.js} +9 -9
- package/dist/{Checkbox-CBsyuXip.js → Checkbox-D5-_dw4-.js} +1 -1
- package/dist/{Confirm-BLjnKmbU.js → Confirm-BoQbVMKQ.js} +2 -2
- package/dist/{ConstitutionalDocument-aYMC7Qld.js → ConstitutionalDocument-CjUSPI6f.js} +37 -26
- package/dist/{ContactDetails-BBTAGuyq.js → ContactDetails-Bj1jL-WF.js} +9 -19
- package/dist/{ContextGuidance-BJIBM5W-.js → ContextGuidance-CoDkF9Kh.js} +1 -1
- package/dist/{CountryField-o99j4P7E.js → CountryField-DPtohqO0.js} +3 -3
- package/dist/{CreateIndividualComponent-CmhrM9Gy.js → CreateIndividualComponent-DnDxRY8S.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-CHaq9Cug.js → CreateTransferInstrumentComponent-BB1v1vPR.js} +4 -4
- package/dist/{Currency-hrruvtK7.js → Currency-DjKXc6D1.js} +7 -7
- package/dist/{CustomerSupport-D9V9znlz.js → CustomerSupport-nxoB2aXL.js} +9 -9
- package/dist/{DebugModal-C3ODQ7HG.js → DebugModal-DK9xbFjU.js} +7 -7
- package/dist/{DecisionMakerDetails-BUm0ukYp.js → DecisionMakerDetails-D-POvfJr.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-DiYr15fi.js → DecisionMakerDetailsPage-CABFACYm.js} +8 -8
- package/dist/{DecisionMakers-BCk4n5BI.js → DecisionMakers-B4gmdJ-s.js} +20 -20
- package/dist/{Dropzone-Dled5Xv_.js → Dropzone-IwRNw22i.js} +3 -3
- package/dist/{EmbeddedStatus-a9eBGaNp.js → EmbeddedStatus-BU2hma9l.js} +2 -2
- package/dist/{EndStateLayout-Doxwm8Bv.js → EndStateLayout-DURCt96r.js} +1 -1
- package/dist/{EntityAssociation-BdpQ9IKO.js → EntityAssociation-TBvPBEGa.js} +4 -4
- package/dist/{EntityGuidanceStatus-CqfeJN28.js → EntityGuidanceStatus-CFRY8Yia.js} +4 -4
- package/dist/{ErrorPanel-B_t2Mr0a.js → ErrorPanel-ALBlWg3_.js} +2 -2
- package/dist/{Field-DhGlekN4.js → Field--T3FQepj.js} +1 -1
- package/dist/{FormNavigation-zwvQFKf1.js → FormNavigation-nE2uj2oQ.js} +3 -3
- package/dist/{Individual.rules-DnqpK01d.js → Individual.rules-DotRDPTM.js} +6 -6
- package/dist/{IndividualDropin-CaQg4nGw.js → IndividualDropin-eiRXQvS_.js} +164 -119
- package/dist/{InputDate-MfbWpC8K.js → InputDate-BAzF-upe.js} +1 -1
- package/dist/{InputText-BsC-S1uD.js → InputText-CywP4Ojh.js} +2 -2
- package/dist/{Introduction-XVVXz1r8.js → Introduction-CKoQlTAr.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-CHrA8mQR.js → InvitedDecisionMakerComponent-CV8OExOI.js} +18 -13
- package/dist/{JpAddress-BDGwDEOX.js → JpAddress-BIgqDfQ0.js} +10 -10
- package/dist/{LandingLayout-DJR_oP_0.js → LandingLayout-DEgZw1-N.js} +5 -3
- package/dist/{LegalCompanyNameField-CzsW7440.js → LegalCompanyNameField-CblBotGC.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-umA-1VaQ.js → LegalRepresentativeDetailsPage-BYgKGZL1.js} +4 -4
- package/dist/{Link-CuEU7lsc.js → Link-BVdY7Jkl.js} +1 -1
- package/dist/{ListItem-De_7UUwH.js → ListItem-CNuX4D7n.js} +2 -2
- package/dist/{LoaderWrapper-BUn-b8AB.js → LoaderWrapper-CU0bf3jD.js} +1 -1
- package/dist/ManageIndividualComponent-BYBvuHfj.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-ChalvP2J.js → ManageTermsOfServiceComponent-CfN53LIT.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C4oiwftt.js → ManageTransferInstrumentComponent-B7gKGWHz.js} +10 -10
- package/dist/{MaskedInput-BWp2Akul.js → MaskedInput-BNceotwn.js} +4 -4
- package/dist/{MaybeModal-C7EW70Xg.js → MaybeModal-hVrKDPDU.js} +2 -2
- package/dist/{Modal-D_LDmrcf.js → Modal-C8kGCLbp.js} +3 -3
- package/dist/{Name-D8B6J9x4.js → Name-GILpP1SS.js} +4 -4
- package/dist/{NewSummary-BjYCAFDe.js → NewSummary-C5UR_Xj1.js} +2 -2
- package/dist/{OnboardingDropinComponent-CFcJQhCb.js → OnboardingDropinComponent-CK5KIhNx.js} +74 -74
- package/dist/{PayoutDetailsDropin-Beeag1MS.js → PayoutDetailsDropin-CLdEm9BA.js} +465 -226
- package/dist/PayoutDetailsPage-s-_gJFC2.js +914 -0
- package/dist/{RadioGroup-DvrpVP2i.js → RadioGroup-PEWX2KAj.js} +1 -1
- package/dist/{Review-D8hiQo3n.js → Review-CFnIOiZT.js} +6 -6
- package/dist/{RootBusinessDetailsPage-OjbFMdJ2.js → RootBusinessDetailsPage-mnrfIy0-.js} +4 -4
- package/dist/{RootBusinessLinesPage-CIECoCW3.js → RootBusinessLinesPage-BH3Lns3X.js} +28 -35
- package/dist/{RootIndividualDetailsPage-kvCZ8gLE.js → RootIndividualDetailsPage-BzgHIe3h.js} +7 -7
- package/dist/{Select-t-h8dau1.js → Select-C4C8R-Ci.js} +4 -4
- package/dist/{SignPCIComponent-BTd1hGFj.js → SignPCIComponent-B7rKUpjS.js} +11 -11
- package/dist/{SingpassSelection-BUVrRdZ4.js → SingpassSelection-WxIUEYNK.js} +4 -4
- package/dist/{SoleProprietorshipPage-BoUgRvvr.js → SoleProprietorshipPage-C_fewFI3.js} +3 -3
- package/dist/{SourceOfFundsPage-DNth1tGN.js → SourceOfFundsPage-UeXmtQEJ.js} +33 -33
- package/dist/{StepProgressIndicator-CHQ02q0R.js → StepProgressIndicator-DiB-t9hK.js} +1 -1
- package/dist/{StoreProvider-Do1odp3Z.js → StoreProvider-C4og8Y8I.js} +111 -91
- package/dist/{Summary-s4DquGfj.js → Summary-DkZ_an9u.js} +7 -20
- package/dist/{TaxInformationField-DS9fsrYp.js → TaxInformationField-BOZj8YLo.js} +27 -23
- package/dist/{TaxReportingDropin-CsCwca9A.js → TaxReportingDropin-9HGGrPyM.js} +14 -14
- package/dist/{TextArea-DI9q4r1R.js → TextArea-Bu9ppy0I.js} +2 -2
- package/dist/{TileGroup-CAyozQI4.js → TileGroup-BRzhDdL0.js} +2 -2
- package/dist/{TrustDetailsPage-Dp7MPmlU.js → TrustDetailsPage-C3gYEzPT.js} +32 -38
- package/dist/{TrustMemberCompanyPage-D-6ls2Oq.js → TrustMemberCompanyPage-BK54Of_F.js} +5 -5
- package/dist/{TrustMemberIndividualPage-MrBsjChK.js → TrustMemberIndividualPage-fVZrXJjA.js} +5 -5
- package/dist/{TrustMemberRoleAndTypePage-D901ZC2E.js → TrustMemberRoleAndTypePage-BVHOuXP3.js} +22 -22
- package/dist/{TrustMembersOverview-D-39F-pm.js → TrustMembersOverview-Ab-dwNTz.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-CYyfQrYN.js → UnincorporatedPartnershipIndividualPage-C32LEyHG.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DO5iP4Dt.js → UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CBQerXfu.js → UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-e_5NAEac.js → UnincorporatedPartnershipMembersOverview-RY7m4iC5.js} +7 -7
- package/dist/{VerificationErrorAlert-Bnnuucqh.js → VerificationErrorAlert-CCJ0vNsY.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-CVVTKfrQ.js → ViewVerificationStatusComponent-Bg1I1q10.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-DNleI80l.js → bafinUtils-DkCSO6ft.js} +1 -1
- package/dist/{bg-BG-DMNRRZZE.js → bg-BG-89Mw-9Lv.js} +7 -7
- package/dist/{bg-BG-Cj3_UGTi.js → bg-BG-C9zrgb_c.js} +7 -1
- package/dist/{bg-BG-C6dSR1jk.js → bg-BG-dmpv4Zom.js} +2 -2
- package/dist/{commonValidators-B93jw3zT.js → commonValidators-Dd4wegC9.js} +1 -1
- package/dist/{cs-CZ-B6atm9_Q.js → cs-CZ-6rOIfRJu.js} +2 -2
- package/dist/{cs-CZ-DxfB5dcV.js → cs-CZ-B-zm6HVH.js} +7 -1
- package/dist/{cs-CZ-DXSMRqPu.js → cs-CZ-CTxXvHtH.js} +7 -7
- package/dist/{da-DK-BfsYpvel.js → da-DK-CGhsIGZt.js} +7 -1
- package/dist/{da-DK-Cv6XUSoW.js → da-DK-C_GqHCay.js} +2 -2
- package/dist/{da-DK-CMVthpSr.js → da-DK-D_TOcmOO.js} +7 -7
- package/dist/{de-DE-BplDsJEb.js → de-DE-BmWBo3gX.js} +2 -2
- package/dist/{de-DE-B5TOuf7l.js → de-DE-DYzAiXHM.js} +7 -7
- package/dist/{de-DE-CEsDXBn-.js → de-DE-K9FyOJiI.js} +7 -1
- package/dist/{dropinUtils-iBTioaF7.js → dropinUtils-vsDEK6cs.js} +17 -6
- package/dist/{el-GR-BNNlN4l2.js → el-GR-DItzpoar.js} +7 -7
- package/dist/{el-GR-dRK7xHn2.js → el-GR-Fo7-xCrc.js} +2 -2
- package/dist/{el-GR-CM3bIzr7.js → el-GR-L-39cQfz.js} +7 -1
- package/dist/en-US-qlQTJNiL.js +13 -0
- package/dist/{es-ES-DRsix_Xn.js → es-ES-BkqlH093.js} +2 -2
- package/dist/{es-ES-Wcpc6fm1.js → es-ES-BmH6eADf.js} +7 -7
- package/dist/{es-ES-BWFP5itn.js → es-ES-TUyeIp6F.js} +7 -1
- package/dist/{et-EE-CcXrAAc7.js → et-EE-Cw_VydGb.js} +7 -1
- package/dist/{et-EE-DNC4hcxm.js → et-EE-DSZa_33d.js} +7 -7
- package/dist/{et-EE-BXiYapXy.js → et-EE-H8yxvhQj.js} +2 -2
- package/dist/{fi-FI-BftTiz0c.js → fi-FI-BfwJVwi9.js} +2 -2
- package/dist/{fi-FI-BJLU1JHw.js → fi-FI-DJ8BbVPT.js} +7 -7
- package/dist/{fi-FI-DenK0WPz.js → fi-FI-tgvQX_Iq.js} +7 -1
- package/dist/{formUtils-lkF9e5IB.js → formUtils-DFuc8i5Q.js} +3 -3
- package/dist/{fr-FR-C6jxjXAI.js → fr-FR-CzjsW73Q.js} +2 -2
- package/dist/{fr-FR-DodNoPid.js → fr-FR-D533_MOG.js} +7 -7
- package/dist/{fr-FR-BmTswZU5.js → fr-FR-ynC19lSF.js} +7 -1
- package/dist/{getName-f5vInm5O.js → getName-D3Sba-PI.js} +1 -1
- package/dist/{getProblemsForEntity-D8b_EJeC.js → getProblemsForEntity-Db-ejW4z.js} +1 -1
- package/dist/{getTrustedFields-D2WVcNYC.js → getTrustedFields-DUXTMWcg.js} +1 -1
- package/dist/{hr-HR-SDrDZRLV.js → hr-HR--5syrowD.js} +7 -1
- package/dist/{hr-HR-C0NLgF1r.js → hr-HR-CIxdonpk.js} +7 -7
- package/dist/{hr-HR-B_TEU3r4.js → hr-HR-ZrpQrsik.js} +2 -2
- package/dist/{hu-HU-C3ZiFh1F.js → hu-HU--6ZxXlbV.js} +7 -7
- package/dist/{hu-HU-DSVf2zbX.js → hu-HU-BFiGk_QT.js} +7 -1
- package/dist/{hu-HU-CX83V9tu.js → hu-HU-Ds3go4h4.js} +2 -2
- package/dist/{isEmpty-u6uLWpz1.js → isEmpty-DFqK5kY2.js} +2 -2
- package/dist/{it-IT-CZ4aDoVQ.js → it-IT-B5cf2VTN.js} +7 -7
- package/dist/{it-IT-DJe5OflH.js → it-IT-C0Zv5ms9.js} +7 -1
- package/dist/{it-IT-CXlaZNIj.js → it-IT-Dx15tkIe.js} +2 -2
- package/dist/{ja-JP-GGV_-V6p.js → ja-JP--u211vje.js} +7 -1
- package/dist/{ja-JP-BpeNsNhn.js → ja-JP-DY4CJlUf.js} +7 -7
- package/dist/{ja-JP-A6ArIIZ8.js → ja-JP-Qu7oEIEy.js} +2 -2
- package/dist/{japanSupportUtils-By6GI65W.js → japanSupportUtils-DqXOWm97.js} +1 -1
- package/dist/{localizeDateString-CYVOqiuH.js → localizeDateString-D8JgUqw2.js} +1 -1
- package/dist/{lt-LT-ww192lYg.js → lt-LT-BebOeKIA.js} +2 -2
- package/dist/{lt-LT-C8n1GZoU.js → lt-LT-CkjEvGSp.js} +7 -7
- package/dist/{lt-LT-C9nsCODy.js → lt-LT-D2Hrhr7v.js} +7 -1
- package/dist/{lv-LV-BdPdaVGy.js → lv-LV-BdZK9nQA.js} +7 -7
- package/dist/{lv-LV-CpHy-ZoF.js → lv-LV-CYcrO-6d.js} +2 -2
- package/dist/{lv-LV-Bue450PR.js → lv-LV-D04q9r-y.js} +7 -1
- package/dist/{mapExistingFile-9oZpCz9G.js → mapExistingFile-BIYg1E5G.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js → mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BY73qAGj.js → mapLegalEntityToIndividualSchema-By5v9v9G.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BYhssQ5b.js → mapTransferInstrumentToPayoutAccount-BM24JYqT.js} +2 -2
- package/dist/{nl-NL-4Mv4rnYy.js → nl-NL-CJ7MoBj2.js} +7 -1
- package/dist/{nl-NL-BwWFlBOs.js → nl-NL-FbJ2sHba.js} +2 -2
- package/dist/{nl-NL-B2Uku0lw.js → nl-NL-YcL7Gufl.js} +7 -7
- package/dist/{no-NO-JWsSd7iY.js → no-NO-B5BjEy8n.js} +2 -2
- package/dist/{no-NO-ByCZ3mhz.js → no-NO-C20s6CoP.js} +7 -1
- package/dist/{no-NO-DjOcJWnC.js → no-NO-KkYB-VQD.js} +7 -7
- package/dist/{omitObscuredFieldsIfUnchanged-BukQYYUl.js → omitObscuredFieldsIfUnchanged-CyJfNYkP.js} +2 -2
- package/dist/{patternValidators-BAI5QGjT.js → patternValidators-DRSnA1z7.js} +2 -2
- package/dist/{pl-PL-DCi5Lf4k.js → pl-PL-C19Btj2D.js} +7 -1
- package/dist/{pl-PL-Bmaq3IC3.js → pl-PL-CPdKf-J0.js} +7 -7
- package/dist/{pl-PL-CLmmSNgn.js → pl-PL-DuM6hbqZ.js} +2 -2
- package/dist/{process-field-configurations-BsVn1sDe.js → process-field-configurations-Cl2nqpBp.js} +2 -2
- package/dist/{pt-BR-BJOww8U1.js → pt-BR-BKKQIUJP.js} +2 -2
- package/dist/{pt-BR-BKdT0Bpl.js → pt-BR-ERWeus3c.js} +7 -7
- package/dist/{pt-BR-DRz5cG4o.js → pt-BR-zOjPTIPu.js} +7 -1
- package/dist/{pt-PT-CL9VzmZE.js → pt-PT-CC7zlk3R.js} +2 -2
- package/dist/{pt-PT-C2li07N1.js → pt-PT-DUTGt5L5.js} +7 -7
- package/dist/{pt-PT-ChRbnn0k.js → pt-PT-t5M8xwTU.js} +7 -1
- package/dist/{resolveEnvironment-qgplleRV.js → resolveEnvironment-BIF7mwM5.js} +3 -3
- package/dist/{ro-RO-iPjOeKwM.js → ro-RO-BnFjok5O.js} +7 -7
- package/dist/{ro-RO-Cu1T3z6k.js → ro-RO-CuabgXj1.js} +2 -2
- package/dist/{ro-RO-Dgie5z3m.js → ro-RO-DK9gVwS9.js} +7 -1
- package/dist/{roleMetadata-BqDkoUz9.js → roleMetadata-BAURfCmh.js} +3 -3
- package/dist/{sk-SK-bMDoNP19.js → sk-SK-2J6iKfmK.js} +7 -1
- package/dist/{sk-SK-3_SoEn6P.js → sk-SK-CLPd85I3.js} +7 -7
- package/dist/{sk-SK-CEjJ-qZG.js → sk-SK-DM1yY8DA.js} +2 -2
- package/dist/{sl-SI-BfO3xEJx.js → sl-SI--pDTatHh.js} +2 -2
- package/dist/{sl-SI-DKSu25rO.js → sl-SI-D82ccY62.js} +7 -1
- package/dist/{sl-SI-DbfswGh0.js → sl-SI-T9_Ty-NS.js} +7 -7
- package/dist/style.css +9 -21
- package/dist/styles-CLV89_hH.js +9 -21
- package/dist/{sv-SE-Blw4s8bC.js → sv-SE-3-h2VlYi.js} +7 -7
- package/dist/{sv-SE-CMLKzwtj.js → sv-SE-CDxyyNV0.js} +2 -2
- package/dist/{sv-SE-Co7Nkd06.js → sv-SE-CrBkos0z.js} +7 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +289 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -4
- package/dist/types/api/configurations/useScenarios.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +4 -4
- package/dist/types/api/queryKeys.d.ts +1 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +245 -1
- package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +6 -1
- package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +27 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +2 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/validate.d.ts +23 -0
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -4
- package/dist/types/components/Business/forms/rules.d.ts +6 -6
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +10 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +2 -3
- package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +499 -487
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +2 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +5 -0
- 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 +1 -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/Name/validate.d.ts +2 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/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/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/context/ToggleContext/types.d.ts +51 -56
- package/dist/types/core/models/api/branchAllocation.d.ts +5 -0
- package/dist/types/core/models/api/get-scenarios.d.ts +2 -0
- package/dist/types/core/models/api/organization.d.ts +2 -0
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -0
- package/dist/types/hooks/usePageLandedEvent.d.ts +3 -3
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-CTwBMnPB.js → types-C7ANBXKc.js} +56 -61
- package/dist/{types-CfnPVq7b.js → types-DsA42AXS.js} +1 -1
- package/dist/{types-tdqAwKL7.js → types-DxlKs1U5.js} +1 -1
- package/dist/{types-DKR2ZuTD.js → types-VsWq4EjV.js} +1 -1
- package/dist/{unincorporated-partnership-DiT1SZMx.js → unincorporated-partnership-uA1X2l53.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Bwe18_3D.js → useAssociatedLegalEntity-3LNpnrN6.js} +1 -1
- package/dist/{useBusinessDetailsData-S4H6u7aV.js → useBusinessDetailsData-dZbZQSmY.js} +330 -314
- package/dist/{useCreateLegalEntity-DugB4CeD.js → useCreateLegalEntity-DDkkYr4O.js} +1 -1
- package/dist/{useForm-Chyn6I7t.js → useForm-Y4-kimHb.js} +3 -3
- package/dist/{useFormContext-D0VUus9N.js → useFormContext-TKoF8IdB.js} +7 -7
- package/dist/{useGlobalData-BOpkYARg.js → useGlobalData-DZvXyS0l.js} +9 -9
- package/dist/{useMultiForm-AyBSOBoC.js → useMultiForm-ieaYM7hW.js} +4 -4
- package/dist/{useOnboardingStatus-DHIZ68CF.js → useOnboardingStatus-DhxCTR8e.js} +1 -1
- package/dist/{useScenarios-C--d6gPw.js → useScenarios-CwSfXmoW.js} +1 -1
- package/dist/{useTermsOfServiceStatus-OVxuF0N1.js → useTermsOfServiceStatus-DPGw4QdQ.js} +1 -1
- package/dist/{useToastContext-DHFV4LJC.js → useToastContext-BdsMS3mt.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-B9S2O4tQ.js → useUnincorporatedPartnershipMembers-D5ndPAbv.js} +4 -4
- package/dist/{useUpdateBusinessLines-D-2SFDbh.js → useUpdateBusinessLines-Dwk23sZB.js} +5 -7
- package/dist/{useUpdateLegalEntity-CFRYUBdP.js → useUpdateLegalEntity-5lOidXXX.js} +2 -2
- package/dist/{utils-BlKniCje.js → utils-BwwVW2aU.js} +6 -6
- package/dist/{utils-CmyEO2z6.js → utils-C5ekxdx1.js} +1 -1
- package/dist/{utils-HEJUczlg.js → utils-C_Fyu6Kr.js} +1 -1
- package/dist/{utils-DzZSy2n_.js → utils-CdhuiXMy.js} +1 -1
- package/dist/{utils-CG9hxJ09.js → utils-Dny5dbku.js} +2 -2
- package/dist/{validate-DKsP8XGZ.js → validate-CFI052fe.js} +3 -3
- package/dist/{validate-DkaJWAVo.js → validate-bZBB2yOu.js} +2 -2
- package/dist/{validationError-yKQW3P6f.js → validationError-XxBa8ECY.js} +2 -2
- package/package.json +10 -10
- package/dist/BusinessFinancingPage-Bgh0dGq3.js +0 -43
- package/dist/ManageIndividualComponent-BK6fjFPh.js +0 -46
- package/dist/PayoutDetailsPage-Q6XPaC0y.js +0 -55
- package/dist/en-US-CJDkXFZ6.js +0 -13
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/formatAccountVerificationSummary.d.ts +0 -7
|
@@ -1,7 +1,251 @@
|
|
|
1
|
+
import type { UserEvents } from '../../core/user-events';
|
|
1
2
|
import type { QueryOptions } from '../types';
|
|
2
3
|
import type { TinVerificationRequest, TinVerificationResponse } from './tinVerification.types';
|
|
3
4
|
export type QueryKeyVerifyTin = ['verifyTin', TinVerificationRequest | undefined];
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Supports querying declaratively (`useVerifyTin` hook) and imperatively
|
|
7
|
+
* (`queryClient.fetchQuery()`) with the same config, ensuring no deviation occurs
|
|
8
|
+
* between the two types.
|
|
9
|
+
*/
|
|
10
|
+
export declare const verifyTinQueryOptions: (rootLegalEntityId: string, baseUrl: string, data: TinVerificationRequest, userEvents: UserEvents, options?: QueryOptions<TinVerificationResponse>) => import("@tanstack/preact-query").UseQueryOptions<{
|
|
11
|
+
matched?: boolean;
|
|
12
|
+
}, Error, {
|
|
13
|
+
matched?: boolean;
|
|
14
|
+
}, import("../queryKeys").QueryKey> & {
|
|
15
|
+
initialData?: {
|
|
16
|
+
matched?: boolean;
|
|
17
|
+
} | import("@tanstack/preact-query").InitialDataFunction<{
|
|
18
|
+
matched?: boolean;
|
|
19
|
+
}> | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
queryKey: ([] & {
|
|
22
|
+
[dataTagSymbol]: {
|
|
23
|
+
matched?: boolean;
|
|
24
|
+
};
|
|
25
|
+
[dataTagErrorSymbol]: Error;
|
|
26
|
+
}) | (import("../transferInstruments/transferInstruments.types").QueryKeyBankVerificationProviders & {
|
|
27
|
+
[dataTagSymbol]: {
|
|
28
|
+
matched?: boolean;
|
|
29
|
+
};
|
|
30
|
+
[dataTagErrorSymbol]: Error;
|
|
31
|
+
}) | (import("../termsOfService/useAcceptedTermsOfService").QueryKeyAcceptedTermsOfService & {
|
|
32
|
+
[dataTagSymbol]: {
|
|
33
|
+
matched?: boolean;
|
|
34
|
+
};
|
|
35
|
+
[dataTagErrorSymbol]: Error;
|
|
36
|
+
}) | (import("../address/useAddressCleanse").QueryKeyAddressCleanse & {
|
|
37
|
+
[dataTagSymbol]: {
|
|
38
|
+
matched?: boolean;
|
|
39
|
+
};
|
|
40
|
+
[dataTagErrorSymbol]: Error;
|
|
41
|
+
}) | (import("../uiAnalytics/useAnalyticsSession").QueryKeyAnalyticsSession & {
|
|
42
|
+
[dataTagSymbol]: {
|
|
43
|
+
matched?: boolean;
|
|
44
|
+
};
|
|
45
|
+
[dataTagErrorSymbol]: Error;
|
|
46
|
+
}) | (import("../businessLines/useBusinessLines").QueryKeyBusinessLines & {
|
|
47
|
+
[dataTagSymbol]: {
|
|
48
|
+
matched?: boolean;
|
|
49
|
+
};
|
|
50
|
+
[dataTagErrorSymbol]: Error;
|
|
51
|
+
}) | (import("../check/useCheck").QueryKeyCheckAsAService & {
|
|
52
|
+
[dataTagSymbol]: {
|
|
53
|
+
matched?: boolean;
|
|
54
|
+
};
|
|
55
|
+
[dataTagErrorSymbol]: Error;
|
|
56
|
+
}) | (import("../companyDataSet/handleCompanyDataset").QueryKeyCompanyDataset & {
|
|
57
|
+
[dataTagSymbol]: {
|
|
58
|
+
matched?: boolean;
|
|
59
|
+
};
|
|
60
|
+
[dataTagErrorSymbol]: Error;
|
|
61
|
+
}) | (import("../companySearch/useCompanySearch").QueryKeyCompanySearch & {
|
|
62
|
+
[dataTagSymbol]: {
|
|
63
|
+
matched?: boolean;
|
|
64
|
+
};
|
|
65
|
+
[dataTagErrorSymbol]: Error;
|
|
66
|
+
}) | (import("../documents/useDocument").QueryKeyDocument & {
|
|
67
|
+
[dataTagSymbol]: {
|
|
68
|
+
matched?: boolean;
|
|
69
|
+
};
|
|
70
|
+
[dataTagErrorSymbol]: Error;
|
|
71
|
+
}) | (import("../documents/useDocuments").QueryKeyDocuments & {
|
|
72
|
+
[dataTagSymbol]: {
|
|
73
|
+
matched?: boolean;
|
|
74
|
+
};
|
|
75
|
+
[dataTagErrorSymbol]: Error;
|
|
76
|
+
}) | (import("../documentValidation/useDocumentValidate").QueryKeyDocumentValidation & {
|
|
77
|
+
[dataTagSymbol]: {
|
|
78
|
+
matched?: boolean;
|
|
79
|
+
};
|
|
80
|
+
[dataTagErrorSymbol]: Error;
|
|
81
|
+
}) | (import("../idNowProvider/useIdNowProvider").QueryKeyIdNowProviderIdentificationStatus & {
|
|
82
|
+
[dataTagSymbol]: {
|
|
83
|
+
matched?: boolean;
|
|
84
|
+
};
|
|
85
|
+
[dataTagErrorSymbol]: Error;
|
|
86
|
+
}) | (import("../idNowProvider/useIdNowProvider").QueryKeyIdNowProviderStartIdentification & {
|
|
87
|
+
[dataTagSymbol]: {
|
|
88
|
+
matched?: boolean;
|
|
89
|
+
};
|
|
90
|
+
[dataTagErrorSymbol]: Error;
|
|
91
|
+
}) | (import("../idVerificationProviders/useIdVerificationToken").QueryKeyIdVerificationToken & {
|
|
92
|
+
[dataTagSymbol]: {
|
|
93
|
+
matched?: boolean;
|
|
94
|
+
};
|
|
95
|
+
[dataTagErrorSymbol]: Error;
|
|
96
|
+
}) | (import("../industryCodes/useIndustryCodes").QueryKeyIndustryCodes & {
|
|
97
|
+
[dataTagSymbol]: {
|
|
98
|
+
matched?: boolean;
|
|
99
|
+
};
|
|
100
|
+
[dataTagErrorSymbol]: Error;
|
|
101
|
+
}) | (import("../invitations/useInvitationStatuses").QueryKeyInvitationStatus & {
|
|
102
|
+
[dataTagSymbol]: {
|
|
103
|
+
matched?: boolean;
|
|
104
|
+
};
|
|
105
|
+
[dataTagErrorSymbol]: Error;
|
|
106
|
+
}) | (import("../invitedEntity/useInvitedEntityAssociationData").QueryKeyInvitedEntityAssociationData & {
|
|
107
|
+
[dataTagSymbol]: {
|
|
108
|
+
matched?: boolean;
|
|
109
|
+
};
|
|
110
|
+
[dataTagErrorSymbol]: Error;
|
|
111
|
+
}) | (import("../legalEntity/useLegalEntity").QueryKeyLegalEntity & {
|
|
112
|
+
[dataTagSymbol]: {
|
|
113
|
+
matched?: boolean;
|
|
114
|
+
};
|
|
115
|
+
[dataTagErrorSymbol]: Error;
|
|
116
|
+
}) | (import("../datasets/useLegalForms").QueryKeyLegalForms & {
|
|
117
|
+
[dataTagSymbol]: {
|
|
118
|
+
matched?: boolean;
|
|
119
|
+
};
|
|
120
|
+
[dataTagErrorSymbol]: Error;
|
|
121
|
+
}) | (import("../datasets/useNaceCodes").QueryKeyNaceCodes & {
|
|
122
|
+
[dataTagSymbol]: {
|
|
123
|
+
matched?: boolean;
|
|
124
|
+
};
|
|
125
|
+
[dataTagErrorSymbol]: Error;
|
|
126
|
+
}) | (import("../onboardingStatus/useOnboardingStatus").QueryKeyOnboardingStatus & {
|
|
127
|
+
[dataTagSymbol]: {
|
|
128
|
+
matched?: boolean;
|
|
129
|
+
};
|
|
130
|
+
[dataTagErrorSymbol]: Error;
|
|
131
|
+
}) | (import("../openId/useOpenIdAuthorizationLink").QueryKeyOpenIdAuthorizationLink & {
|
|
132
|
+
[dataTagSymbol]: {
|
|
133
|
+
matched?: boolean;
|
|
134
|
+
};
|
|
135
|
+
[dataTagErrorSymbol]: Error;
|
|
136
|
+
}) | (import("../pci/usePciQuestionnaireList").QueryKeyPciQuestionnaireList & {
|
|
137
|
+
[dataTagSymbol]: {
|
|
138
|
+
matched?: boolean;
|
|
139
|
+
};
|
|
140
|
+
[dataTagErrorSymbol]: Error;
|
|
141
|
+
}) | (import("../pci/usePciStatus").QueryKeyPciStatus & {
|
|
142
|
+
[dataTagSymbol]: {
|
|
143
|
+
matched?: boolean;
|
|
144
|
+
};
|
|
145
|
+
[dataTagErrorSymbol]: Error;
|
|
146
|
+
}) | (import("../pci/usePciTemplate").QueryKeyPciTemplate & {
|
|
147
|
+
[dataTagSymbol]: {
|
|
148
|
+
matched?: boolean;
|
|
149
|
+
};
|
|
150
|
+
[dataTagErrorSymbol]: Error;
|
|
151
|
+
}) | (import("../providersConfiguration/useProviderStatus").QueryKeyProvidersStatus & {
|
|
152
|
+
[dataTagSymbol]: {
|
|
153
|
+
matched?: boolean;
|
|
154
|
+
};
|
|
155
|
+
[dataTagErrorSymbol]: Error;
|
|
156
|
+
}) | (import("../address/useRetrieveAddress").QueryKeyRetrieveAddress & {
|
|
157
|
+
[dataTagSymbol]: {
|
|
158
|
+
matched?: boolean;
|
|
159
|
+
};
|
|
160
|
+
[dataTagErrorSymbol]: Error;
|
|
161
|
+
}) | (import("../configurations/useScenarios").QueryKeyScenarios & {
|
|
162
|
+
[dataTagSymbol]: {
|
|
163
|
+
matched?: boolean;
|
|
164
|
+
};
|
|
165
|
+
[dataTagErrorSymbol]: Error;
|
|
166
|
+
}) | (import("../address/useSearchAddress").QueryKeySearchAddress & {
|
|
167
|
+
[dataTagSymbol]: {
|
|
168
|
+
matched?: boolean;
|
|
169
|
+
};
|
|
170
|
+
[dataTagErrorSymbol]: Error;
|
|
171
|
+
}) | (import("../datasets/useSourceOfFundsTypes").QueryKeySourceOfFundsTypes & {
|
|
172
|
+
[dataTagSymbol]: {
|
|
173
|
+
matched?: boolean;
|
|
174
|
+
};
|
|
175
|
+
[dataTagErrorSymbol]: Error;
|
|
176
|
+
}) | (import("../configurations/useSupportedCountries").QueryKeySupportedCountries & {
|
|
177
|
+
[dataTagSymbol]: {
|
|
178
|
+
matched?: boolean;
|
|
179
|
+
};
|
|
180
|
+
[dataTagErrorSymbol]: Error;
|
|
181
|
+
}) | (import("../taskStatus/useTaskStatus").QueryKeyTaskStatus & {
|
|
182
|
+
[dataTagSymbol]: {
|
|
183
|
+
matched?: boolean;
|
|
184
|
+
};
|
|
185
|
+
[dataTagErrorSymbol]: Error;
|
|
186
|
+
}) | (import("../configurations/useTaskTypes").QueryKeyTaskTypes & {
|
|
187
|
+
[dataTagSymbol]: {
|
|
188
|
+
matched?: boolean;
|
|
189
|
+
};
|
|
190
|
+
[dataTagErrorSymbol]: Error;
|
|
191
|
+
}) | (import("../taxClassification/useTaxClassification").QueryKeyTaxClassification & {
|
|
192
|
+
[dataTagSymbol]: {
|
|
193
|
+
matched?: boolean;
|
|
194
|
+
};
|
|
195
|
+
[dataTagErrorSymbol]: Error;
|
|
196
|
+
}) | (import("../termsOfService/useTermsOfService").QueryKeyTermsOfService & {
|
|
197
|
+
[dataTagSymbol]: {
|
|
198
|
+
matched?: boolean;
|
|
199
|
+
};
|
|
200
|
+
[dataTagErrorSymbol]: Error;
|
|
201
|
+
}) | (import("../termsOfService/useTermsOfServiceAcceptanceInfos").QueryKeyTermsOfServiceAcceptanceInfos & {
|
|
202
|
+
[dataTagSymbol]: {
|
|
203
|
+
matched?: boolean;
|
|
204
|
+
};
|
|
205
|
+
[dataTagErrorSymbol]: Error;
|
|
206
|
+
}) | (import("../termsOfService/useTermsOfServiceStatus").QueryKeyTermsOfServiceStatus & {
|
|
207
|
+
[dataTagSymbol]: {
|
|
208
|
+
matched?: boolean;
|
|
209
|
+
};
|
|
210
|
+
[dataTagErrorSymbol]: Error;
|
|
211
|
+
}) | (import("../toggles/useToggles").QueryKeyToggles & {
|
|
212
|
+
[dataTagSymbol]: {
|
|
213
|
+
matched?: boolean;
|
|
214
|
+
};
|
|
215
|
+
[dataTagErrorSymbol]: Error;
|
|
216
|
+
}) | (import("../transferInstruments/useTransferInstrument").QueryKeyTransferInstrument & {
|
|
217
|
+
[dataTagSymbol]: {
|
|
218
|
+
matched?: boolean;
|
|
219
|
+
};
|
|
220
|
+
[dataTagErrorSymbol]: Error;
|
|
221
|
+
}) | (import("../transferInstruments/useTransferInstruments").QueryKeyTransferInstruments & {
|
|
222
|
+
[dataTagSymbol]: {
|
|
223
|
+
matched?: boolean;
|
|
224
|
+
};
|
|
225
|
+
[dataTagErrorSymbol]: Error;
|
|
226
|
+
}) | (import("../transferInstruments/useUpdateTrustedTransferInstrument").QueryKeyTrustedTransferInstrument & {
|
|
227
|
+
[dataTagSymbol]: {
|
|
228
|
+
matched?: boolean;
|
|
229
|
+
};
|
|
230
|
+
[dataTagErrorSymbol]: Error;
|
|
231
|
+
}) | (import("../validation/useValidatePhoneNumber").QueryKeyValidatePhoneNumber & {
|
|
232
|
+
[dataTagSymbol]: {
|
|
233
|
+
matched?: boolean;
|
|
234
|
+
};
|
|
235
|
+
[dataTagErrorSymbol]: Error;
|
|
236
|
+
}) | (QueryKeyVerifyTin & {
|
|
237
|
+
[dataTagSymbol]: {
|
|
238
|
+
matched?: boolean;
|
|
239
|
+
};
|
|
240
|
+
[dataTagErrorSymbol]: Error;
|
|
241
|
+
}) | (import("../configurations/useVersionConfiguration").QueryKeyVersionConfiguration & {
|
|
242
|
+
[dataTagSymbol]: {
|
|
243
|
+
matched?: boolean;
|
|
244
|
+
};
|
|
245
|
+
[dataTagErrorSymbol]: Error;
|
|
246
|
+
});
|
|
247
|
+
};
|
|
248
|
+
export declare const useVerifyTin: (data: TinVerificationRequest, options?: QueryOptions<TinVerificationResponse>) => import("@tanstack/preact-query").UseQueryResult<{
|
|
5
249
|
matched?: boolean;
|
|
6
250
|
}, Error>;
|
|
7
251
|
export declare const verifyTin: (legalEntityId: string, baseUrl: string, data: TinVerificationRequest) => Promise<TinVerificationResponse>;
|
|
@@ -2,6 +2,11 @@ import type { SetRequired } from 'type-fest';
|
|
|
2
2
|
import type { MixpanelProperty } from '../../core/user-events';
|
|
3
3
|
import type { components } from './analytics.contract';
|
|
4
4
|
export type AnalyticsSessionResponse = SetRequired<components['schemas']['InitSessionResponse'], 'id'>;
|
|
5
|
-
export type AnalyticsSessionRequest = Omit<components['schemas']['InitSessionRequest'], 'userData'> & {
|
|
5
|
+
export type AnalyticsSessionRequest = Omit<components['schemas']['InitSessionRequest'], 'userData' | 'eventData' | 'sdkVersion' | 'componentName' | 'userAgent' | 'legalEntityId'> & {
|
|
6
6
|
userData: Record<string, MixpanelProperty>;
|
|
7
|
+
eventData?: Record<string, MixpanelProperty>;
|
|
8
|
+
sdkVersion: string;
|
|
9
|
+
componentName: string;
|
|
10
|
+
userAgent: string;
|
|
11
|
+
legalEntityId: string;
|
|
7
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const showInstantVerificationPayoutModal: import("@preact/signals").Signal<boolean>;
|
package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
2
|
+
import type { Currency } from '../../../../types/datasets/currency';
|
|
1
3
|
import { type PayoutCountryDetailsProps, type PayoutCountryDetailsSchema } from './types';
|
|
2
4
|
export declare const payoutCountryDetailsFields: (keyof PayoutCountryDetailsSchema)[];
|
|
5
|
+
export declare const getDefaultCurrencyForCountry: (country: CountryCode) => Currency;
|
|
3
6
|
export declare function PayoutCountryDetails(props: PayoutCountryDetailsProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type Dispatch, type StateUpdater } from 'preact/hooks';
|
|
2
|
+
import type { BankVerificationVendor, CreateTrustedTransferInstrumentResponse } from '../../../../api/transferInstruments/transferInstruments.types';
|
|
3
|
+
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
|
+
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
6
|
+
import type { FormModelWithValidity } from '../../../../types/form';
|
|
7
|
+
import type { PayoutAccountSchema } from '../PayoutAccount/types';
|
|
8
|
+
interface PayoutDetailsMultiformProps {
|
|
9
|
+
activeForm: FormModelWithValidity;
|
|
10
|
+
shouldValidate: boolean;
|
|
11
|
+
problems: EntityProblems | undefined;
|
|
12
|
+
country: CountryCode;
|
|
13
|
+
accountHolder: string;
|
|
14
|
+
legalEntityResponse: ExistingLegalEntity;
|
|
15
|
+
provider?: BankVerificationVendor;
|
|
16
|
+
bankVendorsLoadingStatus: 'error' | 'success' | 'pending';
|
|
17
|
+
instantVerificationAvailable: boolean;
|
|
18
|
+
setHideSidebar?: Dispatch<StateUpdater<boolean>>;
|
|
19
|
+
setSkipSubmit?: Dispatch<StateUpdater<boolean>>;
|
|
20
|
+
createTrustedTransferInstrument: (code: string, state: string) => Promise<CreateTrustedTransferInstrumentResponse | undefined>;
|
|
21
|
+
accountDetailsFromInput: PayoutAccountSchema;
|
|
22
|
+
trustedTransferInstrumentId?: string;
|
|
23
|
+
onBack?: () => void;
|
|
24
|
+
setHasAsyncValidationError?: Dispatch<StateUpdater<boolean>>;
|
|
25
|
+
}
|
|
26
|
+
export declare function PayoutDetailsMultiform({ activeForm, shouldValidate, problems, country, accountHolder, legalEntityResponse, provider, bankVendorsLoadingStatus, instantVerificationAvailable, setHideSidebar, createTrustedTransferInstrument, accountDetailsFromInput, onBack, setHasAsyncValidationError, }: PayoutDetailsMultiformProps): import("preact/jsx-runtime").JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { FormRulesParams } from '../../../../types/form-rules';
|
|
2
2
|
import type { PayoutDetailsSchema } from './types';
|
|
3
|
-
export declare const rules: ({ data, requiredFields }: FormRulesParams<PayoutDetailsSchema>) => {
|
|
3
|
+
export declare const rules: ({ data, requiredFields, isFeatureEnabled, }: FormRulesParams<PayoutDetailsSchema>) => {
|
|
4
4
|
whenUsingManualVerification: () => "REQUIRED" | undefined;
|
|
5
5
|
whenUsingInstantVerification: () => "REQUIRED" | undefined;
|
|
6
6
|
verifiedBankAccountNumber: () => "REQUIRED" | undefined;
|
|
7
|
-
bankStatementRequirement: () => "
|
|
7
|
+
bankStatementRequirement: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
8
8
|
bankStatementDescription: () => "OPTIONAL" | undefined;
|
|
9
9
|
};
|
|
10
10
|
export type PayoutRules = ReturnType<typeof rules>;
|
|
@@ -12,6 +12,31 @@ export declare const remediationPayoutApiKeyMapping: {
|
|
|
12
12
|
capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
13
13
|
documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
14
14
|
legalEntityId?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
15
|
+
"bankAccount.bankName"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
16
|
+
"bankAccount.accountIdentification"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
17
|
+
"bankAccount.accountIdentification.type"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
18
|
+
"bankAccount.accountIdentification.bic"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
19
|
+
"bankAccount.accountIdentification.iban"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
20
|
+
"bankAccount.accountIdentification.accountNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
21
|
+
"bankAccount.accountIdentification.additionalBankIdentification"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
22
|
+
"bankAccount.accountIdentification.additionalBankIdentification.type"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
23
|
+
"bankAccount.accountIdentification.additionalBankIdentification.code"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
24
|
+
"bankAccount.accountIdentification.bsbCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
25
|
+
"bankAccount.accountIdentification.bankCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
26
|
+
"bankAccount.accountIdentification.branchNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
27
|
+
"bankAccount.accountIdentification.ispb"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
28
|
+
"bankAccount.accountIdentification.institutionNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
29
|
+
"bankAccount.accountIdentification.transitNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
30
|
+
"bankAccount.accountIdentification.accountType"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
31
|
+
"bankAccount.accountIdentification.clearingCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
32
|
+
"bankAccount.accountIdentification.clearingNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
33
|
+
"bankAccount.accountIdentification.sortCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
34
|
+
"bankAccount.accountIdentification.routingNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
35
|
+
"bankAccount.countryCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
36
|
+
"bankAccount.preferredCurrencyCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
37
|
+
"bankAccount.realLastFour"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
38
|
+
"bankAccount.trustedSource"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
39
|
+
"bankAccount.virtualAccountNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
15
40
|
"capabilities.banking"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
16
41
|
"capabilities.banking.verificationStatus"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
17
42
|
"capabilities.banking.transferInstruments"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
@@ -2001,30 +2026,5 @@ export declare const remediationPayoutApiKeyMapping: {
|
|
|
2001
2026
|
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.requestedSettings.maxAmount"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2002
2027
|
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.requestedSettings.maxAmount.currency"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2003
2028
|
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.requestedSettings.maxAmount.value"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2004
|
-
"bankAccount.bankName"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2005
|
-
"bankAccount.accountIdentification"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2006
|
-
"bankAccount.accountIdentification.type"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2007
|
-
"bankAccount.accountIdentification.bic"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2008
|
-
"bankAccount.accountIdentification.iban"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2009
|
-
"bankAccount.accountIdentification.accountNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2010
|
-
"bankAccount.accountIdentification.additionalBankIdentification"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2011
|
-
"bankAccount.accountIdentification.additionalBankIdentification.type"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2012
|
-
"bankAccount.accountIdentification.additionalBankIdentification.code"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2013
|
-
"bankAccount.accountIdentification.bsbCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2014
|
-
"bankAccount.accountIdentification.bankCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2015
|
-
"bankAccount.accountIdentification.branchNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2016
|
-
"bankAccount.accountIdentification.ispb"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2017
|
-
"bankAccount.accountIdentification.institutionNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2018
|
-
"bankAccount.accountIdentification.transitNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2019
|
-
"bankAccount.accountIdentification.accountType"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2020
|
-
"bankAccount.accountIdentification.clearingCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2021
|
-
"bankAccount.accountIdentification.clearingNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2022
|
-
"bankAccount.accountIdentification.sortCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2023
|
-
"bankAccount.accountIdentification.routingNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2024
|
-
"bankAccount.countryCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2025
|
-
"bankAccount.preferredCurrencyCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2026
|
-
"bankAccount.realLastFour"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2027
|
-
"bankAccount.trustedSource"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2028
|
-
"bankAccount.virtualAccountNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
2029
2029
|
BankAccount: string;
|
|
2030
2030
|
};
|
package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import type { PayoutDetailsDropinProps } from '../../forms/PayoutDetails/types';
|
|
2
|
-
export declare const showInstantVerificationPayoutModal: import("@preact/signals").Signal<boolean>;
|
|
3
2
|
export declare function PayoutDetailsDropin({ legalEntityResponse, problems: propProblems, onSubmit: externalOnSubmit, onChange, asModal, handleCloseClick, taskType: propTaskType, handleHomeClick, currentTransferInstrumentId, setCurrentTransferInstrumentId, navigateBackToTaskList, handleBackClick: externalBackClick, hideSidebar, openBankingPartnerConfigId, }: Readonly<PayoutDetailsDropinProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { PayoutDetailsDropinProps } from '../../forms/PayoutDetails/types';
|
|
2
|
+
export declare function PayoutDetailsDropinMultiForm({ legalEntityResponse, problems: propProblems, onSubmit: externalOnSubmit, asModal, handleCloseClick, taskType: propTaskType, handleHomeClick, currentTransferInstrumentId, navigateBackToTaskList, handleBackClick: externalBackClick, openBankingPartnerConfigId, }: Readonly<PayoutDetailsDropinProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { CAASResponseError } from '../../../../api/check/useCheck';
|
|
2
2
|
import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
|
|
3
3
|
import type { NsTranslationKey } from '../../../../../types';
|
|
4
|
+
import type { SummaryOf } from '../../../Shared/Summary/types';
|
|
5
|
+
import type { AccountVerificationSchema } from '../../forms/BankVerification/types';
|
|
4
6
|
import type { VerificationMethod } from '../../forms/PayoutVerificationMethod/types';
|
|
5
7
|
interface InvalidFieldMessage {
|
|
6
8
|
header: NsTranslationKey<'banking'>;
|
|
@@ -8,4 +10,9 @@ interface InvalidFieldMessage {
|
|
|
8
10
|
}
|
|
9
11
|
export declare const getInvalidFieldsErrorMessage: (errors: CAASResponseError) => InvalidFieldMessage;
|
|
10
12
|
export declare const getPayoutVerificationMethod: (transferInstrument: ExistingTransferInstrument | undefined, instantVerificationEnabled: boolean) => VerificationMethod | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Ensures that all the "verified" fields have the corresponding regular field's label in the summary.
|
|
15
|
+
* Same as if they were manually entered.
|
|
16
|
+
*/
|
|
17
|
+
export declare const formatAccountVerificationSummary: (data: AccountVerificationSchema | undefined) => SummaryOf<AccountVerificationSchema>;
|
|
11
18
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
2
|
+
import type { ValidatorRules } from '../../../../utils/validation/types';
|
|
3
|
+
import type { PayoutAccountSchema } from '../../forms/PayoutAccount/types';
|
|
4
|
+
import type { PayoutVerificationMethodSchema } from '../../forms/PayoutVerificationMethod/types';
|
|
5
|
+
interface BuildPayoutValidatorsProps {
|
|
6
|
+
country: CountryCode;
|
|
7
|
+
}
|
|
8
|
+
export declare function payoutCountryDetailsValidators(): Record<string, never>;
|
|
9
|
+
export declare function payoutVerificationMethodValidators(): ValidatorRules<PayoutVerificationMethodSchema>;
|
|
10
|
+
export declare function payoutAccountDetailsValidators({ country, }: BuildPayoutValidatorsProps): ValidatorRules<PayoutAccountSchema>;
|
|
11
|
+
export declare function payoutAccountDocumentsValidators(): {
|
|
12
|
+
bankStatementDocument: import("../../../../utils/validation/types").ValidatorRule<import("../../../../types/file").FileSchema[] | undefined, any>[];
|
|
13
|
+
documentType?: import("../../../../utils/validation/types").ValidatorRule<import("../../forms/BankDocument/types").BankDocumentType | undefined, import("../../forms/BankDocument/types").BankDocumentSchema> | import("../../../../utils/validation/types").ValidatorRule<import("../../forms/BankDocument/types").BankDocumentType | undefined, import("../../forms/BankDocument/types").BankDocumentSchema>[] | undefined;
|
|
14
|
+
description?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankDocument/types").BankDocumentSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankDocument/types").BankDocumentSchema>[] | undefined;
|
|
15
|
+
};
|
|
16
|
+
export declare function payoutAccountVerificationValidators(): Partial<{
|
|
17
|
+
verifiedBankAccountNumber?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema>[] | undefined;
|
|
18
|
+
verifiedAccountHolder?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema>[] | undefined;
|
|
19
|
+
verifiedCurrencyCode?: import("../../../../utils/validation/types").ValidatorRule<import("../../../../types/datasets/currency").Currency | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema> | import("../../../../utils/validation/types").ValidatorRule<import("../../../../types/datasets/currency").Currency | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema>[] | undefined;
|
|
20
|
+
verifiedBankCountry?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema>[] | undefined;
|
|
21
|
+
verifiedBankName?: import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema> | import("../../../../utils/validation/types").ValidatorRule<string | undefined, import("../../forms/BankVerification/types").AccountVerificationSchema>[] | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { QueryObserverResult, RefetchOptions } from '@tanstack/preact-query';
|
|
2
1
|
import { type Dispatch, type StateUpdater } from 'preact/hooks';
|
|
3
2
|
import type { CompanyDatasetResponse, ProviderAgnosticCompanyDatasetResponse } from '../../../../../api/companyDataSet/companyDataset.types';
|
|
4
3
|
import type { CompanySearchResult, ProviderAgnosticSearchResult } from '../../../../../api/companySearch/companySearch.types';
|
|
@@ -10,10 +9,10 @@ interface BusinessInformationCardProps {
|
|
|
10
9
|
fetchingError: boolean;
|
|
11
10
|
invalidTin: boolean;
|
|
12
11
|
setIsBusinessSelection?: Dispatch<StateUpdater<boolean>>;
|
|
13
|
-
handleSelectBusiness: (
|
|
14
|
-
|
|
12
|
+
handleSelectBusiness: () => void;
|
|
13
|
+
retryCompanySelection: () => void;
|
|
15
14
|
handleConfirmSelection: (data: CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse | undefined) => void;
|
|
16
15
|
handleBackClick?: () => void;
|
|
17
16
|
}
|
|
18
|
-
export declare function BusinessInformationCard({ result, selectedBusinessId, currentBusinessSelection, fetching, fetchingError, invalidTin, setIsBusinessSelection, handleSelectBusiness,
|
|
17
|
+
export declare function BusinessInformationCard({ result, selectedBusinessId, currentBusinessSelection, fetching, fetchingError, invalidTin, setIsBusinessSelection, handleSelectBusiness, retryCompanySelection, handleConfirmSelection, handleBackClick, }: BusinessInformationCardProps): import("preact/jsx-runtime").JSX.Element;
|
|
19
18
|
export {};
|
|
@@ -34,16 +34,16 @@ export declare const rules: ({ data, defaultData, country, taskType, isFeatureEn
|
|
|
34
34
|
requireDoingBusinessAsName: () => "REQUIRED" | undefined;
|
|
35
35
|
countryRequiresStateOrProvince: () => "REQUIRED" | undefined;
|
|
36
36
|
ifPubliclyTradedCompany: () => "REQUIRED" | undefined;
|
|
37
|
-
countryUsesVat: () => "
|
|
37
|
+
countryUsesVat: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
38
38
|
vatNumberType: () => "OPTIONAL" | undefined;
|
|
39
|
-
isVatExempt: () => "
|
|
40
|
-
countryUsesTaxId: () => "
|
|
41
|
-
companyRegistrationNumberExemptionAllowed: () => "
|
|
39
|
+
isVatExempt: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
40
|
+
countryUsesTaxId: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
41
|
+
companyRegistrationNumberExemptionAllowed: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
42
42
|
countryOfGoverningLawRequired: () => "REQUIRED" | undefined;
|
|
43
|
-
countryRequiresRegistrationNumber: () => "
|
|
43
|
+
countryRequiresRegistrationNumber: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
44
44
|
registrationNumberType: () => "OPTIONAL" | undefined;
|
|
45
45
|
countryUsesUenOrGst: () => "REQUIRED" | undefined;
|
|
46
|
-
countryHasTaxExemptions: () => "
|
|
46
|
+
countryHasTaxExemptions: () => "OPTIONAL" | "REQUIRED" | undefined;
|
|
47
47
|
usingCompanySearch: () => "REQUIRED" | undefined;
|
|
48
48
|
countryRequiresFinancialInformation: () => "REQUIRED" | undefined;
|
|
49
49
|
isDateOfIncorporationRequired: () => "REQUIRED" | undefined;
|
package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CompanyRegistrationNumberType } from '../../../Shared/fields/BusinessRegistrationNumberField/types';
|
|
1
2
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
2
3
|
/**
|
|
3
4
|
* Checks if a country requires business bank account tax ID validation
|
|
@@ -5,3 +6,12 @@ import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
|
5
6
|
* @returns true if the country requires business bank account tax ID, false otherwise
|
|
6
7
|
*/
|
|
7
8
|
export declare const isBusinessBankAccountTaxIdCountry: (country?: CountryCode) => boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the entered `registrationNumber` should be reused as `taxInformation`
|
|
11
|
+
* for a business bank account (see `isBusinessBankAccountTaxIdCountry`).
|
|
12
|
+
*
|
|
13
|
+
* For most countries this is equivalent to {@link isBusinessBankAccountTaxIdCountry}.
|
|
14
|
+
* Italy has an additional constraint: the CCIAA number is not a valid Codice Fiscale,
|
|
15
|
+
* so it must not be reused as `taxInformation`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const shouldReuseRegistrationNumberAsTaxId: (country?: CountryCode, registrationNumberType?: CompanyRegistrationNumberType) => boolean;
|
package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts
CHANGED
|
@@ -3,4 +3,3 @@ export declare const isBankAccountRequestedForOrganization: import("@preact/sign
|
|
|
3
3
|
export declare const tinMatched: import("@preact/signals").Signal<boolean | undefined>;
|
|
4
4
|
export declare const businessMismatchModalOpen: import("@preact/signals").Signal<boolean>;
|
|
5
5
|
export declare const verifiedBusiness: import("@preact/signals").Signal<CompanySelectionResponse | undefined>;
|
|
6
|
-
export declare const isVerifiedSingleCompanySearchResult: import("@preact/signals").Signal<boolean>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { SetOptional } from 'type-fest';
|
|
3
2
|
import type { BusinessLinesResponse } from '../../../../api/businessLines/businessLines.types';
|
|
4
3
|
import type { CreateBusinessLine } from '../../../../api/businessLines/useCreateBusinessLine';
|
|
5
4
|
import type { UpdateBusinessLine } from '../../../../api/businessLines/useUpdateBusinessLines';
|
|
@@ -8,7 +7,7 @@ import type { UpdateLegalEntity } from '../../../../api/legalEntity/useUpdateLeg
|
|
|
8
7
|
import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
|
|
9
8
|
import type { FeatureName } from '../../../../context/ToggleContext/types';
|
|
10
9
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
11
|
-
import type {
|
|
10
|
+
import type { UserEvents } from '../../../../core/user-events';
|
|
12
11
|
import type { TFunction } from '../../../../../types';
|
|
13
12
|
import type { Scenario } from '../../../../core/models/api/get-scenarios';
|
|
14
13
|
import type { ToastOptions } from '../../../ui/molecules/Toast/Toast.types';
|
|
@@ -49,8 +48,6 @@ export interface SubmitBusinessLinesProps {
|
|
|
49
48
|
efpBusinessLines?: BusinessLinesResponse[] | undefined;
|
|
50
49
|
createBusinessLine?: CreateBusinessLine;
|
|
51
50
|
updateBusinessLine?: UpdateBusinessLine;
|
|
52
|
-
trackingPayload: SetOptional<AdditionalEventProperties, 'actionLevel'>;
|
|
53
|
-
userEvents: UserEvents;
|
|
54
51
|
t: TFunction<readonly ['common', 'business']>;
|
|
55
52
|
showToast: (options: ToastOptions) => void;
|
|
56
53
|
}
|
|
@@ -4,7 +4,7 @@ import type { AccountHolderOption } from '../../../../types/accountHolder';
|
|
|
4
4
|
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
5
5
|
import type { FormList, FormModelWithValidity } from '../../../../types/form';
|
|
6
6
|
import type { BasicInformationSchema } from '../../forms/BasicInformation/types';
|
|
7
|
-
interface BuildRequiredFormsProps {
|
|
7
|
+
export interface BuildRequiredFormsProps {
|
|
8
8
|
config: {
|
|
9
9
|
forms: FormList;
|
|
10
10
|
requiredFields: Record<string, string[]> | undefined;
|
|
@@ -16,11 +16,10 @@ interface BuildRequiredFormsProps {
|
|
|
16
16
|
isSettingEnabled: (settingName: BooleanSettingName) => boolean;
|
|
17
17
|
};
|
|
18
18
|
options?: {
|
|
19
|
-
|
|
19
|
+
skipBusinessSelection?: boolean;
|
|
20
20
|
skipSummary?: boolean;
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
export declare function buildRequiredForms({ config: { forms, requiredFields, optionalFields, isValid, problems, isSettingEnabled, accountHolder, legalEntityResponse, }, options, }: BuildRequiredFormsProps): FormModelWithValidity[];
|
|
24
24
|
export declare const isDocumentsRequired: (forms: FormModelWithValidity[]) => boolean;
|
|
25
25
|
export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
|
|
26
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SalesChannelsProps } from './types';
|
|
2
|
-
export declare function SalesChannels({ data, valid, handleChangeFor, errors,
|
|
2
|
+
export declare function SalesChannels({ data, valid, handleChangeFor, errors, label }: SalesChannelsProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export type SalesChannel = 'pos' | 'posMoto' | 'eCommerce' | 'ecomMoto' | 'payBy
|
|
|
3
3
|
export interface SalesChannelsFieldSchema {
|
|
4
4
|
salesChannels?: SalesChannel[];
|
|
5
5
|
}
|
|
6
|
-
export type SalesChannelsProps = Pick<BaseFormFieldProps<SalesChannelsFieldSchema>, 'data' | 'handleChangeFor' | 'errors' | '
|
|
6
|
+
export type SalesChannelsProps = Pick<BaseFormFieldProps<SalesChannelsFieldSchema>, 'data' | 'handleChangeFor' | 'errors' | 'valid' | 'readonly' | 'label'>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { components } from '#api/termsOfService/termsOfService.contract';
|
|
1
2
|
import type { ServiceAgreementSignRequest } from '../../../../core/models/api/contracts';
|
|
2
3
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
3
4
|
import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
|
|
4
5
|
import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
5
|
-
export type ServiceAgreementType = '
|
|
6
|
+
export type ServiceAgreementType = components['schemas']['TermsOfServiceType'];
|
|
6
7
|
export interface ServiceAgreementAcceptanceInfo {
|
|
7
8
|
acceptedBy: string;
|
|
8
9
|
acceptedFor: string;
|