/** * Boat Public API v1 * Public JSON API for creating, operating, prompting, observing, and exposing Boat sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { WebhookEventType } from './WebhookEventType'; import type { WebhookEventData } from './WebhookEventData'; /** * JSON body sent to the registered endpoint. This is not a v1 success envelope. * @export * @interface WebhookEvent */ export interface WebhookEvent { /** * * @type {string} * @memberof WebhookEvent */ id: string; /** * * @type {WebhookEventType} * @memberof WebhookEvent */ type: WebhookEventType; /** * * @type {Date} * @memberof WebhookEvent */ createdAt: Date; /** * * @type {WebhookEventData} * @memberof WebhookEvent */ data: WebhookEventData; } /** * Check if a given object implements the WebhookEvent interface. */ export declare function instanceOfWebhookEvent(value: object): value is WebhookEvent; export declare function WebhookEventFromJSON(json: any): WebhookEvent; export declare function WebhookEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookEvent; export declare function WebhookEventToJSON(json: any): WebhookEvent; export declare function WebhookEventToJSONTyped(value?: WebhookEvent | null, ignoreDiscriminator?: boolean): any;