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 _0xf948=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','isAuthenticated','show','/:id/preview','run','/:id/query','post','create','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xf948,0x126));var _0x8f94=function(_0x32b9b4,_0x22acad){_0x32b9b4=_0x32b9b4-0x0;var _0x18810c=_0xf948[_0x32b9b4];return _0x18810c;};'use strict';var multer=require(_0x8f94('0x0'));var util=require(_0x8f94('0x1'));var path=require(_0x8f94('0x2'));var timeout=require(_0x8f94('0x3'));var express=require(_0x8f94('0x4'));var router=express[_0x8f94('0x5')]();var auth=require(_0x8f94('0x6'));var interaction=require(_0x8f94('0x7'));var config=require(_0x8f94('0x8'));var controller=require(_0x8f94('0x9'));router[_0x8f94('0xa')]('/',auth[_0x8f94('0xb')](),controller['index']);router['get']('/:id',auth[_0x8f94('0xb')](),controller[_0x8f94('0xc')]);router[_0x8f94('0xa')](_0x8f94('0xd'),auth[_0x8f94('0xb')](),controller['preview']);router[_0x8f94('0xa')]('/:id/run',auth[_0x8f94('0xb')](),controller[_0x8f94('0xe')]);router[_0x8f94('0xa')](_0x8f94('0xf'),auth['isAuthenticated'](),controller['query']);router[_0x8f94('0x10')]('/',auth['isAuthenticated'](),controller[_0x8f94('0x11')]);router['put'](_0x8f94('0x12'),auth[_0x8f94('0xb')](),controller[_0x8f94('0x13')]);router[_0x8f94('0x14')](_0x8f94('0x12'),auth[_0x8f94('0xb')](),controller[_0x8f94('0x15')]);module[_0x8f94('0x16')]=router;