import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WebhookEventTypeEnum } from "./webhookeventtypeenum.js"; /** * Content of the webhook posted to the external URL */ export type WebhookPayloadBatch = { /** * Type of event that triggered the webhook. */ event?: WebhookEventTypeEnum | undefined; /** * Determines whether the webhook is a test webhook or not. */ test?: boolean | undefined; /** * A string containing the batch object ID, of the form 'batch {batchId} (created|processing complete)'. */ data?: string | undefined; }; /** @internal */ export declare const WebhookPayloadBatch$inboundSchema: z.ZodMiniType; /** @internal */ export type WebhookPayloadBatch$Outbound = { event?: string | undefined; test?: boolean | undefined; data?: string | undefined; }; /** @internal */ export declare const WebhookPayloadBatch$outboundSchema: z.ZodMiniType; export declare function webhookPayloadBatchToJSON(webhookPayloadBatch: WebhookPayloadBatch): string; export declare function webhookPayloadBatchFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhookpayloadbatch.d.ts.map