import { z } from "zod";
const WebhookEventType = {
  SITE_PUBLISHED: "site.published"
};
const sitePublishedWebhookPayloadSchema = z.object({
  type: z.literal(WebhookEventType.SITE_PUBLISHED),
  data: z.object({
    siteId: z.string().uuid(),
    publish: z.object({
      from: z.string().uuid().nullable(),
      to: z.string().uuid()
    }),
    at: z.number()
  })
});
const webhookPayloadSchema = sitePublishedWebhookPayloadSchema;
export {
  WebhookEventType,
  sitePublishedWebhookPayloadSchema
};
//# sourceMappingURL=types.js.map