472956b9f456067669c1255176e9dac3c7d8a93c
[motion2.git] / server / api / analyticDefaultReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xdc37=['preview','run','/:id/query','post','create','put','/:id','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','index'];(function(_0xe1a3a5,_0xd3e341){var _0x362646=function(_0xdcef03){while(--_0xdcef03){_0xe1a3a5['push'](_0xe1a3a5['shift']());}};_0x362646(++_0xd3e341);}(_0xdc37,0x181));var _0x7dc3=function(_0x38b14f,_0xd08fa8){_0x38b14f=_0x38b14f-0x0;var _0x22a324=_0xdc37[_0x38b14f];return _0x22a324;};'use strict';var multer=require(_0x7dc3('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x7dc3('0x1'));var express=require(_0x7dc3('0x2'));var router=express[_0x7dc3('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x7dc3('0x4'));var interaction=require(_0x7dc3('0x5'));var config=require(_0x7dc3('0x6'));var controller=require(_0x7dc3('0x7'));router[_0x7dc3('0x8')]('/',auth[_0x7dc3('0x9')](),controller[_0x7dc3('0xa')]);router[_0x7dc3('0x8')]('/:id',auth[_0x7dc3('0x9')](),controller['show']);router[_0x7dc3('0x8')]('/:id/preview',auth['isAuthenticated'](),controller[_0x7dc3('0xb')]);router['get']('/:id/run',auth['isAuthenticated'](),controller[_0x7dc3('0xc')]);router[_0x7dc3('0x8')](_0x7dc3('0xd'),auth[_0x7dc3('0x9')](),controller['query']);router[_0x7dc3('0xe')]('/',auth['isAuthenticated'](),controller[_0x7dc3('0xf')]);router[_0x7dc3('0x10')](_0x7dc3('0x11'),auth[_0x7dc3('0x9')](),controller[_0x7dc3('0x12')]);router[_0x7dc3('0x13')](_0x7dc3('0x11'),auth[_0x7dc3('0x9')](),controller[_0x7dc3('0x14')]);module[_0x7dc3('0x15')]=router;