Interface WebhookEvent

Base model of an event (e.g. webhook or email)

interface WebhookEvent {
    body?: any;
    bodyMapping?: string;
    checkpoint?: string;
    contentType?: string;
    method?: "get" | "post" | "patch" | "delete" | "put";
    suppressMultipleExecutions?: boolean;
    type: webhook;
    url?: string;
}

Hierarchy (view full)

Properties

body?: any
bodyMapping?: string

mapping in JSONATA format (https://www.npmjs.com/package/jsonata)

checkpoint?: string
contentType?: string
method?: "get" | "post" | "patch" | "delete" | "put"
suppressMultipleExecutions?: boolean
type: webhook
url?: string