import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; export type DeleteWebhookRequest = { /** * The ID of the webhook to delete. */ id: string; /** * The project to act on, when you call with an organization key. Optional when the organization has one project. A project key acts on its own project: naming another one is an error. */ projectId?: string | undefined; }; /** * Webhook deleted successfully */ export type DeleteWebhookResponse = { /** * Whether the webhook was deleted. */ deleted: boolean; /** * The ID of the webhook. */ id: string; }; /** @internal */ export type DeleteWebhookRequest$Outbound = { id: string; projectId?: string | undefined; }; /** @internal */ export declare const DeleteWebhookRequest$outboundSchema: z.ZodMiniType; export declare function deleteWebhookRequestToJSON(deleteWebhookRequest: DeleteWebhookRequest): string; /** @internal */ export declare const DeleteWebhookResponse$inboundSchema: z.ZodMiniType; export declare function deleteWebhookResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=delete-webhook.d.ts.map