import { TriggerType } from './workflow';
export interface EventOriginInterface {
    type: TriggerType;
    id: string;
}
export interface CreateEventInterface {
    origin: EventOriginInterface;
    payload: object;
    testRun?: boolean;
    workflowDrawingId?: string;
}
export interface XodTriggerPayloadType {
    data?: Record<string, unknown> | Array<unknown>;
    filter?: Record<string, unknown> | Array<unknown>;
    global?: Record<string, unknown> | Array<unknown>;
}
export interface EventInterface {
    id: string;
    origin: EventOriginInterface;
    payload: XodTriggerPayloadType;
    tenantIdentifier: string;
    testRun?: boolean;
    workflowDrawingId?: string;
}
