@adyen/kyc-components 3.75.0 → 3.76.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 (249) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-D9BqzBSv.js → AcceptTermsOfServiceComponent-3E8Il5o6.js} +13 -13
  2. package/dist/{AccountSetupRejected-DDAukYal.js → AccountSetupRejected-3pxfVQJh.js} +2 -2
  3. package/dist/{Avatar-BbZMTb8k.js → Avatar-w8iols1r.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-DnzFYLRt.js → BusinessDetailsDropin-BdNUM5PA.js} +16 -11
  5. package/dist/{BusinessFinancingComponent-bvZd44Rw.js → BusinessFinancingComponent-Ds_Xgeep.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-BX3j5n4C.js → BusinessFinancingDropin-B7r2WGiX.js} +549 -602
  7. package/dist/{BusinessFinancingPage-CJfiMMfk.js → BusinessFinancingPage-DpseIuTN.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-Bik9pa-u.js → BusinessTypeSelectionPage-BP84EyUt.js} +8 -6
  9. package/dist/ContractViewer-BrJWrgKk.js +938 -0
  10. package/dist/{CreateIndividualComponent-CoDfMD_a.js → CreateIndividualComponent-eEsyKzGC.js} +3 -3
  11. package/dist/{CreateTransferInstrumentComponent-BAiNYpnJ.js → CreateTransferInstrumentComponent-BTLcFd-H.js} +2 -2
  12. package/dist/{CustomerSupport-Bdgvjix7.js → CustomerSupport-DY_0BLgx.js} +5 -5
  13. package/dist/{DebugModal-CP_i_HwK.js → DebugModal-dS_iU5yB.js} +8 -8
  14. package/dist/{DecisionMakerDetailsPage-CQYnk9Xn.js → DecisionMakerDetailsPage-DcMuIHCt.js} +3 -3
  15. package/dist/{DecisionMakers-DIbnecVR.js → DecisionMakers-BYikcBnN.js} +4 -4
  16. package/dist/{ES-JRIf-4xI.js → ES-BlWV7xvh.js} +4 -6
  17. package/dist/{EmbeddedStatus-7QJ_s7hU.js → EmbeddedStatus-CII97Leo.js} +12 -4
  18. package/dist/{FormEndState-QUOVERNX.js → FormEndState-CZ6KCgSg.js} +2 -2
  19. package/dist/{FormFlow-5amikWjq.js → FormFlow-B8-6ExTs.js} +2 -2
  20. package/dist/{IndividualOnfidoDropin-CSCL01a1.js → IndividualOnfidoDropin-CWEFFU8Z.js} +430 -111
  21. package/dist/{Introduction-DBSQEy6y.js → Introduction-CJ-vn9GL.js} +3 -3
  22. package/dist/{LegalRepresentativeDetailsPage-CrjuBP77.js → LegalRepresentativeDetailsPage-CU2yZa1V.js} +3 -3
  23. package/dist/{ManageIndividualComponent-CJKe2m5v.js → ManageIndividualComponent-DsV7yIaQ.js} +3 -3
  24. package/dist/{ManagePCIComponent-0UNI8r60.js → ManagePCIComponent-ClK6UPby.js} +3 -3
  25. package/dist/{ManageTermsOfServiceComponent-BzPvl0Uj.js → ManageTermsOfServiceComponent-5NkdcSug.js} +3 -3
  26. package/dist/{ManageTransferInstrumentComponent-DDFqLUKi.js → ManageTransferInstrumentComponent-6vB0oU1P.js} +4 -4
  27. package/dist/{OnboardingDropinComponent-CSKoOnT3.js → OnboardingDropinComponent-C6ShEXmS.js} +35 -37
  28. package/dist/{ProviderButton-dT0L8DyH.js → ProviderButton-CZzRh5_w.js} +2 -2
  29. package/dist/{Review-j_fM9ZVG.js → Review-B6CMmiPA.js} +3 -3
  30. package/dist/{RootBusinessDetailsPage-DE9lxNvR.js → RootBusinessDetailsPage-BLXlZst2.js} +3 -3
  31. package/dist/{RootIndividualDetailsPage-C9snBMjZ.js → RootIndividualDetailsPage-6gLqhrlP.js} +3 -3
  32. package/dist/{SignPCIComponent-CFVC6kgV.js → SignPCIComponent-DyO9DwX3.js} +5 -5
  33. package/dist/{SingpassSelection-DhZ0lKPK.js → SingpassSelection-vRtJGcpJ.js} +2 -2
  34. package/dist/{SoleProprietorshipPage-COYe6zum.js → SoleProprietorshipPage-Ct22koOh.js} +4 -4
  35. package/dist/{SourceOfFunds.module-CGbDhT49.js → SourceOfFunds.module-_vRTDqII.js} +2 -2
  36. package/dist/{SourceOfFundsPage-BvkaxOZI.js → SourceOfFundsPage-CTIV8szk.js} +26 -32
  37. package/dist/{StoreProvider-CtNk8ekh.js → StoreProvider-DM45wVPv.js} +1932 -1801
  38. package/dist/{TaskItemStatus-D9sCIHON.js → TaskItemStatus-DkwylP-j.js} +2 -2
  39. package/dist/{TaxReportingDropin-DNYZLN8P.js → TaxReportingDropin-b-pvErAT.js} +7 -7
  40. package/dist/{TileGroup-Cx7Y_NBf.js → TileGroup-C3XSiC3m.js} +2 -2
  41. package/dist/{TrustDetailsPage-BSBZ9f9z.js → TrustDetailsPage-DXZeqMEJ.js} +23 -18
  42. package/dist/{TrustMemberCompanyPage-BUuLS-57.js → TrustMemberCompanyPage-C32or905.js} +4 -4
  43. package/dist/{TrustMemberIndividualPage-Dl9JzqNb.js → TrustMemberIndividualPage-BQkmNAR-.js} +3 -3
  44. package/dist/{UnincorporatedPartnershipIndividualPage-DJOZzVIP.js → UnincorporatedPartnershipIndividualPage-CZ_ilPuJ.js} +3 -3
  45. package/dist/{UnincorporatedPartnershipMemberCompanyPage-B7sGrwJD.js → UnincorporatedPartnershipMemberCompanyPage-BaYSbVqH.js} +3 -3
  46. package/dist/{VerificationErrorAlert-BNvtGKmX.js → VerificationErrorAlert-9fpwho6Z.js} +1 -1
  47. package/dist/{ViewVerificationStatusComponent-BW1v9vLK.js → ViewVerificationStatusComponent-DI1ROy_K.js} +3 -3
  48. package/dist/adyen-business-financing.js +2 -2
  49. package/dist/adyen-individual.js +2 -2
  50. package/dist/adyen-kyc-components.js +16 -15
  51. package/dist/adyen-manage-individual.js +2 -2
  52. package/dist/adyen-manage-pci.js +2 -2
  53. package/dist/adyen-manage-terms-of-service.js +2 -2
  54. package/dist/adyen-manage-transfer-instruments.js +2 -2
  55. package/dist/adyen-onboarding.js +2 -2
  56. package/dist/adyen-sign-pci.js +2 -2
  57. package/dist/adyen-terms-of-service.js +2 -2
  58. package/dist/adyen-transfer-instrument.js +2 -2
  59. package/dist/adyen-verification-status.js +2 -2
  60. package/dist/{bg-BG-BV_GOHGg.js → bg-BG-COTwZXwN.js} +11 -5
  61. package/dist/{cs-CZ-CZDCUWRh.js → cs-CZ-DUlgJKVq.js} +11 -5
  62. package/dist/{css-BeplOBd-.js → css-DLrTXL5E.js} +1 -1
  63. package/dist/{da-DK-BmTgxKpq.js → da-DK-BDzDHhVR.js} +11 -5
  64. package/dist/{de-DE-DZeG8NVg.js → de-DE-DJdgXqS_.js} +10 -4
  65. package/dist/{el-GR-C3likHBP.js → el-GR-D5i9BNyh.js} +11 -5
  66. package/dist/{es-ES-DHhHHeU-.js → es-ES-VOSWszW5.js} +11 -5
  67. package/dist/{et-EE-CiD_oBu3.js → et-EE-Bp4Ngsn4.js} +10 -4
  68. package/dist/{fi-FI-DAZqSyjL.js → fi-FI-DaujOE-a.js} +10 -4
  69. package/dist/{fr-FR-vs5BYMWx.js → fr-FR-BdPZxk11.js} +11 -5
  70. package/dist/{getFieldsWithExistingData-CW5dHE28.js → getFieldsWithExistingData-BpnXzG0Z.js} +2 -2
  71. package/dist/{hasDataChanged-CYQbu-tN.js → hasDataChanged-BaY3OsmC.js} +1 -1
  72. package/dist/{hr-HR-CcaMvc2K.js → hr-HR-BY7C7NxY.js} +10 -4
  73. package/dist/{hu-HU-CzBd9g0P.js → hu-HU-DHCty-Tc.js} +11 -5
  74. package/dist/{it-IT-BXIdTOUw.js → it-IT-BMsuhZEQ.js} +11 -5
  75. package/dist/{ja-JP-CngmcMI-.js → ja-JP-BYDz1z2G.js} +10 -4
  76. package/dist/{json-QZSVaICP.js → json-CS3b3jJ1.js} +1 -1
  77. package/dist/{localizeDateString-CjNwvcza.js → localizeDateString-C2CJszPy.js} +2 -2
  78. package/dist/{lt-LT-Dpyaroh2.js → lt-LT-DNJ9V9xV.js} +10 -4
  79. package/dist/{lv-LV-CCcm8aDW.js → lv-LV-CFJwN5wq.js} +11 -5
  80. package/dist/{mapFinancialReportsToFinancialInformation-CLDDiIVD.js → mapFinancialReportsToFinancialInformation-BN4Vmw7c.js} +2 -2
  81. package/dist/{nl-NL-gYpP7VMA.js → nl-NL-DibAf790.js} +11 -5
  82. package/dist/{no-NO-nOXLv4rO.js → no-NO-DHCy5rXx.js} +11 -5
  83. package/dist/{pl-PL-Dwlwj1ob.js → pl-PL-eZBNH5HH.js} +11 -5
  84. package/dist/{plaintext-B8616351.js → plaintext-CXAD4WEx.js} +1 -1
  85. package/dist/{pt-PT-DbQbuaCm.js → pt-PT-CiN_Wmfe.js} +10 -4
  86. package/dist/{resolveEnvironment-CCdmx-Up.js → resolveEnvironment-5aP6q0Hz.js} +3 -3
  87. package/dist/{ro-RO-ZTuJtIop.js → ro-RO-CgyMTvLc.js} +10 -4
  88. package/dist/{rules-CPHbHoD6.js → rules-CoKrBCOP.js} +12 -5
  89. package/dist/{sk-SK-Ba8jBCvr.js → sk-SK-B5qlQB_U.js} +10 -4
  90. package/dist/{sl-SI-DszG8wEm.js → sl-SI-8PPfrGzL.js} +10 -4
  91. package/dist/style.css +1818 -2569
  92. package/dist/styles-CLV89_hH.js +1819 -2570
  93. package/dist/{sv-SE-Fo7zzjiG.js → sv-SE-ZWLw6D3j.js} +11 -5
  94. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  95. package/dist/types/api/configurations/useScenarios.d.ts +18 -12
  96. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +11 -11
  97. package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +7 -0
  98. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +14 -0
  99. package/dist/types/api/legalEntity/useLegalEntity.d.ts +285 -223
  100. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +11 -11
  101. package/dist/types/api/queryKeys.d.ts +2 -1
  102. package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -1
  103. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -1
  104. package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +2 -2
  105. package/dist/types/components/BankAccount/forms/PayoutAccount/CheckGuidance/CheckGuidance.d.ts +0 -1
  106. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +0 -1
  107. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +5 -5
  108. package/dist/types/components/BankAccount/mapping/mapPayoutDocumentsToApiDocuments.d.ts +1 -1
  109. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1919 -1919
  110. package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
  111. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -0
  112. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +1 -1
  113. package/dist/types/components/Business/forms/rules.d.ts +20 -18
  114. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
  115. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +0 -1
  116. package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +1 -0
  117. package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -0
  118. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2355 -24
  119. package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +2 -2
  120. package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -2
  121. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +5 -1
  122. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +10 -1
  123. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +11 -1
  124. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.d.ts +6 -1
  125. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +7 -2
  126. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +7 -1
  127. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +25 -110
  128. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +16 -3
  129. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +22 -0
  130. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
  131. package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
  132. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
  133. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
  134. package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +1 -1
  135. package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
  136. package/dist/types/components/Individual/fields/LocalizedNameFields/LocalizedNameFields.d.ts +2 -2
  137. package/dist/types/components/Individual/fields/LocalizedNameFields/types.d.ts +9 -0
  138. package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +1 -1
  139. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentManualUpload.d.ts +1 -1
  140. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -1
  141. package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
  142. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +1 -1
  143. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +1 -1
  144. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +1 -1
  145. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +1 -1
  146. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +1 -1
  147. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +4 -3
  148. package/dist/types/components/Individual/forms/Individual/rules.d.ts +31 -31
  149. package/dist/types/components/Individual/forms/Individual/types.d.ts +4 -4
  150. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +1 -1
  151. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.d.ts +1 -1
  152. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.d.ts +1 -1
  153. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +2 -1
  154. package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/ConflictRow.d.ts +1 -1
  155. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +34 -32
  156. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.d.ts +1 -1
  157. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +1 -1
  158. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.d.ts +1 -1
  159. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +2 -0
  160. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +1 -1
  161. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
  162. package/dist/types/components/Individual/mapping/mapIndividualOnfidoSchemaToLegalEntity.d.ts +3 -1
  163. package/dist/types/components/Individual/mapping/mapLocalization.d.ts +2 -2
  164. package/dist/types/components/Shared/Summary/summaryItem.d.ts +1 -1
  165. package/dist/types/components/Shared/Summary/types.d.ts +1 -1
  166. package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
  167. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -1
  168. package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +1 -1
  169. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
  170. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
  171. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +9 -0
  172. package/dist/types/components/Shared/fields/Name/Name.d.ts +1 -1
  173. package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
  174. package/dist/types/components/Shared/forms/Address/AddressField.d.ts +1 -1
  175. package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
  176. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +5 -5
  177. package/dist/types/components/Shared/forms/ContactDetails/ContactDetails.d.ts +1 -1
  178. package/dist/types/components/Shared/forms/FinancialInformation/validate.d.ts +1 -0
  179. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
  180. package/dist/types/components/Trust/forms/Trust/Trust.d.ts +19 -3
  181. package/dist/types/components/Trust/forms/Trust/rules.d.ts +5 -5
  182. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +14 -14
  183. package/dist/types/components/Trust/mapping/mapTrustDocumentToApiDocument.d.ts +1 -1
  184. package/dist/types/components/Trust/utils/trustUtil.d.ts +1 -1
  185. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +2 -2
  186. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +1 -1
  187. package/dist/types/components/ui/atoms/ActionsMenu/ActionsMenu.d.ts +1 -1
  188. package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +1 -1
  189. package/dist/types/components/ui/atoms/InputBase/InputBase.d.ts +1 -1
  190. package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -1
  191. package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -1
  192. package/dist/types/components/ui/molecules/Alert/Alert.d.ts +1 -1
  193. package/dist/types/components/ui/molecules/Confirm/Confirm.d.ts +1 -1
  194. package/dist/types/components/ui/molecules/Confirm/Confirm.types.d.ts +1 -0
  195. package/dist/types/components/ui/molecules/Dropzone/Dropzone.d.ts +2 -1
  196. package/dist/types/components/ui/molecules/ErrorPanel/ErrorPanel.d.ts +1 -1
  197. package/dist/types/components/ui/molecules/ErrorPanel/VerificationErrors.d.ts +2 -1
  198. package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +1 -1
  199. package/dist/types/components/ui/molecules/InputEmail/InputEmail.d.ts +1 -1
  200. package/dist/types/components/ui/molecules/InputTelephone/InputTelephone.d.ts +1 -1
  201. package/dist/types/components/ui/molecules/InputText/InputText.d.ts +1 -1
  202. package/dist/types/context/ExperimentContext/types.d.ts +2 -1
  203. package/dist/types/context/FormContext/FormContext.d.ts +1 -1
  204. package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +1 -1
  205. package/dist/types/context/SettingsContext/SettingsContext.d.ts +1 -1
  206. package/dist/types/context/StateContext/StateContext.d.ts +1 -1
  207. package/dist/types/context/StateContext/StateContextSetter.d.ts +1 -1
  208. package/dist/types/context/StateContext/StateReducer.d.ts +4 -10
  209. package/dist/types/context/StateContext/types.d.ts +19 -16
  210. package/dist/types/context/StateContext/useGlobalData.d.ts +2 -2
  211. package/dist/types/core/EmbedShell/EmbedShell.d.ts +1 -1
  212. package/dist/types/core/UIElement/UIElement.d.ts +1 -1
  213. package/dist/types/core/analytics.d.ts +10 -10
  214. package/dist/types/core/environment/resolveEnvironment.d.ts +1 -1
  215. package/dist/types/core/error.d.ts +1 -1
  216. package/dist/types/core/models/api/get-scenarios.d.ts +2 -1
  217. package/dist/types/core/models/api/legal-entity-association.d.ts +5 -0
  218. package/dist/types/core/process-field-configurations.d.ts +5 -5
  219. package/dist/types/core/user-events.d.ts +3 -1
  220. package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +1 -1
  221. package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +1 -1
  222. package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +1 -1
  223. package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +1 -1
  224. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
  225. package/dist/types/hooks/useForm/types.d.ts +8 -10
  226. package/dist/types/stores/globalStore/globalStore.d.ts +1 -1
  227. package/dist/types/types/errors/maintenance-mode-error.d.ts +1 -1
  228. package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
  229. package/dist/types/utils/birthDateUtils.d.ts +2 -2
  230. package/dist/types/utils/entityAssociationUtil.d.ts +1 -1
  231. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  232. package/dist/types/utils/mapping/utils.d.ts +7 -10
  233. package/dist/types/utils/omitObscuredFieldsIfUnchanged.d.ts +1 -1
  234. package/dist/types/utils/trackNavigation.d.ts +1 -2
  235. package/dist/types/utils/validation/validationResult.d.ts +1 -1
  236. package/dist/types/utils/validatorUtils.d.ts +2 -2
  237. package/dist/{useMultiForm-BgEu8uhi.js → useMultiForm-Cbc7WnPQ.js} +2 -2
  238. package/dist/{useOnboardingStatus-DvoTlJ5K.js → useOnboardingStatus-nLGnJrfb.js} +1 -1
  239. package/dist/{useSalesChannelsSettings-Bjwl16F8.js → useSalesChannelsSettings-dKcm_JOS.js} +1 -1
  240. package/dist/{useTermsOfServiceStatus-C2Xb56D8.js → useTermsOfServiceStatus-DMsljkdm.js} +1 -1
  241. package/dist/{useUpdateLegalEntity-FAhW-hcz.js → useUpdateLegalEntity-DUM-neeX.js} +1 -1
  242. package/dist/{utils-BL1_bJaN.js → utils-xFYHze6e.js} +4 -4
  243. package/dist/{validate-DGJXjEC8.js → validate-CHEcOPfd.js} +1 -1
  244. package/dist/validate-CuwYJGc9.js +94 -0
  245. package/dist/{yaml-vHfLYJJq.js → yaml-DpwguEvd.js} +1 -1
  246. package/package.json +31 -31
  247. package/dist/ContractViewer-BwG3C5dW.js +0 -980
  248. package/dist/individualFormConfig-C7P-qsgN.js +0 -183
  249. package/dist/validate-BIlxlfqG.js +0 -245
@@ -1,3 +1,3 @@
1
1
  import type { BasicDetailsProps, BasicDetailsSchema } from './BasicDetails.types';
2
2
  export declare const basicDetailsFields: Array<keyof BasicDetailsSchema>;
3
- export declare function BasicDetails(props: Readonly<BasicDetailsProps>): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function BasicDetails(props: Readonly<BasicDetailsProps>): import("preact/jsx-runtime").JSX.Element | undefined;
@@ -7,7 +7,8 @@ import type { ContactDetailsSchema } from '../../../../Shared/forms/ContactDetai
7
7
  import type { TaskTypes } 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
- export interface BasicDetailsSchema extends NameSchema, DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema, ContactDetailsSchema {
10
+ import type { JaHaniNameSchema, JaKanaNameSchema } from '../../../fields/NameFields/types';
11
+ export interface BasicDetailsSchema extends NameSchema, JaHaniNameSchema, JaKanaNameSchema, DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema, ContactDetailsSchema {
11
12
  jobTitle?: string;
12
13
  relationship?: LegalRepresentativeRelationshipType;
13
14
  }
@@ -8,5 +8,5 @@ interface ConflictRowProps<Data> {
8
8
  onSelect: (selected: 'provided' | 'detected') => void;
9
9
  showAs: 'tableRow' | 'listItem';
10
10
  }
11
- export declare const ConflictRow: <Data>({ provided, detected, label, formatter, selected, onSelect, showAs, }: ConflictRowProps<Data>) => import("preact/jsx-runtime").JSX.Element;
11
+ export declare const ConflictRow: <Data>({ provided, detected, label, formatter, selected, onSelect, showAs, }: ConflictRowProps<Data>) => import("preact/jsx-runtime").JSX.Element | undefined;
12
12
  export {};
@@ -5,38 +5,40 @@ import type { IndividualOnfidoSchema } from './IndividualOnfido.types';
5
5
  export declare const COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES: CountryCode[];
6
6
  export declare const DECISION_MAKER_TYPES_WITH_JOBTITLE: DecisionMakerType[];
7
7
  export declare const individualOnfidoRules: ({ matchingScenario, data, country, taskType, isExperimentEnabled, rootLegalEntity, problems, }: FormRulesParams<IndividualOnfidoSchema>) => {
8
- countryUsesTaxId: () => "REQUIRED";
9
- isDirectorIdNumberRequiredForCountry: () => "REQUIRED";
10
- idNumberRules: () => "REQUIRED" | "OPTIONAL";
11
- requiredIfDecisionMakerTask: () => "REQUIRED";
12
- idNumberExemptIfApplicableCountry: () => "REQUIRED";
13
- hasChosenIdType: () => "REQUIRED";
14
- backPageIfRequiredForIdType: () => "REQUIRED";
15
- isProofOfResidencyRequired: () => "REQUIRED";
16
- isProofOfNationalIdRequired: () => "REQUIRED";
17
- contactsIfRequiredForRole: () => "REQUIRED";
18
- requiredIfPhoneScenarioDisabled: () => "REQUIRED";
19
- jobTitleIfRequiredForRole: () => "REQUIRED";
20
- nationalityIfRequiredForRole: () => "REQUIRED";
21
- requiredIfCountryUsesMultipleTypesOfIdentity: () => "REQUIRED";
22
- licenseCardNumberRules: () => "REQUIRED";
23
- issuerStateRequired: () => "REQUIRED";
24
- expiryDateRequired: () => "REQUIRED";
25
- legalRepresentativeRelationshipRequired: () => "REQUIRED";
26
- isProofOfRelationshipRequired: () => any;
27
- addressIfRequiredForCountry: () => "REQUIRED";
28
- otherAddressInfoIfRequiredForCountry: () => "OPTIONAL";
29
- postalCodeIfRequiredForCountry: () => "REQUIRED";
30
- cityIfRequiredForCountry: () => "REQUIRED";
31
- stateOrProvinceIfRequiredForCountry: () => "REQUIRED";
32
- nomineeDirectorRequiredForCountry: () => "REQUIRED";
33
- nomineeShareHolderRequiredForCountry: () => "REQUIRED";
34
- isUsingInstantVerificationOrHasExistingDocument: () => "REQUIRED";
35
- isManualIdFlow: () => "REQUIRED";
36
- isManualIdFlowAndNotProvidingIdNumber: () => "REQUIRED";
37
- isManualIdFlowAndHasMissingData: () => "REQUIRED";
8
+ countryUsesTaxId: () => "REQUIRED" | undefined;
9
+ isDirectorIdNumberRequiredForCountry: () => "REQUIRED" | undefined;
10
+ idNumberRules: () => "REQUIRED" | "OPTIONAL" | undefined;
11
+ requiredIfDecisionMakerTask: () => "REQUIRED" | undefined;
12
+ idNumberExemptIfApplicableCountry: () => "REQUIRED" | undefined;
13
+ hasChosenIdType: () => "REQUIRED" | undefined;
14
+ backPageIfRequiredForIdType: () => "REQUIRED" | undefined;
15
+ isProofOfResidencyRequired: () => "REQUIRED" | undefined;
16
+ isProofOfNationalIdRequired: () => "REQUIRED" | undefined;
17
+ contactsIfRequiredForRole: () => "REQUIRED" | undefined;
18
+ requiredIfPhoneScenarioDisabled: () => "REQUIRED" | undefined;
19
+ jobTitleIfRequiredForRole: () => "REQUIRED" | undefined;
20
+ nationalityIfRequiredForRole: () => "REQUIRED" | undefined;
21
+ requiredIfCountryUsesMultipleTypesOfIdentity: () => "REQUIRED" | undefined;
22
+ licenseCardNumberRules: () => "REQUIRED" | undefined;
23
+ issuerStateRequired: () => "REQUIRED" | undefined;
24
+ expiryDateRequired: () => "REQUIRED" | undefined;
25
+ legalRepresentativeRelationshipRequired: () => "REQUIRED" | undefined;
26
+ isProofOfRelationshipRequired: () => undefined;
27
+ addressIfRequiredForCountry: () => "REQUIRED" | undefined;
28
+ otherAddressInfoIfRequiredForCountry: () => "OPTIONAL" | undefined;
29
+ postalCodeIfRequiredForCountry: () => "REQUIRED" | undefined;
30
+ cityIfRequiredForCountry: () => "REQUIRED" | undefined;
31
+ stateOrProvinceIfRequiredForCountry: () => "REQUIRED" | undefined;
32
+ nomineeDirectorRequiredForCountry: () => "REQUIRED" | undefined;
33
+ nomineeShareHolderRequiredForCountry: () => "REQUIRED" | undefined;
34
+ isUsingInstantVerificationOrHasExistingDocument: () => "REQUIRED" | undefined;
35
+ isManualIdFlow: () => "REQUIRED" | undefined;
36
+ isManualIdFlowAndNotProvidingIdNumber: () => "REQUIRED" | undefined;
37
+ isManualIdFlowAndHasMissingData: () => "REQUIRED" | undefined;
38
38
  idVerificationRequired: () => "REQUIRED";
39
- isGuidedDecisionMakersFlowEnabled: () => "REQUIRED";
40
- isDirectorRequiredForCountry: () => "REQUIRED";
39
+ isGuidedDecisionMakersFlowEnabled: () => "REQUIRED" | undefined;
40
+ isGuidedDecisionMakersFlowDisabled: () => "REQUIRED" | undefined;
41
+ isDirectorRequiredForCountry: () => "REQUIRED" | undefined;
42
+ japaneseFirstAndLastNames: () => "REQUIRED" | undefined;
41
43
  };
42
44
  export type IndividualOnfidoRules = ReturnType<typeof individualOnfidoRules>;
@@ -1,2 +1,2 @@
1
1
  import type { SignatoryQuestionnaireProps } from './SignatoryQuestionnaire.types';
2
- export declare function SignatoryQuestionnaire(props: Readonly<SignatoryQuestionnaireProps>): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function SignatoryQuestionnaire(props: Readonly<SignatoryQuestionnaireProps>): import("preact/jsx-runtime").JSX.Element | undefined;
@@ -1,5 +1,5 @@
1
1
  interface RichTextProps {
2
2
  content: string;
3
3
  }
4
- export declare const RichText: ({ content }: RichTextProps) => import("preact/jsx-runtime").JSX.Element;
4
+ export declare const RichText: ({ content }: RichTextProps) => import("preact/jsx-runtime").JSX.Element | null;
5
5
  export {};
@@ -1,3 +1,3 @@
1
1
  import type { UboQuestionnaireProps, UboQuestionnaireSchema } from './UboQuestionnaire.types';
2
2
  export declare const uboQuestionnaireFields: Array<keyof UboQuestionnaireSchema>;
3
- export declare function UboQuestionnaire(props: Readonly<UboQuestionnaireProps>): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function UboQuestionnaire(props: Readonly<UboQuestionnaireProps>): import("preact/jsx-runtime").JSX.Element | undefined;
@@ -4,5 +4,7 @@ export interface UboQuestionnaireSchema {
4
4
  isOwner: GuidanceQuestionValue | null;
5
5
  isControllingPerson: GuidanceQuestionValue | null;
6
6
  isDirector?: GuidanceQuestionValue | null;
7
+ isNomineeDirector?: GuidanceQuestionValue | null;
8
+ isNomineeShareholder?: GuidanceQuestionValue | null;
7
9
  }
8
10
  export type UboQuestionnaireProps = BaseInnerFormProps<UboQuestionnaireSchema>;
@@ -2,4 +2,4 @@ import type { UboQuestionnaireSchema } from './UboQuestionnaire.types';
2
2
  export interface UboQuestionnaireModalContentProps {
3
3
  modalType: keyof UboQuestionnaireSchema;
4
4
  }
5
- export declare const UboQuestionnaireModalContent: ({ modalType }: UboQuestionnaireModalContentProps) => import("preact/jsx-runtime").JSX.Element;
5
+ export declare const UboQuestionnaireModalContent: ({ modalType }: UboQuestionnaireModalContentProps) => import("preact/jsx-runtime").JSX.Element | null;
@@ -2,9 +2,9 @@ import type { Capability, CapabilityName } from '../../../core/models/api/capabi
2
2
  import { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
3
3
  import type { Scenario } from '../../../core/models/api/get-scenarios';
4
4
  import { TaskTypes } from '../../../stores/globalStore/taskTypes';
5
- export declare const showIndividualMotionCapture: import("@preact/signals-core").Signal<boolean>;
5
+ export declare const showIndividualMotionCapture: import("@preact/signals-core").Signal<boolean | undefined>;
6
6
  export declare const setShowIndividualMotionCapture: (showMotionCapture: boolean | undefined) => void;
7
- export declare const hasMotionCaptureScenario: import("@preact/signals-core").Signal<boolean>;
7
+ export declare const hasMotionCaptureScenario: import("@preact/signals-core").Signal<boolean | undefined>;
8
8
  export declare const setHasMotionCaptureScenario: (scenarios: Scenario[] | undefined) => void;
9
9
  export declare const shouldShowMotionCapture: ({ capabilities, userRoles, taskType, hasMotionScenario, }: {
10
10
  capabilities?: Partial<Record<CapabilityName, Capability>>;
@@ -1,3 +1,5 @@
1
+ import type { ExperimentName } from '../../../context/ExperimentContext/types';
1
2
  import type { LegalEntity } from '../../../core/models/api/legal-entity';
3
+ import type { Scenario } from '../../../core/models/api/get-scenarios';
2
4
  import type { IndividualOnfidoSchema } from '../forms/IndividualOnfido/IndividualOnfido.types';
3
- export declare const mapIndividualOnfidoSchemaToLegalEntity: (individualOnfido: IndividualOnfidoSchema) => LegalEntity;
5
+ export declare const mapIndividualOnfidoSchemaToLegalEntity: (individualOnfido: IndividualOnfidoSchema, isExperimentEnabled: (key: ExperimentName) => boolean, matchingScenario?: Scenario[]) => LegalEntity;
@@ -1,3 +1,3 @@
1
+ import type { LocalizedNameFieldsSchema } from '../fields/LocalizedNameFields/types';
1
2
  import type { NameLocalization } from '../fields/NameFields/types';
2
- import type { PersonalDetailsSchema } from '../forms/Individual/PersonalDetails/types';
3
- export declare const mapNameLocalization: (data: PersonalDetailsSchema) => NameLocalization[];
3
+ export declare const mapNameLocalization: (data: LocalizedNameFieldsSchema) => NameLocalization[];
@@ -7,5 +7,5 @@ export interface SummaryItem {
7
7
  export declare const isSummaryItem: (val: unknown) => val is SummaryItem;
8
8
  export declare const summaryItem: (summaryLabel: SummaryItem["summaryLabel"], summaryValue: SummaryItem["summaryValue"]) => {
9
9
  summaryLabel: Translatable;
10
- summaryValue: string | JSX.Element;
10
+ summaryValue: string | JSX.Element | null;
11
11
  };
@@ -17,7 +17,7 @@ export interface SummaryProps<Schema extends object> {
17
17
  omitted?: Omitted;
18
18
  forms: FormModel[];
19
19
  labels?: any;
20
- gotoForm?(nextFormIndex: number): void;
20
+ gotoForm(nextFormIndex: number): void;
21
21
  problems?: EntityProblems;
22
22
  showFormHeader?: boolean;
23
23
  showSectionHeader?: boolean;
@@ -1,7 +1,7 @@
1
1
  import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
2
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
3
  export interface CountryFieldSchema {
4
- country?: CountryCode | undefined;
4
+ country?: CountryCode;
5
5
  }
6
6
  export interface CountryFieldProps extends BaseFormFieldProps<CountryFieldSchema> {
7
7
  allowedCountries?: readonly CountryCode[];
@@ -16,5 +16,5 @@ type CompanyRegistrationNumberTypeSelectorProps = {
16
16
  country: CountryCode;
17
17
  companyType: CompanyTypesValue | 'trust' | undefined;
18
18
  } & (PropsWithNoExemption | PropsWithExemption);
19
- export declare function CompanyRegistrationNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, }: CompanyRegistrationNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element;
19
+ export declare function CompanyRegistrationNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, }: CompanyRegistrationNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
20
20
  export {};
@@ -5,5 +5,5 @@ interface IndividualIdNumberTypeSelectorProps {
5
5
  selected: IndividualIdNumberType | undefined;
6
6
  handleFieldChange: (type: IndividualIdNumberType) => void;
7
7
  }
8
- export declare function IndividualIdNumberTypeSelector({ country, selected, handleFieldChange, }: Readonly<IndividualIdNumberTypeSelectorProps>): import("preact/jsx-runtime").JSX.Element;
8
+ export declare function IndividualIdNumberTypeSelector({ country, selected, handleFieldChange, }: Readonly<IndividualIdNumberTypeSelectorProps>): import("preact/jsx-runtime").JSX.Element | null;
9
9
  export {};
@@ -19,5 +19,5 @@ type TaxIdNumberTypeSelectorProps = {
19
19
  isUsSoleProp?: boolean;
20
20
  errorMessage?: boolean | Translatable;
21
21
  } & (PropsWithNoExemption | PropsWithTaxIdExemption);
22
- export declare function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, isUsSoleProp, errorMessage, }: TaxIdNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element;
22
+ export declare function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, isUsSoleProp, errorMessage, }: TaxIdNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
23
23
  export {};
@@ -17,5 +17,5 @@ type VatNumberTypeSelectorProps = {
17
17
  country: CountryCode;
18
18
  companyType?: CompanyTypesValue | LegalEntityType.TRUST;
19
19
  } & (PropsWithNoExemption | PropsWithVatNumberExemption);
20
- export declare function VatNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, }: VatNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element;
20
+ export declare function VatNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, }: VatNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
21
21
  export {};
@@ -236,6 +236,15 @@ export declare const taxIdNumberOptions: {
236
236
  readonly id: "UEN";
237
237
  readonly name: "uen";
238
238
  }];
239
+ readonly ES: readonly [{
240
+ readonly id: "dni";
241
+ readonly name: "dni";
242
+ readonly applicableOnlyFor: readonly [LegalEntityType.INDIVIDUAL];
243
+ }, {
244
+ readonly id: "nie";
245
+ readonly name: "nie";
246
+ readonly applicableOnlyFor: readonly [LegalEntityType.INDIVIDUAL];
247
+ }];
239
248
  readonly GB: readonly [{
240
249
  readonly id: "UTR";
241
250
  readonly name: "utr";
@@ -1,3 +1,3 @@
1
1
  import type { NameProps, NameSchema } from './types';
2
2
  export declare const nameFields: Array<keyof NameSchema>;
3
- export declare function Name(props: NameProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function Name(props: NameProps): import("preact/jsx-runtime").JSX.Element | undefined;
@@ -1,3 +1,3 @@
1
1
  import type { StateFieldProps, StateFieldSchema } from './types';
2
2
  export declare const STATE_FIELD: Array<keyof StateFieldSchema>;
3
- export declare function StateField({ data, valid, errors, labels, placeholders, readonly, handleChangeFor, selectedCountry, classNameModifiers, handleBlur, }: StateFieldProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function StateField({ data, valid, errors, labels, placeholders, readonly, handleChangeFor, selectedCountry, classNameModifiers, handleBlur, }: StateFieldProps): import("preact/jsx-runtime").JSX.Element | null;
@@ -6,4 +6,4 @@ import type { AddressFieldProps } from './types';
6
6
  * NOT TO BE USED: if you just want to add a Country or State dropdown outside of an Address component
7
7
  * - then you should implement <CountryField> or <StateField> directly
8
8
  */
9
- export declare function AddressField({ classNameModifiers, schema, data, valid, errors, fieldProblems, fieldName, trimOnBlur, hideField, maxlength, readOnly, optional, handleChangeFor, handleBlur, }: AddressFieldProps): import("preact/jsx-runtime").JSX.Element;
9
+ export declare function AddressField({ classNameModifiers, schema, data, valid, errors, fieldProblems, fieldName, trimOnBlur, hideField, maxlength, readOnly, optional, handleChangeFor, handleBlur, }: AddressFieldProps): import("preact/jsx-runtime").JSX.Element | null;