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 _0x4279=['delete','destroy','exports','multer','util','path','express','fs-extra','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','/:id/preview','preview','/:id/run','/:id/query','post','create','put','update'];(function(_0xff9f4c,_0x1e1263){var _0xf0786f=function(_0x287185){while(--_0x287185){_0xff9f4c['push'](_0xff9f4c['shift']());}};_0xf0786f(++_0x1e1263);}(_0x4279,0x117));var _0x9427=function(_0x50fb91,_0x1fd09f){_0x50fb91=_0x50fb91-0x0;var _0xafd9c3=_0x4279[_0x50fb91];return _0xafd9c3;};'use strict';var multer=require(_0x9427('0x0'));var util=require(_0x9427('0x1'));var path=require(_0x9427('0x2'));var timeout=require('connect-timeout');var express=require(_0x9427('0x3'));var router=express['Router']();var fs_extra=require(_0x9427('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x9427('0x5'));var config=require(_0x9427('0x6'));var controller=require(_0x9427('0x7'));router[_0x9427('0x8')]('/',auth[_0x9427('0x9')](),controller[_0x9427('0xa')]);router[_0x9427('0x8')](_0x9427('0xb'),auth[_0x9427('0x9')](),controller['show']);router['get'](_0x9427('0xc'),auth[_0x9427('0x9')](),controller[_0x9427('0xd')]);router['get'](_0x9427('0xe'),auth[_0x9427('0x9')](),controller['run']);router['get'](_0x9427('0xf'),auth[_0x9427('0x9')](),controller['query']);router[_0x9427('0x10')]('/',auth[_0x9427('0x9')](),controller[_0x9427('0x11')]);router[_0x9427('0x12')](_0x9427('0xb'),auth[_0x9427('0x9')](),controller[_0x9427('0x13')]);router[_0x9427('0x14')]('/:id',auth[_0x9427('0x9')](),controller[_0x9427('0x15')]);module[_0x9427('0x16')]=router;