@adyen/kyc-components 3.41.8 → 3.42.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 (275) hide show
  1. package/dist/es/adyen-kyc-components.es.js +1421 -1117
  2. package/dist/es/{bg-BG-Dmj4EHVU.js → bg-BG-DlNb6qPG.js} +46 -42
  3. package/dist/es/{cs-CZ-Bm08xJB7.js → cs-CZ-Bx2-t2jA.js} +46 -42
  4. package/dist/es/{da-DK-DOXwaap9.js → da-DK-DZKs_7ov.js} +46 -42
  5. package/dist/es/{de-DE-W6wafRCo.js → de-DE-BWqkcynd.js} +46 -42
  6. package/dist/es/{el-GR-DJo1cdy7.js → el-GR-C0KVWWIs.js} +46 -42
  7. package/dist/es/en-US.instructions-DLPEHGI-.js +8 -0
  8. package/dist/es/{es-ES-CXYKB7Jl.js → es-ES-CJcNPC8D.js} +46 -42
  9. package/dist/es/{et-EE-BroyuIvL.js → et-EE-mSpIUjYI.js} +46 -42
  10. package/dist/es/{fi-FI-w-vWfACP.js → fi-FI-Cv3CtFxs.js} +46 -42
  11. package/dist/es/{fr-FR-BiIdKnCi.js → fr-FR-BtYKoCfy.js} +46 -42
  12. package/dist/es/{hr-HR-BFOj_OWt.js → hr-HR-Dc3ZkcUT.js} +46 -42
  13. package/dist/es/{hu-HU-Bfi5wY9v.js → hu-HU-B23BksI7.js} +46 -42
  14. package/dist/es/instant-verification-method-BQBv6dnq.js +19 -0
  15. package/dist/es/{it-IT-IkX0WmSq.js → it-IT-D2D8df6o.js} +46 -42
  16. package/dist/es/{lt-LT-DAAfclm8.js → lt-LT-94eUKnwE.js} +46 -42
  17. package/dist/es/{lv-LV-DJQWP25T.js → lv-LV-LsgAwAkf.js} +46 -42
  18. package/dist/es/{nl-NL-DPFdiVON.js → nl-NL-aj7D61S3.js} +46 -42
  19. package/dist/es/{no-NO-Ca-GT9V6.js → no-NO-FqTZe4aj.js} +46 -42
  20. package/dist/es/{pl-PL-CSMLIq-J.js → pl-PL-CeDF1kZg.js} +46 -42
  21. package/dist/es/{pt-PT-ArhNDr-o.js → pt-PT-DXDG2_Kw.js} +46 -42
  22. package/dist/es/{ro-RO-BctRK7-Y.js → ro-RO-CqZ3C4QL.js} +46 -42
  23. package/dist/es/{sk-SK-ct4i-dxv.js → sk-SK-DFfGxfE8.js} +46 -42
  24. package/dist/es/{sl-SI-BsmOhrNg.js → sl-SI-D-w7-teP.js} +46 -42
  25. package/dist/es/{sv-SE-Bs3S3eJ0.js → sv-SE-Cx4vp_qe.js} +46 -42
  26. package/dist/style.css +177 -193
  27. package/dist/types/components/AccountSetupRejected/AccountSetupRejected.d.ts +1 -2
  28. package/dist/types/components/BankDocument/BankDocument.d.ts +1 -1
  29. package/dist/types/components/BankVerification/BankVerification.d.ts +1 -3
  30. package/dist/types/components/BankVerification/types.d.ts +1 -2
  31. package/dist/types/components/BankVerification/verification/widget/BankVerificationWidget.d.ts +1 -1
  32. package/dist/types/components/BankVerification/verification/widget/iframeWidget.d.ts +1 -1
  33. package/dist/types/components/BankVerification/verification/widget/types.d.ts +2 -2
  34. package/dist/types/components/BasicInformation/types.d.ts +2 -1
  35. package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
  36. package/dist/types/components/BusinessTypeSelection/utils.d.ts +1 -1
  37. package/dist/types/components/Company/rules.d.ts +1 -0
  38. package/dist/types/components/CompanyNameAndCountry/CompanyNameAndCountry.d.ts +1 -1
  39. package/dist/types/components/ConstitutionalDocument/ConstitutionalDocument.d.ts +1 -1
  40. package/dist/types/components/DebugWrapper/debugInfo.d.ts +2 -2
  41. package/dist/types/components/Dropins/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  42. package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +3 -1
  43. package/dist/types/components/Dropins/BusinessDetailsDropin/utils.d.ts +6 -3
  44. package/dist/types/components/Dropins/CompanyDropin/CompanyDropin.d.ts +1 -1
  45. package/dist/types/components/Dropins/DropinComposer/DropinComposer.d.ts +1 -1
  46. package/dist/types/components/Dropins/DropinLayout/ActionBar/ActionBar.d.ts +1 -2
  47. package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +2 -2
  48. package/dist/types/components/Dropins/HighExposureDropin/AdditionalFieldsForHighExposureCompany.d.ts +1 -2
  49. package/dist/types/components/Dropins/HighExposureDropin/AdditionalFieldsForHighExposureParentCompany.d.ts +1 -2
  50. package/dist/types/components/Dropins/HighExposureDropin/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts +1 -2
  51. package/dist/types/components/Dropins/HighExposureDropin/HighExposureBasicCompanyInformation.d.ts +1 -2
  52. package/dist/types/components/Dropins/HighExposureDropin/HighExposureBusinessInformation.d.ts +1 -2
  53. package/dist/types/components/Dropins/HighExposureDropin/HighExposureDropin.d.ts +1 -2
  54. package/dist/types/components/Dropins/HighExposureDropin/HighExposureFinancialInformation.d.ts +1 -2
  55. package/dist/types/components/Dropins/HighExposureDropin/HighExposureLegalInformation.d.ts +1 -2
  56. package/dist/types/components/Dropins/HighExposureDropin/HighExposureOwnershipStructure.d.ts +1 -2
  57. package/dist/types/components/Dropins/HighExposureDropin/HighExposureRegisteredAddress.d.ts +1 -2
  58. package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +29 -8
  59. package/dist/types/components/Dropins/HighExposureDropin/utils.d.ts +0 -2
  60. package/dist/types/components/Dropins/IndividualDropin/IndividualDropin.d.ts +1 -1
  61. package/dist/types/components/Dropins/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  62. package/dist/types/components/Dropins/PciDropin/PciDropin.d.ts +1 -1
  63. package/dist/types/components/Dropins/RoleAndTypeDropin/RoleAndTypeDropin.d.ts +1 -1
  64. package/dist/types/components/Dropins/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
  65. package/dist/types/components/Dropins/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  66. package/dist/types/components/Dropins/SolePropDropin/SolePropDropin.d.ts +1 -1
  67. package/dist/types/components/Dropins/TrustDropin/TrustDropin.d.ts +1 -1
  68. package/dist/types/components/Dropins/types.d.ts +5 -4
  69. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/UpdateLegalEntityForHighExposure.d.ts +1 -1
  70. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +8 -0
  71. package/dist/types/components/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  72. package/dist/types/components/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +1 -2
  73. package/dist/types/components/Individual/validators.d.ts +1 -1
  74. package/dist/types/components/PayoutDetails/utils.d.ts +1 -0
  75. package/dist/types/components/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +2 -1
  76. package/dist/types/components/PayoutVerificationMethod/types.d.ts +1 -2
  77. package/dist/types/components/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +1 -1
  78. package/dist/types/components/ProofOfRelationship/index.d.ts +2 -2
  79. package/dist/types/components/TaskList/TaskItemStatus.d.ts +1 -2
  80. package/dist/types/components/TaskList/TaskListGroup.d.ts +1 -2
  81. package/dist/types/components/TaskList/TaskListItem.d.ts +1 -2
  82. package/dist/types/components/UIElement/UIElement.d.ts +8 -8
  83. package/dist/types/components/index.d.ts +20 -20
  84. package/dist/types/components/internal/Address/SearchAddress.d.ts +1 -2
  85. package/dist/types/components/internal/Address/utils.d.ts +1 -1
  86. package/dist/types/components/internal/Address/validate.d.ts +1 -1
  87. package/dist/types/components/internal/BusinessRegistrationNumber/BusinessRegistrationNumber.d.ts +1 -1
  88. package/dist/types/components/internal/BusinessRegistrationNumber/fieldConfig.d.ts +1 -1
  89. package/dist/types/components/internal/ContextGuidance/ContextGuidance.d.ts +1 -1
  90. package/dist/types/components/internal/ContractViewer/ContractViewer.d.ts +1 -1
  91. package/dist/types/components/internal/CountryOfGoverningLawField/validate.d.ts +3 -0
  92. package/dist/types/components/internal/DocumentGuidance/DocumentGuidance.d.ts +1 -2
  93. package/dist/types/components/internal/EntityAssociation/EntityAssociation.d.ts +1 -2
  94. package/dist/types/components/internal/EntityGuidanceStatus/EntityGuidanceStatus.d.ts +1 -2
  95. package/dist/types/components/internal/EntityGuidanceStatus/EntityStatusIcon.d.ts +1 -2
  96. package/dist/types/components/internal/ErrorPanel/NavigateToFieldLink.d.ts +2 -2
  97. package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +1 -1
  98. package/dist/types/components/internal/FormFields/Dropzone/Dropzone.d.ts +1 -1
  99. package/dist/types/components/internal/FormFields/Dropzone/DropzoneFile.d.ts +1 -1
  100. package/dist/types/components/internal/FormFields/Field/Field.d.ts +1 -2
  101. package/dist/types/components/internal/FormFields/InputBase.d.ts +1 -2
  102. package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +1 -1
  103. package/dist/types/components/internal/FormFields/InputNumber.d.ts +1 -1
  104. package/dist/types/components/internal/FormFields/Select/Select.d.ts +1 -2
  105. package/dist/types/components/internal/FormFields/Select/SelectButton.d.ts +1 -2
  106. package/dist/types/components/internal/FormFields/Select/SelectList.d.ts +1 -2
  107. package/dist/types/components/internal/FormFields/Select/SelectListItem.d.ts +1 -2
  108. package/dist/types/components/internal/FormFields/Select/types.d.ts +1 -1
  109. package/dist/types/components/internal/FormFields/TextArea.d.ts +1 -1
  110. package/dist/types/components/internal/IdFieldTypeSelector/countryIdNumberTypes.d.ts +4 -0
  111. package/dist/types/components/internal/LegalCompanyNameField/LegalCompanyNameField.d.ts +2 -1
  112. package/dist/types/components/internal/Link/Link.d.ts +1 -1
  113. package/dist/types/components/internal/Link/types.d.ts +1 -1
  114. package/dist/types/components/internal/List/List.d.ts +1 -2
  115. package/dist/types/components/internal/List/ListItem.d.ts +1 -2
  116. package/dist/types/components/internal/LoaderWrapper/LoaderWrapper.d.ts +2 -2
  117. package/dist/types/components/internal/Status/Status.d.ts +1 -2
  118. package/dist/types/components/internal/Summary/Summary.d.ts +2 -2
  119. package/dist/types/components/internal/Summary/types.d.ts +6 -2
  120. package/dist/types/{components → core}/BaseElement.d.ts +2 -2
  121. package/dist/types/{components → core}/EventEmitter.d.ts +2 -2
  122. package/dist/types/core/{Context → context}/ExpiryContext/ExpiryContext.d.ts +1 -1
  123. package/dist/types/core/{Context → context}/I18nProvider/I18nContext.d.ts +1 -1
  124. package/dist/types/core/{Context → context}/I18nProvider/I18nProvider.d.ts +1 -1
  125. package/dist/types/core/core.d.ts +1 -1
  126. package/dist/types/core/hooks/useAsyncValidator.d.ts +1 -1
  127. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
  128. package/dist/types/core/hooks/useForm/types.d.ts +1 -1
  129. package/dist/types/core/hooks/useStaticValidator/useStaticValidator.d.ts +1 -1
  130. package/dist/types/core/models/api/attachment.d.ts +1 -1
  131. package/dist/types/core/models/api/legal-arrangement.d.ts +0 -2
  132. package/dist/types/core/models/api/version-configuration.d.ts +1 -1
  133. package/dist/types/core/models/form-rules.d.ts +3 -3
  134. package/dist/types/core/{Services → services}/componentApi/get-bankVerification-vendor.d.ts +1 -1
  135. package/dist/types/core/{Services → services}/types.d.ts +1 -1
  136. package/dist/types/core/types.d.ts +1 -1
  137. package/dist/types/core/utils.d.ts +1 -1
  138. package/dist/types/language/Language.d.ts +1 -2
  139. package/dist/types/stores/taskStore/calculateTaskStatus.d.ts +3 -0
  140. package/dist/types/stores/taskStore/get-task-status.d.ts +2 -1
  141. package/dist/types/utils/api/documentUtils.d.ts +1 -2
  142. package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
  143. package/dist/types/utils/api/processValidationErrors.d.ts +1 -2
  144. package/dist/types/utils/bytesToSize.d.ts +1 -1
  145. package/dist/types/utils/entityStatusUtil.d.ts +18 -0
  146. package/dist/types/utils/formUtils.d.ts +2 -3
  147. package/dist/types/utils/getFieldsWithExistingData.d.ts +1 -1
  148. package/dist/types/utils/{get-name.d.ts → getName.d.ts} +1 -1
  149. package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
  150. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -0
  151. package/dist/types/utils/{payout-account-util.d.ts → payoutAccountUtil.d.ts} +3 -1
  152. package/dist/types/utils/removeObjectEmptyValues.d.ts +1 -0
  153. package/dist/types/utils/trackNavigation.d.ts +1 -1
  154. package/dist/types/utils/useStateFromProp.d.ts +2 -2
  155. package/dist/types/utils/verification/helpers/{verify-id-number-helper.d.ts → verifyIdNumber.d.ts} +1 -1
  156. package/package.json +14 -15
  157. package/dist/es/en-US.instructions-C3VuzmQk.js +0 -6
  158. package/dist/es/instant-verification-method-CftkXJFn.js +0 -50
  159. package/dist/types/components/internal/Shimmer/Shimmer.d.ts +0 -2
  160. package/dist/types/utils/entity-status-util.d.ts +0 -18
  161. package/dist/types/utils/remove-object-empty-values.d.ts +0 -1
  162. /package/dist/types/components/{AutoResizer.d.ts → AutoResizer/AutoResizer.d.ts} +0 -0
  163. /package/dist/types/components/{PatriotActDisclosure.d.ts → PatriotActDisclosure/PatriotActDisclosure.d.ts} +0 -0
  164. /package/dist/types/core/{Context → context}/AuthContext/AuthContext.d.ts +0 -0
  165. /package/dist/types/core/{Context → context}/AuthContext/AuthProvider.d.ts +0 -0
  166. /package/dist/types/core/{Context → context}/AuthContext/useAuthContext.d.ts +0 -0
  167. /package/dist/types/core/{Context → context}/ConfigurationApiContext/ConfigurationApiContext.d.ts +0 -0
  168. /package/dist/types/core/{Context → context}/ConfigurationApiContext/ConfigurationApiProvider.d.ts +0 -0
  169. /package/dist/types/core/{Context → context}/ConfigurationApiContext/getEmbeddedApi.d.ts +0 -0
  170. /package/dist/types/core/{Context → context}/ConfigurationApiContext/getKycExternalApi.d.ts +0 -0
  171. /package/dist/types/core/{Context → context}/ConfigurationApiContext/useConfigurationApi.d.ts +0 -0
  172. /package/dist/types/core/{Context → context}/CoreContext.d.ts +0 -0
  173. /package/dist/types/core/{Context → context}/CoreProvider.d.ts +0 -0
  174. /package/dist/types/core/{Context → context}/ExperimentContext/ExperimentsContext.d.ts +0 -0
  175. /package/dist/types/core/{Context → context}/ExperimentContext/ExperimentsContextProvider.d.ts +0 -0
  176. /package/dist/types/core/{Context → context}/ExperimentContext/types.d.ts +0 -0
  177. /package/dist/types/core/{Context → context}/ExperimentContext/useExperimentsContext.d.ts +0 -0
  178. /package/dist/types/core/{Context → context}/ExpiryContext/ExpiredBanner.d.ts +0 -0
  179. /package/dist/types/core/{Context → context}/ExpiryContext/ExpiryModal.d.ts +0 -0
  180. /package/dist/types/core/{Context → context}/ExpiryContext/useExpiryThreshold.d.ts +0 -0
  181. /package/dist/types/core/{Context → context}/FormRouterContext/FormRouterContext.d.ts +0 -0
  182. /package/dist/types/core/{Context → context}/FormRouterContext/FormRouterContextProvider.d.ts +0 -0
  183. /package/dist/types/core/{Context → context}/FormRouterContext/types.d.ts +0 -0
  184. /package/dist/types/core/{Context → context}/FormRouterContext/useFormRouterContext.d.ts +0 -0
  185. /package/dist/types/core/{Context → context}/SettingsContext/SettingsContext.d.ts +0 -0
  186. /package/dist/types/core/{Context → context}/SettingsContext/SettingsProvider.d.ts +0 -0
  187. /package/dist/types/core/{Context → context}/SettingsContext/types.d.ts +0 -0
  188. /package/dist/types/core/{Context → context}/SettingsContext/useSetting.d.ts +0 -0
  189. /package/dist/types/core/{Context → context}/SettingsContext/useSettingsContext.d.ts +0 -0
  190. /package/dist/types/core/{Context → context}/StateContext/StateContext.d.ts +0 -0
  191. /package/dist/types/core/{Context → context}/StateContext/StateContextSetter.d.ts +0 -0
  192. /package/dist/types/core/{Context → context}/StateContext/StateContextWatcher.d.ts +0 -0
  193. /package/dist/types/core/{Context → context}/StateContext/StateProvider.d.ts +0 -0
  194. /package/dist/types/core/{Context → context}/StateContext/StateReducer.d.ts +0 -0
  195. /package/dist/types/core/{Context → context}/StateContext/hasDataChanged.d.ts +0 -0
  196. /package/dist/types/core/{Context → context}/StateContext/types.d.ts +0 -0
  197. /package/dist/types/core/{Context → context}/StateContext/useGlobalData.d.ts +0 -0
  198. /package/dist/types/core/{Context → context}/StateContext/useStateContext.d.ts +0 -0
  199. /package/dist/types/core/{Context → context}/ToastContext/ToastContext.d.ts +0 -0
  200. /package/dist/types/core/{Context → context}/ToastContext/ToastContextProvider.d.ts +0 -0
  201. /package/dist/types/core/{Context → context}/ToastContext/useToastContext.d.ts +0 -0
  202. /package/dist/types/core/{Context → context}/useCoreContext.d.ts +0 -0
  203. /package/dist/types/core/{Environment → environment}/normalizeEnvironment.d.ts +0 -0
  204. /package/dist/types/core/{SDKValidation → sdkValidation}/index.d.ts +0 -0
  205. /package/dist/types/core/{SDKValidation → sdkValidation}/schemas.d.ts +0 -0
  206. /package/dist/types/core/{SDKValidation → sdkValidation}/types.d.ts +0 -0
  207. /package/dist/types/core/{Services → services}/agnostic/get-dataset.d.ts +0 -0
  208. /package/dist/types/core/{Services → services}/componentApi/accept-service-agreement.d.ts +0 -0
  209. /package/dist/types/core/{Services → services}/componentApi/clear-company-data.d.ts +0 -0
  210. /package/dist/types/core/{Services → services}/componentApi/company-deep-search.d.ts +0 -0
  211. /package/dist/types/core/{Services → services}/componentApi/company-index-search.d.ts +0 -0
  212. /package/dist/types/core/{Services → services}/componentApi/confirm-data-review.d.ts +0 -0
  213. /package/dist/types/core/{Services → services}/componentApi/create-document.d.ts +0 -0
  214. /package/dist/types/core/{Services → services}/componentApi/create-legal-entity.d.ts +0 -0
  215. /package/dist/types/core/{Services → services}/componentApi/create-transferInstrument.d.ts +0 -0
  216. /package/dist/types/core/{Services → services}/componentApi/create-trusted-transferInstrument.d.ts +0 -0
  217. /package/dist/types/core/{Services → services}/componentApi/delete-transferInstrument.d.ts +0 -0
  218. /package/dist/types/core/{Services → services}/componentApi/download-pci.d.ts +0 -0
  219. /package/dist/types/core/{Services → services}/componentApi/generate-onboarding-link.d.ts +0 -0
  220. /package/dist/types/core/{Services → services}/componentApi/get-accepted-service-agreement.d.ts +0 -0
  221. /package/dist/types/core/{Services → services}/componentApi/get-address.d.ts +0 -0
  222. /package/dist/types/core/{Services → services}/componentApi/get-allowed-locales.d.ts +0 -0
  223. /package/dist/types/core/{Services → services}/componentApi/get-analytics-session.d.ts +0 -0
  224. /package/dist/types/core/{Services → services}/componentApi/get-company-dataset.d.ts +0 -0
  225. /package/dist/types/core/{Services → services}/componentApi/get-document.d.ts +0 -0
  226. /package/dist/types/core/{Services → services}/componentApi/get-idverification-token.d.ts +0 -0
  227. /package/dist/types/core/{Services → services}/componentApi/get-legal-entity.d.ts +0 -0
  228. /package/dist/types/core/{Services → services}/componentApi/get-legal-forms.d.ts +0 -0
  229. /package/dist/types/core/{Services → services}/componentApi/get-nace-codes.d.ts +0 -0
  230. /package/dist/types/core/{Services → services}/componentApi/get-onboarding-status.d.ts +0 -0
  231. /package/dist/types/core/{Services → services}/componentApi/get-pci-questionnaire.d.ts +0 -0
  232. /package/dist/types/core/{Services → services}/componentApi/get-pci-status.d.ts +0 -0
  233. /package/dist/types/core/{Services → services}/componentApi/get-pci-template.d.ts +0 -0
  234. /package/dist/types/core/{Services → services}/componentApi/get-provider-status.d.ts +0 -0
  235. /package/dist/types/core/{Services → services}/componentApi/get-scenarios.d.ts +0 -0
  236. /package/dist/types/core/{Services → services}/componentApi/get-service-agreement-acceptance-infos.d.ts +0 -0
  237. /package/dist/types/core/{Services → services}/componentApi/get-service-agreement-status.d.ts +0 -0
  238. /package/dist/types/core/{Services → services}/componentApi/get-service-agreement.d.ts +0 -0
  239. /package/dist/types/core/{Services → services}/componentApi/get-supported-countries.d.ts +0 -0
  240. /package/dist/types/core/{Services → services}/componentApi/get-tasks.d.ts +0 -0
  241. /package/dist/types/core/{Services → services}/componentApi/get-transfer-instrument.d.ts +0 -0
  242. /package/dist/types/core/{Services → services}/componentApi/get-transfer-instruments.d.ts +0 -0
  243. /package/dist/types/core/{Services → services}/componentApi/get-version-configuration.d.ts +0 -0
  244. /package/dist/types/core/{Services → services}/componentApi/handle-bank-verification-error.d.ts +0 -0
  245. /package/dist/types/core/{Services → services}/componentApi/idVerification-startcheck.d.ts +0 -0
  246. /package/dist/types/core/{Services → services}/componentApi/push-events.d.ts +0 -0
  247. /package/dist/types/core/{Services → services}/componentApi/refresh-company-dataset.d.ts +0 -0
  248. /package/dist/types/core/{Services → services}/componentApi/search-address.d.ts +0 -0
  249. /package/dist/types/core/{Services → services}/componentApi/sign-pci.d.ts +0 -0
  250. /package/dist/types/core/{Services → services}/componentApi/update-document.d.ts +0 -0
  251. /package/dist/types/core/{Services → services}/componentApi/update-legal-entity.d.ts +0 -0
  252. /package/dist/types/core/{Services → services}/componentApi/update-transferInstrument.d.ts +0 -0
  253. /package/dist/types/core/{Services → services}/componentApi/validate-account-identification.d.ts +0 -0
  254. /package/dist/types/core/{Services → services}/componentApi/validate-phone-number.d.ts +0 -0
  255. /package/dist/types/core/{Services → services}/componentApi/verify-id-number.d.ts +0 -0
  256. /package/dist/types/core/{Services → services}/componentApi/verify-tin.d.ts +0 -0
  257. /package/dist/types/core/{Services → services}/http.d.ts +0 -0
  258. /package/dist/types/core/{Services → services}/kycExternalApi/get-allowed-countries.d.ts +0 -0
  259. /package/dist/types/core/{Services → services}/kycExternalApi/get-allowed-locales.d.ts +0 -0
  260. /package/dist/types/core/{Services → services}/kycExternalApi/get-configuration.d.ts +0 -0
  261. /package/dist/types/core/{Services → services}/kycExternalApi/validate-account-identification.d.ts +0 -0
  262. /package/dist/types/core/{Services → services}/kycExternalApi/validate-phone-number.d.ts +0 -0
  263. /package/dist/types/core/{Services → services}/kycExternalApi/verify-id-number.d.ts +0 -0
  264. /package/dist/types/core/{Services → services}/session.d.ts +0 -0
  265. /package/dist/types/core/{Services → services}/utils.d.ts +0 -0
  266. /package/dist/types/utils/{AbstractEventEmitter.d.ts → abstractEventEmitter.d.ts} +0 -0
  267. /package/dist/types/utils/{birth-date-utils.d.ts → birthDateUtils.d.ts} +0 -0
  268. /package/dist/types/utils/{company-util.d.ts → companyUtil.d.ts} +0 -0
  269. /package/dist/types/utils/{decision-maker-roles.d.ts → decisionMakerRoles.d.ts} +0 -0
  270. /package/dist/types/utils/{dropin-utils.d.ts → dropinUtils.d.ts} +0 -0
  271. /package/dist/types/utils/{entity-association-util.d.ts → entityAssociationUtil.d.ts} +0 -0
  272. /package/dist/types/utils/{get-props.d.ts → getProps.d.ts} +0 -0
  273. /package/dist/types/utils/testing/{IgnoreLocalStorage.d.ts → ignoreLocalStorage.d.ts} +0 -0
  274. /package/dist/types/utils/{trust-util.d.ts → trustUtil.d.ts} +0 -0
  275. /package/dist/types/utils/validation/{ValidationResult.d.ts → validationResult.d.ts} +0 -0
@@ -6,11 +6,11 @@ import type { BaseTrackingPayload } from '../../../core/utils';
6
6
  import type { TranslationKey } from '../../../language/types';
7
7
  import type { LoadingStatus } from '../../internal/LoaderWrapper/constants';
8
8
  import type { DropinAPIHandlers } from '../types';
9
+ import type { Omitted } from '../../internal/Summary/types';
9
10
  export interface FormWrapperProps {
10
11
  summary?: {
11
12
  data?: any;
12
- omittedKeys?: string[];
13
- omittedForms?: string[];
13
+ omitted?: Omitted;
14
14
  labels?: any;
15
15
  };
16
16
  handleGetIdVerificationToken?: DropinAPIHandlers['handleGetIdVerificationToken'];
@@ -1,3 +1,2 @@
1
1
  import type { HighExposureCompanyDetailsProps } from './types';
2
- declare function AdditionalFieldsForHighExposureCompany(props: HighExposureCompanyDetailsProps): import("preact").JSX.Element;
3
- export default AdditionalFieldsForHighExposureCompany;
2
+ export declare function AdditionalFieldsForHighExposureCompany(props: HighExposureCompanyDetailsProps): import("preact").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import type { HighExposureParentCompanyDetailsProps } from './types';
2
- declare function AdditionalFieldsForHighExposureParentCompany(props: HighExposureParentCompanyDetailsProps): import("preact").JSX.Element;
3
- export default AdditionalFieldsForHighExposureParentCompany;
2
+ export declare function AdditionalFieldsForHighExposureParentCompany(props: HighExposureParentCompanyDetailsProps): import("preact").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import type { HighExposureUltimateParentCompanyDetailsProps } from './types';
2
- declare function AdditionalFieldsForHighExposureUltimateParentCompany(props: HighExposureUltimateParentCompanyDetailsProps): import("preact").JSX.Element;
3
- export default AdditionalFieldsForHighExposureUltimateParentCompany;
2
+ export declare function AdditionalFieldsForHighExposureUltimateParentCompany(props: HighExposureUltimateParentCompanyDetailsProps): import("preact").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import './styles.scss';
2
2
  import type { HighExposureBasicCompanyInformationProps } from './types';
3
- declare function HighExposureBasicCompanyInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, sectionHeading, }: HighExposureBasicCompanyInformationProps): import("preact").JSX.Element;
4
- export default HighExposureBasicCompanyInformation;
3
+ export declare function HighExposureBasicCompanyInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, sectionHeading, }: HighExposureBasicCompanyInformationProps): import("preact").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import './styles.scss';
2
2
  import type { HighExposureBusinessInformationProps } from './types';
3
- declare function HighExposureBusinessInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, country, targetPage, sectionHeading, }: HighExposureBusinessInformationProps): import("preact").JSX.Element;
4
- export default HighExposureBusinessInformation;
3
+ export declare function HighExposureBusinessInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, country, targetPage, sectionHeading, }: HighExposureBusinessInformationProps): import("preact").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import type { HighExposureDropinProps } from './types';
2
2
  export declare const highExposureFormsRequiredFields: Record<string, string[]>;
3
- declare function HighExposureDropinComponent(props: HighExposureDropinProps): import("preact").JSX.Element;
4
- export default HighExposureDropinComponent;
3
+ export declare function HighExposureDropin(props: HighExposureDropinProps): import("preact").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import './styles.scss';
2
2
  import type { HighExposureFinancialInformationProps } from './types';
3
- declare function HighExposureFinancialInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, country, sectionHeading, }: HighExposureFinancialInformationProps): import("preact").JSX.Element;
4
- export default HighExposureFinancialInformation;
3
+ export declare function HighExposureFinancialInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, country, sectionHeading, }: HighExposureFinancialInformationProps): import("preact").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import type { HighExposureLegalInformationProps } from './types';
2
- declare function HighExposureLegalInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, sectionHeading, }: HighExposureLegalInformationProps): import("preact").JSX.Element;
3
- export default HighExposureLegalInformation;
2
+ export declare function HighExposureLegalInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, sectionHeading, }: HighExposureLegalInformationProps): import("preact").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import './styles.scss';
2
2
  import { type HighExposureOwnershipStructureProps } from './types';
3
- declare function HighExposureOwnershipStructure({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, legalEntity, }: HighExposureOwnershipStructureProps): import("preact").JSX.Element;
4
- export default HighExposureOwnershipStructure;
3
+ export declare function HighExposureOwnershipStructure({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, legalEntity, }: HighExposureOwnershipStructureProps): import("preact").JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import './styles.scss';
2
2
  import { type HighExposureRegisteredAddressProps } from './types';
3
- declare function HighExposureRegisteredAddress({ formUtils, valid, errors, fieldProblems, handleChangeFor, legalEntity, sectionHeading, country, handleAddressSearch, handleFindAddress, formId, setValid, shouldValidate, defaultData, }: HighExposureRegisteredAddressProps): import("preact").JSX.Element;
4
- export default HighExposureRegisteredAddress;
3
+ export declare function HighExposureRegisteredAddress({ formUtils, valid, errors, fieldProblems, handleChangeFor, legalEntity, sectionHeading, country, handleAddressSearch, handleFindAddress, formId, setValid, shouldValidate, defaultData, }: HighExposureRegisteredAddressProps): import("preact").JSX.Element;
@@ -8,7 +8,8 @@ import type { Translatable, TranslationKey } from '../../../language/types';
8
8
  import type { FormUtils } from '../../../utils/formUtils';
9
9
  import type { ValidationRuleResult, ValidatorMode } from '../../../utils/validation/types';
10
10
  import type { AddressSchema } from '../../internal/Address/types';
11
- import type { DropinAPIHandlers, DropinProps } from '../types';
11
+ import type { DropinAPIHandlers } from '../types';
12
+ import type { Dispatch, StateUpdater } from 'preact/hooks';
12
13
  export interface HighExposureCompanySchema {
13
14
  numberOfEmployees?: number;
14
15
  legalForm?: string;
@@ -76,15 +77,15 @@ export interface HighExposureDropinProps extends BaseOuterFormProps<HighExposure
76
77
  forms?: FormModel[];
77
78
  country: CountryCode;
78
79
  legalEntityId: ExistingLegalEntity['id'];
79
- legalEntity?: ExistingLegalEntity;
80
- handleAddressSearch?: DropinAPIHandlers['handleAddressSearch'];
81
- handleFindAddress?: DropinAPIHandlers['handleFindAddress'];
80
+ legalEntity: ExistingLegalEntity;
81
+ externalOnSubmit?: (data: HighExposureSchema) => void;
82
+ data: HighExposureSchema;
83
+ defaultData: HighExposureSchema;
84
+ setData: Dispatch<StateUpdater<HighExposureSchema>>;
82
85
  }
83
- export interface HighExposureProps extends HighExposureDropinProps, DropinProps {
86
+ export interface HighExposureProps {
84
87
  legalEntityId: ExistingLegalEntity['id'];
85
- legalEntity?: ExistingLegalEntity;
86
- parentLegalEntity?: ExistingLegalEntity;
87
- onSubmit?: (data: HighExposureSchema) => void;
88
+ onSubmitSuccess?: (data: HighExposureSchema) => void;
88
89
  }
89
90
  export interface HighExposureCompanyDetailsProps extends BaseInnerFormProps<HighExposureCompanySchema> {
90
91
  country: CountryCode;
@@ -203,3 +204,23 @@ export declare enum HighExposureIndex {
203
204
  PARENT_COMPANY = "parentCompany",
204
205
  ULTIMATE_PARENT_COMPANY = "ultimateParentCompany"
205
206
  }
207
+ interface HighExposureSummary {
208
+ legalName?: string;
209
+ legalForm?: string;
210
+ legalFormLabel?: string;
211
+ naceCode?: string;
212
+ naceCodeLabel?: string;
213
+ legalInformationInsolvency?: string;
214
+ annualTurnover?: string;
215
+ netAssets?: string;
216
+ currency?: string;
217
+ legalProceedingsDate?: string;
218
+ financialReportingDate?: string;
219
+ country?: string | null;
220
+ }
221
+ export type HighExposureSummaryType = {
222
+ company?: HighExposureSummary;
223
+ parentCompany?: HighExposureSummary;
224
+ ultimateParentCompany?: HighExposureSummary;
225
+ };
226
+ export {};
@@ -1,4 +1,3 @@
1
- import type { FinancialReport } from '../../../core/models/api/financialReport';
2
1
  import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/legal-entity';
3
2
  import type { Organization } from '../../../core/models/api/organization';
4
3
  import type { CountryCode, CountryCodes } from '../../../core/models/country-code';
@@ -9,7 +8,6 @@ export declare const USER_LOCALE: string;
9
8
  export declare const entityHasParentCompany: (data: HighExposureSchema) => boolean;
10
9
  export declare const entityHasUltimateParentCompany: (data: HighExposureSchema) => boolean;
11
10
  export declare const prepareExposureSubmitData: (exposureIndex: HighExposureIndex, data: HighExposureSchema, rootLegalEntity: ExistingLegalEntity | undefined) => LegalEntity;
12
- export declare const getHighExposureFinancialReportData: (financialReport?: FinancialReport) => Partial<HighExposureCompanySchema | HighExposureParentSchemasCombined>;
13
11
  export declare const appendHighExposureData: (legalOrganization?: Organization, highExposureData?: HighExposureCompanySchema | HighExposureParentSchemasCombined) => HighExposureCompanySchema | HighExposureParentSchemasCombined | undefined;
14
12
  export declare const handleHighExposureFormSubmission: (highExposureType: HighExposureIndex, details: LegalEntity | null, createFunction: (details: LegalEntity) => Promise<ExistingLegalEntity>, updateFunction: (details: LegalEntity, id: string) => Promise<ExistingLegalEntity>, entityId?: string) => Promise<ExistingLegalEntity | void>;
15
13
  export declare const isEeaCountry: (country?: CountryCodes | string) => boolean;
@@ -1,2 +1,2 @@
1
1
  import type { IndividualDropinProps } from '../../Individual/types';
2
- export declare function IndividualDropinComponent({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, trackingConfig, parentLegalEntity, legalEntityResponse, taskName, handleHomeClick, handleCloseClick, homeButtonLabel, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, onChange, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, hideNavigation, asModal, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualDropinProps): import("preact").JSX.Element;
2
+ export declare function IndividualDropin({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, trackingConfig, parentLegalEntity, legalEntityResponse, taskName, handleHomeClick, handleCloseClick, homeButtonLabel, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, onChange, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, hideNavigation, asModal, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualDropinProps): import("preact").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { PayoutDetailsDropinProps } from '../../PayoutDetails/types';
2
- export declare function PayoutDetailsDropinComponent({ transferInstrument, setTransferInstrument, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleUpdateTransferInstrument, handleCreateTransferInstrument, handleGetBankVerificationVendors, legalEntityResponse, associatedLegalArrangement, trackingConfig, accountHolder, problems: propProblems, onSubmit: externalOnSubmit, onChange, taskType: propTaskType, taskName, capabilities, handleHomeClick, homeButtonLabel, hideNavigation, refreshLegalEntity, navigateBackToTaskList, handleCreateTrustedTransferInstrument, handleBankVerificationError, handleBackClick: externalBackClick, }: PayoutDetailsDropinProps): import("preact").JSX.Element;
2
+ export declare function PayoutDetailsDropin({ transferInstrument, setTransferInstrument, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleUpdateTransferInstrument, handleCreateTransferInstrument, handleGetBankVerificationVendors, legalEntityResponse, associatedLegalArrangement, trackingConfig, accountHolder, problems: propProblems, onSubmit: externalOnSubmit, onChange, taskType: propTaskType, taskName, capabilities, handleHomeClick, homeButtonLabel, hideNavigation, refreshLegalEntity, navigateBackToTaskList, handleCreateTrustedTransferInstrument, handleBankVerificationError, handleBackClick: externalBackClick, }: PayoutDetailsDropinProps): import("preact").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import type { PciDropinProps } from './types';
2
- export declare function PciDropinComponent({ legalEntityResponse, pciTemplateResponse, handleHomeClick, handleSign, taskType, trackingConfig, asEmbedded, asModal, needsSigning, // TODO: move up to upcoming layout
2
+ export declare function PciDropin({ legalEntityResponse, pciTemplateResponse, handleHomeClick, handleSign, taskType, trackingConfig, asEmbedded, asModal, needsSigning, // TODO: move up to upcoming layout
3
3
  handleCloseClick, }: PciDropinProps): import("preact").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { RoleAndTypeDropinProps } from './types';
2
- export declare function RoleAndTypeDropinComponent({ existingTrustMember, navigateToFullDropinFor, navigateBack, addOrUpdateTrustMember, getLegalEntityHandler, isOrganizationSettlorWithExemptionEnabled, country, }: RoleAndTypeDropinProps): import("preact").JSX.Element;
2
+ export declare function RoleAndTypeDropin({ existingTrustMember, navigateToFullDropinFor, navigateBack, addOrUpdateTrustMember, getLegalEntityHandler, isOrganizationSettlorWithExemptionEnabled, country, }: RoleAndTypeDropinProps): import("preact").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type Language from '../../../language/Language';
1
+ import type { Language } from '../../../language/Language';
2
2
  import type { SummaryOf } from '../../internal/Summary/types';
3
3
  import type { TrustMember } from '../../TrustMembers/types';
4
4
  import type { TrustRoleAndEntityTypeSchema } from '../../TrustRoleAndEntityType/types';
@@ -1,3 +1,3 @@
1
1
  import './ServiceAgreementDropin.scss';
2
2
  import type { ServiceAgreementDropinProps } from './types';
3
- export declare function ServiceAgreementDropinComponent({ legalEntityResponse, handleGetServiceAgreement, handleViewAcceptedTermsOfServiceDocument, handleDownloadAcceptedTermsOfServiceDocument, handleDownloadUnacceptedTermsOfServiceDocument, handleHomeClick, handleAddSigner, handleSign, taskType, serviceAgreementTypes, serviceAgreementAcceptanceInfos, trackingConfig, asEmbedded, asModal, handleCloseClick, }: ServiceAgreementDropinProps): import("preact").JSX.Element;
3
+ export declare function ServiceAgreementDropin({ legalEntityResponse, handleGetServiceAgreement, handleViewAcceptedTermsOfServiceDocument, handleDownloadAcceptedTermsOfServiceDocument, handleDownloadUnacceptedTermsOfServiceDocument, handleHomeClick, handleAddSigner, handleSign, taskType, serviceAgreementTypes, serviceAgreementAcceptanceInfos, trackingConfig, asEmbedded, asModal, handleCloseClick, }: ServiceAgreementDropinProps): import("preact").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { SolePropDropinProps } from '../../SoleProp/types';
2
- export declare function SolePropDropinComponent({ problems: problemsProp, capabilities, country: externalCountry, parentLegalEntity, legalEntityResponse, homeButtonLabel, hideDropinLayout, onSubmit: onExternalSubmit, onChange, taskType, trackingConfig, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCreateLegalEntity, }: SolePropDropinProps): import("preact").JSX.Element;
2
+ export declare function SolePropDropin({ problems: problemsProp, capabilities, country: externalCountry, parentLegalEntity, legalEntityResponse, homeButtonLabel, hideDropinLayout, onSubmit: onExternalSubmit, onChange, taskType, trackingConfig, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCreateLegalEntity, }: SolePropDropinProps): import("preact").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { TrustDropinProps } from '../../Trust/types';
2
- export declare function TrustDropinComponent({ parentLegalEntity, capabilities, country, legalEntityResponse, handleCreateLegalEntity, handleUpdateLegalEntity, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, trackingConfig, taskType, problems: problemsProp, onSubmit: externalOnSubmit, onChange, hideDropinLayout, handleHomeClick, homeButtonLabel, }: TrustDropinProps): import("preact").JSX.Element;
2
+ export declare function TrustDropin({ parentLegalEntity, capabilities, country, legalEntityResponse, handleCreateLegalEntity, handleUpdateLegalEntity, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, trackingConfig, taskType, problems: problemsProp, onSubmit: externalOnSubmit, onChange, hideDropinLayout, handleHomeClick, homeButtonLabel, }: TrustDropinProps): import("preact").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { State, TopLevelDataSchema } from '../../core/Context/StateContext/types';
1
+ import type { State, TopLevelDataSchema } from '../../core/context/StateContext/types';
2
2
  import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '../../core/models/api/address-search';
3
3
  import type { CapabilityName } from '../../core/models/api/capability';
4
4
  import type { CompanyDatasetRequest, CompanyDatasetResponse, CompanySearchRequest, CompanySearchResponse, TinVerificationRequest, TinVerificationResponse } from '../../core/models/api/company-search';
@@ -9,11 +9,11 @@ import type { InstantIdVerificationStartCheckRequest, InstantIdVerificationStart
9
9
  import type { ExistingLegalEntity, LegalEntity, PatchLegalEntity } from '../../core/models/api/legal-entity';
10
10
  import type { ReviewCompletion } from '../../core/models/api/review';
11
11
  import type { ExistingTransferInstrument, TransferInstrument } from '../../core/models/api/transfer-instrument';
12
- import type { CreateTrustedTransferInstrumentResponse } from '../../core/models/api/trusted-transferInstrument';
12
+ import type { BankVerificationErrorResponse, CreateTrustedTransferInstrumentResponse } from '../../core/models/api/trusted-transferInstrument';
13
13
  import type { OnboardingLinkConfig, OnboardingLinkResponse, OnboardingStatusResponse } from '../../core/models/api/view-verification-status';
14
14
  import type { CountryCode } from '../../core/models/country-code';
15
15
  import type { BaseTrackingPayload } from '../../core/utils';
16
- import type Language from '../../language/Language';
16
+ import type { Language } from '../../language/Language';
17
17
  import type { TranslationKey } from '../../language/types';
18
18
  import type { TaskTypes } from '../../stores/taskStore/taskTypes';
19
19
  interface SingpassLinkResponseItem {
@@ -23,7 +23,7 @@ interface SingpassLinkResponseItem {
23
23
  export interface SingpassLinkResponse {
24
24
  item: SingpassLinkResponseItem;
25
25
  }
26
- export interface DropinComposerProps extends Required<Pick<DropinAPIHandlers, 'handleGetLegalEntity' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity' | 'handleGetPciStatus' | 'handleGetPciQuestionnaires' | 'handleGetServiceAgreementStatus' | 'handleGetServiceAgreementAcceptanceInfos' | 'handleGetTransferInstrument' | 'handleDeleteTransferInstrument' | 'handleCreateTransferInstrument' | 'handleUpdateTransferInstrument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleCreateDocument' | 'handleCompanyIndexSearch' | 'handleCompanyDeepSearch' | 'handleGetCompanyDataset' | 'handleRefreshCompanyDataset' | 'handleVerifyTin' | 'handleClearCompanyData' | 'handleGetBankVerificationVendors' | 'handleSignPci' | 'handleGetPciTemplate' | 'handleDownloadPci' | 'handleGetServiceAgreement' | 'handleViewAcceptedTermsOfServiceDocument' | 'handleDownloadAcceptedTermsOfServiceDocument' | 'handleDownloadUnacceptedTermsOfServiceDocument' | 'handleSignServiceAgreement' | 'handleReviewConfirm'>>, Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument' | 'handleGetIdVerificationStartCheck' | 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleOpenSingpassAuthorizationLink' | 'handleCompanyRegistrationNumberIndexSearch' | 'handleCompanyRegistrationNumberDeepSearch'> {
26
+ export interface DropinComposerProps extends Required<Pick<DropinAPIHandlers, 'handleGetLegalEntity' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity' | 'handleGetPciStatus' | 'handleGetPciQuestionnaires' | 'handleGetServiceAgreementStatus' | 'handleGetServiceAgreementAcceptanceInfos' | 'handleGetTransferInstrument' | 'handleDeleteTransferInstrument' | 'handleCreateTransferInstrument' | 'handleUpdateTransferInstrument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleCreateDocument' | 'handleCompanyIndexSearch' | 'handleCompanyDeepSearch' | 'handleGetCompanyDataset' | 'handleRefreshCompanyDataset' | 'handleVerifyTin' | 'handleClearCompanyData' | 'handleGetBankVerificationVendors' | 'handleSignPci' | 'handleGetPciTemplate' | 'handleDownloadPci' | 'handleGetServiceAgreement' | 'handleViewAcceptedTermsOfServiceDocument' | 'handleDownloadAcceptedTermsOfServiceDocument' | 'handleDownloadUnacceptedTermsOfServiceDocument' | 'handleSignServiceAgreement' | 'handleReviewConfirm'>>, Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument' | 'handleBankVerificationError' | 'handleGetIdVerificationStartCheck' | 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleOpenSingpassAuthorizationLink' | 'handleCompanyRegistrationNumberIndexSearch' | 'handleCompanyRegistrationNumberDeepSearch'> {
27
27
  capabilities?: CapabilityName[];
28
28
  legalEntityResponse: ExistingLegalEntity;
29
29
  onChange?: (state: State<TopLevelDataSchema>) => void;
@@ -44,6 +44,7 @@ export interface DropinAPIHandlers {
44
44
  handleUpdateTransferInstrument?(data: TransferInstrument, transferInstrumentId: string): Promise<ExistingTransferInstrument>;
45
45
  handleDeleteTransferInstrument?(transferInstrumentId: string): Promise<TransferInstrument>;
46
46
  handleCreateTransferInstrument?(data: TransferInstrument): Promise<ExistingTransferInstrument>;
47
+ handleBankVerificationError?(errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>): Promise<BankVerificationErrorResponse>;
47
48
  handleGetPciTemplate?(legalEntityId: string, data: PciTemplateRequest): Promise<PciTemplateResponse>;
48
49
  handleGetPciQuestionnaires?(legalEntityId: string): Promise<PciQuestionnaires>;
49
50
  handleSignPci?(legalEntityId: string, data: SignedBy): Promise<PciQuestionnaireIds>;
@@ -1,2 +1,2 @@
1
1
  import type { HighExposureProps } from '../../Dropins/HighExposureDropin/types';
2
- export declare function UpdateLegalEntityForHighExposure({ parentLegalEntity, capabilities, country, trackingConfig, problems: problemsProp, onChange, hideDropinLayout, handleHomeClick, homeButtonLabel, legalEntityId, onSubmit: externalOnSubmit, }: HighExposureProps): import("preact").JSX.Element;
2
+ export declare function UpdateLegalEntityForHighExposure({ legalEntityId, onSubmitSuccess, }: HighExposureProps): import("preact").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import type { HighExposureCustomLabels, HighExposureSchema, HighExposureSummaryType } from '../../Dropins/HighExposureDropin/types';
2
+ import type { DatasetUtil } from '../../../utils/datasetUtil';
3
+ import type { Language } from '../../../language/Language';
4
+ export declare const customLabels: HighExposureCustomLabels;
5
+ export declare const getTranslatedLegalInsolvency: (i18n: Language, insolvencyData?: string) => string;
6
+ export declare const getFormattedAmount: (value?: string, currency?: string) => string;
7
+ export declare const formatDataForSummary: (data: HighExposureSchema, i18n: Language, datasetUtils: DatasetUtil) => HighExposureSummaryType;
8
+ export declare const canSubmit: (data: HighExposureSchema) => boolean;
@@ -1,4 +1,4 @@
1
- import type Language from '../../language/Language';
1
+ import type { Language } from '../../language/Language';
2
2
  import type { SummaryOf } from '../internal/Summary/types';
3
3
  import type { FinancialInformationSchema } from './types';
4
4
  export declare const formatFinancialInformationSummary: (data: FinancialInformationSchema | undefined, i18n: Language) => SummaryOf<FinancialInformationSchema>;
@@ -1,3 +1,2 @@
1
1
  import type { IdDocumentAlreadyUploadProps } from './types';
2
- declare function IdDocumentAlreadyUpload(props: IdDocumentAlreadyUploadProps): import("preact").JSX.Element;
3
- export default IdDocumentAlreadyUpload;
2
+ export declare function IdDocumentAlreadyUpload(props: IdDocumentAlreadyUploadProps): import("preact").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { ExperimentName } from '../../core/Context/ExperimentContext/types';
1
+ import type { ExperimentName } from '../../core/context/ExperimentContext/types';
2
2
  import type { CountryCode } from '../../core/models/country-code';
3
3
  import type { ValidatorRule } from '../../utils/validation/types';
4
4
  import type { PersonalDetailsSchema } from '../PersonalDetails/types';
@@ -1 +1,2 @@
1
1
  export declare const isProviderPlaidEmbedded: (redirectUrl?: string) => boolean;
2
+ export declare const isProviderWidgetInline: (providerName?: string) => boolean;
@@ -18,7 +18,8 @@ interface PreferInstantVerificationMethodProps {
18
18
  setBankVerificationError: Dispatch<StateUpdater<InstantVerificationErrorNotification | null>>;
19
19
  refreshLegalEntity?: () => Promise<LegalEntity>;
20
20
  handleChangeFor: (key: keyof PayoutVerificationMethodSchema, mode?: ValidatorMode) => (e: any) => void;
21
+ handleNextClick(): void;
21
22
  triggerValidation: (schema?: Array<keyof PayoutVerificationMethodSchema>) => void;
22
23
  }
23
- export declare const PreferInstantVerificationMethod: ({ loadingStatus, provider, bankInfoValidated, instantVerificationAvailable, selectVerificationMethod, createTrustedTransferInstrument, setBankInfoValidated, handleBankVerificationError, setBankVerificationError, refreshLegalEntity, handleChangeFor, triggerValidation, }: PreferInstantVerificationMethodProps) => import("preact").JSX.Element;
24
+ export declare const PreferInstantVerificationMethod: ({ loadingStatus, provider, bankInfoValidated, instantVerificationAvailable, selectVerificationMethod, createTrustedTransferInstrument, setBankInfoValidated, handleBankVerificationError, setBankVerificationError, refreshLegalEntity, handleChangeFor, handleNextClick, triggerValidation, }: PreferInstantVerificationMethodProps) => import("preact").JSX.Element;
24
25
  export {};
@@ -1,7 +1,6 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
2
  import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
3
3
  import type { ExistingLegalEntity, LegalEntity } from '../../core/models/api/legal-entity';
4
- import type { BankVerificationErrorResponse } from '../../core/models/api/trusted-transferInstrument';
5
4
  import type { CountryCode } from '../../core/models/country-code';
6
5
  import type { FormModel } from '../../core/models/form';
7
6
  import type { AccountVerificationSchema, BankVerificationVendor, InstantVerificationErrorNotification } from '../BankVerification/types';
@@ -27,7 +26,7 @@ export interface PayoutVerificationMethodProps extends BaseInnerFormProps<Payout
27
26
  setBankInfoValidated: Dispatch<StateUpdater<boolean>>;
28
27
  createTrustedTransferInstrument?: PayoutDetailsProps['createTrustedTransferInstrument'];
29
28
  refreshLegalEntity?: () => Promise<LegalEntity>;
30
- handleBankVerificationError?: (errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>) => Promise<BankVerificationErrorResponse>;
29
+ handleBankVerificationError?: PayoutDetailsProps['handleBankVerificationError'];
31
30
  setBankVerificationError: Dispatch<StateUpdater<InstantVerificationErrorNotification | null>>;
32
31
  setHideFooter?: Dispatch<StateUpdater<boolean>>;
33
32
  }
@@ -1,4 +1,4 @@
1
1
  import type { IdentityNumberProps } from '../../../IdentityNumber/type';
2
- export declare const IdentityUSComponent: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<IdentityNumberProps> & {
2
+ export declare const IdentityUS: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<IdentityNumberProps> & {
3
3
  ref?: import("preact").Ref<unknown>;
4
4
  }>;
@@ -1,4 +1,4 @@
1
1
  import type { ProofOfRelationshipProps } from './types';
2
2
  declare function ProofOfRelationship({ id, ...props }: ProofOfRelationshipProps): import("preact").JSX.Element;
3
- declare const _default: typeof ProofOfRelationship;
4
- export default _default;
3
+ export declare const MemoizedProofOfRelationship: typeof ProofOfRelationship;
4
+ export {};
@@ -1,4 +1,3 @@
1
1
  import type { JSX } from 'preact';
2
2
  import type { TaskStatusProps } from './types';
3
- declare const TaskItemStatus: ({ status, downloadHandler, size, showText, statusLabel, }: TaskStatusProps) => JSX.Element;
4
- export default TaskItemStatus;
3
+ export declare const TaskItemStatus: ({ status, downloadHandler, size, showText, statusLabel, }: TaskStatusProps) => JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import './TaskListGroup.scss';
2
2
  import type { FunctionalComponent } from 'preact';
3
3
  import type { TaskListGroupProps } from './types';
4
- declare const TaskListGroup: FunctionalComponent<TaskListGroupProps>;
5
- export default TaskListGroup;
4
+ export declare const TaskListGroup: FunctionalComponent<TaskListGroupProps>;
@@ -1,4 +1,3 @@
1
1
  import './TaskListItem.scss';
2
2
  import type { TaskListItemProps } from './types';
3
- declare const TaskListItem: ({ title, icon, status, statusLabel, onNavigateToTask, disabled, problems, downloadHandler, info, loading, showErrorAlerts, showWarningAlert, warningMessage, removeEntity, isRemoveDisabled, handleIsRemoveDisabled, testId, }: TaskListItemProps) => import("preact").JSX.Element;
4
- export default TaskListItem;
3
+ export declare const TaskListItem: ({ title, icon, status, statusLabel, onNavigateToTask, disabled, problems, downloadHandler, info, loading, showErrorAlerts, showWarningAlert, warningMessage, removeEntity, isRemoveDisabled, handleIsRemoveDisabled, testId, }: TaskListItemProps) => import("preact").JSX.Element;
@@ -1,15 +1,15 @@
1
1
  import './UIElement.scss';
2
2
  import type { JSX } from 'preact';
3
3
  import type { EmptyObject } from 'type-fest';
4
- import type { AuthProviderProps } from '../../core/Context/AuthContext/AuthProvider';
5
- import type { CoreProviderProps } from '../../core/Context/CoreProvider';
6
- import type { ExperimentsProps } from '../../core/Context/ExperimentContext/types';
7
- import type { ExpiryProviderProps } from '../../core/Context/ExpiryContext/ExpiryContext';
8
- import type { I18nProviderProps } from '../../core/Context/I18nProvider/I18nProvider';
9
- import type { SettingsProps } from '../../core/Context/SettingsContext/types';
4
+ import type { AuthProviderProps } from '../../core/context/AuthContext/AuthProvider';
5
+ import type { CoreProviderProps } from '../../core/context/CoreProvider';
6
+ import type { ExperimentsProps } from '../../core/context/ExperimentContext/types';
7
+ import type { ExpiryProviderProps } from '../../core/context/ExpiryContext/ExpiryContext';
8
+ import type { I18nProviderProps } from '../../core/context/I18nProvider/I18nProvider';
9
+ import type { SettingsProps } from '../../core/context/SettingsContext/types';
10
10
  import type { UserEventCallback } from '../../core/user-events';
11
- import type { BaseElementProps } from '../BaseElement';
12
- import { BaseElement } from '../BaseElement';
11
+ import type { BaseElementProps } from '../../core/BaseElement';
12
+ import { BaseElement } from '../../core/BaseElement';
13
13
  import type { ComponentMap } from '../index';
14
14
  export interface UIElementProps<ComponentProps extends object> extends BaseElementProps, CoreProviderProps, AuthProviderProps, I18nProviderProps, ExpiryProviderProps, SettingsProps, ExperimentsProps {
15
15
  onUserEvent?: UserEventCallback;
@@ -1,15 +1,15 @@
1
- import type { CoreProviderProps } from '../core/Context/CoreProvider';
2
- import type { ExperimentsProps } from '../core/Context/ExperimentContext/types';
3
- import type { SettingsProps } from '../core/Context/SettingsContext/types';
1
+ import type { CoreProviderProps } from '../core/context/CoreProvider';
2
+ import type { ExperimentsProps } from '../core/context/ExperimentContext/types';
3
+ import type { SettingsProps } from '../core/context/SettingsContext/types';
4
4
  import type { UserEventCallback } from '../core/user-events';
5
- import { BusinessDetailsDropinComponent } from './Dropins/BusinessDetailsDropin/BusinessDetailsDropin';
6
- import { CompanyDropinComponent } from './Dropins/CompanyDropin/CompanyDropin';
7
- import { DropinComposerComponent } from './Dropins/DropinComposer/DropinComposer';
8
- import { IndividualDropinComponent } from './Dropins/IndividualDropin/IndividualDropin';
9
- import { PayoutDetailsDropinComponent } from './Dropins/PayoutDetailsDropin/PayoutDetailsDropin';
10
- import { PciDropinComponent } from './Dropins/PciDropin/PciDropin';
11
- import { SolePropDropinComponent } from './Dropins/SolePropDropin/SolePropDropin';
12
- import { TrustDropinComponent } from './Dropins/TrustDropin/TrustDropin';
5
+ import { BusinessDetailsDropin } from './Dropins/BusinessDetailsDropin/BusinessDetailsDropin';
6
+ import { CompanyDropin } from './Dropins/CompanyDropin/CompanyDropin';
7
+ import { DropinComposer } from './Dropins/DropinComposer/DropinComposer';
8
+ import { IndividualDropin } from './Dropins/IndividualDropin/IndividualDropin';
9
+ import { PayoutDetailsDropin } from './Dropins/PayoutDetailsDropin/PayoutDetailsDropin';
10
+ import { PciDropin } from './Dropins/PciDropin/PciDropin';
11
+ import { SolePropDropin } from './Dropins/SolePropDropin/SolePropDropin';
12
+ import { TrustDropin } from './Dropins/TrustDropin/TrustDropin';
13
13
  import { AcceptTermsOfServiceComponent } from './EmbeddedDropins/AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent';
14
14
  import { CreateIndividualComponent } from './EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent';
15
15
  import { CreateTransferInstrumentComponent } from './EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent';
@@ -21,19 +21,19 @@ import { OnboardingDropinComponent } from './EmbeddedDropins/OnboardingDropinCom
21
21
  import { SignPCIComponent } from './EmbeddedDropins/SignPCIComponent/SignPCIComponent';
22
22
  import { UpdateLegalEntityForHighExposure } from './EmbeddedDropins/UpdateLegalEntityForHighExposure/UpdateLegalEntityForHighExposure';
23
23
  import { ViewVerificationStatusComponent } from './EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent';
24
- import type EventEmitter from './EventEmitter';
24
+ import type { EventEmitter } from '../core/EventEmitter';
25
25
  /**
26
26
  * Maps each component with a Component element.
27
27
  */
28
28
  export declare const componentsMap: {
29
- readonly individualDropin: typeof IndividualDropinComponent;
30
- readonly businessDetailsDropin: typeof BusinessDetailsDropinComponent;
31
- readonly companyDropin: typeof CompanyDropinComponent;
32
- readonly taskList: typeof DropinComposerComponent;
33
- readonly payoutAccount: typeof PayoutDetailsDropinComponent;
34
- readonly trustDropin: typeof TrustDropinComponent;
35
- readonly soleProprietorDropin: typeof SolePropDropinComponent;
36
- readonly pci: typeof PciDropinComponent;
29
+ readonly individualDropin: typeof IndividualDropin;
30
+ readonly businessDetailsDropin: typeof BusinessDetailsDropin;
31
+ readonly companyDropin: typeof CompanyDropin;
32
+ readonly taskList: typeof DropinComposer;
33
+ readonly payoutAccount: typeof PayoutDetailsDropin;
34
+ readonly trustDropin: typeof TrustDropin;
35
+ readonly soleProprietorDropin: typeof SolePropDropin;
36
+ readonly pci: typeof PciDropin;
37
37
  readonly createTransferInstrumentComponent: typeof CreateTransferInstrumentComponent;
38
38
  readonly createIndividualComponent: typeof CreateIndividualComponent;
39
39
  readonly manageTransferInstrumentComponent: typeof ManageTransferInstrumentComponent;
@@ -1,4 +1,3 @@
1
1
  import type { JSX } from 'preact';
2
2
  import type { SearchAddressProps } from './types';
3
- declare const SearchAddress: ({ data, legalEntityId, autocompleteAddressForm, handleChangeFor, handleAddressSearch, handleFindAddress, addressType, kompanyAddress, }: SearchAddressProps) => JSX.Element;
4
- export default SearchAddress;
3
+ export declare const SearchAddress: ({ data, legalEntityId, autocompleteAddressForm, handleChangeFor, handleAddressSearch, handleFindAddress, addressType, kompanyAddress, }: SearchAddressProps) => JSX.Element;