@adyen/kyc-components 4.2.0-beta.3 → 4.3.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BcThpdef.js → AcceptTermsOfServiceComponent-DHOEbKRw.js} +30 -25
  2. package/dist/{AccountSetupRejected-D4ZUKySq.js → AccountSetupRejected-BtePboYl.js} +2 -5
  3. package/dist/{ActionBar-_kxaPjuA.js → ActionBar-CQZiRESM.js} +2 -2
  4. package/dist/{Address-Bp3gAZwV.js → Address-CZsphDQn.js} +11 -13
  5. package/dist/{Avatar-4kQAjsiY.js → Avatar-umWLtbNh.js} +2 -2
  6. package/dist/{BusinessFinancingComponent-s7ax4ND-.js → BusinessFinancingComponent-Bq1XvxN0.js} +6 -6
  7. package/dist/{BusinessFinancingDropin-ZEaog4sO.js → BusinessFinancingDropin-DGNDmZPX.js} +200 -123
  8. package/dist/{BusinessFinancingPage-9bjno-km.js → BusinessFinancingPage-B3Mppy3e.js} +5 -5
  9. package/dist/{BusinessTypeSelectionPage-BNRQeYZz.js → BusinessTypeSelectionPage-DFwTrEj2.js} +9 -9
  10. package/dist/{Checkbox-BH0zIKqJ.js → Checkbox-grZtL86z.js} +2 -2
  11. package/dist/{Confirm-Dx4QYQUB.js → Confirm-gSH15YjO.js} +3 -3
  12. package/dist/{ConstitutionalDocument-CMQlemXU.js → ConstitutionalDocument-C1ho_WGb.js} +39 -22
  13. package/dist/{ContactDetails-Dm7hH34-.js → ContactDetails-beFUwzWU.js} +6 -9
  14. package/dist/{ContextGuidance-jojldspk.js → ContextGuidance-DN9_2r5g.js} +2 -3
  15. package/dist/{CountryField-CRP1LtfT.js → CountryField-CK9UwJHn.js} +4 -6
  16. package/dist/{CreateIndividualComponent-jL7Ta2xx.js → CreateIndividualComponent-TaKBME08.js} +7 -7
  17. package/dist/{CreateTransferInstrumentComponent-BAUyoBDg.js → CreateTransferInstrumentComponent-WGgDfmsE.js} +4 -4
  18. package/dist/{Currency-q_fri27x.js → Currency-DEgTOLD3.js} +7 -7
  19. package/dist/{CustomerSupport-g6_dn2eL.js → CustomerSupport-CByUZkgX.js} +10 -11
  20. package/dist/{DebugModal-8M6rDSjI.js → DebugModal-1rEVOPzu.js} +8 -9
  21. package/dist/{DecisionMakerDetailsPage-BvJBgflk.js → DecisionMakerDetailsPage-dB5GuLx1.js} +9 -9
  22. package/dist/{DecisionMakers-Dgu4mm-t.js → DecisionMakers-DS14GhtC.js} +23 -33
  23. package/dist/{Dropzone-C0r5MN2c.js → Dropzone-CI7gyNBs.js} +4 -4
  24. package/dist/{EmbeddedStatus-CAwsc7gn.js → EmbeddedStatus-BdQ39yKX.js} +3 -3
  25. package/dist/{EndStateLayout-DvlbjE6I.js → EndStateLayout-CmNueoBE.js} +2 -2
  26. package/dist/{EntityAssociation-B6BboL-v.js → EntityAssociation-CCExGpww.js} +5 -6
  27. package/dist/{EntityGuidanceStatus-Bz15IrlX.js → EntityGuidanceStatus-DYkFfoBr.js} +4 -4
  28. package/dist/{ErrorPanel-BkXUK_F0.js → ErrorPanel-CmGFPsaG.js} +2 -3
  29. package/dist/{Field-COLdO9jz.js → Field-BuHaTPvn.js} +3 -3
  30. package/dist/{FormNavigation-TCli8Qsa.js → FormNavigation-B4rGWlDy.js} +3 -3
  31. package/dist/{FormWrapper-B3xDHdGU.js → FormWrapper-BC0uqTgd.js} +9 -9
  32. package/dist/{Image-BlWYOlMz.js → Image-CLQ4EuPK.js} +2 -2
  33. package/dist/{Individual.rules-DRGsKUar.js → Individual.rules-vC5TbPZA.js} +8 -8
  34. package/dist/{IndividualDropin-BrpwLdZl.js → IndividualDropin-DvQ-z4rT.js} +177 -132
  35. package/dist/{InputDate-BvK1kvDw.js → InputDate-DRD072Dy.js} +2 -2
  36. package/dist/{InputText-BjedS9h7.js → InputText-BUnL2S1h.js} +2 -2
  37. package/dist/{Introduction-CQ4hrI5j.js → Introduction-DaWEcxk1.js} +4 -4
  38. package/dist/{JpAddress-g76WbAjI.js → JpAddress-DLD5oFVR.js} +11 -12
  39. package/dist/{LandingLayout-DRNCyVO_.js → LandingLayout-DtrCsF3s.js} +2 -3
  40. package/dist/{LegalCompanyNameField-BapKH1n2.js → LegalCompanyNameField-D4TnW4PU.js} +6 -6
  41. package/dist/{LegalRepresentativeDetailsPage-9fmLU5fh.js → LegalRepresentativeDetailsPage-jZLVn4-D.js} +6 -6
  42. package/dist/{Link-wT7wXn7z.js → Link-xCQbA-9e.js} +2 -2
  43. package/dist/{ListItem-DHyZrVrc.js → ListItem-DSqo8-K1.js} +3 -3
  44. package/dist/{LoaderWrapper-DAGc3KzI.js → LoaderWrapper-7vOgmEsk.js} +2 -2
  45. package/dist/ManageIndividualComponent-CCIhrOiG.js +46 -0
  46. package/dist/{ManageTermsOfServiceComponent-DqurOA43.js → ManageTermsOfServiceComponent-CD8xsVbW.js} +5 -5
  47. package/dist/{ManageTransferInstrumentComponent-DkaY6uos.js → ManageTransferInstrumentComponent-QxybfaMB.js} +12 -15
  48. package/dist/{MaskedInput-CLyDZ-xK.js → MaskedInput-Bg8sJ8Sz.js} +5 -5
  49. package/dist/{MaybeModal-DpRek-Nn.js → MaybeModal-dbukcqGt.js} +3 -3
  50. package/dist/{Modal-CZtp1HSI.js → Modal-C5NXMpqk.js} +2 -2
  51. package/dist/{Name-Bxi6C5rE.js → Name-DyGu-N0I.js} +5 -5
  52. package/dist/{OnboardingDropinComponent-B5HuMN3c.js → OnboardingDropinComponent-B_W8eeJV.js} +59 -61
  53. package/dist/{PayoutDetailsDropin-BW7IR1A1.js → PayoutDetailsDropin-C6FSD0nU.js} +63 -61
  54. package/dist/{RadioGroup-D4DN0p1B.js → RadioGroup-BP8CNtf9.js} +2 -2
  55. package/dist/{RadioGroupCard-CMUvyZ1d.js → RadioGroupCard-DUxGxMW2.js} +2 -2
  56. package/dist/{Review-DLsW7v8W.js → Review-DdowS_67.js} +6 -8
  57. package/dist/{RootBusinessDetailsPage-C9AxMbHN.js → RootBusinessDetailsPage-DGaPZVX3.js} +4 -4
  58. package/dist/{RootBusinessLinesPage-YgSJVVLj.js → RootBusinessLinesPage-RUqhW4fz.js} +28 -34
  59. package/dist/{RootIndividualDetailsPage-YpZEbgBw.js → RootIndividualDetailsPage-CC5xZsrC.js} +8 -8
  60. package/dist/{Select-DWCeyfPK.js → Select-DtconBUQ.js} +4 -4
  61. package/dist/{SignPCIComponent-2w7O6g_D.js → SignPCIComponent-_IAj-hon.js} +17 -16
  62. package/dist/{SingpassSelection-CbzkPGfw.js → SingpassSelection-WatLq--G.js} +6 -6
  63. package/dist/{SoleProprietorshipPage-DeoeTy76.js → SoleProprietorshipPage-ChABh93Y.js} +4 -4
  64. package/dist/{SourceOfFundsPage-CX9gODrt.js → SourceOfFundsPage-CgLOgUd4.js} +37 -37
  65. package/dist/{StepProgressIndicator-DxRiADdo.js → StepProgressIndicator-Dc7Tml_I.js} +1 -1
  66. package/dist/{StoreProvider-Cs2w6BiW.js → StoreProvider-C-jrVTWp.js} +873 -206
  67. package/dist/{StructuredList-BNLhk_zV.js → StructuredList-Bh1vlAFE.js} +1 -1
  68. package/dist/{Summary-DARCKKrx.js → Summary-BEaMvlq_.js} +7 -8
  69. package/dist/{TaxInformationField-D5AraebA.js → TaxInformationField-B5-jJ7Eb.js} +186 -210
  70. package/dist/{TaxReportingDropin-WHWPBDD8.js → TaxReportingDropin-CrIW9iYH.js} +15 -17
  71. package/dist/{TextArea-DAdUD93W.js → TextArea-j1AG1rrF.js} +2 -2
  72. package/dist/{TileGroup-CVt7AK6N.js → TileGroup-CRXdfE4_.js} +3 -3
  73. package/dist/{TrustDetailsPage-BnO3yn7V.js → TrustDetailsPage-C77SN50n.js} +34 -48
  74. package/dist/{TrustMemberCompanyPage-h559kWH3.js → TrustMemberCompanyPage-BJ8bGLiS.js} +5 -5
  75. package/dist/{TrustMemberIndividualPage-CqiHdKg7.js → TrustMemberIndividualPage-BnXdAysv.js} +6 -6
  76. package/dist/{TrustMemberRoleAndTypePage-Dwknlfme.js → TrustMemberRoleAndTypePage-Dl3NWfe-.js} +21 -23
  77. package/dist/{TrustMembersOverview-B4YCHAVc.js → TrustMembersOverview-DY1Gmewy.js} +10 -14
  78. package/dist/{UnincorporatedPartnershipIndividualPage-ChYM-5eW.js → UnincorporatedPartnershipIndividualPage-DI_gEl_-.js} +6 -6
  79. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CxBPHmpw.js → UnincorporatedPartnershipMemberCompanyPage-CHueVUrD.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CYSxanrA.js → UnincorporatedPartnershipMemberRoleAndTypePage-m8_d5tqB.js} +11 -12
  81. package/dist/{UnincorporatedPartnershipMembersOverview-CwP-v2Mz.js → UnincorporatedPartnershipMembersOverview-D-xD5eFQ.js} +7 -11
  82. package/dist/{VerificationErrorAlert-eQMPpWDF.js → VerificationErrorAlert-DGCWu0L2.js} +2 -3
  83. package/dist/{ViewVerificationStatusComponent-D6E-l2aA.js → ViewVerificationStatusComponent--iI2ei_a.js} +3 -4
  84. package/dist/{accountHolderUtils-DeGjw3VP.js → accountHolderUtils-C2OlbJ51.js} +2 -2
  85. package/dist/adyen-business-financing.js +3 -3
  86. package/dist/adyen-individual-configuration.js +3 -3
  87. package/dist/adyen-individual-status.js +3 -3
  88. package/dist/adyen-invited-decision-maker.js +86 -16
  89. package/dist/adyen-kyc-components.js +19 -47
  90. package/dist/adyen-onboarding.js +3 -3
  91. package/dist/adyen-terms-of-service-management.js +3 -3
  92. package/dist/adyen-terms-of-service-status.js +3 -3
  93. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  94. package/dist/adyen-transfer-instrument-management.js +3 -3
  95. package/dist/adyen-verification-status.js +3 -3
  96. package/dist/{bafinUtils-KqAv4HF4.js → bafinUtils-C297BWva.js} +2 -2
  97. package/dist/bg-BG-BNRJzjXu.js +13 -0
  98. package/dist/{bg-BG-K7feXvEc.js → bg-BG-DbFzLQK7.js} +1 -2
  99. package/dist/{commonValidators-lK3J4Pp5.js → commonValidators-CCjmpuF-.js} +2 -2
  100. package/dist/cs-CZ-BMnoWiIi.js +13 -0
  101. package/dist/{cs-CZ-CYQO0o5V.js → cs-CZ-CBuNZ7UO.js} +1 -2
  102. package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
  103. package/dist/da-DK-D17SWJin.js +13 -0
  104. package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
  105. package/dist/de-DE-DC90bn2y.js +13 -0
  106. package/dist/{dropinUtils-BP49oC-E.js → dropinUtils-BZzBJOLK.js} +4 -4
  107. package/dist/el-GR-B2xt_Hn1.js +13 -0
  108. package/dist/{el-GR-DHNlnOwf.js → el-GR-BvRBuezU.js} +1 -2
  109. package/dist/{en-US-D1sB335h.js → en-US-BtFr9JRa.js} +10 -1
  110. package/dist/en-US-CfIkXJPX.js +13 -0
  111. package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
  112. package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
  113. package/dist/es-ES-CzG-lilL.js +13 -0
  114. package/dist/et-EE-B7OzU-54.js +13 -0
  115. package/dist/{et-EE-BQixWUEV.js → et-EE-CksV5_e1.js} +1 -2
  116. package/dist/fi-FI-DooPgPb1.js +13 -0
  117. package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
  118. package/dist/{formUtils-DXsZZezg.js → formUtils-B4IA171l.js} +3 -18
  119. package/dist/fr-FR-29mQrnro.js +13 -0
  120. package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
  121. package/dist/{getName-CnH-XZ-0.js → getName-ff7GRCPB.js} +2 -2
  122. package/dist/{getProblemsForEntity-By7SKsmj.js → getProblemsForEntity-BawudFMK.js} +2 -2
  123. package/dist/hr-HR-BFu1_Xrc.js +13 -0
  124. package/dist/{hr-HR-BynZTNSB.js → hr-HR-CKZ_yuXC.js} +1 -2
  125. package/dist/{hu-HU-BtRIDozk.js → hu-HU-BEV8uVRt.js} +1 -2
  126. package/dist/hu-HU-nf030gFT.js +13 -0
  127. package/dist/{iframeWidget-DjhbmseH.js → iframeWidget-CTg-yqbt.js} +4 -4
  128. package/dist/{isEmpty-DKYWTFsj.js → isEmpty-Cu6FSL8p.js} +2 -2
  129. package/dist/it-IT-CToDWXlu.js +13 -0
  130. package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
  131. package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
  132. package/dist/ja-JP-BkAEknQ-.js +13 -0
  133. package/dist/{japanSupportUtils-D0DlRSnN.js → japanSupportUtils-Cti0IcPz.js} +2 -2
  134. package/dist/{localizeDateString-DFvjNZA-.js → localizeDateString-0tXkduO2.js} +2 -2
  135. package/dist/{lt-LT-2BMif2Bk.js → lt-LT-CK0t2AVY.js} +1 -2
  136. package/dist/lt-LT-DxzEdyVV.js +13 -0
  137. package/dist/lv-LV-D-j-4Dao.js +13 -0
  138. package/dist/{lv-LV-CHdEDRVO.js → lv-LV-JvlzK9X-.js} +1 -2
  139. package/dist/{mapExistingFile-BCvrQOQa.js → mapExistingFile-DKT0jbo0.js} +4 -4
  140. package/dist/mapJpAddressSchemaToAddressLocalizations-DQu3DXe4.js +88 -0
  141. package/dist/{mapLegalEntityToIndividualSchema-p_QAp6yM.js → mapLegalEntityToIndividualSchema-ZmAAvk9K.js} +40 -42
  142. package/dist/{mapTransferInstrumentToPayoutAccount-ZzCG5sdH.js → mapTransferInstrumentToPayoutAccount-BogO6kRJ.js} +2 -2
  143. package/dist/nl-NL-C8CEGqAc.js +13 -0
  144. package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
  145. package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
  146. package/dist/no-NO-DbVtqyON.js +13 -0
  147. package/dist/{patternValidators-D3ilblqn.js → patternValidators-BDuN6yoZ.js} +2 -2
  148. package/dist/{pl-PL-BkGihn5Q.js → pl-PL-B5c0NNHB.js} +1 -2
  149. package/dist/pl-PL-Bxtudsvi.js +13 -0
  150. package/dist/{process-field-configurations-gWPqA4wV.js → process-field-configurations-CPAL_-Z4.js} +4 -4
  151. package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
  152. package/dist/pt-BR-CL4JYBNe.js +13 -0
  153. package/dist/{pt-PT-BfL7qUzo.js → pt-PT-09L8XznW.js} +1 -2
  154. package/dist/pt-PT-C-OZtnUM.js +13 -0
  155. package/dist/{resolveEnvironment--0u8n19D.js → resolveEnvironment-DJYy04Zt.js} +5 -5
  156. package/dist/{ro-RO-C2yBVFht.js → ro-RO-D7-7tmTR.js} +1 -2
  157. package/dist/ro-RO-Dq1NTg-A.js +13 -0
  158. package/dist/{roleMetadata-DWItqtcL.js → roleMetadata-CsQgP06-.js} +3 -3
  159. package/dist/sk-SK-CMvUjDgW.js +13 -0
  160. package/dist/{sk-SK-C74EF23u.js → sk-SK-D3tsz1Pg.js} +1 -2
  161. package/dist/sl-SI-BslBqaxO.js +13 -0
  162. package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
  163. package/dist/style.css +1877 -1856
  164. package/dist/styles-CLV89_hH.js +1877 -1856
  165. package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
  166. package/dist/sv-SE-Dm_WHV9V.js +13 -0
  167. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
  168. package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +7 -0
  169. package/dist/types/api/queryKeys.d.ts +2 -1
  170. package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
  171. package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
  172. package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
  173. package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
  174. package/dist/types/components/Business/forms/rules.d.ts +4 -1
  175. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
  176. package/dist/types/components/Business/utils/submit.d.ts +1 -1
  177. package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
  178. package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
  179. package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
  180. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
  181. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -3
  182. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
  183. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
  184. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
  185. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
  186. package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
  187. package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
  188. package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
  189. package/dist/types/components/Individual/forms/Individual.d.ts +7 -7
  190. package/dist/types/components/Individual/forms/Individual.rules.d.ts +3 -3
  191. package/dist/types/components/Individual/forms/Individual.types.d.ts +13 -5
  192. package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
  193. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
  194. package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
  195. package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
  196. package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
  197. package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
  198. package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
  199. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  200. package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
  201. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
  202. package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
  203. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
  204. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
  205. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
  206. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
  207. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
  208. package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
  209. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  210. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
  211. package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
  212. package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
  213. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  214. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
  215. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
  216. package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
  217. package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
  218. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +8 -14
  219. package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
  220. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
  221. package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
  222. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  223. package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
  224. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  225. package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
  226. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  227. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  228. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
  229. package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
  230. package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
  231. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
  232. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  233. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
  234. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
  235. package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
  236. package/dist/types/context/ExperimentContext/types.d.ts +1 -2
  237. package/dist/types/context/StateContext/types.d.ts +2 -2
  238. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
  239. package/dist/types/hooks/useForm/types.d.ts +0 -3
  240. package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
  241. package/dist/types/language/types.d.ts +1 -1
  242. package/dist/types/language/utils.d.ts +3 -2
  243. package/dist/types/stores/formState.d.ts +2 -2
  244. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  245. package/dist/types/utils/fieldConfigurations.d.ts +5 -5
  246. package/dist/types/utils/formUtils.d.ts +2 -4
  247. package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
  248. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
  249. package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
  250. package/dist/{types-Bsq90MtZ.js → types-CEookCt2.js} +2 -2
  251. package/dist/types-CQ2p58-6.js +36 -0
  252. package/dist/{types-zvl4yaK4.js → types-Ccyga0T3.js} +2 -2
  253. package/dist/{types-DS0jcRWy.js → types-D6yU8_jd.js} +2 -2
  254. package/dist/{types-BW4HQI5X.js → types-yb-6qrgr.js} +2 -3
  255. package/dist/unincorporated-partnership-D8XzcFAz.js +17 -0
  256. package/dist/{useAssociatedLegalEntity-D1QAjxfz.js → useAssociatedLegalEntity-DxIrdCiW.js} +2 -2
  257. package/dist/{useBusinessDetailsData-DA8ZAoqM.js → useBusinessDetailsData-B-lAYrsg.js} +176 -192
  258. package/dist/{useBusinessLines-ig6N-3bv.js → useBusinessLines-Csvpr85-.js} +2 -2
  259. package/dist/{useCanSeeIntroduction-DIzzcbtH.js → useCanSeeIntroduction-CtoZS8gv.js} +3 -3
  260. package/dist/{useCreateLegalEntity-BlPIg7bR.js → useCreateLegalEntity-CRmpSW-p.js} +2 -2
  261. package/dist/{useDataMissingRemediations-awdHHpxL.js → useDataMissingRemediations-DKYVGUPb.js} +2 -2
  262. package/dist/{useDeleteTransferInstrument-BLCncQUW.js → useDeleteTransferInstrument-Dbt3iSDq.js} +3 -3
  263. package/dist/{useForm-DeH2DfkH.js → useForm-PNo1-TUg.js} +3 -3
  264. package/dist/{useFormContext-BoD6vfPh.js → useFormContext-DZ0JzOzl.js} +9 -8
  265. package/dist/{useGlobalData-BX6vERjU.js → useGlobalData-DkxLk7lN.js} +2 -2
  266. package/dist/{useMultiForm-BpbxAenV.js → useMultiForm-BKHh9pIa.js} +4 -4
  267. package/dist/{useNavigate-_B6wPlU_.js → useNavigate-CIa35xrx.js} +30 -30
  268. package/dist/{useOnboardingStatus-f-bbvzT0.js → useOnboardingStatus-UlcW0uJt.js} +2 -2
  269. package/dist/{usePciQuestionnaireList-uOAcvbaD.js → usePciQuestionnaireList-DuGLuR49.js} +2 -2
  270. package/dist/{useSalesChannels-BaBwQqcP.js → useSalesChannels-Dce6D7J1.js} +4 -4
  271. package/dist/{useScenarios-BJJvml-j.js → useScenarios-HttV-8Oo.js} +2 -2
  272. package/dist/{useTaskStatus-1tjqSb4D.js → useTaskStatus-DNhqpQ2D.js} +2 -2
  273. package/dist/{useTermsOfServiceStatus-B3VyH-O5.js → useTermsOfServiceStatus-CmMOe9uh.js} +2 -2
  274. package/dist/{useToastContext-D06xzYOV.js → useToastContext-pGIuUtOK.js} +2 -2
  275. package/dist/{useTrustMembers-BKqlPqX9.js → useTrustMembers-BVMLWQPp.js} +4 -4
  276. package/dist/{useUnincorporatedPartnershipMembers-DXBAF3-e.js → useUnincorporatedPartnershipMembers-lNQMZi00.js} +5 -5
  277. package/dist/{useUpdateBusinessLines-DKXhqYCR.js → useUpdateBusinessLines-D5dzDvDz.js} +5 -5
  278. package/dist/{useUpdateLegalEntity-Ci7INf21.js → useUpdateLegalEntity-Zci5El_5.js} +3 -3
  279. package/dist/{utils-CHfAVbD1.js → utils-BBCW8T5n.js} +2 -2
  280. package/dist/{utils-qZ76EKjf.js → utils-DO61bZBE.js} +2 -2
  281. package/dist/{utils-BTirG8oU.js → utils-DW097Fth.js} +2 -2
  282. package/dist/{utils-C6Jnurmx.js → utils-DmGPdHLa.js} +3 -3
  283. package/dist/{utils-BQnTjqYC.js → utils-LSf8dbhe.js} +5 -5
  284. package/dist/{validate-CGRP-XKK.js → validate-CqF9k0Xk.js} +3 -3
  285. package/dist/{validate-WROT-SMP.js → validate-H0lJr72L.js} +2 -2
  286. package/dist/{validationError-DGhgpBkU.js → validationError-Cg6KszQD.js} +3 -3
  287. package/package.json +28 -25
  288. package/dist/Accordion-Cqu7QS2u.js +0 -88
  289. package/dist/Alert-DdvR5JXz.js +0 -169
  290. package/dist/DropinLayout-CBP_cHLC.js +0 -17
  291. package/dist/Header-BsGesDVP.js +0 -83
  292. package/dist/ManageIndividualComponent-BvEUZxYS.js +0 -46
  293. package/dist/TaskVerificationStatus-CLNmwFAF.js +0 -129
  294. package/dist/bg-BG-6XzbmxcW.js +0 -13
  295. package/dist/cs-CZ-C6vEQ8P9.js +0 -13
  296. package/dist/da-DK-DzcTI92X.js +0 -13
  297. package/dist/datasetUtil-BHQp0-xL.js +0 -58
  298. package/dist/de-DE-dPfrbCii.js +0 -13
  299. package/dist/el-GR-Dazirlmt.js +0 -13
  300. package/dist/en-US-cVpRgdC8.js +0 -13
  301. package/dist/es-ES--IvNed_Q.js +0 -13
  302. package/dist/et-EE-CsTXSlnY.js +0 -13
  303. package/dist/fi-FI-BUixKfXH.js +0 -13
  304. package/dist/fr-FR-BM-qNLci.js +0 -13
  305. package/dist/hr-HR-BF74vdPD.js +0 -13
  306. package/dist/hu-HU-DYhMVR_c.js +0 -13
  307. package/dist/it-IT-D63gRTDc.js +0 -13
  308. package/dist/ja-JP-DL0IjTzn.js +0 -13
  309. package/dist/lt-LT-BX8dOAzK.js +0 -13
  310. package/dist/lv-LV-dA8yYdKe.js +0 -13
  311. package/dist/mapJpAddressSchemaToAddressLocalizations-CH7_92jG.js +0 -162
  312. package/dist/nl-NL-KQ6bciOb.js +0 -13
  313. package/dist/no-NO-Ds3VioxT.js +0 -13
  314. package/dist/pl-PL-BgbxWHGE.js +0 -13
  315. package/dist/pt-BR-Ct4s4jXV.js +0 -13
  316. package/dist/pt-PT-DBEsmXQX.js +0 -13
  317. package/dist/ro-RO-C00Ig8CL.js +0 -13
  318. package/dist/sk-SK-BbJWayDh.js +0 -13
  319. package/dist/sl-SI-hxwQIw_i.js +0 -13
  320. package/dist/sv-SE-0PQ-U1u6.js +0 -13
  321. package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
  322. package/dist/useDataset-D9eSt03k.js +0 -76
  323. package/dist/useSetting-BWKORbmz.js +0 -19
@@ -1,4 +1,4 @@
1
1
  import type { ProviderExtractionResponse } from '../../../../api/idVerificationProviders/idVerificationProviders.types';
2
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
- import type { IndividualOnfidoSchema } from '../Individual.types';
4
- export declare const mapExtractionResultToSchema: (result: ProviderExtractionResponse, restrictCountryOfResidenceTo?: CountryCode[]) => IndividualOnfidoSchema;
3
+ import type { IndividualSchema } from '../Individual.types';
4
+ export declare const mapExtractionResultToSchema: (result: ProviderExtractionResponse, restrictCountryOfResidenceTo?: CountryCode[]) => IndividualSchema;
@@ -1,8 +1,8 @@
1
1
  import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
2
2
  import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
3
- import type { IndividualOnfidoProps } from './Individual.types';
3
+ import type { IndividualProps } from './Individual.types';
4
4
  import type { UboQuestionnaireSchema } from './UboQuestionnaire/UboQuestionnaire.types';
5
- export declare const individualOnfidoForms: {
5
+ export declare const individualForms: {
6
6
  readonly signatoryQuestionnaire: {
7
7
  readonly formId: "signatoryQuestionnaire";
8
8
  readonly formName: "authorizedSignatory";
@@ -49,8 +49,8 @@ export declare const individualOnfidoForms: {
49
49
  readonly fields: readonly ["proofOfRelationship"];
50
50
  };
51
51
  };
52
- export type IndividualIdVerificationMethodDocId = typeof individualOnfidoForms.idVerificationMethod.formId;
53
- export type IndividualIdDocumentDocId = typeof individualOnfidoForms.manualIdUpload.formId;
54
- export type IndividualProofOfResidencyDocId = typeof individualOnfidoForms.proofOfResidency.formId;
55
- export type IndividualNationalDocId = typeof individualOnfidoForms.proofOfNationalId.formId;
56
- export declare function IndividualOnfido(props: Readonly<IndividualOnfidoProps>): import("preact/jsx-runtime").JSX.Element;
52
+ export type IndividualIdVerificationMethodDocId = typeof individualForms.idVerificationMethod.formId;
53
+ export type IndividualIdDocumentDocId = typeof individualForms.manualIdUpload.formId;
54
+ export type IndividualProofOfResidencyDocId = typeof individualForms.proofOfResidency.formId;
55
+ export type IndividualNationalDocId = typeof individualForms.proofOfNationalId.formId;
56
+ export declare function Individual(props: Readonly<IndividualProps>): import("preact/jsx-runtime").JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
2
2
  import type { CountryCode } from '../../../types/datasets/country-code';
3
3
  import type { FormRulesParams } from '../../../types/form-rules';
4
- import type { IndividualOnfidoSchema } from './Individual.types';
4
+ import type { IndividualSchema } from './Individual.types';
5
5
  export declare const COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES: CountryCode[];
6
6
  export declare const SOLE_PROP_COUNTRIES: CountryCode[];
7
7
  export declare const DECISION_MAKER_TYPES_WITH_JOBTITLE: DecisionMakerType[];
8
- export declare const individualOnfidoRules: ({ matchingScenario, data, country, taskType, isExperimentEnabled, rootLegalEntity, problems, }: FormRulesParams<IndividualOnfidoSchema>) => {
8
+ export declare const individualRules: ({ matchingScenario, data, country, taskType, isExperimentEnabled, rootLegalEntity, problems, }: FormRulesParams<IndividualSchema>) => {
9
9
  countryUsesTaxId: () => "REQUIRED" | undefined;
10
10
  isDirectorIdNumberRequiredForCountry: () => "REQUIRED" | undefined;
11
11
  idNumberRules: () => "OPTIONAL" | "REQUIRED" | undefined;
@@ -42,4 +42,4 @@ export declare const individualOnfidoRules: ({ matchingScenario, data, country,
42
42
  isDirectorRequiredForCountry: () => "REQUIRED" | undefined;
43
43
  japanSpecificField: () => "REQUIRED" | undefined;
44
44
  };
45
- export type IndividualOnfidoRules = ReturnType<typeof individualOnfidoRules>;
45
+ export type IndividualRules = ReturnType<typeof individualRules>;
@@ -18,7 +18,7 @@ import type { IdDocumentUploadSchema } from './IdDocumentUpload/types';
18
18
  import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
19
19
  import type { SignatoryQuestionnaireSchema } from './SignatoryQuestionnaire/SignatoryQuestionnaire.types';
20
20
  import type { UboQuestionnaireSchema } from './UboQuestionnaire/UboQuestionnaire.types';
21
- export interface IndividualOnfidoSchema {
21
+ export interface IndividualSchema {
22
22
  signatoryQuestionnaire?: SignatoryQuestionnaireSchema;
23
23
  uboQuestionnaire?: UboQuestionnaireSchema;
24
24
  basicDetails?: BasicDetailsSchema;
@@ -29,8 +29,8 @@ export interface IndividualOnfidoSchema {
29
29
  proofOfNationalId?: DocumentUploadSchema<'proofOfNationalId'>;
30
30
  proofOfRelationship?: DocumentUploadSchema<'proofOfRelationship'>;
31
31
  }
32
- export type IndividualOnfidoFormID = keyof IndividualOnfidoSchema;
33
- export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfidoSchema> {
32
+ export type IndividualFormID = keyof IndividualSchema;
33
+ export interface IndividualProps extends BaseOuterFormProps<IndividualSchema> {
34
34
  activeForm: FormModel;
35
35
  forms: FormModel[];
36
36
  defaultCountry: CountryCode;
@@ -47,14 +47,22 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
47
47
  trustedRoles?: Array<LegalEntityAssociation['type']>;
48
48
  setNextHandler?: (fn: (() => void) | undefined) => void;
49
49
  handleHomeClick?(): void;
50
+ isInvitedEntity?: boolean;
51
+ invitedEntityDetails?: InvitedEntityDetails;
50
52
  }
51
- export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder' | 'forms' | 'activeForm' | 'defaultCountry'>, Omit<DropinProps, 'taskType'> {
53
+ export interface InvitedEntityDetails {
54
+ roles: DecisionMakerType[];
55
+ jobTitle?: string;
56
+ }
57
+ export interface IndividualDropinProps extends Omit<IndividualProps, 'legalEntityId' | 'accountHolder' | 'forms' | 'activeForm' | 'defaultCountry'>, Omit<DropinProps, 'taskType'> {
52
58
  taskName: 'individualDetails' | 'decisionMakerDetails' | 'legalRepresentativeDetails' | 'trustMemberDetails' | 'individualTrusteeDetails' | 'partnershipMemberDetails' | 'companyOwnerDetails';
53
59
  legalEntityResponse?: ExistingLegalEntity;
54
60
  trustMember?: TrustMember | UnincorporatedPartnershipMember;
55
61
  isTargetLegalEntityType?: boolean;
56
62
  country: CountryCode;
57
- onSubmit?(dataSubmitted: IndividualOnfidoSchema, scenario?: Scenario[]): void;
63
+ onSubmit?(dataSubmitted: IndividualSchema, scenario?: Scenario[]): void;
58
64
  isInstantVerificationEnabled?: boolean;
59
65
  handleHomeClick(): void;
66
+ isInvitedEntity?: boolean;
67
+ invitedEntityDetails?: InvitedEntityDetails;
60
68
  }
@@ -1,2 +1,2 @@
1
- export declare const individualOnfidoFormIds: ["signatoryQuestionnaire", "uboQuestionnaire", "basicDetails", "idVerificationMethod", "additionalPersonalDetails", "manualIdUpload", "proofOfResidency", "proofOfNationalId", "proofOfRelationship"];
2
- export type INDIVIDUALONFIDO_FORM_IDS = (typeof individualOnfidoFormIds)[number];
1
+ export declare const individualFormIds: ["signatoryQuestionnaire", "uboQuestionnaire", "basicDetails", "idVerificationMethod", "additionalPersonalDetails", "manualIdUpload", "proofOfResidency", "proofOfNationalId", "proofOfRelationship"];
2
+ export type INDIVIDUAL_FORM_IDS = (typeof individualFormIds)[number];
@@ -3,7 +3,7 @@ import type { Scenario } from '../../../core/models/api/get-scenarios';
3
3
  import type { LegalEntityAssociation } from '../../../core/models/api/legal-entity-association';
4
4
  import type { TaskType } from '../../../stores/globalStore/taskTypes';
5
5
  import type { EntityProblems } from '../../../types/errors/entity-problems';
6
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
6
+ import type { IndividualSchema } from '../forms/Individual.types';
7
7
  /**
8
8
  * For the BAFIN signatory flow, certain ID verification errors and remediation actions are not applicable.
9
9
  * This utility function takes a problems object and returns a new, deeply cloned object with all
@@ -21,7 +21,7 @@ import type { IndividualOnfidoSchema } from '../forms/Individual.types';
21
21
  export declare const removeIdVerificationProblemsForBafinSignatory: (problems: EntityProblems, decisionMakerLe: ExistingLegalEntity) => EntityProblems;
22
22
  interface IsBafinSignatoryFlowParams {
23
23
  taskType: TaskType;
24
- data?: LegalEntityAssociation | IndividualOnfidoSchema;
24
+ data?: LegalEntityAssociation | IndividualSchema;
25
25
  scenarios?: Scenario[];
26
26
  }
27
27
  /**
@@ -1,5 +1,5 @@
1
1
  import type { PropsFromConfiguration } from '../../../core/process-field-configurations';
2
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
3
- type ConfigurationSchema = PropsFromConfiguration<IndividualOnfidoSchema>;
2
+ import type { IndividualSchema } from '../forms/Individual.types';
3
+ type ConfigurationSchema = PropsFromConfiguration<IndividualSchema>;
4
4
  export declare const mandateIdVerificationForMotionCapture: (showMotionCapture: boolean | undefined, derivedProps: ConfigurationSchema | undefined) => ConfigurationSchema | undefined;
5
5
  export {};
@@ -1,3 +1,3 @@
1
1
  import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
2
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
3
- export declare const calculateRoles: (data?: IndividualOnfidoSchema) => DecisionMakerType[];
2
+ import type { IndividualSchema } from '../forms/Individual.types';
3
+ export declare const calculateRoles: (data?: IndividualSchema) => DecisionMakerType[];
@@ -1,8 +1,8 @@
1
1
  import type { LegalEntity } from '../../../core/models/api/legal-entity';
2
2
  import type { DocumentMappingRecord, MappingKey, MappingRecord } from '../../../utils/mapping/mappingRecord';
3
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
4
- export declare const individualOnfidoObscuredFields: Array<MappingKey<IndividualOnfidoSchema>>;
5
- export declare const individualOnfidoBaseMapping: MappingRecord<IndividualOnfidoSchema, Pick<LegalEntity, 'individual'>>;
6
- export declare const individualOnfidoApiKeyMapping: MappingRecord<Pick<LegalEntity, 'individual'>, IndividualOnfidoSchema>;
7
- export declare const individualOnfidoDocumentMapping: DocumentMappingRecord<IndividualOnfidoSchema>;
8
- export declare const remediationIndividualOnfidoApiKeyMapping: MappingRecord<Pick<LegalEntity, 'individual'>, IndividualOnfidoSchema> & DocumentMappingRecord<IndividualOnfidoSchema>;
3
+ import type { IndividualSchema } from '../forms/Individual.types';
4
+ export declare const individualObscuredFields: Array<MappingKey<IndividualSchema>>;
5
+ export declare const individualBaseMapping: MappingRecord<IndividualSchema, Pick<LegalEntity, 'individual'>>;
6
+ export declare const individualApiKeyMapping: MappingRecord<Pick<LegalEntity, 'individual'>, IndividualSchema>;
7
+ export declare const individualDocumentMapping: DocumentMappingRecord<IndividualSchema>;
8
+ export declare const remediationIndividualApiKeyMapping: MappingRecord<Pick<LegalEntity, 'individual'>, IndividualSchema> & DocumentMappingRecord<IndividualSchema>;
@@ -1,3 +1,3 @@
1
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
2
- export type IndividualDocumentFields = Pick<IndividualOnfidoSchema, 'manualIdUpload' | 'proofOfResidency' | 'proofOfNationalId' | 'proofOfRelationship'>;
1
+ import type { IndividualSchema } from '../forms/Individual.types';
2
+ export type IndividualDocumentFields = Pick<IndividualSchema, 'manualIdUpload' | 'proofOfResidency' | 'proofOfNationalId' | 'proofOfRelationship'>;
3
3
  export declare const mapApiDocumentToIndividualDocuments: (entityId: string) => IndividualDocumentFields;
@@ -1,3 +1,3 @@
1
1
  import type { Document } from '../../../core/models/api/document';
2
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
3
- export declare const mapIndividualDocumentToApiDocument: (data: IndividualOnfidoSchema, entityId: string) => Promise<Document[] | undefined>;
2
+ import type { IndividualSchema } from '../forms/Individual.types';
3
+ export declare const mapIndividualDocumentToApiDocument: (data: IndividualSchema, entityId: string) => Promise<Document[] | undefined>;
@@ -1,5 +1,5 @@
1
1
  import type { ExperimentName } from '../../../context/ExperimentContext/types';
2
2
  import type { LegalEntity } from '../../../core/models/api/legal-entity';
3
3
  import type { Scenario } from '../../../core/models/api/get-scenarios';
4
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
5
- export declare const mapIndividualOnfidoSchemaToLegalEntity: (individualOnfido: IndividualOnfidoSchema, isExperimentEnabled: (key: ExperimentName) => boolean, matchingScenario?: Scenario[]) => LegalEntity;
4
+ import type { IndividualSchema } from '../forms/Individual.types';
5
+ export declare const mapIndividualSchemaToLegalEntity: (individual: IndividualSchema, isExperimentEnabled: (key: ExperimentName) => boolean, matchingScenario?: Scenario[]) => LegalEntity;
@@ -1,3 +1,3 @@
1
1
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
2
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
3
- export declare const mapLegalEntityToIndividualOnfidoSchema: (legalEntity: ExistingLegalEntity, isChangingType?: boolean, isRoleFieldNeeded?: boolean, parentLegalEntity?: ExistingLegalEntity) => IndividualOnfidoSchema;
2
+ import type { IndividualSchema } from '../forms/Individual.types';
3
+ export declare const mapLegalEntityToIndividualSchema: (legalEntity: ExistingLegalEntity, isChangingType?: boolean, isRoleFieldNeeded?: boolean, parentLegalEntity?: ExistingLegalEntity) => IndividualSchema;
@@ -1,7 +1,7 @@
1
1
  import { type Scenario } from '../../../core/models/api/get-scenarios';
2
2
  import { TaskTypes } from '../../../stores/globalStore/taskTypes';
3
3
  import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
4
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
4
+ import type { IndividualSchema } from '../forms/Individual.types';
5
5
  export interface DecisionMakerDetailsPageProps extends DropinProps {
6
6
  decisionMakerId?: string | undefined;
7
7
  parentCompanyId?: string;
@@ -9,6 +9,6 @@ export interface DecisionMakerDetailsPageProps extends DropinProps {
9
9
  asModal?: boolean;
10
10
  hideSidebar?: boolean;
11
11
  isTargetLegalEntityType?: boolean;
12
- onSubmit?(dataSubmitted: IndividualOnfidoSchema, scenario?: Scenario[]): void;
12
+ onSubmit?(dataSubmitted: IndividualSchema, scenario?: Scenario[]): void;
13
13
  }
14
14
  export declare function DecisionMakerDetailsPage({ decisionMakerId: decisionMakerIdProp, parentCompanyId: parentCompanyIdProp, taskType, asModal, hideSidebar, isTargetLegalEntityType, onSubmit, handleBackClick, handleCloseClick, handleHomeClick, }: DecisionMakerDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
2
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
2
+ import type { IndividualSchema } from '../forms/Individual.types';
3
3
  interface LegalRepresentativeDetailsPageProps extends DropinProps {
4
4
  legalRepresentativeId: string | undefined;
5
5
  asModal?: boolean;
6
6
  hideSidebar?: boolean;
7
- onSubmit?(dataSubmitted: IndividualOnfidoSchema): void;
7
+ onSubmit?(dataSubmitted: IndividualSchema): void;
8
8
  }
9
9
  export declare function LegalRepresentativeDetailsPage({ legalRepresentativeId, asModal, hideSidebar, onSubmit,
10
10
  /** below from {@link DropinProps} */
@@ -1,10 +1,10 @@
1
1
  import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
2
- import type { IndividualOnfidoSchema } from '../forms/Individual.types';
2
+ import type { IndividualSchema } from '../forms/Individual.types';
3
3
  interface RootIndividualDetailsPageProps extends DropinProps {
4
4
  asModal?: boolean;
5
5
  hideSidebar?: boolean;
6
6
  isTargetLegalEntityType?: boolean;
7
- onSubmit?(dataSubmitted: IndividualOnfidoSchema): void;
7
+ onSubmit?(dataSubmitted: IndividualSchema): void;
8
8
  }
9
9
  export declare function RootIndividualDetailsPage({ asModal, hideSidebar, isTargetLegalEntityType, onSubmit,
10
10
  /** below from {@link DropinProps} */
@@ -1,6 +1,6 @@
1
1
  import type { TFunction } from '../../../../../../types';
2
2
  import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
3
- import type { IndividualOnfidoSchema } from '../../../forms/Individual.types';
3
+ import type { IndividualSchema } from '../../../forms/Individual.types';
4
4
  /**
5
5
  * Formats the entire form data for the summary view.
6
6
  * This function transforms raw form data into a user-friendly format, including localization and data mapping.
@@ -10,7 +10,7 @@ import type { IndividualOnfidoSchema } from '../../../forms/Individual.types';
10
10
  * @param commonT - The translation function.
11
11
  * @returns A new object with the formatted data for the summary.
12
12
  */
13
- export declare const formatDataForSummary: (dataToFormat: IndividualOnfidoSchema, locale: string, commonT: TFunction<"common">) => any;
13
+ export declare const formatDataForSummary: (dataToFormat: IndividualSchema, locale: string, commonT: TFunction<"common">) => any;
14
14
  /**
15
15
  * Prepares the final summary data by formatting and filtering the raw form data.
16
16
  *
@@ -20,7 +20,7 @@ export declare const formatDataForSummary: (dataToFormat: IndividualOnfidoSchema
20
20
  * @param taskType - The type of task being performed.
21
21
  * @returns The final summary data object.
22
22
  */
23
- export declare const getSummaryData: (data: IndividualOnfidoSchema, locale: string, commonT: TFunction<"common">, taskType: TaskType) => {
23
+ export declare const getSummaryData: (data: IndividualSchema, locale: string, commonT: TFunction<"common">, taskType: TaskType) => {
24
24
  basicDetails: Omit<any, "firstName" | "lastName" | "role" | "nomineeShareholder">;
25
25
  additionalPersonalDetails: Omit<any, "idNumberExempt">;
26
26
  idDocument: any;
@@ -0,0 +1,4 @@
1
+ export interface InvitedDecisionMakerGettingStartedProps {
2
+ addDecisionMakerOnClick: (e: MouseEvent) => void;
3
+ }
4
+ export declare const InvitedDecisionMakerGettingStarted: ({ addDecisionMakerOnClick, }: InvitedDecisionMakerGettingStartedProps) => import("preact/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const InvitedDecisionMakerSubmitSuccess: () => import("preact/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import type { IndividualOnfidoDropinProps } from '../../forms/Individual.types';
2
- export declare function IndividualOnfidoDropin({ taskType, parentLegalEntity, legalEntityResponse, handleHomeClick, isTargetLegalEntityType, country: parentCountry, problems: propProblems, trustMember, onSubmit: externalOnSubmit, asModal, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: Readonly<IndividualOnfidoDropinProps>): import("preact/jsx-runtime").JSX.Element;
1
+ import type { IndividualDropinProps } from '../../forms/Individual.types';
2
+ export declare function IndividualDropin({ taskType, parentLegalEntity, legalEntityResponse, handleHomeClick, isTargetLegalEntityType, country: parentCountry, problems: propProblems, trustMember, onSubmit: externalOnSubmit, asModal, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, isInvitedEntity, invitedEntityDetails, }: Readonly<IndividualDropinProps>): import("preact/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import type { PerScenarioFormConfiguration } from '../../../../types/form-configuration';
2
- import type { IndividualOnfidoRules } from '../../forms/Individual.rules';
3
- import type { IndividualOnfidoSchema } from '../../forms/Individual.types';
4
- export declare const individualOnfidoFieldsPerScenario: PerScenarioFormConfiguration<IndividualOnfidoSchema, keyof IndividualOnfidoRules>;
2
+ import type { IndividualRules } from '../../forms/Individual.rules';
3
+ import type { IndividualSchema } from '../../forms/Individual.types';
4
+ export declare const individualFieldsPerScenario: PerScenarioFormConfiguration<IndividualSchema, keyof IndividualRules>;
@@ -1,3 +1,3 @@
1
1
  import type { FormFlowProps } from './FormFlow.types';
2
- declare const FormFlow: ({ asModal, children, currentStep, disableBackButton, disableNextButton, nextButtonLoading, forms, activeForm, gotoFormByFormIndex, handleBackClick, handleCancelClick, handleNextClick, loadingStatus, summary, totalSteps, }: FormFlowProps) => import("preact/jsx-runtime").JSX.Element;
2
+ declare const FormFlow: ({ asModal, children, currentStep, disableBackButton, disableNextButton, nextButtonLoading, forms, activeForm, gotoFormByFormIndex, handleBackClick, handleCancelClick, handleNextClick, loadingStatus, summary, summaryComponent, totalSteps, }: FormFlowProps) => import("preact/jsx-runtime").JSX.Element;
3
3
  export { FormFlow };
@@ -17,7 +17,9 @@ export interface FormFlowProps {
17
17
  handleNextClick(): void | Promise<void>;
18
18
  nextButtonLoading?: boolean;
19
19
  loadingStatus: LoadingStatus;
20
+ /** @deprecated use summaryComponent */
20
21
  summary?: SummaryWithoutForms;
22
+ summaryComponent?: ComponentChildren;
21
23
  totalSteps?: number;
22
24
  }
23
25
  export {};
@@ -0,0 +1,14 @@
1
+ import { type Slottable } from 'named-slots';
2
+ import type { StructuredListItem } from '../../ui/atoms/StructuredList/StructuredList';
3
+ interface NewSummaryProps {
4
+ children: Slottable;
5
+ handleEditForm: (formId: string) => void;
6
+ sections: SummarySection[];
7
+ }
8
+ export interface SummarySection {
9
+ formId: string;
10
+ label: string;
11
+ items: StructuredListItem[];
12
+ }
13
+ export declare const NewSummary: ({ children, handleEditForm, sections }: NewSummaryProps) => import("preact/jsx-runtime").JSX.Element;
14
+ export {};
@@ -3,4 +3,5 @@ import type { TopLevelDataSchema } from '../../../context/StateContext/types';
3
3
  import type { FormModel } from '../../../types/form';
4
4
  import type { SummaryProps } from './types';
5
5
  export declare const summaryStep: FormModel;
6
+ /** @deprecated, use NewSummary */
6
7
  export declare function Summary<TLDS extends TopLevelDataSchema>({ data, forms, gotoForm, labels, problems, omitted, showFormHeader, showSectionHeader, showLegalCaption, showTaxExemptedLegalCaption, useStructuredList, }: SummaryProps<TLDS>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import type { BusinessRegistrationNumberFieldProps, BusinessRegistrationNumberFieldSchema } from './types';
2
2
  export declare const BUSINESS_REGISTRATION_NUMBER_FIELD: Array<keyof BusinessRegistrationNumberFieldSchema>;
3
- export declare function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, guidanceText, helperText, readonly, shouldValidate, optional, handleChangeFor, country, canExempt, companyType, }: BusinessRegistrationNumberFieldProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, helperText, readonly, shouldValidate, optional, handleChangeFor, country, state, canExempt, companyType, }: BusinessRegistrationNumberFieldProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- import type { ExperimentName } from '../../../../context/ExperimentContext/types';
2
1
  import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
3
2
  import type { TFunction } from '../../../../../types';
4
3
  import type { CountryCode } from '../../../../types/datasets/country-code';
@@ -10,7 +9,6 @@ interface FieldConfigParams {
10
9
  companyType: CompanyTypesValue | 'trust' | undefined;
11
10
  registrationNumberType: CompanyRegistrationNumberType | undefined;
12
11
  state?: StateCodeUS | undefined;
13
- isExperimentEnabled?: (experiment: ExperimentName) => boolean;
14
12
  }
15
13
  export declare const registrationNumberDefaultFieldMetadata: FieldMetadata<BusinessRegistrationNumberFieldSchema, 'registrationNumber'>;
16
14
  export declare const registrationNumberDefaultFieldConfig: PerCountryFieldConfig<BusinessRegistrationNumberFieldSchema, 'registrationNumber', FieldConfigParams>;
@@ -2,14 +2,16 @@ import type { CompanyTypesValue } from '../../../../core/models/api/company-type
2
2
  import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
3
3
  import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
4
4
  import type { CountryCode } from '../../../../types/datasets/country-code';
5
+ import type { StateCodeUS } from '../../../../types/datasets/state-code';
5
6
  import type { CompanyRegistrationNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
6
7
  export interface BusinessRegistrationNumberFieldSchema {
7
8
  registrationNumber?: string;
8
9
  registrationNumberType?: CompanyRegistrationNumberType;
9
10
  exemptedFromRegistrationNumber?: boolean;
10
11
  }
11
- export interface BusinessRegistrationNumberFieldProps extends Pick<BaseFormFieldProps<BusinessRegistrationNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'readonly' | 'shouldValidate' | 'optional' | 'handleChangeFor'> {
12
+ export interface BusinessRegistrationNumberFieldProps extends Pick<BaseFormFieldProps<BusinessRegistrationNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'shouldValidate' | 'optional' | 'handleChangeFor'> {
12
13
  country: CountryCode;
14
+ state?: StateCodeUS;
13
15
  canExempt: boolean;
14
16
  companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST;
15
17
  helperText?: string;
@@ -1,3 +1,3 @@
1
1
  import type { EInvoicingCodeFieldProps, EInvoicingCodeFieldSchema } from './types';
2
2
  export declare const EINVOICING_CODE_FIELD: Array<keyof EInvoicingCodeFieldSchema>;
3
- export declare function EInvoicingCodeField({ data, valid, errors, labels, readonly, mask, guidanceText, shouldValidate, handleChangeFor, }: EInvoicingCodeFieldProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function EInvoicingCodeField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor, }: EInvoicingCodeFieldProps): import("preact/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@ export interface EInvoicingCodeFieldSchema {
3
3
  eInvoicingCode?: string;
4
4
  noEInvoicingCode?: string;
5
5
  }
6
- export type EInvoicingCodeFieldProps = Pick<BaseFormFieldProps<EInvoicingCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | 'shouldValidate' | 'handleChangeFor'>;
6
+ export type EInvoicingCodeFieldProps = Pick<BaseFormFieldProps<EInvoicingCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'shouldValidate' | 'handleChangeFor'>;
@@ -1,23 +1,17 @@
1
1
  import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
2
  import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
3
- import type { Translatable, TranslationKey } from '../../../../../types';
3
+ import type { Translatable } from '../../../../../types';
4
4
  import type { CountryCode } from '../../../../types/datasets/country-code';
5
5
  import type { TaxIdNumberType } from './countryIdNumberTypes';
6
- interface PropsWithNoExemption {
7
- exemptedOption?: false;
8
- selected: TaxIdNumberType | undefined;
9
- setSelected: (type: TaxIdNumberType) => void;
10
- }
11
- interface PropsWithTaxIdExemption {
12
- exemptedOption: TranslationKey;
13
- selected: TaxIdNumberType | 'exempted' | undefined;
14
- setSelected: (type: TaxIdNumberType | 'exempted') => void;
15
- }
16
- type TaxIdNumberTypeSelectorProps = {
6
+ interface TaxIdNumberTypeSelectorProps {
17
7
  country: CountryCode;
18
8
  companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
19
9
  isUsSoleProp?: boolean;
20
10
  errorMessage?: boolean | Translatable;
21
- } & (PropsWithNoExemption | PropsWithTaxIdExemption);
22
- export declare function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, isUsSoleProp, errorMessage, }: TaxIdNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
11
+ /** Label for the "exempted from tax" radio option. When provided, an exemption option is appended to the radio group. */
12
+ exemptedOptionLabel?: string;
13
+ selected: TaxIdNumberType | 'exempted' | undefined;
14
+ setSelected: (type: TaxIdNumberType | 'exempted') => void;
15
+ }
16
+ export declare function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel, isUsSoleProp, errorMessage, }: TaxIdNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
23
17
  export {};
@@ -12,7 +12,7 @@ export interface IndustryCodeFieldSchema {
12
12
  industryCodes?: IndustryCode[];
13
13
  }
14
14
  export interface IndustryCodeFieldProps extends Pick<BaseFormFieldProps<IndustryCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> {
15
- guidanceText: Record<'industryCodes', string>;
15
+ guidanceText: string;
16
16
  businessLineTypes: BusinessLineType[];
17
17
  single?: boolean;
18
18
  setValid?: (key: 'industryCodes', value: boolean, formName: keyof BusinessLinesSchema) => void;
@@ -1,11 +1,11 @@
1
1
  import type { FieldMetadata } from '../../../../utils/fieldConfigurations';
2
2
  export declare const localizedLegalCompanyNameFieldConfig: {
3
3
  jaHaniLegalCompanyName: {
4
- config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName">;
5
- metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName">;
4
+ config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName", "common">;
5
+ metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaHaniLegalCompanyName", "common">;
6
6
  };
7
7
  jaKanaLegalCompanyName: {
8
- config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName">;
9
- metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName">;
8
+ config: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName", "common">;
9
+ metadata: FieldMetadata<import("../../../../types/localizedScriptSchema").LocalizedScriptSchema<import("../LegalCompanyNameField/types").LegalCompanyNameFieldSchema, "jaHani" | "jaKana">, "jaKanaLegalCompanyName", "common">;
10
10
  };
11
11
  };
@@ -1,3 +1,3 @@
1
1
  import type { StockExchangeMICFieldProps, StockExchangeMICFieldSchema } from './types';
2
2
  export declare const STOCK_EXCHANGE_MIC_FIELD: Array<keyof StockExchangeMICFieldSchema>;
3
- export declare function StockExchangeMICField({ data, valid, errors, labels, readonly, mask, guidanceText, shouldValidate, handleChangeFor, }: StockExchangeMICFieldProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function StockExchangeMICField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor, }: StockExchangeMICFieldProps): import("preact/jsx-runtime").JSX.Element;
@@ -2,4 +2,4 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
2
2
  export interface StockExchangeMICFieldSchema {
3
3
  stockExchangeMIC?: string | undefined;
4
4
  }
5
- export type StockExchangeMICFieldProps = Pick<BaseFormFieldProps<StockExchangeMICFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | 'shouldValidate' | 'handleChangeFor'>;
5
+ export type StockExchangeMICFieldProps = Pick<BaseFormFieldProps<StockExchangeMICFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'shouldValidate' | 'handleChangeFor'>;
@@ -1,3 +1,3 @@
1
1
  import type { StockISINFieldProps, StockISINFieldSchema } from './types';
2
2
  export declare const STOCK_ISIN_FIELD: Array<keyof StockISINFieldSchema>;
3
- export declare function StockISINField({ data, valid, errors, labels, readonly, mask, guidanceText, shouldValidate, handleChangeFor, }: StockISINFieldProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function StockISINField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor, }: StockISINFieldProps): import("preact/jsx-runtime").JSX.Element;
@@ -2,4 +2,4 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
2
2
  export interface StockISINFieldSchema {
3
3
  stockISIN?: string;
4
4
  }
5
- export type StockISINFieldProps = Pick<BaseFormFieldProps<StockISINFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | 'shouldValidate' | 'handleChangeFor'>;
5
+ export type StockISINFieldProps = Pick<BaseFormFieldProps<StockISINFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'shouldValidate' | 'handleChangeFor'>;
@@ -1,3 +1,3 @@
1
1
  import type { StockTickerSymbolFieldProps, StockTickerSymbolFieldSchema } from './types';
2
2
  export declare const STOCK_TICKER_SYMBOL_FIELD: Array<keyof StockTickerSymbolFieldSchema>;
3
- export declare function StockTickerSymbolField({ data, valid, errors, labels, readonly, mask, guidanceText, shouldValidate, handleChangeFor, }: StockTickerSymbolFieldProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function StockTickerSymbolField({ data, valid, errors, labels, readonly, mask, shouldValidate, handleChangeFor, }: StockTickerSymbolFieldProps): import("preact/jsx-runtime").JSX.Element;
@@ -2,4 +2,4 @@ import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
2
2
  export interface StockTickerSymbolFieldSchema {
3
3
  stockTickerSymbol?: string;
4
4
  }
5
- export type StockTickerSymbolFieldProps = Pick<BaseFormFieldProps<StockTickerSymbolFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'guidanceText' | 'shouldValidate' | 'handleChangeFor'>;
5
+ export type StockTickerSymbolFieldProps = Pick<BaseFormFieldProps<StockTickerSymbolFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'mask' | 'shouldValidate' | 'handleChangeFor'>;
@@ -6,4 +6,4 @@ export declare const TAX_INFORMATION_FIELD: Array<keyof TaxInformationFieldSchem
6
6
  * scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
7
7
  * and Singapore Companies (where registration number (UEN) can be used for tax ID).
8
8
  */
9
- export declare function TaxInformationField({ data, valid, errors, labels, mask, guidanceText, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData, }: TaxInformationFieldProps): import("preact/jsx-runtime").JSX.Element;
9
+ export declare function TaxInformationField({ data, valid, errors, labels, mask, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData, }: TaxInformationFieldProps): import("preact/jsx-runtime").JSX.Element;
@@ -8,7 +8,7 @@ export interface TaxInformationFieldSchema {
8
8
  exemptedFromTax?: boolean;
9
9
  isUen?: boolean;
10
10
  }
11
- export interface TaxInformationFieldProps extends Pick<BaseFormFieldProps<TaxInformationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
11
+ export interface TaxInformationFieldProps extends Pick<BaseFormFieldProps<TaxInformationFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
12
12
  defaultData: TaxInformation[] | undefined;
13
13
  country: CountryCode;
14
14
  canExempt: boolean;
@@ -0,0 +1,13 @@
1
+ import type { TaxInformation } from '../../../../core/models/api/organization';
2
+ import type { CountryCode } from '../../../../types/datasets/country-code';
3
+ /**
4
+ * Immutably upserts a TaxInformation entry for a given country within the tax information array.
5
+ * - If the array doesn't exist, creates a new one with the entry.
6
+ * - If the country already has an entry, replaces it in-place.
7
+ * - If the country has no entry yet, appends the new entry.
8
+ */
9
+ export declare function upsertTaxInfoForCountry(taxInformation: TaxInformation[] | undefined, country: CountryCode, newEntry: TaxInformation): TaxInformation[];
10
+ /**
11
+ * Removes all TaxInformation entries for the given country from the array.
12
+ */
13
+ export declare function removeTaxInfoForCountry(taxInformation: TaxInformation[] | undefined, country: CountryCode): TaxInformation[] | undefined;
@@ -1,3 +1,3 @@
1
1
  import type { VatNumberFieldProps, VatNumberFieldSchema } from './types';
2
2
  export declare const VAT_NUMBER_FIELD: Array<keyof VatNumberFieldSchema>;
3
- export declare function VatNumberField({ data, valid, errors, labels, mask, guidanceText, readonly, optional, shouldValidate, handleChangeFor, canExempt, country, }: VatNumberFieldProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function VatNumberField({ data, valid, errors, labels, mask, readonly, optional, shouldValidate, handleChangeFor, canExempt, country, }: VatNumberFieldProps): import("preact/jsx-runtime").JSX.Element;
@@ -8,7 +8,7 @@ export interface VatNumberFieldSchema {
8
8
  exemptedFromVat?: boolean;
9
9
  vatAbsenceReason?: VatAbsenceReason;
10
10
  }
11
- export interface VatNumberFieldProps extends Pick<BaseFormFieldProps<VatNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'guidanceText' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
11
+ export interface VatNumberFieldProps extends Pick<BaseFormFieldProps<VatNumberFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | 'shouldValidate' | 'handleChangeFor'> {
12
12
  country: CountryCode;
13
13
  canExempt: boolean;
14
14
  }