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