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