1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x272a=['exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','put','update','delete','destroy'];(function(_0x153846,_0x1227ad){var _0x3ee557=function(_0x514e76){while(--_0x514e76){_0x153846['push'](_0x153846['shift']());}};_0x3ee557(++_0x1227ad);}(_0x272a,0x12d));var _0xa272=function(_0x35d649,_0x37210f){_0x35d649=_0x35d649-0x0;var _0x541bc4=_0x272a[_0x35d649];return _0x541bc4;};'use strict';var multer=require('multer');var util=require(_0xa272('0x0'));var path=require(_0xa272('0x1'));var timeout=require(_0xa272('0x2'));var express=require(_0xa272('0x3'));var router=express['Router']();var fs_extra=require(_0xa272('0x4'));var auth=require(_0xa272('0x5'));var interaction=require(_0xa272('0x6'));var config=require(_0xa272('0x7'));var controller=require('./voiceAgentReport.controller');router[_0xa272('0x8')]('/',auth[_0xa272('0x9')](),controller[_0xa272('0xa')]);router['get'](_0xa272('0xb'),auth['isAuthenticated'](),controller[_0xa272('0xc')]);router[_0xa272('0x8')](_0xa272('0xd'),auth['isAuthenticated'](),controller[_0xa272('0xe')]);router['post']('/',auth[_0xa272('0x9')](),controller['create']);router[_0xa272('0xf')](_0xa272('0xd'),auth[_0xa272('0x9')](),controller[_0xa272('0x10')]);router[_0xa272('0x11')](_0xa272('0xd'),auth['isAuthenticated'](),controller[_0xa272('0x12')]);module[_0xa272('0x13')]=router;