Built motion from commit (unavailable).|2.5.15
[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 _0xbf08=['express','Router','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated','index','show','post','/:id','delete','destroy','exports','util','path','connect-timeout'];(function(_0x35761d,_0x3a1cbf){var _0x381548=function(_0x37b56e){while(--_0x37b56e){_0x35761d['push'](_0x35761d['shift']());}};_0x381548(++_0x3a1cbf);}(_0xbf08,0x184));var _0x8bf0=function(_0x7111b5,_0x11fa9c){_0x7111b5=_0x7111b5-0x0;var _0x238d1d=_0xbf08[_0x7111b5];return _0x238d1d;};'use strict';var multer=require('multer');var util=require(_0x8bf0('0x0'));var path=require(_0x8bf0('0x1'));var timeout=require(_0x8bf0('0x2'));var express=require(_0x8bf0('0x3'));var router=express[_0x8bf0('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x8bf0('0x5'));var config=require(_0x8bf0('0x6'));var controller=require(_0x8bf0('0x7'));router[_0x8bf0('0x8')]('/',auth[_0x8bf0('0x9')](),controller[_0x8bf0('0xa')]);router['get']('/:id',auth[_0x8bf0('0x9')](),controller[_0x8bf0('0xb')]);router[_0x8bf0('0xc')]('/',auth[_0x8bf0('0x9')](),controller['create']);router['put'](_0x8bf0('0xd'),auth[_0x8bf0('0x9')](),controller['update']);router[_0x8bf0('0xe')](_0x8bf0('0xd'),auth[_0x8bf0('0x9')](),controller[_0x8bf0('0xf')]);module[_0x8bf0('0x10')]=router;