import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Status } from "./status.js"; import { WebhookEventType } from "./webhookeventtype.js"; export type UpdateWebhookRequest = { /** * A description of the object. */ description?: string | null | undefined; /** * The status of the webhook. */ status?: Status | undefined; /** * The delivery url of the webhook endpoint. */ deliveryUrl?: string | undefined; /** * The list of subscribed events for this webhook. [`*`] indicates that all events are enabled. */ events?: Array | undefined; }; /** @internal */ export declare const UpdateWebhookRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateWebhookRequest$Outbound = { description?: string | null | undefined; status?: string | undefined; delivery_url?: string | undefined; events?: Array | undefined; }; /** @internal */ export declare const UpdateWebhookRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace UpdateWebhookRequest$ { /** @deprecated use `UpdateWebhookRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateWebhookRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateWebhookRequest$Outbound` instead. */ type Outbound = UpdateWebhookRequest$Outbound; } export declare function updateWebhookRequestToJSON(updateWebhookRequest: UpdateWebhookRequest): string; export declare function updateWebhookRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updatewebhookrequest.d.ts.map