import * as z from "zod/v3"; import { Status } from "./status.js"; import { UnifiedApiId } from "./unifiedapiid.js"; import { WebhookEventType } from "./webhookeventtype.js"; export type CreateWebhookRequest = { /** * A description of the object. */ description?: string | null | undefined; /** * Name of Apideck Unified API */ unifiedApi: UnifiedApiId; /** * The status of the webhook. */ status: Status; /** * The delivery url of the webhook endpoint. The endpoint must respond within 60 seconds or the delivery is recorded as failed. */ deliveryUrl: string; /** * The list of subscribed events for this webhook. [`*`] indicates that all events are enabled. */ events: Array; }; /** @internal */ export type CreateWebhookRequest$Outbound = { description?: string | null | undefined; unified_api: string; status: string; delivery_url: string; events: Array; }; /** @internal */ export declare const CreateWebhookRequest$outboundSchema: z.ZodType; export declare function createWebhookRequestToJSON(createWebhookRequest: CreateWebhookRequest): string; //# sourceMappingURL=createwebhookrequest.d.ts.map