"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get completeMaintenanceLogSchema () {
        return completeMaintenanceLogSchema;
    },
    get createMaintenanceLogSchema () {
        return createMaintenanceLogSchema;
    },
    get getMaintenanceLogsQuerySchema () {
        return getMaintenanceLogsQuerySchema;
    }
});
const _zod = require("zod");
const createMaintenanceLogSchema = _zod.z.object({
    printerId: _zod.z.number().int().positive(),
    metadata: _zod.z.object({
        partsInvolved: _zod.z.array(_zod.z.string()).optional(),
        cause: _zod.z.string().optional(),
        notes: _zod.z.string().optional()
    })
});
const completeMaintenanceLogSchema = _zod.z.object({
    completionNotes: _zod.z.string().optional()
});
const getMaintenanceLogsQuerySchema = _zod.z.object({
    printerId: _zod.z.coerce.number().int().positive().optional(),
    completed: _zod.z.coerce.boolean().optional(),
    page: _zod.z.coerce.number().int().positive().default(1),
    pageSize: _zod.z.coerce.number().int().positive().max(100).default(20)
});

//# sourceMappingURL=printer-maintenance-log.validation.js.map