@adyen/kyc-components 3.79.5 → 3.79.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/{AcceptTermsOfServiceComponent-C-sdcQC1.js → AcceptTermsOfServiceComponent-Bh6GIl5g.js} +5 -5
- package/dist/{AccountSetupRejected-pJ1GQmfn.js → AccountSetupRejected-LsYWcxAe.js} +2 -2
- package/dist/{Avatar-DqrJ1sWv.js → Avatar-DUdY0QV3.js} +1 -1
- package/dist/{BusinessDetailsDropin-BXYb1PiJ.js → BusinessDetailsDropin-C2IWFy1l.js} +6 -6
- package/dist/{BusinessFinancingComponent-C2cyUQFe.js → BusinessFinancingComponent-DtplWUVR.js} +2 -2
- package/dist/{BusinessFinancingDropin-DFPD6wLG.js → BusinessFinancingDropin-BVIg4kKI.js} +8 -8
- package/dist/{BusinessFinancingPage-CN66QMII.js → BusinessFinancingPage-CfX0dTPn.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-BD7w42zt.js → BusinessTypeSelectionPage-D0bJkVj9.js} +3 -3
- package/dist/{ContractViewer-CDdsVZhN.js → ContractViewer-B3LKHni5.js} +1 -1
- package/dist/{CreateIndividualComponent-0gLl5O8N.js → CreateIndividualComponent-wm46swzH.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-CbLngWwe.js → CreateTransferInstrumentComponent-BdqvwibR.js} +1 -1
- package/dist/{CustomerSupport-CPCBCkIK.js → CustomerSupport-_IWbRVAk.js} +4 -4
- package/dist/{DebugModal-at_zvtYj.js → DebugModal-sJMt5b2d.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-B7Z7R5C0.js → DecisionMakerDetailsPage-CKTdsbLD.js} +2 -2
- package/dist/{DecisionMakers-rolqNouG.js → DecisionMakers-BSDmJvRo.js} +3 -3
- package/dist/{EmbeddedStatus-DvilzlQr.js → EmbeddedStatus-GSPZzAx3.js} +2 -2
- package/dist/{FormEndState-BA8dUyx5.js → FormEndState-DnrbFVTJ.js} +1 -1
- package/dist/{FormFlow-so7xVDNA.js → FormFlow-Rg1P6pgw.js} +1 -1
- package/dist/{IndividualOnfidoDropin-Bpc7xXjs.js → IndividualOnfidoDropin-BDeGF2MM.js} +10 -10
- package/dist/{Introduction-BUaBnXZT.js → Introduction-DnHCFnyl.js} +2 -2
- package/dist/{LandingLayout-AadiCVwF.js → LandingLayout-Bt9_2k3K.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-DtSrL6WN.js → LegalRepresentativeDetailsPage-BNcBVEAH.js} +2 -2
- package/dist/{ManageIndividualComponent-DYmyVS2h.js → ManageIndividualComponent-DXG9WpqB.js} +3 -3
- package/dist/{ManagePCIComponent-CqEftsn1.js → ManagePCIComponent-1VvbyDnk.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BIp0a4T7.js → ManageTermsOfServiceComponent-J-Dq1u9p.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-D5ZEQg7c.js → ManageTransferInstrumentComponent-D1psUNYR.js} +3 -3
- package/dist/{OnboardingDropinComponent-TEHx0mg6.js → OnboardingDropinComponent-CGX9HbWr.js} +31 -31
- package/dist/{ProviderButton-B45j6flY.js → ProviderButton-CnBHtdrE.js} +1 -1
- package/dist/{Review-CQx4WGqa.js → Review-DaPvHqjS.js} +2 -2
- package/dist/{RootBusinessDetailsPage-WlFutPwc.js → RootBusinessDetailsPage-BnSmjRAJ.js} +2 -2
- package/dist/{RootIndividualDetailsPage-8pqeQYjl.js → RootIndividualDetailsPage-Bep9ZbIc.js} +2 -2
- package/dist/{SignPCIComponent-DV2NCJ94.js → SignPCIComponent-CFEtxuDI.js} +4 -4
- package/dist/{SingpassSelection-Bh9VXTl8.js → SingpassSelection-9eVONay4.js} +1 -1
- package/dist/{SoleProprietorshipPage-CvFm-QAk.js → SoleProprietorshipPage-BhKjnr7m.js} +2 -2
- package/dist/{SourceOfFundsPage-BIQWzo_4.js → SourceOfFundsPage-DFMOh2Mv.js} +9 -9
- package/dist/{StoreProvider-B-A0pnhm.js → StoreProvider-BLmAH6xR.js} +33 -24
- package/dist/{TaskItemStatus-Dthkf6dB.js → TaskItemStatus-C6rN4XQP.js} +1 -1
- package/dist/{TaxReportingDropin-Cq4XLrOV.js → TaxReportingDropin-DH14KZ1c.js} +6 -6
- package/dist/{TileGroup-MP3ZFkh7.js → TileGroup-D4G8Ei45.js} +1 -1
- package/dist/{TrustDetailsPage-pmyp7Jmp.js → TrustDetailsPage-BwPAtutH.js} +4 -4
- package/dist/{TrustMemberCompanyPage-DOghCmrI.js → TrustMemberCompanyPage-D__iu91B.js} +3 -3
- package/dist/{TrustMemberIndividualPage-DjffLbdV.js → TrustMemberIndividualPage-DD15Hwxm.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-Cjv06X7G.js → UnincorporatedPartnershipIndividualPage-7H04FE4M.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-0UPAfnPH.js → UnincorporatedPartnershipMemberCompanyPage-B2yURA35.js} +2 -2
- package/dist/{VerificationErrorAlert-DiuhGak3.js → VerificationErrorAlert-DThI2oCF.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-cEJVpZ3G.js → ViewVerificationStatusComponent-BY-01DQR.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{css-3g2ZzkKD.js → css-Dng3flze.js} +1 -1
- package/dist/{getFieldsWithExistingData-C1RxiQbH.js → getFieldsWithExistingData-SxrTXamT.js} +1 -1
- package/dist/{hasDataChanged-CpaC7EAp.js → hasDataChanged-CBW8Gcl_.js} +1 -1
- package/dist/{json-D1k4PnYS.js → json-B-95qiMI.js} +1 -1
- package/dist/{localizeDateString-BOil9Oly.js → localizeDateString-B1rKzlDi.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-CsAznhBx.js → mapFinancialReportsToFinancialInformation-Dzoau0ZK.js} +1 -1
- package/dist/{plaintext-DQlwu12s.js → plaintext-Z-XC66T6.js} +1 -1
- package/dist/{resolveEnvironment-B-2UpIyB.js → resolveEnvironment-DpCCTdHx.js} +3 -3
- package/dist/{rules-CJT7QLKy.js → rules-0kYSHflt.js} +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +6 -6
- package/dist/types/core/models/api/get-scenarios.d.ts +26 -20
- package/dist/{useMultiForm-JdVb-Ihy.js → useMultiForm-XGAEoYey.js} +1 -1
- package/dist/{useOnboardingStatus-BCvvJvDj.js → useOnboardingStatus-CbGIE_sS.js} +1 -1
- package/dist/{useSalesChannelsSettings-BaG2sqqL.js → useSalesChannelsSettings-ClUudTxK.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DHd7KEmu.js → useTermsOfServiceStatus-DSWzNjoW.js} +1 -1
- package/dist/{useUpdateLegalEntity-E_bMv8Pw.js → useUpdateLegalEntity-BcBiyoFc.js} +1 -1
- package/dist/{utils-CW54_ItV.js → utils-CqCUqbDI.js} +3 -3
- package/dist/{validate-B_9YcOVF.js → validate-B6cZM852.js} +1 -1
- package/dist/{validate-DSATzWhl.js → validate-D23poMn0.js} +1 -1
- package/dist/{yaml-C8VgZvw9.js → yaml-DE_lLEOk.js} +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-sJMt5b2d.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 },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { X as createLogger } from "./StoreProvider-
|
|
10
|
+
import { X as createLogger } from "./StoreProvider-BLmAH6xR.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { dM as isDateOlderThanAYear, cn as drop } from "./StoreProvider-
|
|
10
|
+
import { dM as isDateOlderThanAYear, cn as drop } from "./StoreProvider-BLmAH6xR.js";
|
|
11
11
|
const mapFinancialInformationToFinancialReport = ({
|
|
12
12
|
currency,
|
|
13
13
|
financialReportingDate,
|
|
@@ -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] = "949199e2-de75-4ad9-8872-5d9a62d74f0a", e._sentryDebugIdIdentifier = "sentry-dbid-949199e2-de75-4ad9-8872-5d9a62d74f0a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { br as refreshSession, _ as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, f as ApiProvider, E as ExperimentsContextProvider, h as StoreProvider, j as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, k as StateProvider, o as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { br as refreshSession, _ as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, f as ApiProvider, E as ExperimentsContextProvider, h as StoreProvider, j as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, k as StateProvider, o as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-BLmAH6xR.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.79.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.79.7" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ap as CountryCodes, cP as DecisionMakerType, cQ as createFormRules, cS as allowedCountriesForNominee, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, W as TaskTypes, ci as getLocalizedIdDocumentTypeOptions, cT as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { ap as CountryCodes, cP as DecisionMakerType, cQ as createFormRules, cS as allowedCountriesForNominee, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, W as TaskTypes, ci as getLocalizedIdDocumentTypeOptions, cT as Scenarios } from "./StoreProvider-BLmAH6xR.js";
|
|
11
11
|
const REQUIRED = "REQUIRED";
|
|
12
12
|
const OPTIONAL = "OPTIONAL";
|
|
13
13
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -15,7 +15,7 @@ export type QueryKeyScenarios = ['scenarios', LeType, CountryCode];
|
|
|
15
15
|
* @param legalEntityType - needs to be dynamic, might not match the legalEntityId's legalEntityType
|
|
16
16
|
*/
|
|
17
17
|
export declare const useScenarios: (countryCode: CountryCode, legalEntityType: LeType, options?: QueryOptions<ConfigurationsResponse>) => {
|
|
18
|
-
data: ("
|
|
18
|
+
data: ("L0" | "L1" | "L_TAXINFO" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS" | "L_BAFIN")[] | undefined;
|
|
19
19
|
error: Error;
|
|
20
20
|
isError: true;
|
|
21
21
|
isPending: false;
|
|
@@ -42,7 +42,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
42
42
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
43
43
|
promise: Promise<ConfigurationsResponse>;
|
|
44
44
|
} | {
|
|
45
|
-
data: ("
|
|
45
|
+
data: ("L0" | "L1" | "L_TAXINFO" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS" | "L_BAFIN")[] | undefined;
|
|
46
46
|
error: null;
|
|
47
47
|
isError: false;
|
|
48
48
|
isPending: false;
|
|
@@ -69,7 +69,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
69
69
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
70
70
|
promise: Promise<ConfigurationsResponse>;
|
|
71
71
|
} | {
|
|
72
|
-
data: ("
|
|
72
|
+
data: ("L0" | "L1" | "L_TAXINFO" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS" | "L_BAFIN")[] | undefined;
|
|
73
73
|
error: Error;
|
|
74
74
|
isError: true;
|
|
75
75
|
isPending: false;
|
|
@@ -96,7 +96,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
96
96
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
97
97
|
promise: Promise<ConfigurationsResponse>;
|
|
98
98
|
} | {
|
|
99
|
-
data: ("
|
|
99
|
+
data: ("L0" | "L1" | "L_TAXINFO" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS" | "L_BAFIN")[] | undefined;
|
|
100
100
|
error: null;
|
|
101
101
|
isError: false;
|
|
102
102
|
isPending: true;
|
|
@@ -123,7 +123,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
123
123
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
124
124
|
promise: Promise<ConfigurationsResponse>;
|
|
125
125
|
} | {
|
|
126
|
-
data: ("
|
|
126
|
+
data: ("L0" | "L1" | "L_TAXINFO" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS" | "L_BAFIN")[] | undefined;
|
|
127
127
|
error: null;
|
|
128
128
|
isError: false;
|
|
129
129
|
isPending: true;
|
|
@@ -150,7 +150,7 @@ export declare const useScenarios: (countryCode: CountryCode, legalEntityType: L
|
|
|
150
150
|
fetchStatus: import("@tanstack/query-core").FetchStatus;
|
|
151
151
|
promise: Promise<ConfigurationsResponse>;
|
|
152
152
|
} | {
|
|
153
|
-
data: ("
|
|
153
|
+
data: ("L0" | "L1" | "L_TAXINFO" | "L1_ID" | "L1_IDO" | "L1_NAT" | "L1_IDDOC" | "L_PH" | "L_MOTION" | "L" | "L_REGDOC" | "L_TAXDOC" | "L_PROOFOFADDRESS" | "L_BAFIN")[] | undefined;
|
|
154
154
|
isError: false;
|
|
155
155
|
error: null;
|
|
156
156
|
isPending: false;
|
|
@@ -1,22 +1,28 @@
|
|
|
1
|
+
import type { Scenario as ApiScenario } from '../../../api/configurations/configurations.types';
|
|
1
2
|
/**
|
|
2
|
-
* @description
|
|
3
|
-
*
|
|
3
|
+
* @description The available scenarios matching the API. Scenarios are a way of defining
|
|
4
|
+
* when certain fields must be provided by default. For an example of how they are used,
|
|
5
|
+
* see {@link businessDetailsFieldsPerScenario}.
|
|
6
|
+
*
|
|
7
|
+
* *Note*: this const determines in which order scenarios will be evaluated; later entries have
|
|
8
|
+
* higher precedence. This is needed because the backend may sort them inconsistently.
|
|
9
|
+
*
|
|
10
|
+
* E.g. if `L1` and `L1_IDDOC` both define rules for a field, `L1_IDDOC` will take precedence.
|
|
4
11
|
*/
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export type Scenario = `${Scenarios}`;
|
|
12
|
+
export declare const Scenarios: {
|
|
13
|
+
readonly L0: "L0";
|
|
14
|
+
readonly L1: "L1";
|
|
15
|
+
readonly L1_ID: "L1_ID";
|
|
16
|
+
readonly L1_IDO: "L1_IDO";
|
|
17
|
+
readonly L1_NAT: "L1_NAT";
|
|
18
|
+
readonly L1_IDDOC: "L1_IDDOC";
|
|
19
|
+
readonly L: "L";
|
|
20
|
+
readonly L_REGDOC: "L_REGDOC";
|
|
21
|
+
readonly L_TAXDOC: "L_TAXDOC";
|
|
22
|
+
readonly L_PROOFOFADDRESS: "L_PROOFOFADDRESS";
|
|
23
|
+
readonly L_PH: "L_PH";
|
|
24
|
+
readonly L_MOTION: "L_MOTION";
|
|
25
|
+
readonly L_TAXINFO: "L_TAXINFO";
|
|
26
|
+
readonly L_BAFIN: "L_BAFIN";
|
|
27
|
+
};
|
|
28
|
+
export type Scenario = ApiScenario;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { b0 as objectsDeepEqual, dH as ValidationResult, X as createLogger, dI as isNotEmptyValidator, aq as isEmpty } from "./StoreProvider-
|
|
11
|
+
import { b0 as objectsDeepEqual, dH as ValidationResult, X as createLogger, dI as isNotEmptyValidator, aq as isEmpty } from "./StoreProvider-BLmAH6xR.js";
|
|
12
12
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
13
13
|
a[c] = obj[c];
|
|
14
14
|
return a;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { p as useApiContext, q as useQuery, r as httpGet } from "./StoreProvider-
|
|
10
|
+
import { p as useApiContext, q as useQuery, r as httpGet } from "./StoreProvider-BLmAH6xR.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { p as useApiContext, q as useQuery, bj as httpPost, J as useSettingsContext, K as SettingNames } from "./StoreProvider-
|
|
10
|
+
import { p as useApiContext, q as useQuery, bj as httpPost, J as useSettingsContext, K as SettingNames } from "./StoreProvider-BLmAH6xR.js";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
12
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { p as useApiContext, q as useQuery, r as httpGet } from "./StoreProvider-
|
|
10
|
+
import { p as useApiContext, q as useQuery, r as httpGet } from "./StoreProvider-BLmAH6xR.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost, bg as useInvalidateRootLegalEntity, bp as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, bg as useInvalidateRootLegalEntity, bp as useQueryClient } from "./StoreProvider-BLmAH6xR.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { g as getLegalEntityCountry, dS as getCapabilities, y as LegalEntityType, M as hasOwnEntityAssociationOfType, O as CompanyTypesValue, ap as CountryCodes, dU as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-
|
|
11
|
-
import { b as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
10
|
+
import { g as getLegalEntityCountry, dS as getCapabilities, y as LegalEntityType, M as hasOwnEntityAssociationOfType, O as CompanyTypesValue, ap as CountryCodes, dU as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-BLmAH6xR.js";
|
|
11
|
+
import { b as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CGX9HbWr.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-0kYSHflt.js";
|
|
13
13
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
14
14
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
15
15
|
CountryCodes.UnitedStates,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { p as useApiContext, bj as httpPost, dK as emailPattern } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bj as httpPost, dK as emailPattern } from "./StoreProvider-BLmAH6xR.js";
|
|
12
12
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-sJMt5b2d.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|