@adyen/kyc-components 3.62.0 → 3.62.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/{CPIOZS5X-CoGawlGF.js → CPIOZS5X-BihE2aSQ.js} +2 -2
- package/dist/{DebugModal-KucAOxDA.js → DebugModal-Dtiaep1j.js} +6 -6
- package/dist/{Introduction-CAtgshlo.js → Introduction-14hHt-zW.js} +1 -1
- package/dist/{OKF6E45R-y_woKRvw.js → OKF6E45R-6LoEVerS.js} +2 -2
- package/dist/{WXAWMS3D-rHHQe1Gs.js → WXAWMS3D-DTEOTGeX.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-D3K2vwJw.js → core-BbQ-Zedp.js} +41 -32
- package/dist/{css-BznTSLiE.js → css-qwmove9N.js} +1 -1
- package/dist/{json-2yoHWGYu.js → json-C9QgkffC.js} +1 -1
- package/dist/{plaintext-DTBQdpo_.js → plaintext-BZ9J1lt3.js} +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +9 -3
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -2
- package/dist/types/core/models/api/document.d.ts +1 -5
- package/dist/{yaml-Dx578IXG.js → yaml-CEWWgd4c.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-DTEOTGeX.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-BbQ-Zedp.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-BbQ-Zedp.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-BZ9J1lt3.js"),
|
|
139
|
+
json: () => import("./json-C9QgkffC.js"),
|
|
140
|
+
yaml: () => import("./yaml-CEWWgd4c.js"),
|
|
141
|
+
css: () => import("./css-qwmove9N.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.2",
|
|
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-BbQ-Zedp.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-DTEOTGeX.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-BbQ-Zedp.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-BbQ-Zedp.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
|
@@ -5443,10 +5443,6 @@ var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
|
|
|
5443
5443
|
DocumentType2["REGISTRATION_DOCUMENT"] = "registrationDocument";
|
|
5444
5444
|
DocumentType2["RESIDENCE_PERMIT"] = "residence_permit";
|
|
5445
5445
|
DocumentType2["VAT_DOCUMENT"] = "vatDocument";
|
|
5446
|
-
DocumentType2["DEPOSIT_SLIP"] = "depositSlip";
|
|
5447
|
-
DocumentType2["SCREENSHOT_OF_BANK"] = "screenshotOfOnlineBankingEnviroment";
|
|
5448
|
-
DocumentType2["A_LETTER_FROM_YOUR_BANK"] = "aLetterFromYourBank";
|
|
5449
|
-
DocumentType2["CHECK"] = "check";
|
|
5450
5446
|
return DocumentType2;
|
|
5451
5447
|
})(DocumentType || {});
|
|
5452
5448
|
var TransferInstrumentType = /* @__PURE__ */ ((TransferInstrumentType2) => {
|
|
@@ -9392,12 +9388,20 @@ const getPayoutAccountHolderName = (legalEntity, i18n) => {
|
|
|
9392
9388
|
}
|
|
9393
9389
|
return getLegalEntityNameBasedOnType(legalEntity);
|
|
9394
9390
|
};
|
|
9391
|
+
var BankDocumentTypes = /* @__PURE__ */ ((BankDocumentTypes2) => {
|
|
9392
|
+
BankDocumentTypes2["BANK_STATEMENT"] = "bankStatement";
|
|
9393
|
+
BankDocumentTypes2["DEPOSIT_SLIP"] = "depositSlip";
|
|
9394
|
+
BankDocumentTypes2["SCREENSHOT_OF_BANK"] = "screenshotOfOnlineBankingEnviroment";
|
|
9395
|
+
BankDocumentTypes2["A_LETTER_FROM_YOUR_BANK"] = "aLetterFromYourBank";
|
|
9396
|
+
BankDocumentTypes2["CHECK"] = "check";
|
|
9397
|
+
return BankDocumentTypes2;
|
|
9398
|
+
})(BankDocumentTypes || {});
|
|
9395
9399
|
const bankDocumentOptions = [
|
|
9396
|
-
{ id:
|
|
9397
|
-
{ id:
|
|
9398
|
-
{ id:
|
|
9399
|
-
{ id:
|
|
9400
|
-
{ id:
|
|
9400
|
+
{ id: "bankStatement", name: "bankStatementDocument" },
|
|
9401
|
+
{ id: "depositSlip", name: "depositSlip" },
|
|
9402
|
+
{ id: "screenshotOfOnlineBankingEnviroment", name: "screenshotOfOnlineBankingEnviroment" },
|
|
9403
|
+
{ id: "aLetterFromYourBank", name: "aLetterFromYourBank" },
|
|
9404
|
+
{ id: "check", name: "check" }
|
|
9401
9405
|
];
|
|
9402
9406
|
var BankDocumentRequirement = /* @__PURE__ */ ((BankDocumentRequirement2) => {
|
|
9403
9407
|
BankDocumentRequirement2["ACCOUNT_NAME_INDIVIDUAL"] = "bankAccountNameIndividual";
|
|
@@ -9507,9 +9511,9 @@ const getBankDocumentRequirements = (country, documentType, documentModifiers) =
|
|
|
9507
9511
|
{ key: BankDocumentRequirement.OFFICIAL_DOCUMENT },
|
|
9508
9512
|
{ key: BankDocumentRequirement.COUNTRY_OF_BANK }
|
|
9509
9513
|
];
|
|
9510
|
-
const accountNumberRequirement = isBasedInUS ? documentType ===
|
|
9511
|
-
const requireLast12Months = isBasedInUS ? documentType ===
|
|
9512
|
-
const requireStampOrSignature = !isBasedInUS && (documentType ===
|
|
9514
|
+
const accountNumberRequirement = isBasedInUS ? documentType === BankDocumentTypes.CHECK || documentType === BankDocumentTypes.DEPOSIT_SLIP ? [{ key: BankDocumentRequirement.ACCOUNT_NUMBER }] : [{ key: BankDocumentRequirement.ACCOUNT_NUMBER_FULL_OR_PARTIAL }] : [{ key: BankDocumentRequirement.ACCOUNT_NUMBER_OR_IBAN }];
|
|
9515
|
+
const requireLast12Months = isBasedInUS ? documentType === BankDocumentTypes.A_LETTER_FROM_YOUR_BANK || documentType === BankDocumentTypes.BANK_STATEMENT : documentType !== BankDocumentTypes.SCREENSHOT_OF_BANK;
|
|
9516
|
+
const requireStampOrSignature = !isBasedInUS && (documentType === BankDocumentTypes.DEPOSIT_SLIP || documentType === BankDocumentTypes.A_LETTER_FROM_YOUR_BANK);
|
|
9513
9517
|
const requirements = [
|
|
9514
9518
|
applyNamedModifiers(country, documentModifiers),
|
|
9515
9519
|
...accountNumberRequirement,
|
|
@@ -9524,7 +9528,7 @@ const getBankDocumentRequirements = (country, documentType, documentModifiers) =
|
|
|
9524
9528
|
if (requireStampOrSignature) {
|
|
9525
9529
|
requirements.push({ key: BankDocumentRequirement.STAMP_OR_SIGNATURE });
|
|
9526
9530
|
}
|
|
9527
|
-
if (isBasedInUS && documentType ===
|
|
9531
|
+
if (isBasedInUS && documentType === BankDocumentTypes.CHECK) {
|
|
9528
9532
|
requirements.push({ key: BankDocumentRequirement.HIGH_RESOLUTION_CHECK });
|
|
9529
9533
|
}
|
|
9530
9534
|
return requirements;
|
|
@@ -29329,13 +29333,13 @@ const mapPayoutDetailsToTransferInstrument = ({
|
|
|
29329
29333
|
});
|
|
29330
29334
|
const mapPayoutDocumentsToApiDocuments = async (data, entityId) => {
|
|
29331
29335
|
const { payoutAccountDocuments = {} } = data;
|
|
29332
|
-
const {
|
|
29336
|
+
const { bankStatementDocument, description } = payoutAccountDocuments;
|
|
29333
29337
|
const entityType = TransferInstrumentType.BANK_ACCOUNT;
|
|
29334
|
-
const existingDocument = getDocument$1(entityId,
|
|
29338
|
+
const existingDocument = getDocument$1(entityId, DocumentType.BANK_STATEMENT);
|
|
29335
29339
|
return createDocumentRequest({
|
|
29336
29340
|
entityId,
|
|
29337
29341
|
entityType,
|
|
29338
|
-
documentType,
|
|
29342
|
+
documentType: DocumentType.BANK_STATEMENT,
|
|
29339
29343
|
page1: bankStatementDocument == null ? void 0 : bankStatementDocument[0],
|
|
29340
29344
|
description,
|
|
29341
29345
|
existingDocument
|
|
@@ -29719,11 +29723,12 @@ function PayoutDetailsDropin({
|
|
|
29719
29723
|
transferInstrument2.id
|
|
29720
29724
|
);
|
|
29721
29725
|
documents2.forEach((document2) => {
|
|
29722
|
-
var _a3;
|
|
29726
|
+
var _a3, _b3;
|
|
29723
29727
|
userEvents2.addTaskEvent("Success", {
|
|
29724
29728
|
actionType: "upload",
|
|
29725
|
-
documentType: document2.type,
|
|
29726
|
-
|
|
29729
|
+
documentType: ((_a3 = dataSubmitted.payoutAccountDocuments) == null ? void 0 : _a3.documentType) ?? document2.type,
|
|
29730
|
+
// tracks BankDocumentTypes
|
|
29731
|
+
fileExtention: ((_b3 = document2.attachments) == null ? void 0 : _b3.map((item) => getFileExtention(item.pageName))) ?? null
|
|
29727
29732
|
});
|
|
29728
29733
|
});
|
|
29729
29734
|
} catch {
|
|
@@ -39624,7 +39629,7 @@ const getServiceAgreementStatus$1 = async (legalEntityId, url) => {
|
|
|
39624
39629
|
const useServiceAgreementStatus = (options) => {
|
|
39625
39630
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
39626
39631
|
return useQuery({
|
|
39627
|
-
queryKey: ["
|
|
39632
|
+
queryKey: ["serviceAgreementStatus", legalEntityId.value, baseUrl.value],
|
|
39628
39633
|
queryFn: () => getServiceAgreementStatus$1(legalEntityId.value, baseUrl.value),
|
|
39629
39634
|
...options
|
|
39630
39635
|
});
|
|
@@ -42611,7 +42616,7 @@ const getPciStatus = async (legalEntityId, url, data) => {
|
|
|
42611
42616
|
const usePciStatus = (data, options) => {
|
|
42612
42617
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
42613
42618
|
return useQuery({
|
|
42614
|
-
queryKey: ["
|
|
42619
|
+
queryKey: ["pciStatus", legalEntityId.value, baseUrl.value, data],
|
|
42615
42620
|
queryFn: () => getPciStatus(legalEntityId.value, baseUrl.value, data),
|
|
42616
42621
|
...options
|
|
42617
42622
|
});
|
|
@@ -44403,7 +44408,6 @@ function TaskList({
|
|
|
44403
44408
|
capabilityProblems,
|
|
44404
44409
|
onPciDownload,
|
|
44405
44410
|
isReview,
|
|
44406
|
-
pciStatus,
|
|
44407
44411
|
serviceAgreementTypes,
|
|
44408
44412
|
serviceAgreementAcceptanceInfos,
|
|
44409
44413
|
onTransferInstrumentDelete,
|
|
@@ -44425,6 +44429,11 @@ function TaskList({
|
|
|
44425
44429
|
const businessSetup = useBusinessSetup(legalEntityResponse);
|
|
44426
44430
|
const tasks = useTasks();
|
|
44427
44431
|
const getTaskStatus2 = useGetTaskStatus();
|
|
44432
|
+
const additionalSalesChannels = useSalesChannelsSettings();
|
|
44433
|
+
const { data: pciStatus } = usePciStatus(
|
|
44434
|
+
{ additionalSalesChannels },
|
|
44435
|
+
{ enabled: tasks.includes(TaskTypes.PCI_DSS) }
|
|
44436
|
+
);
|
|
44428
44437
|
const hasTaskOfGroupAccountDetails = tasks.some((task) => LEGAL_ENTITY_BASE_TASKS.includes(task));
|
|
44429
44438
|
const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(legalEntityResponse);
|
|
44430
44439
|
const hasUnincorporatedPartnership = accountHolder === "anUnincorporatedPartnership" || isPartOfUnincorporatedPartnership(legalEntityResponse);
|
|
@@ -44475,7 +44484,7 @@ function TaskList({
|
|
|
44475
44484
|
const handleOnNavigateToSourceOfFunds = () => onNavigateToTask(TaskTypes.SOURCE_OF_FUNDS);
|
|
44476
44485
|
const handleOnNavigateToBusinessFinancing = () => onNavigateToTask(TaskTypes.BUSINESS_FINANCING);
|
|
44477
44486
|
const handleOnNavigateToTaxReporting = () => onNavigateToTask(TaskTypes.TAX_REPORTING);
|
|
44478
|
-
const hasFinancingTasks = tasks.includes(TaskTypes.
|
|
44487
|
+
const hasFinancingTasks = tasks.includes(TaskTypes.BUSINESS_FINANCING) || tasks.includes(TaskTypes.SOURCE_OF_FUNDS);
|
|
44479
44488
|
const companyTaskDescriptionKey = isReview ? "businessAccountDetailsDescriptionReview" : "businessAccountDetailsDescription";
|
|
44480
44489
|
const payoutTaskDescriptionKey = isReview ? "payoutAccountsDescriptionReview" : "payoutAccountsDescription";
|
|
44481
44490
|
const onEditBusinessSetupClick = () => {
|
|
@@ -52676,7 +52685,7 @@ const getPciTemplate = async (legalEntityId, url, data) => {
|
|
|
52676
52685
|
const usePciTemplate = (data, options) => {
|
|
52677
52686
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
52678
52687
|
return useQuery({
|
|
52679
|
-
queryKey: ["
|
|
52688
|
+
queryKey: ["pciTemplate", data, legalEntityId.value, baseUrl.value],
|
|
52680
52689
|
queryFn: () => getPciTemplate(legalEntityId.value, baseUrl.value, data),
|
|
52681
52690
|
...options
|
|
52682
52691
|
});
|
|
@@ -52900,7 +52909,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
52900
52909
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
52901
52910
|
};
|
|
52902
52911
|
const Introduction = lazy$1(
|
|
52903
|
-
async () => (await import("./Introduction-
|
|
52912
|
+
async () => (await import("./Introduction-14hHt-zW.js")).Introduction
|
|
52904
52913
|
);
|
|
52905
52914
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
52906
52915
|
const logger$8 = createLogger();
|
|
@@ -57621,7 +57630,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
57621
57630
|
if (__privateGet(this, _Component)) {
|
|
57622
57631
|
Devtools = __privateGet(this, _Component);
|
|
57623
57632
|
} else {
|
|
57624
|
-
Devtools = lazy(() => import("./CPIOZS5X-
|
|
57633
|
+
Devtools = lazy(() => import("./CPIOZS5X-BihE2aSQ.js"));
|
|
57625
57634
|
__privateSet(this, _Component, Devtools);
|
|
57626
57635
|
}
|
|
57627
57636
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -57743,7 +57752,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
57743
57752
|
if (__privateGet(this, _Component2)) {
|
|
57744
57753
|
Devtools = __privateGet(this, _Component2);
|
|
57745
57754
|
} else {
|
|
57746
|
-
Devtools = lazy(() => import("./OKF6E45R-
|
|
57755
|
+
Devtools = lazy(() => import("./OKF6E45R-6LoEVerS.js"));
|
|
57747
57756
|
__privateSet(this, _Component2, Devtools);
|
|
57748
57757
|
}
|
|
57749
57758
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -57962,7 +57971,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
57962
57971
|
};
|
|
57963
57972
|
};
|
|
57964
57973
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
57965
|
-
const sdkVersion = "3.62.
|
|
57974
|
+
const sdkVersion = "3.62.2";
|
|
57966
57975
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
57967
57976
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
57968
57977
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -58036,7 +58045,7 @@ const AnalyticsProvider = ({
|
|
|
58036
58045
|
const { onboardingVersion } = useVersion();
|
|
58037
58046
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
58038
58047
|
const sessionData = {
|
|
58039
|
-
sdkVersion: "3.62.
|
|
58048
|
+
sdkVersion: "3.62.2",
|
|
58040
58049
|
componentName,
|
|
58041
58050
|
userAgent: navigator.userAgent,
|
|
58042
58051
|
legalEntityId,
|
|
@@ -58221,7 +58230,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
58221
58230
|
[baseUrl, rootLegalEntityId]
|
|
58222
58231
|
);
|
|
58223
58232
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
58224
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.
|
|
58233
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.2" }),
|
|
58225
58234
|
children2
|
|
58226
58235
|
] });
|
|
58227
58236
|
};
|
|
@@ -58248,7 +58257,7 @@ const getSupportedCountries = async (legalEntityId, url) => {
|
|
|
58248
58257
|
const useSupportedCountries = (options) => {
|
|
58249
58258
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
58250
58259
|
return useQuery({
|
|
58251
|
-
queryKey: ["
|
|
58260
|
+
queryKey: ["supportedCountries", legalEntityId.value, baseUrl.value],
|
|
58252
58261
|
queryFn: () => getSupportedCountries(legalEntityId.value, baseUrl.value),
|
|
58253
58262
|
...options
|
|
58254
58263
|
});
|
|
@@ -58696,7 +58705,7 @@ function StateProvider({
|
|
|
58696
58705
|
);
|
|
58697
58706
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
58698
58707
|
}
|
|
58699
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
58708
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-Dtiaep1j.js").then((n) => n.D)).DebugModal);
|
|
58700
58709
|
const DebugListener = () => {
|
|
58701
58710
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
58702
58711
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './BankDocumentRequirements.scss';
|
|
2
|
-
import { DocumentType } from '#core/models/api/document';
|
|
3
2
|
import type { CountryCode } from '#core/models/country-code';
|
|
4
3
|
import type { DocumentsModifiers } from './types';
|
|
4
|
+
import { BankDocumentTypes } from './types';
|
|
5
5
|
interface BankDocumentRequirementsProps {
|
|
6
6
|
country: CountryCode;
|
|
7
|
-
documentType:
|
|
7
|
+
documentType: BankDocumentTypes;
|
|
8
8
|
documentModifiers: DocumentsModifiers;
|
|
9
9
|
}
|
|
10
10
|
export declare const BankDocumentRequirements: ({ country, documentType, documentModifiers, }: BankDocumentRequirementsProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DocumentType } from '#core/models/api/document';
|
|
2
1
|
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
3
2
|
import type { LegalEntityType } from '#core/models/api/legal-entity-type';
|
|
4
3
|
import type { CountryCode } from '#core/models/country-code';
|
|
@@ -6,7 +5,7 @@ import type { FileSchema } from '#core/models/file';
|
|
|
6
5
|
import type { BaseInnerFormProps } from '#hooks/useForm/types';
|
|
7
6
|
import type { TranslationKey } from '#language/types';
|
|
8
7
|
export interface BankDocumentSchema {
|
|
9
|
-
documentType?:
|
|
8
|
+
documentType?: BankDocumentTypes;
|
|
10
9
|
bankStatementDocument?: FileSchema[];
|
|
11
10
|
description?: string;
|
|
12
11
|
}
|
|
@@ -15,6 +14,13 @@ export interface BankDocumentProps extends BaseInnerFormProps<BankDocumentSchema
|
|
|
15
14
|
associatedLegalArrangement?: ExistingLegalEntity;
|
|
16
15
|
country?: CountryCode;
|
|
17
16
|
}
|
|
17
|
+
export declare enum BankDocumentTypes {
|
|
18
|
+
BANK_STATEMENT = "bankStatement",
|
|
19
|
+
DEPOSIT_SLIP = "depositSlip",
|
|
20
|
+
SCREENSHOT_OF_BANK = "screenshotOfOnlineBankingEnviroment",
|
|
21
|
+
A_LETTER_FROM_YOUR_BANK = "aLetterFromYourBank",
|
|
22
|
+
CHECK = "check"
|
|
23
|
+
}
|
|
18
24
|
export interface DocumentsModifiers {
|
|
19
25
|
rootEntityType: LegalEntityType;
|
|
20
26
|
rootEntityLegalName: string;
|
|
@@ -23,7 +29,7 @@ export interface DocumentsModifiers {
|
|
|
23
29
|
associatedEntityTradingName?: string | undefined;
|
|
24
30
|
}
|
|
25
31
|
export declare const bankDocumentOptions: Array<{
|
|
26
|
-
id:
|
|
32
|
+
id: BankDocumentTypes;
|
|
27
33
|
name: TranslationKey;
|
|
28
34
|
}>;
|
|
29
35
|
export declare enum BankDocumentRequirement {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './TaskList.scss';
|
|
2
2
|
import type { TaskListProps } from './types';
|
|
3
|
-
export declare function TaskList({ onNavigateToTask, legalEntityResponse, capabilityProblems, onPciDownload, isReview,
|
|
3
|
+
export declare function TaskList({ onNavigateToTask, legalEntityResponse, capabilityProblems, onPciDownload, isReview, serviceAgreementTypes, serviceAgreementAcceptanceInfos, onTransferInstrumentDelete, singpassComponent, }: TaskListProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,6 @@ import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
|
3
3
|
import type { ActionsMenuOption } from '#atoms/ActionsMenu/ActionsMenu';
|
|
4
4
|
import type { IconName } from '#atoms/Icon/Icon';
|
|
5
5
|
import type { StatusProps } from '#atoms/Status/Status.types';
|
|
6
|
-
import type { PciStatus } from '#core/models/api/contracts';
|
|
7
6
|
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
8
7
|
import type { CapabilityProblems } from '#core/models/errors/capability-problems';
|
|
9
8
|
import type { EntityProblems } from '#core/models/errors/entity-problems';
|
|
@@ -24,7 +23,6 @@ export interface TaskListProps {
|
|
|
24
23
|
onNavigateToTask(taskType: TaskTypes, id?: string): void;
|
|
25
24
|
capabilityProblems: CapabilityProblems;
|
|
26
25
|
legalEntityResponse: ExistingLegalEntity;
|
|
27
|
-
pciStatus?: PciStatus;
|
|
28
26
|
serviceAgreementTypes: ServiceAgreementType[];
|
|
29
27
|
serviceAgreementAcceptanceInfos: ServiceAgreementAcceptanceInfo[];
|
|
30
28
|
onPciDownload?(): void;
|
|
@@ -37,9 +37,5 @@ export declare enum DocumentType {
|
|
|
37
37
|
PROOF_OF_RESIDENCY = "proofOfResidency",
|
|
38
38
|
REGISTRATION_DOCUMENT = "registrationDocument",
|
|
39
39
|
RESIDENCE_PERMIT = "residence_permit",
|
|
40
|
-
VAT_DOCUMENT = "vatDocument"
|
|
41
|
-
DEPOSIT_SLIP = "depositSlip",
|
|
42
|
-
SCREENSHOT_OF_BANK = "screenshotOfOnlineBankingEnviroment",
|
|
43
|
-
A_LETTER_FROM_YOUR_BANK = "aLetterFromYourBank",
|
|
44
|
-
CHECK = "check"
|
|
40
|
+
VAT_DOCUMENT = "vatDocument"
|
|
45
41
|
}
|