@adyen/kyc-components 4.0.0-beta.3 → 4.0.0-beta.4

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 (442) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-i222mdxX.js → AcceptTermsOfServiceComponent-ilX6szf9.js} +42 -43
  2. package/dist/{AccountSetupRejected-DHph9lFl.js → AccountSetupRejected-CQjHA557.js} +3 -3
  3. package/dist/{Avatar-vCjWXfC7.js → Avatar-BfRRf9_a.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-DQcfiSR8.js → BusinessDetailsDropin-Dr580mIQ.js} +122 -144
  5. package/dist/{BusinessFinancingComponent-DC3jzBrq.js → BusinessFinancingComponent-CEIG-4wN.js} +3 -3
  6. package/dist/{BusinessFinancingDropin-D2lMEbNh.js → BusinessFinancingDropin-sC3QpkDx.js} +409 -258
  7. package/dist/{BusinessFinancingPage-BPD2cSDR.js → BusinessFinancingPage-BIEuNfKE.js} +3 -3
  8. package/dist/{BusinessTypeSelectionPage-Cdp8joPJ.js → BusinessTypeSelectionPage-6sF2ce3o.js} +35 -64
  9. package/dist/{ContractViewer-B0bZ14Ts.js → ContractViewer-BOxsPeO1.js} +4 -4
  10. package/dist/{CreateIndividualComponent-D9wnexv4.js → CreateIndividualComponent-t9eDVjpb.js} +4 -4
  11. package/dist/{CreateTransferInstrumentComponent-COzPdQjC.js → CreateTransferInstrumentComponent-D65FAcQz.js} +5 -5
  12. package/dist/{CustomerSupport-NGBoBg3N.js → CustomerSupport-CoLWcgoS.js} +5 -5
  13. package/dist/{DebugModal-I2U6TjGT.js → DebugModal-DkICAsiu.js} +7 -221
  14. package/dist/{DecisionMakerDetailsPage-BN-H1sJF.js → DecisionMakerDetailsPage-CvmwdHqV.js} +4 -4
  15. package/dist/{DecisionMakers-CZ5-IRtU.js → DecisionMakers-DthVv8_t.js} +160 -9
  16. package/dist/{EmbeddedStatus-Blr0seRl.js → EmbeddedStatus-DdGnEZzS.js} +13 -13
  17. package/dist/{FormEndState-JB6QFSet.js → FormEndState-CUYkLBgX.js} +3 -3
  18. package/dist/{FormFlow-DjvdNEiV.js → FormFlow-CNXkXUwa.js} +3 -3
  19. package/dist/{IndividualOnfidoDropin-DHhyO2ai.js → IndividualOnfidoDropin-DV2fJG5W.js} +254 -223
  20. package/dist/{Introduction-erRXgreE.js → Introduction-B1WXHc-7.js} +24 -26
  21. package/dist/{ProviderButton-B58n0cRC.js → LandingLayout-BC3pp_IY.js} +91 -83
  22. package/dist/{LegalRepresentativeDetailsPage-rS5K4657.js → LegalRepresentativeDetailsPage-9xm-XCto.js} +4 -4
  23. package/dist/{ManageIndividualComponent-BEzE5lkX.js → ManageIndividualComponent-zCo6mUQx.js} +6 -6
  24. package/dist/{ManageTermsOfServiceComponent-BWkwy6YC.js → ManageTermsOfServiceComponent-DpQXgPYk.js} +4 -4
  25. package/dist/{ManageTransferInstrumentComponent-B8kRNftW.js → ManageTransferInstrumentComponent-BKERoin1.js} +6 -6
  26. package/dist/{OnboardingDropinComponent-DBW5N3Dr.js → OnboardingDropinComponent-DYdts9Sh.js} +330 -169
  27. package/dist/{Review-O6Al47Cu.js → Review-jBq7cFVv.js} +3 -3
  28. package/dist/RootBusinessDetailsPage-BfO0Xb7n.js +1848 -0
  29. package/dist/{RootIndividualDetailsPage-CiXgSJsV.js → RootIndividualDetailsPage-DzmHoceW.js} +4 -4
  30. package/dist/{SignPCIComponent-cqRNhGdl.js → SignPCIComponent-By4PazmA.js} +20 -24
  31. package/dist/{SingpassSelection-BWEJ3Yi-.js → SingpassSelection-BeUj9Kdy.js} +8 -8
  32. package/dist/{SoleProprietorshipPage-CRcJSpn9.js → SoleProprietorshipPage-CZPeKEEl.js} +4 -4
  33. package/dist/{SourceOfFundsPage-BxLGXTHb.js → SourceOfFundsPage-CI1qdFId.js} +18 -17
  34. package/dist/{StoreProvider-ClKLaHzy.js → StoreProvider-O9jwxfG8.js} +5192 -4367
  35. package/dist/{TaskItemStatus-DrTIwCTx.js → TaskItemStatus-s7Z3DOGa.js} +12 -12
  36. package/dist/{TaskStatusIndicator-CTtKjo0m.js → TaskStatusIndicator-BanufME0.js} +5 -5
  37. package/dist/{TaxReportingDropin-DFZ2ehfk.js → TaxReportingDropin-BQqDUn9I.js} +8 -8
  38. package/dist/{TileGroup-BtE472I1.js → TileGroup-tu04B8GK.js} +2 -2
  39. package/dist/{TrustDetailsPage-CGiiTbfR.js → TrustDetailsPage-BQKZ_ZyU.js} +28 -15
  40. package/dist/{TrustMemberCompanyPage-oLNhg0hg.js → TrustMemberCompanyPage-C9aFr4Bm.js} +5 -5
  41. package/dist/{TrustMemberIndividualPage-Bgsis586.js → TrustMemberIndividualPage-Ci7hwMA_.js} +4 -4
  42. package/dist/{UnincorporatedPartnershipIndividualPage-DPE3grqL.js → UnincorporatedPartnershipIndividualPage-XQsgF3ou.js} +4 -4
  43. package/dist/{UnincorporatedPartnershipMemberCompanyPage-HUnc9g0g.js → UnincorporatedPartnershipMemberCompanyPage-DFe_N3gH.js} +4 -4
  44. package/dist/{VerificationErrorAlert-BBdJmGJu.js → VerificationErrorAlert-Ci0cObw1.js} +13 -4
  45. package/dist/{ViewVerificationStatusComponent-DDtXG_pM.js → ViewVerificationStatusComponent-_qQmZFDY.js} +14 -12
  46. package/dist/adyen-business-financing.js +2 -2
  47. package/dist/adyen-individual.js +2 -2
  48. package/dist/adyen-kyc-components.js +31 -22
  49. package/dist/adyen-manage-individual.js +2 -2
  50. package/dist/adyen-manage-terms-of-service.js +3 -3
  51. package/dist/adyen-manage-transfer-instruments.js +3 -3
  52. package/dist/adyen-onboarding.js +3 -3
  53. package/dist/adyen-terms-of-service.js +2 -2
  54. package/dist/adyen-transfer-instrument.js +2 -2
  55. package/dist/adyen-verification-status.js +2 -2
  56. package/dist/bag-DpxmyXfR.js +14 -0
  57. package/dist/bg-BG-9uVrFuHv.js +23 -0
  58. package/dist/bg-BG-BiYtb1Tz.js +55 -0
  59. package/dist/bg-BG-CMomhopf.js +35 -0
  60. package/dist/bg-BG-Dy6-IwuZ.js +28 -0
  61. package/dist/bg-BG-NMIts2sa.js +35 -0
  62. package/dist/{plaintext-9WNCwUtz.js → bg-BG-hFblesn-.js} +4 -6
  63. package/dist/business-lines-DboUCbXw.js +135 -0
  64. package/dist/{_plugin-vue_export-helper-CgYpM5kA.js → cs-CZ-B8IPRc47.js} +4 -8
  65. package/dist/cs-CZ-Csr_35T-.js +35 -0
  66. package/dist/cs-CZ-DMzortvO.js +35 -0
  67. package/dist/cs-CZ-Dbow28-o.js +28 -0
  68. package/dist/cs-CZ-Wzc382q6.js +23 -0
  69. package/dist/cs-CZ-wdftovLe.js +55 -0
  70. package/dist/da-DK-4QAKic_C.js +55 -0
  71. package/dist/da-DK-Adj8R5Qn.js +28 -0
  72. package/dist/da-DK-BTpZzEgA.js +15 -0
  73. package/dist/da-DK-CeNMXUfE.js +23 -0
  74. package/dist/da-DK-Dm8o1giq.js +35 -0
  75. package/dist/da-DK-q2b_1elr.js +35 -0
  76. package/dist/de-DE-BG0tKqvi.js +28 -0
  77. package/dist/de-DE-BzumFI3T.js +55 -0
  78. package/dist/de-DE-D2ByeIZs.js +35 -0
  79. package/dist/de-DE-DMFaycio.js +35 -0
  80. package/dist/de-DE-DjOUNvp6.js +15 -0
  81. package/dist/de-DE-JI-7mvxy.js +23 -0
  82. package/dist/el-GR-CGeBAkDN.js +35 -0
  83. package/dist/el-GR-CXmTklMq.js +55 -0
  84. package/dist/el-GR-Cu9HwD-f.js +15 -0
  85. package/dist/el-GR-DGW388LZ.js +35 -0
  86. package/dist/el-GR-DerT143K.js +28 -0
  87. package/dist/el-GR-DfNOPkLq.js +23 -0
  88. package/dist/en-US-BQpgt41j.js +37 -0
  89. package/dist/en-US-BTYdAWXp.js +15 -0
  90. package/dist/en-US-CQ3angjM.js +22 -0
  91. package/dist/en-US-CkZcSKGh.js +35 -0
  92. package/dist/en-US-DHq7VYFs.js +23 -0
  93. package/dist/en-US-DLm6gy6T.js +58 -0
  94. package/dist/en-US-SbE0c1gn.js +36 -0
  95. package/dist/es-ES-BM4U0hT3.js +28 -0
  96. package/dist/es-ES-BhQOdKge.js +55 -0
  97. package/dist/es-ES-Cj7q7fWO.js +15 -0
  98. package/dist/es-ES-DOVPTeyf.js +23 -0
  99. package/dist/es-ES-WWftn3JX.js +35 -0
  100. package/dist/es-ES-pXHx3ODy.js +35 -0
  101. package/dist/et-EE-BJIsPOnh.js +23 -0
  102. package/dist/et-EE-CFlzRBEx.js +55 -0
  103. package/dist/et-EE-D5lRJbMZ.js +35 -0
  104. package/dist/et-EE-Dor3enPS.js +15 -0
  105. package/dist/et-EE-OJg_PSHf.js +28 -0
  106. package/dist/et-EE-QLVnr6Vl.js +35 -0
  107. package/dist/fi-FI-BJ2l42Pj.js +28 -0
  108. package/dist/fi-FI-BNcnKrJ9.js +15 -0
  109. package/dist/fi-FI-D522KHGk.js +23 -0
  110. package/dist/fi-FI-D9E_KaJi.js +35 -0
  111. package/dist/fi-FI-DT351N-G.js +35 -0
  112. package/dist/fi-FI-Djollt2G.js +55 -0
  113. package/dist/fr-FR-BNXXNUX_.js +35 -0
  114. package/dist/fr-FR-Bn3D6mmY.js +15 -0
  115. package/dist/fr-FR-Cv0k-3Xc.js +35 -0
  116. package/dist/fr-FR-DInQKkTd.js +23 -0
  117. package/dist/fr-FR-g7lmxEsI.js +28 -0
  118. package/dist/fr-FR-l36qBV3a.js +55 -0
  119. package/dist/{getFieldsWithExistingData-BY--eXBQ.js → getFieldsWithExistingData-7pZnHro-.js} +2 -2
  120. package/dist/{hasDataChanged-CwfuS4et.js → hasDataChanged-v0hD-nEq.js} +2 -2
  121. package/dist/hr-HR-B8AZ4eHJ.js +35 -0
  122. package/dist/hr-HR-CDUE36Dg.js +28 -0
  123. package/dist/hr-HR-CNzbyo9r.js +15 -0
  124. package/dist/hr-HR-CzSrqEFA.js +35 -0
  125. package/dist/hr-HR-DTCY4iL8.js +55 -0
  126. package/dist/hr-HR-DzS44Gpv.js +23 -0
  127. package/dist/hu-HU-BSOiZA7a.js +15 -0
  128. package/dist/hu-HU-Bmf13NMf.js +28 -0
  129. package/dist/hu-HU-BznXPoc2.js +55 -0
  130. package/dist/hu-HU-DRi6Dz9U.js +35 -0
  131. package/dist/hu-HU-xCvNM5TU.js +23 -0
  132. package/dist/hu-HU-zK6nUqWr.js +35 -0
  133. package/dist/it-IT-BEWyAQUU.js +55 -0
  134. package/dist/it-IT-BeYbInCQ.js +35 -0
  135. package/dist/it-IT-C_fNHhjE.js +35 -0
  136. package/dist/it-IT-CjEYONJg.js +23 -0
  137. package/dist/it-IT-DYIx7myn.js +28 -0
  138. package/dist/it-IT-DvM-9LpM.js +15 -0
  139. package/dist/ja-JP-BUz3qN-V.js +23 -0
  140. package/dist/ja-JP-C1OQ16fo.js +35 -0
  141. package/dist/ja-JP-D7oL6xGY.js +55 -0
  142. package/dist/ja-JP-GXkLvnQ4.js +15 -0
  143. package/dist/ja-JP-tx1DbZYD.js +28 -0
  144. package/dist/ja-JP-weDU8GLW.js +35 -0
  145. package/dist/{localizeDateString-CKCBXzSn.js → localizeDateString-BlZ_CtJI.js} +2 -2
  146. package/dist/lt-LT-B6CJ4ULI.js +23 -0
  147. package/dist/lt-LT-BUYY0LaT.js +35 -0
  148. package/dist/lt-LT-BxScCodJ.js +28 -0
  149. package/dist/lt-LT-DNjXmQPv.js +15 -0
  150. package/dist/lt-LT-De7dLXxI.js +55 -0
  151. package/dist/lt-LT-_MzAcXJo.js +35 -0
  152. package/dist/lv-LV-B9js9VoA.js +35 -0
  153. package/dist/lv-LV-CRhXAjn6.js +35 -0
  154. package/dist/lv-LV-ChOoZuhc.js +15 -0
  155. package/dist/lv-LV-DTtuyfHS.js +23 -0
  156. package/dist/lv-LV-De9rdme0.js +55 -0
  157. package/dist/lv-LV-F9_Fiu3w.js +28 -0
  158. package/dist/mail-Z_IE_hkw.js +14 -0
  159. package/dist/{mapFinancialReportsToFinancialInformation-D_6u_bSS.js → mapFinancialReportsToFinancialInformation-DrS0xN6i.js} +2 -2
  160. package/dist/nl-NL-BHqiO21q.js +15 -0
  161. package/dist/nl-NL-Cht7cSwD.js +28 -0
  162. package/dist/nl-NL-DLedC3mO.js +35 -0
  163. package/dist/nl-NL-Dbx0ZmI7.js +35 -0
  164. package/dist/nl-NL-Zcq0bXd-.js +23 -0
  165. package/dist/nl-NL-lZcJhRsP.js +55 -0
  166. package/dist/no-NO-BEIyAMmZ.js +55 -0
  167. package/dist/no-NO-BQAqVzF4.js +28 -0
  168. package/dist/no-NO-BxReX6oF.js +23 -0
  169. package/dist/no-NO-C0sfkp82.js +35 -0
  170. package/dist/no-NO-CKT9kLAH.js +15 -0
  171. package/dist/no-NO-CpVal4cV.js +35 -0
  172. package/dist/pay-by-link-plane-Pv7Babgn.js +22 -0
  173. package/dist/pl-PL-1ylK-_FE.js +35 -0
  174. package/dist/pl-PL-CqxMKpBm.js +28 -0
  175. package/dist/pl-PL-D6heiKsH.js +15 -0
  176. package/dist/pl-PL-DAPGaxWi.js +35 -0
  177. package/dist/pl-PL-DD3wVcKc.js +55 -0
  178. package/dist/pl-PL-T6uD5--R.js +23 -0
  179. package/dist/pt-PT-BY9rcwcF.js +35 -0
  180. package/dist/pt-PT-BkvMsoK4.js +35 -0
  181. package/dist/pt-PT-BsDCHbWN.js +55 -0
  182. package/dist/pt-PT-CBbmkr_J.js +28 -0
  183. package/dist/pt-PT-D2elvnDU.js +15 -0
  184. package/dist/pt-PT-N0njcfLO.js +23 -0
  185. package/dist/{resolveEnvironment-DQH1ab0S.js → resolveEnvironment-DvSgDDo8.js} +3 -3
  186. package/dist/ro-RO-CUg8-CQ8.js +55 -0
  187. package/dist/ro-RO-DJLWmWZ4.js +35 -0
  188. package/dist/ro-RO-DL9V1CMj.js +15 -0
  189. package/dist/ro-RO-Dfx0g3bU.js +35 -0
  190. package/dist/ro-RO-IY3AMhwm.js +28 -0
  191. package/dist/ro-RO-Ic1SzBgx.js +23 -0
  192. package/dist/{rules-CCnLDGvk.js → rules-Meybz2dk.js} +13 -13
  193. package/dist/sk-SK-B7o3L57C.js +35 -0
  194. package/dist/sk-SK-BDKRZ2mM.js +28 -0
  195. package/dist/sk-SK-BSioQTMW.js +15 -0
  196. package/dist/sk-SK-CiD0FeLN.js +23 -0
  197. package/dist/sk-SK-Cjrkrb85.js +55 -0
  198. package/dist/sk-SK-iO863_t2.js +35 -0
  199. package/dist/sl-SI-BB0suyr1.js +28 -0
  200. package/dist/sl-SI-BE_ndzZ2.js +55 -0
  201. package/dist/sl-SI-BylvpF-X.js +15 -0
  202. package/dist/sl-SI-C8CMAkD0.js +35 -0
  203. package/dist/sl-SI-Cth2Qa5T.js +35 -0
  204. package/dist/sl-SI-MZoDApq9.js +23 -0
  205. package/dist/solution-payments-DTAuLSWF.js +14 -0
  206. package/dist/style.css +690 -628
  207. package/dist/styles-CLV89_hH.js +690 -628
  208. package/dist/sv-SE-BryiIPVv.js +55 -0
  209. package/dist/sv-SE-Bwh0wKFk.js +35 -0
  210. package/dist/sv-SE-DCFSf4Oj.js +23 -0
  211. package/dist/sv-SE-DYruQSzt.js +28 -0
  212. package/dist/sv-SE-Dwz1yTrB.js +15 -0
  213. package/dist/sv-SE-OPOHtqtP.js +35 -0
  214. package/dist/terminal-1-ewywjFJI.js +18 -0
  215. package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -2
  216. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +4 -8
  217. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +2 -3
  218. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +25 -24
  219. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +10 -10
  220. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -2
  221. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
  222. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +9 -0
  223. package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +10 -0
  224. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
  225. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -2
  226. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +5 -3
  227. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
  228. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +14 -0
  229. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +3 -0
  230. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +4 -0
  231. package/dist/types/components/Business/forms/forms.types.d.ts +14 -0
  232. package/dist/types/components/Business/forms/rules.d.ts +26 -8
  233. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -1
  234. package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +1 -1
  235. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -3
  236. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -3
  237. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +18 -0
  238. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +5 -0
  239. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +2 -0
  240. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +21 -0
  241. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/validate.d.ts +22 -0
  242. package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +1 -1
  243. package/dist/types/components/Business/utils/companyUtil.d.ts +3 -3
  244. package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +5 -0
  245. package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +5 -0
  246. package/dist/types/components/BusinessLines/tasks/BusinessLinesGettingStarted/BusinessLinesGettingStarted.d.ts +6 -0
  247. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  248. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +31 -29
  249. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +0 -1
  250. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +1 -0
  251. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -19
  252. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -2
  253. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -0
  254. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
  255. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
  256. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +3 -3
  257. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +5 -5
  258. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
  259. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
  260. package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +6 -0
  261. package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +2 -2
  262. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -2
  263. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
  264. package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +8 -8
  265. package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +18 -18
  266. package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
  267. package/dist/types/components/Individual/forms/Individual/types.d.ts +2 -2
  268. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +3 -2
  269. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +2 -2
  270. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +2 -2
  271. package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +4 -4
  272. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +3 -1
  273. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
  274. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +2 -2
  275. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  276. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +3 -3
  277. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
  278. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +2 -0
  279. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +7 -0
  280. package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +4 -4
  281. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
  282. package/dist/types/components/Shared/Introduction/Introduction.d.ts +2 -2
  283. package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +2 -2
  284. package/dist/types/components/Shared/Introduction/constants.d.ts +3 -3
  285. package/dist/types/components/Shared/Introduction/copy.d.ts +6 -5
  286. package/dist/types/components/Shared/Introduction/types.d.ts +11 -11
  287. package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
  288. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
  289. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -2
  290. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
  291. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
  292. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +27 -27
  293. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultRegistrationNumberType.d.ts +2 -2
  294. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +2 -2
  295. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +2 -2
  296. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  297. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -3
  298. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -6
  299. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  300. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
  301. package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +11 -10
  302. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +3 -0
  303. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +7 -5
  304. package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
  305. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +3 -4
  306. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -2
  307. package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
  308. package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -1
  309. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -2
  310. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -2
  311. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +3 -3
  312. package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -1
  313. package/dist/types/components/Trust/tasks/TrustMembers/CompanyTrustMemberTaskItem.d.ts +1 -1
  314. package/dist/types/components/Trust/tasks/TrustMembers/ExemptSettlorTaskItem.d.ts +1 -1
  315. package/dist/types/components/Trust/tasks/TrustMembers/RegularTrustMemberTaskItem.d.ts +1 -1
  316. package/dist/types/components/Trust/tasks/TrustMembers/RootTrusteeTaskItem.d.ts +1 -1
  317. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +6 -6
  318. package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +7 -6
  319. package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
  320. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +6 -6
  321. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +5 -5
  322. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
  323. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +2 -2
  324. package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +16 -0
  325. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +12 -0
  326. package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -1
  327. package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +3 -2
  328. package/dist/types/components/ui/molecules/Alert/VerificationErrorAlert.d.ts +1 -1
  329. package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -0
  330. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
  331. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
  332. package/dist/types/context/ExperimentContext/types.d.ts +46 -38
  333. package/dist/types/context/SettingsContext/types.d.ts +24 -24
  334. package/dist/types/core/models/api/company-types-value.d.ts +12 -11
  335. package/dist/types/core/models/api/decision-maker-type.d.ts +7 -6
  336. package/dist/types/core/models/api/entity-type.d.ts +5 -4
  337. package/dist/types/core/models/api/get-scenarios.d.ts +18 -18
  338. package/dist/types/core/models/api/individual.d.ts +1 -0
  339. package/dist/types/core/models/api/legal-entity-association.d.ts +2 -2
  340. package/dist/types/core/models/api/legal-entity-type.d.ts +8 -7
  341. package/dist/types/core/models/api/trust-member-type.d.ts +8 -8
  342. package/dist/types/core/models/api/trusted-fields-provider.d.ts +5 -4
  343. package/dist/types/core/models/api/unincorporated-partnership.d.ts +6 -6
  344. package/dist/types/core/models/api/verification-error.d.ts +8 -7
  345. package/dist/types/core/models/api/verification-status.d.ts +7 -6
  346. package/dist/types/core/models/api/view-verification-status.d.ts +8 -7
  347. package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +4 -4
  348. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +7 -6
  349. package/dist/types/hooks/useBusinessSetup.d.ts +11 -10
  350. package/dist/types/hooks/useDataMissingRemediations.d.ts +2 -2
  351. package/dist/types/hooks/useFormComposer.d.ts +1 -1
  352. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -3
  353. package/dist/types/hooks/useLegalEntityType.d.ts +1 -1
  354. package/dist/types/hooks/useMultiForm/types.d.ts +2 -2
  355. package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
  356. package/dist/types/language/types.d.ts +2 -0
  357. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +2 -2
  358. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +2 -2
  359. package/dist/types/stores/globalStore/get-task-status.d.ts +2 -2
  360. package/dist/types/stores/globalStore/globalStore.d.ts +7 -7
  361. package/dist/types/stores/globalStore/taskStatus.d.ts +17 -16
  362. package/dist/types/stores/globalStore/taskTypes.d.ts +37 -35
  363. package/dist/types/types/datasets/currency.d.ts +25 -25
  364. package/dist/types/types/datasets/province-code.d.ts +46 -46
  365. package/dist/types/types/datasets/state-code.d.ts +84 -84
  366. package/dist/types/types/errors/entity-problems.d.ts +3 -4
  367. package/dist/types/types/form-rules.d.ts +2 -2
  368. package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
  369. package/dist/types/utils/birthDateUtils.d.ts +3 -3
  370. package/dist/types/utils/decisionMaker.d.ts +4 -3
  371. package/dist/types/utils/decisionMakerRoles.d.ts +4 -3
  372. package/dist/types/utils/entityAssociationUtil.d.ts +3 -3
  373. package/dist/types/utils/entityStatusUtil.d.ts +3 -3
  374. package/dist/types/utils/formUtils.d.ts +2 -2
  375. package/dist/types/utils/regex/patternValidators.d.ts +1 -0
  376. package/dist/types/utils/roleMetadata.d.ts +3 -3
  377. package/dist/types/utils/translation.d.ts +40 -0
  378. package/dist/{useMultiForm-KQwxav4F.js → useMultiForm-BQmE_nfY.js} +2 -2
  379. package/dist/{useOnboardingStatus-BMyj9Pwn.js → useOnboardingStatus-DJdV6bAG.js} +2 -2
  380. package/dist/{useTermsOfServiceStatus-CBHKWYSb.js → useTermsOfServiceStatus-BX4GiDbz.js} +2 -2
  381. package/dist/{useUpdateLegalEntity-D8dw9Oc3.js → useUpdateLegalEntity-BfnvHQJj.js} +2 -2
  382. package/dist/{utils-CL9qlD-O.js → utils-1zLleVnu.js} +17 -17
  383. package/dist/{validate-CuwYJGc9.js → validate-BweJRQFE.js} +9 -3
  384. package/dist/{validate-CeF0YKvL.js → validate-Cy6vBhF2.js} +2 -2
  385. package/dist/view-verification-status-VFcBydkR.js +21 -0
  386. package/package.json +7 -32
  387. package/dist/LandingLayout-B45lEjOv.js +0 -84
  388. package/dist/ManagePCIComponent-BgdGfAuT.js +0 -33
  389. package/dist/RootBusinessDetailsPage-q_6wAcer.js +0 -42
  390. package/dist/adyen-manage-pci.js +0 -48
  391. package/dist/adyen-sign-pci.js +0 -55
  392. package/dist/adyen-terms-of-service.vue_vue_type_script_lang-BD4hndWg.js +0 -42
  393. package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-DQBzahGy.js +0 -57
  394. package/dist/bg-BG-HpLj_LOM.js +0 -16
  395. package/dist/cs-CZ-CQ_M3lEp.js +0 -16
  396. package/dist/css-BJGWcW8A.js +0 -24
  397. package/dist/da-DK-k4JW3iVF.js +0 -16
  398. package/dist/de-DE-C7mjtS5w.js +0 -16
  399. package/dist/el-GR-CEQrkYHW.js +0 -16
  400. package/dist/en-US-DDagIr01.js +0 -16
  401. package/dist/es-ES-DB1c74Kv.js +0 -16
  402. package/dist/et-EE-xIegUSuv.js +0 -16
  403. package/dist/fi-FI-NCxneAqU.js +0 -16
  404. package/dist/fr-FR-daiUnUwo.js +0 -16
  405. package/dist/hr-HR-BAUywqDj.js +0 -16
  406. package/dist/hu-HU-3GQojIHR.js +0 -16
  407. package/dist/it-IT-pDWPFHEh.js +0 -16
  408. package/dist/ja-JP-scPXJ93L.js +0 -16
  409. package/dist/json-Dk6RRAV8.js +0 -31
  410. package/dist/lt-LT-BcGNy8Ti.js +0 -16
  411. package/dist/lv-LV-CBD07r1Y.js +0 -16
  412. package/dist/nl-NL-BxJUDHMK.js +0 -16
  413. package/dist/no-NO-Drup6Jyy.js +0 -16
  414. package/dist/pl-PL-BXv8Mmzb.js +0 -16
  415. package/dist/preact/adyen-individual.js +0 -15
  416. package/dist/preact/adyen-manage-individual.js +0 -15
  417. package/dist/preact/adyen-terms-of-service.js +0 -16
  418. package/dist/preact/adyen-transfer-instrument.js +0 -16
  419. package/dist/pt-PT-D8nU-UM2.js +0 -16
  420. package/dist/ro-RO-CG33OwqS.js +0 -16
  421. package/dist/sk-SK-DV_xkO69.js +0 -16
  422. package/dist/sl-SI-B5yeoadY.js +0 -16
  423. package/dist/sv-SE-CfxyR53r.js +0 -16
  424. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationDisclaimer/IdVerificationDisclaimer.d.ts +0 -1
  425. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationHeader/IdVerificationHeader.d.ts +0 -1
  426. package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +0 -3
  427. package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +0 -3
  428. package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +0 -12
  429. package/dist/types/embeds/manage-pci/adyen-manage-pci.d.ts +0 -1
  430. package/dist/types/embeds/manage-pci/adyen-manage-pci.types.d.ts +0 -39
  431. package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +0 -14
  432. package/dist/types/embeds/sign-pci/adyen-sign-pci.d.ts +0 -1
  433. package/dist/types/embeds/sign-pci/adyen-sign-pci.types.d.ts +0 -45
  434. package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +0 -3
  435. package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +0 -3
  436. package/dist/useSalesChannelsSettings-43TfSoxc.js +0 -51
  437. package/dist/view-verification-status-DTkA8PtO.js +0 -20
  438. package/dist/vue/adyen-individual.js +0 -53
  439. package/dist/vue/adyen-manage-individual.js +0 -56
  440. package/dist/vue/adyen-terms-of-service.js +0 -28
  441. package/dist/vue/adyen-transfer-instrument.js +0 -31
  442. package/dist/yaml-CBkrSAtc.js +0 -22
@@ -2,26 +2,61 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3746545c-b537-460f-9662-e8ce8f96724b", e._sentryDebugIdIdentifier = "sentry-dbid-3746545c-b537-460f-9662-e8ce8f96724b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d2aa065b-0ccd-464f-8371-9bd2f8770145", e._sentryDebugIdIdentifier = "sentry-dbid-d2aa065b-0ccd-464f-8371-9bd2f8770145");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, b as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, a as useTranslation, z as Skeleton, B as Alert, C as translateStringOrObject, G as Typography, H as isPartOfTrustFromLegalEntity, J as hasSolePropInLegalEntity, K as useSettingsContext, M as SettingNames, N as hasOwnEntityAssociationOfType, O as isEmptyEntity, P as CompanyTypesValue, U as useAccountHolder, V as EntityType, W as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, X as TaskTypes, Y as createLogger, Z as TaskStatus, _ as Button, $ as IconButton, a0 as useAnalyticsContext, a1 as Card, a2 as handleKeys, a3 as LoaderWrapper, a4 as Icon, a5 as noop, a6 as useToastContext, a7 as useExperimentsContext, a8 as isInstantVerifiedAccount, a9 as getObscuredAccountNumber, aa as useGetTaskStatus, ab as CardGroup, R as ROOT_LE, ac as useCapabilityProblems, L as Loader, ad as useGlobalStore, ae as useSetting, af as isPartOfUnincorporatedPartnership, ag as getOwnSignatories, ah as getOwnDecisionMakersLegalEntityIds, ai as getOwnSolePropProblems, aj as getOwnTrustProblems, ak as getOwnUnincorporatedPartnershipProblems, al as getOwnEntityAssociations, am as TrustMemberTypes, an as getLegalEntityNameBasedOnType, ao as useAssociatedLegalEntity, ap as useI18nContext, aq as CountryCodes, ar as isEmpty, as as mergeFieldMetadataIntoProps, at as resolveFieldMetadata, au as defaultFieldMetadata, av as defaultFieldConfig, aw as useForm, ax as getFieldProps, ay as nameFields, F as FormHeader, az as ErrorPanel, aA as createFormUtils, aB as Field, aC as MultiSelectList, aD as makeSelectItemForRole, aE as RadioGroupCard, aF as TextArea, aG as Name, aH as CountryField, aI as COUNTRY_FIELD, aJ as LegalCompanyNameField, aK as LEGAL_COMPANY_NAME_FIELD, aL as summaryItem, aM as getRoleName, aN as summaryStep, aO as FormNavigation, aP as Summary, aQ as ActionBar, g as getLegalEntityCountry, aR as UnincorporatedPartnershipMemberTypes, aS as getDecisionMakerDescriptionMap, aT as TRUST_DEFAULT_DESCRIPTIONS_MAP, aU as getRoleTagVariant, aV as Trans, aW as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aX as ContextGuidance, aY as RadioGroup, aZ as useUnincorporatedPartnershipMembers, a_ as deleteUnincorporatedPartnershipMember, a$ as hasAllCapabilitiesResolved, b0 as hasRejectedCapabilities, b1 as objectsDeepEqual, b2 as TrustedFieldsProvider } from "./StoreProvider-ClKLaHzy.js";
11
+ import { a as useApiContext, r as useQuery, t as httpPost, v as useSettingsContext, w as SettingNames, x as httpGet, y as useLocalStorage, z as getLegalRepresentative, d as useLegalEntity, B as skipToken, C as doesLegalEntityRequiresLegalRepresentative, c as useTranslation, G as Button, H as Svg, J as Skeleton, K as Alert, M as translateStringOrObject, N as Typography, O as LegalEntityTypes, P as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, V as hasOwnEntityAssociationOfType, W as isEmptyEntity, X as useAccountHolder, Y as CompanyTypesValues, Z as EntityTypes, _ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, $ as TaskTypes, a0 as createLogger, a1 as TaskStatuses, a2 as IconButton, a3 as useAnalyticsContext, a4 as Card, a5 as handleKeys, a6 as LoaderWrapper, a7 as Icon, a8 as noop, a9 as useToastContext, aa as useExperimentsContext, ab as isInstantVerifiedAccount, ac as getObscuredAccountNumber, ad as useGetTaskStatus, ae as CardGroup, R as ROOT_LE, af as useCapabilityProblems, L as Loader, ag as useGlobalStore, ah as useSetting, ai as isPartOfUnincorporatedPartnership, aj as getOwnSignatories, ak as getOwnDecisionMakersLegalEntityIds, al as getOwnSolePropProblems, am as getOwnTrustProblems, an as getOwnUnincorporatedPartnershipProblems, ao as getOwnEntityAssociations, ap as TrustMemberTypes, aq as getLegalEntityNameBasedOnType, ar as useAssociatedLegalEntity, u as useI18nContext, as as CountryCodes, at as isEmpty, au as mergeFieldMetadataIntoProps, av as resolveFieldMetadata, aw as defaultFieldMetadata, ax as defaultFieldConfig, ay as useForm, az as getFieldProps, aA as nameFields, F as FormHeader, aB as ErrorPanel, aC as createFormUtils, aD as Field, aE as MultiSelectList, aF as makeSelectItemForRole, aG as RadioGroupCard, aH as TextArea, aI as Name, aJ as CountryField, aK as COUNTRY_FIELD, aL as LegalCompanyNameField, aM as LEGAL_COMPANY_NAME_FIELD, aN as summaryItem, aO as getRoleName, aP as summaryStep, aQ as FormNavigation, aR as Summary, aS as ActionBar, g as getLegalEntityCountry, aT as UnincorporatedPartnershipMemberTypes, aU as getDecisionMakerDescriptionMap, aV as TRUST_DEFAULT_DESCRIPTIONS_MAP, aW as getRoleTagVariant, aX as Trans, aY as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aZ as ContextGuidance, a_ as RadioGroup, a$ as useUnincorporatedPartnershipMembers, b0 as deleteUnincorporatedPartnershipMember, b1 as hasAllCapabilitiesResolved, b2 as hasRejectedCapabilities, b3 as objectsDeepEqual, b4 as TrustedFieldsProviders } from "./StoreProvider-O9jwxfG8.js";
12
12
  import { lazy, Suspense } from "preact/compat";
13
13
  import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
14
- import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-B58n0cRC.js";
14
+ import { L as LandingLayout, u as useSingpassMyInfoLogin } from "./LandingLayout-BC3pp_IY.js";
15
15
  import cx from "classnames";
16
- import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-43TfSoxc.js";
17
- import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CBHKWYSb.js";
16
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-BX4GiDbz.js";
18
17
  import { signal } from "@preact/signals";
19
18
  import { d as downloadFile } from "./file-CiG1D0zy.js";
20
- import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BBdJmGJu.js";
21
- import { A as Avatar } from "./Avatar-vCjWXfC7.js";
22
- import { T as TaskItemStatus } from "./TaskItemStatus-DrTIwCTx.js";
23
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D8dw9Oc3.js";
19
+ import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-Ci0cObw1.js";
20
+ import { A as Avatar } from "./Avatar-BfRRf9_a.js";
21
+ import { T as TaskItemStatus } from "./TaskItemStatus-s7Z3DOGa.js";
22
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BfnvHQJj.js";
24
23
  import { T as Tag } from "./Tag-DdkVScyr.js";
24
+ const getPciStatus = async (legalEntityId, baseUrl, data) => {
25
+ return httpPost(
26
+ {
27
+ baseUrl,
28
+ path: `legalEntities/${legalEntityId}/pci/signingRequired`
29
+ },
30
+ data
31
+ );
32
+ };
33
+ const usePciStatus = (data, options) => {
34
+ const { rootLegalEntityId, baseUrl } = useApiContext();
35
+ return useQuery({
36
+ queryKey: ["pciStatus", data],
37
+ queryFn: () => getPciStatus(rootLegalEntityId.value, baseUrl.value, data),
38
+ ...options
39
+ });
40
+ };
41
+ function useSalesChannelsSettings() {
42
+ const { isSettingEnabled } = useSettingsContext();
43
+ return useMemo(() => {
44
+ const settings = [];
45
+ if (isSettingEnabled(SettingNames.RequirePciSignEcommerce)) {
46
+ settings.push("eCommerce");
47
+ }
48
+ if (isSettingEnabled(SettingNames.RequirePciSignPos)) {
49
+ settings.push("pos");
50
+ }
51
+ if (isSettingEnabled(SettingNames.RequirePciSignEcomMoto)) {
52
+ settings.push("ecomMoto");
53
+ }
54
+ if (isSettingEnabled(SettingNames.RequirePciSignPosMoto)) {
55
+ settings.push("posMoto");
56
+ }
57
+ return settings;
58
+ }, [isSettingEnabled]);
59
+ }
25
60
  const getTaskTypes = async (id, baseUrl) => {
26
61
  return httpGet({
27
62
  baseUrl,
@@ -72,21 +107,75 @@ const useCanSeeEntitySelection = (legalEntityId) => {
72
107
  setCanSeeEntitySelection: setCanSeeEntitySelectionIntoLocalStorage
73
108
  };
74
109
  };
110
+ const providerButton = "adyen-kyc-provider-button";
111
+ const providerButtonDisplayName = "adyen-kyc-provider-button-display-name";
112
+ const styles$5 = {
113
+ providerButton,
114
+ providerButtonDisplayName
115
+ };
116
+ const ProviderButton = ({
117
+ provider,
118
+ disabled = false,
119
+ fullWidth,
120
+ loading = false,
121
+ onClick,
122
+ testId
123
+ }) => {
124
+ const isSingpass = provider.includes("singpassMyInfo");
125
+ const buttonVariant = isSingpass ? "secondary" : "primary";
126
+ const { t } = useTranslation();
127
+ const buttonProps = {
128
+ disabled,
129
+ fullWidth,
130
+ loading,
131
+ onClick,
132
+ testId
133
+ };
134
+ const providerLogo = {
135
+ tink: "tink-logo",
136
+ yapily: "yapily-logo",
137
+ plaid: "plaid-logo",
138
+ onfido: "onfido-logo",
139
+ singpassMyInfo: "singpass-logo",
140
+ singpassMyInfoBusiness: "singpass-logo"
141
+ };
142
+ const providerDisplayName = {
143
+ tink: "Tink",
144
+ yapily: "Yapily",
145
+ plaid: "Plaid",
146
+ onfido: "Onfido",
147
+ singpassMyInfo: "Singpass",
148
+ singpassMyInfoBusiness: "Singpass"
149
+ };
150
+ const buttonLabel = {
151
+ tink: t(($) => $["addAccountWith"]),
152
+ yapily: t(($) => $["addAccountWith"]),
153
+ plaid: t(($) => $["addAccountWith"]),
154
+ onfido: t(($) => $["addDetailsWith"]),
155
+ singpassMyInfo: t(($) => $["retrieveMyinfoWith"]),
156
+ singpassMyInfoBusiness: t(($) => $["retrieveMyinfoBusinessWith"])
157
+ };
158
+ return /* @__PURE__ */ jsx(Button, { ...buttonProps, variant: buttonVariant, children: /* @__PURE__ */ jsxs("div", { className: styles$5.providerButton, children: [
159
+ buttonLabel[provider],
160
+ /* @__PURE__ */ jsx("span", { className: styles$5.providerButtonDisplayName, children: providerDisplayName[provider] }),
161
+ /* @__PURE__ */ jsx(Svg, { name: providerLogo[provider], type: "image" })
162
+ ] }) });
163
+ };
75
164
  const legalEntityTypeToSubtitleTranslationKey = {
76
- [LegalEntityType.INDIVIDUAL]: "myInfoYouCanGetVerifiedDetails",
77
- [LegalEntityType.ORGANIZATION]: "myInfoBusinessYouCanGetVerifiedDetails"
165
+ [LegalEntityTypes.INDIVIDUAL]: "myInfoYouCanGetVerifiedDetails",
166
+ [LegalEntityTypes.ORGANIZATION]: "myInfoBusinessYouCanGetVerifiedDetails"
78
167
  };
79
168
  const legalEntityTypeToProviderButtonKey = {
80
- [LegalEntityType.INDIVIDUAL]: "singpassMyInfo",
81
- [LegalEntityType.ORGANIZATION]: "singpassMyInfoBusiness"
169
+ [LegalEntityTypes.INDIVIDUAL]: "singpassMyInfo",
170
+ [LegalEntityTypes.ORGANIZATION]: "singpassMyInfoBusiness"
82
171
  };
83
172
  const successAlertTitleText = {
84
- [LegalEntityType.INDIVIDUAL]: "myinfoDetailsRetrieved",
85
- [LegalEntityType.ORGANIZATION]: "myinfoBusinessDetailsRetrieved"
173
+ [LegalEntityTypes.INDIVIDUAL]: "myinfoDetailsRetrieved",
174
+ [LegalEntityTypes.ORGANIZATION]: "myinfoBusinessDetailsRetrieved"
86
175
  };
87
176
  const successAlertContentText = {
88
- [LegalEntityType.INDIVIDUAL]: "yourDetailsArePreFilledInTheRelevantSections",
89
- [LegalEntityType.ORGANIZATION]: "yourBusinesssDetailsArePreFilledInTheRelevantSections"
177
+ [LegalEntityTypes.INDIVIDUAL]: "yourDetailsArePreFilledInTheRelevantSections",
178
+ [LegalEntityTypes.ORGANIZATION]: "yourBusinesssDetailsArePreFilledInTheRelevantSections"
90
179
  };
91
180
  const SingpassBanner = ({
92
181
  isLoading,
@@ -201,11 +290,11 @@ const useLegalEntityType = ({
201
290
  const isSoleProprietor = hasSolePropInLegalEntity(legalEntity);
202
291
  const hasLegalAssociation = isTrust || isSoleProprietor;
203
292
  switch (legalEntity.type) {
204
- case LegalEntityType.INDIVIDUAL:
205
- case LegalEntityType.ORGANIZATION:
293
+ case LegalEntityTypes.INDIVIDUAL:
294
+ case LegalEntityTypes.ORGANIZATION:
206
295
  if (!hasLegalAssociation) return legalEntity.type;
207
- if (isSoleProprietor) return LegalEntityType.SOLE_PROPRIETORSHIP;
208
- if (isTrust) return LegalEntityType.TRUST;
296
+ if (isSoleProprietor) return LegalEntityTypes.SOLE_PROPRIETORSHIP;
297
+ if (isTrust) return LegalEntityTypes.TRUST;
209
298
  break;
210
299
  default:
211
300
  return void 0;
@@ -215,13 +304,13 @@ const useCanSeeIntroduction = ({ legalEntity }) => {
215
304
  const legalEntityType = useLegalEntityType({ legalEntity });
216
305
  const { isSettingEnabled } = useSettingsContext();
217
306
  switch (legalEntityType) {
218
- case LegalEntityType.INDIVIDUAL:
307
+ case LegalEntityTypes.INDIVIDUAL:
219
308
  return !isSettingEnabled(SettingNames.HideOnboardingIntroductionIndividual);
220
- case LegalEntityType.ORGANIZATION:
309
+ case LegalEntityTypes.ORGANIZATION:
221
310
  return !isSettingEnabled(SettingNames.HideOnboardingIntroductionOrganization);
222
- case LegalEntityType.SOLE_PROPRIETORSHIP:
311
+ case LegalEntityTypes.SOLE_PROPRIETORSHIP:
223
312
  return !isSettingEnabled(SettingNames.HideOnboardingIntroductionSoleProprietor);
224
- case LegalEntityType.TRUST:
313
+ case LegalEntityTypes.TRUST:
225
314
  return !isSettingEnabled(SettingNames.HideOnboardingIntroductionTrust);
226
315
  default:
227
316
  return false;
@@ -242,11 +331,11 @@ const capabilitiesToPreventTypeChange = [
242
331
  "receiveGrants"
243
332
  ];
244
333
  const entityTypeToCorrespondingAccountHolderOption = {
245
- [LegalEntityType.INDIVIDUAL]: "myName",
246
- [LegalEntityType.ORGANIZATION]: "theCompanyIWorkFor",
247
- [LegalEntityType.SOLE_PROPRIETORSHIP]: "mySoleProprietorName",
248
- [LegalEntityType.TRUST]: "aTrust",
249
- [LegalEntityType.UNINCORPORATED_PARTNERSHIP]: "anUnincorporatedPartnership"
334
+ [LegalEntityTypes.INDIVIDUAL]: "myName",
335
+ [LegalEntityTypes.ORGANIZATION]: "theCompanyIWorkFor",
336
+ [LegalEntityTypes.SOLE_PROPRIETORSHIP]: "mySoleProprietorName",
337
+ [LegalEntityTypes.TRUST]: "aTrust",
338
+ [LegalEntityTypes.UNINCORPORATED_PARTNERSHIP]: "anUnincorporatedPartnership"
250
339
  };
251
340
  const getDefaultAccountHolderType = (legalEntityResponse, isTypeChanging = false, accountHolder) => {
252
341
  if (accountHolder) {
@@ -254,21 +343,21 @@ const getDefaultAccountHolderType = (legalEntityResponse, isTypeChanging = false
254
343
  }
255
344
  if (!legalEntityResponse?.type) return void 0;
256
345
  if (hasOwnEntityAssociationOfType(
257
- LegalEntityType.SOLE_PROPRIETORSHIP,
346
+ LegalEntityTypes.SOLE_PROPRIETORSHIP,
258
347
  legalEntityResponse.entityAssociations,
259
348
  legalEntityResponse.id
260
349
  )) {
261
350
  return "mySoleProprietorName";
262
351
  }
263
352
  if (hasOwnEntityAssociationOfType(
264
- LegalEntityType.TRUST,
353
+ LegalEntityTypes.TRUST,
265
354
  legalEntityResponse.entityAssociations,
266
355
  legalEntityResponse.id
267
356
  )) {
268
357
  return "aTrust";
269
358
  }
270
359
  if (hasOwnEntityAssociationOfType(
271
- LegalEntityType.UNINCORPORATED_PARTNERSHIP,
360
+ LegalEntityTypes.UNINCORPORATED_PARTNERSHIP,
272
361
  legalEntityResponse.entityAssociations,
273
362
  legalEntityResponse.id
274
363
  )) {
@@ -279,40 +368,44 @@ const getDefaultAccountHolderType = (legalEntityResponse, isTypeChanging = false
279
368
  }
280
369
  };
281
370
  const allowIndividualWithoutSoleProp = (capabilities) => !capabilities?.map((c) => c.replace("Commercial", "").replace("Consumer", "")).some((c) => capabilitiesToPreventTypeChange.includes(c));
371
+ const BusinessTypes = {
372
+ INDIVIDUAL: "individual",
373
+ COMPANY: "company",
374
+ INCORPORATED_PARTNERSHIP: "partnershipIncorporated",
375
+ UNINCORPORATED_PARTNERSHIP: "partnershipUnincorporated",
376
+ INDIVIDUAL_TRUSTEE: "individualTrustee",
377
+ COMPANY_TRUSTEE: "companyTrustee",
378
+ SOLE_PROPRIETORSHIP: "soleProprietorship",
379
+ INCORPORATE_ASSOCIATION: "associationIncorporated"
380
+ };
282
381
  const businessTypeMapping = {
283
382
  myName: {
284
- [LegalEntityType.INDIVIDUAL]: "individual"
285
- /* INDIVIDUAL */
383
+ [LegalEntityTypes.INDIVIDUAL]: BusinessTypes.INDIVIDUAL
286
384
  },
287
385
  theCompanyIWorkFor: {
288
- [LegalEntityType.ORGANIZATION]: "company"
289
- /* COMPANY */
386
+ [LegalEntityTypes.ORGANIZATION]: BusinessTypes.COMPANY
290
387
  },
291
388
  mySoleProprietorName: {
292
- [LegalEntityType.INDIVIDUAL]: "soleProprietorship"
293
- /* SOLE_PROPRIETORSHIP */
389
+ [LegalEntityTypes.INDIVIDUAL]: BusinessTypes.SOLE_PROPRIETORSHIP
294
390
  },
295
391
  aTrust: {
296
- [LegalEntityType.INDIVIDUAL]: "individualTrustee",
297
- [LegalEntityType.ORGANIZATION]: "companyTrustee"
298
- /* COMPANY_TRUSTEE */
392
+ [LegalEntityTypes.INDIVIDUAL]: BusinessTypes.INDIVIDUAL_TRUSTEE,
393
+ [LegalEntityTypes.ORGANIZATION]: BusinessTypes.COMPANY_TRUSTEE
299
394
  },
300
395
  anUnincorporatedPartnership: {
301
- [LegalEntityType.INDIVIDUAL]: "partnershipUnincorporated",
302
- [LegalEntityType.ORGANIZATION]: "partnershipUnincorporated"
303
- /* UNINCORPORATED_PARTNERSHIP */
396
+ [LegalEntityTypes.INDIVIDUAL]: BusinessTypes.UNINCORPORATED_PARTNERSHIP,
397
+ [LegalEntityTypes.ORGANIZATION]: BusinessTypes.UNINCORPORATED_PARTNERSHIP
304
398
  }
305
399
  };
306
400
  const companyTypesMapping = {
307
- [CompanyTypesValue.INCORPORATED_PARTNERSHIP]: "partnershipIncorporated",
308
- [CompanyTypesValue.INCORPORATED_ASSOCIATION]: "associationIncorporated",
309
- [CompanyTypesValue.PUBLIC_COMPANY]: "company",
310
- [CompanyTypesValue.PRIVATE_COMPANY]: "company",
311
- [CompanyTypesValue.UNLISTED_PUBLIC_COMPANY]: "company",
312
- [CompanyTypesValue.GOVERNMENTAL_ORGANIZATION]: "company",
313
- [CompanyTypesValue.NON_PROFIT_OR_CHARITABLE]: "company",
314
- [CompanyTypesValue.SOLE_PROPRIETORSHIP]: "soleProprietorship"
315
- /* SOLE_PROPRIETORSHIP */
401
+ [CompanyTypesValues.INCORPORATED_PARTNERSHIP]: BusinessTypes.INCORPORATED_PARTNERSHIP,
402
+ [CompanyTypesValues.INCORPORATED_ASSOCIATION]: BusinessTypes.INCORPORATE_ASSOCIATION,
403
+ [CompanyTypesValues.PUBLIC_COMPANY]: BusinessTypes.COMPANY,
404
+ [CompanyTypesValues.PRIVATE_COMPANY]: BusinessTypes.COMPANY,
405
+ [CompanyTypesValues.UNLISTED_PUBLIC_COMPANY]: BusinessTypes.COMPANY,
406
+ [CompanyTypesValues.GOVERNMENTAL_ORGANIZATION]: BusinessTypes.COMPANY,
407
+ [CompanyTypesValues.NON_PROFIT_OR_CHARITABLE]: BusinessTypes.COMPANY,
408
+ [CompanyTypesValues.SOLE_PROPRIETORSHIP]: BusinessTypes.SOLE_PROPRIETORSHIP
316
409
  };
317
410
  const useBusinessSetup = (legalEntityResponse) => {
318
411
  const { accountHolder } = useAccountHolder();
@@ -327,7 +420,7 @@ function useDataMissingRemediations({
327
420
  }) {
328
421
  const { t } = useTranslation();
329
422
  const decisionMakersRemediationMessage = useMemo(() => {
330
- const remediationCodes = problems[EntityType.LEGAL_ENTITY]?.[legalEntityId]?.missingData?.reduce((remediations, error) => {
423
+ const remediationCodes = problems[EntityTypes.LEGAL_ENTITY]?.[legalEntityId]?.missingData?.reduce((remediations, error) => {
331
424
  const remediation = DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING[error.code];
332
425
  return remediation ? [...remediations, remediation] : remediations;
333
426
  }, []);
@@ -351,10 +444,10 @@ function useDataMissingRemediations({
351
444
  const logger$2 = createLogger();
352
445
  const normalizeTaskStatuses = (taskStatuses) => {
353
446
  return taskStatuses?.statuses?.reduce((acc, currentTask) => {
354
- const status = TaskStatus[currentTask.status];
447
+ const status = TaskStatuses[currentTask.status];
355
448
  const statusEntries = currentTask.taskStatusEntries;
356
449
  acc[currentTask.type] = {
357
- status: status ?? TaskStatus.DETAILS_REQUIRED,
450
+ status: status ?? TaskStatuses.DETAILS_REQUIRED,
358
451
  taskStatusEntries: statusEntries
359
452
  };
360
453
  return acc;
@@ -367,9 +460,9 @@ const getAccountTaskStatus = (accountId, payinPayoutTaskStatus) => {
367
460
  const taskStatusEntry = taskStatusEntries?.find((entry) => entry.id.includes(accountId));
368
461
  if (!taskStatusEntry) {
369
462
  logger$2.warn(`No task status for this account: ${accountId}`);
370
- return payinPayoutTaskStatus?.status ?? TaskStatus.PROCESSING;
463
+ return payinPayoutTaskStatus?.status ?? TaskStatuses.PROCESSING;
371
464
  }
372
- return TaskStatus[taskStatusEntry.status];
465
+ return TaskStatuses[taskStatusEntry.status];
373
466
  };
374
467
  const normalizedTaskStatusStore = signal(void 0);
375
468
  const setNormalizedTaskStatusStore = (taskStatus) => {
@@ -449,11 +542,12 @@ const TaskListItem = ({
449
542
  isRemoveDisabled = false,
450
543
  handleIsRemoveDisabled,
451
544
  testId,
452
- enableTracking = true
545
+ enableTracking = true,
546
+ fallbackErrorMessage
453
547
  }) => {
454
548
  const { t } = useTranslation();
455
549
  const userEvents = useAnalyticsContext();
456
- const shouldShowErrorAlert = showErrorAlerts === "always" || showErrorAlerts === "onErrorStatus" && status === TaskStatus.ERROR;
550
+ const shouldShowErrorAlert = showErrorAlerts === "always" || showErrorAlerts === "onErrorStatus" && status === TaskStatuses.ERROR;
457
551
  const [isStatusRemoving, setIsStatusRemoving] = useState(false);
458
552
  const handleNavigateToTask = () => {
459
553
  if (enableTracking) {
@@ -497,7 +591,7 @@ const TaskListItem = ({
497
591
  /* @__PURE__ */ jsx(
498
592
  TaskItemStatus,
499
593
  {
500
- status: isStatusRemoving ? TaskStatus.REMOVING : status,
594
+ status: isStatusRemoving ? TaskStatuses.REMOVING : status,
501
595
  statusLabel,
502
596
  downloadHandler
503
597
  }
@@ -513,7 +607,14 @@ const TaskListItem = ({
513
607
  ) }) : /* @__PURE__ */ jsx(Icon, { name: "chevron-right" })
514
608
  ] })
515
609
  ] }),
516
- shouldShowErrorAlert && /* @__PURE__ */ jsx(VerificationErrorAlert, { className: "adyen-task-item-alert", problems })
610
+ shouldShowErrorAlert && /* @__PURE__ */ jsx(
611
+ VerificationErrorAlert,
612
+ {
613
+ className: "adyen-task-item-alert",
614
+ problems,
615
+ fallbackErrorMessage
616
+ }
617
+ )
517
618
  ]
518
619
  }
519
620
  )
@@ -547,13 +648,14 @@ const PayoutAccountTaskListItem = ({
547
648
  return /* @__PURE__ */ jsx(
548
649
  TaskListItem,
549
650
  {
550
- disabled: isInstantVerificationAccount && status === TaskStatus.PROCESSING,
651
+ disabled: isInstantVerificationAccount && status === TaskStatuses.PROCESSING,
551
652
  onNavigateToTask: isInstantVerificationAccount ? void 0 : onNavigateToTask,
552
653
  icon: "payout",
553
654
  titleKey: "accountNumber",
554
655
  title: obscuredAccountNumber,
555
656
  status,
556
657
  problems: capabilityProblems?.BankAccount?.[account.id],
658
+ fallbackErrorMessage: isInstantVerificationAccount ? t(($) => $["verificationErrorMessageTrustedTransferInstrument"]) : void 0,
557
659
  loading: isDeletingTransferInstrument,
558
660
  removeEntity: () => {
559
661
  setIsDeletingTransferInstrument(true);
@@ -623,7 +725,7 @@ function TaskListInner({
623
725
  refetchInterval: (query) => {
624
726
  const { data: response } = query.state || {};
625
727
  const statuses = response?.statuses;
626
- const areAllTasksFinishedOrEmpty = statuses?.length === 0 || statuses?.every((task) => task.status === TaskStatus[TaskStatus.FINISHED]);
728
+ const areAllTasksFinishedOrEmpty = statuses?.length === 0 || statuses?.every((task) => task.status === "FINISHED");
627
729
  return areAllTasksFinishedOrEmpty ? TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS : TASK_STATUS_POLLING_INTERVAL_MS;
628
730
  }
629
731
  });
@@ -636,7 +738,7 @@ function TaskListInner({
636
738
  const normalizedTasks = normalizeTaskStatuses(taskStatuses);
637
739
  setNormalizedTaskStatusStore(normalizedTasks);
638
740
  const payinPayoutTaskStatus = normalizedTasks?.PAYOUT ?? normalizedTasks?.PAYIN;
639
- const businessDetailsTaskStatus = isExperimentEnabled("EnableBusinessDetailsTaskStatusService") ? normalizedTasks?.BUSINESS_DETAILS?.status ?? TaskStatus.DETAILS_REQUIRED : getTaskStatus2(TaskTypes.BUSINESS_DETAILS);
741
+ const businessDetailsTaskStatus = isExperimentEnabled("EnableBusinessDetailsTaskStatusService") ? normalizedTasks?.BUSINESS_DETAILS?.status ?? TaskStatuses.DETAILS_REQUIRED : getTaskStatus2(TaskTypes.BUSINESS_DETAILS);
640
742
  const isReview = Boolean(
641
743
  capabilityProblems?.LegalEntity?.[legalEntityResponse.id]?.isReviewRequired
642
744
  );
@@ -652,13 +754,13 @@ function TaskListInner({
652
754
  const pciHasDocuments = !!pciQuestionnaireList?.data?.length;
653
755
  const canSignPci = (
654
756
  // PCI requires decision makers to be added
655
- legalEntityResponse.type === LegalEntityType.ORGANIZATION && !!legalEntityResponse?.entityAssociations?.length || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!legalEntityResponse?.entityAssociations?.length
757
+ legalEntityResponse.type === LegalEntityTypes.ORGANIZATION && !!legalEntityResponse?.entityAssociations?.length || legalEntityResponse.type === LegalEntityTypes.INDIVIDUAL && !!legalEntityResponse?.entityAssociations?.length
656
758
  );
657
759
  const canDownloadPci = !pciStatus?.signingRequired && pciHasDocuments;
658
760
  const hasSignedPci = !pciStatus?.signingRequired && canSignPci;
659
761
  const serviceAgreementTypes = termsOfServiceStatus?.termsOfServiceTypes ?? [];
660
762
  const serviceAgreementAcceptanceInfos = termsOfServiceStatusAcceptanceInfos?.data ?? [];
661
- const hasServiceAgreementSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && getOwnSignatories(legalEntityResponse).length || Boolean(legalRepresentative) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!legalEntityResponse?.individual;
763
+ const hasServiceAgreementSigners = legalEntityResponse.type === LegalEntityTypes.ORGANIZATION && getOwnSignatories(legalEntityResponse).length || Boolean(legalRepresentative) || legalEntityResponse.type === LegalEntityTypes.INDIVIDUAL && !!legalEntityResponse?.individual;
662
764
  const hasTaskOfGroupAccountDetails = tasks.some((task) => LEGAL_ENTITY_BASE_TASKS.includes(task));
663
765
  const hasContractTasks = tasks.some((task) => CONTRACT_TASKS.includes(task));
664
766
  const hasFinancingTasks = tasks.includes(TaskTypes.BUSINESS_FINANCING) || tasks.includes(TaskTypes.SOURCE_OF_FUNDS);
@@ -716,6 +818,7 @@ function TaskListInner({
716
818
  const handleOnNavigateToTaskReview = () => onNavigateToTask(TaskTypes.REVIEW);
717
819
  const handleOnNavigateToTaskIndividual = () => onNavigateToTask(TaskTypes.INDIVIDUAL);
718
820
  const handleOnNavigateToTaskBusinessDetails = () => onNavigateToTask(TaskTypes.BUSINESS_DETAILS);
821
+ const handleOnNavigateToTaskBusinessLines = () => onNavigateToTask(TaskTypes.BUSINESS_LINES);
719
822
  const handleOnNavigateToTaskCustomerSupport = () => onNavigateToTask(TaskTypes.CUSTOMER_SUPPORT);
720
823
  const handleOnNavigateToTaskDecisionMaker = () => onNavigateToTask(TaskTypes.DECISION_MAKER_OVERVIEW);
721
824
  const handleOnNavigateToTaskTrust = () => onNavigateToTask(TaskTypes.TRUST);
@@ -812,13 +915,23 @@ function TaskListInner({
812
915
  warningMessage: showDecisionMakersWarning ? remediationMessages[TaskTypes.DECISION_MAKER] : void 0
813
916
  }
814
917
  ),
918
+ tasks.includes(TaskTypes.BUSINESS_LINES) && /* @__PURE__ */ jsx(
919
+ TaskListItem,
920
+ {
921
+ testId: TaskTypes.BUSINESS_LINES,
922
+ onNavigateToTask: handleOnNavigateToTaskBusinessLines,
923
+ icon: "solutionPayments",
924
+ titleKey: "businessLines",
925
+ status: getTaskStatus2(TaskTypes.BUSINESS_LINES)
926
+ }
927
+ ),
815
928
  showCustomerSupportV4 && tasks.includes(TaskTypes.CUSTOMER_SUPPORT) && /* @__PURE__ */ jsx(
816
929
  TaskListItem,
817
930
  {
818
931
  onNavigateToTask: handleOnNavigateToTaskCustomerSupport,
819
932
  icon: "webinar",
820
933
  titleKey: "customerSupport",
821
- status: normalizedTasks?.CUSTOMER_SUPPORT?.status ?? TaskStatus.DETAILS_REQUIRED
934
+ status: normalizedTasks?.CUSTOMER_SUPPORT?.status ?? TaskStatuses.DETAILS_REQUIRED
822
935
  }
823
936
  )
824
937
  ] }),
@@ -880,7 +993,7 @@ function TaskListInner({
880
993
  onNavigateToTask: handleOnNavigateToSourceOfFunds,
881
994
  icon: "cash-stack",
882
995
  titleKey: "fundingSources",
883
- status: normalizedTasks?.SOURCE_OF_FUNDS?.status ?? TaskStatus.DETAILS_REQUIRED
996
+ status: normalizedTasks?.SOURCE_OF_FUNDS?.status ?? TaskStatuses.DETAILS_REQUIRED
884
997
  }
885
998
  ),
886
999
  tasks.includes(TaskTypes.BUSINESS_FINANCING) && /* @__PURE__ */ jsx(
@@ -889,7 +1002,7 @@ function TaskListInner({
889
1002
  onNavigateToTask: handleOnNavigateToBusinessFinancing,
890
1003
  icon: "capital",
891
1004
  titleKey: "businessFinancing",
892
- status: normalizedTasks?.BUSINESS_FINANCING?.status ?? TaskStatus.DETAILS_REQUIRED
1005
+ status: normalizedTasks?.BUSINESS_FINANCING?.status ?? TaskStatuses.DETAILS_REQUIRED
893
1006
  }
894
1007
  )
895
1008
  ] }),
@@ -899,7 +1012,7 @@ function TaskListInner({
899
1012
  onNavigateToTask: handleOnNavigateToTaxReporting,
900
1013
  icon: "reporting",
901
1014
  titleKey: "taxReporting",
902
- status: normalizedTasks?.TAX_REPORTING?.status ?? TaskStatus.DETAILS_REQUIRED
1015
+ status: normalizedTasks?.TAX_REPORTING?.status ?? TaskStatuses.DETAILS_REQUIRED
903
1016
  }
904
1017
  ) }),
905
1018
  (tasks.includes(TaskTypes.PAYOUT) || tasks.includes(TaskTypes.PAYIN)) && !hidePayoutAccountTaskExperiment && /* @__PURE__ */ jsx(
@@ -940,7 +1053,7 @@ function TaskListInner({
940
1053
  onNavigateToTask: () => handleOnNavigateToTaskPayout(),
941
1054
  icon: "payout",
942
1055
  titleKey: canChangeEntityType ? "bankAccountDetails" : hasPayinTaskNotPayout ? "payinDetails" : "payoutDetails",
943
- status: TaskStatus.DETAILS_REQUIRED,
1056
+ status: TaskStatuses.DETAILS_REQUIRED,
944
1057
  disabled: !canAddPayoutAccount,
945
1058
  problems: getEmptyBankAccountProblems()
946
1059
  }
@@ -954,7 +1067,7 @@ function TaskListInner({
954
1067
  onNavigateToTask: handleOnNavigateToPci,
955
1068
  icon: "pci",
956
1069
  titleKey: "pciDssQuestionnaire",
957
- status: canDownloadPci ? TaskStatus.DOWNLOAD : TaskStatus.SIGN,
1070
+ status: canDownloadPci ? TaskStatuses.DOWNLOAD : TaskStatuses.SIGN,
958
1071
  statusLabel: canDownloadPci ? t(($) => $["downloadACopy"]) : void 0,
959
1072
  downloadHandler: onPciDownload,
960
1073
  disabled: isPciTaskDisabled,
@@ -968,7 +1081,7 @@ function TaskListInner({
968
1081
  icon: "contract",
969
1082
  titleKey: "signServiceAgreement",
970
1083
  disabled: areServiceAgreementTasksDisabled,
971
- status: serviceAgreementTypes.length ? TaskStatus.SIGN : TaskStatus.SIGNED,
1084
+ status: serviceAgreementTypes.length ? TaskStatuses.SIGN : TaskStatuses.SIGNED,
972
1085
  info: EnableSignPCIBeforeTOS && shouldSignPciFirst ? t(($) => $["signPciFirst"]) : !hasServiceAgreementSigners ? t(($) => $["requiresSignatory"]) : void 0
973
1086
  }
974
1087
  )
@@ -979,7 +1092,7 @@ function TaskListInner({
979
1092
  onNavigateToTask: handleOnNavigateToTaskReview,
980
1093
  icon: "review",
981
1094
  titleKey: "submitReviewOfYourData",
982
- status: TaskStatus.SUBMIT,
1095
+ status: TaskStatuses.SUBMIT,
983
1096
  problems: capabilityProblems?.LegalEntity?.[legalEntityResponse.id],
984
1097
  showErrorAlerts: "always"
985
1098
  }
@@ -988,6 +1101,45 @@ function TaskListInner({
988
1101
  ] });
989
1102
  }
990
1103
  const isNewEntity = Symbol("isNewEntity");
1104
+ const businessLines = "adyen-kyc-business-lines";
1105
+ const styles$4 = {
1106
+ businessLines
1107
+ };
1108
+ const BusinessLinesGettingStarted = ({
1109
+ handleGettingStartedClick,
1110
+ handleCancelClick
1111
+ }) => {
1112
+ const { t } = useTranslation(["businessLines", "common"]);
1113
+ return /* @__PURE__ */ jsx(
1114
+ LandingLayout,
1115
+ {
1116
+ title: t(($) => $["businessLines"]),
1117
+ description: t(($) => $["businessLinesGettingStarted"]),
1118
+ media: /* @__PURE__ */ jsx(Svg, { type: "image", name: "business-lines" }),
1119
+ actions: /* @__PURE__ */ jsxs(Fragment, { children: [
1120
+ /* @__PURE__ */ jsx(Button, { fullWidth: true, onClick: handleGettingStartedClick, children: t(($) => $["gettingStarted"], { ns: "common" }) }),
1121
+ /* @__PURE__ */ jsx(Button, { variant: "tertiary", fullWidth: true, onClick: handleCancelClick, children: t(($) => $["finishLater"], { ns: "common" }) })
1122
+ ] })
1123
+ }
1124
+ );
1125
+ };
1126
+ function BusinessLinesDropin({ handleHomeClick }) {
1127
+ const [gettingStarted, setGettingStarted] = useState(true);
1128
+ return /* @__PURE__ */ jsx("div", { className: styles$4.businessLines, children: gettingStarted && /* @__PURE__ */ jsx(
1129
+ BusinessLinesGettingStarted,
1130
+ {
1131
+ handleGettingStartedClick: () => setGettingStarted(false),
1132
+ handleCancelClick: () => handleHomeClick?.()
1133
+ }
1134
+ ) });
1135
+ }
1136
+ const RootBusinessLinesPage = ({ handleHomeClick }) => {
1137
+ const { data: rootLe } = useLegalEntity(ROOT_LE);
1138
+ if (!rootLe) {
1139
+ return /* @__PURE__ */ jsx(Loader, {});
1140
+ }
1141
+ return /* @__PURE__ */ jsx(BusinessLinesDropin, { handleHomeClick });
1142
+ };
991
1143
  const useExemptSettlor = ({
992
1144
  trust
993
1145
  }) => {
@@ -1021,24 +1173,24 @@ const convertEntityAssociationIntoTrustMember = (association, associations, exem
1021
1173
  legalEntityType: association.entityType,
1022
1174
  legalEntityId: association.legalEntityId,
1023
1175
  settlorExemptionReason: association.settlorExemptionReason,
1024
- exemptSettlorName: association.entityType === LegalEntityType.INDIVIDUAL ? exemptSettlorLE?.individual?.name ?? getFallbackName(association) : void 0,
1176
+ exemptSettlorName: association.entityType === LegalEntityTypes.INDIVIDUAL ? exemptSettlorLE?.individual?.name ?? getFallbackName(association) : void 0,
1025
1177
  name: association.name
1026
1178
  };
1027
1179
  }
1028
- if (association.entityType === LegalEntityType.ORGANIZATION)
1180
+ if (association.entityType === LegalEntityTypes.ORGANIZATION)
1029
1181
  return {
1030
1182
  trustMemberType: "company",
1031
1183
  roles: [],
1032
- legalEntityType: LegalEntityType.ORGANIZATION,
1184
+ legalEntityType: LegalEntityTypes.ORGANIZATION,
1033
1185
  legalEntityId: association.legalEntityId,
1034
1186
  name: association.name,
1035
1187
  ownerId: getTrustMemberOwnerId(association.legalEntityId, associations)
1036
1188
  };
1037
- if (association.entityType === LegalEntityType.INDIVIDUAL)
1189
+ if (association.entityType === LegalEntityTypes.INDIVIDUAL)
1038
1190
  return {
1039
1191
  trustMemberType: "regular",
1040
1192
  roles: [],
1041
- legalEntityType: LegalEntityType.INDIVIDUAL,
1193
+ legalEntityType: LegalEntityTypes.INDIVIDUAL,
1042
1194
  legalEntityId: association.legalEntityId,
1043
1195
  name: association.name
1044
1196
  };
@@ -1123,7 +1275,7 @@ const getRootTrusteeTrustMembers = (trustLE, rootLegalEntity, exemptSettlorLE) =
1123
1275
  };
1124
1276
  function useTrustMembers() {
1125
1277
  const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
1126
- const { data: trust } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityType.TRUST);
1278
+ const { data: trust } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityTypes.TRUST);
1127
1279
  const { isExperimentEnabled } = useExperimentsContext();
1128
1280
  const exemptSettlor = useExemptSettlor({
1129
1281
  trust
@@ -1196,7 +1348,7 @@ const convertExistingTrustMember = (trustMember) => {
1196
1348
  switch (trustMember.trustMemberType) {
1197
1349
  case "undefinedBeneficiary":
1198
1350
  return {
1199
- entityType: LegalEntityType.INDIVIDUAL,
1351
+ entityType: LegalEntityTypes.INDIVIDUAL,
1200
1352
  role: ["undefinedBeneficiary"],
1201
1353
  descriptionUndefinedBeneficiary: trustMember.description
1202
1354
  };
@@ -1245,14 +1397,14 @@ const allowedCrossoverRolesMatrix = {
1245
1397
  };
1246
1398
  const allowedCrossoverRolesMatrixByTrustMemberAndLegalEntityType = {
1247
1399
  rootTrustee: {
1248
- [LegalEntityType.INDIVIDUAL]: {
1400
+ [LegalEntityTypes.INDIVIDUAL]: {
1249
1401
  settlor: ["secondaryTrustee", "protector"],
1250
1402
  secondaryTrustee: ["settlor", "protector", "definedBeneficiary"],
1251
1403
  protector: ["settlor", "secondaryTrustee", "definedBeneficiary"],
1252
1404
  definedBeneficiary: ["secondaryTrustee", "protector"],
1253
1405
  undefinedBeneficiary: []
1254
1406
  },
1255
- [LegalEntityType.ORGANIZATION]: {
1407
+ [LegalEntityTypes.ORGANIZATION]: {
1256
1408
  settlor: ["secondaryTrustee", "protector"],
1257
1409
  secondaryTrustee: ["settlor", "protector"],
1258
1410
  protector: ["settlor", "secondaryTrustee"],
@@ -1278,8 +1430,8 @@ const getAllowedCrossoverRolesMatrixByTrustMemberAndLegalEntityType = (trustMemb
1278
1430
  };
1279
1431
  const availablesRolesByTrustMemberTypeAndLegalEntityType = {
1280
1432
  rootTrustee: {
1281
- [LegalEntityType.INDIVIDUAL]: ["settlor", "protector", "definedBeneficiary"],
1282
- [LegalEntityType.ORGANIZATION]: ["settlor", "protector"]
1433
+ [LegalEntityTypes.INDIVIDUAL]: ["settlor", "protector", "definedBeneficiary"],
1434
+ [LegalEntityTypes.ORGANIZATION]: ["settlor", "protector"]
1283
1435
  }
1284
1436
  };
1285
1437
  const getAvailableRolesByTrustMemberTypeAndLegalEntityType = (currentRoles, trustMember) => {
@@ -1308,8 +1460,8 @@ const getAvailableRoles = (currentRoles) => {
1308
1460
  );
1309
1461
  };
1310
1462
  const trustMemberLegalEntityTypes = [
1311
- LegalEntityType.INDIVIDUAL,
1312
- LegalEntityType.ORGANIZATION
1463
+ LegalEntityTypes.INDIVIDUAL,
1464
+ LegalEntityTypes.ORGANIZATION
1313
1465
  ];
1314
1466
  const countriesWhereSettlorExemptionReasonNotApplicable = [CountryCodes.NewZealand];
1315
1467
  const settlorExemptionReasons = [
@@ -1321,9 +1473,9 @@ const settlorExemptionReasonWithNoneOfTheAbove = [
1321
1473
  ...settlorExemptionReasons,
1322
1474
  "noneOfTheAbove"
1323
1475
  ];
1324
- const couldBeExemptSettlor = (data, country) => data.entityType === LegalEntityType.INDIVIDUAL && data.role !== void 0 && data.role.includes("settlor") && !data.role.some((role) => role !== "settlor") && (!country || !countriesWhereSettlorExemptionReasonNotApplicable.includes(country));
1476
+ const couldBeExemptSettlor = (data, country) => data.entityType === LegalEntityTypes.INDIVIDUAL && data.role !== void 0 && data.role.includes("settlor") && !data.role.some((role) => role !== "settlor") && (!country || !countriesWhereSettlorExemptionReasonNotApplicable.includes(country));
1325
1477
  const isExemptSettlor = (data) => data.settlorExemptionReason?.some((reason) => reason !== "noneOfTheAbove") ?? false;
1326
- const isOrganizationAndSettlor = (data) => data.entityType === LegalEntityType.ORGANIZATION && data.role?.length === 1 && data.role[0] === "settlor";
1478
+ const isOrganizationAndSettlor = (data) => data.entityType === LegalEntityTypes.ORGANIZATION && data.role?.length === 1 && data.role[0] === "settlor";
1327
1479
  const roleAndTypeValidationRules = {
1328
1480
  entityType: {
1329
1481
  modes: ["blur"],
@@ -1358,12 +1510,12 @@ const roleAndTypeValidationRules = {
1358
1510
  };
1359
1511
  const CHARACTERS_LIMIT = 256;
1360
1512
  const leTypeCardDetails$1 = {
1361
- [LegalEntityType.INDIVIDUAL]: {
1513
+ [LegalEntityTypes.INDIVIDUAL]: {
1362
1514
  id: "individual",
1363
1515
  name: "naturalPersonTitle",
1364
1516
  description: "naturalPersonDescription"
1365
1517
  },
1366
- [LegalEntityType.ORGANIZATION]: {
1518
+ [LegalEntityTypes.ORGANIZATION]: {
1367
1519
  id: "organization",
1368
1520
  name: "businessEntityTitle",
1369
1521
  description: "businessEntityDescription"
@@ -1401,7 +1553,7 @@ const TrustRoleAndEntityType = (props) => {
1401
1553
  existingTrustMember,
1402
1554
  allowMoreRolesForMainRootTrusteeEnabled
1403
1555
  );
1404
- const formUtils = createFormUtils(mergedProps, i18n);
1556
+ const formUtils = createFormUtils(mergedProps, t);
1405
1557
  const decideFields = (data2) => {
1406
1558
  if (data2.role?.includes("undefinedBeneficiary")) {
1407
1559
  return ["role", "descriptionUndefinedBeneficiary"];
@@ -1467,7 +1619,7 @@ const TrustRoleAndEntityType = (props) => {
1467
1619
  };
1468
1620
  const nameProps = getFieldProps(props, nameFields);
1469
1621
  const onEntityTypeChange = (value) => {
1470
- if (isOrganizationSettlorWithExemptionEnabled && value === LegalEntityType.ORGANIZATION && data.role?.length === 1 && data.role[0] === "settlor") {
1622
+ if (isOrganizationSettlorWithExemptionEnabled && value === LegalEntityTypes.ORGANIZATION && data.role?.length === 1 && data.role[0] === "settlor") {
1471
1623
  changeSettlorExemptionReasons(["professionalServiceProvider"]);
1472
1624
  }
1473
1625
  handleChangeFor("entityType")(value);
@@ -1649,7 +1801,7 @@ const mapTrustMemberToEntityAssociations = (trustMember) => {
1649
1801
  entityType: trustMember.legalEntityType,
1650
1802
  type: TrustMemberTypes.SETTLOR,
1651
1803
  settlorExemptionReason: trustMember.settlorExemptionReason,
1652
- name: trustMember.legalEntityType === LegalEntityType.INDIVIDUAL ? `${trustMember.exemptSettlorName?.firstName} ${trustMember.exemptSettlorName?.lastName}` : trustMember.name ?? ""
1804
+ name: trustMember.legalEntityType === LegalEntityTypes.INDIVIDUAL ? `${trustMember.exemptSettlorName?.firstName} ${trustMember.exemptSettlorName?.lastName}` : trustMember.name ?? ""
1653
1805
  }
1654
1806
  ];
1655
1807
  return trustMember.roles.map((role) => ({
@@ -1718,7 +1870,7 @@ const createExemptSettlor = async ({
1718
1870
  handleCreateLegalEntity
1719
1871
  }) => {
1720
1872
  const exemptSettlorLE = {
1721
- type: LegalEntityType.INDIVIDUAL,
1873
+ type: LegalEntityTypes.INDIVIDUAL,
1722
1874
  individual: {
1723
1875
  name: {
1724
1876
  firstName: exemptSettlor.exemptSettlorName?.firstName ?? "",
@@ -1736,7 +1888,7 @@ const createOrganizationExemptSettlor = async ({
1736
1888
  handleCreateLegalEntity
1737
1889
  }) => {
1738
1890
  const exemptSettlorLE = {
1739
- type: LegalEntityType.ORGANIZATION,
1891
+ type: LegalEntityTypes.ORGANIZATION,
1740
1892
  organization: {
1741
1893
  legalName: exemptSettlor.name ?? "",
1742
1894
  registeredAddress: {
@@ -1867,18 +2019,18 @@ const convertDataToTrustMember = (data, existingTrustMember, isOrganizationSettl
1867
2019
  return {
1868
2020
  trustMemberType: "rootTrustee",
1869
2021
  roles: data.role ?? [],
1870
- legalEntityType: data.entityType ?? LegalEntityType.ORGANIZATION,
2022
+ legalEntityType: data.entityType ?? LegalEntityTypes.ORGANIZATION,
1871
2023
  legalEntityId: "",
1872
2024
  name: data.firstName ?? ""
1873
2025
  };
1874
2026
  }
1875
2027
  if (data.role?.length) {
1876
2028
  if (isExemptSettlor(data)) {
1877
- if (isOrganizationSettlorWithExemptionReasonEnabled && data.entityType === LegalEntityType.ORGANIZATION) {
2029
+ if (isOrganizationSettlorWithExemptionReasonEnabled && data.entityType === LegalEntityTypes.ORGANIZATION) {
1878
2030
  return {
1879
2031
  trustMemberType: "exemptSettlor",
1880
2032
  roles: [TrustMemberTypes.SETTLOR],
1881
- legalEntityType: LegalEntityType.ORGANIZATION,
2033
+ legalEntityType: LegalEntityTypes.ORGANIZATION,
1882
2034
  legalEntityId: existingId ?? isNewEntity,
1883
2035
  name: data.legalCompanyName ?? "",
1884
2036
  settlorExemptionReason: ["professionalServiceProvider"],
@@ -1888,7 +2040,7 @@ const convertDataToTrustMember = (data, existingTrustMember, isOrganizationSettl
1888
2040
  return {
1889
2041
  trustMemberType: "exemptSettlor",
1890
2042
  roles: [TrustMemberTypes.SETTLOR],
1891
- legalEntityType: LegalEntityType.INDIVIDUAL,
2043
+ legalEntityType: LegalEntityTypes.INDIVIDUAL,
1892
2044
  settlorExemptionReason: data.settlorExemptionReason.filter(
1893
2045
  (reason) => reason !== "noneOfTheAbove"
1894
2046
  ),
@@ -1906,21 +2058,21 @@ const convertDataToTrustMember = (data, existingTrustMember, isOrganizationSettl
1906
2058
  description: data.descriptionUndefinedBeneficiary ?? "",
1907
2059
  reference: existingId ?? isNewEntity
1908
2060
  };
1909
- if (data.entityType === LegalEntityType.ORGANIZATION) {
2061
+ if (data.entityType === LegalEntityTypes.ORGANIZATION) {
1910
2062
  return {
1911
2063
  trustMemberType: "company",
1912
2064
  roles: data.role,
1913
- legalEntityType: LegalEntityType.ORGANIZATION,
2065
+ legalEntityType: LegalEntityTypes.ORGANIZATION,
1914
2066
  legalEntityId: existingId ?? isNewEntity,
1915
2067
  name: data.legalCompanyName ?? "",
1916
2068
  country: data.country
1917
2069
  };
1918
2070
  }
1919
- if (data.entityType === LegalEntityType.INDIVIDUAL)
2071
+ if (data.entityType === LegalEntityTypes.INDIVIDUAL)
1920
2072
  return {
1921
2073
  trustMemberType: "regular",
1922
2074
  roles: data.role,
1923
- legalEntityType: LegalEntityType.INDIVIDUAL,
2075
+ legalEntityType: LegalEntityTypes.INDIVIDUAL,
1924
2076
  legalEntityId: existingId ?? isNewEntity,
1925
2077
  name: ""
1926
2078
  };
@@ -2332,7 +2484,7 @@ const EntityAssociation = ({
2332
2484
  /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-association__top", children: [
2333
2485
  /* @__PURE__ */ jsx("h3", { className: "adyen-kyc-entity-association__title", children: name }),
2334
2486
  /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-association__info", children: [
2335
- /* @__PURE__ */ jsx(TaskItemStatus, { status: isStatusRemoving ? TaskStatus.REMOVING : status }),
2487
+ /* @__PURE__ */ jsx(TaskItemStatus, { status: isStatusRemoving ? TaskStatuses.REMOVING : status }),
2336
2488
  actions && /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-entity-association__actions", children: [
2337
2489
  /* @__PURE__ */ jsx(
2338
2490
  IconButton,
@@ -2368,7 +2520,7 @@ const EntityAssociation = ({
2368
2520
  },
2369
2521
  type
2370
2522
  )) }),
2371
- status === TaskStatus.ERROR && /* @__PURE__ */ jsx(
2523
+ status === TaskStatuses.ERROR && /* @__PURE__ */ jsx(
2372
2524
  VerificationErrorAlert,
2373
2525
  {
2374
2526
  className: "adyen-kyc-entity-association-alert",
@@ -2445,7 +2597,7 @@ const ExemptSettlorTaskItem = ({
2445
2597
  onDelete
2446
2598
  }) => {
2447
2599
  const { i18n } = useI18nContext();
2448
- const settlorName = exemptSettlor.legalEntityType === LegalEntityType.INDIVIDUAL ? `${exemptSettlor.exemptSettlorName?.firstName} ${exemptSettlor.exemptSettlorName?.lastName}` : exemptSettlor.name ?? "";
2600
+ const settlorName = exemptSettlor.legalEntityType === LegalEntityTypes.INDIVIDUAL ? `${exemptSettlor.exemptSettlorName?.firstName} ${exemptSettlor.exemptSettlorName?.lastName}` : exemptSettlor.name ?? "";
2449
2601
  const actions = [
2450
2602
  {
2451
2603
  icon: "edit",
@@ -2555,7 +2707,7 @@ const UndefinedBeneficiaryTaskItem = ({
2555
2707
  {
2556
2708
  name: undefinedBeneficiary.description,
2557
2709
  types: [TrustMemberTypes.UNDEFINED_BENEFICIARY],
2558
- status: TaskStatus.FINISHED,
2710
+ status: TaskStatuses.FINISHED,
2559
2711
  actions,
2560
2712
  onNavigateToEntity: onEdit
2561
2713
  },
@@ -2570,7 +2722,7 @@ const TrustMembersOverview = ({
2570
2722
  const { data: rootLe, isLoading } = useLegalEntity(ROOT_LE);
2571
2723
  const { data: trustLe, refetch: refetchTrust } = useAssociatedLegalEntity(
2572
2724
  rootLe,
2573
- LegalEntityType.TRUST
2725
+ LegalEntityTypes.TRUST
2574
2726
  );
2575
2727
  const trustMembers = useTrustMembers();
2576
2728
  const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
@@ -2785,7 +2937,7 @@ const useUnincorporatedPartnershipNavigation = ({ navigateTo }) => {
2785
2937
  setActiveMember(createdMember);
2786
2938
  if (rootLegalEntityId.value === createdMember?.legalEntityId) {
2787
2939
  navigateTo(
2788
- createdMember.legalEntityType === LegalEntityType.INDIVIDUAL ? TaskTypes.INDIVIDUAL : TaskTypes.BUSINESS_DETAILS
2940
+ createdMember.legalEntityType === LegalEntityTypes.INDIVIDUAL ? TaskTypes.INDIVIDUAL : TaskTypes.BUSINESS_DETAILS
2789
2941
  );
2790
2942
  return;
2791
2943
  }
@@ -2794,7 +2946,7 @@ const useUnincorporatedPartnershipNavigation = ({ navigateTo }) => {
2794
2946
  return;
2795
2947
  }
2796
2948
  navigateTo(
2797
- createdMember?.legalEntityType === LegalEntityType.ORGANIZATION ? TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY : TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL
2949
+ createdMember?.legalEntityType === LegalEntityTypes.ORGANIZATION ? TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY : TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL
2798
2950
  );
2799
2951
  };
2800
2952
  return {
@@ -2876,12 +3028,12 @@ const regularForms = {
2876
3028
  }
2877
3029
  };
2878
3030
  const leTypeCardDetails = {
2879
- [LegalEntityType.INDIVIDUAL]: {
3031
+ [LegalEntityTypes.INDIVIDUAL]: {
2880
3032
  id: "individual",
2881
3033
  name: "individualMember",
2882
3034
  description: "partnerNotABusiness"
2883
3035
  },
2884
- [LegalEntityType.ORGANIZATION]: {
3036
+ [LegalEntityTypes.ORGANIZATION]: {
2885
3037
  id: "organization",
2886
3038
  name: "companyMember",
2887
3039
  description: "partnerIsABusiness"
@@ -2897,12 +3049,12 @@ function UnincorporatedPartnershipRoleAndTypeDropin({
2897
3049
  onNavigateToMember,
2898
3050
  activeMember
2899
3051
  }) {
2900
- const { i18n } = useI18nContext();
3052
+ const { t } = useTranslation(["common", "unincorpPartnership"]);
2901
3053
  const [shouldValidate, setShouldValidate] = useState(false);
2902
3054
  const activeForm = regularForms.roleAndEntityType;
2903
3055
  const formUtils = createFormUtils(
2904
3056
  {},
2905
- i18n
3057
+ t
2906
3058
  );
2907
3059
  const formsWithValidity = Object.values(regularForms).map((form) => ({
2908
3060
  formId: form.formId,
@@ -2924,7 +3076,7 @@ function UnincorporatedPartnershipRoleAndTypeDropin({
2924
3076
  )
2925
3077
  };
2926
3078
  const decideFields = (data2) => {
2927
- if (data2.entityType === LegalEntityType.INDIVIDUAL) {
3079
+ if (data2.entityType === LegalEntityTypes.INDIVIDUAL) {
2928
3080
  return ["entityType", "uboThroughControl", "uboThroughOwnership"];
2929
3081
  }
2930
3082
  return ["entityType"];
@@ -2936,12 +3088,14 @@ function UnincorporatedPartnershipRoleAndTypeDropin({
2936
3088
  shouldValidate
2937
3089
  });
2938
3090
  const onNextClick = () => {
2939
- if (Object.values(data).some((fieldValue) => !fieldValue) && data.entityType !== LegalEntityType.ORGANIZATION) {
3091
+ if (Object.values(data).some((fieldValue) => !fieldValue) && data.entityType !== LegalEntityTypes.ORGANIZATION) {
2940
3092
  setShouldValidate(true);
2941
3093
  return;
2942
3094
  }
2943
- const selectedRoles = [UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER];
2944
- if (data.entityType === LegalEntityType.INDIVIDUAL) {
3095
+ const selectedRoles = [
3096
+ UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER
3097
+ ];
3098
+ if (data.entityType === LegalEntityTypes.INDIVIDUAL) {
2945
3099
  if (data.uboThroughControl === "yes") {
2946
3100
  selectedRoles.push(UnincorporatedPartnershipMemberTypes.CONTROLLING_PERSON);
2947
3101
  }
@@ -2975,8 +3129,8 @@ function UnincorporatedPartnershipRoleAndTypeDropin({
2975
3129
  /* @__PURE__ */ jsx(
2976
3130
  FormHeader,
2977
3131
  {
2978
- heading: i18n.get("roleAndEntityType"),
2979
- description: i18n.get("partnerRoleDescription")
3132
+ heading: t(($) => $["roleAndEntityType"]),
3133
+ description: t(($) => $["partnerRoleDescription"], { ns: "unincorpPartnership" })
2980
3134
  }
2981
3135
  ),
2982
3136
  /* @__PURE__ */ jsx(
@@ -3031,7 +3185,7 @@ function UnincorporatedPartnershipRoleAndTypeDropin({
3031
3185
  ] })
3032
3186
  }
3033
3187
  ),
3034
- /* @__PURE__ */ jsx("div", { className: styles$1.adyenKycRoleAndTypeActionBar, children: /* @__PURE__ */ jsx(Button, { onClick: onNextClick, children: i18n.get("continue") }) })
3188
+ /* @__PURE__ */ jsx("div", { className: styles$1.adyenKycRoleAndTypeActionBar, children: /* @__PURE__ */ jsx(Button, { onClick: onNextClick, children: t(($) => $["continue"]) }) })
3035
3189
  ] })
3036
3190
  ] });
3037
3191
  }
@@ -3061,7 +3215,7 @@ const styles = {
3061
3215
  };
3062
3216
  const isPrimaryPartner = (member) => member?.roles?.includes("primaryPartner");
3063
3217
  const isMemberMissingOwner = (member) => {
3064
- return !isPrimaryPartner(member) && member.legalEntityType === LegalEntityType.ORGANIZATION && !member.ownerId;
3218
+ return !isPrimaryPartner(member) && member.legalEntityType === LegalEntityTypes.ORGANIZATION && !member.ownerId;
3065
3219
  };
3066
3220
  const UnincorporatedPartnershipMembersOverview = ({
3067
3221
  navigateBackToTaskList,
@@ -3072,7 +3226,7 @@ const UnincorporatedPartnershipMembersOverview = ({
3072
3226
  const { data: rootLe } = useLegalEntity(ROOT_LE);
3073
3227
  const { data: partnershipLe, refetch: refetchPartnership } = useAssociatedLegalEntity(
3074
3228
  rootLe,
3075
- LegalEntityType.UNINCORPORATED_PARTNERSHIP
3229
+ LegalEntityTypes.UNINCORPORATED_PARTNERSHIP
3076
3230
  );
3077
3231
  const partnershipMembers = useUnincorporatedPartnershipMembers();
3078
3232
  const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
@@ -3107,7 +3261,7 @@ const UnincorporatedPartnershipMembersOverview = ({
3107
3261
  })
3108
3262
  }
3109
3263
  ];
3110
- if (member.legalEntityType === LegalEntityType.ORGANIZATION && !isPrimaryPartner(member)) {
3264
+ if (member.legalEntityType === LegalEntityTypes.ORGANIZATION && !isPrimaryPartner(member)) {
3111
3265
  const missingOwner = isMemberMissingOwner(member);
3112
3266
  baseActions.push({
3113
3267
  icon: missingOwner ? "plus" : "edit",
@@ -3169,7 +3323,7 @@ const UnincorporatedPartnershipMembersOverview = ({
3169
3323
  types: member.roles,
3170
3324
  name: member.name,
3171
3325
  status: getTaskStatus2(
3172
- member.legalEntityType === LegalEntityType.INDIVIDUAL ? TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL : TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY,
3326
+ member.legalEntityType === LegalEntityTypes.INDIVIDUAL ? TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL : TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY,
3173
3327
  member.legalEntityId
3174
3328
  ),
3175
3329
  actions: getActions(member),
@@ -3336,72 +3490,75 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
3336
3490
  return hasOwnEntityAssocation || !!hasOrganizationType;
3337
3491
  };
3338
3492
  const Introduction = lazy(
3339
- async () => (await import("./Introduction-erRXgreE.js")).Introduction
3493
+ async () => (await import("./Introduction-B1WXHc-7.js")).Introduction
3340
3494
  );
3341
3495
  const BusinessTypeSelectionPage = lazy(
3342
- async () => (await import("./BusinessTypeSelectionPage-Cdp8joPJ.js")).BusinessTypeSelectionPage
3496
+ async () => (await import("./BusinessTypeSelectionPage-6sF2ce3o.js")).BusinessTypeSelectionPage
3343
3497
  );
3344
3498
  const SingpassSelection = lazy(
3345
- async () => (await import("./SingpassSelection-BWEJ3Yi-.js")).SingpassSelection
3499
+ async () => (await import("./SingpassSelection-BeUj9Kdy.js")).SingpassSelection
3346
3500
  );
3347
3501
  const AccountSetupRejected = lazy(
3348
- async () => (await import("./AccountSetupRejected-DHph9lFl.js")).AccountSetupRejected
3502
+ async () => (await import("./AccountSetupRejected-CQjHA557.js")).AccountSetupRejected
3349
3503
  );
3350
3504
  const DecisionMakers = lazy(
3351
- async () => (await import("./DecisionMakers-CZ5-IRtU.js")).DecisionMakers
3505
+ async () => (await import("./DecisionMakers-DthVv8_t.js")).DecisionMakers
3352
3506
  );
3353
3507
  const CustomerSupport = lazy(
3354
- async () => (await import("./CustomerSupport-NGBoBg3N.js")).CustomerSupport
3508
+ async () => (await import("./CustomerSupport-CoLWcgoS.js")).CustomerSupport
3355
3509
  );
3356
- const Review = lazy(async () => (await import("./Review-O6Al47Cu.js")).Review);
3510
+ const Review = lazy(async () => (await import("./Review-jBq7cFVv.js")).Review);
3357
3511
  const SignPCIComponent = lazy(
3358
- async () => (await import("./SignPCIComponent-cqRNhGdl.js")).SignPCIComponent
3512
+ async () => (await import("./SignPCIComponent-By4PazmA.js")).SignPCIComponent
3359
3513
  );
3360
3514
  const AcceptTermsOfService = lazy(
3361
- async () => (await import("./AcceptTermsOfServiceComponent-i222mdxX.js")).AcceptTermsOfServiceComponent
3515
+ async () => (await import("./AcceptTermsOfServiceComponent-ilX6szf9.js")).AcceptTermsOfServiceComponent
3362
3516
  );
3363
3517
  const TaxReportingDropin = lazy(
3364
- async () => (await import("./TaxReportingDropin-DFZ2ehfk.js")).TaxReportingDropin
3518
+ async () => (await import("./TaxReportingDropin-BQqDUn9I.js")).TaxReportingDropin
3365
3519
  );
3366
3520
  const PayoutDetailsPage = lazy(
3367
- async () => (await import("./StoreProvider-ClKLaHzy.js").then((n) => n.eI)).PayoutDetailsPage
3521
+ async () => (await import("./StoreProvider-O9jwxfG8.js").then((n) => n.fD)).PayoutDetailsPage
3368
3522
  );
3369
3523
  const RootBusinessDetailsPage = lazy(
3370
- async () => (await import("./RootBusinessDetailsPage-q_6wAcer.js")).RootBusinessDetailsPage
3524
+ async () => (await import("./RootBusinessDetailsPage-BfO0Xb7n.js")).RootBusinessDetailsPage
3371
3525
  );
3372
3526
  const SoleProprietorshipPage = lazy(
3373
- async () => (await import("./SoleProprietorshipPage-CRcJSpn9.js")).SoleProprietorshipPage
3527
+ async () => (await import("./SoleProprietorshipPage-CZPeKEEl.js")).SoleProprietorshipPage
3374
3528
  );
3375
3529
  const TrustMemberCompanyPage = lazy(
3376
- async () => (await import("./TrustMemberCompanyPage-oLNhg0hg.js")).TrustMemberCompanyPage
3530
+ async () => (await import("./TrustMemberCompanyPage-C9aFr4Bm.js")).TrustMemberCompanyPage
3377
3531
  );
3378
3532
  const UnincorporatedPartnershipMemberCompanyPage = lazy(
3379
- async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-HUnc9g0g.js")).UnincorporatedPartnershipMemberCompanyPage
3533
+ async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DFe_N3gH.js")).UnincorporatedPartnershipMemberCompanyPage
3380
3534
  );
3381
3535
  const BusinessFinancingPage = lazy(
3382
- async () => (await import("./BusinessFinancingPage-BPD2cSDR.js")).BusinessFinancingPage
3536
+ async () => (await import("./BusinessFinancingPage-BIEuNfKE.js")).BusinessFinancingPage
3383
3537
  );
3384
3538
  const TrustDetailsPage = lazy(
3385
- async () => (await import("./TrustDetailsPage-CGiiTbfR.js")).TrustDetailsPage
3539
+ async () => (await import("./TrustDetailsPage-BQKZ_ZyU.js")).TrustDetailsPage
3386
3540
  );
3387
3541
  const SourceOfFundsPage = lazy(
3388
- async () => (await import("./SourceOfFundsPage-BxLGXTHb.js")).SourceOfFundsPage
3542
+ async () => (await import("./SourceOfFundsPage-CI1qdFId.js")).SourceOfFundsPage
3389
3543
  );
3390
3544
  const RootIndividualDetailsPage = lazy(
3391
- async () => (await import("./RootIndividualDetailsPage-CiXgSJsV.js")).RootIndividualDetailsPage
3545
+ async () => (await import("./RootIndividualDetailsPage-DzmHoceW.js")).RootIndividualDetailsPage
3392
3546
  );
3393
3547
  const LegalRepresentativeDetailsPage = lazy(
3394
- async () => (await import("./LegalRepresentativeDetailsPage-rS5K4657.js")).LegalRepresentativeDetailsPage
3548
+ async () => (await import("./LegalRepresentativeDetailsPage-9xm-XCto.js")).LegalRepresentativeDetailsPage
3395
3549
  );
3396
3550
  const TrustMemberIndividualPage = lazy(
3397
- async () => (await import("./TrustMemberIndividualPage-Bgsis586.js")).TrustMemberIndividualPage
3551
+ async () => (await import("./TrustMemberIndividualPage-Ci7hwMA_.js")).TrustMemberIndividualPage
3398
3552
  );
3399
3553
  const UnincorporatedPartnershipIndividualPage = lazy(
3400
- async () => (await import("./UnincorporatedPartnershipIndividualPage-DPE3grqL.js")).UnincorporatedPartnershipIndividualPage
3554
+ async () => (await import("./UnincorporatedPartnershipIndividualPage-XQsgF3ou.js")).UnincorporatedPartnershipIndividualPage
3401
3555
  );
3402
3556
  const DecisionMakerDetailsPage = lazy(
3403
- async () => (await import("./DecisionMakerDetailsPage-BN-H1sJF.js")).DecisionMakerDetailsPage
3557
+ async () => (await import("./DecisionMakerDetailsPage-CvmwdHqV.js")).DecisionMakerDetailsPage
3404
3558
  );
3559
+ function isIn(values, x) {
3560
+ return values.includes(x);
3561
+ }
3405
3562
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
3406
3563
  const logger = createLogger();
3407
3564
  function DropinComposer({
@@ -3445,7 +3602,7 @@ function DropinComposer({
3445
3602
  refetchInterval: (query) => {
3446
3603
  const legalEntityData2 = query.state.data;
3447
3604
  if (legalEntityData2) {
3448
- return !currentTask || !PAGES_WITH_POLLING.includes(currentTask) || hasAllCapabilitiesResolved(legalEntityData2) || hasRejectedCapabilities(legalEntityData2) ? false : 3e3;
3605
+ return !currentTask || !isIn(PAGES_WITH_POLLING, currentTask) || hasAllCapabilitiesResolved(legalEntityData2) || hasRejectedCapabilities(legalEntityData2) ? false : 3e3;
3449
3606
  }
3450
3607
  return 3e3;
3451
3608
  }
@@ -3473,12 +3630,12 @@ function DropinComposer({
3473
3630
  const singpassTabRef = useRef(null);
3474
3631
  const { data: trust, refetch: refetchTrust } = useAssociatedLegalEntity(
3475
3632
  rootLegalEntity,
3476
- LegalEntityType.TRUST
3633
+ LegalEntityTypes.TRUST
3477
3634
  );
3478
- const { data: unincorporatedPartnership, refetch: refetchUnincorporatedPartnership } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityType.UNINCORPORATED_PARTNERSHIP);
3635
+ const { data: unincorporatedPartnership, refetch: refetchUnincorporatedPartnership } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityTypes.UNINCORPORATED_PARTNERSHIP);
3479
3636
  const { data: soleProp } = useAssociatedLegalEntity(
3480
3637
  rootLegalEntity,
3481
- LegalEntityType.SOLE_PROPRIETORSHIP
3638
+ LegalEntityTypes.SOLE_PROPRIETORSHIP
3482
3639
  );
3483
3640
  const [parentId, setParentId] = useState();
3484
3641
  const [currentDecisionMakerId, setCurrentDecisionMakerId] = useState();
@@ -3618,7 +3775,7 @@ function DropinComposer({
3618
3775
  singpassTabRef.current?.close();
3619
3776
  } else {
3620
3777
  handleSingpassMyInfoLoginFailure(
3621
- legalEntityResponse.type === LegalEntityType.INDIVIDUAL ? "weCouldntConnectToMyinfo" : "weCouldntConnectToMyinfoBusiness"
3778
+ legalEntityResponse.type === LegalEntityTypes.INDIVIDUAL ? "weCouldntConnectToMyinfo" : "weCouldntConnectToMyinfoBusiness"
3622
3779
  );
3623
3780
  }
3624
3781
  },
@@ -3689,9 +3846,9 @@ function DropinComposer({
3689
3846
  setTargetLegalEntityType(void 0);
3690
3847
  },
3691
3848
  handleHomeClick: () => navigateTo(TaskTypes.TASKS_OVERVIEW),
3692
- isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.INDIVIDUAL,
3849
+ isTargetLegalEntityType: targetLegalEntityType === LegalEntityTypes.INDIVIDUAL,
3693
3850
  trustedFields: singpassTrustedFields,
3694
- trustedFieldsProvider: isEligibleForSingpass ? TrustedFieldsProvider.SINGPASS : void 0
3851
+ trustedFieldsProvider: isEligibleForSingpass ? TrustedFieldsProviders.SINGPASS : void 0
3695
3852
  }
3696
3853
  ) });
3697
3854
  case TaskTypes.CUSTOMER_SUPPORT:
@@ -3713,7 +3870,7 @@ function DropinComposer({
3713
3870
  onSubmit: handleOnSubmit,
3714
3871
  handleHomeClick: navigateBack,
3715
3872
  trustedFields: singpassTrustedFields,
3716
- trustedFieldsProvider: isEligibleForSingpass ? TrustedFieldsProvider.SINGPASS : void 0,
3873
+ trustedFieldsProvider: isEligibleForSingpass ? TrustedFieldsProviders.SINGPASS : void 0,
3717
3874
  trustedRoles: trustedEntityAssociations.find((ea) => ea.reference === currentDecisionMaker?.id)?.types || []
3718
3875
  }
3719
3876
  ) });
@@ -3754,7 +3911,7 @@ function DropinComposer({
3754
3911
  setTargetLegalEntityType(void 0);
3755
3912
  },
3756
3913
  handleHomeClick: navigateBack,
3757
- isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
3914
+ isTargetLegalEntityType: targetLegalEntityType === LegalEntityTypes.ORGANIZATION
3758
3915
  }
3759
3916
  ) });
3760
3917
  case TaskTypes.TRUST_MEMBER_COMPANY:
@@ -3766,7 +3923,7 @@ function DropinComposer({
3766
3923
  newMember: trustMember?.legalEntityId === isNewEntity ? trustMember : void 0,
3767
3924
  onSubmit: (data) => handleOnSubmit(data, 2),
3768
3925
  handleHomeClick: navigateBack,
3769
- isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
3926
+ isTargetLegalEntityType: targetLegalEntityType === LegalEntityTypes.ORGANIZATION
3770
3927
  }
3771
3928
  ) });
3772
3929
  case TaskTypes.PAYOUT:
@@ -3861,7 +4018,7 @@ function DropinComposer({
3861
4018
  ),
3862
4019
  onSubmit: (data) => handleOnSubmit(data, 2),
3863
4020
  handleHomeClick: navigateBack,
3864
- isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
4021
+ isTargetLegalEntityType: targetLegalEntityType === LegalEntityTypes.ORGANIZATION
3865
4022
  }
3866
4023
  ) });
3867
4024
  case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER:
@@ -3914,7 +4071,7 @@ function DropinComposer({
3914
4071
  solePropId: soleProp?.id,
3915
4072
  onSubmit: (data) => handleOnSubmit(data, 1),
3916
4073
  handleHomeClick: navigateBack,
3917
- isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
4074
+ isTargetLegalEntityType: targetLegalEntityType === LegalEntityTypes.ORGANIZATION
3918
4075
  }
3919
4076
  ) });
3920
4077
  case TaskTypes.SERVICE_AGREEMENT:
@@ -3960,6 +4117,8 @@ function DropinComposer({
3960
4117
  ) });
3961
4118
  case TaskTypes.TAX_REPORTING:
3962
4119
  return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(TaxReportingDropin, { handleHomeClick: () => navigateTo(TaskTypes.TASKS_OVERVIEW) }) });
4120
+ case TaskTypes.BUSINESS_LINES:
4121
+ return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(RootBusinessLinesPage, { handleHomeClick: () => navigateTo(TaskTypes.TASKS_OVERVIEW) }) });
3963
4122
  default:
3964
4123
  return null;
3965
4124
  }
@@ -3984,12 +4143,14 @@ export {
3984
4143
  DropinLayout as D,
3985
4144
  EntityGuidanceStatus as E,
3986
4145
  OnboardingDropinComponent as O,
3987
- useLegalEntityType as a,
3988
- allowIndividualWithoutSoleProp as b,
3989
- useDataMissingRemediations as c,
3990
- EntityAssociation as d,
3991
- useTrustMembers as e,
4146
+ usePciStatus as a,
4147
+ useCanSeeIntroduction as b,
4148
+ useLegalEntityType as c,
4149
+ allowIndividualWithoutSoleProp as d,
4150
+ useDataMissingRemediations as e,
4151
+ EntityAssociation as f,
4152
+ useTrustMembers as g,
3992
4153
  iconStatus as i,
3993
4154
  normalizedTaskStatusStore as n,
3994
- useCanSeeIntroduction as u
4155
+ useSalesChannelsSettings as u
3995
4156
  };