@adyen/kyc-components 3.54.0 → 3.54.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/es/{B4MFY5CR-DDQAMInY.js → B4MFY5CR-BuYu03kz.js} +1 -1
- package/dist/es/{HO4MOOFI-UEN7mrZI.js → HO4MOOFI-2gy36lPR.js} +2 -2
- package/dist/es/{HUY7CZI3-C_axCv_G.js → HUY7CZI3-CHko2UyX.js} +2 -2
- package/dist/es/adyen-kyc-components.es.js +1 -1
- package/dist/es/{index-DPsf1lQH.js → index-DQEdl1Ya.js} +49 -57
- package/dist/types/core/models/api/customerSupport.d.ts +1 -1
- package/dist/types/utils/mapping/mapping.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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 { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, m as mutationSortFns, n as on, p as setAttribute, q as getSidedProp, r as use, v as createUniqueId, w as batch, x as getQueryStatusLabel, y as getMutationStatusColor, z as getQueryStatusColor, A as getQueryStatusColorByLabel, B as displayValue, F as For, C as convertRemToPixels, D as untrack, $ as $TRACK, E as useTransition, G as spread, H as mergeProps, I as createRoot, J as serialize, K as Index, L as updateNestedDataByPath, M as addEventListener, N as stringify, O as Match, Q as Switch, R as deleteNestedDataByPath, T as splitProps, U as Dynamic, V as createComputed } from "./index-
|
|
4
|
+
import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, m as mutationSortFns, n as on, p as setAttribute, q as getSidedProp, r as use, v as createUniqueId, w as batch, x as getQueryStatusLabel, y as getMutationStatusColor, z as getQueryStatusColor, A as getQueryStatusColorByLabel, B as displayValue, F as For, C as convertRemToPixels, D as untrack, $ as $TRACK, E as useTransition, G as spread, H as mergeProps, I as createRoot, J as serialize, K as Index, L as updateNestedDataByPath, M as addEventListener, N as stringify, O as Match, Q as Switch, R as deleteNestedDataByPath, T as splitProps, U as Dynamic, V as createComputed } from "./index-DQEdl1Ya.js";
|
|
5
5
|
var isNonNullable = (i2) => i2 != null;
|
|
6
6
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
7
7
|
function chain(callbacks) {
|
|
@@ -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 "./B4MFY5CR-
|
|
2
|
-
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-BuYu03kz.js";
|
|
2
|
+
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-DQEdl1Ya.js";
|
|
3
3
|
var DevtoolsComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -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 "./B4MFY5CR-
|
|
2
|
-
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-
|
|
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 "./B4MFY5CR-BuYu03kz.js";
|
|
2
|
+
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-DQEdl1Ya.js";
|
|
3
3
|
var DevtoolsPanelComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -22223,8 +22223,8 @@ const mapFinancialInformationToFinancialReport = ({
|
|
|
22223
22223
|
netAssets: (netAssets == null ? void 0 : netAssets.toFixed(2)) ?? void 0,
|
|
22224
22224
|
annualTurnover: (annualTurnover == null ? void 0 : annualTurnover.toFixed(2)) ?? void 0
|
|
22225
22225
|
});
|
|
22226
|
-
const mapLegalEntityToIndividual = (legalEntity, isChangingType) => {
|
|
22227
|
-
var _a2, _b2, _c2, _d2;
|
|
22226
|
+
const mapLegalEntityToIndividual = (legalEntity, isChangingType, isRoleFieldNeeded, parentLegalEntity, isLegalRepresentative) => {
|
|
22227
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
|
|
22228
22228
|
let individualData = formatObject(legalEntity, individualComponentsKeyMapping);
|
|
22229
22229
|
individualData = {
|
|
22230
22230
|
...individualData,
|
|
@@ -22251,6 +22251,25 @@ const mapLegalEntityToIndividual = (legalEntity, isChangingType) => {
|
|
|
22251
22251
|
...mapApiDocumentToIndividualDocuments(legalEntity == null ? void 0 : legalEntity.id)
|
|
22252
22252
|
};
|
|
22253
22253
|
}
|
|
22254
|
+
if (!(parentLegalEntity == null ? void 0 : parentLegalEntity.entityAssociations)) {
|
|
22255
|
+
return individualData;
|
|
22256
|
+
}
|
|
22257
|
+
const associations = ((_e2 = parentLegalEntity == null ? void 0 : parentLegalEntity.entityAssociations) == null ? void 0 : _e2.filter((ea) => ea.legalEntityId === (legalEntity == null ? void 0 : legalEntity.id))) ?? [];
|
|
22258
|
+
if (isRoleFieldNeeded) {
|
|
22259
|
+
individualData.personalDetails.role = associations.map((ea) => ea.type);
|
|
22260
|
+
individualData.personalDetails.jobTitle = (_f2 = associations.find(
|
|
22261
|
+
({ jobTitle }) => Boolean(jobTitle)
|
|
22262
|
+
)) == null ? void 0 : _f2.jobTitle;
|
|
22263
|
+
}
|
|
22264
|
+
individualData.personalDetails = getNomineeFromAssociation(
|
|
22265
|
+
associations,
|
|
22266
|
+
individualData.personalDetails
|
|
22267
|
+
);
|
|
22268
|
+
if (isLegalRepresentative) {
|
|
22269
|
+
individualData.personalDetails.relationship = (_g2 = associations.find(
|
|
22270
|
+
({ relationship }) => Boolean(relationship)
|
|
22271
|
+
)) == null ? void 0 : _g2.relationship;
|
|
22272
|
+
}
|
|
22254
22273
|
return individualData;
|
|
22255
22274
|
};
|
|
22256
22275
|
const mapIndividualToLegalEntity = (data) => {
|
|
@@ -36884,7 +36903,7 @@ const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
|
36884
36903
|
var _a2, _b2, _c2;
|
|
36885
36904
|
return {
|
|
36886
36905
|
email: ((_a2 = customerSupport == null ? void 0 : customerSupport.customerSupport) == null ? void 0 : _a2.email) || "",
|
|
36887
|
-
|
|
36906
|
+
phone: {
|
|
36888
36907
|
number: ((_c2 = (_b2 = customerSupport == null ? void 0 : customerSupport.customerSupport) == null ? void 0 : _b2.phoneNumber) == null ? void 0 : _c2.number) || "",
|
|
36889
36908
|
type: "mobile"
|
|
36890
36909
|
}
|
|
@@ -37709,7 +37728,7 @@ function CustomerSupport({
|
|
|
37709
37728
|
const legalEntityType = legalEntityResponse.type;
|
|
37710
37729
|
const defaultCustomerSupportData = {
|
|
37711
37730
|
customerSupport: {
|
|
37712
|
-
phoneNumber: (_b2 = (_a2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _a2.support) == null ? void 0 : _b2.
|
|
37731
|
+
phoneNumber: (_b2 = (_a2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _a2.support) == null ? void 0 : _b2.phone,
|
|
37713
37732
|
email: (_d2 = (_c2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _c2.support) == null ? void 0 : _d2.email
|
|
37714
37733
|
}
|
|
37715
37734
|
};
|
|
@@ -46140,7 +46159,7 @@ function IndividualDropin({
|
|
|
46140
46159
|
trustedFieldsProvider,
|
|
46141
46160
|
trustedRoles
|
|
46142
46161
|
}) {
|
|
46143
|
-
var _a2, _b2, _c2, _d2
|
|
46162
|
+
var _a2, _b2, _c2, _d2;
|
|
46144
46163
|
const { accountHolder, setAccountHolder, idVerificationProviderId } = useCoreContext();
|
|
46145
46164
|
const { isEmbeddedDropin } = useAuthContext();
|
|
46146
46165
|
const { i18n } = useI18nContext();
|
|
@@ -46148,9 +46167,17 @@ function IndividualDropin({
|
|
|
46148
46167
|
const { getConfiguration: getConfiguration2 } = useConfigurationApi();
|
|
46149
46168
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
46150
46169
|
const { isSettingEnabled } = useSettingsContext();
|
|
46151
|
-
|
|
46170
|
+
const isRoleFieldNeeded = taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER;
|
|
46171
|
+
const isLegalRepresentative = taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
|
|
46172
|
+
const dataFromResponse = useMemo(() => {
|
|
46152
46173
|
if (legalEntityResponse) {
|
|
46153
|
-
return mapLegalEntityToIndividual(
|
|
46174
|
+
return mapLegalEntityToIndividual(
|
|
46175
|
+
legalEntityResponse,
|
|
46176
|
+
isTargetLegalEntityType,
|
|
46177
|
+
isRoleFieldNeeded,
|
|
46178
|
+
parentLegalEntity,
|
|
46179
|
+
isLegalRepresentative
|
|
46180
|
+
);
|
|
46154
46181
|
}
|
|
46155
46182
|
return {
|
|
46156
46183
|
personalDetails: {
|
|
@@ -46195,7 +46222,7 @@ function IndividualDropin({
|
|
|
46195
46222
|
}, []);
|
|
46196
46223
|
const individualFieldValidations = useCallback(
|
|
46197
46224
|
(data2) => {
|
|
46198
|
-
var _a3, _b3, _c3, _d3,
|
|
46225
|
+
var _a3, _b3, _c3, _d3, _e2, _f2, _g2, _h2, _i2;
|
|
46199
46226
|
return {
|
|
46200
46227
|
personalDetails: personalDetailsValidators({
|
|
46201
46228
|
country: ((_a3 = data2 == null ? void 0 : data2.personalDetails) == null ? void 0 : _a3.residencyCountry) ?? country,
|
|
@@ -46204,8 +46231,8 @@ function IndividualDropin({
|
|
|
46204
46231
|
taskType,
|
|
46205
46232
|
idNumberType: (_b3 = data2 == null ? void 0 : data2.personalDetails) == null ? void 0 : _b3.typeOfIdentity,
|
|
46206
46233
|
phonePrefix: (_d3 = (_c3 = data2 == null ? void 0 : data2.personalDetails) == null ? void 0 : _c3.phoneNumber) == null ? void 0 : _d3.phoneCountryCode,
|
|
46207
|
-
idNumberExempt: (
|
|
46208
|
-
idNumber: (
|
|
46234
|
+
idNumberExempt: (_e2 = data2 == null ? void 0 : data2.personalDetails) == null ? void 0 : _e2.idNumberExempt,
|
|
46235
|
+
idNumber: (_f2 = data2 == null ? void 0 : data2.personalDetails) == null ? void 0 : _f2.idNumber,
|
|
46209
46236
|
existingIdNumber: (_g2 = dataFromResponse.personalDetails) == null ? void 0 : _g2.idNumber,
|
|
46210
46237
|
formVerificationErrors: (_h2 = propProblems == null ? void 0 : propProblems.verificationErrors) == null ? void 0 : _h2.personalDetails
|
|
46211
46238
|
}),
|
|
@@ -46334,44 +46361,9 @@ function IndividualDropin({
|
|
|
46334
46361
|
handleGetIdVerificationToken,
|
|
46335
46362
|
(_c2 = data.idVerificationMethod) == null ? void 0 : _c2.idVerificationMethod
|
|
46336
46363
|
]);
|
|
46337
|
-
|
|
46338
|
-
if (isRoleTypeTask && parentLegalEntity) {
|
|
46364
|
+
if (isRoleFieldNeeded && parentLegalEntity) {
|
|
46339
46365
|
roleTypes = getAllowedDecisionMakerRoles(parentLegalEntity, taskType);
|
|
46340
46366
|
}
|
|
46341
|
-
if (parentLegalEntity == null ? void 0 : parentLegalEntity.entityAssociations) {
|
|
46342
|
-
const associations = (_d2 = parentLegalEntity == null ? void 0 : parentLegalEntity.entityAssociations) == null ? void 0 : _d2.filter(
|
|
46343
|
-
(ea) => ea.legalEntityId === (legalEntityResponse == null ? void 0 : legalEntityResponse.id)
|
|
46344
|
-
);
|
|
46345
|
-
if (associations && associations.length > 0) {
|
|
46346
|
-
if (isRoleTypeTask && parentLegalEntity) {
|
|
46347
|
-
const jobTitle = (_e2 = associations.find(
|
|
46348
|
-
(association) => Boolean(association.jobTitle)
|
|
46349
|
-
)) == null ? void 0 : _e2.jobTitle;
|
|
46350
|
-
dataFromResponse = {
|
|
46351
|
-
...dataFromResponse,
|
|
46352
|
-
personalDetails: {
|
|
46353
|
-
...dataFromResponse == null ? void 0 : dataFromResponse.personalDetails,
|
|
46354
|
-
role: associations == null ? void 0 : associations.map((ea) => ea.type),
|
|
46355
|
-
...jobTitle && { jobTitle }
|
|
46356
|
-
}
|
|
46357
|
-
};
|
|
46358
|
-
dataFromResponse.personalDetails = getNomineeFromAssociation(
|
|
46359
|
-
associations,
|
|
46360
|
-
dataFromResponse.personalDetails
|
|
46361
|
-
);
|
|
46362
|
-
}
|
|
46363
|
-
if (taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS) {
|
|
46364
|
-
const [{ relationship }] = associations;
|
|
46365
|
-
dataFromResponse = {
|
|
46366
|
-
...dataFromResponse,
|
|
46367
|
-
personalDetails: {
|
|
46368
|
-
...dataFromResponse == null ? void 0 : dataFromResponse.personalDetails,
|
|
46369
|
-
relationship
|
|
46370
|
-
}
|
|
46371
|
-
};
|
|
46372
|
-
}
|
|
46373
|
-
}
|
|
46374
|
-
}
|
|
46375
46367
|
useEffect(() => {
|
|
46376
46368
|
var _a3;
|
|
46377
46369
|
const documentIds = ((_a3 = legalEntityResponse == null ? void 0 : legalEntityResponse.documentDetails) == null ? void 0 : _a3.map((documentReference) => documentReference.id)) || [];
|
|
@@ -46484,7 +46476,7 @@ function IndividualDropin({
|
|
|
46484
46476
|
parentLE,
|
|
46485
46477
|
dataSubmitted
|
|
46486
46478
|
}) => {
|
|
46487
|
-
var _a3, _b3, _c3, _d3,
|
|
46479
|
+
var _a3, _b3, _c3, _d3, _e2, _f2;
|
|
46488
46480
|
const newRoles = taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER ? (_a3 = dataSubmitted == null ? void 0 : dataSubmitted.personalDetails) == null ? void 0 : _a3.role : taskType === TaskTypes.TRUST_MEMBER_INDIVIDUAL ? trustMember == null ? void 0 : trustMember.roles : null;
|
|
46489
46481
|
const existingEntityAssociations = getOwnEntityAssociations(parentLE);
|
|
46490
46482
|
if (newRoles && (hasRolesChanged(legalEntity, existingEntityAssociations, newRoles) || ((_b3 = dataFromResponse.personalDetails) == null ? void 0 : _b3.jobTitle) !== ((_c3 = dataSubmitted == null ? void 0 : dataSubmitted.personalDetails) == null ? void 0 : _c3.jobTitle) || hasNomineesChanged(dataFromResponse.personalDetails, dataSubmitted.nominee))) {
|
|
@@ -46510,11 +46502,11 @@ function IndividualDropin({
|
|
|
46510
46502
|
}
|
|
46511
46503
|
await handleUpdateLegalEntity(updatedParentLegalEntity, parentLE.id);
|
|
46512
46504
|
}
|
|
46513
|
-
if (taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS && (existingEntityAssociations.every((ea) => ea.legalEntityId !== legalEntity.id) || ((_d3 = dataFromResponse == null ? void 0 : dataFromResponse.personalDetails) == null ? void 0 : _d3.relationship) !== ((
|
|
46505
|
+
if (taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS && (existingEntityAssociations.every((ea) => ea.legalEntityId !== legalEntity.id) || ((_d3 = dataFromResponse == null ? void 0 : dataFromResponse.personalDetails) == null ? void 0 : _d3.relationship) !== ((_e2 = dataSubmitted == null ? void 0 : dataSubmitted.personalDetails) == null ? void 0 : _e2.relationship))) {
|
|
46514
46506
|
const newEntityAssociation = {
|
|
46515
46507
|
type: "legalRepresentative",
|
|
46516
46508
|
legalEntityId: legalEntity.id,
|
|
46517
|
-
relationship: (
|
|
46509
|
+
relationship: (_f2 = dataSubmitted == null ? void 0 : dataSubmitted.personalDetails) == null ? void 0 : _f2.relationship
|
|
46518
46510
|
};
|
|
46519
46511
|
const updatedParentLegalEntity = {
|
|
46520
46512
|
entityAssociations: [newEntityAssociation, ...existingEntityAssociations]
|
|
@@ -46646,7 +46638,7 @@ function IndividualDropin({
|
|
|
46646
46638
|
};
|
|
46647
46639
|
};
|
|
46648
46640
|
const formatDataForSummary2 = () => {
|
|
46649
|
-
var _a3, _b3, _c3, _d3,
|
|
46641
|
+
var _a3, _b3, _c3, _d3, _e2, _f2, _g2;
|
|
46650
46642
|
let summaryData = cloneObject(data);
|
|
46651
46643
|
if ((_a3 = summaryData.personalDetails) == null ? void 0 : _a3.residencyCountry) {
|
|
46652
46644
|
summaryData.personalDetails.residencyCountry = datasetUtils.getCountryName(
|
|
@@ -46676,15 +46668,15 @@ function IndividualDropin({
|
|
|
46676
46668
|
i18n.locale
|
|
46677
46669
|
);
|
|
46678
46670
|
}
|
|
46679
|
-
if ((
|
|
46671
|
+
if ((_e2 = summaryData.personalDetails) == null ? void 0 : _e2.phoneNumber) {
|
|
46680
46672
|
delete summaryData.personalDetails.phoneNumber;
|
|
46681
|
-
summaryData.personalDetails.phoneNumber = (_g2 = (
|
|
46673
|
+
summaryData.personalDetails.phoneNumber = (_g2 = (_f2 = data.personalDetails) == null ? void 0 : _f2.phoneNumber) == null ? void 0 : _g2.number;
|
|
46682
46674
|
}
|
|
46683
46675
|
return summaryData;
|
|
46684
46676
|
};
|
|
46685
46677
|
const summaryOmittedKeys = [
|
|
46686
46678
|
...taskType === TaskTypes.DECISION_MAKER ? ["role"] : [],
|
|
46687
|
-
...((
|
|
46679
|
+
...((_d2 = data == null ? void 0 : data.personalDetails) == null ? void 0 : _d2.idNumberExempt) ? ["idNumber"] : []
|
|
46688
46680
|
];
|
|
46689
46681
|
const {
|
|
46690
46682
|
handleNextClick,
|
|
@@ -59050,7 +59042,7 @@ const ConfigurationApiProvider = ({
|
|
|
59050
59042
|
}) => {
|
|
59051
59043
|
const authContext = useAuthContext();
|
|
59052
59044
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
59053
|
-
const sdkVersion = "3.54.
|
|
59045
|
+
const sdkVersion = "3.54.2";
|
|
59054
59046
|
const rootLegalEntityId = useGlobalStore((store) => store.rootLegalEntity.id);
|
|
59055
59047
|
useAnalytics({
|
|
59056
59048
|
onUserEvent,
|
|
@@ -59790,7 +59782,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
59790
59782
|
const [tab, setTab] = useState("metadata");
|
|
59791
59783
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
59792
59784
|
const metadata = {
|
|
59793
|
-
sdkVersion: "3.54.
|
|
59785
|
+
sdkVersion: "3.54.2",
|
|
59794
59786
|
locale: i18n.locale,
|
|
59795
59787
|
rootLegalEntityId: rootLegalEntity.id
|
|
59796
59788
|
};
|
|
@@ -62785,7 +62777,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
62785
62777
|
if (__privateGet(this, _Component)) {
|
|
62786
62778
|
Devtools = __privateGet(this, _Component);
|
|
62787
62779
|
} else {
|
|
62788
|
-
Devtools = lazy(() => import("./HO4MOOFI-
|
|
62780
|
+
Devtools = lazy(() => import("./HO4MOOFI-2gy36lPR.js"));
|
|
62789
62781
|
__privateSet(this, _Component, Devtools);
|
|
62790
62782
|
}
|
|
62791
62783
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -62907,7 +62899,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
62907
62899
|
if (__privateGet(this, _Component2)) {
|
|
62908
62900
|
Devtools = __privateGet(this, _Component2);
|
|
62909
62901
|
} else {
|
|
62910
|
-
Devtools = lazy(() => import("./HUY7CZI3-
|
|
62902
|
+
Devtools = lazy(() => import("./HUY7CZI3-CHko2UyX.js"));
|
|
62911
62903
|
__privateSet(this, _Component2, Devtools);
|
|
62912
62904
|
}
|
|
62913
62905
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -36,7 +36,7 @@ export declare const mapPayoutDetailsToTransferInstrument: ({ data, legalEntity,
|
|
|
36
36
|
}) => TransferInstrument;
|
|
37
37
|
export declare const mapFinancialReportsToFinancialInformation: (financialReports: FinancialReport[], withReportedValueOption?: boolean) => FinancialInformationSchema;
|
|
38
38
|
export declare const mapFinancialInformationToFinancialReport: ({ currency, financialReportingDate, numberOfEmployees, netAssets, annualTurnover, }: FinancialInformationSchema) => FinancialReport;
|
|
39
|
-
export declare const mapLegalEntityToIndividual: (legalEntity: ExistingLegalEntity | undefined, isChangingType?: boolean) => IndividualSchema;
|
|
39
|
+
export declare const mapLegalEntityToIndividual: (legalEntity: ExistingLegalEntity | undefined, isChangingType?: boolean, isRoleFieldNeeded?: boolean, parentLegalEntity?: ExistingLegalEntity, isLegalRepresentative?: boolean) => IndividualSchema;
|
|
40
40
|
export declare const mapIndividualToLegalEntity: (data: IndividualSchema) => LegalEntity;
|
|
41
41
|
export declare const mapLegalEntityToCompany: (legalEntity: LegalEntity, isExperimentEnabled?: (key: ExperimentName) => boolean) => CompanySchema;
|
|
42
42
|
export declare const mapCompanyToLegalEntity: (data: CompanySchema, isExperimentEnabled?: (key: ExperimentName) => boolean) => LegalEntity;
|