"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrganisationPostSchema = void 0;
const yup_1 = require("yup");
const DBReferenceSchema_1 = require("../DBReferenceSchema");
const OrganisationPostSchema = (0, yup_1.object)().shape({
    name: (0, yup_1.string)().min(3).required(),
    terminationRates: DBReferenceSchema_1.DBReferenceSchema,
    originationRates: DBReferenceSchema_1.DBReferenceSchema,
    productTable: DBReferenceSchema_1.DBReferenceSchema,
    timeZone: (0, yup_1.string)().required(),
    ttsLanguage: (0, yup_1.string)().required(),
    asrLanguage: (0, yup_1.string)().required(),
});
exports.OrganisationPostSchema = OrganisationPostSchema;
