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

12 lines (11 loc) 921 B
import type { AccountHolderOption } from '../core/types/AccountHolder.types'; import type { CapabilityName } from '../core/models/api/capability'; import type { ExistingLegalEntity } from '../core/models/api/legal-entity'; import { LegalEntityType } from '../core/models/api/legal-entity-type'; export declare const entityTypeToCorrespondingAccountHolderOption: Record<LegalEntityType, AccountHolderOption>; /** ** Account holder option is not stored in backend as it does not effect any check evaluations. ** The value is computed in the front end based on the associations and current flow of the legalEntity * */ export declare const getDefaultAccountHolderType: (legalEntityResponse: ExistingLegalEntity | undefined, isTypeChanging?: boolean, accountHolder?: AccountHolderOption) => AccountHolderOption | undefined; export declare const allowIndividualWithoutSoleProp: (capabilities: CapabilityName[]) => boolean;