UNPKG

@adyen/kyc-components

Version:

`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar

11 lines (10 loc) 943 B
import type { ExperimentName } from '../../core/context/ExperimentContext/types'; import type { CapabilityName } from '../../core/models/api/capability'; import type { ExistingLegalEntity } from '../../core/models/api/legal-entity'; import type { ExistingTransferInstrument } from '../../core/models/api/transfer-instrument'; import type { CountryCode } from '../../core/models/country-code'; import type { CapabilityProblems } from '../../core/models/errors/capability-problems'; import type { Remediation } from '../../core/models/errors/remediation'; export declare function getCapabilityProblems(entity: ExistingLegalEntity | ExistingTransferInstrument, country: CountryCode, isExperimentEnabled?: (key: ExperimentName) => boolean): CapabilityProblems; export declare const remediationHasFileUploadField: (remediation: Remediation) => boolean; export declare const getCapabilities: (legalEntity?: ExistingLegalEntity) => CapabilityName[];