@adyen/kyc-components 3.68.1 → 3.68.3
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/{AcceptTermsOfServiceComponent-CU2alc91.js → AcceptTermsOfServiceComponent-B1L_5Mar.js} +4 -12
- package/dist/{AccountSetupRejected-CJ-_A3Ny.js → AccountSetupRejected-CDiMcMlV.js} +3 -3
- package/dist/{BusinessTypeSelection-8O8S1NJQ.js → BusinessTypeSelection-CTL2ECRs.js} +4 -4
- package/dist/{CXEL7IU7-BJwGAGi_.js → CXEL7IU7-DK7Za0QU.js} +3 -3
- package/dist/{CreateIndividualComponent-CbKLS3lw.js → CreateIndividualComponent-kCm3i-vM.js} +8 -12
- package/dist/{CustomerSupport-DwHNm45d.js → CustomerSupport-DWAm23Us.js} +3 -3
- package/dist/{DebugModal-Bl6alyPp.js → DebugModal-kg7TIA4_.js} +8 -8
- package/dist/{DecisionMakers-D35kGGBp.js → DecisionMakers-Dng6SsSq.js} +4 -4
- package/dist/{EmbedShell-uQMA3IsQ.js → EmbedShell-BRE-er34.js} +3 -3
- package/dist/{EventEmitter-BCgWoSHk.js → EventEmitter-D2fpze21.js} +390 -338
- package/dist/{HASRA6WW-bymne0OX.js → HASRA6WW-B-L6bY1D.js} +2 -2
- package/dist/{I3HPI4QX-BjDbFXav.js → I3HPI4QX-DvG-mupt.js} +3 -3
- package/dist/{Introduction-C0NQbS7T.js → Introduction-CXrcsG6u.js} +3 -3
- package/dist/{Review-dqxqat30.js → Review-BlhVLQ7e.js} +3 -3
- package/dist/{SingpassSelection-Dkxz3a-V.js → SingpassSelection-MI6bnKQ6.js} +2 -2
- package/dist/{TaxReportingDropin-E8B4As4p.js → TaxReportingDropin-Biv-eBW1.js} +6 -11
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-PYXN6HpB.js → core-CkFz5z0L.js} +33 -61
- package/dist/{css-w3W1DNq3.js → css-rbxi2nD5.js} +1 -1
- package/dist/individual.js +2 -2
- package/dist/{json-BVkPD1GZ.js → json-CjF__AdT.js} +1 -1
- package/dist/{listToRecord-CBVflh7a.js → listToRecord-DaA2XP7r.js} +2 -2
- package/dist/{plaintext-Bgjkv8j9.js → plaintext-CyQv4kTZ.js} +1 -1
- package/dist/terms-of-service.js +2 -2
- package/dist/types/api/configurations/useScenarios.d.ts +6 -6
- package/dist/types/api/invalidateRootLegalEntity.d.ts +6 -0
- package/dist/types/api/queryKeys.d.ts +38 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/SignPCIComponent/SignPCIComponent.d.ts +1 -2
- package/dist/types/components/ui/atoms/Radio/Radio.d.ts +3 -1
- package/dist/{yaml-Jyq-xpmw.js → yaml-C7Gy0d0h.js} +1 -1
- package/package.json +4 -4
|
@@ -5,12 +5,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
{
|
|
6
6
|
try {
|
|
7
7
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
8
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
8
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "cdd4524f-f211-40c2-836e-2776f66237bf", e2._sentryDebugIdIdentifier = "sentry-dbid-cdd4524f-f211-40c2-836e-2776f66237bf");
|
|
9
9
|
} catch (e2) {
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import {
|
|
13
|
+
import { e4 as createContext, e5 as createSignal, e6 as onMount, e7 as createEffect, e2 as createMemo, e3 as createComponent, e8 as Portal, e9 as Show, ea as template, eb as insert, ec as createRenderEffect, ed as className, ee as clearDelegatedEvents, ef as delegateEvents, eg as useContext, eh as onCleanup, ei as sortFns, ej as mutationSortFns, ek as on, el as setAttribute, em as getSidedProp, en as use, eo as createUniqueId, ep as batch, eq as getQueryStatusLabel, er as getMutationStatusColor, es as getQueryStatusColor, et as getQueryStatusColorByLabel, eu as displayValue, ev as For, ew as convertRemToPixels, ex as untrack, ey as $TRACK, ez as useTransition, eA as spread, eB as mergeProps, eC as createRoot, eD as serialize, eE as Index, eF as updateNestedDataByPath, eG as addEventListener, eH as stringify, eI as Match, eJ as Switch, eK as deleteNestedDataByPath, eL as splitProps, eM as Dynamic, eN as createComputed } from "./EventEmitter-D2fpze21.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "41f15a06-c330-4e7c-acef-e4a104bf6da8", e._sentryDebugIdIdentifier = "sentry-dbid-41f15a06-c330-4e7c-acef-e4a104bf6da8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import {
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-B-L6bY1D.js";
|
|
11
|
+
import { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-D2fpze21.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "58171b69-8a29-49b0-9bee-b438d97f7c77", e._sentryDebugIdIdentifier = "sentry-dbid-58171b69-8a29-49b0-9bee-b438d97f7c77");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { T as TaskTypes, J as LegalEntityType,
|
|
12
|
+
import { T as TaskTypes, J as LegalEntityType, d_ as getTranslationKeysByPrefix, i as useI18nContext, j as useAnalyticsContext, dE as StepProgressIndicator, G as Button } from "./EventEmitter-D2fpze21.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-CkFz5z0L.js";
|
|
15
15
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
16
16
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
17
17
|
IntroductionScreens2[IntroductionScreens2["INDIVIDUAL"] = TaskTypes.INDIVIDUAL] = "INDIVIDUAL";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a5e79961-4fa3-4d66-8c2a-06fd88a3de45", e._sentryDebugIdIdentifier = "sentry-dbid-a5e79961-4fa3-4d66-8c2a-06fd88a3de45");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, e as useMutation, h as httpPost, i as useI18nContext, l as useToastContext, L as LoaderWrapper,
|
|
13
|
-
import { D as DropinLayout } from "./core-
|
|
12
|
+
import { a as useApiContext, e as useMutation, h as httpPost, i as useI18nContext, l as useToastContext, L as LoaderWrapper, bY as FormHeader, d1 as Checkbox, cH as ActionBar } from "./EventEmitter-D2fpze21.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-CkFz5z0L.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, url) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
loadingContext: url,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "732fe901-904e-4111-80a7-0d6cdd2c83e6", e._sentryDebugIdIdentifier = "sentry-dbid-732fe901-904e-4111-80a7-0d6cdd2c83e6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { i as useI18nContext,
|
|
12
|
+
import { i as useI18nContext, bj as useForm, E as Typography, b9 as Field, cz as RadioGroupCard, G as Button, bx as Svg, J as LegalEntityType } from "./EventEmitter-D2fpze21.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "448d2f38-58ec-4c2b-b53f-358ff15dea9e", e._sentryDebugIdIdentifier = "sentry-dbid-448d2f38-58ec-4c2b-b53f-358ff15dea9e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, b as useQuery, d as httpGet, E as Typography, i as useI18nContext, bN as useFormContext, U as Alert, b8 as Field, ba as RadioGroup, av as getFormProps, Q as Icon, aL as isEmpty, bw as Svg, G as Button, V as Card, W as StructuredList, Y as IconButton, H as isEmpty$1, f as useQueryClient, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-BCgWoSHk.js";
|
|
12
11
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import {
|
|
12
|
+
import { a as useApiContext, b as useQuery, d as httpGet, E as Typography, i as useI18nContext, bO as useFormContext, V as Alert, b9 as Field, bb as RadioGroup, aw as getFormProps, Q as Icon, aM as isEmpty, bx as Svg, G as Button, W as Card, X as StructuredList, Z as IconButton, H as isEmpty$1, R as useInvalidateRootLegalEntity, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-D2fpze21.js";
|
|
13
|
+
import { B as useUpdateLegalEntity, O as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, U as FormContextProvider, F as FormWrapper } from "./CreateIndividualComponent-kCm3i-vM.js";
|
|
14
14
|
import { signal } from "@preact/signals";
|
|
15
|
-
import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-
|
|
15
|
+
import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-CkFz5z0L.js";
|
|
16
16
|
const getTaxClassification = async (legalEntityId, url) => {
|
|
17
17
|
return httpGet({
|
|
18
18
|
loadingContext: url,
|
|
@@ -360,7 +360,7 @@ function TaxReportingDropin({ problems, handleHomeClick }) {
|
|
|
360
360
|
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
361
361
|
const [formVisible, setFormVisible] = useState(false);
|
|
362
362
|
useRef(null);
|
|
363
|
-
const
|
|
363
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
364
364
|
const { i18n } = useI18nContext();
|
|
365
365
|
const { data: taxRecommendationData, isLoading: isLoadingTaxRecommendationData } = useTaxClassification();
|
|
366
366
|
const userEvents = useAnalyticsContext();
|
|
@@ -452,12 +452,7 @@ function TaxReportingDropin({ problems, handleHomeClick }) {
|
|
|
452
452
|
};
|
|
453
453
|
try {
|
|
454
454
|
await updateLegalEntityMutation(legalEntityPayload);
|
|
455
|
-
await
|
|
456
|
-
queryKey: ["taxClassification"]
|
|
457
|
-
});
|
|
458
|
-
await queryClient.invalidateQueries({
|
|
459
|
-
queryKey: ["taskStatus"]
|
|
460
|
-
});
|
|
455
|
+
await invalidateRootLegalEntity();
|
|
461
456
|
handleHomeClick == null ? void 0 : handleHomeClick();
|
|
462
457
|
setFormVisible(false);
|
|
463
458
|
gotoFormByFormIndex(0);
|
package/dist/adyenConfig.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "63dfd995-aefc-469b-9b37-87263a029ea0", e._sentryDebugIdIdentifier = "sentry-dbid-63dfd995-aefc-469b-9b37-87263a029ea0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLogger, u as useLegalEntity, a as useApiContext, b as useQuery, h as httpPost, d as httpGet, e as useMutation, f as useQueryClient, g as createFormRules, m as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, k as keysOf, s as summaryItem, C as CountryCodes, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, o as useSettingsContext, q as getLegalEntityCountry, r as currencyByCountry, t as getLegalEntityNameBasedOnType, T as TaskTypes, v as useStateContext, w as getCapabilityProblems, x as isProviderWidgetInline, S as SettingNames, y as cloneObject, z as datasetUtilities, A as payoutSteps, L as LoaderWrapper, M as Modal, B as ModalHeader, D as ModalContent, E as Typography, F as ModalFooter, G as Button, P as PayoutDetails, H as isEmpty, I as useCoreContext, J as LegalEntityType, K as Loader, N as TaskStatus, O as Skeleton, Q as Icon, R as
|
|
11
|
-
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, F as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
-
import { g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, b as mapWith, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, f as useUnifyLoadingStatus, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, F as FormWrapper, k as augmentWithCountryConfigs, o as omitObscuredFieldsIfUnchanged, l as isValidationError, p as processValidationErrors, n as isIdDocumentUploadError, q as isBankStatementUploadError, r as isMaintenanceModeError, s as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, t as getFileExtention, S as SOLE_PROP_COUNTRIES, v as formatObject, w as composePerScenarioFormConfigurations, x as getProp, y as getFieldsWithExistingData, z as hasDataChanged, A as useCreateLegalEntity, B as useUpdateLegalEntity, D as trackNavigation, E as fieldsPerScenario, G as nomineeDecisionMakerRoleValidationRules, H as contactDetailsValidationRules, I as nameValidationRulesV4, J as nameValidationRules, K as adjustIdentificationData, L as useIdVerificationToken, M as useValidatePhoneNumberImperatively, N as useVerifyIdNumber, O as useMultiForm, P as useScenarios, Q as mandateIdVerificationForMotionCapture, R as mapApiDocumentToIndividualDocuments, T as useIdVerificationStartCheck, U as FormContextProvider, V as mapIndividualDocumentToApiDocument, W as mergeAttachments, X as onfidoDocumentTypeMapping, Y as IndividualDropin, Z as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
10
|
+
import { c as createLogger, u as useLegalEntity, a as useApiContext, b as useQuery, h as httpPost, d as httpGet, e as useMutation, f as useQueryClient, g as createFormRules, m as mapPayoutAccountSchemaToApiBankAccount, p as payoutComponentKeyMapping, k as keysOf, s as summaryItem, C as CountryCodes, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, n as useExperimentsContext, o as useSettingsContext, q as getLegalEntityCountry, r as currencyByCountry, t as getLegalEntityNameBasedOnType, T as TaskTypes, v as useStateContext, w as getCapabilityProblems, x as isProviderWidgetInline, S as SettingNames, y as cloneObject, z as datasetUtilities, A as payoutSteps, L as LoaderWrapper, M as Modal, B as ModalHeader, D as ModalContent, E as Typography, F as ModalFooter, G as Button, P as PayoutDetails, H as isEmpty, I as useCoreContext, J as LegalEntityType, K as Loader, N as TaskStatus, O as Skeleton, Q as Icon, R as useInvalidateRootLegalEntity, U as httpDelete, V as Alert, W as Card, X as StructuredList, Y as Spacer, Z as IconButton, _ as Confirm, $ as entriesOf, a0 as useDataset, a1 as datasetIdentifier, a2 as useLocalStorage, a3 as getLegalRepresentative, a4 as doesLegalEntityRequiresLegalRepresentative, a5 as ProviderButton, a6 as isPartOfTrustFromLegalEntity, a7 as hasSolePropInLegalEntity, a8 as hasOwnEntityAssociationOfType, a9 as isEmptyEntity, aa as CompanyTypesValue, ab as EntityType, ac as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ad as handleKeys, ae as noop, af as CardGroup, ag as useSetting, ah as useTasks, ai as useGetTaskStatus, aj as isPartOfUnincorporatedPartnership, ak as getOwnSignatories, al as getOwnDecisionMakersLegalEntityIds, am as getOwnSolePropProblems, an as getOwnTrustProblems, ao as getOwnUnincorporatedPartnershipProblems, ap as getCapabilities, aq as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES, ar as MemoizedDocumentUpload, as as List, at as useGlobalData, au as getForms, av as BasicInformation, aw as getFormProps, ax as CompanyStructure, ay as AdditionalInformation, az as MemoizedConstitutionalDocument, aA as FinancialInformation, aB as StateCodesUS, aC as objectsDeepEqual, aD as drop, aE as businessDetailsComponentsKeyMapping, aF as solePropBusinessDetailsKeyMapping, aG as operationalAddressIsSameIds, aH as COUNTRIES_USING_COMPANY_SEARCH, aI as FIELDS_NEEDED_FOR_COMPANY_SEARCH, aJ as isUndefinedOrNull, aK as solePropBusinessDetailsApiKeyMapping, aL as businessDetailsApiKeyMapping, aM as isEmpty$1, aN as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aO as mapAddressLabels, aP as companyTypeMetadata, aQ as filterOutUnwantedAssociationsIfRootLE, aR as documentFormsIds, aS as resolveFieldMetadata, aT as defaultFieldMetadata, aU as inferCompanyRegistrationNumberType, aV as getCompanyRegistrationNumberOptions, aW as defaultFieldConfig, aX as defaultFieldMetadata$1, aY as countryToTaxInfoTypeMap, aZ as defaultFieldConfig$1, a_ as getKeyForField, a$ as getOwnEntityAssociations, b0 as doArraysMatch, b1 as setIsBankAccountRequestedForOrganization, b2 as getAssociatedLeAnalyticsPayload, b3 as rules$2, b4 as solePropBusinessDetailsDocumentMapping, b5 as businessDetailsDocumentMapping, b6 as reverseMapping, b7 as eeaCountries, b8 as localizeDateString, b9 as Field, ba as Select, bb as RadioGroup, bc as Link, bd as InputText, be as InputNumber, bf as InputDate, bg as Currency, bh as CURRENCY_FIELD, bi as InputCurrency, bj as useForm, bk as useGlobalDataSlice, bl as ErrorPanel, bm as createFormUtils, bn as getAddressSchemaForCountry, bo as COUNTRIES_WITH_STATES_DATASET, bp as Address, bq as getAddressSchemaLabelsByCountry, br as Currencies, bs as InputGroup, bt as TextArea, bu as CountryField, bv as useId, bw as KEYBOARD_KEYS, bx as Svg, by as Dropzone, bz as useLegalEntities, bA as addressValidators, bB as isTruthyValidator, bC as getSSNType, bD as defaultFieldMetadata$2, bE as defaultFieldConfig$2, bF as getAgeToday, bG as euCountries, bH as DecisionMakerType, bI as allowedCountriesForNominee, bJ as getLocalizedIdDocumentTypeOptions, bK as Scenarios, bL as licenseCardNumberDefaultMetadata, bM as licenseCardNumberDefaultConfig, bN as mergeFieldMetadataIntoProps, bO as useFormContext, bP as getFieldProps, bQ as idNumberFields, bR as IdentityNumber, bS as additionallIdNumberOptions, bT as MaskedInput, bU as formatDateObj, bV as DriversLicense, bW as addressFields, bX as getDefaultTaxIdNumberType, bY as FormHeader, bZ as IndividualIdNumberTypeSelector, b_ as TaxInformationField, b$ as PatriotActDisclosure, c0 as nameFields, c1 as decisionMakerRoleFields, c2 as nomineeFields, c3 as contactDetailFields, c4 as ContextGuidance, c5 as TrustedFieldsProvider, c6 as DecisionMakerRole, c7 as NomineeDecisionMakerRole, c8 as Name, c9 as ContactDetails, ca as RadioWithLabel, cb as pick, cc as IdVerification, cd as showIndividualMotionCapture, ce as IdDocumentManualUpload, cf as idDocumentUploadFields, cg as useFormRouterContext, ch as setShowIndividualMotionCapture, ci as shouldShowMotionCapture, cj as hasMotionCaptureScenario, ck as MemoizedProofOfRelationship, cl as MemoizedProofOfResidencyUpload, cm as useProviderStatus, cn as getAsyncIdNumberValidationRule, co as getAsyncPhoneValidationRules, cp as setHasMotionCaptureScenario, cq as getAllowedDecisionMakerRoles, cr as hasNomineesChanged, cs as attachNomineeToRole, ct as TrustMemberTypes, cu as useGlobalStore, cv as defaultFieldMetadata$3, cw as defaultFieldConfig$3, cx as MultiSelectList, cy as makeSelectItemForRole, cz as RadioGroupCard, cA as COUNTRY_FIELD, cB as LegalCompanyNameField, cC as LEGAL_COMPANY_NAME_FIELD, cD as getRoleName, cE as summaryStep, cF as FormNavigation, cG as Summary, cH as ActionBar, cI as updateTaxInformation, cJ as TrustTypes, cK as trustComponentsKeyMapping, cL as trustApiKeyMapping, cM as trustDocumentMapping, cN as trustForms, cO as Trust, cP as trustTypeOptions, cQ as trustConstitutionalDocumentFormId, cR as UnincorporatedPartnershipMemberTypes, cS as getDecisionMakerDescriptionMap, cT as TRUST_DEFAULT_DESCRIPTIONS_MAP, cU as getRoleTagVariant, cV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, cW as deleteUnincorporatedPartnershipMember, cX as mapEntityAssociationsToUnincorporatedPartnershipMembers, cY as hasAllCapabilitiesResolved, cZ as hasRejectedCapabilities, c_ as getPayoutAccountHolderName, c$ as getOwnDecisionMakers, d0 as MaybeModal, d1 as Checkbox, d2 as listify, d3 as uuidv4, d4 as EventEmitter, d5 as SettingsProvider, d6 as ExperimentsContextProvider, d7 as ApiProvider, d8 as QueryClientProvider, d9 as StoreProvider, da as AnalyticsProvider, db as CoreProvider, dc as I18nProvider, dd as DebugListener, de as ToastContextProvider, df as StateProvider, dg as ReactQueryDevtools2, dh as FALLBACK_LOCALE, di as setSdkToken, dj as setSdkTokenHandler } from "./EventEmitter-D2fpze21.js";
|
|
11
|
+
import { u as useTermsOfServiceAcceptanceInfos, a as useTermsOfServiceStatus, d as downloadFile, F as FormEndState, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-B1L_5Mar.js";
|
|
12
|
+
import { g as getDocument, m as mapExistingFile, a as getPageName, c as createDocumentRequest, b as mapWith, d as documentApiUtils, u as useScenarioConfiguration, e as getPropsFromConfigurations, f as useUnifyLoadingStatus, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, F as FormWrapper, k as augmentWithCountryConfigs, o as omitObscuredFieldsIfUnchanged, l as isValidationError, p as processValidationErrors, n as isIdDocumentUploadError, q as isBankStatementUploadError, r as isMaintenanceModeError, s as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, t as getFileExtention, S as SOLE_PROP_COUNTRIES, v as formatObject, w as composePerScenarioFormConfigurations, x as getProp, y as getFieldsWithExistingData, z as hasDataChanged, A as useCreateLegalEntity, B as useUpdateLegalEntity, D as trackNavigation, E as fieldsPerScenario, G as nomineeDecisionMakerRoleValidationRules, H as contactDetailsValidationRules, I as nameValidationRulesV4, J as nameValidationRules, K as adjustIdentificationData, L as useIdVerificationToken, M as useValidatePhoneNumberImperatively, N as useVerifyIdNumber, O as useMultiForm, P as useScenarios, Q as mandateIdVerificationForMotionCapture, R as mapApiDocumentToIndividualDocuments, T as useIdVerificationStartCheck, U as FormContextProvider, V as mapIndividualDocumentToApiDocument, W as mergeAttachments, X as onfidoDocumentTypeMapping, Y as IndividualDropin, Z as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-kCm3i-vM.js";
|
|
13
13
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
14
14
|
import { useMemo, useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-
|
|
16
|
+
import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-DaA2XP7r.js";
|
|
17
17
|
import { lazy, Suspense } from "preact/compat";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import isURL from "validator/es/lib/isURL.js";
|
|
@@ -170,9 +170,9 @@ const useUpdateTransferInstrument = (options) => {
|
|
|
170
170
|
transferInstrument,
|
|
171
171
|
transferInstrumentId
|
|
172
172
|
),
|
|
173
|
-
onSuccess: (transferInstrument) => {
|
|
173
|
+
onSuccess: async (transferInstrument) => {
|
|
174
174
|
queryClient.setQueryData(["transferInstrument", transferInstrument.id], transferInstrument);
|
|
175
|
-
queryClient.invalidateQueries({
|
|
175
|
+
await queryClient.invalidateQueries({
|
|
176
176
|
// Invalidate transfer instruments on root LE
|
|
177
177
|
queryKey: ["transferInstruments"]
|
|
178
178
|
});
|
|
@@ -971,7 +971,8 @@ function PayoutDetailsDropin({
|
|
|
971
971
|
shouldValidate,
|
|
972
972
|
createTrustedTransferInstrument: createTrustedTransferInstrumentHandler,
|
|
973
973
|
accountDetailsFromInput,
|
|
974
|
-
handleNextClick
|
|
974
|
+
handleNextClick,
|
|
975
|
+
trustedTransferInstrumentId
|
|
975
976
|
}
|
|
976
977
|
)
|
|
977
978
|
}
|
|
@@ -1255,12 +1256,11 @@ const deleteTransferInstrument = async (legalEntityId, loadingContext, transferI
|
|
|
1255
1256
|
};
|
|
1256
1257
|
const useDeleteTransferInstrument = (options) => {
|
|
1257
1258
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
1258
|
-
const
|
|
1259
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
1259
1260
|
return useMutation({
|
|
1260
1261
|
mutationFn: (transferInstrumentId) => deleteTransferInstrument(legalEntityId.value, baseUrl.value, transferInstrumentId),
|
|
1261
|
-
onSuccess: () => {
|
|
1262
|
-
|
|
1263
|
-
queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntityId.value] });
|
|
1262
|
+
onSuccess: async () => {
|
|
1263
|
+
await invalidateRootLegalEntity();
|
|
1264
1264
|
},
|
|
1265
1265
|
...options
|
|
1266
1266
|
});
|
|
@@ -6903,7 +6903,7 @@ function HighExposureDropin(props) {
|
|
|
6903
6903
|
const [defaultData, setDefaultData] = useState();
|
|
6904
6904
|
const [data, setData] = useState({});
|
|
6905
6905
|
useRef(null);
|
|
6906
|
-
const
|
|
6906
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
6907
6907
|
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
6908
6908
|
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
6909
6909
|
const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
|
|
@@ -7115,12 +7115,7 @@ function HighExposureDropin(props) {
|
|
|
7115
7115
|
actionType: "submit",
|
|
7116
7116
|
returnValue: entitiesToTrack
|
|
7117
7117
|
});
|
|
7118
|
-
await
|
|
7119
|
-
queryKey: ["taskStatus"]
|
|
7120
|
-
});
|
|
7121
|
-
await queryClient.invalidateQueries({
|
|
7122
|
-
queryKey: ["legalEntity", rootLegalEntity.id]
|
|
7123
|
-
});
|
|
7118
|
+
await invalidateRootLegalEntity();
|
|
7124
7119
|
if (showBusinessFinancingFirst || isStandaloneComponent) {
|
|
7125
7120
|
setShowEndState(true);
|
|
7126
7121
|
} else {
|
|
@@ -7306,25 +7301,11 @@ const updateSourceOfFunds = async (businessLineId, legalEntityId, url, data) =>
|
|
|
7306
7301
|
};
|
|
7307
7302
|
const useUpdateSourceOfFunds = (options) => {
|
|
7308
7303
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
7309
|
-
const
|
|
7304
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
7310
7305
|
return useMutation({
|
|
7311
|
-
mutationFn: (
|
|
7312
|
-
const { businessLineId, ...requestData } = payload;
|
|
7313
|
-
return updateSourceOfFunds(businessLineId, legalEntityId.value, baseUrl.value, requestData);
|
|
7314
|
-
},
|
|
7306
|
+
mutationFn: ({ businessLineId, ...requestData }) => updateSourceOfFunds(businessLineId, legalEntityId.value, baseUrl.value, requestData),
|
|
7315
7307
|
onSuccess: async () => {
|
|
7316
|
-
await
|
|
7317
|
-
queryKey: ["businessLines"]
|
|
7318
|
-
});
|
|
7319
|
-
await queryClient.invalidateQueries({
|
|
7320
|
-
queryKey: ["taskStatus"]
|
|
7321
|
-
});
|
|
7322
|
-
await queryClient.invalidateQueries({
|
|
7323
|
-
queryKey: ["legalEntity", legalEntityId.value]
|
|
7324
|
-
});
|
|
7325
|
-
await queryClient.invalidateQueries({
|
|
7326
|
-
queryKey: ["taxClassification"]
|
|
7327
|
-
});
|
|
7308
|
+
await invalidateRootLegalEntity();
|
|
7328
7309
|
},
|
|
7329
7310
|
...options
|
|
7330
7311
|
});
|
|
@@ -16429,32 +16410,32 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
16429
16410
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
16430
16411
|
};
|
|
16431
16412
|
const Introduction = lazy(
|
|
16432
|
-
async () => (await import("./Introduction-
|
|
16413
|
+
async () => (await import("./Introduction-CXrcsG6u.js")).Introduction
|
|
16433
16414
|
);
|
|
16434
16415
|
const BusinessTypeSelection = lazy(
|
|
16435
|
-
async () => (await import("./BusinessTypeSelection-
|
|
16416
|
+
async () => (await import("./BusinessTypeSelection-CTL2ECRs.js")).BusinessTypeSelection
|
|
16436
16417
|
);
|
|
16437
16418
|
const SingpassSelection = lazy(
|
|
16438
|
-
async () => (await import("./SingpassSelection-
|
|
16419
|
+
async () => (await import("./SingpassSelection-MI6bnKQ6.js")).SingpassSelection
|
|
16439
16420
|
);
|
|
16440
16421
|
const AccountSetupRejected = lazy(
|
|
16441
|
-
async () => (await import("./AccountSetupRejected-
|
|
16422
|
+
async () => (await import("./AccountSetupRejected-CDiMcMlV.js")).AccountSetupRejected
|
|
16442
16423
|
);
|
|
16443
16424
|
const DecisionMakers = lazy(
|
|
16444
|
-
async () => (await import("./DecisionMakers-
|
|
16425
|
+
async () => (await import("./DecisionMakers-Dng6SsSq.js")).DecisionMakers
|
|
16445
16426
|
);
|
|
16446
16427
|
const CustomerSupport = lazy(
|
|
16447
|
-
async () => (await import("./CustomerSupport-
|
|
16428
|
+
async () => (await import("./CustomerSupport-DWAm23Us.js")).CustomerSupport
|
|
16448
16429
|
);
|
|
16449
|
-
const Review = lazy(async () => (await import("./Review-
|
|
16430
|
+
const Review = lazy(async () => (await import("./Review-BlhVLQ7e.js")).Review);
|
|
16450
16431
|
const SignPCIComponent$2 = lazy(
|
|
16451
16432
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
16452
16433
|
);
|
|
16453
16434
|
const AcceptTermsOfService = lazy(
|
|
16454
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
16435
|
+
async () => (await import("./AcceptTermsOfServiceComponent-B1L_5Mar.js").then((n) => n.b)).AcceptTermsOfServiceComponent
|
|
16455
16436
|
);
|
|
16456
16437
|
const TaxReportingDropin = lazy(
|
|
16457
|
-
async () => (await import("./TaxReportingDropin-
|
|
16438
|
+
async () => (await import("./TaxReportingDropin-Biv-eBW1.js")).TaxReportingDropin
|
|
16458
16439
|
);
|
|
16459
16440
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
16460
16441
|
const logger$1 = createLogger();
|
|
@@ -17077,7 +17058,7 @@ function DropinComposer({
|
|
|
17077
17058
|
}
|
|
17078
17059
|
);
|
|
17079
17060
|
case TaskTypes.PCI_DSS:
|
|
17080
|
-
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(SignPCIComponent$2, {
|
|
17061
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(SignPCIComponent$2, { onClose: navigateBack }) });
|
|
17081
17062
|
case TaskTypes.SOLE_PROPRIETOR_COMPANY:
|
|
17082
17063
|
return /* @__PURE__ */ jsx(
|
|
17083
17064
|
BusinessDetailsDropin,
|
|
@@ -17211,8 +17192,12 @@ const signPci = async (legalEntityId, url, data) => {
|
|
|
17211
17192
|
};
|
|
17212
17193
|
const useSignPci = (options) => {
|
|
17213
17194
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
17195
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
17214
17196
|
return useMutation({
|
|
17215
17197
|
mutationFn: (data) => signPci(legalEntityId.value, baseUrl.value, data),
|
|
17198
|
+
onSuccess: async () => {
|
|
17199
|
+
await invalidateRootLegalEntity();
|
|
17200
|
+
},
|
|
17216
17201
|
...options
|
|
17217
17202
|
});
|
|
17218
17203
|
};
|
|
@@ -17388,7 +17373,6 @@ function PciDropin({
|
|
|
17388
17373
|
] });
|
|
17389
17374
|
}
|
|
17390
17375
|
function SignPCIComponent({
|
|
17391
|
-
legalEntityId,
|
|
17392
17376
|
modalView,
|
|
17393
17377
|
onClose,
|
|
17394
17378
|
onSigned,
|
|
@@ -17397,7 +17381,6 @@ function SignPCIComponent({
|
|
|
17397
17381
|
const { isModalView, setIsModalView } = useCoreContext();
|
|
17398
17382
|
const additionalSalesChannels = useSalesChannelsSettings();
|
|
17399
17383
|
const { i18n } = useI18nContext();
|
|
17400
|
-
const queryClient = useQueryClient();
|
|
17401
17384
|
const {
|
|
17402
17385
|
data: legalEntityData,
|
|
17403
17386
|
isError: isLegalEntityError,
|
|
@@ -17414,17 +17397,7 @@ function SignPCIComponent({
|
|
|
17414
17397
|
} = usePciStatus({
|
|
17415
17398
|
additionalSalesChannels
|
|
17416
17399
|
});
|
|
17417
|
-
const signPci2 = useSignPci(
|
|
17418
|
-
onSuccess: () => {
|
|
17419
|
-
queryClient.invalidateQueries({
|
|
17420
|
-
queryKey: ["legalEntity", legalEntityId]
|
|
17421
|
-
});
|
|
17422
|
-
queryClient.invalidateQueries({ queryKey: ["pciQuestionnaireList"] });
|
|
17423
|
-
queryClient.invalidateQueries({
|
|
17424
|
-
queryKey: ["pciStatus"]
|
|
17425
|
-
});
|
|
17426
|
-
}
|
|
17427
|
-
});
|
|
17400
|
+
const signPci2 = useSignPci();
|
|
17428
17401
|
if (modalView) {
|
|
17429
17402
|
setIsModalView(true);
|
|
17430
17403
|
}
|
|
@@ -17698,7 +17671,6 @@ const managePCIComponentSchema = {
|
|
|
17698
17671
|
legalEntityId: { type: "string" }
|
|
17699
17672
|
};
|
|
17700
17673
|
const signPCIComponentSchema = {
|
|
17701
|
-
legalEntityId: { type: "string" },
|
|
17702
17674
|
modalView: { type: "boolean" }
|
|
17703
17675
|
};
|
|
17704
17676
|
const viewVerificationStatusComponentSchema = {
|
|
@@ -17938,7 +17910,7 @@ class UIElement extends BaseElement {
|
|
|
17938
17910
|
baseUrl: this.props.loadingContext,
|
|
17939
17911
|
children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
17940
17912
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
17941
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.68.
|
|
17913
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.68.3" }),
|
|
17942
17914
|
/* @__PURE__ */ jsx(
|
|
17943
17915
|
AnalyticsProvider,
|
|
17944
17916
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-kg7TIA4_.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
package/dist/individual.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-BRE-er34.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-kCm3i-vM.js";
|
|
14
14
|
import { e as environmentMap } from "./utils-Do7EwrWz.js";
|
|
15
15
|
class AdyenIndividual extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-kg7TIA4_.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4df6fa39-d0d6-4a41-93f8-9b162b108ce4", e._sentryDebugIdIdentifier = "sentry-dbid-4df6fa39-d0d6-4a41-93f8-9b162b108ce4");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { K as Loader, Q as Icon, i as useI18nContext, N as TaskStatus,
|
|
12
|
+
import { K as Loader, Q as Icon, i as useI18nContext, N as TaskStatus, bw as KEYBOARD_KEYS } from "./EventEmitter-D2fpze21.js";
|
|
13
13
|
const tag = "adyen-kyc-tag";
|
|
14
14
|
const tagGrey = "adyen-kyc-tag-grey";
|
|
15
15
|
const tagBlue = "adyen-kyc-tag-blue";
|
package/dist/terms-of-service.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-BRE-er34.js";
|
|
13
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-B1L_5Mar.js";
|
|
14
14
|
import { e as environmentMap } from "./utils-Do7EwrWz.js";
|
|
15
15
|
class AdyenTermsOfService extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -23,7 +23,7 @@ export type QueryKeyScenarios = ['scenarios', LeType, CountryCode];
|
|
|
23
23
|
* @param legalEntityType - needs to be dynamic, might not match the legalEntityId's legalEntityType
|
|
24
24
|
*/
|
|
25
25
|
export declare const useScenarios: (countryCode: CountryCode, legalEntityType: LeType, options?: QueryOptions<SuccessResponse>) => {
|
|
26
|
-
data: ("
|
|
26
|
+
data: ("L0" | "L1" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS")[];
|
|
27
27
|
error: Error;
|
|
28
28
|
isError: true;
|
|
29
29
|
isPending: false;
|
|
@@ -49,7 +49,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
49
49
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
50
50
|
promise: Promise<SuccessResponse>;
|
|
51
51
|
} | {
|
|
52
|
-
data: ("
|
|
52
|
+
data: ("L0" | "L1" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS")[];
|
|
53
53
|
error: null;
|
|
54
54
|
isError: false;
|
|
55
55
|
isPending: false;
|
|
@@ -75,7 +75,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
75
75
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
76
76
|
promise: Promise<SuccessResponse>;
|
|
77
77
|
} | {
|
|
78
|
-
data: ("
|
|
78
|
+
data: ("L0" | "L1" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS")[];
|
|
79
79
|
error: Error;
|
|
80
80
|
isError: true;
|
|
81
81
|
isPending: false;
|
|
@@ -101,7 +101,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
101
101
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
102
102
|
promise: Promise<SuccessResponse>;
|
|
103
103
|
} | {
|
|
104
|
-
data: ("
|
|
104
|
+
data: ("L0" | "L1" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS")[];
|
|
105
105
|
error: null;
|
|
106
106
|
isError: false;
|
|
107
107
|
isPending: true;
|
|
@@ -127,7 +127,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
127
127
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
128
128
|
promise: Promise<SuccessResponse>;
|
|
129
129
|
} | {
|
|
130
|
-
data: ("
|
|
130
|
+
data: ("L0" | "L1" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS")[];
|
|
131
131
|
error: null;
|
|
132
132
|
isError: false;
|
|
133
133
|
isPending: true;
|
|
@@ -153,7 +153,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
153
153
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
154
154
|
promise: Promise<SuccessResponse>;
|
|
155
155
|
} | {
|
|
156
|
-
data: ("
|
|
156
|
+
data: ("L0" | "L1" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS")[];
|
|
157
157
|
isError: false;
|
|
158
158
|
error: null;
|
|
159
159
|
isPending: false;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a function which invalidates the root legal entity and all of its dependent queries.
|
|
3
|
+
*
|
|
4
|
+
* See {@link QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED}.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useInvalidateRootLegalEntity: () => () => Promise<void | [void, void]>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { QueryKeyAddressCleanse } from './address/useAddressCleanse';
|
|
2
|
+
import type { QueryKeyRetrieveAddress } from './address/useRetrieveAddress';
|
|
3
|
+
import type { QueryKeySearchAddress } from './address/useSearchAddress';
|
|
4
|
+
import type { QueryKeyBusinessLines } from './businessLines/useBusinessLines';
|
|
5
|
+
import type { QueryKeyCheckAsAService } from './check/useCheck';
|
|
6
|
+
import type { QueryKeyScenarios } from './configurations/useScenarios';
|
|
7
|
+
import type { QueryKeySupportedCountries } from './configurations/useSupportedCountries';
|
|
8
|
+
import type { QueryKeyTaskTypes } from './configurations/useTaskTypes';
|
|
9
|
+
import type { QueryKeyVersionConfiguration } from './configurations/useVersionConfiguration';
|
|
10
|
+
import type { QueryKeyLegalForms } from './datasets/useLegalForms';
|
|
11
|
+
import type { QueryKeyNaceCodes } from './datasets/useNaceCodes';
|
|
12
|
+
import type { QueryKeySourceOfFundsTypes } from './datasets/useSourceOfFundsTypes';
|
|
13
|
+
import type { QueryKeyDocument } from './documents/useDocument';
|
|
14
|
+
import type { QueryKeyLegalEntity } from './legalEntity/useLegalEntity';
|
|
15
|
+
import type { QueryKeyOnboardingStatus } from './onboardingStatus/useOnboardingStatus';
|
|
16
|
+
import type { QueryKeyOpenIdAuthorizationLink } from './openId/useOpenIdAuthorizationLink';
|
|
17
|
+
import type { QueryKeyPciQuestionnaireList } from './pciTemplate/usePciQuestionnaireList';
|
|
18
|
+
import type { QueryKeyPciStatus } from './pciTemplate/usePciStatus';
|
|
19
|
+
import type { QueryKeyPciTemplate } from './pciTemplate/usePciTemplate';
|
|
20
|
+
import type { QueryKeyProvidersStatus } from './providersConfiguration/useProviderStatus';
|
|
21
|
+
import type { QueryKeyTaskStatus } from './taskStatus/useTaskStatus';
|
|
22
|
+
import type { QueryKeyTaxClassification } from './taxClassification/useTaxClassification';
|
|
23
|
+
import type { QueryKeyAcceptedTermsOfService } from './termsOfService/useAcceptedTermsOfService';
|
|
24
|
+
import type { QueryKeyTermsOfService } from './termsOfService/useTermsOfService';
|
|
25
|
+
import type { QueryKeyTermsOfServiceAcceptanceInfos } from './termsOfService/useTermsOfServiceAcceptanceInfos';
|
|
26
|
+
import type { QueryKeyTermsOfServiceStatus } from './termsOfService/useTermsOfServiceStatus';
|
|
27
|
+
import type { QueryKeyBankVerificationProviders } from './transferInstruments/useBankVerificationProviders';
|
|
28
|
+
import type { QueryKeyTransferInstrument } from './transferInstruments/useTransferInstrument';
|
|
29
|
+
import type { QueryKeyTransferInstruments } from './transferInstruments/useTransferInstruments';
|
|
30
|
+
import type { QueryKeyAnalyticsSession } from './uiAnalytics/useAnalyticsSession';
|
|
31
|
+
import type { QueryKeyValidatePhoneNumber } from './validation/useValidatePhoneNumber';
|
|
32
|
+
export type QueryKey = QueryKeyLegalEntity | QueryKeyAnalyticsSession | QueryKeyPciQuestionnaireList | QueryKeyAddressCleanse | QueryKeyRetrieveAddress | QueryKeySearchAddress | QueryKeyBusinessLines | QueryKeyCheckAsAService | QueryKeyScenarios | QueryKeySupportedCountries | QueryKeyTaskTypes | QueryKeyVersionConfiguration | QueryKeyLegalForms | QueryKeyDocument | QueryKeyOnboardingStatus | QueryKeySourceOfFundsTypes | QueryKeyOpenIdAuthorizationLink | QueryKeyBankVerificationProviders | QueryKeyTransferInstrument | QueryKeyTransferInstruments | QueryKeyPciStatus | QueryKeyPciTemplate | QueryKeyProvidersStatus | QueryKeyTermsOfService | QueryKeyTermsOfServiceAcceptanceInfos | QueryKeyTermsOfServiceStatus | QueryKeyTaskStatus | QueryKeyTaxClassification | QueryKeyNaceCodes | QueryKeyValidatePhoneNumber | QueryKeyAcceptedTermsOfService;
|
|
33
|
+
declare module '@tanstack/react-query' {
|
|
34
|
+
interface Register {
|
|
35
|
+
queryKey: QueryKey;
|
|
36
|
+
mutationKey: QueryKey;
|
|
37
|
+
}
|
|
38
|
+
}
|