@adyen/kyc-components 3.63.3 → 3.63.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.
@@ -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-DTHUdDj7.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DzYEGsyW.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-i6CGMKAa.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-C2LsaOq3.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-DzYEGsyW.js";
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-C2LsaOq3.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-sxyN0N-F.js"),
139
- json: () => import("./json-EM_UzR1f.js"),
140
- yaml: () => import("./yaml-BvjtZcNE.js"),
141
- css: () => import("./css-ge1eMhae.js")
138
+ plaintext: () => import("./plaintext-B0q0GOoA.js"),
139
+ json: () => import("./json-BL1AaGZj.js"),
140
+ yaml: () => import("./yaml-CsfDsxv1.js"),
141
+ css: () => import("./css-Da-N1u_0.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.3",
432
+ sdkVersion: "3.63.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-DzYEGsyW.js";
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-C2LsaOq3.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-DTHUdDj7.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DzYEGsyW.js";
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-i6CGMKAa.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-C2LsaOq3.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-DzYEGsyW.js";
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-C2LsaOq3.js";
5
5
  var isNonNullable = (i2) => i2 != null;
6
6
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
7
7
  function chain(callbacks) {
@@ -1,4 +1,4 @@
1
- import { C as Core } from "./core-DzYEGsyW.js";
1
+ import { C as Core } from "./core-C2LsaOq3.js";
2
2
  if (CSS.supports("container", "foo / inline-size") === false) {
3
3
  import("container-query-polyfill");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { C as Core } from "./core-DzYEGsyW.js";
1
+ import { C as Core } from "./core-C2LsaOq3.js";
2
2
  const environmentMap = Object.freeze({
3
3
  live: "https://live.adyen.com",
4
4
  test: "https://test.adyen.com"
@@ -32500,6 +32500,7 @@ const KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS = [
32500
32500
  ];
32501
32501
  const KNOWN_DISALLOWED_INDEX_DATASET_STATES = [
32502
32502
  StateCodesUS.California,
32503
+ StateCodesUS.Florida,
32503
32504
  StateCodesUS.Texas
32504
32505
  ];
32505
32506
  const logger$r = createLogger();
@@ -44435,7 +44436,7 @@ const getPciQuestionnaire = async (legalEntityId, url, documentId) => {
44435
44436
  loadingContext: url,
44436
44437
  errorLevel: "warn",
44437
44438
  errorMessage: `Failed to download pci document`,
44438
- path: `${legalEntityId}/pci/questionnaires/${documentId}`,
44439
+ path: `legalEntities/${legalEntityId}/pci/questionnaires/${documentId}`,
44439
44440
  authentication: "jwt",
44440
44441
  headers: {
44441
44442
  "Content-Type": "application/json"
@@ -44454,6 +44455,14 @@ const getPciQuestionnaireList = async (legalEntityId, url) => {
44454
44455
  }
44455
44456
  });
44456
44457
  };
44458
+ const usePciQuestionnaireList = (options) => {
44459
+ const { legalEntityId, baseUrl } = useApiContext();
44460
+ return useQuery({
44461
+ queryKey: ["pciQuestionnaireList", legalEntityId.value, baseUrl.value],
44462
+ queryFn: () => getPciQuestionnaireList(legalEntityId.value, baseUrl.value),
44463
+ ...options
44464
+ });
44465
+ };
44457
44466
  const getTaskStatus = async (legalEntityId, url) => {
44458
44467
  return httpGet({
44459
44468
  loadingContext: url,
@@ -44901,7 +44910,7 @@ function TaskList({
44901
44910
  onTransferInstrumentDelete,
44902
44911
  singpassComponent
44903
44912
  }) {
44904
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
44913
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
44905
44914
  const { accountHolder } = useCoreContext();
44906
44915
  const { i18n } = useI18nContext();
44907
44916
  const userEvents2 = useAnalyticsContext();
@@ -44923,6 +44932,9 @@ function TaskList({
44923
44932
  { additionalSalesChannels },
44924
44933
  { enabled: tasks.includes(TaskTypes.PCI_DSS) }
44925
44934
  );
44935
+ const { data: pciQuestionnaireList } = usePciQuestionnaireList();
44936
+ const pciDocuments = ((_a2 = pciQuestionnaireList == null ? void 0 : pciQuestionnaireList.data) == null ? void 0 : _a2.length) ?? 0;
44937
+ const pciHasDocuments = pciDocuments > 0;
44926
44938
  const hasTaskOfGroupAccountDetails = tasks.some((task) => LEGAL_ENTITY_BASE_TASKS.includes(task));
44927
44939
  const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(legalEntityResponse);
44928
44940
  const hasUnincorporatedPartnership = accountHolder === "anUnincorporatedPartnership" || isPartOfUnincorporatedPartnership(legalEntityResponse);
@@ -44942,13 +44954,13 @@ function TaskList({
44942
44954
  const isLegalRepresentativeRequired = isExperimentEnabled("EnableAgeVerification") && doesLegalEntityRequiresLegalRepresentative(legalEntityResponse);
44943
44955
  const legalRepresentative = isLegalRepresentativeRequired && getLegalRepresentative(legalEntityResponse);
44944
44956
  const transferInstruments = (legalEntityResponse == null ? void 0 : legalEntityResponse.transferInstruments) || [];
44945
- const canAddPayoutAccount = ((_a2 = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _a2.legalName) || ((_b2 = legalEntityResponse == null ? void 0 : legalEntityResponse.individual) == null ? void 0 : _b2.name);
44957
+ 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
44958
  const hasPayinTaskNotPayout = tasks.includes(TaskTypes.PAYIN) && !tasks.includes(TaskTypes.PAYOUT);
44947
- const hasPciSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && !!((_c2 = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _c2.length) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!((_d2 = legalEntityResponse == null ? void 0 : legalEntityResponse.entityAssociations) == null ? void 0 : _d2.length);
44959
+ 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
44960
  const canSignPci = hasPciSigners && tasks.includes(TaskTypes.PCI_DSS);
44949
44961
  const isSigningRequired = (pciStatus == null ? void 0 : pciStatus.signingRequired) === "true" || (pciStatus == null ? void 0 : pciStatus.signingRequired) === true;
44950
- const canDownloadPci = !isSigningRequired && (pciStatus == null ? void 0 : pciStatus.hasDocuments);
44951
- const isPciTaskDisabled = !canSignPci || !isSigningRequired && !(pciStatus == null ? void 0 : pciStatus.hasDocuments) || canDownloadPci;
44962
+ const canDownloadPci = !isSigningRequired && pciHasDocuments;
44963
+ const isPciTaskDisabled = !canSignPci || !isSigningRequired && !pciHasDocuments || canDownloadPci;
44952
44964
  const showPciTask = (canDownloadPci || isSigningRequired) && !hidePciTaskExperiment;
44953
44965
  const showServiceAgreementTask = tasks.includes(TaskTypes.SERVICE_AGREEMENT) && (serviceAgreementTypes.length > 0 || serviceAgreementAcceptanceInfos.length > 0);
44954
44966
  const hasServiceAgreementSigners = legalEntityResponse.type === LegalEntityType.ORGANIZATION && getOwnSignatories(legalEntityResponse).length || Boolean(legalRepresentative) || legalEntityResponse.type === LegalEntityType.INDIVIDUAL && !!(legalEntityResponse == null ? void 0 : legalEntityResponse.individual);
@@ -45069,7 +45081,7 @@ function TaskList({
45069
45081
  icon: "decision-maker",
45070
45082
  titleKey: hasTrust ? "trusteePersonalDetails" : "personalDetails",
45071
45083
  status: getTaskStatus2(TaskTypes.INDIVIDUAL),
45072
- problems: (_e2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _e2[legalEntityResponse.id]
45084
+ problems: (_f2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _f2[legalEntityResponse.id]
45073
45085
  }
45074
45086
  ),
45075
45087
  isLegalRepresentativeRequired && /* @__PURE__ */ jsx$1(
@@ -45099,7 +45111,7 @@ function TaskList({
45099
45111
  icon: "company",
45100
45112
  titleKey: hasTrust ? "companyTrusteeDetails" : "companyDetails",
45101
45113
  status: getTaskStatus2(TaskTypes.COMPANY),
45102
- problems: (_f2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _f2[legalEntityResponse.id]
45114
+ problems: (_g2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _g2[legalEntityResponse.id]
45103
45115
  }
45104
45116
  ),
45105
45117
  companyTaskType === TaskTypes.BUSINESS_DETAILS && /* @__PURE__ */ jsx$1(
@@ -45110,7 +45122,7 @@ function TaskList({
45110
45122
  icon: "company",
45111
45123
  titleKey: hasTrust ? "businessTrusteeDetails" : "businessDetails",
45112
45124
  status: getTaskStatus2(TaskTypes.BUSINESS_DETAILS),
45113
- problems: (_g2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _g2[legalEntityResponse.id]
45125
+ problems: (_h2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _h2[legalEntityResponse.id]
45114
45126
  }
45115
45127
  ),
45116
45128
  tasks.includes(TaskTypes.DECISION_MAKER_OVERVIEW) && /* @__PURE__ */ jsx$1(
@@ -45287,7 +45299,7 @@ function TaskList({
45287
45299
  icon: "review",
45288
45300
  titleKey: "submitReviewOfYourData",
45289
45301
  status: TaskStatus.SUBMIT,
45290
- problems: (_h2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _h2[legalEntityResponse.id],
45302
+ problems: (_i2 = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _i2[legalEntityResponse.id],
45291
45303
  showErrorAlerts: "always"
45292
45304
  }
45293
45305
  ) })
@@ -53292,6 +53304,7 @@ function SignPCIComponent({
53292
53304
  const signPci2 = useSignPci({
53293
53305
  onSuccess: () => {
53294
53306
  queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntityId] });
53307
+ queryClient.invalidateQueries({ queryKey: ["pciQuestionnaireList"] });
53295
53308
  onUnmount == null ? void 0 : onUnmount();
53296
53309
  onSigned == null ? void 0 : onSigned();
53297
53310
  }
@@ -53465,7 +53478,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
53465
53478
  return hasOwnEntityAssocation || !!hasOrganizationType;
53466
53479
  };
53467
53480
  const Introduction = lazy$1(
53468
- async () => (await import("./Introduction-BawVB7r0.js")).Introduction
53481
+ async () => (await import("./Introduction-CDa3tdH_.js")).Introduction
53469
53482
  );
53470
53483
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
53471
53484
  const logger$7 = createLogger();
@@ -58142,7 +58155,7 @@ var TanstackQueryDevtools = (_k = class {
58142
58155
  if (__privateGet(this, _Component)) {
58143
58156
  Devtools = __privateGet(this, _Component);
58144
58157
  } else {
58145
- Devtools = lazy(() => import("./CPIOZS5X-CZJ7mPht.js"));
58158
+ Devtools = lazy(() => import("./CPIOZS5X-Bgi8eVIR.js"));
58146
58159
  __privateSet(this, _Component, Devtools);
58147
58160
  }
58148
58161
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -58264,7 +58277,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
58264
58277
  if (__privateGet(this, _Component2)) {
58265
58278
  Devtools = __privateGet(this, _Component2);
58266
58279
  } else {
58267
- Devtools = lazy(() => import("./OKF6E45R-CYZqGgg_.js"));
58280
+ Devtools = lazy(() => import("./OKF6E45R-CXhmZrXr.js"));
58268
58281
  __privateSet(this, _Component2, Devtools);
58269
58282
  }
58270
58283
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -58483,7 +58496,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
58483
58496
  };
58484
58497
  };
58485
58498
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
58486
- const sdkVersion = "3.63.3";
58499
+ const sdkVersion = "3.63.5";
58487
58500
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
58488
58501
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
58489
58502
  const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
@@ -58557,7 +58570,7 @@ const AnalyticsProvider = ({
58557
58570
  const { onboardingVersion } = useVersion();
58558
58571
  const userEvents2 = useMemo(() => createUserEvents(), []);
58559
58572
  const sessionData = {
58560
- sdkVersion: "3.63.3",
58573
+ sdkVersion: "3.63.5",
58561
58574
  componentName,
58562
58575
  userAgent: navigator.userAgent,
58563
58576
  legalEntityId,
@@ -58709,7 +58722,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
58709
58722
  [baseUrl, rootLegalEntityId]
58710
58723
  );
58711
58724
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
58712
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.3" }),
58725
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.5" }),
58713
58726
  children2
58714
58727
  ] });
58715
58728
  };
@@ -59184,7 +59197,7 @@ function StateProvider({
59184
59197
  );
59185
59198
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
59186
59199
  }
59187
- const DebugModal = lazy$1(async () => (await import("./DebugModal-WHmpPfbe.js").then((n) => n.D)).DebugModal);
59200
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-CIzQUs4W.js").then((n) => n.D)).DebugModal);
59188
59201
  const DebugListener = () => {
59189
59202
  const [debugUiOpen, setDebugUiOpen] = useState(false);
59190
59203
  const { isSettingEnabled } = useSettingsContext();
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-WHmpPfbe.js";
1
+ import { c as cssProps } from "./DebugModal-CIzQUs4W.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-WHmpPfbe.js";
1
+ import { c as cssProps } from "./DebugModal-CIzQUs4W.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-WHmpPfbe.js";
1
+ import { c as cssProps } from "./DebugModal-CIzQUs4W.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text }
4
4
  };
@@ -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 {};
@@ -31,7 +31,6 @@ export interface PciQuestionnaireIds {
31
31
  }
32
32
  export interface PciStatus {
33
33
  signingRequired: string | boolean;
34
- hasDocuments?: boolean;
35
34
  }
36
35
  export type TermsOfServiceDocumentFormat = 'PDF' | 'JSON';
37
36
  export interface ServiceAgreementRequest {
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-WHmpPfbe.js";
1
+ import { c as cssProps } from "./DebugModal-CIzQUs4W.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.63.3",
3
+ "version": "3.63.5",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",