"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RatePostSchema = void 0;
const yup_1 = require("yup");
const RatePostSchema = (0, yup_1.object)().shape({
    caller: (0, yup_1.string)().required(),
    called: (0, yup_1.string)().required(),
    timeProfile: (0, yup_1.string)().required(),
    billAfterDuration: (0, yup_1.number)().required().min(0),
    minDuration: (0, yup_1.number)().required().min(0),
    price: (0, yup_1.number)().required(),
    setup: (0, yup_1.number)().required(),
});
exports.RatePostSchema = RatePostSchema;
