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.

17 lines (16 loc) 853 B
import type { ExistingLegalEntity } from '../core/models/api/legal-entity'; import { type TaskType } from '../stores/globalStore/taskTypes'; export interface GetDefaultTaskParams { legalEntity: ExistingLegalEntity; canSeeEntitySelection: boolean; canChangeEntityType: boolean; showIntroduction: boolean; shouldShowSingpassSelection: boolean; showServiceAgreementsFirst: boolean; showBusinessFinancingFirst: boolean; } export declare const getDefaultTask: ({ legalEntity, canSeeEntitySelection, canChangeEntityType, showIntroduction, shouldShowSingpassSelection, showServiceAgreementsFirst, showBusinessFinancingFirst, }: GetDefaultTaskParams) => TaskType; /** * Determine if the LE has data beyond entity selection. */ export declare const hasProgressedBeyondEntitySelection: (legalEntity: ExistingLegalEntity) => boolean;