@adyen/kyc-components 3.73.0 → 3.74.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 (262) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Bkk7q6mo.js → AcceptTermsOfServiceComponent-CLMnW4dR.js} +17 -20
  2. package/dist/{AccountSetupRejected-C7ecEaSn.js → AccountSetupRejected-ChyPGfVY.js} +2 -2
  3. package/dist/{Avatar-D6yqIy0x.js → Avatar-DhuHCZW6.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-BiRuNJ8n.js → BusinessDetailsDropin-Wq_qwIs6.js} +66 -119
  5. package/dist/{BusinessFinancingComponent-CSvynjpm.js → BusinessFinancingComponent-DLpXuuS5.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-CXRE15GX.js → BusinessFinancingDropin-C7mlGddn.js} +14 -14
  7. package/dist/{BusinessFinancingPage-r0Iqfbxa.js → BusinessFinancingPage-BZD0KZ30.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-CZ_FaDIH.js → BusinessTypeSelectionPage-D_BhkX09.js} +5 -5
  9. package/dist/{Confirm-BHr6mMiG.js → Confirm-C6u9f40H.js} +3 -3
  10. package/dist/{ContractViewer-oBZZ8bn4.js → ContractViewer-CLOTCDj6.js} +2 -2
  11. package/dist/{CreateIndividualComponent-CVdGHf1d.js → CreateIndividualComponent-Z8jM6wlM.js} +4 -4
  12. package/dist/{CreateTransferInstrumentComponent-CmIi26ll.js → CreateTransferInstrumentComponent-Chyz5t9e.js} +3 -3
  13. package/dist/{CustomerSupport-ZjylSyg9.js → CustomerSupport-BFgkd8QN.js} +6 -6
  14. package/dist/{DebugModal-CZzPXOzG.js → DebugModal-_WYzDBmQ.js} +9 -9
  15. package/dist/{DecisionMakerDetailsPage-okutG9UE.js → DecisionMakerDetailsPage-CuqP9R4z.js} +4 -4
  16. package/dist/{DecisionMakers-BMlKNI5V.js → DecisionMakers-C37UFHhZ.js} +6 -6
  17. package/dist/{EmbeddedStatus-43EnE3ZK.js → EmbeddedStatus-CdEVZYPm.js} +3 -3
  18. package/dist/{FormEndState-Ba2NHk5y.js → FormEndState-CxdNlAIB.js} +2 -2
  19. package/dist/{FormFlow-Cdck7u4x.js → FormFlow-CKIqMX1G.js} +5 -5
  20. package/dist/{FormNavigation-W6RbnNko.js → FormNavigation-CemrYfEO.js} +2 -2
  21. package/dist/{FormWrapper-qqC_-UNQ.js → FormWrapper-v6p3OjH8.js} +7 -7
  22. package/dist/{IndividualOnfidoDropin-IrOHNmTf.js → IndividualOnfidoDropin-C0vQPpj9.js} +326 -56
  23. package/dist/{Introduction-o-hWV0oZ.js → Introduction-BtHjo6V8.js} +4 -4
  24. package/dist/{LegalRepresentativeDetailsPage-CCl4rrb1.js → LegalRepresentativeDetailsPage-Dbigd1If.js} +4 -4
  25. package/dist/{ManageIndividualComponent-B7fSfP2F.js → ManageIndividualComponent-C6sqQx17.js} +4 -4
  26. package/dist/{ManagePCIComponent-r4dqzD7_.js → ManagePCIComponent-B8d5dB4z.js} +4 -4
  27. package/dist/{ManageTermsOfServiceComponent-D8e3dSKy.js → ManageTermsOfServiceComponent-BIxw0zQy.js} +4 -4
  28. package/dist/{ManageTransferInstrumentComponent-BJO-PHo6.js → ManageTransferInstrumentComponent-BSgpC5bq.js} +8 -8
  29. package/dist/{MaybeModal-O3q5S9NK.js → MaybeModal-BcVPHBkn.js} +2 -2
  30. package/dist/{Modal-TYAtBE9x.js → Modal-DTnFAiyV.js} +2 -2
  31. package/dist/{OnboardingDropinComponent-Bxh1PgLV.js → OnboardingDropinComponent-BD7R4EAM.js} +35 -35
  32. package/dist/{PayoutDetailsDropin-CP4QFI8I.js → PayoutDetailsDropin-CsYSGkaY.js} +11 -11
  33. package/dist/{PayoutDetailsPage-DIH-wJhK.js → PayoutDetailsPage-DWRzhf_d.js} +4 -4
  34. package/dist/{ProviderButton-AD6AyoHf.js → ProviderButton-C6WkTlc_.js} +2 -2
  35. package/dist/{Review-DDa73Jju.js → Review-7cYeLymE.js} +4 -4
  36. package/dist/{RootBusinessDetailsPage-AH2m5bxv.js → RootBusinessDetailsPage-DHc2VzBi.js} +4 -4
  37. package/dist/{RootIndividualDetailsPage-BL3wAc4S.js → RootIndividualDetailsPage-B2qt5kcJ.js} +4 -4
  38. package/dist/{SignPCIComponent-jYVMnZY2.js → SignPCIComponent-nRaTRedl.js} +8 -8
  39. package/dist/{SingpassSelection-CVSZcYyN.js → SingpassSelection-DkEsbjKT.js} +2 -2
  40. package/dist/{SoleProprietorshipPage-DalSBVxC.js → SoleProprietorshipPage-DslyPkTx.js} +4 -4
  41. package/dist/{SourceOfFunds.module-BQK0zkg8.js → SourceOfFunds.module-A2yWSa88.js} +2 -2
  42. package/dist/{SourceOfFundsPage-DiS_X7b1.js → SourceOfFundsPage-BvZrOzaf.js} +18 -18
  43. package/dist/{StepProgressIndicator-B4zX-D3p.js → StepProgressIndicator-BoBDXDd9.js} +2 -2
  44. package/dist/{StoreProvider-BvP9cxL2.js → StoreProvider-CVp18VTs.js} +859 -3660
  45. package/dist/{TaskItemStatus-DkPVRqFs.js → TaskItemStatus-BS4qja43.js} +2 -2
  46. package/dist/{TaxReportingDropin-g3d5fL-x.js → TaxReportingDropin-J7OE045h.js} +8 -8
  47. package/dist/{TileGroup-CYlkz3ZJ.js → TileGroup-D7oTsDlc.js} +2 -2
  48. package/dist/{TrustDetailsPage-obnK_JcV.js → TrustDetailsPage-p2Gc2Nm9.js} +12 -12
  49. package/dist/{TrustMemberCompanyPage-CSJwRLMU.js → TrustMemberCompanyPage-CgOQhJqj.js} +5 -5
  50. package/dist/{TrustMemberIndividualPage-C7tI4NA2.js → TrustMemberIndividualPage-BFwWkz5-.js} +4 -4
  51. package/dist/{UnincorporatedPartnershipIndividualPage-BioVhYr_.js → UnincorporatedPartnershipIndividualPage-BUVKFlUN.js} +5 -5
  52. package/dist/{UnincorporatedPartnershipMemberCompanyPage-C22uQvbk.js → UnincorporatedPartnershipMemberCompanyPage-DpxQANYm.js} +6 -6
  53. package/dist/{VerificationErrorAlert-BF5XUN6V.js → VerificationErrorAlert-DeXDmoKx.js} +2 -2
  54. package/dist/{ViewVerificationStatusComponent-T5K1PtFS.js → ViewVerificationStatusComponent-MhLPFvzE.js} +3 -3
  55. package/dist/adyen-business-financing.js +24 -27
  56. package/dist/adyen-individual.js +18 -21
  57. package/dist/adyen-kyc-components.js +28 -31
  58. package/dist/adyen-manage-individual.js +18 -21
  59. package/dist/adyen-manage-pci.js +18 -21
  60. package/dist/adyen-manage-terms-of-service.js +18 -21
  61. package/dist/adyen-manage-transfer-instruments.js +27 -30
  62. package/dist/adyen-onboarding.js +18 -23
  63. package/dist/adyen-sign-pci.js +26 -29
  64. package/dist/adyen-terms-of-service.js +18 -27
  65. package/dist/adyen-transfer-instrument.js +26 -29
  66. package/dist/adyen-verification-status.js +30 -33
  67. package/dist/{bg-BG-CZRQZyXO.js → bg-BG-BzeiDl-e.js} +65 -20
  68. package/dist/{cs-CZ-BbUFgifZ.js → cs-CZ-4Tk67nmO.js} +63 -18
  69. package/dist/{css-BaETlS0u.js → css-3-2ok6vp.js} +2 -2
  70. package/dist/{da-DK-CP71BFS7.js → da-DK-CN3Rc5da.js} +63 -18
  71. package/dist/{de-DE-DY56JGZt.js → de-DE-GaynF_xB.js} +63 -18
  72. package/dist/{documentUtils-2X_myXDi.js → documentUtils-BkxL-yDV.js} +2 -2
  73. package/dist/{dropinUtils-ZxnWDnZL.js → dropinUtils--qLgxRzC.js} +2 -2
  74. package/dist/{el-GR-CnENEp5c.js → el-GR-C3tN9AFZ.js} +64 -19
  75. package/dist/{es-ES-dV62vQcV.js → es-ES-9Q6u4x6u.js} +64 -19
  76. package/dist/{et-EE-BBgAN3Wc.js → et-EE-jHAEJC5c.js} +63 -18
  77. package/dist/{fi-FI-DVmGWIxn.js → fi-FI-DH5DphLd.js} +64 -19
  78. package/dist/{fr-FR-VwG8Rg7R.js → fr-FR-DCboO9VH.js} +63 -18
  79. package/dist/{getFieldsWithExistingData-D7k0q9nX.js → getFieldsWithExistingData-CUt8CT2O.js} +2 -2
  80. package/dist/{hasDataChanged-HQ34LD7s.js → hasDataChanged-YBvRj2cb.js} +2 -2
  81. package/dist/{hr-HR-Bs_lxjxQ.js → hr-HR-333ODlHZ.js} +64 -19
  82. package/dist/{hu-HU-8dVSiOZM.js → hu-HU-CUNG9bik.js} +63 -18
  83. package/dist/{individualFormConfig-C4JOvJeg.js → individualFormConfig-C-Rfyf2w.js} +15 -7
  84. package/dist/{it-IT-DvwWMDl1.js → it-IT-CXxD91gu.js} +66 -21
  85. package/dist/{ja-JP-BB6zzyEg.js → ja-JP-1qp81W1I.js} +64 -19
  86. package/dist/{json-DAyfNEwU.js → json-Bq6i9wUb.js} +2 -2
  87. package/dist/{localizeDateString-HsIetwBG.js → localizeDateString-BTXiPsls.js} +2 -2
  88. package/dist/{lt-LT-BQtNojlb.js → lt-LT-vQmxFgVn.js} +63 -18
  89. package/dist/{lv-LV-BpEw5uN5.js → lv-LV-Ds10XQ8q.js} +65 -20
  90. package/dist/{mapFinancialReportsToFinancialInformation-yegBHG3w.js → mapFinancialReportsToFinancialInformation-yQCZSzYr.js} +2 -2
  91. package/dist/{mapTransferInstrumentToPayoutAccount-ChLSi-YS.js → mapTransferInstrumentToPayoutAccount-CTCkqxO0.js} +2 -2
  92. package/dist/{nl-NL-vBEBXTP-.js → nl-NL-BsDTOkW4.js} +63 -18
  93. package/dist/{no-NO-BFhTqUoD.js → no-NO-BpyiF6sI.js} +64 -19
  94. package/dist/{omitObscuredFieldsIfUnchanged-BzlcM6To.js → omitObscuredFieldsIfUnchanged-CmkIAvcd.js} +2 -2
  95. package/dist/{pl-PL-dsGZvzVf.js → pl-PL-BqA3pc6p.js} +63 -18
  96. package/dist/{plaintext-DcsV3Ez0.js → plaintext-3cVe_Y6O.js} +2 -2
  97. package/dist/{process-field-configurations-C0gNZpp3.js → process-field-configurations-Ct9RR_nO.js} +2 -2
  98. package/dist/{processValidationErrors-DtcBtOKr.js → processValidationErrors-paTCkgix.js} +2 -2
  99. package/dist/{pt-PT-BB38pZbh.js → pt-PT-DSry7yG3.js} +64 -19
  100. package/dist/resolveEnvironment-Ck_KiOeJ.js +84 -0
  101. package/dist/{ro-RO-BgxNxoxJ.js → ro-RO-r8myUMxM.js} +65 -20
  102. package/dist/{rules-DEF0eIW9.js → rules-9ttCIvV4.js} +17 -5
  103. package/dist/{sk-SK-rtDeCztl.js → sk-SK-Dy7mKbdU.js} +65 -20
  104. package/dist/{sl-SI-qoGCwUdU.js → sl-SI-L3YffGqX.js} +63 -18
  105. package/dist/style.css +4 -0
  106. package/dist/styles-CLV89_hH.js +4 -0
  107. package/dist/{sv-SE-f1T7PBSW.js → sv-SE-BtKMAZPD.js} +64 -19
  108. package/dist/types/api/address/address.types.d.ts +17 -0
  109. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  110. package/dist/types/api/address/useRetrieveAddress.d.ts +1 -2
  111. package/dist/types/api/address/useSearchAddress.d.ts +13 -14
  112. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
  113. package/dist/types/api/check/useCheck.d.ts +5 -4
  114. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +15 -0
  115. package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +1 -15
  116. package/dist/types/api/companySearch/companySearch.types.d.ts +18 -0
  117. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -18
  118. package/dist/types/api/configurations/configurations.types.d.ts +9 -0
  119. package/dist/types/api/configurations/useScenarios.d.ts +14 -22
  120. package/dist/types/api/configurations/useSupportedCountries.d.ts +2 -2
  121. package/dist/types/api/configurations/useTaskTypes.d.ts +2 -2
  122. package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
  123. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  124. package/dist/types/api/datasets/datasets.types.d.ts +6 -0
  125. package/dist/types/api/datasets/useLegalForms.d.ts +2 -7
  126. package/dist/types/api/datasets/useNaceCodes.d.ts +2 -2
  127. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +2 -2
  128. package/dist/types/api/entityVerifications/entityVerifications.types.d.ts +15 -0
  129. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -17
  130. package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +6 -0
  131. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +3 -7
  132. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +7 -7
  133. package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
  134. package/dist/types/api/legalEntity/useLegalEntity.d.ts +19 -19
  135. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
  136. package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +7 -0
  137. package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -5
  138. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  139. package/dist/types/api/pciTemplate/pciTemplate.types.d.ts +9 -0
  140. package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +2 -4
  141. package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +7 -9
  142. package/dist/types/api/pciTemplate/usePciStatus.d.ts +4 -9
  143. package/dist/types/api/pciTemplate/usePciTemplate.d.ts +2 -2
  144. package/dist/types/api/pciTemplate/useSignPci.d.ts +2 -2
  145. package/dist/types/api/providersConfiguration/providersConfiguration.types.d.ts +9 -0
  146. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +3 -13
  147. package/dist/types/api/queryKeys.d.ts +1 -1
  148. package/dist/types/api/taskStatus/taskStatus.types.d.ts +4 -0
  149. package/dist/types/api/taskStatus/useTaskStatus.d.ts +0 -3
  150. package/dist/types/api/taxClassification/taxClassification.types.d.ts +2 -0
  151. package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -2
  152. package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -0
  153. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +3 -10
  154. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +9 -8
  155. package/dist/types/api/termsOfService/useTermsOfService.d.ts +10 -3
  156. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +2 -2
  157. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
  158. package/dist/types/api/tinVerification/tinVerification.types.d.ts +4 -0
  159. package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -4
  160. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +25 -0
  161. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -14
  162. package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +3 -6
  163. package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -6
  164. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -9
  165. package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +4 -0
  166. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -6
  167. package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
  168. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -6
  169. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +4 -7
  170. package/dist/types/api/validation/validation.types.d.ts +8 -0
  171. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -1
  172. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +1 -2
  173. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
  174. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -2
  175. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
  176. package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
  177. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
  178. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  179. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  180. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  181. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
  182. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
  183. package/dist/types/components/Business/forms/BusinessSelection/{BusinessInformationCard.d.ts → BusinessInformationCard/BusinessInformationCard.d.ts} +2 -2
  184. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
  185. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +1 -1
  186. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -1
  187. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
  188. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -1
  189. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
  190. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +2 -2
  191. package/dist/types/components/Individual/fields/LocalizedNameFields/LocalizedNameFields.d.ts +2 -0
  192. package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +14 -0
  193. package/dist/types/components/Individual/fields/NameFields/types.d.ts +23 -0
  194. package/dist/types/components/Individual/fields/NameFields/validate.d.ts +4 -0
  195. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -1
  196. package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -0
  197. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +2 -1
  198. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -0
  199. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +1 -1
  200. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +1 -3
  201. package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaireModalContent.d.ts +1 -0
  202. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +5 -0
  203. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +1 -3
  204. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +5 -0
  205. package/dist/types/components/Individual/mapping/mapLocalization.d.ts +3 -0
  206. package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
  207. package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
  208. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  209. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
  210. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
  211. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  212. package/dist/types/core/models/api/contracts.d.ts +1 -12
  213. package/dist/types/core/models/api/data-set.d.ts +2 -1
  214. package/dist/types/core/models/api/document.d.ts +10 -1
  215. package/dist/types/core/models/api/individual.d.ts +10 -0
  216. package/dist/types/core/models/api/legal-entity.d.ts +1 -1
  217. package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
  218. package/dist/types/core/models/api/view-verification-status.d.ts +0 -4
  219. package/dist/types/core/models/country-code.d.ts +2 -1
  220. package/dist/types/core/models/errors/validation-error.d.ts +1 -1
  221. package/dist/types/embeds/EmbedBaseElement.d.ts +41 -0
  222. package/dist/types/embeds/EmbedCore.d.ts +22 -0
  223. package/dist/types/embeds/baseEmbedProps.d.ts +21 -0
  224. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +13 -0
  225. package/dist/types/embeds/individual/AdyenIndividual.d.ts +12 -0
  226. package/dist/types/embeds/manage-individual/AdyenManageIndividual.d.ts +12 -0
  227. package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +12 -0
  228. package/dist/types/embeds/manage-terms-of-service/AdyenManageTermsOfService.d.ts +12 -0
  229. package/dist/types/embeds/manage-transfer-instruments/AdyenManageTransferInstrument.d.ts +15 -0
  230. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +11 -0
  231. package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +15 -0
  232. package/dist/types/embeds/terms-of-service/AdyenTermsOfService.d.ts +12 -0
  233. package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +15 -0
  234. package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +20 -0
  235. package/dist/types/hooks/useAnalytics.d.ts +8 -1
  236. package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
  237. package/dist/types/stores/globalStore/taskStatus.d.ts +1 -1
  238. package/dist/types/utils/api/documentUtils.d.ts +1 -2
  239. package/dist/types/utils/birthDateUtils.d.ts +51 -0
  240. package/dist/types/utils/country.d.ts +5 -2
  241. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  242. package/dist/types/utils/validatorUtils.d.ts +2 -0
  243. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +2 -2
  244. package/dist/{useMultiForm-C9-6Ii8X.js → useMultiForm-pJKr2zEg.js} +4 -3
  245. package/dist/{useOnboardingStatus-BDaGvN1o.js → useOnboardingStatus-CyuD2U3T.js} +2 -2
  246. package/dist/{useSalesChannelsSettings-Dcouvxeh.js → useSalesChannelsSettings-DGtBuEvG.js} +2 -2
  247. package/dist/{useTermsOfServiceStatus-DnDl-q_x.js → useTermsOfServiceStatus-C9LwoIOH.js} +2 -2
  248. package/dist/{useToastContext-SxQbUliB.js → useToastContext-DQY2RNSH.js} +2 -2
  249. package/dist/{useUpdateLegalEntity-BXh1hdqg.js → useUpdateLegalEntity-Bwb0-AxL.js} +2 -2
  250. package/dist/{utils-CbUeSAH9.js → utils-D5KAO5Xj.js} +4 -4
  251. package/dist/{validate-D-3dHKWn.js → validate-CJ1HWnWh.js} +2 -2
  252. package/dist/{validate-CT_n11je.js → validate-CM_xe4At.js} +2 -2
  253. package/dist/{yaml-BQHAR0fM.js → yaml-BNAf5lwO.js} +2 -2
  254. package/package.json +2 -1
  255. package/dist/CXEL7IU7-W0GuMc2V.js +0 -55
  256. package/dist/HASRA6WW-s6cv0xeb.js +0 -12411
  257. package/dist/I3HPI4QX-CHsql0Lg.js +0 -46
  258. package/dist/ShadowStylesRoot-wgo4Zafr.js +0 -103
  259. package/dist/types/core/models/api/analytics.d.ts +0 -13
  260. package/dist/types/core/models/api/check.d.ts +0 -4
  261. package/dist/types/core/models/api/documentDetail.d.ts +0 -9
  262. package/dist/types/embeds/ShadowStylesRoot.d.ts +0 -3
@@ -1,46 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "92294189-c5b8-428c-af1f-fc52d744cbd4", e._sentryDebugIdIdentifier = "sentry-dbid-92294189-c5b8-428c-af1f-fc52d744cbd4");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-s6cv0xeb.js";
11
- import { e3 as getPreferredColorScheme, e4 as createMemo, e5 as createComponent } from "./StoreProvider-BvP9cxL2.js";
12
- var DevtoolsComponent = (props) => {
13
- const [localStore, setLocalStore] = createLocalStorage({
14
- prefix: "TanstackQueryDevtools"
15
- });
16
- const colorScheme = getPreferredColorScheme();
17
- const theme = createMemo(() => {
18
- const preference = localStore.theme_preference || THEME_PREFERENCE;
19
- if (preference !== "system") return preference;
20
- return colorScheme();
21
- });
22
- return createComponent(QueryDevtoolsContext.Provider, {
23
- value: props,
24
- get children() {
25
- return createComponent(PiPProvider, {
26
- localStore,
27
- setLocalStore,
28
- get children() {
29
- return createComponent(ThemeContext.Provider, {
30
- value: theme,
31
- get children() {
32
- return createComponent(Devtools, {
33
- localStore,
34
- setLocalStore
35
- });
36
- }
37
- });
38
- }
39
- });
40
- }
41
- });
42
- };
43
- var DevtoolsComponent_default = DevtoolsComponent;
44
- export {
45
- DevtoolsComponent_default as default
46
- };
@@ -1,103 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a44d2e61-830b-46f1-84bd-598513e846b6", e._sentryDebugIdIdentifier = "sentry-dbid-a44d2e61-830b-46f1-84bd-598513e846b6");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { bf as refreshSession, Z as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, f as ApiProvider, E as ExperimentsContextProvider, h as StoreProvider, j as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, k as StateProvider, m as ReactQueryDevtools2, p as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-BvP9cxL2.js";
12
- import { useState, useEffect, useRef } from "preact/hooks";
13
- function injectCss(shadowRoot) {
14
- {
15
- import("./styles-CLV89_hH.js").then(({ css }) => {
16
- const styleEl = document.createElement("style");
17
- styleEl.appendChild(document.createTextNode(css));
18
- shadowRoot.appendChild(styleEl);
19
- }).catch((err) => console.error("Error loading styles", err));
20
- return () => {
21
- };
22
- }
23
- }
24
- const EmbedShell = ({
25
- children,
26
- rootLegalEntityId,
27
- settings,
28
- experiments,
29
- // HO-only
30
- refreshExperiments,
31
- // HO-only
32
- baseUrl,
33
- getSdkToken,
34
- componentName,
35
- locale
36
- }) => {
37
- const [isLoading, setIsLoading] = useState(true);
38
- const [hasError, setHasError] = useState(false);
39
- setSdkTokenHandler(getSdkToken);
40
- useEffect(() => {
41
- refreshSession().then((hasRefreshed) => {
42
- if (!hasRefreshed) {
43
- setHasError(true);
44
- }
45
- setIsLoading(false);
46
- });
47
- }, []);
48
- if (hasError) {
49
- return /* @__PURE__ */ jsxs("div", { children: [
50
- "Something went wrong, please",
51
- /* @__PURE__ */ jsx(Button, { onClick: () => location.reload(), children: "refresh the page." })
52
- ] });
53
- }
54
- if (isLoading) {
55
- return /* @__PURE__ */ jsx(Loader, {});
56
- }
57
- return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId, baseUrl, children: /* @__PURE__ */ jsxs(
58
- ExperimentsContextProvider,
59
- {
60
- experiments,
61
- refreshExperiments,
62
- children: [
63
- /* @__PURE__ */ jsxs(StoreProvider, { children: [
64
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.73.0" }),
65
- /* @__PURE__ */ jsx(
66
- AnalyticsProvider,
67
- {
68
- componentName,
69
- rootLegalEntityId,
70
- children: /* @__PURE__ */ jsxs(I18nProvider, { locale, children: [
71
- /* @__PURE__ */ jsx(DebugListener, {}),
72
- /* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container-wrapper", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container", children: /* @__PURE__ */ jsx(ToastContextProvider, { children: /* @__PURE__ */ jsx(StateProvider, { children }) }) }) })
73
- ] })
74
- }
75
- )
76
- ] }),
77
- /* @__PURE__ */ jsx(ReactQueryDevtools2, {})
78
- ]
79
- }
80
- ) }) }) });
81
- };
82
- const environmentMap = Object.freeze({
83
- live: "https://onboardingcomponents-live.adyen.com/",
84
- test: "https://test.adyen.com/"
85
- });
86
- const resolveEnvironment = (environment) => environmentMap[environment] ?? normalizeEnvironment(environment);
87
- const ShadowStylesRoot = ({
88
- injectCss: injectCss2
89
- }) => {
90
- const ref = useRef(null);
91
- useEffect(() => {
92
- var _a;
93
- const root = (_a = ref.current) == null ? void 0 : _a.getRootNode();
94
- return injectCss2(root);
95
- }, [injectCss2]);
96
- return /* @__PURE__ */ jsx("span", { ref });
97
- };
98
- export {
99
- EmbedShell as E,
100
- ShadowStylesRoot as S,
101
- injectCss as i,
102
- resolveEnvironment as r
103
- };
@@ -1,13 +0,0 @@
1
- import type { MixpanelProperty } from '../../user-events';
2
- /** @deprecated */
3
- export interface EmbeddedAnalyticsSessionRequest {
4
- sdkVersion: string;
5
- componentName: string;
6
- userAgent: string;
7
- legalEntityId: string;
8
- userData?: Record<string, MixpanelProperty>;
9
- }
10
- /** @deprecated */
11
- export interface EmbeddedAnalyticsSessionResponse {
12
- id: string;
13
- }
@@ -1,4 +0,0 @@
1
- import type { components } from '#api/check/check.contract';
2
- import type { AccountIdentification } from './accountIdentification';
3
- export type CAASResponseError = components['schemas']['CheckResponseDto']['errors'];
4
- export type CAASRequest = AccountIdentification;
@@ -1,9 +0,0 @@
1
- import type { DocumentType } from './document';
2
- export interface DocumentDetail {
3
- active: boolean;
4
- description: string;
5
- fileName: string;
6
- id: string;
7
- modificationDate: string;
8
- type: DocumentType;
9
- }
@@ -1,3 +0,0 @@
1
- export declare const ShadowStylesRoot: ({ injectCss, }: {
2
- injectCss: (shadowRoot: ShadowRoot) => void;
3
- }) => import("preact/jsx-runtime").JSX.Element;