"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "createTestPrinterRules", {
    enumerable: true,
    get: function() {
        return createTestPrinterRules;
    }
});
const _serviceconstants = require("../../constants/service.constants");
const _printerapiinterface = require("../../services/printer-api.interface");
const createTestPrinterRules = {
    printerType: `required|integer|in:${_printerapiinterface.OctoprintType},${_printerapiinterface.MoonrakerType}`,
    correlationToken: "required|string",
    apiKey: `requiredIf:printerType,${_printerapiinterface.OctoprintType}|length:${_serviceconstants.apiKeyLengthMaxDefault},${_serviceconstants.apiKeyLengthMinDefault}|alphaDash`,
    printerURL: "required|httpurl"
};

//# sourceMappingURL=create-test-printer.validation.js.map