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 _0x453b=['/:id','isAuthenticated','show','preview','/:id/run','/:id/query','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticCustomReport.controller','get','index'];(function(_0x2c9f47,_0x33b0d8){var _0x4595d2=function(_0x17ae1d){while(--_0x17ae1d){_0x2c9f47['push'](_0x2c9f47['shift']());}};_0x4595d2(++_0x33b0d8);}(_0x453b,0x1e8));var _0xb453=function(_0x3bd497,_0x37d7a8){_0x3bd497=_0x3bd497-0x0;var _0x32f967=_0x453b[_0x3bd497];return _0x32f967;};'use strict';var multer=require(_0xb453('0x0'));var util=require(_0xb453('0x1'));var path=require(_0xb453('0x2'));var timeout=require(_0xb453('0x3'));var express=require(_0xb453('0x4'));var router=express['Router']();var fs_extra=require(_0xb453('0x5'));var auth=require(_0xb453('0x6'));var interaction=require(_0xb453('0x7'));var config=require(_0xb453('0x8'));var controller=require(_0xb453('0x9'));router[_0xb453('0xa')]('/',auth['isAuthenticated'](),controller[_0xb453('0xb')]);router[_0xb453('0xa')](_0xb453('0xc'),auth[_0xb453('0xd')](),controller[_0xb453('0xe')]);router['get']('/:id/preview',auth[_0xb453('0xd')](),controller[_0xb453('0xf')]);router[_0xb453('0xa')](_0xb453('0x10'),auth[_0xb453('0xd')](),controller['run']);router[_0xb453('0xa')](_0xb453('0x11'),auth[_0xb453('0xd')](),controller['query']);router[_0xb453('0x12')]('/',auth['isAuthenticated'](),controller[_0xb453('0x13')]);router[_0xb453('0x14')](_0xb453('0xc'),auth[_0xb453('0xd')](),controller[_0xb453('0x15')]);router[_0xb453('0x16')](_0xb453('0xc'),auth[_0xb453('0xd')](),controller[_0xb453('0x17')]);module[_0xb453('0x18')]=router;