import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WebhookEventType } from "./webhookeventtype.js"; import { WebhookStatus } from "./webhookstatus.js"; /** * Request body for creating a new webhook. */ export type CreateWebhook = { /** * The URL where webhook events will be sent. */ url: string; /** * The status of the webhook. */ status: WebhookStatus; /** * The list of event types this webhook should subscribe to. */ eventTypes: Array; /** * A description of the webhook for reference. Can be an empty string. */ description: string; }; /** @internal */ export declare const CreateWebhook$inboundSchema: z.ZodType; /** @internal */ export type CreateWebhook$Outbound = { url: string; status: string; eventTypes: Array; description: string; }; /** @internal */ export declare const CreateWebhook$outboundSchema: z.ZodType; export declare function createWebhookToJSON(createWebhook: CreateWebhook): string; export declare function createWebhookFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createwebhook.d.ts.map