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

14 lines (13 loc) 1.19 kB
import { TaskTypes } from '../components/TaskList/types'; import { 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'; type DecisionMakerCount = Record<DecisionMakerType, number>; 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 getDecisionMakerCount: (rootLegalEntity: ExistingLegalEntity) => DecisionMakerCount; export declare const getAllowedDecisionMakerRoles: (rootLegalEntity: ExistingLegalEntity, taskType: TaskTypes) => DecisionMakerType[]; export declare const hasMinRequiredDecisionMakerCount: (rootLegalEntity: ExistingLegalEntity) => boolean; export {};