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 _0x4ff1=['/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','show'];(function(_0x5974d0,_0x762561){var _0x48a5cd=function(_0x2ba5da){while(--_0x2ba5da){_0x5974d0['push'](_0x5974d0['shift']());}};_0x48a5cd(++_0x762561);}(_0x4ff1,0xf7));var _0x14ff=function(_0x12a612,_0x2a147e){_0x12a612=_0x12a612-0x0;var _0x20eea8=_0x4ff1[_0x12a612];return _0x20eea8;};'use strict';var multer=require(_0x14ff('0x0'));var util=require(_0x14ff('0x1'));var path=require('path');var timeout=require(_0x14ff('0x2'));var express=require(_0x14ff('0x3'));var router=express[_0x14ff('0x4')]();var auth=require(_0x14ff('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x14ff('0x6'));var controller=require(_0x14ff('0x7'));router[_0x14ff('0x8')]('/',auth[_0x14ff('0x9')](),controller[_0x14ff('0xa')]);router['get'](_0x14ff('0xb'),auth['isAuthenticated'](),controller[_0x14ff('0xc')]);router[_0x14ff('0x8')](_0x14ff('0xd'),auth[_0x14ff('0x9')](),controller[_0x14ff('0xe')]);router['get'](_0x14ff('0xf'),auth[_0x14ff('0x9')](),controller[_0x14ff('0x10')]);router[_0x14ff('0x8')](_0x14ff('0x11'),auth['isAuthenticated'](),controller[_0x14ff('0x12')]);router[_0x14ff('0x13')]('/',auth['isAuthenticated'](),controller[_0x14ff('0x14')]);router[_0x14ff('0x15')]('/:id',auth[_0x14ff('0x9')](),controller[_0x14ff('0x16')]);router[_0x14ff('0x17')]('/:id',auth['isAuthenticated'](),controller[_0x14ff('0x18')]);module[_0x14ff('0x19')]=router;