import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Status of the event */ export declare const Status: { readonly Opened: "opened"; readonly Rejected: "rejected"; readonly Sent: "sent"; readonly Deferred: "deferred"; readonly Delivered: "delivered"; readonly Bounced: "bounced"; readonly Dropped: "dropped"; readonly Clicked: "clicked"; readonly Blocked: "blocked"; readonly Spam: "spam"; readonly Unsubscribed: "unsubscribed"; readonly Delayed: "delayed"; readonly Complaint: "complaint"; readonly Created: "created"; readonly Accepted: "accepted"; readonly Queued: "queued"; readonly Sending: "sending"; readonly Failed: "failed"; readonly Undelivered: "undelivered"; readonly Dismissed: "dismissed"; }; /** * Status of the event */ export type Status = ClosedEnum; export type EventBody = { /** * Status of the event */ status: Status; /** * Date of the event */ date: string; /** * External ID from the provider */ externalId?: string | undefined; /** * Number of attempts */ attempts?: number | undefined; /** * Response from the provider */ response?: string | undefined; /** * Raw content from the provider webhook */ row?: string | undefined; }; /** @internal */ export declare const Status$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EventBody$inboundSchema: z.ZodType; export declare function eventBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=eventbody.d.ts.map