@adyen/kyc-components 3.92.1 → 3.93.0-beta.2

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.
Files changed (411) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Cc5TwxYd.js → AcceptTermsOfServiceComponent-B4fXz2Mj.js} +17 -16
  2. package/dist/{Accordion-CAqKHAj9.js → Accordion-B9ASz7oD.js} +2 -2
  3. package/dist/{AccountSetupRejected-C9FCwunF.js → AccountSetupRejected-BsYzF0XW.js} +3 -3
  4. package/dist/{ActionBar-C1rqfjkV.js → ActionBar-Gbat0LF-.js} +1 -1
  5. package/dist/{Address-C8Kqz-2b.js → Address-Bu9zOvAM.js} +15 -15
  6. package/dist/{Alert-E_a_csSs.js → Alert-0L9Okc_j.js} +3 -3
  7. package/dist/{Avatar-wQ0mYsYL.js → Avatar-C2jFofpv.js} +2 -2
  8. package/dist/{BusinessFinancingComponent-ReMZLbjX.js → BusinessFinancingComponent-C12Xnx_y.js} +5 -5
  9. package/dist/{BusinessFinancingDropin-DtSERjsb.js → BusinessFinancingDropin-BYwivstT.js} +29 -28
  10. package/dist/{BusinessFinancingPage-DqSCsrPJ.js → BusinessFinancingPage-CUeLDq8J.js} +4 -4
  11. package/dist/{BusinessTypeSelectionPage-zzDSHomI.js → BusinessTypeSelectionPage-BQ1yBBhx.js} +9 -9
  12. package/dist/Card-OQuFzmxm.js +90 -0
  13. package/dist/{Checkbox-Bp4HrJKI.js → Checkbox-DBN0bHrR.js} +2 -2
  14. package/dist/{Confirm-Ba5lqFqd.js → Confirm-DvCDgyAD.js} +3 -3
  15. package/dist/{ConstitutionalDocument-DD5CB7gM.js → ConstitutionalDocument-BXepv2HE.js} +18 -18
  16. package/dist/{validate-CIuB6JUT.js → ContactDetails-D84L456z.js} +21 -20
  17. package/dist/{ContextGuidance-aACh9e6u.js → ContextGuidance-CyvagjSm.js} +3 -3
  18. package/dist/{CountryField-B0daMnwW.js → CountryField-DelOJ_90.js} +4 -4
  19. package/dist/{CreateIndividualComponent-pLTW4M3J.js → CreateIndividualComponent-B56tad3f.js} +6 -12
  20. package/dist/{CreateTransferInstrumentComponent-DlSD28ga.js → CreateTransferInstrumentComponent-DAIYbzea.js} +4 -4
  21. package/dist/{Currency-DXgu9MoR.js → Currency-DARtu8dS.js} +11 -8
  22. package/dist/{CustomerSupport-eNBxns8l.js → CustomerSupport-HpsRjJyl.js} +12 -11
  23. package/dist/{DebugModal-jvulkSEe.js → DebugModal-DEYa0E-D.js} +12 -10
  24. package/dist/{DecisionMakerDetailsPage-IV32QvAq.js → DecisionMakerDetailsPage-CmvZWgoB.js} +12 -18
  25. package/dist/{DecisionMakers-CNxYaQOO.js → DecisionMakers-eOsvlawr.js} +21 -22
  26. package/dist/{Dropzone-CJTj99Jm.js → Dropzone-BgrGUcIm.js} +16 -10
  27. package/dist/{EmbeddedStatus-BytQYrC_.js → EmbeddedStatus-CGIXkUXu.js} +3 -3
  28. package/dist/{EndStateLayout-DlvjAj-7.js → EndStateLayout-DhaJTPGG.js} +2 -2
  29. package/dist/EntityAssociation-oAuDZDjG.js +166 -0
  30. package/dist/{EntityGuidanceStatus-D9aXAd7N.js → EntityGuidanceStatus-BfJcqJTt.js} +3 -3
  31. package/dist/{ErrorPanel-DNtK56tD.js → ErrorPanel-CQ5mK5uz.js} +3 -3
  32. package/dist/{Field-BEoeMy3u.js → Field-QQ5BBCkn.js} +2 -3
  33. package/dist/{FormNavigation-Ci1LhKvo.js → FormNavigation-Cl5fnGKp.js} +3 -3
  34. package/dist/{FormWrapper-BCkcULLO.js → FormWrapper-BXCADDZ_.js} +9 -9
  35. package/dist/{Header-87H731cQ.js → Header-DVxe8YCk.js} +2 -2
  36. package/dist/{Image-Dv-RB-a6.js → Image-D2r8auP6.js} +4 -9
  37. package/dist/{rules-CovTg5rc.js → Individual.rules-nvOffGHU.js} +165 -117
  38. package/dist/{IndividualOnfidoDropin-HK_0jjJH.js → IndividualDropin-Ou29J7Dx.js} +1188 -3959
  39. package/dist/{InputDate-BcSMepXz.js → InputDate-DplEveci.js} +1 -1
  40. package/dist/{InputText-D0zIJLdp.js → InputText-V4X24bPM.js} +2 -2
  41. package/dist/{Introduction-D_Zv9G9d.js → Introduction-kVYYqDhe.js} +4 -4
  42. package/dist/{JpAddress-C0Q47X_G.js → JpAddress-BKT0w3jl.js} +11 -10
  43. package/dist/{LandingLayout-oK1JT5Lv.js → LandingLayout-DZt1EtCP.js} +2 -2
  44. package/dist/{LegalRepresentativeDetailsPage-BrBQg06_.js → LegalRepresentativeDetailsPage-BuOPrCAO.js} +6 -11
  45. package/dist/{Link-BTTClZw-.js → Link-s00fWIPD.js} +2 -2
  46. package/dist/{ListItem-BJYQ6BfN.js → ListItem-BOjfMtNh.js} +3 -3
  47. package/dist/{LoaderWrapper-Dl2oV2v2.js → LoaderWrapper-lbUTZxip.js} +1 -1
  48. package/dist/ManageIndividualComponent-C80dv903.js +46 -0
  49. package/dist/{ManageTermsOfServiceComponent-Qpzy5iZg.js → ManageTermsOfServiceComponent-8sW0ubtp.js} +4 -4
  50. package/dist/{ManageTransferInstrumentComponent-CvTD7JqX.js → ManageTransferInstrumentComponent-Djr3hDnm.js} +15 -14
  51. package/dist/{MaskedInput-Bet0abik.js → MaskedInput-Dtui0pFL.js} +17 -9
  52. package/dist/{MaybeModal-Bk3WmK24.js → MaybeModal-DAmEe4LX.js} +2 -2
  53. package/dist/{Modal-1Hv5tfNy.js → Modal-DjqZRXyy.js} +5 -5
  54. package/dist/{makeSelectItemForRole-B1DAxBZ_.js → Name-2lTBQb7g.js} +5 -57
  55. package/dist/{OnboardingDropinComponent-tQW1hXKP.js → OnboardingDropinComponent-Druuv3sE.js} +156 -125
  56. package/dist/{PayoutDetailsDropin-BEoP-NR0.js → PayoutDetailsDropin-B7LtRa1B.js} +91 -87
  57. package/dist/{RadioGroup-Bg_8BEDn.js → RadioGroup-DUYNpTgM.js} +7 -5
  58. package/dist/{RadioGroupCard-NRR-OqqG.js → RadioGroupCard-pMlnbEEB.js} +5 -3
  59. package/dist/{Review-DbX6GFkR.js → Review-_FUu7r2a.js} +8 -7
  60. package/dist/{RootBusinessDetailsPage-BWewaAOg.js → RootBusinessDetailsPage-yrq_AuhE.js} +9 -8
  61. package/dist/{RootBusinessLinesPage-CJ9jECx0.js → RootBusinessLinesPage-Cl18f4sM.js} +82 -55
  62. package/dist/{RootIndividualDetailsPage-CvQ2742R.js → RootIndividualDetailsPage-DCBlFXBW.js} +8 -18
  63. package/dist/{Select-DglmHz2C.js → Select-mBoYJnAZ.js} +16 -8
  64. package/dist/{SignPCIComponent-C6vCs_hW.js → SignPCIComponent-Kf3AvaVB.js} +13 -12
  65. package/dist/{SingpassSelection-Dv7obY3Y.js → SingpassSelection-CfWMbH3h.js} +6 -6
  66. package/dist/{SoleProprietorshipPage-BBaiVx9A.js → SoleProprietorshipPage-5Zy5JrB-.js} +5 -4
  67. package/dist/{SourceOfFundsPage-y4UhFduk.js → SourceOfFundsPage-CzUTeF1S.js} +195 -431
  68. package/dist/{StepProgressIndicator-zp8q1OzD.js → StepProgressIndicator-BE9LWSk0.js} +2 -2
  69. package/dist/{StoreProvider-BY1HQxMn.js → StoreProvider-D5FOVv9p.js} +170 -3243
  70. package/dist/{Summary-Dt4LcwGJ.js → Summary-v4P9Y5kQ.js} +6 -6
  71. package/dist/{TaskVerificationStatus-D7Yyt06M.js → TaskVerificationStatus-5hk86s25.js} +2 -2
  72. package/dist/{TaxInformationField-jCqBsFve.js → TaxInformationField-AcI4laLZ.js} +1469 -1475
  73. package/dist/{TaxReportingDropin-PYjxhlen.js → TaxReportingDropin-ZzpWS0S-.js} +35 -37
  74. package/dist/{TextArea-DaEM1LmR.js → TextArea-DeNjm7Gm.js} +2 -2
  75. package/dist/{TileGroup-B9NP0xL_.js → TileGroup-CZWfBoyM.js} +4 -4
  76. package/dist/{TrustDetailsPage-CcSVv1MP.js → TrustDetailsPage--gTP7acy.js} +41 -35
  77. package/dist/{TrustMemberCompanyPage-f7sbolBK.js → TrustMemberCompanyPage-Bmqb5sgh.js} +6 -5
  78. package/dist/{TrustMemberIndividualPage-BlkZ5WtP.js → TrustMemberIndividualPage-BJ7a5vEO.js} +6 -11
  79. package/dist/{TrustMemberRoleAndTypePage-DCsR7Tdy.js → TrustMemberRoleAndTypePage-eGQ7qNwo.js} +78 -22
  80. package/dist/{TrustMembersOverview-BhDqS5F-.js → TrustMembersOverview-C9VGJyIN.js} +12 -12
  81. package/dist/{UnincorporatedPartnershipIndividualPage-BbprnGI_.js → UnincorporatedPartnershipIndividualPage-DY8NWGLK.js} +6 -11
  82. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BxpxNdg6.js → UnincorporatedPartnershipMemberCompanyPage-CxGb07CR.js} +6 -5
  83. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-3xUvx9l-.js → UnincorporatedPartnershipMemberRoleAndTypePage-CP88Xvoy.js} +12 -11
  84. package/dist/{UnincorporatedPartnershipMembersOverview-BpZbRr_e.js → UnincorporatedPartnershipMembersOverview-CtJIWCek.js} +9 -9
  85. package/dist/{VerificationErrorAlert-7DNyS4C_.js → VerificationErrorAlert-DAmWLDTw.js} +5 -4
  86. package/dist/{ViewVerificationStatusComponent-urVZF63U.js → ViewVerificationStatusComponent-BKvZhB3Q.js} +5 -4
  87. package/dist/adyen-business-financing.js +6 -3
  88. package/dist/adyen-individual-configuration.js +6 -3
  89. package/dist/adyen-individual-status.js +2 -2
  90. package/dist/adyen-kyc-components.js +19 -19
  91. package/dist/adyen-onboarding.js +6 -3
  92. package/dist/adyen-terms-of-service-management.js +6 -3
  93. package/dist/adyen-terms-of-service-status.js +2 -2
  94. package/dist/adyen-transfer-instrument-configuration.js +6 -3
  95. package/dist/adyen-transfer-instrument-management.js +2 -2
  96. package/dist/adyen-verification-status.js +6 -3
  97. package/dist/{bafinUtils-BROXAx5r.js → bafinUtils-D-iUsb1z.js} +19 -69
  98. package/dist/{bg-BG-DVjwfSz4.js → bg-BG-BMe54km9.js} +2 -2
  99. package/dist/{commonValidators-B7eyF3yt.js → commonValidators-CalwJK5h.js} +2 -2
  100. package/dist/{cs-CZ-CLY9qYTs.js → cs-CZ-BwiHrdav.js} +2 -2
  101. package/dist/{da-DK-uHPPFvD-.js → da-DK-D3nwkjjZ.js} +2 -2
  102. package/dist/{de-DE-SMf6w4NJ.js → de-DE-ZU2Hsp38.js} +2 -2
  103. package/dist/{dropinUtils-DqJ1Ds6F.js → dropinUtils-D59ldyqp.js} +4 -4
  104. package/dist/{el-GR-wv99Y9Yf.js → el-GR-DbOICeSZ.js} +2 -2
  105. package/dist/{es-ES-BqpvBqmR.js → es-ES-diRragkx.js} +2 -2
  106. package/dist/{et-EE-CAuCY0qn.js → et-EE--PzlaQkR.js} +2 -2
  107. package/dist/{fi-FI-DPegZzTc.js → fi-FI-D0_0MXLR.js} +2 -2
  108. package/dist/{fieldConfig-DVdDkF4v.js → fieldConfig-1wEVw6MW.js} +6 -6
  109. package/dist/{formUtils-6n_sAj9f.js → formUtils-BUyxO4Zy.js} +3 -3
  110. package/dist/{fr-FR-BPGwsLDa.js → fr-FR-CbjzHhqH.js} +2 -2
  111. package/dist/{getName-2kWqXhZa.js → getName-BCGuaRKD.js} +2 -2
  112. package/dist/{hr-HR-DdqNL1pQ.js → hr-HR-CDuWrX1x.js} +2 -2
  113. package/dist/{hu-HU-C1LJENXO.js → hu-HU-CXB62KSV.js} +2 -2
  114. package/dist/{iframeWidget-BHiCu3PY.js → iframeWidget-CxqD-Z9-.js} +4 -4
  115. package/dist/{isEmpty-COLZr49P.js → isEmpty-BCB0E6W3.js} +2 -2
  116. package/dist/{it-IT-B1eJg9RL.js → it-IT-BbW5PMj0.js} +2 -2
  117. package/dist/ja-JP-D8-geaup.js +13 -0
  118. package/dist/{japanSupportUtils-DHTmTrsj.js → japanSupportUtils-CNwDfN86.js} +3 -3
  119. package/dist/{localizeDateString-tOyK52gO.js → localizeDateString-DnJ6n3p4.js} +2 -2
  120. package/dist/{lt-LT-BmRnIfWs.js → lt-LT-BCusE8Fe.js} +2 -2
  121. package/dist/{lv-LV-CX9j9Dtv.js → lv-LV-D_D39wup.js} +2 -2
  122. package/dist/{mapExistingFile-Bz4_d6_m.js → mapExistingFile-DF8ylI3D.js} +4 -4
  123. package/dist/{mapJpAddressSchemaToAddressLocalizations-COA1bDNt.js → mapJpAddressSchemaToAddressLocalizations-Y24lCOu6.js} +38 -38
  124. package/dist/{mapLegalEntityToIndividualOnfidoSchema-CdLLvb8F.js → mapLegalEntityToIndividualSchema-BfluetfB.js} +4 -4
  125. package/dist/{mapTransferInstrumentToPayoutAccount-CPpBX8oM.js → mapTransferInstrumentToPayoutAccount-DGEME7Zv.js} +3 -2
  126. package/dist/{nl-NL-cVVIDG7s.js → nl-NL-Z2ifhzHq.js} +2 -2
  127. package/dist/{no-NO-C_tmZ39d.js → no-NO-D09wFbmU.js} +2 -2
  128. package/dist/{patternValidators-DSKvrLlO.js → patternValidators-DbUGFIUU.js} +2 -2
  129. package/dist/{pl-PL-DFZFSKZX.js → pl-PL-uU0uFIWi.js} +2 -2
  130. package/dist/{process-field-configurations-2fq1Bq8j.js → process-field-configurations-DGERpLQI.js} +4 -4
  131. package/dist/{pt-BR-CMiGlY3k.js → pt-BR-DzLl_fGR.js} +2 -2
  132. package/dist/{pt-PT-DmdQxN_1.js → pt-PT-Czix42gf.js} +2 -2
  133. package/dist/{resolveEnvironment-DPBuIa7_.js → resolveEnvironment-S2KpSjit.js} +3 -3
  134. package/dist/{ro-RO-B0slmyWK.js → ro-RO-BmHGZmbO.js} +2 -2
  135. package/dist/{roleMetadata-steXST1L.js → roleMetadata-CKgUDBXU.js} +2 -2
  136. package/dist/{sk-SK-BptPuon4.js → sk-SK-hx3DmG_3.js} +2 -2
  137. package/dist/{sl-SI-C3nGkfNb.js → sl-SI-D06jZL__.js} +2 -2
  138. package/dist/style.css +272 -295
  139. package/dist/styles-CLV89_hH.js +272 -295
  140. package/dist/{sv-SE-CXn28ybc.js → sv-SE-eJgjc6iG.js} +2 -2
  141. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  142. package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
  143. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
  144. package/dist/types/api/address/useSearchAddress.d.ts +1 -2
  145. package/dist/types/api/businessLines/useBusinessLines.d.ts +2 -2
  146. package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +1 -1
  147. package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +1 -1
  148. package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +1 -1
  149. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -1
  150. package/dist/types/api/check/useCheck.d.ts +1 -2
  151. package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +1 -1
  152. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
  153. package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
  154. package/dist/types/api/configurations/useScenarios.d.ts +2 -160
  155. package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
  156. package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
  157. package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
  158. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  159. package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
  160. package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
  161. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
  162. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -3
  163. package/dist/types/api/documents/useCreateDocument.d.ts +1 -1
  164. package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
  165. package/dist/types/api/documents/useDocument.d.ts +1 -1
  166. package/dist/types/api/documents/useDocuments.d.ts +1 -1
  167. package/dist/types/api/documents/useUpdateDocument.d.ts +1 -1
  168. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +1 -1
  169. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
  170. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
  171. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +1 -1
  172. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +2 -2
  173. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
  174. package/dist/types/api/legalEntity/useConfirmReview.d.ts +1 -1
  175. package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
  176. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
  177. package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +1 -1
  178. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  179. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
  180. package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
  181. package/dist/types/api/pci/usePciStatus.d.ts +1 -1
  182. package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
  183. package/dist/types/api/pci/useSignPci.d.ts +1 -1
  184. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
  185. package/dist/types/api/queryKeys.d.ts +1 -1
  186. package/dist/types/api/taskStatus/useTaskStatus.d.ts +1 -1
  187. package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
  188. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -2
  189. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
  190. package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
  191. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  192. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
  193. package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
  194. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
  195. package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
  196. package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
  197. package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
  198. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
  199. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
  200. package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
  201. package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
  202. package/dist/types/api/types.d.ts +1 -1
  203. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +1 -1
  204. package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +1 -1
  205. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -2
  206. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
  207. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
  208. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
  209. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -1
  210. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +1 -1
  211. package/dist/types/components/Business/forms/rules.d.ts +3 -3
  212. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
  213. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
  214. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +0 -1
  215. package/dist/types/components/Business/utils/companyUtil.d.ts +0 -9
  216. package/dist/types/components/BusinessLines/constants.d.ts +2 -0
  217. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -1
  218. package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -2
  219. package/dist/types/components/BusinessLines/tasks/validate.d.ts +0 -2
  220. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
  221. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +5 -2
  222. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
  223. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
  224. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
  225. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
  226. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.types.d.ts +3 -3
  227. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/TypeOfIdentity/index.d.ts +2 -2
  228. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
  229. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/validate.d.ts +8 -8
  230. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
  231. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +9 -0
  232. package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/ConflictRow.d.ts +1 -1
  233. package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/DataConflictsModal.d.ts +1 -1
  234. package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/types.d.ts +5 -15
  235. package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/utils.d.ts +1 -1
  236. package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
  237. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.types.d.ts +3 -3
  238. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
  239. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/UploadedDocument/UploadedDocument.d.ts +1 -1
  240. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/individualOnfidoConflictsSchema.d.ts +5 -5
  241. package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
  242. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/validateExtractionResult.d.ts +3 -3
  243. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.d.ts → Individual.d.ts} +6 -2
  244. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.rules.d.ts → Individual.rules.d.ts} +5 -6
  245. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.types.d.ts → Individual.types.d.ts} +15 -15
  246. package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/types.d.ts +1 -1
  247. package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/types.d.ts +1 -1
  248. package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.types.d.ts +1 -1
  249. package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.types.d.ts +2 -2
  250. package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaireModalContent.d.ts +1 -1
  251. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
  252. package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
  253. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  254. package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
  255. package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
  256. package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
  257. package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
  258. package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
  259. package/dist/types/components/Individual/mapping/{mapIndividualOnfidoSchemaToLegalEntity.d.ts → mapIndividualSchemaToLegalEntity.d.ts} +1 -1
  260. package/dist/types/components/Individual/mapping/{mapLegalEntityToIndividualOnfidoSchema.d.ts → mapLegalEntityToIndividualSchema.d.ts} +1 -1
  261. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -4
  262. package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
  263. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
  264. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -13
  265. package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
  266. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
  267. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
  268. package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
  269. package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/types.d.ts +2 -2
  270. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +4 -0
  271. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  272. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +0 -2
  273. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
  274. package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
  275. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
  276. package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
  277. package/dist/types/context/ExperimentContext/types.d.ts +0 -36
  278. package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
  279. package/dist/types/context/StateContext/types.d.ts +2 -3
  280. package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
  281. package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
  282. package/dist/types/core/user-events.d.ts +3 -2
  283. package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
  284. package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
  285. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
  286. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
  287. package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
  288. package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
  289. package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
  290. package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
  291. package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
  292. package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
  293. package/dist/types/stores/formState.d.ts +1 -1
  294. package/dist/types/utils/addLinkedFields.d.ts +0 -2
  295. package/dist/types/utils/api/processCapabilitites.d.ts +2 -3
  296. package/dist/types/utils/birthDateUtils.d.ts +0 -17
  297. package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
  298. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  299. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
  300. package/dist/types/utils/logger.d.ts +0 -1
  301. package/dist/types/utils/performance.d.ts +64 -0
  302. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
  303. package/dist/{types-2lh4v1NS.js → types-CUp2kEQJ.js} +1 -1
  304. package/dist/{types-Dk94b8kx.js → types-DY4_Oje-.js} +1 -37
  305. package/dist/{types-MoVpdFbr.js → types-DgF4O5ru.js} +2 -2
  306. package/dist/{types-CGYmPCYj.js → types-vqz1MZ1F.js} +2 -2
  307. package/dist/{useAssociatedLegalEntity-BufOLUsc.js → useAssociatedLegalEntity-C8wrPYHO.js} +3 -2
  308. package/dist/{useBusinessDetailsData-D4EbMk7x.js → useBusinessDetailsData-nW3yfjoJ.js} +253 -183
  309. package/dist/{useCreateLegalEntity-CmZ_Xs5Y.js → useCreateLegalEntity-DEc1Kwc9.js} +3 -2
  310. package/dist/{useDataset-BRi4mlWJ.js → useDataset-CLceNuVk.js} +2 -2
  311. package/dist/{useForm-DpYu-ydO.js → useForm-C6Y--Xun.js} +3 -3
  312. package/dist/{useFormContext-03qTwgil.js → useFormContext-7UjLuyeC.js} +7 -7
  313. package/dist/{useGlobalData-Dk70ESMH.js → useGlobalData-DS2ZGdGI.js} +2 -2
  314. package/dist/{useMultiForm-BNwZbeFz.js → useMultiForm-B3D5YMQv.js} +5 -5
  315. package/dist/{useOnboardingStatus-D6f5Kt_w.js → useOnboardingStatus-pO-8haat.js} +3 -2
  316. package/dist/{useScenarios-BQO76Qbs.js → useScenarios-BeYCbuMy.js} +5 -3
  317. package/dist/{useTermsOfServiceStatus-pQ-OjZcj.js → useTermsOfServiceStatus-a9HTnF2t.js} +3 -2
  318. package/dist/{useToastContext-BG3cHfke.js → useToastContext-CY5gBg6O.js} +3 -2
  319. package/dist/{useUnincorporatedPartnershipMembers-DumGMdhZ.js → useUnincorporatedPartnershipMembers-BFoyyohQ.js} +4 -4
  320. package/dist/{useUpdateBusinessLines-BWk0eCVS.js → useUpdateBusinessLines-Ca6VPudz.js} +20 -17
  321. package/dist/{useUpdateLegalEntity-DJomQK33.js → useUpdateLegalEntity-CV9zKmhh.js} +4 -3
  322. package/dist/{utils-DkGVdk7W.js → utils-9A5Vx0Md.js} +25 -21
  323. package/dist/{utils-B5nzpIMU.js → utils-DJ11eWHJ.js} +6 -6
  324. package/dist/{utils-Cm0vPCdA.js → utils-DW7BsBmK.js} +1 -1
  325. package/dist/{utils-DtmnCXcG.js → utils-DkD_AO7r.js} +2 -2
  326. package/dist/{utils-CANy0Arr.js → utils-kwRyi0uY.js} +2 -2
  327. package/dist/{validate-DUJOPfMa.js → validate-BjjltZlf.js} +2 -2
  328. package/dist/{validate-D5t_i90f.js → validate-CDvp3PSV.js} +4 -3
  329. package/dist/{validationError-BkGOdtDT.js → validationError-BSalUIny.js} +3 -3
  330. package/package.json +56 -49
  331. package/dist/Card-BSfGetza.js +0 -82
  332. package/dist/EntityAssociation-Bl1NeRHI.js +0 -159
  333. package/dist/ManageIndividualComponent-C7zwlJuO.js +0 -46
  334. package/dist/hasDataChanged-DzGl3k7N.js +0 -19
  335. package/dist/id-verification-instant-Byt4Oul6.js +0 -58
  336. package/dist/id-verification-manual-CvcTkOSY.js +0 -55
  337. package/dist/ja-JP-PnqAHl14.js +0 -13
  338. package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
  339. package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
  340. package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
  341. package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
  342. package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
  343. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
  344. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
  345. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
  346. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
  347. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
  348. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
  349. package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -47
  350. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
  351. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
  352. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
  353. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
  354. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
  355. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
  356. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
  357. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
  358. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
  359. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
  360. package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
  361. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
  362. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
  363. package/dist/types/components/Individual/forms/Individual/form-ids.d.ts +0 -2
  364. package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
  365. package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -50
  366. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
  367. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
  368. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
  369. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
  370. package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
  371. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
  372. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
  373. package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
  374. package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
  375. package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
  376. package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
  377. package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
  378. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
  379. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
  380. package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
  381. package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
  382. package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
  383. package/dist/types/embeds/EmbedCore.d.ts +0 -22
  384. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
  385. package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
  386. package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
  387. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
  388. package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
  389. package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
  390. package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
  391. package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
  392. package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
  393. /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
  394. /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
  395. /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
  396. /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
  397. /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
  398. /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
  399. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
  400. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
  401. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
  402. /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
  403. /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
  404. /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
  405. /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
  406. /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
  407. /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
  408. /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
  409. /package/dist/types/components/Individual/forms/{IndividualOnfido/form-ids.d.ts → form-ids.d.ts} +0 -0
  410. /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
  411. /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
@@ -5,5 +5,5 @@ type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
5
5
  export type TermsOfServiceAcceptanceInfoEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/termsOfServiceAcceptanceInfos`>;
6
6
  type AcceptanceInfosResponse = ServiceAgreementAcceptanceInfos;
7
7
  export type QueryKeyTermsOfServiceAcceptanceInfos = ['termsOfServiceAcceptanceInfos'];
8
- export declare const useTermsOfServiceAcceptanceInfos: (options?: QueryOptions<AcceptanceInfosResponse>) => import("@tanstack/react-query").UseQueryResult<ServiceAgreementAcceptanceInfos, Error>;
8
+ export declare const useTermsOfServiceAcceptanceInfos: (options?: QueryOptions<AcceptanceInfosResponse>) => import("@tanstack/preact-query").UseQueryResult<ServiceAgreementAcceptanceInfos, Error>;
9
9
  export {};
@@ -4,7 +4,7 @@ export type TermsOfServiceStatusResponse = components['schemas']['TermsOfService
4
4
  type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
5
5
  export type TermsOfServiceStatusEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/termsOfServiceStatus`>;
6
6
  export type QueryKeyTermsOfServiceStatus = ['termsOfServiceStatus'];
7
- export declare const useTermsOfServiceStatus: (options?: QueryOptions<TermsOfServiceStatusResponse>) => import("@tanstack/react-query").UseQueryResult<{
7
+ export declare const useTermsOfServiceStatus: (options?: QueryOptions<TermsOfServiceStatusResponse>) => import("@tanstack/preact-query").UseQueryResult<{
8
8
  termsOfServiceTypes?: components["schemas"]["TermsOfServiceType"][];
9
9
  }, Error>;
10
10
  export {};
@@ -1,7 +1,7 @@
1
1
  import type { QueryOptions } from '../types';
2
2
  import type { TinVerificationRequest, TinVerificationResponse } from './tinVerification.types';
3
3
  export type QueryKeyVerifyTin = ['verifyTin', TinVerificationRequest | undefined];
4
- export declare const useVerifyTin: (data?: TinVerificationRequest, options?: QueryOptions<TinVerificationResponse>) => import("@tanstack/react-query").UseQueryResult<{
4
+ export declare const useVerifyTin: (data?: TinVerificationRequest, options?: QueryOptions<TinVerificationResponse>) => import("@tanstack/preact-query").UseQueryResult<{
5
5
  matched?: boolean;
6
6
  }, Error>;
7
7
  export declare const verifyTin: (legalEntityId: string, baseUrl: string, data: TinVerificationRequest) => Promise<TinVerificationResponse>;
@@ -6,4 +6,4 @@ import type { GetBankVerificationProviderResponse, GetBankVerificationQueryParam
6
6
  * @param queryParams the relevant country, locale, and configId
7
7
  * @param options additional options passed to Tanstack Query, eg; onSuccess
8
8
  */
9
- export declare const useBankVerificationProviders: (queryParams: GetBankVerificationQueryParams, options?: QueryOptions<GetBankVerificationProviderResponse>) => import("@tanstack/react-query").UseQueryResult<GetBankVerificationProviderResponse, Error>;
9
+ export declare const useBankVerificationProviders: (queryParams: GetBankVerificationQueryParams, options?: QueryOptions<GetBankVerificationProviderResponse>) => import("@tanstack/preact-query").UseQueryResult<GetBankVerificationProviderResponse, Error>;
@@ -4,7 +4,7 @@ import type { CreateTrustedTransferInstrumentRequest, CreateTrustedTransferInstr
4
4
  * Creates a trusted transfer instrument in LEM using the information provided by Open Banking
5
5
  * @param options additional options passed to Tanstack Query, eg; onSuccess
6
6
  */
7
- export declare const useCreateTrustedTransferInstrument: (options?: MutationOptions<CreateTrustedTransferInstrumentResponse, Error, CreateTrustedTransferInstrumentRequest>) => import("@tanstack/react-query").UseMutationResult<{
7
+ export declare const useCreateTrustedTransferInstrument: (options?: MutationOptions<CreateTrustedTransferInstrumentResponse, Error, CreateTrustedTransferInstrumentRequest>) => import("@tanstack/preact-query").UseMutationResult<{
8
8
  accounts?: import("./transferInstruments.contract").components["schemas"]["BankAccountSummary"][];
9
9
  error?: string;
10
10
  errorMessage?: string;
@@ -3,4 +3,4 @@ import type { MutationOptions } from '../types';
3
3
  * Deletes a transfer instrument associated with a legal entity
4
4
  * @param options additional options passed to Tanstack Query, eg; onSuccess
5
5
  */
6
- export declare const useDeleteTransferInstrument: (options?: MutationOptions<null, unknown, string>) => import("@tanstack/react-query").UseMutationResult<null, unknown, string, unknown>;
6
+ export declare const useDeleteTransferInstrument: (options?: MutationOptions<null, unknown, string>) => import("@tanstack/preact-query").UseMutationResult<null, unknown, string, unknown>;
@@ -4,7 +4,7 @@ import type { BankVerificationErrorRequest, BankVerificationErrorResponse } from
4
4
  * Receives an error code and message from a banking verification provider and translates it to a known, standardized error
5
5
  * @param options additional mutation options
6
6
  */
7
- export declare const useHandleBankVerificationError: (options?: MutationOptions<BankVerificationErrorResponse, unknown, BankVerificationErrorRequest>) => import("@tanstack/react-query").UseMutationResult<{
7
+ export declare const useHandleBankVerificationError: (options?: MutationOptions<BankVerificationErrorResponse, unknown, BankVerificationErrorRequest>) => import("@tanstack/preact-query").UseMutationResult<{
8
8
  accounts?: import("./transferInstruments.contract").components["schemas"]["BankAccountSummary"][];
9
9
  error?: string;
10
10
  errorMessage?: string;
@@ -1,4 +1,4 @@
1
- import { skipToken } from '@tanstack/react-query';
1
+ import { skipToken } from '@tanstack/preact-query';
2
2
  import type { ExistingTransferInstrument } from '../../core/models/api/transfer-instrument';
3
3
  import type { QueryOptions } from '../types';
4
4
  /**
@@ -11,4 +11,4 @@ export type QueryKeyTransferInstrument = ['transferInstrument', string];
11
11
  * @param transferInstrumentId ID of transfer instrument
12
12
  * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
13
13
  */
14
- export declare const useTransferInstrument: (transferInstrumentId: string | typeof skipToken, options?: QueryOptions<ExistingTransferInstrument>) => import("@tanstack/react-query").UseQueryResult<ExistingTransferInstrument, Error>;
14
+ export declare const useTransferInstrument: (transferInstrumentId: string | typeof skipToken, options?: QueryOptions<ExistingTransferInstrument>) => import("@tanstack/preact-query").UseQueryResult<ExistingTransferInstrument, Error>;
@@ -5,4 +5,4 @@ export type QueryKeyTransferInstruments = ['transferInstruments'];
5
5
  * Gets a list of transfer instruments associated with a legal entity
6
6
  * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
7
7
  */
8
- export declare const useTransferInstruments: (options?: QueryOptions<GetTransferInstrumentResponse>) => import("@tanstack/react-query").UseQueryResult<GetTransferInstrumentResponse, Error>;
8
+ export declare const useTransferInstruments: (options?: QueryOptions<GetTransferInstrumentResponse>) => import("@tanstack/preact-query").UseQueryResult<GetTransferInstrumentResponse, Error>;
@@ -9,5 +9,5 @@ interface MutationPayload {
9
9
  * When update is successful, updates the transfer instrument query and invalidates transfer instruments
10
10
  * @param options additional options passed to Tanstack Query
11
11
  */
12
- export declare const useUpdateTransferInstrument: (options?: MutationOptions<ExistingTransferInstrument, unknown, MutationPayload>) => import("@tanstack/react-query").UseMutationResult<ExistingTransferInstrument, unknown, MutationPayload, unknown>;
12
+ export declare const useUpdateTransferInstrument: (options?: MutationOptions<ExistingTransferInstrument, unknown, MutationPayload>) => import("@tanstack/preact-query").UseMutationResult<ExistingTransferInstrument, unknown, MutationPayload, unknown>;
13
13
  export {};
@@ -11,5 +11,5 @@ interface MutationPayload {
11
11
  * When update is successful, updates the transfer instrument query and invalidates transfer instruments
12
12
  * @param options additional options passed to Tanstack Query
13
13
  */
14
- export declare const useUpdateTrustedTransferInstrument: (options?: MutationOptions<ExistingTransferInstrument, unknown, MutationPayload>) => import("@tanstack/react-query").UseMutationResult<ExistingTransferInstrument, unknown, MutationPayload, unknown>;
14
+ export declare const useUpdateTrustedTransferInstrument: (options?: MutationOptions<ExistingTransferInstrument, unknown, MutationPayload>) => import("@tanstack/preact-query").UseMutationResult<ExistingTransferInstrument, unknown, MutationPayload, unknown>;
15
15
  export {};
@@ -1,4 +1,4 @@
1
- import type { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
1
+ import type { UseMutationOptions, UseQueryOptions } from '@tanstack/preact-query';
2
2
  type MandatoryQueryArgs = 'queryKey' | 'queryFn';
3
3
  type MandatoryMutationArgs = 'mutationFn';
4
4
  /**
@@ -5,6 +5,6 @@ import type { AnalyticsSessionRequest, AnalyticsSessionResponse } from './uiAnal
5
5
  * * `onboardingVersion`
6
6
  */
7
7
  export type QueryKeyAnalyticsSession = ['analyticsSession', number | undefined];
8
- export declare const useAnalyticsSession: (sessionData: AnalyticsSessionRequest, onboardingVersion: number | undefined, options?: QueryOptions<AnalyticsSessionResponse>) => import("@tanstack/react-query").UseQueryResult<{
8
+ export declare const useAnalyticsSession: (sessionData: AnalyticsSessionRequest, onboardingVersion: number | undefined, options?: QueryOptions<AnalyticsSessionResponse>) => import("@tanstack/preact-query").UseQueryResult<{
9
9
  id: string;
10
10
  }, Error>;
@@ -2,7 +2,7 @@ import type { MutationOptions } from '../types';
2
2
  import type { components } from './analytics.contract';
3
3
  type PushAnalyticEventResponse = components['schemas']['JsonNode'];
4
4
  type Request = components['schemas']['LogAnalyticRequest'];
5
- export declare const usePushAnalyticEvent: (sessionId: string, options?: Omit<MutationOptions<PushAnalyticEventResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<Record<string, never>, unknown, {
5
+ export declare const usePushAnalyticEvent: (sessionId: string, options?: Omit<MutationOptions<PushAnalyticEventResponse, unknown, Request>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<Record<string, never>, unknown, {
6
6
  componentName: string;
7
7
  eventData?: {
8
8
  [key: string]: components["schemas"]["JsonNode"];
@@ -1,5 +1,4 @@
1
1
  import type { MutationOptions } from '../../../types';
2
2
  import type { AccountIdentification } from '../../core/models/api/accountIdentification';
3
3
  import type { AccountValidationResponse } from './validation.types';
4
- export declare const validateAccountIdentification: (baseUrl: string, data: AccountIdentification) => Promise<AccountValidationResponse>;
5
- export declare const useValidateAccountIdentification: (options?: Omit<MutationOptions<AccountValidationResponse, unknown, AccountIdentification>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<AccountValidationResponse, unknown, AccountIdentification, unknown>;
4
+ export declare const useValidateAccountIdentification: (options?: Omit<MutationOptions<AccountValidationResponse, unknown, AccountIdentification>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<AccountValidationResponse, unknown, AccountIdentification, unknown>;
@@ -1,7 +1,7 @@
1
1
  import type { QueryOptions } from '../../../types';
2
2
  import type { PhoneNumberValidationRequest, PhoneNumberValidationResponse } from './validation.types';
3
3
  export type QueryKeyValidatePhoneNumber = ['validatePhoneNumber', PhoneNumberValidationRequest];
4
- export declare const useValidatePhoneNumber: (data: PhoneNumberValidationRequest, options?: QueryOptions<PhoneNumberValidationResponse>) => import("@tanstack/react-query").UseQueryResult<{
4
+ export declare const useValidatePhoneNumber: (data: PhoneNumberValidationRequest, options?: QueryOptions<PhoneNumberValidationResponse>) => import("@tanstack/preact-query").UseQueryResult<{
5
5
  invalidFields: import("./validation.contract").components["schemas"]["InvalidField"][];
6
6
  valid: boolean;
7
7
  }, Error>;
@@ -1,5 +1,4 @@
1
- import type { BankDocumentProps, BankDocumentSchema } from './types';
2
- export declare const bankDocumentClassificationFields: Array<keyof BankDocumentSchema>;
1
+ import type { BankDocumentProps } from './types';
3
2
  declare function BankDocumentClassification(props: BankDocumentProps): import("preact/jsx-runtime").JSX.Element;
4
3
  export declare const MemoizedBankDocumentClassification: typeof BankDocumentClassification;
5
4
  export {};
@@ -1,5 +1,3 @@
1
- import type { BusinessDetailsSchema } from '../BusinessDetails/types';
2
1
  import type { AdditionalInformationProps, AdditionalInformationSchema } from './types';
3
- export declare const ADDITIONAL_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
4
2
  export declare const ADDITIONAL_INFORMATION_FIELDS: Array<keyof AdditionalInformationSchema>;
5
3
  export declare function AdditionalInformation({ id, country, companyType, shouldValidate, validationErrors, verificationErrors, }: AdditionalInformationProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
1
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
2
3
  import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
3
4
  import type { BasicInformationSchema } from '../BasicInformation/types';
@@ -51,7 +52,7 @@ export type BusinessProofOfDirectorDocId = typeof staticBusinessDetailsForms.com
51
52
  export type BusinessProofOfSignatoryDocId = typeof staticBusinessDetailsForms.companyProofOfSignatoryDocument.formId;
52
53
  export type BusinessConstitutionalDocId = typeof staticBusinessDetailsForms.companyConstitutionalDocument.formId;
53
54
  export type BusinessProofOfOwnershipDocId = typeof staticBusinessDetailsForms.companyProofOfOwnershipDocument.formId;
54
- export declare const getForms: (country: CountryCode) => {
55
+ export declare const getForms: (country: CountryCode, taskType: TaskType) => {
55
56
  readonly basicInformation: {
56
57
  readonly formId: "basicInformation";
57
58
  readonly formName: "basicInformationFormName";
@@ -1,4 +1,4 @@
1
- import type { QueryObserverResult, RefetchOptions } from '@tanstack/react-query';
1
+ import type { QueryObserverResult, RefetchOptions } from '@tanstack/preact-query';
2
2
  import { type Dispatch, type StateUpdater } from 'preact/hooks';
3
3
  import type { CompanyDatasetResponse } from '../../../../../api/companyDataSet/companyDataset.types';
4
4
  import type { CompanySearchResult } from '../../../../../api/companySearch/companySearch.types';
@@ -1,10 +1,10 @@
1
1
  import type { CompanyTypesValue } from '../../../core/models/api/company-types-value';
2
+ import type { TaskType } from '../../../stores/globalStore/taskTypes';
2
3
  import type { CountryCode } from '../../../types/datasets/country-code';
3
4
  import type { FormRulesParams } from '../../../types/form-rules';
4
5
  import type { BusinessDetailsSchema } from './BusinessDetails/types';
5
6
  export declare const COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION: CountryCode[];
6
7
  export declare const COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION: CountryCode[];
7
- export declare const COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS: CountryCode[];
8
8
  export declare const COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS: CountryCode[];
9
9
  export declare const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER: CountryCode[];
10
10
  export declare const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS: CountryCode[];
@@ -25,6 +25,7 @@ export declare const COUNTRY_OF_GOVERNING_LAW_POSSIBLE: readonly CountryCode[];
25
25
  export declare const COUNTRIES_REQUIRING_FINANCIAL_INFORMATION: readonly CountryCode[];
26
26
  export declare const COUNTRIES_REQUIRING_E_INVOICING_CODE: readonly CountryCode[];
27
27
  export declare const COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4: readonly CountryCode[];
28
+ export declare function isUsingCompanySearch(country: CountryCode, taskType: TaskType): boolean;
28
29
  export declare const isRegistrationNumberAbsentStateV4Scenario: (country: CountryCode, entityType?: CompanyTypesValue) => boolean;
29
30
  export declare const rules: ({ data, country, taskType, isExperimentEnabled, isSettingEnabled, accountHolder, rootLegalEntity, tinMatched, version, }: FormRulesParams<BusinessDetailsSchema>) => {
30
31
  requireDoingBusinessAsName: () => "REQUIRED" | undefined;
@@ -40,7 +41,7 @@ export declare const rules: ({ data, country, taskType, isExperimentEnabled, isS
40
41
  registrationNumberType: () => "OPTIONAL" | undefined;
41
42
  countryUsesUenOrGst: () => "REQUIRED" | undefined;
42
43
  countryHasTaxExemptions: () => "REQUIRED" | "OPTIONAL" | undefined;
43
- countryUsingCompanySearch: () => "REQUIRED" | undefined;
44
+ usingCompanySearch: () => "REQUIRED" | undefined;
44
45
  countryRequiresFinancialInformation: () => "REQUIRED" | undefined;
45
46
  isDateOfIncorporationRequired: () => "REQUIRED" | undefined;
46
47
  isFinancialReportingFieldsRequired: () => "REQUIRED" | undefined;
@@ -52,6 +53,5 @@ export declare const rules: ({ data, country, taskType, isExperimentEnabled, isS
52
53
  ifCountryUsAndTinFailed: () => "REQUIRED" | undefined;
53
54
  businessRequiresCompanyType: () => "REQUIRED" | undefined;
54
55
  japaneseLegalCompanyName: () => "REQUIRED" | undefined;
55
- requireBusinessSelection: () => "REQUIRED" | undefined;
56
56
  };
57
57
  export type BusinessRules = ReturnType<typeof rules>;
@@ -1,7 +1,8 @@
1
1
  import type { ExperimentName } from '../../../../context/ExperimentContext/types';
2
2
  import type { Document } from '../../../../core/models/api/document';
3
3
  import type { LegalEntity } from '../../../../core/models/api/legal-entity';
4
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
4
5
  import type { AccountHolderOption } from '../../../../types/accountHolder';
5
6
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
6
7
  export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<Document[]>;
7
- export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isExperimentEnabled: (key: ExperimentName) => boolean) => LegalEntity;
8
+ export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isExperimentEnabled: (key: ExperimentName) => boolean, taskType: TaskType) => LegalEntity;
@@ -1,10 +1,17 @@
1
1
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
2
  import type { TaxInformation } from '../../../../core/models/api/organization';
3
3
  import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
4
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
4
5
  import type { CountryCode } from '../../../../types/datasets/country-code';
5
6
  import type { AdditionalInformationSchema } from '../../forms/AdditionalInformation/types';
6
7
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
7
8
  export declare const mapApiDocumentToBusinessDetailsDocuments: (entityId: string) => BusinessDetailsSchema;
8
9
  export declare const mapDbaName: (legalEntity: ExistingLegalEntity) => DBANameFieldSchema;
9
10
  export declare const mapIsUen: (taxInformation: TaxInformation[] | undefined, registrationNumber: string | undefined, country: CountryCode | undefined) => Partial<AdditionalInformationSchema>;
10
- export declare const mapLegalEntityToBusinessDetailsSchema: (legalEntity: ExistingLegalEntity | undefined, parentEntity?: ExistingLegalEntity) => BusinessDetailsSchema;
11
+ type MapLegalEntityParams = {
12
+ legalEntity: ExistingLegalEntity | undefined;
13
+ parentEntity?: ExistingLegalEntity;
14
+ taskType: TaskType;
15
+ };
16
+ export declare const mapLegalEntityToBusinessDetailsSchema: ({ legalEntity, parentEntity, taskType, }: MapLegalEntityParams) => BusinessDetailsSchema;
17
+ export {};
@@ -25,7 +25,6 @@ interface BuildRequiredFormsProps {
25
25
  };
26
26
  }
27
27
  export declare function buildRequiredForms({ config: { forms, requiredFields, optionalFields, isValid, problems, isSettingEnabled, accountHolder, legalEntityResponse, }, options, }: BuildRequiredFormsProps): FormModelWithValidity[];
28
- export declare const canSubmit: (data: BusinessDetailsSchema) => boolean;
29
28
  export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], t: TFunction<readonly ["common", "business"], undefined>, language: string, isExperimentEnabled: (key: ExperimentName) => boolean, version?: number) => {};
30
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, }: SubmitProps): Promise<void>;
31
30
  export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
@@ -1,7 +1,5 @@
1
1
  import type { LegalArrangement } from '../../../core/models/api/legal-arrangement';
2
2
  import type { Organization } from '../../../core/models/api/organization';
3
- import type { SoleProprietor } from '../../../core/models/api/sole-proprietor';
4
- import type { Trust } from '../../../core/models/api/trust';
5
3
  import type { Capability, CapabilityName } from '../../../core/models/api/capability';
6
4
  import { type LegalEntityType } from '../../../core/models/api/legal-entity-type';
7
5
  import type { TaxIdNumberType } from '../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
@@ -9,13 +7,6 @@ import type { CompanyNameAndCountrySchema } from '../../Shared/forms/CompanyName
9
7
  import { type TaskType } from '../../../stores/globalStore/taskTypes';
10
8
  import type { CountryCode } from '../../../types/datasets/country-code';
11
9
  export declare const countryToTaxInfoTypeMap: Record<string, TaxIdNumberType>;
12
- export declare const updateTaxInformation: <T extends Organization | SoleProprietor | Trust>({ taxId, country, exemptedFromTax, isUen, entity, }: {
13
- taxId: string;
14
- country: CountryCode;
15
- exemptedFromTax?: boolean;
16
- isUen?: boolean;
17
- entity: T;
18
- }, isNumberAbsentEnabled?: boolean) => T;
19
10
  export declare const getUpdatedCountryOfGoverningLaw: (nameAndCountry: CompanyNameAndCountrySchema) => CompanyNameAndCountrySchema;
20
11
  export declare const transformCountryOfGoverningLawToLegalEntity: (nameAndCountry: CompanyNameAndCountrySchema, organization: Organization | LegalArrangement) => Organization | LegalArrangement;
21
12
  export declare const isFinancialInformationRequired: (isFinancialInformationExperimentEnabled: boolean, taskType: TaskType, country: CountryCode, capabilities: Partial<Record<CapabilityName, Capability>> | undefined, legalEntityType: LegalEntityType | undefined) => "REQUIRED" | undefined;
@@ -1,3 +1,4 @@
1
+ import type { BusinessLineType } from '../../api/industryCodes/useIndustryCodes';
1
2
  import type { IndustryCodeFieldSchema } from '../Shared/fields/IndustryCodeField/types';
2
3
  import type { FormList } from '../../types/form';
3
4
  import type { SalesChannel, SalesChannelsFieldSchema } from './fields/SalesChannels/types';
@@ -29,3 +30,4 @@ export declare const businessLinesConfigurations: {
29
30
  };
30
31
  };
31
32
  export declare const businessLinesForms: FormList;
33
+ export declare const businessLineTypes: BusinessLineType[];
@@ -1,6 +1,7 @@
1
1
  import type { BusinessLinesResponse } from '../../../../../api/businessLines/businessLines.types';
2
- export declare const BusinessLineModal: ({ businessLine, setShowBusinessLineInfo, setAddingBusinessLines, }: {
2
+ export declare const BusinessLineModal: ({ businessLine, setShowBusinessLineInfo, setAddingBusinessLines, hideIndustryCode, }: {
3
3
  businessLine: BusinessLinesResponse;
4
4
  setShowBusinessLineInfo: (value: boolean) => void;
5
5
  setAddingBusinessLines: (value: boolean) => void;
6
+ hideIndustryCode: boolean;
6
7
  }) => import("preact/jsx-runtime").JSX.Element;
@@ -3,6 +3,7 @@ import type { BusinessLinesResponse } from '../../../api/businessLines/businessL
3
3
  import type { GetBusinessLines } from '../../../api/businessLines/useBusinessLines';
4
4
  import type { CreateBusinessLine } from '../../../api/businessLines/useCreateBusinessLine';
5
5
  import type { UpdateBusinessLine } from '../../../api/businessLines/useUpdateBusinessLines';
6
+ import type { IndustryCodesResponse } from '../../../api/industryCodes/industryCodes.types';
6
7
  import type { UserEvents } from '../../../core/user-events';
7
8
  import type { OuterFormLabels } from '../../../hooks/useForm/types';
8
9
  import type { TFunction } from '../../../../types';
@@ -19,6 +20,7 @@ export interface BuildRequiredFormsProps {
19
20
  optionalFields: Record<string, string[]> | undefined;
20
21
  isValid: Record<string, boolean>;
21
22
  problems: EntityProblems;
23
+ industryCodes?: IndustryCodesResponse;
22
24
  data: BusinessLinesSchema;
23
25
  };
24
26
  options?: {
@@ -26,8 +28,8 @@ export interface BuildRequiredFormsProps {
26
28
  };
27
29
  }
28
30
  export declare const formatBusinessLinesDataForSummary: (data: BusinessLinesSchema, labels: OuterFormLabels<BusinessLinesSchema>, t: TFunction<readonly ["businessLines", "common"], undefined>) => Partial<Record<keyof BusinessLinesSchema, Record<string, string | string[] | undefined>>>;
29
- export declare const buildRequiredForms: ({ config: { country, forms, requiredFields, optionalFields, isValid, problems, data }, options, }: BuildRequiredFormsProps) => import("../../../types/form").FormModelWithValidity[];
30
- export declare const mapBusinessLineToBusinessLineSchema: (selectedBusinessLine: Signal<BusinessLinesResponse | undefined>) => BusinessLinesSchema;
31
+ export declare const buildRequiredForms: ({ config: { country, forms, requiredFields, optionalFields, isValid, problems, data, industryCodes, }, options, }: BuildRequiredFormsProps) => import("../../../types/form").FormModelWithValidity[];
32
+ export declare const mapBusinessLineToBusinessLineSchema: (selectedBusinessLine: Signal<BusinessLinesResponse | undefined>, industryCodes: IndustryCodesResponse) => BusinessLinesSchema;
31
33
  export declare const submitBusinessLines: ({ userEvents, selectedBusinessLine, legalEntityId, data, createBusinessLine, fetchBusinessLines, updateBusinessLine, showToast, t, }: {
32
34
  userEvents?: UserEvents;
33
35
  selectedBusinessLine?: Signal<BusinessLinesResponse | undefined>;
@@ -2,8 +2,6 @@ import type { ValidatorRules } from '../../../utils/validation/types';
2
2
  import type { IndustryCodesFormSchema } from '../forms/IndustryCodesForm/types';
3
3
  import type { SalesChannelsFormSchema } from '../forms/SalesChannelsForm/types';
4
4
  import type { SctaFormSchema } from '../forms/SctaForm/types';
5
- export declare const URL_REGEX: RegExp;
6
- export declare const HAS_PROTOCOL_REGEX: RegExp;
7
5
  interface BusinessLinesValidators {
8
6
  industryCodesForm: ValidatorRules<IndustryCodesFormSchema>;
9
7
  salesChannelsForm: ValidatorRules<SalesChannelsFormSchema>;
@@ -4,32 +4,28 @@ import type { Individual } from '../../../../core/models/api/individual';
4
4
  import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
5
5
  import type { Organization } from '../../../../core/models/api/organization';
6
6
  import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../../core/models/api/source-of-funds';
7
- import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
8
7
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
9
- import type { TaskType } from '../../../../stores/globalStore/taskTypes';
10
8
  import type { CountryCode } from '../../../../types/datasets/country-code';
11
9
  import type { EntityProblems } from '../../../../types/errors/entity-problems';
10
+ import type { FormVerificationErrors } from '../../../../types/errors/form-verification-errors';
12
11
  import type { FormModel } from '../../../../types/form';
13
12
  import type { FormUtils } from '../../../../utils/formUtils';
14
13
  import type { ValidationRuleResult, ValidatorMode } from '../../../../utils/validation/types';
15
14
  import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
16
- export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSchema> {
15
+ export interface SourceOfFundsProps {
17
16
  activeForm?: FormModel;
18
17
  sourceOfFundsType?: SourceOfFundsCategoryType | undefined;
19
- forms?: FormModel[];
20
- problems?: EntityProblems;
21
- legalEntityId?: string;
22
- taskType?: TaskType;
18
+ data?: SourceOfFundsSchema;
23
19
  country: CountryCode;
24
20
  activeBusinessLine?: BusinessLinesType;
25
- onNext?(e: any, callbacks: any, isValid: any): void;
26
- onBack?(): void;
27
21
  }
28
22
  export interface SourceOfFundsSchema {
29
- sourceOfFundsType?: SourceOfFundsTypeSchema;
30
- additionalData?: SourceOfFundsAdditionalDataSchema;
23
+ sourceOfFundsType: SourceOfFundsTypeSchema;
24
+ additionalData: SourceOfFundsAdditionalDataSchema;
31
25
  }
32
- export interface SourceOfFundsDropinProps extends Omit<SourceOfFundsProps, 'legalEntityId'>, DropinProps {
26
+ export interface SourceOfFundsDropinProps extends DropinProps {
27
+ country: CountryCode;
28
+ problems?: EntityProblems;
33
29
  legalEntityResponse?: ExistingLegalEntity;
34
30
  capabilities?: CapabilityName[];
35
31
  onSubmit?(dataSubmitted: SourceOfFundsSchema): void;
@@ -54,23 +50,26 @@ export interface SourceOfFundsAdditionalDataSchema {
54
50
  lastName?: string;
55
51
  originatorType?: OriginatorTypeUnion;
56
52
  }
57
- export interface SourceOfFundsTypeProps extends BaseInnerFormProps<SourceOfFundsTypeSchema> {
53
+ export interface SourceOfFundsTypeProps {
58
54
  categories?: DataSet;
59
- defaultData?: SourceOfFundsSchema;
55
+ data?: SourceOfFundsTypeSchema;
56
+ errors?: Partial<Record<keyof SourceOfFundsTypeSchema, ValidationRuleResult | null>>;
57
+ valid?: Partial<Record<keyof SourceOfFundsTypeSchema, boolean>>;
58
+ fieldValidationErrors?: Partial<Record<keyof SourceOfFundsTypeSchema, boolean>>;
60
59
  }
61
- export interface SourceOfFundsAdditionalDataProps extends BaseInnerFormProps<SourceOfFundsAdditionalDataSchema> {
62
- defaultData?: SourceOfFundsSchema;
63
- sourceOfFundsType?: SourceOfFundsCategoryType | undefined;
60
+ export interface SourceOfFundsAdditionalDataProps {
61
+ fieldValidationErrors?: Partial<Record<keyof SourceOfFundsAdditionalDataSchema, boolean>>;
62
+ formVerificationErrors?: FormVerificationErrors;
64
63
  }
65
64
  export declare const additionalDataSchemaKeys: (keyof SourceOfFundsAdditionalDataSchema)[];
66
65
  export interface AdditionalDataProps {
67
66
  formUtils: FormUtils<SourceOfFundsAdditionalDataSchema>;
68
67
  handleChangeFor: (key: keyof SourceOfFundsAdditionalDataSchema, mode?: ValidatorMode) => (e: any) => void;
69
68
  data: SourceOfFundsAdditionalDataSchema;
70
- errors: Record<keyof SourceOfFundsAdditionalDataSchema, ValidationRuleResult | null>;
71
- valid: Record<keyof SourceOfFundsAdditionalDataSchema, boolean>;
72
- fieldProblems: Record<keyof SourceOfFundsAdditionalDataSchema, boolean>;
73
- handleAmountChange: (key: string) => (e: any) => void;
69
+ errors: Partial<Record<keyof SourceOfFundsAdditionalDataSchema, ValidationRuleResult | null>>;
70
+ valid: Partial<Record<keyof SourceOfFundsAdditionalDataSchema, boolean>>;
71
+ fieldProblems: Partial<Record<keyof SourceOfFundsAdditionalDataSchema, boolean>>;
72
+ handleAmountChange: (key: 'currency' | 'amount') => (e: any) => void;
74
73
  categories?: DataSet;
75
74
  }
76
75
  export type OriginatorTypeUnion = 'individual' | 'organization';
@@ -6,7 +6,7 @@ import type { BusinessLinesServiceType, BusinessLinesType, SourceOfFundsCategory
6
6
  import type { VerificationError } from '../../../../core/models/api/verification-error';
7
7
  import type { NsTranslationKey, TFunction } from '../../../../../types';
8
8
  import type { SOFFinancierModalInputError } from './SOFAdditionalData/SOFFinancierModal';
9
- import type { OriginatorTypeUnion, SOFOriginatorPayload, SourceOfFundsAdditionalDataSchema, SourceOfFundsTypeSchema } from './types';
9
+ import type { OriginatorTypeUnion, SOFOriginatorPayload, SourceOfFundsAdditionalDataSchema, SourceOfFundsSchema, SourceOfFundsTypeSchema } from './types';
10
10
  export declare const allowedCurrencies: SelectItem[];
11
11
  export declare const SOF_CHARACTERS_LIMIT = 200;
12
12
  export declare const TODAY_DATE: string;
@@ -27,7 +27,10 @@ export declare const sourceOfFundsForms: {
27
27
  readonly fields: string[];
28
28
  };
29
29
  };
30
- export declare const sourceOfFundsRequiredFields: Record<string, string[]>;
30
+ export declare const getSourceOfFundsRequiredFields: (data: SourceOfFundsSchema | undefined) => {
31
+ sourceOfFundsType: "type"[];
32
+ additionalData: (keyof SourceOfFundsAdditionalDataSchema)[];
33
+ };
31
34
  export declare const getSourceOfFundsRequiredForms: (data?: SourceOfFundsTypeSchema) => {
32
35
  [k: string]: {
33
36
  readonly formId: "sourceOfFundsType";
@@ -1,7 +1,7 @@
1
- import type { IndividualSchema } from '../../Individual/forms/Individual/types';
1
+ import type { IndividualOnfidoSchema } from '../../Individual/forms/Individual.types';
2
2
  export interface CreateIndividualComponentProps {
3
3
  legalEntityId: string;
4
- onSubmitSuccess?(data: IndividualSchema): void;
4
+ onSubmitSuccess?(data: IndividualOnfidoSchema): void;
5
5
  modalView?: boolean;
6
6
  onClose?(): void;
7
7
  onUnmount?(): void;
@@ -2,7 +2,7 @@ import type { MultiSelectOnChangeProps, SingleSelectOnChangeProps } from '../../
2
2
  import type { Translatable } from '../../../../../types';
3
3
  import type { CountryCode } from '../../../../types/datasets/country-code';
4
4
  import type { FormUtils } from '../../../../utils/formUtils';
5
- import type { AdditionalIdentityInfoSchema } from '../../forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.types';
5
+ import type { AdditionalIdentityInfoSchema } from '../../forms/AdditionalPersonalDetails/Identity/Identity.types';
6
6
  import type { IdentityNumberSchema } from '../IdentityNumber/type';
7
7
  export interface DriversLicenseSchema {
8
8
  idNumber?: IdentityNumberSchema['idNumber'];
@@ -2,10 +2,11 @@ import type { VerifyIdNumberCall } from '../../../../api/entityVerifications/ent
2
2
  import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
3
3
  import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
4
4
  import type { AsyncValidatorRules } from '../../../../utils/validation/types';
5
- import type { IdentitySchema } from '../../forms/Individual/PersonalDetails/Identity/types';
6
- import type { PersonalDetailsSchema } from '../../forms/Individual/PersonalDetails/types';
5
+ import type { AdditionalPersonalDetailsSchema } from '../../forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types';
6
+ import type { IdentitySchema } from '../../forms/AdditionalPersonalDetails/Identity/Identity.types';
7
+ import type { BasicDetailsSchema } from '../../forms/BasicDetails/BasicDetails.types';
7
8
  import type { IdentityNumberSchema } from './type';
8
- export declare const getAsyncIdNumberValidationRule: (verifyIdNumber: VerifyIdNumberCall, personalDetails?: PersonalDetailsSchema) => AsyncValidatorRules<IdentityNumberSchema>;
9
+ export declare const getAsyncIdNumberValidationRule: (verifyIdNumber: VerifyIdNumberCall, additionalPersonalDetails?: AdditionalPersonalDetailsSchema, basicDetails?: BasicDetailsSchema) => AsyncValidatorRules<IdentityNumberSchema>;
9
10
  export interface FieldConfigParams {
10
11
  idNumberType?: IndividualIdNumberType | 'idNumber';
11
12
  }
@@ -0,0 +1,29 @@
1
+ import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
2
+ import type { TranslationKey } from '../../../../../types';
3
+ import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
+ import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
5
+ import type { JpAddressSchema } from '../../../Shared/forms/Address/localized/jp/jpAddressSchema';
6
+ import type { AddressSchema } from '../../../Shared/forms/Address/types';
7
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
8
+ import type { CountryCode } from '../../../../types/datasets/country-code';
9
+ import type { ValidationRuleResults } from '../../../../utils/validation/types';
10
+ import type { IdentityNumberSchema } from '../../fields/IdentityNumber/type';
11
+ import type { AdditionalIdentityInfoSchema } from './Identity/Identity.types';
12
+ export interface AdditionalPersonalDetailsSchema extends AddressSchema, JpAddressSchema, IdentityNumberSchema, TaxInformationFieldSchema, AdditionalIdentityInfoSchema {
13
+ birthDate?: string;
14
+ nationality?: CountryCode;
15
+ placeOfBirth?: string;
16
+ }
17
+ export interface AdditionalPersonalDetailsProps extends BaseInnerFormProps<AdditionalPersonalDetailsSchema> {
18
+ country: CountryCode;
19
+ taskType: TaskType;
20
+ onResidencyCountryChange?(country: string): void;
21
+ }
22
+ export interface IdentityProps {
23
+ country: CountryCode;
24
+ additionalPersonalDetails: AdditionalPersonalDetailsProps;
25
+ errors: ValidationRuleResults<IdentityNumberSchema>;
26
+ idNumberType?: IndividualIdNumberType;
27
+ registrationNumberType?: TranslationKey;
28
+ handleFieldChange: any;
29
+ }
@@ -1,6 +1,6 @@
1
- import type { BaseInnerFormProps } from '../../../../../../hooks/useForm/types';
2
- import type { IndividualIdNumberType } from '../../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
3
- import type { IdentityNumberSchema } from '../../../../fields/IdentityNumber/type';
1
+ import type { BaseInnerFormProps } from '../../../../../hooks/useForm/types';
2
+ import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
3
+ import type { IdentityNumberSchema } from '../../../fields/IdentityNumber/type';
4
4
  export interface AdditionalIdentityInfoSchema {
5
5
  typeOfIdentity?: IndividualIdNumberType;
6
6
  issuerState?: string;
@@ -1,5 +1,5 @@
1
- import type { Translatable } from '../../../../../../../../types';
2
- import type { IndividualIdNumberOption, IndividualIdNumberType } from '../../../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
1
+ import type { Translatable } from '../../../../../../../types';
2
+ import type { IndividualIdNumberOption, IndividualIdNumberType } from '../../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
3
3
  export interface TypeOfIdentityProps {
4
4
  availableIdentityTypesOptions: readonly IndividualIdNumberOption[];
5
5
  selectedIdentityType: IndividualIdNumberType | undefined;
@@ -0,0 +1,4 @@
1
+ import type { CountryCode } from '../../../../../types/datasets/country-code';
2
+ import type { ValidatorRules } from '../../../../../utils/validation/types';
3
+ import type { IdentitySchema } from './Identity.types';
4
+ export declare const identityValidationRules: (country: CountryCode) => ValidatorRules<IdentitySchema>;
@@ -1,11 +1,11 @@
1
- import type { ExperimentName } from '../../../../../context/ExperimentContext/types';
2
- import type { BooleanSettingName } from '../../../../../context/SettingsContext/types';
3
- import type { Language } from '../../../../../language/Language';
4
- import type { IndividualIdNumberType, TaxIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
5
- import { type TaskType } from '../../../../../stores/globalStore/taskTypes';
6
- import type { CountryCode } from '../../../../../types/datasets/country-code';
7
- import type { FormVerificationErrors } from '../../../../../types/errors/form-verification-errors';
8
- import type { ValidatorRules } from '../../../../../utils/validation/types';
1
+ import type { ExperimentName } from '../../../../context/ExperimentContext/types';
2
+ import type { BooleanSettingName } from '../../../../context/SettingsContext/types';
3
+ import type { Language } from '../../../../language/Language';
4
+ import type { IndividualIdNumberType, TaxIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
5
+ import { type TaskType } from '../../../../stores/globalStore/taskTypes';
6
+ import type { CountryCode } from '../../../../types/datasets/country-code';
7
+ import type { FormVerificationErrors } from '../../../../types/errors/form-verification-errors';
8
+ import type { ValidatorRules } from '../../../../utils/validation/types';
9
9
  import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails.types';
10
10
  export declare const additionalPersonalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, i18n, taxIdNumberType, }: {
11
11
  country: CountryCode;