"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 searchJobsPagedSchema () {
        return searchJobsPagedSchema;
    },
    get searchJobsSchema () {
        return searchJobsSchema;
    }
});
const _zod = require("zod");
const searchJobsSchema = _zod.z.object({
    searchPrinter: _zod.z.string().trim().min(1).optional(),
    searchFile: _zod.z.string().trim().min(1).optional(),
    startDate: _zod.z.string().date().min(1).optional(),
    endDate: _zod.z.string().date().min(1).optional()
});
const searchJobsPagedSchema = searchJobsSchema.extend({
    page: _zod.z.coerce.number().int().min(1),
    pageSize: _zod.z.coerce.number().int().min(1).max(500)
});

//# sourceMappingURL=print-job.validation.js.map