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 _0x21a1=['util','path','Router','./analyticCustomReport.controller','get','isAuthenticated','index','/:id','/:id/preview','preview','/:id/run','run','/:id/query','post','create','update','delete','destroy','multer'];(function(_0x39704c,_0x4bc0a8){var _0x2a1dc6=function(_0x194ee4){while(--_0x194ee4){_0x39704c['push'](_0x39704c['shift']());}};_0x2a1dc6(++_0x4bc0a8);}(_0x21a1,0xaa));var _0x121a=function(_0x3e047d,_0xfcdd66){_0x3e047d=_0x3e047d-0x0;var _0x33f262=_0x21a1[_0x3e047d];return _0x33f262;};'use strict';var multer=require(_0x121a('0x0'));var util=require(_0x121a('0x1'));var path=require(_0x121a('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x121a('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x121a('0x4'));router[_0x121a('0x5')]('/',auth[_0x121a('0x6')](),controller[_0x121a('0x7')]);router[_0x121a('0x5')](_0x121a('0x8'),auth[_0x121a('0x6')](),controller['show']);router[_0x121a('0x5')](_0x121a('0x9'),auth[_0x121a('0x6')](),controller[_0x121a('0xa')]);router[_0x121a('0x5')](_0x121a('0xb'),auth[_0x121a('0x6')](),controller[_0x121a('0xc')]);router[_0x121a('0x5')](_0x121a('0xd'),auth[_0x121a('0x6')](),controller['query']);router[_0x121a('0xe')]('/',auth[_0x121a('0x6')](),controller[_0x121a('0xf')]);router['put']('/:id',auth[_0x121a('0x6')](),controller[_0x121a('0x10')]);router[_0x121a('0x11')]('/:id',auth[_0x121a('0x6')](),controller[_0x121a('0x12')]);module['exports']=router;