@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
11 lines (10 loc) • 1.01 kB
TypeScript
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';
import { TaskTypes } 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: TaskTypes) => DecisionMakerType[];
export declare const hasMinRequiredDecisionMakerCount: (rootLegalEntity: ExistingLegalEntity) => boolean;