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.

12 lines (11 loc) 1.11 kB
import { type DecisionMakerType } from '../core/models/api/decision-maker-type'; import type { ExistingLegalEntity } from '../core/models/api/legal-entity'; import type { LegalEntityAssociation } from '../core/models/api/legal-entity-association'; import type { Scenario } from '../core/models/api/get-scenarios'; import { type TaskType } from '../stores/globalStore/taskTypes'; export declare const getOwnDecisionMakers: (rootLegalEntity: ExistingLegalEntity) => LegalEntityAssociation[]; export declare const getDecisionMakers: (rootLegalEntity: ExistingLegalEntity, companyLegalEntityId: string) => LegalEntityAssociation[]; export declare const getOwnSignatories: (rootLegalEntity: ExistingLegalEntity) => LegalEntityAssociation[]; export declare const getOwnDecisionMakersLegalEntityIds: (rootLegalEntity: ExistingLegalEntity) => string[]; export declare const getAllowedDecisionMakerRoles: (rootLegalEntity: ExistingLegalEntity, taskType: TaskType, scenarios?: Scenario[]) => DecisionMakerType[]; export declare const hasMinRequiredDecisionMakerCount: (rootLegalEntity: ExistingLegalEntity) => boolean;