@adyen/kyc-components 3.65.5 → 3.65.7
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/{AccountSetupRejected-B72M94Is.js → AccountSetupRejected-CZoBHo9e.js} +1 -1
- package/dist/{CXEL7IU7-BtQX4aZI.js → CXEL7IU7-dBAlEPe0.js} +2 -2
- package/dist/{CustomerSupport-BGQOr4Db.js → CustomerSupport-CZ9EkF5F.js} +1 -1
- package/dist/{DebugModal-BfzvF9Kp.js → DebugModal-9m7DUx_6.js} +7 -7
- package/dist/{DecisionMakers-CYdeSdkf.js → DecisionMakers-Doc2pFTM.js} +1 -1
- package/dist/{HASRA6WW-CFLZ1flZ.js → HASRA6WW-DCYoL4jX.js} +1 -1
- package/dist/{I3HPI4QX-D_KIe1Ju.js → I3HPI4QX-vz5V7lkK.js} +2 -2
- package/dist/{Introduction-Rya0Sy7H.js → Introduction-DxKs3vms.js} +1 -1
- package/dist/{Review-Dk6mZ16K.js → Review-Cd6GYP01.js} +1 -1
- package/dist/{SingpassSelection-ib5_mHMn.js → SingpassSelection-BA0y4hy5.js} +1 -1
- package/dist/{TaxReportingDropin-CmSpuUCg.js → TaxReportingDropin-Ccb4IUMk.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-w9cPGxZk.js → core-1tncFh11.js} +35 -33
- package/dist/{css-BF6zK3tk.js → css-DKVjaAKd.js} +1 -1
- package/dist/{json-D-3xxWqv.js → json-_vu3wuH_.js} +1 -1
- package/dist/{plaintext-BIYPTL53.js → plaintext-DV61HV12.js} +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -1
- package/dist/{yaml-Bq5YTp6u.js → yaml-DQ7lrKTk.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, A as AlertIcon, w as FormHeader, D as DropinLayout } from "./core-
|
|
11
|
+
import { u as useI18nContext, A as AlertIcon, w as FormHeader, D as DropinLayout } from "./core-1tncFh11.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { i18n } = useI18nContext();
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-DCYoL4jX.js";
|
|
11
|
+
import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-1tncFh11.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { x as useLegalEntity, y as Loader, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, $ as useConfigurationApi, J as useUpdateLegalEntity, H as useQueryClient, a0 as resolveFieldMetadata, a1 as contactDetailsValidationRules, a2 as defaultFieldMetadata, a3 as fieldConfig, a4 as getAsyncPhoneValidationRules, a5 as useMultiForm, w as FormHeader, a6 as ContactDetails, _ as ActionBar, g as createLogger } from "./core-
|
|
11
|
+
import { x as useLegalEntity, y as Loader, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, $ as useConfigurationApi, J as useUpdateLegalEntity, H as useQueryClient, a0 as resolveFieldMetadata, a1 as contactDetailsValidationRules, a2 as defaultFieldMetadata, a3 as fieldConfig, a4 as getAsyncPhoneValidationRules, a5 as useMultiForm, w as FormHeader, a6 as ContactDetails, _ as ActionBar, g as createLogger } from "./core-1tncFh11.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
13
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
14
14
|
var _a, _b, _c;
|
|
@@ -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] = "6ee7ca82-8deb-4fa1-9468-1649272ea301", e._sentryDebugIdIdentifier = "sentry-dbid-6ee7ca82-8deb-4fa1-9468-1649272ea301");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames, E as ExperimentNames } from "./core-
|
|
12
|
+
import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames, E as ExperimentNames } from "./core-1tncFh11.js";
|
|
13
13
|
const tabs = "adyen-kyc-tabs";
|
|
14
14
|
const styles$1 = {
|
|
15
15
|
tabs
|
|
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
144
144
|
};
|
|
145
145
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
146
146
|
const moduleMap = {
|
|
147
|
-
plaintext: () => import("./plaintext-
|
|
148
|
-
json: () => import("./json-
|
|
149
|
-
yaml: () => import("./yaml-
|
|
150
|
-
css: () => import("./css-
|
|
147
|
+
plaintext: () => import("./plaintext-DV61HV12.js"),
|
|
148
|
+
json: () => import("./json-_vu3wuH_.js"),
|
|
149
|
+
yaml: () => import("./yaml-DQ7lrKTk.js"),
|
|
150
|
+
css: () => import("./css-DKVjaAKd.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -438,7 +438,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
438
438
|
const [tab, setTab] = useState("metadata");
|
|
439
439
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
440
440
|
const metadata = {
|
|
441
|
-
sdkVersion: "3.65.
|
|
441
|
+
sdkVersion: "3.65.7",
|
|
442
442
|
locale: i18n.locale,
|
|
443
443
|
rootLegalEntityId: rootLegalEntity.id
|
|
444
444
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { x as useLegalEntity, y as Loader, z as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, H as useQueryClient, J as useUpdateLegalEntity, K as getOwnDecisionMakers, N as getAvailableDecisionMakerRoleTypes, O as useDataMissingRemediations, i as TaskTypes, P as getAllowedDecisionMakerRoles, D as DropinLayout, w as FormHeader, Q as EntityGuidanceStatus, U as iconStatus, V as ContextGuidance, W as DecisionMakerType, X as Alert, Y as CardGroup, Z as EntityAssociation, B as Button, _ as ActionBar } from "./core-
|
|
11
|
+
import { x as useLegalEntity, y as Loader, z as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, H as useQueryClient, J as useUpdateLegalEntity, K as getOwnDecisionMakers, N as getAvailableDecisionMakerRoleTypes, O as useDataMissingRemediations, i as TaskTypes, P as getAllowedDecisionMakerRoles, D as DropinLayout, w as FormHeader, Q as EntityGuidanceStatus, U as iconStatus, V as ContextGuidance, W as DecisionMakerType, X as Alert, Y as CardGroup, Z as EntityAssociation, B as Button, _ as ActionBar } from "./core-1tncFh11.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const DecisionMakers = (props) => {
|
|
14
14
|
const { data, isLoading } = useLegalEntity();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { av as createContext, aw as createSignal, ax as onMount, ay as createEffect, at as createMemo, au as createComponent, az as Portal, aA as Show, aB as template, aC as insert, aD as createRenderEffect, aE as className, aF as clearDelegatedEvents, aG as delegateEvents, aH as useContext, aI as onCleanup, aJ as sortFns, aK as mutationSortFns, aL as on, aM as setAttribute, aN as getSidedProp, aO as use, aP as createUniqueId, aQ as batch, aR as getQueryStatusLabel, aS as getMutationStatusColor, aT as getQueryStatusColor, aU as getQueryStatusColorByLabel, aV as displayValue, aW as For, aX as convertRemToPixels, aY as untrack, aZ as $TRACK, a_ as useTransition, a$ as spread, b0 as mergeProps, b1 as createRoot, b2 as serialize, b3 as Index, b4 as updateNestedDataByPath, b5 as addEventListener, b6 as stringify, b7 as Match, b8 as Switch, b9 as deleteNestedDataByPath, ba as splitProps, bb as Dynamic, bc as createComputed } from "./core-
|
|
13
|
+
import { av as createContext, aw as createSignal, ax as onMount, ay as createEffect, at as createMemo, au as createComponent, az as Portal, aA as Show, aB as template, aC as insert, aD as createRenderEffect, aE as className, aF as clearDelegatedEvents, aG as delegateEvents, aH as useContext, aI as onCleanup, aJ as sortFns, aK as mutationSortFns, aL as on, aM as setAttribute, aN as getSidedProp, aO as use, aP as createUniqueId, aQ as batch, aR as getQueryStatusLabel, aS as getMutationStatusColor, aT as getQueryStatusColor, aU as getQueryStatusColorByLabel, aV as displayValue, aW as For, aX as convertRemToPixels, aY as untrack, aZ as $TRACK, a_ as useTransition, a$ as spread, b0 as mergeProps, b1 as createRoot, b2 as serialize, b3 as Index, b4 as updateNestedDataByPath, b5 as addEventListener, b6 as stringify, b7 as Match, b8 as Switch, b9 as deleteNestedDataByPath, ba as splitProps, bb as Dynamic, bc as createComputed } from "./core-1tncFh11.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -7,8 +7,8 @@
|
|
|
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 { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-DCYoL4jX.js";
|
|
11
|
+
import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-1tncFh11.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,7 +9,7 @@
|
|
|
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 { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-
|
|
12
|
+
import { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-1tncFh11.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
14
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
15
15
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a7 as useApiContext, a8 as useMutation, a9 as httpPost, u as useI18nContext, G as useToastContext, aa as LoaderWrapper, w as FormHeader, ab as Checkbox, _ as ActionBar, D as DropinLayout } from "./core-
|
|
12
|
+
import { a7 as useApiContext, a8 as useMutation, a9 as httpPost, u as useI18nContext, G as useToastContext, aa as LoaderWrapper, w as FormHeader, ab as Checkbox, _ as ActionBar, D as DropinLayout } from "./core-1tncFh11.js";
|
|
13
13
|
const confirmReview = async (legalEntityId, url) => {
|
|
14
14
|
return httpPost({
|
|
15
15
|
loadingContext: url,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useI18nContext, p as useForm, q as Typography, F as Field, R as RadioGroupCard, B as Button, r as Svg, L as LegalEntityType } from "./core-
|
|
12
|
+
import { u as useI18nContext, p as useForm, q as Typography, F as Field, R as RadioGroupCard, B as Button, r as Svg, L as LegalEntityType } from "./core-1tncFh11.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a7 as useApiContext, ac as useQuery, ad as httpGet, q as Typography, u as useI18nContext, ae as useFormContext, F as Field, af as RadioGroup, ag as getFormProps, h as Icon, ah as isEmpty, r as Svg, ai as sofStyles, B as Button, aj as Card, ak as StructuredList, al as IconButton, H as useQueryClient, n as useAnalyticsContext, x as useLegalEntity, J as useUpdateLegalEntity, a5 as useMultiForm, am as isEmpty$1, an as getRequiredForms, ao as addValidityToForms, g as createLogger, ap as useFormComposer, y as Loader, aq as FormContextProvider, ar as FormWrapper } from "./core-
|
|
11
|
+
import { a7 as useApiContext, ac as useQuery, ad as httpGet, q as Typography, u as useI18nContext, ae as useFormContext, F as Field, af as RadioGroup, ag as getFormProps, h as Icon, ah as isEmpty, r as Svg, ai as sofStyles, B as Button, aj as Card, ak as StructuredList, al as IconButton, H as useQueryClient, n as useAnalyticsContext, x as useLegalEntity, J as useUpdateLegalEntity, a5 as useMultiForm, am as isEmpty$1, an as getRequiredForms, ao as addValidityToForms, g as createLogger, ap as useFormComposer, y as Loader, aq as FormContextProvider, ar as FormWrapper } from "./core-1tncFh11.js";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import cx from "classnames";
|
package/dist/adyenConfig.js
CHANGED
|
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f3fe0161-dc06-4bfb-91af-dd22db6b689a", e._sentryDebugIdIdentifier = "sentry-dbid-f3fe0161-dc06-4bfb-91af-dd22db6b689a");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -17447,7 +17447,8 @@ const companyRegistrationNumberOptions = {
|
|
|
17447
17447
|
CompanyTypesValue.INCORPORATED_PARTNERSHIP,
|
|
17448
17448
|
CompanyTypesValue.NON_PROFIT_OR_CHARITABLE,
|
|
17449
17449
|
CompanyTypesValue.UNINCORPORATED_PARTNERSHIP,
|
|
17450
|
-
CompanyTypesValue.UNLISTED_PUBLIC_COMPANY
|
|
17450
|
+
CompanyTypesValue.UNLISTED_PUBLIC_COMPANY,
|
|
17451
|
+
CompanyTypesValue.PUBLIC_COMPANY
|
|
17451
17452
|
]
|
|
17452
17453
|
}
|
|
17453
17454
|
]
|
|
@@ -26645,9 +26646,10 @@ const initOnfido = async ({
|
|
|
26645
26646
|
type: "document",
|
|
26646
26647
|
options: {
|
|
26647
26648
|
documentTypes: {
|
|
26648
|
-
|
|
26649
|
-
|
|
26650
|
-
|
|
26649
|
+
passport: true,
|
|
26650
|
+
driving_licence: true,
|
|
26651
|
+
national_identity_card: true,
|
|
26652
|
+
residence_permit: false
|
|
26651
26653
|
}
|
|
26652
26654
|
}
|
|
26653
26655
|
},
|
|
@@ -38430,12 +38432,12 @@ const mapBusinessDetailsDocumentToApiDocument = async (data, entityId) => {
|
|
|
38430
38432
|
]);
|
|
38431
38433
|
return documents.filter(Boolean);
|
|
38432
38434
|
};
|
|
38433
|
-
const mapBusinessDetailsSchemaToLegalEntity = (data, isExperimentEnabled) => {
|
|
38435
|
+
const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperimentEnabled) => {
|
|
38434
38436
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n, _o, _p, _q;
|
|
38435
38437
|
const requestObj = {
|
|
38436
38438
|
...formatObject(
|
|
38437
38439
|
data,
|
|
38438
|
-
|
|
38440
|
+
accountHolder === "mySoleProprietorName" ? solePropBusinessDetailsApiKeyMapping : businessDetailsApiKeyMapping
|
|
38439
38441
|
)
|
|
38440
38442
|
};
|
|
38441
38443
|
(_a2 = requestObj.organization) == null ? true : delete _a2.legalFormDescription;
|
|
@@ -38663,12 +38665,12 @@ const formatBasicInformation = (data, labels, datasetUtils, companyType, isCount
|
|
|
38663
38665
|
};
|
|
38664
38666
|
};
|
|
38665
38667
|
const formatAdditionalInformation = (data, labels, country, companyType, i18n) => {
|
|
38666
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
38668
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2;
|
|
38667
38669
|
const registrationNumberLabel = resolveFieldMetadata(
|
|
38668
38670
|
defaultFieldConfig$5[country],
|
|
38669
38671
|
{
|
|
38670
38672
|
companyType,
|
|
38671
|
-
registrationNumberType: data.registrationNumber ? inferCompanyRegistrationNumberType(data == null ? void 0 : data.registrationNumber, country, companyType) : (_a2 = getCompanyRegistrationNumberOptions(country, companyType)) == null ? void 0 : _a2[0].id
|
|
38673
|
+
registrationNumberType: data.registrationNumber ? inferCompanyRegistrationNumberType(data == null ? void 0 : data.registrationNumber, country, companyType) : (_b2 = (_a2 = getCompanyRegistrationNumberOptions(country, companyType)) == null ? void 0 : _a2[0]) == null ? void 0 : _b2.id
|
|
38672
38674
|
},
|
|
38673
38675
|
defaultFieldMetadata$6
|
|
38674
38676
|
).label;
|
|
@@ -38682,16 +38684,16 @@ const formatAdditionalInformation = (data, labels, country, companyType, i18n) =
|
|
|
38682
38684
|
defaultFieldMetadata$5
|
|
38683
38685
|
).label;
|
|
38684
38686
|
return {
|
|
38685
|
-
[((
|
|
38687
|
+
[((_c2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _c2.doingBusinessAs) ?? "doingBusinessAs"]: data.doingBusinessAs,
|
|
38686
38688
|
[registrationNumberLabel]: data.registrationNumber,
|
|
38687
|
-
[taxIdLabel]: data.isUen ? void 0 : (
|
|
38688
|
-
[((
|
|
38689
|
-
[((
|
|
38690
|
-
[((
|
|
38691
|
-
[((
|
|
38692
|
-
[((
|
|
38693
|
-
[((
|
|
38694
|
-
[((
|
|
38689
|
+
[taxIdLabel]: data.isUen ? void 0 : (_e2 = (_d2 = data.taxInformation) == null ? void 0 : _d2.find((taxId) => country === taxId.country)) == null ? void 0 : _e2.number,
|
|
38690
|
+
[((_f2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _f2.vatNumber) ?? "vatNumber"]: data.vatNumber,
|
|
38691
|
+
[((_g2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _g2.vatAbsenceReason) ?? "vatAbsenceReason"]: data.vatAbsenceReason ? i18n.get(data.vatAbsenceReason) : void 0,
|
|
38692
|
+
[((_h2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _h2.dateOfIncorporation) ?? "dateOfIncorporation"]: data.dateOfIncorporation,
|
|
38693
|
+
[((_i2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _i2.stockExchangeMIC) ?? "stockExchangeMIC"]: data.stockExchangeMIC,
|
|
38694
|
+
[((_j2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _j2.stockISIN) ?? "stockISIN"]: data.stockISIN,
|
|
38695
|
+
[((_k2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _k2.stockTickerSymbol) ?? "stockTickerSymbol"]: data.stockTickerSymbol,
|
|
38696
|
+
[((_l2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _l2.eInvoicingCode) ?? "eInvoicingCode"]: data.eInvoicingCode
|
|
38695
38697
|
};
|
|
38696
38698
|
};
|
|
38697
38699
|
const formatDataForSummary$1 = (data, forms, labels, i18n, isExperimentEnabled) => {
|
|
@@ -38928,7 +38930,7 @@ async function submit({
|
|
|
38928
38930
|
}
|
|
38929
38931
|
try {
|
|
38930
38932
|
const mappedLegalEntity = {
|
|
38931
|
-
...mapBusinessDetailsSchemaToLegalEntity(filteredData, isExperimentEnabled),
|
|
38933
|
+
...mapBusinessDetailsSchemaToLegalEntity(filteredData, accountHolder, isExperimentEnabled),
|
|
38932
38934
|
entityAssociations: filterOutUnwantedAssociationsIfRootLE(
|
|
38933
38935
|
taskType,
|
|
38934
38936
|
entityToUpdate,
|
|
@@ -39236,7 +39238,7 @@ function BusinessDetailsDropin({
|
|
|
39236
39238
|
nestedLegalEntityDetails,
|
|
39237
39239
|
problems: currentProblems,
|
|
39238
39240
|
taskType: taskType ?? TaskTypes.BUSINESS_DETAILS,
|
|
39239
|
-
accountHolder,
|
|
39241
|
+
accountHolder: accountHolder ?? "theCompanyIWorkFor",
|
|
39240
39242
|
forms,
|
|
39241
39243
|
documentUtils,
|
|
39242
39244
|
i18n,
|
|
@@ -50721,26 +50723,26 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
50721
50723
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
50722
50724
|
};
|
|
50723
50725
|
const Introduction = lazy$1(
|
|
50724
|
-
async () => (await import("./Introduction-
|
|
50726
|
+
async () => (await import("./Introduction-DxKs3vms.js")).Introduction
|
|
50725
50727
|
);
|
|
50726
50728
|
const SingpassSelection = lazy$1(
|
|
50727
|
-
async () => (await import("./SingpassSelection-
|
|
50729
|
+
async () => (await import("./SingpassSelection-BA0y4hy5.js")).SingpassSelection
|
|
50728
50730
|
);
|
|
50729
50731
|
const AccountSetupRejected = lazy$1(
|
|
50730
|
-
async () => (await import("./AccountSetupRejected-
|
|
50732
|
+
async () => (await import("./AccountSetupRejected-CZoBHo9e.js")).AccountSetupRejected
|
|
50731
50733
|
);
|
|
50732
50734
|
const DecisionMakers = lazy$1(
|
|
50733
|
-
async () => (await import("./DecisionMakers-
|
|
50735
|
+
async () => (await import("./DecisionMakers-Doc2pFTM.js")).DecisionMakers
|
|
50734
50736
|
);
|
|
50735
50737
|
const CustomerSupport = lazy$1(
|
|
50736
|
-
async () => (await import("./CustomerSupport-
|
|
50738
|
+
async () => (await import("./CustomerSupport-CZ9EkF5F.js")).CustomerSupport
|
|
50737
50739
|
);
|
|
50738
|
-
const Review = lazy$1(async () => (await import("./Review-
|
|
50740
|
+
const Review = lazy$1(async () => (await import("./Review-Cd6GYP01.js")).Review);
|
|
50739
50741
|
const SignPCIComponent$2 = lazy$1(
|
|
50740
50742
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
50741
50743
|
);
|
|
50742
50744
|
const TaxReportingDropin = lazy$1(
|
|
50743
|
-
async () => (await import("./TaxReportingDropin-
|
|
50745
|
+
async () => (await import("./TaxReportingDropin-Ccb4IUMk.js")).TaxReportingDropin
|
|
50744
50746
|
);
|
|
50745
50747
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
50746
50748
|
const logger$6 = createLogger();
|
|
@@ -55163,7 +55165,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
55163
55165
|
if (__privateGet(this, _Component)) {
|
|
55164
55166
|
Devtools = __privateGet(this, _Component);
|
|
55165
55167
|
} else {
|
|
55166
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
55168
|
+
Devtools = lazy(() => import("./I3HPI4QX-vz5V7lkK.js"));
|
|
55167
55169
|
__privateSet(this, _Component, Devtools);
|
|
55168
55170
|
}
|
|
55169
55171
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -55285,7 +55287,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
55285
55287
|
if (__privateGet(this, _Component2)) {
|
|
55286
55288
|
Devtools = __privateGet(this, _Component2);
|
|
55287
55289
|
} else {
|
|
55288
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
55290
|
+
Devtools = lazy(() => import("./CXEL7IU7-dBAlEPe0.js"));
|
|
55289
55291
|
__privateSet(this, _Component2, Devtools);
|
|
55290
55292
|
}
|
|
55291
55293
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -55504,7 +55506,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
55504
55506
|
};
|
|
55505
55507
|
};
|
|
55506
55508
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
55507
|
-
const sdkVersion = "3.65.
|
|
55509
|
+
const sdkVersion = "3.65.7";
|
|
55508
55510
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
55509
55511
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
55510
55512
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -55579,7 +55581,7 @@ const AnalyticsProvider = ({
|
|
|
55579
55581
|
const { onboardingVersion } = useVersion();
|
|
55580
55582
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
55581
55583
|
const sessionData = {
|
|
55582
|
-
sdkVersion: "3.65.
|
|
55584
|
+
sdkVersion: "3.65.7",
|
|
55583
55585
|
componentName,
|
|
55584
55586
|
userAgent: navigator.userAgent,
|
|
55585
55587
|
legalEntityId,
|
|
@@ -55713,7 +55715,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
55713
55715
|
[baseUrl, rootLegalEntityId]
|
|
55714
55716
|
);
|
|
55715
55717
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
55716
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.65.
|
|
55718
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.65.7" }),
|
|
55717
55719
|
children2
|
|
55718
55720
|
] });
|
|
55719
55721
|
};
|
|
@@ -56188,7 +56190,7 @@ function StateProvider({
|
|
|
56188
56190
|
);
|
|
56189
56191
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
56190
56192
|
}
|
|
56191
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
56193
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-9m7DUx_6.js").then((n) => n.D)).DebugModal);
|
|
56192
56194
|
const DebugListener = () => {
|
|
56193
56195
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
56194
56196
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-9m7DUx_6.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-9m7DUx_6.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 },
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
2
|
+
import type { AccountHolderOption } from '../../../../core/types/AccountHolder.types';
|
|
2
3
|
import type { Document } from '../../../../core/models/api/document';
|
|
3
4
|
import type { LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
5
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
5
6
|
export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<Document[]>;
|
|
6
|
-
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, isExperimentEnabled: (key: ExperimentName) => boolean) => LegalEntity;
|
|
7
|
+
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isExperimentEnabled: (key: ExperimentName) => boolean) => LegalEntity;
|
|
@@ -48,7 +48,7 @@ export interface SubmitProps {
|
|
|
48
48
|
nestedLegalEntityDetails?: TrustMember | UnincorporatedPartnershipMember;
|
|
49
49
|
problems: EntityProblems | undefined;
|
|
50
50
|
taskType: TaskTypes;
|
|
51
|
-
accountHolder
|
|
51
|
+
accountHolder: AccountHolderOption;
|
|
52
52
|
forms: FormModelWithValidity[];
|
|
53
53
|
documentUtils: DocumentApiUtils;
|
|
54
54
|
i18n: Language;
|
|
@@ -98,7 +98,7 @@ export declare const companyRegistrationNumberOptions: {
|
|
|
98
98
|
}, {
|
|
99
99
|
readonly id: "companyNumber";
|
|
100
100
|
readonly name: "companyNumber";
|
|
101
|
-
readonly applicableOnlyFor: readonly [CompanyTypesValue.PRIVATE_COMPANY, CompanyTypesValue.GOVERNMENTAL_ORGANIZATION, CompanyTypesValue.INCORPORATED_ASSOCIATION, CompanyTypesValue.INCORPORATED_PARTNERSHIP, CompanyTypesValue.NON_PROFIT_OR_CHARITABLE, CompanyTypesValue.UNINCORPORATED_PARTNERSHIP, CompanyTypesValue.UNLISTED_PUBLIC_COMPANY];
|
|
101
|
+
readonly applicableOnlyFor: readonly [CompanyTypesValue.PRIVATE_COMPANY, CompanyTypesValue.GOVERNMENTAL_ORGANIZATION, CompanyTypesValue.INCORPORATED_ASSOCIATION, CompanyTypesValue.INCORPORATED_PARTNERSHIP, CompanyTypesValue.NON_PROFIT_OR_CHARITABLE, CompanyTypesValue.UNINCORPORATED_PARTNERSHIP, CompanyTypesValue.UNLISTED_PUBLIC_COMPANY, CompanyTypesValue.PUBLIC_COMPANY];
|
|
102
102
|
}];
|
|
103
103
|
};
|
|
104
104
|
export declare const getCompanyRegistrationNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined) => readonly CompanyRegistrationNumberOption[] | undefined;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-9m7DUx_6.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|