@adyen/kyc-components 4.5.1 → 4.6.0-beta.1

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 (268) hide show
  1. package/README.md +31 -43
  2. package/dist/{AcceptTermsOfServiceComponent-CDgZIoAy.js → AcceptTermsOfServiceComponent-Bd0fuzJX.js} +17 -20
  3. package/dist/{AccountSetupRejected-Bwu8xLmZ.js → AccountSetupRejected-t4tPei0K.js} +2 -2
  4. package/dist/{ActionBar-Cs-ZFNhk.js → ActionBar-Ruw6z6LR.js} +2 -2
  5. package/dist/{Address-Cdkbwzso.js → Address-D0JjbOT4.js} +16 -16
  6. package/dist/{Avatar-DtFyP488.js → Avatar-Dp70m25u.js} +2 -2
  7. package/dist/{BusinessFinancingComponent-DmYxCifv.js → BusinessFinancingComponent-DAj2gvCq.js} +5 -5
  8. package/dist/{BusinessFinancingDropin-DbkFhxJT.js → BusinessFinancingDropin-RImpwNje.js} +31 -34
  9. package/dist/{BusinessFinancingPage-DulUJR2t.js → BusinessFinancingPage-B3XW6vMz.js} +4 -4
  10. package/dist/{BusinessTypeSelectionPage-B-vdLokC.js → BusinessTypeSelectionPage-D_yQV_GP.js} +9 -14
  11. package/dist/{Checkbox-D3Z0AWKj.js → Checkbox-DQGjbUsQ.js} +2 -2
  12. package/dist/{Confirm-C42kXNcg.js → Confirm-roUo52pe.js} +3 -3
  13. package/dist/{ConstitutionalDocument-DzgtU8np.js → ConstitutionalDocument-BW87TDZl.js} +336 -92
  14. package/dist/{ContactDetails--t1QRowR.js → ContactDetails-CGss-4M6.js} +12 -7
  15. package/dist/{ContextGuidance-C2yYCn3r.js → ContextGuidance-8vbKs48u.js} +2 -2
  16. package/dist/{CountryField-DzcOrjgs.js → CountryField-Cxih2YUu.js} +3 -3
  17. package/dist/{CreateIndividualComponent-BGs4XVIx.js → CreateIndividualComponent-k3J84uhw.js} +6 -6
  18. package/dist/{CreateTransferInstrumentComponent-8qbVjvCk.js → CreateTransferInstrumentComponent-bam-U6uj.js} +5 -5
  19. package/dist/{Currency-D_JvTwxX.js → Currency-DhqTdIeI.js} +7 -7
  20. package/dist/{CustomerSupport-C-r0iCOW.js → CustomerSupport-CdhIJFEE.js} +11 -16
  21. package/dist/{DebugModal-UZ3iEF4d.js → DebugModal-yfBBhyjs.js} +127 -98
  22. package/dist/DecisionMakerDetails-D0-COO1N.js +275 -0
  23. package/dist/{DecisionMakerDetailsPage-CORpG8qd.js → DecisionMakerDetailsPage-C-LGLbrJ.js} +10 -10
  24. package/dist/{DecisionMakers-D_B8GhAP.js → DecisionMakers-Bx51Ewcv.js} +22 -259
  25. package/dist/{Dropzone-CqXwk4Vf.js → Dropzone-Dy3XmCix.js} +4 -4
  26. package/dist/{EmbeddedStatus-Cq3s0VKQ.js → EmbeddedStatus-PFK1NCkS.js} +3 -3
  27. package/dist/{EndStateLayout-DyV9bKDz.js → EndStateLayout-5kx0pljK.js} +2 -2
  28. package/dist/{EntityAssociation-DoTWA9hu.js → EntityAssociation-BVxUknEP.js} +5 -5
  29. package/dist/{EntityGuidanceStatus-xpPB9g8U.js → EntityGuidanceStatus-CbP4RqW4.js} +4 -4
  30. package/dist/{ErrorPanel-BuHWbhfh.js → ErrorPanel-Cn8gzNGG.js} +11 -12
  31. package/dist/{Field-Dr2nucSo.js → Field-BDI27kIy.js} +2 -2
  32. package/dist/{FormNavigation-bTHzHm_a.js → FormNavigation-D90R1OgK.js} +3 -3
  33. package/dist/{Individual.rules-CvBrD7Ad.js → Individual.rules-BrdY-Rew.js} +12 -12
  34. package/dist/{IndividualDropin-DhipTriL.js → IndividualDropin-D5FrKUb-.js} +252 -97
  35. package/dist/{InputDate-HsJIDMnw.js → InputDate-nNag-jcu.js} +1 -1
  36. package/dist/{InputText-Cmp-jxkq.js → InputText-DFjKyN6O.js} +2 -2
  37. package/dist/{Introduction-CVb0Xx-s.js → Introduction-DhEG_Jvt.js} +4 -9
  38. package/dist/InvitedDecisionMakerComponent-DT_SCB2u.js +211 -0
  39. package/dist/{JpAddress-CC_IvY9U.js → JpAddress-DcJCN9dG.js} +11 -11
  40. package/dist/{LandingLayout-Hw-QdoQL.js → LandingLayout-CC_FGMAs.js} +2 -2
  41. package/dist/{LegalCompanyNameField-CWRd7AEp.js → LegalCompanyNameField-CgTgIMv8.js} +16 -16
  42. package/dist/{LegalRepresentativeDetailsPage-CY_iMQTc.js → LegalRepresentativeDetailsPage-D4d4eelX.js} +5 -5
  43. package/dist/{Link-DDnVkilX.js → Link-C30mEtLP.js} +2 -2
  44. package/dist/{ListItem-C5VcmY-s.js → ListItem-BQLamvB-.js} +3 -3
  45. package/dist/{LoaderWrapper-BFpnMaZr.js → LoaderWrapper-CgNgcjW-.js} +2 -2
  46. package/dist/{ManageIndividualComponent-Cb5wNkz0.js → ManageIndividualComponent-DKVcaPI6.js} +5 -5
  47. package/dist/{ManageTermsOfServiceComponent-10j2xeZu.js → ManageTermsOfServiceComponent-T_K9BahM.js} +4 -4
  48. package/dist/{ManageTransferInstrumentComponent-BpnoK4Sd.js → ManageTransferInstrumentComponent-Ch79d8JP.js} +11 -11
  49. package/dist/{MaskedInput-D6wQgEqZ.js → MaskedInput-B9djDROe.js} +5 -5
  50. package/dist/{MaybeModal-w8BdVyL9.js → MaybeModal-BYsvKCcc.js} +3 -3
  51. package/dist/{Modal-CBxIPgQb.js → Modal-727fSuFr.js} +2 -2
  52. package/dist/{Name-CFTJ-03j.js → Name-BN-K6-N2.js} +4 -4
  53. package/dist/{NewSummary-Bzl3znax.js → NewSummary-DTuLIMtG.js} +5 -5
  54. package/dist/{OnboardingDropinComponent-D6UOdrFV.js → OnboardingDropinComponent-CaRk-dgZ.js} +145 -218
  55. package/dist/{PayoutDetailsDropin-hc2Lwjfg.js → PayoutDetailsDropin-CaJE5U6g.js} +183 -1065
  56. package/dist/{PayoutDetailsPage-C2UkSM42.js → PayoutDetailsPage-B0i-iUKS.js} +6 -6
  57. package/dist/{RadioGroup-tAaHg-3v.js → RadioGroup-DQa-nkgM.js} +2 -2
  58. package/dist/{Review-Bhbx2iLe.js → Review-CgkKBldb.js} +6 -6
  59. package/dist/{RootBusinessDetailsPage-BtxfStzp.js → RootBusinessDetailsPage-Bh3M9G8g.js} +6 -6
  60. package/dist/{RootBusinessLinesPage-SBl1RJnK.js → RootBusinessLinesPage-C4wzI8-k.js} +93 -91
  61. package/dist/{RootIndividualDetailsPage-BKrFR8kJ.js → RootIndividualDetailsPage-GBrzZTH2.js} +7 -6
  62. package/dist/{Select-CDjrCQMg.js → Select-Bt5Y91sI.js} +4 -4
  63. package/dist/{SignPCIComponent-CsBd4n0S.js → SignPCIComponent-BxzfAQvx.js} +12 -19
  64. package/dist/{SingpassSelection-BLw_O_To.js → SingpassSelection-hjBRnBDR.js} +144 -7
  65. package/dist/{SoleProprietorshipPage-DugLl7bw.js → SoleProprietorshipPage-B6HqJtcC.js} +5 -5
  66. package/dist/{SourceOfFundsPage-BOpuSCH-.js → SourceOfFundsPage-D6V3pwXP.js} +270 -98
  67. package/dist/{StepProgressIndicator-U5i4HLMS.js → StepProgressIndicator-DhfpqmVy.js} +2 -2
  68. package/dist/{StoreProvider-DS3-j_yO.js → StoreProvider-CGAl-5Sk.js} +155 -148
  69. package/dist/{Summary-B4rVi_1E.js → Summary-DKmu4xU7.js} +25 -22
  70. package/dist/{TaxInformationField-Gascwiqq.js → TaxInformationField-wLMc_uT-.js} +568 -795
  71. package/dist/{TaxReportingDropin-BiUeYocK.js → TaxReportingDropin-DsPw-MUV.js} +26 -26
  72. package/dist/{TextArea-DHLHMQS0.js → TextArea-BGhv4y1a.js} +2 -2
  73. package/dist/{TileGroup-TQqcisEg.js → TileGroup-D3HIe8QQ.js} +3 -3
  74. package/dist/{TrustDetailsPage-B9qgsL7n.js → TrustDetailsPage-CWKPHxTe.js} +64 -65
  75. package/dist/{TrustMemberCompanyPage-Dv8gB3AJ.js → TrustMemberCompanyPage-C89-gUpd.js} +7 -7
  76. package/dist/{TrustMemberIndividualPage-B61REKTA.js → TrustMemberIndividualPage-Cz-Z8U7w.js} +6 -6
  77. package/dist/{TrustMemberRoleAndTypePage-B-937gVA.js → TrustMemberRoleAndTypePage-BxzEkGzE.js} +27 -27
  78. package/dist/{TrustMembersOverview-BUdUHg0i.js → TrustMembersOverview-BtycEgbW.js} +16 -18
  79. package/dist/{UnincorporatedPartnershipIndividualPage-CiXV1GFq.js → UnincorporatedPartnershipIndividualPage-CSQjYe4p.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DBvCnN3w.js → UnincorporatedPartnershipMemberCompanyPage-ZAQkvjQr.js} +6 -6
  81. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C5tojfbL.js → UnincorporatedPartnershipMemberRoleAndTypePage-B9bvg2ra.js} +11 -11
  82. package/dist/{UnincorporatedPartnershipMembersOverview-DPrp3a67.js → UnincorporatedPartnershipMembersOverview-DYDDYisa.js} +7 -7
  83. package/dist/{VerificationErrorAlert-DUcGedHl.js → VerificationErrorAlert-Sf7ovPdg.js} +3 -3
  84. package/dist/{ViewVerificationStatusComponent-ucroS2ge.js → ViewVerificationStatusComponent-D6qJacuF.js} +3 -3
  85. package/dist/adyen-business-financing.js +4 -4
  86. package/dist/adyen-individual-configuration.js +4 -4
  87. package/dist/adyen-individual-status.js +4 -4
  88. package/dist/adyen-invited-decision-maker.js +4 -117
  89. package/dist/adyen-kyc-components.js +17 -17
  90. package/dist/adyen-onboarding.js +4 -4
  91. package/dist/adyen-terms-of-service-management.js +4 -4
  92. package/dist/adyen-terms-of-service-status.js +4 -4
  93. package/dist/adyen-transfer-instrument-configuration.js +4 -4
  94. package/dist/adyen-transfer-instrument-management.js +4 -4
  95. package/dist/adyen-verification-status.js +4 -4
  96. package/dist/{bafinUtils-YlO-EQ-z.js → bafinUtils-4YaweTCy.js} +2 -2
  97. package/dist/{commonValidators-Z8GTyWt2.js → commonValidators-nusLcRK6.js} +1 -1
  98. package/dist/{dropinUtils-DuoGe_aD.js → dropinUtils-DoPR1iTm.js} +53 -9
  99. package/dist/en-US-CJDkXFZ6.js +13 -0
  100. package/dist/en-US-CTbVLoNF.js +13 -0
  101. package/dist/en-US-CfazE4ht.js +13 -0
  102. package/dist/{en-US-G607HIyo.js → en-US-DPoDE0uz.js} +7 -7
  103. package/dist/en-US-DrUYyPhF.js +13 -0
  104. package/dist/{formUtils-OvyHeoEE.js → formUtils-zdJ_jyqE.js} +3 -3
  105. package/dist/{getName-DxauASkL.js → getName-Ca2cTXzw.js} +2 -2
  106. package/dist/{getProblemsForEntity-yYZx85SH.js → getProblemsForEntity-CNltAsMa.js} +2 -2
  107. package/dist/getTrustedFields-rU6j1TOQ.js +104 -0
  108. package/dist/{isEmpty-CUJ_MTvj.js → isEmpty-BN2tOceJ.js} +1 -1
  109. package/dist/japanSupportUtils-B76IOTvL.js +16 -0
  110. package/dist/{localizeDateString-Cdq_DxXh.js → localizeDateString-9ciBezNu.js} +2 -2
  111. package/dist/{mapExistingFile-BX4VgHc9.js → mapExistingFile-BS79kq3W.js} +3 -76
  112. package/dist/{mapJpAddressSchemaToAddressLocalizations-fM535qJi.js → mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.js} +2 -36
  113. package/dist/{mapLegalEntityToIndividualSchema-CtUOM-Zl.js → mapLegalEntityToIndividualSchema-BxOmNDle.js} +4 -4
  114. package/dist/{mapTransferInstrumentToPayoutAccount-CwsN-a7n.js → mapTransferInstrumentToPayoutAccount-ONPBT9KF.js} +2 -2
  115. package/dist/omitObscuredFieldsIfUnchanged-DhUQJrjg.js +29 -0
  116. package/dist/{patternValidators-vRnpmLkN.js → patternValidators-Cem-Icxv.js} +2 -2
  117. package/dist/{process-field-configurations-BGd8lBcb.js → process-field-configurations-BWC3i2at.js} +2 -2
  118. package/dist/{resolveEnvironment-CnQ__7cb.js → resolveEnvironment-BLaPb5Nd.js} +17 -24
  119. package/dist/{roleMetadata-B5g5kSns.js → roleMetadata-RivmWKE-.js} +3 -3
  120. package/dist/style.css +230 -275
  121. package/dist/styles-CLV89_hH.js +230 -275
  122. package/dist/types/api/toggles/useToggles.d.ts +2 -1
  123. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +2 -1
  124. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -29
  125. package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
  126. package/dist/types/components/BankAccount/forms/BankVerification/verification/{widget → overlay}/types.d.ts +4 -14
  127. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
  128. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +4 -5
  129. package/dist/types/components/Business/forms/rules.d.ts +1 -1
  130. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
  131. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +6 -0
  132. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
  133. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +7 -5
  134. package/dist/types/components/Business/utils/companyUtil.d.ts +2 -2
  135. package/dist/types/components/Business/utils/formatDataForSummary.d.ts +3 -2
  136. package/dist/types/components/Business/utils/submit.d.ts +1 -1
  137. package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +5 -0
  138. package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
  139. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
  140. package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
  141. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
  142. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
  143. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
  144. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
  145. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -3
  146. package/dist/types/components/Individual/forms/IdNowVerificationModal/IFrameWidget.d.ts +9 -0
  147. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  148. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  149. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -2
  150. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +6 -1
  151. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +15 -0
  152. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +14 -0
  153. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  154. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
  155. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
  156. package/dist/types/components/Shared/devex/DebugListener/DebugTogglesAndSettings.d.ts +8 -0
  157. package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +2 -1
  158. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +12 -0
  159. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/getDefaultRegistrationNumberType.d.ts +4 -4
  160. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/inferCompanyRegistrationNumberType.d.ts +3 -3
  161. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
  162. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +92 -0
  163. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +8 -1
  164. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +0 -483
  165. package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
  166. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
  167. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
  168. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
  169. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  170. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
  171. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/TaxIdNumberTypeSelector.d.ts +5 -5
  172. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
  173. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
  174. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
  175. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
  176. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +8 -0
  177. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +14 -0
  178. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → VatNumberField/VatNumberTypeSelector}/getDefaultVatNumberType.d.ts +2 -2
  179. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.d.ts +3 -0
  180. package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
  181. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +10 -1
  182. package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +149 -0
  183. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
  184. package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
  185. package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
  186. package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
  187. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  188. package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +2 -2
  189. package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
  190. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  191. package/dist/types/components/index.d.ts +2 -2
  192. package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +5 -0
  193. package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
  194. package/dist/types/context/FormRouterContext/types.d.ts +1 -0
  195. package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +4 -0
  196. package/dist/types/context/SettingsContext/types.d.ts +2 -0
  197. package/dist/types/context/ToggleContext/ToggleContext.d.ts +2 -0
  198. package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +9 -0
  199. package/dist/types/context/{ExperimentContext → ToggleContext}/types.d.ts +42 -32
  200. package/dist/types/context/ToggleContext/useToggleContext.d.ts +1 -0
  201. package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -3
  202. package/dist/types/core/UIElement/UIElement.d.ts +3 -2
  203. package/dist/types/core/models/api/organization.d.ts +1 -1
  204. package/dist/types/embeds/baseEmbedProps.d.ts +3 -3
  205. package/dist/types/hooks/useFormComposer.d.ts +1 -0
  206. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
  207. package/dist/types/hooks/useTaskLandedEvent.d.ts +7 -0
  208. package/dist/types/language/types.d.ts +2 -9
  209. package/dist/types/language/utils.d.ts +2 -2
  210. package/dist/types/router/routeConfig.d.ts +1 -0
  211. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
  212. package/dist/types/types/form-rules.d.ts +2 -2
  213. package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
  214. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  215. package/dist/types/utils/japanSupportUtils.d.ts +2 -2
  216. package/dist/{types-C_a8jv29.js → types-BLjngIPE.js} +2 -2
  217. package/dist/{types-_ugkpUNx.js → types-CTwBMnPB.js} +46 -37
  218. package/dist/{types-H2FCJ1-C.js → types-DmjPF4Sw.js} +2 -2
  219. package/dist/{types-CQ2p58-6.js → types-Dv0COrvY.js} +3 -2
  220. package/dist/{types-xe96hgXI.js → types-i_4sFTBn.js} +2 -2
  221. package/dist/{unincorporated-partnership-B6NRgago.js → unincorporated-partnership-R_fKlee-.js} +2 -2
  222. package/dist/{useAssociatedLegalEntity-CVzKts0I.js → useAssociatedLegalEntity-sPi1NDib.js} +2 -2
  223. package/dist/{useBusinessDetailsData-DfwcFRlQ.js → useBusinessDetailsData-Bqk04i4C.js} +443 -397
  224. package/dist/{useCreateLegalEntity-hrStnY6W.js → useCreateLegalEntity-Bsp9NV_x.js} +2 -2
  225. package/dist/{useForm-D6L2c9Li.js → useForm-OoKBR6oR.js} +3 -3
  226. package/dist/{useFormContext-CMsS317D.js → useFormContext-DSPJpGk8.js} +17 -8
  227. package/dist/{useGlobalData-6k8_ruDF.js → useGlobalData-Crfi88kZ.js} +24 -15
  228. package/dist/{useMultiForm-DM2vK1Np.js → useMultiForm-CvhpFewv.js} +4 -4
  229. package/dist/{useOnboardingStatus-DhKdv_Y5.js → useOnboardingStatus-CAHU1D0X.js} +2 -2
  230. package/dist/{useScenarios-CUR2KnWg.js → useScenarios-DBv_dA-7.js} +2 -2
  231. package/dist/{useTermsOfServiceStatus-BDMVKqbS.js → useTermsOfServiceStatus-ZQHlgGZB.js} +2 -2
  232. package/dist/{useToastContext-D4gUb18d.js → useToastContext-fRmLeQb3.js} +2 -2
  233. package/dist/{useUnincorporatedPartnershipMembers-DR2H0kGz.js → useUnincorporatedPartnershipMembers-DiyYkTfs.js} +5 -5
  234. package/dist/{useUpdateBusinessLines-DePb7PWG.js → useUpdateBusinessLines-R_TsTeL9.js} +6 -6
  235. package/dist/{useUpdateLegalEntity-DAa_GfP9.js → useUpdateLegalEntity-B08ICvGj.js} +3 -3
  236. package/dist/{utils-Dl-sL-p9.js → utils-3lClW_1M.js} +2 -2
  237. package/dist/{utils-BWV6yYFy.js → utils-B0FPRdWI.js} +22 -2
  238. package/dist/{utils-CnnnCh8B.js → utils-BRoXRTJU.js} +6 -6
  239. package/dist/{utils--FMWv23g.js → utils-Bjuz29z7.js} +53 -6
  240. package/dist/{utils-Cm_KCWsB.js → utils-CPMlF6U8.js} +1 -1
  241. package/dist/{validate-C7J6rZcj.js → validate-Bkn-4Xav.js} +1 -1
  242. package/dist/{validate-C-38T_GY.js → validate-DXgI7aOv.js} +3 -3
  243. package/dist/{validationError-C6qoE3Ei.js → validationError-1Dg0ubhb.js} +2 -2
  244. package/package.json +1 -5
  245. package/dist/RadioGroupCard-fFofJm6m.js +0 -152
  246. package/dist/en-US--1W760fR.js +0 -13
  247. package/dist/en-US-CKLQU2sJ.js +0 -13
  248. package/dist/en-US-CozY33On.js +0 -13
  249. package/dist/en-US-DLY20x1O.js +0 -13
  250. package/dist/iframeWidget-D0lDhWvH.js +0 -234
  251. package/dist/instant-verification-UrnuHTYn.js +0 -40
  252. package/dist/japanSupportUtils-9uEg0pbP.js +0 -16
  253. package/dist/manual-verification-BO8zgAYT.js +0 -41
  254. package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -5
  255. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -9
  256. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +0 -6
  257. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/BankVerificationWidget.d.ts +0 -3
  258. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/iframeWidget.d.ts +0 -32
  259. package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
  260. package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -5
  261. package/dist/types/components/Shared/devex/DebugListener/DebugExperimentsAndSettings.d.ts +0 -7
  262. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +0 -20
  263. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +0 -21
  264. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +0 -3
  265. package/dist/types/context/ExperimentContext/ExperimentsContext.d.ts +0 -2
  266. package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
  267. package/dist/types/context/ExperimentContext/useExperimentsContext.d.ts +0 -1
  268. package/dist/types/utils/bankVerification/dom.d.ts +0 -1
@@ -7,11 +7,10 @@ export declare const remediationPayoutApiKeyMapping: {
7
7
  bankStatement: string;
8
8
  bankAccount?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
9
9
  id?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
10
- transferInstrumentLimit?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
11
10
  type?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
12
- documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
13
- capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
14
11
  problems?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
12
+ capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
13
+ documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
15
14
  legalEntityId?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
16
15
  "capabilities.banking"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
17
16
  "capabilities.banking.verificationStatus"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
@@ -2005,9 +2004,9 @@ export declare const remediationPayoutApiKeyMapping: {
2005
2004
  "bankAccount.bankName"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2006
2005
  "bankAccount.accountIdentification"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2007
2006
  "bankAccount.accountIdentification.type"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2007
+ "bankAccount.accountIdentification.bic"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2008
2008
  "bankAccount.accountIdentification.iban"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2009
2009
  "bankAccount.accountIdentification.accountNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2010
- "bankAccount.accountIdentification.bic"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2011
2010
  "bankAccount.accountIdentification.additionalBankIdentification"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2012
2011
  "bankAccount.accountIdentification.additionalBankIdentification.type"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2013
2012
  "bankAccount.accountIdentification.additionalBankIdentification.code"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
@@ -2023,9 +2022,9 @@ export declare const remediationPayoutApiKeyMapping: {
2023
2022
  "bankAccount.accountIdentification.sortCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2024
2023
  "bankAccount.accountIdentification.routingNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2025
2024
  "bankAccount.countryCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2025
+ "bankAccount.preferredCurrencyCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2026
2026
  "bankAccount.realLastFour"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2027
2027
  "bankAccount.trustedSource"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2028
2028
  "bankAccount.virtualAccountNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2029
- "bankAccount.preferredCurrencyCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema> | undefined;
2030
2029
  BankAccount: string;
2031
2030
  };
@@ -28,7 +28,7 @@ export declare const COUNTRIES_REQUIRING_E_INVOICING_CODE: readonly CountryCode[
28
28
  export declare const COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4: readonly CountryCode[];
29
29
  export declare function isUsingCompanySearch(country: CountryCode, taskType: TaskType): boolean;
30
30
  export declare const isRegistrationNumberAbsentStateV4Scenario: (country: CountryCode, entityType?: CompanyTypesValue) => boolean;
31
- export declare const rules: ({ data, defaultData, country, taskType, isExperimentEnabled, isSettingEnabled, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<BusinessDetailsSchema> & {
31
+ export declare const rules: ({ data, defaultData, country, taskType, isFeatureEnabled, isSettingEnabled, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<BusinessDetailsSchema> & {
32
32
  defaultData?: MultiFormOptions<BusinessDetailsSchema>["defaultData"];
33
33
  }) => {
34
34
  requireDoingBusinessAsName: () => "REQUIRED" | undefined;
@@ -1,4 +1,4 @@
1
- import type { ExperimentName } from '../../../../context/ExperimentContext/types';
1
+ import type { FeatureName } from '../../../../context/ToggleContext/types';
2
2
  import type { Document } from '../../../../core/models/api/document';
3
3
  import { type Scenario } from '../../../../core/models/api/get-scenarios';
4
4
  import type { ExistingLegalEntity, LegalEntity } from '../../../../core/models/api/legal-entity';
@@ -6,4 +6,4 @@ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
6
6
  import type { AccountHolderOption } from '../../../../types/accountHolder';
7
7
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
8
8
  export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<Document[]>;
9
- export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isExperimentEnabled: (key: ExperimentName) => boolean, taskType: TaskType, matchingScenario?: Scenario[], rootLegalEntity?: ExistingLegalEntity) => LegalEntity;
9
+ export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isFeatureEnabled: (key: FeatureName) => boolean, taskType: TaskType, matchingScenario?: Scenario[], rootLegalEntity?: ExistingLegalEntity) => LegalEntity;
@@ -0,0 +1,6 @@
1
+ interface BusinessLinesGettingStartedProps {
2
+ handleGettingStartedClick: () => void;
3
+ handleCancelClick: () => void;
4
+ }
5
+ export declare const BusinessDetailsGettingStarted: ({ handleGettingStartedClick, handleCancelClick, }: BusinessLinesGettingStartedProps) => import("preact/jsx-runtime").JSX.Element;
6
+ export {};
@@ -6,7 +6,7 @@ import type { UpdateBusinessLine } from '../../../../api/businessLines/useUpdate
6
6
  import type { CreateLegalEntity } from '../../../../api/createLegalEntity/useCreateLegalEntity';
7
7
  import type { UpdateLegalEntity } from '../../../../api/legalEntity/useUpdateLegalEntity';
8
8
  import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
9
- import type { ExperimentName } from '../../../../context/ExperimentContext/types';
9
+ import type { FeatureName } from '../../../../context/ToggleContext/types';
10
10
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
11
11
  import type { AdditionalEventProperties, UserEvents } from '../../../../core/user-events';
12
12
  import type { TFunction } from '../../../../../types';
@@ -72,7 +72,7 @@ export interface SubmitProps {
72
72
  handleUpdateLegalEntity: UpdateLegalEntity;
73
73
  createLegalEntity: CreateLegalEntity;
74
74
  onExternalSubmit: ((data: BusinessDetailsSchema) => void) | undefined;
75
- isExperimentEnabled: (key: ExperimentName) => boolean;
75
+ isFeatureEnabled: (key: FeatureName) => boolean;
76
76
  userEvents: UserEvents;
77
77
  efpBusinessLines?: BusinessLinesResponse[] | undefined;
78
78
  createBusinessLine?: CreateBusinessLine;
@@ -1,6 +1,8 @@
1
- import type { ExperimentName } from '../../../../context/ExperimentContext/types';
1
+ import type { FeatureName } from '../../../../context/ToggleContext/types';
2
2
  import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
3
- import type { CompanyRegistrationNumberType, TaxIdNumberType, VatNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
3
+ import type { CompanyRegistrationNumberType } from '../../../Shared/fields/BusinessRegistrationNumberField/types';
4
+ import type { TaxIdNumberType } from '../../../Shared/fields/TaxInformationField/types';
5
+ import type { VatNumberType } from '../../../Shared/fields/VatNumberField/types';
4
6
  import type { CountryCode } from '../../../../types/datasets/country-code';
5
7
  import type { StateCodeUS } from '../../../../types/datasets/state-code';
6
8
  import type { ValidatorRules } from '../../../../utils/validation/types';
@@ -14,9 +16,9 @@ interface BuildValidatorProps {
14
16
  registrationNumberType?: CompanyRegistrationNumberType;
15
17
  vatNumberType?: VatNumberType;
16
18
  state?: StateCodeUS;
17
- isExperimentEnabled: (experiment: ExperimentName) => boolean;
19
+ isFeatureEnabled: (feature: FeatureName) => boolean;
18
20
  }
19
- export declare function basicInformationValidators({ country, taxIdNumberType, companyType, registrationNumberType, state, isExperimentEnabled, }: BuildValidatorProps): ValidatorRules<BasicInformationSchema>;
21
+ export declare function basicInformationValidators({ country, taxIdNumberType, companyType, registrationNumberType, state, isFeatureEnabled, }: BuildValidatorProps): ValidatorRules<BasicInformationSchema>;
20
22
  export declare function businessSelectionValidators(): ValidatorRules<BusinessSelectionSchema>;
21
- export declare function additionalInformationValidators({ country, taxIdNumberType, companyType, registrationNumberType, vatNumberType, isExperimentEnabled, }: BuildValidatorProps): ValidatorRules<AdditionalInformationSchema>;
23
+ export declare function additionalInformationValidators({ country, taxIdNumberType, companyType, registrationNumberType, vatNumberType, isFeatureEnabled, }: BuildValidatorProps): ValidatorRules<AdditionalInformationSchema>;
22
24
  export {};
@@ -2,10 +2,10 @@ import type { LegalArrangement } from '../../../core/models/api/legal-arrangemen
2
2
  import type { Organization } from '../../../core/models/api/organization';
3
3
  import type { Capability, CapabilityName } from '../../../core/models/api/capability';
4
4
  import { type LegalEntityType } from '../../../core/models/api/legal-entity-type';
5
- import type { TaxIdNumberType } from '../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
5
+ import type { TaxIdNumberType } from '../../Shared/fields/TaxInformationField/types';
6
6
  import type { CompanyNameAndCountrySchema } from '../../Shared/forms/CompanyNameAndCountry/types';
7
7
  import { type TaskType } from '../../../stores/globalStore/taskTypes';
8
8
  import type { CountryCode } from '../../../types/datasets/country-code';
9
9
  export declare const countryToTaxInfoTypeMap: Record<string, TaxIdNumberType>;
10
10
  export declare const transformCountryOfGoverningLawToLegalEntity: (nameAndCountry: CompanyNameAndCountrySchema, organization: Organization | LegalArrangement) => Organization | LegalArrangement;
11
- export declare const isFinancialInformationRequired: (isFinancialInformationExperimentEnabled: boolean, taskType: TaskType, country: CountryCode, capabilities: Partial<Record<CapabilityName, Capability>> | undefined, legalEntityType: LegalEntityType | undefined) => "REQUIRED" | undefined;
11
+ export declare const isFinancialInformationRequired: (isFinancialInformationFeatureEnabled: boolean, taskType: TaskType, country: CountryCode, capabilities: Partial<Record<CapabilityName, Capability>> | undefined, legalEntityType: LegalEntityType | undefined) => "REQUIRED" | undefined;
@@ -1,5 +1,6 @@
1
- import type { ExperimentName } from '../../../context/ExperimentContext/types';
1
+ import type { FeatureName } from '../../../context/ToggleContext/types';
2
2
  import type { TFunction } from '../../../../types';
3
+ import type { SummarySection } from '../../Shared/NewSummary/NewSummary';
3
4
  import type { FormModelWithValidity } from '../../../types/form';
4
5
  import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
5
- export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], t: TFunction<readonly ["common", "business"]>, language: string, isExperimentEnabled: (key: ExperimentName) => boolean, version?: number) => {};
6
+ export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], t: TFunction<readonly ["common", "business"]>, language: string, isFeatureEnabled: (key: FeatureName) => boolean, version?: number) => SummarySection[];
@@ -1,2 +1,2 @@
1
1
  import type { SubmitProps } from '../tasks/BusinessDetailsDropin/types';
2
- export declare function submit({ data, legalEntityResponse, associatedLegalArrangement, nestedLegalEntity, nestedLegalEntityDetails, problems, taskType, accountHolder, forms, documentUtils, t, showToast, setLoadingStatus, setProblems, handleUpdateLegalEntity, createLegalEntity, onExternalSubmit, isExperimentEnabled, userEvents, efpBusinessLines, createBusinessLine, updateBusinessLine, matchingScenario, invalidateRootLegalEntity, }: SubmitProps): Promise<void>;
2
+ export declare function submit({ data, legalEntityResponse, associatedLegalArrangement, nestedLegalEntity, nestedLegalEntityDetails, problems, taskType, accountHolder, forms, documentUtils, t, showToast, setLoadingStatus, setProblems, handleUpdateLegalEntity, createLegalEntity, onExternalSubmit, isFeatureEnabled, userEvents, efpBusinessLines, createBusinessLine, updateBusinessLine, matchingScenario, invalidateRootLegalEntity, }: SubmitProps): Promise<void>;
@@ -0,0 +1,5 @@
1
+ interface CompanySearchToggles {
2
+ isAgnosticEndpointEnabled: boolean;
3
+ }
4
+ export declare function useCompanySearchFeature(): CompanySearchToggles;
5
+ export {};
@@ -1,3 +1,3 @@
1
- import type { WebDataFieldSchema } from 'src/components/BusinessLines/fields/WebDataField/types';
2
1
  import type { SalesChannelsFieldSchema } from '../../fields/SalesChannels/types';
2
+ import type { WebDataFieldSchema } from '../../fields/WebDataField/types';
3
3
  export type SalesChannelsFormSchema = SalesChannelsFieldSchema & WebDataFieldSchema;
@@ -1,2 +1,2 @@
1
1
  import { type BusinessLinesDropinProps } from '../types';
2
- export declare function BusinessLinesDropin({ taskType, handleHomeClick, rootLegalEntity, }: BusinessLinesDropinProps): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function BusinessLinesDropin({ handleHomeClick, rootLegalEntity, }: BusinessLinesDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { PciDropinProps } from './types';
2
- export declare function PciDropin({ legalEntityResponse, pciTemplateResponse, handleHomeClick, handleSign, taskType, asModal, needsSigning, handleCloseClick, }: Readonly<PciDropinProps>): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function PciDropin({ legalEntityResponse, pciTemplateResponse, handleHomeClick, handleSign, asModal, needsSigning, handleCloseClick, }: Readonly<PciDropinProps>): import("preact/jsx-runtime").JSX.Element;
@@ -453,9 +453,10 @@ export declare const businessFinancingApiKeyMapping: {
453
453
  soleProprietorship?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
454
454
  unincorporatedPartnership?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
455
455
  type?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
456
- documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
457
- capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
458
456
  problems?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
457
+ trustedFields?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
458
+ capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
459
+ documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
459
460
  "individual.birthData.dateOfBirth"?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
460
461
  "individual.identificationData.number"?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
461
462
  "individual.name.firstName"?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
@@ -479,7 +480,6 @@ export declare const businessFinancingApiKeyMapping: {
479
480
  "organization.financialReports"?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
480
481
  entityAssociations?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
481
482
  transferInstruments?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
482
- trustedFields?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
483
483
  "individual.countryOfBirth"?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
484
484
  "individual.email"?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
485
485
  "individual.gender"?: import("../../../utils/mapping/mappingRecord").MappingKey<BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema> | undefined;
@@ -3058,9 +3058,10 @@ export declare const businessFinancingIndividualApiKeyMapping: {
3058
3058
  soleProprietorship?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3059
3059
  unincorporatedPartnership?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3060
3060
  type?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3061
- documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3062
- capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3063
3061
  problems?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3062
+ trustedFields?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3063
+ capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3064
+ documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3064
3065
  "individual.birthData.dateOfBirth"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3065
3066
  "individual.identificationData.number"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3066
3067
  "individual.name.firstName"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
@@ -3084,7 +3085,6 @@ export declare const businessFinancingIndividualApiKeyMapping: {
3084
3085
  "organization.financialReports"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3085
3086
  entityAssociations?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3086
3087
  transferInstruments?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3087
- trustedFields?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3088
3088
  "individual.countryOfBirth"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3089
3089
  "individual.email"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
3090
3090
  "individual.gender"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "countryOfBirth" | "gender">> | undefined;
@@ -5663,9 +5663,10 @@ export declare const businessFinancingSoleProprietorApiKeyMapping: {
5663
5663
  soleProprietorship?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5664
5664
  unincorporatedPartnership?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5665
5665
  type?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5666
- documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5667
- capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5668
5666
  problems?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5667
+ trustedFields?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5668
+ capabilities?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5669
+ documentDetails?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5669
5670
  "individual.birthData.dateOfBirth"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5670
5671
  "individual.identificationData.number"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5671
5672
  "individual.name.firstName"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
@@ -5689,7 +5690,6 @@ export declare const businessFinancingSoleProprietorApiKeyMapping: {
5689
5690
  "organization.financialReports"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5690
5691
  entityAssociations?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5691
5692
  transferInstruments?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5692
- trustedFields?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5693
5693
  "individual.countryOfBirth"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5694
5694
  "individual.email"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
5695
5695
  "individual.gender"?: import("../../../utils/mapping/mappingRecord").MappingKey<Pick<BusinessFinancingSoleProprietorSchema, "legalProceedingsDate" | "legalInformationInsolvency" | "naceCode">> | undefined;
@@ -18,6 +18,9 @@ export interface SourceOfFundsProps {
18
18
  data?: SourceOfFundsSchema;
19
19
  country: CountryCode;
20
20
  activeBusinessLine?: BusinessLinesType;
21
+ sameAsOption?: SameAsSourceOfFundsOption;
22
+ useSameAs?: boolean;
23
+ onUseSameAsChange?: (useSameAs: boolean) => void;
21
24
  }
22
25
  export interface SourceOfFundsSchema {
23
26
  sourceOfFundsType: SourceOfFundsTypeSchema;
@@ -50,12 +53,20 @@ export interface SourceOfFundsAdditionalDataSchema {
50
53
  lastName?: string;
51
54
  originatorType?: OriginatorTypeUnion;
52
55
  }
56
+ export interface SameAsSourceOfFundsOption {
57
+ businessLineId: string;
58
+ productName: string;
59
+ sourceOfFunds: SourceOfFundsSchema;
60
+ }
53
61
  export interface SourceOfFundsTypeProps {
54
62
  categories?: DataSet;
55
63
  data?: SourceOfFundsTypeSchema;
56
64
  errors?: Partial<Record<keyof SourceOfFundsTypeSchema, ValidationRuleResult | null>>;
57
65
  valid?: Partial<Record<keyof SourceOfFundsTypeSchema, boolean>>;
58
66
  fieldValidationErrors?: Partial<Record<keyof SourceOfFundsTypeSchema, boolean>>;
67
+ sameAsOption?: SameAsSourceOfFundsOption;
68
+ useSameAs?: boolean;
69
+ onUseSameAsChange?: (useSameAs: boolean) => void;
59
70
  }
60
71
  export interface SourceOfFundsAdditionalDataProps {
61
72
  fieldValidationErrors?: Partial<Record<keyof SourceOfFundsAdditionalDataSchema, boolean>>;
@@ -62,7 +62,22 @@ export declare const parseSofOriginatorPayload: (additionalData?: SourceOfFundsA
62
62
  export declare const formatDateForInput: (isoDateString?: string) => string;
63
63
  export declare const getSofCardDetails: (t: TFunction<"sof">, sourceOfFunds?: SourceOfFundsType) => string;
64
64
  export declare const ALLOWED_SOF_SERVICES: BusinessLinesServiceType[];
65
+ /**
66
+ * Returns business lines that require SoF (based on ALLOWED_SOF_SERVICES)
67
+ */
68
+ export declare const getApplicableBusinessLines: (businessLines: BusinessLinesType[]) => BusinessLinesType[];
69
+ /**
70
+ * Deep comparison of SoF data.
71
+ * Returns true if all business-relevant fields are identical.
72
+ */
73
+ export declare const areSourceOfFundsEqual: (sof1: SourceOfFundsSchema, sof2: SourceOfFundsSchema) => boolean;
65
74
  export declare const SOF_INVALID_INPUT_ERROR_CODES: string[];
66
75
  export declare const getRelevantErrors: (problems: Problem[] | undefined, targetCodes: string[]) => false | VerificationError[];
67
76
  export declare const getUniqueRemediationActions: (error: VerificationError) => import("../../../../core/models/api/remediating-action").RemediatingAction[];
68
77
  export declare const sofCategoryItemMapper: Record<string, NsTranslationKey<'sof'>>;
78
+ /**
79
+ * Prepares additional data for originator creation/update.
80
+ * When useSameAs is true, appends the originatorLegalEntityId from the source
81
+ * so that createOrUpdateOriginator can update the existing LE instead of creating a new one.
82
+ */
83
+ export declare const getAdditionalDataForOriginator: (additionalData: SourceOfFundsAdditionalDataSchema | undefined, sourceAdditionalData: SourceOfFundsAdditionalDataSchema | undefined, useSameAs: boolean) => SourceOfFundsAdditionalDataSchema | undefined;
@@ -1,15 +1,16 @@
1
- import type { ExperimentName } from '../../../../context/ExperimentContext/types';
2
1
  import type { BooleanSettingName } from '../../../../context/SettingsContext/types';
2
+ import type { FeatureName } from '../../../../context/ToggleContext/types';
3
3
  import type { TFunction } from '../../../../../types';
4
- import type { IndividualIdNumberType, TaxIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
+ import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
5
+ import type { TaxIdNumberType } from '../../../Shared/fields/TaxInformationField/types';
5
6
  import { type TaskType } from '../../../../stores/globalStore/taskTypes';
6
7
  import type { CountryCode } from '../../../../types/datasets/country-code';
7
8
  import type { FormVerificationErrors } from '../../../../types/errors/form-verification-errors';
8
9
  import type { ValidatorRules } from '../../../../utils/validation/types';
9
10
  import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails.types';
10
- export declare const additionalPersonalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, t, taxIdNumberType, }: {
11
+ export declare const additionalPersonalDetailsValidators: ({ country, isFeatureEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, t, taxIdNumberType, }: {
11
12
  country: CountryCode;
12
- isExperimentEnabled?: (experiment: ExperimentName) => boolean;
13
+ isFeatureEnabled?: (feature: FeatureName) => boolean;
13
14
  isSettingEnabled?: (setting: BooleanSettingName) => boolean;
14
15
  taskType?: TaskType;
15
16
  idNumberType: IndividualIdNumberType | undefined;
@@ -1,8 +1,8 @@
1
- import type { ExperimentName } from '../../../../context/ExperimentContext/types';
1
+ import type { FeatureName } from '../../../../context/ToggleContext/types';
2
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
3
  import type { ValidatorRules } from '../../../../utils/validation/types';
4
4
  import type { BasicDetailsSchema } from './BasicDetails.types';
5
- export declare const basicDetailsValidators: ({ isExperimentEnabled, country, }: {
6
- isExperimentEnabled?: (experiment: ExperimentName) => boolean;
5
+ export declare const basicDetailsValidators: ({ isFeatureEnabled, country, }: {
6
+ isFeatureEnabled?: (feature: FeatureName) => boolean;
7
7
  country: CountryCode;
8
8
  }) => ValidatorRules<BasicDetailsSchema>;
@@ -0,0 +1,9 @@
1
+ export declare class IFrameWidget {
2
+ private readonly iframeUrl;
3
+ private readonly iframeElement;
4
+ private mountInProgress;
5
+ constructor(iframeElement: HTMLIFrameElement, url: string, _vendor: string, _sdkToken: string | undefined);
6
+ unmount(): void;
7
+ private mount;
8
+ mountAndWaitForResponse(): Promise<void>;
9
+ }
@@ -5,7 +5,7 @@ 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 individualRules: ({ matchingScenario, data, country, taskType, isExperimentEnabled, rootLegalEntity, problems, }: FormRulesParams<IndividualSchema>) => {
8
+ export declare const individualRules: ({ matchingScenario, data, country, taskType, isFeatureEnabled, rootLegalEntity, problems, }: FormRulesParams<IndividualSchema>) => {
9
9
  countryUsesTaxId: () => "REQUIRED" | undefined;
10
10
  isDirectorIdNumberRequiredForCountry: () => "REQUIRED" | undefined;
11
11
  idNumberRules: () => "REQUIRED" | "OPTIONAL" | undefined;
@@ -1,5 +1,5 @@
1
- import type { ExperimentName } from '../../../context/ExperimentContext/types';
1
+ import type { FeatureName } from '../../../context/ToggleContext/types';
2
2
  import type { LegalEntity } from '../../../core/models/api/legal-entity';
3
3
  import type { Scenario } from '../../../core/models/api/get-scenarios';
4
4
  import type { IndividualSchema } from '../forms/Individual.types';
5
- export declare const mapIndividualSchemaToLegalEntity: (individual: IndividualSchema, isExperimentEnabled: (key: ExperimentName) => boolean, matchingScenario?: Scenario[]) => LegalEntity;
5
+ export declare const mapIndividualSchemaToLegalEntity: (individual: IndividualSchema, isFeatureEnabled: (key: FeatureName) => boolean, matchingScenario?: Scenario[]) => LegalEntity;
@@ -2,8 +2,8 @@ import type { ExistingLegalEntity } from '../../../../../core/models/api/legal-e
2
2
  import type { UniqueEntityAssociation } from '../../../../Shared/EntityAssociation/types';
3
3
  export interface DecisionMakerDetailsProps {
4
4
  decisionMaker: UniqueEntityAssociation;
5
- parentLegalEntity: ExistingLegalEntity;
5
+ parentLegalEntity?: ExistingLegalEntity;
6
6
  handleClose: () => void;
7
- handleDelete: () => void;
7
+ handleDelete?: () => void;
8
8
  handleEdit: () => void;
9
9
  }
@@ -1 +1,6 @@
1
- export declare const InvitedDecisionMakerSubmitSuccess: () => import("preact/jsx-runtime").JSX.Element;
1
+ import type { UniqueEntityAssociation } from '../../../../../Shared/EntityAssociation/types';
2
+ export interface InvitedDecisionMakerSubmitSuccessProps {
3
+ decisionMaker: Omit<UniqueEntityAssociation, 'status'>;
4
+ handleEdit?: () => void;
5
+ }
6
+ export declare const InvitedDecisionMakerSubmitSuccess: ({ decisionMaker, handleEdit, }: InvitedDecisionMakerSubmitSuccessProps) => import("preact/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
2
+ /**
3
+ * Custom hook that polls for a specific task status with a built-in timeout.
4
+ * It manages the timeout state, stopping polling if the task completes, errors out, or the timeout is reached.
5
+ *
6
+ * @param taskType - The specific type of task to monitor.
7
+ * @param timeoutMs - The duration in milliseconds before timing out if the task is still processing.
8
+ * @returns Status indicators and the current task status.
9
+ */
10
+ export declare const useTaskStatusWithTimeout: (taskType: TaskType, timeoutMs?: number) => {
11
+ submitStatus: import("../../../../../stores/globalStore/taskStatus").TaskStatus | undefined;
12
+ decisionMakerStatus: import("../../../../../stores/globalStore/taskStatus").TaskStatus;
13
+ isLoading: boolean;
14
+ isErrorOrDetailsRequired: boolean;
15
+ };
@@ -1,3 +1,17 @@
1
1
  import type { LegalEntityAssociationType } from '../../../../core/models/api/legal-entity-association';
2
2
  import type { TFunction } from '../../../../../types';
3
+ import type { TaskStatus } from '../../../../stores/globalStore/taskStatus';
3
4
  export declare const getDecisionMakerDescription: (types: LegalEntityAssociationType[], t: TFunction<"individual">) => string;
5
+ /**
6
+ * Maps the current task submission status for invited decision maker to the appropriate landing layout properties,
7
+ * returning translated titles, descriptions, and content based on the state.
8
+ */
9
+ export declare const getLandingLayoutProps: (submitStatus: TaskStatus | undefined, isErrorOrDetailsRequired: boolean, t: TFunction<"individual">) => {
10
+ title: string;
11
+ description: string;
12
+ content?: undefined;
13
+ } | {
14
+ title: string;
15
+ description: string;
16
+ content: string;
17
+ };
@@ -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, summaryComponent, totalSteps, }: FormFlowProps) => import("preact/jsx-runtime").JSX.Element;
2
+ declare const FormFlow: ({ asModal, children, currentStep, disableBackButton, disableNextButton, nextButtonLoading, forms, activeForm, gotoFormByFormIndex, gotoFormByFormId, handleBackClick, handleCancelClick, handleNextClick, loadingStatus, summary, summaryComponent, totalSteps, }: FormFlowProps) => import("preact/jsx-runtime").JSX.Element;
3
3
  export { FormFlow };
@@ -12,6 +12,7 @@ export interface FormFlowProps {
12
12
  forms: FormModelWithValidity[];
13
13
  activeForm: FormModelWithValidity;
14
14
  gotoFormByFormIndex(index: number): void;
15
+ gotoFormByFormId(formId: string): void;
15
16
  handleBackClick?(): void;
16
17
  handleCancelClick?(): void;
17
18
  handleNextClick(): void | Promise<void>;
@@ -17,6 +17,7 @@ interface FormWrapperProps {
17
17
  handleBackClick?(): void;
18
18
  handleCloseClick?(): void;
19
19
  gotoFormByFormIndex(index: number): void;
20
+ gotoFormByFormId(formId: string): void;
20
21
  handleHomeClick?(): void;
21
22
  loadingStatus: LoadingStatus;
22
23
  forms: FormModelWithValidity[];
@@ -37,5 +38,5 @@ interface FormWrapperProps {
37
38
  hideHomeButton?: boolean;
38
39
  }
39
40
  /** @deprecated migrate to useMultiForm hook and FormFlow ui component*/
40
- export declare const FormWrapper: ({ asModal, summary, taskName, children, handleNextClick, handleBackClick, handleCloseClick, handleHomeClick, loadingStatus, gotoFormByFormIndex, forms, activeForm, validateForm, hideSidebar, hideFooter, canSubmit, onSubmit, problems, steps, showBackButton, hideNextButton, hideHomeButton, }: FormWrapperProps) => import("preact/jsx-runtime").JSX.Element;
41
+ export declare const FormWrapper: ({ asModal, summary, taskName, children, handleNextClick, handleBackClick, handleCloseClick, handleHomeClick, loadingStatus, gotoFormByFormIndex, gotoFormByFormId, forms, activeForm, validateForm, hideSidebar, hideFooter, canSubmit, onSubmit, problems, steps, showBackButton, hideNextButton, hideHomeButton, }: FormWrapperProps) => import("preact/jsx-runtime").JSX.Element;
41
42
  export {};
@@ -0,0 +1,8 @@
1
+ import type { DebugInfo } from './debugInfo';
2
+ interface DebugTogglesAndSettingsProps {
3
+ features: DebugInfo['features'];
4
+ settings: DebugInfo['settings'];
5
+ experiments: DebugInfo['experiments'];
6
+ }
7
+ export declare const DebugTogglesAndSettings: ({ features, settings, experiments, }: DebugTogglesAndSettingsProps) => import("preact/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,5 +1,5 @@
1
- import type { Experiments } from '../../../../context/ExperimentContext/types';
2
1
  import type { Settings } from '../../../../context/SettingsContext/types';
2
+ import type { Experiments, Features } from '../../../../context/ToggleContext/types';
3
3
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
4
4
  import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
5
5
  import type { TaskIdentifier } from '../../../../stores/globalStore/globalStore';
@@ -11,6 +11,7 @@ export interface DebugInfo {
11
11
  rootLegalEntityId: string;
12
12
  };
13
13
  settings: Settings;
14
+ features: Features;
14
15
  experiments: Experiments;
15
16
  taskStatuses: Partial<Record<TaskIdentifier, TaskStatusWithReason>>;
16
17
  legalEntityData?: {
@@ -0,0 +1,12 @@
1
+ import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
2
+ import type { CountryCode } from '../../../../../types/datasets/country-code';
3
+ import type { CompanyRegistrationNumberType } from '../types';
4
+ type CompanyRegistrationNumberTypeSelectorProps = {
5
+ country: CountryCode;
6
+ companyType?: CompanyTypesValue | 'trust';
7
+ selected: CompanyRegistrationNumberType | 'exempted' | undefined;
8
+ setSelected: (type: CompanyRegistrationNumberType | 'exempted') => void;
9
+ exemptedOptionLabel?: string;
10
+ };
11
+ export declare function CompanyRegistrationNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel, }: CompanyRegistrationNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
12
+ export {};
@@ -1,7 +1,7 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
3
- import type { CountryCode } from '../../../../types/datasets/country-code';
4
- import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
1
+ import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
2
+ import type { LegalEntityTypes } from '../../../../../core/models/api/legal-entity-type';
3
+ import type { CountryCode } from '../../../../../types/datasets/country-code';
4
+ import type { CompanyRegistrationNumberType } from '../types';
5
5
  /**
6
6
  * Determines the default business registration number type based on exisiting information, country, and company/entity type.
7
7
  * This function follows a priority order:
@@ -1,6 +1,6 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { CountryCode } from '../../../../types/datasets/country-code';
3
- import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
1
+ import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
2
+ import type { CountryCode } from '../../../../../types/datasets/country-code';
3
+ import type { CompanyRegistrationNumberType } from '../types';
4
4
  /**
5
5
  * For existing data, we need to infer the company registration number type from the existing data.
6
6
  * Otherwise, the incorrect mask will be applied.
@@ -3,7 +3,7 @@ import type { TFunction } from '../../../../../types';
3
3
  import type { CountryCode } from '../../../../types/datasets/country-code';
4
4
  import type { StateCodeUS } from '../../../../types/datasets/state-code';
5
5
  import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
6
- import type { CompanyRegistrationNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
6
+ import type { CompanyRegistrationNumberType } from './types';
7
7
  import type { BusinessRegistrationNumberFieldSchema } from './types';
8
8
  interface FieldConfigParams {
9
9
  companyType: CompanyTypesValue | 'trust' | undefined;