import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WebhookEventType } from "./webhookeventtype.js"; import { WebhookFormat } from "./webhookformat.js"; /** * A webhook endpoint. */ export type WebhookEndpoint = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The ID of the object. */ id: string; /** * The URL where the webhook events will be sent. */ url: string; /** * An optional name for the webhook endpoint to help organize and identify it. */ name?: string | null | undefined; format: WebhookFormat; /** * The secret used to sign the webhook events. */ secret: string; /** * The organization ID associated with the webhook endpoint. */ organizationId: string; /** * The events that will trigger the webhook. */ events: Array; /** * Whether the webhook endpoint is enabled and will receive events. */ enabled: boolean; }; /** @internal */ export declare const WebhookEndpoint$inboundSchema: z.ZodMiniType; export declare function webhookEndpointFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookendpoint.d.ts.map