/* tslint:disable */ /* eslint-disable */ /** * 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. */ /** * * @export */ export const WebhookEventType = { BoxReady: 'box.ready', BoxError: 'box.error', BoxArchived: 'box.archived', BoxHydrated: 'box.hydrated' } as const; export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType]; export function instanceOfWebhookEventType(value: any): boolean { for (const key in WebhookEventType) { if (Object.prototype.hasOwnProperty.call(WebhookEventType, key)) { if (WebhookEventType[key as keyof typeof WebhookEventType] === value) { return true; } } } return false; } export function WebhookEventTypeFromJSON(json: any): WebhookEventType { return WebhookEventTypeFromJSONTyped(json, false); } export function WebhookEventTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookEventType { return json as WebhookEventType; } export function WebhookEventTypeToJSON(value?: WebhookEventType | null): any { return value as any; } export function WebhookEventTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): WebhookEventType { return value as WebhookEventType; }