Interface WebhookEvent

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

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

Hierarchy (view full)

Properties

basicAuth?: {
    password?: string;
    username?: string;
}

Type declaration

  • Optional password?: string
  • Optional username?: string
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