@adyen/kyc-components 3.56.1 → 3.57.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 (478) hide show
  1. package/dist/es/{B4MFY5CR-Bvs2knxQ.js → B4MFY5CR-Btb_2-pV.js} +1 -1
  2. package/dist/es/{HO4MOOFI-D73JTsvp.js → HO4MOOFI-BjUBJSdM.js} +2 -2
  3. package/dist/es/{HUY7CZI3-DV5kn2jF.js → HUY7CZI3-BcIThR0Y.js} +2 -2
  4. package/dist/es/{Introduction-C7VMHFjG.js → Introduction-BtT5M7Db.js} +9 -9
  5. package/dist/es/adyen-kyc-components.es.js +2 -2
  6. package/dist/es/{bg-BG-CLxx7Vzf.js → bg-BG-TfrwAHSM.js} +44 -14
  7. package/dist/es/{cs-CZ-DAzZ-QQT.js → cs-CZ-ho_ywBEK.js} +47 -17
  8. package/dist/es/css-q1a-Ur7J.js +15 -0
  9. package/dist/es/{da-DK-CWlRIBva.js → da-DK-DZJF1FaY.js} +41 -11
  10. package/dist/es/{de-DE-BoB9_YkX.js → de-DE-B25fJNin.js} +49 -19
  11. package/dist/es/{el-GR-BDSBp0fE.js → el-GR-DTb_-Vz_.js} +46 -16
  12. package/dist/es/{es-ES-_aGsMlz2.js → es-ES-DZ6sosjP.js} +44 -14
  13. package/dist/es/{et-EE-Cr6-xv9h.js → et-EE-C_1JCxAI.js} +45 -15
  14. package/dist/es/{fi-FI-CamNZ2iE.js → fi-FI-CgnqRXRe.js} +48 -18
  15. package/dist/es/{fr-FR-CsTM8kFg.js → fr-FR-D8_u1qip.js} +45 -15
  16. package/dist/es/{hr-HR-CIwO1uYk.js → hr-HR-BwzK2PB9.js} +45 -15
  17. package/dist/es/{hu-HU-rU2fLfky.js → hu-HU-BnsL9qEe.js} +42 -12
  18. package/dist/es/{index-DvfA_PFX.js → index-Bk0fvPZ4.js} +15629 -15250
  19. package/dist/es/{it-IT-CwR5iwxv.js → it-IT-BTWOlTci.js} +46 -16
  20. package/dist/es/json-BRkB-KFu.js +22 -0
  21. package/dist/es/{lt-LT-B_-b9aW1.js → lt-LT-DNGr3dH0.js} +42 -12
  22. package/dist/es/{lv-LV-5nOFvodG.js → lv-LV-Cfni8DJ9.js} +53 -23
  23. package/dist/es/{nl-NL-C-Y7UeTr.js → nl-NL-Btfceq49.js} +46 -16
  24. package/dist/es/{no-NO-Bi_fh7ny.js → no-NO-B7LAbHK6.js} +46 -16
  25. package/dist/es/onfido-logo-D8NOqXsA.js +5 -0
  26. package/dist/es/{pl-PL-B811CfJY.js → pl-PL-HJUk22yx.js} +41 -11
  27. package/dist/es/plaid-logo-DUkM-5Zw.js +8 -0
  28. package/dist/es/plaintext-D03i-amR.js +8 -0
  29. package/dist/es/{pt-PT-GA57kUMI.js → pt-PT-DLnvZGAx.js} +44 -14
  30. package/dist/es/{ro-RO-dswtP_bR.js → ro-RO-BgPkmrFe.js} +47 -17
  31. package/dist/es/singpass-logo-BZc_TOuU.js +8 -0
  32. package/dist/es/{sk-SK-DYvglg3C.js → sk-SK-Ca7DYst6.js} +46 -16
  33. package/dist/es/{sl-SI-B0rnrENs.js → sl-SI-e_4Ag1rs.js} +44 -14
  34. package/dist/es/{sv-SE-Be6gxk52.js → sv-SE-BCM3E7md.js} +42 -12
  35. package/dist/es/tink-logo-Dsjtzqtp.js +8 -0
  36. package/dist/es/{trustly-logo-YJslAOYF.js → trustly-logo-L-e063DR.js} +3 -3
  37. package/dist/es/yaml-BjlWN5Jw.js +13 -0
  38. package/dist/style.css +1042 -1007
  39. package/dist/types/api/address/useAddressCleanse.d.ts +2 -2
  40. package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
  41. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +21 -0
  42. package/dist/types/api/legalEntity/useLegalEntity.d.ts +1 -1
  43. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  44. package/dist/types/api/pciTemplate/usePciStatus.d.ts +1 -1
  45. package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +2 -2
  46. package/dist/types/components/BankAccount/fields/BankAccountNumber/types.d.ts +2 -2
  47. package/dist/types/components/BankAccount/fields/BankCity/types.d.ts +1 -1
  48. package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +2 -2
  49. package/dist/types/components/BankAccount/fields/BankCode/types.d.ts +2 -2
  50. package/dist/types/components/BankAccount/fields/BankName/types.d.ts +1 -1
  51. package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +2 -2
  52. package/dist/types/components/BankAccount/fields/BranchCode/types.d.ts +2 -2
  53. package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +2 -2
  54. package/dist/types/components/BankAccount/fields/Iban/ibanValidator.d.ts +2 -2
  55. package/dist/types/components/BankAccount/fields/Iban/types.d.ts +2 -2
  56. package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
  57. package/dist/types/components/BankAccount/fields/SwiftCode/types.d.ts +1 -1
  58. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +1 -1
  59. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +6 -6
  60. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +3 -3
  61. package/dist/types/components/BankAccount/forms/PayoutAccount/helpers/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -3
  62. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +4 -4
  63. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
  64. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +10 -10
  65. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/AccountHolderDescriptionFragment.d.ts +1 -1
  66. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +2 -2
  67. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +1 -1
  68. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +2 -3
  69. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +5 -5
  70. package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +2 -2
  71. package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +3 -3
  72. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +2 -2
  73. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +14 -14
  74. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
  75. package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
  76. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +13 -15
  77. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
  78. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +10 -12
  79. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard.d.ts +2 -2
  80. package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +1 -1
  81. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +4 -7
  82. package/dist/types/components/Business/forms/Company/Company.d.ts +1 -1
  83. package/dist/types/components/Business/forms/Company/rules.d.ts +2 -2
  84. package/dist/types/components/Business/forms/Company/types.d.ts +9 -9
  85. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +4 -4
  86. package/dist/types/components/Business/forms/CompanyType/types.d.ts +3 -3
  87. package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +3 -3
  88. package/dist/types/components/Business/forms/RegistrationDocument/config.d.ts +1 -1
  89. package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +4 -4
  90. package/dist/types/components/Business/forms/TaxDocument/config.d.ts +1 -1
  91. package/dist/types/components/Business/forms/TaxDocument/types.d.ts +4 -4
  92. package/dist/types/components/Business/hooks/useBusinessData/constants.d.ts +1 -1
  93. package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +5 -6
  94. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  95. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +19 -21
  96. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +5 -8
  97. package/dist/types/components/Business/tasks/CompanyDropin/types.d.ts +1 -1
  98. package/dist/types/components/Business/utils/companyUtil.d.ts +6 -6
  99. package/dist/types/components/Contract/forms/ContractViewer/ContractViewer.d.ts +1 -1
  100. package/dist/types/components/Contract/forms/ContractViewer/types.d.ts +1 -0
  101. package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -2
  102. package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +2 -2
  103. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +3 -3
  104. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/useServiceAgreement.d.ts +2 -2
  105. package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +3 -3
  106. package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +2 -2
  107. package/dist/types/components/EFP/hooks/useSourceOfFundsTaskStatus.d.ts +2 -2
  108. package/dist/types/components/EFP/tasks/HighExposureDropin/types.d.ts +10 -9
  109. package/dist/types/components/EFP/tasks/HighExposureDropin/utils.d.ts +3 -3
  110. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +2 -2
  111. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +3 -3
  112. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStartedCard.d.ts +2 -2
  113. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +1 -1
  114. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +2 -2
  115. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +12 -12
  116. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +9 -9
  117. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +1 -1
  118. package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +1 -1
  119. package/dist/types/components/EmbeddedDropins/ManageIndividualComponent/ManageIndividualComponent.d.ts +1 -1
  120. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
  121. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +2 -2
  122. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +2 -2
  123. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +2 -2
  124. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +16 -16
  125. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +2 -2
  126. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +1 -1
  127. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +2 -2
  128. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +2 -2
  129. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -1
  130. package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +5 -5
  131. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +2 -0
  132. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +24 -0
  133. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -4
  134. package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +3 -3
  135. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +8 -7
  136. package/dist/types/components/Individual/forms/Individual/IdVerification/IdVerification.d.ts +1 -1
  137. package/dist/types/components/Individual/forms/Individual/IdVerification/types.d.ts +6 -2
  138. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +2 -2
  139. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +3 -3
  140. package/dist/types/components/Individual/forms/Individual/Individual.d.ts +1 -1
  141. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
  142. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +2 -2
  143. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +10 -10
  144. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +6 -6
  145. package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +1 -1
  146. package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +1 -1
  147. package/dist/types/components/Individual/forms/Individual/rules.d.ts +3 -3
  148. package/dist/types/components/Individual/forms/Individual/types.d.ts +13 -13
  149. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +7 -9
  150. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.types.d.ts +2 -2
  151. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
  152. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
  153. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +6 -6
  154. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +8 -8
  155. package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/ConflictRow.d.ts +12 -0
  156. package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/DataConflictsModal.d.ts +11 -0
  157. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.d.ts +1 -1
  158. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +8 -20
  159. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +2 -2
  160. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/UploadedDocument/UploadedDocument.d.ts +2 -3
  161. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/formatId.d.ts +3 -0
  162. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +32 -0
  163. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +3 -0
  164. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +19 -2
  165. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -13
  166. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +17 -22
  167. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +10 -0
  168. package/dist/types/components/Individual/hooks/useIdVerificationToken.d.ts +4 -4
  169. package/dist/types/components/Individual/mapping/IndividualToLegalEntity.mapper.d.ts +1 -7
  170. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +3 -3
  171. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
  172. package/dist/types/components/Shared/EntityAssociation/types.d.ts +5 -5
  173. package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +4 -4
  174. package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +2 -1
  175. package/dist/types/components/Shared/FormNavigation/types.d.ts +4 -4
  176. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +5 -5
  177. package/dist/types/components/Shared/Introduction/Introduction.d.ts +1 -1
  178. package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +1 -1
  179. package/dist/types/components/Shared/Introduction/constants.d.ts +1 -1
  180. package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
  181. package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +2 -2
  182. package/dist/types/components/Shared/SingpassSelection/types.d.ts +3 -3
  183. package/dist/types/components/Shared/Summary/Summary.d.ts +2 -2
  184. package/dist/types/components/Shared/Summary/summaryItem.d.ts +1 -1
  185. package/dist/types/components/Shared/Summary/types.d.ts +2 -2
  186. package/dist/types/components/Shared/devex/DebugTable/DebugTable.d.ts +1 -1
  187. package/dist/types/components/Shared/devex/DebugWrapper/debugInfo.d.ts +6 -6
  188. package/dist/types/components/Shared/fields/BusinessRegistrationNumber/fieldConfig.d.ts +5 -5
  189. package/dist/types/components/Shared/fields/BusinessRegistrationNumber/types.d.ts +3 -3
  190. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -3
  191. package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -2
  192. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +2 -2
  193. package/dist/types/components/Shared/fields/Currency/types.d.ts +3 -3
  194. package/dist/types/components/Shared/fields/DBANameField/fieldConfig.d.ts +1 -1
  195. package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
  196. package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +1 -1
  197. package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
  198. package/dist/types/components/Shared/fields/EInvoicingCodeField/fieldConfig.d.ts +1 -1
  199. package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
  200. package/dist/types/components/Shared/fields/FinancialReportingDate/types.d.ts +1 -1
  201. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +3 -3
  202. package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +2 -2
  203. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +4 -4
  204. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +4 -4
  205. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferCompanyRegistrationNumberType.d.ts +2 -2
  206. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +3 -3
  207. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
  208. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
  209. package/dist/types/components/Shared/fields/Name/types.d.ts +1 -1
  210. package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
  211. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +3 -3
  212. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +3 -3
  213. package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +2 -2
  214. package/dist/types/components/Shared/fields/StateField/types.d.ts +4 -4
  215. package/dist/types/components/Shared/fields/StockExchangeMICField/fieldConfig.d.ts +1 -1
  216. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  217. package/dist/types/components/Shared/fields/StockISINField/fieldConfig.d.ts +1 -1
  218. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  219. package/dist/types/components/Shared/fields/StockTickerSymbol/fieldConfig.d.ts +1 -1
  220. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  221. package/dist/types/components/Shared/fields/TaxId/fieldConfig.d.ts +4 -4
  222. package/dist/types/components/Shared/fields/TaxId/types.d.ts +4 -4
  223. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -2
  224. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +5 -5
  225. package/dist/types/components/Shared/fields/TradingNameField/fieldConfig.d.ts +1 -1
  226. package/dist/types/components/Shared/fields/TradingNameField/types.d.ts +1 -1
  227. package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +2 -2
  228. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +3 -3
  229. package/dist/types/components/Shared/forms/Address/constants.d.ts +1 -1
  230. package/dist/types/components/Shared/forms/Address/types.d.ts +4 -4
  231. package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
  232. package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
  233. package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +4 -4
  234. package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -3
  235. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +7 -7
  236. package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +2 -2
  237. package/dist/types/components/Shared/forms/CompanyRegistrationDetails/types.d.ts +3 -3
  238. package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +2 -2
  239. package/dist/types/components/Shared/forms/ContactDetails/types.d.ts +2 -2
  240. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +6 -6
  241. package/dist/types/components/Shared/forms/FinancialInformation/ReportedValue.d.ts +2 -2
  242. package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  243. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +3 -3
  244. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +4 -4
  245. package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +4 -4
  246. package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +2 -2
  247. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +10 -10
  248. package/dist/types/components/SoleProprietorship/forms/SoleProp/SoleProp.d.ts +1 -1
  249. package/dist/types/components/SoleProprietorship/forms/SoleProp/types.d.ts +10 -10
  250. package/dist/types/components/SoleProprietorship/hooks/useExemptSettlor.d.ts +1 -1
  251. package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -1
  252. package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -1
  253. package/dist/types/components/Trust/forms/Trust/types.d.ts +7 -7
  254. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +7 -7
  255. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/getAvailableRoles.d.ts +1 -1
  256. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +9 -8
  257. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
  258. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +2 -2
  259. package/dist/types/components/Trust/tasks/TrustMembers/CompanyTrustMemberTaskItem.d.ts +1 -1
  260. package/dist/types/components/Trust/tasks/TrustMembers/ExemptSettlorTaskItem.d.ts +1 -1
  261. package/dist/types/components/Trust/tasks/TrustMembers/RegularTrustMemberTaskItem.d.ts +1 -1
  262. package/dist/types/components/Trust/tasks/TrustMembers/RootTrusteeTaskItem.d.ts +1 -1
  263. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +3 -3
  264. package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
  265. package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
  266. package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
  267. package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
  268. package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
  269. package/dist/types/components/Trust/utils/trustUtil.d.ts +5 -5
  270. package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
  271. package/dist/types/components/index.d.ts +5 -5
  272. package/dist/types/components/ui/atoms/Accordion/Accordion.d.ts +1 -1
  273. package/dist/types/components/ui/atoms/ActionsMenu/ActionsMenu.d.ts +0 -1
  274. package/dist/types/components/ui/atoms/Button/Button.d.ts +4 -4
  275. package/dist/types/components/ui/atoms/Button/Button.types.d.ts +19 -21
  276. package/dist/types/components/ui/atoms/Field/Field.types.d.ts +1 -1
  277. package/dist/types/components/ui/atoms/Link/Link.d.ts +1 -2
  278. package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.d.ts +3 -0
  279. package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.types.d.ts +5 -0
  280. package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
  281. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +1 -1
  282. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +1 -1
  283. package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +1 -1
  284. package/dist/types/components/ui/atoms/StructuredList/StructuredList.d.ts +5 -4
  285. package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -1
  286. package/dist/types/components/ui/molecules/ContextGuidance/types.d.ts +1 -1
  287. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +3 -3
  288. package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
  289. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
  290. package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
  291. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +5 -5
  292. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +4 -4
  293. package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +2 -2
  294. package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +2 -2
  295. package/dist/types/components/ui/molecules/InputDate/InputDate.d.ts +1 -1
  296. package/dist/types/components/ui/molecules/InputEmail/InputEmail.d.ts +1 -1
  297. package/dist/types/components/ui/molecules/InputNumber/InputNumber.d.ts +1 -1
  298. package/dist/types/components/ui/molecules/InputTelephone/InputTelephone.d.ts +1 -1
  299. package/dist/types/components/ui/molecules/InputText/InputText.d.ts +1 -1
  300. package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +2 -2
  301. package/dist/types/core/UIElement/UIElement.d.ts +6 -6
  302. package/dist/types/core/analytics.d.ts +1 -1
  303. package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +9 -9
  304. package/dist/types/core/context/CoreContext/CoreContext.d.ts +1 -1
  305. package/dist/types/core/context/CoreContext/CoreProvider.d.ts +1 -1
  306. package/dist/types/core/context/FormContext/types.d.ts +1 -1
  307. package/dist/types/core/context/FormRouterContext/types.d.ts +1 -1
  308. package/dist/types/core/context/I18nProvider/I18nContext.d.ts +1 -1
  309. package/dist/types/core/context/I18nProvider/I18nProvider.d.ts +1 -1
  310. package/dist/types/core/context/SettingsContext/types.d.ts +1 -1
  311. package/dist/types/core/context/StateContext/types.d.ts +1 -1
  312. package/dist/types/core/context/ToastContext/ToastContext.d.ts +1 -1
  313. package/dist/types/core/errorMapping.d.ts +4 -4
  314. package/dist/types/core/hooks/introduction/useCanSeeIntroduction.d.ts +1 -1
  315. package/dist/types/core/hooks/introduction/useIntroductionScreens.d.ts +3 -3
  316. package/dist/types/core/hooks/introduction/useShouldShowIntroduction.d.ts +1 -1
  317. package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -7
  318. package/dist/types/core/hooks/useAllowedCountries.d.ts +1 -1
  319. package/dist/types/core/hooks/useAnalytics.d.ts +1 -1
  320. package/dist/types/core/hooks/useAssociatedLegalArrangement.d.ts +1 -1
  321. package/dist/types/core/hooks/useAssociatedLegalRepresentative.d.ts +1 -1
  322. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +6 -6
  323. package/dist/types/core/hooks/useBusinessSetup.d.ts +1 -9
  324. package/dist/types/core/hooks/useComponentApi.d.ts +3 -3
  325. package/dist/types/core/hooks/useDataMissingRemediations.d.ts +2 -2
  326. package/dist/types/core/hooks/useDataset.d.ts +1 -1
  327. package/dist/types/core/hooks/useForm/types.d.ts +8 -8
  328. package/dist/types/core/hooks/useFormComposer.d.ts +3 -3
  329. package/dist/types/core/hooks/useLegalEntityType.d.ts +2 -2
  330. package/dist/types/core/hooks/useMultiForm/reducer.d.ts +2 -1
  331. package/dist/types/core/hooks/useMultiForm/types.d.ts +3 -2
  332. package/dist/types/core/hooks/useScenarioConfiguration.d.ts +5 -5
  333. package/dist/types/core/hooks/useTranslations.d.ts +1 -1
  334. package/dist/types/core/hooks/useUnifyLoadingStatus.d.ts +1 -1
  335. package/dist/types/core/models/api/document.d.ts +3 -0
  336. package/dist/types/core/models/api/get-configuration.d.ts +1 -1
  337. package/dist/types/core/models/api/get-tasks.d.ts +1 -1
  338. package/dist/types/core/models/api/transfer-instrument-reference.d.ts +1 -1
  339. package/dist/types/core/models/api/version-configuration.d.ts +1 -1
  340. package/dist/types/core/models/company.d.ts +1 -1
  341. package/dist/types/core/models/country-config.d.ts +2 -2
  342. package/dist/types/core/models/decision-maker.d.ts +1 -1
  343. package/dist/types/core/models/errors/entity-problems.d.ts +1 -1
  344. package/dist/types/core/models/errors/error-message.d.ts +1 -1
  345. package/dist/types/core/models/errors/remediation.d.ts +1 -1
  346. package/dist/types/core/models/form-rules.d.ts +5 -5
  347. package/dist/types/core/models/form.d.ts +1 -1
  348. package/dist/types/core/models/identity.d.ts +3 -3
  349. package/dist/types/core/models/trust.d.ts +1 -1
  350. package/dist/types/core/process-field-configurations.d.ts +10 -10
  351. package/dist/types/core/services/agnostic/get-dataset.d.ts +1 -1
  352. package/dist/types/core/services/componentApi/accept-service-agreement.d.ts +1 -1
  353. package/dist/types/core/services/componentApi/company-deep-search.d.ts +1 -1
  354. package/dist/types/core/services/componentApi/company-index-search.d.ts +1 -1
  355. package/dist/types/core/services/componentApi/confirm-data-review.d.ts +1 -1
  356. package/dist/types/core/services/componentApi/create-document.d.ts +1 -1
  357. package/dist/types/core/services/componentApi/create-legal-entity.d.ts +1 -1
  358. package/dist/types/core/services/componentApi/create-transferInstrument.d.ts +1 -1
  359. package/dist/types/core/services/componentApi/create-trusted-transferInstrument.d.ts +1 -1
  360. package/dist/types/core/services/componentApi/delete-document.d.ts +1 -1
  361. package/dist/types/core/services/componentApi/delete-transferInstrument.d.ts +1 -1
  362. package/dist/types/core/services/componentApi/download-pci.d.ts +1 -1
  363. package/dist/types/core/services/componentApi/get-accepted-service-agreement.d.ts +1 -1
  364. package/dist/types/core/services/componentApi/get-address.d.ts +1 -1
  365. package/dist/types/core/services/componentApi/get-allowed-locales.d.ts +1 -1
  366. package/dist/types/core/services/componentApi/get-analytics-session.d.ts +1 -1
  367. package/dist/types/core/services/componentApi/get-bankVerification-vendor.d.ts +3 -3
  368. package/dist/types/core/services/componentApi/get-business-lines.d.ts +1 -1
  369. package/dist/types/core/services/componentApi/get-company-dataset.d.ts +1 -1
  370. package/dist/types/core/services/componentApi/get-document.d.ts +1 -1
  371. package/dist/types/core/services/componentApi/get-idverification-token.d.ts +1 -1
  372. package/dist/types/core/services/componentApi/get-legal-entity.d.ts +1 -1
  373. package/dist/types/core/services/componentApi/get-legal-forms.d.ts +2 -2
  374. package/dist/types/core/services/componentApi/get-nace-codes.d.ts +1 -1
  375. package/dist/types/core/services/componentApi/get-pci-questionnaire.d.ts +1 -1
  376. package/dist/types/core/services/componentApi/get-pci-status.d.ts +1 -1
  377. package/dist/types/core/services/componentApi/get-pci-template.d.ts +1 -1
  378. package/dist/types/core/services/componentApi/get-provider-status.d.ts +1 -1
  379. package/dist/types/core/services/componentApi/get-scenarios.d.ts +2 -2
  380. package/dist/types/core/services/componentApi/get-service-agreement-acceptance-infos.d.ts +1 -1
  381. package/dist/types/core/services/componentApi/get-service-agreement-status.d.ts +1 -1
  382. package/dist/types/core/services/componentApi/get-service-agreement.d.ts +1 -1
  383. package/dist/types/core/services/componentApi/get-source-of-funds-types.d.ts +1 -1
  384. package/dist/types/core/services/componentApi/get-supported-countries.d.ts +1 -1
  385. package/dist/types/core/services/componentApi/get-tasks.d.ts +1 -1
  386. package/dist/types/core/services/componentApi/get-transfer-instrument.d.ts +1 -1
  387. package/dist/types/core/services/componentApi/get-transfer-instruments.d.ts +1 -1
  388. package/dist/types/core/services/componentApi/get-version-configuration.d.ts +1 -1
  389. package/dist/types/core/services/componentApi/handle-bank-verification-error.d.ts +1 -1
  390. package/dist/types/core/services/componentApi/idVerification-startcheck.d.ts +1 -1
  391. package/dist/types/core/services/componentApi/refresh-company-dataset.d.ts +1 -1
  392. package/dist/types/core/services/componentApi/search-address.d.ts +1 -1
  393. package/dist/types/core/services/componentApi/sign-pci.d.ts +1 -1
  394. package/dist/types/core/services/componentApi/update-document.d.ts +1 -1
  395. package/dist/types/core/services/componentApi/update-legal-entity.d.ts +1 -1
  396. package/dist/types/core/services/componentApi/update-source-of-funds.d.ts +1 -1
  397. package/dist/types/core/services/componentApi/update-transferInstrument.d.ts +1 -1
  398. package/dist/types/core/services/componentApi/validate-account-identification.d.ts +2 -2
  399. package/dist/types/core/services/componentApi/validate-phone-number.d.ts +1 -1
  400. package/dist/types/core/services/componentApi/verify-id-number.d.ts +1 -1
  401. package/dist/types/core/services/componentApi/verify-tin.d.ts +1 -1
  402. package/dist/types/core/services/kycExternalApi/get-allowed-countries.d.ts +1 -1
  403. package/dist/types/core/services/kycExternalApi/get-allowed-locales.d.ts +1 -1
  404. package/dist/types/core/services/kycExternalApi/get-configuration.d.ts +1 -1
  405. package/dist/types/core/services/kycExternalApi/validate-account-identification.d.ts +2 -2
  406. package/dist/types/core/services/kycExternalApi/validate-phone-number.d.ts +1 -1
  407. package/dist/types/core/services/kycExternalApi/verify-id-number.d.ts +1 -1
  408. package/dist/types/core/services/types.d.ts +1 -1
  409. package/dist/types/core/types.d.ts +3 -3
  410. package/dist/types/core/user-events.d.ts +2 -2
  411. package/dist/types/core/utils.d.ts +1 -1
  412. package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +2 -2
  413. package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +2 -2
  414. package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +2 -2
  415. package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
  416. package/dist/types/datasets/generators/loadCountries.d.ts +2 -2
  417. package/dist/types/datasets/generators/loadStatesDataset.d.ts +2 -2
  418. package/dist/types/index.d.ts +1 -1
  419. package/dist/types/language/utils.d.ts +1 -1
  420. package/dist/types/stores/globalStore/StoreProvider.d.ts +1 -1
  421. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +5 -5
  422. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +6 -6
  423. package/dist/types/stores/globalStore/get-task-status.d.ts +2 -3
  424. package/dist/types/stores/globalStore/globalStore.d.ts +8 -8
  425. package/dist/types/stores/globalStore/isEmptyEntity.d.ts +1 -1
  426. package/dist/types/utils/accountHolderUtils.d.ts +3 -3
  427. package/dist/types/utils/addressToString.d.ts +3 -0
  428. package/dist/types/utils/api/documentUtils.d.ts +8 -7
  429. package/dist/types/utils/api/processCapabilitites.d.ts +7 -7
  430. package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
  431. package/dist/types/utils/birthDateUtils.d.ts +3 -3
  432. package/dist/types/utils/datasetUtil.d.ts +4 -4
  433. package/dist/types/utils/decisionMakerRoles.d.ts +4 -4
  434. package/dist/types/utils/dropinUtils.d.ts +2 -2
  435. package/dist/types/utils/entityAssociationUtil.d.ts +8 -8
  436. package/dist/types/utils/entityStatusUtil.d.ts +6 -6
  437. package/dist/types/utils/eventHandlers/handleKeys.d.ts +1 -1
  438. package/dist/types/utils/formUtils.d.ts +4 -4
  439. package/dist/types/utils/formatCurrency.d.ts +1 -1
  440. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
  441. package/dist/types/utils/getLegalEntityCountry.d.ts +2 -2
  442. package/dist/types/utils/getName.d.ts +2 -2
  443. package/dist/types/utils/getProps.d.ts +1 -1
  444. package/dist/types/utils/getSSNType.d.ts +1 -1
  445. package/dist/types/utils/isNormalizedStringMatch.d.ts +1 -0
  446. package/dist/types/utils/makeSelectItemForRole.d.ts +2 -2
  447. package/dist/types/utils/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +3 -3
  448. package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +3 -4
  449. package/dist/types/utils/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +2 -2
  450. package/dist/types/utils/mapping/componentApiMapping.d.ts +18 -8
  451. package/dist/types/utils/mapping/customerSupport/mapCustomerSupportSchemaToCustomerSupportType.d.ts +2 -2
  452. package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
  453. package/dist/types/utils/mapping/mapping.d.ts +11 -17
  454. package/dist/types/utils/mapping/trustMembers/getTrustMembers.d.ts +1 -1
  455. package/dist/types/utils/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +2 -2
  456. package/dist/types/utils/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +1 -1
  457. package/dist/types/utils/mapping/trustMembers/mapUndefinedBeneficiaryInfoToTrustMembers.d.ts +1 -1
  458. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -1
  459. package/dist/types/utils/perCountry.d.ts +1 -1
  460. package/dist/types/utils/perState.d.ts +1 -1
  461. package/dist/types/utils/regex/postalCodePatterns.d.ts +1 -1
  462. package/dist/types/utils/roleMetadata.d.ts +4 -4
  463. package/dist/types/utils/stripWhitespace.d.ts +1 -0
  464. package/dist/types/utils/toNormalizedString.d.ts +1 -0
  465. package/dist/types/utils/trackNavigation.d.ts +2 -2
  466. package/dist/types/utils/validation/types.d.ts +3 -3
  467. package/dist/types/utils/validatorUtils.d.ts +2 -2
  468. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +1 -1
  469. package/package.json +2 -2
  470. package/dist/es/onfido-logo-i_oduqdE.js +0 -5
  471. package/dist/es/plaid-logo-4nYeR9iX.js +0 -12
  472. package/dist/es/tink-logo-WImtH5CL.js +0 -8
  473. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +0 -24
  474. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/DriversLicense.d.ts +0 -21
  475. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
  476. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
  477. package/dist/types/components/Individual/hooks/useShowMotionCapture.d.ts +0 -13
  478. package/dist/types/components/ui/atoms/Description/Description.d.ts +0 -10
@@ -1,4 +1,4 @@
1
- import type { LoqateAddress } from '../../core/models/api/address-search';
2
- import type { CleanseAPIRequestPayload } from '../../core/models/api/contracts';
1
+ import type { LoqateAddress } from '#core/models/api/address-search';
2
+ import type { CleanseAPIRequestPayload } from '#core/models/api/contracts';
3
3
  import type { QueryOptions } from '../types';
4
4
  export declare const useAddressCleanse: (data: CleanseAPIRequestPayload | undefined, options?: QueryOptions<LoqateAddress>) => import("@tanstack/react-query").UseQueryResult<LoqateAddress, Error>;
@@ -1,4 +1,4 @@
1
- import type { BusinessLinesType } from '../../core/models/api/source-of-funds';
1
+ import type { BusinessLinesType } from '#core/models/api/source-of-funds';
2
2
  import type { QueryOptions } from '../types';
3
3
  /**
4
4
  * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
@@ -0,0 +1,21 @@
1
+ import { type MutationOptions } from '@tanstack/react-query';
2
+ import type { components } from './idVerificationProviders.contract';
3
+ type schemas = components['schemas'];
4
+ export type ProviderExtractionResponse = schemas['ProviderExtractionResponse'];
5
+ export type ProviderExtractionRequest = schemas['ProviderExtractionRequest'];
6
+ export declare const useExtractDocumentInformation: (options?: Omit<MutationOptions<ProviderExtractionResponse, unknown, ProviderExtractionRequest>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<{
7
+ address?: components["schemas"]["AddressDto"];
8
+ readonly dateOfBirth?: string;
9
+ documentNumber?: string;
10
+ readonly documentType?: string;
11
+ firstName?: string;
12
+ readonly issuingCountry?: string;
13
+ issuingState?: string;
14
+ lastName?: string;
15
+ nationality?: string;
16
+ personalNumber?: string;
17
+ placeOfBirth?: string;
18
+ }, unknown, {
19
+ documents: components["schemas"]["Document"][];
20
+ }, unknown>;
21
+ export {};
@@ -1,4 +1,4 @@
1
- import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
1
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
2
2
  import type { QueryOptions } from '../types';
3
3
  /**
4
4
  *
@@ -1,3 +1,3 @@
1
- import type { OnboardingStatusResponse } from '../../core/models/api/view-verification-status';
1
+ import type { OnboardingStatusResponse } from '#core/models/api/view-verification-status';
2
2
  import type { QueryOptions } from '../types';
3
3
  export declare const useOnboardingStatus: (options?: QueryOptions<OnboardingStatusResponse>) => import("@tanstack/react-query").UseQueryResult<OnboardingStatusResponse, Error>;
@@ -1,3 +1,3 @@
1
- import type { PciStatus, PciStatusRequest } from '../../core/models/api/contracts';
1
+ import type { PciStatus, PciStatusRequest } from '#core/models/api/contracts';
2
2
  import type { QueryOptions } from '../types';
3
3
  export declare const usePciStatus: (data: PciStatusRequest, options?: QueryOptions<PciStatus>) => import("@tanstack/react-query").UseQueryResult<PciStatus, Error>;
@@ -1,5 +1,5 @@
1
- import type { FieldMetadata } from '../../../../core/models/country-config';
2
- import type { NoParams, PerCountryFieldConfig } from '../../../../core/models/field-configurations';
1
+ import type { FieldMetadata } from '#core/models/country-config';
2
+ import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
3
3
  import type { BankAccountNumberSchema } from './types';
4
4
  export declare const defaultFieldMetadata: FieldMetadata<BankAccountNumberSchema, 'bankAccountNumber'>;
5
5
  export declare const defaultFieldConfig: PerCountryFieldConfig<BankAccountNumberSchema, 'bankAccountNumber', NoParams>;
@@ -1,5 +1,5 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  import type { defaultFieldConfig } from './fieldConfig';
4
4
  export interface BankAccountNumberSchema {
5
5
  bankAccountNumber?: string;
@@ -1,4 +1,4 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
2
  export interface BankCitySchema {
3
3
  bankCity?: string;
4
4
  }
@@ -1,5 +1,5 @@
1
- import type { FieldMetadata } from '../../../../core/models/country-config';
2
- import type { NoParams, PerCountryFieldConfig } from '../../../../core/models/field-configurations';
1
+ import type { FieldMetadata } from '#core/models/country-config';
2
+ import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
3
3
  import type { BankCodeSchema } from './types';
4
4
  export declare const defaultFieldMetadata: FieldMetadata<BankCodeSchema, 'bankCode'>;
5
5
  export declare const defaultFieldConfig: PerCountryFieldConfig<BankCodeSchema, 'bankCode', NoParams>;
@@ -1,5 +1,5 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  import type { defaultFieldConfig } from './fieldConfig';
4
4
  export interface BankCodeSchema {
5
5
  bankCode?: string;
@@ -1,4 +1,4 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
2
  export interface BankNameSchema {
3
3
  bankName?: string;
4
4
  }
@@ -1,5 +1,5 @@
1
- import type { FieldMetadata } from '../../../../core/models/country-config';
2
- import type { NoParams, PerCountryFieldConfig } from '../../../../core/models/field-configurations';
1
+ import type { FieldMetadata } from '#core/models/country-config';
2
+ import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
3
3
  import type { BranchCodeSchema } from './types';
4
4
  export declare const defaultFieldMetadata: FieldMetadata<BranchCodeSchema, 'branchCode'>;
5
5
  export declare const defaultFieldConfig: PerCountryFieldConfig<BranchCodeSchema, 'branchCode', NoParams>;
@@ -1,5 +1,5 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  import type { defaultFieldConfig } from './fieldConfig';
4
4
  export interface BranchCodeSchema {
5
5
  branchCode?: string;
@@ -1,5 +1,5 @@
1
- import type { FieldMetadata } from '../../../../core/models/country-config';
2
- import type { NoParams, PerCountryFieldConfig } from '../../../../core/models/field-configurations';
1
+ import type { FieldMetadata } from '#core/models/country-config';
2
+ import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
3
3
  import type { IbanSchema } from './types';
4
4
  export declare const defaultFieldMetadata: FieldMetadata<IbanSchema, 'iban'>;
5
5
  export declare const defaultFieldConfig: PerCountryFieldConfig<IbanSchema, 'iban', NoParams>;
@@ -1,3 +1,3 @@
1
- import type { CountryCode } from '../../../../core/models/country-code';
2
- import type { Translatable } from '../../../../language/types';
1
+ import type { CountryCode } from '#core/models/country-code';
2
+ import type { Translatable } from '#language/types';
3
3
  export declare function ibanValidator(input: string | undefined | null, bankCountry: CountryCode): boolean | Translatable;
@@ -1,5 +1,5 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  import type { defaultFieldConfig } from './fieldConfig';
4
4
  export interface IbanSchema {
5
5
  iban?: string;
@@ -1,3 +1,3 @@
1
- import type { FieldMetadata } from '../../../../core/models/country-config';
1
+ import type { FieldMetadata } from '#core/models/country-config';
2
2
  import type { SwiftCodeSchema } from './types';
3
3
  export declare const swiftCodeFieldMetadata: FieldMetadata<SwiftCodeSchema, 'swiftCode'>;
@@ -1,4 +1,4 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
2
  export interface SwiftCodeSchema {
3
3
  swiftCode?: string;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import './BankDocumentRequirements.scss';
2
- import type { CountryCode } from '../../../../core/models/country-code';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  import type { DocumentsModifiers } from './types';
4
4
  import { BankDocumentTypes } from './types';
5
5
  interface BankDocumentRequirementsProps {
@@ -1,9 +1,9 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
3
- import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
4
- import type { CountryCode } from '../../../../core/models/country-code';
5
- import type { FileSchema } from '../../../../core/models/file';
6
- import type { TranslationKey } from '../../../../language/types';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
3
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
4
+ import type { CountryCode } from '#core/models/country-code';
5
+ import type { FileSchema } from '#core/models/file';
6
+ import type { TranslationKey } from '#language/types';
7
7
  export interface BankDocumentSchema {
8
8
  bankStatementDocument?: FileSchema[];
9
9
  description?: string;
@@ -1,7 +1,7 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
3
- import type { CountryCode } from '../../../../core/models/country-code';
4
- import type { Currency } from '../../../../core/models/currency';
2
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
3
+ import type { CountryCode } from '#core/models/country-code';
4
+ import type { Currency } from '#core/models/currency';
5
5
  import type { PayoutDetailsProps } from '../PayoutDetails/types';
6
6
  export interface AccountVerificationResponse {
7
7
  bankName: string;
@@ -1,6 +1,6 @@
1
- import type { AccountIdentification } from '../../../../../core/models/api/accountIdentification';
2
- import type { BankAccount } from '../../../../../core/models/api/transfer-instrument';
3
- import type { CountryCode } from '../../../../../core/models/country-code';
1
+ import type { AccountIdentification } from '#core/models/api/accountIdentification';
2
+ import type { BankAccount } from '#core/models/api/transfer-instrument';
3
+ import type { CountryCode } from '#core/models/country-code';
4
4
  import type { PayoutAccountSchema } from '../types';
5
5
  export declare const getAccountIdentificationFromPayoutAccountSchema: (payoutAccount: PayoutAccountSchema, bankCountry: CountryCode) => AccountIdentification;
6
6
  export declare const mapPayoutAccountSchemaToApiBankAccount: (payoutAccount: PayoutAccountSchema, bankCountry: CountryCode) => BankAccount;
@@ -1,7 +1,7 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
3
- import type { CountryCode } from '../../../../core/models/country-code';
4
- import type { CurrencySchema } from '../../../Shared/fields/Currency/types';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
3
+ import type { CountryCode } from '#core/models/country-code';
4
+ import type { CurrencySchema } from '#shared/fields/Currency/types';
5
5
  import type { BankAccountNumberSchema } from '../../fields/BankAccountNumber/types';
6
6
  export interface PayoutAccountSchema extends CurrencySchema, BankAccountNumberSchema {
7
7
  transferInstrumentId?: string;
@@ -1,3 +1,3 @@
1
- import type { FormRules } from '../../../../core/models/form-rules';
1
+ import type { FormRules } from '#core/models/form-rules';
2
2
  import type { PayoutDetailsSchema } from './types';
3
3
  export declare const rules: FormRules<PayoutDetailsSchema>;
@@ -1,16 +1,16 @@
1
1
  import type { QueryObserverResult, RefetchOptions } from '@tanstack/react-query';
2
2
  import type { Dispatch, StateUpdater } from 'preact/hooks';
3
- import type { BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
4
- import type { CapabilityName } from '../../../../core/models/api/capability';
5
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
6
- import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
7
- import type { BankVerificationErrorResponse, CreateTrustedTransferInstrumentResponse } from '../../../../core/models/api/trusted-transferInstrument';
8
- import type { CountryCode } from '../../../../core/models/country-code';
9
- import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
10
- import type { FormModel } from '../../../../core/models/form';
11
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
3
+ import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
4
+ import type { BaseOuterFormProps } from '#core/hooks/useForm/types';
5
+ import type { CapabilityName } from '#core/models/api/capability';
6
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
7
+ import type { ExistingTransferInstrument } from '#core/models/api/transfer-instrument';
8
+ import type { BankVerificationErrorResponse, CreateTrustedTransferInstrumentResponse } from '#core/models/api/trusted-transferInstrument';
9
+ import type { CountryCode } from '#core/models/country-code';
10
+ import type { EntityProblems } from '#core/models/errors/entity-problems';
11
+ import type { FormModel } from '#core/models/form';
12
+ import type { TaskTypes } from '#stores/globalStore/taskTypes';
12
13
  import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
13
- import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
14
14
  import type { BankDocumentSchema } from '../BankDocument/types';
15
15
  import type { AccountVerificationSchema, BankVerificationVendor } from '../BankVerification/types';
16
16
  import type { PayoutAccountSchema } from '../PayoutAccount/types';
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'preact';
2
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
3
3
  interface AccountHolderDescriptionFragmentProps {
4
4
  legalEntityResponse: ExistingLegalEntity;
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import { type Dispatch, type StateUpdater } from 'preact/hooks';
2
+ import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
3
+ import type { BankVerificationErrorResponse } from '#core/models/api/trusted-transferInstrument';
2
4
  import type { ValidatorMode } from '#utils/validation/types';
3
- import type { BankVerificationErrorResponse } from '../../../../../core/models/api/trusted-transferInstrument';
4
- import type { LoadingStatus } from '../../../../ui/atoms/LoaderWrapper/constants';
5
5
  import type { BankVerificationVendor, InstantVerificationErrorNotification } from '../../BankVerification/types';
6
6
  import type { PayoutDetailsProps } from '../../PayoutDetails/types';
7
7
  import type { PayoutVerificationMethodSchema, VerificationMethod } from '../types';
@@ -1,3 +1,3 @@
1
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { CountryCode } from '#core/models/country-code';
2
2
  export declare const eeaCountries: CountryCode[];
3
3
  export declare const getAllowedBankCountries: (country: CountryCode) => CountryCode[];
@@ -1,5 +1,5 @@
1
- import type { TranslationKey } from '../../../../language/types';
2
- import type { SvgName } from '../../../ui/atoms/Svg/Svg';
1
+ import type { SvgName } from '#atoms/Svg/Svg';
2
+ import type { TranslationKey } from '#language/types';
3
3
  import type { VerificationMethod } from './types';
4
4
  interface PayoutVerificationMethodMetadata {
5
5
  name: TranslationKey;
@@ -12,6 +12,5 @@ interface PayoutVerificationMethodMetadata {
12
12
  };
13
13
  }
14
14
  export declare const getProviderName: (providerName?: string) => string;
15
- export declare const getProviderIconName: (providerName?: string) => SvgName | undefined;
16
15
  export declare const makePayoutVerificationMethodsMetadata: (instantVerificationProviderName?: string) => Record<VerificationMethod, PayoutVerificationMethodMetadata>;
17
16
  export {};
@@ -1,9 +1,9 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
3
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
4
- import type { CountryCode } from '../../../../core/models/country-code';
5
- import type { FormModel } from '../../../../core/models/form';
6
- import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
2
+ import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
3
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
4
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
5
+ import type { CountryCode } from '#core/models/country-code';
6
+ import type { FormModel } from '#core/models/form';
7
7
  import type { AccountVerificationSchema, BankVerificationVendor, InstantVerificationErrorNotification } from '../BankVerification/types';
8
8
  import type { PayoutDetailsProps } from '../PayoutDetails/types';
9
9
  export declare const payoutVerificationMethods: readonly ["instantVerification", "manualVerification"];
@@ -1,3 +1,3 @@
1
- import type { AccountIdentification } from '../../../core/models/api/accountIdentification';
2
- import type { AccountValidationResponse } from '../../../core/models/errors/validation-error';
1
+ import type { AccountIdentification } from '#core/models/api/accountIdentification';
2
+ import type { AccountValidationResponse } from '#core/models/errors/validation-error';
3
3
  export declare const useAsyncAccountDetailsValidationRules: (payload: AccountIdentification | undefined, hasEmptyFields: boolean, isAccountNumberMasked: boolean) => AccountValidationResponse;
@@ -1,6 +1,6 @@
1
- import type { CountryCode } from '../../../core/models/country-code';
2
- import type { Currency } from '../../../core/models/currency';
3
- import type { Language } from '../../../language/Language';
1
+ import type { CountryCode } from '#core/models/country-code';
2
+ import type { Currency } from '#core/models/currency';
3
+ import type { Language } from '#language/Language';
4
4
  import type { BankAccountFormatType } from '../fields/BankAccountFormat/types';
5
5
  import type { PayoutAccountSchema } from '../forms/PayoutAccount/types';
6
6
  export declare const shouldShowCheckGuidance: (country: CountryCode) => boolean;
@@ -1,6 +1,6 @@
1
1
  import './VerifiedBusinessCard.scss';
2
- import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
3
- import type { AddressSchema } from '../../../Shared/forms/Address/types';
2
+ import type { CompanyDatasetResponse } from '#core/models/api/company-search';
3
+ import type { AddressSchema } from '#shared/forms/Address/types';
4
4
  interface VerifiedBusinessDataProps {
5
5
  verifiedBusiness: CompanyDatasetResponse | undefined;
6
6
  verifiedAddress: AddressSchema | undefined;
@@ -1,18 +1,18 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
3
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
4
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { CompanyDatasetResponse } from '#core/models/api/company-search';
3
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
4
+ import type { CountryCode } from '#core/models/country-code';
5
+ import type { BusinessRegistrationNumberFieldSchema } from '#shared/fields/BusinessRegistrationNumberField/types';
6
+ import type { DateOfIncorporationFieldSchema } from '#shared/fields/DateOfIncorporationField/types';
7
+ import type { DBANameFieldSchema } from '#shared/fields/DBANameField/types';
8
+ import type { EInvoicingCodeFieldSchema } from '#shared/fields/EInvoicingCodeField/types';
9
+ import type { StockExchangeMICFieldSchema } from '#shared/fields/StockExchangeMICField/types';
10
+ import type { StockISINFieldSchema } from '#shared/fields/StockISINField/types';
11
+ import type { StockTickerSymbolFieldSchema } from '#shared/fields/StockTickerSymbol/types';
12
+ import type { TaxInformationFieldSchema } from '#shared/fields/TaxInformationField/types';
13
+ import type { VatNumberFieldSchema } from '#shared/fields/VatNumberField/types';
14
+ import type { RegistrationAddressSchema } from '#shared/forms/RegistrationAddress/types';
5
15
  import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
6
- import type { BusinessRegistrationNumberFieldSchema } from '../../../Shared/fields/BusinessRegistrationNumberField/types';
7
- import type { DateOfIncorporationFieldSchema } from '../../../Shared/fields/DateOfIncorporationField/types';
8
- import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
9
- import type { EInvoicingCodeFieldSchema } from '../../../Shared/fields/EInvoicingCodeField/types';
10
- import type { StockExchangeMICFieldSchema } from '../../../Shared/fields/StockExchangeMICField/types';
11
- import type { StockISINFieldSchema } from '../../../Shared/fields/StockISINField/types';
12
- import type { StockTickerSymbolFieldSchema } from '../../../Shared/fields/StockTickerSymbol/types';
13
- import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
14
- import type { VatNumberFieldSchema } from '../../../Shared/fields/VatNumberField/types';
15
- import type { RegistrationAddressSchema } from '../../../Shared/forms/RegistrationAddress/types';
16
16
  export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumberFieldSchema, TaxInformationFieldSchema, BusinessRegistrationNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, RegistrationAddressSchema, EInvoicingCodeFieldSchema {
17
17
  legalFormDescription?: string;
18
18
  }
@@ -1,6 +1,6 @@
1
+ import type { CompanyDatasetResponse } from '#core/models/api/company-search';
2
+ import type { AddressSchema } from '#shared/forms/Address/types';
1
3
  import type { ValidatorMode } from '#utils/validation/types';
2
- import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
3
- import type { AddressSchema } from '../../../Shared/forms/Address/types';
4
4
  import type { AdditionalInformationSchema } from './types';
5
5
  /**
6
6
  * Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode']
@@ -3,4 +3,4 @@ import type { BusinessDetailsSchema } from '../BusinessDetails/types';
3
3
  import type { BasicInformationProps, BasicInformationSchema } from './types';
4
4
  export declare const BASIC_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
5
5
  export declare const BASIC_INFORMATION_FIELDS: Array<keyof BasicInformationSchema>;
6
- export declare function BasicInformation({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, className, showBusinessSelection, showCompanyStructure, isActiveForm, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, verifiedBusiness, fetchBusinessData, verifyBusinessData, proceedToManualDataEntry, handleNextClick, setShowBusinessSelection, setShowCompanyStructure, resetTinVerification, disableCountry, }: BasicInformationProps): import("preact/jsx-runtime").JSX.Element;
6
+ export declare function BasicInformation({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, className, showBusinessSelection, showCompanyStructure, isActiveForm, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, verifiedBusiness, fetchBusinessData, verifyTin, proceedToManualDataEntry, handleNextClick, setShowBusinessSelection, setShowCompanyStructure, resetTinVerification, disableCountry, }: BasicInformationProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,17 +1,18 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { HookStatus } from '../../../../core/hooks/types';
3
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
4
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
5
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
6
- import type { CountryCode } from '../../../../core/models/country-code';
7
- import type { BusinessRegistrationNumberFieldSchema } from '../../../Shared/fields/BusinessRegistrationNumberField/types';
8
- import type { CountryFieldSchema } from '../../../Shared/fields/CountryField/types';
9
- import type { CountryOfGoverningLawFieldSchema } from '../../../Shared/fields/CountryOfGoverningLawField/types';
10
- import type { LegalCompanyNameFieldSchema } from '../../../Shared/fields/LegalCompanyNameField/types';
11
- import type { StateFieldSchema } from '../../../Shared/fields/StateField/types';
12
- import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
2
+ import type { HookStatus } from '#core/hooks/types';
3
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
4
+ import type { CompanyDatasetResponse, CompanySearchResult } from '#core/models/api/company-search';
5
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
6
+ import type { CountryCode } from '#core/models/country-code';
7
+ import type { BusinessRegistrationNumberFieldSchema } from '#shared/fields/BusinessRegistrationNumberField/types';
8
+ import type { CountryFieldSchema } from '#shared/fields/CountryField/types';
9
+ import type { CountryOfGoverningLawFieldSchema } from '#shared/fields/CountryOfGoverningLawField/types';
10
+ import type { LegalCompanyNameFieldSchema } from '#shared/fields/LegalCompanyNameField/types';
11
+ import type { StateFieldSchema } from '#shared/fields/StateField/types';
12
+ import type { TaxInformationFieldSchema } from '#shared/fields/TaxInformationField/types';
13
+ import type { UseBusinessData } from '../../hooks/useBusinessData/types';
13
14
  export type BasicInformationSchema = CountryFieldSchema & LegalCompanyNameFieldSchema & StateFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema & CountryOfGoverningLawFieldSchema;
14
- export interface BasicInformationProps extends BaseInnerFormProps<BasicInformationSchema> {
15
+ export interface BasicInformationProps extends BaseInnerFormProps<BasicInformationSchema>, Pick<UseBusinessData, 'resetTinVerification' | 'fetchBusinessData' | 'verifyTin'> {
15
16
  country: CountryCode;
16
17
  companyType: CompanyTypesValue | undefined;
17
18
  isTopLevelEntity: boolean;
@@ -27,9 +28,6 @@ export interface BasicInformationProps extends BaseInnerFormProps<BasicInformati
27
28
  verifiedBusiness: CompanyDatasetResponse | undefined;
28
29
  disableCountry?: boolean;
29
30
  className?: string;
30
- resetTinVerification: () => void;
31
- fetchBusinessData: (company: CompanySearchResult) => Promise<CompanyDatasetResponse | undefined>;
32
- verifyBusinessData: (data: CompanyDatasetResponse, tin: string) => Promise<boolean | undefined>;
33
31
  proceedToManualDataEntry: () => Promise<void>;
34
32
  handleNextClick: () => void;
35
33
  setShowBusinessSelection: Dispatch<StateUpdater<boolean>>;
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { CountryCode } from '#core/models/country-code';
2
2
  import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
3
3
  import type { BasicInformationSchema } from '../BasicInformation/types';
4
4
  export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
@@ -1,13 +1,14 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { HookStatus } from '../../../../core/hooks/types';
3
- import type { BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
4
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
5
- import type { CountryCode } from '../../../../core/models/country-code';
6
- import type { FormModel } from '../../../../core/models/form';
7
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
2
+ import type { HookStatus } from '#core/hooks/types';
3
+ import type { BaseOuterFormProps } from '#core/hooks/useForm/types';
4
+ import type { CompanyDatasetResponse, CompanySearchResult } from '#core/models/api/company-search';
5
+ import type { CountryCode } from '#core/models/country-code';
6
+ import type { FormModel } from '#core/models/form';
7
+ import type { DocumentUploadSchema } from '#shared/forms/DocumentUpload/types';
8
+ import type { FinancialInformationSchema } from '#shared/forms/FinancialInformation/types';
9
+ import type { TaskTypes } from '#stores/globalStore/taskTypes';
8
10
  import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
9
- import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
10
- import type { FinancialInformationSchema } from '../../../Shared/forms/FinancialInformation/types';
11
+ import type { UseBusinessData } from '../../hooks/useBusinessData/types';
11
12
  import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
12
13
  import type { BasicInformationSchema } from '../BasicInformation/types';
13
14
  import type { CompanyStructureSchema } from '../CompanyStructure/types';
@@ -21,7 +22,7 @@ export interface BusinessDetailsSchema {
21
22
  companyFinancialInformation?: FinancialInformationSchema;
22
23
  companyConstitutionalDocument?: DocumentUploadSchema;
23
24
  }
24
- export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetailsSchema> {
25
+ export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetailsSchema>, Pick<UseBusinessData, 'verifyTin' | 'fetchBusinessData' | 'resetTinVerification'> {
25
26
  country: CountryCode;
26
27
  isTopLevelEntity: boolean;
27
28
  showCompanyStructure: boolean;
@@ -40,9 +41,6 @@ export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetails
40
41
  handleNextClick: () => void;
41
42
  handleAddressSearch: DropinAPIHandlers['handleAddressSearch'];
42
43
  handleFindAddress: DropinAPIHandlers['handleFindAddress'];
43
- resetTinVerification: () => void;
44
- fetchBusinessData: (company: CompanySearchResult) => Promise<CompanyDatasetResponse | undefined>;
45
- verifyBusinessData: (data: CompanyDatasetResponse, tin: string) => Promise<boolean | undefined>;
46
44
  proceedToManualDataEntry: () => Promise<void>;
47
45
  onSubmit?: (company: BusinessDetailsSchema) => void;
48
46
  }
@@ -1,7 +1,7 @@
1
1
  import './BusinessInformationCard.scss';
2
2
  import { type Dispatch, type StateUpdater } from 'preact/hooks';
3
- import type { HookStatus } from '../../../../core/hooks/types';
4
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
3
+ import type { HookStatus } from '#core/hooks/types';
4
+ import type { CompanyDatasetResponse, CompanySearchResult } from '#core/models/api/company-search';
5
5
  interface BusinessInformationCardProps {
6
6
  result: CompanySearchResult;
7
7
  selectedBusinessId: string | undefined;
@@ -1,3 +1,3 @@
1
1
  import './BusinessSelection.scss';
2
2
  import type { BusinessSelectionProps } from './types';
3
- export declare function BusinessSelection({ showCompanyStructure, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, fetchBusinessData, verifyBusinessData, resetTinVerification, proceedToManualDataEntry, handleNextClick, setIsBusinessSelection, setShowCompanyStructure, }: BusinessSelectionProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function BusinessSelection({ showCompanyStructure, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, fetchBusinessData, verifyTin, resetTinVerification, proceedToManualDataEntry, handleNextClick, setIsBusinessSelection, setShowCompanyStructure, }: BusinessSelectionProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { HookStatus } from '../../../../core/hooks/types';
3
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
4
- import type { StateCode } from '../../../../core/models/state-code';
5
- export interface BusinessSelectionProps {
2
+ import type { HookStatus } from '#core/hooks/types';
3
+ import type { CompanySearchResult } from '#core/models/api/company-search';
4
+ import type { UseBusinessData } from '../../hooks/useBusinessData/types';
5
+ export interface BusinessSelectionProps extends Pick<UseBusinessData, 'fetchBusinessData' | 'verifyTin' | 'resetTinVerification'> {
6
6
  showCompanyStructure: boolean;
7
7
  searching: HookStatus;
8
8
  fetching: HookStatus;
@@ -10,9 +10,6 @@ export interface BusinessSelectionProps {
10
10
  resettingTrustedData: HookStatus;
11
11
  searchResults: CompanySearchResult[] | undefined;
12
12
  invalidTin: boolean;
13
- fetchBusinessData: (company: CompanySearchResult, state?: StateCode) => Promise<CompanyDatasetResponse | undefined>;
14
- verifyBusinessData: (data: CompanyDatasetResponse, tin: string) => Promise<boolean | undefined>;
15
- resetTinVerification: () => void;
16
13
  proceedToManualDataEntry: () => Promise<void>;
17
14
  handleNextClick: () => void;
18
15
  setIsBusinessSelection: Dispatch<StateUpdater<boolean>>;
@@ -1,4 +1,4 @@
1
- import type { FinancialInformationSchema } from '../../../Shared/forms/FinancialInformation/types';
1
+ import type { FinancialInformationSchema } from '#shared/forms/FinancialInformation/types';
2
2
  import type { CompanyProps } from './types';
3
3
  export declare const companyForms: {
4
4
  readonly companyNameAndCountry: {
@@ -1,5 +1,5 @@
1
- import type { CountryCode } from '../../../../core/models/country-code';
2
- import type { FormRules } from '../../../../core/models/form-rules';
1
+ import type { CountryCode } from '#core/models/country-code';
2
+ import type { FormRules } from '#core/models/form-rules';
3
3
  import type { SolePropSchema } from '../../../SoleProprietorship/forms/SoleProp/types';
4
4
  import type { BusinessDetailsSchema } from '../BusinessDetails/types';
5
5
  import type { CompanySchema } from './types';