Interface ExternalEventWebhookHandleResponse<EventPayload>

interface ExternalEventWebhookHandleResponse<EventPayload> {
    events?: EventPayload[];
    response?: {
        headers?: Record<string, string>;
        data?: any;
        status?: number;
    };
    state?: Record<string, any>;
}

Type Parameters

  • EventPayload = any

Properties

events?: EventPayload[]
response?: {
    headers?: Record<string, string>;
    data?: any;
    status?: number;
}
state?: Record<string, any>