import { z } from "zod"; //#region src/schemas/correction.d.ts /** * STRICT throughout — an unknown key is a 400, never a silent strip. * * These were `z.object()`, whose default is to DROP unrecognised keys. For a command * schema that is not lenient, it is lossy in the dangerous direction: * * - `idempotencyKeey` — accepted, dropped, and device-replay DEDUPLICATION is now off. * The punch double-posts and nothing reports a problem. * - `companionCounnt` — accepted, dropped, occupancy undercounts by the whole party. * - `scheduledStrat` — accepted, dropped, lateness is computed against no schedule. * * Every one produces a plausible record rather than an error, which is exactly the * failure mode this codebase is built against (AGENTS.md FAIL LOUD, rule 2: an input you * do not understand must FAIL, not widen). Nested objects — companion, geo, device — are * strict too, because that is where a typo is easiest to make and hardest to see. */ declare const proposedChangesSchema: z.ZodObject<{ actualStart: z.ZodOptional>; actualEnd: z.ZodOptional>; checkInMethod: z.ZodOptional>; checkOutMethod: z.ZodOptional>; outcome: z.ZodOptional>; note: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strict>; /** POST /attendance/corrections */ declare const requestCorrectionSchema: z.ZodObject<{ sessionId: z.ZodString; proposedChanges: z.ZodObject<{ actualStart: z.ZodOptional>; actualEnd: z.ZodOptional>; checkInMethod: z.ZodOptional>; checkOutMethod: z.ZodOptional>; outcome: z.ZodOptional>; note: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strict>; reason: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strict>; /** POST /attendance/corrections/:id/actions { action: 'approve' | 'reject' } */ declare const reviewCorrectionSchema: z.ZodObject<{ reviewerNote: z.ZodOptional; }, z.core.$strict>; type ProposedChangesBody = z.infer; type RequestCorrectionBody = z.infer; type ReviewCorrectionBody = z.infer; //#endregion export { ProposedChangesBody, RequestCorrectionBody, ReviewCorrectionBody, proposedChangesSchema, requestCorrectionSchema, reviewCorrectionSchema };