@adyen/kyc-components 3.52.0 → 3.53.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 (420) hide show
  1. package/dist/es/{B4MFY5CR-BTCO71LZ.js → B4MFY5CR-nPQpm6EK.js} +1 -1
  2. package/dist/es/{HO4MOOFI-JZ43isAO.js → HO4MOOFI-C2t_6ISR.js} +2 -2
  3. package/dist/es/{HUY7CZI3-C4TRNQze.js → HUY7CZI3-CW_-Weeh.js} +2 -2
  4. package/dist/es/adyen-kyc-components.es.js +1 -1
  5. package/dist/es/{index-BlLbInPt.js → index-DOzLbDW6.js} +36304 -36052
  6. package/dist/style.css +500 -481
  7. package/dist/types/api/pciTemplate/usePciTemplate.d.ts +1 -1
  8. package/dist/types/api/pciTemplate/useSignPci.d.ts +13 -0
  9. package/dist/types/api/termsOfService/useServiceAgreementAcceptanceInfos.d.ts +1 -1
  10. package/dist/types/api/useSourceOfFunds.d.ts +0 -1
  11. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
  12. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
  13. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  14. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +11 -11
  15. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  16. package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
  17. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +7 -6
  18. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +9 -2
  19. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +4 -3
  20. package/dist/types/components/Business/forms/Company/Company.d.ts +2 -2
  21. package/dist/types/components/Business/forms/Company/rules.d.ts +1 -0
  22. package/dist/types/components/Business/forms/Company/types.d.ts +6 -6
  23. package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +8 -0
  24. package/dist/types/components/{RegistrationDocument → Business/forms/RegistrationDocument}/config.d.ts +1 -1
  25. package/dist/types/components/{RegistrationDocument → Business/forms/RegistrationDocument}/types.d.ts +4 -4
  26. package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -1
  27. package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +1 -1
  28. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  29. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +11 -4
  30. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +5 -2
  31. package/dist/types/components/Business/tasks/CompanyDropin/types.d.ts +1 -1
  32. package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
  33. package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +2 -2
  34. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  35. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/useServiceAgreement.d.ts +1 -1
  36. package/dist/types/components/{LegalFormField → EFP/fields/LegalFormField}/types.d.ts +2 -2
  37. package/dist/types/components/{NaceCodeField → EFP/fields/NaceCodeField}/types.d.ts +1 -1
  38. package/dist/types/components/{Dropins/SourceOfFundsDropin → EFP}/hooks/useSourceOfFundsTaskStatus.d.ts +2 -2
  39. package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/types.d.ts +20 -17
  40. package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/utils.d.ts +4 -3
  41. package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/validate.d.ts +1 -1
  42. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +1 -1
  43. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +5 -3
  44. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStartedCard.d.ts +1 -1
  45. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +2 -2
  46. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +3 -3
  47. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/types.d.ts +15 -19
  48. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/utils.d.ts +13 -6
  49. package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/validate.d.ts +1 -1
  50. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +1 -1
  51. package/dist/types/components/EmbeddedDropins/ManagePCIComponent/ManagePCIComponent.d.ts +2 -1
  52. package/dist/types/components/EmbeddedDropins/ManageTermsOfServiceComponent/ManageTermsOfServiceComponent.d.ts +2 -1
  53. package/dist/types/components/{Dropins → EmbeddedDropins/OnboardingDropinComponent}/DropinComposer/DropinComposer.d.ts +1 -1
  54. package/dist/types/components/{Dropins → EmbeddedDropins/OnboardingDropinComponent/DropinComposer}/types.d.ts +17 -17
  55. package/dist/types/components/{Dropins → EmbeddedDropins/OnboardingDropinComponent}/DropinComposer/useNavigation.d.ts +3 -3
  56. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/UpdateLegalEntityForHighExposure.d.ts +1 -1
  57. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +1 -1
  58. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +1 -1
  59. package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +1 -1
  60. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -1
  61. package/dist/types/components/Individual/forms/Individual/IdVerification/types.d.ts +1 -1
  62. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +1 -1
  63. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +1 -1
  64. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +5 -5
  65. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +1 -1
  66. package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +1 -1
  67. package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +1 -1
  68. package/dist/types/components/Individual/forms/Individual/types.d.ts +4 -4
  69. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +5 -0
  70. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +34 -0
  71. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.d.ts +2 -0
  72. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.types.d.ts +14 -0
  73. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +2 -0
  74. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/IdentityHK/validate.d.ts +3 -0
  75. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +10 -0
  76. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +30 -0
  77. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +4 -0
  78. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +55 -0
  79. package/dist/types/components/Individual/hooks/useIdVerificationToken.d.ts +1 -1
  80. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +2 -2
  81. package/dist/types/components/{EntityAssociation → Shared/EntityAssociation}/types.d.ts +5 -5
  82. package/dist/types/components/{EntityGuidanceStatus → Shared/EntityGuidanceStatus}/types.d.ts +4 -4
  83. package/dist/types/components/{Dropins → Shared}/FormWrapper/FormWrapper.d.ts +2 -2
  84. package/dist/types/components/{Introduction → Shared/Introduction}/Introduction.d.ts +2 -2
  85. package/dist/types/components/{Introduction → Shared/Introduction}/IntroductionScreen.d.ts +1 -1
  86. package/dist/types/components/{Introduction → Shared/Introduction}/constants.d.ts +1 -1
  87. package/dist/types/components/{Introduction → Shared/Introduction}/copy.d.ts +2 -2
  88. package/dist/types/components/{SingpassBanner → Shared/SingpassBanner}/SingpassBanner.d.ts +2 -2
  89. package/dist/types/components/{SingpassSelection → Shared/SingpassSelection}/SingpassSelection.d.ts +1 -1
  90. package/dist/types/components/{SingpassSelection → Shared/SingpassSelection}/types.d.ts +3 -3
  91. package/dist/types/components/{Summary → Shared/Summary}/Summary.d.ts +2 -2
  92. package/dist/types/components/{Summary → Shared/Summary}/summaryItem.d.ts +1 -1
  93. package/dist/types/components/{Summary → Shared/Summary}/types.d.ts +3 -3
  94. package/dist/types/components/{DebugTable → Shared/devex/DebugTable}/DebugTable.d.ts +1 -1
  95. package/dist/types/components/{DebugWrapper → Shared/devex/DebugWrapper}/DebugTaskStatuses.d.ts +1 -1
  96. package/dist/types/components/Shared/devex/DebugWrapper/debugInfo.d.ts +20 -0
  97. package/dist/types/components/{BusinessRegistrationNumber → Shared/fields/BusinessRegistrationNumber}/fieldConfig.d.ts +5 -5
  98. package/dist/types/components/{BusinessRegistrationNumber → Shared/fields/BusinessRegistrationNumber}/types.d.ts +3 -3
  99. package/dist/types/components/{BusinessRegistrationNumberField → Shared/fields/BusinessRegistrationNumberField}/types.d.ts +3 -3
  100. package/dist/types/components/{CountryField → Shared/fields/CountryField}/types.d.ts +2 -2
  101. package/dist/types/components/{CountryField → Shared/fields/CountryField}/validate.d.ts +1 -1
  102. package/dist/types/components/{CountryOfGoverningLawField → Shared/fields/CountryOfGoverningLawField}/types.d.ts +2 -2
  103. package/dist/types/components/{CountryOfGoverningLawField → Shared/fields/CountryOfGoverningLawField}/validate.d.ts +1 -1
  104. package/dist/types/components/{Currency → Shared/fields/Currency}/types.d.ts +3 -3
  105. package/dist/types/components/{DBANameField → Shared/fields/DBANameField}/DBANameField.d.ts +1 -1
  106. package/dist/types/components/{DBANameField → Shared/fields/DBANameField}/fieldConfig.d.ts +2 -2
  107. package/dist/types/components/{DBANameField → Shared/fields/DBANameField}/types.d.ts +2 -2
  108. package/dist/types/components/{DateOfIncorporationField → Shared/fields/DateOfIncorporationField}/fieldConfig.d.ts +1 -1
  109. package/dist/types/components/{DateOfIncorporationField → Shared/fields/DateOfIncorporationField}/types.d.ts +1 -1
  110. package/dist/types/components/{EInvoicingCodeField → Shared/fields/EInvoicingCodeField}/fieldConfig.d.ts +1 -1
  111. package/dist/types/components/{EInvoicingCodeField → Shared/fields/EInvoicingCodeField}/types.d.ts +1 -1
  112. package/dist/types/components/{FinancialReportingDate → Shared/fields/FinancialReportingDate}/types.d.ts +1 -1
  113. package/dist/types/components/{IdFieldTypeSelector → Shared/fields/IdFieldTypeSelector}/CompanyRegistrationNumberTypeSelector.d.ts +3 -3
  114. package/dist/types/components/{IdFieldTypeSelector → Shared/fields/IdFieldTypeSelector}/IndividualIdNumberTypeSelector.d.ts +3 -3
  115. package/dist/types/components/{IdFieldTypeSelector → Shared/fields/IdFieldTypeSelector}/TaxIdNumberTypeSelector.d.ts +4 -4
  116. package/dist/types/components/{IdFieldTypeSelector → Shared/fields/IdFieldTypeSelector}/countryIdNumberTypes.d.ts +4 -4
  117. package/dist/types/components/{IdFieldTypeSelector → Shared/fields/IdFieldTypeSelector}/inferCompanyRegistrationNumberType.d.ts +2 -2
  118. package/dist/types/components/{IdFieldTypeSelector → Shared/fields/IdFieldTypeSelector}/inferTaxIdNumberType.d.ts +3 -3
  119. package/dist/types/components/{LegalCompanyNameField → Shared/fields/LegalCompanyNameField}/fieldConfig.d.ts +2 -2
  120. package/dist/types/components/{LegalCompanyNameField → Shared/fields/LegalCompanyNameField}/types.d.ts +1 -1
  121. package/dist/types/components/{Name → Shared/fields/Name}/types.d.ts +1 -1
  122. package/dist/types/components/{Name → Shared/fields/Name}/validate.d.ts +1 -1
  123. package/dist/types/components/{NumberOfEmployees → Shared/fields/NumberOfEmployees}/types.d.ts +1 -1
  124. package/dist/types/components/{PhoneField → Shared/fields/PhoneField}/PhoneField.d.ts +1 -1
  125. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +8 -0
  126. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +9 -0
  127. package/dist/types/components/{StateField → Shared/fields/StateField}/fieldConfig.d.ts +2 -2
  128. package/dist/types/components/Shared/fields/StateField/types.d.ts +10 -0
  129. package/dist/types/components/{StockExchangeMICField → Shared/fields/StockExchangeMICField}/fieldConfig.d.ts +1 -1
  130. package/dist/types/components/{StockExchangeMICField → Shared/fields/StockExchangeMICField}/types.d.ts +1 -1
  131. package/dist/types/components/{StockISINField → Shared/fields/StockISINField}/fieldConfig.d.ts +1 -1
  132. package/dist/types/components/{StockISINField → Shared/fields/StockISINField}/types.d.ts +1 -1
  133. package/dist/types/components/{StockTickerSymbol → Shared/fields/StockTickerSymbol}/fieldConfig.d.ts +1 -1
  134. package/dist/types/components/{StockTickerSymbol → Shared/fields/StockTickerSymbol}/types.d.ts +1 -1
  135. package/dist/types/components/{TaxId → Shared/fields/TaxId}/fieldConfig.d.ts +4 -4
  136. package/dist/types/components/{TaxId → Shared/fields/TaxId}/types.d.ts +4 -4
  137. package/dist/types/components/{TaxInformationField → Shared/fields/TaxInformationField}/fieldConfig.d.ts +1 -1
  138. package/dist/types/components/{TaxInformationField → Shared/fields/TaxInformationField}/types.d.ts +5 -5
  139. package/dist/types/components/{TradingNameField → Shared/fields/TradingNameField}/fieldConfig.d.ts +1 -1
  140. package/dist/types/components/{TradingNameField → Shared/fields/TradingNameField}/types.d.ts +1 -1
  141. package/dist/types/components/{VatNumberField → Shared/fields/VatNumberField}/fieldConfig.d.ts +2 -2
  142. package/dist/types/components/{VatNumberField → Shared/fields/VatNumberField}/types.d.ts +3 -3
  143. package/dist/types/components/{Address → Shared/forms/Address}/Address.d.ts +1 -1
  144. package/dist/types/components/{Address → Shared/forms/Address}/FieldContainer.d.ts +1 -1
  145. package/dist/types/components/{Address → Shared/forms/Address}/constants.d.ts +1 -1
  146. package/dist/types/components/{Address → Shared/forms/Address}/types.d.ts +7 -7
  147. package/dist/types/components/Shared/forms/Address/utils.d.ts +20 -0
  148. package/dist/types/components/{Address → Shared/forms/Address}/validate.d.ts +4 -4
  149. package/dist/types/components/{Address → Shared/forms/Address}/validate.formats.d.ts +1 -1
  150. package/dist/types/components/{BusinessTypeSelection → Shared/forms/BusinessTypeSelection}/BusinessTypeSelection.d.ts +2 -2
  151. package/dist/types/components/{BusinessTypeSelection → Shared/forms/BusinessTypeSelection}/EntityTypeRadioGroupCard.d.ts +4 -4
  152. package/dist/types/components/{BusinessTypeSelection → Shared/forms/BusinessTypeSelection}/types.d.ts +4 -4
  153. package/dist/types/components/{BusinessTypeSelection → Shared/forms/BusinessTypeSelection}/utils.d.ts +7 -7
  154. package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +12 -0
  155. package/dist/types/components/{CompanyNameAndCountry → Shared/forms/CompanyNameAndCountry}/validate.d.ts +1 -1
  156. package/dist/types/components/Shared/forms/CompanyRegistrationDetails/types.d.ts +19 -0
  157. package/dist/types/components/{ConstitutionalDocument → Shared/forms/ConstitutionalDocument}/types.d.ts +2 -2
  158. package/dist/types/components/{ContactDetails → Shared/forms/ContactDetails}/types.d.ts +3 -3
  159. package/dist/types/components/{ContactDetails → Shared/forms/ContactDetails}/validate.d.ts +1 -1
  160. package/dist/types/components/{DocumentUpload → Shared/forms/DocumentUpload}/types.d.ts +6 -6
  161. package/dist/types/components/{FinancialInformation → Shared/forms/FinancialInformation}/ReportedValue.d.ts +1 -1
  162. package/dist/types/components/{FinancialInformation → Shared/forms/FinancialInformation}/formatFinancialInformationSummary.d.ts +2 -2
  163. package/dist/types/components/{FinancialInformation → Shared/forms/FinancialInformation}/types.d.ts +3 -3
  164. package/dist/types/components/{FinancialInformation → Shared/forms/FinancialInformation}/validate.d.ts +1 -1
  165. package/dist/types/components/{RegistrationAddress → Shared/forms/RegistrationAddress}/RegistrationAddress.d.ts +1 -1
  166. package/dist/types/components/{RegistrationAddress → Shared/forms/RegistrationAddress}/types.d.ts +5 -5
  167. package/dist/types/components/{RegistrationAddress → Shared/forms/RegistrationAddress}/validate.d.ts +1 -1
  168. package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +17 -0
  169. package/dist/types/components/{Review → Shared/tasks/Review}/types.d.ts +1 -1
  170. package/dist/types/components/{TaskList → Shared/tasks/TaskList}/PayoutAccountTaskListItem.d.ts +2 -2
  171. package/dist/types/components/{TaskList → Shared/tasks/TaskList}/types.d.ts +13 -13
  172. package/dist/types/components/SoleProprietorship/forms/SoleProp/SoleProp.d.ts +2 -2
  173. package/dist/types/components/SoleProprietorship/forms/SoleProp/types.d.ts +6 -6
  174. package/dist/types/components/SoleProprietorship/hooks/useExemptSettlor.d.ts +1 -1
  175. package/dist/types/components/Trust/forms/Trust/types.d.ts +4 -4
  176. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +6 -6
  177. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +2 -2
  178. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
  179. package/dist/types/components/Trust/tasks/TrustDropin/TrustDropin.d.ts +1 -1
  180. package/dist/types/components/Trust/tasks/TrustMembers/CompanyTrustMemberTaskItem.d.ts +1 -1
  181. package/dist/types/components/Trust/tasks/TrustMembers/ExemptSettlorTaskItem.d.ts +1 -1
  182. package/dist/types/components/Trust/tasks/TrustMembers/RegularTrustMemberTaskItem.d.ts +1 -1
  183. package/dist/types/components/Trust/tasks/TrustMembers/RootTrusteeTaskItem.d.ts +1 -1
  184. package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
  185. package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
  186. package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
  187. package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
  188. package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
  189. package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
  190. package/dist/types/components/index.d.ts +3 -3
  191. package/dist/types/components/ui/atoms/Modal/Modal.d.ts +2 -1
  192. package/dist/types/components/ui/atoms/Spacer/Spacer.d.ts +1 -0
  193. package/dist/types/components/ui/molecules/Confirm/Confirm.d.ts +1 -1
  194. package/dist/types/components/ui/molecules/Confirm/types.d.ts +8 -2
  195. package/dist/types/components/{ContextGuidance → ui/molecules/ContextGuidance}/types.d.ts +1 -1
  196. package/dist/types/components/{DocumentGuidance → ui/molecules/DocumentGuidance}/types.d.ts +3 -3
  197. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
  198. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
  199. package/dist/types/components/{ErrorPanel → ui/molecules/ErrorPanel}/types.d.ts +3 -3
  200. package/dist/types/core/UIElement/UIElement.d.ts +22 -0
  201. package/dist/types/core/context/ApiContext/ApiProvider.d.ts +14 -0
  202. package/dist/types/core/context/{CoreContext.d.ts → CoreContext/CoreContext.d.ts} +3 -3
  203. package/dist/types/core/context/{CoreProvider.d.ts → CoreContext/CoreProvider.d.ts} +1 -1
  204. package/dist/types/core/context/ExperimentContext/types.d.ts +2 -2
  205. package/dist/types/core/context/FormContext/types.d.ts +1 -1
  206. package/dist/types/core/context/FormRouterContext/types.d.ts +1 -1
  207. package/dist/types/core/context/StateContext/types.d.ts +3 -3
  208. package/dist/types/core/core.d.ts +1 -1
  209. package/dist/types/core/hooks/introduction/useIntroductionScreens.d.ts +2 -2
  210. package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -2
  211. package/dist/types/core/hooks/useAssociatedLegalArrangement.d.ts +1 -1
  212. package/dist/types/core/hooks/useAssociatedLegalRepresentative.d.ts +1 -1
  213. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
  214. package/dist/types/core/hooks/useComponentApi.d.ts +1 -1
  215. package/dist/types/core/hooks/useDataMissingRemediations.d.ts +1 -1
  216. package/dist/types/core/hooks/useScenarioConfiguration.d.ts +1 -1
  217. package/dist/types/core/models/api/customerSupport.d.ts +1 -1
  218. package/dist/types/core/models/api/get-configuration.d.ts +1 -1
  219. package/dist/types/core/models/api/source-of-funds.d.ts +1 -2
  220. package/dist/types/core/models/api/transfer-instrument-reference.d.ts +1 -1
  221. package/dist/types/core/models/errors/validation-error.d.ts +11 -0
  222. package/dist/types/core/models/form-rules.d.ts +2 -2
  223. package/dist/types/core/process-field-configurations.d.ts +1 -1
  224. package/dist/types/core/services/componentApi/open-singpass-authorization-link.d.ts +1 -1
  225. package/dist/types/datasets/{localized/legalEntityTypeExamples → generators}/getBusinessTypeExamplesForCountry.d.ts +2 -2
  226. package/dist/types/datasets/{localized/companyTypeExamples → generators}/getCompanyTypeExamplesForCountry.d.ts +2 -2
  227. package/dist/types/datasets/{localized/legalArrangementTypeExamples → generators}/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
  228. package/dist/types/stores/globalStore/StoreProvider.d.ts +1 -1
  229. package/dist/types/stores/globalStore/get-task-status.d.ts +1 -0
  230. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
  231. package/dist/types/utils/api/documentUtils.d.ts +1 -1
  232. package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
  233. package/dist/types/utils/birthDateUtils.d.ts +1 -1
  234. package/dist/types/utils/decisionMakerRoles.d.ts +1 -1
  235. package/dist/types/utils/entityAssociationUtil.d.ts +1 -1
  236. package/dist/types/utils/entityStatusUtil.d.ts +3 -3
  237. package/dist/types/utils/listToRecord.d.ts +1 -1
  238. package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +4 -4
  239. package/dist/types/utils/mapping/componentApiMapping.d.ts +25 -24
  240. package/dist/types/utils/mapping/customerSupport/mapCustomerSupportSchemaToCustomerSupportType.d.ts +1 -1
  241. package/dist/types/utils/mapping/mapping.d.ts +14 -9
  242. package/package.json +3 -2
  243. package/dist/es/en-US.instructions-DLPEHGI-.js +0 -8
  244. package/dist/types/components/Address/AddressExperimentWrapper.d.ts +0 -2
  245. package/dist/types/components/Address/AddressForm.d.ts +0 -3
  246. package/dist/types/components/Address/FieldWrapper.d.ts +0 -9
  247. package/dist/types/components/Address/SearchAddress.d.ts +0 -3
  248. package/dist/types/components/Address/utils.d.ts +0 -20
  249. package/dist/types/components/BusinessRegistrationNumber/BusinessRegistrationNumber.d.ts +0 -3
  250. package/dist/types/components/CompanyNameAndCountry/types.d.ts +0 -12
  251. package/dist/types/components/CompanyRegistrationDetails/types.d.ts +0 -19
  252. package/dist/types/components/CustomerSupport/types.d.ts +0 -17
  253. package/dist/types/components/DebugWrapper/debugInfo.d.ts +0 -20
  254. package/dist/types/components/Individual/forms/IndividualOnfido/Individual.d.ts +0 -1
  255. package/dist/types/components/PhoneField/fieldConfig.d.ts +0 -8
  256. package/dist/types/components/PhoneField/types.d.ts +0 -9
  257. package/dist/types/components/ProofOfDirectorDocument/types.d.ts +0 -8
  258. package/dist/types/components/StateField/types.d.ts +0 -10
  259. package/dist/types/components/TaxId/TaxId.d.ts +0 -3
  260. package/dist/types/components/UIElement/UIElement.d.ts +0 -22
  261. package/dist/types/stores/api/api.d.ts +0 -6
  262. package/dist/es/{AT-BAkWoNig.js → AT-BVoHQOFl.js} +6 -6
  263. package/dist/es/{AT-x316jVI7.js → AT-C1PcilQV.js} +3 -3
  264. package/dist/es/{AT-CsmeW6Zf.js → AT-De7Df5cz.js} +5 -5
  265. package/dist/es/{AU-BQULoU0b.js → AU-BeyZkA9d.js} +3 -3
  266. package/dist/es/{AU-DZKtb5ij.js → AU-DLzYmMTY.js} +6 -6
  267. package/dist/es/{BE-BR_pIwbr.js → BE-BF1A8fS2.js} +3 -3
  268. package/dist/es/{BE-BPS02GqZ.js → BE-Bgmjc7-z.js} +3 -3
  269. package/dist/es/{BE-BIAjWzo1.js → BE-vJXZEzD7.js} +4 -4
  270. package/dist/es/{BR-Cu0NN198.js → BR-7L37Blah.js} +7 -7
  271. package/dist/es/{BR-CrBRXbpr.js → BR-CBlGuHLS.js} +4 -4
  272. package/dist/es/{BR-ii3tGO6z.js → BR-S6Hy6mx4.js} +5 -5
  273. package/dist/es/{CA-Ha-c0tuI.js → CA-DfhtPJ1f.js} +5 -5
  274. package/dist/es/{CH-DOanK-Sz.js → CH-BqkqMElj.js} +3 -3
  275. package/dist/es/{CH-DDck_o4V.js → CH-DxQloC1G.js} +3 -3
  276. package/dist/es/{CH-DQfPMwOa.js → CH-R58leRqy.js} +3 -3
  277. package/dist/es/{CZ-DMq0f9FA.js → CZ-BdSjgJx5.js} +3 -3
  278. package/dist/es/{CZ-BblrEvVy.js → CZ-CvBIw-xf.js} +5 -5
  279. package/dist/es/{CZ-DJe1JBo_.js → CZ-DAgIAl66.js} +5 -5
  280. package/dist/es/{DE-D5nwjmcv.js → DE-D5oXkrXx.js} +7 -7
  281. package/dist/es/{DE-lyoN72Ir.js → DE-DfIW2GED.js} +5 -5
  282. package/dist/es/{DE-DC22in8l.js → DE-aV7aKktN.js} +5 -5
  283. package/dist/es/{DK-CqG21aM6.js → DK-DQKSFEZs.js} +3 -3
  284. package/dist/es/{DK-Wp_2eCQW.js → DK-DoR8iF3Q.js} +5 -5
  285. package/dist/es/{DK-ByWKje3p.js → DK-WMh-XB_4.js} +5 -5
  286. package/dist/es/{ES-CPmT6MW6.js → ES-DKRBFyWg.js} +3 -3
  287. package/dist/es/{ES-BtgvwAc0.js → ES-DoHMm9WW.js} +3 -3
  288. package/dist/es/{ES-DAFsfxgD.js → ES-DvWUvSWG.js} +8 -8
  289. package/dist/es/{FI-DhCeNjUe.js → FI-BDl3AABC.js} +4 -4
  290. package/dist/es/{FI-CXPUSE99.js → FI-CU4auEFD.js} +3 -3
  291. package/dist/es/{FI-CjqWpXLo.js → FI-CYKyNdYX.js} +3 -3
  292. package/dist/es/{FR-CgT4I-sE.js → FR-B8__IjpV.js} +3 -3
  293. package/dist/es/{FR-DZMpyUrW.js → FR-DtxMTRVY.js} +6 -6
  294. package/dist/es/{FR-DZDFmnX1.js → FR-lmmA0c57.js} +5 -5
  295. package/dist/es/{GB-FWdMjcAs.js → GB-CiJ7CZ-w.js} +3 -3
  296. package/dist/es/{GB-BEytIO3X.js → GB-arLLqj4v.js} +8 -8
  297. package/dist/es/{HK-DtFP13NX.js → HK-CzhOdpMZ.js} +5 -5
  298. package/dist/es/{HR-7llfofwg.js → HR-BYcfCNPr.js} +5 -5
  299. package/dist/es/{HR-HJAL5H06.js → HR-Dq8wwTFJ.js} +3 -3
  300. package/dist/es/{HR-Bz0ub-qz.js → HR-UXs6Qvnq.js} +5 -5
  301. package/dist/es/{HU-ClY5Y9FQ.js → HU-D7NfwH0F.js} +3 -3
  302. package/dist/es/{HU-aammbHn4.js → HU-Jbl0agxq.js} +4 -4
  303. package/dist/es/{HU-CeKEwWoT.js → HU-WSzj1HL4.js} +3 -3
  304. package/dist/es/{IE-BVw6YctF.js → IE-Ga3KojCw.js} +6 -6
  305. package/dist/es/{IT-BCGuJTXi.js → IT-0kLbxh2_.js} +5 -5
  306. package/dist/es/{IT-_a2DBoOi.js → IT-C4uTDLEU.js} +3 -3
  307. package/dist/es/{IT-DDkEsJPl.js → IT-DOaG1jQ0.js} +3 -3
  308. package/dist/es/{LT-DHdf7bAM.js → LT-B4hWGYwc.js} +4 -4
  309. package/dist/es/{LT-DGByVCh9.js → LT-B7gtERKz.js} +6 -6
  310. package/dist/es/{NL-C449A3NH.js → NL-C2xnvJZT.js} +4 -4
  311. package/dist/es/{NL-D-Tidufz.js → NL-CEE6YxYk.js} +3 -3
  312. package/dist/es/{NL-OwBydPfu.js → NL-DllQ5P_F.js} +5 -5
  313. package/dist/es/{NO-Dd9EO872.js → NO-BxtHMZT-.js} +7 -7
  314. package/dist/es/{NO-CGdBcfzg.js → NO-agu33ybl.js} +3 -3
  315. package/dist/es/{PL-CTz4QnNN.js → PL-CPQ5cIi6.js} +4 -4
  316. package/dist/es/{PL-2F3HxBsK.js → PL-CX-KuV7y.js} +5 -5
  317. package/dist/es/{PL-BZyYLG0A.js → PL-Cgt8W5Hj.js} +4 -4
  318. package/dist/es/{PT-DjyMhpjB.js → PT-BPhSX6er.js} +6 -6
  319. package/dist/es/{PT-C6K9dq2e.js → PT-BbuIGm-h.js} +4 -4
  320. package/dist/es/{PT-VkAEijRO.js → PT-RJpW1lck.js} +4 -4
  321. package/dist/es/{RO-BpmDDEAI.js → RO-DGKzGdjj.js} +3 -3
  322. package/dist/es/{RO-Cayqrvsw.js → RO-DxhixNke.js} +3 -3
  323. package/dist/es/{SE-DQlIAkkX.js → SE-C9VkzJhC.js} +3 -3
  324. package/dist/es/{SE-DF3dbp6s.js → SE-Cy1OHa0W.js} +5 -5
  325. package/dist/es/{SE-anmdbPZe.js → SE-NTYt4Vgf.js} +4 -4
  326. package/dist/es/{SG-BRGqDLwe.js → SG-BaZqC-3H.js} +3 -3
  327. package/dist/es/{SG-kZw9_y8p.js → SG-DAtz6_VN.js} +4 -4
  328. package/dist/es/{SI-CBkjUYA6.js → SI-65ZfnCjz.js} +3 -3
  329. package/dist/es/{SI-Dxbh4QUW.js → SI-C3ZGZeyW.js} +4 -4
  330. package/dist/es/{SI-8K9ayPj3.js → SI-CSR4flX6.js} +3 -3
  331. package/dist/es/{SK-Bp8iZk34.js → SK-BaVYOGh3.js} +5 -5
  332. package/dist/es/{SK-Bc51GC31.js → SK-BtXP2fcJ.js} +4 -4
  333. package/dist/es/{SK-CCLusFqu.js → SK-Om1l-cUD.js} +3 -3
  334. package/dist/es/{US-BA90maNl.js → US-BCj1w_LD.js} +5 -5
  335. /package/dist/types/components/{ProofOfDirectorDocument → Business/forms/ProofOfDirectorDocument}/ProofOfDirectorDocument.d.ts +0 -0
  336. /package/dist/types/components/{RegistrationDocument → Business/forms/RegistrationDocument}/RegistrationDocument.d.ts +0 -0
  337. /package/dist/types/components/{LegalFormField → EFP/fields/LegalFormField}/LegalFormField.d.ts +0 -0
  338. /package/dist/types/components/{NaceCodeField → EFP/fields/NaceCodeField}/NaceCodeField.d.ts +0 -0
  339. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/AdditionalFieldsForHighExposureCompany.d.ts +0 -0
  340. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/AdditionalFieldsForHighExposureParentCompany.d.ts +0 -0
  341. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts +0 -0
  342. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/HighExposureBasicCompanyInformation.d.ts +0 -0
  343. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/HighExposureBusinessInformation.d.ts +0 -0
  344. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/HighExposureDropin.d.ts +0 -0
  345. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/HighExposureFinancialInformation.d.ts +0 -0
  346. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/HighExposureLegalInformation.d.ts +0 -0
  347. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/HighExposureOwnershipStructure.d.ts +0 -0
  348. /package/dist/types/components/{Dropins → EFP/tasks}/HighExposureDropin/HighExposureRegisteredAddress.d.ts +0 -0
  349. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForAssetSale.d.ts +0 -0
  350. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForBusiness.d.ts +0 -0
  351. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForCryptocurrency.d.ts +0 -0
  352. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForDonation.d.ts +0 -0
  353. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForGambling.d.ts +0 -0
  354. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForInheritance.d.ts +0 -0
  355. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForThirdParty.d.ts +0 -0
  356. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataOriginatorLegalEntity.d.ts +0 -0
  357. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFunds.d.ts +0 -0
  358. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFundsAdditionalData.d.ts +0 -0
  359. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +0 -0
  360. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/SourceOfFundsType.d.ts +0 -0
  361. /package/dist/types/components/{Dropins → EFP/tasks}/SourceOfFundsDropin/sofStore.d.ts +0 -0
  362. /package/dist/types/components/{AccountSetupRejected → Shared/AccountSetupRejected}/AccountSetupRejected.d.ts +0 -0
  363. /package/dist/types/components/{Dropins → Shared}/DropinLayout/ActionBar/ActionBar.d.ts +0 -0
  364. /package/dist/types/components/{Dropins → Shared}/DropinLayout/ActionBar/type.d.ts +0 -0
  365. /package/dist/types/components/{Dropins → Shared}/DropinLayout/DropinLayout.d.ts +0 -0
  366. /package/dist/types/components/{Dropins → Shared}/DropinLayout/types.d.ts +0 -0
  367. /package/dist/types/components/{EntityAssociation → Shared/EntityAssociation}/EntityAssociation.d.ts +0 -0
  368. /package/dist/types/components/{EntityGuidanceStatus → Shared/EntityGuidanceStatus}/EntityGuidanceStatus.d.ts +0 -0
  369. /package/dist/types/components/{EntityGuidanceStatus → Shared/EntityGuidanceStatus}/EntityStatusIcon.d.ts +0 -0
  370. /package/dist/types/components/{Dropins → Shared}/FormNavigation/FormNavigation.d.ts +0 -0
  371. /package/dist/types/components/{Dropins → Shared}/FormNavigation/FormNavigationItem.d.ts +0 -0
  372. /package/dist/types/components/{Dropins → Shared}/FormNavigation/types.d.ts +0 -0
  373. /package/dist/types/components/{Introduction → Shared/Introduction}/types.d.ts +0 -0
  374. /package/dist/types/components/{PatriotActDisclosure → Shared/PatriotActDisclosure}/PatriotActDisclosure.d.ts +0 -0
  375. /package/dist/types/components/{DebugWrapper → Shared/devex/DebugWrapper}/DebugExperimentsAndSettings.d.ts +0 -0
  376. /package/dist/types/components/{DebugWrapper → Shared/devex/DebugWrapper}/DebugLegalEntityData.d.ts +0 -0
  377. /package/dist/types/components/{DebugWrapper → Shared/devex/DebugWrapper}/DebugMetadata.d.ts +0 -0
  378. /package/dist/types/components/{DebugWrapper → Shared/devex/DebugWrapper}/DebugModal.d.ts +0 -0
  379. /package/dist/types/components/{DebugWrapper → Shared/devex/DebugWrapper}/DebugWrapper.d.ts +0 -0
  380. /package/dist/types/components/{BusinessRegistrationNumberField → Shared/fields/BusinessRegistrationNumberField}/BusinessRegistrationNumberField.d.ts +0 -0
  381. /package/dist/types/components/{CountryField → Shared/fields/CountryField}/CountryField.d.ts +0 -0
  382. /package/dist/types/components/{CountryOfGoverningLawField → Shared/fields/CountryOfGoverningLawField}/CountryOfGoverningLawField.d.ts +0 -0
  383. /package/dist/types/components/{Currency → Shared/fields/Currency}/Currency.d.ts +0 -0
  384. /package/dist/types/components/{DateOfIncorporationField → Shared/fields/DateOfIncorporationField}/DateOfIncorporationField.d.ts +0 -0
  385. /package/dist/types/components/{EInvoicingCodeField → Shared/fields/EInvoicingCodeField}/EInvoicingCodeField.d.ts +0 -0
  386. /package/dist/types/components/{FinancialReportingDate → Shared/fields/FinancialReportingDate}/FinancialReportingDate.d.ts +0 -0
  387. /package/dist/types/components/{LegalCompanyNameField → Shared/fields/LegalCompanyNameField}/LegalCompanyNameField.d.ts +0 -0
  388. /package/dist/types/components/{Name → Shared/fields/Name}/Name.d.ts +0 -0
  389. /package/dist/types/components/{NumberOfEmployees → Shared/fields/NumberOfEmployees}/NumberOfEmployees.d.ts +0 -0
  390. /package/dist/types/components/{StateField → Shared/fields/StateField}/StateField.d.ts +0 -0
  391. /package/dist/types/components/{StockExchangeMICField → Shared/fields/StockExchangeMICField}/StockExchangeMICField.d.ts +0 -0
  392. /package/dist/types/components/{StockISINField → Shared/fields/StockISINField}/StockISINField.d.ts +0 -0
  393. /package/dist/types/components/{StockTickerSymbol → Shared/fields/StockTickerSymbol}/StockTickerSymbolField.d.ts +0 -0
  394. /package/dist/types/components/{TaxInformationField → Shared/fields/TaxInformationField}/TaxInformationField.d.ts +0 -0
  395. /package/dist/types/components/{TradingNameField → Shared/fields/TradingNameField}/TradingNameField.d.ts +0 -0
  396. /package/dist/types/components/{VatNumberField → Shared/fields/VatNumberField}/VatNumberField.d.ts +0 -0
  397. /package/dist/types/components/{CompanyNameAndCountry → Shared/forms/CompanyNameAndCountry}/CompanyNameAndCountry.d.ts +0 -0
  398. /package/dist/types/components/{CompanyRegistrationDetails → Shared/forms/CompanyRegistrationDetails}/CompanyRegistrationDetails.d.ts +0 -0
  399. /package/dist/types/components/{ConstitutionalDocument → Shared/forms/ConstitutionalDocument}/ConstitutionalDocument.d.ts +0 -0
  400. /package/dist/types/components/{ContactDetails → Shared/forms/ContactDetails}/ContactDetails.d.ts +0 -0
  401. /package/dist/types/components/{DocumentUpload → Shared/forms/DocumentUpload}/DocumentUpload.d.ts +0 -0
  402. /package/dist/types/components/{FinancialInformation → Shared/forms/FinancialInformation}/FinancialInformation.d.ts +0 -0
  403. /package/dist/types/components/{CustomerSupport → Shared/tasks/CustomerSupport}/CustomerSupport.d.ts +0 -0
  404. /package/dist/types/components/{Review → Shared/tasks/Review}/Review.d.ts +0 -0
  405. /package/dist/types/components/{TaskList → Shared/tasks/TaskList}/TaskItemStatus.d.ts +0 -0
  406. /package/dist/types/components/{TaskList → Shared/tasks/TaskList}/TaskList.d.ts +0 -0
  407. /package/dist/types/components/{TaskList → Shared/tasks/TaskList}/TaskListGroup.d.ts +0 -0
  408. /package/dist/types/components/{TaskList → Shared/tasks/TaskList}/TaskListItem.d.ts +0 -0
  409. /package/dist/types/components/{ContextGuidance → ui/molecules/ContextGuidance}/ContextGuidance.d.ts +0 -0
  410. /package/dist/types/components/{DocumentGuidance → ui/molecules/DocumentGuidance}/DocumentGuidance.d.ts +0 -0
  411. /package/dist/types/components/{ErrorPanel → ui/molecules/ErrorPanel}/ErrorPanel.d.ts +0 -0
  412. /package/dist/types/components/{ErrorPanel → ui/molecules/ErrorPanel}/NavigateToFieldLink.d.ts +0 -0
  413. /package/dist/types/components/{ErrorPanel → ui/molecules/ErrorPanel}/ServerValidationErrors.d.ts +0 -0
  414. /package/dist/types/components/{ErrorPanel → ui/molecules/ErrorPanel}/VerificationErrors.d.ts +0 -0
  415. /package/dist/types/components/{ErrorPanel → ui/molecules/ErrorPanel}/constants.d.ts +0 -0
  416. /package/dist/types/components/{Tabs → ui/molecules/Tabs}/Tabs.d.ts +0 -0
  417. /package/dist/types/core/context/{useCoreContext.d.ts → CoreContext/useCoreContext.d.ts} +0 -0
  418. /package/dist/types/datasets/{accountFormats → generators}/getAccountFormatForCountry.d.ts +0 -0
  419. /package/dist/types/datasets/{countries → generators}/loadCountries.d.ts +0 -0
  420. /package/dist/types/datasets/{states → generators}/loadStatesDataset.d.ts +0 -0
@@ -1,6 +1,6 @@
1
- import type { BusinessLinesType } from '../../../../core/models/api/source-of-funds';
2
- import type { DocumentApiUtils } from '../../../../utils/api/documentUtils';
3
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
1
+ import type { BusinessLinesType } from '../../../../../core/models/api/source-of-funds';
2
+ import type { DocumentApiUtils } from '../../../../../utils/api/documentUtils';
3
+ import type { ExistingLegalEntity } from '../../../../../core/models/api/legal-entity';
4
4
  export interface SourceOfFundsUploadProps {
5
5
  businessLines: BusinessLinesType[];
6
6
  documentUtils: DocumentApiUtils;
@@ -1,19 +1,18 @@
1
- import type { DropinAPIHandlers, DropinProps } from '../types';
2
- import type { CapabilityName } from '../../../core/models/api/capability';
3
- import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../core/hooks/useForm/types';
4
- import type { FormModel } from '../../../core/models/form';
5
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
6
- import type { TaskTypes } from '../../../stores/globalStore/taskTypes';
7
- import type { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
8
- import type { CountryCode } from '../../../core/models/country-code';
9
- import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
10
- import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../core/models/api/source-of-funds';
11
- import type { FormUtils } from '../../../utils/formUtils';
12
- import type { ValidationRuleResult, ValidatorMode } from '../../../utils/validation/types';
13
- import type { DataSet } from '../../../core/models/api/data-set';
14
- import type { LegalEntityType } from '../../../core/models/api/legal-entity-type';
15
- import type { Individual } from '../../../core/models/api/individual';
16
- import type { Organization } from '../../../core/models/api/organization';
1
+ import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
2
+ import type { CapabilityName } from '../../../../core/models/api/capability';
3
+ import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
4
+ import type { FormModel } from '../../../../core/models/form';
5
+ import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
6
+ import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
7
+ import type { CountryCode } from '../../../../core/models/country-code';
8
+ import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
9
+ import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../../core/models/api/source-of-funds';
10
+ import type { FormUtils } from '../../../../utils/formUtils';
11
+ import type { ValidationRuleResult, ValidatorMode } from '../../../../utils/validation/types';
12
+ import type { DataSet } from '../../../../core/models/api/data-set';
13
+ import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
14
+ import type { Individual } from '../../../../core/models/api/individual';
15
+ import type { Organization } from '../../../../core/models/api/organization';
17
16
  export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSchema> {
18
17
  activeForm?: FormModel;
19
18
  sourceOfFundsType?: SourceOfFundsCategoryType | undefined;
@@ -21,7 +20,6 @@ export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSche
21
20
  problems?: EntityProblems;
22
21
  legalEntityId?: string;
23
22
  taskType?: TaskTypes;
24
- allowedRoles?: DecisionMakerType[];
25
23
  country: CountryCode;
26
24
  activeBusinessLine?: BusinessLinesType;
27
25
  onNext?(e: any, callbacks: any, isValid: any): void;
@@ -45,7 +43,6 @@ export interface SourceOfFundsAdditionalDataSchema {
45
43
  dateOfFundsReceived?: string;
46
44
  purpose?: string;
47
45
  relationship?: string;
48
- originatorSourceOfFundsType?: string;
49
46
  originatorLegalEntityId?: string;
50
47
  amount?: SourceOfFundsAmount;
51
48
  financiers?: SourceOfFundsFinancierType[];
@@ -64,7 +61,6 @@ export interface SourceOfFundsTypeProps extends BaseInnerFormProps<SourceOfFunds
64
61
  }
65
62
  export interface SourceOfFundsAdditionalDataProps extends BaseInnerFormProps<SourceOfFundsAdditionalDataSchema> {
66
63
  defaultData?: SourceOfFundsSchema;
67
- categories?: DataSet;
68
64
  sourceOfFundsType?: SourceOfFundsCategoryType | undefined;
69
65
  }
70
66
  export declare const additionalDataSchemaKeys: (keyof SourceOfFundsAdditionalDataSchema)[];
@@ -1,11 +1,13 @@
1
1
  import type { SourceOfFundsAdditionalDataSchema, SourceOfFundsTypeSchema, OriginatorTypeUnion, SOFOriginatorPayload } from './types';
2
- import type { SourceOfFundsCategoryType, BusinessLinesServiceType, SourceOfFundsFinancierType, BusinessLinesType, SourceOfFundsPayloadType, SourceOfFundsType } from '../../../core/models/api/source-of-funds';
3
- import type { SelectItem } from '../../ui/atoms/Select/Select.types';
2
+ import type { SourceOfFundsCategoryType, BusinessLinesServiceType, SourceOfFundsFinancierType, BusinessLinesType, SourceOfFundsPayloadType, SourceOfFundsType } from '../../../../core/models/api/source-of-funds';
3
+ import type { SelectItem } from '../../../ui/atoms/Select/Select.types';
4
4
  import type { SOFFinancierModalInputError } from './SOFAdditionalData/SOFFinancierModal';
5
- import type { Language } from '../../../language/Language';
6
- import type { TranslationKey } from '../../../language/types';
7
- import type { DescriptionType } from '../../ui/atoms/Description/Description';
8
- import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
5
+ import type { Language } from '../../../../language/Language';
6
+ import type { TranslationKey } from '../../../../language/types';
7
+ import type { DescriptionType } from '../../../ui/atoms/Description/Description';
8
+ import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
9
+ import type { Problem } from '../../../../core/models/api/problem';
10
+ import type { VerificationError } from '../../../../core/models/api/verification-error';
9
11
  export declare const allowedCurrencies: SelectItem[];
10
12
  export declare const SOF_CHARACTERS_LIMIT = 200;
11
13
  export declare const TODAY_DATE: string;
@@ -60,3 +62,8 @@ export declare const formatDateForInput: (isoDateString?: string) => string;
60
62
  export declare const getSofCardDetails: (i18n: Language, sourceOfFunds?: SourceOfFundsType) => string;
61
63
  export declare const ALLOWED_SOF_SERVICES: string[];
62
64
  export declare const SOF_INVALID_INPUT_ERROR_CODES: string[];
65
+ export declare const SOF_INVALID_INPUT_SUBERROR_CODES: string[];
66
+ export declare const SOF_ALL_INVALID_INPUT_ERRORS: string[];
67
+ export declare const getRelevantErrors: (problems: Problem[] | undefined, targetCodes: string[]) => false | VerificationError[];
68
+ export declare const getUniqueRemediationActions: (error: VerificationError) => import("../../../../core/models/api/remediating-action").RemediatingAction[];
69
+ export declare const SOF_DATA_MISSING_ERROR_CODES: string[];
@@ -1,4 +1,4 @@
1
1
  import type { SourceOfFundsAdditionalDataSchema, SourceOfFundsTypeSchema } from './types';
2
- import type { ValidatorRules } from '../../../utils/validation/types';
2
+ import type { ValidatorRules } from '../../../../utils/validation/types';
3
3
  export declare const sourceOfFundsTypeValidations: ValidatorRules<SourceOfFundsTypeSchema>;
4
4
  export declare const sourceOfFundsAdditionalDataValidations: ValidatorRules<SourceOfFundsAdditionalDataSchema>;
@@ -1,5 +1,5 @@
1
1
  import type { RequireAtLeastOne } from 'type-fest';
2
- import type { TaskTypes } from '../../TaskList/types';
2
+ import type { TaskTypes } from '../../Shared/tasks/TaskList/types';
3
3
  import type { IndividualSchema } from '../../Individual/forms/Individual/types';
4
4
  interface CreateIndividualComponentPropsBase {
5
5
  taskType?: TaskTypes;
@@ -1,4 +1,5 @@
1
1
  export interface ManageTermsOfServiceComponentProps {
2
+ legalEntityId: string;
2
3
  onClick?(): void;
3
4
  }
4
- export declare function ManagePCIComponent({ onClick }: ManageTermsOfServiceComponentProps): import("preact").JSX.Element;
5
+ export declare function ManagePCIComponent({ legalEntityId, onClick }: ManageTermsOfServiceComponentProps): import("preact").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  export interface ManageTermsOfServiceComponentProps {
2
+ legalEntityId: string;
2
3
  onClick?(): void;
3
4
  }
4
- export declare function ManageTermsOfServiceComponent({ onClick }: ManageTermsOfServiceComponentProps): import("preact").JSX.Element;
5
+ export declare function ManageTermsOfServiceComponent({ legalEntityId, onClick, }: ManageTermsOfServiceComponentProps): import("preact").JSX.Element;
@@ -1,2 +1,2 @@
1
- import type { DropinComposerProps } from '../types';
1
+ import type { DropinComposerProps } from './types';
2
2
  export declare function DropinComposer({ legalEntityResponse, onSubmit, onChange, onLoad, onNavigate, ...args }: DropinComposerProps): import("preact").JSX.Element;
@@ -1,20 +1,20 @@
1
- import type { State, TopLevelDataSchema } from '../../core/context/StateContext/types';
2
- import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '../../core/models/api/address-search';
3
- import type { CapabilityName } from '../../core/models/api/capability';
4
- import type { CompanyDatasetRequest, CompanyDatasetResponse, CompanySearchRequest, CompanySearchResponse, TinVerificationRequest, TinVerificationResponse } from '../../core/models/api/company-search';
5
- import type { DownloadPci, PciQuestionnaireIds, PciQuestionnaires, PciStatus, PciStatusRequest, PciTemplateRequest, PciTemplateResponse, ServiceAgreementAcceptanceInfos, ServiceAgreementAcceptedDocumentResponse, ServiceAgreementRequest, ServiceAgreementResponse, ServiceAgreementSignRequest, ServiceAgreementSignResponse, ServiceAgreementStatus, ServiceAgreementUnacceptedDocumentRequest, ServiceAgreementUnacceptedDocumentResponse, SignedBy } from '../../core/models/api/contracts';
6
- import type { Document, ExistingDocument } from '../../core/models/api/document';
7
- import type { BankVerificationVendorsResponse } from '../../core/models/api/get-bankVerification-providers';
8
- import type { InstantIdVerificationStartCheckRequest, InstantIdVerificationStartCheckResponse, InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../core/models/api/instant-id-verification';
9
- import type { ExistingLegalEntity, LegalEntity, PatchLegalEntity } from '../../core/models/api/legal-entity';
10
- import type { ReviewCompletion } from '../../core/models/api/review';
11
- import type { ExistingTransferInstrument, TransferInstrument } from '../../core/models/api/transfer-instrument';
12
- import type { BankVerificationErrorResponse, CreateTrustedTransferInstrumentResponse } from '../../core/models/api/trusted-transferInstrument';
13
- import type { OnboardingLinkConfig, OnboardingLinkResponse } from '../../core/models/api/view-verification-status';
14
- import type { CountryCode } from '../../core/models/country-code';
15
- import type { Language } from '../../language/Language';
16
- import type { TranslationKey } from '../../language/types';
17
- import type { TaskTypes } from '../../stores/globalStore/taskTypes';
1
+ import type { State, TopLevelDataSchema } from '../../../../core/context/StateContext/types';
2
+ import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '../../../../core/models/api/address-search';
3
+ import type { CapabilityName } from '../../../../core/models/api/capability';
4
+ import type { CompanyDatasetRequest, CompanyDatasetResponse, CompanySearchRequest, CompanySearchResponse, TinVerificationRequest, TinVerificationResponse } from '../../../../core/models/api/company-search';
5
+ import type { DownloadPci, PciQuestionnaireIds, PciQuestionnaires, PciStatus, PciStatusRequest, PciTemplateRequest, PciTemplateResponse, ServiceAgreementAcceptanceInfos, ServiceAgreementAcceptedDocumentResponse, ServiceAgreementRequest, ServiceAgreementResponse, ServiceAgreementSignRequest, ServiceAgreementSignResponse, ServiceAgreementStatus, ServiceAgreementUnacceptedDocumentRequest, ServiceAgreementUnacceptedDocumentResponse, SignedBy } from '../../../../core/models/api/contracts';
6
+ import type { Document, ExistingDocument } from '../../../../core/models/api/document';
7
+ import type { BankVerificationVendorsResponse } from '../../../../core/models/api/get-bankVerification-providers';
8
+ import type { InstantIdVerificationStartCheckRequest, InstantIdVerificationStartCheckResponse, InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../../../core/models/api/instant-id-verification';
9
+ import type { ExistingLegalEntity, LegalEntity, PatchLegalEntity } from '../../../../core/models/api/legal-entity';
10
+ import type { ReviewCompletion } from '../../../../core/models/api/review';
11
+ import type { ExistingTransferInstrument, TransferInstrument } from '../../../../core/models/api/transfer-instrument';
12
+ import type { BankVerificationErrorResponse, CreateTrustedTransferInstrumentResponse } from '../../../../core/models/api/trusted-transferInstrument';
13
+ import type { OnboardingLinkConfig, OnboardingLinkResponse } from '../../../../core/models/api/view-verification-status';
14
+ import type { CountryCode } from '../../../../core/models/country-code';
15
+ import type { Language } from '../../../../language/Language';
16
+ import type { TranslationKey } from '../../../../language/types';
17
+ import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
18
18
  export interface SingpassLinkResponseItem {
19
19
  authUrl: string;
20
20
  success: boolean;
@@ -1,6 +1,6 @@
1
- import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
2
- import { TaskTypes } from '../../TaskList/types';
3
- import type { DropinAPIHandlers } from '../types';
1
+ import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
+ import { TaskTypes } from '../../../Shared/tasks/TaskList/types';
3
+ import type { DropinAPIHandlers } from './types';
4
4
  interface UseNavigationOptions {
5
5
  legalEntity: ExistingLegalEntity;
6
6
  onNavigate?: (task: TaskTypes) => void;
@@ -1,2 +1,2 @@
1
- import type { HighExposureProps } from '../../Dropins/HighExposureDropin/types';
1
+ import type { HighExposureProps } from '../../EFP/tasks/HighExposureDropin/types';
2
2
  export declare function UpdateLegalEntityForHighExposure({ legalEntityId, onSubmitSuccess, }: HighExposureProps): import("preact").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { HighExposureCustomLabels, HighExposureSchema, HighExposureSummaryType } from '../../Dropins/HighExposureDropin/types';
1
+ import type { HighExposureCustomLabels, HighExposureSchema, HighExposureSummaryType } from '../../EFP/tasks/HighExposureDropin/types';
2
2
  import type { DatasetUtil } from '../../../utils/datasetUtil';
3
3
  import type { Language } from '../../../language/Language';
4
4
  export declare const customLabels: HighExposureCustomLabels;
@@ -1,7 +1,7 @@
1
1
  import type { ConfigurationApi } from '../../../../core/context/ConfigurationApiContext/ConfigurationApiContext';
2
2
  import type { AsyncValidatorRules } from '../../../../utils/validation/types';
3
3
  import type { IdentityNumberSchema } from './type';
4
- import type { IndividualIdNumberType } from '../../../IdFieldTypeSelector/countryIdNumberTypes';
4
+ import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
5
5
  import type { FieldMetadata } from '../../../../core/models/country-config';
6
6
  import type { NoParams, PerCountryFieldConfig } from '../../../../core/models/field-configurations';
7
7
  import type { PersonalDetailsSchema } from '../../forms/Individual/PersonalDetails/types';
@@ -1,5 +1,5 @@
1
1
  import type { defaultFieldConfig } from './fieldConfig';
2
- import type { IndividualIdNumberType } from '../../../IdFieldTypeSelector/countryIdNumberTypes';
2
+ import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
3
3
  import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
4
4
  import type { CountryCode } from '../../../../core/models/country-code';
5
5
  export interface IdentityNumberSchema {
@@ -3,7 +3,7 @@ import type { IdVerificationMethodType } from '../IdVerificationMethod/types';
3
3
  import type { BaseInnerFormProps } from '../../../../../core/hooks/useForm/types';
4
4
  import type { FileSchema } from '../../../../../core/models/file';
5
5
  import type { TranslationKey } from '../../../../../language/types';
6
- import type { DropinAPIHandlers } from '../../../../Dropins/types';
6
+ import type { DropinAPIHandlers } from '../../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
7
7
  import { DocumentType } from '../../../../../core/models/api/document';
8
8
  export interface IdDocumentUploadSchema {
9
9
  idDocumentType?: DocumentType;
@@ -1,5 +1,5 @@
1
1
  import type { Onfido } from 'onfido-sdk-ui';
2
- import type { DropinAPIHandlers } from '../../../../Dropins/types';
2
+ import type { DropinAPIHandlers } from '../../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
3
3
  export interface IdVerificationProps {
4
4
  userDetails: UserDetails;
5
5
  legalEntityId?: string | undefined;
@@ -1,4 +1,4 @@
1
- import type { IndividualIdNumberOption, IndividualIdNumberType } from '../../../../../../IdFieldTypeSelector/countryIdNumberTypes';
1
+ import type { IndividualIdNumberOption, IndividualIdNumberType } from '../../../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
2
2
  export interface TypeOfIdentityProps {
3
3
  availableIdentityTypesOptions: readonly IndividualIdNumberOption[];
4
4
  selectedIdentityType: IndividualIdNumberType | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { IdentityNumberSchema } from '../../../../fields/IdentityNumber/type';
2
- import type { IndividualIdNumberType } from '../../../../../IdFieldTypeSelector/countryIdNumberTypes';
2
+ import type { IndividualIdNumberType } from '../../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
3
3
  import type { BaseInnerFormProps } from '../../../../../../core/hooks/useForm/types';
4
4
  export interface AdditionalIdentityInfoSchema {
5
5
  typeOfIdentity?: IndividualIdNumberType;
@@ -1,16 +1,16 @@
1
1
  import type { IdentityNumberSchema } from '../../../fields/IdentityNumber/type';
2
- import type { NameSchema } from '../../../../Name/types';
2
+ import type { NameSchema } from '../../../../Shared/fields/Name/types';
3
3
  import type { AdditionalIdentityInfoSchema } from './Identity/types';
4
4
  import type { DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema } from '../../../fields/DecisionMakerRole/types';
5
- import type { ContactDetailsSchema } from '../../../../ContactDetails/types';
5
+ import type { ContactDetailsSchema } from '../../../../Shared/forms/ContactDetails/types';
6
6
  import type { CountryCode } from '../../../../../core/models/country-code';
7
7
  import type { LegalEntityAssociation, LegalRepresentativeRelationshipType } from '../../../../../core/models/api/legal-entity-association';
8
8
  import type { BaseInnerFormProps } from '../../../../../core/hooks/useForm/types';
9
9
  import type { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
10
10
  import type { DecisionMakerType } from '../../../../../core/models/api/decision-maker-type';
11
11
  import type { ExistingLegalEntity } from '../../../../../core/models/api/legal-entity';
12
- import type { ValidationRuleResults } from '../../../../../utils/validation/types';
13
- import type { IndividualIdNumberType } from '../../../../IdFieldTypeSelector/countryIdNumberTypes';
12
+ import type { ValidationRuleResults, ValidatorMode } from '../../../../../utils/validation/types';
13
+ import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
14
14
  import type { TranslationKey } from '../../../../../language/types';
15
15
  export interface PersonalDetailsSchema extends NameSchema, IdentityNumberSchema, AdditionalIdentityInfoSchema, DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema, ContactDetailsSchema {
16
16
  birthDate?: string;
@@ -37,5 +37,5 @@ export interface IdentityProps {
37
37
  errors: ValidationRuleResults<IdentityNumberSchema>;
38
38
  idNumberType?: IndividualIdNumberType;
39
39
  registrationNumberType?: TranslationKey;
40
- handleFieldChange: any;
40
+ handleFieldChange?: (fieldName: keyof IdentityNumberSchema, mode?: ValidatorMode) => (e: any) => void;
41
41
  }
@@ -4,7 +4,7 @@ import type { CountryCode } from '../../../../../core/models/country-code';
4
4
  import type { ExperimentName } from '../../../../../core/context/ExperimentContext/types';
5
5
  import type { BooleanSettingName } from '../../../../../core/context/SettingsContext/types';
6
6
  import { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
7
- import type { IndividualIdNumberType } from '../../../../IdFieldTypeSelector/countryIdNumberTypes';
7
+ import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
8
8
  import type { FormVerificationErrors } from '../../../../../core/models/errors/form-verification-errors';
9
9
  export declare const personalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, phonePrefix, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, }: {
10
10
  country: CountryCode;
@@ -1,4 +1,4 @@
1
- import type { DocumentUploadProps } from '../../../../DocumentUpload/types';
1
+ import type { DocumentUploadProps } from '../../../../Shared/forms/DocumentUpload/types';
2
2
  export declare enum ProofOfRelationshipDocumentTypes {
3
3
  BIRTH_CERTIFICATE = "birthCertificate",
4
4
  GUARDIANSHIP_CERTIFICATE = "guardianshipCertificate",
@@ -1,4 +1,4 @@
1
- import type { DocumentUploadProps } from '../../../../DocumentUpload/types';
1
+ import type { DocumentUploadProps } from '../../../../Shared/forms/DocumentUpload/types';
2
2
  export declare enum ProofOfResidenceDocumentTypes {
3
3
  BANK_STATEMENT = "bankStatement",
4
4
  UTILITY_BILL = "utilityBill",
@@ -1,9 +1,9 @@
1
- import type { DropinAPIHandlers, DropinProps } from '../../../Dropins/types';
1
+ import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
2
2
  import type { PersonalDetailsSchema } from './PersonalDetails/types';
3
- import type { AddressSchema } from '../../../Address/types';
4
- import type { ContactDetailsSchema } from '../../../ContactDetails/types';
3
+ import type { AddressSchema } from '../../../Shared/forms/Address/types';
4
+ import type { ContactDetailsSchema } from '../../../Shared/forms/ContactDetails/types';
5
5
  import type { IdDocumentUploadSchema } from './IdDocumentUpload/types';
6
- import type { DocumentUploadSchema } from '../../../DocumentUpload/types';
6
+ import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
7
7
  import type { IdVerificationMethodSchema } from './IdVerificationMethod/types';
8
8
  import type { NomineeDecisionMakerRoleSchema } from '../../fields/DecisionMakerRole/types';
9
9
  import type { BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
@@ -0,0 +1,5 @@
1
+ import type { IndividualOnfidoSchema } from '../IndividualOnfido.types';
2
+ import type { AdditionalPersonalDetailsSchema, AdditionalPersonalDetailsProps } from './AdditionalPersonalDetails.types';
3
+ export declare const ADDITIONAL_PERSONAL_DETAILS_FORM_ID: keyof IndividualOnfidoSchema;
4
+ export declare const additionalPersonalDetailsFields: Array<keyof AdditionalPersonalDetailsSchema>;
5
+ export declare function AdditionalPersonalDetails(props: Readonly<AdditionalPersonalDetailsProps>): import("preact").JSX.Element;
@@ -0,0 +1,34 @@
1
+ import type { BaseInnerFormProps } from '../../../../../core/hooks/useForm/types';
2
+ import type { CountryCode } from '../../../../../core/models/country-code';
3
+ import type { TranslationKey } from '../../../../../language/types';
4
+ import type { ValidationRuleResults } from '../../../../../utils/validation/types';
5
+ import type { IdentityNumberSchema } from '../../../fields/IdentityNumber/type';
6
+ import type { AdditionalIdentityInfoSchema } from './Identity/Identity.types';
7
+ import type { AddressSchema } from '../../../../Shared/forms/Address/types';
8
+ import type { RegistrationAddressSchema } from '../../../../Shared/forms/RegistrationAddress/types';
9
+ import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
10
+ import type { DropinAPIHandlers } from '../../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
11
+ export interface AdditionalPersonalDetailsSchema extends AddressSchema, IdentityNumberSchema, AdditionalIdentityInfoSchema, RegistrationAddressSchema {
12
+ birthDate?: string;
13
+ residencyCountry?: CountryCode;
14
+ nationality?: CountryCode;
15
+ }
16
+ export interface AdditionalPersonalDetailsProps extends BaseInnerFormProps<AdditionalPersonalDetailsSchema> {
17
+ country: CountryCode;
18
+ onResidencyCountryChange?(country: string): void;
19
+ handleAddressSearch?: DropinAPIHandlers['handleAddressSearch'];
20
+ handleFindAddress?: DropinAPIHandlers['handleFindAddress'];
21
+ }
22
+ export interface IdSchema {
23
+ idNumber: string;
24
+ firstName: string;
25
+ lastName: string;
26
+ }
27
+ export interface IdentityProps {
28
+ country: CountryCode;
29
+ additionalPersonalDetails: AdditionalPersonalDetailsProps;
30
+ errors: ValidationRuleResults<IdentityNumberSchema>;
31
+ idNumberType?: IndividualIdNumberType;
32
+ registrationNumberType?: TranslationKey;
33
+ handleFieldChange: any;
34
+ }
@@ -0,0 +1,2 @@
1
+ import type { IdentityProps } from '../AdditionalPersonalDetails.types';
2
+ export declare function Identity(props: Readonly<IdentityProps>): import("preact").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import type { BaseInnerFormProps } from '../../../../../../core/hooks/useForm/types';
2
+ import type { IdentityNumberSchema } from '../../../../fields/IdentityNumber/type';
3
+ import type { IndividualIdNumberType } from '../../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
4
+ export interface AdditionalIdentityInfoSchema {
5
+ typeOfIdentity?: IndividualIdNumberType;
6
+ issuerState?: string;
7
+ licenseCardNumber?: string;
8
+ expiryDate?: string;
9
+ }
10
+ export declare const additionalIdentityInfoFields: ReadonlyArray<keyof AdditionalIdentityInfoSchema>;
11
+ export interface IdentitySchema extends AdditionalIdentityInfoSchema, Pick<IdentityNumberSchema, 'idNumber'> {
12
+ }
13
+ export type IdentityFormProps = BaseInnerFormProps<IdentitySchema>;
14
+ export declare const identityFields: ReadonlyArray<keyof IdentitySchema>;
@@ -0,0 +1,2 @@
1
+ import type { IdentityFormProps } from '../Identity.types';
2
+ export declare function IdentityHK({ labels, data, placeholders, helperText, requiredFields, readOnlyFields, optionalFields, obscuredFields, shouldValidate, fieldValidationErrors, handleFieldChange, validators, valid, errors, }: IdentityFormProps): import("preact").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { ValidatorRules } from '../../../../../../../utils/validation/types';
2
+ import type { IdentitySchema } from '../Identity.types';
3
+ export declare const identityValidationRules: ValidatorRules<IdentitySchema>;
@@ -0,0 +1,10 @@
1
+ import type { IndividualIdNumberOption, IndividualIdNumberType } from '../../../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
2
+ export interface TypeOfIdentityProps {
3
+ availableIdentityTypesOptions: readonly IndividualIdNumberOption[];
4
+ selectedIdentityType: IndividualIdNumberType | undefined;
5
+ setSelectedIdentityType: (type: IndividualIdNumberType) => void;
6
+ errorMessage: string | boolean;
7
+ isValid: boolean;
8
+ label?: string;
9
+ }
10
+ export declare const TypeOfIdentity: ({ availableIdentityTypesOptions, selectedIdentityType, setSelectedIdentityType, label, errorMessage, isValid, }: TypeOfIdentityProps) => import("preact").JSX.Element;
@@ -0,0 +1,30 @@
1
+ import type { BaseInnerFormProps } from '../../../../../core/hooks/useForm/types';
2
+ import type { CountryCode } from '../../../../../core/models/country-code';
3
+ import type { FormVerificationErrors } from '../../../../../core/models/errors/form-verification-errors';
4
+ import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../../../../core/models/api/instant-id-verification';
5
+ import type { DocumentDetail } from '../../../../../core/models/api/documentDetail';
6
+ import type { IdDocumentUploadSchema } from '../../Individual/IdDocumentUpload/types';
7
+ export declare const idVerificationMethods: readonly ["instantVerification", "manualVerification"];
8
+ export type IdVerificationMethodType = (typeof idVerificationMethods)[number];
9
+ export interface IdVerificationMethodSchema {
10
+ idVerificationMethod: IdVerificationMethodType;
11
+ }
12
+ export interface IdVerificationMethodProps extends BaseInnerFormProps<IdVerificationMethodSchema> {
13
+ formVerificationErrors?: FormVerificationErrors;
14
+ countryOfResidence?: CountryCode;
15
+ legalEntityId?: string;
16
+ handleGetIdVerificationToken?(legalEntityId: string, data: InstantIdVerificationTokenRequest): Promise<InstantIdVerificationTokenResponse>;
17
+ document?: IdDocumentUploadSchema;
18
+ uploadedDocument?: DocumentDetail;
19
+ userDetails?: {
20
+ firstName?: string;
21
+ lastName?: string;
22
+ residencyCountry?: string;
23
+ } | undefined;
24
+ handlers: {
25
+ handleOnfidoVerification: () => void;
26
+ handleManualVerification: () => void;
27
+ handleDeleteDocument: () => void;
28
+ handleUpdateDocument: () => void;
29
+ };
30
+ }
@@ -0,0 +1,4 @@
1
+ import type { IndividualOnfidoProps } from './IndividualOnfido.types';
2
+ import type { FormList } from '../../../../core/models/form';
3
+ export declare const individualOnfidoForms: FormList;
4
+ export declare function IndividualOnfido(props: Readonly<IndividualOnfidoProps>): import("preact").JSX.Element;
@@ -0,0 +1,55 @@
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 { FormModel } from '../../../../core/models/form';
8
+ import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
9
+ import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
10
+ import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
11
+ import type { NomineeDecisionMakerRoleSchema } from '../../fields/DecisionMakerRole/types';
12
+ import type { IdDocumentUploadSchema } from '../Individual/IdDocumentUpload/types';
13
+ import type { PersonalDetailsSchema } from '../Individual/PersonalDetails/types';
14
+ import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
15
+ import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
16
+ import type { AddressSchema } from '../../../Shared/forms/Address/types';
17
+ import type { ContactDetailsSchema } from '../../../Shared/forms/ContactDetails/types';
18
+ import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
19
+ import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
20
+ export interface IndividualOnfidoSchema {
21
+ personalDetails?: PersonalDetailsSchema;
22
+ address?: AddressSchema;
23
+ contactDetails?: ContactDetailsSchema;
24
+ idDocument?: IdDocumentUploadSchema;
25
+ proofOfResidency?: DocumentUploadSchema;
26
+ proofOfNationalId?: DocumentUploadSchema;
27
+ proofOfRelationship?: DocumentUploadSchema;
28
+ idVerificationMethod?: IdVerificationMethodSchema;
29
+ nominee?: NomineeDecisionMakerRoleSchema;
30
+ additionalPersonalDetails?: AdditionalPersonalDetailsSchema;
31
+ }
32
+ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfidoSchema> {
33
+ handleAddressSearch?: DropinAPIHandlers['handleAddressSearch'];
34
+ handleFindAddress?: DropinAPIHandlers['handleFindAddress'];
35
+ handleGetIdVerificationToken?(legalEntityId: string, data: InstantIdVerificationTokenRequest): Promise<InstantIdVerificationTokenResponse>;
36
+ handleOpenSingpassAuthorizationLink?: DropinAPIHandlers['handleOpenSingpassAuthorizationLink'];
37
+ activeForm?: FormModel;
38
+ forms?: FormModel[];
39
+ problems?: EntityProblems;
40
+ legalEntityId?: string;
41
+ taskType?: TaskTypes;
42
+ allowedRoles?: DecisionMakerType[];
43
+ parentLegalEntity?: ExistingLegalEntity;
44
+ onNext?(e: any, callbacks: any, isValid: any): void;
45
+ onBack?(): void;
46
+ asModal?: boolean;
47
+ trustedRoles?: Array<LegalEntityAssociation['type']>;
48
+ }
49
+ export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder'>, IndividualOnfidoDropinApiHandlers, DropinProps {
50
+ trustMember?: TrustMember;
51
+ isTargetLegalEntityType?: boolean;
52
+ country: CountryCode;
53
+ onSubmit?(dataSubmitted: IndividualOnfidoSchema): void;
54
+ }
55
+ export type IndividualOnfidoDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity'> & Pick<DropinAPIHandlers, 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleGetIdVerificationStartCheck' | 'handleCreateLegalEntity' | 'handleOpenSingpassAuthorizationLink'>;
@@ -1,4 +1,4 @@
1
- import type { DropinAPIHandlers } from '../../Dropins/types';
1
+ import type { DropinAPIHandlers } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
2
2
  import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
3
3
  import type { UserDetails } from '../forms/Individual/IdVerification/types';
4
4
  export declare const useIdVerificationToken: ({ userDetails, legalEntityId, handleGetIdVerificationToken, onIdVerificationError, }: {
@@ -1,7 +1,7 @@
1
1
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
2
  import type { CapabilityProblems } from '../../../../core/models/errors/capability-problems';
3
- import type { DropinAPIHandlers, DropinProps } from '../../../Dropins/types';
4
- import type { UniqueEntityAssociation } from '../../../EntityAssociation/types';
3
+ 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,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 '../TaskList/types';
7
- import type { ActionsMenuOption } from '../ui/atoms/ActionsMenu/ActionsMenu';
3
+ import type { LegalEntityAssociation } from '../../../core/models/api/legal-entity-association';
4
+ import type { TaskStatus } from '../../../stores/globalStore/taskStatus';
5
+ import type { ActionsMenuOption } from '../../ui/atoms/ActionsMenu/ActionsMenu';
6
+ import type { EntityProblems } from '../../../core/models/errors/entity-problems';
7
+ import type { LegalEntityType } from '../../../core/models/api/legal-entity-type';
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 '../TaskList/types';
1
+ import type { TrustMemberGuidanceLabel } from '../../../core/models/trust';
2
+ import type { CountryCode } from '../../../core/models/country-code';
3
+ import type { TaskTypes } from '../../../stores/globalStore/taskTypes';
4
+ import type { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
5
5
  export type EntityStatus = 'empty' | 'satisfied';
6
6
  export interface EntityGuidanceStatusProps {
7
7
  country: CountryCode;
@@ -4,9 +4,9 @@ import type { EntityProblems } from '../../../core/models/errors/entity-problems
4
4
  import type { FormModelWithValidity } from '../../../core/models/form';
5
5
  import type { TranslationKey } from '../../../language/types';
6
6
  import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
7
- import type { DropinAPIHandlers } from '../types';
8
- import type { Omitted } from '../../Summary/types';
7
+ import type { DropinAPIHandlers } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
9
8
  import { type AdditionalEventProperties } from '../../../core/user-events';
9
+ import type { Omitted } from '../Summary/types';
10
10
  export interface FormWrapperProps {
11
11
  summary?: {
12
12
  data?: any;
@@ -1,7 +1,7 @@
1
1
  import './_introduction.component.scss';
2
2
  import type { JSX } from 'preact';
3
- import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
4
- import type { TaskTypes } from '../TaskList/types';
3
+ import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
4
+ import type { TaskTypes } from '../tasks/TaskList/types';
5
5
  export interface IntroductionProps {
6
6
  legalEntity: ExistingLegalEntity;
7
7
  onExitIntroduction: () => void;