import { z } from "zod";
const DateSchema = z.preprocess((arg) => {
    if (typeof arg === "string") {
        return new Date(arg);
    }
}, z.date());
export const RequestSchema = z.object({
    type: z.string(),
    timestamp: DateSchema,
    body: z.record(z.any()),
});
//# sourceMappingURL=models.js.map