@adyen/kyc-components 4.25.0-beta.1 → 4.25.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 (195) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-By3zYCUj.js → AcceptTermsOfServiceWorkflow-BKWCrZdZ.js} +1 -1
  2. package/dist/{AdaptiveWorkflow-DrpRgnH4.js → AdaptiveWorkflow-2EE8iiMD.js} +1 -1
  3. package/dist/{AdaptiveWorkflowComponent-BSA30A9-.js → AdaptiveWorkflowComponent-C4Q6NVtv.js} +2 -2
  4. package/dist/{AddressFields-CN4TQzn9.js → AddressFields-CFG2_P0x.js} +4 -3
  5. package/dist/{BusinessFinancingDropin-CYeMgVkI.js → BusinessFinancingDropin-BjTnxk__.js} +3 -3
  6. package/dist/{BusinessFinancingPage-wQ3Stqaq.js → BusinessFinancingPage-C4dAslMp.js} +1 -1
  7. package/dist/{ComponentGroup-saOBzveb.js → ComponentGroup-S6c3rVoX.js} +1 -1
  8. package/dist/{ConstitutionalDocument-BHd6kfdt.js → ConstitutionalDocument-CNNhKkzD.js} +1 -1
  9. package/dist/{DebugModal-COMc67OA.js → DebugModal-DgbagO5Z.js} +3 -3
  10. package/dist/{DecisionMakerDetails-GMvYZFTK.js → DecisionMakerDetails-RF9BoMYF.js} +6 -6
  11. package/dist/{DecisionMakerDetailsPage-BZdFtyd5.js → DecisionMakerDetailsPage-CGOs2Ubt.js} +3 -3
  12. package/dist/{DecisionMakers-CcFvSGqi.js → DecisionMakers-qRoXooYA.js} +6 -6
  13. package/dist/{EmbeddedStatus-DVFyksA8.js → EmbeddedStatus-Keg7UojY.js} +2 -2
  14. package/dist/{EntityAssociation-BC75VCms.js → EntityAssociation-BPtrqdQR.js} +2 -2
  15. package/dist/{GlobalEntryModal-CypAt3X_.js → GlobalEntryModal-CTGSdkW7.js} +2 -2
  16. package/dist/{GlobalEntryPage-DZusuIqe.js → GlobalEntryPage-CdGXV-QZ.js} +1 -1
  17. package/dist/{IndividualDropin-BFS4N7OF.js → IndividualDropin-D1UOavsw.js} +33 -11
  18. package/dist/{Introduction-Cz0LnMCN.js → Introduction-DFW6EaLG.js} +1 -1
  19. package/dist/{InvitedDecisionMakerComponent-llOIdClO.js → InvitedDecisionMakerComponent-hdQc0T7D.js} +2 -2
  20. package/dist/{LegalRepresentativeDetailsPage-_u14iANL.js → LegalRepresentativeDetailsPage-BiAfoErR.js} +1 -1
  21. package/dist/{NewSummary-Bn1_xnRZ.js → NewSummary-DYLlnpwx.js} +1 -1
  22. package/dist/{NodeRenderer-DHBYMc2e.js → NodeRenderer-Z10yF5MV.js} +9 -9
  23. package/dist/{PayoutDetailsDropin-D8RUK-Ay.js → PayoutDetailsDropin-NyizAaYy.js} +6 -6
  24. package/dist/{PayoutDetailsPage-Dw9Z6keH.js → PayoutDetailsPage-NM0Eqf4K.js} +2 -2
  25. package/dist/{RootBusinessDetailsPage-BZzgcJDi.js → RootBusinessDetailsPage-B1a0hu8F.js} +1 -1
  26. package/dist/{RootBusinessLinesPage-Bon-72KE.js → RootBusinessLinesPage-Dv1uT7OS.js} +4 -4
  27. package/dist/{RootIndividualDetailsPage-BDe7rnHs.js → RootIndividualDetailsPage-vkjzmyF7.js} +2 -2
  28. package/dist/{SignPCIComponent-LLZf2TeN.js → SignPCIComponent-CIkdVNH2.js} +1 -1
  29. package/dist/{SingpassSelection-C_g9IkU2.js → SingpassSelection-B6NONcr4.js} +1 -1
  30. package/dist/{SoleProprietorshipPage-BIJoqI3I.js → SoleProprietorshipPage-BmNs557C.js} +1 -1
  31. package/dist/{SourceOfFundsPage-tIp7dhQc.js → SourceOfFundsPage-B5nZ3MjN.js} +1 -1
  32. package/dist/{SourceOfFundsWorkflow-C2h09Cpx.js → SourceOfFundsWorkflow-IkLZG9JI.js} +1 -1
  33. package/dist/{Step-BXiyoYgM.js → Step-BJh4XZae.js} +1 -1
  34. package/dist/{Summary-DAL_HF4K.js → Summary-BTDbRMfh.js} +1 -1
  35. package/dist/{Task-DdWTxPyj.js → Task-yQcY16x1.js} +1 -1
  36. package/dist/{TaskGroup-CwGCHRH5.js → TaskGroup-C9iFHpux.js} +1 -1
  37. package/dist/{TaxReportingDropin-C9fGOzkW.js → TaxReportingDropin-Cq3gBWtp.js} +1 -1
  38. package/dist/{TaxReportingWorkflow-IBn7x7Xb.js → TaxReportingWorkflow-flQPRAPy.js} +1 -1
  39. package/dist/{TermsOfServiceManagement-DT2dwCi_.js → TermsOfServiceManagement-BM5K4cpw.js} +1 -1
  40. package/dist/{TrustDetailsPage-CoXbmmTn.js → TrustDetailsPage-z7s9FxVC.js} +6 -6
  41. package/dist/{TrustMemberCompanyPage-Dx-d3qCd.js → TrustMemberCompanyPage-tU2HTiDG.js} +2 -2
  42. package/dist/{TrustMemberIndividualPage-D894Db-6.js → TrustMemberIndividualPage-BLBtnoSq.js} +1 -1
  43. package/dist/{TrustMemberRoleAndTypePage-BDqjSmrc.js → TrustMemberRoleAndTypePage-DIwrtOWr.js} +4 -4
  44. package/dist/{TrustMembersOverview-DtWUGzgb.js → TrustMembersOverview-CowTgfIb.js} +9 -9
  45. package/dist/{UboTaskItem-VUdGfBnx.js → UboTaskItem-CZLDzQil.js} +1 -1
  46. package/dist/{UnincorporatedPartnershipIndividualPage-VbufyyKR.js → UnincorporatedPartnershipIndividualPage-BT0j54-O.js} +1 -1
  47. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CiQGKuDs.js → UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js} +2 -2
  48. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DZhy16m1.js → UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js} +3 -3
  49. package/dist/{UnincorporatedPartnershipMembersOverview-Dm49I4-5.js → UnincorporatedPartnershipMembersOverview-5w1BrDMI.js} +3 -3
  50. package/dist/{Workflow-fHd3L40U.js → Workflow-CF-HUIjR.js} +1 -1
  51. package/dist/adyen-business-financing.js +2 -2
  52. package/dist/adyen-individual-configuration.js +2 -2
  53. package/dist/adyen-individual-status.js +4 -4
  54. package/dist/adyen-invited-decision-maker.js +2 -2
  55. package/dist/adyen-onboarding.js +12 -12
  56. package/dist/adyen-terms-of-service-management.js +2 -2
  57. package/dist/adyen-terms-of-service-status.js +3 -3
  58. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  59. package/dist/adyen-transfer-instrument-management.js +3 -3
  60. package/dist/adyen-verification-status.js +3 -3
  61. package/dist/{bafinUtils-DDrD6bfK.js → bafinUtils-RXELXyTR.js} +3 -3
  62. package/dist/{decision-maker-type-NR4GFAeT.js → decisionMaker-CR0qaGWQ.js} +1 -1
  63. package/dist/{decisionMakerRoles-C6LMC4mh.js → decisionMakerRoles-JEb0ON4e.js} +3 -3
  64. package/dist/{dropinUtils-DFjjUh12.js → dropinUtils-OsMsnnYG.js} +1 -1
  65. package/dist/{globalStore-WASei98w.js → globalStore--_np-9ON.js} +4 -4
  66. package/dist/{mapExistingFile-BrDc9SLg.js → mapExistingFile-RrS8dCpX.js} +1 -1
  67. package/dist/{mapLegalEntityToIndividualSchema-Dq6pO0qh.js → mapLegalEntityToIndividualSchema-DtT3pcZJ.js} +2 -2
  68. package/dist/{view-verification-status-XSQs02td.js → onboardingStatus-B8UCsL8G.js} +1 -1
  69. package/dist/{resolveEnvironment-RJre7ht-.js → resolveEnvironment-CLI-fiSo.js} +6 -6
  70. package/dist/{roleMetadata-CQeuOFRE.js → roleMetadata-CbgaYaH8.js} +4 -4
  71. package/dist/{get-scenarios-Bb-paHmJ.js → scenarios-nibtmpSb.js} +1 -1
  72. package/dist/{trustMemberGuidance-CgdU2v0j.js → trustMemberGuidance-BpeDHAJP.js} +1 -1
  73. package/dist/{trustUtil-5cyXiJnX.js → trustUtil-BG17fZ56.js} +2 -2
  74. package/dist/types/api/address/address.types.d.ts +3 -13
  75. package/dist/types/api/address/useAddressCleanse.d.ts +1 -2
  76. package/dist/types/api/address/useSearchAddress.d.ts +1 -9
  77. package/dist/types/api/businessLines/businessLines.types.d.ts +6 -1
  78. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +3 -15
  79. package/dist/types/api/check/useCheck.d.ts +1 -1
  80. package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +22 -1
  81. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
  82. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +5 -2
  83. package/dist/types/api/legalEntity/legalEntity.types.d.ts +3 -0
  84. package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +1 -1
  85. package/dist/types/api/openId/openId.types.d.ts +2 -0
  86. package/dist/types/api/taxClassification/taxClassification.types.d.ts +4 -0
  87. package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -1
  88. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +8 -1
  89. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -2
  90. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  91. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +3 -11
  92. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
  93. package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
  94. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
  95. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -2145
  96. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
  97. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
  98. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +1 -2
  99. package/dist/types/components/Business/utils/utils.d.ts +2 -3
  100. package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +5 -1
  101. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  102. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
  103. package/dist/types/components/EFP/mapping/mapSourceOfFundToSourceOfFundsSchema.d.ts +2 -3
  104. package/dist/types/components/EFP/mapping/sourceOfFundsKeyMappings.d.ts +2 -3
  105. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +3 -3
  106. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +3 -4
  107. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +2 -3
  108. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +2 -2
  109. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +2 -2
  110. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +22 -9
  111. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -14
  112. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -2
  113. package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -1
  114. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -2
  115. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
  116. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
  117. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -1
  118. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +2 -2
  119. package/dist/types/components/Individual/forms/IdVerificationMethod/individualConflictsSchema.d.ts +1 -1
  120. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  121. package/dist/types/components/Individual/forms/Individual.types.d.ts +4 -5
  122. package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +1 -1
  123. package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +1 -1
  124. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +1 -1
  125. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  126. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +5 -5
  127. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +1 -1
  128. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
  129. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -1
  130. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +1 -1
  131. package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +2 -2
  132. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
  133. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +6 -1
  134. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -2
  135. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -2
  136. package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
  137. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/getAvailableRoles.d.ts +1 -1
  138. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
  139. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
  140. package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
  141. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  142. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -1
  143. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +1 -1
  144. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
  145. package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +1 -1
  146. package/dist/types/core/process-field-configurations.d.ts +1 -1
  147. package/dist/types/core/services/agnostic/get-dataset.d.ts +1 -1
  148. package/dist/types/core/user-events.d.ts +1 -1
  149. package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
  150. package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
  151. package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +1 -1
  152. package/dist/types/hooks/useDataset.d.ts +1 -1
  153. package/dist/types/hooks/useForm/types.d.ts +1 -1
  154. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -2
  155. package/dist/types/stores/globalStore/globalStore.d.ts +1 -2
  156. package/dist/types/types/form-configuration.d.ts +1 -1
  157. package/dist/types/types/form-rules.d.ts +1 -1
  158. package/dist/types/{core/models/api/get-scenarios.d.ts → types/scenarios.d.ts} +1 -1
  159. package/dist/types/{core/models/api/verification-status.d.ts → types/verificationStatus.d.ts} +2 -1
  160. package/dist/types/utils/accountHolderUtils.d.ts +1 -2
  161. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
  162. package/dist/types/utils/api/processCapabilities.d.ts +1 -2
  163. package/dist/types/utils/api/useCapabilities.d.ts +2 -2
  164. package/dist/types/utils/datasetUtil.d.ts +1 -1
  165. package/dist/types/utils/decisionMaker.d.ts +2 -2
  166. package/dist/types/utils/decisionMakerRoles.d.ts +2 -2
  167. package/dist/types/utils/entityAssociationUtil.d.ts +7 -1
  168. package/dist/types/utils/entityStatusUtil.d.ts +2 -2
  169. package/dist/types/utils/mapScriptLocalization.d.ts +9 -1
  170. package/dist/types/utils/roleMetadata.d.ts +1 -1
  171. package/dist/types/utils/validatorUtils.d.ts +1 -1
  172. package/dist/{unincorporated-partnership-DNTK5Y_5.js → unincorporatedPartnership-BbNowjM2.js} +1 -1
  173. package/dist/{useBusinessDetailsData-BeKBwFXJ.js → useBusinessDetailsData-dsYTeDom.js} +9 -9
  174. package/dist/{useCanSeeIntroduction-X0L-NhMZ.js → useCanSeeIntroduction-BLGY7sE-.js} +1 -1
  175. package/dist/{useNavigate-Dyy9vu2x.js → useNavigate-J0sRAAoI.js} +27 -27
  176. package/dist/{useScenarios-BfYE0clW.js → useScenarios-DV2TeNvN.js} +2 -2
  177. package/dist/{useTrustMembers-CurK1nMF.js → useTrustMembers-uhgi2qfN.js} +1 -1
  178. package/dist/{useUnincorporatedPartnershipMembers-DLGY4jqB.js → useUnincorporatedPartnershipMembers-DVEWj1is.js} +2 -2
  179. package/package.json +1 -1
  180. package/dist/types/core/models/api/capability.d.ts +0 -59
  181. package/dist/types/core/models/api/contracts.d.ts +0 -44
  182. package/dist/types/core/models/api/instant-id-verification.d.ts +0 -36
  183. package/dist/types/core/models/api/legal-entity-association.d.ts +0 -8
  184. package/dist/types/core/models/api/openid-initiate.d.ts +0 -3
  185. package/dist/types/core/models/api/phone.d.ts +0 -6
  186. package/dist/types/core/models/api/scriptLocalization.d.ts +0 -9
  187. package/dist/types/core/models/api/source-of-funds.d.ts +0 -53
  188. package/dist/types/core/models/api/supporting-entity-capability.d.ts +0 -29
  189. package/dist/types/core/models/api/tax-reporting-classification.d.ts +0 -15
  190. /package/dist/types/{core/models/api/accountIdentification.d.ts → api/transferInstruments/accountIdentification.types.d.ts} +0 -0
  191. /package/dist/types/{core/models/api/data-set.d.ts → types/dataset.d.ts} +0 -0
  192. /package/dist/types/{core/models/api/decision-maker-type.d.ts → types/decisionMaker.d.ts} +0 -0
  193. /package/dist/types/{core/models/api/view-verification-status.d.ts → types/onboardingStatus.d.ts} +0 -0
  194. /package/dist/types/{core/models/api/trust-member-type.d.ts → types/trustMemberType.d.ts} +0 -0
  195. /package/dist/types/{core/models/api/unincorporated-partnership.d.ts → types/unincorporatedPartnership.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "70a527a9-a313-4e76-b4e9-34d4f0a0f7f5", e._sentryDebugIdIdentifier = "sentry-dbid-70a527a9-a313-4e76-b4e9-34d4f0a0f7f5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "256351d2-61e7-4301-8224-1dd75071100b", e._sentryDebugIdIdentifier = "sentry-dbid-256351d2-61e7-4301-8224-1dd75071100b");
4
4
  } catch (e) {}
5
5
  var DecisionMakerTypes = {
6
6
  CONTROLLING_PERSON: "uboThroughControl",
@@ -1,11 +1,11 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02e5ead2-c552-4423-8c7e-b27c18488124", e._sentryDebugIdIdentifier = "sentry-dbid-02e5ead2-c552-4423-8c7e-b27c18488124");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7b674833-32fd-455d-b21d-813aa3eee890", e._sentryDebugIdIdentifier = "sentry-dbid-7b674833-32fd-455d-b21d-813aa3eee890");
4
4
  } catch (e) {}
5
5
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
6
6
  import { i as getDirectEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
7
- import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
8
- import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
7
+ import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
8
+ import { t as Scenarios } from "./scenarios-nibtmpSb.js";
9
9
  //#region src/utils/decisionMaker.ts
10
10
  var DEFAULT_DECISION_MAKER_REQUIREMENTS = [
11
11
  {
@@ -10,7 +10,7 @@ import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
10
10
  import { t as Confirm } from "./Confirm-DjFpxSzC.js";
11
11
  import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
12
12
  import { r as FormRouterContext } from "./ErrorPanel-PefRq1M4.js";
13
- import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-DAL_HF4K.js";
13
+ import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-BTDbRMfh.js";
14
14
  import { t as MaybeModal } from "./MaybeModal-Dfm1rIUG.js";
15
15
  import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
16
16
  import { t as FormFlow_module_default } from "./FormFlow.module-DqMxjYHl.js";
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "46b09110-8903-4cdb-a470-4a59c9fe3a4b", e._sentryDebugIdIdentifier = "sentry-dbid-46b09110-8903-4cdb-a470-4a59c9fe3a4b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0c5a119d-e4c1-41cc-a25b-ae11cb9473aa", e._sentryDebugIdIdentifier = "sentry-dbid-0c5a119d-e4c1-41cc-a25b-ae11cb9473aa");
4
4
  } catch (e) {}
5
5
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
6
6
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
@@ -9,8 +9,8 @@ import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekP
9
9
  import { C as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES, n as getCapabilityProblems, t as getCapabilities } from "./processCapabilities-CWE5UFt8.js";
10
10
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
11
11
  import { a as getLegalRepresentative, i as getDirectEntityAssociations, l as getOwnSoleProprietorshipIdArray } from "./entityAssociationUtil-CY0grcyH.js";
12
- import { i as getOwnDecisionMakersLegalEntityIds, o as hasMinRequiredDecisionMakerCount } from "./decisionMakerRoles-C6LMC4mh.js";
13
- import { a as hasRequiredTrustMemberCount, n as getOwnTrustLegalEntityIdAsArray, r as getOwnTrustMembersLegalEntityIds } from "./trustUtil-5cyXiJnX.js";
12
+ import { i as getOwnDecisionMakersLegalEntityIds, o as hasMinRequiredDecisionMakerCount } from "./decisionMakerRoles-JEb0ON4e.js";
13
+ import { a as hasRequiredTrustMemberCount, n as getOwnTrustLegalEntityIdAsArray, r as getOwnTrustMembersLegalEntityIds } from "./trustUtil-BG17fZ56.js";
14
14
  import { t as isEmptyEntity } from "./isEmptyEntity-3OHnhXqG.js";
15
15
  import { t as doesLegalEntityRequiresLegalRepresentative } from "./birthDateUtils-D6uk7zwm.js";
16
16
  import { useCallback, useContext } from "preact/hooks";
@@ -55,7 +55,7 @@ var getOwnMembersLegalEntityIds = (rootLegalEntity) => {
55
55
  ];
56
56
  };
57
57
  //#endregion
58
- //#region src/core/models/api/verification-status.ts
58
+ //#region src/types/verificationStatus.ts
59
59
  var VerificationStatuses = {
60
60
  VALID: "valid",
61
61
  PENDING: "pending",
@@ -2,7 +2,7 @@ try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "193d7de5-687d-4b74-ace9-5a87648bf0a5", e._sentryDebugIdIdentifier = "sentry-dbid-193d7de5-687d-4b74-ace9-5a87648bf0a5");
4
4
  } catch (e) {}
5
- import { t as useScenarios } from "./useScenarios-BfYE0clW.js";
5
+ import { t as useScenarios } from "./useScenarios-DV2TeNvN.js";
6
6
  import { useEffect, useMemo } from "preact/hooks";
7
7
  //#region src/hooks/useUnifyLoadingStatus.ts
8
8
  var useUnifyLoadingStatus = (setParentLoadingStatus, ...childLoadingStatuses) => {
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "88e00adf-f929-43aa-aebc-b6bf5d4d4f84", e._sentryDebugIdIdentifier = "sentry-dbid-88e00adf-f929-43aa-aebc-b6bf5d4d4f84");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9134eeea-73c0-4d3d-85dd-18107fddd4f1", e._sentryDebugIdIdentifier = "sentry-dbid-9134eeea-73c0-4d3d-85dd-18107fddd4f1");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
@@ -9,7 +9,7 @@ import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
9
9
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
10
10
  import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-CWE5UFt8.js";
11
11
  import { o as getNomineeFromAssociation } from "./entityAssociationUtil-CY0grcyH.js";
12
- import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
12
+ import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
13
13
  import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
14
14
  import { t as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-BCfkZo1y.js";
15
15
  import { t as Field } from "./Field-Df7ajJE2.js";
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "917e4aa6-6a54-40bf-b3c9-6a6a86cdf539", e._sentryDebugIdIdentifier = "sentry-dbid-917e4aa6-6a54-40bf-b3c9-6a6a86cdf539");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "35de7eca-ef2e-4026-a7ec-0b40613549e9", e._sentryDebugIdIdentifier = "sentry-dbid-35de7eca-ef2e-4026-a7ec-0b40613549e9");
4
4
  } catch (e) {}
5
5
  var OnboardingStatuses = {
6
6
  AWAITING_DATA: "AWAITING_DATA",
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "30a827e8-2f25-4902-a975-a9c98e5a3fdf", e._sentryDebugIdIdentifier = "sentry-dbid-30a827e8-2f25-4902-a975-a9c98e5a3fdf");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c0949c0-f6ab-42e9-a49a-d36c8be7906d", e._sentryDebugIdIdentifier = "sentry-dbid-3c0949c0-f6ab-42e9-a49a-d36c8be7906d");
4
4
  } catch (e) {}
5
5
  import { a as setDefaults, i as setI18n, n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
@@ -27,7 +27,7 @@ import { t as useDataset } from "./useDataset-K19TDoyR.js";
27
27
  import { t as datasetIdentifier } from "./datasetUtil-BdHPWsxZ.js";
28
28
  import { n as Skeleton } from "./Accordion-D_DOaWj2.js";
29
29
  import { n as AlertIcon } from "./Alert-BqbbDRYR.js";
30
- import { n as createGlobalStore, t as StoreContext } from "./globalStore-WASei98w.js";
30
+ import { n as createGlobalStore, t as StoreContext } from "./globalStore--_np-9ON.js";
31
31
  import i18n from "i18next";
32
32
  import { Suspense, lazy } from "preact/compat";
33
33
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useState as useState$1 } from "preact/hooks";
@@ -312,7 +312,7 @@ var getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType) =
312
312
  //#endregion
313
313
  //#region src/hooks/useAnalytics/useAnalytics.ts
314
314
  var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
315
- const sdkVersion = "4.25.0-beta.1";
315
+ const sdkVersion = "4.25.0";
316
316
  const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
317
317
  const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
318
318
  const { accountHolder } = useAccountHolder();
@@ -408,7 +408,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
408
408
  const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
409
409
  const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
410
410
  const sessionData = {
411
- sdkVersion: "4.25.0-beta.1",
411
+ sdkVersion: "4.25.0",
412
412
  componentName,
413
413
  userAgent: navigator.userAgent,
414
414
  legalEntityId: rootLegalEntityId,
@@ -864,7 +864,7 @@ var AllowedCountryGate = ({ children }) => {
864
864
  };
865
865
  //#endregion
866
866
  //#region src/components/Shared/devex/DebugListener/DebugListener.tsx
867
- var DebugModal = lazy(async () => (await import("./DebugModal-COMc67OA.js")).DebugModal);
867
+ var DebugModal = lazy(async () => (await import("./DebugModal-DgbagO5Z.js")).DebugModal);
868
868
  /**
869
869
  * Adds a listener on the page to open the debug modal when the
870
870
  * debug modal key combination is pressed to open it
@@ -965,7 +965,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
965
965
  children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
966
966
  id: "sdk-version",
967
967
  hidden: true,
968
- children: "4.25.0-beta.1"
968
+ children: "4.25.0"
969
969
  }), /* @__PURE__ */ jsx(AnalyticsProvider, {
970
970
  componentName,
971
971
  locale,
@@ -1,10 +1,10 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e427b69d-f550-4c9f-b124-6662c432a46e", e._sentryDebugIdIdentifier = "sentry-dbid-e427b69d-f550-4c9f-b124-6662c432a46e");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5b26f036-d35c-4ada-97e4-95c98f2b80ce", e._sentryDebugIdIdentifier = "sentry-dbid-5b26f036-d35c-4ada-97e4-95c98f2b80ce");
4
4
  } catch (e) {}
5
- import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
6
- import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
7
- import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DNTK5Y_5.js";
5
+ import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
6
+ import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-BpeDHAJP.js";
7
+ import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-BbNowjM2.js";
8
8
  //#region src/utils/roleMetadata.ts
9
9
  var roleMetadata = {
10
10
  [DecisionMakerTypes.CONTROLLING_PERSON]: {
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2d822a03-4126-4c81-85f5-23180c77996a", e._sentryDebugIdIdentifier = "sentry-dbid-2d822a03-4126-4c81-85f5-23180c77996a");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "be50401b-e246-41f4-9390-43e267647184", e._sentryDebugIdIdentifier = "sentry-dbid-be50401b-e246-41f4-9390-43e267647184");
4
4
  } catch (e) {}
5
5
  var Scenarios = {
6
6
  L0: "L0",
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f47c9fa5-623a-48fd-90cc-9522da72f613", e._sentryDebugIdIdentifier = "sentry-dbid-f47c9fa5-623a-48fd-90cc-9522da72f613");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "047dfe23-ab62-4adb-89b3-696f561c77d4", e._sentryDebugIdIdentifier = "sentry-dbid-047dfe23-ab62-4adb-89b3-696f561c77d4");
4
4
  } catch (e) {}
5
5
  var TrustMemberTypes = {
6
6
  DEFINED_BENEFICIARY: "definedBeneficiary",
@@ -4,8 +4,8 @@ try {
4
4
  } catch (e) {}
5
5
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
6
6
  import { i as getDirectEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
7
- import { n as getDecisionMakers } from "./decisionMakerRoles-C6LMC4mh.js";
8
- import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
7
+ import { n as getDecisionMakers } from "./decisionMakerRoles-JEb0ON4e.js";
8
+ import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-BpeDHAJP.js";
9
9
  //#region src/components/Trust/forms/TrustRegistrationDetails/types.ts
10
10
  var nzSpecificTrustTypes = [
11
11
  "discretionaryTrust",
@@ -1,16 +1,6 @@
1
1
  import type { components } from './address.contract';
2
+ export type CleanseAPIRequestPayload = Required<components['schemas']['AddressComponentCleanseRequest']>;
2
3
  export type RetrieveAddressSuccessResponse = components['schemas']['AddressComponentRetrieveResponse'];
3
4
  export type SearchAddressRequest = components['schemas']['AddressComponentSearchRequest'];
4
- export type SearchAddressSuccessResponse = SearchAddressSuccessResponseOverride;
5
- export type SearchAddressResult = SearchAddressResultOverride;
6
- type SearchAddressResultOverride = {
7
- description: string;
8
- highlight: string;
9
- id: string;
10
- text: string;
11
- type: 'Address' | string;
12
- };
13
- type SearchAddressSuccessResponseOverride = Omit<components['schemas']['AddressComponentSearchResponse'], 'results'> & {
14
- results: SearchAddressResultOverride[];
15
- };
16
- export {};
5
+ export type SearchAddressSuccessResponse = components['schemas']['AddressComponentSearchResponse'];
6
+ export type SearchAddressResult = components['schemas']['AddressComponentSearchResult'];
@@ -1,5 +1,4 @@
1
- import type { RetrieveAddressSuccessResponse } from '../address/address.types';
2
- import type { CleanseAPIRequestPayload } from '../../core/models/api/contracts';
1
+ import type { CleanseAPIRequestPayload, RetrieveAddressSuccessResponse } from '../address/address.types';
3
2
  import type { AddressSchema } from '../../components/Shared/forms/Address/types';
4
3
  import type { QueryOptions } from '../types';
5
4
  export type QueryKeyAddressCleanse = ['addressCleanse', CleanseAPIRequestPayload];
@@ -5,14 +5,6 @@ export type QueryKeySearchAddress = ['searchAddress', SearchAddressRequest];
5
5
  * @param data
6
6
  * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
7
7
  */
8
- export declare const useSearchAddress: (data: SearchAddressRequest, options?: QueryOptions<SearchAddressSuccessResponse>) => import("@tanstack/preact-query").UseQueryResult<NoInfer<Omit<{
8
+ export declare const useSearchAddress: (data: SearchAddressRequest, options?: QueryOptions<SearchAddressSuccessResponse>) => import("@tanstack/preact-query").UseQueryResult<NoInfer<{
9
9
  results?: import("./address.contract").components["schemas"]["AddressComponentSearchResult"][];
10
- }, "results"> & {
11
- results: {
12
- description: string;
13
- highlight: string;
14
- id: string;
15
- text: string;
16
- type: "Address" | string;
17
- }[];
18
10
  }>, Error>;
@@ -17,5 +17,10 @@ export type BusinessLinesResponse = Omit<components['schemas']['BusinessLineDto'
17
17
  commerceDisclosureAddress?: string;
18
18
  }[];
19
19
  };
20
- export type SourceOfFundsType = components['schemas']['SourceOfFundsDto'];
20
+ export type AmountDto = components['schemas']['AmountDto'];
21
+ export type FinancierDto = components['schemas']['FinancierDto'];
22
+ export type WebDataDto = components['schemas']['WebDataDto'];
23
+ export type WebDataExemptionDto = components['schemas']['WebDataExemptionDto'];
24
+ export type SourceOfFundsDto = components['schemas']['SourceOfFundsDto'];
25
+ export type SourceOfFundsType = components['schemas']['SourceOfFundsType'];
21
26
  export type BusinessLineService = components['schemas']['Service'];
@@ -1,19 +1,7 @@
1
- import type { SourceOfFundsPayloadType } from '../../core/models/api/source-of-funds';
2
1
  import type { MutationOptions } from '../types';
3
- import type { components } from './businessLines.contract';
4
- type BusinessLinesResponse = components['schemas']['BusinessLineDto'];
5
- type MutatePayload = SourceOfFundsPayloadType & {
2
+ import type { BusinessLinesResponse, SourceOfFundsDto } from './businessLines.types';
3
+ type MutatePayload = SourceOfFundsDto & {
6
4
  businessLineId: string;
7
5
  };
8
- export declare const useUpdateSourceOfFunds: (options?: Omit<MutationOptions<BusinessLinesResponse, Error, MutatePayload>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<{
9
- readonly id?: string;
10
- industryCode: string;
11
- readonly industryCodeDescription?: string;
12
- legalEntityId: string;
13
- salesChannels?: string[];
14
- service: components["schemas"]["Service"];
15
- sourceOfFunds?: components["schemas"]["SourceOfFundsDto"];
16
- webData?: components["schemas"]["WebDataDto"][];
17
- webDataExemption?: components["schemas"]["WebDataExemptionDto"];
18
- }, Error, MutatePayload, unknown>;
6
+ export declare const useUpdateSourceOfFunds: (options?: Omit<MutationOptions<BusinessLinesResponse, Error, MutatePayload>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<BusinessLinesResponse, Error, MutatePayload, unknown>;
19
7
  export {};
@@ -1,4 +1,4 @@
1
- import type { AccountIdentification } from '../../core/models/api/accountIdentification';
1
+ import type { AccountIdentification } from '../transferInstruments/accountIdentification.types';
2
2
  import type { MutationOptions } from '../types';
3
3
  import type { components } from './check.contract';
4
4
  export type CAASResponseError = components['schemas']['CheckResponseDto']['errors'];
@@ -1,6 +1,27 @@
1
- import type { InstantIdVerificationStartCheckRequest } from '../../core/models/api/instant-id-verification';
1
+ import type { SetRequired } from 'type-fest';
2
+ import type { DocumentType } from '../documents/documents.types';
2
3
  import type { components } from './idVerificationProviders.contract';
3
4
  export type StartVerificationCheckResponse = components['schemas']['ProviderStartProcessResponse'];
5
+ export type InstantIdVerificationTokenRequest = components['schemas']['ProviderInitiateRequest'];
6
+ /** The SDK starts document-only checks; CaptureMetadata.face is not sent in this flow. */
7
+ export type InstantIdVerificationStartCheckRequest = Omit<components['schemas']['ProviderStartProcessRequest'], 'captureMetadata'> & {
8
+ captureMetadata: {
9
+ document_front: {
10
+ id: string;
11
+ type: DocumentType;
12
+ side: 'front';
13
+ };
14
+ document_back?: {
15
+ id: string;
16
+ type: DocumentType;
17
+ side: 'back';
18
+ };
19
+ };
20
+ };
4
21
  export type IdVerificationProvidersRequest = InstantIdVerificationStartCheckRequest;
22
+ /**
23
+ * Dto says both of these fields are optional but they should always be returned by the API.
24
+ */
25
+ export type InstantIdVerificationTokenResponse = SetRequired<components['schemas']['ProviderInitiateResponse'], 'id' | 'sdkToken'>;
5
26
  export type ProviderExtractionResponse = components['schemas']['ProviderExtractionResponse'];
6
27
  export type ProviderExtractionRequest = components['schemas']['ProviderExtractionRequest'];
@@ -2,4 +2,4 @@ import type { MutationOptions } from '../types';
2
2
  import type { IdVerificationProvidersRequest, StartVerificationCheckResponse } from './idVerificationProviders.types';
3
3
  export declare const useIdVerificationStartCheck: (options?: Omit<MutationOptions<StartVerificationCheckResponse, unknown, IdVerificationProvidersRequest>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<{
4
4
  processId?: string;
5
- }, unknown, import("../../core/models/api/instant-id-verification").InstantIdVerificationStartCheckRequest, unknown>;
5
+ }, unknown, import("./idVerificationProviders.types").InstantIdVerificationStartCheckRequest, unknown>;
@@ -1,4 +1,4 @@
1
- import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../core/models/api/instant-id-verification';
1
+ import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../idVerificationProviders/idVerificationProviders.types';
2
2
  import type { MinimumApplicantDetails } from '../../components/Individual/forms/IdVerification/types';
3
3
  import type { QueryOptions } from '../types';
4
4
  export type QueryKeyIdVerificationToken = [
@@ -13,4 +13,7 @@ export type QueryKeyIdVerificationToken = [
13
13
  * and we have previously generated a token for that same legal entity. Therefore, this request
14
14
  * effectively idempotent.
15
15
  */
16
- export declare const useIdVerificationToken: ({ firstName, lastName, residencyCountry }: MinimumApplicantDetails, legalEntityId: string | undefined, options?: Omit<QueryOptions<InstantIdVerificationTokenResponse>, "enabled">) => import("@tanstack/preact-query").UseQueryResult<NoInfer<InstantIdVerificationTokenResponse>, Error>;
16
+ export declare const useIdVerificationToken: ({ firstName, lastName, residencyCountry }: MinimumApplicantDetails, legalEntityId: string | undefined, options?: Omit<QueryOptions<InstantIdVerificationTokenResponse>, "enabled">) => import("@tanstack/preact-query").UseQueryResult<NoInfer<{
17
+ id: string;
18
+ sdkToken: string;
19
+ }>, Error>;
@@ -23,7 +23,10 @@ export type VerificationErrorDto = components['schemas']['VerificationErrorDto']
23
23
  export type VerificationErrorType = components['schemas']['VerificationErrorDto']['type'];
24
24
  export type RemediatingActionDto = components['schemas']['RemediatingActionDto'];
25
25
  export type EntityType = components['schemas']['EntityType'];
26
+ export type CapabilityName = components['schemas']['Capabilities'];
27
+ export type LegalEntityCapabilityDto = components['schemas']['LegalEntityCapabilityDto'];
26
28
  export type CapabilitiesDto = components['schemas']['LegalEntityDto']['capabilities'];
29
+ export type VerificationStatus = components['schemas']['VerificationStatus'];
27
30
  export type LegalEntityDto = components['schemas']['LegalEntityDto'];
28
31
  /** A patch requires a writable identifier despite the contract's read-only identifier. */
29
32
  export type PatchLegalEntity = PartialDeep<LegalEntityDto, {
@@ -1,4 +1,4 @@
1
- import type { OnboardingStatus } from '../../core/models/api/view-verification-status';
1
+ import type { OnboardingStatus } from '../../types/onboardingStatus';
2
2
  import type { components } from './onboardingStatus.contract';
3
3
  export type GenerateOnboardingLinkResponse = components['schemas']['OnboardingStatusUrlResponse'];
4
4
  export type GenerateOnboardingLinkRequest = components['schemas']['OnboardingStatusUrlRequest'];
@@ -0,0 +1,2 @@
1
+ import type { components } from './openId.contract';
2
+ export type OpenIdInitiateResponse = Required<components['schemas']['OpenIdInitiateResponse']>;
@@ -1,2 +1,6 @@
1
1
  import type { components } from './taxClassification.contract';
2
2
  export type TaxClassificationSuccessResponse = components['schemas']['TaxReportingClassification'];
3
+ export type TaxReportingClassification = components['schemas']['TaxReportingClassification'];
4
+ export type TaxReportingBusinessType = NonNullable<TaxReportingClassification['businessType']>;
5
+ export type TaxReportingMainSourceOfIncomeType = NonNullable<TaxReportingClassification['mainSourceOfIncome']>;
6
+ export type TaxReportingClassificationType = NonNullable<TaxReportingClassification['type']>;
@@ -1,8 +1,17 @@
1
1
  import type { ExtractStrict } from 'type-fest';
2
- import type { ServiceAgreementSignResponse } from '../../core/models/api/contracts';
3
2
  import type { EndpointFromPaths } from '../types';
4
3
  import type { components, paths } from './termsOfService.contract';
5
4
  type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
5
+ export type TermsOfServiceDocumentFormat = NonNullable<components['schemas']['GetAcceptedTermsOfServiceDocumentResponse']['termsOfServiceDocumentFormat']>;
6
+ export type ServiceAgreementRequest = components['schemas']['TermsOfServiceDocumentRequest'];
7
+ export type ServiceAgreementResponse = components['schemas']['TermsOfServiceDocumentResponse'];
8
+ export type ServiceAgreementSignRequest = components['schemas']['AcceptTermsOfServiceRequest'];
9
+ /** The endpoint response always contains the legacy SDK fields; the contract marks them optional. */
10
+ export type ServiceAgreementSignResponse = Required<Omit<components['schemas']['AcceptTermsOfServiceResponse'], 'ipAddress'>>;
11
+ /** The endpoint always returns complete acceptance entries; the contract marks them optional. */
12
+ export interface ServiceAgreementAcceptanceInfos {
13
+ data: Array<Required<Pick<components['schemas']['TermsOfServiceAcceptanceInfo'], 'acceptedBy' | 'acceptedFor' | 'createdAt' | 'id' | 'type'>>>;
14
+ }
6
15
  export type AcceptedTermsOfServiceEndpoint = ExtractStrict<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/acceptedTermsOfServiceDocument/${string}`>;
7
16
  export type AcceptedTermsOfServiceResponse = components['schemas']['GetAcceptedTermsOfServiceDocumentResponse'];
8
17
  export type AcceptTermsOfServiceAcceptEndpoint = ExtractStrict<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/accept`>;
@@ -1,6 +1,13 @@
1
1
  import type { MutationOptions } from '../types';
2
2
  import type { AcceptTermsOfServiceAcceptRequest, AcceptTermsOfServiceAcceptResponse } from './termsOfService.types';
3
- export declare const useAcceptTermsOfService: (options?: Omit<MutationOptions<AcceptTermsOfServiceAcceptResponse, unknown, AcceptTermsOfServiceAcceptRequest>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<import("../../core/models/api/contracts").ServiceAgreementSignResponse, unknown, {
3
+ export declare const useAcceptTermsOfService: (options?: Omit<MutationOptions<AcceptTermsOfServiceAcceptResponse, unknown, AcceptTermsOfServiceAcceptRequest>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<Required<Omit<{
4
+ acceptedBy?: string;
5
+ id?: string;
6
+ ipAddress?: string;
7
+ language?: string;
8
+ termsOfServiceDocumentId?: string;
9
+ type?: import("./termsOfService.contract").components["schemas"]["TermsOfServiceType"];
10
+ }, "ipAddress">>, unknown, {
4
11
  acceptedBy: string;
5
12
  legalEntityReference: string;
6
13
  termsOfServiceDocumentId: string;
@@ -1,6 +1,5 @@
1
- import type { TermsOfServiceDocumentFormat } from '../../core/models/api/contracts';
1
+ import type { AcceptedTermsOfServiceResponse, TermsOfServiceDocumentFormat } from '../termsOfService/termsOfService.types';
2
2
  import type { QueryOptions } from '../types';
3
- import type { AcceptedTermsOfServiceResponse } from './termsOfService.types';
4
3
  /**
5
4
  * Variables:
6
5
  * * `termsOfServiceAcceptanceReference`
@@ -1,5 +1,5 @@
1
1
  import type { ExtractStrict } from 'type-fest';
2
- import type { ServiceAgreementAcceptanceInfos } from '../../core/models/api/contracts';
2
+ import type { ServiceAgreementAcceptanceInfos } from '../termsOfService/termsOfService.types';
3
3
  import type { EndpointFromPaths, QueryOptions } from '../types';
4
4
  import type { paths } from './termsOfService.contract';
5
5
  type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
@@ -1,9 +1,6 @@
1
- import type { CapabilityProblemDto, DocumentDetail } from '../legalEntity/legalEntity.types';
2
- import type { AccountIdentification } from '../../core/models/api/accountIdentification';
3
- import type { Capability, CapabilityName } from '../../core/models/api/capability';
1
+ import type { AccountIdentification } from '../transferInstruments/accountIdentification.types';
4
2
  import type { Language } from '../../language/Language';
5
3
  import type { CountryCode } from '../../types/datasets/country-code';
6
- import type { Currency } from '../../types/datasets/currency';
7
4
  import type { components, operations } from './transferInstruments.contract';
8
5
  export type GetBankVerificationProviderResponse = components['schemas']['BankAggregatorProviderResponse'][];
9
6
  export type BankVerificationVendor = GetBankVerificationProviderResponse[number];
@@ -27,16 +24,11 @@ export type TransferInstrumentReferenceWithStatusId = Omit<TransferInstrumentRef
27
24
  id: string;
28
25
  };
29
26
  };
30
- export type BankAccountInfoDto = Omit<components['schemas']['BankAccountInfoDto'], 'accountIdentification' | 'countryCode'> & {
27
+ export type BankAccountInfoDto = Omit<components['schemas']['BankAccountInfoDto'], 'accountIdentification'> & {
31
28
  accountIdentification: AccountIdentification;
32
- countryCode: CountryCode;
33
- preferredCurrencyCode?: Currency;
34
29
  };
35
- export type TransferInstrumentDto = Omit<components['schemas']['TransferInstrumentDto'], 'bankAccount' | 'documentDetails' | 'capabilities' | 'problems'> & {
30
+ export type TransferInstrumentDto = Omit<components['schemas']['TransferInstrumentDto'], 'bankAccount'> & {
36
31
  bankAccount: BankAccountInfoDto;
37
- documentDetails?: DocumentDetail[];
38
- capabilities?: Partial<Record<CapabilityName, Capability>>;
39
- problems?: CapabilityProblemDto[];
40
32
  };
41
33
  export interface ExistingTransferInstrument extends TransferInstrumentDto {
42
34
  id: string;
@@ -1,4 +1,4 @@
1
+ import type { AccountIdentification } from '../transferInstruments/accountIdentification.types';
1
2
  import type { MutationOptions } from '../../../types';
2
- import type { AccountIdentification } from '../../core/models/api/accountIdentification';
3
3
  import type { AccountValidationResponse } from './validation.types';
4
4
  export declare const useValidateAccountIdentification: (options?: Omit<MutationOptions<AccountValidationResponse, unknown, AccountIdentification>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<AccountValidationResponse, unknown, AccountIdentification, unknown>;
@@ -1,3 +1,3 @@
1
+ import type { AccountIdentification } from '../../../api/transferInstruments/accountIdentification.types';
1
2
  import type { AccountValidationResponse } from '../../../api/validation/validation.types';
2
- import type { AccountIdentification } from '../../../core/models/api/accountIdentification';
3
3
  export declare const useAsyncAccountDetailsValidationRules: (payload: AccountIdentification | undefined, hasEmptyFields: boolean, isAccountNumberMasked: boolean) => AccountValidationResponse;
@@ -1,5 +1,5 @@
1
+ import type { AccountIdentification } from '../../../api/transferInstruments/accountIdentification.types';
1
2
  import type { BankAccountInfoDto } from '../../../api/transferInstruments/transferInstruments.types';
2
- import type { AccountIdentification } from '../../../core/models/api/accountIdentification';
3
3
  import type { CountryCode } from '../../../types/datasets/country-code';
4
4
  import type { Currency } from '../../../types/datasets/currency';
5
5
  import type { PayoutAccountSchema } from '../forms/PayoutAccount/types';