"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 feedRateSchema () {
        return feedRateSchema;
    },
    get flowRateSchema () {
        return flowRateSchema;
    },
    get testPrinterApiSchema () {
        return testPrinterApiSchema;
    },
    get updatePrinterDisabledReasonSchema () {
        return updatePrinterDisabledReasonSchema;
    },
    get updatePrinterEnabledSchema () {
        return updatePrinterEnabledSchema;
    }
});
const _zod = require("zod");
const _printerservicevalidation = require("../../services/validators/printer-service.validation");
const flowRateSchema = _zod.z.object({
    flowRate: _zod.z.number().int().min(75).max(125).nonnegative()
});
const feedRateSchema = _zod.z.object({
    feedRate: _zod.z.number().int().min(10).max(200).nonnegative()
});
const testPrinterApiSchema = _zod.z.object({
    printerURL: _printerservicevalidation.printerUrlValidator,
    printerType: _printerservicevalidation.printerTypeValidator,
    apiKey: _printerservicevalidation.printerApiKeyValidator,
    username: _printerservicevalidation.printerUsernameValidator.optional(),
    password: _printerservicevalidation.printerPasswordValidator.optional()
}).superRefine(_printerservicevalidation.refineApiKeyValidator);
const updatePrinterDisabledReasonSchema = _zod.z.object({
    disabledReason: _printerservicevalidation.printerDisabledReasonValidator
});
const updatePrinterEnabledSchema = _zod.z.object({
    enabled: _printerservicevalidation.printerEnabledValidator
});

//# sourceMappingURL=printer-controller.validation.js.map