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