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

16 lines (15 loc) 790 B
import type { ExistingLegalEntity } from '../core/models/api/legal-entity'; import type { Translatable } from '../../types'; import { TaskTypes } from '../stores/globalStore/taskTypes'; import type { PersonalDetailsSchema } from '../components/Individual/forms/Individual/PersonalDetails/types'; export declare const getAgeToday: (birthdate: string) => number; interface TranslatableAlertProps { title: Translatable; message: Translatable; } export declare const getLegalRepresentativeWarningMessage: ({ data: { birthDate, residencyCountry }, taskType, }: { data: PersonalDetailsSchema; taskType: TaskTypes; }) => TranslatableAlertProps | undefined; export declare const doesLegalEntityRequiresLegalRepresentative: (legalEntity?: ExistingLegalEntity) => boolean; export {};