@adyen/kyc-components 4.25.1 → 4.25.2
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.
- package/dist/{DebugModal-8fJx_3AM.js → DebugModal-CR4CRxIH.js} +2 -2
- package/dist/{DecisionMakerDetailsPage-CGOs2Ubt.js → DecisionMakerDetailsPage-DY0nuFUI.js} +1 -1
- package/dist/{IndividualDropin-D1UOavsw.js → IndividualDropin-Bg0cL1Rf.js} +9 -3
- package/dist/{InvitedDecisionMakerComponent-hdQc0T7D.js → InvitedDecisionMakerComponent-B-ey6hBS.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-BiAfoErR.js → LegalRepresentativeDetailsPage-BDG0ML64.js} +1 -1
- package/dist/{PayoutDetailsPage-BOW-brKt.js → PayoutDetailsPage-CoE94WE6.js} +1 -1
- package/dist/{RootIndividualDetailsPage-vkjzmyF7.js → RootIndividualDetailsPage-PkcLN0El.js} +1 -1
- package/dist/{TrustMemberIndividualPage-BLBtnoSq.js → TrustMemberIndividualPage-Dlt0O4MR.js} +1 -1
- package/dist/{UnincorporatedPartnershipIndividualPage-BT0j54-O.js → UnincorporatedPartnershipIndividualPage-tHoVsMAA.js} +1 -1
- package/dist/adyen-business-financing.js +1 -1
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +1 -1
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +1 -1
- package/dist/adyen-transfer-instrument-management.js +1 -1
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{resolveEnvironment-BjDpWUfh.js → resolveEnvironment-Tnw3ytcJ.js} +5 -5
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +5 -1
- package/dist/{useNavigate-D755WxsU.js → useNavigate-BdAQG04P.js} +7 -7
- package/package.json +1 -1
|
@@ -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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e7caf09-b858-49b8-a3a4-99d5cba35001", e._sentryDebugIdIdentifier = "sentry-dbid-0e7caf09-b858-49b8-a3a4-99d5cba35001");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -351,7 +351,7 @@ var DebugModal = ({ onExit }) => {
|
|
|
351
351
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
352
352
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
353
353
|
const metadata = {
|
|
354
|
-
sdkVersion: "4.25.
|
|
354
|
+
sdkVersion: "4.25.2",
|
|
355
355
|
locale: i18n.language,
|
|
356
356
|
rootLegalEntityId: rootLegalEntity.id
|
|
357
357
|
};
|
|
@@ -15,7 +15,7 @@ import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
|
15
15
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
16
16
|
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-RXELXyTR.js";
|
|
17
17
|
import { t as useScenarios } from "./useScenarios-DV2TeNvN.js";
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-Bg0cL1Rf.js";
|
|
19
19
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-Ta-pURcL.js";
|
|
20
20
|
import { useEffect } from "preact/hooks";
|
|
21
21
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6b3b3433-4b89-4872-9b25-bc7624927029", e._sentryDebugIdIdentifier = "sentry-dbid-6b3b3433-4b89-4872-9b25-bc7624927029");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -3392,7 +3392,7 @@ var adjustOnfidoIdentificationData = (data, apiData) => {
|
|
|
3392
3392
|
};
|
|
3393
3393
|
//#endregion
|
|
3394
3394
|
//#region src/components/Individual/mapping/mapIndividualSchemaToLegalEntity.ts
|
|
3395
|
-
var mapIndividualSchemaToLegalEntity = (individual, isFeatureEnabled, matchingScenario) => {
|
|
3395
|
+
var mapIndividualSchemaToLegalEntity = (individual, isFeatureEnabled, matchingScenario, existingTaxInformation) => {
|
|
3396
3396
|
const legalEntity = {
|
|
3397
3397
|
...formatObject(individual, individualApiKeyMapping),
|
|
3398
3398
|
type: "individual"
|
|
@@ -3421,6 +3421,12 @@ var mapIndividualSchemaToLegalEntity = (individual, isFeatureEnabled, matchingSc
|
|
|
3421
3421
|
if (phone.number && legalEntity.individual) legalEntity.individual.phone = phone;
|
|
3422
3422
|
else delete legalEntity?.individual?.phone;
|
|
3423
3423
|
}
|
|
3424
|
+
if (legalEntity.individual?.taxInformation) {
|
|
3425
|
+
const currentCountry = individual.additionalPersonalDetails?.country;
|
|
3426
|
+
const taxInformation = legalEntity.individual.taxInformation.filter((taxInfo) => (taxInfo.country === currentCountry || existingTaxInformation?.some((savedTaxInfo) => savedTaxInfo.country === taxInfo.country)) && (taxInfo.number?.trim() || taxInfo.numberAbsent));
|
|
3427
|
+
if (taxInformation.length) legalEntity.individual.taxInformation = taxInformation;
|
|
3428
|
+
else delete legalEntity.individual.taxInformation;
|
|
3429
|
+
}
|
|
3424
3430
|
return legalEntity;
|
|
3425
3431
|
};
|
|
3426
3432
|
//#endregion
|
|
@@ -4063,7 +4069,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
4063
4069
|
const dataSubmitted = omitObscuredFieldsIfUnchanged(individualObscuredFields, data, dataFromResponse);
|
|
4064
4070
|
if (!dataSubmitted) return;
|
|
4065
4071
|
try {
|
|
4066
|
-
const legalEntity = mapIndividualSchemaToLegalEntity(dataSubmitted, isFeatureEnabled, matchingScenario);
|
|
4072
|
+
const legalEntity = mapIndividualSchemaToLegalEntity(dataSubmitted, isFeatureEnabled, matchingScenario, legalEntityResponse?.individual?.taxInformation);
|
|
4067
4073
|
const idDocumentType = idDocumentTypeOptions.find(({ id }) => dataSubmitted?.idVerificationMethod?.idDocument?.idDocumentType === id)?.id;
|
|
4068
4074
|
legalEntity.entityAssociations = filterOutUnwantedAssociationsIfRootLE(taskType, legalEntityResponse, accountHolder || void 0);
|
|
4069
4075
|
clearToasts();
|
package/dist/{InvitedDecisionMakerComponent-hdQc0T7D.js → InvitedDecisionMakerComponent-B-ey6hBS.js}
RENAMED
|
@@ -22,7 +22,7 @@ import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
|
22
22
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
23
23
|
import { t as ListItem } from "./ListItem-CHGVbHhB.js";
|
|
24
24
|
import { t as getIndividualLegalEntityName } from "./getName-DgxRqagk.js";
|
|
25
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
25
|
+
import { t as IndividualDropin } from "./IndividualDropin-Bg0cL1Rf.js";
|
|
26
26
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
27
27
|
import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-RF9BoMYF.js";
|
|
28
28
|
import { lazy } from "preact/compat";
|
|
@@ -10,7 +10,7 @@ import { i as noop } from "./genUtils-nphCwt1A.js";
|
|
|
10
10
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
13
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { t as IndividualDropin } from "./IndividualDropin-Bg0cL1Rf.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
import { skipToken } from "@tanstack/preact-query";
|
|
16
16
|
//#region src/components/Individual/pages/LegalRepresentativeDetailsPage.tsx
|
|
@@ -7,7 +7,7 @@ import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
|
7
7
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
9
9
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
10
|
-
import { t as useNavigate } from "./useNavigate-
|
|
10
|
+
import { t as useNavigate } from "./useNavigate-BdAQG04P.js";
|
|
11
11
|
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-NyizAaYy.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
package/dist/{RootIndividualDetailsPage-vkjzmyF7.js → RootIndividualDetailsPage-PkcLN0El.js}
RENAMED
|
@@ -15,7 +15,7 @@ import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-BG17fZ56.js";
|
|
|
15
15
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
16
16
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
17
17
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DaJ3LZ2L.js";
|
|
18
|
-
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-Bg0cL1Rf.js";
|
|
19
19
|
import { jsx } from "preact/jsx-runtime";
|
|
20
20
|
//#region src/components/Individual/pages/RootIndividualDetailsPage.tsx
|
|
21
21
|
function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|
package/dist/{TrustMemberIndividualPage-BLBtnoSq.js → TrustMemberIndividualPage-Dlt0O4MR.js}
RENAMED
|
@@ -10,7 +10,7 @@ import { i as noop } from "./genUtils-nphCwt1A.js";
|
|
|
10
10
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
13
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { t as IndividualDropin } from "./IndividualDropin-Bg0cL1Rf.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
import { skipToken } from "@tanstack/preact-query";
|
|
16
16
|
import { useParams } from "wouter-preact";
|
|
@@ -10,7 +10,7 @@ import { i as noop } from "./genUtils-nphCwt1A.js";
|
|
|
10
10
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
13
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { t as IndividualDropin } from "./IndividualDropin-Bg0cL1Rf.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
import { skipToken } from "@tanstack/preact-query";
|
|
16
16
|
import { useParams } from "wouter-preact";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c4bb514c-0971-4534-8e00-5bd2689fe88c", e._sentryDebugIdIdentifier = "sentry-dbid-c4bb514c-0971-4534-8e00-5bd2689fe88c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
@@ -3,14 +3,14 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e449d049-73f3-4417-8b4c-53bf8a2a1f13", e._sentryDebugIdIdentifier = "sentry-dbid-e449d049-73f3-4417-8b4c-53bf8a2a1f13");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
10
10
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-BY_voJ99.js";
|
|
13
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { t as IndividualDropin } from "./IndividualDropin-Bg0cL1Rf.js";
|
|
14
14
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
15
15
|
import register from "preact-custom-element";
|
|
16
16
|
import { useRef } from "preact/hooks";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c8c9f4a5-2a39-40e5-94ff-2748036d3f63", e._sentryDebugIdIdentifier = "sentry-dbid-c8c9f4a5-2a39-40e5-94ff-2748036d3f63");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
@@ -2,8 +2,8 @@ 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] = "729d62d4-46f0-4621-9cfc-3c262f5216ec", e._sentryDebugIdIdentifier = "sentry-dbid-729d62d4-46f0-4621-9cfc-3c262f5216ec");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
-
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-
|
|
5
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
6
|
+
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-B-ey6hBS.js";
|
|
7
7
|
import register from "preact-custom-element";
|
|
8
8
|
import { jsx } from "preact/jsx-runtime";
|
|
9
9
|
//#region src/embeds/invited-decision-maker/adyen-invited-decision-maker.tsx
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea7a5ccb-7585-4d92-9605-76a462d6b491", e._sentryDebugIdIdentifier = "sentry-dbid-ea7a5ccb-7585-4d92-9605-76a462d6b491");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Icon } from "./Icon-DFQgr7dy.js";
|
|
9
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
@@ -58,7 +58,7 @@ import { r as translateTranslatable } from "./utils-CYUYe54m.js";
|
|
|
58
58
|
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-BbNowjM2.js";
|
|
59
59
|
import { t as isNewEntity } from "./isNewEntity-vML86iIM.js";
|
|
60
60
|
import { a as idNowPostSubmit, n as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-RXELXyTR.js";
|
|
61
|
-
import { A as UnincorporatedPartnershipMemberRoleAndTypePage, C as TrustDetailsPage, D as TrustMembersOverview, E as TrustMemberRoleAndTypePage, M as getDefaultTask, O as UnincorporatedPartnershipIndividualPage, S as TaxReportingDropin, T as TrustMemberIndividualPage, _ as RootIndividualDetailsPage, a as BusinessTypeSelectionPage, b as SoleProprietorshipPage, c as DecisionMakers, d as LegalRepresentativeDetailsPage, f as PayoutDetailsPage, g as RootBusinessLinesPage, h as RootBusinessDetailsPage, i as BusinessFinancingPage, j as UnincorporatedPartnershipMembersOverview, k as UnincorporatedPartnershipMemberCompanyPage, l as GlobalEntryPage, m as Review, n as AcceptTermsOfService, o as CustomerSupport, p as ROUTE_PATHS, r as AccountSetupRejected, s as DecisionMakerDetailsPage, t as useNavigate, u as Introduction, v as SignPCIComponent, w as TrustMemberCompanyPage, x as SourceOfFundsPage, y as SingpassSelection } from "./useNavigate-
|
|
61
|
+
import { A as UnincorporatedPartnershipMemberRoleAndTypePage, C as TrustDetailsPage, D as TrustMembersOverview, E as TrustMemberRoleAndTypePage, M as getDefaultTask, O as UnincorporatedPartnershipIndividualPage, S as TaxReportingDropin, T as TrustMemberIndividualPage, _ as RootIndividualDetailsPage, a as BusinessTypeSelectionPage, b as SoleProprietorshipPage, c as DecisionMakers, d as LegalRepresentativeDetailsPage, f as PayoutDetailsPage, g as RootBusinessLinesPage, h as RootBusinessDetailsPage, i as BusinessFinancingPage, j as UnincorporatedPartnershipMembersOverview, k as UnincorporatedPartnershipMemberCompanyPage, l as GlobalEntryPage, m as Review, n as AcceptTermsOfService, o as CustomerSupport, p as ROUTE_PATHS, r as AccountSetupRejected, s as DecisionMakerDetailsPage, t as useNavigate, u as Introduction, v as SignPCIComponent, w as TrustMemberCompanyPage, x as SourceOfFundsPage, y as SingpassSelection } from "./useNavigate-BdAQG04P.js";
|
|
62
62
|
import { t as useTrustMembers } from "./useTrustMembers-uhgi2qfN.js";
|
|
63
63
|
import register from "preact-custom-element";
|
|
64
64
|
import { Suspense, lazy } from "preact/compat";
|
|
@@ -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] = "76188a61-cee8-435e-97b4-bbcd37f1b015", e._sentryDebugIdIdentifier = "sentry-dbid-76188a61-cee8-435e-97b4-bbcd37f1b015");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
5
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
6
6
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
7
7
|
import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-BM5K4cpw.js";
|
|
8
8
|
import register from "preact-custom-element";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6e7ed64d-ba1c-4bf1-9694-dcbe81993253", e._sentryDebugIdIdentifier = "sentry-dbid-6e7ed64d-ba1c-4bf1-9694-dcbe81993253");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { s as useApiContext } from "./http-DsJtugN1.js";
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
9
9
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DbJDklA2.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "924eebdb-f5e0-4575-893d-a9254accb0dd", e._sentryDebugIdIdentifier = "sentry-dbid-924eebdb-f5e0-4575-893d-a9254accb0dd");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66db2553-002d-49b1-b95d-268183963e08", e._sentryDebugIdIdentifier = "sentry-dbid-66db2553-002d-49b1-b95d-268183963e08");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fb214a55-b971-4dd3-ad1d-70c387e23def", e._sentryDebugIdIdentifier = "sentry-dbid-fb214a55-b971-4dd3-ad1d-70c387e23def");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-Tnw3ytcJ.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
9
9
|
import { t as Button } from "./Button-BxdC8cVB.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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5f20ef4b-f316-484f-beb5-be6d119fbea4", e._sentryDebugIdIdentifier = "sentry-dbid-5f20ef4b-f316-484f-beb5-be6d119fbea4");
|
|
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";
|
|
@@ -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.
|
|
315
|
+
const sdkVersion = "4.25.2";
|
|
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.
|
|
411
|
+
sdkVersion: "4.25.2",
|
|
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-
|
|
867
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-CR4CRxIH.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.
|
|
968
|
+
children: "4.25.2"
|
|
969
969
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
970
970
|
componentName,
|
|
971
971
|
locale,
|
|
@@ -2,4 +2,8 @@ import type { LegalEntityDto } from '../../../api/legalEntity/legalEntity.types'
|
|
|
2
2
|
import type { FeatureName } from '../../../context/ToggleContext/types';
|
|
3
3
|
import type { Scenario } from '../../../types/scenarios';
|
|
4
4
|
import type { IndividualSchema } from '../forms/Individual.types';
|
|
5
|
-
export declare const mapIndividualSchemaToLegalEntity: (individual: IndividualSchema, isFeatureEnabled: (key: FeatureName) => boolean, matchingScenario?: Scenario[]
|
|
5
|
+
export declare const mapIndividualSchemaToLegalEntity: (individual: IndividualSchema, isFeatureEnabled: (key: FeatureName) => boolean, matchingScenario?: Scenario[],
|
|
6
|
+
/** Tax records already saved on the legal entity, so records for other countries are kept. */
|
|
7
|
+
existingTaxInformation?: ReadonlyArray<{
|
|
8
|
+
country?: string;
|
|
9
|
+
}>) => LegalEntityDto;
|
|
@@ -38,25 +38,25 @@ var Review = lazy(async () => (await import("./Review-CzgmjDcZ.js")).Review);
|
|
|
38
38
|
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CIkdVNH2.js").then((n) => n.n)).SignPCIComponent);
|
|
39
39
|
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-BM5K4cpw.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
40
|
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-Cq3gBWtp.js")).TaxReportingDropin);
|
|
41
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-CoE94WE6.js")).PayoutDetailsPage);
|
|
42
42
|
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-MdKN-iNS.js")).RootBusinessDetailsPage);
|
|
43
43
|
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Dv1uT7OS.js")).RootBusinessLinesPage);
|
|
44
44
|
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-_aY8GRDx.js")).SoleProprietorshipPage);
|
|
45
45
|
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-6yLYDall.js")).TrustMemberCompanyPage);
|
|
46
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-Dlt0O4MR.js")).TrustMemberIndividualPage);
|
|
47
47
|
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-DIwrtOWr.js")).TrustMemberRoleAndTypePage);
|
|
48
48
|
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-CowTgfIb.js")).TrustMembersOverview);
|
|
49
49
|
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-B-wcypiJ.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-tHoVsMAA.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
51
|
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
52
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-5w1BrDMI.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
53
|
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-C4dAslMp.js")).BusinessFinancingPage);
|
|
54
54
|
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-z7s9FxVC.js")).TrustDetailsPage);
|
|
55
55
|
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-B5nZ3MjN.js")).SourceOfFundsPage);
|
|
56
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
57
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
58
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
59
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-PkcLN0El.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-BDG0ML64.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-DY0nuFUI.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-B-ey6hBS.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
60
60
|
var ROUTE_CONFIG = {
|
|
61
61
|
[TaskTypes.ADAPTIVE]: {
|
|
62
62
|
path: "/adaptive",
|