@adyen/kyc-components 3.62.3 → 3.62.5
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-KB2Fkln9.js → CPIOZS5X-CaG40EZu.js} +2 -2
- package/dist/{DebugModal-DOXNVb2i.js → DebugModal-BuwmjsKS.js} +6 -6
- package/dist/{Introduction-B5HBUbVx.js → Introduction-CQpPe0JI.js} +1 -1
- package/dist/{OKF6E45R-DXIRgbLr.js → OKF6E45R-D_H5bQ3b.js} +2 -2
- package/dist/{WXAWMS3D-Cxaz1w8Y.js → WXAWMS3D-DQjRhnfM.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-CixeVdm9.js → core-tbkhBGc3.js} +45 -18
- package/dist/{css-C4zB4Coz.js → css-p5xDSyfA.js} +1 -1
- package/dist/{json-DWUfL6uL.js → json-QT-V6QSV.js} +1 -1
- package/dist/{plaintext-BuYfu9Y-.js → plaintext-g3Akuw64.js} +1 -1
- package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +11 -0
- package/dist/types/core/models/api/contracts.d.ts +0 -1
- package/dist/{yaml-CrNAjUf2.js → yaml-Durv0F6i.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-DQjRhnfM.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-tbkhBGc3.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-tbkhBGc3.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-g3Akuw64.js"),
|
|
139
|
+
json: () => import("./json-QT-V6QSV.js"),
|
|
140
|
+
yaml: () => import("./yaml-Durv0F6i.js"),
|
|
141
|
+
css: () => import("./css-p5xDSyfA.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.62.
|
|
432
|
+
sdkVersion: "3.62.5",
|
|
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-tbkhBGc3.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-DQjRhnfM.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-tbkhBGc3.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-tbkhBGc3.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
|
@@ -43992,6 +43992,26 @@ function Review({
|
|
|
43992
43992
|
);
|
|
43993
43993
|
return /* @__PURE__ */ jsx$1(DropinLayout, { content, footer });
|
|
43994
43994
|
}
|
|
43995
|
+
const getPciQuestionnaireList = async (legalEntityId, url) => {
|
|
43996
|
+
return httpGet({
|
|
43997
|
+
loadingContext: url,
|
|
43998
|
+
errorLevel: "warn",
|
|
43999
|
+
errorMessage: `Failed to get pci questionnaires`,
|
|
44000
|
+
path: `legalEntities/${legalEntityId}/pci/questionnaires`,
|
|
44001
|
+
authentication: "jwt",
|
|
44002
|
+
headers: {
|
|
44003
|
+
"Content-Type": "application/json"
|
|
44004
|
+
}
|
|
44005
|
+
});
|
|
44006
|
+
};
|
|
44007
|
+
const usePciQuestionnaireList = (options) => {
|
|
44008
|
+
const { legalEntityId, baseUrl } = useApiContext();
|
|
44009
|
+
return useQuery({
|
|
44010
|
+
queryKey: ["pciQuestionnaireList", legalEntityId.value, baseUrl.value],
|
|
44011
|
+
queryFn: () => getPciQuestionnaireList(legalEntityId.value, baseUrl.value),
|
|
44012
|
+
...options
|
|
44013
|
+
});
|
|
44014
|
+
};
|
|
43995
44015
|
const getTaskStatus = async (legalEntityId, url) => {
|
|
43996
44016
|
return httpGet({
|
|
43997
44017
|
loadingContext: url,
|
|
@@ -44440,7 +44460,7 @@ function TaskList({
|
|
|
44440
44460
|
onTransferInstrumentDelete,
|
|
44441
44461
|
singpassComponent
|
|
44442
44462
|
}) {
|
|
44443
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
44463
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
|
|
44444
44464
|
const { accountHolder } = useCoreContext();
|
|
44445
44465
|
const { i18n } = useI18nContext();
|
|
44446
44466
|
const userEvents2 = useAnalyticsContext();
|
|
@@ -44461,6 +44481,9 @@ function TaskList({
|
|
|
44461
44481
|
{ additionalSalesChannels },
|
|
44462
44482
|
{ enabled: tasks.includes(TaskTypes.PCI_DSS) }
|
|
44463
44483
|
);
|
|
44484
|
+
const { data: pciQuestionnaireList } = usePciQuestionnaireList();
|
|
44485
|
+
const pciDocuments = ((_a2 = pciQuestionnaireList == null ? void 0 : pciQuestionnaireList.data) == null ? void 0 : _a2.length) ?? 0;
|
|
44486
|
+
const pciHasDocuments = pciDocuments > 0;
|
|
44464
44487
|
const hasTaskOfGroupAccountDetails = tasks.some((task) => LEGAL_ENTITY_BASE_TASKS.includes(task));
|
|
44465
44488
|
const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(legalEntityResponse);
|
|
44466
44489
|
const hasUnincorporatedPartnership = accountHolder === "anUnincorporatedPartnership" || isPartOfUnincorporatedPartnership(legalEntityResponse);
|
|
@@ -44480,13 +44503,13 @@ function TaskList({
|
|
|
44480
44503
|
const isLegalRepresentativeRequired = isExperimentEnabled("EnableAgeVerification") && doesLegalEntityRequiresLegalRepresentative(legalEntityResponse);
|
|
44481
44504
|
const legalRepresentative = isLegalRepresentativeRequired && getLegalRepresentative(legalEntityResponse);
|
|
44482
44505
|
const transferInstruments = (legalEntityResponse == null ? void 0 : legalEntityResponse.transferInstruments) || [];
|
|
44483
|
-
const canAddPayoutAccount = ((
|
|
44506
|
+
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);
|
|
44484
44507
|
const hasPayinTaskNotPayout = tasks.includes(TaskTypes.PAYIN) && !tasks.includes(TaskTypes.PAYOUT);
|
|
44485
|
-
const hasPciSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && !!((
|
|
44508
|
+
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);
|
|
44486
44509
|
const canSignPci = hasPciSigners && tasks.includes(TaskTypes.PCI_DSS);
|
|
44487
44510
|
const isSigningRequired = (pciStatus == null ? void 0 : pciStatus.signingRequired) === "true" || (pciStatus == null ? void 0 : pciStatus.signingRequired) === true;
|
|
44488
|
-
const canDownloadPci = !isSigningRequired &&
|
|
44489
|
-
const isPciTaskDisabled = !canSignPci || !isSigningRequired && !
|
|
44511
|
+
const canDownloadPci = !isSigningRequired && pciHasDocuments;
|
|
44512
|
+
const isPciTaskDisabled = !canSignPci || !isSigningRequired && !pciHasDocuments || canDownloadPci;
|
|
44490
44513
|
const showPciTask = (canDownloadPci || isSigningRequired) && !hidePciTaskExperiment;
|
|
44491
44514
|
const showServiceAgreementTask = tasks.includes(TaskTypes.SERVICE_AGREEMENT) && (serviceAgreementTypes.length > 0 || serviceAgreementAcceptanceInfos.length > 0);
|
|
44492
44515
|
const hasServiceAgreementSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && getOwnSignatories(legalEntityResponse).length || Boolean(legalRepresentative) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!(legalEntityResponse == null ? void 0 : legalEntityResponse.individual);
|
|
@@ -44583,7 +44606,7 @@ function TaskList({
|
|
|
44583
44606
|
icon: "decision-maker",
|
|
44584
44607
|
titleKey: hasTrust ? "trusteePersonalDetails" : "personalDetails",
|
|
44585
44608
|
status: getTaskStatus2(TaskTypes.INDIVIDUAL),
|
|
44586
|
-
problems: (
|
|
44609
|
+
problems: (_f2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _f2[legalEntityResponse.id]
|
|
44587
44610
|
}
|
|
44588
44611
|
),
|
|
44589
44612
|
isLegalRepresentativeRequired && /* @__PURE__ */ jsx$1(
|
|
@@ -44613,7 +44636,7 @@ function TaskList({
|
|
|
44613
44636
|
icon: "company",
|
|
44614
44637
|
titleKey: hasTrust ? "companyTrusteeDetails" : "companyDetails",
|
|
44615
44638
|
status: getTaskStatus2(TaskTypes.COMPANY),
|
|
44616
|
-
problems: (
|
|
44639
|
+
problems: (_g2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _g2[legalEntityResponse.id]
|
|
44617
44640
|
}
|
|
44618
44641
|
),
|
|
44619
44642
|
companyTaskType === TaskTypes.BUSINESS_DETAILS && /* @__PURE__ */ jsx$1(
|
|
@@ -44624,7 +44647,7 @@ function TaskList({
|
|
|
44624
44647
|
icon: "company",
|
|
44625
44648
|
titleKey: hasTrust ? "businessTrusteeDetails" : "businessDetails",
|
|
44626
44649
|
status: getTaskStatus2(TaskTypes.BUSINESS_DETAILS),
|
|
44627
|
-
problems: (
|
|
44650
|
+
problems: (_h2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _h2[legalEntityResponse.id]
|
|
44628
44651
|
}
|
|
44629
44652
|
),
|
|
44630
44653
|
tasks.includes(TaskTypes.DECISION_MAKER_OVERVIEW) && /* @__PURE__ */ jsx$1(
|
|
@@ -44801,7 +44824,7 @@ function TaskList({
|
|
|
44801
44824
|
icon: "review",
|
|
44802
44825
|
titleKey: "submitReviewOfYourData",
|
|
44803
44826
|
status: TaskStatus.SUBMIT,
|
|
44804
|
-
problems: (
|
|
44827
|
+
problems: (_i2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _i2[legalEntityResponse.id],
|
|
44805
44828
|
showErrorAlerts: "always"
|
|
44806
44829
|
}
|
|
44807
44830
|
) })
|
|
@@ -52751,7 +52774,11 @@ function SignPCIComponent({
|
|
|
52751
52774
|
const additionalSalesChannels = useSalesChannelsSettings();
|
|
52752
52775
|
const { i18n } = useI18nContext();
|
|
52753
52776
|
const queryClient = useQueryClient();
|
|
52754
|
-
const {
|
|
52777
|
+
const {
|
|
52778
|
+
data: legalEntityData,
|
|
52779
|
+
isError: isLegalEntityError,
|
|
52780
|
+
isLoading: isLegalEntityLoading
|
|
52781
|
+
} = useLegalEntity();
|
|
52755
52782
|
const { data: pciTemplateData, isLoading: isPciTemplateDataLoading } = usePciTemplate({
|
|
52756
52783
|
additionalSalesChannels,
|
|
52757
52784
|
language: i18n.locale.substring(0, 2) ?? "en"
|
|
@@ -52779,7 +52806,7 @@ function SignPCIComponent({
|
|
|
52779
52806
|
}
|
|
52780
52807
|
onClose == null ? void 0 : onClose();
|
|
52781
52808
|
};
|
|
52782
|
-
if (isPciStatusLoading || isPciTemplateDataLoading) {
|
|
52809
|
+
if (isLegalEntityLoading || isPciStatusLoading || isPciTemplateDataLoading || !legalEntityData || !pciTemplateData) {
|
|
52783
52810
|
return /* @__PURE__ */ jsx$1(Loader, { size: "medium" });
|
|
52784
52811
|
}
|
|
52785
52812
|
if (isLegalEntityError || isPciStatusError) {
|
|
@@ -52939,7 +52966,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
52939
52966
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
52940
52967
|
};
|
|
52941
52968
|
const Introduction = lazy$1(
|
|
52942
|
-
async () => (await import("./Introduction-
|
|
52969
|
+
async () => (await import("./Introduction-CQpPe0JI.js")).Introduction
|
|
52943
52970
|
);
|
|
52944
52971
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
52945
52972
|
const logger$8 = createLogger();
|
|
@@ -57660,7 +57687,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
57660
57687
|
if (__privateGet(this, _Component)) {
|
|
57661
57688
|
Devtools = __privateGet(this, _Component);
|
|
57662
57689
|
} else {
|
|
57663
|
-
Devtools = lazy(() => import("./CPIOZS5X-
|
|
57690
|
+
Devtools = lazy(() => import("./CPIOZS5X-CaG40EZu.js"));
|
|
57664
57691
|
__privateSet(this, _Component, Devtools);
|
|
57665
57692
|
}
|
|
57666
57693
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -57782,7 +57809,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
57782
57809
|
if (__privateGet(this, _Component2)) {
|
|
57783
57810
|
Devtools = __privateGet(this, _Component2);
|
|
57784
57811
|
} else {
|
|
57785
|
-
Devtools = lazy(() => import("./OKF6E45R-
|
|
57812
|
+
Devtools = lazy(() => import("./OKF6E45R-D_H5bQ3b.js"));
|
|
57786
57813
|
__privateSet(this, _Component2, Devtools);
|
|
57787
57814
|
}
|
|
57788
57815
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -58001,7 +58028,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
58001
58028
|
};
|
|
58002
58029
|
};
|
|
58003
58030
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
58004
|
-
const sdkVersion = "3.62.
|
|
58031
|
+
const sdkVersion = "3.62.5";
|
|
58005
58032
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
58006
58033
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
58007
58034
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -58075,7 +58102,7 @@ const AnalyticsProvider = ({
|
|
|
58075
58102
|
const { onboardingVersion } = useVersion();
|
|
58076
58103
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
58077
58104
|
const sessionData = {
|
|
58078
|
-
sdkVersion: "3.62.
|
|
58105
|
+
sdkVersion: "3.62.5",
|
|
58079
58106
|
componentName,
|
|
58080
58107
|
userAgent: navigator.userAgent,
|
|
58081
58108
|
legalEntityId,
|
|
@@ -58260,7 +58287,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
58260
58287
|
[baseUrl, rootLegalEntityId]
|
|
58261
58288
|
);
|
|
58262
58289
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
58263
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.
|
|
58290
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.5" }),
|
|
58264
58291
|
children2
|
|
58265
58292
|
] });
|
|
58266
58293
|
};
|
|
@@ -58735,7 +58762,7 @@ function StateProvider({
|
|
|
58735
58762
|
);
|
|
58736
58763
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
58737
58764
|
}
|
|
58738
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
58765
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-BuwmjsKS.js").then((n) => n.D)).DebugModal);
|
|
58739
58766
|
const DebugListener = () => {
|
|
58740
58767
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
58741
58768
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { QueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { components } from './pci.contract';
|
|
3
|
+
type SuccessResponse = components['schemas']['PciQuestionnairesResponse'];
|
|
4
|
+
/**
|
|
5
|
+
* Returns a list of questionnaires for the legalEntity
|
|
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>;
|
|
11
|
+
export {};
|