'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var express = require('express');
var controller = require('./controller.js');
var routes$1 = require('./list/routes.js');

function routes({ layoutPath, services }) {
    const router = express.Router({ mergeParams: true });
    const controller$1 = new controller.RequestedReportsController(services);
    router.get('/row/:reportId/:id/:executionId/:tableId', controller$1.GET);
    router.post('/remove-item/:executionId', controller$1.POST);
    router.use(`/list`, routes$1.default({ layoutPath, services }));
    return router;
}

exports.default = routes;
exports.routes = routes;
//# sourceMappingURL=routes.js.map
