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 _0x5fd6=['../../components/interaction/service','./analyticDefaultReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview','preview','/:id/query','query','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x1de66f,_0x2c853e){var _0x4733d1=function(_0x3556ea){while(--_0x3556ea){_0x1de66f['push'](_0x1de66f['shift']());}};_0x4733d1(++_0x2c853e);}(_0x5fd6,0xa2));var _0x65fd=function(_0x1b077d,_0x4c5302){_0x1b077d=_0x1b077d-0x0;var _0xce3bb=_0x5fd6[_0x1b077d];return _0xce3bb;};'use strict';var multer=require(_0x65fd('0x0'));var util=require('util');var path=require(_0x65fd('0x1'));var timeout=require(_0x65fd('0x2'));var express=require(_0x65fd('0x3'));var router=express['Router']();var fs_extra=require(_0x65fd('0x4'));var auth=require(_0x65fd('0x5'));var interaction=require(_0x65fd('0x6'));var config=require('../../config/environment');var controller=require(_0x65fd('0x7'));router[_0x65fd('0x8')]('/',auth[_0x65fd('0x9')](),controller[_0x65fd('0xa')]);router[_0x65fd('0x8')](_0x65fd('0xb'),auth[_0x65fd('0x9')](),controller[_0x65fd('0xc')]);router[_0x65fd('0x8')](_0x65fd('0xd'),auth[_0x65fd('0x9')](),controller[_0x65fd('0xe')]);router[_0x65fd('0x8')]('/:id/run',auth[_0x65fd('0x9')](),controller['run']);router[_0x65fd('0x8')](_0x65fd('0xf'),auth[_0x65fd('0x9')](),controller[_0x65fd('0x10')]);router[_0x65fd('0x11')]('/',auth[_0x65fd('0x9')](),controller[_0x65fd('0x12')]);router[_0x65fd('0x13')]('/:id',auth[_0x65fd('0x9')](),controller[_0x65fd('0x14')]);router[_0x65fd('0x15')](_0x65fd('0xb'),auth[_0x65fd('0x9')](),controller[_0x65fd('0x16')]);module[_0x65fd('0x17')]=router;