Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / analyticTreeReport / 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 _0x2d6e=['isAuthenticated','index','/:id','post','create','put','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticTreeReport.controller','get'];(function(_0x1460f6,_0x59051a){var _0x46ce94=function(_0x1c3ddf){while(--_0x1c3ddf){_0x1460f6['push'](_0x1460f6['shift']());}};_0x46ce94(++_0x59051a);}(_0x2d6e,0xe2));var _0xe2d6=function(_0x9945ba,_0x2f9ff7){_0x9945ba=_0x9945ba-0x0;var _0x19ba49=_0x2d6e[_0x9945ba];return _0x19ba49;};'use strict';var multer=require(_0xe2d6('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xe2d6('0x1'));var express=require(_0xe2d6('0x2'));var router=express[_0xe2d6('0x3')]();var auth=require(_0xe2d6('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xe2d6('0x5'));var controller=require(_0xe2d6('0x6'));router[_0xe2d6('0x7')]('/',auth[_0xe2d6('0x8')](),controller[_0xe2d6('0x9')]);router['get'](_0xe2d6('0xa'),auth[_0xe2d6('0x8')](),controller['show']);router[_0xe2d6('0xb')]('/',auth[_0xe2d6('0x8')](),controller[_0xe2d6('0xc')]);router[_0xe2d6('0xd')](_0xe2d6('0xa'),auth['isAuthenticated'](),controller[_0xe2d6('0xe')]);router[_0xe2d6('0xf')]('/:id',auth[_0xe2d6('0x8')](),controller[_0xe2d6('0x10')]);module[_0xe2d6('0x11')]=router;