import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Webhook = { /** * Type of event that triggers the webhook. */ event: string; /** * URL webhook events are sent to. */ url: string; /** * Determines whether the webhook is active or not. */ active?: boolean | undefined; /** * Determines whether the webhook is a test webhook or not. */ isTest?: boolean | undefined; /** * Timestamp of the creation of the webhook. */ objectCreated?: Date | undefined; /** * Unique identifier of the webhook. This can be used to retrieve or delete the webhook. */ objectId?: string | undefined; /** * Timestamp of the last update of the webhook. */ objectUpdated?: Date | undefined; /** * Username of the user who created the webhook. */ objectOwner?: string | undefined; }; /** @internal */ export declare const Webhook$inboundSchema: z.ZodMiniType; export declare function webhookFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhook.d.ts.map