@adyen/kyc-components 3.79.0-beta.9 → 3.80.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BtDbLa_E.js → AcceptTermsOfServiceComponent-DBSkKRHS.js} +7 -7
  2. package/dist/{AccountSetupRejected-CcEP6pSK.js → AccountSetupRejected-gAGWuJ9N.js} +6 -6
  3. package/dist/{Avatar-CIGV_SS9.js → Avatar-5RObc8Yd.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-DLYZERBF.js → BusinessDetailsDropin-O92NE-y1.js} +132 -144
  5. package/dist/{BusinessFinancingComponent-B0-te_Xu.js → BusinessFinancingComponent-DDKomenp.js} +3 -3
  6. package/dist/{BusinessFinancingDropin-B4_rfH9-.js → BusinessFinancingDropin-Bhg9neRS.js} +135 -97
  7. package/dist/{BusinessFinancingPage-CrrXzA0g.js → BusinessFinancingPage-DyItV5SR.js} +3 -3
  8. package/dist/{BusinessTypeSelectionPage-D8xVIVhb.js → BusinessTypeSelectionPage-DmjbM57I.js} +47 -76
  9. package/dist/{ContractViewer-UYqTJdeu.js → ContractViewer-DBW5C6kA.js} +2 -2
  10. package/dist/{CreateIndividualComponent-XvZnVu7B.js → CreateIndividualComponent-c8yAn2_J.js} +4 -4
  11. package/dist/{CreateTransferInstrumentComponent-BgYVNCFm.js → CreateTransferInstrumentComponent-BF-KFdjU.js} +5 -5
  12. package/dist/{CustomerSupport-CYFiNKxp.js → CustomerSupport-rSYElbVr.js} +10 -10
  13. package/dist/{DebugModal-D3MJ4glT.js → DebugModal-BTr0idCC.js} +12 -226
  14. package/dist/{DecisionMakerDetailsPage-CbEA4IVc.js → DecisionMakerDetailsPage-DQcWSwTb.js} +4 -4
  15. package/dist/DecisionMakers-C2awPhE6.js +478 -0
  16. package/dist/{EmbeddedStatus-90fvG4vd.js → EmbeddedStatus-COKtxNW-.js} +13 -13
  17. package/dist/{FormEndState-n1UQXu_s.js → FormEndState-BmDRa3zJ.js} +4 -3
  18. package/dist/{FormFlow-DJAJpY63.js → FormFlow-CNxGh4Yu.js} +3 -3
  19. package/dist/{IndividualOnfidoDropin-UnR6_lSH.js → IndividualOnfidoDropin-DUzjucM9.js} +217 -188
  20. package/dist/{Introduction-DF3A8V4n.js → Introduction-BEM_wmkj.js} +24 -26
  21. package/dist/{ProviderButton-C0l7gpNQ.js → LandingLayout-DyY0Exht.js} +91 -83
  22. package/dist/{LegalRepresentativeDetailsPage-BVyxsmeu.js → LegalRepresentativeDetailsPage-1tw_BPLr.js} +4 -4
  23. package/dist/{ManageIndividualComponent-CgoC5kz6.js → ManageIndividualComponent-B0y8wd24.js} +6 -6
  24. package/dist/{ManageTermsOfServiceComponent-Csey0WTR.js → ManageTermsOfServiceComponent-DJVDf-iH.js} +4 -4
  25. package/dist/{ManageTransferInstrumentComponent-Cl1QWiGy.js → ManageTransferInstrumentComponent-DF4Q8oEB.js} +6 -6
  26. package/dist/{OnboardingDropinComponent-CMrZ3LMb.js → OnboardingDropinComponent-B0Sj7qf1.js} +366 -208
  27. package/dist/{Review-CzahUVPw.js → Review-C4HOjR6y.js} +11 -11
  28. package/dist/RootBusinessDetailsPage-DeqKfOFX.js +1848 -0
  29. package/dist/{RootIndividualDetailsPage-BWTT7m_R.js → RootIndividualDetailsPage-CKOquQ0-.js} +4 -4
  30. package/dist/{SignPCIComponent-BQNUvb0U.js → SignPCIComponent-Cx8oL8wu.js} +6 -6
  31. package/dist/{SingpassSelection-XgZwkWE1.js → SingpassSelection-BJNZw1u-.js} +11 -11
  32. package/dist/{SoleProprietorshipPage-By5_23ht.js → SoleProprietorshipPage-Dtw3XHVJ.js} +4 -4
  33. package/dist/{SourceOfFundsPage-CDGfbVu5.js → SourceOfFundsPage-gPmK4QX6.js} +28 -20
  34. package/dist/{StoreProvider-D6PzfyGo.js → StoreProvider-DhQ4sdLg.js} +5809 -5424
  35. package/dist/{TaskItemStatus-FSfcOG5a.js → TaskItemStatus-Cxcag2AH.js} +23 -23
  36. package/dist/TaskStatusIndicator-B5fp8LzR.js +69 -0
  37. package/dist/{TaxReportingDropin-B7TEo7Kn.js → TaxReportingDropin-CbDYoO31.js} +8 -7
  38. package/dist/{TileGroup-rR4DgKfb.js → TileGroup-BkLtnLiA.js} +2 -2
  39. package/dist/{TrustDetailsPage-DPBPQVSn.js → TrustDetailsPage-DktRQRum.js} +38 -14
  40. package/dist/{TrustMemberCompanyPage-B_TShwlL.js → TrustMemberCompanyPage-CLTOpWzU.js} +5 -5
  41. package/dist/{TrustMemberIndividualPage-BgQBZEcL.js → TrustMemberIndividualPage-wPh86-GQ.js} +4 -4
  42. package/dist/{UnincorporatedPartnershipIndividualPage-DHcH33Db.js → UnincorporatedPartnershipIndividualPage-B-2i68Nd.js} +4 -4
  43. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BTklC9NY.js → UnincorporatedPartnershipMemberCompanyPage-DWLczj6F.js} +4 -4
  44. package/dist/{VerificationErrorAlert-BrW_bMo4.js → VerificationErrorAlert-AbvM4lbK.js} +2 -2
  45. package/dist/{ViewVerificationStatusComponent-4QUIn73E.js → ViewVerificationStatusComponent-vVZeXYDs.js} +14 -12
  46. package/dist/adyen-business-financing.js +8 -12
  47. package/dist/adyen-individual.js +6 -4
  48. package/dist/adyen-kyc-components.js +143 -124
  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 +14 -6
  53. package/dist/adyen-terms-of-service.js +18 -6
  54. package/dist/adyen-transfer-instrument.js +10 -6
  55. package/dist/adyen-verification-status.js +2 -2
  56. package/dist/bag-DpxmyXfR.js +14 -0
  57. package/dist/business-lines-DboUCbXw.js +135 -0
  58. package/dist/decision-makers-group-CgddXgrx.js +1944 -0
  59. package/dist/en-US-CQ3angjM.js +22 -0
  60. package/dist/{getFieldsWithExistingData-nHjOwfDp.js → getFieldsWithExistingData-BS9W6RQp.js} +2 -2
  61. package/dist/{hasDataChanged-C8mesP2r.js → hasDataChanged-DK74H0sZ.js} +2 -2
  62. package/dist/{localizeDateString-BUxfnxIU.js → localizeDateString-C34eXZqY.js} +2 -2
  63. package/dist/mail-Z_IE_hkw.js +14 -0
  64. package/dist/{mapFinancialReportsToFinancialInformation-CYeTa8E1.js → mapFinancialReportsToFinancialInformation-DoJu-RRw.js} +2 -2
  65. package/dist/pay-by-link-plane-Pv7Babgn.js +22 -0
  66. package/dist/{resolveEnvironment-sH8SYGuY.js → resolveEnvironment-rJv_NJF_.js} +3 -3
  67. package/dist/{rules-CbVhdTWA.js → rules-OP83mdq4.js} +13 -13
  68. package/dist/solution-payments-DTAuLSWF.js +14 -0
  69. package/dist/style.css +218 -181
  70. package/dist/styles-CLV89_hH.js +218 -181
  71. package/dist/terminal-1-ewywjFJI.js +18 -0
  72. package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -2
  73. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +4 -8
  74. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +2 -3
  75. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +25 -24
  76. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +10 -10
  77. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -2
  78. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -306
  79. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
  80. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +9 -0
  81. package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +10 -0
  82. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
  83. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -2
  84. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +5 -3
  85. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
  86. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +14 -0
  87. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +3 -0
  88. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +4 -0
  89. package/dist/types/components/Business/forms/forms.types.d.ts +14 -0
  90. package/dist/types/components/Business/forms/rules.d.ts +26 -8
  91. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -1
  92. package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +1 -1
  93. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -3
  94. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -3
  95. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +18 -0
  96. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +5 -0
  97. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +2 -0
  98. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +21 -0
  99. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/validate.d.ts +22 -0
  100. package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +1 -1
  101. package/dist/types/components/Business/utils/companyUtil.d.ts +3 -3
  102. package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +5 -0
  103. package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +5 -0
  104. package/dist/types/components/BusinessLines/tasks/BusinessLinesGettingStarted/BusinessLinesGettingStarted.d.ts +6 -0
  105. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  106. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1 -306
  107. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +22 -19
  108. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -2
  109. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
  110. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +3 -3
  111. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +5 -5
  112. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
  113. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
  114. package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +6 -0
  115. package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +2 -2
  116. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -2
  117. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
  118. package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +8 -8
  119. package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +18 -18
  120. package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
  121. package/dist/types/components/Individual/forms/Individual/types.d.ts +2 -2
  122. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +3 -2
  123. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +2 -2
  124. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +2 -2
  125. package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +4 -4
  126. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +3 -1
  127. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
  128. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +2 -2
  129. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  130. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +3 -3
  131. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
  132. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +2 -0
  133. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +7 -0
  134. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersGettingStarted.d.ts +5 -0
  135. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersModalContent.d.ts +1 -0
  136. package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +4 -4
  137. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
  138. package/dist/types/components/Shared/Introduction/Introduction.d.ts +2 -2
  139. package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +2 -2
  140. package/dist/types/components/Shared/Introduction/constants.d.ts +3 -3
  141. package/dist/types/components/Shared/Introduction/copy.d.ts +6 -5
  142. package/dist/types/components/Shared/Introduction/types.d.ts +11 -11
  143. package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
  144. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  145. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
  146. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +5 -7
  147. package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
  148. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
  149. package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
  150. package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -3
  151. package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
  152. package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
  153. package/dist/types/components/Shared/fields/FinancialReportingDate/types.d.ts +1 -1
  154. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
  155. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
  156. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +27 -27
  157. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultRegistrationNumberType.d.ts +16 -0
  158. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +2 -2
  159. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultVatNumberType.d.ts +13 -0
  160. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +2 -2
  161. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
  162. package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
  163. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
  164. package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
  165. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  166. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  167. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  168. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  169. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -3
  170. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +3 -7
  171. package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
  172. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +2 -4
  173. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  174. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
  175. package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +11 -10
  176. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +3 -0
  177. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +7 -5
  178. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +2 -4
  179. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -2
  180. package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
  181. package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -1
  182. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -2
  183. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -2
  184. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +3 -3
  185. package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -1
  186. package/dist/types/components/Trust/tasks/TrustMembers/CompanyTrustMemberTaskItem.d.ts +1 -1
  187. package/dist/types/components/Trust/tasks/TrustMembers/ExemptSettlorTaskItem.d.ts +1 -1
  188. package/dist/types/components/Trust/tasks/TrustMembers/RegularTrustMemberTaskItem.d.ts +1 -1
  189. package/dist/types/components/Trust/tasks/TrustMembers/RootTrusteeTaskItem.d.ts +1 -1
  190. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +6 -6
  191. package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +7 -6
  192. package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
  193. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +6 -6
  194. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +5 -5
  195. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
  196. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +2 -2
  197. package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +16 -0
  198. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +14 -0
  199. package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -1
  200. package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +3 -2
  201. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
  202. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
  203. package/dist/types/constants/keys.d.ts +2 -0
  204. package/dist/types/context/ExperimentContext/types.d.ts +49 -37
  205. package/dist/types/context/SettingsContext/types.d.ts +24 -24
  206. package/dist/types/core/models/api/company-types-value.d.ts +12 -11
  207. package/dist/types/core/models/api/decision-maker-type.d.ts +7 -6
  208. package/dist/types/core/models/api/entity-type.d.ts +5 -4
  209. package/dist/types/core/models/api/get-scenarios.d.ts +18 -18
  210. package/dist/types/core/models/api/individual.d.ts +1 -0
  211. package/dist/types/core/models/api/legal-arrangement.d.ts +2 -2
  212. package/dist/types/core/models/api/legal-entity-association.d.ts +2 -2
  213. package/dist/types/core/models/api/legal-entity-type.d.ts +8 -7
  214. package/dist/types/core/models/api/trust-member-type.d.ts +8 -8
  215. package/dist/types/core/models/api/trusted-fields-provider.d.ts +5 -4
  216. package/dist/types/core/models/api/unincorporated-partnership.d.ts +6 -6
  217. package/dist/types/core/models/api/verification-error.d.ts +8 -7
  218. package/dist/types/core/models/api/verification-status.d.ts +7 -6
  219. package/dist/types/core/models/api/view-verification-status.d.ts +8 -7
  220. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -1
  221. package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +6 -1
  222. package/dist/types/embeds/individual/adyen-individual.types.d.ts +6 -1
  223. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +1 -0
  224. package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +4 -1
  225. package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +7 -1
  226. package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +2 -1
  227. package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +7 -2
  228. package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +4 -4
  229. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +7 -6
  230. package/dist/types/hooks/useBusinessSetup.d.ts +11 -10
  231. package/dist/types/hooks/useDataMissingRemediations.d.ts +2 -2
  232. package/dist/types/hooks/useFormComposer.d.ts +1 -1
  233. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -3
  234. package/dist/types/hooks/useLegalEntityType.d.ts +1 -1
  235. package/dist/types/hooks/useMultiForm/types.d.ts +38 -36
  236. package/dist/types/hooks/useMultiForm/useMultiForm.d.ts +1 -1
  237. package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
  238. package/dist/types/language/Language.d.ts +1 -0
  239. package/dist/types/language/utils.d.ts +11 -1
  240. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +2 -2
  241. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +2 -2
  242. package/dist/types/stores/globalStore/get-task-status.d.ts +2 -2
  243. package/dist/types/stores/globalStore/globalStore.d.ts +7 -7
  244. package/dist/types/stores/globalStore/taskStatus.d.ts +17 -16
  245. package/dist/types/stores/globalStore/taskTypes.d.ts +37 -35
  246. package/dist/types/types/datasets/country-code.d.ts +249 -249
  247. package/dist/types/types/datasets/currency.d.ts +25 -25
  248. package/dist/types/types/datasets/province-code.d.ts +46 -46
  249. package/dist/types/types/datasets/state-code.d.ts +84 -84
  250. package/dist/types/types/errors/entity-problems.d.ts +3 -4
  251. package/dist/types/types/form-rules.d.ts +2 -2
  252. package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
  253. package/dist/types/utils/birthDateUtils.d.ts +3 -3
  254. package/dist/types/utils/decisionMaker.d.ts +4 -3
  255. package/dist/types/utils/decisionMakerRoles.d.ts +4 -3
  256. package/dist/types/utils/entityAssociationUtil.d.ts +4 -5
  257. package/dist/types/utils/entityStatusUtil.d.ts +3 -3
  258. package/dist/types/utils/formUtils.d.ts +2 -2
  259. package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
  260. package/dist/types/utils/getName.d.ts +2 -2
  261. package/dist/types/utils/makeSelectItemForRole.d.ts +2 -2
  262. package/dist/types/utils/regex/patternValidators.d.ts +1 -0
  263. package/dist/types/utils/roleMetadata.d.ts +3 -3
  264. package/dist/types/utils/translation.d.ts +40 -0
  265. package/dist/{useMultiForm-DEOL8O6Q.js → useMultiForm-ChxUZ4e7.js} +10 -5
  266. package/dist/{useOnboardingStatus-BSZeiaAC.js → useOnboardingStatus-1BQlEPEi.js} +2 -2
  267. package/dist/{useTermsOfServiceStatus-B9zuE6yV.js → useTermsOfServiceStatus-BaVCmUdo.js} +2 -2
  268. package/dist/{useUpdateLegalEntity-Bs2tKEPC.js → useUpdateLegalEntity-LE_Kt3am.js} +2 -2
  269. package/dist/{utils-WopSF2zY.js → utils-DmcbDJEd.js} +17 -17
  270. package/dist/{validate-D40HSgPc.js → validate-B2VmmEPC.js} +2 -2
  271. package/dist/{validate-D2R8_9ew.js → validate-D66zPhDG.js} +2 -2
  272. package/dist/view-verification-status-VFcBydkR.js +21 -0
  273. package/package.json +5 -30
  274. package/dist/DecisionMakers-DCU9mFe8.js +0 -217
  275. package/dist/LandingLayout-DIrahoMq.js +0 -139
  276. package/dist/ManagePCIComponent-sKP7Mgeo.js +0 -33
  277. package/dist/RootBusinessDetailsPage-CA5r2xq3.js +0 -42
  278. package/dist/_plugin-vue_export-helper-CgYpM5kA.js +0 -19
  279. package/dist/adyen-manage-pci.js +0 -48
  280. package/dist/adyen-sign-pci.js +0 -62
  281. package/dist/adyen-terms-of-service.vue_vue_type_script_lang-BD4hndWg.js +0 -42
  282. package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-BE-ro1iH.js +0 -53
  283. package/dist/css-Di2ysu56.js +0 -24
  284. package/dist/json-x8T3RzUR.js +0 -31
  285. package/dist/plaintext-D3Ww_aF9.js +0 -17
  286. package/dist/preact/adyen-individual.js +0 -15
  287. package/dist/preact/adyen-manage-individual.js +0 -15
  288. package/dist/preact/adyen-terms-of-service.js +0 -16
  289. package/dist/preact/adyen-transfer-instrument.js +0 -16
  290. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationDisclaimer/IdVerificationDisclaimer.d.ts +0 -1
  291. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationHeader/IdVerificationHeader.d.ts +0 -1
  292. package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +0 -3
  293. package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +0 -3
  294. package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +0 -12
  295. package/dist/types/embeds/manage-pci/adyen-manage-pci.d.ts +0 -1
  296. package/dist/types/embeds/manage-pci/adyen-manage-pci.types.d.ts +0 -39
  297. package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +0 -15
  298. package/dist/types/embeds/sign-pci/adyen-sign-pci.d.ts +0 -1
  299. package/dist/types/embeds/sign-pci/adyen-sign-pci.types.d.ts +0 -43
  300. package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +0 -3
  301. package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +0 -3
  302. package/dist/useSalesChannelsSettings-CuQ0ULoa.js +0 -51
  303. package/dist/view-verification-status-DTkA8PtO.js +0 -20
  304. package/dist/vue/adyen-individual.js +0 -53
  305. package/dist/vue/adyen-manage-individual.js +0 -56
  306. package/dist/vue/adyen-terms-of-service.js +0 -28
  307. package/dist/vue/adyen-transfer-instrument.js +0 -30
  308. package/dist/yaml-BMoCIv2z.js +0 -22
@@ -50,14 +50,15 @@ export interface BusinessFinancingUltimateParentCompanyDetailsProps extends Base
50
50
  legalEntity?: ExistingLegalEntity;
51
51
  }
52
52
  export type BusinessFinancingSchemaCombined = BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema;
53
- export declare enum BusinessFinancingPagesEnums {
54
- COMPANY_PAGE = "company",
55
- PARENT_COMPANY_PAGE = "parentCompany",
56
- ULTIMATE_PARENT_COMPANY_PAGE = "ultimateParentCompany"
57
- }
53
+ export type BusinessFinancingPage = (typeof BusinessFinancingPages)[keyof typeof BusinessFinancingPages];
54
+ export declare const BusinessFinancingPages: {
55
+ readonly COMPANY_PAGE: "company";
56
+ readonly PARENT_COMPANY_PAGE: "parentCompany";
57
+ readonly ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany";
58
+ };
58
59
  export interface BusinessFinancingBusinessInformationProps extends BaseInnerFormProps<BusinessFinancingBusinessInformationSchema> {
59
60
  country: CountryCode;
60
- targetPage: BusinessFinancingPagesEnums;
61
+ targetPage: BusinessFinancingPage;
61
62
  sectionHeading?: Translatable;
62
63
  hideSectionHeading?: boolean;
63
64
  }
@@ -69,28 +70,29 @@ export interface BusinessFinancingOwnershipStructureProps extends BaseInnerFormP
69
70
  }
70
71
  export interface BusinessFinancingFinancialInformationProps extends BaseInnerFormProps<BusinessFinancingFinancialInformationSchema> {
71
72
  country: CountryCode;
72
- targetPage: BusinessFinancingPagesEnums;
73
+ targetPage: BusinessFinancingPage;
73
74
  sectionHeading?: Translatable;
74
75
  }
75
76
  export interface BusinessFinancingLegalInformationProps extends BaseInnerFormProps<BusinessFinancingLegalInformationSchema> {
76
77
  country: CountryCode;
77
- targetPage: BusinessFinancingPagesEnums;
78
+ targetPage: BusinessFinancingPage;
78
79
  sectionHeading?: Translatable;
79
80
  }
80
81
  export type BusinessFinancingParentSchemasCombined = BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema;
81
82
  export interface BusinessFinancingBasicCompanyInformationProps extends BaseInnerFormProps<BusinessFinancingBasicCompanyInformationSchema> {
82
83
  sectionHeading?: Translatable;
83
84
  }
84
- declare enum BusinessFinancingRadioIds {
85
- YES = "Yes",
86
- NO = "No"
87
- }
85
+ export type BusinessFinancingRadioId = (typeof BusinessFinancingRadioIds)[keyof typeof BusinessFinancingRadioIds];
86
+ declare const BusinessFinancingRadioIds: {
87
+ readonly YES: "Yes";
88
+ readonly NO: "No";
89
+ };
88
90
  export declare const businessFinancingRadioItems: Array<{
89
- id: BusinessFinancingRadioIds;
91
+ id: BusinessFinancingRadioId;
90
92
  name: TranslationKey;
91
93
  }>;
92
94
  export declare const businessFinancingParentRadioItems: Array<{
93
- id: BusinessFinancingRadioIds;
95
+ id: BusinessFinancingRadioId;
94
96
  name: TranslationKey;
95
97
  }>;
96
98
  export interface BusinessFinancingRegisteredAddressProps extends BaseInnerFormProps<BusinessFinancingRegisteredAddressSchema> {
@@ -102,11 +104,12 @@ export interface BusinessFinancingRegisteredAddressProps extends BaseInnerFormPr
102
104
  export declare const companySchemaKeys: (keyof BusinessFinancingCompanySchema)[];
103
105
  export declare const parentCompaniesSchemaKeys: (keyof BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema)[];
104
106
  export declare const businessFinancingForms: FormList;
105
- export declare enum BusinessFinancingIndex {
106
- COMPANY = "company",
107
- PARENT_COMPANY = "parentCompany",
108
- ULTIMATE_PARENT_COMPANY = "ultimateParentCompany"
109
- }
107
+ export type BusinessFinancingIndex = (typeof BusinessFinancingIndices)[keyof typeof BusinessFinancingIndices];
108
+ export declare const BusinessFinancingIndices: {
109
+ readonly COMPANY: "company";
110
+ readonly PARENT_COMPANY: "parentCompany";
111
+ readonly ULTIMATE_PARENT_COMPANY: "ultimateParentCompany";
112
+ };
110
113
  interface BusinessFinancingSummary {
111
114
  legalName?: string;
112
115
  legalForm?: string;
@@ -1,11 +1,11 @@
1
1
  import type { ExistingLegalEntity, LegalEntity, NewPatchLegalEntity } from '../../../../core/models/api/legal-entity';
2
2
  import type { Organization } from '../../../../core/models/api/organization';
3
3
  import type { MultiFormOptions } from '../../../../hooks/useMultiForm/types';
4
+ import type { Address } from '../../../../core/models/api/address';
4
5
  import type { FinancialInformationSchema } from '../../../Shared/forms/FinancialInformation/types';
5
6
  import type { CountryCode } from '../../../../types/datasets/country-code';
6
7
  import type { Currency } from '../../../../types/datasets/currency';
7
- import type { BusinessFinancingCompanySchema, BusinessFinancingParentSchemasCombined, BusinessFinancingSchema } from './types';
8
- import { BusinessFinancingIndex } from './types';
8
+ import type { BusinessFinancingCompanySchema, BusinessFinancingIndex, BusinessFinancingParentCompanySchema, BusinessFinancingParentSchemasCombined, BusinessFinancingSchema } from './types';
9
9
  export declare const getLegalEntityId: (businessFinancingIndex: BusinessFinancingIndex, rootLegalEntity: ExistingLegalEntity | undefined) => undefined | string;
10
10
  export declare const USER_LOCALE: string;
11
11
  export declare const entityHasParentCompany: (data: BusinessFinancingSchema) => boolean | "" | undefined;
@@ -25,3 +25,4 @@ export declare const handleBusinessFinancingFormSubmission: (businessFinancingTy
25
25
  export declare const getCompanySchemaKeys: (country: CountryCode, currentData: Partial<BusinessFinancingCompanySchema>, schemaKeys: (keyof BusinessFinancingCompanySchema)[]) => Array<keyof BusinessFinancingCompanySchema>;
26
26
  export declare const getParentCompanySchemaKeys: (currentData: Partial<BusinessFinancingParentSchemasCombined>, schemaKeys: (keyof BusinessFinancingParentSchemasCombined)[]) => Array<keyof BusinessFinancingParentSchemasCombined>;
27
27
  export declare const getBusinessFinancingRequiredFields: (country: CountryCode, data?: BusinessFinancingSchema) => MultiFormOptions<BusinessFinancingSchema>["requiredFields"];
28
+ export declare const getAddressCountryForParentCompany: (parentCompany?: BusinessFinancingParentCompanySchema, leAddress?: Address) => CountryCode | undefined;
@@ -6,7 +6,7 @@ import type { Organization } from '../../../../core/models/api/organization';
6
6
  import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../../core/models/api/source-of-funds';
7
7
  import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
8
8
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
9
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
9
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
10
10
  import type { CountryCode } from '../../../../types/datasets/country-code';
11
11
  import type { EntityProblems } from '../../../../types/errors/entity-problems';
12
12
  import type { FormModel } from '../../../../types/form';
@@ -19,7 +19,7 @@ export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSche
19
19
  forms?: FormModel[];
20
20
  problems?: EntityProblems;
21
21
  legalEntityId?: string;
22
- taskType?: TaskTypes;
22
+ taskType?: TaskType;
23
23
  country: CountryCode;
24
24
  activeBusinessLine?: BusinessLinesType;
25
25
  onNext?(e: any, callbacks: any, isValid: any): void;
@@ -1,7 +1,7 @@
1
1
  import type { State, TopLevelDataSchema } from '../../../../context/StateContext/types';
2
2
  import type { CapabilityName } from '../../../../core/models/api/capability';
3
3
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
4
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
4
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
5
5
  export interface SingpassLinkResponseItem {
6
6
  authUrl: string;
7
7
  success: boolean;
@@ -14,7 +14,7 @@ export interface DropinComposerProps {
14
14
  legalEntityResponse: ExistingLegalEntity;
15
15
  onChange?: (state: State<TopLevelDataSchema>) => void;
16
16
  onSubmit?: (data: unknown) => void;
17
- onNavigate?: (task: TaskTypes) => void;
17
+ onNavigate?: (task: TaskType) => void;
18
18
  openBankingPartnerConfigId?: string;
19
19
  }
20
20
  export interface DropinProps {
@@ -22,5 +22,5 @@ export interface DropinProps {
22
22
  handleBackClick?(): void;
23
23
  handleCloseClick?(): void;
24
24
  hideSidebar?: boolean;
25
- taskType?: TaskTypes;
25
+ taskType?: TaskType;
26
26
  }
@@ -1,13 +1,13 @@
1
1
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
- import { TaskTypes } from '../../../Shared/tasks/TaskList/types';
2
+ import { type TaskType } from '../../../../stores/globalStore/taskTypes';
3
3
  interface UseNavigationOptions {
4
4
  legalEntity: ExistingLegalEntity;
5
- onNavigate?: (task: TaskTypes) => void;
5
+ onNavigate?: (task: TaskType) => void;
6
6
  }
7
7
  interface UseNavigation {
8
- currentTask: TaskTypes | undefined;
9
- previousTask: TaskTypes | undefined;
10
- navigateTo: (task: TaskTypes | 'default', deletePreviousHistory?: boolean) => void;
8
+ currentTask: TaskType | undefined;
9
+ previousTask: TaskType | undefined;
10
+ navigateTo: (task: TaskType | 'default', deletePreviousHistory?: boolean) => void;
11
11
  navigateBack: (stepCount?: number) => void;
12
12
  }
13
13
  export declare const useNavigation: ({ legalEntity, onNavigate }: UseNavigationOptions) => UseNavigation;
@@ -1,5 +1,5 @@
1
1
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
2
- import { OnboardingStatus } from '../../../core/models/api/view-verification-status';
2
+ import { type OnboardingStatus } from '../../../core/models/api/view-verification-status';
3
3
  import type { ErrorEntity, OnboardingRedirectConfig } from './types';
4
4
  interface ViewVerificationStatusComponentProps {
5
5
  legalEntityId: ExistingLegalEntity['id'];
@@ -1,4 +1,4 @@
1
- import { OnboardingStatus } from '../../../core/models/api/view-verification-status';
1
+ import { type OnboardingStatus } from '../../../core/models/api/view-verification-status';
2
2
  import type { TranslationKey } from '../../../../types';
3
3
  export interface OnboardingRedirectContent {
4
4
  description: TranslationKey[];
@@ -1,4 +1,10 @@
1
1
  import './style.scss';
2
2
  import type { NomineeDecisionMakerRoleProps, NomineeDecisionMakerRoleSchema } from './types';
3
3
  export declare const nomineeFields: (keyof NomineeDecisionMakerRoleSchema)[];
4
+ export type NomineeRadioId = (typeof NomineeRadioIds)[keyof typeof NomineeRadioIds];
5
+ declare const NomineeRadioIds: {
6
+ readonly YES: "Yes";
7
+ readonly NO: "No";
8
+ };
4
9
  export declare const NomineeDecisionMakerRole: (props: NomineeDecisionMakerRoleProps) => import("preact/jsx-runtime").JSX.Element | undefined;
10
+ export {};
@@ -1,7 +1,7 @@
1
1
  import type { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
2
2
  import type { LegalEntityAssociation } from '../../../../core/models/api/legal-entity-association';
3
3
  import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
4
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
4
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
5
5
  import type { CountryCode } from '../../../../types/datasets/country-code';
6
6
  export interface DecisionMakerRoleSchema {
7
7
  role?: DecisionMakerType[];
@@ -11,7 +11,7 @@ export interface NomineeDecisionMakerRoleSchema {
11
11
  nomineeShareholder?: string;
12
12
  }
13
13
  export interface DecisionMakerRoleProps extends BaseInnerFormProps<DecisionMakerRoleSchema> {
14
- taskType: TaskTypes;
14
+ taskType: TaskType;
15
15
  allowedRoles?: DecisionMakerType[];
16
16
  trustedRoles?: Array<LegalEntityAssociation['type']>;
17
17
  country?: CountryCode;
@@ -7,7 +7,7 @@ import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTy
7
7
  import type { NameSchema } from '../../../../Shared/fields/Name/types';
8
8
  import type { TaxInformationFieldSchema } from '../../../../Shared/fields/TaxInformationField/types';
9
9
  import type { ContactDetailsSchema } from '../../../../Shared/forms/ContactDetails/types';
10
- import type { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
10
+ import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
11
11
  import type { CountryCode } from '../../../../../types/datasets/country-code';
12
12
  import type { ValidationRuleResults, ValidatorMode } from '../../../../../utils/validation/types';
13
13
  import type { JaHaniNameSchema, JaKanaNameSchema } from '../../../../Individual/fields/NameFields/types';
@@ -22,7 +22,7 @@ export interface PersonalDetailsSchema extends NameSchema, IdentityNumberSchema,
22
22
  relationship?: LegalRepresentativeRelationshipType;
23
23
  }
24
24
  export interface PersonalDetailsProps extends BaseInnerFormProps<PersonalDetailsSchema> {
25
- taskType: TaskTypes;
25
+ taskType: TaskType;
26
26
  allowedRoles?: DecisionMakerType[];
27
27
  onResidencyCountryChange?(country: string): void;
28
28
  fallbackCountry: CountryCode;
@@ -1,7 +1,7 @@
1
1
  import type { ExperimentName } from '../../../../../context/ExperimentContext/types';
2
2
  import type { BooleanSettingName } from '../../../../../context/SettingsContext/types';
3
3
  import type { IndividualIdNumberType, TaxIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
- import { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
4
+ import { type TaskType } from '../../../../../stores/globalStore/taskTypes';
5
5
  import type { CountryCode } from '../../../../../types/datasets/country-code';
6
6
  import type { FormVerificationErrors } from '../../../../../types/errors/form-verification-errors';
7
7
  import type { ValidatorRules } from '../../../../../utils/validation/types';
@@ -10,7 +10,7 @@ export declare const personalDetailsValidators: ({ country, isExperimentEnabled,
10
10
  country: CountryCode;
11
11
  isExperimentEnabled?: (experiment: ExperimentName) => boolean;
12
12
  isSettingEnabled?: (setting: BooleanSettingName) => boolean;
13
- taskType?: TaskTypes;
13
+ taskType?: TaskType;
14
14
  idNumberType: IndividualIdNumberType | undefined;
15
15
  phonePrefix: CountryCode | undefined;
16
16
  idNumberExempt: boolean | undefined;
@@ -1,17 +1,17 @@
1
1
  import type { DocumentUploadProps } from '../../../../Shared/forms/DocumentUpload/types';
2
- export declare enum ProofOfRelationshipDocumentTypes {
3
- BIRTH_CERTIFICATE = "birthCertificate",
4
- GUARDIANSHIP_CERTIFICATE = "guardianshipCertificate",
5
- ADOPTION_CERTIFICATE = "adoptionCertificate"
6
- }
2
+ export declare const ProofOfRelationshipDocumentTypes: {
3
+ readonly BIRTH_CERTIFICATE: "birthCertificate";
4
+ readonly GUARDIANSHIP_CERTIFICATE: "guardianshipCertificate";
5
+ readonly ADOPTION_CERTIFICATE: "adoptionCertificate";
6
+ };
7
7
  export declare const proofOfRelationshipDocumentOptions: readonly [{
8
- readonly id: ProofOfRelationshipDocumentTypes.BIRTH_CERTIFICATE;
8
+ readonly id: "birthCertificate";
9
9
  readonly name: "birthCertificate";
10
10
  }, {
11
- readonly id: ProofOfRelationshipDocumentTypes.GUARDIANSHIP_CERTIFICATE;
11
+ readonly id: "guardianshipCertificate";
12
12
  readonly name: "guardianshipCertificate";
13
13
  }, {
14
- readonly id: ProofOfRelationshipDocumentTypes.ADOPTION_CERTIFICATE;
14
+ readonly id: "adoptionCertificate";
15
15
  readonly name: "adoptionCertificate";
16
16
  }];
17
17
  export interface ProofOfRelationshipProps extends Omit<DocumentUploadProps<'proofOfRelationship'>, 'documentField' | 'documentType'> {
@@ -1,37 +1,37 @@
1
1
  import type { DocumentUploadProps } from '../../../../Shared/forms/DocumentUpload/types';
2
- export declare enum ProofOfResidenceDocumentTypes {
3
- BANK_STATEMENT = "bankStatement",
4
- UTILITY_BILL = "utilityBill",
5
- GOVERNMENT_ISSUED_CORRESPONDENCE = "governmentIssuedCorrespondence",
6
- TAXATION_DOCUMENT = "taxationDocument",
7
- EXTRACT_FROM_MUNICIPAL_PERSONAL_RECORDS_DATABASE = "extractFromMunicipalPersonalRecordsDatabase",
8
- SALARY_SLIP = "salarySlip",
9
- MORTGAGE_STATEMENT = "mortgageStatement",
10
- CERTIFICATE_OF_VOTER_REGISTRATION = "certificateOfVoterRegistration"
11
- }
2
+ export declare const ProofOfResidenceDocumentTypes: {
3
+ readonly BANK_STATEMENT: "bankStatement";
4
+ readonly UTILITY_BILL: "utilityBill";
5
+ readonly GOVERNMENT_ISSUED_CORRESPONDENCE: "governmentIssuedCorrespondence";
6
+ readonly TAXATION_DOCUMENT: "taxationDocument";
7
+ readonly EXTRACT_FROM_MUNICIPAL_PERSONAL_RECORDS_DATABASE: "extractFromMunicipalPersonalRecordsDatabase";
8
+ readonly SALARY_SLIP: "salarySlip";
9
+ readonly MORTGAGE_STATEMENT: "mortgageStatement";
10
+ readonly CERTIFICATE_OF_VOTER_REGISTRATION: "certificateOfVoterRegistration";
11
+ };
12
12
  export declare const proofOfResidenceDocumentOptions: readonly [{
13
- readonly id: ProofOfResidenceDocumentTypes.BANK_STATEMENT;
13
+ readonly id: "bankStatement";
14
14
  readonly name: "bankStatementDocument";
15
15
  }, {
16
- readonly id: ProofOfResidenceDocumentTypes.UTILITY_BILL;
16
+ readonly id: "utilityBill";
17
17
  readonly name: "utilityBill";
18
18
  }, {
19
- readonly id: ProofOfResidenceDocumentTypes.GOVERNMENT_ISSUED_CORRESPONDENCE;
19
+ readonly id: "governmentIssuedCorrespondence";
20
20
  readonly name: "governmentIssuedCorrespondence";
21
21
  }, {
22
- readonly id: ProofOfResidenceDocumentTypes.TAXATION_DOCUMENT;
22
+ readonly id: "taxationDocument";
23
23
  readonly name: "taxationDocument";
24
24
  }, {
25
- readonly id: ProofOfResidenceDocumentTypes.EXTRACT_FROM_MUNICIPAL_PERSONAL_RECORDS_DATABASE;
25
+ readonly id: "extractFromMunicipalPersonalRecordsDatabase";
26
26
  readonly name: "extractFromMunicipalPersonalRecordsDatabase";
27
27
  }, {
28
- readonly id: ProofOfResidenceDocumentTypes.SALARY_SLIP;
28
+ readonly id: "salarySlip";
29
29
  readonly name: "salarySlip";
30
30
  }, {
31
- readonly id: ProofOfResidenceDocumentTypes.MORTGAGE_STATEMENT;
31
+ readonly id: "mortgageStatement";
32
32
  readonly name: "mortgageStatement";
33
33
  }, {
34
- readonly id: ProofOfResidenceDocumentTypes.CERTIFICATE_OF_VOTER_REGISTRATION;
34
+ readonly id: "certificateOfVoterRegistration";
35
35
  readonly name: "certificateOfVoterRegistration";
36
36
  }];
37
37
  export interface ProofOfResidencyProps extends Omit<DocumentUploadProps<'proofOfResidency'>, 'documentField' | 'documentType'> {
@@ -1,4 +1,4 @@
1
- import { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
1
+ import { type DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
2
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
3
  import type { FormRulesParams } from '../../../../types/form-rules';
4
4
  import type { IndividualSchema } from './types';
@@ -5,7 +5,7 @@ import type { BaseOuterFormProps } from '../../../../hooks/useForm/types';
5
5
  import type { AddressSchema } from '../../../Shared/forms/Address/types';
6
6
  import type { ContactDetailsSchema } from '../../../Shared/forms/ContactDetails/types';
7
7
  import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
8
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
8
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
9
9
  import type { AccountHolderOption } from '../../../../types/accountHolder';
10
10
  import type { CountryCode } from '../../../../types/datasets/country-code';
11
11
  import type { EntityProblems } from '../../../../types/errors/entity-problems';
@@ -31,7 +31,7 @@ export interface IndividualProps extends BaseOuterFormProps<IndividualSchema> {
31
31
  forms?: FormModel[];
32
32
  problems?: EntityProblems;
33
33
  legalEntityId?: string;
34
- taskType: TaskTypes;
34
+ taskType: TaskType;
35
35
  allowedRoles?: DecisionMakerType[];
36
36
  parentLegalEntity?: ExistingLegalEntity;
37
37
  country: CountryCode;
@@ -3,7 +3,7 @@ import type { TranslationKey } from '../../../../../../types';
3
3
  import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
4
  import type { TaxInformationFieldSchema } from '../../../../Shared/fields/TaxInformationField/types';
5
5
  import type { AddressSchema } from '../../../../Shared/forms/Address/types';
6
- import type { TaskTypes } from '../../../../Shared/tasks/TaskList/types';
6
+ import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
7
7
  import type { CountryCode } from '../../../../../types/datasets/country-code';
8
8
  import type { ValidationRuleResults } from '../../../../../utils/validation/types';
9
9
  import type { IdentityNumberSchema } from '../../../fields/IdentityNumber/type';
@@ -11,10 +11,11 @@ import type { AdditionalIdentityInfoSchema } from './Identity/Identity.types';
11
11
  export interface AdditionalPersonalDetailsSchema extends AddressSchema, IdentityNumberSchema, TaxInformationFieldSchema, AdditionalIdentityInfoSchema {
12
12
  birthDate?: string;
13
13
  nationality?: CountryCode;
14
+ placeOfBirth?: string;
14
15
  }
15
16
  export interface AdditionalPersonalDetailsProps extends BaseInnerFormProps<AdditionalPersonalDetailsSchema> {
16
17
  country: CountryCode;
17
- taskType?: TaskTypes;
18
+ taskType?: TaskType;
18
19
  onResidencyCountryChange?(country: string): void;
19
20
  }
20
21
  export interface IdentityProps {
@@ -2,7 +2,7 @@ import type { ExperimentName } from '../../../../../context/ExperimentContext/ty
2
2
  import type { BooleanSettingName } from '../../../../../context/SettingsContext/types';
3
3
  import type { Language } from '../../../../../language/Language';
4
4
  import type { IndividualIdNumberType, TaxIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
5
- import { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
5
+ import { type TaskType } from '../../../../../stores/globalStore/taskTypes';
6
6
  import type { CountryCode } from '../../../../../types/datasets/country-code';
7
7
  import type { FormVerificationErrors } from '../../../../../types/errors/form-verification-errors';
8
8
  import type { ValidatorRules } from '../../../../../utils/validation/types';
@@ -11,7 +11,7 @@ export declare const additionalPersonalDetailsValidators: ({ country, isExperime
11
11
  country: CountryCode;
12
12
  isExperimentEnabled?: (experiment: ExperimentName) => boolean;
13
13
  isSettingEnabled?: (setting: BooleanSettingName) => boolean;
14
- taskType?: TaskTypes;
14
+ taskType?: TaskType;
15
15
  idNumberType: IndividualIdNumberType | undefined;
16
16
  idNumberExempt: boolean | undefined;
17
17
  idNumber: string | undefined;
@@ -4,7 +4,7 @@ import type { LegalEntityAssociation, LegalRepresentativeRelationshipType } from
4
4
  import type { BaseInnerFormProps } from '../../../../../hooks/useForm/types';
5
5
  import type { NameSchema } from '../../../../Shared/fields/Name/types';
6
6
  import type { ContactDetailsSchema } from '../../../../Shared/forms/ContactDetails/types';
7
- import type { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
7
+ import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
8
8
  import type { CountryCode } from '../../../../../types/datasets/country-code';
9
9
  import type { DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema } from '../../../fields/DecisionMakerRole/types';
10
10
  import type { JaHaniNameSchema, JaKanaNameSchema } from '../../../fields/NameFields/types';
@@ -14,7 +14,7 @@ export interface BasicDetailsSchema extends NameSchema, JaHaniNameSchema, JaKana
14
14
  }
15
15
  export interface BasicDetailsProps extends BaseInnerFormProps<BasicDetailsSchema> {
16
16
  country: CountryCode;
17
- taskType?: TaskTypes;
17
+ taskType?: TaskType;
18
18
  allowedRoles?: DecisionMakerType[];
19
19
  onResidencyCountryChange?(country: string): void;
20
20
  parentLegalEntity?: ExistingLegalEntity;
@@ -1,8 +1,8 @@
1
1
  import type { JSX, TargetedMouseEvent } from 'preact';
2
- export declare enum GuidanceQuestionValues {
3
- YES = "Yes",
4
- NO = "No"
5
- }
2
+ export declare const GuidanceQuestionValues: {
3
+ readonly YES: "Yes";
4
+ readonly NO: "No";
5
+ };
6
6
  export type GuidanceQuestionValue = 'Yes' | 'No';
7
7
  export interface GuidanceQuestionProps {
8
8
  descriptionLinkText?: string;
@@ -1,4 +1,4 @@
1
- import { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
1
+ import { type DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
2
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
3
  import type { FormRulesParams } from '../../../../types/form-rules';
4
4
  import type { IndividualOnfidoSchema } from './IndividualOnfido.types';
@@ -14,9 +14,11 @@ export declare const individualOnfidoRules: ({ matchingScenario, data, country,
14
14
  backPageIfRequiredForIdType: () => "REQUIRED" | undefined;
15
15
  isProofOfResidencyRequired: () => "REQUIRED" | undefined;
16
16
  isProofOfNationalIdRequired: () => "REQUIRED" | undefined;
17
+ isIdVerificationMethodRequired: () => "REQUIRED" | undefined;
17
18
  contactsIfRequiredForRole: () => "REQUIRED" | undefined;
18
19
  requiredIfPhoneScenarioDisabled: () => "REQUIRED" | undefined;
19
20
  jobTitleIfRequiredForRole: () => "REQUIRED" | undefined;
21
+ isPlaceOfBirthRequired: () => "REQUIRED" | undefined;
20
22
  nationalityIfRequiredForRole: () => "REQUIRED" | undefined;
21
23
  requiredIfCountryUsesMultipleTypesOfIdentity: () => "REQUIRED" | undefined;
22
24
  licenseCardNumberRules: () => "REQUIRED" | undefined;
@@ -3,7 +3,7 @@ import type { ExistingLegalEntity } from '../../../../core/models/api/legal-enti
3
3
  import type { LegalEntityAssociation } from '../../../../core/models/api/legal-entity-association';
4
4
  import type { BaseOuterFormProps } from '../../../../hooks/useForm/types';
5
5
  import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
6
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
6
+ import type { TaskType } from '../../../../stores/globalStore/taskTypes';
7
7
  import type { AccountHolderOption } from '../../../../types/accountHolder';
8
8
  import type { CountryCode } from '../../../../types/datasets/country-code';
9
9
  import type { EntityProblems } from '../../../../types/errors/entity-problems';
@@ -34,7 +34,7 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
34
34
  defaultCountry: CountryCode;
35
35
  problems?: EntityProblems;
36
36
  legalEntityId?: string;
37
- taskType?: TaskTypes;
37
+ taskType?: TaskType;
38
38
  allowedRoles?: DecisionMakerType[];
39
39
  parentLegalEntity?: ExistingLegalEntity;
40
40
  onNext?(): void;
@@ -1,4 +1,4 @@
1
1
  import type { ExperimentsContextValue } from '../../../context/ExperimentContext/types';
2
- import { TaskTypes } from '../../../stores/globalStore/taskTypes';
2
+ import { type TaskType } from '../../../stores/globalStore/taskTypes';
3
3
  import type { CountryCode } from '../../../types/datasets/country-code';
4
- export declare function isOnfidoAutofillFlowEnabled(country: CountryCode, taskType: TaskTypes, isExperimentEnabled: ExperimentsContextValue['isExperimentEnabled']): boolean;
4
+ export declare function isOnfidoAutofillFlowEnabled(country: CountryCode, taskType: TaskType, isExperimentEnabled: ExperimentsContextValue['isExperimentEnabled']): boolean;
@@ -1,3 +1,3 @@
1
- import { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
1
+ import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
2
2
  import type { IndividualOnfidoSchema } from '../forms/IndividualOnfido/IndividualOnfido.types';
3
3
  export declare const calculateRoles: (data?: IndividualOnfidoSchema) => DecisionMakerType[];
@@ -1,7 +1,7 @@
1
1
  import type { Capability, CapabilityName } from '../../../core/models/api/capability';
2
- import { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
2
+ import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
3
3
  import type { Scenario } from '../../../core/models/api/get-scenarios';
4
- import { TaskTypes } from '../../../stores/globalStore/taskTypes';
4
+ import { type TaskType } from '../../../stores/globalStore/taskTypes';
5
5
  export declare const showIndividualMotionCapture: import("@preact/signals-core").Signal<boolean | undefined>;
6
6
  export declare const setShowIndividualMotionCapture: (showMotionCapture: boolean | undefined) => void;
7
7
  export declare const hasMotionCaptureScenario: import("@preact/signals-core").Signal<boolean | undefined>;
@@ -9,6 +9,6 @@ export declare const setHasMotionCaptureScenario: (scenarios: Scenario[] | undef
9
9
  export declare const shouldShowMotionCapture: ({ capabilities, userRoles, taskType, hasMotionScenario, }: {
10
10
  capabilities?: Partial<Record<CapabilityName, Capability>>;
11
11
  userRoles?: DecisionMakerType[];
12
- taskType?: TaskTypes;
12
+ taskType?: TaskType;
13
13
  hasMotionScenario?: boolean;
14
14
  }) => boolean | undefined;
@@ -7,7 +7,7 @@ import type { IndividualOnfidoProps } from '../forms/IndividualOnfido/Individual
7
7
  interface DecisionMakerDetailsPageProps extends DropinProps {
8
8
  decisionMakerId: string | undefined;
9
9
  parentCompanyId: string;
10
- taskType?: TaskTypes.DECISION_MAKER | TaskTypes.TRUST_MEMBER_COMPANY_OWNER | TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
10
+ taskType?: typeof TaskTypes.DECISION_MAKER | typeof TaskTypes.TRUST_MEMBER_COMPANY_OWNER | typeof TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
11
11
  asModal?: boolean;
12
12
  hideSidebar?: boolean;
13
13
  isTargetLegalEntityType?: boolean;
@@ -0,0 +1,2 @@
1
+ import type { DecisionMakerDetailsProps } from './DecisionMakerDetails.types';
2
+ export declare const DecisionMakerDetails: ({ decisionMaker, handleClose, handleDelete, handleEdit, }: DecisionMakerDetailsProps) => import("preact/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { UniqueEntityAssociation } from '../../../../Shared/EntityAssociation/types';
2
+ export interface DecisionMakerDetailsProps {
3
+ decisionMaker: UniqueEntityAssociation;
4
+ handleClose: () => void;
5
+ handleDelete: () => void;
6
+ handleEdit: () => void;
7
+ }
@@ -0,0 +1,5 @@
1
+ export interface DecisionMakersGettingStartedProps {
2
+ handleCancelClick?: () => void;
3
+ addDecisionMakerOnClick: (e: MouseEvent) => void;
4
+ }
5
+ export declare const DecisionMakersGettingStarted: ({ addDecisionMakerOnClick, handleCancelClick, }: DecisionMakersGettingStartedProps) => import("preact/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const DecisionMakersModalContent: () => import("preact/jsx-runtime").JSX.Element;
@@ -1,13 +1,13 @@
1
1
  import type { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
2
- import type { UnincorporatedPartnershipMemberTypes } from '../../../core/models/api/unincorporated-partnership';
3
- import type { TaskTypes } from '../../../stores/globalStore/taskTypes';
2
+ import type { UnincorporatedPartnershipMemberType } from '../../../core/models/api/unincorporated-partnership';
3
+ import type { TaskType } from '../../../stores/globalStore/taskTypes';
4
4
  import type { CountryCode } from '../../../types/datasets/country-code';
5
5
  import type { TrustMemberGuidanceLabel } from '../../Trust/utils/trustMemberGuidance';
6
6
  export type EntityStatus = 'empty' | 'satisfied';
7
7
  export interface EntityGuidanceStatusProps {
8
8
  country: CountryCode;
9
- currentTask: TaskTypes;
10
- entityLabel: TrustMemberGuidanceLabel | DecisionMakerType | UnincorporatedPartnershipMemberTypes;
9
+ currentTask: TaskType;
10
+ entityLabel: TrustMemberGuidanceLabel | DecisionMakerType | UnincorporatedPartnershipMemberType;
11
11
  status: EntityStatus;
12
12
  }
13
13
  export interface EntityStatusProps {
@@ -13,7 +13,7 @@ export interface FormFlowProps {
13
13
  forms: FormModelWithValidity[];
14
14
  gotoFormByFormIndex(index: number): void;
15
15
  handleBackClick?(): void;
16
- handleCancelClick(): void;
16
+ handleCancelClick?(): void;
17
17
  handleNextClick(): void | Promise<void>;
18
18
  handleSaveClick?(): void | Promise<void>;
19
19
  loadingStatus: LoadingStatus;
@@ -1,10 +1,10 @@
1
1
  import './_introduction.component.scss';
2
2
  import type { JSX } from 'preact';
3
3
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
4
- import type { TaskTypes } from '../tasks/TaskList/types';
4
+ import type { TaskType } from '../../../stores/globalStore/taskTypes';
5
5
  interface IntroductionProps {
6
6
  onExitIntroduction: () => void;
7
- tasks: TaskTypes[];
7
+ tasks: TaskType[];
8
8
  }
9
9
  export declare function Introduction({ onExitIntroduction, tasks }: IntroductionProps): JSX.Element;
10
10
  export declare const IntroductionInner: ({ legalEntity, onExitIntroduction, tasks, }: IntroductionProps & {
@@ -1,7 +1,7 @@
1
1
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
2
- import type { IntroductionScreens } from './types';
2
+ import type { IntroductionScreen as IntroductionScreenType } from './types';
3
3
  export interface IntroductionScreenProps {
4
- introductionScreen: IntroductionScreens;
4
+ introductionScreen: IntroductionScreenType;
5
5
  legalEntity: ExistingLegalEntity;
6
6
  number?: number;
7
7
  }
@@ -1,3 +1,3 @@
1
- import { LegalEntityType } from '../../../core/models/api/legal-entity-type';
2
- import { IntroductionScreens } from './types';
3
- export declare const introductionScreensByLegalEntityType: Record<LegalEntityType, IntroductionScreens[]>;
1
+ import { type LegalEntityType } from '../../../core/models/api/legal-entity-type';
2
+ import { type IntroductionScreen } from './types';
3
+ export declare const introductionScreensByLegalEntityType: Record<LegalEntityType, IntroductionScreen[]>;