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

21 lines (20 loc) 860 B
import type { Experiments } from '../../core/context/ExperimentContext/types'; import type { Settings } from '../../core/context/SettingsContext/types'; import type { ExistingLegalEntity } from '../../core/models/api/legal-entity'; import type { LegalEntityType } from '../../core/models/api/legal-entity-type'; import type { TaskIdentifier } from '../../stores/globalStore/globalStore'; import type { TaskStatusWithReason } from '../../stores/globalStore/taskStatus'; export interface DebugInfo { metadata: { sdkVersion: string; locale: string; rootLegalEntityId: string; }; settings: Settings; experiments: Experiments; taskStatuses: Partial<Record<TaskIdentifier, TaskStatusWithReason>>; legalEntityData?: { rootLegalEntityType: LegalEntityType; rootLegalEntity: ExistingLegalEntity; }; }