@adyen/kyc-components 4.0.0-compact.7 → 4.0.0-compact.9
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/README.md +31 -43
- package/dist/{AcceptTermsOfServiceComponent-BFqDontt.js → AcceptTermsOfServiceComponent-Y5aYfW8R.js} +31 -26
- package/dist/{AccountSetupRejected-f8rcBzZj.js → AccountSetupRejected-BBPH8zsy.js} +2 -5
- package/dist/{ActionBar-CijauUSe.js → ActionBar-CFMobUf9.js} +2 -2
- package/dist/{Address-Bj7zJ6yZ.js → Address-DaePmCRZ.js} +22 -25
- package/dist/{Avatar-DWU7t_0U.js → Avatar-CbD3nP3P.js} +2 -2
- package/dist/{BusinessFinancingComponent-_DvatBRp.js → BusinessFinancingComponent-BfmzIskz.js} +7 -7
- package/dist/{BusinessFinancingDropin-BuATaIOz.js → BusinessFinancingDropin-CLD8LAhP.js} +199 -160
- package/dist/BusinessFinancingPage-Bg-wKhhY.js +43 -0
- package/dist/{BusinessTypeSelectionPage-gsT7g7u8.js → BusinessTypeSelectionPage-D3EIjy_H.js} +11 -17
- package/dist/{Checkbox-5Sc5pzsh.js → Checkbox-DmYVTVOD.js} +2 -2
- package/dist/{Confirm-C0J_JwMM.js → Confirm-NubmSSR7.js} +3 -3
- package/dist/{ConstitutionalDocument-Bw5T0g5Q.js → ConstitutionalDocument-Djj_JCy4.js} +43 -30
- package/dist/{ContactDetails-CXTim9KR.js → ContactDetails-tNdzS3d4.js} +13 -10
- package/dist/{ContextGuidance-074d6FWy.js → ContextGuidance-Dp2PWG5c.js} +2 -3
- package/dist/{CountryField-DxZlK1rV.js → CountryField-C7SjQFv_.js} +4 -6
- package/dist/{CreateIndividualComponent-BppUrKMC.js → CreateIndividualComponent-DwOiAUaA.js} +8 -8
- package/dist/{CreateTransferInstrumentComponent-Cl2NOJb6.js → CreateTransferInstrumentComponent-D29rvuqv.js} +6 -6
- package/dist/{Currency-CIgj9KwH.js → Currency-B4udmJgX.js} +12 -18
- package/dist/{CustomerSupport-UenL9SqQ.js → CustomerSupport-CU3xoowB.js} +10 -11
- package/dist/{DebugModal-KXKodU9u.js → DebugModal-C7WSGJRZ.js} +10 -11
- package/dist/{DecisionMakerDetailsPage-Xwe1qYtH.js → DecisionMakerDetailsPage-C-mB9v5X.js} +10 -10
- package/dist/{DecisionMakers-CJDodZSl.js → DecisionMakers-AhL30Hnp.js} +114 -55
- package/dist/{Dropzone-kpihpy7N.js → Dropzone-B9NMiWRF.js} +4 -4
- package/dist/{EmbeddedStatus-BJjPDUeS.js → EmbeddedStatus-DkQk7orK.js} +3 -3
- package/dist/{EndStateLayout-Cx1NUGVq.js → EndStateLayout-DVisdSEd.js} +2 -2
- package/dist/{EntityAssociation-BtQeHZOq.js → EntityAssociation-BSnS5dP_.js} +5 -6
- package/dist/{EntityGuidanceStatus-DyMVy3R4.js → EntityGuidanceStatus-C2eFgLqN.js} +4 -4
- package/dist/{ErrorPanel-CAALFKmE.js → ErrorPanel-D4kO8XQ8.js} +11 -13
- package/dist/{Field-Bs7wGDqk.js → Field-CPoHG0G-.js} +3 -3
- package/dist/{FormNavigation-BtSvWPRY.js → FormNavigation-yD8USwyG.js} +3 -3
- package/dist/{Individual.rules-CP2tzjmO.js → Individual.rules-0EggSgTn.js} +16 -9
- package/dist/{IndividualDropin-xfXkDkrM.js → IndividualDropin-Eo9sxeBW.js} +692 -267
- package/dist/{InputDate-CLxqciJA.js → InputDate-BVYQZZuX.js} +2 -2
- package/dist/{InputText-BdCbTzL9.js → InputText-C55stM8O.js} +2 -2
- package/dist/{Introduction-BRWdnVv5.js → Introduction-CZ_-eIBj.js} +4 -4
- package/dist/{JpAddress-BSEenMj0.js → JpAddress-B3HjxunW.js} +12 -14
- package/dist/{LandingLayout-kl7TkBGx.js → LandingLayout-C_SbjQZA.js} +2 -3
- package/dist/{LegalCompanyNameField-DzAxAnD9.js → LegalCompanyNameField-DBiJbXem.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage--yY_D66i.js → LegalRepresentativeDetailsPage-DFKA0RAe.js} +6 -6
- package/dist/{Link-CXYU8cLY.js → Link-ru5UMRxt.js} +2 -2
- package/dist/{ListItem-HD5_HiQ2.js → ListItem-C6ALEoR-.js} +3 -3
- package/dist/{LoaderWrapper-C2PvjjQc.js → LoaderWrapper-BL7Hc_DC.js} +2 -2
- package/dist/{ManageIndividualComponent-BGaAbJjj.js → ManageIndividualComponent-CkybWipX.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DFjaajE4.js → ManageTermsOfServiceComponent-Cgjagedl.js} +6 -6
- package/dist/{ManageTransferInstrumentComponent-Dndkwh_d.js → ManageTransferInstrumentComponent-DOpxzIzn.js} +16 -18
- package/dist/{MaskedInput-BSW18fxr.js → MaskedInput-1f16YE1z.js} +5 -5
- package/dist/{MaybeModal-xIjl3I31.js → MaybeModal-7NGTfxO6.js} +3 -3
- package/dist/{Modal-CZ-HuGUO.js → Modal-BMdWqd0Y.js} +15 -25
- package/dist/{Name-D6EhveoK.js → Name-BQWEKtu9.js} +5 -5
- package/dist/NewSummary-D-9PYaY6.js +60 -0
- package/dist/{OnboardingDropinComponent-CHtcVTHh.js → OnboardingDropinComponent-CxUcB7IU.js} +813 -121
- package/dist/{PayoutDetailsDropin-C2pNMAZS.js → PayoutDetailsDropin-DWqomQHU.js} +81 -190
- package/dist/PayoutDetailsPage-NIBSRWDA.js +55 -0
- package/dist/{RadioGroup-CxcIXYzs.js → RadioGroup-BuAX_NLA.js} +2 -2
- package/dist/{RadioGroupCard-Y214QWmQ.js → RadioGroupCard-Cbd_S6Fi.js} +2 -2
- package/dist/{Review-B2NCN4h_.js → Review-BjdQyMeU.js} +6 -8
- package/dist/{RootBusinessDetailsPage-hr5fLCIH.js → RootBusinessDetailsPage-CE9KIQRB.js} +6 -6
- package/dist/{RootBusinessLinesPage-DSna9haW.js → RootBusinessLinesPage-DYZETgKB.js} +129 -139
- package/dist/{RootIndividualDetailsPage-BItguz9n.js → RootIndividualDetailsPage-DCEHjEbR.js} +9 -10
- package/dist/{Select-DaCJsYNl.js → Select-seF9rM5K.js} +4 -4
- package/dist/{SignPCIComponent-C2YjBxQM.js → SignPCIComponent-CkaBa8MB.js} +18 -17
- package/dist/{SingpassSelection-B3ozCH9I.js → SingpassSelection-FctS_Rd2.js} +6 -6
- package/dist/{SoleProprietorshipPage-DIzzhgjr.js → SoleProprietorshipPage-BolUC48_.js} +5 -5
- package/dist/{SourceOfFundsPage-C3kXyE7G.js → SourceOfFundsPage-qPaoxTgM.js} +272 -103
- package/dist/{StepProgressIndicator-BSGlNU3K.js → StepProgressIndicator-DQIv4e4a.js} +2 -2
- package/dist/{StoreProvider-99-ewU62.js → StoreProvider-CBB99upB.js} +1032 -292
- package/dist/{StructuredList-CVMZBzwq.js → StructuredList-EKVbq_i3.js} +1 -1
- package/dist/{Summary-D0GcSMNn.js → Summary-C5uRwUKn.js} +28 -24
- package/dist/{TaxInformationField-BxQvx1zK.js → TaxInformationField-B7AVdVgf.js} +614 -634
- package/dist/{TaxReportingDropin-BqvAQH2c.js → TaxReportingDropin-C2dEK3ij.js} +15 -17
- package/dist/{TextArea-BjsWgkR-.js → TextArea-BbRKVKmP.js} +2 -2
- package/dist/{TileGroup-C-5-VREz.js → TileGroup-oKbh_YGv.js} +3 -3
- package/dist/{TrustDetailsPage-YROGiuFJ.js → TrustDetailsPage-BbQB4A5-.js} +129 -120
- package/dist/{TrustMemberCompanyPage-Z2EuqPEI.js → TrustMemberCompanyPage-CbRLAXBG.js} +7 -7
- package/dist/TrustMemberIndividualPage-BFRSkSas.js +64 -0
- package/dist/{TrustMemberRoleAndTypePage-BEOtdItr.js → TrustMemberRoleAndTypePage-pS7j8_f6.js} +35 -44
- package/dist/{TrustMembersOverview-GybHMIEU.js → TrustMembersOverview-aEVgO4Gr.js} +17 -21
- package/dist/{UnincorporatedPartnershipIndividualPage-BCYxSTlv.js → UnincorporatedPartnershipIndividualPage-DO7AXsP5.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js → UnincorporatedPartnershipMemberCompanyPage-qvOu17yc.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js → UnincorporatedPartnershipMemberRoleAndTypePage-reBMcz-Y.js} +15 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-B3Vi088r.js → UnincorporatedPartnershipMembersOverview-B5YCchZY.js} +8 -12
- package/dist/{VerificationErrorAlert-C6_ewC7c.js → VerificationErrorAlert-BcntIwEo.js} +23 -4
- package/dist/{ViewVerificationStatusComponent-DpA4jlct.js → ViewVerificationStatusComponent-CrQahS3p.js} +3 -4
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +87 -17
- package/dist/adyen-kyc-components.js +18 -47
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-CIGv_BK8.js → bafinUtils-B1LygAFl.js} +14 -2
- package/dist/{commonValidators-DTt6he7v.js → commonValidators-CInBRB1V.js} +2 -2
- package/dist/{da-DK-JHZnsI59.js → da-DK-BfsYpvel.js} +18 -3
- package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
- package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
- package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
- package/dist/da-DK-Cv6XUSoW.js +13 -0
- package/dist/da-DK-D9FgPh5e.js +13 -0
- package/dist/{da-DK-h8DYQ_Iq.js → da-DK-mUuPR2YO.js} +2 -2
- package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
- package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
- package/dist/de-DE-BplDsJEb.js +13 -0
- package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
- package/dist/{de-DE-VGGEkxUT.js → de-DE-CEsDXBn-.js} +18 -3
- package/dist/de-DE-Cg_RNIr-.js +13 -0
- package/dist/{de-DE-LQE_LFFL.js → de-DE-CwT6O212.js} +2 -2
- package/dist/{dropinUtils--st1YpV6.js → dropinUtils-D44Paj5u.js} +30 -16
- package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
- package/dist/{en-US-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
- package/dist/en-US-B6tiYqel.js +13 -0
- package/dist/en-US-CfazE4ht.js +13 -0
- package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
- package/dist/{en-US-D1sB335h.js → en-US-DIlZD5Wh.js} +16 -1
- package/dist/{en-US-DYP6rAvA.js → en-US-G607HIyo.js} +2 -2
- package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
- package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
- package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
- package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
- package/dist/{es-ES-Bn9_0wK0.js → es-ES-BWFP5itn.js} +18 -3
- package/dist/es-ES-BZiC4JWr.js +13 -0
- package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
- package/dist/es-ES-DRsix_Xn.js +13 -0
- package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
- package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
- package/dist/fi-FI-BftTiz0c.js +13 -0
- package/dist/fi-FI-CEH4BfU3.js +13 -0
- package/dist/{fi-FI-PVFqd5Ra.js → fi-FI-DenK0WPz.js} +18 -3
- package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
- package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
- package/dist/{formUtils-C_sWWLS3.js → formUtils-BEcbGHkz.js} +3 -18
- package/dist/{fr-FR-mJK4hjwD.js → fr-FR-BmTswZU5.js} +18 -3
- package/dist/fr-FR-C6jxjXAI.js +13 -0
- package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
- package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
- package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
- package/dist/fr-FR-NxOktkWc.js +13 -0
- package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
- package/dist/{getName-CnZDw7kV.js → getName-CdgtxRvu.js} +2 -2
- package/dist/{getProblemsForEntity-D8qEVVOM.js → getProblemsForEntity-DFP6N3co.js} +2 -2
- package/dist/{iframeWidget-DqeucjDU.js → iframeWidget-B0fieiAe.js} +4 -4
- package/dist/{isEmpty-CUuXL9Na.js → isEmpty-3U9fSQsY.js} +2 -2
- package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
- package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
- package/dist/it-IT-CXlaZNIj.js +13 -0
- package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
- package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
- package/dist/{it-IT-BTWkWSJq.js → it-IT-DJe5OflH.js} +18 -3
- package/dist/it-IT-OppZz3gW.js +13 -0
- package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
- package/dist/ja-JP-A6ArIIZ8.js +13 -0
- package/dist/{ja-JP-Bc4U0S8-.js → ja-JP-BpeNsNhn.js} +3 -3
- package/dist/{ja-JP-bz7ekGnF.js → ja-JP-CbP1sVFP.js} +4 -2
- package/dist/ja-JP-CethQRoG.js +13 -0
- package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
- package/dist/{ja-JP-CceCDXLB.js → ja-JP-GGV_-V6p.js} +18 -3
- package/dist/{ja-JP-Bv3ru9Xq.js → ja-JP-GX3l4yqn.js} +17 -17
- package/dist/{japanSupportUtils-CGWcXGP2.js → japanSupportUtils-CaeglTl1.js} +2 -2
- package/dist/{localizeDateString-D6tFShQu.js → localizeDateString-D2nDwdFu.js} +2 -2
- package/dist/{mapExistingFile-BM9f5AeG.js → mapExistingFile-BigOdLU3.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DUoJIoRm.js +54 -0
- package/dist/{mapLegalEntityToIndividualSchema-DVKTWyvx.js → mapLegalEntityToIndividualSchema-UVUkctdQ.js} +43 -45
- package/dist/{mapTransferInstrumentToPayoutAccount--gtugk3J.js → mapTransferInstrumentToPayoutAccount-qpUP3sTf.js} +2 -2
- package/dist/{nl-NL-CTf7zH4M.js → nl-NL-4Mv4rnYy.js} +18 -3
- package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
- package/dist/nl-NL-BwWFlBOs.js +13 -0
- package/dist/nl-NL-CYFznuWn.js +13 -0
- package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
- package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
- package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
- package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
- package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
- package/dist/no-NO-BsEie1We.js +13 -0
- package/dist/{no-NO-RfTK9KAV.js → no-NO-ByCZ3mhz.js} +18 -3
- package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
- package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
- package/dist/no-NO-JWsSd7iY.js +13 -0
- package/dist/{patternValidators-vYKnE5-t.js → patternValidators-BkY5yvNa.js} +2 -2
- package/dist/{process-field-configurations-Dl2Isz78.js → process-field-configurations-BnIbMyYt.js} +5 -5
- package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
- package/dist/pt-BR-BJOww8U1.js +13 -0
- package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
- package/dist/pt-BR-C-YbDjn-.js +13 -0
- package/dist/{pt-BR-zuqB_CBf.js → pt-BR-D4BTdo_w.js} +2 -2
- package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
- package/dist/{pt-BR-BbFJsIVX.js → pt-BR-DRz5cG4o.js} +18 -3
- package/dist/{resolveEnvironment-B_JokQ0n.js → resolveEnvironment-C5RkjL5E.js} +5 -5
- package/dist/{roleMetadata-eM6T7GeQ.js → roleMetadata-C8VLzyMj.js} +3 -3
- package/dist/sl-SI-BfO3xEJx.js +13 -0
- package/dist/sl-SI-CJH14wbj.js +13 -0
- package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
- package/dist/{sl-SI-D8dDckrW.js → sl-SI-DKSu25rO.js} +18 -3
- package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
- package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
- package/dist/style.css +1868 -1836
- package/dist/styles-CLV89_hH.js +1868 -1836
- package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
- package/dist/sv-SE-CMLKzwtj.js +13 -0
- package/dist/{sv-SE-DGpvVvWj.js → sv-SE-Co7Nkd06.js} +18 -3
- package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
- package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
- package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
- package/dist/sv-SE-ZsucW_Uj.js +13 -0
- package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +5 -0
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +6 -3
- package/dist/types/api/companySearch/companySearch.types.d.ts +8 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +9 -3
- package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
- package/dist/types/api/invitations/invitations.types.d.ts +14 -0
- package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +8 -0
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +9 -0
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
- package/dist/types/api/queryKeys.d.ts +4 -1
- package/dist/types/api/toggles/useToggles.d.ts +9 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/Iban.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 +2 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +7 -7
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +7 -17
- package/dist/types/components/Business/forms/rules.d.ts +10 -8
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -6
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -1
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +6 -0
- package/dist/types/components/Business/utils/submit.d.ts +2 -0
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +5 -0
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2783 -2783
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +5 -7
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +8 -9
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
- package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
- package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +12 -7
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +6 -5
- package/dist/types/components/Individual/forms/Individual.types.d.ts +15 -5
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +4 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +3 -0
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
- 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 +3 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
- 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/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/FormNavigation/types.d.ts +2 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.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 +0 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/Currency/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -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/FinancialReportingDate/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -244
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +10 -0
- 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/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +17 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -3
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -1
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
- 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/localized/jp/mapJpAddressSummary.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +5 -5
- package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +6 -6
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +5 -4
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +9 -7
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +4 -0
- package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +3 -0
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/core/models/api/financialReport.d.ts +7 -1
- package/dist/types/core/models/api/legal-entity.d.ts +1 -6
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- 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.types.d.ts +5 -0
- 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.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.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.types.d.ts +5 -0
- package/dist/types/hooks/useForm/types.d.ts +3 -6
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/language/types.d.ts +3 -15
- package/dist/types/language/utils.d.ts +6 -5
- package/dist/types/stores/formState.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +6 -0
- package/dist/types/types/errors/error-message.d.ts +2 -2
- package/dist/types/types/errors/remediation.d.ts +2 -2
- package/dist/types/types/form-configuration.d.ts +2 -2
- package/dist/types/types/form.d.ts +2 -2
- package/dist/types/utils/decisionMaker.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +6 -6
- package/dist/types/utils/formUtils.d.ts +5 -6
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/not.d.ts +12 -0
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/types-CQ2p58-6.js +36 -0
- package/dist/{types-C8io4KaH.js → types-CcxS0801.js} +2 -2
- package/dist/{types-DwXc_yI8.js → types-DcouFF7I.js} +2 -2
- package/dist/{types-B7GElie6.js → types-_ugkpUNx.js} +11 -9
- package/dist/{types-BQL9Lsg4.js → types-vXKpLHZM.js} +2 -2
- package/dist/{Image-CAucF9wz.js → unincorporated-partnership-QawJyhxx.js} +8 -7
- package/dist/{useAssociatedLegalEntity-ETDoz1H2.js → useAssociatedLegalEntity-DXp9udzH.js} +2 -2
- package/dist/{useBusinessDetailsData-FrL0b9Ni.js → useBusinessDetailsData-CgfVRRNG.js} +1090 -917
- package/dist/{useCreateLegalEntity-DrcLoNYT.js → useCreateLegalEntity-C5daQcez.js} +2 -2
- package/dist/{useForm-DqUW2TbW.js → useForm-BQDytQRR.js} +3 -3
- package/dist/{useFormContext-CkuaJPUI.js → useFormContext-CX6rQNws.js} +9 -8
- package/dist/{FormWrapper-B3N3YosC.js → useGlobalData-xVRfhIqc.js} +66 -11
- package/dist/{useMultiForm-Dm2IEMH9.js → useMultiForm-DRZSxmEa.js} +12 -6
- package/dist/{useOnboardingStatus-H7Xqe2GC.js → useOnboardingStatus-C6X8CPF2.js} +2 -2
- package/dist/{useScenarios-CibP5LVa.js → useScenarios-C5uruC52.js} +2 -2
- package/dist/{useTermsOfServiceStatus-Dg_nBQgt.js → useTermsOfServiceStatus-CABu0vXO.js} +2 -2
- package/dist/{useToastContext-D643iewp.js → useToastContext-C2BAjZxO.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BM9dNg4i.js → useUnincorporatedPartnershipMembers-Duhfzca2.js} +5 -5
- package/dist/{useUpdateBusinessLines-BuW6Vnof.js → useUpdateBusinessLines-CFgADcSW.js} +5 -5
- package/dist/{useUpdateLegalEntity-tRw1V_Mt.js → useUpdateLegalEntity-vK1vTzAB.js} +3 -3
- package/dist/{utils-D9h2Aq2w.js → utils-Bh3VtXaW.js} +55 -22
- package/dist/{utils-BnolcW6V.js → utils-Bo1WrnnM.js} +6 -6
- package/dist/{utils-BasWTkqk.js → utils-BvFIL5qs.js} +22 -2
- package/dist/{utils-b_KUV0wb.js → utils-HUgTKRia.js} +2 -2
- package/dist/{utils-PkTZS9uf.js → utils-nUjUW0ze.js} +2 -2
- package/dist/{validate-K0fmvoFj.js → validate-CDGLD3wC.js} +24 -12
- package/dist/{validate-CtxacqMv.js → validate-DDCTmBf4.js} +5 -5
- package/dist/{validationError-DdlWONz2.js → validationError-DmAD3_AN.js} +3 -3
- package/package.json +35 -53
- package/dist/Accordion-B2vSnESS.js +0 -88
- package/dist/Alert-CFmX9yNV.js +0 -169
- package/dist/BusinessFinancingPage-Bpu78Ynn.js +0 -43
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-vslG1ugE.js +0 -83
- package/dist/TaskVerificationStatus-DZIw2ztV.js +0 -129
- package/dist/TrustMemberIndividualPage-DmNp3D89.js +0 -64
- package/dist/accountHolderUtils-Btu9mMnM.js +0 -66
- package/dist/company-types-value-D_mKv5PT.js +0 -23
- package/dist/da-DK-DvZ431fC.js +0 -13
- package/dist/da-DK-DzcTI92X.js +0 -13
- package/dist/datasetUtil-BHQp0-xL.js +0 -58
- package/dist/de-DE-0uSzhWg5.js +0 -13
- package/dist/de-DE-dPfrbCii.js +0 -13
- package/dist/en-US-CozY33On.js +0 -13
- package/dist/en-US-cVpRgdC8.js +0 -13
- package/dist/es-ES--IvNed_Q.js +0 -13
- package/dist/es-ES-B7dt4cn7.js +0 -13
- package/dist/fi-FI-BUixKfXH.js +0 -13
- package/dist/fi-FI-REMsyTSr.js +0 -13
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
- package/dist/fr-FR-BM-qNLci.js +0 -13
- package/dist/fr-FR-CvHWmim-.js +0 -13
- package/dist/getTrustedFields-C5-mXl-l.js +0 -64
- package/dist/it-IT-BeX7-OcD.js +0 -13
- package/dist/it-IT-D63gRTDc.js +0 -13
- package/dist/ja-JP-B3wVYIJU.js +0 -151
- package/dist/ja-JP-DL0IjTzn.js +0 -13
- package/dist/mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js +0 -162
- package/dist/nl-NL-CM5U8ODq.js +0 -13
- package/dist/nl-NL-KQ6bciOb.js +0 -13
- package/dist/no-NO-BQL_M1pn.js +0 -13
- package/dist/no-NO-Ds3VioxT.js +0 -13
- package/dist/pt-BR-AZ3roErF.js +0 -13
- package/dist/pt-BR-Ct4s4jXV.js +0 -13
- package/dist/sl-SI-C0wSbuau.js +0 -13
- package/dist/sl-SI-hxwQIw_i.js +0 -13
- package/dist/sv-SE-0PQ-U1u6.js +0 -13
- package/dist/sv-SE-DtKjf4Go.js +0 -13
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +0 -23
- package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
- package/dist/useBusinessLines-C5NQ5pE8.js +0 -29
- package/dist/useCanSeeIntroduction-BdZJ7k-_.js +0 -48
- package/dist/useDataMissingRemediations-Zgtpw7uZ.js +0 -41
- package/dist/useDataset-Cap5ZjTr.js +0 -76
- package/dist/useDeleteTransferInstrument-B2wRj-qL.js +0 -32
- package/dist/useGlobalData-5Z6W3or1.js +0 -68
- package/dist/useNavigate-CI0N-POy.js +0 -265
- package/dist/usePciQuestionnaireList-BF7TPjbQ.js +0 -29
- package/dist/useSalesChannels-DYGRfKeh.js +0 -65
- package/dist/useSetting-CbBaitp6.js +0 -19
- package/dist/useTaskStatus-1OZ2clnm.js +0 -51
- package/dist/useTrustMembers-BTCDIu6B.js +0 -163
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
|
@@ -13,3 +13,8 @@ export interface GetDatasetRequest {
|
|
|
13
13
|
company: CompanySearchResult;
|
|
14
14
|
state: StateCodeUS;
|
|
15
15
|
}
|
|
16
|
+
export type ProviderAgnosticCompanyDatasetRequest = components['schemas']['ProviderAgnosticCompanyDataSetRequest'];
|
|
17
|
+
export type ProviderAgnosticCompanyDatasetResponse = Omit<components['schemas']['ProviderAgnosticCompanyDataSetResponse'], 'companyType'> & {
|
|
18
|
+
companyType: OrganizationType | null;
|
|
19
|
+
};
|
|
20
|
+
export type ProviderAgnosticCompanyDatasetResponseAddress = components['schemas']['ProviderAgnosticAddress'];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import type { CompanyDatasetResponse, GetDatasetRequest } from './companyDataset.types';
|
|
2
|
-
export type QueryKeyCompanyDataset = [
|
|
3
|
-
|
|
1
|
+
import type { CompanyDatasetResponse, GetDatasetRequest, ProviderAgnosticCompanyDatasetRequest, ProviderAgnosticCompanyDatasetResponse } from './companyDataset.types';
|
|
2
|
+
export type QueryKeyCompanyDataset = [
|
|
3
|
+
'companyDataset',
|
|
4
|
+
GetDatasetRequest | ProviderAgnosticCompanyDatasetRequest | undefined
|
|
5
|
+
];
|
|
6
|
+
export declare const handleCompanyDataset: (rootLegalEntityId: string, baseUrl: string, data: GetDatasetRequest | ProviderAgnosticCompanyDatasetRequest, isAgnosticEndpointEnabled: boolean) => Promise<CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ArrayElement } from 'type-fest/source/internal';
|
|
1
2
|
import type { CountryCode } from '../../types/datasets/country-code';
|
|
2
3
|
import type { StateCodeUS } from '../../types/datasets/state-code';
|
|
3
4
|
import type { components } from './companySearch.contract';
|
|
@@ -16,3 +17,10 @@ export interface SearchForBusinessRequest {
|
|
|
16
17
|
registrationNumber?: string;
|
|
17
18
|
limit?: number;
|
|
18
19
|
}
|
|
20
|
+
export type ProviderAgnosticCompanySearchRequest = Omit<components['schemas']['ProviderAgnosticSearchCompanyRequest'], 'country' | 'state'> & {
|
|
21
|
+
country?: CountryCode;
|
|
22
|
+
state?: StateCodeUS;
|
|
23
|
+
};
|
|
24
|
+
export type ProviderAgnosticCompanySearchResponse = components['schemas']['ProviderAgnosticSearchCompanyResponse'];
|
|
25
|
+
export type ProviderAgnosticSearchResult = ArrayElement<ProviderAgnosticCompanySearchResponse['results']>;
|
|
26
|
+
export type ProviderAgnosticCompanySearch = (data: CompanySearchRequest) => Promise<CompanySearchResponse>;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { QueryOptions } from '../types';
|
|
2
|
-
import type { CompanySearchResponse, SearchForBusinessRequest } from './companySearch.types';
|
|
3
|
-
export type QueryKeyCompanySearch = [
|
|
4
|
-
|
|
2
|
+
import type { CompanySearchResponse, ProviderAgnosticCompanySearchRequest, ProviderAgnosticCompanySearchResponse, SearchForBusinessRequest } from './companySearch.types';
|
|
3
|
+
export type QueryKeyCompanySearch = [
|
|
4
|
+
'companySearch',
|
|
5
|
+
SearchForBusinessRequest | ProviderAgnosticCompanySearchRequest
|
|
6
|
+
];
|
|
7
|
+
export declare const useCompanySearch: (data: SearchForBusinessRequest | ProviderAgnosticCompanySearchRequest, options?: QueryOptions<CompanySearchResponse | ProviderAgnosticCompanySearchResponse>) => import("@tanstack/preact-query").UseQueryResult<CompanySearchResponse | {
|
|
8
|
+
provider: import("./companySearch.contract").components["schemas"]["Provider"];
|
|
9
|
+
results: import("./companySearch.contract").components["schemas"]["ProviderAgnosticSearchCompanyResult"][];
|
|
10
|
+
}, Error>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CompanyDatasetResponse, GetDatasetRequest } from '../companyDataSet/companyDataset.types';
|
|
1
|
+
import type { CompanyDatasetResponse, GetDatasetRequest, ProviderAgnosticCompanyDatasetRequest, ProviderAgnosticCompanyDatasetResponse } from '../companyDataSet/companyDataset.types';
|
|
2
2
|
import type { TinVerificationRequest, TinVerificationResponse } from '../tinVerification/tinVerification.types';
|
|
3
|
-
export type CompanySelectionRequest = GetDatasetRequest & TinVerificationRequest;
|
|
4
|
-
export type CompanySelectionResponse = CompanyDatasetResponse & {
|
|
3
|
+
export type CompanySelectionRequest = (GetDatasetRequest | ProviderAgnosticCompanyDatasetRequest) & TinVerificationRequest;
|
|
4
|
+
export type CompanySelectionResponse = (CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse) & {
|
|
5
5
|
tinMatched: TinVerificationResponse['matched'];
|
|
6
6
|
};
|
|
@@ -2,4 +2,4 @@ import type { QueryOptions } from '../types';
|
|
|
2
2
|
import type { CompanySelectionRequest, CompanySelectionResponse } from './companySelection.types';
|
|
3
3
|
export type QueryKeyCompanySelection = ['companySelection', CompanySelectionRequest | undefined];
|
|
4
4
|
export declare const useCompanySelection: (data: CompanySelectionRequest | undefined, options?: QueryOptions<CompanySelectionResponse>) => import("@tanstack/preact-query").UseQueryResult<CompanySelectionResponse, Error>;
|
|
5
|
-
export declare const handleCompanySelection: (rootLegalEntityId: string, baseUrl: string, data: CompanySelectionRequest) => Promise<CompanySelectionResponse>;
|
|
5
|
+
export declare const handleCompanySelection: (rootLegalEntityId: string, baseUrl: string, data: CompanySelectionRequest, isAgnosticEndpointEnabled: boolean) => Promise<CompanySelectionResponse>;
|
|
@@ -8,6 +8,7 @@ export interface DocumentValidationRequest extends Omit<Document, 'type' | 'owne
|
|
|
8
8
|
export interface DocumentValidationResponse {
|
|
9
9
|
reasoning: string;
|
|
10
10
|
documentType: string;
|
|
11
|
+
subDocumentType?: string;
|
|
11
12
|
blurryOrLowQuality: boolean;
|
|
12
13
|
}
|
|
13
14
|
export declare const useValidateDocument: (options?: Omit<MutationOptions<DocumentValidationResponse, Error, DocumentValidationRequest>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<DocumentValidationResponse, Error, DocumentValidationRequest, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type exports for the Invitations API.
|
|
3
|
+
* This is the only file that should import from the contract.
|
|
4
|
+
*/
|
|
5
|
+
import type { EndpointFromPaths } from '../types';
|
|
6
|
+
import type { components, paths } from './invitations.contract';
|
|
7
|
+
type InvitationsEndpoints = EndpointFromPaths<keyof paths>;
|
|
8
|
+
export type CreateInvitationEndpoint = Extract<InvitationsEndpoints, `legalEntities/${string}/invitations/associations/${string}`>;
|
|
9
|
+
export type CreateInvitationRequest = components['schemas']['CreateInvitationRequest'];
|
|
10
|
+
export type InvitationResponse = components['schemas']['InvitationResponse'];
|
|
11
|
+
export type GetInvitationStatusEndpoint = Extract<InvitationsEndpoints, `legalEntities/${string}/invitations/associations/${string}/status`>;
|
|
12
|
+
export type InvitationStatusResponse = components['schemas']['InvitationStatusResponse'];
|
|
13
|
+
export type WithdrawInvitationEndpoint = Extract<InvitationsEndpoints, `legalEntities/${string}/invitations/associations/${string}/withdraw`>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { MutationOptions } from '../types';
|
|
2
|
+
import type { CreateInvitationRequest, InvitationResponse } from './invitations.types';
|
|
3
|
+
export declare const useCreateInvitation: (options?: Omit<MutationOptions<InvitationResponse, unknown, {
|
|
4
|
+
organizationLegalEntityId: string;
|
|
5
|
+
inviteeLegalEntityId: string;
|
|
6
|
+
data: CreateInvitationRequest;
|
|
7
|
+
}>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<{
|
|
8
|
+
emailSent?: boolean;
|
|
9
|
+
url?: string;
|
|
10
|
+
}, unknown, {
|
|
11
|
+
organizationLegalEntityId: string;
|
|
12
|
+
inviteeLegalEntityId: string;
|
|
13
|
+
data: CreateInvitationRequest;
|
|
14
|
+
}, unknown>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { InvitationStatusResponse } from '../invitations/invitations.types';
|
|
2
|
+
import type { QueryOptions } from '../../../types';
|
|
3
|
+
export type QueryKeyInvitationStatus = ['invitationStatus', string];
|
|
4
|
+
interface InvitationStatusResponseWithId extends InvitationStatusResponse {
|
|
5
|
+
decisionMakerId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function useInvitationStatuses(decisionMakerIds: string[], options?: QueryOptions<InvitationStatusResponseWithId>): Record<string, boolean>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { QueryOptions } from '../types';
|
|
2
|
+
import type { components } from './invitedEntity.contract';
|
|
3
|
+
export type InvitedEntityAssociationResponse = Required<Omit<components['schemas']['LegalEntityAssociationsResponse'], 'associations'> & Pick<components['schemas']['LegalEntityAssociationsResponse'], 'associations'>>;
|
|
4
|
+
export type QueryKeyInvitedEntityAssociationData = ['entityAssociationData', string | undefined];
|
|
5
|
+
export declare const useInvitedEntityAssociationData: (invitedLegalEntityId: string, options?: QueryOptions<InvitedEntityAssociationResponse>) => import("@tanstack/preact-query").UseQueryResult<Required<Omit<{
|
|
6
|
+
associations?: components["schemas"]["LegalEntityAssociationDto"][];
|
|
7
|
+
}, "associations"> & Pick<{
|
|
8
|
+
associations?: components["schemas"]["LegalEntityAssociationDto"][];
|
|
9
|
+
}, "associations">>, Error>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ExistingLegalEntity,
|
|
1
|
+
import type { ExistingLegalEntity, PatchLegalEntity } from '../../core/models/api/legal-entity';
|
|
2
2
|
import type { MutationOptions } from '../types';
|
|
3
3
|
type LegalEntityResponse = ExistingLegalEntity;
|
|
4
|
-
export type UpdateLegalEntity = (data:
|
|
5
|
-
export declare const useUpdateLegalEntity: (options?: Omit<MutationOptions<LegalEntityResponse, Error,
|
|
4
|
+
export type UpdateLegalEntity = (data: PatchLegalEntity) => Promise<LegalEntityResponse>;
|
|
5
|
+
export declare const useUpdateLegalEntity: (options?: Omit<MutationOptions<LegalEntityResponse, Error, PatchLegalEntity>, "mutationFn" | "onSuccess">) => import("@tanstack/preact-query").UseMutationResult<{
|
|
6
6
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
7
7
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
8
8
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
@@ -16,5 +16,5 @@ export declare const useUpdateLegalEntity: (options?: Omit<MutationOptions<Legal
|
|
|
16
16
|
trustedFields?: import("../../core/models/api/legal-entity").LegalEntityTrustedFields[] | undefined;
|
|
17
17
|
id: string;
|
|
18
18
|
type: import("../../core/models/api/legal-entity-type").LegalEntityType;
|
|
19
|
-
}, Error,
|
|
19
|
+
}, Error, PatchLegalEntity, unknown>;
|
|
20
20
|
export {};
|
|
@@ -19,6 +19,7 @@ import type { QueryKeyDocumentValidation } from './documentValidation/useDocumen
|
|
|
19
19
|
import type { QueryKeyIdNowProviderIdentificationStatus, QueryKeyIdNowProviderStartIdentification } from './idNowProvider/useIdNowProvider';
|
|
20
20
|
import type { QueryKeyIdVerificationToken } from './idVerificationProviders/useIdVerificationToken';
|
|
21
21
|
import type { QueryKeyIndustryCodes } from './industryCodes/useIndustryCodes';
|
|
22
|
+
import type { QueryKeyInvitationStatus } from './invitations/useInvitationStatuses';
|
|
22
23
|
import type { QueryKeyLegalEntity } from './legalEntity/useLegalEntity';
|
|
23
24
|
import type { QueryKeyOnboardingStatus } from './onboardingStatus/useOnboardingStatus';
|
|
24
25
|
import type { QueryKeyOpenIdAuthorizationLink } from './openId/useOpenIdAuthorizationLink';
|
|
@@ -33,14 +34,16 @@ import type { QueryKeyTermsOfService } from './termsOfService/useTermsOfService'
|
|
|
33
34
|
import type { QueryKeyTermsOfServiceAcceptanceInfos } from './termsOfService/useTermsOfServiceAcceptanceInfos';
|
|
34
35
|
import type { QueryKeyTermsOfServiceStatus } from './termsOfService/useTermsOfServiceStatus';
|
|
35
36
|
import type { QueryKeyVerifyTin } from './tinVerification/useVerifyTin';
|
|
37
|
+
import type { QueryKeyToggles } from './toggles/useToggles';
|
|
36
38
|
import type { QueryKeyBankVerificationProviders } from './transferInstruments/transferInstruments.types';
|
|
37
39
|
import type { QueryKeyTransferInstrument } from './transferInstruments/useTransferInstrument';
|
|
38
40
|
import type { QueryKeyTransferInstruments } from './transferInstruments/useTransferInstruments';
|
|
39
41
|
import type { QueryKeyAnalyticsSession } from './uiAnalytics/useAnalyticsSession';
|
|
40
42
|
import type { QueryKeyValidatePhoneNumber } from './validation/useValidatePhoneNumber';
|
|
43
|
+
import type { QueryKeyInvitedEntityAssociationData } from './invitedEntity/useInvitedEntityAssociationData';
|
|
41
44
|
import type { QueryKeyTrustedTransferInstrument } from './transferInstruments/useUpdateTrustedTransferInstrument';
|
|
42
45
|
type SkippedQuery = [];
|
|
43
|
-
export type QueryKey = QueryKeyAcceptedTermsOfService | QueryKeyAddressCleanse | QueryKeyAnalyticsSession | QueryKeyBankVerificationProviders | QueryKeyBusinessLines | QueryKeyCheckAsAService | QueryKeyCompanyDataset | QueryKeyCompanySearch | QueryKeyCompanySelection | QueryKeyDocument | QueryKeyDocuments | QueryKeyIdNowProviderIdentificationStatus | QueryKeyIdNowProviderStartIdentification | QueryKeyIdVerificationToken | QueryKeyIndustryCodes | QueryKeyLegalEntity | QueryKeyLegalForms | QueryKeyNaceCodes | QueryKeyOnboardingStatus | QueryKeyOpenIdAuthorizationLink | QueryKeyPciQuestionnaireList | QueryKeyPciStatus | QueryKeyPciTemplate | QueryKeyProvidersStatus | QueryKeyRetrieveAddress | QueryKeyScenarios | QueryKeySearchAddress | QueryKeySourceOfFundsTypes | QueryKeySupportedCountries | QueryKeyTaskStatus | QueryKeyTaskTypes | QueryKeyTaxClassification | QueryKeyTermsOfService | QueryKeyTermsOfServiceAcceptanceInfos | QueryKeyTermsOfServiceStatus | QueryKeyTransferInstrument | QueryKeyTransferInstruments | QueryKeyTrustedTransferInstrument |
|
|
46
|
+
export type QueryKey = QueryKeyAcceptedTermsOfService | QueryKeyAddressCleanse | QueryKeyAnalyticsSession | QueryKeyBankVerificationProviders | QueryKeyBusinessLines | QueryKeyCheckAsAService | QueryKeyCompanyDataset | QueryKeyCompanySearch | QueryKeyCompanySelection | QueryKeyDocument | QueryKeyDocuments | QueryKeyDocumentValidation | QueryKeyIdNowProviderIdentificationStatus | QueryKeyIdNowProviderStartIdentification | QueryKeyIdVerificationToken | QueryKeyIndustryCodes | QueryKeyInvitationStatus | QueryKeyInvitedEntityAssociationData | QueryKeyLegalEntity | QueryKeyLegalForms | QueryKeyNaceCodes | QueryKeyOnboardingStatus | QueryKeyOpenIdAuthorizationLink | QueryKeyPciQuestionnaireList | QueryKeyPciStatus | QueryKeyPciTemplate | QueryKeyProvidersStatus | QueryKeyRetrieveAddress | QueryKeyScenarios | QueryKeySearchAddress | QueryKeySourceOfFundsTypes | QueryKeySupportedCountries | QueryKeyTaskStatus | QueryKeyTaskTypes | QueryKeyTaxClassification | QueryKeyTermsOfService | QueryKeyTermsOfServiceAcceptanceInfos | QueryKeyTermsOfServiceStatus | QueryKeyToggles | QueryKeyTransferInstrument | QueryKeyTransferInstruments | QueryKeyTrustedTransferInstrument | QueryKeyValidatePhoneNumber | QueryKeyVerifyTin | QueryKeyVersionConfiguration | SkippedQuery;
|
|
44
47
|
declare module '@tanstack/preact-query' {
|
|
45
48
|
interface Register {
|
|
46
49
|
queryKey: QueryKey;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { QueryOptions } from '../types';
|
|
2
|
+
import type { components } from './toggles.contract';
|
|
3
|
+
type ToggleApiResponse = components['schemas']['FlagsDto'];
|
|
4
|
+
export type TogglesResponse = Omit<ToggleApiResponse, 'experiments'> & {
|
|
5
|
+
experiments?: Record<string, boolean>;
|
|
6
|
+
};
|
|
7
|
+
export type QueryKeyToggles = ['toggles'];
|
|
8
|
+
export declare const useToggles: (options?: QueryOptions<TogglesResponse>) => import("@tanstack/preact-query").UseQueryResult<TogglesResponse, Error>;
|
|
9
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import type { JSX } from 'preact';
|
|
|
2
2
|
import type { TaskStatusEntry } from '../../../../api/taskStatus/taskStatus.types';
|
|
3
3
|
import type { ActionsMenuOption } from '../../../ui/atoms/ActionsMenu/ActionsMenu';
|
|
4
4
|
import type { IconName } from '../../../ui/atoms/Icon/Icon';
|
|
5
|
-
import type {
|
|
5
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
6
6
|
import type { TaskStatus } from '../../../../stores/globalStore/taskStatus';
|
|
7
7
|
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
8
8
|
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
@@ -15,7 +15,7 @@ export interface TaskListGroupProps {
|
|
|
15
15
|
}
|
|
16
16
|
export interface TaskListItemProps {
|
|
17
17
|
icon: IconName;
|
|
18
|
-
titleKey:
|
|
18
|
+
titleKey: NsTranslationKey<'common'>;
|
|
19
19
|
title?: string;
|
|
20
20
|
statusLabel?: string;
|
|
21
21
|
disabled?: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BankAccountNumberProps, BankAccountNumberSchema } from './types';
|
|
2
2
|
export declare const bankAccountNumberFields: Array<keyof BankAccountNumberSchema>;
|
|
3
|
-
export declare function BankAccountNumber(props: BankAccountNumberProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function BankAccountNumber(props: Readonly<BankAccountNumberProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BankCodeProps, BankCodeSchema } from './types';
|
|
2
2
|
export declare const bankCodeFields: Array<keyof BankCodeSchema>;
|
|
3
|
-
export declare function BankCode(props: BankCodeProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function BankCode(props: Readonly<BankCodeProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BranchCodeProps, BranchCodeSchema } from './types';
|
|
2
2
|
export declare const branchCodeFields: Array<keyof BranchCodeSchema>;
|
|
3
|
-
export declare function BranchCode(props: BranchCodeProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function BranchCode(props: Readonly<BranchCodeProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { IbanProps, IbanSchema } from './types';
|
|
2
2
|
export declare const ibanFields: Array<keyof IbanSchema>;
|
|
3
|
-
export declare function Iban(props: IbanProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function Iban(props: Readonly<IbanProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ export declare const rules: ({ data, requiredFields }: FormRulesParams<PayoutDet
|
|
|
4
4
|
whenUsingManualVerification: () => "REQUIRED" | undefined;
|
|
5
5
|
whenUsingInstantVerification: () => "REQUIRED" | undefined;
|
|
6
6
|
verifiedBankAccountNumber: () => "REQUIRED" | undefined;
|
|
7
|
-
bankStatementRequirement: () => "
|
|
7
|
+
bankStatementRequirement: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
8
8
|
bankStatementDescription: () => "OPTIONAL" | undefined;
|
|
9
9
|
};
|
|
10
10
|
export type PayoutRules = ReturnType<typeof rules>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
1
2
|
import type { BankVerificationVendor, CreateTrustedTransferInstrumentResponse } from '../../../../api/transferInstruments/transferInstruments.types';
|
|
2
3
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
3
4
|
import type { BaseOuterFormProps } from '../../../../hooks/useForm/types';
|
|
@@ -32,6 +33,7 @@ export interface PayoutDetailsProps extends BaseOuterFormProps<PayoutDetailsSche
|
|
|
32
33
|
createTrustedTransferInstrument?: (code: string, state: string) => Promise<CreateTrustedTransferInstrumentResponse | undefined>;
|
|
33
34
|
country: CountryCode;
|
|
34
35
|
trustedTransferInstrumentId?: string;
|
|
36
|
+
setHasAsyncValidationError?: Dispatch<StateUpdater<boolean>>;
|
|
35
37
|
}
|
|
36
38
|
export interface PayoutDetailsDropinProps extends Omit<PayoutDetailsProps, 'country' | 'accountHolder' | 'handleNextClick' | 'bankVendorsLoadingStatus' | 'instantVerificationAvailable' | 'provider'>, DropinProps {
|
|
37
39
|
openBankingPartnerConfigId?: string;
|
|
@@ -9,9 +9,9 @@ export declare const remediationPayoutApiKeyMapping: {
|
|
|
9
9
|
id?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
10
10
|
transferInstrumentLimit?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
11
11
|
type?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
12
|
-
documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
13
|
-
capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
14
12
|
problems?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
13
|
+
capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
14
|
+
documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
15
15
|
legalEntityId?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
16
16
|
"capabilities.banking"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
17
17
|
"capabilities.banking.verificationStatus"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
|
|
@@ -10,6 +10,5 @@ interface PayoutDetailsPageProps extends DropinProps {
|
|
|
10
10
|
id: string;
|
|
11
11
|
}): void;
|
|
12
12
|
}
|
|
13
|
-
export declare const showPayoutVerificationMethodError: import("@preact/signals").Signal<boolean>;
|
|
14
13
|
export declare function PayoutDetailsPage({ transferInstrumentId: transferInstrumentIdProp, setTransferInstrumentId: setTransferInstrumentIdProp, taskType, openBankingPartnerConfigId, onSubmit, handleHomeClick, }: PayoutDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
15
14
|
export {};
|
|
@@ -7,5 +7,5 @@ interface InvalidFieldMessage {
|
|
|
7
7
|
content: NsTranslationKey<'banking'>;
|
|
8
8
|
}
|
|
9
9
|
export declare const getInvalidFieldsErrorMessage: (errors: CAASResponseError) => InvalidFieldMessage;
|
|
10
|
-
export declare const getPayoutVerificationMethod: (transferInstrument: ExistingTransferInstrument | undefined, instantVerificationEnabled: boolean
|
|
10
|
+
export declare const getPayoutVerificationMethod: (transferInstrument: ExistingTransferInstrument | undefined, instantVerificationEnabled: boolean) => VerificationMethod | undefined;
|
|
11
11
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CompanyDatasetResponse } from '../../../../../api/companyDataSet/companyDataset.types';
|
|
1
|
+
import type { CompanyDatasetResponse, ProviderAgnosticCompanyDatasetResponse } from '../../../../../api/companyDataSet/companyDataset.types';
|
|
2
2
|
import type { AddressSchema } from '../../../../Shared/forms/Address/types';
|
|
3
3
|
interface VerifiedBusinessDataProps {
|
|
4
|
-
verifiedBusiness: CompanyDatasetResponse | undefined;
|
|
4
|
+
verifiedBusiness: CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse | undefined;
|
|
5
5
|
verifiedAddress: AddressSchema | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress, }: VerifiedBusinessDataProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/companyDataset.types';
|
|
1
|
+
import type { CompanyDatasetResponse, ProviderAgnosticCompanyDatasetResponseAddress } from '../../../../api/companyDataSet/companyDataset.types';
|
|
2
2
|
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
3
3
|
/**
|
|
4
4
|
* Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode']
|
|
@@ -9,5 +9,5 @@ import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
|
9
9
|
* @returns An array of the nested field keys that are trusted
|
|
10
10
|
*/
|
|
11
11
|
export declare const getNestedTrustedFields: <FormSchema>(field: keyof FormSchema, data: FormSchema | undefined, trustedFields: string[] | undefined) => Array<keyof FormSchema>;
|
|
12
|
-
export declare const mapAddressData: (verifiedBusiness: CompanyDatasetResponse) => AddressSchema;
|
|
12
|
+
export declare const mapAddressData: (verifiedBusiness: CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponseAddress) => AddressSchema;
|
|
13
13
|
export declare const isDateOlderThanAYear: (dateString: string | undefined) => boolean;
|
|
@@ -3,7 +3,7 @@ import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
|
3
3
|
import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
|
|
4
4
|
import type { BasicInformationSchema } from '../BasicInformation/types';
|
|
5
5
|
export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
|
|
6
|
-
export declare const getFinancialInformationFields: (country: CountryCode) =>
|
|
6
|
+
export declare const getFinancialInformationFields: (country: CountryCode) => (keyof import("../FinancialInformation/types").FinancialInformationSchema)[];
|
|
7
7
|
export declare const staticBusinessDetailsForms: {
|
|
8
8
|
readonly businessSelection: {
|
|
9
9
|
readonly formId: "businessSelection";
|
|
@@ -101,7 +101,7 @@ export declare const getForms: (country: CountryCode, taskType: TaskType) => {
|
|
|
101
101
|
readonly companyFinancialInformation: {
|
|
102
102
|
readonly formId: "companyFinancialInformation";
|
|
103
103
|
readonly formName: "financialInformation";
|
|
104
|
-
readonly fields:
|
|
104
|
+
readonly fields: (keyof import("../FinancialInformation/types").FinancialInformationSchema)[];
|
|
105
105
|
};
|
|
106
106
|
readonly companyConstitutionalDocument: {
|
|
107
107
|
readonly formId: "companyConstitutionalDocument";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { QueryObserverResult, RefetchOptions } from '@tanstack/preact-query';
|
|
2
2
|
import { type Dispatch, type StateUpdater } from 'preact/hooks';
|
|
3
|
-
import type { CompanyDatasetResponse } from '../../../../../api/companyDataSet/companyDataset.types';
|
|
4
|
-
import type { CompanySearchResult } from '../../../../../api/companySearch/companySearch.types';
|
|
3
|
+
import type { CompanyDatasetResponse, ProviderAgnosticCompanyDatasetResponse } from '../../../../../api/companyDataSet/companyDataset.types';
|
|
4
|
+
import type { CompanySearchResult, ProviderAgnosticSearchResult } from '../../../../../api/companySearch/companySearch.types';
|
|
5
5
|
interface BusinessInformationCardProps {
|
|
6
|
-
result: CompanySearchResult;
|
|
6
|
+
result: CompanySearchResult | ProviderAgnosticSearchResult;
|
|
7
7
|
selectedBusinessId: string | undefined;
|
|
8
|
-
currentBusinessSelection: CompanyDatasetResponse | undefined;
|
|
8
|
+
currentBusinessSelection: CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse | undefined;
|
|
9
9
|
fetching: boolean;
|
|
10
10
|
fetchingError: boolean;
|
|
11
11
|
invalidTin: boolean;
|
|
12
12
|
setIsBusinessSelection?: Dispatch<StateUpdater<boolean>>;
|
|
13
|
-
handleSelectBusiness: (result: CompanySearchResult) => void;
|
|
14
|
-
refetchCompanySelection: (options?: RefetchOptions) => Promise<QueryObserverResult<CompanyDatasetResponse, Error>>;
|
|
15
|
-
handleConfirmSelection: (data: CompanyDatasetResponse | undefined) => void;
|
|
13
|
+
handleSelectBusiness: (result: CompanySearchResult | ProviderAgnosticSearchResult) => void;
|
|
14
|
+
refetchCompanySelection: (options?: RefetchOptions) => Promise<QueryObserverResult<CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse, Error>>;
|
|
15
|
+
handleConfirmSelection: (data: CompanyDatasetResponse | ProviderAgnosticCompanyDatasetResponse | undefined) => void;
|
|
16
16
|
handleBackClick?: () => void;
|
|
17
17
|
}
|
|
18
18
|
export declare function BusinessInformationCard({ result, selectedBusinessId, currentBusinessSelection, fetching, fetchingError, invalidTin, setIsBusinessSelection, handleSelectBusiness, refetchCompanySelection, handleConfirmSelection, handleBackClick, }: BusinessInformationCardProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { FinancialInformationProps, FinancialInformationSchema } from './types';
|
|
2
2
|
export declare const financialInformationFieldsForEu: Array<keyof FinancialInformationSchema>;
|
|
3
3
|
export declare const financialInformationFields: Array<keyof FinancialInformationSchema>;
|
|
4
|
-
export declare function FinancialInformation(
|
|
4
|
+
export declare function FinancialInformation({ id, country, validationErrors, verificationErrors, }: FinancialInformationProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { FinancialReport } from '../../../../../core/models/api/financialReport';
|
|
2
2
|
import type { FinancialInformationSchema } from '../types';
|
|
3
|
-
export declare const mapFinancialInformationToFinancialReport: ({ currency, financialReportingDate, numberOfEmployees, balanceSheetTotal,
|
|
3
|
+
export declare const mapFinancialInformationToFinancialReport: ({ currency, financialReportingDate, numberOfEmployees, balanceSheetTotal, annualTurnover, }: FinancialInformationSchema, dateOfIncorporation?: string) => FinancialReport;
|
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
1
|
+
import type { CurrencySchema } from '../../../Shared/fields/Currency/types';
|
|
2
|
+
import type { FinancialReportingDateFieldSchema } from '../../../Shared/fields/FinancialReportingDate/types';
|
|
3
|
+
import type { NumberOfEmployeesFieldSchema } from '../../../Shared/fields/NumberOfEmployees/types';
|
|
4
|
+
import type { ReportedValueOptionFieldSchema } from '../../../Shared/fields/ReportedValueOptionField/types';
|
|
5
5
|
import type { BusinessDetailsSchema } from '../../../Business/forms/BusinessDetails/types';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
reportedValueOption?: 'balanceSheetTotal' | 'annualTurnover' | 'netAssets';
|
|
9
|
-
annualTurnover?: number;
|
|
10
|
-
netAssets?: number;
|
|
11
|
-
balanceSheetTotal?: number;
|
|
12
|
-
financialReportingDate?: string;
|
|
13
|
-
currency?: Currency;
|
|
14
|
-
};
|
|
15
|
-
export interface FinancialInformationProps extends BaseInnerFormProps<FinancialInformationSchema> {
|
|
16
|
-
multiForm?: Form<BusinessDetailsSchema>;
|
|
17
|
-
country: CountryCode;
|
|
18
|
-
id: 'companyFinancialInformation';
|
|
6
|
+
import type { BaseMultiformProps } from '../forms.types';
|
|
7
|
+
export interface FinancialInformationSchema extends NumberOfEmployeesFieldSchema, FinancialReportingDateFieldSchema, CurrencySchema, ReportedValueOptionFieldSchema {
|
|
19
8
|
}
|
|
9
|
+
export type FinancialInformationProps = BaseMultiformProps<BusinessDetailsSchema>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CompanyTypesValue } from '../../../core/models/api/company-types-value';
|
|
2
|
+
import type { MultiFormOptions } from '../../../hooks/useMultiForm/types';
|
|
2
3
|
import type { TaskType } from '../../../stores/globalStore/taskTypes';
|
|
3
4
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
4
5
|
import type { FormRulesParams } from '../../../types/form-rules';
|
|
@@ -27,27 +28,28 @@ export declare const COUNTRIES_REQUIRING_E_INVOICING_CODE: readonly CountryCode[
|
|
|
27
28
|
export declare const COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4: readonly CountryCode[];
|
|
28
29
|
export declare function isUsingCompanySearch(country: CountryCode, taskType: TaskType): boolean;
|
|
29
30
|
export declare const isRegistrationNumberAbsentStateV4Scenario: (country: CountryCode, entityType?: CompanyTypesValue) => boolean;
|
|
30
|
-
export declare const rules: ({ data, country, taskType, isExperimentEnabled, isSettingEnabled, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<BusinessDetailsSchema>
|
|
31
|
+
export declare const rules: ({ data, defaultData, country, taskType, isExperimentEnabled, isSettingEnabled, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<BusinessDetailsSchema> & {
|
|
32
|
+
defaultData?: MultiFormOptions<BusinessDetailsSchema>["defaultData"];
|
|
33
|
+
}) => {
|
|
31
34
|
requireDoingBusinessAsName: () => "REQUIRED" | undefined;
|
|
32
35
|
countryRequiresStateOrProvince: () => "REQUIRED" | undefined;
|
|
33
36
|
ifPubliclyTradedCompany: () => "REQUIRED" | undefined;
|
|
34
|
-
countryUsesVat: () => "
|
|
37
|
+
countryUsesVat: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
35
38
|
vatNumberType: () => "OPTIONAL" | undefined;
|
|
36
|
-
isVatExempt: () => "
|
|
37
|
-
countryUsesTaxId: () => "
|
|
38
|
-
companyRegistrationNumberExemptionAllowed: () => "
|
|
39
|
+
isVatExempt: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
40
|
+
countryUsesTaxId: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
41
|
+
companyRegistrationNumberExemptionAllowed: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
39
42
|
countryOfGoverningLawRequired: () => "REQUIRED" | undefined;
|
|
40
|
-
countryRequiresRegistrationNumber: () => "
|
|
43
|
+
countryRequiresRegistrationNumber: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
41
44
|
registrationNumberType: () => "OPTIONAL" | undefined;
|
|
42
45
|
countryUsesUenOrGst: () => "REQUIRED" | undefined;
|
|
43
|
-
countryHasTaxExemptions: () => "
|
|
46
|
+
countryHasTaxExemptions: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
44
47
|
usingCompanySearch: () => "REQUIRED" | undefined;
|
|
45
48
|
countryRequiresFinancialInformation: () => "REQUIRED" | undefined;
|
|
46
49
|
isDateOfIncorporationRequired: () => "REQUIRED" | undefined;
|
|
47
50
|
isFinancialReportingFieldsRequired: () => "REQUIRED" | undefined;
|
|
48
51
|
isIndustryCodeRequired: () => "REQUIRED" | undefined;
|
|
49
52
|
annualTurnoverRequired: () => "REQUIRED" | undefined;
|
|
50
|
-
netAssetsRequired: () => "REQUIRED" | undefined;
|
|
51
53
|
balanceSheetTotalRequired: () => "REQUIRED" | undefined;
|
|
52
54
|
isEInvoicingCodeEnabled: () => "REQUIRED" | undefined;
|
|
53
55
|
ifCountryUsAndTinFailed: () => "REQUIRED" | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
+
import type { SetOptional } from 'type-fest';
|
|
2
3
|
import type { BusinessLinesResponse } from '../../../../api/businessLines/businessLines.types';
|
|
3
4
|
import type { CreateBusinessLine } from '../../../../api/businessLines/useCreateBusinessLine';
|
|
4
5
|
import type { UpdateBusinessLine } from '../../../../api/businessLines/useUpdateBusinessLines';
|
|
@@ -7,7 +8,7 @@ import type { UpdateLegalEntity } from '../../../../api/legalEntity/useUpdateLeg
|
|
|
7
8
|
import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
|
|
8
9
|
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
9
10
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
10
|
-
import type { UserEvents } from '../../../../core/user-events';
|
|
11
|
+
import type { AdditionalEventProperties, UserEvents } from '../../../../core/user-events';
|
|
11
12
|
import type { TFunction } from '../../../../../types';
|
|
12
13
|
import type { Scenario } from '../../../../core/models/api/get-scenarios';
|
|
13
14
|
import type { ToastOptions } from '../../../ui/molecules/Toast/Toast.types';
|
|
@@ -42,6 +43,17 @@ export interface SubmitDocumentsProps {
|
|
|
42
43
|
documentUtils: DocumentApiUtils;
|
|
43
44
|
userEvents: UserEvents;
|
|
44
45
|
}
|
|
46
|
+
export interface SubmitBusinessLinesProps {
|
|
47
|
+
data: BusinessDetailsSchema;
|
|
48
|
+
legalEntity: ExistingLegalEntity;
|
|
49
|
+
efpBusinessLines?: BusinessLinesResponse[] | undefined;
|
|
50
|
+
createBusinessLine?: CreateBusinessLine;
|
|
51
|
+
updateBusinessLine?: UpdateBusinessLine;
|
|
52
|
+
trackingPayload: SetOptional<AdditionalEventProperties, 'actionLevel'>;
|
|
53
|
+
userEvents: UserEvents;
|
|
54
|
+
t: TFunction<readonly ['common', 'business']>;
|
|
55
|
+
showToast: (options: ToastOptions) => void;
|
|
56
|
+
}
|
|
45
57
|
export interface SubmitProps {
|
|
46
58
|
data: BusinessDetailsSchema;
|
|
47
59
|
legalEntityResponse: ExistingLegalEntity;
|
|
@@ -66,4 +78,5 @@ export interface SubmitProps {
|
|
|
66
78
|
createBusinessLine?: CreateBusinessLine;
|
|
67
79
|
updateBusinessLine?: UpdateBusinessLine;
|
|
68
80
|
matchingScenario?: Scenario[];
|
|
81
|
+
invalidateRootLegalEntity: () => Promise<void | [void, void]>;
|
|
69
82
|
}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
2
1
|
import type { BooleanSettingName } from '../../../../context/SettingsContext/types';
|
|
3
2
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
|
-
import type { TFunction } from '../../../../../types';
|
|
5
3
|
import type { AccountHolderOption } from '../../../../types/accountHolder';
|
|
6
4
|
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
7
5
|
import type { FormList, FormModelWithValidity } from '../../../../types/form';
|
|
8
6
|
import type { BasicInformationSchema } from '../../forms/BasicInformation/types';
|
|
9
|
-
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
10
|
-
import type { SubmitProps } from './types';
|
|
11
7
|
interface BuildRequiredFormsProps {
|
|
12
8
|
config: {
|
|
13
9
|
forms: FormList;
|
|
@@ -25,7 +21,6 @@ interface BuildRequiredFormsProps {
|
|
|
25
21
|
};
|
|
26
22
|
}
|
|
27
23
|
export declare function buildRequiredForms({ config: { forms, requiredFields, optionalFields, isValid, problems, isSettingEnabled, accountHolder, legalEntityResponse, }, options, }: BuildRequiredFormsProps): FormModelWithValidity[];
|
|
28
|
-
export declare const
|
|
29
|
-
export declare function submit({ data, legalEntityResponse, associatedLegalArrangement, nestedLegalEntity, nestedLegalEntityDetails, problems, taskType, accountHolder, forms, documentUtils, t, showToast, setLoadingStatus, setProblems, handleUpdateLegalEntity, createLegalEntity, onExternalSubmit, isExperimentEnabled, userEvents, efpBusinessLines, createBusinessLine, updateBusinessLine, matchingScenario, }: SubmitProps): Promise<void>;
|
|
24
|
+
export declare const isDocumentsRequired: (forms: FormModelWithValidity[]) => boolean;
|
|
30
25
|
export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
|
|
31
26
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
2
2
|
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
3
|
-
import type { CompanyRegistrationNumberType,
|
|
3
|
+
import type { CompanyRegistrationNumberType, VatNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
4
|
+
import type { TaxIdNumberType } from '../../../Shared/fields/TaxInformationField/types';
|
|
4
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
6
|
import type { StateCodeUS } from '../../../../types/datasets/state-code';
|
|
6
7
|
import type { ValidatorRules } from '../../../../utils/validation/types';
|
|
@@ -2,4 +2,4 @@ import type { CompanySelectionResponse } from '../../../api/companySelection/com
|
|
|
2
2
|
import type { Form } from '../../../hooks/useMultiForm/types';
|
|
3
3
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
4
4
|
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
|
|
5
|
-
export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined) => void;
|
|
5
|
+
export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined, isAgnosticEndpointEnabled: boolean) => void;
|
|
@@ -2,7 +2,7 @@ import type { LegalArrangement } from '../../../core/models/api/legal-arrangemen
|
|
|
2
2
|
import type { Organization } from '../../../core/models/api/organization';
|
|
3
3
|
import type { Capability, CapabilityName } from '../../../core/models/api/capability';
|
|
4
4
|
import { type LegalEntityType } from '../../../core/models/api/legal-entity-type';
|
|
5
|
-
import type { TaxIdNumberType } from '../../Shared/fields/
|
|
5
|
+
import type { TaxIdNumberType } from '../../Shared/fields/TaxInformationField/types';
|
|
6
6
|
import type { CompanyNameAndCountrySchema } from '../../Shared/forms/CompanyNameAndCountry/types';
|
|
7
7
|
import { type TaskType } from '../../../stores/globalStore/taskTypes';
|
|
8
8
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ExperimentName } from '../../../context/ExperimentContext/types';
|
|
2
|
+
import type { TFunction } from '../../../../types';
|
|
3
|
+
import type { SummarySection } from '../../Shared/NewSummary/NewSummary';
|
|
4
|
+
import type { FormModelWithValidity } from '../../../types/form';
|
|
5
|
+
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
|
|
6
|
+
export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], t: TFunction<readonly ["common", "business"]>, language: string, isExperimentEnabled: (key: ExperimentName) => boolean, version?: number) => SummarySection[];
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { SubmitProps } from '../tasks/BusinessDetailsDropin/types';
|
|
2
|
+
export declare function submit({ data, legalEntityResponse, associatedLegalArrangement, nestedLegalEntity, nestedLegalEntityDetails, problems, taskType, accountHolder, forms, documentUtils, t, showToast, setLoadingStatus, setProblems, handleUpdateLegalEntity, createLegalEntity, onExternalSubmit, isExperimentEnabled, userEvents, efpBusinessLines, createBusinessLine, updateBusinessLine, matchingScenario, invalidateRootLegalEntity, }: SubmitProps): Promise<void>;
|
|
@@ -3,4 +3,4 @@ export interface SctaFieldSchema {
|
|
|
3
3
|
sctaUrl?: string;
|
|
4
4
|
sctaExempt?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export type SctaFieldProps = Pick<BaseFormFieldProps<SctaFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'
|
|
6
|
+
export type SctaFieldProps = Pick<BaseFormFieldProps<SctaFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { WebDataFieldSchema } from 'src/components/BusinessLines/fields/WebDataField/types';
|
|
2
1
|
import type { SalesChannelsFieldSchema } from '../../fields/SalesChannels/types';
|
|
2
|
+
import type { WebDataFieldSchema } from '../../fields/WebDataField/types';
|
|
3
3
|
export type SalesChannelsFormSchema = SalesChannelsFieldSchema & WebDataFieldSchema;
|