@adyen/kyc-components 3.62.3 → 3.62.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-KB2Fkln9.js → CPIOZS5X-CllBtSdV.js} +2 -2
- package/dist/{DebugModal-DOXNVb2i.js → DebugModal-C5fl5Q-D.js} +6 -6
- package/dist/{Introduction-B5HBUbVx.js → Introduction-5JCuwv_t.js} +1 -1
- package/dist/{OKF6E45R-DXIRgbLr.js → OKF6E45R-BTlw7gZF.js} +2 -2
- package/dist/{WXAWMS3D-Cxaz1w8Y.js → WXAWMS3D-D13c_LyK.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-CixeVdm9.js → core-Bh2eO708.js} +39 -16
- package/dist/{css-C4zB4Coz.js → css-xnEthvch.js} +1 -1
- package/dist/{json-DWUfL6uL.js → json-BZG9w_E-.js} +1 -1
- package/dist/{plaintext-BuYfu9Y-.js → plaintext-FzFkzSvp.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-D_3m1c9r.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-D13c_LyK.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-Bh2eO708.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-Bh2eO708.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-FzFkzSvp.js"),
|
|
139
|
+
json: () => import("./json-BZG9w_E-.js"),
|
|
140
|
+
yaml: () => import("./yaml-D_3m1c9r.js"),
|
|
141
|
+
css: () => import("./css-xnEthvch.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.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-Bh2eO708.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-D13c_LyK.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-Bh2eO708.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-Bh2eO708.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
|
) })
|
|
@@ -52939,7 +52962,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
52939
52962
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
52940
52963
|
};
|
|
52941
52964
|
const Introduction = lazy$1(
|
|
52942
|
-
async () => (await import("./Introduction-
|
|
52965
|
+
async () => (await import("./Introduction-5JCuwv_t.js")).Introduction
|
|
52943
52966
|
);
|
|
52944
52967
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
52945
52968
|
const logger$8 = createLogger();
|
|
@@ -57660,7 +57683,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
57660
57683
|
if (__privateGet(this, _Component)) {
|
|
57661
57684
|
Devtools = __privateGet(this, _Component);
|
|
57662
57685
|
} else {
|
|
57663
|
-
Devtools = lazy(() => import("./CPIOZS5X-
|
|
57686
|
+
Devtools = lazy(() => import("./CPIOZS5X-CllBtSdV.js"));
|
|
57664
57687
|
__privateSet(this, _Component, Devtools);
|
|
57665
57688
|
}
|
|
57666
57689
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -57782,7 +57805,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
57782
57805
|
if (__privateGet(this, _Component2)) {
|
|
57783
57806
|
Devtools = __privateGet(this, _Component2);
|
|
57784
57807
|
} else {
|
|
57785
|
-
Devtools = lazy(() => import("./OKF6E45R-
|
|
57808
|
+
Devtools = lazy(() => import("./OKF6E45R-BTlw7gZF.js"));
|
|
57786
57809
|
__privateSet(this, _Component2, Devtools);
|
|
57787
57810
|
}
|
|
57788
57811
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -58001,7 +58024,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
58001
58024
|
};
|
|
58002
58025
|
};
|
|
58003
58026
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
58004
|
-
const sdkVersion = "3.62.
|
|
58027
|
+
const sdkVersion = "3.62.4";
|
|
58005
58028
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
58006
58029
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
58007
58030
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -58075,7 +58098,7 @@ const AnalyticsProvider = ({
|
|
|
58075
58098
|
const { onboardingVersion } = useVersion();
|
|
58076
58099
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
58077
58100
|
const sessionData = {
|
|
58078
|
-
sdkVersion: "3.62.
|
|
58101
|
+
sdkVersion: "3.62.4",
|
|
58079
58102
|
componentName,
|
|
58080
58103
|
userAgent: navigator.userAgent,
|
|
58081
58104
|
legalEntityId,
|
|
@@ -58260,7 +58283,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
58260
58283
|
[baseUrl, rootLegalEntityId]
|
|
58261
58284
|
);
|
|
58262
58285
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
58263
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.
|
|
58286
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.4" }),
|
|
58264
58287
|
children2
|
|
58265
58288
|
] });
|
|
58266
58289
|
};
|
|
@@ -58735,7 +58758,7 @@ function StateProvider({
|
|
|
58735
58758
|
);
|
|
58736
58759
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
58737
58760
|
}
|
|
58738
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
58761
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-C5fl5Q-D.js").then((n) => n.D)).DebugModal);
|
|
58739
58762
|
const DebugListener = () => {
|
|
58740
58763
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
58741
58764
|
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 {};
|