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