@adyen/kyc-components 3.90.2 → 3.90.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-BRDCvIzn.js → AcceptTermsOfServiceComponent-D87Fwd2f.js} +12 -12
- package/dist/{Accordion-DgySJGHZ.js → Accordion-BlQDgq9k.js} +1 -1
- package/dist/{AccountSetupRejected-BO1-TNW5.js → AccountSetupRejected-DukZkSO2.js} +3 -3
- package/dist/{ActionBar-BC2y5nTw.js → ActionBar-BmF9QFwD.js} +1 -1
- package/dist/{Address-BPnBjFEl.js → Address-DbMsGXmd.js} +7 -7
- package/dist/{Alert-en_LjFuh.js → Alert-8DgB9Po_.js} +2 -2
- package/dist/{Avatar-DoksuvD1.js → Avatar-BRe0h5-c.js} +1 -1
- package/dist/{BusinessDetailsDropin-O5qkIiQz.js → BusinessDetailsDropin-BuzPnl1j.js} +66 -41
- package/dist/{BusinessFinancingComponent-D6YSg4-6.js → BusinessFinancingComponent-DhPUn1b6.js} +4 -4
- package/dist/{BusinessFinancingDropin-BndXzeB3.js → BusinessFinancingDropin-OGBTrvRE.js} +21 -21
- package/dist/{BusinessFinancingPage-Cq4ucLJU.js → BusinessFinancingPage-CWLCAwdc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DnlUiT4r.js → BusinessTypeSelectionPage-BqFdubjG.js} +7 -7
- package/dist/{Card-CLabf63j.js → Card-Cg_gK9VR.js} +2 -2
- package/dist/{ConstitutionalDocument-CosVm_qv.js → ConstitutionalDocument-CeRqguDT.js} +2 -2
- package/dist/{CountryField-BjnAAbBe.js → CountryField-DwQBatok.js} +5 -5
- package/dist/{CreateIndividualComponent-Diatv4oJ.js → CreateIndividualComponent-BI0EaF5n.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DjWnlvkE.js → CreateTransferInstrumentComponent-Dv0Eg2S_.js} +4 -4
- package/dist/{Currency-D3ElLnkS.js → Currency-Coe3QMbX.js} +4 -4
- package/dist/{CustomerSupport-CxlQhJ2U.js → CustomerSupport-DgzuQZiK.js} +9 -9
- package/dist/{DebugModal-7uGAe8Jl.js → DebugModal-DsqZUbWg.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-Bk-AwB9i.js → DecisionMakerDetailsPage-D8TgmTBL.js} +5 -5
- package/dist/{DecisionMakers-D0-L_qXz.js → DecisionMakers-CGqCnH4Z.js} +19 -19
- package/dist/{EmbeddedStatus-DPKHd7Fv.js → EmbeddedStatus-92LgcEzI.js} +2 -2
- package/dist/{EndStateLayout-CG0_BT-U.js → EndStateLayout-D0to_JhP.js} +1 -1
- package/dist/{EntityAssociation-B9L11tYV.js → EntityAssociation-CHe9memX.js} +7 -7
- package/dist/{EntityGuidanceStatus-Bh2CQ06L.js → EntityGuidanceStatus-DknfogFW.js} +2 -2
- package/dist/{FormFlow-CrLp30sd.js → FormFlow-LSmyX7Hx.js} +7 -7
- package/dist/{FormNavigation-zCXsmyKt.js → FormNavigation-CqfOhkuK.js} +2 -2
- package/dist/{FormWrapper-CEi4E2ad.js → FormWrapper-DjmK6JTP.js} +9 -9
- package/dist/{IndividualOnfido-DtdkIpGU.js → IndividualOnfido-wkc1IOjL.js} +22 -16
- package/dist/{IndividualOnfidoDropin-AEAjIJb3.js → IndividualOnfidoDropin-BWwS8BW-.js} +33 -29
- package/dist/{InputText-DA7iQTzB.js → InputText-CnhTDLn9.js} +2 -2
- package/dist/{Introduction-DZqwhdSR.js → Introduction-ButyMTuN.js} +3 -3
- package/dist/{JpAddress-Do3Z8j2i.js → JpAddress-BRrbCC65.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-B10Xuo2t.js → LegalRepresentativeDetailsPage-DkSwkgLZ.js} +3 -3
- package/dist/{ListItem-B0JwXrgM.js → ListItem-BZNzvNV9.js} +2 -2
- package/dist/{ManageIndividualComponent-D3oeRWbJ.js → ManageIndividualComponent-C8gbdwHY.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BV6gM6iF.js → ManageTermsOfServiceComponent-CXFVMwlI.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent--iqQ2fnQ.js → ManageTransferInstrumentComponent-BZJSGNF-.js} +11 -11
- package/dist/{MaybeModal-BIVzIfaN.js → MaybeModal-CaM5KrtN.js} +2 -2
- package/dist/{Modal-ahLC-iIq.js → Modal-Cp3v04bI.js} +1 -1
- package/dist/{OnboardingDropinComponent-DOeXNOhc.js → OnboardingDropinComponent-BBx0mAip.js} +51 -51
- package/dist/{PayoutDetailsDropin-DsORebKm.js → PayoutDetailsDropin-Ctf6ofH4.js} +26 -26
- package/dist/{Review-DzsqbXII.js → Review-aiVhflJA.js} +6 -6
- package/dist/{RootBusinessDetailsPage-xQWlJXtm.js → RootBusinessDetailsPage-tSYoYQpN.js} +4 -4
- package/dist/{RootBusinessLinesPage-BFpSfBV1.js → RootBusinessLinesPage-DQJi7udh.js} +22 -22
- package/dist/{RootIndividualDetailsPage-BMINFE5Q.js → RootIndividualDetailsPage-CjnLMWcW.js} +5 -5
- package/dist/{SignPCIComponent-DYvxjp5L.js → SignPCIComponent-DWJVpEyn.js} +9 -9
- package/dist/{SingpassSelection-KO5wPj_K.js → SingpassSelection-DxouOwBE.js} +3 -3
- package/dist/{SoleProprietorshipPage-C0rrVn7z.js → SoleProprietorshipPage-D-ITUkB0.js} +3 -3
- package/dist/{SourceOfFundsPage-B5-wlPpl.js → SourceOfFundsPage-D6loRwDi.js} +24 -24
- package/dist/{Spacer-Ch-0l8D-.js → Spacer-B59jyGSP.js} +8 -8
- package/dist/{StepProgressIndicator-BoX3RnZU.js → StepProgressIndicator-DZQZ2mIK.js} +1 -1
- package/dist/{StoreProvider-CI36KtEJ.js → StoreProvider-C1Dsf-BK.js} +4 -4
- package/dist/{Summary-BEsXV_pZ.js → Summary-Cg8ylB81.js} +3 -3
- package/dist/{TaxReportingDropin-DgGeTRwA.js → TaxReportingDropin-C5anBKOG.js} +15 -15
- package/dist/{TrustDetailsPage-BpAZnxfl.js → TrustDetailsPage-MtUEFasa.js} +26 -26
- package/dist/{TrustMemberCompanyPage-D_kvCPC1.js → TrustMemberCompanyPage-Cl9-fyhr.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D1YvkZy9.js → TrustMemberIndividualPage-DopNwPMM.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-jZgnVSum.js → TrustMemberRoleAndTypePage-d04EES1-.js} +13 -13
- package/dist/{TrustMembersOverview-CjRt2Fh7.js → TrustMembersOverview-BknCvO9l.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BbQHUCcB.js → UnincorporatedPartnershipIndividualPage-4rclPxko.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BpwGlX28.js → UnincorporatedPartnershipMemberCompanyPage-iSgKt6pj.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DtmrXHK3.js → UnincorporatedPartnershipMemberRoleAndTypePage-BvNHAU_2.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-D_iaH1UU.js → UnincorporatedPartnershipMembersOverview-CxUQZ-Df.js} +8 -8
- package/dist/{VerificationErrorAlert-B5qMemGE.js → VerificationErrorAlert-sXEIyVb_.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-PzJ16g_N.js → ViewVerificationStatusComponent-Cwqe_JI8.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{debouncedInputEvent-djJun_EE.js → debouncedInputEvent-m_KweSUi.js} +1 -1
- package/dist/{documentUtils-CGvnVtmC.js → documentUtils-Bq4Fcc1a.js} +58 -7
- package/dist/{dropinUtils-QyD_Awxv.js → dropinUtils-D18lPyMd.js} +3 -3
- package/dist/{getFieldsWithExistingData-DDAOO3v3.js → getFieldsWithExistingData-CapkzyUd.js} +1 -1
- package/dist/{getName-D-8pt9JC.js → getName-nDhiFv_d.js} +1 -1
- package/dist/{hasDataChanged-BuXRlPli.js → hasDataChanged-C0QfFyi1.js} +1 -1
- package/dist/{iframeWidget-Cum-fVPX.js → iframeWidget-BCjAg6Te.js} +3 -3
- package/dist/{localizeDateString-BmC7pUDO.js → localizeDateString-z7rZoHCC.js} +1 -1
- package/dist/{mapExistingFile-CgstRs83.js → mapExistingFile-DelM9H33.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-Cq2RWP3q.js → mapFinancialReportsToFinancialInformation-DnMxxQ3r.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BXb9w8Ji.js → mapJpAddressSchemaToAddressLocalizations-CEsSDC2k.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-t7eCaIZy.js → mapLegalEntityToIndividualOnfidoSchema-auEiNgnL.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-C3RQNfKN.js → mapTransferInstrumentToPayoutAccount-kIGvDg1E.js} +1 -1
- package/dist/{process-field-configurations-RsOjqGgr.js → process-field-configurations-uok9IFxE.js} +2 -2
- package/dist/{resolveEnvironment-Cm7ZMg8e.js → resolveEnvironment-DkZRgyhm.js} +3 -3
- package/dist/{rules-DNLl28n7.js → rules-C6TpNEnm.js} +4 -4
- package/dist/types/utils/api/documentUtils.d.ts +6 -0
- package/dist/{types-CuUpLShI.js → types-CFuzQz8C.js} +1 -1
- package/dist/{types-Cls8Ws4X.js → types-D7B6pUZ4.js} +1 -1
- package/dist/{types-BjulUQZs.js → types-JTwLUY63.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C0fauMUw.js → useAssociatedLegalEntity-XQUeQ705.js} +1 -1
- package/dist/{useCreateLegalEntity-duHIB7zw.js → useCreateLegalEntity-Cap8fK-F.js} +1 -1
- package/dist/{useDataset-BUt1-zBQ.js → useDataset-CVXbYF2B.js} +3 -3
- package/dist/{useForm-CxUeSVAa.js → useForm-CV5yIbAW.js} +4 -4
- package/dist/{useGlobalData-lCbx7YAq.js → useGlobalData-a_K7Lhat.js} +2 -2
- package/dist/{useMultiForm-Dg7W-Bbk.js → useMultiForm-Cl7j2UJo.js} +3 -3
- package/dist/{useOnboardingStatus-BZHodnkY.js → useOnboardingStatus-p1DAB7gR.js} +1 -1
- package/dist/{useScenarios-Czw7RUBe.js → useScenarios-C9cgFIwR.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D2XZXVTR.js → useTermsOfServiceStatus-DvK04EPa.js} +1 -1
- package/dist/{useToastContext-dTryNVgP.js → useToastContext-D_FkzBo_.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Dwyohm2U.js → useUnincorporatedPartnershipMembers-CmOklDzw.js} +4 -4
- package/dist/{useUpdateBusinessLines-mzkw8oIH.js → useUpdateBusinessLines-2i9G3ESb.js} +1 -1
- package/dist/{useUpdateLegalEntity-BEkfsrTr.js → useUpdateLegalEntity-5jT0WLYb.js} +2 -2
- package/dist/{utils-D8GWOzfm.js → utils-OJ5FYKVc.js} +5 -5
- package/dist/{utils-BBehVjLE.js → utils-XqO17YWC.js} +3 -3
- package/dist/{validate-t_OcU_1l.js → validate-B8kfNxjg.js} +1 -1
- package/dist/{validate-DG9_xxX7.js → validate-g9wpUSZu.js} +1 -1
- package/dist/{validationError-B4HrkugZ.js → validationError-CY4oyE6_.js} +1 -1
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { C as CountryCodes, P as createLogger } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-C9cgFIwR.js";
|
|
12
|
+
import { C as CountryCodes, P as createLogger } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
class AdyenKycSdkError extends Error {
|
|
15
15
|
sourceError;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import { b6 as drop } from "./StoreProvider-
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-DbMsGXmd.js";
|
|
11
|
+
import { b6 as drop } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
12
|
const mapFinancialInformationToFinancialReport = ({
|
|
13
13
|
currency,
|
|
14
14
|
financialReportingDate,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { s as summaryItem } from "./CountryField-
|
|
12
|
-
import { B as isEmpty } from "./IndividualOnfido-
|
|
11
|
+
import { s as summaryItem } from "./CountryField-DwQBatok.js";
|
|
12
|
+
import { B as isEmpty } from "./IndividualOnfido-wkc1IOjL.js";
|
|
13
13
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
14
14
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
15
15
|
if (!data) return {};
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { C as CountryCodes, a_ as reverseMapping, b4 as getNomineeFromAssociation, bt as individualOnfidoBaseMapping, am as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { C as CountryCodes, a_ as reverseMapping, b4 as getNomineeFromAssociation, bt as individualOnfidoBaseMapping, am as DecisionMakerTypes } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
12
|
import { a as mapApiScriptLocalizationToSchemaFields, b as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
13
13
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
14
|
-
import { W as GuidanceQuestionValues } from "./IndividualOnfido-
|
|
14
|
+
import { W as GuidanceQuestionValues } from "./IndividualOnfido-wkc1IOjL.js";
|
|
15
15
|
const individualFormDefaultData = signal(null);
|
|
16
16
|
const getOnfidoIdentityTypeToApiIdentityTypeMap = (data) => {
|
|
17
17
|
const { country } = data;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bu as crossBorderMapping, bv as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bu as crossBorderMapping, bv as payoutComponentKeyMapping } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
package/dist/{process-field-configurations-RsOjqGgr.js → process-field-configurations-uok9IFxE.js}
RENAMED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as TrustedFieldsProviders } from "./Spacer-
|
|
10
|
+
import { T as TrustedFieldsProviders } from "./Spacer-B59jyGSP.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { P as createLogger, bp as businessDetailsApiKeyMapping, b3 as individualApiKeyMapping, aT as remediationHasFileUploadField, bq as dataMissingRemediationsToFieldsMap, ap as keysOf } from "./StoreProvider-
|
|
12
|
+
import { P as createLogger, bp as businessDetailsApiKeyMapping, b3 as individualApiKeyMapping, aT as remediationHasFileUploadField, bq as dataMissingRemediationsToFieldsMap, ap as keysOf } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -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] = "1e9d012b-b26a-41a7-8cd2-9589d6ba1fa7", e._sentryDebugIdIdentifier = "sentry-dbid-1e9d012b-b26a-41a7-8cd2-9589d6ba1fa7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { aX as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
12
|
+
import { aX as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
14
|
function i() {
|
|
15
15
|
return i = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -135,7 +135,7 @@ const EmbedShell = ({
|
|
|
135
135
|
experiments,
|
|
136
136
|
refreshExperiments,
|
|
137
137
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
138
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.90.
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.90.3" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, O as TaskTypes, as as allowedCountriesForNominee, am as DecisionMakerTypes, al as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-
|
|
12
|
-
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./Spacer-
|
|
13
|
-
import { U as isCompatibleJapanVersion } from "./IndividualOnfido-
|
|
10
|
+
import { C as CountryCodes, O as TaskTypes, as as allowedCountriesForNominee, am as DecisionMakerTypes, al as Scenarios } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-DbMsGXmd.js";
|
|
12
|
+
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { U as isCompatibleJapanVersion } from "./IndividualOnfido-wkc1IOjL.js";
|
|
14
14
|
const REQUIRED = "REQUIRED";
|
|
15
15
|
const OPTIONAL = "OPTIONAL";
|
|
16
16
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -10,6 +10,7 @@ export type DocumentApiUtils = {
|
|
|
10
10
|
};
|
|
11
11
|
export declare const documentApiUtils: (context: ComponentApiRequestContext) => DocumentApiUtils;
|
|
12
12
|
export declare const getDocument: (entityId: string | undefined, documentType: DocumentType) => ExistingDocumentWithModificationDate | undefined;
|
|
13
|
+
export declare const getDocuments: (entityId: string | undefined, documentType: DocumentType) => ExistingDocumentWithModificationDate[];
|
|
13
14
|
export declare const getIdDocument: (entityId: string) => ExistingDocumentWithModificationDate | undefined;
|
|
14
15
|
export interface CreateDocumentRequestProps {
|
|
15
16
|
entityId: string;
|
|
@@ -33,3 +34,8 @@ export declare const getFileExtention: (fileName: string) => string | undefined;
|
|
|
33
34
|
* @returns merged attachments with deduped pageTypes
|
|
34
35
|
*/
|
|
35
36
|
export declare const mergeAttachments: (existing: Attachment[], incoming: Attachment[]) => Attachment[];
|
|
37
|
+
/**
|
|
38
|
+
* Merges proof of ownership attachments by filtering based on pageName (not pageType)
|
|
39
|
+
* since proofOfOwnership attachments may not have pageType
|
|
40
|
+
*/
|
|
41
|
+
export declare const mergeProofOfOwnershipAttachments: (existing: Attachment[], incoming: Attachment[]) => Attachment[];
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-
|
|
11
|
+
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useId } from "./useToastContext-
|
|
12
|
+
import { b as useId } from "./useToastContext-D_FkzBo_.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, a2 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-
|
|
15
|
-
import { M as Modal } from "./Modal-
|
|
14
|
+
import { u as useTranslation, a2 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-C1Dsf-BK.js";
|
|
15
|
+
import { M as Modal } from "./Modal-Cp3v04bI.js";
|
|
16
16
|
const structuredList = "adyen-kyc-structured-list";
|
|
17
17
|
const structuredListSectionField = "adyen-kyc-structured-list-section-field";
|
|
18
18
|
const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect, useState, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, a2 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, a0 as entriesOf, aV as doArraysMatch } from "./StoreProvider-
|
|
14
|
-
import { b as useId } from "./useToastContext-
|
|
13
|
+
import { u as useTranslation, a2 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, a0 as entriesOf, aV as doArraysMatch } from "./StoreProvider-C1Dsf-BK.js";
|
|
14
|
+
import { b as useId } from "./useToastContext-D_FkzBo_.js";
|
|
15
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
16
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
17
|
-
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
16
|
+
import { K as KEYBOARD_KEYS } from "./Modal-Cp3v04bI.js";
|
|
17
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-m_KweSUi.js";
|
|
18
18
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
19
19
|
const MaybeFieldset = ({
|
|
20
20
|
children,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { d as debounce } from "./debouncedInputEvent-
|
|
12
|
-
import { az as StateContext } from "./StoreProvider-
|
|
11
|
+
import { d as debounce } from "./debouncedInputEvent-m_KweSUi.js";
|
|
12
|
+
import { az as StateContext } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./useForm-
|
|
13
|
-
import { e as isNotEmptyValidator } from "./CountryField-
|
|
11
|
+
import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-CV5yIbAW.js";
|
|
13
|
+
import { e as isNotEmptyValidator } from "./CountryField-DwQBatok.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-C1Dsf-BK.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 { b as useApiContext, j as useQuery, a0 as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, a0 as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-C1Dsf-BK.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 createLogger, a1 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger, a1 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { useCallback, useState, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { r as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { r as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-XQUeQ705.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-DwQBatok.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-nDhiFv_d.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a1 as useQueryClient, $ as useMutation, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, a1 as useQueryClient, $ as useMutation, k as httpPost } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-D_FkzBo_.js";
|
|
12
12
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./IndividualOnfido-wkc1IOjL.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-C6TpNEnm.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-CFuzQz8C.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-
|
|
12
|
-
import { C as Currencies } from "./types-
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
|
+
import { C as Currencies } from "./types-JTwLUY63.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-z7rZoHCC.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
12
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
13
13
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|