@adyen/kyc-components 3.43.4 → 3.44.1

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 (304) hide show
  1. package/dist/es/adyen-kyc-components.es.js +727 -150
  2. package/dist/style.css +6 -4
  3. package/dist/types/components/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  4. package/dist/types/components/AdditionalInformation/types.d.ts +10 -10
  5. package/dist/types/components/AdditionalInformation/utils.d.ts +1 -1
  6. package/dist/types/components/{internal/Address → Address}/constants.d.ts +1 -1
  7. package/dist/types/components/{internal/Address → Address}/types.d.ts +7 -7
  8. package/dist/types/components/Address/utils.d.ts +20 -0
  9. package/dist/types/components/{internal/Address → Address}/validate.d.ts +3 -3
  10. package/dist/types/components/{internal/Address → Address}/validate.formats.d.ts +1 -1
  11. package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/fieldConfig.d.ts +2 -2
  12. package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/types.d.ts +2 -2
  13. package/dist/types/components/{internal/BankCity → BankCity}/types.d.ts +1 -1
  14. package/dist/types/components/{internal/BankCode → BankCode}/fieldConfig.d.ts +2 -2
  15. package/dist/types/components/{internal/BankCode → BankCode}/types.d.ts +2 -2
  16. package/dist/types/components/{internal/BankName → BankName}/types.d.ts +1 -1
  17. package/dist/types/components/BasicInformation/types.d.ts +6 -6
  18. package/dist/types/components/{internal/BranchCode → BranchCode}/fieldConfig.d.ts +2 -2
  19. package/dist/types/components/{internal/BranchCode → BranchCode}/types.d.ts +2 -2
  20. package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
  21. package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/fieldConfig.d.ts +1 -1
  22. package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/types.d.ts +1 -1
  23. package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/fieldConfig.d.ts +5 -5
  24. package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/types.d.ts +3 -3
  25. package/dist/types/components/{internal/BusinessRegistrationNumberField → BusinessRegistrationNumberField}/types.d.ts +3 -3
  26. package/dist/types/components/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +1 -1
  27. package/dist/types/components/BusinessTypeSelection/types.d.ts +1 -1
  28. package/dist/types/components/BusinessTypeSelection/utils.d.ts +2 -2
  29. package/dist/types/components/Company/Company.d.ts +1 -1
  30. package/dist/types/components/CompanyNameAndCountry/types.d.ts +3 -3
  31. package/dist/types/components/CompanyRegistrationDetails/types.d.ts +10 -10
  32. package/dist/types/components/ContactDetails/ContactDetails.d.ts +2 -3
  33. package/dist/types/components/ContactDetails/types.d.ts +2 -2
  34. package/dist/types/components/{internal/CountryField → CountryField}/types.d.ts +2 -2
  35. package/dist/types/components/{internal/CountryField → CountryField}/validate.d.ts +1 -1
  36. package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/types.d.ts +2 -2
  37. package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/validate.d.ts +1 -1
  38. package/dist/types/components/{internal/Currency → Currency}/types.d.ts +3 -3
  39. package/dist/types/components/{internal/DBANameField → DBANameField}/fieldConfig.d.ts +1 -1
  40. package/dist/types/components/{internal/DBANameField → DBANameField}/types.d.ts +1 -1
  41. package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/fieldConfig.d.ts +1 -1
  42. package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/types.d.ts +1 -1
  43. package/dist/types/components/{internal/DebugTable → DebugTable}/DebugTable.d.ts +1 -1
  44. package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/types.d.ts +5 -5
  45. package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/validate.d.ts +1 -1
  46. package/dist/types/components/DecisionMakers/types.d.ts +1 -1
  47. package/dist/types/components/{internal/DocumentGuidance → DocumentGuidance}/types.d.ts +3 -3
  48. package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +3 -3
  49. package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +2 -2
  50. package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +1 -1
  51. package/dist/types/components/Dropins/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
  52. package/dist/types/components/Dropins/ServiceAgreementDropin/useServiceAgreement.d.ts +1 -1
  53. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFunds.d.ts +2 -0
  54. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +4 -1
  55. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsTellUsMore.d.ts +3 -0
  56. package/dist/types/components/Dropins/SourceOfFundsDropin/SourceOfFundsType.d.ts +3 -0
  57. package/dist/types/components/Dropins/SourceOfFundsDropin/types.d.ts +30 -2
  58. package/dist/types/components/Dropins/SourceOfFundsDropin/validate.d.ts +4 -0
  59. package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/fieldConfig.d.ts +1 -1
  60. package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/types.d.ts +1 -1
  61. package/dist/types/components/{internal/EntityAssociation → EntityAssociation}/types.d.ts +5 -5
  62. package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/types.d.ts +4 -4
  63. package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/types.d.ts +3 -3
  64. package/dist/types/components/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  65. package/dist/types/components/{internal/FinancialReportingDate → FinancialReportingDate}/types.d.ts +1 -1
  66. package/dist/types/components/{internal/FormEndState → FormEndState}/types.d.ts +1 -1
  67. package/dist/types/components/{internal/Iban → Iban}/fieldConfig.d.ts +2 -2
  68. package/dist/types/components/Iban/ibanValidator.d.ts +3 -0
  69. package/dist/types/components/{internal/Iban → Iban}/types.d.ts +2 -2
  70. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/CompanyRegistrationNumberTypeSelector.d.ts +3 -3
  71. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/IndividualIdNumberTypeSelector.d.ts +1 -1
  72. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/TaxIdNumberTypeSelector.d.ts +4 -4
  73. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/countryIdNumberTypes.d.ts +4 -4
  74. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/inferCompanyRegistrationNumberType.d.ts +2 -2
  75. package/dist/types/components/{internal/IdFieldTypeSelector → IdFieldTypeSelector}/inferTaxIdNumberType.d.ts +3 -3
  76. package/dist/types/components/IdVerificationMethod/idVerificationMethodMetadata.d.ts +1 -1
  77. package/dist/types/components/IdentityNumber/fieldConfig.d.ts +1 -1
  78. package/dist/types/components/IdentityNumber/type.d.ts +1 -1
  79. package/dist/types/components/Individual/types.d.ts +3 -3
  80. package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/fieldConfig.d.ts +2 -2
  81. package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/types.d.ts +1 -1
  82. package/dist/types/components/{internal/LegalFormField → LegalFormField}/types.d.ts +2 -2
  83. package/dist/types/components/{internal/NaceCodeField → NaceCodeField}/types.d.ts +1 -1
  84. package/dist/types/components/{internal/Name → Name}/Name.d.ts +2 -2
  85. package/dist/types/components/{internal/Name → Name}/types.d.ts +1 -1
  86. package/dist/types/components/{internal/Name → Name}/validate.d.ts +1 -1
  87. package/dist/types/components/{internal/NumberOfEmployees → NumberOfEmployees}/types.d.ts +1 -1
  88. package/dist/types/components/PayoutAccount/types.d.ts +2 -2
  89. package/dist/types/components/PayoutDetails/types.d.ts +1 -1
  90. package/dist/types/components/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +1 -1
  91. package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
  92. package/dist/types/components/PayoutVerificationMethod/types.d.ts +1 -1
  93. package/dist/types/components/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +1 -1
  94. package/dist/types/components/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +1 -1
  95. package/dist/types/components/PersonalDetails/Identity/types.d.ts +1 -1
  96. package/dist/types/components/PersonalDetails/types.d.ts +3 -3
  97. package/dist/types/components/{internal/PhoneField → PhoneField}/PhoneField.d.ts +1 -1
  98. package/dist/types/components/{internal/PhoneField → PhoneField}/PhoneFieldExperimentWrapper.d.ts +1 -1
  99. package/dist/types/components/{internal/PhoneField → PhoneField}/fieldConfig.d.ts +3 -3
  100. package/dist/types/components/PhoneField/types.d.ts +10 -0
  101. package/dist/types/components/{internal/PhoneInput → PhoneInput}/PhoneInput.d.ts +2 -2
  102. package/dist/types/components/{internal/PhoneInput/types.d.ts → PhoneInput/PhoneInput.types.d.ts} +2 -2
  103. package/dist/types/components/{internal/PhoneInput → PhoneInput}/validate.d.ts +2 -2
  104. package/dist/types/components/RegistrationAddress/types.d.ts +1 -1
  105. package/dist/types/components/SingpassSelection/types.d.ts +1 -1
  106. package/dist/types/components/SoleProp/SoleProp.d.ts +1 -1
  107. package/dist/types/components/{internal/StateField → StateField}/fieldConfig.d.ts +2 -2
  108. package/dist/types/components/StateField/types.d.ts +10 -0
  109. package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/fieldConfig.d.ts +1 -1
  110. package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/types.d.ts +1 -1
  111. package/dist/types/components/{internal/StockISINField → StockISINField}/fieldConfig.d.ts +1 -1
  112. package/dist/types/components/{internal/StockISINField → StockISINField}/types.d.ts +1 -1
  113. package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/fieldConfig.d.ts +1 -1
  114. package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/types.d.ts +1 -1
  115. package/dist/types/components/{internal/Summary → Summary}/Summary.d.ts +2 -2
  116. package/dist/types/components/{internal/Summary → Summary}/summaryItem.d.ts +1 -1
  117. package/dist/types/components/{internal/Summary → Summary}/types.d.ts +2 -2
  118. package/dist/types/components/{internal/SwiftCode → SwiftCode}/fieldConfig.d.ts +1 -1
  119. package/dist/types/components/{internal/SwiftCode → SwiftCode}/types.d.ts +1 -1
  120. package/dist/types/components/TaskList/types.d.ts +3 -3
  121. package/dist/types/components/{internal/TaxId → TaxId}/fieldConfig.d.ts +4 -4
  122. package/dist/types/components/{internal/TaxId → TaxId}/types.d.ts +4 -4
  123. package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/fieldConfig.d.ts +1 -1
  124. package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/types.d.ts +5 -5
  125. package/dist/types/components/{internal/TradingNameField → TradingNameField}/fieldConfig.d.ts +1 -1
  126. package/dist/types/components/{internal/TradingNameField → TradingNameField}/types.d.ts +1 -1
  127. package/dist/types/components/TrustRegistrationDetails/types.d.ts +3 -3
  128. package/dist/types/components/TrustRoleAndEntityType/types.d.ts +1 -1
  129. package/dist/types/components/{internal/VatNumberField → VatNumberField}/fieldConfig.d.ts +2 -2
  130. package/dist/types/components/{internal/VatNumberField → VatNumberField}/types.d.ts +3 -3
  131. package/dist/types/components/{internal → ui/atoms}/Accordion/Accordion.d.ts +1 -1
  132. package/dist/types/components/{internal/Menu → ui/atoms/ActionsMenu}/ActionsMenu.d.ts +1 -2
  133. package/dist/types/components/{internal → ui/atoms}/Button/Button.d.ts +1 -1
  134. package/dist/types/components/{internal/FormFields → ui/atoms}/Field/Field.d.ts +1 -1
  135. package/dist/types/components/{internal → ui/atoms}/FormHeader/FormHeader.d.ts +1 -1
  136. package/dist/types/components/{internal/FormFields → ui/atoms/InputCurrency}/InputCurrency.d.ts +3 -4
  137. package/dist/types/components/{internal/FormFields → ui/atoms}/InputDate/InputDate.d.ts +1 -1
  138. package/dist/types/components/{internal/FormFields → ui/atoms/InputEmail}/InputEmail.d.ts +1 -1
  139. package/dist/types/components/{internal/FormFields → ui/atoms/InputNumber}/InputNumber.d.ts +1 -1
  140. package/dist/types/components/{internal/FormFields → ui/atoms/InputTelephone}/InputTelephone.d.ts +1 -1
  141. package/dist/types/components/{internal/FormFields → ui/atoms/InputText}/InputText.d.ts +1 -1
  142. package/dist/types/components/{internal → ui/atoms}/Link/Link.d.ts +1 -1
  143. package/dist/types/components/{internal → ui/atoms}/List/List.d.ts +1 -1
  144. package/dist/types/components/ui/atoms/List/List.types.d.ts +8 -0
  145. package/dist/types/components/{internal/List → ui/atoms/ListItem}/ListItem.d.ts +1 -1
  146. package/dist/types/components/{internal/List/types.d.ts → ui/atoms/ListItem/ListItem.types.d.ts} +0 -7
  147. package/dist/types/components/{internal → ui/atoms}/LoaderWrapper/LoaderWrapper.d.ts +1 -2
  148. package/dist/types/components/{internal/FormFields → ui/atoms}/MaskedInput/MaskedInput.d.ts +2 -1
  149. package/dist/types/components/{internal/FormFields → ui/atoms}/MultiSelectList/MultiSelectList.d.ts +2 -3
  150. package/dist/types/components/{embedded-ui → ui/atoms}/OutlinedIcon/OutlinedIcon.d.ts +1 -1
  151. package/dist/types/components/{internal/FormFields/RadioGroupCard → ui/atoms/RadioCard}/RadioCard.d.ts +1 -1
  152. package/dist/types/components/{internal/FormFields → ui/atoms}/RadioGroupCard/RadioGroupCard.d.ts +1 -1
  153. package/dist/types/components/{internal/FormFields/Radio → ui/atoms/RadioWithLabel}/RadioWithLabel.d.ts +1 -1
  154. package/dist/types/components/{internal → ui/atoms}/Remove/Remove.d.ts +1 -1
  155. package/dist/types/components/{internal/Remove/types.d.ts → ui/atoms/Remove/Remove.types.d.ts} +1 -1
  156. package/dist/types/components/{internal/FormFields → ui/atoms}/Select/Select.d.ts +1 -1
  157. package/dist/types/components/ui/atoms/Select/Select.types.d.ts +62 -0
  158. package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectButton}/SelectButton.d.ts +2 -2
  159. package/dist/types/components/ui/atoms/SelectButton/SelectButton.types.d.ts +47 -0
  160. package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectList}/SelectList.d.ts +2 -2
  161. package/dist/types/components/ui/atoms/SelectList/SelectList.types.d.ts +17 -0
  162. package/dist/types/components/{internal/FormFields/Select → ui/atoms/SelectListItem}/SelectListItem.d.ts +2 -2
  163. package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.types.d.ts +12 -0
  164. package/dist/types/components/{internal → ui/atoms}/Status/Status.d.ts +1 -1
  165. package/dist/types/components/{internal → ui/atoms}/StructuredList/StructuredList.d.ts +1 -1
  166. package/dist/types/components/{internal → ui/atoms}/Typography/Typography.d.ts +1 -1
  167. package/dist/types/components/{internal → ui/molecules}/Alert/types.d.ts +1 -1
  168. package/dist/types/components/{embedded-ui → ui/molecules}/EmbeddedStatus/EmbeddedStatus.d.ts +5 -5
  169. package/dist/types/components/{embedded-ui → ui/molecules}/EmbeddedStatus/statusToTag.d.ts +4 -4
  170. package/dist/types/components/{embedded-ui → ui/molecules}/Splashscreen/Splashscreen.d.ts +1 -1
  171. package/dist/types/components/{internal → ui/molecules}/Toast/Toast.d.ts +1 -1
  172. package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +2 -0
  173. package/dist/types/core/context/CoreContext.d.ts +2 -2
  174. package/dist/types/core/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
  175. package/dist/types/core/context/ExperimentContext/types.d.ts +4 -1
  176. package/dist/types/core/context/StateContext/types.d.ts +2 -1
  177. package/dist/types/core/context/ToastContext/ToastContext.d.ts +1 -1
  178. package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -2
  179. package/dist/types/core/hooks/useAccountHolder.d.ts +1 -1
  180. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
  181. package/dist/types/core/hooks/useBusinessSetup.d.ts +1 -1
  182. package/dist/types/core/hooks/useIdVerificationToken.d.ts +1 -1
  183. package/dist/types/core/hooks/useScenarioConfiguration.d.ts +2 -2
  184. package/dist/types/core/hooks/useUnifyLoadingStatus.d.ts +1 -1
  185. package/dist/types/core/models/api/organization.d.ts +1 -1
  186. package/dist/types/core/models/api/source-of-funds.d.ts +41 -0
  187. package/dist/types/core/models/form-rules.d.ts +1 -1
  188. package/dist/types/core/models/payout-account.d.ts +1 -1
  189. package/dist/types/core/services/componentApi/get-business-lines.d.ts +2 -0
  190. package/dist/types/datasets/localized/legalArrangementTypeExamples/getLegalArrangementTypeExamplesForCountry.d.ts +1 -1
  191. package/dist/types/stores/taskStore/calculateTaskStatus.d.ts +1 -1
  192. package/dist/types/stores/taskStore/determineTaskIdentifiers.d.ts +1 -1
  193. package/dist/types/stores/taskStore/taskStore.d.ts +1 -1
  194. package/dist/types/utils/accountHolderUtils.d.ts +1 -1
  195. package/dist/types/utils/dropinUtils.d.ts +2 -1
  196. package/dist/types/utils/entityAssociationUtil.d.ts +1 -1
  197. package/dist/types/utils/entityStatusUtil.d.ts +2 -2
  198. package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
  199. package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  200. package/dist/types/utils/mapping/componentApiMapping.d.ts +18 -0
  201. package/dist/types/utils/mapping/mapping.d.ts +4 -0
  202. package/dist/types/utils/masking/matchAgainstMask.d.ts +1 -1
  203. package/dist/types/utils/masking/stripNonAllowedValues.d.ts +2 -0
  204. package/dist/types/utils/payoutAccountUtil.d.ts +1 -1
  205. package/dist/types/utils/roleMetadata.d.ts +1 -1
  206. package/package.json +4 -2
  207. package/dist/types/components/internal/Address/utils.d.ts +0 -20
  208. package/dist/types/components/internal/FormFields/Select/types.d.ts +0 -132
  209. package/dist/types/components/internal/Iban/ibanValidator.d.ts +0 -3
  210. package/dist/types/components/internal/PhoneField/types.d.ts +0 -9
  211. package/dist/types/components/internal/StateField/types.d.ts +0 -10
  212. /package/dist/types/components/{internal/Address → Address}/Address.d.ts +0 -0
  213. /package/dist/types/components/{internal/Address → Address}/AddressExperimentWrapper.d.ts +0 -0
  214. /package/dist/types/components/{internal/Address → Address}/AddressForm.d.ts +0 -0
  215. /package/dist/types/components/{internal/Address → Address}/FieldContainer.d.ts +0 -0
  216. /package/dist/types/components/{internal/Address → Address}/FieldWrapper.d.ts +0 -0
  217. /package/dist/types/components/{internal/Address → Address}/SearchAddress.d.ts +0 -0
  218. /package/dist/types/components/{internal/BankAccountFormat → BankAccountFormat}/BankAccountFormat.d.ts +0 -0
  219. /package/dist/types/components/{internal/BankAccountFormat → BankAccountFormat}/types.d.ts +0 -0
  220. /package/dist/types/components/{internal/BankAccountNumber → BankAccountNumber}/BankAccountNumber.d.ts +0 -0
  221. /package/dist/types/components/{internal/BankCity → BankCity}/BankCity.d.ts +0 -0
  222. /package/dist/types/components/{internal/BankCode → BankCode}/BankCode.d.ts +0 -0
  223. /package/dist/types/components/{internal/BankName → BankName}/BankName.d.ts +0 -0
  224. /package/dist/types/components/{internal/BranchCode → BranchCode}/BranchCode.d.ts +0 -0
  225. /package/dist/types/components/{internal/BusinessNameField → BusinessNameField}/BusinessNameField.d.ts +0 -0
  226. /package/dist/types/components/{internal/BusinessRegistrationNumber → BusinessRegistrationNumber}/BusinessRegistrationNumber.d.ts +0 -0
  227. /package/dist/types/components/{internal/BusinessRegistrationNumberField → BusinessRegistrationNumberField}/BusinessRegistrationNumberField.d.ts +0 -0
  228. /package/dist/types/components/{internal/ContextGuidance → ContextGuidance}/ContextGuidance.d.ts +0 -0
  229. /package/dist/types/components/{internal/ContextGuidance → ContextGuidance}/types.d.ts +0 -0
  230. /package/dist/types/components/{internal/ContractViewer → ContractViewer}/ContractViewer.d.ts +0 -0
  231. /package/dist/types/components/{internal/ContractViewer → ContractViewer}/types.d.ts +0 -0
  232. /package/dist/types/components/{internal/CountryField → CountryField}/CountryField.d.ts +0 -0
  233. /package/dist/types/components/{internal/CountryOfGoverningLawField → CountryOfGoverningLawField}/CountryOfGoverningLawField.d.ts +0 -0
  234. /package/dist/types/components/{internal/Currency → Currency}/Currency.d.ts +0 -0
  235. /package/dist/types/components/{internal/DBANameField → DBANameField}/DBANameField.d.ts +0 -0
  236. /package/dist/types/components/{internal/DateOfIncorporationField → DateOfIncorporationField}/DateOfIncorporationField.d.ts +0 -0
  237. /package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/DecisionMakerRole.d.ts +0 -0
  238. /package/dist/types/components/{internal/DecisionMakerRole → DecisionMakerRole}/NomineeDecisionMakerRole.d.ts +0 -0
  239. /package/dist/types/components/{internal/DocumentGuidance → DocumentGuidance}/DocumentGuidance.d.ts +0 -0
  240. /package/dist/types/components/{internal/EInvoicingCodeField → EInvoicingCodeField}/EInvoicingCodeField.d.ts +0 -0
  241. /package/dist/types/components/{internal/EntityAssociation → EntityAssociation}/EntityAssociation.d.ts +0 -0
  242. /package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/EntityGuidanceStatus.d.ts +0 -0
  243. /package/dist/types/components/{internal/EntityGuidanceStatus → EntityGuidanceStatus}/EntityStatusIcon.d.ts +0 -0
  244. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/ErrorPanel.d.ts +0 -0
  245. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/NavigateToFieldLink.d.ts +0 -0
  246. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/ServerValidationErrors.d.ts +0 -0
  247. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/VerificationErrors.d.ts +0 -0
  248. /package/dist/types/components/{internal/ErrorPanel → ErrorPanel}/constants.d.ts +0 -0
  249. /package/dist/types/components/{internal/FinancialReportingDate → FinancialReportingDate}/FinancialReportingDate.d.ts +0 -0
  250. /package/dist/types/components/{internal/FormEndState → FormEndState}/FormEndState.d.ts +0 -0
  251. /package/dist/types/components/{internal/Iban → Iban}/Iban.d.ts +0 -0
  252. /package/dist/types/components/{internal/LegalCompanyNameField → LegalCompanyNameField}/LegalCompanyNameField.d.ts +0 -0
  253. /package/dist/types/components/{internal/LegalFormField → LegalFormField}/LegalFormField.d.ts +0 -0
  254. /package/dist/types/components/{internal/NaceCodeField → NaceCodeField}/NaceCodeField.d.ts +0 -0
  255. /package/dist/types/components/{internal/NumberOfEmployees → NumberOfEmployees}/NumberOfEmployees.d.ts +0 -0
  256. /package/dist/types/components/{internal/StateField → StateField}/StateField.d.ts +0 -0
  257. /package/dist/types/components/{internal/StockExchangeMICField → StockExchangeMICField}/StockExchangeMICField.d.ts +0 -0
  258. /package/dist/types/components/{internal/StockISINField → StockISINField}/StockISINField.d.ts +0 -0
  259. /package/dist/types/components/{internal/StockTickerSymbol → StockTickerSymbol}/StockTickerSymbolField.d.ts +0 -0
  260. /package/dist/types/components/{internal/SwiftCode → SwiftCode}/SwiftCode.d.ts +0 -0
  261. /package/dist/types/components/{internal/TaxId → TaxId}/TaxId.d.ts +0 -0
  262. /package/dist/types/components/{internal/TaxInformationField → TaxInformationField}/TaxInformationField.d.ts +0 -0
  263. /package/dist/types/components/{internal/TradingNameField → TradingNameField}/TradingNameField.d.ts +0 -0
  264. /package/dist/types/components/{internal/VatNumberField → VatNumberField}/VatNumberField.d.ts +0 -0
  265. /package/dist/types/components/{internal/Button/types.d.ts → ui/atoms/Button/Button.types.d.ts} +0 -0
  266. /package/dist/types/components/{internal/FormFields → ui/atoms}/Checkbox/Checkbox.d.ts +0 -0
  267. /package/dist/types/components/{internal → ui/atoms}/Divider/Divider.d.ts +0 -0
  268. /package/dist/types/components/{internal/FormFields/Field/types.d.ts → ui/atoms/Field/Field.types.d.ts} +0 -0
  269. /package/dist/types/components/{internal/FormHeader/type.d.ts → ui/atoms/FormHeader/FormHeader.types.d.ts} +0 -0
  270. /package/dist/types/components/{internal → ui/atoms}/Icon/Icon.d.ts +0 -0
  271. /package/dist/types/components/{internal/FormFields → ui/atoms/InputBase}/InputBase.d.ts +0 -0
  272. /package/dist/types/components/{internal/FormFields/InputDate/utils.d.ts → ui/atoms/InputDate/InputDate.utils.d.ts} +0 -0
  273. /package/dist/types/components/{internal/FormFields → ui/atoms}/InputGroup/InputGroup.d.ts +0 -0
  274. /package/dist/types/components/{internal/Link/types.d.ts → ui/atoms/Link/Link.types.d.ts} +0 -0
  275. /package/dist/types/components/{internal → ui/atoms}/Loader/Loader.d.ts +0 -0
  276. /package/dist/types/components/{internal → ui/atoms}/LoaderWrapper/constants.d.ts +0 -0
  277. /package/dist/types/components/{internal → ui/atoms}/Modal/MaybeModal.d.ts +0 -0
  278. /package/dist/types/components/{internal → ui/atoms}/Modal/Modal.d.ts +0 -0
  279. /package/dist/types/components/{internal/FormFields → ui/atoms}/Radio/Radio.d.ts +0 -0
  280. /package/dist/types/components/{internal/FormFields → ui/atoms}/RadioGroup/RadioGroup.d.ts +0 -0
  281. /package/dist/types/components/{internal/FormFields/RadioGroupCard/types.d.ts → ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts} +0 -0
  282. /package/dist/types/components/{internal → ui/atoms}/Skeleton/Skeleton.d.ts +0 -0
  283. /package/dist/types/components/{internal/Status/types.d.ts → ui/atoms/Status/Status.types.d.ts} +0 -0
  284. /package/dist/types/components/{StepProgressIndicator → ui/atoms/StepProgressIndicator}/StepProgressIndicator.d.ts +0 -0
  285. /package/dist/types/components/{internal → ui/atoms}/Svg/Svg.d.ts +0 -0
  286. /package/dist/types/components/{internal → ui/atoms}/Svg/svgs.d.ts +0 -0
  287. /package/dist/types/components/{internal → ui/atoms}/Tag/Tag.d.ts +0 -0
  288. /package/dist/types/components/{internal/FormFields → ui/atoms/TextArea}/TextArea.d.ts +0 -0
  289. /package/dist/types/components/{internal/Typography/types.d.ts → ui/atoms/Typography/Typography.types.d.ts} +0 -0
  290. /package/dist/types/components/{internal → ui/molecules}/Alert/Alert.d.ts +0 -0
  291. /package/dist/types/components/{internal → ui/molecules}/Alert/VerificationErrorAlert.d.ts +0 -0
  292. /package/dist/types/components/{internal → ui/molecules}/Card/Card.d.ts +0 -0
  293. /package/dist/types/components/{internal → ui/molecules}/Card/CardGroup.d.ts +0 -0
  294. /package/dist/types/components/{internal → ui/molecules}/Card/types.d.ts +0 -0
  295. /package/dist/types/components/{internal → ui/molecules}/Confirm/Confirm.d.ts +0 -0
  296. /package/dist/types/components/{internal → ui/molecules}/Confirm/types.d.ts +0 -0
  297. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/Dropzone.d.ts +0 -0
  298. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/DropzoneFile.d.ts +0 -0
  299. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/FilePicker.d.ts +0 -0
  300. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/types.d.ts +0 -0
  301. /package/dist/types/components/{internal/FormFields → ui/molecules}/Dropzone/validate.d.ts +0 -0
  302. /package/dist/types/components/{internal/Toast/types.d.ts → ui/molecules/Toast/Toast.types.d.ts} +0 -0
  303. /package/dist/types/{components/internal/AccountHolder/types.d.ts → core/types/AccountHolder.types.d.ts} +0 -0
  304. /package/dist/types/{components/internal/FormFields/utils.d.ts → utils/formFields/formFieldsUtils.d.ts} +0 -0
@@ -0,0 +1,62 @@
1
+ import type { ComponentChild, JSX } from 'preact';
2
+ export interface SelectItem {
3
+ disabled?: boolean;
4
+ icon?: JSX.Element;
5
+ id: string;
6
+ name: string;
7
+ description?: string;
8
+ selectedOptionName?: string;
9
+ className?: string;
10
+ }
11
+ export interface AddressSpecificSelectItem extends SelectItem {
12
+ text?: string;
13
+ type?: string;
14
+ addressAmount?: string;
15
+ highlight?: string;
16
+ }
17
+ interface BaseSelectProps {
18
+ className?: string;
19
+ classNameModifiers?: string[];
20
+ filterable?: boolean;
21
+ isInvalid?: boolean;
22
+ items: ReadonlyArray<SelectItem>;
23
+ name?: string;
24
+ placeholder?: string;
25
+ readonly?: boolean;
26
+ selected: string | string[] | undefined;
27
+ isValid?: boolean;
28
+ uniqueId?: string;
29
+ showSelectedItemsAsTags?: boolean;
30
+ isSearch?: boolean;
31
+ onSearch?: (text: string) => void;
32
+ resetSearch?: boolean;
33
+ loading?: boolean;
34
+ getSearchItem?: (item: SelectItem) => ComponentChild;
35
+ searchText?: string;
36
+ onSearchTextChange?: (text: string) => void;
37
+ showSearchList?: boolean;
38
+ }
39
+ interface SingleSelectOnChangeTarget {
40
+ value: string;
41
+ name: string;
42
+ }
43
+ interface MultiSelectOnChangeTarget {
44
+ value: string[];
45
+ name: string;
46
+ }
47
+ export interface SingleSelectOnChangeProps {
48
+ target: SingleSelectOnChangeTarget;
49
+ }
50
+ export interface MultiSelectOnChangeProps {
51
+ target: MultiSelectOnChangeTarget;
52
+ }
53
+ interface SingleSelectProps extends BaseSelectProps {
54
+ isMulti?: false;
55
+ onChange: (e: SingleSelectOnChangeProps) => void;
56
+ }
57
+ interface MultiSelectProps extends BaseSelectProps {
58
+ isMulti: true;
59
+ onChange: (e: MultiSelectOnChangeProps) => void;
60
+ }
61
+ export type SelectProps = SingleSelectProps | MultiSelectProps;
62
+ export {};
@@ -1,3 +1,3 @@
1
- import './SelectGeneric.scss';
2
- import type { SelectButtonProps } from './types';
1
+ import '../Select/SelectGeneric.scss';
2
+ import type { SelectButtonProps } from './SelectButton.types';
3
3
  export declare function SelectButton({ active, readonly, showList, isInvalid, isValid, toggleList, onButtonKeyDown, filterable, placeholder, toggleButtonRef, ariaDescribedBy, selectListId, filterInputRef, onInput, isMulti, id, isSearch, hideSearchIcon, loading, textFilter, }: SelectButtonProps): import("preact").JSX.Element;
@@ -0,0 +1,47 @@
1
+ import type { JSX, RefObject } from 'preact';
2
+ import type { SelectItem } from '../Select/Select.types';
3
+ export interface SelectButtonProps {
4
+ active: SelectItem[];
5
+ filterInputRef: RefObject<HTMLInputElement>;
6
+ filterable: boolean;
7
+ isInvalid: boolean;
8
+ onButtonKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLInputElement>) => void;
9
+ onInput: (e: JSX.TargetedEvent<HTMLInputElement>) => void;
10
+ placeholder: string;
11
+ readonly: boolean;
12
+ selectListId: string;
13
+ showList: boolean;
14
+ toggleButtonRef: RefObject<HTMLButtonElement>;
15
+ toggleList: (e: Event) => void;
16
+ isValid?: boolean;
17
+ ariaDescribedBy: string;
18
+ isMulti: boolean;
19
+ id?: string;
20
+ showSelectedItemsAsTags?: boolean;
21
+ isSearch?: boolean;
22
+ hideSearchIcon?: boolean;
23
+ loading?: boolean;
24
+ textFilter?: string;
25
+ }
26
+ export interface SelectButtonContentSingleProps {
27
+ active: SelectItem[];
28
+ filterInputRef: RefObject<HTMLInputElement>;
29
+ filterable: boolean;
30
+ onInput: (e: JSX.TargetedEvent<HTMLInputElement>) => void;
31
+ placeholder: string;
32
+ selectListId: string;
33
+ showList: boolean;
34
+ showSelectedItemsAsTags?: boolean;
35
+ isSearch?: boolean;
36
+ hideSearchIcon?: boolean;
37
+ loading?: boolean;
38
+ textFilter?: string;
39
+ }
40
+ export interface SelectButtonContentMultiProps {
41
+ active: SelectItem[];
42
+ placeholder: string;
43
+ }
44
+ export interface SelectedItemsAsTagsProps {
45
+ active: SelectItem[];
46
+ isMulti?: boolean;
47
+ }
@@ -1,3 +1,3 @@
1
- import './SelectGeneric.scss';
2
- import type { SelectListProps } from './types';
1
+ import '../Select/SelectGeneric.scss';
2
+ import type { SelectListProps } from './SelectList.types';
3
3
  export declare function SelectList({ selectListId, active, items, showList, textFilter, isMulti, showAbove, isSearch, loading, getSearchItem, onKeyDown, onSelect, }: SelectListProps): import("preact").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import type { ComponentChild, JSX, RefObject } from 'preact';
2
+ import type { SelectItem, AddressSpecificSelectItem } from '../Select/Select.types';
3
+ export interface SelectListProps {
4
+ active: SelectItem[];
5
+ items: ReadonlyArray<SelectItem>;
6
+ onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>, item: SelectItem) => void;
7
+ onSelect: (item: SelectItem) => void;
8
+ selectListId: string;
9
+ selectListRef: RefObject<HTMLUListElement>;
10
+ showList: boolean;
11
+ textFilter: string;
12
+ isMulti: boolean;
13
+ showAbove?: boolean;
14
+ isSearch?: boolean;
15
+ loading?: boolean;
16
+ getSearchItem?: (item: AddressSpecificSelectItem) => ComponentChild;
17
+ }
@@ -1,3 +1,3 @@
1
- import './SelectGeneric.scss';
2
- import type { SelectItemProps } from './types';
1
+ import '../Select/SelectGeneric.scss';
2
+ import type { SelectItemProps } from './SelectListItem.types';
3
3
  export declare const SelectListItem: ({ item, selected, isMulti, isSearch, children, onSelect, onKeyDown, className, }: SelectItemProps) => import("preact").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import type { ComponentChild, JSX } from 'preact';
2
+ import type { SelectItem } from '../Select/Select.types';
3
+ export interface SelectItemProps {
4
+ item: SelectItem;
5
+ selected: boolean;
6
+ onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>) => void;
7
+ onSelect: (selected: boolean) => void;
8
+ isMulti: boolean;
9
+ isSearch?: boolean;
10
+ children?: ComponentChild;
11
+ className?: string;
12
+ }
@@ -1,3 +1,3 @@
1
1
  import './Status.scss';
2
- import type { StatusProps } from './types';
2
+ import type { StatusProps } from './Status.types';
3
3
  export declare const Status: ({ text, className, iconStatusClass, icon, size, showText, }: StatusProps) => import("preact").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentChild } from 'preact';
2
- import type { TranslationKey } from '../../../language/types';
2
+ import type { TranslationKey } from '../../../../language/types';
3
3
  export interface StructuredListItem {
4
4
  labelKey: TranslationKey;
5
5
  value: string | ComponentChild;
@@ -1,3 +1,3 @@
1
1
  import './_typography.scss';
2
- import type { TypographyProps } from './types';
2
+ import type { TypographyProps } from './Typography.types';
3
3
  export declare const Typography: ({ el, variant, color, className, children, ...props }: TypographyProps) => import("preact").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentChild } from 'preact';
2
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
2
+ import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
3
3
  export interface AlertProps {
4
4
  title?: string | ComponentChild;
5
5
  variant?: AlertVariant;
@@ -1,8 +1,8 @@
1
- import type { OnboardingStatus } from '../../../core/models/api/view-verification-status';
2
- import type { Translatable, TranslationKey } from '../../../language/types';
3
- import type { IconName } from '../../internal/Icon/Icon';
4
- import { type TagVariant } from '../../internal/Tag/Tag';
5
- import type { TaskStatus } from '../../TaskList/types';
1
+ import type { OnboardingStatus } from '../../../../core/models/api/view-verification-status';
2
+ import type { Translatable, TranslationKey } from '../../../../language/types';
3
+ import type { IconName } from '../../atoms/Icon/Icon';
4
+ import { type TagVariant } from '../../atoms/Tag/Tag';
5
+ import type { TaskStatus } from '../../../../components/TaskList/types';
6
6
  export interface EmbeddedStatusProps {
7
7
  title?: string;
8
8
  subtitle?: string;
@@ -1,7 +1,7 @@
1
- import { OnboardingStatus } from '../../../core/models/api/view-verification-status';
2
- import type { Translatable } from '../../../language/types';
3
- import type { TagVariant } from '../../internal/Tag/Tag';
4
- import { TaskStatus } from '../../TaskList/types';
1
+ import { OnboardingStatus } from '../../../../core/models/api/view-verification-status';
2
+ import type { Translatable } from '../../../../language/types';
3
+ import type { TagVariant } from '../../atoms/Tag/Tag';
4
+ import { TaskStatus } from '../../../../components/TaskList/types';
5
5
  /**
6
6
  * Maps a Status to Tag-compatible props
7
7
  * Similar to TaskItemStatus (without the css class overrides),
@@ -1,5 +1,5 @@
1
1
  import './Splashscreen.scss';
2
- import type { IconName } from '../../internal/Icon/Icon';
2
+ import type { IconName } from '../../atoms/Icon/Icon';
3
3
  export interface SplashscreenProps {
4
4
  title: string;
5
5
  subtitle?: string;
@@ -1,3 +1,3 @@
1
1
  import './_toast.scss';
2
- import type { ToastProps } from './types';
2
+ import type { ToastProps } from './Toast.types';
3
3
  export declare const Toast: ({ label, subLabel, actionLabel, type, duration, onToastHide, onToastAction, }: ToastProps) => import("preact").JSX.Element;
@@ -7,6 +7,7 @@ import type { GetConfigurationRequest, GetConfigurationResponse } from '../../mo
7
7
  import type { VerifyIdNumberRequest, VerifyIdNumberResponse } from '../../models/api/verify-id-number';
8
8
  import type { CountryCode } from '../../models/country-code';
9
9
  import type { AccountValidationResponse, ValidationResponse } from '../../models/errors/validation-error';
10
+ import type { BusinessLinesType } from '../../models/api/source-of-funds';
10
11
  export type ConfigurationApi = {
11
12
  getConfiguration: (request: GetConfigurationRequest) => Promise<GetConfigurationResponse>;
12
13
  getAllowedCountries: () => Promise<GetAllowedCountriesResponse>;
@@ -18,5 +19,6 @@ export type ConfigurationApi = {
18
19
  getImageUrl: () => string;
19
20
  getLegalForms: (countryCode?: CountryCode) => Promise<DataSet>;
20
21
  getNaceCodes: () => Promise<DataSet>;
22
+ getBusinessLines: (legalEntityId: string) => Promise<BusinessLinesType[]>;
21
23
  };
22
24
  export declare const ConfigurationApiContext: import("preact").Context<ConfigurationApi>;
@@ -1,5 +1,5 @@
1
- import type { AccountHolderOption } from '../../components/internal/AccountHolder/types';
2
- import type { BankAccountFormatType } from '../../components/internal/BankAccountFormat/types';
1
+ import type { AccountHolderOption } from '../types/AccountHolder.types';
2
+ import type { BankAccountFormatType } from '../../components/BankAccountFormat/types';
3
3
  import type { CountryCode } from '../models/country-code';
4
4
  export interface CoreContextType {
5
5
  setContextCountry: (country: CountryCode) => void;
@@ -5,4 +5,4 @@ import type { ExperimentsProps } from './types';
5
5
  * @param children - components rendered
6
6
  * @param experiments - dictionary of type Experiments
7
7
  */
8
- export declare function ExperimentsContextProvider({ children, experiments: initialExperiments, }: ExperimentsProps): import("preact").JSX.Element;
8
+ export declare function ExperimentsContextProvider({ children, experiments: initialExperiments, refreshExperiments, }: ExperimentsProps): import("preact").JSX.Element;
@@ -29,7 +29,8 @@ export declare enum ExperimentNames {
29
29
  EnablePhoneFieldScenario = "EnablePhoneFieldScenario",
30
30
  EnableAUIncorporatedPartnershipSkipRegistrationNumber = "EnableAUIncorporatedPartnershipSkipRegistrationNumber",
31
31
  EnableCompanyTrusteeSkipABN = "EnableCompanyTrusteeSkipABN",
32
- ShowCustomerSupportV4 = "ShowCustomerSupportV4"
32
+ ShowCustomerSupportV4 = "ShowCustomerSupportV4",
33
+ CredentialBankingWeightage_EmphasizeCredentialBankingFlow = "CredentialBankingWeightage_EmphasizeCredentialBankingFlow"
33
34
  }
34
35
  export type ExperimentName = `${ExperimentNames}`;
35
36
  export type Experiments = {
@@ -38,8 +39,10 @@ export type Experiments = {
38
39
  export interface ExperimentsProps {
39
40
  children?: ComponentChildren;
40
41
  experiments: Experiments;
42
+ refreshExperiments?: () => void;
41
43
  }
42
44
  export interface ExperimentsContextValue {
43
45
  isExperimentEnabled(key: ExperimentName): boolean;
44
46
  enableVersionExperiment(key: ExperimentName): void;
47
+ refreshExperiments?: () => void;
45
48
  }
@@ -8,6 +8,7 @@ import type { PayoutDetailsSchema } from '../../../components/PayoutDetails/type
8
8
  import type { SolePropSchema } from '../../../components/SoleProp/types';
9
9
  import type { TrustSchema } from '../../../components/Trust/types';
10
10
  import type { ValidationRuleResult } from '../../../utils/validation/types';
11
+ import type { SourceOfFundsSchema } from '../../../components/Dropins/SourceOfFundsDropin/types';
11
12
  export interface SFValue {
12
13
  caller?: string;
13
14
  data?: object;
@@ -49,7 +50,7 @@ export type StateModel<TLDS extends TopLevelDataSchema = TopLevelDataSchema> = {
49
50
  prevState?: State<TLDS>;
50
51
  };
51
52
  };
52
- export type TopLevelDataSchema = IndividualSchema | BusinessDetailsSchema | CompanySchema | CustomerSupportSchema | PayoutDetailsSchema | TrustSchema | TrustMemberSchema | SolePropSchema | HighExposureSchema;
53
+ export type TopLevelDataSchema = IndividualSchema | BusinessDetailsSchema | CompanySchema | CustomerSupportSchema | PayoutDetailsSchema | TrustSchema | TrustMemberSchema | SolePropSchema | HighExposureSchema | SourceOfFundsSchema;
53
54
  export type AnyFormIdOfTLDS = keyof IndividualSchema | keyof BusinessDetailsSchema | keyof CompanySchema | keyof PayoutDetailsSchema | keyof TrustSchema | keyof TrustMemberSchema | keyof SolePropSchema;
54
55
  export interface State<TLDS extends TopLevelDataSchema> {
55
56
  data: TLDS;
@@ -1,4 +1,4 @@
1
- import type { ToastOptions } from '../../../components/internal/Toast/types';
1
+ import type { ToastOptions } from '../../../components/ui/molecules/Toast/Toast.types';
2
2
  export interface ToastContextValue {
3
3
  showToast: (options: ToastOptions) => void;
4
4
  clearToasts: () => void;
@@ -1,6 +1,6 @@
1
1
  import type { SingpassLinkResponse } from '../../../components/Dropins/types';
2
- import type { AccountHolderOption } from '../../../components/internal/AccountHolder/types';
3
- import type { UniqueEntityAssociation } from '../../../components/internal/EntityAssociation/types';
2
+ import type { AccountHolderOption } from '../../types/AccountHolder.types';
3
+ import type { UniqueEntityAssociation } from '../../../components/EntityAssociation/types';
4
4
  import type { Translatable } from '../../../language/types';
5
5
  import type { ExistingLegalEntity } from '../../models/api/legal-entity';
6
6
  export declare enum SingpassMyInfoLoginActionType {
@@ -1,4 +1,4 @@
1
- import type { AccountHolderOption } from '../../components/internal/AccountHolder/types';
1
+ import type { AccountHolderOption } from '../types/AccountHolder.types';
2
2
  interface UseAccountHolder {
3
3
  accountHolder: AccountHolderOption | undefined;
4
4
  setAccountHolder: (accountHolder: AccountHolderOption | undefined) => void;
@@ -1,6 +1,6 @@
1
1
  import type { BankVerificationVendor } from '../../components/BankVerification/types';
2
2
  import type { DropinAPIHandlers } from '../../components/Dropins/types';
3
- import type { LoadingStatus } from '../../components/internal/LoaderWrapper/constants';
3
+ import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
4
4
  import type { ConfigurationApi } from '../context/ConfigurationApiContext/ConfigurationApiContext';
5
5
  import type { CapabilityName } from '../models/api/capability';
6
6
  import type { GetConfigurationResponse } from '../models/api/get-configuration';
@@ -1,4 +1,4 @@
1
- import type { AccountHolderOption } from '../../components/internal/AccountHolder/types';
1
+ import type { AccountHolderOption } from '../types/AccountHolder.types';
2
2
  import { CompanyTypesValue } from '../models/api/company-types-value';
3
3
  import type { ExistingLegalEntity } from '../models/api/legal-entity';
4
4
  import { LegalEntityType } from '../models/api/legal-entity-type';
@@ -1,6 +1,6 @@
1
1
  import type { DropinAPIHandlers } from '../../components/Dropins/types';
2
2
  import type { UserDetails } from '../../components/IdVerification/types';
3
- import type { LoadingStatus } from '../../components/internal/LoaderWrapper/constants';
3
+ import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
4
4
  export declare const useIdVerificationToken: ({ userDetails, legalEntityId, handleGetIdVerificationToken, onIdVerificationError, }: {
5
5
  userDetails: UserDetails;
6
6
  legalEntityId?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { BankAccountFormatType } from '../../components/internal/BankAccountFormat/types';
3
- import type { LoadingStatus } from '../../components/internal/LoaderWrapper/constants';
2
+ import type { BankAccountFormatType } from '../../components/BankAccountFormat/types';
3
+ import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
4
4
  import type { AccountFormatRequirements, PayoutAccountFormats } from '../../datasets/accountFormats/getAccountFormatForCountry';
5
5
  import type { GetConfigurationResponse } from '../models/api/get-configuration';
6
6
  import type { CountryCode } from '../models/country-code';
@@ -1,2 +1,2 @@
1
- import type { LoadingStatus } from '../../components/internal/LoaderWrapper/constants';
1
+ import type { LoadingStatus } from '../../components/ui/atoms/LoaderWrapper/constants';
2
2
  export declare const useUnifyLoadingStatus: (setParentLoadingStatus: (status: LoadingStatus) => void, ...childLoadingStatuses: Array<LoadingStatus>) => void;
@@ -13,7 +13,7 @@ export interface Organization {
13
13
  countryOfGoverningLaw?: CountryCode;
14
14
  description?: string;
15
15
  doingBusinessAs?: string;
16
- doingBusinessAsAbsent?: string;
16
+ doingBusinessAsAbsent?: boolean;
17
17
  email?: string;
18
18
  headOfficeIndicator?: boolean;
19
19
  legalFormDescription?: string;
@@ -0,0 +1,41 @@
1
+ import type { Currency } from '../currency';
2
+ export interface BusinessLinesType {
3
+ id: string;
4
+ industryCode: string;
5
+ legalEntityId: string;
6
+ service: BusinessLinesServiceType;
7
+ sourceOfFunds?: SourceOfFundsType;
8
+ webData?: BusinessLinesWebDataType[];
9
+ }
10
+ export interface SourceOfFundsType {
11
+ type?: SourceOfFundsCategoryType;
12
+ adyenProcessedFunds?: boolean;
13
+ description?: string;
14
+ annualTurnover?: string;
15
+ dateOfFundsReceived?: string;
16
+ purpose?: string;
17
+ relationship?: string;
18
+ originatorSourceOfFundsType?: SourceOfFundsCategoryType;
19
+ originatorLegalEntityId?: string;
20
+ amount?: SourceOfFundsAmount;
21
+ cryptocurrencyExchange?: string;
22
+ dateOfSourceEvent?: string;
23
+ website?: string;
24
+ financiers?: SourceOfFundsFinancierType[];
25
+ }
26
+ export interface SourceOfFundsAmount {
27
+ currency: Currency;
28
+ value: number;
29
+ }
30
+ export interface SourceOfFundsFinancierType {
31
+ firstName: string;
32
+ lastName: string;
33
+ amount: SourceOfFundsAmount;
34
+ location: string;
35
+ }
36
+ export interface BusinessLinesWebDataType {
37
+ webAddress: string;
38
+ webAddressId: string;
39
+ }
40
+ export type BusinessLinesServiceType = 'banking' | 'issuing' | 'payment';
41
+ export type SourceOfFundsCategoryType = 'business' | 'employment' | 'donations' | 'inheritance' | 'financialAid' | 'rentalIncome' | 'dividendIncome' | 'royaltyIncome' | 'thirdPartyFunding' | 'pensionIncome' | 'insuranceSettlement' | 'cryptocurrencyIncome' | 'assetSale' | 'loans' | 'gamblingWinnings';
@@ -1,4 +1,4 @@
1
- import type { AccountHolderOption } from '../../components/internal/AccountHolder/types';
1
+ import type { AccountHolderOption } from '../types/AccountHolder.types';
2
2
  import type { TaskTypes } from '../../components/TaskList/types';
3
3
  import type { AccountFormatRequirements } from '../../datasets/accountFormats/getAccountFormatForCountry';
4
4
  import type { ExperimentName } from '../context/ExperimentContext/types';
@@ -1,4 +1,4 @@
1
- import type { BankAccountFormatType } from '../../components/internal/BankAccountFormat/types';
1
+ import type { BankAccountFormatType } from '../../components/BankAccountFormat/types';
2
2
  import type { PayoutAccountSchema } from '../../components/PayoutAccount/types';
3
3
  import type { CountryCode } from './country-code';
4
4
  import type { CountryConfig } from './country-config';
@@ -0,0 +1,2 @@
1
+ import type { BusinessLinesType } from '../../models/api/source-of-funds';
2
+ export declare const getBusinessLines: (loadingContext: string, legalEntityId: string) => Promise<BusinessLinesType[]>;
@@ -1,4 +1,4 @@
1
- import type { LegalArrangementOption } from '../../../components/internal/AccountHolder/types';
1
+ import type { LegalArrangementOption } from '../../../core/types/AccountHolder.types';
2
2
  import type { CountryCode } from '../../../core/models/country-code';
3
3
  export type LegalArrangementTypeExamples = Partial<Record<LegalArrangementOption, string[]>>;
4
4
  export declare const getLegalArrangementTypeExamplesForCountry: (country: CountryCode) => Promise<LegalArrangementTypeExamples>;
@@ -6,7 +6,7 @@ import type { TransferInstrumentOverview } from '../../core/models/api/transfer-
6
6
  import type { TaskStatusWithReason } from './taskStatus';
7
7
  import { TaskTypes } from './taskTypes';
8
8
  import type { TaskIdentifier } from './taskStore';
9
- import type { AccountHolderOption } from '../../components/internal/AccountHolder/types';
9
+ import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
10
10
  export declare const calculateTaskStatus: ({ taskIdentifier, capabilityProblems, rootLegalEntity, accountHolder, legalRepresentative, trustMembers, transferInstruments, }: {
11
11
  taskIdentifier: TaskIdentifier;
12
12
  capabilityProblems: CapabilityProblems;
@@ -5,7 +5,7 @@ import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
5
5
  import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
6
6
  import type { TrustMember } from '../../components/TrustMembers/types';
7
7
  import type { TransferInstrumentOverview } from '../../core/models/api/transfer-instrument';
8
- import type { AccountHolderOption } from '../../components/internal/AccountHolder/types';
8
+ import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
9
9
  export declare const determineTaskIdentifiers: ({ taskTypes: receivedTaskTypes, rootLegalEntity, accountHolder, capabilityProblems, trustMembers, transferInstruments, }: {
10
10
  taskTypes: TaskTypes[];
11
11
  rootLegalEntity: ExistingLegalEntity | undefined;
@@ -7,7 +7,7 @@ import type { CapabilityProblems } from '../../core/models/errors/capability-pro
7
7
  import type { LegalEntityAssociation } from '../../core/models/api/legal-entity-association';
8
8
  import type { TrustMember } from '../../components/TrustMembers/types';
9
9
  import type { TransferInstrumentOverview } from '../../core/models/api/transfer-instrument';
10
- import type { AccountHolderOption } from '../../components/internal/AccountHolder/types';
10
+ import type { AccountHolderOption } from '../../core/types/AccountHolder.types';
11
11
  export type TaskIdentifier = `${TaskTypes}` | `${TaskTypes}-${string}`;
12
12
  interface BaseTaskState {
13
13
  taskTypes: TaskTypes[];
@@ -1,4 +1,4 @@
1
- import type { AccountHolderOption } from '../components/internal/AccountHolder/types';
1
+ import type { AccountHolderOption } from '../core/types/AccountHolder.types';
2
2
  import type { CapabilityName } from '../core/models/api/capability';
3
3
  import type { ExistingLegalEntity } from '../core/models/api/legal-entity';
4
4
  import { LegalEntityType } from '../core/models/api/legal-entity-type';
@@ -6,8 +6,9 @@ import type { FormList, FormModel, FormModelWithValidity } from '../core/models/
6
6
  * @param forms
7
7
  * @param requiredFields
8
8
  * @param optionalFields
9
+ * @param skipSummary
9
10
  */
10
- export declare const getRequiredForms: (forms: FormList, requiredFields: Record<string, string[]> | undefined, optionalFields: Record<string, string[]> | undefined) => FormModel[];
11
+ export declare const getRequiredForms: (forms: FormList, requiredFields: Record<string, string[]> | undefined, optionalFields: Record<string, string[]> | undefined, skipSummary?: boolean) => FormModel[];
11
12
  /**
12
13
  * @description Based on validity of fields from formValidity and existence of validationErrors/Verification errors from backend determine whether the forms needs to be shown as valid or not
13
14
  *
@@ -1,4 +1,4 @@
1
- import type { AccountHolderOption } from '../components/internal/AccountHolder/types';
1
+ import type { AccountHolderOption } from '../core/types/AccountHolder.types';
2
2
  import type { PersonalDetailsSchema } from '../components/PersonalDetails/types';
3
3
  import { TaskTypes } from '../components/TaskList/types';
4
4
  import type { ExistingLegalEntity, LegalEntity } from '../core/models/api/legal-entity';