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.

10 lines (9 loc) 725 B
import type { CapabilityName } from '../core/models/api/capability'; import type { ExistingLegalEntity } from '../core/models/api/legal-entity'; import type { AccountHolderOption } from '../types/accountHolder'; /** ** 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;