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.

10 lines (9 loc) 551 B
import type { AnalyticsEventPayload, EventQueueItem, EventType, MixpanelProperty } from '../../core/user-events'; import type { EmbeddedAnalyticsSessionRequest } from '../../hooks/useAnalytics/useAnalytics'; type EmbeddedEventItem = { eventType: EventType; eventName: string; eventData: AnalyticsEventPayload | Record<string, MixpanelProperty>; }; export declare const convertToEmbeddedEvent: (eventQueueItem: EventQueueItem, sessionData: EmbeddedAnalyticsSessionRequest) => EmbeddedEventItem & EmbeddedAnalyticsSessionRequest; export {};