"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.textToAudioRouter = void 0;
const express_1 = require("express");
const permissions_1 = require("../../util/config/permissions");
const convert_to_audio_1 = require("../controller/text-to-audio/convert-to-audio");
const permission_1 = require("../middlewares/permission");
const textToAudioUpload_1 = require("../middlewares/textToAudioUpload");
const textToAudioRouter = (0, express_1.Router)();
exports.textToAudioRouter = textToAudioRouter;
// Text-to-Audio conversion endpoint
textToAudioRouter.post('/convert', textToAudioUpload_1.textToAudioUploadMiddleware, (0, permission_1.hasPermission)(permissions_1.Permission.SECURITY_EVALUATION_WRITE), convert_to_audio_1.convertToAudioController);
//# sourceMappingURL=textToAudio.js.map