import { z } from 'zod';
export const DealStatusSchema = z.enum(['draft', 'active', 'closed', 'archived']);
export const DealSchema = z.object({
    id: z.string().uuid(),
    name: z.string().min(1),
    status: DealStatusSchema,
    dataroomId: z.string().uuid().optional(),
    createdAt: z.date().or(z.string().datetime()),
    updatedAt: z.date().or(z.string().datetime()),
});
export const CreateDealSchema = DealSchema.omit({
    id: true,
    createdAt: true,
    updatedAt: true,
});
//# sourceMappingURL=deal.js.map