17040be51f1bcbe62e585523f7a4d1d5a2c60994
[motion2.git] / server / api / voiceAgentReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x2ffe=['multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','isAuthenticated','get','/describe','describe','/:id','post','create','put','update','destroy','exports'];(function(_0x2021ea,_0x5a0c73){var _0x46d417=function(_0x1b9ffc){while(--_0x1b9ffc){_0x2021ea['push'](_0x2021ea['shift']());}};_0x46d417(++_0x5a0c73);}(_0x2ffe,0xea));var _0xe2ff=function(_0x144b38,_0xd00215){_0x144b38=_0x144b38-0x0;var _0x416a52=_0x2ffe[_0x144b38];return _0x416a52;};'use strict';var multer=require(_0xe2ff('0x0'));var util=require(_0xe2ff('0x1'));var path=require(_0xe2ff('0x2'));var timeout=require(_0xe2ff('0x3'));var express=require(_0xe2ff('0x4'));var router=express['Router']();var auth=require(_0xe2ff('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe2ff('0x6'));var controller=require('./voiceAgentReport.controller');router['get']('/',auth[_0xe2ff('0x7')](),controller['index']);router[_0xe2ff('0x8')](_0xe2ff('0x9'),auth[_0xe2ff('0x7')](),controller[_0xe2ff('0xa')]);router[_0xe2ff('0x8')](_0xe2ff('0xb'),auth[_0xe2ff('0x7')](),controller['show']);router[_0xe2ff('0xc')]('/',auth[_0xe2ff('0x7')](),controller[_0xe2ff('0xd')]);router[_0xe2ff('0xe')](_0xe2ff('0xb'),auth['isAuthenticated'](),controller[_0xe2ff('0xf')]);router['delete'](_0xe2ff('0xb'),auth['isAuthenticated'](),controller[_0xe2ff('0x10')]);module[_0xe2ff('0x11')]=router;