export interface RestEndpoint { /** HTTP method */ method: 'GET' | 'POST'; /** A target URL to send the payloads */ url: string; /** eventname -> webhook unique event */ event?: string; /** Standard HTTP authentication for the receiver endpoint */ basic_auth?: { username?: string; password?: string; }; /** The headers object */ headers?: { [key: string]: string; }; }