@adyen/kyc-components 3.63.2 → 3.63.4
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/{CPIOZS5X-BAPAsUnD.js → CPIOZS5X-BwADRQoM.js} +2 -2
- package/dist/{DebugModal-fAWDVtvl.js → DebugModal-BW_UUM92.js} +6 -6
- package/dist/{Introduction-imwEgL7W.js → Introduction-DSesgyxz.js} +1 -1
- package/dist/{OKF6E45R-DJQ6WuJ0.js → OKF6E45R-Bzj685wg.js} +2 -2
- package/dist/{WXAWMS3D-C0qahN6N.js → WXAWMS3D-DPRRb0XO.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-CtLEZ35m.js → core-6UVLmWS0.js} +30 -18
- package/dist/{css-Byr67uS8.js → css-DMPCtRck.js} +1 -1
- package/dist/{json-BOZMhevD.js → json-cGO3gs8w.js} +1 -1
- package/dist/{plaintext-jm6guQOB.js → plaintext-DPFKVMU-.js} +1 -1
- package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +4 -0
- package/dist/types/core/models/api/contracts.d.ts +0 -1
- package/dist/{yaml-BZYqXoHq.js → yaml-BfDvyUVz.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-
|
|
2
|
-
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-DPRRb0XO.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-6UVLmWS0.js";
|
|
3
3
|
var DevtoolsComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "preact/hooks";
|
|
3
|
-
import { B as Button, d as Tag, e as entriesOf, I as InputText, b as useI18nContext, s as splitTaskIdentifier, f as TaskItemStatus, h as useExperimentsContext, i as useSettingsContext, j as useGlobalStore, l as listToRecord, v as valuesOf, k as useTaskStatuses, M as Modal, m as createLogger, n as Icon, o as SettingNames, E as ExperimentNames } from "./core-
|
|
3
|
+
import { B as Button, d as Tag, e as entriesOf, I as InputText, b as useI18nContext, s as splitTaskIdentifier, f as TaskItemStatus, h as useExperimentsContext, i as useSettingsContext, j as useGlobalStore, l as listToRecord, v as valuesOf, k as useTaskStatuses, M as Modal, m as createLogger, n as Icon, o as SettingNames, E as ExperimentNames } from "./core-6UVLmWS0.js";
|
|
4
4
|
const tabs = "adyen-kyc-tabs";
|
|
5
5
|
const styles$1 = {
|
|
6
6
|
tabs
|
|
@@ -135,10 +135,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
135
135
|
};
|
|
136
136
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
137
137
|
const moduleMap = {
|
|
138
|
-
plaintext: () => import("./plaintext-
|
|
139
|
-
json: () => import("./json-
|
|
140
|
-
yaml: () => import("./yaml-
|
|
141
|
-
css: () => import("./css-
|
|
138
|
+
plaintext: () => import("./plaintext-DPFKVMU-.js"),
|
|
139
|
+
json: () => import("./json-cGO3gs8w.js"),
|
|
140
|
+
yaml: () => import("./yaml-BfDvyUVz.js"),
|
|
141
|
+
css: () => import("./css-DMPCtRck.js")
|
|
142
142
|
};
|
|
143
143
|
const getModule = async (name) => {
|
|
144
144
|
if (!supportedModules.includes(name)) {
|
|
@@ -429,7 +429,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
429
429
|
const [tab, setTab] = useState("metadata");
|
|
430
430
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
431
431
|
const metadata = {
|
|
432
|
-
sdkVersion: "3.63.
|
|
432
|
+
sdkVersion: "3.63.4",
|
|
433
433
|
locale: i18n.locale,
|
|
434
434
|
rootLegalEntityId: rootLegalEntity.id
|
|
435
435
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
2
2
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
3
|
-
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-
|
|
3
|
+
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-6UVLmWS0.js";
|
|
4
4
|
import { useMemo } from "preact/compat";
|
|
5
5
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
6
6
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./WXAWMS3D-
|
|
2
|
-
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./WXAWMS3D-DPRRb0XO.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-6UVLmWS0.js";
|
|
3
3
|
var DevtoolsPanelComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { w as createContext, x as createSignal, y as onMount, z as createEffect, q as createMemo, r as createComponent, P as Portal, A as Show, D as template, F as insert, G as createRenderEffect, H as className, J as clearDelegatedEvents, K as delegateEvents, N as useContext, O as onCleanup, Q as sortFns, R as mutationSortFns, U as on, V as setAttribute, W as getSidedProp, X as use, Y as createUniqueId, Z as batch, _ as getQueryStatusLabel, $ as getMutationStatusColor, a0 as getQueryStatusColor, a1 as getQueryStatusColorByLabel, a2 as displayValue, a3 as For, a4 as convertRemToPixels, a5 as untrack, a6 as $TRACK, a7 as useTransition, a8 as spread, a9 as mergeProps, aa as createRoot, ab as serialize, ac as Index, ad as updateNestedDataByPath, ae as addEventListener, af as stringify, ag as Match, ah as Switch, ai as deleteNestedDataByPath, aj as splitProps, ak as Dynamic, al as createComputed } from "./core-
|
|
4
|
+
import { w as createContext, x as createSignal, y as onMount, z as createEffect, q as createMemo, r as createComponent, P as Portal, A as Show, D as template, F as insert, G as createRenderEffect, H as className, J as clearDelegatedEvents, K as delegateEvents, N as useContext, O as onCleanup, Q as sortFns, R as mutationSortFns, U as on, V as setAttribute, W as getSidedProp, X as use, Y as createUniqueId, Z as batch, _ as getQueryStatusLabel, $ as getMutationStatusColor, a0 as getQueryStatusColor, a1 as getQueryStatusColorByLabel, a2 as displayValue, a3 as For, a4 as convertRemToPixels, a5 as untrack, a6 as $TRACK, a7 as useTransition, a8 as spread, a9 as mergeProps, aa as createRoot, ab as serialize, ac as Index, ad as updateNestedDataByPath, ae as addEventListener, af as stringify, ag as Match, ah as Switch, ai as deleteNestedDataByPath, aj as splitProps, ak as Dynamic, al as createComputed } from "./core-6UVLmWS0.js";
|
|
5
5
|
var isNonNullable = (i2) => i2 != null;
|
|
6
6
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
7
7
|
function chain(callbacks) {
|
package/dist/adyenConfig.js
CHANGED
|
@@ -43806,7 +43806,7 @@ const BusinessTypeSelection = ({
|
|
|
43806
43806
|
});
|
|
43807
43807
|
const newAccountHolder = ((_c2 = data.businessType) == null ? void 0 : _c2.accountHolder) || ((_d2 = data.legalArrangement) == null ? void 0 : _d2.accountHolder);
|
|
43808
43808
|
const targetLegalArrangement = (_e2 = data.legalArrangement) == null ? void 0 : _e2.id;
|
|
43809
|
-
const trustOrUnincorporatedPartnership = ((_f2 = data.legalArrangement) == null ? void 0 : _f2.id) === "aTrust" || ((_g2 = data.legalArrangement) == null ? void 0 : _g2.id) === "partnershipUnincorporated";
|
|
43809
|
+
const trustOrUnincorporatedPartnership = ((_f2 = data.legalArrangement) == null ? void 0 : _f2.id) === "aTrust" || ((_g2 = data.legalArrangement) == null ? void 0 : _g2.id) === "partnershipUnincorporated" && isExperimentEnabled(ExperimentNames.EnableUnincorporatedPartnershipInHO);
|
|
43810
43810
|
const targetLegalEntityType = getTargetLegalEntityType(
|
|
43811
43811
|
(_h2 = data.businessType) == null ? void 0 : _h2.id,
|
|
43812
43812
|
(_i2 = data.legalArrangement) == null ? void 0 : _i2.id,
|
|
@@ -44435,7 +44435,7 @@ const getPciQuestionnaire = async (legalEntityId, url, documentId) => {
|
|
|
44435
44435
|
loadingContext: url,
|
|
44436
44436
|
errorLevel: "warn",
|
|
44437
44437
|
errorMessage: `Failed to download pci document`,
|
|
44438
|
-
path:
|
|
44438
|
+
path: `legalEntities/${legalEntityId}/pci/questionnaires/${documentId}`,
|
|
44439
44439
|
authentication: "jwt",
|
|
44440
44440
|
headers: {
|
|
44441
44441
|
"Content-Type": "application/json"
|
|
@@ -44454,6 +44454,14 @@ const getPciQuestionnaireList = async (legalEntityId, url) => {
|
|
|
44454
44454
|
}
|
|
44455
44455
|
});
|
|
44456
44456
|
};
|
|
44457
|
+
const usePciQuestionnaireList = (options) => {
|
|
44458
|
+
const { legalEntityId, baseUrl } = useApiContext();
|
|
44459
|
+
return useQuery({
|
|
44460
|
+
queryKey: ["pciQuestionnaireList", legalEntityId.value, baseUrl.value],
|
|
44461
|
+
queryFn: () => getPciQuestionnaireList(legalEntityId.value, baseUrl.value),
|
|
44462
|
+
...options
|
|
44463
|
+
});
|
|
44464
|
+
};
|
|
44457
44465
|
const getTaskStatus = async (legalEntityId, url) => {
|
|
44458
44466
|
return httpGet({
|
|
44459
44467
|
loadingContext: url,
|
|
@@ -44901,7 +44909,7 @@ function TaskList({
|
|
|
44901
44909
|
onTransferInstrumentDelete,
|
|
44902
44910
|
singpassComponent
|
|
44903
44911
|
}) {
|
|
44904
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
44912
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
|
|
44905
44913
|
const { accountHolder } = useCoreContext();
|
|
44906
44914
|
const { i18n } = useI18nContext();
|
|
44907
44915
|
const userEvents2 = useAnalyticsContext();
|
|
@@ -44923,6 +44931,9 @@ function TaskList({
|
|
|
44923
44931
|
{ additionalSalesChannels },
|
|
44924
44932
|
{ enabled: tasks.includes(TaskTypes.PCI_DSS) }
|
|
44925
44933
|
);
|
|
44934
|
+
const { data: pciQuestionnaireList } = usePciQuestionnaireList();
|
|
44935
|
+
const pciDocuments = ((_a2 = pciQuestionnaireList == null ? void 0 : pciQuestionnaireList.data) == null ? void 0 : _a2.length) ?? 0;
|
|
44936
|
+
const pciHasDocuments = pciDocuments > 0;
|
|
44926
44937
|
const hasTaskOfGroupAccountDetails = tasks.some((task) => LEGAL_ENTITY_BASE_TASKS.includes(task));
|
|
44927
44938
|
const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(legalEntityResponse);
|
|
44928
44939
|
const hasUnincorporatedPartnership = accountHolder === "anUnincorporatedPartnership" || isPartOfUnincorporatedPartnership(legalEntityResponse);
|
|
@@ -44942,13 +44953,13 @@ function TaskList({
|
|
|
44942
44953
|
const isLegalRepresentativeRequired = isExperimentEnabled("EnableAgeVerification") && doesLegalEntityRequiresLegalRepresentative(legalEntityResponse);
|
|
44943
44954
|
const legalRepresentative = isLegalRepresentativeRequired && getLegalRepresentative(legalEntityResponse);
|
|
44944
44955
|
const transferInstruments = (legalEntityResponse == null ? void 0 : legalEntityResponse.transferInstruments) || [];
|
|
44945
|
-
const canAddPayoutAccount = ((
|
|
44956
|
+
const canAddPayoutAccount = ((_b2 = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _b2.legalName) || ((_c2 = legalEntityResponse == null ? void 0 : legalEntityResponse.individual) == null ? void 0 : _c2.name);
|
|
44946
44957
|
const hasPayinTaskNotPayout = tasks.includes(TaskTypes.PAYIN) && !tasks.includes(TaskTypes.PAYOUT);
|
|
44947
|
-
const hasPciSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && !!((
|
|
44958
|
+
const hasPciSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && !!((_d2 = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _d2.length) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!((_e2 = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _e2.length);
|
|
44948
44959
|
const canSignPci = hasPciSigners && tasks.includes(TaskTypes.PCI_DSS);
|
|
44949
44960
|
const isSigningRequired = (pciStatus == null ? void 0 : pciStatus.signingRequired) === "true" || (pciStatus == null ? void 0 : pciStatus.signingRequired) === true;
|
|
44950
|
-
const canDownloadPci = !isSigningRequired &&
|
|
44951
|
-
const isPciTaskDisabled = !canSignPci || !isSigningRequired && !
|
|
44961
|
+
const canDownloadPci = !isSigningRequired && pciHasDocuments;
|
|
44962
|
+
const isPciTaskDisabled = !canSignPci || !isSigningRequired && !pciHasDocuments || canDownloadPci;
|
|
44952
44963
|
const showPciTask = (canDownloadPci || isSigningRequired) && !hidePciTaskExperiment;
|
|
44953
44964
|
const showServiceAgreementTask = tasks.includes(TaskTypes.SERVICE_AGREEMENT) && (serviceAgreementTypes.length > 0 || serviceAgreementAcceptanceInfos.length > 0);
|
|
44954
44965
|
const hasServiceAgreementSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && getOwnSignatories(legalEntityResponse).length || Boolean(legalRepresentative) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!(legalEntityResponse == null ? void 0 : legalEntityResponse.individual);
|
|
@@ -45069,7 +45080,7 @@ function TaskList({
|
|
|
45069
45080
|
icon: "decision-maker",
|
|
45070
45081
|
titleKey: hasTrust ? "trusteePersonalDetails" : "personalDetails",
|
|
45071
45082
|
status: getTaskStatus2(TaskTypes.INDIVIDUAL),
|
|
45072
|
-
problems: (
|
|
45083
|
+
problems: (_f2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _f2[legalEntityResponse.id]
|
|
45073
45084
|
}
|
|
45074
45085
|
),
|
|
45075
45086
|
isLegalRepresentativeRequired && /* @__PURE__ */ jsx$1(
|
|
@@ -45099,7 +45110,7 @@ function TaskList({
|
|
|
45099
45110
|
icon: "company",
|
|
45100
45111
|
titleKey: hasTrust ? "companyTrusteeDetails" : "companyDetails",
|
|
45101
45112
|
status: getTaskStatus2(TaskTypes.COMPANY),
|
|
45102
|
-
problems: (
|
|
45113
|
+
problems: (_g2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _g2[legalEntityResponse.id]
|
|
45103
45114
|
}
|
|
45104
45115
|
),
|
|
45105
45116
|
companyTaskType === TaskTypes.BUSINESS_DETAILS && /* @__PURE__ */ jsx$1(
|
|
@@ -45110,7 +45121,7 @@ function TaskList({
|
|
|
45110
45121
|
icon: "company",
|
|
45111
45122
|
titleKey: hasTrust ? "businessTrusteeDetails" : "businessDetails",
|
|
45112
45123
|
status: getTaskStatus2(TaskTypes.BUSINESS_DETAILS),
|
|
45113
|
-
problems: (
|
|
45124
|
+
problems: (_h2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _h2[legalEntityResponse.id]
|
|
45114
45125
|
}
|
|
45115
45126
|
),
|
|
45116
45127
|
tasks.includes(TaskTypes.DECISION_MAKER_OVERVIEW) && /* @__PURE__ */ jsx$1(
|
|
@@ -45287,7 +45298,7 @@ function TaskList({
|
|
|
45287
45298
|
icon: "review",
|
|
45288
45299
|
titleKey: "submitReviewOfYourData",
|
|
45289
45300
|
status: TaskStatus.SUBMIT,
|
|
45290
|
-
problems: (
|
|
45301
|
+
problems: (_i2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _i2[legalEntityResponse.id],
|
|
45291
45302
|
showErrorAlerts: "always"
|
|
45292
45303
|
}
|
|
45293
45304
|
) })
|
|
@@ -53292,6 +53303,7 @@ function SignPCIComponent({
|
|
|
53292
53303
|
const signPci2 = useSignPci({
|
|
53293
53304
|
onSuccess: () => {
|
|
53294
53305
|
queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntityId] });
|
|
53306
|
+
queryClient.invalidateQueries({ queryKey: ["pciQuestionnaireList"] });
|
|
53295
53307
|
onUnmount == null ? void 0 : onUnmount();
|
|
53296
53308
|
onSigned == null ? void 0 : onSigned();
|
|
53297
53309
|
}
|
|
@@ -53465,7 +53477,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
53465
53477
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
53466
53478
|
};
|
|
53467
53479
|
const Introduction = lazy$1(
|
|
53468
|
-
async () => (await import("./Introduction-
|
|
53480
|
+
async () => (await import("./Introduction-DSesgyxz.js")).Introduction
|
|
53469
53481
|
);
|
|
53470
53482
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
53471
53483
|
const logger$7 = createLogger();
|
|
@@ -58142,7 +58154,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
58142
58154
|
if (__privateGet(this, _Component)) {
|
|
58143
58155
|
Devtools = __privateGet(this, _Component);
|
|
58144
58156
|
} else {
|
|
58145
|
-
Devtools = lazy(() => import("./CPIOZS5X-
|
|
58157
|
+
Devtools = lazy(() => import("./CPIOZS5X-BwADRQoM.js"));
|
|
58146
58158
|
__privateSet(this, _Component, Devtools);
|
|
58147
58159
|
}
|
|
58148
58160
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -58264,7 +58276,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
58264
58276
|
if (__privateGet(this, _Component2)) {
|
|
58265
58277
|
Devtools = __privateGet(this, _Component2);
|
|
58266
58278
|
} else {
|
|
58267
|
-
Devtools = lazy(() => import("./OKF6E45R-
|
|
58279
|
+
Devtools = lazy(() => import("./OKF6E45R-Bzj685wg.js"));
|
|
58268
58280
|
__privateSet(this, _Component2, Devtools);
|
|
58269
58281
|
}
|
|
58270
58282
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -58483,7 +58495,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
58483
58495
|
};
|
|
58484
58496
|
};
|
|
58485
58497
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
58486
|
-
const sdkVersion = "3.63.
|
|
58498
|
+
const sdkVersion = "3.63.4";
|
|
58487
58499
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
58488
58500
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
58489
58501
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -58557,7 +58569,7 @@ const AnalyticsProvider = ({
|
|
|
58557
58569
|
const { onboardingVersion } = useVersion();
|
|
58558
58570
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
58559
58571
|
const sessionData = {
|
|
58560
|
-
sdkVersion: "3.63.
|
|
58572
|
+
sdkVersion: "3.63.4",
|
|
58561
58573
|
componentName,
|
|
58562
58574
|
userAgent: navigator.userAgent,
|
|
58563
58575
|
legalEntityId,
|
|
@@ -58709,7 +58721,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
58709
58721
|
[baseUrl, rootLegalEntityId]
|
|
58710
58722
|
);
|
|
58711
58723
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
58712
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.
|
|
58724
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.4" }),
|
|
58713
58725
|
children2
|
|
58714
58726
|
] });
|
|
58715
58727
|
};
|
|
@@ -59184,7 +59196,7 @@ function StateProvider({
|
|
|
59184
59196
|
);
|
|
59185
59197
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
59186
59198
|
}
|
|
59187
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
59199
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-BW_UUM92.js").then((n) => n.D)).DebugModal);
|
|
59188
59200
|
const DebugListener = () => {
|
|
59189
59201
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
59190
59202
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import type { QueryOptions } from '@tanstack/react-query';
|
|
1
2
|
import type { components } from './pci.contract';
|
|
2
3
|
type SuccessResponse = components['schemas']['PciQuestionnairesResponse'];
|
|
3
4
|
/**
|
|
4
5
|
* Returns a list of questionnaires for the legalEntity
|
|
5
6
|
*/
|
|
6
7
|
export declare const getPciQuestionnaireList: (legalEntityId: string, url: string) => Promise<SuccessResponse>;
|
|
8
|
+
export declare const usePciQuestionnaireList: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
9
|
+
data?: components["schemas"]["PciDocumentInfo"][];
|
|
10
|
+
}, Error>;
|
|
7
11
|
export {};
|