@adyen/kyc-components 4.19.0 → 4.20.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/{Accordion-BnhH5-eC.js → Accordion-BWdAGMRb.js} +1 -1
  2. package/dist/{AccountSetupRejected-VkyroW_s.js → AccountSetupRejected-N5q1VKpW.js} +2 -2
  3. package/dist/AdaptiveWorkflow-C8N4ayEt.js +5112 -0
  4. package/dist/{AdaptiveWorkflowComponent-BhHqJMaU.js → AdaptiveWorkflowComponent-CEMgH36B.js} +36 -36
  5. package/dist/{Address-qf5qFwua.js → Address-DQlehM6f.js} +8 -7
  6. package/dist/{AddressField-eulmJMt_.js → AddressField-BnboPpBe.js} +12 -253
  7. package/dist/{Avatar-Y_RdG_YY.js → Avatar-CeZIQS8n.js} +1 -1
  8. package/dist/{BusinessFinancingDropin-xtcAFZEN.js → BusinessFinancingDropin-CFKrcdPb.js} +33 -32
  9. package/dist/{BusinessFinancingPage-Dt2Va-qf.js → BusinessFinancingPage-DIrEOTbn.js} +33 -33
  10. package/dist/{utils-BFaY6wGW.js → BusinessRegistrationNumberField-DGBqMCwU.js} +301 -53
  11. package/dist/{BusinessTypeSelectionPage-CKrWo9e-.js → BusinessTypeSelectionPage-CyMTri8M.js} +18 -17
  12. package/dist/{Button-BuhgDsyo.js → Button-Cm7cT6BX.js} +1 -1
  13. package/dist/{Checkbox-CFN5ywvv.js → Checkbox-faFUul66.js} +1 -1
  14. package/dist/{CompanyRegistrationNumberTypeSelector-DDWIMP-t.js → CompanyRegistrationNumberTypeSelector-KkPiHDQk.js} +8 -8
  15. package/dist/{ContactDetails-Co7J7Hjc.js → ContactDetails-CQZ7kMSU.js} +7 -7
  16. package/dist/{ContextGuidance-RV1m2efV.js → ContextGuidance-CpLYhcU8.js} +2 -2
  17. package/dist/{CountryField-BTVLTRup.js → CountryField-DQnWXgAu.js} +26 -21
  18. package/dist/{Currency-DfCp7hwP.js → Currency-DJTE2WJJ.js} +8 -59
  19. package/dist/{CustomerSupport-fg0-Upw5.js → CustomerSupport-BkE-Ej6L.js} +14 -14
  20. package/dist/{DataConflictsModal-CVgcvjm6.js → DataConflictsModal-BhZpZhFP.js} +7 -7
  21. package/dist/{DebugModal-CaI-iWEa.js → DebugModal-C_O14NUN.js} +10 -10
  22. package/dist/{DecisionMakerDetails-JYY15piY.js → DecisionMakerDetails-BZEv2fPu.js} +17 -17
  23. package/dist/{DecisionMakerDetailsPage-UMAQo28h.js → DecisionMakerDetailsPage-DhCtiSzf.js} +12 -12
  24. package/dist/{DecisionMakers-DeQLYGwW.js → DecisionMakers-BPLn2iHA.js} +18 -18
  25. package/dist/{Dropzone-Dmtomtl2.js → Dropzone-DAvxNuAu.js} +7 -7
  26. package/dist/{EmbeddedStatus-sHJnhw3K.js → EmbeddedStatus-uz3Ivsyw.js} +4 -4
  27. package/dist/{EndStateLayout-CddZpAGD.js → EndStateLayout-BUK64Vqu.js} +2 -2
  28. package/dist/{EntityAssociation-vg8k3YiH.js → EntityAssociation-CBbcX-5M.js} +7 -7
  29. package/dist/{ErrorPanel-DysmW3Hz.js → ErrorPanel-C2hG0lLe.js} +4 -4
  30. package/dist/GlobalEntryModal-cQF6Bfim.js +353 -0
  31. package/dist/{GlobalEntryPage-CrjiJG7v.js → GlobalEntryPage-C6OnSwBj.js} +10 -10
  32. package/dist/{Image-Dc5Xg1_Y.js → Image-8SOcICah.js} +1 -1
  33. package/dist/{Individual.rules-Fg_j4_io.js → Individual.rules-D1Mmr7tv.js} +7 -11
  34. package/dist/{IndividualDropin-D5qyhkH7.js → IndividualDropin-KG_mOjri.js} +64 -67
  35. package/dist/{InputDate-Cp2ga0F5.js → InputDate-DDVX2D-5.js} +2 -2
  36. package/dist/{InputText-CRkApOKK.js → InputText-Cf9ccCaj.js} +5 -5
  37. package/dist/{Introduction-Dd72HuvK.js → Introduction-Dsy_e4OL.js} +8 -8
  38. package/dist/{InvitedDecisionMakerComponent-BR14VLnP.js → InvitedDecisionMakerComponent-Bzj7Szw8.js} +41 -41
  39. package/dist/{JpAddress-C7eDuCDV.js → JpAddress-CMYhw2Zl.js} +19 -17
  40. package/dist/{JpAddress.module-DNwEnPzj.js → JpAddress.module-CiY5uzmL.js} +4 -4
  41. package/dist/{JpAddressFields-CB889sWX.js → JpAddressFields-DqJ7Am2I.js} +15 -14
  42. package/dist/{LegalCompanyNameField-BVyQCVUE.js → LegalCompanyNameField-DGdSduXu.js} +5 -5
  43. package/dist/{LegalRepresentativeDetailsPage-BNFIn6Qh.js → LegalRepresentativeDetailsPage-DODrlxF0.js} +8 -8
  44. package/dist/{Link-PH3F7iTO.js → Link-B7RA2gSt.js} +1 -1
  45. package/dist/{ListItem-B-gDVdRO.js → ListItem-Cy46BXUv.js} +27 -4
  46. package/dist/{MaskedInput-DwP4ZWTk.js → MaskedInput-BZLm8L47.js} +11 -11
  47. package/dist/{Modal-BYdlsXkf.js → Modal-nylR9F4X.js} +1 -1
  48. package/dist/{Name-DfZeGh8m.js → Name-C0ti1xY6.js} +5 -5
  49. package/dist/{NewSummary-DebON3Ge.js → NewSummary-DDwQJV7w.js} +6 -6
  50. package/dist/{PatriotActDisclosure-V0iYQAp7.js → PatriotActDisclosure-CB0N3iIz.js} +15 -15
  51. package/dist/{PayoutDetailsDropin-DtLitjwp.js → PayoutDetailsDropin-9LoGCmko.js} +187 -135
  52. package/dist/{PayoutDetailsPage-Bul0UWe-.js → PayoutDetailsPage-DV8fIktn.js} +10 -10
  53. package/dist/{RadioGroup-BcojlKCO.js → RadioGroup-BUwhfue7.js} +3 -3
  54. package/dist/{Review-EaL1BttB.js → Review-C2JLh6M0.js} +8 -8
  55. package/dist/{RootBusinessDetailsPage-Cwc8cZOY.js → RootBusinessDetailsPage-D-T5SbYt.js} +10 -10
  56. package/dist/{RootBusinessLinesPage-CLsMhxkV.js → RootBusinessLinesPage-BZNLFGSY.js} +30 -30
  57. package/dist/{RootIndividualDetailsPage-Nfm0kzJq.js → RootIndividualDetailsPage-wO9DNKWn.js} +10 -10
  58. package/dist/{Select-C5sy6Wux.js → Select-B5Mo0Bpw.js} +12 -13
  59. package/dist/{SignPCIComponent-CaTaPQHb.js → SignPCIComponent-CZmCa0AY.js} +56 -54
  60. package/dist/{SingpassSelection-COig4k8W.js → SingpassSelection-BTZe82Q8.js} +6 -6
  61. package/dist/SoleProprietorshipPage-Dfzyn6Br.js +70 -0
  62. package/dist/{SourceOfFundsPage-DEABiUWz.js → SourceOfFundsPage-l899LDLv.js} +58 -44
  63. package/dist/{StructuredList-D54Bpjf4.js → StructuredList-DR8Fb1tc.js} +4 -4
  64. package/dist/{TaskListItem-CB0kZVlT.js → TaskListItem-1n3vYDAz.js} +11 -11
  65. package/dist/{TaskVerificationStatus-ITLSeoau.js → TaskVerificationStatus-DMj8rsZ_.js} +1 -1
  66. package/dist/{TaxReportingDropin-9lSgx-Sv.js → TaxReportingDropin-BYOpjW8V.js} +18 -18
  67. package/dist/{TermsOfServiceManagement-CbgkpeNu.js → TermsOfServiceManagement-BUvv59rD.js} +68 -66
  68. package/dist/{TextArea-BzCbFjRp.js → TextArea-CoS-i-FF.js} +3 -3
  69. package/dist/{TrustDetailsPage-pJ_aGyVV.js → TrustDetailsPage-BQjA8lmD.js} +341 -318
  70. package/dist/TrustMemberCompanyPage-3189PHUn.js +109 -0
  71. package/dist/TrustMemberIndividualPage-DOFGzN7Z.js +110 -0
  72. package/dist/{TrustMemberRoleAndTypePage-DjE53lNn.js → TrustMemberRoleAndTypePage-nDSoM_rw.js} +19 -19
  73. package/dist/{TrustMembersOverview-z8U7UWHS.js → TrustMembersOverview-CxiKjCLV.js} +14 -14
  74. package/dist/UnincorporatedPartnershipIndividualPage-D-46tLiw.js +79 -0
  75. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOBh4lR1.js → UnincorporatedPartnershipMemberCompanyPage-CCnm-ShL.js} +37 -37
  76. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-9i54lBKZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-CsECHFgr.js} +11 -11
  77. package/dist/{UnincorporatedPartnershipMembersOverview-DFeXZDC8.js → UnincorporatedPartnershipMembersOverview-C8fwIn45.js} +9 -9
  78. package/dist/{VerificationErrorAlert-B3dqg4d3.js → VerificationErrorAlert-7hKN39sx.js} +4 -4
  79. package/dist/{accountHolderUtils-CV8i1K0q.js → accountHolderUtils-Cw7X31mH.js} +1 -1
  80. package/dist/adyen-business-financing.js +34 -34
  81. package/dist/adyen-individual-configuration.js +34 -34
  82. package/dist/adyen-individual-status.js +33 -33
  83. package/dist/adyen-invited-decision-maker.js +3 -3
  84. package/dist/adyen-onboarding.js +60 -60
  85. package/dist/adyen-terms-of-service-management.js +3 -3
  86. package/dist/adyen-terms-of-service-status.js +6 -6
  87. package/dist/adyen-transfer-instrument-configuration.js +33 -33
  88. package/dist/adyen-transfer-instrument-management.js +40 -40
  89. package/dist/adyen-verification-status.js +6 -6
  90. package/dist/{bafinUtils-qakcO27e.js → bafinUtils-vdTD2Ec5.js} +19 -19
  91. package/dist/bg-BG-Bmveyt6S.js +7 -0
  92. package/dist/{constants-L0qE2dbE.js → constants-Bs5FgdWg.js} +4 -4
  93. package/dist/{country-BxigZW1s.js → country-IYuKDSdC.js} +14 -2
  94. package/dist/cs-CZ-D5CQd_YI.js +7 -0
  95. package/dist/da-DK-Bl0-8FN4.js +7 -0
  96. package/dist/de-DE-Hah2EvAY.js +7 -0
  97. package/dist/el-GR-C9KGlGa7.js +7 -0
  98. package/dist/{en-US-CWDI7JKT.js → en-US-BFM81i9K.js} +3 -1
  99. package/dist/{en-US-CeiLSh8o.js → en-US-BorLJXJ4.js} +3 -1
  100. package/dist/en-US-Del1h5SS.js +23 -0
  101. package/dist/en-US-DqhKW1eC.js +7 -0
  102. package/dist/en-US-X8pjkwa3.js +7 -0
  103. package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → error-BatJzHF5.js} +19 -3
  104. package/dist/es-ES-DSwi-qfd.js +7 -0
  105. package/dist/es-LA-0IrX8yr2.js +7 -0
  106. package/dist/es-LA-1H8dAUVR.js +7 -0
  107. package/dist/es-LA-BjZq9RK_.js +7 -0
  108. package/dist/{es-LA-DU9jNyAv.js → es-LA-CGrMi4rR.js} +2 -2
  109. package/dist/{es-LA-DMpf5gAW.js → es-LA-DBBkFhgU.js} +2 -2
  110. package/dist/et-EE-BGpsJPjk.js +7 -0
  111. package/dist/fi-FI-BdrXeX9d.js +7 -0
  112. package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js} +11 -11
  113. package/dist/{form-rules-wh_oE1AN.js → form-rules-DV3hxYqZ.js} +2 -2
  114. package/dist/formatValidationError-CZ5MeYBS.js +23 -0
  115. package/dist/fr-FR-hleHEr-Y.js +7 -0
  116. package/dist/{getProblemsForEntity-set4Krmx.js → getProblemsForEntity-DStlTvE-.js} +2 -2
  117. package/dist/{getTrustedDecisionMakers-B_XpRta-.js → getTrustedDecisionMakers-CAbhvydj.js} +2 -2
  118. package/dist/hr-HR--ti3n_XO.js +7 -0
  119. package/dist/{http-CFac2y4i.js → http-D6AdUBhO.js} +57 -2
  120. package/dist/hu-HU-D9Avt-9f.js +7 -0
  121. package/dist/it-IT-Dq5z7p1-.js +7 -0
  122. package/dist/ja-JP-Dyhw0Ycj.js +7 -0
  123. package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
  124. package/dist/{localizeDateString-BRB4gPDZ.js → localizeDateString-D-MlYN4V.js} +1 -1
  125. package/dist/lt-LT-BMI4JzrS.js +7 -0
  126. package/dist/lv-LV-LkNZQ__4.js +7 -0
  127. package/dist/mapExistingFile-LvvzPjnk.js +55 -0
  128. package/dist/{mapJpAddressSchemaToAddressLocalizations-D9928vV-.js → mapJpAddressSchemaToAddressLocalizations-6nfrRniy.js} +3 -51
  129. package/dist/{mapLegalEntityToIndividualSchema-C6zpRY2L.js → mapLegalEntityToIndividualSchema-1JDK92Nc.js} +8 -8
  130. package/dist/{mapTransferInstrumentToPayoutAccount-DAXQcZKf.js → mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js} +2 -2
  131. package/dist/nl-NL-CC2r7Ldv.js +7 -0
  132. package/dist/no-NO-V7_rz3uN.js +7 -0
  133. package/dist/{patternValidators-Crk2JcIC.js → patternValidators-tRq-KPvW.js} +1 -1
  134. package/dist/pl-PL-2QyKX67Y.js +7 -0
  135. package/dist/{processCapabilities-zti_0yUx.js → processCapabilities-BSpmJOEd.js} +13 -13
  136. package/dist/{processValidationErrors-N1ZuAvVY.js → processValidationErrors-PJV6CPG2.js} +2 -2
  137. package/dist/pt-BR-D08Fo1qY.js +7 -0
  138. package/dist/pt-PT-BAQWYDe6.js +7 -0
  139. package/dist/{resolveEnvironment-BHPgG5Ko.js → resolveEnvironment-df20S4SQ.js} +39 -39
  140. package/dist/ro-RO-wG0rfL5w.js +7 -0
  141. package/dist/sk-SK-DJinBnS1.js +7 -0
  142. package/dist/sl-SI-DUaLO_J7.js +7 -0
  143. package/dist/style.css +153 -139
  144. package/dist/styles-DYaAeu4q.js +153 -139
  145. package/dist/sv-SE-5uxyEq2a.js +7 -0
  146. package/dist/toFullWidth-Dgy4X4i8.js +52 -0
  147. package/dist/{translation-CcKrUksA.js → translation-DH4IlMCP.js} +6 -2
  148. package/dist/types/adaptiveWorkflow/component-registry-v2.d.ts +46 -0
  149. package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +1 -2
  150. package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +6 -0
  151. package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/contextMap.d.ts +5 -0
  152. package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +6 -0
  153. package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/useCustomerDataV2.d.ts +28 -0
  154. package/dist/types/adaptiveWorkflow/components/Layout/Steps/AcceptTermsOfServiceWorkflow.d.ts +2 -0
  155. package/dist/types/adaptiveWorkflow/components/Layout/Steps/IdentityScreeningWorkflow.d.ts +2 -0
  156. package/dist/types/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.d.ts +2 -0
  157. package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +2 -0
  158. package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/contextMap.d.ts +2 -0
  159. package/dist/types/adaptiveWorkflow/components/Layout/Steps/TaxReportingWorkflow.d.ts +2 -0
  160. package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +9 -0
  161. package/dist/types/adaptiveWorkflow/components/Layout/Task/contextMap.d.ts +2 -0
  162. package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +5 -0
  163. package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.d.ts +2 -0
  164. package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +8 -0
  165. package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +8 -0
  166. package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +6 -0
  167. package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +7 -0
  168. package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +20 -0
  169. package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +6 -0
  170. package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +7 -0
  171. package/dist/types/adaptiveWorkflow/components/WorkflowHeading/WorkflowHeading.d.ts +1 -1
  172. package/dist/types/adaptiveWorkflow/components/types.d.ts +31 -0
  173. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -0
  174. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +22 -0
  175. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useHideTaskStepper.d.ts +6 -0
  176. package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -0
  177. package/dist/types/adaptiveWorkflow/utils/getNodeType.d.ts +11 -0
  178. package/dist/types/adaptiveWorkflow/utils/getProgressSteps.d.ts +4 -0
  179. package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +2 -1
  180. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +6 -1
  181. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/usePayoutAccountFormat.d.ts +10 -0
  182. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -29
  183. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -27
  184. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
  185. package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +2 -2
  186. package/dist/types/components/Business/forms/rules.d.ts +7 -3
  187. package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +2 -3
  188. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +3 -3
  189. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
  190. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
  191. package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
  192. package/dist/types/components/{SoleProprietorship → Business}/pages/SoleProprietorshipPage.d.ts +2 -2
  193. package/dist/types/components/{Trust → Business}/pages/TrustMemberCompanyPage.d.ts +3 -3
  194. package/dist/types/components/{UnincorporatedPartnership → Business}/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
  195. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  196. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
  197. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +5 -5
  198. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +6 -2
  199. package/dist/types/components/Business/utils/utils.d.ts +3 -5
  200. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +93 -93
  201. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +5 -5
  202. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +2 -1
  203. package/dist/types/components/GlobalEntry/constants.d.ts +13 -3
  204. package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
  205. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +3 -0
  206. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +5 -0
  207. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.d.ts +2 -0
  208. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +5 -0
  209. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +5 -0
  210. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +3 -0
  211. package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
  212. package/dist/types/components/GlobalEntry/validate.d.ts +9 -0
  213. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +2 -2
  214. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
  215. package/dist/types/components/Individual/forms/GuidanceQuestion/GuidanceQuestion.d.ts +4 -3
  216. package/dist/types/components/{Trust → Individual}/pages/TrustMemberIndividualPage.d.ts +2 -2
  217. package/dist/types/components/{UnincorporatedPartnership → Individual}/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
  218. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.d.ts +3 -0
  219. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +53 -0
  220. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +28 -0
  221. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
  222. package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -1
  223. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  224. package/dist/types/components/Trust/forms/Trust/rules.d.ts +12 -0
  225. package/dist/types/components/Trust/forms/Trust/types.d.ts +4 -4
  226. package/dist/types/components/Trust/forms/TrustRegistrationAddress/TrustRegistrationAddress.d.ts +2 -0
  227. package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +9 -0
  228. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  229. package/dist/types/components/Trust/tasks/TrustDropin/Trust.d.ts +2 -1
  230. package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +6 -0
  231. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  232. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
  233. package/dist/types/components/ui/atoms/Field/Field.types.d.ts +8 -2
  234. package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -3
  235. package/dist/types/context/WorkflowContext/WorkflowContext.d.ts +3 -1
  236. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -3
  237. package/dist/types/hooks/useForm/types.d.ts +3 -2
  238. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
  239. package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -16
  240. package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
  241. package/dist/types/router/routeConfig.d.ts +5 -5
  242. package/dist/types/types/form-rules.d.ts +0 -2
  243. package/dist/types/utils/country.d.ts +6 -0
  244. package/dist/types/utils/decodeJwt.d.ts +13 -0
  245. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  246. package/dist/types/utils/formUtils.d.ts +4 -3
  247. package/dist/types/utils/validation/formatValidationError.d.ts +11 -0
  248. package/dist/types/utils/validation/types.d.ts +4 -4
  249. package/dist/{types-lzI_sUwT.js → types-BLWT7WnU.js} +1 -1
  250. package/dist/{useAssociatedLegalEntity-DB8HCSwp.js → useAssociatedLegalEntity-CzQlHWXy.js} +2 -2
  251. package/dist/{useBusinessDetailsData-_7t1A_p2.js → useBusinessDetailsData-CRLRQh0U.js} +197 -356
  252. package/dist/{useBusinessLines-CfQYLNkw.js → useBusinessLines-D-rc-Z6G.js} +1 -1
  253. package/dist/{useCanSeeIntroduction-Jkw8uz5N.js → useCanSeeIntroduction-BeooAHcX.js} +1 -1
  254. package/dist/{useCreateLegalEntity-CVBjJUw_.js → useCreateLegalEntity-Ctdmk3Ky.js} +1 -1
  255. package/dist/{useDataMissingRemediations-BEdoAjt3.js → useDataMissingRemediations-DNZ_UDbI.js} +2 -2
  256. package/dist/{useForm-26r9IKF_.js → useForm-BLP36oqX.js} +3 -3
  257. package/dist/{useId-BwLQ-75v.js → useId-po-YSdTw.js} +3 -3
  258. package/dist/{useLegalEntity-BqO7Fmt0.js → useLegalEntity-DR51Q4mE.js} +1 -1
  259. package/dist/{useNavigate-DvOGhK-A.js → useNavigate-CcVYYcg1.js} +33 -33
  260. package/dist/{useOnboardingStatus-Bg1z2ftv.js → useOnboardingStatus-op5TyMUR.js} +1 -1
  261. package/dist/{usePciQuestionnaireList-Dq1w684P.js → usePciQuestionnaireList-BZsgbrTy.js} +1 -1
  262. package/dist/{useSalesChannels-D66W1KV8.js → useSalesChannels-Mi6DmHab.js} +2 -2
  263. package/dist/{useScenarios-BunWDxgO.js → useScenarios-Bne3C0PV.js} +1 -1
  264. package/dist/{useTaskLandedEvent-BTVaABDA.js → useTaskLandedEvent-C7fcguXK.js} +1 -1
  265. package/dist/{useTaskStatus-B_-IRF4H.js → useTaskStatus-Be6XyW54.js} +1 -1
  266. package/dist/{useTermsOfServiceStatus-CGIpBA0U.js → useTermsOfServiceStatus-D0NHUKl_.js} +1 -1
  267. package/dist/{useTrustMembers-DAFo_ibm.js → useTrustMembers-HJpKc0qR.js} +5 -5
  268. package/dist/{useUnincorporatedPartnershipMembers-DgD91qBf.js → useUnincorporatedPartnershipMembers-C5CNWe_U.js} +2 -2
  269. package/dist/{useUpdateBusinessLines-C2xW-32U.js → useUpdateBusinessLines-D6D9DAn1.js} +1 -1
  270. package/dist/{useUpdateLegalEntity-B4x3gely.js → useUpdateLegalEntity-CH4xp654.js} +2 -2
  271. package/dist/{utils-DbIq3tru.js → utils-BbBPfcNK.js} +7 -7
  272. package/dist/{utils-D8hL_fNA.js → utils-C8WDAzsL.js} +1 -1
  273. package/dist/{utils-DbQT0YgG.js → utils-Di84CxrF.js} +5 -5
  274. package/dist/{validate-K01plHbc.js → validate-BNu91k9j.js} +4 -4
  275. package/dist/validate-CkuU4MvS.js +250 -0
  276. package/dist/{validate-N3t8r03y.js → validate-CsYDNrPB.js} +1 -1
  277. package/dist/{validateExtractionResult-YhFC9maw.js → validateExtractionResult-mtXTjYfE.js} +10 -10
  278. package/dist/{validationError-q9Js1v0m.js → validationError-1dpZJlAz.js} +1 -1
  279. package/package.json +3 -4
  280. package/dist/AdaptiveWorkflow-DV_JyPw8.js +0 -1896
  281. package/dist/GlobalEntryModal-BHlZmq4-.js +0 -188
  282. package/dist/SoleProprietorshipPage-Ctcz1qNr.js +0 -70
  283. package/dist/TrustMemberCompanyPage-vqkIF_0s.js +0 -109
  284. package/dist/TrustMemberIndividualPage-CS_tABNQ.js +0 -109
  285. package/dist/UnincorporatedPartnershipIndividualPage-9uHIQImj.js +0 -79
  286. package/dist/bg-BG-BXAB4Qsj.js +0 -7
  287. package/dist/cs-CZ-DG5rPvy2.js +0 -7
  288. package/dist/da-DK-BnW-O75l.js +0 -7
  289. package/dist/de-DE-DUiPzmSc.js +0 -7
  290. package/dist/el-GR-1n3FJpd3.js +0 -7
  291. package/dist/en-US-B48_sHax.js +0 -13
  292. package/dist/en-US-BV2Gye3t.js +0 -7
  293. package/dist/en-US-CqjOvqxV.js +0 -7
  294. package/dist/es-ES-Cp45mlyV.js +0 -7
  295. package/dist/es-LA-BU32JqC-.js +0 -7
  296. package/dist/es-LA-Cyf48j4P.js +0 -7
  297. package/dist/es-LA-De_gTMKb.js +0 -7
  298. package/dist/et-EE-B4czzgF8.js +0 -7
  299. package/dist/fi-FI-D08MUkuM.js +0 -7
  300. package/dist/fr-FR-BxDpVfWO.js +0 -7
  301. package/dist/getTrustedFields-BJ88GlM-.js +0 -28
  302. package/dist/hr-HR-DGQMquDg.js +0 -7
  303. package/dist/hu-HU-Eofp7khl.js +0 -7
  304. package/dist/it-IT-CD7NJtJa.js +0 -7
  305. package/dist/ja-JP-YvXztswF.js +0 -7
  306. package/dist/lt-LT-Cjx4H-0R.js +0 -7
  307. package/dist/lv-LV-Ckf37gXo.js +0 -7
  308. package/dist/mapExistingFile-BOXehUNN.js +0 -138
  309. package/dist/nl-NL-DFHAkUK3.js +0 -7
  310. package/dist/no-NO-B6frLiko.js +0 -7
  311. package/dist/pl-PL-DnYkTdjO.js +0 -7
  312. package/dist/pt-BR-65dQv8uO.js +0 -7
  313. package/dist/pt-PT-D0fXeW1f.js +0 -7
  314. package/dist/ro-RO-CNj95qQn.js +0 -7
  315. package/dist/sk-SK-C0x9Vs2X.js +0 -7
  316. package/dist/sl-SI-BikBCOJK.js +0 -7
  317. package/dist/sv-SE-BGP9Lmku.js +0 -7
  318. package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddress.d.ts +0 -3
  319. package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +0 -3
  320. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +0 -26
  321. package/dist/types/components/Shared/forms/RegistrationAddress/validate.d.ts +0 -3
  322. package/dist/types/utils/getDisplayErrorMessage.d.ts +0 -2
  323. /package/dist/types/components/{SoleProprietorship → Trust}/hooks/useExemptSettlor.d.ts +0 -0
@@ -0,0 +1,7 @@
1
+ import type { NodeRendererProps } from './NodeRenderer';
2
+ /**
3
+ * Renders a specialized step component returned from the UI manifest.
4
+ * Specialized step components function as one whole, all-encompassing step as part of the child components of a task.
5
+ * This includes fetching/submitting data, navigation, etc.
6
+ */
7
+ export declare const SpecializedStepRenderer: ({ node, form }: NodeRendererProps) => import("preact/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import type { WorkflowStatus } from '../../../api/adaptive/adaptiveWorkflow.types';
2
2
  interface WorkflowHeadingProps {
3
- globalStatus: WorkflowStatus;
3
+ globalStatus: WorkflowStatus | undefined;
4
4
  }
5
5
  export declare const WorkflowHeading: ({ globalStatus }: WorkflowHeadingProps) => import("preact/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -2,6 +2,7 @@ import type { WorkflowStatus } from '../../api/adaptive/adaptiveWorkflow.types';
2
2
  import type { IconName } from '../../components/ui/atoms/Icon/Icon';
3
3
  import type { NsTranslationKey } from '../../../types';
4
4
  import type { ComponentName, SpecializedTaskComponentName } from '../component-registry';
5
+ import type { ComponentName as ComponentNameV2 } from '../component-registry-v2';
5
6
  /**
6
7
  * Config for a task group received from the adaptive workflow engine.
7
8
  * @param id used to map a particular task group to FE-specific contextual details (ex. copy) from a task group context map
@@ -121,3 +122,33 @@ export interface StepContext {
121
122
  heading: NsTranslationKey<'adaptive'>;
122
123
  description: NsTranslationKey<'adaptive'>;
123
124
  }
125
+ /**
126
+ * Shape of a node returned as part of AWE's UI manifest
127
+ * @param id unique id identifying the node
128
+ * @param name name of component to map to in our component registry
129
+ * @param path identifier for the requirement as returned from requirements engine,
130
+ * - used to determine where data should be submit until UCD (unified customer data) is available
131
+ * - not relevant for layout components
132
+ * @param status status of a field based on the state of the requirement from RE
133
+ * @param properties props passed into components, there are two types of props currently:
134
+ * 1 - `global` - these are props which map to shared data returned as part of AWE `globals` object
135
+ * ex. { country: { type: 'global', value: 'organization.registeredAddress.country' } }
136
+ * 2 - `value` - these are props which have a fixed value which can be used directly (ex. resourceId, array of strings for a dropdown, etc.)
137
+ * ex. { resourceId: { type: 'value', value: 'LE329RM223227J5P8P9PWF3QJ' } }
138
+ * @param children array of child nodes of this component
139
+ * @remediations remediation context related to component
140
+ */
141
+ export interface ComponentConfigV2 {
142
+ id: string;
143
+ name: ComponentNameV2;
144
+ path?: string;
145
+ status?: WorkflowStatus;
146
+ properties?: Record<string, PropValue> & Partial<ReservedProps>;
147
+ children?: ComponentConfigV2[];
148
+ remediations?: {
149
+ remediationsContext: {
150
+ reasonCode: string;
151
+ userMessage: string;
152
+ };
153
+ };
154
+ }
@@ -0,0 +1,19 @@
1
+ export interface TaskStepperContextValue {
2
+ currentStepIndex: number;
3
+ totalSteps: number;
4
+ isStepperVisible: boolean;
5
+ setIsStepperVisible: (isVisible: boolean) => void;
6
+ goToNextStep: () => void;
7
+ goToPreviousStep: () => void;
8
+ /**
9
+ * Sets the submit handler which we will call on clicks on the submit button for a dynamic form
10
+ */
11
+ registerSubmitHandler: (handler: (() => Promise<void>) | null) => void;
12
+ /**
13
+ * Sets the validation handler which we will use for validation in a dynamic form
14
+ */
15
+ registerValidateHandler: (handler: (() => Promise<boolean>) | null) => void;
16
+ isSubmitting: boolean;
17
+ setIsSubmitting: (val: boolean) => void;
18
+ }
19
+ export declare const TaskStepperContext: import("preact").Context<TaskStepperContextValue | undefined>;
@@ -0,0 +1,22 @@
1
+ import type { ComponentChildren } from 'preact';
2
+ interface TaskStepperContextProviderProps {
3
+ children: ComponentChildren;
4
+ totalSteps: number;
5
+ onClose: () => void;
6
+ onComplete: () => void;
7
+ }
8
+ /**
9
+ * For managing the stepper for children of a task node component
10
+ * @param currentStepIndex - index of current step
11
+ * @param totalSteps - total number of steps
12
+ * @param isStepperVisible - if task stepper is visible
13
+ * @param setIsStepperVisible - sets visibility of task stepper
14
+ * @param goToNextStep - moves to next step, executes validation handler if present, or submit handler if on final step
15
+ * @param goToPreviousStep - moves to previous step, or closes out of task if on first step
16
+ * @param registerSubmitHandler - registers a submit handler
17
+ * @param registerValidateHandler - registers a validation handler
18
+ * @param isSubmitting - if task is in submitting state
19
+ * @param setIsSubmitting - setting submitting state for task stepper
20
+ */
21
+ export declare function TaskStepperContextProvider({ children, totalSteps, onClose, onComplete, }: Readonly<TaskStepperContextProviderProps>): import("preact/jsx-runtime").JSX.Element;
22
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Hides the task stepper buttons
3
+ * Used by specialized step components (e.g. SourceOfFundsWorkflow, TaxReportingWorkflow)
4
+ * which have their own navigation buttons and don't need the task stepper
5
+ */
6
+ export declare function useHideTaskStepper(): void;
@@ -0,0 +1 @@
1
+ export declare function useTaskStepperContext(): import("./TaskStepperContext").TaskStepperContextValue;
@@ -0,0 +1,11 @@
1
+ type NodeType = 'simple' | 'compound' | 'layout' | 'specializedStep' | null;
2
+ /**
3
+ * Returns the kind of a node by name.
4
+ * - `'simple'` — single-field component (keyed in SIMPLE_FIELD_COMPONENT_MAP)
5
+ * - `'compound'` — multi-field group component (keyed in COMPOUND_FIELD_COMPONENT_MAP)
6
+ * - `'layout'` — structural/layout component (keyed in LAYOUT_COMPONENT_MAP)
7
+ * - `'specializedStep'` — all encompassing component (ex. built-in data fetching/submission, field rendering, navigation, etc.) (keyed in SPECIALIZED_STEP_COMPONENT_MAP)
8
+ * - `null` — unknown / unmapped component
9
+ */
10
+ export declare const getNodeType: (component: string) => NodeType;
11
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { WorkflowStatus } from '../../api/adaptive/adaptiveWorkflow.types';
2
+ import type { ProgressStep } from '../../components/ui/molecules/AdaptiveProgressBar/AdaptiveProgressBar';
3
+ import type { useTranslation } from '../../utils/translation';
4
+ export declare const getProgressSteps: (globalStatus: WorkflowStatus | undefined, t: ReturnType<typeof useTranslation<"adaptive">>["t"]) => ProgressStep[];
@@ -1,4 +1,4 @@
1
- import type { TaskGroupConfig } from '../../adaptiveWorkflow/components/types';
1
+ import type { ComponentConfigV2, TaskGroupConfig } from '../../adaptiveWorkflow/components/types';
2
2
  export declare const adaptiveWorkflowResponse: AweWorkflowResponse;
3
3
  export interface WorkflowEntity {
4
4
  id: string;
@@ -38,4 +38,5 @@ export interface AweWorkflowResponse {
38
38
  globals: WorkflowGlobals;
39
39
  globalStatus: WorkflowStatus;
40
40
  taskGroups: TaskGroupConfig[];
41
+ nodes: ComponentConfigV2;
41
42
  }
@@ -2,6 +2,11 @@ import type { ParseConfiguration } from '../../../../hooks/useScenarioConfigurat
2
2
  import type { FormList } from '../../../../types/form';
3
3
  import type { PayoutAccountSchema } from '../../forms/PayoutAccount/types';
4
4
  import type { PayoutDetailsSchema } from '../../forms/PayoutDetails/types';
5
+ import type { AccountFormatRequirements } from '../../utils/payoutAccountFormats';
5
6
  export declare const obscuredPayoutFields: Array<keyof PayoutAccountSchema>;
6
- export declare const parseConfiguration: ParseConfiguration<PayoutDetailsSchema>;
7
+ export declare const createPayoutParseConfiguration: ({ requiredFields, bankVerificationAvailable, enableUSBankAccountTypeSelection, }: {
8
+ requiredFields: AccountFormatRequirements | undefined;
9
+ bankVerificationAvailable: boolean | undefined;
10
+ enableUSBankAccountTypeSelection: boolean | undefined;
11
+ }) => ParseConfiguration<PayoutDetailsSchema>;
7
12
  export declare const getAppropriatePayoutDetailsSteps: (isEditing: boolean, instantVerificationAvailable: boolean, canChangeCountry: boolean, isCrossBorderEnabled?: boolean, isForcedManualPayoutFlowEnabled?: boolean) => FormList;
@@ -0,0 +1,10 @@
1
+ import type { CountryCode } from '../../../../types/datasets/country-code';
2
+ import type { BankAccountFormatType } from '../../fields/BankAccountFormat/types';
3
+ import type { AccountFormatRequirements } from '../../utils/payoutAccountFormats';
4
+ /**
5
+ * Resolves the payout account-format requirements for the active
6
+ * {@link payoutAccountFormat} signal. The effect defaults the signal per country and
7
+ * validates any pre-existing account format; it stays gated to country/existing changes
8
+ * so it does not clobber a format the user selects manually.
9
+ */
10
+ export declare const usePayoutAccountFormat: (country: CountryCode, existingBankAccountFormat?: BankAccountFormatType) => AccountFormatRequirements | undefined;
@@ -5,42 +5,15 @@ import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/typ
5
5
  import type { EInvoicingCodeFieldSchema } from '../../../Shared/fields/EInvoicingCodeField/types';
6
6
  import type { IndustryCodeFieldSchema } from '../../../Shared/fields/IndustryCodeField/types';
7
7
  import type { LegalEntityIdentifierFieldSchema } from '../../../Shared/fields/LegalEntityIdentifierField/types';
8
+ import type { RegistrationAndOperationalAddressFieldsSchema } from '../../../Shared/fields/RegistrationAndOperationalAddressFields/types';
8
9
  import type { StockExchangeMICFieldSchema } from '../../../Shared/fields/StockExchangeMICField/types';
9
10
  import type { StockISINFieldSchema } from '../../../Shared/fields/StockISINField/types';
10
11
  import type { StockTickerSymbolFieldSchema } from '../../../Shared/fields/StockTickerSymbol/types';
11
12
  import type { VatNumberFieldSchema } from '../../../Shared/fields/VatNumberField/types';
12
13
  import type { CountryCode } from '../../../../types/datasets/country-code';
13
14
  import type { LegalFormFieldSchema } from '../../../EFP/fields/LegalFormField/types';
14
- export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumberFieldSchema, LegalEntityIdentifierFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, EInvoicingCodeFieldSchema, LegalFormFieldSchema, IndustryCodeFieldSchema {
15
+ export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumberFieldSchema, LegalEntityIdentifierFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, EInvoicingCodeFieldSchema, LegalFormFieldSchema, IndustryCodeFieldSchema, RegistrationAndOperationalAddressFieldsSchema {
15
16
  legalFormDescription?: string;
16
- operationalAddressIsSame?: boolean;
17
- residentialAddressIndicator?: boolean;
18
- /** Flattened addresses fields */
19
- registrationAddressStreet?: string;
20
- registrationAddressStreet2?: string;
21
- registrationAddressCity?: string;
22
- registrationAddressStateOrProvince?: string;
23
- registrationAddressPostalCode?: string;
24
- registrationAddressCountry?: CountryCode;
25
- operationalAddressStreet?: string;
26
- operationalAddressStreet2?: string;
27
- operationalAddressCity?: string;
28
- operationalAddressStateOrProvince?: string;
29
- operationalAddressPostalCode?: string;
30
- operationalAddressCountry?: CountryCode;
31
- /** JP-specific */
32
- registrationAddressJaHaniStateOrProvince?: string;
33
- registrationAddressJaHaniCity?: string;
34
- registrationAddressJaHaniStreet?: string;
35
- registrationAddressJaKanaStateOrProvince?: string;
36
- registrationAddressJaKanaCity?: string;
37
- registrationAddressStreet2FullWidth?: string;
38
- operationalAddressJaHaniStateOrProvince?: string;
39
- operationalAddressJaHaniCity?: string;
40
- operationalAddressJaHaniStreet?: string;
41
- operationalAddressJaKanaStateOrProvince?: string;
42
- operationalAddressJaKanaCity?: string;
43
- operationalAddressStreet2FullWidth?: string;
44
17
  }
45
18
  export interface AdditionalInformationProps extends BaseInnerFormProps<AdditionalInformationSchema> {
46
19
  country: CountryCode;
@@ -1,31 +1,4 @@
1
1
  import type { CompanyDatasetResponseAddress } from '../../../../api/companyDataSet/companyDataset.types';
2
- import type { JpAddressSchema } from '../../../Shared/forms/Address/localized/jp/jpAddressSchema';
3
2
  import type { AddressSchema } from '../../../Shared/forms/Address/types';
4
- import type { AdditionalInformationSchema } from './types';
5
- export declare const ALL_ADDRESS_FIELDS: (keyof AddressSchema | "jaHaniCity" | "jaHaniStateOrProvince" | "jaHaniStreet" | "jaKanaCity" | "jaKanaStateOrProvince" | "street2FullWidth")[];
6
- /**
7
- * Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode'],
8
- * rebuilding them into the flattened, prefixed fields for the addresses, e.g., `registrationAddress.address` -> `registrationAddressAddress`
9
- *
10
- * @param prefix - `registrationAddress` or `operationalAddress`
11
- * @param trustedFields - trustedFields on legal entity
12
- * @returns An array of the nested field keys that are trusted
13
- */
14
- export declare const getNestedTrustedFields: (prefix: "registrationAddress" | "operationalAddress", trustedFields: string[] | undefined) => string[];
15
- /**
16
- * Flattens a nested address schema using the provided prefix to avoid collisions so each
17
- * field can be handled individually.
18
- *
19
- * `flattenAddressSchema('registrationAddress', { city: 'Chicago' })` -> `{ registrationAddressCity: 'Chicago' }`
20
- */
21
- export declare function flattenAddressSchema(prefix: 'registrationAddress' | 'operationalAddress', address: (AddressSchema & JpAddressSchema) | undefined): Partial<AdditionalInformationSchema>;
22
- /**
23
- * Nests a flattened address schema, removing the provided prefix from each field. Used for
24
- * utilities that still expect nested data.
25
- *
26
- * `flattenAddressSchema('registrationAddress', { registrationAddressCity: 'Chicago' })` -> `{ city: 'Chicago' }`
27
- */
28
- export declare function nestAddressSchema(prefix: 'registrationAddress' | 'operationalAddress', flatData: AdditionalInformationSchema | undefined): AddressSchema & JpAddressSchema;
29
- export declare const getPrefixedAddressFieldNames: (prefix: "registrationAddress" | "operationalAddress") => (keyof AdditionalInformationSchema)[];
30
3
  export declare const mapAddressData: (verifiedBusiness: CompanyDatasetResponseAddress) => AddressSchema;
31
4
  export declare const isDateOlderThanAYear: (dateString: string | undefined) => boolean;
@@ -7,13 +7,13 @@ import type { LegalCompanyNameFieldSchema } from '../../../Shared/fields/LegalCo
7
7
  import type { LocalizedLegalCompanyNameFieldSchema } from '../../../Shared/fields/LocalizedLegalCompanyNameField/types';
8
8
  import type { StateFieldSchema } from '../../../Shared/fields/StateField/types';
9
9
  import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
10
- import type { TaskType } from '../../../../stores/globalStore/taskTypes';
11
10
  import type { CountryCode } from '../../../../types/datasets/country-code';
11
+ import type { BusinessDetailsTasks } from '../../tasks/BusinessDetailsDropin/types';
12
12
  export type BasicInformationSchema = CountryFieldSchema & LegalCompanyNameFieldSchema & LocalizedLegalCompanyNameFieldSchema & StateFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema & CountryOfGoverningLawFieldSchema;
13
13
  export interface BasicInformationProps extends BaseInnerFormProps<BasicInformationSchema> {
14
14
  country: CountryCode;
15
15
  disableCountry: boolean;
16
16
  isTopLevelEntity: boolean;
17
17
  companyType: CompanyTypesValue | 'trust' | undefined;
18
- taskType: TaskType;
18
+ taskType: BusinessDetailsTasks;
19
19
  }
@@ -1,10 +1,10 @@
1
1
  import type { BaseOuterFormProps } from '../../../../hooks/useForm/types';
2
- import type { TaskType } from '../../../../stores/globalStore/taskTypes';
3
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
4
3
  import type { FormModelWithValidity } from '../../../../types/form';
4
+ import type { BusinessDetailsTasks } from '../../tasks/BusinessDetailsDropin/types';
5
5
  import type { BusinessDetailsSchema } from './types';
6
6
  interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetailsSchema> {
7
- taskType: TaskType;
7
+ taskType: BusinessDetailsTasks;
8
8
  country: CountryCode;
9
9
  activeForm: FormModelWithValidity;
10
10
  shouldValidate: boolean;
@@ -1,11 +1,14 @@
1
1
  import type { CompanySelectionResponse } from '../../../api/companySelection/companySelection.types';
2
2
  import type { MultiFormOptions } from '../../../hooks/useMultiForm/types';
3
3
  import type { FormRulesParams } from '../../../types/form-rules';
4
+ import type { BusinessDetailsTasks } from '../tasks/BusinessDetailsDropin/types';
4
5
  import type { BusinessDetailsSchema } from './BusinessDetails/types';
5
- export declare const rules: ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled, isSettingEnabled, getSetting, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<BusinessDetailsSchema> & {
6
- defaultData?: MultiFormOptions<BusinessDetailsSchema>["defaultData"];
6
+ interface RulesProps extends Omit<FormRulesParams<BusinessDetailsSchema>, 'taskType'> {
7
+ taskType: BusinessDetailsTasks;
8
+ defaultData?: MultiFormOptions<BusinessDetailsSchema>['defaultData'];
7
9
  verifiedBusiness?: CompanySelectionResponse;
8
- }) => {
10
+ }
11
+ export declare const rules: ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled, isSettingEnabled, getSetting, accountHolder, rootLegalEntity, tinMatched, }: RulesProps) => {
9
12
  requireDoingBusinessAsName: () => "REQUIRED" | undefined;
10
13
  countryRequiresStateOrProvince: () => "REQUIRED" | undefined;
11
14
  ifPubliclyTradedCompany: () => "REQUIRED" | undefined;
@@ -63,3 +66,4 @@ export declare const rules: ({ data, defaultData, verifiedBusiness, country, tas
63
66
  operationalAddressStreet2FullWidthRequired: () => "REQUIRED" | "OPTIONAL" | undefined;
64
67
  };
65
68
  export type BusinessRules = ReturnType<typeof rules>;
69
+ export {};
@@ -1,7 +1,6 @@
1
1
  import type { BusinessLinesResponse } from '../../../api/businessLines/businessLines.types';
2
2
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
3
- import type { TaskType } from '../../../stores/globalStore/taskTypes';
4
- import type { BusinessDetailsDocumentFields } from '../tasks/BusinessDetailsDropin/types';
3
+ import type { BusinessDetailsDocumentFields, BusinessDetailsTasks } from '../tasks/BusinessDetailsDropin/types';
5
4
  type BusinessDetailsData = {
6
5
  data: {
7
6
  rootLe?: ExistingLegalEntity;
@@ -17,5 +16,5 @@ type BusinessDetailsData = {
17
16
  };
18
17
  isLoading: false;
19
18
  };
20
- export declare function useBusinessDetailsData(taskType: TaskType, associatedLegalArrangement?: ExistingLegalEntity, nestedLegalEntity?: ExistingLegalEntity): BusinessDetailsData;
19
+ export declare function useBusinessDetailsData(taskType: BusinessDetailsTasks, associatedLegalArrangement?: ExistingLegalEntity, nestedLegalEntity?: ExistingLegalEntity): BusinessDetailsData;
21
20
  export {};
@@ -8,7 +8,6 @@ import type { TFunction } from '../../../../types';
8
8
  import type { Scenario } from '../../../core/models/api/get-scenarios';
9
9
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
10
10
  import type { ToastOptions } from '../../ui/molecules/Toast/Toast.types';
11
- import type { TaskType } from '../../../stores/globalStore/taskTypes';
12
11
  import type { CountryCode } from '../../../types/datasets/country-code';
13
12
  import type { EntityProblems } from '../../../types/errors/entity-problems';
14
13
  import type { FormModelWithValidity } from '../../../types/form';
@@ -16,6 +15,7 @@ import type { DocumentApiUtils } from '../../../utils/api/documentUtils';
16
15
  import type { TrustMember } from '../../Trust/tasks/TrustMembers/types';
17
16
  import type { UnincorporatedPartnershipMember } from '../../UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types';
18
17
  import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
18
+ import type { BusinessDetailsTasks } from '../tasks/BusinessDetailsDropin/types';
19
19
  export interface UseSubmitBusinessDetailsProps {
20
20
  country: CountryCode;
21
21
  data: BusinessDetailsSchema;
@@ -25,11 +25,11 @@ export interface UseSubmitBusinessDetailsProps {
25
25
  nestedLegalEntity?: ExistingLegalEntity;
26
26
  nestedLegalEntityDetails?: TrustMember | UnincorporatedPartnershipMember;
27
27
  efpBusinessLines: BusinessLinesResponse[] | undefined;
28
- taskType: TaskType;
28
+ taskType: BusinessDetailsTasks;
29
29
  problems: EntityProblems | undefined;
30
30
  setProblems: Dispatch<StateUpdater<EntityProblems>>;
31
31
  setLoadingStatus: (status: LoadingStatus) => void;
32
- onExternalSubmit: ((data: BusinessDetailsSchema) => void) | undefined;
32
+ onExternalSubmit: (data: BusinessDetailsSchema) => void;
33
33
  }
34
34
  export interface SubmitDocumentsProps {
35
35
  data: BusinessDetailsSchema;
@@ -2,8 +2,8 @@ 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';
5
- import type { TaskType } from '../../../../stores/globalStore/taskTypes';
6
5
  import type { AccountHolderOption } from '../../../../types/accountHolder';
7
6
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
7
+ import type { BusinessDetailsTasks } from '../../tasks/BusinessDetailsDropin/types';
8
8
  export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<Document[]>;
9
- export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isFeatureEnabled: (key: FeatureName) => boolean, taskType: TaskType, matchingScenario?: Scenario[], rootLegalEntity?: ExistingLegalEntity) => LegalEntity;
9
+ export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isFeatureEnabled: (key: FeatureName) => boolean, taskType: BusinessDetailsTasks, matchingScenario?: Scenario[], rootLegalEntity?: ExistingLegalEntity) => LegalEntity;
@@ -2,17 +2,17 @@ import type { FeatureName } from '../../../../context/ToggleContext/types';
2
2
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
3
3
  import type { TaxInformation } from '../../../../core/models/api/organization';
4
4
  import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
5
- import type { TaskType } from '../../../../stores/globalStore/taskTypes';
6
5
  import type { CountryCode } from '../../../../types/datasets/country-code';
7
6
  import type { BasicInformationSchema } from '../../forms/BasicInformation/types';
8
7
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
8
+ import type { BusinessDetailsTasks } from '../../tasks/BusinessDetailsDropin/types';
9
9
  export declare const mapApiDocumentToBusinessDetailsDocuments: (entityId: string) => BusinessDetailsSchema;
10
10
  export declare const mapDbaName: (legalEntity: ExistingLegalEntity) => DBANameFieldSchema;
11
11
  export declare const mapIsUen: (taxInformation: TaxInformation[] | undefined, registrationNumber: string | undefined, country: CountryCode | undefined) => Partial<BasicInformationSchema>;
12
12
  type MapLegalEntityParams = {
13
13
  legalEntity: ExistingLegalEntity | undefined;
14
14
  parentEntity?: ExistingLegalEntity;
15
- taskType: TaskType;
15
+ taskType: BusinessDetailsTasks;
16
16
  isFeatureEnabled: (feature: FeatureName) => boolean;
17
17
  };
18
18
  export declare const mapLegalEntityToBusinessDetailsSchema: ({ legalEntity, parentEntity, taskType, isFeatureEnabled, }: MapLegalEntityParams) => BusinessDetailsSchema;
@@ -2,6 +2,6 @@ import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
2
2
  export interface RootBusinessDetailsPageProps {
3
3
  isTargetLegalEntityType?: boolean;
4
4
  handleHomeClick(): void;
5
- onSubmit?(dataSubmitted: BusinessDetailsSchema): void;
5
+ onSubmit(dataSubmitted: BusinessDetailsSchema): void;
6
6
  }
7
7
  export declare const RootBusinessDetailsPage: ({ onSubmit, handleHomeClick, }: RootBusinessDetailsPageProps) => import("preact/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- import type { BusinessDetailsSchema } from '../../Business/forms/BusinessDetails/types';
1
+ import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
2
2
  export interface SoleProprietorshipPageProps {
3
3
  solePropId: string | undefined;
4
4
  handleHomeClick(): void;
5
- onSubmit?(dataSubmitted: BusinessDetailsSchema): void;
5
+ onSubmit(dataSubmitted: BusinessDetailsSchema): void;
6
6
  }
7
7
  export declare function SoleProprietorshipPage({ solePropId, onSubmit, handleHomeClick, }: SoleProprietorshipPageProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
- import type { BusinessDetailsSchema } from '../../Business/forms/BusinessDetails/types';
2
- import type { TrustMember } from '../tasks/TrustMembers/types';
1
+ import type { TrustMember } from '../../Trust/tasks/TrustMembers/types';
2
+ import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
3
3
  export interface TrustMemberCompanyPageProps {
4
4
  trustId: string | undefined;
5
5
  trustMemberCompanyId?: string;
6
6
  newMember?: TrustMember;
7
7
  handleHomeClick(): void;
8
- onSubmit?(dataSubmitted: BusinessDetailsSchema): void;
8
+ onSubmit(dataSubmitted: BusinessDetailsSchema): void;
9
9
  }
10
10
  export declare function TrustMemberCompanyPage({ trustId, trustMemberCompanyId: trustMemberCompanyIdProp, newMember, onSubmit, handleHomeClick, }: TrustMemberCompanyPageProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,11 +1,11 @@
1
- import type { BusinessDetailsSchema } from '../../Business/forms/BusinessDetails/types';
2
- import type { UnincorporatedPartnershipMember } from '../tasks/UnincorporatedPartnershipMembers/types';
1
+ import type { UnincorporatedPartnershipMember } from '../../UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types';
2
+ import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
3
3
  interface UnincorporatedPartnershipMemberCompanyPageProps {
4
4
  partnershipId: string | undefined;
5
5
  partnershipMemberCompanyId?: string;
6
6
  newMember?: UnincorporatedPartnershipMember;
7
7
  handleHomeClick(): void;
8
- onSubmit?(dataSubmitted: BusinessDetailsSchema): void;
8
+ onSubmit(dataSubmitted: BusinessDetailsSchema): void;
9
9
  }
10
10
  export declare function UnincorporatedPartnershipMemberCompanyPage({ partnershipId, partnershipMemberCompanyId: partnershipMemberCompanyIdProp, newMember, onSubmit, handleHomeClick, }: UnincorporatedPartnershipMemberCompanyPageProps): import("preact/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -4,4 +4,4 @@ export declare const CompanySearchStateContext: import("preact").Context<Company
4
4
  export declare function BusinessDetailsDropin({ taskType, country: propCountry, problems: propProblems, legalEntityResponse, efpBusinessLines, documents, associatedLegalArrangement, // initially undefined when creating entity
5
5
  nestedLegalEntity, // initially undefined when creating entity
6
6
  nestedLegalEntityDetails, // has entity roles for association logic
7
- onSubmit: onExternalSubmit, handleHomeClick, asModal, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
7
+ onSubmit: onExternalSubmit, handleHomeClick, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ import type { UserEvents } from '../../../../core/user-events';
4
4
  import type { Form } from '../../../../hooks/useMultiForm/types';
5
5
  import { type CountryCode } from '../../../../types/datasets/country-code';
6
6
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
7
- import type { RegistrationNumberConflictData } from '../../modals/RegistrationNumberMismatchModal';
7
+ import type { ApplyVerifiedBusinessDataOptions } from '../../utils/applyVerifiedBusinessData';
8
8
  type DisallowedSelectionReasons = 'LEGAL_ARRANGEMENT';
9
9
  export interface CompanySearchState {
10
10
  companySearchName: Signal<string | undefined>;
@@ -16,7 +16,7 @@ export interface CompanySearchState {
16
16
  disallowSelection: (reason: DisallowedSelectionReasons) => void;
17
17
  setVerificationMatched: (value: boolean) => void;
18
18
  selectCompany: (data: CompanySelectionResponse, idx: number, country: CountryCode) => void;
19
- confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode, registrationNumberType?: RegistrationNumberConflictData) => void;
19
+ confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode, options?: ApplyVerifiedBusinessDataOptions) => void;
20
20
  }
21
21
  export declare const CompanySearchStateModel: import("@preact/signals").ModelConstructor<CompanySearchState, [UserEvents]>;
22
22
  export {};
@@ -1,14 +1,15 @@
1
1
  import type { BusinessLinesResponse } from '../../../../api/businessLines/businessLines.types';
2
2
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
3
- import type { TaskType } from '../../../../stores/globalStore/taskTypes';
3
+ import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
4
4
  import type { CountryCode } from '../../../../types/datasets/country-code';
5
5
  import type { EntityProblems } from '../../../../types/errors/entity-problems';
6
6
  import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
7
7
  import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
8
8
  import type { UnincorporatedPartnershipMember } from '../../../UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types';
9
9
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
10
- export interface BusinessDetailsDropinProps extends DropinProps {
11
- taskType: TaskType;
10
+ export type BusinessDetailsTasks = typeof TaskTypes.BUSINESS_DETAILS | typeof TaskTypes.SOLE_PROPRIETOR_COMPANY | typeof TaskTypes.TRUST_MEMBER_COMPANY | typeof TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY;
11
+ export interface BusinessDetailsDropinProps extends Omit<DropinProps, 'taskType'> {
12
+ taskType: BusinessDetailsTasks;
12
13
  legalEntityResponse: ExistingLegalEntity;
13
14
  efpBusinessLines: BusinessLinesResponse[] | undefined;
14
15
  documents: BusinessDetailsDocumentFields | undefined;
@@ -17,7 +18,6 @@ export interface BusinessDetailsDropinProps extends DropinProps {
17
18
  nestedLegalEntityDetails?: TrustMember | UnincorporatedPartnershipMember;
18
19
  country: CountryCode;
19
20
  problems: EntityProblems | undefined;
20
- asModal?: boolean;
21
- onSubmit?: (data: BusinessDetailsSchema) => void;
21
+ onSubmit: (data: BusinessDetailsSchema) => void;
22
22
  }
23
23
  export type BusinessDetailsDocumentFields = Pick<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyProofOfSignatoryDocument' | 'companyProofOfAddressDocument' | 'companyProofOfOwnershipDocument' | 'companyConstitutionalDocument'>;
@@ -1,6 +1,10 @@
1
1
  import type { CompanySelectionResponse } from '../../../api/companySelection/companySelection.types';
2
+ import type { CompanyTypesValue } from '../../../core/models/api/company-types-value';
2
3
  import type { Form } from '../../../hooks/useMultiForm/types';
3
4
  import { type CountryCode } from '../../../types/datasets/country-code';
4
5
  import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
5
- import type { RegistrationNumberConflictData } from '../modals/RegistrationNumberMismatchModal';
6
- export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined, resolvedData?: RegistrationNumberConflictData) => void;
6
+ export interface ApplyVerifiedBusinessDataOptions {
7
+ preserveRegistrationNumber?: boolean;
8
+ companyTypeOverride?: CompanyTypesValue;
9
+ }
10
+ export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined, options?: ApplyVerifiedBusinessDataOptions) => void;
@@ -3,15 +3,13 @@ import type { LegalArrangement } from '../../../core/models/api/legal-arrangemen
3
3
  import type { Organization } from '../../../core/models/api/organization';
4
4
  import type { Capability, CapabilityName } from '../../../core/models/api/capability';
5
5
  import { type LegalEntityType } from '../../../core/models/api/legal-entity-type';
6
- import type { TaxIdNumberType } from '../../Shared/fields/TaxInformationField/types';
7
6
  import type { CompanyNameAndCountrySchema } from '../../Shared/forms/CompanyNameAndCountry/types';
8
- import { type TaskType } from '../../../stores/globalStore/taskTypes';
9
7
  import type { CountryCode } from '../../../types/datasets/country-code';
10
8
  import type { BasicInformationSchema } from '../forms/BasicInformation/types';
11
9
  import { REGISTRATION_NUMBER_EXEMPTION_RULES } from '../forms/rules.constants';
12
- export declare const countryToTaxInfoTypeMap: Record<string, TaxIdNumberType>;
10
+ import type { BusinessDetailsTasks } from '../tasks/BusinessDetailsDropin/types';
13
11
  export declare const transformCountryOfGoverningLawToLegalEntity: (nameAndCountry: CompanyNameAndCountrySchema, organization: Organization | LegalArrangement) => Organization | LegalArrangement;
14
- export declare const isFinancialInformationRequired: (isFinancialInformationFeatureEnabled: boolean, taskType: TaskType, country: CountryCode, capabilities: Partial<Record<CapabilityName, Capability>> | undefined, legalEntityType: LegalEntityType | undefined) => "REQUIRED" | undefined;
12
+ export declare const isFinancialInformationRequired: (isFinancialInformationFeatureEnabled: boolean, taskType: BusinessDetailsTasks, country: CountryCode, capabilities: Partial<Record<CapabilityName, Capability>> | undefined, rootLegalEntityType: LegalEntityType | undefined) => "REQUIRED" | undefined;
15
13
  export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
16
14
  type RegistrationExemptionCountry = keyof typeof REGISTRATION_NUMBER_EXEMPTION_RULES;
17
15
  /**
@@ -22,5 +20,5 @@ type RegistrationExemptionCountry = keyof typeof REGISTRATION_NUMBER_EXEMPTION_R
22
20
  */
23
21
  export declare const isRegistrationExemptionAllowed: (country: CountryCode) => country is RegistrationExemptionCountry;
24
22
  export declare const isRegistrationNumberAbsentStateV4Scenario: (country: CountryCode, entityType?: CompanyTypesValue) => boolean;
25
- export declare const isUsingCompanySearch: (country: CountryCode, taskType: TaskType) => boolean;
23
+ export declare const isUsingCompanySearch: (country: CountryCode, taskType: BusinessDetailsTasks) => boolean;
26
24
  export {};