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