@adyen/kyc-components 3.74.3 → 3.75.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 (380) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Ck5vcITZ.js → AcceptTermsOfServiceComponent-C2Gjgc2-.js} +7 -13
  2. package/dist/{AccountSetupRejected-BTxTladO.js → AccountSetupRejected-CfbrJVbb.js} +2 -2
  3. package/dist/{Avatar-D3cma0Ca.js → Avatar-CkY4CsSc.js} +1 -1
  4. package/dist/{BusinessDetailsDropin-iP-5Iee_.js → BusinessDetailsDropin-DW_Hg4YJ.js} +95 -75
  5. package/dist/{BusinessFinancingComponent-CoOKkXsQ.js → BusinessFinancingComponent-CTLP0O1L.js} +3 -3
  6. package/dist/{BusinessFinancingDropin-CmgYopR_.js → BusinessFinancingDropin-DcfbYhTz.js} +9 -15
  7. package/dist/{BusinessFinancingPage-BpzZN6_M.js → BusinessFinancingPage-B0Oen8T1.js} +3 -3
  8. package/dist/{BusinessTypeSelectionPage-DmjIOdYQ.js → BusinessTypeSelectionPage-Bpem0_3N.js} +4 -6
  9. package/dist/{ContractViewer-3PX9_9q0.js → ContractViewer-Bi7A58HN.js} +1 -1
  10. package/dist/{CreateIndividualComponent-BIcKe___.js → CreateIndividualComponent-MXzIV9n7.js} +3 -4
  11. package/dist/{CreateTransferInstrumentComponent-03Lc-o4l.js → CreateTransferInstrumentComponent-DX1pUkXY.js} +2 -3
  12. package/dist/{CustomerSupport-Cau1epER.js → CustomerSupport-724suk5t.js} +5 -6
  13. package/dist/{DebugModal-CIhZupHm.js → DebugModal-jUQSIT6v.js} +10 -9
  14. package/dist/{DecisionMakerDetailsPage-BALNj-sG.js → DecisionMakerDetailsPage-UXcB8fo-.js} +3 -4
  15. package/dist/{DecisionMakers-DaeP2HJk.js → DecisionMakers-D6bYcN-b.js} +4 -6
  16. package/dist/{EmbeddedStatus-Chlr2BOy.js → EmbeddedStatus-D8snms5Y.js} +3 -3
  17. package/dist/{FormEndState-BoZjTIZQ.js → FormEndState-Bs082VlL.js} +1 -1
  18. package/dist/{FormFlow-DV4lzmaT.js → FormFlow-DgPgql4N.js} +2 -5
  19. package/dist/{IndividualOnfidoDropin-C5xkTx8D.js → IndividualOnfidoDropin-BYEK8-kb.js} +73 -84
  20. package/dist/{Introduction-DwMIAUVr.js → Introduction-X4A4JonO.js} +3 -4
  21. package/dist/{LegalRepresentativeDetailsPage-h0-QObw4.js → LegalRepresentativeDetailsPage-Ds1wqfhn.js} +3 -4
  22. package/dist/{ManageIndividualComponent-DTUmEsiI.js → ManageIndividualComponent-eiiqmrQf.js} +4 -4
  23. package/dist/{ManagePCIComponent-D--Sc5iS.js → ManagePCIComponent-C_A6KJQC.js} +4 -4
  24. package/dist/{ManageTermsOfServiceComponent-DAeZ5vYi.js → ManageTermsOfServiceComponent-C4rgA3Zn.js} +4 -4
  25. package/dist/{ManageTransferInstrumentComponent-CSmDe2Aj.js → ManageTransferInstrumentComponent-D_NpJ1fj.js} +4 -9
  26. package/dist/{OnboardingDropinComponent-BRiJTEi2.js → OnboardingDropinComponent-QAfknRI6.js} +117 -115
  27. package/dist/{ProviderButton-CWJ-FtN2.js → ProviderButton-C41BPE99.js} +3 -13
  28. package/dist/{Review-D00Ongqo.js → Review-BP1gRH2v.js} +3 -4
  29. package/dist/{RootBusinessDetailsPage-BbJiQRFS.js → RootBusinessDetailsPage-Dsc2ThxL.js} +3 -4
  30. package/dist/{RootIndividualDetailsPage-BCukNljO.js → RootIndividualDetailsPage-xO9XM84K.js} +3 -4
  31. package/dist/{SignPCIComponent-Bie5l5Pp.js → SignPCIComponent-Di6TH2l5.js} +6 -10
  32. package/dist/{SingpassSelection-BzR43Ssh.js → SingpassSelection-CwFd4cUK.js} +2 -2
  33. package/dist/{SoleProprietorshipPage-C7JFyBmF.js → SoleProprietorshipPage-Bk6cw9Fc.js} +3 -4
  34. package/dist/{SourceOfFunds.module-LqkzqWQw.js → SourceOfFunds.module-DlbpDtvU.js} +1 -1
  35. package/dist/{SourceOfFundsPage-DRcWTb4M.js → SourceOfFundsPage-DfuQzm8v.js} +36 -28
  36. package/dist/{StoreProvider-HRzOkLfJ.js → StoreProvider-DAebRaGX.js} +3205 -956
  37. package/dist/{TaskItemStatus-DFo5TC2Y.js → TaskItemStatus-BcXHGejj.js} +2 -2
  38. package/dist/{TaxReportingDropin-DaeK7OJ5.js → TaxReportingDropin-DTCfSOdX.js} +7 -8
  39. package/dist/{TileGroup-CyOXU1VM.js → TileGroup-DoHVu5fx.js} +2 -2
  40. package/dist/{TrustDetailsPage-BGTV2VoA.js → TrustDetailsPage-B472vaxW.js} +12 -36
  41. package/dist/{TrustMemberCompanyPage-CORiuRx_.js → TrustMemberCompanyPage-BPUYsM0C.js} +4 -5
  42. package/dist/{TrustMemberIndividualPage-CCYWbLgI.js → TrustMemberIndividualPage-DskGhF4-.js} +3 -4
  43. package/dist/{UnincorporatedPartnershipIndividualPage-BZaQMQIr.js → UnincorporatedPartnershipIndividualPage-CtIZnOD_.js} +3 -4
  44. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CqxV_reO.js → UnincorporatedPartnershipMemberCompanyPage-zICGgwMK.js} +3 -4
  45. package/dist/{VerificationErrorAlert-D-7UwDcj.js → VerificationErrorAlert-DrYrhePc.js} +2 -2
  46. package/dist/{ViewVerificationStatusComponent-Cbx4hMbW.js → ViewVerificationStatusComponent-CuahWp9y.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-CjGexWiH.js → css-C0E5Jx17.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-V_dOfMAx.js → getFieldsWithExistingData-DCVuD0lR.js} +2 -2
  70. package/dist/{hasDataChanged-8P9Lq6q6.js → hasDataChanged-BPldDCDA.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-CC14oka4.js → individualFormConfig-7KIVtibX.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-BDCUvP6f.js → json-C4Tdz70o.js} +2 -2
  77. package/dist/{localizeDateString-DT4qdmzP.js → localizeDateString-SMxMQ2Kc.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-BSpq38Ec.js → mapFinancialReportsToFinancialInformation-BQ61tSxK.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-CRAmB2-f.js → plaintext-BnZzPiVL.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-tasvyH9Q.js → resolveEnvironment-Cp9vnHw_.js} +3 -3
  89. package/dist/{ro-RO-r8myUMxM.js → ro-RO-ZTuJtIop.js} +49 -3
  90. package/dist/{rules-6t6CtVMU.js → rules-Dg3nwm78.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-DxlQ1Mkc.js → useMultiForm-B_SrTfOp.js} +2 -2
  339. package/dist/{useOnboardingStatus-BhjtrqPQ.js → useOnboardingStatus-CyCPc1vj.js} +1 -1
  340. package/dist/{useSalesChannelsSettings-4cf4pJ0N.js → useSalesChannelsSettings-BVJXTzlR.js} +2 -2
  341. package/dist/{useTermsOfServiceStatus-CExwHP29.js → useTermsOfServiceStatus-8XdGXbPl.js} +4 -4
  342. package/dist/{useUpdateLegalEntity-D1AbV8w_.js → useUpdateLegalEntity-Yr0adese.js} +2 -2
  343. package/dist/{utils-vsa5CskP.js → utils-GZDRmFSR.js} +4 -4
  344. package/dist/{validate-y0pyKWME.js → validate-BlofB0F6.js} +2 -2
  345. package/dist/{validate-tGjEyd8Q.js → validate-DIQCrjk7.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-B7DVK1fQ.js → yaml-BN5PYhM7.js} +2 -2
  351. package/package.json +1 -1
  352. package/dist/Confirm-CSYow9zX.js +0 -56
  353. package/dist/FormNavigation-B0U6S6OX.js +0 -145
  354. package/dist/FormWrapper-BGT0y0_A.js +0 -149
  355. package/dist/MaybeModal-Dnx2ARAl.js +0 -18
  356. package/dist/Modal-CAvMYaEN.js +0 -135
  357. package/dist/PayoutDetailsDropin-DV9Dz3yb.js +0 -901
  358. package/dist/PayoutDetailsPage-ChrYPNyW.js +0 -57
  359. package/dist/Spacer-BK3jDget.js +0 -18
  360. package/dist/StepProgressIndicator-CBua2pA0.js +0 -74
  361. package/dist/documentUtils-Bx37-uJ_.js +0 -226
  362. package/dist/dropinUtils-B4hMy9jU.js +0 -204
  363. package/dist/mapExistingFile-BE74t9jV.js +0 -25
  364. package/dist/mapTransferInstrumentToPayoutAccount-D2ouRoHp.js +0 -30
  365. package/dist/omitObscuredFieldsIfUnchanged-jdf97C04.js +0 -28
  366. package/dist/process-field-configurations-BWHX3P5x.js +0 -185
  367. package/dist/processValidationErrors-C6TDpZz0.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/useToastContext-DJS5737s.js +0 -21
  371. package/dist/utils-B1H_8b1P.js +0 -74
  372. /package/dist/types/{core/types/AccountHolder.types.d.ts → types/accountHolder.d.ts} +0 -0
  373. /package/dist/types/{core/models → types/datasets}/country-code.d.ts +0 -0
  374. /package/dist/types/{core/models → types/datasets}/currency.d.ts +0 -0
  375. /package/dist/types/{core/models → types/datasets}/province-code.d.ts +0 -0
  376. /package/dist/types/{core/models → types/datasets}/state-code.d.ts +0 -0
  377. /package/dist/types/{core/models → types}/errors/form-verification-errors.d.ts +0 -0
  378. /package/dist/types/{core/models → types}/errors/maintenance-mode-error.d.ts +0 -0
  379. /package/dist/types/{core/models → types}/errors/remediation-action-context.d.ts +0 -0
  380. /package/dist/types/{core/models → types}/file.d.ts +0 -0
@@ -2,25 +2,19 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d497a2ae-fff5-4c8e-9cc1-ab6474ed6810", e._sentryDebugIdIdentifier = "sentry-dbid-d497a2ae-fff5-4c8e-9cc1-ab6474ed6810");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea20e472-6cf8-4125-8f2b-69bf6f600571", e._sentryDebugIdIdentifier = "sentry-dbid-ea20e472-6cf8-4125-8f2b-69bf6f600571");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect, useCallback } from "preact/hooks";
12
- import { p as useApiContext, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, q as useQuery, w as skipToken, r as httpGet, aI as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, ar as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, aL as ActionBar, y as LegalEntityType, ac as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ai as getLegalEntityNameBasedOnType, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-HRzOkLfJ.js";
13
- import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CExwHP29.js";
14
- import { M as MaybeModal } from "./MaybeModal-Dnx2ARAl.js";
15
- import { b as ModalContent, c as ModalFooter } from "./Modal-CAvMYaEN.js";
16
- import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-3PX9_9q0.js";
17
- import { S as Spacer } from "./Spacer-BK3jDget.js";
18
- import { S as StepProgressIndicator } from "./StepProgressIndicator-CBua2pA0.js";
19
- import { u as useToastContext } from "./useToastContext-DJS5737s.js";
20
- import { F as FormEndState } from "./FormEndState-BoZjTIZQ.js";
21
- import { F as FormNavigation } from "./FormNavigation-B0U6S6OX.js";
12
+ import { p as useApiContext, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, aK as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, at as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, ay as Field, bI as Select, bG as Checkbox, aO as ActionBar, bH as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bv as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, ae as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ak as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-DAebRaGX.js";
13
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-8XdGXbPl.js";
14
+ import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-Bi7A58HN.js";
15
+ import { F as FormEndState } from "./FormEndState-Bs082VlL.js";
22
16
  import { d as downloadFile } from "./file-CiG1D0zy.js";
23
- import { l as localizeDateString } from "./localizeDateString-DT4qdmzP.js";
17
+ import { l as localizeDateString } from "./localizeDateString-SMxMQ2Kc.js";
24
18
  const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
25
19
  return httpPost(
26
20
  {
@@ -453,7 +447,7 @@ function ServiceAgreementDropin({
453
447
  {
454
448
  name: "signer",
455
449
  label: i18n.get("signer"),
456
- classNameModifiers: ["col-50"],
450
+ classNameModifiers: ["signer", "col-50"],
457
451
  className: "adyen-kyc-u-margin-top-32",
458
452
  errorMessage: (_a = errors.signer) == null ? void 0 : _a.errorMessage,
459
453
  isValid: valid.signer,
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-HRzOkLfJ.js";
12
- import { D as DropinLayout } from "./OnboardingDropinComponent-BRiJTEi2.js";
11
+ import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-DAebRaGX.js";
12
+ import { D as DropinLayout } from "./OnboardingDropinComponent-QAfknRI6.js";
13
13
  function AccountSetupRejected() {
14
14
  const { i18n } = useI18nContext();
15
15
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { a2 as Icon } from "./StoreProvider-HRzOkLfJ.js";
12
+ import { a2 as Icon } from "./StoreProvider-DAebRaGX.js";
13
13
  const avatar = "adyen-kyc-avatar";
14
14
  const avatarLabel = "adyen-kyc-avatar-label";
15
15
  const avatarPrimary = "adyen-kyc-avatar-primary";
@@ -2,30 +2,20 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "26293839-0b7c-4deb-b9eb-26398db53045", e._sentryDebugIdIdentifier = "sentry-dbid-26293839-0b7c-4deb-b9eb-26398db53045");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0f7338dc-12fb-41e0-9acc-cddb2aea3f4f", e._sentryDebugIdIdentifier = "sentry-dbid-0f7338dc-12fb-41e0-9acc-cddb2aea3f4f");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { p as useApiContext, b4 as useMutation, b6 as httpPost, q as useQuery, dq as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, d5 as MemoizedDocumentUpload, Y as Button, C as Typography, al as CountryCodes, O as CompanyTypesValue, bR as useGlobalData, dr as getForms, W as TaskTypes, ds as BasicInformation, bx as getFormProps, dt as CompanyStructure, du as AdditionalInformation, dv as MemoizedConstitutionalDocument, y as LegalEntityType, dw as FinancialInformation, b2 as entriesOf, b8 as businessDetailsComponentsKeyMapping, dx as solePropBusinessDetailsKeyMapping, aX as objectsDeepEqual, dy as operationalAddressIsSameIds, dz as COUNTRIES_USING_COMPANY_SEARCH, dA as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bA as keysOf, i as isUndefinedOrNull, aG as summaryItem, dB as solePropBusinessDetailsApiKeyMapping, dc as businessDetailsApiKeyMapping, by as isEmpty, dC as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aZ as datasetUtilities, cp as mapAddressLabels, dD as companyTypeMetadata, am as isEmpty$1, aI as createLogger, co as filterOutUnwantedAssociationsIfRootLE, dE as documentFormsIds, ao as resolveFieldMetadata, dF as defaultFieldMetadata, dG as inferCompanyRegistrationNumberType, dH as getCompanyRegistrationNumberOptions, dI as defaultFieldConfig, c9 as defaultFieldMetadata$1, dJ as countryToTaxInfoTypeMap, ca as defaultFieldConfig$1, dK as getKeyForField, ct as drop, aj as getOwnEntityAssociations, cx as doArraysMatch, P as useAccountHolder, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, dL as verifiedBusiness, ba as useQueryClient, bF as useStateContext, K as SettingNames, dM as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a_ as getCapabilityProblems, dN as rules, dO as useCompanyDataset, dP as useVerifyTin, dQ as setVerifiedBusiness, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./StoreProvider-HRzOkLfJ.js";
11
+ import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dM as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dC as MemoizedDocumentUpload, Y as Button, b2 as Modal, b4 as ModalContent, C as Typography, an as CountryCodes, O as CompanyTypesValue, b_ as useGlobalData, dN as getForms, W as TaskTypes, dO as BasicInformation, bK as getFormProps, dP as CompanyStructure, dQ as AdditionalInformation, dR as MemoizedConstitutionalDocument, y as LegalEntityType, dS as FinancialInformation, bQ as formatObject, bc as entriesOf, cw as getDocument, cx as mapExistingFile, cy as getPageName, bk as businessDetailsComponentsKeyMapping, dT as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dU as operationalAddressIsSameIds, dV as COUNTRIES_USING_COMPANY_SEARCH, dW as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dp as keysOf, i as isUndefinedOrNull, aI as summaryItem, dX as solePropBusinessDetailsApiKeyMapping, dY as businessDetailsApiKeyMapping, bL as isEmpty, dZ as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cB as createDocumentRequest, d_ as augmentWithCountryConfigs, c8 as composePerScenarioFormConfigurations, b0 as datasetUtilities, cQ as mapAddressLabels, d$ as companyTypeMetadata, bS as getProp, ao as isEmpty$1, aK as createLogger, cP as filterOutUnwantedAssociationsIfRootLE, ca as isValidationError, cb as processValidationErrors, cc as isMaintenanceModeError, e0 as documentFormsIds, aq as resolveFieldMetadata, e1 as defaultFieldMetadata, e2 as inferCompanyRegistrationNumberType, e3 as getCompanyRegistrationNumberOptions, e4 as defaultFieldConfig, cr as defaultFieldMetadata$1, e5 as countryToTaxInfoTypeMap, cs as defaultFieldConfig$1, e6 as getKeyForField, cU as drop, al as getOwnEntityAssociations, c_ as doArraysMatch, cW as getFileExtention, P as useAccountHolder, a4 as useToastContext, _ as useAnalyticsContext, a5 as useExperimentsContext, J as useSettingsContext, e7 as verifiedBusiness, bm as useQueryClient, c5 as useStateContext, K as SettingNames, e8 as setIsBankAccountRequestedForOrganization, c6 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cE as documentApiUtils, c3 as useScenarioConfiguration, e9 as rules, c4 as getPropsFromConfigurations, ea as useCompanySelection, eb as useVerifyTin, bM as getRequiredForms, bN as addValidityToForms, bO as useFormComposer, ec as setVerifiedBusiness, c7 as FormWrapper, b8 as Confirm, ed as solePropBusinessDetailsDocumentMapping, ee as businessDetailsDocumentMapping } from "./StoreProvider-DAebRaGX.js";
12
12
  import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D1AbV8w_.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-8P9Lq6q6.js";
15
- import { u as useToastContext } from "./useToastContext-DJS5737s.js";
16
- import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BWHX3P5x.js";
17
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B4hMy9jU.js";
18
- import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-C6TDpZz0.js";
19
- import { C as Confirm } from "./Confirm-CSYow9zX.js";
20
- import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-vsa5CskP.js";
21
- import { F as FormWrapper } from "./FormWrapper-BGT0y0_A.js";
22
- import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-Bx37-uJ_.js";
23
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-V_dOfMAx.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-BPldDCDA.js";
15
+ import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-GZDRmFSR.js";
16
+ import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DCVuD0lR.js";
24
17
  import cx from "classnames";
25
- import { M as Modal, b as ModalContent } from "./Modal-CAvMYaEN.js";
26
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BSpq38Ec.js";
27
- import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
28
- import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
18
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BQ61tSxK.js";
29
19
  import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
30
20
  const clearCompanyData = async (legalEntityId, baseUrl) => {
31
21
  return httpPost({
@@ -134,6 +124,7 @@ function ProofOfDirectorDocument({
134
124
  documentType: "proofOfDirector",
135
125
  guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$4, {}),
136
126
  country,
127
+ hidePageCount: true,
137
128
  documentTypeSelect: {
138
129
  selectedType: selectedDocumentName,
139
130
  setSelectedType: setSelectedDocumentName,
@@ -289,6 +280,7 @@ function ProofOfSignatoryDocument({
289
280
  documentType: "proofOfSignatory",
290
281
  guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$2, {}),
291
282
  country,
283
+ hidePageCount: true,
292
284
  documentTypeSelect: {
293
285
  selectedType: selectedDocumentName,
294
286
  setSelectedType: setSelectedDocumentName,
@@ -410,7 +402,8 @@ function RegistrationDocument({
410
402
  documentType: "registrationDocument",
411
403
  guidanceContent: /* @__PURE__ */ jsx(GuidanceContent$1, { country, companyType }),
412
404
  companyType,
413
- country
405
+ country,
406
+ hidePageCount: true
414
407
  }
415
408
  );
416
409
  }
@@ -509,7 +502,8 @@ function TaxDocument({
509
502
  documentType: "proofOfOrganizationTaxInfo",
510
503
  guidanceContent: /* @__PURE__ */ jsx(GuidanceContent, { country, companyType }),
511
504
  companyType,
512
- country
505
+ country,
506
+ hidePageCount: true
513
507
  }
514
508
  );
515
509
  }
@@ -613,6 +607,7 @@ function BusinessDetails(props) {
613
607
  description: i18n.get(forms.companyTaxDocument.formDescription),
614
608
  documentField: "taxDocument",
615
609
  documentType: "vatDocument",
610
+ hidePageCount: true,
616
611
  guidanceContent: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-u-margin-bottom-24", children: [
617
612
  /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-upload-field__subtitle", children: [
618
613
  " ",
@@ -774,12 +769,17 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
774
769
  companyConstitutionalDocument
775
770
  } = mapApiDocumentToBusinessDetailsDocuments(legalEntity.id);
776
771
  const buildSolePropSchema = () => {
777
- var _a, _b, _c;
772
+ var _a, _b, _c, _d;
778
773
  const solePropData = formatObject(
779
774
  legalEntity,
780
775
  solePropBusinessDetailsKeyMapping
781
776
  );
782
777
  const country = ((_b = (_a = solePropData == null ? void 0 : solePropData.additionalInformation) == null ? void 0 : _a.registrationAddress) == null ? void 0 : _b.country) ?? ((_c = parentEntity == null ? void 0 : parentEntity.individual) == null ? void 0 : _c.residentialAddress.country);
778
+ if (((_d = legalEntity == null ? void 0 : legalEntity.soleProprietorship) == null ? void 0 : _d.financialReports) && solePropData) {
779
+ solePropData.companyFinancialInformation = mapFinancialReportsToFinancialInformation(
780
+ legalEntity.soleProprietorship.financialReports
781
+ );
782
+ }
783
783
  return {
784
784
  ...solePropData,
785
785
  basicInformation: {
@@ -800,7 +800,7 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
800
800
  };
801
801
  const businessDetailsSchema = legalEntity.type === "organization" ? orgSchema : buildSolePropSchema();
802
802
  return entriesOf(businessDetailsSchema).reduce((componentData, [key]) => {
803
- var _a;
803
+ var _a, _b;
804
804
  switch (key) {
805
805
  case "basicInformation": {
806
806
  return {
@@ -859,11 +859,10 @@ const mapLegalEntityToBusinessDetailsSchema = (legalEntity, parentEntity) => {
859
859
  };
860
860
  }
861
861
  case "companyFinancialInformation": {
862
- return ((_a = legalEntity == null ? void 0 : legalEntity.organization) == null ? void 0 : _a.financialReports) ? {
862
+ const financialReports = legalEntity.type === "organization" ? (_a = legalEntity == null ? void 0 : legalEntity.organization) == null ? void 0 : _a.financialReports : (_b = legalEntity == null ? void 0 : legalEntity.soleProprietorship) == null ? void 0 : _b.financialReports;
863
+ return financialReports ? {
863
864
  ...componentData,
864
- [key]: mapFinancialReportsToFinancialInformation(
865
- legalEntity.organization.financialReports
866
- )
865
+ [key]: mapFinancialReportsToFinancialInformation(financialReports)
867
866
  } : componentData;
868
867
  }
869
868
  default:
@@ -1567,7 +1566,7 @@ function BusinessDetailsDropin({
1567
1566
  onSubmit: onExternalSubmit,
1568
1567
  handleHomeClick
1569
1568
  }) {
1570
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
1569
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
1571
1570
  const formRef = useRef(null);
1572
1571
  const { accountHolder, setAccountHolder } = useAccountHolder();
1573
1572
  const { showToast } = useToastContext();
@@ -1593,12 +1592,11 @@ function BusinessDetailsDropin({
1593
1592
  const isSkippingCompanyStructure = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(
1594
1593
  (_b = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _b.type
1595
1594
  ) && accountHolder !== "aTrust" || isSoleProp;
1596
- const [prevLegalEntityResponse, setPrevLegalEntityResponse] = useState(legalEntityResponse);
1597
- if (prevLegalEntityResponse !== legalEntityResponse) {
1598
- const isBankAccountRequested = (_d = (_c = legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) == null ? void 0 : _c.issueBankAccount) == null ? void 0 : _d.requested;
1595
+ useEffect(() => {
1596
+ var _a2, _b2;
1597
+ const isBankAccountRequested = (_b2 = (_a2 = legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) == null ? void 0 : _a2.issueBankAccount) == null ? void 0 : _b2.requested;
1599
1598
  setIsBankAccountRequestedForOrganization(isBankAccountRequested);
1600
- setPrevLegalEntityResponse(legalEntityResponse);
1601
- }
1599
+ }, [legalEntityResponse]);
1602
1600
  const subjectEntity = !isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement : nestedLegalEntity;
1603
1601
  const associatedLeTrackingParams = getAssociatedLeAnalyticsPayload({
1604
1602
  associatedLegalEntity: associatedLegalArrangement
@@ -1607,6 +1605,10 @@ function BusinessDetailsDropin({
1607
1605
  userEvents.updateBaseTrackingPayload({ task: taskType });
1608
1606
  userEvents.addTaskEvent("Landed on page", {
1609
1607
  actionType: "start",
1608
+ ...(subjectEntity == null ? void 0 : subjectEntity.id) && (subjectEntity == null ? void 0 : subjectEntity.type) && {
1609
+ legalEntityId: subjectEntity.id,
1610
+ entityType: subjectEntity.type
1611
+ },
1610
1612
  ...associatedLeTrackingParams
1611
1613
  });
1612
1614
  }, []);
@@ -1619,7 +1621,7 @@ function BusinessDetailsDropin({
1619
1621
  });
1620
1622
  const [trustedFields, setTrustedFields] = useState((subjectEntity == null ? void 0 : subjectEntity.trustedFields) ?? void 0);
1621
1623
  const [currentProblems, setCurrentProblems] = useState(
1622
- problems ?? ((_f = (_e = getCapabilityProblems(legalEntityResponse, currentCountry)) == null ? void 0 : _e.LegalEntity) == null ? void 0 : _f[legalEntityResponse.id])
1624
+ problems ?? ((_d = (_c = getCapabilityProblems(legalEntityResponse, currentCountry)) == null ? void 0 : _c.LegalEntity) == null ? void 0 : _d[legalEntityResponse.id])
1623
1625
  );
1624
1626
  const [showCompanyStructure, setShowCompanyStructure] = useState(
1625
1627
  currentCountry !== "US" && !isSoleProp
@@ -1732,32 +1734,41 @@ function BusinessDetailsDropin({
1732
1734
  }
1733
1735
  );
1734
1736
  const companySearchResults = companySearchResponse == null ? void 0 : companySearchResponse.results;
1735
- const businessName = ((_h = (_g = currentState == null ? void 0 : currentState.data) == null ? void 0 : _g.basicInformation) == null ? void 0 : _h.legalCompanyName) || "";
1736
- const nameMatch = isNormalizedStringMatch(businessName, ((_i = companySearchResults == null ? void 0 : companySearchResults[0]) == null ? void 0 : _i.name) ?? "");
1737
- const taxInformation = (_k = (_j = currentState == null ? void 0 : currentState.data) == null ? void 0 : _j.basicInformation) == null ? void 0 : _k.taxInformation;
1738
- const tin = ((_l = taxInformation == null ? void 0 : taxInformation.find((taxId) => currentCountry === taxId.country)) == null ? void 0 : _l.number) || "";
1737
+ const businessName = ((_f = (_e = currentState == null ? void 0 : currentState.data) == null ? void 0 : _e.basicInformation) == null ? void 0 : _f.legalCompanyName) || "";
1738
+ const nameMatch = isNormalizedStringMatch(businessName, ((_g = companySearchResults == null ? void 0 : companySearchResults[0]) == null ? void 0 : _g.name) ?? "");
1739
+ const taxInformation = (_i = (_h = currentState == null ? void 0 : currentState.data) == null ? void 0 : _h.basicInformation) == null ? void 0 : _i.taxInformation;
1740
+ const tin = ((_j = taxInformation == null ? void 0 : taxInformation.find((taxId) => currentCountry === taxId.country)) == null ? void 0 : _j.number) || "";
1739
1741
  const [prevCompanySearchResults, setPrevCompanySearchResults] = useState(companySearchResults);
1740
- const { data: singleCompanyDatasetResponse, isLoading: fetchingDataset } = useCompanyDataset(
1741
- singleCompanyDatasetParams,
1742
- {
1743
- enabled: !!singleCompanyDatasetParams && showBusinessSelection
1742
+ useEffect(() => {
1743
+ if (!searchingCompanies && companySearchResults) {
1744
+ userEvents.addPageEvent("Success", {
1745
+ actionType: "submit",
1746
+ label: "companySearch",
1747
+ additionalData: {
1748
+ numberOfResults: companySearchResults.length
1749
+ },
1750
+ ...(subjectEntity == null ? void 0 : subjectEntity.id) && (subjectEntity == null ? void 0 : subjectEntity.type) && {
1751
+ legalEntityId: subjectEntity.id,
1752
+ entityType: subjectEntity.type
1753
+ },
1754
+ ...associatedLeTrackingParams
1755
+ });
1744
1756
  }
1745
- );
1757
+ }, [
1758
+ searchingCompanies,
1759
+ companySearchResults,
1760
+ userEvents,
1761
+ subjectEntity,
1762
+ associatedLeTrackingParams
1763
+ ]);
1746
1764
  const {
1747
- data: tinResponse,
1748
- isLoading: verifyingTin,
1749
- refetch: fetchTin
1750
- } = useVerifyTin(
1751
- {
1752
- name: businessName,
1753
- tin
1754
- },
1755
- /** With a single result that DOES match the user-provided name, we attempt TIN verification after dataset retrieval */
1756
- {
1757
- enabled: !!singleCompanyDatasetResponse && showBusinessSelection
1758
- }
1759
- );
1760
- const [prevTinResponse, setPrevTinResponse] = useState(tinResponse == null ? void 0 : tinResponse.matched);
1765
+ data: singleCompanyDatasetAndTinResponse,
1766
+ isLoading: fetchingDataset,
1767
+ refetch: getCompanySelection
1768
+ } = useCompanySelection(singleCompanyDatasetParams, {
1769
+ enabled: !!singleCompanyDatasetParams && showBusinessSelection
1770
+ });
1771
+ const { refetch: fetchTin } = useVerifyTin({ name: businessName, tin }, { enabled: false });
1761
1772
  const forms = useMemo(() => {
1762
1773
  const requiredForms = getRequiredForms(
1763
1774
  initialForms,
@@ -1864,7 +1875,7 @@ function BusinessDetailsDropin({
1864
1875
  forms,
1865
1876
  onSubmit: submitTask
1866
1877
  });
1867
- const loading = fetchingDataset || verifyingTin || searchingCompanies || resettingTrustedData;
1878
+ const loading = fetchingDataset || searchingCompanies || resettingTrustedData;
1868
1879
  const proceedToManualDataEntry = useCallback(async () => {
1869
1880
  await clearCompanyData2().then(async () => {
1870
1881
  if (!isUS) {
@@ -1883,11 +1894,12 @@ function BusinessDetailsDropin({
1883
1894
  setBusinessMismatchModalOpen(true);
1884
1895
  setTinMatched(false);
1885
1896
  if ((subjectEntity == null ? void 0 : subjectEntity.id) && (subjectEntity == null ? void 0 : subjectEntity.type)) {
1886
- userEvents.addTaskEvent("Opened modal", {
1887
- actionType: "open",
1897
+ userEvents.addPageEvent("Encountered error", {
1898
+ actionType: "submit",
1888
1899
  label: "tinVerificationFailure",
1889
1900
  legalEntityId: subjectEntity.id,
1890
- entityType: subjectEntity.type
1901
+ entityType: subjectEntity.type,
1902
+ ...associatedLeTrackingParams
1891
1903
  });
1892
1904
  }
1893
1905
  }
@@ -1897,27 +1909,35 @@ function BusinessDetailsDropin({
1897
1909
  isUS,
1898
1910
  businessName,
1899
1911
  tin,
1900
- fetchTin,
1912
+ getCompanySelection,
1901
1913
  subjectEntity == null ? void 0 : subjectEntity.id,
1902
1914
  subjectEntity == null ? void 0 : subjectEntity.type,
1915
+ associatedLeTrackingParams,
1903
1916
  userEvents
1904
1917
  ]);
1905
- if (prevCompanySearchResults !== companySearchResults || prevTinResponse !== (tinResponse == null ? void 0 : tinResponse.matched)) {
1918
+ if (prevCompanySearchResults !== companySearchResults) {
1906
1919
  if ((companySearchResults == null ? void 0 : companySearchResults.length) === 1 && nameMatch) {
1907
1920
  setSingleCompanyDatasetParams({
1908
1921
  company: companySearchResults[0],
1909
- state: (_m = currentState.data.basicInformation) == null ? void 0 : _m.stateOrProvince
1922
+ state: (_k = currentState.data.basicInformation) == null ? void 0 : _k.stateOrProvince,
1923
+ name: businessName,
1924
+ tin
1910
1925
  });
1911
- if ((tinResponse == null ? void 0 : tinResponse.matched) === true) {
1912
- setVerifiedBusiness(singleCompanyDatasetResponse);
1913
- handleNextClick();
1914
- }
1915
1926
  } else if ((companySearchResults == null ? void 0 : companySearchResults.length) === 0 && !searchingCompanies && showBusinessSelection) {
1916
1927
  proceedToManualDataEntry();
1917
1928
  }
1918
- setPrevTinResponse(tinResponse == null ? void 0 : tinResponse.matched);
1919
1929
  setPrevCompanySearchResults(companySearchResults);
1920
1930
  }
1931
+ const [prevSingleCompanyDatasetResponse, setPrevSingleCompanyDatasetResponse] = useState(
1932
+ singleCompanyDatasetAndTinResponse
1933
+ );
1934
+ if (prevSingleCompanyDatasetResponse !== singleCompanyDatasetAndTinResponse) {
1935
+ if ((singleCompanyDatasetAndTinResponse == null ? void 0 : singleCompanyDatasetAndTinResponse.tinMatched) === true) {
1936
+ setVerifiedBusiness(singleCompanyDatasetAndTinResponse);
1937
+ handleNextClick();
1938
+ }
1939
+ setPrevSingleCompanyDatasetResponse(singleCompanyDatasetAndTinResponse);
1940
+ }
1921
1941
  useEffect(() => {
1922
1942
  if (searchingError) {
1923
1943
  proceedToManualDataEntry();
@@ -1977,11 +1997,11 @@ function BusinessDetailsDropin({
1977
1997
  isSoleProp,
1978
1998
  handleNextClick,
1979
1999
  activeForm.formId,
1980
- (_n = currentState.validityByForm) == null ? void 0 : _n.basicInformation,
1981
- (_o = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _o.legalCompanyName,
1982
- (_p = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _p.country,
1983
- (_q = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _q.stateOrProvince,
1984
- (_r = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _r.registrationNumber,
2000
+ (_l = currentState.validityByForm) == null ? void 0 : _l.basicInformation,
2001
+ (_m = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _m.legalCompanyName,
2002
+ (_n = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _n.country,
2003
+ (_o = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _o.stateOrProvince,
2004
+ (_p = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _p.registrationNumber,
1985
2005
  isBusinessSelection,
1986
2006
  verifiedBusiness$1,
1987
2007
  country
@@ -2062,19 +2082,19 @@ function BusinessDetailsDropin({
2062
2082
  ]);
2063
2083
  useEffect(() => {
2064
2084
  var _a2, _b2, _c2;
2065
- if (((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.legalCompanyName) !== (verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && (((_b2 = currentState.data.basicInformation) == null ? void 0 : _b2.legalCompanyName) !== companySearchParams.legalCompanyName || ((_c2 = currentState.data.basicInformation) == null ? void 0 : _c2.stateOrProvince) !== companySearchParams.stateOrProvince)) {
2085
+ if ((verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && ((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.legalCompanyName) !== (verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && (((_b2 = currentState.data.basicInformation) == null ? void 0 : _b2.legalCompanyName) !== companySearchParams.legalCompanyName || ((_c2 = currentState.data.basicInformation) == null ? void 0 : _c2.stateOrProvince) !== companySearchParams.stateOrProvince)) {
2066
2086
  setShowCompanyStructure(false);
2067
2087
  resetBusinessData();
2068
2088
  }
2069
2089
  }, [
2070
2090
  companySearchParams,
2071
2091
  currentState.data.basicInformation,
2072
- (_s = currentState.data.basicInformation) == null ? void 0 : _s.legalCompanyName,
2092
+ (_q = currentState.data.basicInformation) == null ? void 0 : _q.legalCompanyName,
2073
2093
  resetBusinessData,
2074
2094
  verifiedBusiness$1
2075
2095
  ]);
2076
2096
  const [prevCurrentCountry, setPrevCurrentCountry] = useState(currentCountry);
2077
- if (prevCurrentCountry !== currentCountry && (trustedFields == null ? void 0 : trustedFields.length) && ((_t = legalEntityResponse.organization) == null ? void 0 : _t.registeredAddress.country) !== currentCountry) {
2097
+ if (prevCurrentCountry !== currentCountry && (trustedFields == null ? void 0 : trustedFields.length) && ((_r = legalEntityResponse.organization) == null ? void 0 : _r.registeredAddress.country) !== currentCountry) {
2078
2098
  setTrustedFields(void 0);
2079
2099
  setPrevCurrentCountry(currentCountry);
2080
2100
  }
@@ -2,15 +2,15 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4eada521-a02d-40cc-9368-ec98f0bd0feb", e._sentryDebugIdIdentifier = "sentry-dbid-4eada521-a02d-40cc-9368-ec98f0bd0feb");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "92a6bb37-7366-4eca-a07f-d7b0505d2bc8", e._sentryDebugIdIdentifier = "sentry-dbid-92a6bb37-7366-4eca-a07f-d7b0505d2bc8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-HRzOkLfJ.js";
13
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CmgYopR_.js";
12
+ import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-DAebRaGX.js";
13
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DcfbYhTz.js";
14
14
  function BusinessFinancingComponent({
15
15
  legalEntityId,
16
16
  onSubmitSuccess
@@ -2,27 +2,21 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cb44bad6-6541-472b-b57f-509de371eb0c", e._sentryDebugIdIdentifier = "sentry-dbid-cb44bad6-6541-472b-b57f-509de371eb0c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02126333-3b95-4355-a2d5-d945f1126a05", e._sentryDebugIdIdentifier = "sentry-dbid-02126333-3b95-4355-a2d5-d945f1126a05");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
12
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D1AbV8w_.js";
13
- import { bI as reverseMapping, bJ as isEeaCountry, y as LegalEntityType, b0 as cloneObject, am as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aw as Field, bv as Select, C as Typography, aS as RadioGroup, bK as Link, bf as InputText, b1 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, b3 as useInvalidateRootLegalEntity, ak as useAssociatedLegalEntity, aZ as datasetUtilities, bF as useStateContext, J as useSettingsContext, K as SettingNames, bW as getAssociatedLeAnalyticsPayload, bx as getFormProps, L as Loader, a2 as Icon, Y as Button } from "./StoreProvider-HRzOkLfJ.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-8P9Lq6q6.js";
15
- import { u as useToastContext } from "./useToastContext-DJS5737s.js";
16
- import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-C6TDpZz0.js";
17
- import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BWHX3P5x.js";
18
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-B4hMy9jU.js";
19
- import { F as FormEndState } from "./FormEndState-BoZjTIZQ.js";
20
- import { F as FormWrapper } from "./FormWrapper-BGT0y0_A.js";
21
- import { l as localizeDateString } from "./localizeDateString-DT4qdmzP.js";
22
- import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
23
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BSpq38Ec.js";
24
- import { f as fieldsPerScenario } from "./individualFormConfig-CC14oka4.js";
25
- import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-tGjEyd8Q.js";
12
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
13
+ import { bP as reverseMapping, bQ as formatObject, bR as isEeaCountry, y as LegalEntityType, ba as cloneObject, bS as getProp, ao as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, ay as Field, bI as Select, C as Typography, aV as RadioGroup, bT as Link, bp as InputText, bb as currencyByCountry, bU as InputNumber, bV as InputDate, bW as Currency, bX as CURRENCY_FIELD, bY as InputCurrency, at as useForm, bZ as useGlobalDataSlice, aw as ErrorPanel, ax as createFormUtils, b_ as useGlobalData, b$ as getAddressSchemaForCountry, c0 as COUNTRIES_WITH_STATES_DATASET, c1 as Address, c2 as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, be as useInvalidateRootLegalEntity, am as useAssociatedLegalEntity, b0 as datasetUtilities, a4 as useToastContext, c3 as useScenarioConfiguration, c4 as getPropsFromConfigurations, c5 as useStateContext, bM as getRequiredForms, bN as addValidityToForms, J as useSettingsContext, K as SettingNames, c6 as getAssociatedLeAnalyticsPayload, bO as useFormComposer, bK as getFormProps, L as Loader, a2 as Icon, Y as Button, c7 as FormWrapper, c8 as composePerScenarioFormConfigurations, c9 as trackNavigation, ca as isValidationError, cb as processValidationErrors, cc as isMaintenanceModeError } from "./StoreProvider-DAebRaGX.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-BPldDCDA.js";
15
+ import { F as FormEndState } from "./FormEndState-Bs082VlL.js";
16
+ import { l as localizeDateString } from "./localizeDateString-SMxMQ2Kc.js";
17
+ import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BQ61tSxK.js";
18
+ import { f as fieldsPerScenario } from "./individualFormConfig-7KIVtibX.js";
19
+ import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-DIQCrjk7.js";
26
20
  const MANDATORY_FIELDS_BUSINESS_FINANCING = [
27
21
  "company.numberOfEmployees",
28
22
  "parentCompany.numberOfEmployees",
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9f66b0d9-68f3-4d0f-8492-dcc8964abf39", e._sentryDebugIdIdentifier = "sentry-dbid-9f66b0d9-68f3-4d0f-8492-dcc8964abf39");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3606638b-8535-4f8c-a8df-40607d37fcd4", e._sentryDebugIdIdentifier = "sentry-dbid-3606638b-8535-4f8c-a8df-40607d37fcd4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-HRzOkLfJ.js";
12
- import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CmgYopR_.js";
11
+ import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-DAebRaGX.js";
12
+ import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DcfbYhTz.js";
13
13
  const BusinessFinancingPage = ({
14
14
  onSubmit,
15
15
  handleHomeClick
@@ -2,18 +2,16 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e8f92b0e-1381-4e84-a4a6-3570b4a72d40", e._sentryDebugIdIdentifier = "sentry-dbid-e8f92b0e-1381-4e84-a4a6-3570b4a72d40");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "28c0d3d5-0b6f-4cf1-ac93-2cfe848a3131", e._sentryDebugIdIdentifier = "sentry-dbid-28c0d3d5-0b6f-4cf1-ac93-2cfe848a3131");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder, bk as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, ar as useForm, a1 as LoaderWrapper, C as Typography, aw as Field, bl as EntityTypeRadioGroupCard, az as RadioGroupCard, Y as Button, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-HRzOkLfJ.js";
11
+ import { b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, P as useAccountHolder, bw as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, at as useForm, a1 as LoaderWrapper, C as Typography, ay as Field, bx as EntityTypeRadioGroupCard, aB as RadioGroupCard, Y as Button, b7 as Spacer, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-DAebRaGX.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D1AbV8w_.js";
14
- import { S as Spacer } from "./Spacer-BK3jDget.js";
15
- import { u as useToastContext } from "./useToastContext-DJS5737s.js";
16
- import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-vsa5CskP.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
14
+ import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-GZDRmFSR.js";
17
15
  const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
18
16
  const getBusinessTypeExamplesForCountry = async (country) => {
19
17
  const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a2 as Icon } from "./StoreProvider-HRzOkLfJ.js";
11
+ import { a2 as Icon } from "./StoreProvider-DAebRaGX.js";
12
12
  import cx from "classnames";
13
13
  import { useRef, useState, useEffect } from "preact/hooks";
14
14
  const outlinedIcon = "adyen-kyc-outlined-icon";
@@ -2,15 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ec60edf7-4f66-4a65-a071-91224cd8a0ed", e._sentryDebugIdIdentifier = "sentry-dbid-ec60edf7-4f66-4a65-a071-91224cd8a0ed");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "04e99299-5244-4752-853e-5f48ad1abffc", e._sentryDebugIdIdentifier = "sentry-dbid-04e99299-5244-4752-853e-5f48ad1abffc");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes } from "./StoreProvider-HRzOkLfJ.js";
12
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-CWJ-FtN2.js";
13
- import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-C5xkTx8D.js";
11
+ import { a as useLegalEntity, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-DAebRaGX.js";
12
+ import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BYEK8-kb.js";
14
13
  const CreateIndividualComponent = ({
15
14
  legalEntityId,
16
15
  onSubmitSuccess,
@@ -2,15 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ddaddf65-06ff-4aa6-8a89-1d289e19bd1d", e._sentryDebugIdIdentifier = "sentry-dbid-ddaddf65-06ff-4aa6-8a89-1d289e19bd1d");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e60dc7d1-ff4d-477e-afb6-73c5d045ff42", e._sentryDebugIdIdentifier = "sentry-dbid-e60dc7d1-ff4d-477e-afb6-73c5d045ff42");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { a as useLegalEntity, ak as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, W as TaskTypes } from "./StoreProvider-HRzOkLfJ.js";
13
- import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-DV9Dz3yb.js";
12
+ import { a as useLegalEntity, am as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-DAebRaGX.js";
14
13
  function CreateTransferInstrumentComponent({
15
14
  legalEntityId,
16
15
  transferInstrumentId,
@@ -2,18 +2,17 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "51ed67af-4ec1-4c1a-8b2f-1d769545294b", e._sentryDebugIdIdentifier = "sentry-dbid-51ed67af-4ec1-4c1a-8b2f-1d769545294b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ad2e6510-2019-400e-bc13-04c66caee138", e._sentryDebugIdIdentifier = "sentry-dbid-ad2e6510-2019-400e-bc13-04c66caee138");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, ba as useQueryClient, ao as resolveFieldMetadata, bq as defaultFieldMetadata, br as fieldConfig, bs as getAsyncPhoneValidationRules, F as FormHeader, bt as ContactDetails, aL as ActionBar, aI as createLogger } from "./StoreProvider-HRzOkLfJ.js";
11
+ import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, bm as useQueryClient, aq as resolveFieldMetadata, bC as defaultFieldMetadata, bD as fieldConfig, bE as getAsyncPhoneValidationRules, F as FormHeader, bF as ContactDetails, aO as ActionBar, aK as createLogger } from "./StoreProvider-DAebRaGX.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
- import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D1AbV8w_.js";
14
- import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-y0pyKWME.js";
15
- import { u as useToastContext } from "./useToastContext-DJS5737s.js";
16
- import { u as useMultiForm } from "./useMultiForm-DxlQ1Mkc.js";
13
+ import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Yr0adese.js";
14
+ import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BlofB0F6.js";
15
+ import { u as useMultiForm } from "./useMultiForm-B_SrTfOp.js";
17
16
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
18
17
  var _a, _b, _c;
19
18
  return {