@adyen/kyc-components 3.73.0 → 3.74.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 (262) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Bkk7q6mo.js → AcceptTermsOfServiceComponent-CLMnW4dR.js} +17 -20
  2. package/dist/{AccountSetupRejected-C7ecEaSn.js → AccountSetupRejected-ChyPGfVY.js} +2 -2
  3. package/dist/{Avatar-D6yqIy0x.js → Avatar-DhuHCZW6.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-BiRuNJ8n.js → BusinessDetailsDropin-Wq_qwIs6.js} +66 -119
  5. package/dist/{BusinessFinancingComponent-CSvynjpm.js → BusinessFinancingComponent-DLpXuuS5.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-CXRE15GX.js → BusinessFinancingDropin-C7mlGddn.js} +14 -14
  7. package/dist/{BusinessFinancingPage-r0Iqfbxa.js → BusinessFinancingPage-BZD0KZ30.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-CZ_FaDIH.js → BusinessTypeSelectionPage-D_BhkX09.js} +5 -5
  9. package/dist/{Confirm-BHr6mMiG.js → Confirm-C6u9f40H.js} +3 -3
  10. package/dist/{ContractViewer-oBZZ8bn4.js → ContractViewer-CLOTCDj6.js} +2 -2
  11. package/dist/{CreateIndividualComponent-CVdGHf1d.js → CreateIndividualComponent-Z8jM6wlM.js} +4 -4
  12. package/dist/{CreateTransferInstrumentComponent-CmIi26ll.js → CreateTransferInstrumentComponent-Chyz5t9e.js} +3 -3
  13. package/dist/{CustomerSupport-ZjylSyg9.js → CustomerSupport-BFgkd8QN.js} +6 -6
  14. package/dist/{DebugModal-CZzPXOzG.js → DebugModal-_WYzDBmQ.js} +9 -9
  15. package/dist/{DecisionMakerDetailsPage-okutG9UE.js → DecisionMakerDetailsPage-CuqP9R4z.js} +4 -4
  16. package/dist/{DecisionMakers-BMlKNI5V.js → DecisionMakers-C37UFHhZ.js} +6 -6
  17. package/dist/{EmbeddedStatus-43EnE3ZK.js → EmbeddedStatus-CdEVZYPm.js} +3 -3
  18. package/dist/{FormEndState-Ba2NHk5y.js → FormEndState-CxdNlAIB.js} +2 -2
  19. package/dist/{FormFlow-Cdck7u4x.js → FormFlow-CKIqMX1G.js} +5 -5
  20. package/dist/{FormNavigation-W6RbnNko.js → FormNavigation-CemrYfEO.js} +2 -2
  21. package/dist/{FormWrapper-qqC_-UNQ.js → FormWrapper-v6p3OjH8.js} +7 -7
  22. package/dist/{IndividualOnfidoDropin-IrOHNmTf.js → IndividualOnfidoDropin-C0vQPpj9.js} +326 -56
  23. package/dist/{Introduction-o-hWV0oZ.js → Introduction-BtHjo6V8.js} +4 -4
  24. package/dist/{LegalRepresentativeDetailsPage-CCl4rrb1.js → LegalRepresentativeDetailsPage-Dbigd1If.js} +4 -4
  25. package/dist/{ManageIndividualComponent-B7fSfP2F.js → ManageIndividualComponent-C6sqQx17.js} +4 -4
  26. package/dist/{ManagePCIComponent-r4dqzD7_.js → ManagePCIComponent-B8d5dB4z.js} +4 -4
  27. package/dist/{ManageTermsOfServiceComponent-D8e3dSKy.js → ManageTermsOfServiceComponent-BIxw0zQy.js} +4 -4
  28. package/dist/{ManageTransferInstrumentComponent-BJO-PHo6.js → ManageTransferInstrumentComponent-BSgpC5bq.js} +8 -8
  29. package/dist/{MaybeModal-O3q5S9NK.js → MaybeModal-BcVPHBkn.js} +2 -2
  30. package/dist/{Modal-TYAtBE9x.js → Modal-DTnFAiyV.js} +2 -2
  31. package/dist/{OnboardingDropinComponent-Bxh1PgLV.js → OnboardingDropinComponent-BD7R4EAM.js} +35 -35
  32. package/dist/{PayoutDetailsDropin-CP4QFI8I.js → PayoutDetailsDropin-CsYSGkaY.js} +11 -11
  33. package/dist/{PayoutDetailsPage-DIH-wJhK.js → PayoutDetailsPage-DWRzhf_d.js} +4 -4
  34. package/dist/{ProviderButton-AD6AyoHf.js → ProviderButton-C6WkTlc_.js} +2 -2
  35. package/dist/{Review-DDa73Jju.js → Review-7cYeLymE.js} +4 -4
  36. package/dist/{RootBusinessDetailsPage-AH2m5bxv.js → RootBusinessDetailsPage-DHc2VzBi.js} +4 -4
  37. package/dist/{RootIndividualDetailsPage-BL3wAc4S.js → RootIndividualDetailsPage-B2qt5kcJ.js} +4 -4
  38. package/dist/{SignPCIComponent-jYVMnZY2.js → SignPCIComponent-nRaTRedl.js} +8 -8
  39. package/dist/{SingpassSelection-CVSZcYyN.js → SingpassSelection-DkEsbjKT.js} +2 -2
  40. package/dist/{SoleProprietorshipPage-DalSBVxC.js → SoleProprietorshipPage-DslyPkTx.js} +4 -4
  41. package/dist/{SourceOfFunds.module-BQK0zkg8.js → SourceOfFunds.module-A2yWSa88.js} +2 -2
  42. package/dist/{SourceOfFundsPage-DiS_X7b1.js → SourceOfFundsPage-BvZrOzaf.js} +18 -18
  43. package/dist/{StepProgressIndicator-B4zX-D3p.js → StepProgressIndicator-BoBDXDd9.js} +2 -2
  44. package/dist/{StoreProvider-BvP9cxL2.js → StoreProvider-CVp18VTs.js} +859 -3660
  45. package/dist/{TaskItemStatus-DkPVRqFs.js → TaskItemStatus-BS4qja43.js} +2 -2
  46. package/dist/{TaxReportingDropin-g3d5fL-x.js → TaxReportingDropin-J7OE045h.js} +8 -8
  47. package/dist/{TileGroup-CYlkz3ZJ.js → TileGroup-D7oTsDlc.js} +2 -2
  48. package/dist/{TrustDetailsPage-obnK_JcV.js → TrustDetailsPage-p2Gc2Nm9.js} +12 -12
  49. package/dist/{TrustMemberCompanyPage-CSJwRLMU.js → TrustMemberCompanyPage-CgOQhJqj.js} +5 -5
  50. package/dist/{TrustMemberIndividualPage-C7tI4NA2.js → TrustMemberIndividualPage-BFwWkz5-.js} +4 -4
  51. package/dist/{UnincorporatedPartnershipIndividualPage-BioVhYr_.js → UnincorporatedPartnershipIndividualPage-BUVKFlUN.js} +5 -5
  52. package/dist/{UnincorporatedPartnershipMemberCompanyPage-C22uQvbk.js → UnincorporatedPartnershipMemberCompanyPage-DpxQANYm.js} +6 -6
  53. package/dist/{VerificationErrorAlert-BF5XUN6V.js → VerificationErrorAlert-DeXDmoKx.js} +2 -2
  54. package/dist/{ViewVerificationStatusComponent-T5K1PtFS.js → ViewVerificationStatusComponent-MhLPFvzE.js} +3 -3
  55. package/dist/adyen-business-financing.js +24 -27
  56. package/dist/adyen-individual.js +18 -21
  57. package/dist/adyen-kyc-components.js +28 -31
  58. package/dist/adyen-manage-individual.js +18 -21
  59. package/dist/adyen-manage-pci.js +18 -21
  60. package/dist/adyen-manage-terms-of-service.js +18 -21
  61. package/dist/adyen-manage-transfer-instruments.js +27 -30
  62. package/dist/adyen-onboarding.js +18 -23
  63. package/dist/adyen-sign-pci.js +26 -29
  64. package/dist/adyen-terms-of-service.js +18 -27
  65. package/dist/adyen-transfer-instrument.js +26 -29
  66. package/dist/adyen-verification-status.js +30 -33
  67. package/dist/{bg-BG-CZRQZyXO.js → bg-BG-BzeiDl-e.js} +65 -20
  68. package/dist/{cs-CZ-BbUFgifZ.js → cs-CZ-4Tk67nmO.js} +63 -18
  69. package/dist/{css-BaETlS0u.js → css-3-2ok6vp.js} +2 -2
  70. package/dist/{da-DK-CP71BFS7.js → da-DK-CN3Rc5da.js} +63 -18
  71. package/dist/{de-DE-DY56JGZt.js → de-DE-GaynF_xB.js} +63 -18
  72. package/dist/{documentUtils-2X_myXDi.js → documentUtils-BkxL-yDV.js} +2 -2
  73. package/dist/{dropinUtils-ZxnWDnZL.js → dropinUtils--qLgxRzC.js} +2 -2
  74. package/dist/{el-GR-CnENEp5c.js → el-GR-C3tN9AFZ.js} +64 -19
  75. package/dist/{es-ES-dV62vQcV.js → es-ES-9Q6u4x6u.js} +64 -19
  76. package/dist/{et-EE-BBgAN3Wc.js → et-EE-jHAEJC5c.js} +63 -18
  77. package/dist/{fi-FI-DVmGWIxn.js → fi-FI-DH5DphLd.js} +64 -19
  78. package/dist/{fr-FR-VwG8Rg7R.js → fr-FR-DCboO9VH.js} +63 -18
  79. package/dist/{getFieldsWithExistingData-D7k0q9nX.js → getFieldsWithExistingData-CUt8CT2O.js} +2 -2
  80. package/dist/{hasDataChanged-HQ34LD7s.js → hasDataChanged-YBvRj2cb.js} +2 -2
  81. package/dist/{hr-HR-Bs_lxjxQ.js → hr-HR-333ODlHZ.js} +64 -19
  82. package/dist/{hu-HU-8dVSiOZM.js → hu-HU-CUNG9bik.js} +63 -18
  83. package/dist/{individualFormConfig-C4JOvJeg.js → individualFormConfig-C-Rfyf2w.js} +15 -7
  84. package/dist/{it-IT-DvwWMDl1.js → it-IT-CXxD91gu.js} +66 -21
  85. package/dist/{ja-JP-BB6zzyEg.js → ja-JP-1qp81W1I.js} +64 -19
  86. package/dist/{json-DAyfNEwU.js → json-Bq6i9wUb.js} +2 -2
  87. package/dist/{localizeDateString-HsIetwBG.js → localizeDateString-BTXiPsls.js} +2 -2
  88. package/dist/{lt-LT-BQtNojlb.js → lt-LT-vQmxFgVn.js} +63 -18
  89. package/dist/{lv-LV-BpEw5uN5.js → lv-LV-Ds10XQ8q.js} +65 -20
  90. package/dist/{mapFinancialReportsToFinancialInformation-yegBHG3w.js → mapFinancialReportsToFinancialInformation-yQCZSzYr.js} +2 -2
  91. package/dist/{mapTransferInstrumentToPayoutAccount-ChLSi-YS.js → mapTransferInstrumentToPayoutAccount-CTCkqxO0.js} +2 -2
  92. package/dist/{nl-NL-vBEBXTP-.js → nl-NL-BsDTOkW4.js} +63 -18
  93. package/dist/{no-NO-BFhTqUoD.js → no-NO-BpyiF6sI.js} +64 -19
  94. package/dist/{omitObscuredFieldsIfUnchanged-BzlcM6To.js → omitObscuredFieldsIfUnchanged-CmkIAvcd.js} +2 -2
  95. package/dist/{pl-PL-dsGZvzVf.js → pl-PL-BqA3pc6p.js} +63 -18
  96. package/dist/{plaintext-DcsV3Ez0.js → plaintext-3cVe_Y6O.js} +2 -2
  97. package/dist/{process-field-configurations-C0gNZpp3.js → process-field-configurations-Ct9RR_nO.js} +2 -2
  98. package/dist/{processValidationErrors-DtcBtOKr.js → processValidationErrors-paTCkgix.js} +2 -2
  99. package/dist/{pt-PT-BB38pZbh.js → pt-PT-DSry7yG3.js} +64 -19
  100. package/dist/resolveEnvironment-Ck_KiOeJ.js +84 -0
  101. package/dist/{ro-RO-BgxNxoxJ.js → ro-RO-r8myUMxM.js} +65 -20
  102. package/dist/{rules-DEF0eIW9.js → rules-9ttCIvV4.js} +17 -5
  103. package/dist/{sk-SK-rtDeCztl.js → sk-SK-Dy7mKbdU.js} +65 -20
  104. package/dist/{sl-SI-qoGCwUdU.js → sl-SI-L3YffGqX.js} +63 -18
  105. package/dist/style.css +4 -0
  106. package/dist/styles-CLV89_hH.js +4 -0
  107. package/dist/{sv-SE-f1T7PBSW.js → sv-SE-BtKMAZPD.js} +64 -19
  108. package/dist/types/api/address/address.types.d.ts +17 -0
  109. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  110. package/dist/types/api/address/useRetrieveAddress.d.ts +1 -2
  111. package/dist/types/api/address/useSearchAddress.d.ts +13 -14
  112. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
  113. package/dist/types/api/check/useCheck.d.ts +5 -4
  114. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +15 -0
  115. package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +1 -15
  116. package/dist/types/api/companySearch/companySearch.types.d.ts +18 -0
  117. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -18
  118. package/dist/types/api/configurations/configurations.types.d.ts +9 -0
  119. package/dist/types/api/configurations/useScenarios.d.ts +14 -22
  120. package/dist/types/api/configurations/useSupportedCountries.d.ts +2 -2
  121. package/dist/types/api/configurations/useTaskTypes.d.ts +2 -2
  122. package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
  123. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  124. package/dist/types/api/datasets/datasets.types.d.ts +6 -0
  125. package/dist/types/api/datasets/useLegalForms.d.ts +2 -7
  126. package/dist/types/api/datasets/useNaceCodes.d.ts +2 -2
  127. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +2 -2
  128. package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +15 -0
  129. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -17
  130. package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +6 -0
  131. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +3 -7
  132. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +7 -7
  133. package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
  134. package/dist/types/api/legalEntity/useLegalEntity.d.ts +19 -19
  135. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
  136. package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +7 -0
  137. package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -5
  138. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  139. package/dist/types/api/pciTemplate/pciTemplate.types.d.ts +9 -0
  140. package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +2 -4
  141. package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +7 -9
  142. package/dist/types/api/pciTemplate/usePciStatus.d.ts +4 -9
  143. package/dist/types/api/pciTemplate/usePciTemplate.d.ts +2 -2
  144. package/dist/types/api/pciTemplate/useSignPci.d.ts +2 -2
  145. package/dist/types/api/providersConfiguration/providersConfiguration.types.d.ts +9 -0
  146. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +3 -13
  147. package/dist/types/api/queryKeys.d.ts +1 -1
  148. package/dist/types/api/taskStatus/taskStatus.types.d.ts +4 -0
  149. package/dist/types/api/taskStatus/useTaskStatus.d.ts +0 -3
  150. package/dist/types/api/taxClassification/taxClassification.types.d.ts +2 -0
  151. package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -2
  152. package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -0
  153. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +3 -10
  154. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +9 -8
  155. package/dist/types/api/termsOfService/useTermsOfService.d.ts +10 -3
  156. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +2 -2
  157. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
  158. package/dist/types/api/tinVerification/tinVerification.types.d.ts +4 -0
  159. package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -4
  160. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +25 -0
  161. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -14
  162. package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +3 -6
  163. package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -6
  164. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -9
  165. package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -0
  166. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -6
  167. package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
  168. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -6
  169. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +4 -7
  170. package/dist/types/api/validation/validation.types.d.ts +8 -0
  171. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -1
  172. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +1 -2
  173. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
  174. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -2
  175. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
  176. package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
  177. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
  178. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  179. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  180. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  181. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
  182. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
  183. package/dist/types/components/Business/forms/BusinessSelection/{BusinessInformationCard.d.ts → BusinessInformationCard/BusinessInformationCard.d.ts} +2 -2
  184. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
  185. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +1 -1
  186. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -1
  187. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
  188. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -1
  189. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
  190. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +2 -2
  191. package/dist/types/components/Individual/fields/LocalizedNameFields/LocalizedNameFields.d.ts +2 -0
  192. package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +14 -0
  193. package/dist/types/components/Individual/fields/NameFields/types.d.ts +23 -0
  194. package/dist/types/components/Individual/fields/NameFields/validate.d.ts +4 -0
  195. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -1
  196. package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -0
  197. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +2 -1
  198. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -0
  199. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +1 -1
  200. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +1 -3
  201. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaireModalContent.d.ts +1 -0
  202. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +5 -0
  203. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +1 -3
  204. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +5 -0
  205. package/dist/types/components/Individual/mapping/mapLocalization.d.ts +3 -0
  206. package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
  207. package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
  208. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  209. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
  210. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
  211. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  212. package/dist/types/core/models/api/contracts.d.ts +1 -12
  213. package/dist/types/core/models/api/data-set.d.ts +2 -1
  214. package/dist/types/core/models/api/document.d.ts +10 -1
  215. package/dist/types/core/models/api/individual.d.ts +10 -0
  216. package/dist/types/core/models/api/legal-entity.d.ts +1 -1
  217. package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
  218. package/dist/types/core/models/api/view-verification-status.d.ts +0 -4
  219. package/dist/types/core/models/country-code.d.ts +2 -1
  220. package/dist/types/core/models/errors/validation-error.d.ts +1 -1
  221. package/dist/types/embeds/EmbedBaseElement.d.ts +41 -0
  222. package/dist/types/embeds/EmbedCore.d.ts +22 -0
  223. package/dist/types/embeds/baseEmbedProps.d.ts +21 -0
  224. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +13 -0
  225. package/dist/types/embeds/individual/AdyenIndividual.d.ts +12 -0
  226. package/dist/types/embeds/manage-individual/AdyenManageIndividual.d.ts +12 -0
  227. package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +12 -0
  228. package/dist/types/embeds/manage-terms-of-service/AdyenManageTermsOfService.d.ts +12 -0
  229. package/dist/types/embeds/manage-transfer-instruments/AdyenManageTransferInstrument.d.ts +15 -0
  230. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +11 -0
  231. package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +15 -0
  232. package/dist/types/embeds/terms-of-service/AdyenTermsOfService.d.ts +12 -0
  233. package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +15 -0
  234. package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +20 -0
  235. package/dist/types/hooks/useAnalytics.d.ts +8 -1
  236. package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
  237. package/dist/types/stores/globalStore/taskStatus.d.ts +1 -1
  238. package/dist/types/utils/api/documentUtils.d.ts +1 -2
  239. package/dist/types/utils/birthDateUtils.d.ts +51 -0
  240. package/dist/types/utils/country.d.ts +5 -2
  241. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  242. package/dist/types/utils/validatorUtils.d.ts +2 -0
  243. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +2 -2
  244. package/dist/{useMultiForm-C9-6Ii8X.js → useMultiForm-pJKr2zEg.js} +4 -3
  245. package/dist/{useOnboardingStatus-BDaGvN1o.js → useOnboardingStatus-CyuD2U3T.js} +2 -2
  246. package/dist/{useSalesChannelsSettings-Dcouvxeh.js → useSalesChannelsSettings-DGtBuEvG.js} +2 -2
  247. package/dist/{useTermsOfServiceStatus-DnDl-q_x.js → useTermsOfServiceStatus-C9LwoIOH.js} +2 -2
  248. package/dist/{useToastContext-SxQbUliB.js → useToastContext-DQY2RNSH.js} +2 -2
  249. package/dist/{useUpdateLegalEntity-BXh1hdqg.js → useUpdateLegalEntity-Bwb0-AxL.js} +2 -2
  250. package/dist/{utils-CbUeSAH9.js → utils-D5KAO5Xj.js} +4 -4
  251. package/dist/{validate-D-3dHKWn.js → validate-CJ1HWnWh.js} +2 -2
  252. package/dist/{validate-CT_n11je.js → validate-CM_xe4At.js} +2 -2
  253. package/dist/{yaml-BQHAR0fM.js → yaml-BNAf5lwO.js} +2 -2
  254. package/package.json +2 -1
  255. package/dist/CXEL7IU7-W0GuMc2V.js +0 -55
  256. package/dist/HASRA6WW-s6cv0xeb.js +0 -12411
  257. package/dist/I3HPI4QX-CHsql0Lg.js +0 -46
  258. package/dist/ShadowStylesRoot-wgo4Zafr.js +0 -103
  259. package/dist/types/core/models/api/analytics.d.ts +0 -13
  260. package/dist/types/core/models/api/check.d.ts +0 -4
  261. package/dist/types/core/models/api/documentDetail.d.ts +0 -9
  262. package/dist/types/embeds/ShadowStylesRoot.d.ts +0 -3
@@ -1,19 +1,9 @@
1
1
  import type { QueryOptions } from '../types';
2
- import type { components } from './providersConfiguration.contract';
3
- type Provider = 'address' | 'idNumber' | 'idDocument';
4
- type Response = components['schemas']['ProvidersStatusesResponse'];
5
- export type CorrectedResponse = Omit<Response, 'statuses'> & {
6
- statuses: Record<Provider, components['schemas']['ProviderStatusResponse']>;
7
- };
8
- type Request = components['schemas']['ProvidersStatusesRequest'];
9
- type CorrectedRequest = Request & {
10
- providers: Provider[];
11
- };
12
- export type QueryKeyProvidersStatus = ['providersStatus', CorrectedRequest];
2
+ import type { ProvidersConfigurationRequest, ProvidersConfigurationResponse } from './providersConfiguration.types';
3
+ export type QueryKeyProvidersStatus = ['providersStatus', ProvidersConfigurationRequest];
13
4
  /**
14
5
  * Asks the backend if 3rd party providers like Loqate and Onfido are available.
15
6
  *
16
7
  * Bank verification providers are not included, as these are handled by Open Banking.
17
8
  */
18
- export declare const useProviderStatus: (data: CorrectedRequest, options?: QueryOptions<CorrectedResponse>) => import("@tanstack/react-query").UseQueryResult<CorrectedResponse, Error>;
19
- export {};
9
+ export declare const useProviderStatus: (data: ProvidersConfigurationRequest, options?: QueryOptions<ProvidersConfigurationResponse>) => import("@tanstack/react-query").UseQueryResult<ProvidersConfigurationResponse, Error>;
@@ -28,7 +28,7 @@ import type { QueryKeyTermsOfService } from './termsOfService/useTermsOfService'
28
28
  import type { QueryKeyTermsOfServiceAcceptanceInfos } from './termsOfService/useTermsOfServiceAcceptanceInfos';
29
29
  import type { QueryKeyTermsOfServiceStatus } from './termsOfService/useTermsOfServiceStatus';
30
30
  import type { QueryKeyVerifyTin } from './tinVerification/useVerifyTin';
31
- import type { QueryKeyBankVerificationProviders } from './transferInstruments/useBankVerificationProviders';
31
+ import type { QueryKeyBankVerificationProviders } from './transferInstruments/transferInstruments.types';
32
32
  import type { QueryKeyTransferInstrument } from './transferInstruments/useTransferInstrument';
33
33
  import type { QueryKeyTransferInstruments } from './transferInstruments/useTransferInstruments';
34
34
  import type { QueryKeyAnalyticsSession } from './uiAnalytics/useAnalyticsSession';
@@ -0,0 +1,4 @@
1
+ import type { SetRequired } from 'type-fest';
2
+ import type { components } from '#api/taskStatus/taskStatus.contract';
3
+ export type TaskStatusEntry = SetRequired<components['schemas']['TaskStatusEntryDto'], 'status' | 'id'>;
4
+ export type ApiTaskStatus = components['schemas']['TaskStatus'];
@@ -1,9 +1,6 @@
1
1
  import type { QueryOptions } from '../../../types';
2
2
  import type { TaskStatusApiResponse } from '../../stores/globalStore/taskStatus';
3
- import type { components } from './taskStatus.contract';
4
- export type ApiTaskStatus = components['schemas']['TaskStatus'];
5
3
  export type QueryKeyTaskStatus = ['taskStatus'];
6
- export type { TaskStatusEntry } from './taskStatus.contract.overrides';
7
4
  /**
8
5
  * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
9
6
  */
@@ -0,0 +1,2 @@
1
+ import type { components } from './taxClassification.contract';
2
+ export type TaxClassificationSuccessResponse = components['schemas']['TaxReportingClassification'];
@@ -1,6 +1,5 @@
1
1
  import type { QueryOptions } from '../types';
2
- import type { components } from './taxClassification.contract';
3
- export type TaxClassificationSuccessResponse = components['schemas']['TaxReportingClassification'];
2
+ import type { TaxClassificationSuccessResponse } from './taxClassification.types';
4
3
  export type QueryKeyTaxClassification = ['taxClassification'];
5
4
  /**
6
5
  * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
@@ -0,0 +1,10 @@
1
+ import type { ServiceAgreementSignResponse } from '../../core/models/api/contracts';
2
+ import type { EndpointFromPaths } from '../types';
3
+ import type { components, paths } from './termsOfService.contract';
4
+ type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
5
+ export type AcceptedTermsOfServiceEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/acceptedTermsOfServiceDocument/${string}`>;
6
+ export type AcceptedTermsOfServiceResponse = components['schemas']['GetAcceptedTermsOfServiceDocumentResponse'];
7
+ export type AcceptTermsOfServiceAcceptEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/accept`>;
8
+ export type AcceptTermsOfServiceAcceptRequest = components['schemas']['AcceptTermsOfServiceRequest'];
9
+ export type AcceptTermsOfServiceAcceptResponse = ServiceAgreementSignResponse;
10
+ export {};
@@ -1,15 +1,8 @@
1
1
  import { type MutationOptions } from '@tanstack/react-query';
2
- import type { components, paths } from '#api/termsOfService/termsOfService.contract';
3
- import type { ServiceAgreementSignResponse } from '../../core/models/api/contracts';
4
- import type { EndpointFromPaths } from '../types';
5
- type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
6
- export type TermsOfServiceAcceptEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/accept`>;
7
- type Request = components['schemas']['AcceptTermsOfServiceRequest'];
8
- type SuccessResponse = ServiceAgreementSignResponse;
9
- export declare const acceptTermsOfService: (legalEntityId: string, baseUrl: string, termsOfServiceDocumentId: string, data: Request) => Promise<SuccessResponse>;
10
- export declare const useAcceptTermsOfService: (options?: Omit<MutationOptions<SuccessResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<ServiceAgreementSignResponse, unknown, {
2
+ import type { AcceptTermsOfServiceAcceptRequest, AcceptTermsOfServiceAcceptResponse } from './termsOfService.types';
3
+ export declare const acceptTermsOfService: (legalEntityId: string, baseUrl: string, termsOfServiceDocumentId: string, data: AcceptTermsOfServiceAcceptRequest) => Promise<import("../../core/models/api/contracts").ServiceAgreementSignResponse>;
4
+ export declare const useAcceptTermsOfService: (options?: Omit<MutationOptions<AcceptTermsOfServiceAcceptResponse, unknown, AcceptTermsOfServiceAcceptRequest>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<import("../../core/models/api/contracts").ServiceAgreementSignResponse, unknown, {
11
5
  acceptedBy: string;
12
6
  legalEntityReference: string;
13
7
  termsOfServiceDocumentId: string;
14
8
  }, unknown>;
15
- export {};
@@ -1,9 +1,6 @@
1
1
  import type { TermsOfServiceDocumentFormat } from '../../core/models/api/contracts';
2
- import type { EndpointFromPaths, QueryOptions } from '../types';
3
- import type { components, paths } from './termsOfService.contract';
4
- type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
5
- export type TermsOfServiceAcceptedEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/acceptedTermsOfServiceDocument/${string}`>;
6
- export type SuccessResponse = components['schemas']['GetAcceptedTermsOfServiceDocumentResponse'];
2
+ import type { QueryOptions } from '../types';
3
+ import type { AcceptedTermsOfServiceResponse } from './termsOfService.types';
7
4
  /**
8
5
  * Variables:
9
6
  * * `termsOfServiceAcceptanceReference`
@@ -13,11 +10,15 @@ export type QueryKeyAcceptedTermsOfService = [
13
10
  string | undefined,
14
11
  TermsOfServiceDocumentFormat
15
12
  ];
16
- export declare const getAcceptedTermsOfService: (legalEntityId: string, baseUrl: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat) => Promise<SuccessResponse>;
17
- export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat: TermsOfServiceDocumentFormat, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
13
+ export declare const getAcceptedTermsOfService: (legalEntityId: string, baseUrl: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat) => Promise<{
14
+ document?: string;
15
+ id?: string;
16
+ termsOfServiceAcceptanceReference?: string;
17
+ termsOfServiceDocumentFormat?: "JSON" | "PDF";
18
+ }>;
19
+ export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat: TermsOfServiceDocumentFormat, options?: QueryOptions<AcceptedTermsOfServiceResponse>) => import("@tanstack/react-query").UseQueryResult<{
18
20
  document?: string;
19
21
  id?: string;
20
22
  termsOfServiceAcceptanceReference?: string;
21
23
  termsOfServiceDocumentFormat?: "JSON" | "PDF";
22
24
  }, Error>;
23
- export {};
@@ -1,12 +1,19 @@
1
1
  import type { EndpointFromPaths, QueryOptions } from '../types';
2
2
  import type { components, paths } from './termsOfService.contract';
3
3
  export type Request = components['schemas']['TermsOfServiceDocumentRequest'];
4
- export type SuccessResponse = components['schemas']['TermsOfServiceDocumentResponse'];
4
+ export type TermsOfServiceResponse = components['schemas']['TermsOfServiceDocumentResponse'];
5
5
  type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
6
6
  export type TermsOfServiceEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService`>;
7
7
  export type QueryKeyTermsOfService = ['termsOfService', Request];
8
- export declare const getTermsOfService: (legalEntityId: string, baseUrl: string, data: Request) => Promise<SuccessResponse>;
9
- export declare const useTermsOfService: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
8
+ export declare const getTermsOfService: (legalEntityId: string, baseUrl: string, data: Request) => Promise<{
9
+ document?: string;
10
+ id?: string;
11
+ language?: string;
12
+ termsOfServiceDocumentFormat?: string;
13
+ termsOfServiceDocumentId?: string;
14
+ type?: components["schemas"]["TermsOfServiceType"];
15
+ }>;
16
+ export declare const useTermsOfService: (data: Request, options?: QueryOptions<TermsOfServiceResponse>) => import("@tanstack/react-query").UseQueryResult<{
10
17
  document?: string;
11
18
  id?: string;
12
19
  language?: string;
@@ -3,7 +3,7 @@ import type { EndpointFromPaths, QueryOptions } from '../types';
3
3
  import type { paths } from './termsOfService.contract';
4
4
  type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
5
5
  export type TermsOfServiceAcceptanceInfoEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/termsOfServiceAcceptanceInfos`>;
6
- type SuccessResponse = ServiceAgreementAcceptanceInfos;
6
+ type AcceptanceInfosResponse = ServiceAgreementAcceptanceInfos;
7
7
  export type QueryKeyTermsOfServiceAcceptanceInfos = ['termsOfServiceAcceptanceInfos'];
8
- export declare const useTermsOfServiceAcceptanceInfos: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<ServiceAgreementAcceptanceInfos, Error>;
8
+ export declare const useTermsOfServiceAcceptanceInfos: (options?: QueryOptions<AcceptanceInfosResponse>) => import("@tanstack/react-query").UseQueryResult<ServiceAgreementAcceptanceInfos, Error>;
9
9
  export {};
@@ -1,10 +1,10 @@
1
1
  import type { EndpointFromPaths, QueryOptions } from '../types';
2
2
  import type { components, paths } from './termsOfService.contract';
3
- export type SuccessResponse = components['schemas']['TermsOfServiceStatusResponse'];
3
+ export type TermsOfServiceStatusResponse = components['schemas']['TermsOfServiceStatusResponse'];
4
4
  type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
5
5
  export type TermsOfServiceStatusEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/termsOfServiceStatus`>;
6
6
  export type QueryKeyTermsOfServiceStatus = ['termsOfServiceStatus'];
7
- export declare const useTermsOfServiceStatus: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
7
+ export declare const useTermsOfServiceStatus: (options?: QueryOptions<TermsOfServiceStatusResponse>) => import("@tanstack/react-query").UseQueryResult<{
8
8
  termsOfServiceTypes?: components["schemas"]["TermsOfServiceType"][];
9
9
  }, Error>;
10
10
  export {};
@@ -0,0 +1,4 @@
1
+ import type { components } from './tinVerification.contract';
2
+ export type TinVerificationResponse = components['schemas']['CompanyTinVerificationResponse'];
3
+ export type TinVerificationRequest = components['schemas']['CompanyTinVerificationRequest'];
4
+ export type VerifyTin = (data: TinVerificationRequest) => Promise<TinVerificationResponse>;
@@ -1,9 +1,6 @@
1
1
  import type { QueryOptions } from '../types';
2
- import type { components } from './tinVerification.contract';
2
+ import type { TinVerificationRequest, TinVerificationResponse } from './tinVerification.types';
3
3
  export type QueryKeyVerifyTin = ['verifyTin', TinVerificationRequest | undefined];
4
- export type TinVerificationResponse = components['schemas']['CompanyTinVerificationResponse'];
5
- export type TinVerificationRequest = components['schemas']['CompanyTinVerificationRequest'];
6
- export type VerifyTin = (data: TinVerificationRequest) => Promise<TinVerificationResponse>;
7
4
  export declare const useVerifyTin: (data?: TinVerificationRequest, options?: QueryOptions<TinVerificationResponse>) => import("@tanstack/react-query").UseQueryResult<{
8
5
  matched?: boolean;
9
6
  }, Error>;
@@ -0,0 +1,25 @@
1
+ import type { Language } from '../../language/Language';
2
+ import type { CountryCode } from '../../core/models/country-code';
3
+ import type { components, operations } from './transferInstruments.contract';
4
+ export type GetBankVerificationProviderResponse = components['schemas']['BankAggregatorProviderResponse'][];
5
+ export type BankVerificationVendor = GetBankVerificationProviderResponse[number];
6
+ export type GetBankVerificationQueryParams = operations['getBankVerificationProviders']['parameters']['query'] & {
7
+ country: CountryCode;
8
+ locale: Language['locale'];
9
+ };
10
+ export type QueryKeyBankVerificationProviders = [
11
+ 'bankVerificationProviders',
12
+ GetBankVerificationQueryParams
13
+ ];
14
+ export type CreateTrustedTransferInstrumentResponse = components['schemas']['BankVerificationResponse'];
15
+ export type CreateTrustedTransferInstrumentRequest = components['schemas']['CreateTrustedTransferInstrumentRequest'];
16
+ export type BankVerificationErrorRequest = components['schemas']['BankVerificationErrorRequest'];
17
+ export type BankVerificationErrorResponse = components['schemas']['BankVerificationResponse'];
18
+ export type GetTransferInstrumentResponse = components['schemas']['TransferInstrumentOverview'][];
19
+ export type TransferInstrumentReference = components['schemas']['TransferInstrumentOverview'];
20
+ export type TransferInstrumentReferenceWithStatusId = Omit<TransferInstrumentReference, 'transferInstrument' | 'status'> & {
21
+ status: NonNullable<components['schemas']['TransferInstrumentOverview']['status']>;
22
+ transferInstrument: Omit<components['schemas']['TransferInstrumentReferenceDto'], 'id'> & {
23
+ id: string;
24
+ };
25
+ };
@@ -1,17 +1,5 @@
1
- import type { Language } from '../../language/Language';
2
- import type { CountryCode } from '../../core/models/country-code';
3
1
  import type { QueryOptions } from '../types';
4
- import type { components, operations } from './transferInstruments.contract';
5
- type GetBankVerificationProviderResponse = components['schemas']['BankAggregatorProviderResponse'][];
6
- export type BankVerificationVendor = GetBankVerificationProviderResponse[number];
7
- export type GetBankVerificationQueryParams = operations['getBankVerificationProviders']['parameters']['query'] & {
8
- country: CountryCode;
9
- locale: Language['locale'];
10
- };
11
- export type QueryKeyBankVerificationProviders = [
12
- 'bankVerificationProviders',
13
- GetBankVerificationQueryParams
14
- ];
2
+ import type { GetBankVerificationProviderResponse, GetBankVerificationQueryParams } from './transferInstruments.types';
15
3
  /**
16
4
  * Retrieves the list of bank verification providers and their respective urls.
17
5
  * Bank verification providers are used to instantly verify payout accounts.
@@ -19,4 +7,3 @@ export type QueryKeyBankVerificationProviders = [
19
7
  * @param options additional options passed to Tanstack Query, eg; onSuccess
20
8
  */
21
9
  export declare const useBankVerificationProviders: (queryParams: GetBankVerificationQueryParams, options?: QueryOptions<GetBankVerificationProviderResponse>) => import("@tanstack/react-query").UseQueryResult<GetBankVerificationProviderResponse, Error>;
22
- export {};
@@ -1,13 +1,11 @@
1
1
  import type { MutationOptions } from '../types';
2
- import type { components } from './transferInstruments.contract';
3
- export type CreateTrustedTransferInstrumentResponse = components['schemas']['BankVerificationResponse'];
4
- type CreateTrustedTransferInstrumentRequestData = components['schemas']['CreateTrustedTransferInstrumentRequest'];
2
+ import type { CreateTrustedTransferInstrumentRequest, CreateTrustedTransferInstrumentResponse } from './transferInstruments.types';
5
3
  /**
6
4
  * Creates a trusted transfer instrument in LEM using the information provided by Open Banking
7
5
  * @param options additional options passed to Tanstack Query, eg; onSuccess
8
6
  */
9
- export declare const useCreateTrustedTransferInstrument: (options?: MutationOptions<CreateTrustedTransferInstrumentResponse, Error, CreateTrustedTransferInstrumentRequestData>) => import("@tanstack/react-query").UseMutationResult<{
10
- accounts?: components["schemas"]["BankAccountSummary"][];
7
+ export declare const useCreateTrustedTransferInstrument: (options?: MutationOptions<CreateTrustedTransferInstrumentResponse, Error, CreateTrustedTransferInstrumentRequest>) => import("@tanstack/react-query").UseMutationResult<{
8
+ accounts?: import("./transferInstruments.contract").components["schemas"]["BankAccountSummary"][];
11
9
  error?: string;
12
10
  errorMessage?: string;
13
11
  verificationReference?: string;
@@ -15,4 +13,3 @@ export declare const useCreateTrustedTransferInstrument: (options?: MutationOpti
15
13
  code: string;
16
14
  state: string;
17
15
  }, unknown>;
18
- export {};
@@ -1,13 +1,11 @@
1
1
  import type { MutationOptions } from '../types.js';
2
- import type { components } from './transferInstruments.contract';
3
- type BankVerificationErrorRequestBody = components['schemas']['BankVerificationErrorRequest'];
4
- export type BankVerificationErrorResponse = components['schemas']['BankVerificationResponse'];
2
+ import type { BankVerificationErrorRequest, BankVerificationErrorResponse } from './transferInstruments.types.js';
5
3
  /**
6
4
  * Receives an error code and message from a banking verification provider and translates it to a known, standardized error
7
5
  * @param options additional mutation options
8
6
  */
9
- export declare const useHandleBankVerificationError: (options?: MutationOptions<BankVerificationErrorResponse, unknown, BankVerificationErrorRequestBody>) => import("@tanstack/react-query").UseMutationResult<{
10
- accounts?: components["schemas"]["BankAccountSummary"][];
7
+ export declare const useHandleBankVerificationError: (options?: MutationOptions<BankVerificationErrorResponse, unknown, BankVerificationErrorRequest>) => import("@tanstack/react-query").UseMutationResult<{
8
+ accounts?: import("./transferInstruments.contract.js").components["schemas"]["BankAccountSummary"][];
11
9
  error?: string;
12
10
  errorMessage?: string;
13
11
  verificationReference?: string;
@@ -19,4 +17,3 @@ export declare const useHandleBankVerificationError: (options?: MutationOptions<
19
17
  };
20
18
  state: string;
21
19
  }, unknown>;
22
- export {};
@@ -1,13 +1,5 @@
1
1
  import type { QueryOptions } from '../types';
2
- import type { components } from './transferInstruments.contract';
3
- export type GetTransferInstrumentResponse = components['schemas']['TransferInstrumentOverview'][];
4
- export type TransferInstrumentReference = components['schemas']['TransferInstrumentOverview'];
5
- export type TransferInstrumentReferenceWithStatusId = Omit<TransferInstrumentReference, 'transferInstrument' | 'status'> & {
6
- status: NonNullable<components['schemas']['TransferInstrumentOverview']['status']>;
7
- transferInstrument: Omit<components['schemas']['TransferInstrumentReferenceDto'], 'id'> & {
8
- id: string;
9
- };
10
- };
2
+ import type { GetTransferInstrumentResponse } from './transferInstruments.types';
11
3
  export type QueryKeyTransferInstruments = ['transferInstruments'];
12
4
  /**
13
5
  * Gets a list of transfer instruments associated with a legal entity
@@ -0,0 +1,4 @@
1
+ import type { SetRequired } from 'type-fest';
2
+ import type { components } from './analytics.contract';
3
+ export type AnalyticsSessionResponse = SetRequired<components['schemas']['InitSessionResponse'], 'id'>;
4
+ export type AnalyticsSessionRequest = components['schemas']['InitSessionRequest'];
@@ -1,9 +1,6 @@
1
1
  import { type QueryOptions } from '@tanstack/react-query';
2
- import type { SetRequired } from 'type-fest';
3
2
  import type { MixpanelProperty } from '../../core/user-events';
4
- import type { components } from './analytics.contract';
5
- type SuccessResponse = components['schemas']['InitSessionResponse'];
6
- type CorrectedSuccessResponse = SetRequired<SuccessResponse, 'id'>;
3
+ import type { AnalyticsSessionResponse } from './uiAnalytics.types';
7
4
  export interface SessionData {
8
5
  sdkVersion: string;
9
6
  componentName: string;
@@ -16,7 +13,6 @@ export interface SessionData {
16
13
  * * `onboardingVersion`
17
14
  */
18
15
  export type QueryKeyAnalyticsSession = ['analyticsSession', number | undefined];
19
- export declare const useAnalyticsSession: (sessionData: SessionData, onboardingVersion: number | undefined, options?: QueryOptions<CorrectedSuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
16
+ export declare const useAnalyticsSession: (sessionData: SessionData, onboardingVersion: number | undefined, options?: QueryOptions<AnalyticsSessionResponse>) => import("@tanstack/react-query").UseQueryResult<{
20
17
  id: string;
21
18
  }, Error>;
22
- export {};
@@ -1,8 +1,8 @@
1
1
  import { type MutationOptions } from '@tanstack/react-query';
2
2
  import type { components } from './analytics.contract';
3
- type SuccessResponse = components['schemas']['JsonNode'];
3
+ type PushAnalyticEventResponse = components['schemas']['JsonNode'];
4
4
  type Request = components['schemas']['LogAnalyticRequest'];
5
- export declare const usePushAnalyticEvent: (sessionId: string, options?: Omit<MutationOptions<SuccessResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<Record<string, never>, unknown, {
5
+ export declare const usePushAnalyticEvent: (sessionId: string, options?: Omit<MutationOptions<PushAnalyticEventResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<Record<string, never>, unknown, {
6
6
  componentName: string;
7
7
  eventData?: {
8
8
  [key: string]: components["schemas"]["JsonNode"];
@@ -1,10 +1,5 @@
1
1
  import type { MutationOptions } from '@tanstack/react-query';
2
- import type { SetRequired } from 'type-fest';
3
2
  import type { AccountIdentification } from '../../core/models/api/accountIdentification';
4
- import type { components } from './validation.contract';
5
- export type InvalidField = SetRequired<components['schemas']['InvalidField'], 'name'>;
6
- export type AccountValidationResponse = Omit<components['schemas']['ValidationResponse'], 'invalidFields'> & {
7
- invalidFields?: InvalidField[];
8
- };
3
+ import type { AccountValidationResponse } from './validation.types';
9
4
  export declare const validateAccountIdentification: (baseUrl: string, data: AccountIdentification) => Promise<AccountValidationResponse>;
10
5
  export declare const useValidateAccountIdentification: (options?: Omit<MutationOptions<AccountValidationResponse, unknown, AccountIdentification>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<AccountValidationResponse, unknown, AccountIdentification, unknown>;
@@ -1,15 +1,12 @@
1
1
  import type { QueryOptions } from '../../../types';
2
- import type { components } from './validation.contract';
3
- type PhoneNumberValidationRequest = components['schemas']['PhoneNumberValidationRequest'];
4
- type ValidationResponse = components['schemas']['ValidationResponse'];
2
+ import type { PhoneNumberValidationRequest, PhoneNumberValidationResponse } from './validation.types';
5
3
  export type QueryKeyValidatePhoneNumber = ['validatePhoneNumber', PhoneNumberValidationRequest];
6
- export declare const useValidatePhoneNumber: (data: PhoneNumberValidationRequest, options?: QueryOptions<ValidationResponse>) => import("@tanstack/react-query").UseQueryResult<{
7
- invalidFields: components["schemas"]["InvalidField"][];
4
+ export declare const useValidatePhoneNumber: (data: PhoneNumberValidationRequest, options?: QueryOptions<PhoneNumberValidationResponse>) => import("@tanstack/react-query").UseQueryResult<{
5
+ invalidFields: import("./validation.contract").components["schemas"]["InvalidField"][];
8
6
  valid: boolean;
9
7
  }, Error>;
10
8
  export declare const useValidatePhoneNumberImperatively: () => (data: PhoneNumberValidationRequest) => Promise<{
11
- invalidFields: components["schemas"]["InvalidField"][];
9
+ invalidFields: import("./validation.contract").components["schemas"]["InvalidField"][];
12
10
  valid: boolean;
13
11
  }>;
14
12
  export type ValidatePhoneNumber = ReturnType<typeof useValidatePhoneNumberImperatively>;
15
- export {};
@@ -0,0 +1,8 @@
1
+ import type { SetRequired } from 'type-fest';
2
+ import type { components } from './validation.contract';
3
+ export type InvalidField = SetRequired<components['schemas']['InvalidField'], 'name'>;
4
+ export type AccountValidationResponse = Omit<components['schemas']['ValidationResponse'], 'invalidFields'> & {
5
+ invalidFields?: InvalidField[];
6
+ };
7
+ export type PhoneNumberValidationRequest = components['schemas']['PhoneNumberValidationRequest'];
8
+ export type PhoneNumberValidationResponse = components['schemas']['ValidationResponse'];
@@ -1,6 +1,6 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
2
  import type { components } from '#api/transferInstruments/transferInstruments.contract';
3
- import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
3
+ import type { BankVerificationVendor } from '../../../../api/transferInstruments/transferInstruments.types';
4
4
  import type { CountryCode } from '../../../../core/models/country-code';
5
5
  import type { Currency } from '../../../../core/models/currency';
6
6
  import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
@@ -1,6 +1,5 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { CreateTrustedTransferInstrumentResponse } from '../../../../../../api/transferInstruments/useCreateTrustedTransferInstrument';
3
- import type { BankVerificationErrorResponse } from '../../../../../../api/transferInstruments/useHandleBankVerificationError';
2
+ import type { BankVerificationErrorResponse, CreateTrustedTransferInstrumentResponse } from '../../../../../../api/transferInstruments/transferInstruments.types';
4
3
  import type { PayoutDetailsProps } from '../../../PayoutDetails/types';
5
4
  import type { AccountVerificationResponse, InstantVerificationErrorNotification } from '../../types';
6
5
  import type { AccountVerificationCallbackErrorObject } from './iframeWidget';
@@ -7,7 +7,7 @@ export declare const payoutSteps: {
7
7
  readonly payoutVerificationMethod: {
8
8
  readonly formId: "payoutVerificationMethod";
9
9
  readonly formName: "verificationMethod";
10
- readonly fields: ("bankCountry" | "payoutVerificationMethod" | "verifiedBankAccountNumber" | "verifiedAccountHolder" | "verifiedCurrencyCode" | "verifiedBankCountry" | "verifiedBankName")[];
10
+ readonly fields: ("bankCountry" | "verifiedAccountHolder" | "verifiedCurrencyCode" | "payoutVerificationMethod" | "verifiedBankAccountNumber" | "verifiedBankCountry" | "verifiedBankName")[];
11
11
  };
12
12
  readonly payoutAccountDetails: {
13
13
  readonly formId: "payoutAccountDetails";
@@ -1,5 +1,4 @@
1
- import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
2
- import type { CreateTrustedTransferInstrumentResponse } from '../../../../api/transferInstruments/useCreateTrustedTransferInstrument';
1
+ import type { BankVerificationVendor, CreateTrustedTransferInstrumentResponse } from '../../../../api/transferInstruments/transferInstruments.types';
3
2
  import type { CapabilityName } from '../../../../core/models/api/capability';
4
3
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
5
4
  import type { CountryCode } from '../../../../core/models/country-code';
@@ -1,4 +1,4 @@
1
- import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
1
+ import type { BankVerificationVendor } from '../../../../api/transferInstruments/transferInstruments.types';
2
2
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
3
3
  import type { CountryCode } from '../../../../core/models/country-code';
4
4
  import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
@@ -1,3 +1,3 @@
1
- import type { AccountValidationResponse } from '../../../api/validation/useValidateAccountIdentification';
1
+ import type { AccountValidationResponse } from '../../../api/validation/validation.types';
2
2
  import type { AccountIdentification } from '../../../core/models/api/accountIdentification';
3
3
  export declare const useAsyncAccountDetailsValidationRules: (payload: AccountIdentification | undefined, hasEmptyFields: boolean, isAccountNumberMasked: boolean) => AccountValidationResponse;
@@ -14,6 +14,8 @@ export declare const remediationPayoutApiKeyMapping: {
14
14
  legalEntityId?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
15
15
  "bankAccount.bankName"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
16
16
  "bankAccount.countryCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
17
+ "bankAccount.realLastFour"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
18
+ "bankAccount.trustedSource"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
17
19
  "bankAccount.accountIdentification"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
18
20
  "bankAccount.accountIdentification.iban"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
19
21
  "bankAccount.accountIdentification.type"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
@@ -33,8 +35,6 @@ export declare const remediationPayoutApiKeyMapping: {
33
35
  "bankAccount.accountIdentification.clearingNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
34
36
  "bankAccount.accountIdentification.sortCode"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
35
37
  "bankAccount.accountIdentification.routingNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
36
- "bankAccount.realLastFour"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
37
- "bankAccount.trustedSource"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
38
38
  "bankAccount.virtualAccountNumber"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
39
39
  "capabilities.processing"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
40
40
  "capabilities.processing.transferInstruments"?: import("../../../utils/mapping/mappingRecord").MappingKey<PayoutDetailsSchema>;
@@ -1,5 +1,5 @@
1
+ import type { CAASResponseError } from '../../../../api/check/useCheck';
1
2
  import type { Translatable } from '../../../../../types';
2
- import type { CAASResponseError } from '../../../../core/models/api/check';
3
3
  interface InvalidFieldMessage {
4
4
  header: Translatable;
5
5
  content: Translatable;
@@ -1,5 +1,5 @@
1
1
  import './VerifiedBusinessCard.scss';
2
- import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/useCompanyDataset';
2
+ import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/companyDataset.types';
3
3
  import type { AddressSchema } from '../../../Shared/forms/Address/types';
4
4
  interface VerifiedBusinessDataProps {
5
5
  verifiedBusiness: CompanyDatasetResponse | undefined;
@@ -1,4 +1,4 @@
1
- import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/useCompanyDataset';
1
+ import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/companyDataset.types';
2
2
  import type { AddressSchema } from '../../../Shared/forms/Address/types';
3
3
  import type { ValidatorMode } from '../../../../utils/validation/types';
4
4
  import type { AdditionalInformationSchema } from './types';
@@ -1,5 +1,5 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { CompanySearchResult } from '../../../../api/companySearch/useCompanySearch';
2
+ import type { CompanySearchResult } from '../../../../api/companySearch/companySearch.types';
3
3
  import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
4
4
  import type { CountryCode } from '../../../../core/models/country-code';
5
5
  import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
@@ -1,5 +1,5 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { CompanySearchResult } from '../../../../api/companySearch/useCompanySearch';
2
+ import type { CompanySearchResult } from '../../../../api/companySearch/companySearch.types';
3
3
  import type { CountryCode } from '../../../../core/models/country-code';
4
4
  import type { FormModel } from '../../../../core/models/form';
5
5
  import type { BaseOuterFormProps } from '../../../../hooks/useForm/types';
@@ -1,8 +1,8 @@
1
1
  import './BusinessInformationCard.scss';
2
2
  import type { QueryObserverResult, RefetchOptions } from '@tanstack/react-query';
3
3
  import { type Dispatch, type StateUpdater } from 'preact/hooks';
4
- import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/useCompanyDataset';
5
- import type { CompanySearchResult } from '../../../../api/companySearch/useCompanySearch';
4
+ import type { CompanyDatasetResponse } from '../../../../../api/companyDataSet/companyDataset.types';
5
+ import type { CompanySearchResult } from '../../../../../api/companySearch/companySearch.types';
6
6
  interface BusinessInformationCardProps {
7
7
  result: CompanySearchResult;
8
8
  selectedBusinessId: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { CompanySearchResult } from '../../../../api/companySearch/useCompanySearch';
2
+ import type { CompanySearchResult } from '../../../../api/companySearch/companySearch.types';
3
3
  export interface BusinessSelectionProps {
4
4
  showCompanyStructure: boolean;
5
5
  loading: boolean;
@@ -1,4 +1,4 @@
1
- import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/useCompanyDataset';
1
+ import type { CompanyDatasetResponse } from '../../../../api/companyDataSet/companyDataset.types';
2
2
  export declare const isBankAccountRequestedForOrganization: import("@preact/signals-core").Signal<boolean>;
3
3
  export declare const setIsBankAccountRequestedForOrganization: (hasRequest: boolean | undefined) => void;
4
4
  export declare const verifiedBusiness: import("@preact/signals-core").Signal<CompanyDatasetResponse>;
@@ -1,4 +1,4 @@
1
- import type { TaxClassificationSuccessResponse } from '../../../../api/taxClassification/useTaxClassification';
1
+ import type { TaxClassificationSuccessResponse } from '../../../../api/taxClassification/taxClassification.types';
2
2
  import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
3
3
  import type { FormModel } from '../../../../core/models/form';
4
4
  import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
@@ -1,5 +1,5 @@
1
1
  import './ManageTransferInstrumentOverview.scss';
2
- import type { GetTransferInstrumentResponse } from '../../../../api/transferInstruments/useTransferInstruments';
2
+ import type { GetTransferInstrumentResponse } from '../../../../api/transferInstruments/transferInstruments.types';
3
3
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
4
4
  interface ManageTransferInstrumentOverviewProps {
5
5
  transferInstrumentReferences?: GetTransferInstrumentResponse;
@@ -1,4 +1,4 @@
1
- import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useTransferInstruments';
1
+ import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/transferInstruments.types';
2
2
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
3
3
  interface ManageTransferInstrumentOverviewItemProps {
4
4
  transferInstrumentReference: TransferInstrumentReferenceWithStatusId;
@@ -1,5 +1,5 @@
1
1
  import './ManageTransferInstrumentOverviewItemModal.scss';
2
- import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useTransferInstruments';
2
+ import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/transferInstruments.types';
3
3
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
4
4
  export interface ManageTransferInstrumentOverviewItemModalProps {
5
5
  status: TransferInstrumentReferenceWithStatusId['status'];
@@ -1,11 +1,11 @@
1
- import type { VerifyIdNumber } from '../../../../api/entityVerifications/useVerifyIdNumber';
1
+ import type { VerifyIdNumberCall } from '../../../../api/entityVerifications/entityVerifications.types';
2
2
  import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '../../../../core/models/field-configurations';
3
3
  import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
4
  import type { AsyncValidatorRules } from '../../../../utils/validation/types';
5
5
  import type { IdentitySchema } from '../../forms/Individual/PersonalDetails/Identity/types';
6
6
  import type { PersonalDetailsSchema } from '../../forms/Individual/PersonalDetails/types';
7
7
  import type { IdentityNumberSchema } from './type';
8
- export declare const getAsyncIdNumberValidationRule: (verifyIdNumber: VerifyIdNumber, personalDetails?: PersonalDetailsSchema) => AsyncValidatorRules<IdentityNumberSchema>;
8
+ export declare const getAsyncIdNumberValidationRule: (verifyIdNumber: VerifyIdNumberCall, personalDetails?: PersonalDetailsSchema) => AsyncValidatorRules<IdentityNumberSchema>;
9
9
  export interface FieldConfigParams {
10
10
  idNumberType?: IndividualIdNumberType | 'idNumber';
11
11
  }