@adyen/kyc-components 3.75.0-beta.2 → 3.75.0
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-DicRzDB3.js → AcceptTermsOfServiceComponent-D9BqzBSv.js} +5 -5
- package/dist/{AccountSetupRejected-Bnrk5HK5.js → AccountSetupRejected-DDAukYal.js} +2 -2
- package/dist/{Avatar-DvTRZ6ki.js → Avatar-BbZMTb8k.js} +1 -1
- package/dist/{BusinessDetailsDropin-oLIdMT0T.js → BusinessDetailsDropin-DnzFYLRt.js} +6 -6
- package/dist/{BusinessFinancingComponent-DNF-N45o.js → BusinessFinancingComponent-bvZd44Rw.js} +2 -2
- package/dist/{BusinessFinancingDropin-dRMkw0Q8.js → BusinessFinancingDropin-BX3j5n4C.js} +8 -8
- package/dist/{BusinessFinancingPage-fZz0IbyI.js → BusinessFinancingPage-CJfiMMfk.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CG-HIDen.js → BusinessTypeSelectionPage-Bik9pa-u.js} +3 -3
- package/dist/{ContractViewer-Cb7aIy-t.js → ContractViewer-BwG3C5dW.js} +1 -1
- package/dist/{CreateIndividualComponent-C94enQkF.js → CreateIndividualComponent-CoDfMD_a.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-DDVK5vEi.js → CreateTransferInstrumentComponent-BAiNYpnJ.js} +1 -1
- package/dist/{CustomerSupport-BDHMjU1R.js → CustomerSupport-Bdgvjix7.js} +4 -4
- package/dist/{DebugModal-BJB-qNxc.js → DebugModal-CP_i_HwK.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-IkAcIeIC.js → DecisionMakerDetailsPage-CQYnk9Xn.js} +2 -2
- package/dist/{DecisionMakers-CcyJ31Ez.js → DecisionMakers-DIbnecVR.js} +3 -3
- package/dist/{EmbeddedStatus-DwTGMgPi.js → EmbeddedStatus-7QJ_s7hU.js} +2 -2
- package/dist/{FormEndState-DFKJ18XE.js → FormEndState-QUOVERNX.js} +1 -1
- package/dist/{FormFlow-neOktINR.js → FormFlow-5amikWjq.js} +1 -1
- package/dist/{IndividualOnfidoDropin-ZTxOJBGF.js → IndividualOnfidoDropin-CSCL01a1.js} +14 -13
- package/dist/{Introduction-DTWz8jQX.js → Introduction-DBSQEy6y.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-B2BPOp77.js → LegalRepresentativeDetailsPage-CrjuBP77.js} +2 -2
- package/dist/{ManageIndividualComponent-9QqmD5g2.js → ManageIndividualComponent-CJKe2m5v.js} +3 -3
- package/dist/{ManagePCIComponent-C6kdu-4Q.js → ManagePCIComponent-0UNI8r60.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-RS9dVHpH.js → ManageTermsOfServiceComponent-BzPvl0Uj.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BrhRM5XG.js → ManageTransferInstrumentComponent-DDFqLUKi.js} +3 -3
- package/dist/{OnboardingDropinComponent-C9hwFhRs.js → OnboardingDropinComponent-CSKoOnT3.js} +31 -31
- package/dist/{ProviderButton-CEMnElKW.js → ProviderButton-dT0L8DyH.js} +1 -1
- package/dist/{Review-Be8IdTTm.js → Review-j_fM9ZVG.js} +2 -2
- package/dist/{RootBusinessDetailsPage-TAqsVuJQ.js → RootBusinessDetailsPage-DE9lxNvR.js} +2 -2
- package/dist/{RootIndividualDetailsPage-9kjdU55s.js → RootIndividualDetailsPage-C9snBMjZ.js} +2 -2
- package/dist/{SignPCIComponent-BDRlYDgD.js → SignPCIComponent-CFVC6kgV.js} +4 -4
- package/dist/{SingpassSelection-BYnVyNuN.js → SingpassSelection-DhZ0lKPK.js} +1 -1
- package/dist/{SoleProprietorshipPage-pIwAZnz9.js → SoleProprietorshipPage-COYe6zum.js} +2 -2
- package/dist/{SourceOfFunds.module-aC7aeVE2.js → SourceOfFunds.module-CGbDhT49.js} +1 -1
- package/dist/{SourceOfFundsPage-Bp_bK590.js → SourceOfFundsPage-BvkaxOZI.js} +9 -9
- package/dist/{StoreProvider-C0n-vE5B.js → StoreProvider-CtNk8ekh.js} +4 -4
- package/dist/{TaskItemStatus-D2fSZlhm.js → TaskItemStatus-D9sCIHON.js} +1 -1
- package/dist/{TaxReportingDropin-1Ey_mcg4.js → TaxReportingDropin-DNYZLN8P.js} +6 -6
- package/dist/{TileGroup-NLQeYMzk.js → TileGroup-Cx7Y_NBf.js} +1 -1
- package/dist/{TrustDetailsPage-DtAvQory.js → TrustDetailsPage-BSBZ9f9z.js} +4 -4
- package/dist/{TrustMemberCompanyPage-nNOAblS4.js → TrustMemberCompanyPage-BUuLS-57.js} +3 -3
- package/dist/{TrustMemberIndividualPage-B-G2ocyy.js → TrustMemberIndividualPage-Dl9JzqNb.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-D2leKqd3.js → UnincorporatedPartnershipIndividualPage-DJOZzVIP.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CTmPNo2z.js → UnincorporatedPartnershipMemberCompanyPage-B7sGrwJD.js} +2 -2
- package/dist/{VerificationErrorAlert-DLIEggOZ.js → VerificationErrorAlert-BNvtGKmX.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BU9UOxYg.js → ViewVerificationStatusComponent-BW1v9vLK.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-B5s4U3tp.js → css-BeplOBd-.js} +1 -1
- package/dist/{getFieldsWithExistingData-BUHcVD81.js → getFieldsWithExistingData-CW5dHE28.js} +1 -1
- package/dist/{hasDataChanged-BbIh4TQd.js → hasDataChanged-CYQbu-tN.js} +1 -1
- package/dist/{individualFormConfig-BlcPd45j.js → individualFormConfig-C7P-qsgN.js} +1 -1
- package/dist/{json-BBy4NUfc.js → json-QZSVaICP.js} +1 -1
- package/dist/{localizeDateString-C9stGofA.js → localizeDateString-CjNwvcza.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-D_Bc5EkN.js → mapFinancialReportsToFinancialInformation-CLDDiIVD.js} +1 -1
- package/dist/{plaintext-CWx3gV2o.js → plaintext-B8616351.js} +1 -1
- package/dist/{resolveEnvironment-CUpaoYuD.js → resolveEnvironment-CCdmx-Up.js} +3 -3
- package/dist/{rules-DJ3X33WQ.js → rules-CPHbHoD6.js} +1 -1
- package/dist/{useMultiForm-B8arTAcX.js → useMultiForm-BgEu8uhi.js} +1 -1
- package/dist/{useOnboardingStatus-BWIsidjD.js → useOnboardingStatus-DvoTlJ5K.js} +1 -1
- package/dist/{useSalesChannelsSettings-BWUnI_80.js → useSalesChannelsSettings-Bjwl16F8.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B3_HL1qE.js → useTermsOfServiceStatus-C2Xb56D8.js} +1 -1
- package/dist/{useUpdateLegalEntity-CZbqfLa1.js → useUpdateLegalEntity-FAhW-hcz.js} +1 -1
- package/dist/{utils-C9XGhRMA.js → utils-BL1_bJaN.js} +3 -3
- package/dist/{validate-D2wXIuAF.js → validate-BIlxlfqG.js} +1 -1
- package/dist/{validate-D3wOh6bt.js → validate-DGJXjEC8.js} +1 -1
- package/dist/{yaml-PROmJ4Uc.js → yaml-vHfLYJJq.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-DicRzDB3.js → AcceptTermsOfServiceComponent-D9BqzBSv.js}
RENAMED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, aK as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, at as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, ay as Field, bJ as Select, bH as Checkbox, aO as ActionBar, bI as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bw as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, ae as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ak as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
12
|
+
import { p as useApiContext, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, aK as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, at as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, ay as Field, bJ as Select, bH as Checkbox, aO as ActionBar, bI as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bw as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, ae as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ak as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C2Xb56D8.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-BwG3C5dW.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-QUOVERNX.js";
|
|
16
16
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-CjNwvcza.js";
|
|
18
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
19
19
|
return httpPost(
|
|
20
20
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CSKoOnT3.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a2 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a2 as Icon } from "./StoreProvider-CtNk8ekh.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dN as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dD as MemoizedDocumentUpload, Y as Button, b2 as Modal, b4 as ModalContent, C as Typography, an as CountryCodes, O as CompanyTypesValue, b$ as useGlobalData, dO as getForms, W as TaskTypes, dP as BasicInformation, bL as getFormProps, dQ as CompanyStructure, dR as AdditionalInformation, dS as MemoizedConstitutionalDocument, y as LegalEntityType, dT as FinancialInformation, bR as formatObject, bc as entriesOf, cx as getDocument, cy as mapExistingFile, cz as getPageName, bk as businessDetailsComponentsKeyMapping, dU as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dV as operationalAddressIsSameIds, dW as COUNTRIES_USING_COMPANY_SEARCH, dX as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dq as keysOf, i as isUndefinedOrNull, aI as summaryItem, dY as solePropBusinessDetailsApiKeyMapping, dZ as businessDetailsApiKeyMapping, bM as isEmpty, d_ as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cC as createDocumentRequest, d$ as augmentWithCountryConfigs, c9 as composePerScenarioFormConfigurations, b0 as datasetUtilities, cR as mapAddressLabels, e0 as companyTypeMetadata, bT as getProp, ao as isEmpty$1, aK as createLogger, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, e1 as documentFormsIds, aq as resolveFieldMetadata, e2 as defaultFieldMetadata, e3 as inferCompanyRegistrationNumberType, e4 as getCompanyRegistrationNumberOptions, e5 as defaultFieldConfig, cs as defaultFieldMetadata$1, e6 as countryToTaxInfoTypeMap, ct as defaultFieldConfig$1, e7 as getKeyForField, cV as drop, al as getOwnEntityAssociations, c$ as doArraysMatch, cX as getFileExtention, P as useAccountHolder, a4 as useToastContext, _ as useAnalyticsContext, a5 as useExperimentsContext, J as useSettingsContext, e8 as verifiedBusiness, bm as useQueryClient, c6 as useStateContext, K as SettingNames, e9 as setIsBankAccountRequestedForOrganization, c7 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cF as documentApiUtils, c4 as useScenarioConfiguration, ea as rules, c5 as getPropsFromConfigurations, eb as useCompanySelection, ec as useVerifyTin, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, ed as setVerifiedBusiness, c8 as FormWrapper, b8 as Confirm, ee as solePropBusinessDetailsDocumentMapping, ef as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dN as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dD as MemoizedDocumentUpload, Y as Button, b2 as Modal, b4 as ModalContent, C as Typography, an as CountryCodes, O as CompanyTypesValue, b$ as useGlobalData, dO as getForms, W as TaskTypes, dP as BasicInformation, bL as getFormProps, dQ as CompanyStructure, dR as AdditionalInformation, dS as MemoizedConstitutionalDocument, y as LegalEntityType, dT as FinancialInformation, bR as formatObject, bc as entriesOf, cx as getDocument, cy as mapExistingFile, cz as getPageName, bk as businessDetailsComponentsKeyMapping, dU as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dV as operationalAddressIsSameIds, dW as COUNTRIES_USING_COMPANY_SEARCH, dX as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dq as keysOf, i as isUndefinedOrNull, aI as summaryItem, dY as solePropBusinessDetailsApiKeyMapping, dZ as businessDetailsApiKeyMapping, bM as isEmpty, d_ as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cC as createDocumentRequest, d$ as augmentWithCountryConfigs, c9 as composePerScenarioFormConfigurations, b0 as datasetUtilities, cR as mapAddressLabels, e0 as companyTypeMetadata, bT as getProp, ao as isEmpty$1, aK as createLogger, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, e1 as documentFormsIds, aq as resolveFieldMetadata, e2 as defaultFieldMetadata, e3 as inferCompanyRegistrationNumberType, e4 as getCompanyRegistrationNumberOptions, e5 as defaultFieldConfig, cs as defaultFieldMetadata$1, e6 as countryToTaxInfoTypeMap, ct as defaultFieldConfig$1, e7 as getKeyForField, cV as drop, al as getOwnEntityAssociations, c$ as doArraysMatch, cX as getFileExtention, P as useAccountHolder, a4 as useToastContext, _ as useAnalyticsContext, a5 as useExperimentsContext, J as useSettingsContext, e8 as verifiedBusiness, bm as useQueryClient, c6 as useStateContext, K as SettingNames, e9 as setIsBankAccountRequestedForOrganization, c7 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cF as documentApiUtils, c4 as useScenarioConfiguration, ea as rules, c5 as getPropsFromConfigurations, eb as useCompanySelection, ec as useVerifyTin, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, ed as setVerifiedBusiness, c8 as FormWrapper, b8 as Confirm, ee as solePropBusinessDetailsDocumentMapping, ef as businessDetailsDocumentMapping } from "./StoreProvider-CtNk8ekh.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
16
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CYQbu-tN.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BL1_bJaN.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CW5dHE28.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CLDDiIVD.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
21
21
|
return httpPost({
|
package/dist/{BusinessFinancingComponent-DNF-N45o.js → BusinessFinancingComponent-bvZd44Rw.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BX3j5n4C.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bQ as reverseMapping, bR as formatObject, bS as isEeaCountry, y as LegalEntityType, ba as cloneObject, bT as getProp, ao as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, ay as Field, bJ as Select, C as Typography, aV as RadioGroup, bU as Link, bp as InputText, bb as currencyByCountry, bV as InputNumber, bW as InputDate, bX as Currency, bY as CURRENCY_FIELD, bZ as InputCurrency, at as useForm, b_ as useGlobalDataSlice, aw as ErrorPanel, ax as createFormUtils, b$ as useGlobalData, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, c2 as Address, c3 as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, be as useInvalidateRootLegalEntity, am as useAssociatedLegalEntity, b0 as datasetUtilities, a4 as useToastContext, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, c6 as useStateContext, bN as getRequiredForms, bO as addValidityToForms, J as useSettingsContext, K as SettingNames, c7 as getAssociatedLeAnalyticsPayload, bP as useFormComposer, bL as getFormProps, L as Loader, a2 as Icon, Y as Button, c8 as FormWrapper, c9 as composePerScenarioFormConfigurations, ca as trackNavigation, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError } from "./StoreProvider-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
16
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
18
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
19
|
-
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
13
|
+
import { bQ as reverseMapping, bR as formatObject, bS as isEeaCountry, y as LegalEntityType, ba as cloneObject, bT as getProp, ao as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, ay as Field, bJ as Select, C as Typography, aV as RadioGroup, bU as Link, bp as InputText, bb as currencyByCountry, bV as InputNumber, bW as InputDate, bX as Currency, bY as CURRENCY_FIELD, bZ as InputCurrency, at as useForm, b_ as useGlobalDataSlice, aw as ErrorPanel, ax as createFormUtils, b$ as useGlobalData, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, c2 as Address, c3 as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, be as useInvalidateRootLegalEntity, am as useAssociatedLegalEntity, b0 as datasetUtilities, a4 as useToastContext, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, c6 as useStateContext, bN as getRequiredForms, bO as addValidityToForms, J as useSettingsContext, K as SettingNames, c7 as getAssociatedLeAnalyticsPayload, bP as useFormComposer, bL as getFormProps, L as Loader, a2 as Icon, Y as Button, c8 as FormWrapper, c9 as composePerScenarioFormConfigurations, ca as trackNavigation, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError } from "./StoreProvider-CtNk8ekh.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CYQbu-tN.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-QUOVERNX.js";
|
|
16
|
+
import { l as localizeDateString } from "./localizeDateString-CjNwvcza.js";
|
|
17
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CLDDiIVD.js";
|
|
18
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-C7P-qsgN.js";
|
|
19
|
+
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-BIlxlfqG.js";
|
|
20
20
|
const MANDATORY_FIELDS_BUSINESS_FINANCING = [
|
|
21
21
|
"company.numberOfEmployees",
|
|
22
22
|
"parentCompany.numberOfEmployees",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BX3j5n4C.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-CG-HIDen.js → BusinessTypeSelectionPage-Bik9pa-u.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, P as useAccountHolder, bx as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, at as useForm, a1 as LoaderWrapper, C as Typography, ay as Field, by as EntityTypeRadioGroupCard, aB as RadioGroupCard, Y as Button, b7 as Spacer, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, P as useAccountHolder, bx as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, at as useForm, a1 as LoaderWrapper, C as Typography, ay as Field, by as EntityTypeRadioGroupCard, aB as RadioGroupCard, Y as Button, b7 as Spacer, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-CtNk8ekh.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
14
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-BL1_bJaN.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
17
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a2 as Icon } from "./StoreProvider-CtNk8ekh.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useEffect } from "preact/hooks";
|
|
14
14
|
const outlinedIcon = "adyen-kyc-outlined-icon";
|
package/dist/{CreateIndividualComponent-C94enQkF.js → CreateIndividualComponent-CoDfMD_a.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CSCL01a1.js";
|
|
13
13
|
const CreateIndividualComponent = ({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
onSubmitSuccess,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, am as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, am as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-CtNk8ekh.js";
|
|
13
13
|
function CreateTransferInstrumentComponent({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
transferInstrumentId,
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, bm as useQueryClient, aq as resolveFieldMetadata, bD as defaultFieldMetadata, bE as fieldConfig, bF as getAsyncPhoneValidationRules, F as FormHeader, bG as ContactDetails, aO as ActionBar, aK as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, bm as useQueryClient, aq as resolveFieldMetadata, bD as defaultFieldMetadata, bE as fieldConfig, bF as getAsyncPhoneValidationRules, F as FormHeader, bG as ContactDetails, aO as ActionBar, aK as createLogger } from "./StoreProvider-CtNk8ekh.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DGJXjEC8.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-BgEu8uhi.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
var _a, _b, _c;
|
|
18
18
|
return {
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "29ef4677-07f1-447e-91e7-1053501cd9c4", e._sentryDebugIdIdentifier = "sentry-dbid-29ef4677-07f1-447e-91e7-1053501cd9c4");
|
|
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 { Y as Button, bc as entriesOf, bp as InputText, b as useI18nContext, bq as splitTaskIdentifier, a5 as useExperimentsContext, J as useSettingsContext, ab as useGlobalStore, br as listToRecord, bs as valuesOf, b2 as Modal, aK as createLogger, a2 as Icon, K as SettingNames, bt as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { Y as Button, bc as entriesOf, bp as InputText, b as useI18nContext, bq as splitTaskIdentifier, a5 as useExperimentsContext, J as useSettingsContext, ab as useGlobalStore, br as listToRecord, bs as valuesOf, b2 as Modal, aK as createLogger, a2 as Icon, K as SettingNames, bt as ExperimentNames } from "./StoreProvider-CtNk8ekh.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-D9sCIHON.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$1 = {
|
|
17
17
|
tabs
|
|
@@ -146,10 +146,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
146
146
|
};
|
|
147
147
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
148
148
|
const moduleMap = {
|
|
149
|
-
plaintext: () => import("./plaintext-
|
|
150
|
-
json: () => import("./json-
|
|
151
|
-
yaml: () => import("./yaml-
|
|
152
|
-
css: () => import("./css-
|
|
149
|
+
plaintext: () => import("./plaintext-B8616351.js"),
|
|
150
|
+
json: () => import("./json-QZSVaICP.js"),
|
|
151
|
+
yaml: () => import("./yaml-vHfLYJJq.js"),
|
|
152
|
+
css: () => import("./css-BeplOBd-.js")
|
|
153
153
|
};
|
|
154
154
|
const getModule = async (name) => {
|
|
155
155
|
if (!supportedModules.includes(name)) {
|
|
@@ -440,7 +440,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
440
440
|
const [tab, setTab] = useState("metadata");
|
|
441
441
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
442
442
|
const metadata = {
|
|
443
|
-
sdkVersion: "3.75.0
|
|
443
|
+
sdkVersion: "3.75.0",
|
|
444
444
|
locale: i18n.locale,
|
|
445
445
|
rootLegalEntityId: rootLegalEntity.id
|
|
446
446
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CSCL01a1.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a8 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, aa as useCapabilityProblems, bz as getOwnDecisionMakers, bA as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bB as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bC as DecisionMakerType, B as Alert, a9 as CardGroup, Y as Button, aO as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a8 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, aa as useCapabilityProblems, bz as getOwnDecisionMakers, bA as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bB as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bC as DecisionMakerType, B as Alert, a9 as CardGroup, Y as Button, aO as ActionBar } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-CSKoOnT3.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-BbZMTb8k.js";
|
|
13
|
+
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-CtNk8ekh.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a2 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a2 as Icon, A as AlertIcon } from "./StoreProvider-CtNk8ekh.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { dG as FormContext, _ as useAnalyticsContext, b as useI18nContext, bI as MaybeModal, a1 as LoaderWrapper, dH as FormRouterContextProvider, aN as Summary, Y as Button, Z as IconButton, b8 as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dG as FormContext, _ as useAnalyticsContext, b as useI18nContext, bI as MaybeModal, a1 as LoaderWrapper, dH as FormRouterContextProvider, aN as Summary, Y as Button, Z as IconButton, b8 as Confirm } from "./StoreProvider-CtNk8ekh.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -2,24 +2,24 @@
|
|
|
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] = "41fc0fc7-b82f-4cff-ad66-f6d30927e009", e._sentryDebugIdIdentifier = "sentry-dbid-41fc0fc7-b82f-4cff-ad66-f6d30927e009");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { an as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, ce as matchesRegex, cf as trimValWithOneSpace, cg as NO_ALPHABET_REGEX, ch as EMOJI_REGEX, ci as hasRepeatedCharacters, cj as isInvalidName, ck as INDIVIDUAL_VALID_CHAR_REGEX, cl as getFormattingRegEx, cm as SPECIAL_CHARS, cn as standardKatakanaValidator, co as standardKanjiValidator, aq as resolveFieldMetadata, cp as getSSNType, ao as isEmpty, cq as defaultFieldMetadata, cr as defaultFieldConfig, bD as defaultFieldMetadata$1, bE as fieldConfig, cs as defaultFieldMetadata$2, y as LegalEntityType, ct as defaultFieldConfig$1, cu as getAgeToday, cv as euCountries, cw as getIdDocument, cx as getDocument, cy as mapExistingFile, cz as getPageName, cA as getLocalizedIdDocumentTypeOptions, cB as getPage, cC as createDocumentRequest, bR as formatObject, cD as individualApiKeyMapping, bj as individualComponentsKeyMapping, bQ as reverseMapping, cE as getNomineeFromAssociation, aK as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, J as useSettingsContext, cF as documentApiUtils, cG as useProviderStatus, g as getLegalEntityCountry, c7 as getAssociatedLeAnalyticsPayload, cH as addressValidators, cI as getAsyncIdNumberValidationRule, bF as getAsyncPhoneValidationRules, cJ as addressFormatters, cK as useScenarios, cL as setHasMotionCaptureScenario, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, cM as individualForms, cN as showIndividualMotionCapture, bN as getRequiredForms, bO as addValidityToForms, bB as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bP as useFormComposer, ca as trackNavigation, cO as Individual, c9 as composePerScenarioFormConfigurations, cP as omitObscuredFieldsIfUnchanged, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, ba as cloneObject, cR as mapAddressLabels, cS as individualDocumentForms, cT as individualDocumentMapping, cU as individualObscuredFields, cV as drop, cW as mergeAttachments, cX as getFileExtention, al as getOwnEntityAssociations, cY as hasNomineesChanged, cZ as attachNomineeToRole, c_ as idVerificationProviderId, c$ as doArraysMatch, bC as DecisionMakerType, d0 as createFormRules, bA as getAvailableDecisionMakerRoleTypes, d1 as allowedCountriesForNominee, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, d2 as Scenarios, d3 as isLowRiskCountry, ay as Field, bJ as Select, d4 as isTruthyValidator, d5 as licenseCardNumberDefaultMetadata, d6 as licenseCardNumberDefaultConfig, ap as mergeFieldMetadataIntoProps, ax as createFormUtils, bK as useFormContext, au as getFieldProps, d7 as idNumberFields, d8 as IdentityNumber, d9 as additionallIdNumberOptions, da as MaskedInput, bW as InputDate, db as formatDateObj, dc as DriversLicense, dd as addressFields, u as useAllowedCountries, K as SettingNames, de as getDefaultTaxIdNumberType, F as FormHeader, aw as ErrorPanel, C as Typography, aE as CountryField, c2 as Address, c3 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, df as getAgeRangeForLegalRepresentative, dg as IndividualIdNumberTypeSelector, dh as TaxInformationField, di as PatriotActDisclosure, dj as isLegalRepresentativeNeeded, av as nameFields, dk as decisionMakerRoleFields, dl as nomineeFields, dm as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dn as DecisionMakerRole, dp as NomineeDecisionMakerRole, aD as Name, bp as InputText, bG as ContactDetails, dq as keysOf, a_ as objectsDeepEqual, bM as isEmpty$1, dr as RadioWithLabel, br as listToRecord, b2 as Modal, Y as Button, bl as Svg, ds as pick, dt as IdVerification, b7 as Spacer, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, du as isPersonUnderAge, dv as IdDocumentManualUpload, dw as idDocumentUploadFields, dx as useFormRouterContext, bL as getFormProps, dy as useCapabilities, dz as hasMotionCaptureScenario, dA as setShowIndividualMotionCapture, dB as shouldShowMotionCapture, dC as MemoizedProofOfRelationship, dD as MemoizedDocumentUpload, dE as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { an as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, ce as matchesRegex, cf as trimValWithOneSpace, cg as NO_ALPHABET_REGEX, ch as EMOJI_REGEX, ci as hasRepeatedCharacters, cj as isInvalidName, ck as INDIVIDUAL_VALID_CHAR_REGEX, cl as getFormattingRegEx, cm as SPECIAL_CHARS, cn as standardKatakanaValidator, co as standardKanjiValidator, aq as resolveFieldMetadata, cp as getSSNType, ao as isEmpty, cq as defaultFieldMetadata, cr as defaultFieldConfig, bD as defaultFieldMetadata$1, bE as fieldConfig, cs as defaultFieldMetadata$2, y as LegalEntityType, ct as defaultFieldConfig$1, cu as getAgeToday, cv as euCountries, cw as getIdDocument, cx as getDocument, cy as mapExistingFile, cz as getPageName, cA as getLocalizedIdDocumentTypeOptions, cB as getPage, cC as createDocumentRequest, bR as formatObject, cD as individualApiKeyMapping, bj as individualComponentsKeyMapping, bQ as reverseMapping, cE as getNomineeFromAssociation, aK as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, J as useSettingsContext, cF as documentApiUtils, cG as useProviderStatus, g as getLegalEntityCountry, c7 as getAssociatedLeAnalyticsPayload, cH as addressValidators, cI as getAsyncIdNumberValidationRule, bF as getAsyncPhoneValidationRules, cJ as addressFormatters, cK as useScenarios, cL as setHasMotionCaptureScenario, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, cM as individualForms, cN as showIndividualMotionCapture, bN as getRequiredForms, bO as addValidityToForms, bB as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bP as useFormComposer, ca as trackNavigation, cO as Individual, c9 as composePerScenarioFormConfigurations, cP as omitObscuredFieldsIfUnchanged, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, ba as cloneObject, cR as mapAddressLabels, cS as individualDocumentForms, cT as individualDocumentMapping, cU as individualObscuredFields, cV as drop, cW as mergeAttachments, cX as getFileExtention, al as getOwnEntityAssociations, cY as hasNomineesChanged, cZ as attachNomineeToRole, c_ as idVerificationProviderId, c$ as doArraysMatch, bC as DecisionMakerType, d0 as createFormRules, bA as getAvailableDecisionMakerRoleTypes, d1 as allowedCountriesForNominee, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, d2 as Scenarios, d3 as isLowRiskCountry, ay as Field, bJ as Select, d4 as isTruthyValidator, d5 as licenseCardNumberDefaultMetadata, d6 as licenseCardNumberDefaultConfig, ap as mergeFieldMetadataIntoProps, ax as createFormUtils, bK as useFormContext, au as getFieldProps, d7 as idNumberFields, d8 as IdentityNumber, d9 as additionallIdNumberOptions, da as MaskedInput, bW as InputDate, db as formatDateObj, dc as DriversLicense, dd as addressFields, u as useAllowedCountries, K as SettingNames, de as getDefaultTaxIdNumberType, F as FormHeader, aw as ErrorPanel, C as Typography, aE as CountryField, c2 as Address, c3 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, df as getAgeRangeForLegalRepresentative, dg as IndividualIdNumberTypeSelector, dh as TaxInformationField, di as PatriotActDisclosure, dj as isLegalRepresentativeNeeded, av as nameFields, dk as decisionMakerRoleFields, dl as nomineeFields, dm as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dn as DecisionMakerRole, dp as NomineeDecisionMakerRole, aD as Name, bp as InputText, bG as ContactDetails, dq as keysOf, a_ as objectsDeepEqual, bM as isEmpty$1, dr as RadioWithLabel, br as listToRecord, b2 as Modal, Y as Button, bl as Svg, ds as pick, dt as IdVerification, b7 as Spacer, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, du as isPersonUnderAge, dv as IdDocumentManualUpload, dw as idDocumentUploadFields, dx as useFormRouterContext, bL as getFormProps, dy as useCapabilities, dz as hasMotionCaptureScenario, dA as setShowIndividualMotionCapture, dB as shouldShowMotionCapture, dC as MemoizedProofOfRelationship, dD as MemoizedDocumentUpload, dE as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-CtNk8ekh.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
19
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
20
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
21
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DGJXjEC8.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-5amikWjq.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-dT0L8DyH.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-BgEu8uhi.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CW5dHE28.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-CjNwvcza.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-CPHbHoD6.js";
|
|
21
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-C7P-qsgN.js";
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-Cx7Y_NBf.js";
|
|
23
23
|
const KEY_MARKETS = [
|
|
24
24
|
CountryCodes.UnitedStates,
|
|
25
25
|
CountryCodes.UnitedKingdom,
|
|
@@ -1914,6 +1914,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
1914
1914
|
setShowLegalRepresentativePrompt(true);
|
|
1915
1915
|
}
|
|
1916
1916
|
};
|
|
1917
|
+
const isRootIndividual = taskType === TaskTypes.INDIVIDUAL;
|
|
1917
1918
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__personal-details", "aria-describedby": "ariaErrorField", children: [
|
|
1918
1919
|
/* @__PURE__ */ jsx(FormHeader, { heading }),
|
|
1919
1920
|
/* @__PURE__ */ jsx(
|
|
@@ -1939,7 +1940,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
1939
1940
|
},
|
|
1940
1941
|
labels: { country: formUtils.getLabel("country") },
|
|
1941
1942
|
readonly: formUtils.isReadOnly("country"),
|
|
1942
|
-
allowedCountries,
|
|
1943
|
+
allowedCountries: isRootIndividual ? allowedCountries : void 0,
|
|
1943
1944
|
classNameModifiers: ["country"],
|
|
1944
1945
|
handleChangeFor: handleFieldChange
|
|
1945
1946
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
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 { W as TaskTypes, y as LegalEntityType, bv as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, bw as StepProgressIndicator, Y as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bv as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, bw as StepProgressIndicator, Y as Button } from "./StoreProvider-CtNk8ekh.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-CSKoOnT3.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
17
17
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CSCL01a1.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-9QqmD5g2.js → ManageIndividualComponent-CJKe2m5v.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-DvoTlJ5K.js";
|
|
13
13
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-7QJ_s7hU.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
12
|
-
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-Bjwl16F8.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-7QJ_s7hU.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-RS9dVHpH.js → ManageTermsOfServiceComponent-BzPvl0Uj.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-C2Xb56D8.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-7QJ_s7hU.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
12
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Y as Button, $ as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, Z as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, X as TaskStatus, bd as useTransferInstrument, aK as createLogger, a4 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BNvtGKmX.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Y as Button, $ as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, Z as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, X as TaskStatus, bd as useTransferInstrument, aK as createLogger, a4 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-7QJ_s7hU.js";
|
|
14
14
|
import { useState } from "preact/hooks";
|
|
15
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
16
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|