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 _0x0fd7=['preview','/:id/run','run','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','index','/:id','show','/:id/preview'];(function(_0x1dcff6,_0x366d35){var _0x1ffebd=function(_0x46721a){while(--_0x46721a){_0x1dcff6['push'](_0x1dcff6['shift']());}};_0x1ffebd(++_0x366d35);}(_0x0fd7,0x190));var _0x70fd=function(_0x136297,_0x7f7b4a){_0x136297=_0x136297-0x0;var _0x21c0b3=_0x0fd7[_0x136297];return _0x21c0b3;};'use strict';var multer=require(_0x70fd('0x0'));var util=require(_0x70fd('0x1'));var path=require(_0x70fd('0x2'));var timeout=require(_0x70fd('0x3'));var express=require(_0x70fd('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x70fd('0x5'));var config=require(_0x70fd('0x6'));var controller=require(_0x70fd('0x7'));router[_0x70fd('0x8')]('/',auth[_0x70fd('0x9')](),controller[_0x70fd('0xa')]);router[_0x70fd('0x8')](_0x70fd('0xb'),auth[_0x70fd('0x9')](),controller[_0x70fd('0xc')]);router[_0x70fd('0x8')](_0x70fd('0xd'),auth[_0x70fd('0x9')](),controller[_0x70fd('0xe')]);router[_0x70fd('0x8')](_0x70fd('0xf'),auth['isAuthenticated'](),controller[_0x70fd('0x10')]);router[_0x70fd('0x8')]('/:id/query',auth[_0x70fd('0x9')](),controller['query']);router[_0x70fd('0x11')]('/',auth['isAuthenticated'](),controller[_0x70fd('0x12')]);router[_0x70fd('0x13')](_0x70fd('0xb'),auth['isAuthenticated'](),controller[_0x70fd('0x14')]);router[_0x70fd('0x15')]('/:id',auth[_0x70fd('0x9')](),controller['destroy']);module[_0x70fd('0x16')]=router;