@adyen/kyc-components 3.74.6 → 3.75.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BqzgKlvm.js → AcceptTermsOfServiceComponent-CmtjlLkc.js} +7 -13
  2. package/dist/{AccountSetupRejected-DjDL8jmS.js → AccountSetupRejected-D-gXso-m.js} +2 -2
  3. package/dist/{Avatar-wjLtSQkK.js → Avatar-EN9QqneW.js} +1 -1
  4. package/dist/{BusinessDetailsDropin-BTgBn9DK.js → BusinessDetailsDropin-D7bmlCWL.js} +95 -75
  5. package/dist/{BusinessFinancingComponent-BXOS208z.js → BusinessFinancingComponent-CWrke1wB.js} +3 -3
  6. package/dist/{BusinessFinancingDropin-BbQp3Trc.js → BusinessFinancingDropin-CIr8dodZ.js} +9 -15
  7. package/dist/{BusinessFinancingPage-CWZUFD8-.js → BusinessFinancingPage-BUaBk8uq.js} +3 -3
  8. package/dist/{BusinessTypeSelectionPage-BZCOP0IF.js → BusinessTypeSelectionPage-D3fUNn7f.js} +4 -6
  9. package/dist/{ContractViewer-B7hrFdPk.js → ContractViewer-fPv7fuFx.js} +1 -1
  10. package/dist/{CreateIndividualComponent-BT09k8CS.js → CreateIndividualComponent-BSLA7VnY.js} +3 -4
  11. package/dist/{CreateTransferInstrumentComponent-DieMuBVh.js → CreateTransferInstrumentComponent-Drs_YkA-.js} +2 -3
  12. package/dist/{CustomerSupport-QKjx95Se.js → CustomerSupport-zKf2s-8D.js} +5 -6
  13. package/dist/{DebugModal-D5jsBdP9.js → DebugModal-BYymGgjT.js} +43 -10
  14. package/dist/{DecisionMakerDetailsPage-j44uyMcI.js → DecisionMakerDetailsPage-DqlS3Pit.js} +3 -4
  15. package/dist/{DecisionMakers-CS10zS56.js → DecisionMakers-CX22Ap-u.js} +4 -6
  16. package/dist/{EmbeddedStatus-BJNO2HQM.js → EmbeddedStatus-D_5O-E9M.js} +3 -3
  17. package/dist/{FormEndState-HM9-Iybg.js → FormEndState-DL_XVLTU.js} +1 -1
  18. package/dist/{FormFlow-Dh42U5Dm.js → FormFlow-8fZuMxhg.js} +2 -5
  19. package/dist/{IndividualOnfidoDropin-185xffxF.js → IndividualOnfidoDropin-fwzLO6t3.js} +73 -84
  20. package/dist/{Introduction-DA4Vqi29.js → Introduction-BifK4Csi.js} +3 -4
  21. package/dist/{LegalRepresentativeDetailsPage-BadQ0fr1.js → LegalRepresentativeDetailsPage-VLBt7NDI.js} +3 -4
  22. package/dist/{ManageIndividualComponent-DCMI3sdK.js → ManageIndividualComponent-DVtZzeGS.js} +4 -4
  23. package/dist/{ManagePCIComponent-BC0TK7FM.js → ManagePCIComponent-CfRjUILc.js} +4 -4
  24. package/dist/{ManageTermsOfServiceComponent-CiK3SL8y.js → ManageTermsOfServiceComponent-B3NHrk94.js} +4 -4
  25. package/dist/{ManageTransferInstrumentComponent-sCdm0_6v.js → ManageTransferInstrumentComponent-DLZUnjM-.js} +4 -9
  26. package/dist/{OnboardingDropinComponent-CXM4ne0C.js → OnboardingDropinComponent-O5G-8Wpl.js} +117 -115
  27. package/dist/{ProviderButton-BKQeyTkZ.js → ProviderButton-BEwLbf1l.js} +3 -13
  28. package/dist/{Review-CkMsQ4jl.js → Review-BtJMQZDF.js} +3 -4
  29. package/dist/{RootBusinessDetailsPage-sFpUGMqo.js → RootBusinessDetailsPage-WN5nZDvo.js} +3 -4
  30. package/dist/{RootIndividualDetailsPage-_Ay6SL3f.js → RootIndividualDetailsPage-CVSrwRCQ.js} +3 -4
  31. package/dist/{SignPCIComponent-D35Kpcfv.js → SignPCIComponent-CpPSrDnv.js} +6 -10
  32. package/dist/{SingpassSelection-B0dtvrCa.js → SingpassSelection-BnbLViNx.js} +2 -2
  33. package/dist/{SoleProprietorshipPage-C6YDlNql.js → SoleProprietorshipPage-IcvPd-nL.js} +3 -4
  34. package/dist/{SourceOfFunds.module-BdvORVHN.js → SourceOfFunds.module-Bo6TYBfH.js} +1 -1
  35. package/dist/{SourceOfFundsPage-wl2-rTNr.js → SourceOfFundsPage-CCv1L9it.js} +36 -28
  36. package/dist/{StoreProvider-BSkziuJ9.js → StoreProvider-CairIABM.js} +3206 -956
  37. package/dist/{TaskItemStatus-BYKG95n7.js → TaskItemStatus-9_rlwmj8.js} +2 -2
  38. package/dist/{TaxReportingDropin-khLr0hFP.js → TaxReportingDropin-DxckPuwa.js} +7 -8
  39. package/dist/{TileGroup-CSl0rZJR.js → TileGroup-jtLX8JgH.js} +2 -2
  40. package/dist/{TrustDetailsPage-DSbNRTLH.js → TrustDetailsPage-C0SUQFV-.js} +12 -36
  41. package/dist/{TrustMemberCompanyPage-MHb4v-mt.js → TrustMemberCompanyPage-mOFqP6NS.js} +4 -5
  42. package/dist/{TrustMemberIndividualPage-DrH2zcs2.js → TrustMemberIndividualPage-BGJsBZEr.js} +3 -4
  43. package/dist/{UnincorporatedPartnershipIndividualPage-DTXEST-V.js → UnincorporatedPartnershipIndividualPage-CogP3uSQ.js} +3 -4
  44. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BrwfQPSK.js → UnincorporatedPartnershipMemberCompanyPage-B8uzg9KK.js} +3 -4
  45. package/dist/{VerificationErrorAlert-BPgzHZvz.js → VerificationErrorAlert-kHFgZANq.js} +2 -2
  46. package/dist/{ViewVerificationStatusComponent-CGZbOuEz.js → ViewVerificationStatusComponent-CD3Jt8MZ.js} +3 -3
  47. package/dist/adyen-business-financing.js +2 -2
  48. package/dist/adyen-individual.js +2 -2
  49. package/dist/adyen-kyc-components.js +14 -14
  50. package/dist/adyen-manage-individual.js +2 -2
  51. package/dist/adyen-manage-pci.js +2 -2
  52. package/dist/adyen-manage-terms-of-service.js +2 -2
  53. package/dist/adyen-manage-transfer-instruments.js +2 -2
  54. package/dist/adyen-onboarding.js +2 -2
  55. package/dist/adyen-sign-pci.js +2 -2
  56. package/dist/adyen-terms-of-service.js +2 -2
  57. package/dist/adyen-transfer-instrument.js +2 -2
  58. package/dist/adyen-verification-status.js +2 -2
  59. package/dist/{bg-BG-BzeiDl-e.js → bg-BG-BV_GOHGg.js} +49 -3
  60. package/dist/{cs-CZ-4Tk67nmO.js → cs-CZ-CZDCUWRh.js} +49 -3
  61. package/dist/{css-CH00rBdF.js → css-Cz9rxCv4.js} +2 -2
  62. package/dist/{da-DK-CN3Rc5da.js → da-DK-BmTgxKpq.js} +49 -3
  63. package/dist/{de-DE-GaynF_xB.js → de-DE-DZeG8NVg.js} +49 -3
  64. package/dist/{el-GR-C3tN9AFZ.js → el-GR-C3likHBP.js} +48 -2
  65. package/dist/{es-ES-9Q6u4x6u.js → es-ES-DHhHHeU-.js} +48 -2
  66. package/dist/{et-EE-jHAEJC5c.js → et-EE-CiD_oBu3.js} +49 -3
  67. package/dist/{fi-FI-DH5DphLd.js → fi-FI-DAZqSyjL.js} +49 -3
  68. package/dist/{fr-FR-DCboO9VH.js → fr-FR-vs5BYMWx.js} +49 -3
  69. package/dist/{getFieldsWithExistingData-M80AmxW5.js → getFieldsWithExistingData-BsvSqWoV.js} +2 -2
  70. package/dist/{hasDataChanged-rFZP3bN1.js → hasDataChanged-Dms2p9LC.js} +2 -2
  71. package/dist/{hr-HR-333ODlHZ.js → hr-HR-CcaMvc2K.js} +49 -3
  72. package/dist/{hu-HU-CUNG9bik.js → hu-HU-CzBd9g0P.js} +48 -2
  73. package/dist/{individualFormConfig-Jzdtvxb0.js → individualFormConfig-DlheGOdv.js} +6 -2
  74. package/dist/{it-IT-CXxD91gu.js → it-IT-BXIdTOUw.js} +49 -3
  75. package/dist/{ja-JP-1qp81W1I.js → ja-JP-CngmcMI-.js} +48 -2
  76. package/dist/{json--XurzXL9.js → json-B-tTa0eY.js} +2 -2
  77. package/dist/{localizeDateString-BTqPuXz8.js → localizeDateString-B7q5Bl9r.js} +2 -2
  78. package/dist/{lt-LT-vQmxFgVn.js → lt-LT-Dpyaroh2.js} +49 -3
  79. package/dist/{lv-LV-Ds10XQ8q.js → lv-LV-CCcm8aDW.js} +49 -3
  80. package/dist/{mapFinancialReportsToFinancialInformation-XSFKqLLm.js → mapFinancialReportsToFinancialInformation-B0S7gC4f.js} +2 -2
  81. package/dist/{nl-NL-BsDTOkW4.js → nl-NL-gYpP7VMA.js} +49 -3
  82. package/dist/{no-NO-BpyiF6sI.js → no-NO-nOXLv4rO.js} +49 -3
  83. package/dist/{pl-PL-BqA3pc6p.js → pl-PL-Dwlwj1ob.js} +49 -3
  84. package/dist/{plaintext-C-xhcbw9.js → plaintext-CW6d70Y6.js} +2 -2
  85. package/dist/preact/adyen-terms-of-service.js +1 -1
  86. package/dist/preact/adyen-transfer-instrument.js +1 -1
  87. package/dist/{pt-PT-DSry7yG3.js → pt-PT-DbQbuaCm.js} +49 -3
  88. package/dist/{resolveEnvironment-CF43kjG9.js → resolveEnvironment-BsLkkNKL.js} +3 -3
  89. package/dist/{ro-RO-r8myUMxM.js → ro-RO-ZTuJtIop.js} +49 -3
  90. package/dist/{rules-ClGuufcz.js → rules-9XmAbTQu.js} +14 -3
  91. package/dist/{sk-SK-Dy7mKbdU.js → sk-SK-Ba8jBCvr.js} +49 -3
  92. package/dist/{sl-SI-L3YffGqX.js → sl-SI-DszG8wEm.js} +49 -3
  93. package/dist/style.css +475 -490
  94. package/dist/styles-CLV89_hH.js +481 -496
  95. package/dist/{sv-SE-BtKMAZPD.js → sv-SE-Fo7zzjiG.js} +48 -2
  96. package/dist/types/api/address/address.types.d.ts +0 -1
  97. package/dist/types/api/address/useSearchAddress.d.ts +0 -1
  98. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +2 -2
  99. package/dist/types/api/companyDataSet/constants.d.ts +1 -1
  100. package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +3 -0
  101. package/dist/types/api/companySearch/companySearch.types.d.ts +2 -2
  102. package/dist/types/api/companySelection/companySelection.types.d.ts +6 -0
  103. package/dist/types/api/companySelection/useCompanySelection.d.ts +4 -0
  104. package/dist/types/api/configurations/useScenarios.d.ts +7 -7
  105. package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
  106. package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
  107. package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +1 -1
  108. package/dist/types/api/queryKeys.d.ts +3 -2
  109. package/dist/types/api/termsOfService/useTermsOfService.d.ts +4 -4
  110. package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -0
  111. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +1 -1
  112. package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -1
  113. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -10
  114. package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +1 -1
  115. package/dist/types/components/BankAccount/fields/BankAccountNumber/types.d.ts +1 -1
  116. package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +1 -1
  117. package/dist/types/components/BankAccount/fields/BankCode/types.d.ts +1 -1
  118. package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +1 -1
  119. package/dist/types/components/BankAccount/fields/BranchCode/types.d.ts +1 -1
  120. package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +1 -1
  121. package/dist/types/components/BankAccount/fields/Iban/ibanValidator.d.ts +1 -1
  122. package/dist/types/components/BankAccount/fields/Iban/types.d.ts +1 -1
  123. package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
  124. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +1 -1
  125. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
  126. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +2 -2
  127. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
  128. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
  129. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -7
  130. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +1 -1
  131. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
  132. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
  133. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +24 -24
  134. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -0
  135. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  136. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +3 -3
  137. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -0
  138. package/dist/types/components/BankAccount/utils/defaultPayoutAccountFormat.d.ts +1 -1
  139. package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +2 -2
  140. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
  141. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
  142. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
  143. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -2
  144. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +2 -4
  145. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +1 -1
  146. package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +1 -1
  147. package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +1 -1
  148. package/dist/types/components/Business/forms/ProofOfSignatoryDocument/types.d.ts +1 -1
  149. package/dist/types/components/Business/forms/RegistrationDocument/config.d.ts +1 -1
  150. package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +1 -1
  151. package/dist/types/components/Business/forms/TaxDocument/config.d.ts +1 -1
  152. package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -1
  153. package/dist/types/components/Business/forms/rules.d.ts +3 -3
  154. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
  155. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  156. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.d.ts +1 -1
  157. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +3 -3
  158. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
  159. package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
  160. package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +1 -1
  161. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
  162. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
  163. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +0 -1
  164. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +3 -3
  165. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +1 -0
  166. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +2 -2
  167. package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +1 -1
  168. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
  169. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +1 -1
  170. package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +1 -1
  171. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +2 -2
  172. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/utils.d.ts +1 -1
  173. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +2 -2
  174. package/dist/types/components/Individual/forms/Individual/Individual.d.ts +1 -1
  175. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +1 -1
  176. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
  177. package/dist/types/components/Individual/forms/Individual/rules.d.ts +5 -4
  178. package/dist/types/components/Individual/forms/Individual/types.d.ts +4 -4
  179. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
  180. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +1 -1
  181. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +2 -2
  182. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +1 -1
  183. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +23 -9
  184. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +5 -4
  185. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -4
  186. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +1 -1
  187. package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +1 -1
  188. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +1 -1
  189. package/dist/types/components/Shared/EntityAssociation/types.d.ts +1 -1
  190. package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +1 -1
  191. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
  192. package/dist/types/components/Shared/FormNavigation/types.d.ts +3 -3
  193. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
  194. package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
  195. package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
  196. package/dist/types/components/Shared/Summary/types.d.ts +2 -2
  197. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
  198. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
  199. package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
  200. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
  201. package/dist/types/components/Shared/fields/Currency/types.d.ts +2 -2
  202. package/dist/types/components/Shared/fields/DBANameField/fieldConfig.d.ts +1 -1
  203. package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +1 -1
  204. package/dist/types/components/Shared/fields/EInvoicingCodeField/fieldConfig.d.ts +1 -1
  205. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -1
  206. package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +1 -1
  207. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
  208. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
  209. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -2
  210. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
  211. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
  212. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +1 -1
  213. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +1 -1
  214. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +1 -1
  215. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
  216. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
  217. package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +1 -1
  218. package/dist/types/components/Shared/fields/StateField/types.d.ts +3 -3
  219. package/dist/types/components/Shared/fields/StockExchangeMICField/fieldConfig.d.ts +1 -1
  220. package/dist/types/components/Shared/fields/StockISINField/fieldConfig.d.ts +1 -1
  221. package/dist/types/components/Shared/fields/StockTickerSymbol/fieldConfig.d.ts +1 -1
  222. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
  223. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
  224. package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -1
  225. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
  226. package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
  227. package/dist/types/components/Shared/forms/Address/constants.d.ts +1 -1
  228. package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
  229. package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
  230. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
  231. package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
  232. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
  233. package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +1 -1
  234. package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
  235. package/dist/types/components/Shared/forms/ContactDetails/types.d.ts +1 -1
  236. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
  237. package/dist/types/components/Shared/forms/FinancialInformation/ReportedValue.d.ts +1 -1
  238. package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  239. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +2 -2
  240. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
  241. package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
  242. package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +1 -1
  243. package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +1 -1
  244. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
  245. package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -1
  246. package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -3
  247. package/dist/types/components/Trust/forms/Trust/types.d.ts +2 -2
  248. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +1 -1
  249. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
  250. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
  251. package/dist/types/components/Trust/tasks/TrustDropin/trustFormConfig.d.ts +1 -1
  252. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
  253. package/dist/types/components/Trust/utils/trustUtil.d.ts +3 -3
  254. package/dist/types/components/UnincorporatedPartnership/types/types.d.ts +1 -1
  255. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +2 -2
  256. package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -1
  257. package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -1
  258. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -1
  259. package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
  260. package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +2 -2
  261. package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +1 -1
  262. package/dist/types/constants/countries.d.ts +1 -1
  263. package/dist/types/context/ExperimentContext/types.d.ts +9 -1
  264. package/dist/types/context/FormRouterContext/types.d.ts +1 -1
  265. package/dist/types/context/SettingsContext/types.d.ts +1 -1
  266. package/dist/types/core/analytics.d.ts +3 -1
  267. package/dist/types/core/errorMapping.d.ts +3 -3
  268. package/dist/types/core/models/api/address.d.ts +1 -1
  269. package/dist/types/core/models/api/financialReport.d.ts +1 -1
  270. package/dist/types/core/models/api/get-scenarios.d.ts +0 -7
  271. package/dist/types/core/models/api/legal-arrangement.d.ts +1 -1
  272. package/dist/types/core/models/api/organization.d.ts +1 -1
  273. package/dist/types/core/models/api/phone.d.ts +1 -1
  274. package/dist/types/core/models/api/remediating-action.d.ts +1 -1
  275. package/dist/types/core/models/api/source-of-funds.d.ts +1 -1
  276. package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
  277. package/dist/types/core/models/api/verification-error.d.ts +1 -1
  278. package/dist/types/core/process-field-configurations.d.ts +4 -4
  279. package/dist/types/core/types.d.ts +1 -1
  280. package/dist/types/core/user-events.d.ts +11 -2
  281. package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +2 -2
  282. package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +1 -1
  283. package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +1 -1
  284. package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
  285. package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
  286. package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
  287. package/dist/types/hooks/singpass/useHasSeenSingpassSelection.d.ts +2 -1
  288. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
  289. package/dist/types/hooks/useAccountHolder.d.ts +1 -1
  290. package/dist/types/hooks/useAllowedCountries.d.ts +1 -1
  291. package/dist/types/hooks/useAsyncValidator.d.ts +2 -1
  292. package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
  293. package/dist/types/hooks/useDataConflicts.d.ts +0 -6
  294. package/dist/types/hooks/useDataMissingRemediations.d.ts +1 -1
  295. package/dist/types/hooks/useForm/reducer.d.ts +2 -2
  296. package/dist/types/hooks/useForm/types.d.ts +6 -6
  297. package/dist/types/hooks/useFormComposer.d.ts +2 -2
  298. package/dist/types/hooks/useMultiForm/reducer.d.ts +4 -3
  299. package/dist/types/hooks/useMultiForm/types.d.ts +0 -39
  300. package/dist/types/hooks/useMultiForm/useMultiFormAsyncValidator.d.ts +2 -2
  301. package/dist/types/hooks/useScenarioConfiguration.d.ts +3 -3
  302. package/dist/types/language/utils.d.ts +1 -1
  303. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +2 -2
  304. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +2 -2
  305. package/dist/types/stores/globalStore/get-task-status.d.ts +1 -1
  306. package/dist/types/stores/globalStore/globalStore.d.ts +3 -3
  307. package/dist/types/{core/models → types}/errors/capability-problems.d.ts +1 -1
  308. package/dist/types/{core/models → types}/errors/entity-problems.d.ts +4 -4
  309. package/dist/types/{core/models → types}/errors/error-message.d.ts +1 -1
  310. package/dist/types/{core/models → types}/errors/remediation.d.ts +1 -1
  311. package/dist/types/{core/models → types}/form-configuration.d.ts +4 -4
  312. package/dist/types/{core/models → types}/form-rules.d.ts +10 -8
  313. package/dist/types/{core/models → types}/form.d.ts +1 -1
  314. package/dist/types/utils/accountHolderUtils.d.ts +1 -1
  315. package/dist/types/utils/api/documentUtils.d.ts +1 -1
  316. package/dist/types/utils/api/getProblemsForEntity.d.ts +2 -2
  317. package/dist/types/utils/api/processCapabilitites.d.ts +3 -3
  318. package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
  319. package/dist/types/utils/birthDateUtils.d.ts +1 -1
  320. package/dist/types/utils/country.d.ts +1 -1
  321. package/dist/types/utils/datasetUtil.d.ts +3 -3
  322. package/dist/types/{core/models/decision-maker.d.ts → utils/decisionMaker.d.ts} +2 -2
  323. package/dist/types/utils/dropinUtils.d.ts +2 -2
  324. package/dist/types/utils/entityAssociationUtil.d.ts +5 -5
  325. package/dist/types/utils/entityStatusUtil.d.ts +2 -2
  326. package/dist/types/{core/models/field-configurations.d.ts → utils/fieldConfigurations.d.ts} +4 -4
  327. package/dist/types/utils/formUtils.d.ts +1 -1
  328. package/dist/types/utils/formatCurrency.d.ts +1 -1
  329. package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
  330. package/dist/types/utils/getSSNType.d.ts +1 -1
  331. package/dist/types/utils/mapping/mapExistingFile.d.ts +1 -1
  332. package/dist/types/utils/perCountry.d.ts +1 -1
  333. package/dist/types/utils/perState.d.ts +3 -2
  334. package/dist/types/utils/regex/postalCodePatterns.d.ts +1 -1
  335. package/dist/types/utils/validation/types.d.ts +1 -1
  336. package/dist/types/{core/models/errors/validation-error.d.ts → utils/validationError.d.ts} +1 -1
  337. package/dist/types/utils/validatorUtils.d.ts +1 -1
  338. package/dist/{useMultiForm-BVPPHa0M.js → useMultiForm-akawPP6-.js} +2 -2
  339. package/dist/{useOnboardingStatus-DpP-tjPy.js → useOnboardingStatus-C757XzAk.js} +1 -1
  340. package/dist/{useSalesChannelsSettings-zsFV9x70.js → useSalesChannelsSettings-a9NvV0WH.js} +2 -2
  341. package/dist/{useTermsOfServiceStatus-CBKy10jD.js → useTermsOfServiceStatus-DD0WeUI2.js} +4 -4
  342. package/dist/{useUpdateLegalEntity-ClwtWsot.js → useUpdateLegalEntity-C8OwKklo.js} +2 -2
  343. package/dist/{utils-mM6f_wxM.js → utils-DaglygRr.js} +4 -4
  344. package/dist/{validate-DFKx6bSa.js → validate-C7NHrX-0.js} +2 -2
  345. package/dist/{validate-CEf7z2pv.js → validate-PZoo-tXo.js} +2 -2
  346. package/dist/vue/adyen-individual.js +1 -1
  347. package/dist/vue/adyen-manage-individual.js +1 -1
  348. package/dist/vue/adyen-terms-of-service.js +1 -1
  349. package/dist/vue/adyen-transfer-instrument.js +1 -1
  350. package/dist/{yaml-CSK-WKa1.js → yaml-2GWWWq1l.js} +2 -2
  351. package/package.json +1 -1
  352. package/dist/Confirm-CdvwUHlM.js +0 -56
  353. package/dist/FormNavigation-9Ha5WQ7h.js +0 -145
  354. package/dist/FormWrapper-CjafzdMl.js +0 -149
  355. package/dist/MaybeModal-D7t6odRe.js +0 -18
  356. package/dist/Modal-B4HGO4xa.js +0 -135
  357. package/dist/PayoutDetailsDropin-B62ePi00.js +0 -914
  358. package/dist/PayoutDetailsPage-BtEL7Ure.js +0 -57
  359. package/dist/Spacer-BK3jDget.js +0 -18
  360. package/dist/StepProgressIndicator-CLum5vhL.js +0 -74
  361. package/dist/documentUtils-DQ_zpuxK.js +0 -226
  362. package/dist/dropinUtils-CjsvWZ8W.js +0 -204
  363. package/dist/mapExistingFile-BE74t9jV.js +0 -25
  364. package/dist/mapTransferInstrumentToPayoutAccount-Dz9ksLeQ.js +0 -30
  365. package/dist/omitObscuredFieldsIfUnchanged-aJVqTkBm.js +0 -28
  366. package/dist/process-field-configurations-DDlO4LEU.js +0 -185
  367. package/dist/processValidationErrors-BEKEAx0L.js +0 -203
  368. package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +0 -5
  369. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/formatId.d.ts +0 -3
  370. package/dist/types-CjUrSQiM.js +0 -45
  371. package/dist/useToastContext-BHaVFSLN.js +0 -21
  372. package/dist/utils-B1H_8b1P.js +0 -74
  373. /package/dist/types/{core/types/AccountHolder.types.d.ts → types/accountHolder.d.ts} +0 -0
  374. /package/dist/types/{core/models → types/datasets}/country-code.d.ts +0 -0
  375. /package/dist/types/{core/models → types/datasets}/currency.d.ts +0 -0
  376. /package/dist/types/{core/models → types/datasets}/province-code.d.ts +0 -0
  377. /package/dist/types/{core/models → types/datasets}/state-code.d.ts +0 -0
  378. /package/dist/types/{core/models → types}/errors/form-verification-errors.d.ts +0 -0
  379. /package/dist/types/{core/models → types}/errors/maintenance-mode-error.d.ts +0 -0
  380. /package/dist/types/{core/models → types}/errors/remediation-action-context.d.ts +0 -0
  381. /package/dist/types/{core/models → types}/file.d.ts +0 -0
@@ -1,5 +1,5 @@
1
- import type { CountryCode } from '../../../../core/models/country-code';
2
1
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
+ import type { CountryCode } from '../../../../types/datasets/country-code';
3
3
  import type { TrustRoleAndEntityTypeSchema } from '../../forms/TrustRoleAndEntityType/types';
4
4
  import type { CompanyTrustMember, RegularTrustMember, TrustMember } from '../TrustMembers/types';
5
5
  export interface RoleAndTypeDropinProps {
@@ -1,4 +1,4 @@
1
- import type { PerCountryFormConfiguration, PerScenarioFormConfiguration } from '../../../../core/models/form-configuration';
1
+ import type { PerCountryFormConfiguration, PerScenarioFormConfiguration } from '../../../../types/form-configuration';
2
2
  import type { TrustRules } from '../../forms/Trust/rules';
3
3
  import type { TrustSchema } from '../../forms/Trust/types';
4
4
  export declare const trustFieldsPerScenario: PerScenarioFormConfiguration<TrustSchema, keyof TrustRules>;
@@ -1,6 +1,6 @@
1
1
  import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
2
2
  import type { TrustMemberType, TrustMemberTypes } from '../../../../core/models/api/trust-member-type';
3
- import type { CountryCode } from '../../../../core/models/country-code';
3
+ import type { CountryCode } from '../../../../types/datasets/country-code';
4
4
  import type { IsNewEntity } from '../../../../utils/isNewEntity';
5
5
  import type { SettlorExemptionReason, TrustMemberLegalEntityType } from '../../forms/TrustRoleAndEntityType/types';
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/legal-entity';
2
2
  import type { LegalEntityAssociation } from '../../../core/models/api/legal-entity-association';
3
- import type { CountryCode } from '../../../core/models/country-code';
4
- import type { CapabilityProblems } from '../../../core/models/errors/capability-problems';
5
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
3
+ import type { CountryCode } from '../../../types/datasets/country-code';
4
+ import type { CapabilityProblems } from '../../../types/errors/capability-problems';
5
+ import type { EntityProblems } from '../../../types/errors/entity-problems';
6
6
  import type { TrustType } from '../forms/TrustRegistrationDetails/types';
7
7
  import type { TrustMember } from '../tasks/TrustMembers/types';
8
8
  export declare const isPartOfTrustFromLegalEntity: (legalEntity: LegalEntity) => boolean;
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '../../../core/models/country-code';
1
+ import type { CountryCode } from '../../../types/datasets/country-code';
2
2
  export declare const ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES: CountryCode[];
3
3
  /**
4
4
  * See https://youtrack.is.adyen.com/issue/SOE-5704/Display-Registration-No-VAT-No-Tax-ID-number-in-HO-for-unincorporated-Partnership
@@ -1,6 +1,6 @@
1
1
  import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/legal-entity';
2
- import type { CapabilityProblems } from '../../../core/models/errors/capability-problems';
3
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
2
+ import type { CapabilityProblems } from '../../../types/errors/capability-problems';
3
+ import type { EntityProblems } from '../../../types/errors/entity-problems';
4
4
  export declare const isPartOfUnincorporatedPartnership: (legalEntity: LegalEntity) => boolean;
5
5
  export declare const getOwnUnincorporatedPartnershipLegalEntityIdAsArray: (legalEntity: LegalEntity) => string[];
6
6
  export declare const getOwnUnincorporatedPartnershipProblems: (legalEntity: LegalEntity, capabilityProblems: CapabilityProblems) => EntityProblems | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentChild } from 'preact';
2
- import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
2
+ import type { EntityProblems } from '../../../../types/errors/entity-problems';
3
3
  export interface AlertProps {
4
4
  title?: string | ComponentChild;
5
5
  variant?: AlertVariant;
@@ -1,8 +1,8 @@
1
1
  import './Dropzone.scss';
2
2
  import type { JSX } from 'preact';
3
3
  import type { FieldChildProps } from '../../atoms/Field/Field.types';
4
- import type { FileSchema } from '../../../../core/models/file';
5
4
  import type { TranslationKey } from '../../../../../types';
5
+ import type { FileSchema } from '../../../../types/file';
6
6
  import type { FileValidationOptions } from './validate';
7
7
  interface FilePickerProps extends FileValidationOptions, Partial<FieldChildProps> {
8
8
  files: FileSchema[];
@@ -1,5 +1,5 @@
1
- import type { FileSchema } from '../../../../core/models/file';
2
1
  import type { TranslationKey } from '../../../../../types';
2
+ import type { FileSchema } from '../../../../types/file';
3
3
  import type { FileValidationOptions } from './validate';
4
4
  export interface DropzoneProps extends Partial<FileValidationOptions> {
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import type { FileSchema } from '../../../../core/models/file';
1
+ import type { FileSchema } from '../../../../types/file';
2
2
  import type { ValidatorRule } from '../../../../utils/validation/types';
3
3
  export interface FileValidationOptions {
4
4
  allowedFileTypes: string[];
@@ -1,5 +1,5 @@
1
- import type { FormVerificationErrors } from '../../../../core/models/errors/form-verification-errors';
2
- import type { Remediation } from '../../../../core/models/errors/remediation';
1
+ import type { FormVerificationErrors } from '../../../../types/errors/form-verification-errors';
2
+ import type { Remediation } from '../../../../types/errors/remediation';
3
3
  import type { FormUtils } from '../../../../utils/formUtils';
4
4
  export interface ErrorPanelProps<Schema> {
5
5
  id?: string;
@@ -1,6 +1,6 @@
1
1
  import type { JSX } from 'preact';
2
2
  import type { InputBaseProps } from '../../atoms/InputBase/InputBase';
3
- import type { Currency } from '../../../../core/models/currency';
3
+ import type { Currency } from '../../../../types/datasets/currency';
4
4
  export interface InputCurrencyProps extends Omit<InputBaseProps, 'onInput' | 'value' | 'type'> {
5
5
  locale: string;
6
6
  currency: Currency;
@@ -1,3 +1,3 @@
1
- import type { CountryCode } from '../core/models/country-code';
1
+ import type { CountryCode } from '../types/datasets/country-code';
2
2
  export declare const EEA_Countries: CountryCode[];
3
3
  export declare const LOW_RISK_COUNTRIES: CountryCode[];
@@ -115,6 +115,10 @@ export declare enum ExperimentNames {
115
115
  * If false, instead compute the status from capabilities and problems on the root LE.
116
116
  */
117
117
  UseTaskStatusApiForPayout = "UseTaskStatusApiForPayout",
118
+ /**
119
+ * OXP-6031 Make users sign PCI questionnaire before ToS if it is present
120
+ */
121
+ EnableSignPCIBeforeTOS = "EnableSignPCIBeforeTOS",
118
122
  /**
119
123
  * SOE-5561: A/B New CaaS flow vs Standard bank account flow
120
124
  */
@@ -122,7 +126,11 @@ export declare enum ExperimentNames {
122
126
  /**
123
127
  * SOE-5889: Create experiment flag for guided decision-maker flow
124
128
  */
125
- DecisionMakersFlowOptimization_GuidedDecisionMakersFlow = "DecisionMakersFlowOptimization_GuidedDecisionMakersFlow"
129
+ DecisionMakersFlowOptimization_GuidedDecisionMakersFlow = "DecisionMakersFlowOptimization_GuidedDecisionMakersFlow",
130
+ /**
131
+ * OXP-5888: A/B testing: With & without pre-selection for verification method in Banking flow
132
+ */
133
+ BankVerificationMethodAutonomy_UnbiasedSelection = "BankVerificationMethodAutonomy_UnbiasedSelection"
126
134
  }
127
135
  export type ExperimentName = `${ExperimentNames}`;
128
136
  export type Experiments = {
@@ -1,5 +1,5 @@
1
1
  import type { ComponentChildren } from 'preact';
2
- import type { FormModel } from '../../core/models/form';
2
+ import type { FormModel } from '../../types/form';
3
3
  export interface FormRouterProps {
4
4
  children?: ComponentChildren;
5
5
  setFormIndex: (formIndex: number) => void;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentChildren } from 'preact';
2
- import type { CountryCode } from '../../core/models/country-code';
2
+ import type { CountryCode } from '../../types/datasets/country-code';
3
3
  /**
4
4
  * Settings are features that can be switched on or off by external users.
5
5
  * This list is defined in the BE.
@@ -18,8 +18,10 @@ export declare const debouncedInputEvent: (properties: {
18
18
  field?: string;
19
19
  returnType?: "backend" | "validation" | (string & {});
20
20
  returnValue?: string | string[];
21
- additionalData?: string | string[];
22
21
  label?: string;
22
+ additionalData?: {
23
+ [key: string]: import("./user-events").MixpanelProperty;
24
+ };
23
25
  'Experiment name'?: string;
24
26
  'Variant name'?: string;
25
27
  actionLevel?: "task" | "field" | "page" | "journey";
@@ -1,7 +1,7 @@
1
1
  import type { VerificationError } from './models/api/verification-error';
2
- import type { ErrorCode } from './models/errors/error-message';
3
- import type { RemediationCode } from './models/errors/remediation';
4
- import type { RemediationActionContext } from './models/errors/remediation-action-context';
2
+ import type { ErrorCode } from '../types/errors/error-message';
3
+ import type { RemediationCode } from '../types/errors/remediation';
4
+ import type { RemediationActionContext } from '../types/errors/remediation-action-context';
5
5
  /**
6
6
  * Mapping of remediation code to impacted api field path
7
7
  */
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '../country-code';
1
+ import type { CountryCode } from '../../../types/datasets/country-code';
2
2
  export interface Address {
3
3
  city?: string;
4
4
  country?: CountryCode;
@@ -1,4 +1,4 @@
1
- import type { Currency } from '../currency';
1
+ import type { Currency } from '../../../types/datasets/currency';
2
2
  export interface FinancialReport {
3
3
  currencyOfFinancialData: Currency;
4
4
  dateOfFinancialData: string;
@@ -19,10 +19,3 @@ export declare const enum Scenarios {
19
19
  L_TAXINFO = "L_TAXINFO"
20
20
  }
21
21
  export type Scenario = `${Scenarios}`;
22
- export interface GetScenariosResponse {
23
- individual?: Scenario[];
24
- organization?: Scenario[];
25
- trust?: Scenario[];
26
- soleProprietorship?: Scenario[];
27
- unincorporatedPartnership?: Scenario[];
28
- }
@@ -1,4 +1,4 @@
1
- import type { CountryCodes } from '../country-code';
1
+ import type { CountryCodes } from '../../../types/datasets/country-code';
2
2
  import type { Address } from './address';
3
3
  import type { FinancialReport } from './financialReport';
4
4
  import type { TaxInformation, VatAbsenceReason } from './organization';
@@ -1,7 +1,7 @@
1
1
  import type { SetRequired } from 'type-fest';
2
2
  import type { TaxReportingClassification } from '../api/tax-reporting-classification';
3
3
  import type { TaxIdNumberType } from '../../../components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
- import type { CountryCode } from '../country-code';
4
+ import type { CountryCode } from '../../../types/datasets/country-code';
5
5
  import type { Address } from './address';
6
6
  import type { CompanyTypesValue } from './company-types-value';
7
7
  import type { CustomerSupport } from './customerSupport';
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '../country-code';
1
+ import type { CountryCode } from '../../../types/datasets/country-code';
2
2
  export interface Phone {
3
3
  number: string;
4
4
  phoneCountryCode?: CountryCode;
@@ -1,4 +1,4 @@
1
- import type { RemediationCode } from '../errors/remediation';
1
+ import type { RemediationCode } from '../../../types/errors/remediation';
2
2
  export interface RemediatingAction {
3
3
  code: RemediationCode;
4
4
  message: string;
@@ -1,5 +1,5 @@
1
+ import type { CountryCode } from '../../../types/datasets/country-code';
1
2
  import type { OriginatorTypeUnion } from '../../../components/EFP/tasks/SourceOfFundsDropin/types';
2
- import type { CountryCode } from '../country-code';
3
3
  export interface BusinessLinesType {
4
4
  id?: string;
5
5
  industryCode: string;
@@ -1,7 +1,7 @@
1
1
  import type { components } from '#api/transferInstruments/transferInstruments.contract';
2
2
  import type { Capability, CapabilityName } from '../../models/api/capability';
3
3
  import type { DocumentDetail } from '../../models/api/document';
4
- import type { CountryCode } from '../../models/country-code';
4
+ import type { CountryCode } from '../../../types/datasets/country-code';
5
5
  import type { AccountIdentification } from './accountIdentification';
6
6
  import type { Problem } from './problem';
7
7
  type TransferInstrumentDto = components['schemas']['TransferInstrumentDto'];
@@ -1,4 +1,4 @@
1
- import type { ErrorCode } from '../errors/error-message';
1
+ import type { ErrorCode } from '../../../types/errors/error-message';
2
2
  import type { CapabilityName } from './capability';
3
3
  import type { RemediatingAction } from './remediating-action';
4
4
  export declare enum VerificationErrorType {
@@ -4,10 +4,10 @@ import type { Scenario } from './models/api/get-scenarios';
4
4
  import type { LegalEntityTrustedFields } from './models/api/legal-entity';
5
5
  import type { LegalEntityType } from './models/api/legal-entity-type';
6
6
  import type { VerificationError } from './models/api/verification-error';
7
- import type { Remediation } from './models/errors/remediation';
8
- import type { FormList } from './models/form';
9
- import type { FormConfiguration, FormConfigurationWithoutRules, PerScenarioFormConfiguration } from './models/form-configuration';
10
- import type { FormRules } from './models/form-rules';
7
+ import type { Remediation } from '../types/errors/remediation';
8
+ import type { FormList } from '../types/form';
9
+ import type { FormConfiguration, FormConfigurationWithoutRules, PerScenarioFormConfiguration } from '../types/form-configuration';
10
+ import type { FormRules } from '../types/form-rules';
11
11
  import type { AnyTLDSFieldName } from '../utils/getFieldsWithExistingData';
12
12
  export declare const composePerScenarioFormConfigurations: <TLDS extends TopLevelDataSchema>(scenarios: Scenario[], configurations: PerScenarioFormConfiguration<TLDS, string>) => FormConfiguration<TLDS, string>;
13
13
  export declare const augmentWithCountryConfigs: <FormSchema>(countrySpecificConfig: FormConfigurationWithoutRules<FormSchema> | undefined, baseFormConfig: FormConfiguration<FormSchema, string>) => FormConfiguration<FormSchema, string>;
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from './models/country-code';
1
+ import type { CountryCode } from '../types/datasets/country-code';
2
2
  export interface CoreOptions {
3
3
  /**
4
4
  * The URL of the KYC external API. This will be used to fetch static resources and configurations.
@@ -1,7 +1,13 @@
1
1
  import type { SetOptional } from 'type-fest';
2
2
  import type { LegalEntityType } from './models/api/legal-entity-type';
3
3
  import type { TaskIdentifier } from '../stores/globalStore/globalStore';
4
- export type MixpanelProperty = string | number | boolean | any[] | null | undefined;
4
+ /**
5
+ * A recursive type representing any valid Mixpanel property value.
6
+ * This can be a primitive, a nested object, or an array of properties.
7
+ */
8
+ export type MixpanelProperty = string | number | boolean | null | undefined | {
9
+ [key: string]: MixpanelProperty;
10
+ } | any[];
5
11
  /**
6
12
  * Level of the funnel that is relevant for this event
7
13
  */
@@ -36,8 +42,11 @@ export interface AdditionalEventProperties {
36
42
  field?: string;
37
43
  returnType?: 'backend' | 'validation' | (string & {});
38
44
  returnValue?: string | string[];
39
- additionalData?: string | string[];
40
45
  label?: string;
46
+ /** Testing out JSON key-value pairs mixpanel object */
47
+ additionalData?: {
48
+ [key: string]: MixpanelProperty;
49
+ };
41
50
  [key: string]: MixpanelProperty;
42
51
  'Experiment name'?: string;
43
52
  'Variant name'?: string;
@@ -1,5 +1,5 @@
1
- import type { CountryCode } from '../../core/models/country-code';
2
- import type { Currency } from '../../core/models/currency';
1
+ import type { CountryCode } from '../../types/datasets/country-code';
2
+ import type { Currency } from '../../types/datasets/currency';
3
3
  import type { PayoutAccountSchema } from '../../components/BankAccount/forms/PayoutAccount/types';
4
4
  export interface AccountFormatRequirements {
5
5
  currency?: Currency;
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '../../core/models/country-code';
2
1
  import type { BusinessType } from '../../components/Shared/forms/BusinessTypeSelection/types';
2
+ import type { CountryCode } from '../../types/datasets/country-code';
3
3
  export type BusinessTypeExamples = Partial<Record<BusinessType, string[]>>;
4
4
  export declare const useBusinessTypeExamples: (country: CountryCode) => Partial<Record<BusinessType, string[]>>;
@@ -1,4 +1,4 @@
1
1
  import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
2
- import type { CountryCode } from '../../core/models/country-code';
2
+ import type { CountryCode } from '../../types/datasets/country-code';
3
3
  export type CompanyTypeExamples = Partial<Record<CompanyTypesValue, string[]>>;
4
4
  export declare const useCompanyTypeExamples: (country: CountryCode) => Partial<Record<CompanyTypesValue, string[]>>;
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '../../core/models/country-code';
2
- import type { LegalArrangementOption } from '../../core/types/AccountHolder.types';
1
+ import type { LegalArrangementOption } from '../../types/accountHolder';
2
+ import type { CountryCode } from '../../types/datasets/country-code';
3
3
  export type LegalArrangementTypeExamples = Partial<Record<LegalArrangementOption, string[]>>;
4
4
  export declare const useLegalArrangementTypeExamples: (country: CountryCode) => Partial<Record<LegalArrangementOption, string[]>>;
@@ -1,3 +1,3 @@
1
1
  import type { DataSet } from '../../core/models/api/data-set';
2
- import type { CountryCode } from '../../core/models/country-code';
2
+ import type { CountryCode } from '../../types/datasets/country-code';
3
3
  export declare const loadCountriesDataset: (locale: string) => Promise<DataSet<CountryCode>>;
@@ -1,3 +1,3 @@
1
1
  import type { DataSet } from '../../core/models/api/data-set';
2
- import type { CountryCode } from '../../core/models/country-code';
2
+ import type { CountryCode } from '../../types/datasets/country-code';
3
3
  export declare const loadStatesDataset: (country: CountryCode, locale: string) => Promise<DataSet>;
@@ -1,7 +1,8 @@
1
- export interface UseHasSeenSingpassSelectionProps {
1
+ interface UseHasSeenSingpassSelectionProps {
2
2
  legalEntityId: string;
3
3
  }
4
4
  export declare const useHasSeenSingpassSelection: ({ legalEntityId, }: UseHasSeenSingpassSelectionProps) => {
5
5
  hasSeenSingpassSelection: boolean;
6
6
  setHasSeenSingpassSelection: import("preact/hooks").Dispatch<import("preact/hooks").StateUpdater<boolean>>;
7
7
  };
8
+ export {};
@@ -1,7 +1,7 @@
1
- import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
2
1
  import type { Translatable } from '../../../types';
3
2
  import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
4
3
  import type { UniqueEntityAssociation } from '../../components/Shared/EntityAssociation/types';
4
+ import type { AccountHolderOption } from '../../types/accountHolder';
5
5
  declare enum SingpassMyInfoLoginActionType {
6
6
  LOADING = "LOADING",
7
7
  SUCCESS = "SUCCESS",
@@ -1,4 +1,4 @@
1
- import type { AccountHolderOption } from '../core/types/AccountHolder.types';
1
+ import type { AccountHolderOption } from '../types/accountHolder';
2
2
  interface UseAccountHolder {
3
3
  accountHolder: AccountHolderOption | undefined;
4
4
  setAccountHolder: (accountHolder: AccountHolderOption | undefined) => void;
@@ -1,2 +1,2 @@
1
- import type { CountryCode } from '../core/models/country-code';
1
+ import type { CountryCode } from '../types/datasets/country-code';
2
2
  export declare const useAllowedCountries: () => CountryCode[] | undefined;
@@ -3,9 +3,10 @@ import { ValidationResult } from '../utils/validation/validationResult';
3
3
  import type { FormState } from './useForm/types';
4
4
  export type AsyncValidationResults<FormSchema> = Partial<Record<keyof FormSchema, ValidationResult>>;
5
5
  export type TriggerAsyncValidation<FormSchema> = (field: keyof FormSchema, formState: FormState<FormSchema>, mode: ValidatorMode) => void;
6
- export type UseAsyncValidator<FormSchema> = {
6
+ type UseAsyncValidator<FormSchema> = {
7
7
  asyncValidationResults: AsyncValidationResults<FormSchema>;
8
8
  triggerAsyncValidation: TriggerAsyncValidation<FormSchema>;
9
9
  clearAsyncValidationResults: (field: keyof FormSchema) => void;
10
10
  };
11
11
  export declare const useAsyncValidator: <FormSchema>(asyncRules?: AsyncValidatorRules<FormSchema>) => UseAsyncValidator<FormSchema>;
12
+ export {};
@@ -1,5 +1,5 @@
1
- import type { AccountHolderOption } from '../core/types/AccountHolder.types';
2
1
  import type { ExistingLegalEntity } from '../core/models/api/legal-entity';
2
+ import type { AccountHolderOption } from '../types/accountHolder';
3
3
  export declare enum BusinessType {
4
4
  INDIVIDUAL = "individual",
5
5
  COMPANY = "company",
@@ -1,6 +1,5 @@
1
1
  import type { Address } from '../core/models/api/address';
2
2
  import type { DatasetUtil } from '../utils/datasetUtil';
3
- import type { IndividualOnfidoConflictsSchema } from '../components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema';
4
3
  export type RuleResult<T> = {
5
4
  hasConflict: boolean;
6
5
  resolvedValue?: T;
@@ -12,11 +11,6 @@ export declare const defaultConflictRule: <T>(provided?: T, detected?: T) => Rul
12
11
  * The rule handles enrichment (auto-resolution) and deep equality checks.
13
12
  */
14
13
  export declare const createAddressConflictRule: (datasetUtils: DatasetUtil) => ConflictRule<Address | undefined>;
15
- /**
16
- * A factory function that returns a conflict rule for the `id` object.
17
- * Currently, it is configured to always ignore conflicts.
18
- */
19
- export declare const createIdConflictRule: () => ConflictRule<IndividualOnfidoConflictsSchema["id"]>;
20
14
  type UseDataConflictsReturn<T extends object> = {
21
15
  hasConflicts: boolean;
22
16
  conflictingProperties: (keyof T)[];
@@ -1,5 +1,5 @@
1
- import type { CapabilityProblems } from '../core/models/errors/capability-problems';
2
1
  import { TaskTypes } from '../stores/globalStore/taskTypes';
2
+ import type { CapabilityProblems } from '../types/errors/capability-problems';
3
3
  interface UseDataMissingRemediationsProps {
4
4
  legalEntityId: string;
5
5
  problems: CapabilityProblems;
@@ -18,8 +18,8 @@ export interface InitOptions<FormSchema> {
18
18
  * Processes default data and sets initial state
19
19
  */
20
20
  export declare function init<FormSchema>({ schema, defaultData, fieldProblems, obscuredFields, optionalFields, trustedFields, formatters, staticValidate, asyncValidate, }: InitOptions<FormSchema>): FormState<FormSchema>;
21
- export type ReducerActionType = 'setData' | 'setValid' | 'setErrors' | 'setFieldProblems' | 'updateField' | 'mergeForm' | 'setSchema' | 'validateForm';
22
- export interface ReducerAction<FormSchema> {
21
+ type ReducerActionType = 'setData' | 'setValid' | 'setErrors' | 'setFieldProblems' | 'updateField' | 'mergeForm' | 'setSchema' | 'validateForm';
22
+ interface ReducerAction<FormSchema> {
23
23
  type: ReducerActionType;
24
24
  key?: keyof FormSchema;
25
25
  mode?: ValidatorMode;
@@ -3,10 +3,10 @@ import type { AnyFormIdOfTLDS } from '../../context/StateContext/types';
3
3
  import type { Translatable, TranslationKey } from '../../../types';
4
4
  import type { CapabilityName } from '../../core/models/api/capability';
5
5
  import type { TrustedFieldsProvider } from '../../core/models/api/trusted-fields-provider';
6
- import type { CountryCode } from '../../core/models/country-code';
7
- import type { EntityProblems } from '../../core/models/errors/entity-problems';
8
- import type { FormVerificationErrors } from '../../core/models/errors/form-verification-errors';
9
- import type { FormModel } from '../../core/models/form';
6
+ import type { CountryCode } from '../../types/datasets/country-code';
7
+ import type { EntityProblems } from '../../types/errors/entity-problems';
8
+ import type { FormVerificationErrors } from '../../types/errors/form-verification-errors';
9
+ import type { FormModel } from '../../types/form';
10
10
  import type { Mask } from '../../utils/masking/maskTypes';
11
11
  import type { ValidationRuleResult, ValidatorMode, ValidatorRules } from '../../utils/validation/types';
12
12
  export type FieldData<FieldSchema> = {
@@ -15,10 +15,10 @@ export type FieldData<FieldSchema> = {
15
15
  export type FieldValid<FieldSchema> = {
16
16
  [fieldValid in keyof FieldSchema]: boolean;
17
17
  };
18
- export type FieldErrors<FieldSchema> = {
18
+ type FieldErrors<FieldSchema> = {
19
19
  [fieldError in keyof FieldSchema]: Translatable | boolean;
20
20
  };
21
- export type FieldLabels<FieldSchema> = {
21
+ type FieldLabels<FieldSchema> = {
22
22
  [fieldLabel in keyof FieldSchema]?: string;
23
23
  };
24
24
  export interface MaskSettings {
@@ -1,8 +1,8 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
2
  import type { TopLevelDataSchema } from '../context/StateContext/types';
3
3
  import type { AdditionalEventProperties } from '../core/user-events';
4
- import type { EntityProblems } from '../core/models/errors/entity-problems';
5
- import type { FormModelWithValidity } from '../core/models/form';
4
+ import type { EntityProblems } from '../types/errors/entity-problems';
5
+ import type { FormModelWithValidity } from '../types/form';
6
6
  import type { Form } from './useMultiForm/types';
7
7
  export interface FormComposer {
8
8
  handleNextClick(): void;
@@ -50,8 +50,8 @@ export interface MultiFormInitOptions<T> {
50
50
  * @param data
51
51
  */
52
52
  export declare function init<FormSchema>({ requiredFields, staticValidate, defaultData, obscuredFields, optionalFields, trustedFields, fieldProblems, formatters, data, asyncErrors, }: MultiFormInitOptions<FormSchema>): MultiFormState<FormSchema>;
53
- export type ReducerActionType = 'setData' | 'setFormData' | 'setValid' | 'setErrors' | 'updateField' | 'setInnerFormRequiredFields' | 'setRequiredFields' | 'validateForm' | 'setAsyncErrors';
54
- export interface ReducerAction<FormSchema> {
53
+ type ReducerActionType = 'setData' | 'setFormData' | 'setValid' | 'setErrors' | 'updateField' | 'setInnerFormRequiredFields' | 'setRequiredFields' | 'validateForm' | 'setAsyncErrors';
54
+ interface ReducerAction<FormSchema> {
55
55
  type: ReducerActionType;
56
56
  key?: keyof NestedSchema<FormSchema>;
57
57
  mode?: ValidatorMode;
@@ -70,7 +70,7 @@ export interface ReducerAction<FormSchema> {
70
70
  formValue?: FormState<NestedSchema<FormSchema>>;
71
71
  asyncValidationResults?: Record<keyof NestedSchema<FormSchema>, ValidationResult>;
72
72
  }
73
- export interface GetReducerOptions<T> {
73
+ interface GetReducerOptions<T> {
74
74
  staticValidate: TriggerStaticValidation<T>;
75
75
  obscuredFields?: {
76
76
  [InnerFormName in keyof T]: Array<keyof T[InnerFormName]>;
@@ -88,3 +88,4 @@ export interface GetReducerOptions<T> {
88
88
  }
89
89
  export type GetReducerResults<FormSchema> = Reducer<MultiFormState<FormSchema>, ReducerAction<FormSchema>>;
90
90
  export declare function reducer<FormSchema>({ staticValidate, obscuredFields, optionalFields, trustedFields, formatters, defaultData, }: GetReducerOptions<FormSchema>): GetReducerResults<FormSchema>;
91
+ export {};
@@ -1,23 +1,10 @@
1
- import type { Translatable, TranslationKey } from '../../../types';
2
- import type { TrustedFieldsProvider } from '../../core/models/api/trusted-fields-provider';
3
- import type { Mask } from '../../utils/masking/maskTypes';
4
1
  import type { AsyncValidatorRules, FormatRules, ValidationRuleResult, ValidatorMode, ValidatorRules } from '../../utils/validation/types';
5
2
  export type FieldData<FieldSchema> = {
6
3
  [fieldData in keyof FieldSchema]: FieldSchema[fieldData];
7
4
  };
8
- export type FieldValid<FieldSchema> = {
9
- [fieldValid in keyof FieldSchema]: boolean;
10
- };
11
- export type FieldErrors<FieldSchema> = {
12
- [fieldError in keyof FieldSchema]: string | boolean;
13
- };
14
5
  export type FieldLabels<FieldSchema> = {
15
6
  [fieldLabel in keyof FieldSchema]?: string;
16
7
  };
17
- export interface MaskSettings {
18
- mask?: Mask;
19
- transformOnType?: (val: string) => string;
20
- }
21
8
  export type FieldValue<InnerFormSchema> = InnerFormSchema[keyof InnerFormSchema];
22
9
  export interface FormState<InnerFormSchema> {
23
10
  schema?: Array<keyof InnerFormSchema>;
@@ -43,32 +30,6 @@ export interface Form<T> extends MultiFormState<T> {
43
30
  resetToDefaultData: () => void;
44
31
  defaultData?: T;
45
32
  }
46
- export interface BaseFormProps<FormSchema> {
47
- placeholders?: {
48
- [Field in keyof FormSchema]: TranslationKey;
49
- };
50
- labels?: {
51
- [Field in keyof FormSchema]: TranslationKey;
52
- };
53
- helperText?: {
54
- [Field in keyof FormSchema]: Translatable;
55
- };
56
- guidanceText?: {
57
- [Field in keyof FormSchema]: Translatable;
58
- };
59
- masks?: {
60
- [Field in keyof FormSchema]: MaskSettings;
61
- };
62
- data?: FormSchema;
63
- validators?: ValidatorRules<FormSchema>;
64
- ref?: any;
65
- heading?: string;
66
- name?: string;
67
- description?: string;
68
- readOnly?: boolean;
69
- shouldValidate?: boolean;
70
- trustedFieldsProvider?: TrustedFieldsProvider;
71
- }
72
33
  export type FormName<T> = keyof {
73
34
  [InnerFormName in keyof T]: T[InnerFormName];
74
35
  };
@@ -1,8 +1,7 @@
1
1
  import type { AsyncValidatorRules } from '../../utils/validation/types';
2
2
  import { ValidationResult } from '../../utils/validation/validationResult';
3
3
  import type { MultiFormState } from './types';
4
- export type TriggerAsyncValidation<FormSchema, InnerFormName extends keyof FormSchema> = (field: keyof FormSchema[InnerFormName], formName: InnerFormName, data?: FormSchema) => Promise<ValidationResult>;
5
- export type UseAsyncValidator<FormSchema> = {
4
+ type UseAsyncValidator<FormSchema> = {
6
5
  triggerAsyncFormValidation: <InnerFormName extends keyof FormSchema>(formName: InnerFormName, state: MultiFormState<FormSchema>, selectedSchema?: (keyof FormSchema[InnerFormName])[]) => Promise<Record<keyof FormSchema[InnerFormName], ValidationResult> & {
7
6
  isValid: boolean;
8
7
  }>;
@@ -14,3 +13,4 @@ export type UseAsyncValidator<FormSchema> = {
14
13
  * @param asyncRules
15
14
  */
16
15
  export declare const useMultiFormAsyncValidator: <T>(asyncRules?: { [InnerFormName in keyof T]: AsyncValidatorRules<T[InnerFormName]>; } | ((data?: T) => { [InnerFormName in keyof T]: AsyncValidatorRules<T[InnerFormName]>; })) => UseAsyncValidator<T>;
16
+ export {};