@adyen/kyc-components 3.56.2 → 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-ExJ43VbQ.js → B4MFY5CR-Btb_2-pV.js} +1 -1
  2. package/dist/es/{HO4MOOFI-B_bvIPSM.js → HO4MOOFI-BjUBJSdM.js} +2 -2
  3. package/dist/es/{HUY7CZI3-CMswV2LE.js → HUY7CZI3-BcIThR0Y.js} +2 -2
  4. package/dist/es/{Introduction-EEHJF6pV.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-_9WP3-b5.js → index-Bk0fvPZ4.js} +15630 -15249
  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
@@ -0,0 +1,32 @@
1
+ import type { Phone } from '#core/models/api/phone';
2
+ import type { CountryCode } from '#core/models/country-code';
3
+ import type { IndividualIdNumberType } from '#shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
+ import type { AddressSchema } from '#shared/forms/Address/types';
5
+ import type { IndividualOnfidoSchema } from '../IndividualOnfido.types';
6
+ /**
7
+ * A schema which allows for easy comparison of specific data between two {@link IndividualOnfidoSchema}s.
8
+ *
9
+ * **Note:** top-level properties will be compared, e.g. the `address` field will be treated a single, indivisible unit.
10
+ * If you wanted to compare `address.city`, you would need to put that field on the top-level.
11
+ */
12
+ export interface IndividualOnfidoConflictsSchema {
13
+ /** see {@link BasicDetailsSchema} */
14
+ firstName?: string;
15
+ lastName?: string;
16
+ email?: string;
17
+ phoneNumber?: Phone;
18
+ /** see {@link IdentityNumberSchema} */
19
+ id?: {
20
+ typeOfIdentity?: IndividualIdNumberType;
21
+ idNumber?: string;
22
+ issuerState?: string;
23
+ licenseCardNumber?: string;
24
+ expiryDate?: string;
25
+ };
26
+ /** see {@link AdditionalIdentityInfoSchema} */
27
+ birthDate?: string;
28
+ nationality?: CountryCode;
29
+ address?: AddressSchema;
30
+ }
31
+ export declare const toIndividualOnfidoConflictSchema: ({ basicDetails, additionalPersonalDetails, }: IndividualOnfidoSchema) => IndividualOnfidoConflictsSchema;
32
+ export declare const fromIndividualOnfidoConflictSchema: ({ firstName, lastName, email, phoneNumber, id, birthDate, nationality, address, }: IndividualOnfidoConflictsSchema) => IndividualOnfidoSchema;
@@ -0,0 +1,3 @@
1
+ import type { ProviderExtractionResponse } from '#api/idVerificationProviders/useExtractDocumentInformation';
2
+ import type { IndividualOnfidoSchema } from '../IndividualOnfido.types';
3
+ export declare const mapExtractionResultToSchema: (result: ProviderExtractionResponse) => IndividualOnfidoSchema;
@@ -1,4 +1,21 @@
1
- import type { FormList } from '../../../../core/models/form';
1
+ import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
2
+ import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
2
3
  import type { IndividualOnfidoProps } from './IndividualOnfido.types';
3
- export declare const individualOnfidoForms: FormList;
4
+ export declare const individualOnfidoForms: {
5
+ readonly basicDetails: {
6
+ readonly formId: "basicDetails";
7
+ readonly formName: "basicInformationFormName";
8
+ readonly fields: (keyof BasicDetailsSchema)[];
9
+ };
10
+ readonly idVerificationMethod: {
11
+ readonly formId: "idVerificationMethod";
12
+ readonly formName: "verificationMethod";
13
+ readonly fields: (keyof import("./IdVerificationMethod/IdVerificationMethod.types").IdVerificationMethodSchema)[];
14
+ };
15
+ readonly additionalPersonalDetails: {
16
+ readonly formId: "additionalPersonalDetails";
17
+ readonly formName: "additionalPersonalDetails";
18
+ readonly fields: (keyof AdditionalPersonalDetailsSchema)[];
19
+ };
20
+ };
4
21
  export declare function IndividualOnfido(props: Readonly<IndividualOnfidoProps>): import("preact/jsx-runtime").JSX.Element;
@@ -1,16 +1,5 @@
1
- import { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
2
- import type { CountryCode } from '../../../../core/models/country-code';
3
- 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';
4
3
  import type { IndividualOnfidoSchema } from './IndividualOnfido.types';
5
- export declare const SOLE_PROP_COUNTRIES: CountryCode[];
6
- export declare const ID_NUMBER_EXEMPT_COUNTRIES: CountryCode[];
7
4
  export declare const COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES: CountryCode[];
8
- export declare const ID_NUMBER_REQUIRED_FOR_DIRECTOR_COUNTRIES: CountryCode[];
9
- export declare const NATIONALITY_REQUIRED_FOR_COUNTRIES: CountryCode[];
10
- export declare const CONTACTS_REQUIRED_FOR_COUNTRIES: CountryCode[];
11
- export declare const JOB_TITLE_REQUIRED_FOR_COUNTRIES: CountryCode[];
12
- export declare const ISSUER_REQUIRED_FOR_COUNTRIES: CountryCode[];
13
- export declare const EXPIRY_DATE_REQUIRED_FOR_COUNTRIES: CountryCode[];
14
- export declare const LICENSE_CARD_NUMBER_REQUIRED_FOR_COUNTRIES: CountryCode[];
15
- export declare const DECISION_MAKER_TYPES_WITH_JOBTITLE: DecisionMakerType[];
16
5
  export declare const IndividualOnfidoRules: FormRules<IndividualOnfidoSchema>;
@@ -1,42 +1,37 @@
1
- import type { BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
3
- import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../../../core/models/api/instant-id-verification';
4
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
5
- import type { LegalEntityAssociation } from '../../../../core/models/api/legal-entity-association';
6
- import type { CountryCode } from '../../../../core/models/country-code';
7
- import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
8
- import type { FormModel } from '../../../../core/models/form';
9
- import type { AccountHolderOption } from '../../../../core/types/AccountHolder.types';
10
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
1
+ import type { BaseOuterFormProps } from '#core/hooks/useForm/types';
2
+ import type { DecisionMakerType } from '#core/models/api/decision-maker-type';
3
+ import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '#core/models/api/instant-id-verification';
4
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
5
+ import type { LegalEntityAssociation } from '#core/models/api/legal-entity-association';
6
+ import type { CountryCode } from '#core/models/country-code';
7
+ import type { EntityProblems } from '#core/models/errors/entity-problems';
8
+ import type { FormModel } from '#core/models/form';
9
+ import type { AccountHolderOption } from '#core/types/AccountHolder.types';
10
+ import type { DocumentUploadSchema } from '#shared/forms/DocumentUpload/types';
11
+ import type { TaskTypes } from '#stores/globalStore/taskTypes';
11
12
  import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
12
- import type { AddressSchema } from '../../../Shared/forms/Address/types';
13
- import type { ContactDetailsSchema } from '../../../Shared/forms/ContactDetails/types';
14
- import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
15
13
  import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
16
14
  import type { NomineeDecisionMakerRoleSchema } from '../../fields/DecisionMakerRole/types';
17
- import type { IdDocumentUploadSchema } from '../Individual/IdDocumentUpload/types';
18
15
  import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
19
16
  import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
20
17
  import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
21
18
  export interface IndividualOnfidoSchema {
22
19
  basicDetails?: BasicDetailsSchema;
23
- address?: AddressSchema;
24
- contactDetails?: ContactDetailsSchema;
25
- idDocument?: IdDocumentUploadSchema;
20
+ idVerificationMethod?: IdVerificationMethodSchema;
21
+ additionalPersonalDetails?: AdditionalPersonalDetailsSchema;
26
22
  proofOfResidency?: DocumentUploadSchema;
27
23
  proofOfNationalId?: DocumentUploadSchema;
28
24
  proofOfRelationship?: DocumentUploadSchema;
29
- idVerificationMethod?: IdVerificationMethodSchema;
30
25
  nominee?: NomineeDecisionMakerRoleSchema;
31
- additionalPersonalDetails?: AdditionalPersonalDetailsSchema;
32
26
  }
33
27
  export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfidoSchema> {
34
28
  handleAddressSearch?: DropinAPIHandlers['handleAddressSearch'];
35
29
  handleFindAddress?: DropinAPIHandlers['handleFindAddress'];
36
30
  handleGetIdVerificationToken?(legalEntityId: string, data: InstantIdVerificationTokenRequest): Promise<InstantIdVerificationTokenResponse>;
37
31
  handleOpenSingpassAuthorizationLink?: DropinAPIHandlers['handleOpenSingpassAuthorizationLink'];
38
- activeForm?: FormModel;
39
- forms?: FormModel[];
32
+ activeForm: FormModel;
33
+ forms: FormModel[];
34
+ defaultCountry: CountryCode;
40
35
  problems?: EntityProblems;
41
36
  legalEntityId?: string;
42
37
  taskType?: TaskTypes;
@@ -48,7 +43,7 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
48
43
  accountHolder: AccountHolderOption | undefined;
49
44
  trustedRoles?: Array<LegalEntityAssociation['type']>;
50
45
  }
51
- export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder'>, IndividualOnfidoDropinApiHandlers, DropinProps {
46
+ export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder' | 'forms' | 'activeForm' | 'defaultCountry'>, IndividualOnfidoDropinApiHandlers, DropinProps {
52
47
  trustMember?: TrustMember;
53
48
  isTargetLegalEntityType?: boolean;
54
49
  country: CountryCode;
@@ -0,0 +1,10 @@
1
+ import type { Capability, CapabilityName } from '#core/models/api/capability';
2
+ import { DecisionMakerType } from '#core/models/api/decision-maker-type';
3
+ import { TaskTypes } from '#stores/globalStore/taskTypes';
4
+ export declare const showIndividualMotionCapture: import("@preact/signals-core").Signal<boolean>;
5
+ export declare const setShowIndividualMotionCapture: (showMotionCapture: boolean | undefined) => void;
6
+ export declare const shouldShowMotionCapture: ({ parentLegalEntityCapabilities, userRoles, taskType, }: {
7
+ parentLegalEntityCapabilities?: Partial<Record<CapabilityName, Capability>>;
8
+ userRoles?: DecisionMakerType[];
9
+ taskType?: TaskTypes;
10
+ }) => boolean | undefined;
@@ -1,8 +1,8 @@
1
+ import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
1
2
  import type { DropinAPIHandlers } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
2
- import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
3
- import type { UserDetails } from '../forms/Individual/IdVerification/types';
4
- export declare const useIdVerificationToken: ({ userDetails, legalEntityId, handleGetIdVerificationToken, onIdVerificationError, }: {
5
- userDetails: UserDetails;
3
+ import type { MinimumApplicantDetails } from '../forms/Individual/IdVerification/types';
4
+ export declare const useIdVerificationToken: ({ minimumApplicantDetails, legalEntityId, handleGetIdVerificationToken, onIdVerificationError, }: {
5
+ minimumApplicantDetails: MinimumApplicantDetails;
6
6
  legalEntityId?: string | undefined;
7
7
  handleGetIdVerificationToken: Required<DropinAPIHandlers>["handleGetIdVerificationToken"];
8
8
  onIdVerificationError: ((error: any) => void) | undefined;
@@ -1,10 +1,4 @@
1
- import type { MappingRecord } from '#utils/mapping/componentApiMapping';
2
- import type { DocumentDetail } from '../../../core/models/api/documentDetail';
3
- import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/legal-entity';
1
+ import type { ExistingLegalEntity, LegalEntity } from '#core/models/api/legal-entity';
4
2
  import type { IndividualOnfidoSchema } from '../forms/IndividualOnfido/IndividualOnfido.types';
5
3
  export declare const mapIndividualOnfidoSchemaToLegalEntity: (individualOnfido: IndividualOnfidoSchema) => LegalEntity;
6
4
  export declare const mapLegalEntityToIndividualOnfidoSchema: (legalEntity: ExistingLegalEntity, isChangingType?: boolean) => IndividualOnfidoSchema;
7
- export declare const getActiveDocument: (documents: DocumentDetail[]) => DocumentDetail;
8
- export declare const individualOnfidoBaseMapping: MappingRecord<IndividualOnfidoSchema, Pick<LegalEntity, 'individual'>>;
9
- export declare const getIndividualSchemaFromAPI: MappingRecord<Omit<IndividualOnfidoSchema, 'proofOfResidency' | 'proofOfNationalId' | 'proofOfRelationship'>, Pick<LegalEntity, 'individual'>>;
10
- export declare const getAPISchemaFromIndividualSchema: MappingRecord<Pick<LegalEntity, 'individual'>, IndividualOnfidoSchema>;
@@ -1,7 +1,7 @@
1
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
- import type { CapabilityProblems } from '../../../../core/models/errors/capability-problems';
1
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
2
+ import type { CapabilityProblems } from '#core/models/errors/capability-problems';
3
+ import type { UniqueEntityAssociation } from '#shared/EntityAssociation/types';
3
4
  import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
4
- import type { UniqueEntityAssociation } from '../../../Shared/EntityAssociation/types';
5
5
  export interface DecisionMakersProps extends DropinAPIHandlers, DropinProps {
6
6
  parentLegalEntity?: ExistingLegalEntity;
7
7
  onNavigateToIndividual(legalEntityId?: string): void;
@@ -1,2 +1,2 @@
1
1
  import type { IndividualOnfidoDropinProps } from '../../forms/IndividualOnfido/IndividualOnfido.types';
2
- export declare function IndividualOnfidoDropin({ handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, capabilities, problems: propProblems, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualOnfidoDropinProps): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function IndividualOnfidoDropin({ handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleUpdateLegalEntity, handleCreateLegalEntity, handleCreateDocument, handleUpdateDocument, handleGetDocument, handleGetIdVerificationStartCheck, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, capabilities, problems: propProblems, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualOnfidoDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import type { ComponentChild } from 'preact';
2
2
  import type { Dispatch, StateUpdater } from 'preact/hooks';
3
- import type { LegalEntityAssociation } from '../../../core/models/api/legal-entity-association';
4
- import type { LegalEntityType } from '../../../core/models/api/legal-entity-type';
5
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
6
- import type { TaskStatus } from '../../../stores/globalStore/taskStatus';
7
- import type { ActionsMenuOption } from '../../ui/atoms/ActionsMenu/ActionsMenu';
3
+ import type { ActionsMenuOption } from '#atoms/ActionsMenu/ActionsMenu';
4
+ import type { LegalEntityAssociation } from '#core/models/api/legal-entity-association';
5
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
6
+ import type { EntityProblems } from '#core/models/errors/entity-problems';
7
+ import type { TaskStatus } from '#stores/globalStore/taskStatus';
8
8
  export interface EntityAssociationProps {
9
9
  name: string;
10
10
  types: Array<LegalEntityAssociation['type']>;
@@ -1,7 +1,7 @@
1
- import type { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
2
- import type { CountryCode } from '../../../core/models/country-code';
3
- import type { TrustMemberGuidanceLabel } from '../../../core/models/trust';
4
- import type { TaskTypes } from '../../../stores/globalStore/taskTypes';
1
+ import type { DecisionMakerType } from '#core/models/api/decision-maker-type';
2
+ import type { CountryCode } from '#core/models/country-code';
3
+ import type { TrustMemberGuidanceLabel } from '#core/models/trust';
4
+ import type { TaskTypes } from '#stores/globalStore/taskTypes';
5
5
  export type EntityStatus = 'empty' | 'satisfied';
6
6
  export interface EntityGuidanceStatusProps {
7
7
  country: CountryCode;
@@ -1,3 +1,4 @@
1
1
  import './FormNavigationItem.scss';
2
+ import type { JSX } from 'preact';
2
3
  import type { FormNavigationItemProps } from './types';
3
- export declare const FormNavigationItem: ({ form, isActive, onClick, hasVerificationErrors, }: FormNavigationItemProps) => import("preact/jsx-runtime").JSX.Element;
4
+ export declare const FormNavigationItem: ({ form, isActive, onClick, hasVerificationErrors, }: FormNavigationItemProps) => JSX.Element;
@@ -1,8 +1,8 @@
1
+ import type { EntityProblems } from '#core/models/errors/entity-problems';
2
+ import type { FormVerificationErrors } from '#core/models/errors/form-verification-errors';
3
+ import type { FormModelWithValidity } from '#core/models/form';
4
+ import type { TranslationKey } from '#language/types';
1
5
  import type { TrackNavigationProps } from '#utils/trackNavigation';
2
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
3
- import type { FormVerificationErrors } from '../../../core/models/errors/form-verification-errors';
4
- import type { FormModelWithValidity } from '../../../core/models/form';
5
- import type { TranslationKey } from '../../../language/types';
6
6
  export interface FormNavigationProps {
7
7
  forms: FormModelWithValidity[];
8
8
  activeForm: FormModelWithValidity;
@@ -1,11 +1,11 @@
1
1
  import './FormWrapper.scss';
2
2
  import type { ComponentChildren } from 'preact';
3
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
4
- import type { FormModelWithValidity } from '../../../core/models/form';
5
- import { type AdditionalEventProperties } from '../../../core/user-events';
6
- import type { TranslationKey } from '../../../language/types';
3
+ import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
4
+ import type { EntityProblems } from '#core/models/errors/entity-problems';
5
+ import type { FormModelWithValidity } from '#core/models/form';
6
+ import { type AdditionalEventProperties } from '#core/user-events';
7
+ import type { TranslationKey } from '#language/types';
7
8
  import type { DropinAPIHandlers } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
8
- import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
9
9
  import type { Omitted } from '../Summary/types';
10
10
  interface FormWrapperProps {
11
11
  summary?: {
@@ -1,6 +1,6 @@
1
1
  import './_introduction.component.scss';
2
2
  import type { JSX } from 'preact';
3
- import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
3
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
4
4
  import type { TaskTypes } from '../tasks/TaskList/types';
5
5
  interface IntroductionProps {
6
6
  legalEntity: ExistingLegalEntity;
@@ -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 { IntroductionScreens } from './types';
3
3
  export interface IntroductionScreenProps {
4
4
  introductionScreen: IntroductionScreens;
@@ -1,3 +1,3 @@
1
- import { LegalEntityType } from '../../../core/models/api/legal-entity-type';
1
+ import { LegalEntityType } from '#core/models/api/legal-entity-type';
2
2
  import { IntroductionScreens } from './types';
3
3
  export declare const introductionScreensByLegalEntityType: Record<LegalEntityType, IntroductionScreens[]>;
@@ -1,5 +1,5 @@
1
- import type { LegalEntityType } from '../../../core/models/api/legal-entity-type';
2
- import type { TranslationKey, Translations } from '../../../language/types';
1
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
2
+ import type { TranslationKey, Translations } from '#language/types';
3
3
  import type { IntroductionScreen } from './types';
4
4
  export declare enum IntroductionScreenTranslationKeyElements {
5
5
  ListItem = "LI",
@@ -1,5 +1,5 @@
1
- import type { SingpassMyInfoLoginState } from '../../../core/hooks/singpass/useSingpassMyInfoLogin';
2
- import { LegalEntityType } from '../../../core/models/api/legal-entity-type';
1
+ import type { SingpassMyInfoLoginState } from '#core/hooks/singpass/useSingpassMyInfoLogin';
2
+ import { LegalEntityType } from '#core/models/api/legal-entity-type';
3
3
  interface SingpassBannerProps extends SingpassMyInfoLoginState {
4
4
  onAlertClose: () => void;
5
5
  onClick: () => void;
@@ -1,6 +1,6 @@
1
- import type { BaseInnerFormProps } from '../../../core/hooks/useForm/types';
2
- import type { LegalEntityType } from '../../../core/models/api/legal-entity-type';
3
- import type { AccountHolderOption } from '../../../core/types/AccountHolder.types';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
3
+ import type { AccountHolderOption } from '#core/types/AccountHolder.types';
4
4
  export declare const setupAccountMethods: readonly ["singpass", "manual"];
5
5
  export type SetupAccountMethod = (typeof setupAccountMethods)[number];
6
6
  export interface SetupAccountMethodSchema {
@@ -1,6 +1,6 @@
1
1
  import './Summary.scss';
2
- import type { TopLevelDataSchema } from '../../../core/context/StateContext/types';
3
- import type { FormModel } from '../../../core/models/form';
2
+ import type { TopLevelDataSchema } from '#context/StateContext/types';
3
+ import type { FormModel } from '#core/models/form';
4
4
  import type { SummaryProps } from './types';
5
5
  export declare const summaryStep: FormModel;
6
6
  export declare function Summary<TLDS extends TopLevelDataSchema>({ data, forms, gotoForm, labels, problems, trackNavigation, omitted, showFormHeader, showSectionHeader, showLegalCaption, showTaxExemptedLegalCaption, }: SummaryProps<TLDS>): import("preact/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'preact';
2
- import type { Translatable } from '../../../language/types';
2
+ import type { Translatable } from '#language/types';
3
3
  export interface SummaryItem {
4
4
  summaryLabel: Translatable;
5
5
  summaryValue: string | null | JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import type { Schema } from 'type-fest';
2
+ import type { EntityProblems } from '#core/models/errors/entity-problems';
3
+ import type { FormModel } from '#core/models/form';
2
4
  import type { TrackNavigationProps } from '#utils/trackNavigation';
3
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
4
- import type { FormModel } from '../../../core/models/form';
5
5
  import type { SummaryItem } from './summaryItem';
6
6
  export type SummaryOf<T> = Partial<Schema<T, string | SummaryItem>>;
7
7
  export interface Omitted {
@@ -1,4 +1,4 @@
1
- import { type TagVariant } from '../../../ui/atoms/Tag/Tag';
1
+ import { type TagVariant } from '#atoms/Tag/Tag';
2
2
  export interface DebugTableRow {
3
3
  key: string;
4
4
  value: string;
@@ -1,9 +1,9 @@
1
- import type { Experiments } from '../../../../core/context/ExperimentContext/types';
2
- import type { Settings } from '../../../../core/context/SettingsContext/types';
3
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
4
- import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
5
- import type { TaskIdentifier } from '../../../../stores/globalStore/globalStore';
6
- import type { TaskStatusWithReason } from '../../../../stores/globalStore/taskStatus';
1
+ import type { Experiments } from '#context/ExperimentContext/types';
2
+ import type { Settings } from '#context/SettingsContext/types';
3
+ import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
4
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
5
+ import type { TaskIdentifier } from '#stores/globalStore/globalStore';
6
+ import type { TaskStatusWithReason } from '#stores/globalStore/taskStatus';
7
7
  export interface DebugInfo {
8
8
  metadata: {
9
9
  sdkVersion: string;
@@ -1,8 +1,8 @@
1
- import type { ExperimentName } from '../../../../core/context/ExperimentContext/types';
2
- import { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
3
- import type { FieldMetadata } from '../../../../core/models/country-config';
4
- import type { PerCountryFieldConfig } from '../../../../core/models/field-configurations';
5
- import type { StateCodeUS } from '../../../../core/models/state-code';
1
+ import type { ExperimentName } from '#context/ExperimentContext/types';
2
+ import { CompanyTypesValue } from '#core/models/api/company-types-value';
3
+ import type { FieldMetadata } from '#core/models/country-config';
4
+ import type { PerCountryFieldConfig } from '#core/models/field-configurations';
5
+ import type { StateCodeUS } from '#core/models/state-code';
6
6
  import type { CompanyRegistrationNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
7
7
  import type { BusinessRegistrationNumberSchema } from './types';
8
8
  interface FieldConfigParams {
@@ -1,6 +1,6 @@
1
- import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
3
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
2
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
3
+ import type { CountryCode } from '#core/models/country-code';
4
4
  import type { defaultFieldConfig } from './fieldConfig';
5
5
  export interface BusinessRegistrationNumberSchema {
6
6
  registrationNumber?: string;
@@ -1,7 +1,7 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
3
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
4
- import type { CountryCode } from '../../../../core/models/country-code';
2
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
3
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
4
+ import type { CountryCode } from '#core/models/country-code';
5
5
  import type { CompanyRegistrationNumberOption, CompanyRegistrationNumberType } from '../IdFieldTypeSelector/countryIdNumberTypes';
6
6
  export interface BusinessRegistrationNumberFieldSchema {
7
7
  registrationNumber?: string;
@@ -1,5 +1,5 @@
1
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  export interface CountryFieldSchema {
4
4
  country?: CountryCode | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  export interface CountryOfGoverningLawFieldSchema {
4
4
  countryOfGoverningLaw?: CountryCode;
5
5
  }
@@ -1,6 +1,6 @@
1
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
2
- import type { CountryCode } from '../../../../core/models/country-code';
3
- import type { Currency } from '../../../../core/models/currency';
1
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
2
+ import type { CountryCode } from '#core/models/country-code';
3
+ import type { Currency } from '#core/models/currency';
4
4
  export interface CurrencySchema {
5
5
  currency?: string;
6
6
  }
@@ -1,4 +1,4 @@
1
- import type { FieldMetadata } from '../../../../core/models/country-config';
1
+ import type { FieldMetadata } from '#core/models/country-config';
2
2
  import type { DBANameFieldSchema } from './types';
3
3
  export declare const doingBusinessAsAbsentFieldMetadata: FieldMetadata<DBANameFieldSchema, 'hasDoingBusinessAs'>;
4
4
  export declare const doingBusinessAsFieldMetadata: FieldMetadata<DBANameFieldSchema, 'doingBusinessAs'>;
@@ -1,4 +1,4 @@
1
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
1
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
2
2
  export interface DBANameFieldSchema {
3
3
  hasDoingBusinessAs?: boolean;
4
4
  doingBusinessAs?: 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 { DateOfIncorporationFieldSchema } from './types';
3
3
  export declare const dateOfIncorporationFieldMetadata: FieldMetadata<DateOfIncorporationFieldSchema, 'dateOfIncorporation'>;
@@ -1,4 +1,4 @@
1
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
1
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
2
2
  export interface DateOfIncorporationFieldSchema {
3
3
  dateOfIncorporation?: string | undefined;
4
4
  }
@@ -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 { EInvoicingCodeFieldSchema } from './types';
3
3
  export declare const eInvoicingCodeFieldMetadata: FieldMetadata<EInvoicingCodeFieldSchema, 'eInvoicingCode'>;
@@ -1,4 +1,4 @@
1
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
1
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
2
2
  export interface EInvoicingCodeFieldSchema {
3
3
  eInvoicingCode?: string;
4
4
  noEInvoicingCode?: string;
@@ -1,4 +1,4 @@
1
- import type { BaseFormFieldProps } from '../../../../core/hooks/useForm/types';
1
+ import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
2
2
  export interface FinancialReportingDateFieldSchema {
3
3
  financialReportingDate?: any;
4
4
  }
@@ -1,6 +1,6 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { CountryCode } from '../../../../core/models/country-code';
3
- import type { TranslationKey } from '../../../../language/types';
1
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
2
+ import type { CountryCode } from '#core/models/country-code';
3
+ import type { TranslationKey } from '#language/types';
4
4
  import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
5
5
  interface PropsWithNoExemption {
6
6
  exemptedOption?: false;
@@ -1,8 +1,8 @@
1
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { CountryCode } from '#core/models/country-code';
2
2
  import type { IndividualIdNumberType } from './countryIdNumberTypes';
3
3
  interface IndividualIdNumberTypeSelectorProps {
4
4
  country: CountryCode;
5
- selected: IndividualIdNumberType;
5
+ selected: IndividualIdNumberType | undefined;
6
6
  handleFieldChange: (type: IndividualIdNumberType) => void;
7
7
  }
8
8
  export declare function IndividualIdNumberTypeSelector({ country, selected, handleFieldChange, }: Readonly<IndividualIdNumberTypeSelectorProps>): import("preact/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
3
- import type { CountryCode } from '../../../../core/models/country-code';
4
- import type { TranslationKey } from '../../../../language/types';
1
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
2
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
3
+ import type { CountryCode } from '#core/models/country-code';
4
+ import type { TranslationKey } from '#language/types';
5
5
  import type { TaxIdNumberType } from './countryIdNumberTypes';
6
6
  interface PropsWithNoExemption {
7
7
  exemptedOption?: false;
@@ -1,7 +1,7 @@
1
- import { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
3
- import type { CountryCode } from '../../../../core/models/country-code';
4
- import type { TranslationKey } from '../../../../language/types';
1
+ import { CompanyTypesValue } from '#core/models/api/company-types-value';
2
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
3
+ import type { CountryCode } from '#core/models/country-code';
4
+ import type { TranslationKey } from '#language/types';
5
5
  export interface CompanyRegistrationNumberOption {
6
6
  id: string;
7
7
  name: TranslationKey;
@@ -1,5 +1,5 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
2
+ import type { CountryCode } from '#core/models/country-code';
3
3
  import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
4
4
  /**
5
5
  * For existing data, we need to infer the company registration number type from the existing data.
@@ -1,6 +1,6 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
3
- import type { CountryCode } from '../../../../core/models/country-code';
1
+ import type { CompanyTypesValue } from '#core/models/api/company-types-value';
2
+ import type { LegalEntityType } from '#core/models/api/legal-entity-type';
3
+ import type { CountryCode } from '#core/models/country-code';
4
4
  import type { TaxIdNumberType } from './countryIdNumberTypes';
5
5
  /**
6
6
  * For existing data, we need to infer the tax ID number type from the existing data.