/**
 * History Types
 *
 * Defines types for tracking certification and scan history over time.
 *
 * @module history/types
 */
import { z } from "zod";
/**
 * Zod schemas for validation
 */
export const HistoryQueryOptionsSchema = z.object({
    type: z.union([
        z.enum([
            "certification_started",
            "certification_completed",
            "scan_completed",
            "finding_submitted",
            "finding_fixed",
            "compliance_report",
            "model_run",
        ]),
        z.array(z.enum([
            "certification_started",
            "certification_completed",
            "scan_completed",
            "finding_submitted",
            "finding_fixed",
            "compliance_report",
            "model_run",
        ])),
    ]).optional(),
    projectPath: z.string().optional(),
    certificationId: z.string().optional(),
    startDate: z.string().optional(),
    endDate: z.string().optional(),
    limit: z.number().int().positive().max(1000).default(100),
    offset: z.number().int().min(0).default(0),
    order: z.enum(["asc", "desc"]).default("desc"),
});
//# sourceMappingURL=types.js.map