UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

69 lines (68 loc) 4 kB
try { let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack; n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c600d00b-d212-4b19-9e12-ad5cd8f5408c", e._sentryDebugIdIdentifier = "sentry-dbid-c600d00b-d212-4b19-9e12-ad5cd8f5408c"); } catch (e) {} var PropFeatureNames = { EnableEInvoicingCodeField: "EnableEInvoicingCodeField", HidePayoutAccountTask: "HidePayoutAccountTask", ShowExtraTaxExemptionReasons: "ShowExtraTaxExemptionReasons", AllowMoreRolesForMainRootTrustee: "AllowMoreRolesForMainRootTrustee", EnablePhoneFieldScenario: "EnablePhoneFieldScenario", ShowUnsupportedEntityType: "ShowUnsupportedEntityType", EnableOnboardingTogglesEndpoint: "EnableOnboardingTogglesEndpoint" }; /** * Features which are returned from a call made to onboardingcomponents for feature flags and experiments (see `useToggles`). * These are enabled/disabled via our feature framework and are intended to be short-lived. Used for feature rollout purposes. * Defined in the BE (`OnboardingcomponentsFeatures.java`). */ var FeatureFrameworkFeatureNames = { EnableBankDocumentClassification: "EnableBankDocumentClassification", EnableBankDocumentClassificationShadowMode: "EnableBankDocumentClassificationShadowMode", EnableBusinessDetailsModal: "EnableBusinessDetailsModal", EnableCrossBorderPayouts: "EnableCrossBorderPayouts", EnableDeleteBusinessLines: "EnableDeleteBusinessLines", EnableLimitToSingleBusinessLine: "EnableLimitToSingleBusinessLine", EnableMemoryRouterForHostedOnboarding: "EnableMemoryRouterForHostedOnboarding", EnableModifyBusinessLines: "EnableModifyBusinessLines", EnableMultiFormInTrustFlow: "EnableMultiFormInTrustFlow", EnablePayoutDetailsMultiForm: "EnablePayoutDetailsMultiForm", EnableRevampedDecisionMakersTaskPage: "EnableRevampedDecisionMakersTaskPage", EnableURLRouterForHostedOnboarding: "EnableURLRouterForHostedOnboarding", EnableVerifyByInvite: "EnableVerifyByInvite", UseTaskStatusApiForPayout: "UseTaskStatusApiForPayout", EnableAllowTwoRepeatedCharactersInName: "EnableAllowTwoRepeatedCharactersInName", EnableBankAccountDetailsLandingPage: "EnableBankAccountDetailsLandingPage", EnableUnifiedCompanySearch: "EnableUnifiedCompanySearch" }; /** * Features which are returned from a call made to onboardingcomponents for version-specific features. (see `useVersions`). * Version specific features are tied to the specific onboarding/LEM version (ex. v4-specific features) rather than for feature rollout purposes. * Defined in the BE (`VersionSpecificToggle.java`). */ var VersionFeatureNames = { EnableAgeVerification: "EnableAgeVerification", EnableCountryOfGoverningLawForUKCompanies: "EnableCountryOfGoverningLawForUKCompanies", EnableDoingBusinessAsNameV4: "EnableDoingBusinessAsNameV4", EnableFinancialInformationComponentV4: "EnableFinancialInformationComponentV4", EnableJapanLocalization: "EnableJapanLocalization", EnableNationalitySGHK: "EnableNationalitySGHK", EnableRegistrationAndTaxAbsentStatesV4: "EnableRegistrationAndTaxAbsentStatesV4", ShowCustomerSupportV4: "ShowCustomerSupportV4", StrictNameAndAddressValidationV4: "StrictNameAndAddressValidationV4" }; /** * Experiments which are returned from a call made to onboardingcomponents for feature flags and experiments (see `useToggles`). * Experiments are used to toggle behavior for A/B testing purposes. * Defined using the Experimentation Platform in BO. * * Naming convention: `${ExperimentName}_${TreatmentGroupNameOrControl}` ex. `BankingVerificationExperiment_Treatment1` or `BusinessSearchExperiment_control` */ var ExperimentNames = { BankingPayoutFlow_ForcedManualVerification: "BankingPayoutFlow_ForcedManualVerification" }; var FeatureNames = { ...PropFeatureNames, ...FeatureFrameworkFeatureNames, ...VersionFeatureNames }; //#endregion export { FeatureNames as n, ExperimentNames as t };