@adyen/kyc-components 3.81.0-beta.0 → 3.81.0-beta.1
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-DUZ8m-El.js → AcceptTermsOfServiceComponent-D5NnqI3Z.js} +4 -4
- package/dist/{AccountSetupRejected-DSGGI8JF.js → AccountSetupRejected-CCkUWYww.js} +2 -2
- package/dist/{Avatar-DY9KPxi_.js → Avatar-BKZOHMzD.js} +1 -1
- package/dist/{BusinessDetailsDropin-CCW1NBK5.js → BusinessDetailsDropin-C2CpFIgV.js} +6 -6
- package/dist/{BusinessFinancingComponent-Dn4d85NX.js → BusinessFinancingComponent-Bul9H2Vr.js} +2 -2
- package/dist/{BusinessFinancingDropin-BpRf2LTA.js → BusinessFinancingDropin-0xqmeQ7c.js} +8 -8
- package/dist/{BusinessFinancingPage-t8vqkZMT.js → BusinessFinancingPage-Cx1oKA6b.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-Bk3GHlFq.js → BusinessTypeSelectionPage-GWKDG6CW.js} +3 -3
- package/dist/{CreateIndividualComponent-DcHuBu_q.js → CreateIndividualComponent-Cp8MCf1i.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-_ZekKCzs.js → CreateTransferInstrumentComponent-M6xPhlRr.js} +1 -1
- package/dist/{CustomerSupport-BMHMLSZ9.js → CustomerSupport-Bi5GgFO6.js} +4 -4
- package/dist/{DebugModal-CxVACxM4.js → DebugModal-DAFiRnOf.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-R_PPht3A.js → DecisionMakerDetailsPage-B44Vlvic.js} +2 -2
- package/dist/{DecisionMakers-Bxdj0aIF.js → DecisionMakers-Chnq6eX0.js} +6 -6
- package/dist/{EmbeddedStatus-CDIMc5D0.js → EmbeddedStatus-B5aUOg0u.js} +2 -2
- package/dist/{EndStateLayout-ChS903yq.js → EndStateLayout-xKxnL5gi.js} +1 -1
- package/dist/{FormFlow-gcCKgNQt.js → FormFlow-DNWaou8B.js} +1 -1
- package/dist/{IndividualOnfidoDropin-JrEsqyDz.js → IndividualOnfidoDropin-DWXUKEz9.js} +10 -10
- package/dist/{Introduction-DTjWG0SY.js → Introduction-BYBwqNu_.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BAVFc1rZ.js → LegalRepresentativeDetailsPage-DxzUrYUD.js} +2 -2
- package/dist/{ManageIndividualComponent-BHsbHn8F.js → ManageIndividualComponent-BIoLOIX7.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-Dl1Rs8mi.js → ManageTermsOfServiceComponent-DyV_kwaU.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-D1ntoR1k.js → ManageTransferInstrumentComponent-BPUej1qj.js} +3 -3
- package/dist/{OnboardingDropinComponent-Dvq5Ocum.js → OnboardingDropinComponent-CgpqiO3T.js} +37 -37
- package/dist/{Review-Mn0Fnm2U.js → Review-Ch7mSUhw.js} +2 -2
- package/dist/{RootBusinessDetailsPage-DoCCJDUa.js → RootBusinessDetailsPage-BUCTQa4Q.js} +6 -6
- package/dist/{RootIndividualDetailsPage-C5WnGiHW.js → RootIndividualDetailsPage-Bw-QWPhC.js} +2 -2
- package/dist/{SignPCIComponent-BGnCTWk_.js → SignPCIComponent-DmA4GCt8.js} +3 -3
- package/dist/{SingpassSelection-BqY3v7Hq.js → SingpassSelection-CUN6le2N.js} +1 -1
- package/dist/{SoleProprietorshipPage-VL2n0omM.js → SoleProprietorshipPage-w74PjetM.js} +2 -2
- package/dist/{SourceOfFundsPage-BsHdnsPV.js → SourceOfFundsPage-D82AunEM.js} +10 -10
- package/dist/{StoreProvider-Fbl3I9L7.js → StoreProvider-foAfpGgP.js} +4 -4
- package/dist/{TaskItemStatus-CC4mw_PB.js → TaskItemStatus-pXy3LscG.js} +1 -1
- package/dist/{TaskStatusIndicator-B7G7gqRt.js → TaskStatusIndicator-ChYCkSv_.js} +1 -1
- package/dist/{TaxReportingDropin-C8Z2k6kC.js → TaxReportingDropin-Bx2SVjkH.js} +7 -7
- package/dist/{TileGroup-B7_1rrEe.js → TileGroup-KuM4lUVf.js} +1 -1
- package/dist/{TrustDetailsPage-q8pyPH40.js → TrustDetailsPage-DCJd7ESJ.js} +4 -4
- package/dist/{TrustMemberCompanyPage-BT4dvwuF.js → TrustMemberCompanyPage-CItmqYxh.js} +3 -3
- package/dist/{TrustMemberIndividualPage-CwxurDZs.js → TrustMemberIndividualPage-Bnmp4Lai.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-2Z7Ljh7Y.js → UnincorporatedPartnershipIndividualPage-Bjdy7CTO.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DD7ihKcb.js → UnincorporatedPartnershipMemberCompanyPage-xujJ6jiZ.js} +2 -2
- package/dist/{VerificationErrorAlert-Cbls8Urj.js → VerificationErrorAlert-CRlJCx1L.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BZbgVCiJ.js → ViewVerificationStatusComponent-GDUtMyEe.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-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-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{getFieldsWithExistingData-BjmOzrhP.js → getFieldsWithExistingData-KQyhSMYS.js} +1 -1
- package/dist/{hasDataChanged-f49kid1W.js → hasDataChanged-BsKoYg28.js} +1 -1
- package/dist/{isIdNowModalOpen-C3cyeMaK.js → isIdNowModalOpen-CkXiAkOq.js} +1 -1
- package/dist/{localizeDateString-aA76e6GH.js → localizeDateString-DIL-Y3Ay.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-Dx35AZ1B.js → mapFinancialReportsToFinancialInformation-BioOYPCU.js} +1 -1
- package/dist/{resolveEnvironment-zIeibPQJ.js → resolveEnvironment-DTPTmG5X.js} +3 -3
- package/dist/{rules-DMMZWi5Q.js → rules-BVnoQNC5.js} +1 -1
- package/dist/{useMultiForm-BOVByA_E.js → useMultiForm-yRBSZTpa.js} +1 -1
- package/dist/{useOnboardingStatus-BNwuglKy.js → useOnboardingStatus-CY0h21El.js} +1 -1
- package/dist/{useTermsOfServiceStatus-lCNo2Bdd.js → useTermsOfServiceStatus-C1wPWy4q.js} +1 -1
- package/dist/{useUpdateLegalEntity-CcUHqJyo.js → useUpdateLegalEntity-BhxGESiZ.js} +1 -1
- package/dist/{utils-Jk_zHwaz.js → utils-CVH0OeD3.js} +3 -3
- package/dist/{validate-DUUyXWgS.js → validate-Cmy9-TQs.js} +1 -1
- package/dist/{validate-gCfuQFAB.js → validate-E9o0Hmpe.js} +1 -1
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTPTmG5X.js";
|
|
13
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-BIoLOIX7.js";
|
|
14
14
|
const AdyenManageIndividual = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
onClick,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTPTmG5X.js";
|
|
13
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-DyV_kwaU.js";
|
|
14
14
|
const AdyenManageTermsOfService = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTPTmG5X.js";
|
|
13
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-BPUej1qj.js";
|
|
14
14
|
const AdyenManageTransferInstruments = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTPTmG5X.js";
|
|
13
|
+
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-CgpqiO3T.js";
|
|
14
14
|
const AdyenOnboarding = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTPTmG5X.js";
|
|
13
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-D5NnqI3Z.js";
|
|
14
14
|
const AdyenTermsOfService = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTPTmG5X.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-M6xPhlRr.js";
|
|
14
14
|
const AdyenTransferInstrument = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DTPTmG5X.js";
|
|
13
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-GDUtMyEe.js";
|
|
14
14
|
const AdyenVerificationStatus = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
package/dist/{getFieldsWithExistingData-BjmOzrhP.js → getFieldsWithExistingData-KQyhSMYS.js}
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { dK as getNestedPropertyKeys } from "./StoreProvider-
|
|
10
|
+
import { dK as getNestedPropertyKeys } from "./StoreProvider-foAfpGgP.js";
|
|
11
11
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
12
12
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
13
13
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bk as entriesOf, b3 as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { bk as entriesOf, b3 as objectsDeepEqual } from "./StoreProvider-foAfpGgP.js";
|
|
11
11
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
12
12
|
if (typeof value === "object") {
|
|
13
13
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
-
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, as as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b4 as TrustedFieldsProviders, b9 as individualComponentsKeyMapping, ba as businessDetailsComponentsKeyMapping, N as Typography } from "./StoreProvider-
|
|
11
|
+
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, as as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b4 as TrustedFieldsProviders, b9 as individualComponentsKeyMapping, ba as businessDetailsComponentsKeyMapping, N as Typography } from "./StoreProvider-foAfpGgP.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { signal } from "@preact/signals";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a0 as createLogger } from "./StoreProvider-
|
|
10
|
+
import { a0 as createLogger } from "./StoreProvider-foAfpGgP.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 { dL as isDateOlderThanAYear, cq as drop } from "./StoreProvider-
|
|
10
|
+
import { dL as isDateOlderThanAYear, cq as drop } from "./StoreProvider-foAfpGgP.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] = "1467ce5e-23b0-493c-8c9f-4eab1a3616fe", e._sentryDebugIdIdentifier = "sentry-dbid-1467ce5e-23b0-493c-8c9f-4eab1a3616fe");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { bq as refreshSession, G as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, q as setSdkTokenHandler, o as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { bq as refreshSession, G as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, q as setSdkTokenHandler, o as normalizeEnvironment } from "./StoreProvider-foAfpGgP.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.81.0-beta.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.81.0-beta.1" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { cU as createFormRules, as as CountryCodes, cW as allowedCountriesForNominee, b5 as DecisionMakerTypes, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, $ as TaskTypes, ck as getLocalizedIdDocumentTypeOptions, b6 as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { cU as createFormRules, as as CountryCodes, cW as allowedCountriesForNominee, b5 as DecisionMakerTypes, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, $ as TaskTypes, ck as getLocalizedIdDocumentTypeOptions, b6 as Scenarios } from "./StoreProvider-foAfpGgP.js";
|
|
11
11
|
const REQUIRED = "REQUIRED";
|
|
12
12
|
const OPTIONAL = "OPTIONAL";
|
|
13
13
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { b3 as objectsDeepEqual, dG as ValidationResult, a0 as createLogger, dH as isNotEmptyValidator, at as isEmpty } from "./StoreProvider-
|
|
11
|
+
import { b3 as objectsDeepEqual, dG as ValidationResult, a0 as createLogger, dH as isNotEmptyValidator, at as isEmpty } from "./StoreProvider-foAfpGgP.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 { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-
|
|
10
|
+
import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-foAfpGgP.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 { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-
|
|
10
|
+
import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-foAfpGgP.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 { a as useApiContext, bn as useMutation, t as httpPost, bm as useInvalidateRootLegalEntity, bp as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { a as useApiContext, bn as useMutation, t as httpPost, bm as useInvalidateRootLegalEntity, bp as useQueryClient } from "./StoreProvider-foAfpGgP.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, dR as getCapabilities, O as LegalEntityTypes, V as hasOwnEntityAssociationOfType, Y as CompanyTypesValues, as as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-
|
|
11
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
10
|
+
import { g as getLegalEntityCountry, dR as getCapabilities, O as LegalEntityTypes, V as hasOwnEntityAssociationOfType, Y as CompanyTypesValues, as as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-foAfpGgP.js";
|
|
11
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CgpqiO3T.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-BVnoQNC5.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 { a as useApiContext, t as httpPost, dJ as emailPattern } from "./StoreProvider-
|
|
11
|
+
import { a as useApiContext, t as httpPost, dJ as emailPattern } from "./StoreProvider-foAfpGgP.js";
|
|
12
12
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|