@adyen/kyc-components 3.41.9 → 3.42.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 (275) hide show
  1. package/dist/es/adyen-kyc-components.es.js +1765 -1435
  2. package/dist/es/{bg-BG-Dmj4EHVU.js → bg-BG-CMCcwscy.js} +47 -43
  3. package/dist/es/{cs-CZ-Bm08xJB7.js → cs-CZ-CWoauekB.js} +47 -43
  4. package/dist/es/{da-DK-DOXwaap9.js → da-DK-DzEKTJHc.js} +47 -43
  5. package/dist/es/{de-DE-W6wafRCo.js → de-DE-B6M2anx6.js} +47 -43
  6. package/dist/es/{el-GR-DJo1cdy7.js → el-GR-CuqLWzR5.js} +47 -43
  7. package/dist/es/en-US.instructions-DLPEHGI-.js +8 -0
  8. package/dist/es/{es-ES-CXYKB7Jl.js → es-ES-9XfSDirr.js} +47 -43
  9. package/dist/es/{et-EE-BroyuIvL.js → et-EE-pmwl_J2R.js} +47 -43
  10. package/dist/es/{fi-FI-w-vWfACP.js → fi-FI-DgJSRyPl.js} +47 -43
  11. package/dist/es/{fr-FR-BiIdKnCi.js → fr-FR-BUhY0q6T.js} +47 -43
  12. package/dist/es/{hr-HR-BFOj_OWt.js → hr-HR-Cu45hWKx.js} +47 -43
  13. package/dist/es/{hu-HU-Bfi5wY9v.js → hu-HU-igEUooEp.js} +47 -43
  14. package/dist/es/instant-verification-method-BQBv6dnq.js +19 -0
  15. package/dist/es/{it-IT-IkX0WmSq.js → it-IT-DTdhIzgZ.js} +47 -43
  16. package/dist/es/{lt-LT-DAAfclm8.js → lt-LT-7Ir7WV1z.js} +47 -43
  17. package/dist/es/{lv-LV-DJQWP25T.js → lv-LV-NrrHCjUD.js} +47 -43
  18. package/dist/es/{nl-NL-DPFdiVON.js → nl-NL-CfA_NFx-.js} +47 -43
  19. package/dist/es/{no-NO-Ca-GT9V6.js → no-NO-CWloqbTr.js} +47 -43
  20. package/dist/es/{pl-PL-CSMLIq-J.js → pl-PL-BXvZOf8S.js} +47 -43
  21. package/dist/es/{pt-PT-ArhNDr-o.js → pt-PT-BBmTWd3M.js} +47 -43
  22. package/dist/es/{ro-RO-BctRK7-Y.js → ro-RO-CPB_OIDF.js} +47 -43
  23. package/dist/es/{sk-SK-ct4i-dxv.js → sk-SK-C0ojvkCe.js} +47 -43
  24. package/dist/es/{sl-SI-BsmOhrNg.js → sl-SI-qgUAiBJ9.js} +47 -43
  25. package/dist/es/{sv-SE-Bs3S3eJ0.js → sv-SE-CJ7RsMEw.js} +47 -43
  26. package/dist/style.css +177 -194
  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/BankDocument/types.d.ts +4 -3
  30. package/dist/types/components/BankVerification/BankVerification.d.ts +1 -3
  31. package/dist/types/components/BankVerification/types.d.ts +1 -2
  32. package/dist/types/components/BankVerification/verification/widget/BankVerificationWidget.d.ts +1 -1
  33. package/dist/types/components/BankVerification/verification/widget/iframeWidget.d.ts +1 -1
  34. package/dist/types/components/BankVerification/verification/widget/types.d.ts +2 -2
  35. package/dist/types/components/BasicInformation/types.d.ts +2 -1
  36. package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
  37. package/dist/types/components/BusinessTypeSelection/utils.d.ts +1 -1
  38. package/dist/types/components/Company/rules.d.ts +1 -0
  39. package/dist/types/components/CompanyNameAndCountry/CompanyNameAndCountry.d.ts +1 -1
  40. package/dist/types/components/ConstitutionalDocument/ConstitutionalDocument.d.ts +1 -1
  41. package/dist/types/components/DebugWrapper/debugInfo.d.ts +2 -2
  42. package/dist/types/components/Dropins/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  43. package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +3 -1
  44. package/dist/types/components/Dropins/BusinessDetailsDropin/utils.d.ts +6 -3
  45. package/dist/types/components/Dropins/CompanyDropin/CompanyDropin.d.ts +1 -1
  46. package/dist/types/components/Dropins/DropinComposer/DropinComposer.d.ts +1 -1
  47. package/dist/types/components/Dropins/DropinLayout/ActionBar/ActionBar.d.ts +1 -2
  48. package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +2 -2
  49. package/dist/types/components/Dropins/HighExposureDropin/AdditionalFieldsForHighExposureCompany.d.ts +1 -2
  50. package/dist/types/components/Dropins/HighExposureDropin/AdditionalFieldsForHighExposureParentCompany.d.ts +1 -2
  51. package/dist/types/components/Dropins/HighExposureDropin/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts +1 -2
  52. package/dist/types/components/Dropins/HighExposureDropin/HighExposureBasicCompanyInformation.d.ts +1 -2
  53. package/dist/types/components/Dropins/HighExposureDropin/HighExposureBusinessInformation.d.ts +1 -2
  54. package/dist/types/components/Dropins/HighExposureDropin/HighExposureDropin.d.ts +1 -2
  55. package/dist/types/components/Dropins/HighExposureDropin/HighExposureFinancialInformation.d.ts +1 -2
  56. package/dist/types/components/Dropins/HighExposureDropin/HighExposureLegalInformation.d.ts +1 -2
  57. package/dist/types/components/Dropins/HighExposureDropin/HighExposureOwnershipStructure.d.ts +1 -2
  58. package/dist/types/components/Dropins/HighExposureDropin/HighExposureRegisteredAddress.d.ts +1 -2
  59. package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +29 -8
  60. package/dist/types/components/Dropins/HighExposureDropin/utils.d.ts +0 -2
  61. package/dist/types/components/Dropins/IndividualDropin/IndividualDropin.d.ts +1 -1
  62. package/dist/types/components/Dropins/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  63. package/dist/types/components/Dropins/PciDropin/PciDropin.d.ts +1 -1
  64. package/dist/types/components/Dropins/RoleAndTypeDropin/RoleAndTypeDropin.d.ts +1 -1
  65. package/dist/types/components/Dropins/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
  66. package/dist/types/components/Dropins/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  67. package/dist/types/components/Dropins/SolePropDropin/SolePropDropin.d.ts +1 -1
  68. package/dist/types/components/Dropins/TrustDropin/TrustDropin.d.ts +1 -1
  69. package/dist/types/components/Dropins/types.d.ts +5 -4
  70. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/UpdateLegalEntityForHighExposure.d.ts +1 -1
  71. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +8 -0
  72. package/dist/types/components/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  73. package/dist/types/components/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +1 -2
  74. package/dist/types/components/Individual/validators.d.ts +1 -1
  75. package/dist/types/components/PayoutDetails/utils.d.ts +1 -0
  76. package/dist/types/components/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +2 -1
  77. package/dist/types/components/PayoutVerificationMethod/types.d.ts +1 -2
  78. package/dist/types/components/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +1 -1
  79. package/dist/types/components/ProofOfRelationship/index.d.ts +2 -2
  80. package/dist/types/components/TaskList/TaskItemStatus.d.ts +1 -2
  81. package/dist/types/components/TaskList/TaskListGroup.d.ts +1 -2
  82. package/dist/types/components/TaskList/TaskListItem.d.ts +1 -2
  83. package/dist/types/components/UIElement/UIElement.d.ts +8 -8
  84. package/dist/types/components/index.d.ts +20 -20
  85. package/dist/types/components/internal/Address/SearchAddress.d.ts +1 -2
  86. package/dist/types/components/internal/Address/utils.d.ts +1 -1
  87. package/dist/types/components/internal/Address/validate.d.ts +1 -1
  88. package/dist/types/components/internal/BusinessRegistrationNumber/BusinessRegistrationNumber.d.ts +1 -1
  89. package/dist/types/components/internal/BusinessRegistrationNumber/fieldConfig.d.ts +1 -1
  90. package/dist/types/components/internal/ContextGuidance/ContextGuidance.d.ts +1 -1
  91. package/dist/types/components/internal/ContractViewer/ContractViewer.d.ts +1 -1
  92. package/dist/types/components/internal/CountryOfGoverningLawField/validate.d.ts +3 -0
  93. package/dist/types/components/internal/DocumentGuidance/DocumentGuidance.d.ts +1 -2
  94. package/dist/types/components/internal/EntityAssociation/EntityAssociation.d.ts +1 -2
  95. package/dist/types/components/internal/EntityGuidanceStatus/EntityGuidanceStatus.d.ts +1 -2
  96. package/dist/types/components/internal/EntityGuidanceStatus/EntityStatusIcon.d.ts +1 -2
  97. package/dist/types/components/internal/ErrorPanel/NavigateToFieldLink.d.ts +2 -2
  98. package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +1 -1
  99. package/dist/types/components/internal/FormFields/Dropzone/Dropzone.d.ts +1 -1
  100. package/dist/types/components/internal/FormFields/Dropzone/DropzoneFile.d.ts +1 -1
  101. package/dist/types/components/internal/FormFields/Field/Field.d.ts +1 -2
  102. package/dist/types/components/internal/FormFields/InputBase.d.ts +1 -2
  103. package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +1 -1
  104. package/dist/types/components/internal/FormFields/InputNumber.d.ts +1 -1
  105. package/dist/types/components/internal/FormFields/Select/Select.d.ts +1 -2
  106. package/dist/types/components/internal/FormFields/Select/SelectButton.d.ts +1 -2
  107. package/dist/types/components/internal/FormFields/Select/SelectList.d.ts +1 -2
  108. package/dist/types/components/internal/FormFields/Select/SelectListItem.d.ts +1 -2
  109. package/dist/types/components/internal/FormFields/Select/types.d.ts +9 -10
  110. package/dist/types/components/internal/FormFields/TextArea.d.ts +1 -1
  111. package/dist/types/components/internal/IdFieldTypeSelector/countryIdNumberTypes.d.ts +4 -0
  112. package/dist/types/components/internal/LegalCompanyNameField/LegalCompanyNameField.d.ts +2 -1
  113. package/dist/types/components/internal/Link/Link.d.ts +1 -1
  114. package/dist/types/components/internal/Link/types.d.ts +1 -1
  115. package/dist/types/components/internal/List/List.d.ts +1 -2
  116. package/dist/types/components/internal/List/ListItem.d.ts +1 -2
  117. package/dist/types/components/internal/LoaderWrapper/LoaderWrapper.d.ts +2 -2
  118. package/dist/types/components/internal/Status/Status.d.ts +1 -2
  119. package/dist/types/components/internal/Summary/Summary.d.ts +2 -2
  120. package/dist/types/components/internal/Summary/types.d.ts +6 -2
  121. package/dist/types/{components → core}/BaseElement.d.ts +2 -2
  122. package/dist/types/{components → core}/EventEmitter.d.ts +2 -2
  123. package/dist/types/core/{Context → context}/ExperimentContext/types.d.ts +0 -1
  124. package/dist/types/core/{Context → context}/ExpiryContext/ExpiryContext.d.ts +1 -1
  125. package/dist/types/core/{Context → context}/I18nProvider/I18nContext.d.ts +1 -1
  126. package/dist/types/core/{Context → context}/I18nProvider/I18nProvider.d.ts +1 -1
  127. package/dist/types/core/core.d.ts +1 -1
  128. package/dist/types/core/hooks/useAsyncValidator.d.ts +1 -1
  129. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
  130. package/dist/types/core/hooks/useForm/types.d.ts +1 -1
  131. package/dist/types/core/hooks/useStaticValidator/useStaticValidator.d.ts +1 -1
  132. package/dist/types/core/models/api/attachment.d.ts +1 -1
  133. package/dist/types/core/models/api/legal-arrangement.d.ts +0 -2
  134. package/dist/types/core/models/api/version-configuration.d.ts +1 -1
  135. package/dist/types/core/models/form-rules.d.ts +3 -3
  136. package/dist/types/core/{Services → services}/componentApi/get-bankVerification-vendor.d.ts +1 -1
  137. package/dist/types/core/{Services → services}/types.d.ts +1 -1
  138. package/dist/types/core/types.d.ts +1 -1
  139. package/dist/types/core/utils.d.ts +1 -1
  140. package/dist/types/language/Language.d.ts +1 -2
  141. package/dist/types/stores/taskStore/calculateTaskStatus.d.ts +3 -0
  142. package/dist/types/utils/api/documentUtils.d.ts +1 -2
  143. package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
  144. package/dist/types/utils/api/processValidationErrors.d.ts +1 -2
  145. package/dist/types/utils/bytesToSize.d.ts +1 -1
  146. package/dist/types/utils/entityStatusUtil.d.ts +18 -0
  147. package/dist/types/utils/formUtils.d.ts +2 -3
  148. package/dist/types/utils/getFieldsWithExistingData.d.ts +1 -1
  149. package/dist/types/utils/{get-name.d.ts → getName.d.ts} +1 -1
  150. package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
  151. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -0
  152. package/dist/types/utils/{payout-account-util.d.ts → payoutAccountUtil.d.ts} +3 -1
  153. package/dist/types/utils/removeObjectEmptyValues.d.ts +1 -0
  154. package/dist/types/utils/trackNavigation.d.ts +1 -1
  155. package/dist/types/utils/useStateFromProp.d.ts +2 -2
  156. package/dist/types/utils/verification/helpers/{verify-id-number-helper.d.ts → verifyIdNumber.d.ts} +1 -1
  157. package/package.json +15 -15
  158. package/dist/es/en-US.instructions-C3VuzmQk.js +0 -6
  159. package/dist/es/instant-verification-method-CftkXJFn.js +0 -50
  160. package/dist/types/components/internal/Shimmer/Shimmer.d.ts +0 -2
  161. package/dist/types/utils/entity-status-util.d.ts +0 -18
  162. package/dist/types/utils/remove-object-empty-values.d.ts +0 -1
  163. /package/dist/types/components/{AutoResizer.d.ts → AutoResizer/AutoResizer.d.ts} +0 -0
  164. /package/dist/types/components/{PatriotActDisclosure.d.ts → PatriotActDisclosure/PatriotActDisclosure.d.ts} +0 -0
  165. /package/dist/types/core/{Context → context}/AuthContext/AuthContext.d.ts +0 -0
  166. /package/dist/types/core/{Context → context}/AuthContext/AuthProvider.d.ts +0 -0
  167. /package/dist/types/core/{Context → context}/AuthContext/useAuthContext.d.ts +0 -0
  168. /package/dist/types/core/{Context → context}/ConfigurationApiContext/ConfigurationApiContext.d.ts +0 -0
  169. /package/dist/types/core/{Context → context}/ConfigurationApiContext/ConfigurationApiProvider.d.ts +0 -0
  170. /package/dist/types/core/{Context → context}/ConfigurationApiContext/getEmbeddedApi.d.ts +0 -0
  171. /package/dist/types/core/{Context → context}/ConfigurationApiContext/getKycExternalApi.d.ts +0 -0
  172. /package/dist/types/core/{Context → context}/ConfigurationApiContext/useConfigurationApi.d.ts +0 -0
  173. /package/dist/types/core/{Context → context}/CoreContext.d.ts +0 -0
  174. /package/dist/types/core/{Context → context}/CoreProvider.d.ts +0 -0
  175. /package/dist/types/core/{Context → context}/ExperimentContext/ExperimentsContext.d.ts +0 -0
  176. /package/dist/types/core/{Context → context}/ExperimentContext/ExperimentsContextProvider.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
package/dist/style.css CHANGED
@@ -714,7 +714,6 @@ button[disabled]:hover {
714
714
  .adyen-kyc-dropdown-button__text--placeholder {
715
715
  color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
716
716
  font-weight: var(--adyen-sdk-text-body-font-weight, 400);
717
- line-height: calc(var(--adyen-sdk-text-body-line-height, 20px) * 1.2);
718
717
  }
719
718
 
720
719
  .adyen-kyc-dropdown-button-search {
@@ -1013,7 +1012,6 @@ button[disabled]:hover {
1013
1012
  line-height: var(--adyen-sdk-text-body-line-height, 20px);
1014
1013
  -webkit-font-smoothing: antialiased;
1015
1014
  -moz-osx-font-smoothing: grayscale;
1016
- display: block;
1017
1015
  margin: var(--adyen-sdk-spacer-000, 0px);
1018
1016
  }
1019
1017
  .adyen-kyc-typography--body {
@@ -2201,6 +2199,14 @@ fieldset {
2201
2199
  .adyen-layout-xs-only .adyen-kyc-bank-verification-widget-container--plaid-modal {
2202
2200
  height: 500px;
2203
2201
  }
2202
+ .adyen-kyc-bank-verification-widget-container--fullscreen {
2203
+ position: fixed;
2204
+ top: 0;
2205
+ left: 0;
2206
+ width: 100vw;
2207
+ height: 100vh;
2208
+ z-index: 400;
2209
+ }
2204
2210
  .adyen-kyc-bank-verification-widget-container .adyen-open-banking-sdk-widget {
2205
2211
  border: 0 transparent;
2206
2212
  height: 100%;
@@ -2295,6 +2301,70 @@ fieldset {
2295
2301
 
2296
2302
  .adyen-kyc-instant-verification-error {
2297
2303
  margin-bottom: var(--adyen-sdk-spacer-080, 20px);
2304
+ }
2305
+
2306
+ .adyen-kyc-payout-verification-method__header {
2307
+ text-align: center;
2308
+ }
2309
+ .adyen-kyc-payout-verification-method__image {
2310
+ margin-top: var(--adyen-sdk-spacer-090, 24px);
2311
+ margin-bottom: var(--adyen-sdk-spacer-120, 48px);
2312
+ }
2313
+ .adyen-kyc-payout-verification-method__image svg {
2314
+ height: 125px;
2315
+ }
2316
+ .adyen-layout-md .adyen-kyc-payout-verification-method__image svg {
2317
+ height: 150px;
2318
+ }
2319
+ .adyen-kyc-payout-verification-method__description {
2320
+ margin: var(--adyen-sdk-spacer-040, 8px) 0 var(--adyen-sdk-spacer-120, 48px);
2321
+ }.adyen-kyc-skeleton {
2322
+ width: 100%;
2323
+ height: 100%;
2324
+ background-color: var(--adyen-sdk-color-outline-secondary, #c9cdd3);
2325
+ border-radius: var(--adyen-sdk-border-radius-m, 8px);
2326
+ animation: 2s ease-in-out 0.5s infinite normal none running adyen-kyc-skeleton;
2327
+ }
2328
+
2329
+ .adyen-kyc-skeleton-circle {
2330
+ border-radius: 50%;
2331
+ }
2332
+
2333
+ .adyen-kyc-skeleton-text {
2334
+ height: 1em !important;
2335
+ margin: 0.2em 0 !important;
2336
+ }
2337
+
2338
+ @keyframes adyen-kyc-skeleton {
2339
+ 0% {
2340
+ opacity: 1;
2341
+ }
2342
+ 50% {
2343
+ opacity: 0.4;
2344
+ }
2345
+ 100% {
2346
+ opacity: 1;
2347
+ }
2348
+ }.adyen-kyc-prefer-instant-verification-method {
2349
+ display: flex;
2350
+ justify-content: center;
2351
+ flex-direction: column;
2352
+ }
2353
+ .adyen-kyc-prefer-instant-verification-method-card {
2354
+ text-align: center;
2355
+ margin-bottom: var(--adyen-sdk-spacer-070, 16px);
2356
+ border: none;
2357
+ }
2358
+ .adyen-kyc-prefer-instant-verification-method-instant-button {
2359
+ margin-bottom: var(--adyen-sdk-spacer-040, 8px);
2360
+ }
2361
+ .adyen-kyc-prefer-instant-verification-method-instant-button svg {
2362
+ height: 1.5rem;
2363
+ }
2364
+ .adyen-kyc-prefer-instant-verification-method-modal-footer {
2365
+ display: flex;
2366
+ justify-content: flex-end;
2367
+ gap: var(--adyen-sdk-spacer-040, 8px);
2298
2368
  }/* #region Borders */
2299
2369
  /* #endregion */
2300
2370
  /* #region Z-index */
@@ -2388,63 +2458,131 @@ fieldset {
2388
2458
 
2389
2459
  .adyen-kyc-card__warning {
2390
2460
  border-radius: 0 0 var(--adyen-sdk-border-radius-s, 4px) var(--adyen-sdk-border-radius-s, 4px);
2391
- }.adyen-kyc-skeleton {
2461
+ }.adyen-kyc-modal {
2462
+ border: none;
2463
+ display: flex;
2464
+ flex-direction: column;
2392
2465
  width: 100%;
2466
+ background-color: transparent;
2467
+ padding: 0;
2468
+ max-width: 680px;
2393
2469
  height: 100%;
2394
- background-color: var(--adyen-sdk-color-outline-secondary, #c9cdd3);
2395
- border-radius: var(--adyen-sdk-border-radius-m, 8px);
2396
- animation: 2s ease-in-out 0.5s infinite normal none running adyen-kyc-skeleton;
2397
- }
2398
-
2399
- .adyen-kyc-skeleton-circle {
2400
- border-radius: 50%;
2470
+ max-height: 640px;
2471
+ animation-name: enterFromBelow;
2472
+ animation-duration: 0.1s;
2473
+ animation-timing-function: ease-out;
2401
2474
  }
2402
-
2403
- .adyen-kyc-skeleton-text {
2404
- height: 1em !important;
2405
- margin: 0.2em 0 !important;
2475
+ @media screen and (max-width: 480px) {
2476
+ .adyen-kyc-modal:not(.adyen-kyc-modal--small) {
2477
+ width: 100%;
2478
+ height: 100%;
2479
+ max-width: 100%;
2480
+ max-height: 100%;
2481
+ margin: 0;
2482
+ border-radius: 0;
2483
+ }
2484
+ .adyen-kyc-modal:not(.adyen-kyc-modal--small) > .adyen-kyc-modal__wrapper {
2485
+ --adyen-kyc-modal-internal-margin: 0px;
2486
+ border-radius: 0;
2487
+ }
2406
2488
  }
2407
2489
 
2408
- @keyframes adyen-kyc-skeleton {
2490
+ @keyframes enterFromBelow {
2409
2491
  0% {
2410
- opacity: 1;
2411
- }
2412
- 50% {
2413
- opacity: 0.4;
2492
+ top: 70vh;
2414
2493
  }
2415
2494
  100% {
2416
- opacity: 1;
2495
+ top: 0;
2417
2496
  }
2418
- }.adyen-kyc-prefer-instant-verification-method {
2497
+ }
2498
+ .adyen-kyc-modal__wrapper {
2499
+ overflow: hidden;
2419
2500
  display: flex;
2420
- justify-content: center;
2421
2501
  flex-direction: column;
2502
+ --adyen-kyc-modal-internal-margin: var(--adyen-sdk-spacer-100, 32px);
2503
+ background: var(--adyen-sdk-color-background-primary, #ffffff);
2504
+ margin: var(--adyen-kyc-modal-internal-margin);
2505
+ border-radius: var(--adyen-sdk-border-radius-l, 12px);
2506
+ height: calc(100% - var(--adyen-kyc-modal-internal-margin) * 2);
2507
+ --adyen-kyc-modal-footer-height: 62px;
2422
2508
  }
2423
- .adyen-kyc-prefer-instant-verification-method-card {
2509
+
2510
+ .adyen-kyc-modal__main {
2511
+ flex-grow: 1;
2512
+ overflow-y: scroll;
2513
+ }
2514
+
2515
+ .adyen-kyc-modal__main > * {
2516
+ grid-area: stack;
2517
+ }
2518
+
2519
+ .adyen-kyc-modal::backdrop {
2520
+ background-color: var(--adyen-sdk-color-support-overlay, #00112c);
2521
+ opacity: 0.75;
2522
+ }
2523
+
2524
+ .adyen-kyc-modal-top-bar {
2525
+ position: sticky;
2526
+ top: 0;
2527
+ z-index: 1;
2528
+ padding: var(--adyen-sdk-spacer-070, 16px);
2529
+ padding-bottom: 0;
2424
2530
  display: flex;
2425
- flex-direction: column;
2426
- align-items: center;
2531
+ justify-content: space-between;
2532
+ }
2533
+
2534
+ .adyen-kyc-modal-top-bar--fixed {
2535
+ background-color: var(--adyen-sdk-color-background-primary, #ffffff);
2536
+ }
2537
+
2538
+ .adyen-kyc-modal__content,
2539
+ .adyen-kyc-modal__footer {
2427
2540
  padding: var(--adyen-sdk-spacer-070, 16px);
2428
2541
  }
2429
- .adyen-kyc-prefer-instant-verification-method-image {
2430
- width: 50%;
2431
- margin-bottom: var(--adyen-sdk-spacer-090, 24px);
2542
+
2543
+ .adyen-kyc-modal__header {
2544
+ flex: 1;
2545
+ align-content: center;
2546
+ padding: 0 var(--adyen-sdk-spacer-070, 16px);
2547
+ font-size: var(--adyen-sdk-text-title-font-size, 16px);
2548
+ font-weight: var(--adyen-sdk-text-title-font-weight, 600);
2432
2549
  }
2433
- .adyen-kyc-prefer-instant-verification-method-text {
2434
- text-align: center;
2550
+
2551
+ .adyen-kyc-modal__content {
2552
+ padding: var(--adyen-sdk-spacer-090, 24px);
2435
2553
  }
2436
- .adyen-kyc-prefer-instant-verification-method-instant-button {
2437
- margin-top: var(--adyen-sdk-spacer-070, 16px);
2554
+
2555
+ .adyen-kyc-modal__footer {
2556
+ border-top: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-primary, #dbdee2);
2557
+ padding: var(--adyen-sdk-spacer-070, 16px) var(--adyen-sdk-spacer-090, 24px);
2438
2558
  }
2439
- .adyen-kyc-prefer-instant-verification-method-instant-button svg {
2440
- height: 1.5rem;
2559
+
2560
+ .adyen-kyc-modal--small {
2561
+ max-width: 520px;
2562
+ min-height: 260px;
2563
+ height: 20vh;
2441
2564
  }
2442
- .adyen-kyc-prefer-instant-verification-method-actions {
2443
- margin-top: var(--adyen-sdk-spacer-080, 20px);
2444
- text-align: center;
2565
+
2566
+ .adyen-kyc-modal--small .adyen-kyc-modal__footer {
2567
+ padding: var(--adyen-sdk-spacer-060, 12px);
2445
2568
  }
2446
- .adyen-kyc-prefer-instant-verification-method-manual-button-darker {
2447
- color: var(--adyen-sdk-color-label-secondary, #5c687c);
2569
+
2570
+ .adyen-kyc-modal--large {
2571
+ max-width: 960px;
2572
+ height: 70vh;
2573
+ width: 70vw;
2574
+ }
2575
+
2576
+ .adyen-kyc-modal--fullscreen {
2577
+ margin: 0;
2578
+ max-width: 100vw;
2579
+ max-height: 100vh;
2580
+ width: 100vw;
2581
+ }
2582
+
2583
+ .adyen-kyc-modal-button {
2584
+ z-index: 100;
2585
+ backdrop-filter: blur(10px);
2448
2586
  }.adyen-kyc-individual .adyen-kyc-form {
2449
2587
  margin-bottom: var(--adyen-sdk-spacer-070, 16px);
2450
2588
  }.adyen-kyc-additional-information {
@@ -2698,131 +2836,6 @@ fieldset {
2698
2836
  display: flex;
2699
2837
  flex-direction: row;
2700
2838
  justify-content: end;
2701
- }.adyen-kyc-modal {
2702
- border: none;
2703
- display: flex;
2704
- flex-direction: column;
2705
- width: 100%;
2706
- background-color: transparent;
2707
- padding: 0;
2708
- max-width: 680px;
2709
- height: 100%;
2710
- max-height: 640px;
2711
- animation-name: enterFromBelow;
2712
- animation-duration: 0.1s;
2713
- animation-timing-function: ease-out;
2714
- }
2715
- @media screen and (max-width: 480px) {
2716
- .adyen-kyc-modal:not(.adyen-kyc-modal--small) {
2717
- width: 100%;
2718
- height: 100%;
2719
- max-width: 100%;
2720
- max-height: 100%;
2721
- margin: 0;
2722
- border-radius: 0;
2723
- }
2724
- .adyen-kyc-modal:not(.adyen-kyc-modal--small) > .adyen-kyc-modal__wrapper {
2725
- --adyen-kyc-modal-internal-margin: 0px;
2726
- border-radius: 0;
2727
- }
2728
- }
2729
-
2730
- @keyframes enterFromBelow {
2731
- 0% {
2732
- top: 70vh;
2733
- }
2734
- 100% {
2735
- top: 0;
2736
- }
2737
- }
2738
- .adyen-kyc-modal__wrapper {
2739
- overflow: hidden;
2740
- display: flex;
2741
- flex-direction: column;
2742
- --adyen-kyc-modal-internal-margin: var(--adyen-sdk-spacer-100, 32px);
2743
- background: var(--adyen-sdk-color-background-primary, #ffffff);
2744
- margin: var(--adyen-kyc-modal-internal-margin);
2745
- border-radius: var(--adyen-sdk-border-radius-l, 12px);
2746
- height: calc(100% - var(--adyen-kyc-modal-internal-margin) * 2);
2747
- --adyen-kyc-modal-footer-height: 62px;
2748
- }
2749
-
2750
- .adyen-kyc-modal__main {
2751
- flex-grow: 1;
2752
- overflow-y: scroll;
2753
- }
2754
-
2755
- .adyen-kyc-modal__main > * {
2756
- grid-area: stack;
2757
- }
2758
-
2759
- .adyen-kyc-modal::backdrop {
2760
- background-color: var(--adyen-sdk-color-support-overlay, #00112c);
2761
- opacity: 0.75;
2762
- }
2763
-
2764
- .adyen-kyc-modal-top-bar {
2765
- position: sticky;
2766
- top: 0;
2767
- z-index: 1;
2768
- padding: var(--adyen-sdk-spacer-070, 16px);
2769
- padding-bottom: 0;
2770
- display: flex;
2771
- justify-content: space-between;
2772
- }
2773
-
2774
- .adyen-kyc-modal-top-bar--fixed {
2775
- background-color: var(--adyen-sdk-color-background-primary, #ffffff);
2776
- }
2777
-
2778
- .adyen-kyc-modal__content,
2779
- .adyen-kyc-modal__footer {
2780
- padding: var(--adyen-sdk-spacer-070, 16px);
2781
- }
2782
-
2783
- .adyen-kyc-modal__header {
2784
- flex: 1;
2785
- align-content: center;
2786
- padding: 0 var(--adyen-sdk-spacer-070, 16px);
2787
- font-size: var(--adyen-sdk-text-title-font-size, 16px);
2788
- font-weight: var(--adyen-sdk-text-title-font-weight, 600);
2789
- }
2790
-
2791
- .adyen-kyc-modal__content {
2792
- padding: var(--adyen-sdk-spacer-090, 24px);
2793
- }
2794
-
2795
- .adyen-kyc-modal__footer {
2796
- border-top: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-primary, #dbdee2);
2797
- padding: var(--adyen-sdk-spacer-070, 16px) var(--adyen-sdk-spacer-090, 24px);
2798
- }
2799
-
2800
- .adyen-kyc-modal--small {
2801
- max-width: 520px;
2802
- min-height: 260px;
2803
- height: 20vh;
2804
- }
2805
-
2806
- .adyen-kyc-modal--small .adyen-kyc-modal__footer {
2807
- padding: var(--adyen-sdk-spacer-060, 12px);
2808
- }
2809
-
2810
- .adyen-kyc-modal--large {
2811
- max-width: 960px;
2812
- height: 70vh;
2813
- width: 70vw;
2814
- }
2815
-
2816
- .adyen-kyc-modal--fullscreen {
2817
- margin: 0;
2818
- max-width: 100vw;
2819
- max-height: 100vh;
2820
- width: 100vw;
2821
- }
2822
-
2823
- .adyen-kyc-modal-button {
2824
- z-index: 100;
2825
- backdrop-filter: blur(10px);
2826
2839
  }/* #region Borders */
2827
2840
  /* #endregion */
2828
2841
  /* #region Z-index */
@@ -3402,36 +3415,6 @@ fieldset {
3402
3415
  }
3403
3416
  .adyen-kyc-entity-status--text {
3404
3417
  margin-top: var(--adyen-sdk-spacer-020, 4px);
3405
- }@keyframes adyen-kyc-shimmer {
3406
- 0% {
3407
- background-color: var(--adyen-sdk-color-background-tertiary, #eeeff1);
3408
- }
3409
- 50% {
3410
- background-color: var(--adyen-sdk-color-background-quaternary, #c0c5cc);
3411
- }
3412
- 100% {
3413
- background-color: var(--adyen-sdk-color-background-tertiary, #eeeff1);
3414
- }
3415
- }
3416
- .adyen-kyc-shimmer {
3417
- animation: adyen-kyc-shimmer 2s linear infinite;
3418
- background-color: var(--adyen-sdk-color-background-secondary, #f7f7f8);
3419
- border-radius: var(--adyen-sdk-border-radius-s, 4px);
3420
- position: relative;
3421
- }
3422
- .adyen-kyc-shimmer + .adyen-kyc-shimmer {
3423
- margin-top: var(--adyen-sdk-spacer-070, 16px);
3424
- }
3425
- .adyen-kyc-shimmer--small + .adyen-kyc-shimmer--large {
3426
- margin-top: var(--adyen-sdk-spacer-040, 8px);
3427
- }
3428
- .adyen-kyc-shimmer--large {
3429
- height: 40px;
3430
- width: 100%;
3431
- }
3432
- .adyen-kyc-shimmer--small {
3433
- height: 24px;
3434
- width: 40%;
3435
3418
  }.adyen-kyc-introduction {
3436
3419
  display: flex;
3437
3420
  flex-direction: column;
@@ -1,2 +1 @@
1
- declare function AccountSetupRejected(): import("preact").JSX.Element;
2
- export default AccountSetupRejected;
1
+ export declare function AccountSetupRejected(): import("preact").JSX.Element;
@@ -2,5 +2,5 @@ import './BankDocument.scss';
2
2
  import type { BankDocumentProps, BankDocumentSchema } from './types';
3
3
  export declare const bankDocumentFields: Array<keyof BankDocumentSchema>;
4
4
  declare function BankDocument(props: BankDocumentProps): import("preact").JSX.Element;
5
- export declare const BankDocumentComponent: typeof BankDocument;
5
+ export declare const MemoizedBankDocument: typeof BankDocument;
6
6
  export {};
@@ -38,9 +38,10 @@ export declare enum BankDocumentRequirement {
38
38
  ACCOUNT_NAME_WITH_TRUST = "bankAccountNameWithTrust",
39
39
  ACCOUNT_NUMBER_OR_IBAN = "accountNumberOrIbanVisible",
40
40
  ACCOUNT_NUMBER = "accountNumberVisible",
41
- ROUTING_NUMBER = "routingNumberVisible",
42
- DATE_ON_DOCUMENT = "issuedInTheLastXMonths",
41
+ ACCOUNT_NUMBER_FULL_OR_PARTIAL = "accountNumberFullOrPartialVisible",
42
+ DATE_ON_DOCUMENT = "datedInTheLastXMonths",
43
43
  COUNTRY_OF_BANK = "showsCountryOfBankAccount",
44
44
  OFFICIAL_DOCUMENT = "hasToBeOfficialDocumentFromBank",
45
- STAMP_OR_SIGNATURE = "hasBankStampOrBankSignature"
45
+ STAMP_OR_SIGNATURE = "hasBankStampOrBankSignature",
46
+ HIGH_RESOLUTION_CHECK = "highResolutionCheck"
46
47
  }
@@ -3,6 +3,4 @@ import type { AccountVerificationSchema, InstantVerificationErrorNotification, P
3
3
  export declare const accountVerificationFields: Array<keyof AccountVerificationSchema>;
4
4
  export declare const InstantVerificationErrorContext: import("preact").Context<InstantVerificationErrorNotification>;
5
5
  export declare const useInstantVerificationErrorNotification: (notificationVisibilityDuration: number) => readonly [InstantVerificationErrorNotification, import("preact/hooks").Dispatch<import("preact/hooks").StateUpdater<InstantVerificationErrorNotification>>];
6
- declare function BankVerification(props: PayoutAccountVerificationProps): import("preact").JSX.Element;
7
- declare const _default: typeof BankVerification;
8
- export default _default;
6
+ export declare function BankVerification(props: PayoutAccountVerificationProps): import("preact").JSX.Element;
@@ -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 { 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 { Currency } from '../../core/models/currency';
7
6
  import type { PayoutDetailsProps } from '../PayoutDetails/types';
@@ -31,7 +30,7 @@ export interface PayoutAccountVerificationProps extends BaseInnerFormProps<Accou
31
30
  formIsActive: boolean;
32
31
  refreshLegalEntity?(): Promise<LegalEntity>;
33
32
  createTrustedTransferInstrument: PayoutDetailsProps['createTrustedTransferInstrument'];
34
- handleBankVerificationError?: (errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>) => Promise<BankVerificationErrorResponse>;
33
+ handleBankVerificationError?: PayoutDetailsProps['handleBankVerificationError'];
35
34
  }
36
35
  export type CountryBankVerificationVendors = Partial<Record<CountryCode, string>>;
37
36
  export interface BankVerificationVendor {
@@ -1,3 +1,3 @@
1
1
  import './BankVerificationWidget.scss';
2
2
  import { type BankVerificationWidgetProps } from './types';
3
- export declare function BankVerificationWidget({ url, vendor, setBankVerificationError, setHideVerificationWidget, onBack, retrieveBankAccountInfo, createTrustedTransferInstrument, handleBankVerificationError, }: BankVerificationWidgetProps): import("preact").JSX.Element;
3
+ export declare function BankVerificationWidget({ url, vendor, setBankVerificationError, setHideVerificationWidget, onBack, retrieveBankAccountInfo, createTrustedTransferInstrument, handleBankVerificationError, fullscreen, }: BankVerificationWidgetProps): import("preact").JSX.Element;
@@ -17,7 +17,7 @@ export type AccountVerificationCallbackErrorObject<T extends string = string> =
17
17
  export type VerifiedAccounts = {
18
18
  accounts: AccountVerificationResponse[];
19
19
  };
20
- export default class IFrameWidget {
20
+ export declare class IFrameWidget {
21
21
  private readonly vendor;
22
22
  private readonly iframeUrl;
23
23
  private readonly iframeElement;
@@ -2,7 +2,6 @@ import type { Dispatch, StateUpdater } from 'preact/hooks';
2
2
  import type { AccountVerificationResponse, InstantVerificationErrorNotification } from '../../types';
3
3
  import type { AccountVerificationCallbackErrorObject } from './iframeWidget';
4
4
  import type { PayoutDetailsProps } from '../../../PayoutDetails/types';
5
- import type { BankVerificationErrorResponse } from '../../../../core/models/api/trusted-transferInstrument';
6
5
  export declare enum VerificationWidgetCallbackAction {
7
6
  HANDLE_EXCEPTION = "handle_exception",
8
7
  VERIFICATION_SUCCESS = "verification_success",
@@ -33,11 +32,12 @@ export type VerificationWidgetCallback = (payload: SuccessPayload | ExceptionPay
33
32
  export type BankVerificationWidgetProps = {
34
33
  url: string;
35
34
  vendor: string;
35
+ fullscreen?: boolean;
36
36
  setBankVerificationError: Dispatch<StateUpdater<InstantVerificationErrorNotification | null>>;
37
37
  setHideVerificationWidget: Dispatch<StateUpdater<boolean>>;
38
38
  onBack?: () => void;
39
39
  retrieveBankAccountInfo: (res: AccountVerificationResponse) => void;
40
40
  createTrustedTransferInstrument: PayoutDetailsProps['createTrustedTransferInstrument'];
41
- handleBankVerificationError?: (errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>) => Promise<BankVerificationErrorResponse>;
41
+ handleBankVerificationError?: PayoutDetailsProps['handleBankVerificationError'];
42
42
  };
43
43
  export {};
@@ -10,7 +10,8 @@ import type { BusinessRegistrationNumberFieldSchema } from '../internal/Business
10
10
  import type { CountryFieldSchema } from '../internal/CountryField/types';
11
11
  import type { StateFieldSchema } from '../internal/StateField/types';
12
12
  import type { TaxInformationFieldSchema } from '../internal/TaxInformationField/types';
13
- export type BasicInformationSchema = CountryFieldSchema & BusinessNameFieldSchema & StateFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema;
13
+ import type { CountryOfGoverningLawFieldSchema } from '../internal/CountryOfGoverningLawField/types';
14
+ export type BasicInformationSchema = CountryFieldSchema & BusinessNameFieldSchema & StateFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema & CountryOfGoverningLawFieldSchema;
14
15
  export interface BasicInformationProps extends BaseInnerFormProps<BasicInformationSchema> {
15
16
  country: CountryCode;
16
17
  companyType: CompanyTypesValue | undefined;
@@ -8,7 +8,7 @@ export declare const getForms: (country: CountryCode) => {
8
8
  readonly formName: "basicInformationFormName";
9
9
  readonly formHeading: "basicInformationFormHeading";
10
10
  readonly formDescription: "basicInformationFormDescription";
11
- readonly fields: ("businessName" | "country" | "stateOrProvince" | keyof import("../internal/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../internal/TaxInformationField/types").TaxInformationFieldSchema)[];
11
+ readonly fields: ("businessName" | "country" | "stateOrProvince" | keyof import("../internal/CountryOfGoverningLawField/types").CountryOfGoverningLawFieldSchema | keyof import("../internal/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../internal/TaxInformationField/types").TaxInformationFieldSchema)[];
12
12
  };
13
13
  readonly companyStructure: {
14
14
  readonly formId: "companyStructure";
@@ -38,6 +38,6 @@ export declare const useSelectionOptions: (legalEntityResponse: ExistingLegalEnt
38
38
  *
39
39
  */
40
40
  export declare const mapLegalArrangementOptionToCompanyTypesValue: (legalArrangement: LegalArrangementOption | undefined) => CompanyTypesValue | undefined;
41
- export declare const determineOrganizationTypeToUpdate: (defaultLegalArrangement?: LegalArrangementOption, targetLegalArrangement?: LegalArrangementOption, currentCompanyTypeValue?: CompanyTypesValue) => CompanyTypesValue | "" | undefined;
41
+ export declare const determineOrganizationTypeToUpdate: (targetLegalArrangement?: LegalArrangementOption, currentCompanyTypeValue?: CompanyTypesValue) => CompanyTypesValue | undefined;
42
42
  export declare const getDefaultLegalArrangementOrSuborganizationType: (legalEntityResponse: ExistingLegalEntity | undefined, accountHolder: AccountHolderOption | undefined) => LegalArrangementOption | undefined;
43
43
  export declare const getTargetLegalEntityType: (businessType: BusinessType | undefined, legalArrangement: LegalArrangementOption | undefined, trusteeType: TrusteeType | undefined, currentLegalEntityType: LegalEntityType | undefined) => LegalEntityType;
@@ -22,6 +22,7 @@ export declare const COUNTRIES_THAT_USES_UEN_OR_GST: CountryCode[];
22
22
  * @description These are the countries that currently have a search provider that requires their tax information (TIN, VAT, etc) to search and verify details.
23
23
  */
24
24
  export declare const COUNTRIES_USING_COMPANY_SEARCH: readonly CountryCode[];
25
+ export declare const COUNTRIES_WITH_GOVERNING_LAW: readonly CountryCode[];
25
26
  export declare const COUNTRIES_REQUIRING_FINANCIAL_INFORMATION: readonly CountryCode[];
26
27
  export declare const COUNTRIES_REQUIRING_E_INVOICING_CODE: readonly CountryCode[];
27
28
  export declare const rules: FormRules<CompanySchema | SolePropSchema | BusinessDetailsSchema>;
@@ -2,5 +2,5 @@ import type { CompanyNameAndCountryProps, CompanyNameAndCountrySchema } from './
2
2
  export declare const countryWithGoverningLawFields: Array<keyof CompanyNameAndCountrySchema>;
3
3
  export declare const companyNameAndCountryFields: Array<keyof CompanyNameAndCountrySchema>;
4
4
  declare function CompanyNameAndCountry(props: CompanyNameAndCountryProps): import("preact").JSX.Element;
5
- export declare const CompanyNameAndCountryComponent: typeof CompanyNameAndCountry;
5
+ export declare const MemoizedCompanyNameAndCountry: typeof CompanyNameAndCountry;
6
6
  export {};
@@ -1,4 +1,4 @@
1
1
  import type { ConstitutionalDocumentProps } from './types';
2
2
  declare function ConstitutionalDocumentUpload({ id, legalEntityType, ...props }: ConstitutionalDocumentProps): import("preact").JSX.Element;
3
- export declare const ConstitutionalDocumentComponent: typeof ConstitutionalDocumentUpload;
3
+ export declare const MemoizedConstitutionalDocument: typeof ConstitutionalDocumentUpload;
4
4
  export {};
@@ -1,5 +1,5 @@
1
- import type { Experiments } from '../../core/Context/ExperimentContext/types';
2
- import type { Settings } from '../../core/Context/SettingsContext/types';
1
+ import type { Experiments } from '../../core/context/ExperimentContext/types';
2
+ import type { Settings } from '../../core/context/SettingsContext/types';
3
3
  import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
4
4
  import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
5
5
  import type { TaskIdentifier } from '../../stores/taskStore/taskStore';
@@ -1,2 +1,2 @@
1
1
  import { type BusinessDetailsDropinProps } from './types';
2
- export declare function BusinessDetailsDropinComponent({ country, problems, legalEntityResponse, isTargetLegalEntityType, parentLegalEntity, trackingConfig, capabilities, taskName, hideDropinLayout, homeButtonLabel, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, }: BusinessDetailsDropinProps): import("preact").JSX.Element;
2
+ export declare function BusinessDetailsDropin({ country, problems, legalEntityResponse, isTargetLegalEntityType, parentLegalEntity, trackingConfig, capabilities, taskName, hideDropinLayout, homeButtonLabel, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, }: BusinessDetailsDropinProps): import("preact").JSX.Element;
@@ -3,7 +3,7 @@ import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/
3
3
  import type { EntityProblems } from '../../../core/models/errors/entity-problems';
4
4
  import type { FormModelWithValidity } from '../../../core/models/form';
5
5
  import type { BaseTrackingPayload } from '../../../core/utils';
6
- import type Language from '../../../language/Language';
6
+ import type { Language } from '../../../language/Language';
7
7
  import type { DocumentApiUtils } from '../../../utils/api/documentUtils';
8
8
  import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../BusinessDetails/types';
9
9
  import type { AccountHolderOption } from '../../internal/AccountHolder/types';
@@ -11,6 +11,7 @@ import type { LoadingStatus } from '../../internal/LoaderWrapper/constants';
11
11
  import type { ToastOptions } from '../../internal/Toast/types';
12
12
  import type { TrustMember } from '../../TrustMembers/types';
13
13
  import type { DropinAPIHandlers, DropinProps } from '../types';
14
+ import type { ExperimentName } from '../../../core/context/ExperimentContext/types';
14
15
  export declare enum BusinessDetailsEvents {
15
16
  TASK_START = "BusinessDetails_TaskStarted",
16
17
  TASK_SUBMIT = "BusinessDetails_TaskSubmitted",
@@ -64,4 +65,5 @@ export interface SubmitProps {
64
65
  handleUpdateLegalEntity: Required<DropinAPIHandlers>['handleUpdateLegalEntity'];
65
66
  onExternalSubmit: ((data: BusinessDetailsSchema) => void) | undefined;
66
67
  accountHolder?: AccountHolderOption;
68
+ isExperimentEnabled: (key: ExperimentName) => boolean;
67
69
  }
@@ -1,13 +1,16 @@
1
1
  import type { OuterFormLabels } from '../../../core/hooks/useForm/types';
2
2
  import type { ParseConfiguration } from '../../../core/hooks/useScenarioConfiguration';
3
3
  import type { FormModelWithValidity } from '../../../core/models/form';
4
- import type Language from '../../../language/Language';
4
+ import type { Language } from '../../../language/Language';
5
+ import type { BasicInformationSchema } from '../../BasicInformation/types';
5
6
  import type { BusinessDetailsSchema } from '../../BusinessDetails/types';
6
7
  import type { SubmitDocumentsProps, SubmitProps } from './types';
8
+ import type { ExperimentName } from '../../../core/context/ExperimentContext/types';
7
9
  export declare const parseConfiguration: ParseConfiguration;
8
10
  export declare const canSubmit: (data: BusinessDetailsSchema) => boolean;
9
11
  export declare const isDocumentsRequired: (forms: FormModelWithValidity[]) => boolean;
10
12
  export declare const removeConditionalForms: (forms: FormModelWithValidity[], isSkippingCompanyStructure: boolean) => FormModelWithValidity[];
11
- export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], labels: OuterFormLabels<BusinessDetailsSchema>, i18n: Language) => {};
13
+ export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], labels: OuterFormLabels<BusinessDetailsSchema>, i18n: Language, isExperimentEnabled: (key: ExperimentName) => boolean) => {};
12
14
  export declare function submitDocuments({ data, legalEntity, forms, documentUtils, baseTrackingPayload, }: SubmitDocumentsProps): Promise<void>;
13
- export declare function submit({ data, legalEntityResponse, baseTrackingPayload, forms, problems, documentUtils, i18n, setLoadingStatus, setProblems, showToast, clearToasts, handleUpdateLegalEntity, onExternalSubmit, accountHolder, }: SubmitProps): Promise<void>;
15
+ export declare function submit({ data, legalEntityResponse, baseTrackingPayload, forms, problems, documentUtils, i18n, setLoadingStatus, setProblems, showToast, clearToasts, handleUpdateLegalEntity, onExternalSubmit, accountHolder, isExperimentEnabled, }: SubmitProps): Promise<void>;
16
+ export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
@@ -1,2 +1,2 @@
1
1
  import type { CompanyDropinProps } from './types';
2
- export declare function CompanyDropinComponent({ country: parentCountry, problems: propProblems, hideDropinLayout, taskName, capabilities, homeButtonLabel, taskType, trackingConfig, associationDetail, parentLegalEntity, legalEntityResponse, onSubmit: onExternalSubmit, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleCreateLegalEntity, handleUpdateLegalEntity, handleHomeClick, onChange, trustedFields, }: CompanyDropinProps): import("preact").JSX.Element;
2
+ export declare function CompanyDropin({ country: parentCountry, problems: propProblems, hideDropinLayout, taskName, capabilities, homeButtonLabel, taskType, trackingConfig, associationDetail, parentLegalEntity, legalEntityResponse, onSubmit: onExternalSubmit, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleCreateLegalEntity, handleUpdateLegalEntity, handleHomeClick, onChange, trustedFields, }: CompanyDropinProps): import("preact").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { DropinComposerProps } from '../types';
2
- export declare function DropinComposerComponent({ legalEntityResponse, onSubmit, onChange, onLoad, onNavigate, ...args }: DropinComposerProps): import("preact").JSX.Element;
2
+ export declare function DropinComposer({ legalEntityResponse, onSubmit, onChange, onLoad, onNavigate, ...args }: DropinComposerProps): import("preact").JSX.Element;