Built motion from commit (unavailable).|2.5.14
[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 _0x1fa8=['Router','../../components/auth/service','../../config/environment','get','/:id','isAuthenticated','show','preview','/:id/run','run','/:id/query','query','post','create','update','delete','exports','path','express'];(function(_0x303327,_0x1809d3){var _0x3b8fe3=function(_0x4a512a){while(--_0x4a512a){_0x303327['push'](_0x303327['shift']());}};_0x3b8fe3(++_0x1809d3);}(_0x1fa8,0x108));var _0x81fa=function(_0x416541,_0xc1193a){_0x416541=_0x416541-0x0;var _0x1206c9=_0x1fa8[_0x416541];return _0x1206c9;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x81fa('0x0'));var timeout=require('connect-timeout');var express=require(_0x81fa('0x1'));var router=express[_0x81fa('0x2')]();var auth=require(_0x81fa('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x81fa('0x4'));var controller=require('./analyticDefaultReport.controller');router[_0x81fa('0x5')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x81fa('0x6'),auth[_0x81fa('0x7')](),controller[_0x81fa('0x8')]);router[_0x81fa('0x5')]('/:id/preview',auth[_0x81fa('0x7')](),controller[_0x81fa('0x9')]);router[_0x81fa('0x5')](_0x81fa('0xa'),auth[_0x81fa('0x7')](),controller[_0x81fa('0xb')]);router[_0x81fa('0x5')](_0x81fa('0xc'),auth[_0x81fa('0x7')](),controller[_0x81fa('0xd')]);router[_0x81fa('0xe')]('/',auth[_0x81fa('0x7')](),controller[_0x81fa('0xf')]);router['put']('/:id',auth[_0x81fa('0x7')](),controller[_0x81fa('0x10')]);router[_0x81fa('0x11')](_0x81fa('0x6'),auth[_0x81fa('0x7')](),controller['destroy']);module[_0x81fa('0x12')]=router;