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 _0xdb62=['post','create','put','update','delete','exports','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query'];(function(_0x3142fb,_0x5369cb){var _0x402061=function(_0x67fecc){while(--_0x67fecc){_0x3142fb['push'](_0x3142fb['shift']());}};_0x402061(++_0x5369cb);}(_0xdb62,0x103));var _0x2db6=function(_0x31991b,_0xaf75d2){_0x31991b=_0x31991b-0x0;var _0x307304=_0xdb62[_0x31991b];return _0x307304;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x2db6('0x0'));var timeout=require('connect-timeout');var express=require(_0x2db6('0x1'));var router=express['Router']();var auth=require(_0x2db6('0x2'));var interaction=require(_0x2db6('0x3'));var config=require(_0x2db6('0x4'));var controller=require(_0x2db6('0x5'));router[_0x2db6('0x6')]('/',auth[_0x2db6('0x7')](),controller[_0x2db6('0x8')]);router[_0x2db6('0x6')](_0x2db6('0x9'),auth[_0x2db6('0x7')](),controller[_0x2db6('0xa')]);router[_0x2db6('0x6')](_0x2db6('0xb'),auth[_0x2db6('0x7')](),controller[_0x2db6('0xc')]);router[_0x2db6('0x6')](_0x2db6('0xd'),auth[_0x2db6('0x7')](),controller[_0x2db6('0xe')]);router[_0x2db6('0x6')](_0x2db6('0xf'),auth['isAuthenticated'](),controller[_0x2db6('0x10')]);router[_0x2db6('0x11')]('/',auth[_0x2db6('0x7')](),controller[_0x2db6('0x12')]);router[_0x2db6('0x13')](_0x2db6('0x9'),auth[_0x2db6('0x7')](),controller[_0x2db6('0x14')]);router[_0x2db6('0x15')](_0x2db6('0x9'),auth[_0x2db6('0x7')](),controller['destroy']);module[_0x2db6('0x16')]=router;