"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const yup = __importStar(require("yup"));
const queryStringParametersValidations = () => ({});
const payloadValidations = () => ({
    warmupEnabled: yup.boolean().required(),
    authorizerId: yup.string().nullable(),
    serviceName: yup.string().required(),
    daoIds: yup.array().of(yup.string()).nullable(),
});
const pathParametersValidations = () => ({
    id: yup.string().required(),
});
exports.default = () => ({
    queryStringParameters: yup.object().shape(queryStringParametersValidations()),
    payload: yup.object().shape(payloadValidations()).noUnknown(),
    pathParameters: yup.object().shape(pathParametersValidations()),
});
//# sourceMappingURL=validations.js.map