Built motion from commit e0fa946e.|2.6.5
[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 _0x81f4=['create','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','post'];(function(_0x4ad553,_0x586c5a){var _0x136750=function(_0x11dfbc){while(--_0x11dfbc){_0x4ad553['push'](_0x4ad553['shift']());}};_0x136750(++_0x586c5a);}(_0x81f4,0x9d));var _0x481f=function(_0x304412,_0x5c775c){_0x304412=_0x304412-0x0;var _0x3a52fa=_0x81f4[_0x304412];return _0x3a52fa;};'use strict';var multer=require(_0x481f('0x0'));var util=require(_0x481f('0x1'));var path=require(_0x481f('0x2'));var timeout=require(_0x481f('0x3'));var express=require(_0x481f('0x4'));var router=express[_0x481f('0x5')]();var fs_extra=require(_0x481f('0x6'));var auth=require(_0x481f('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x481f('0x8'));router[_0x481f('0x9')]('/',auth[_0x481f('0xa')](),controller[_0x481f('0xb')]);router[_0x481f('0x9')](_0x481f('0xc'),auth[_0x481f('0xa')](),controller['show']);router[_0x481f('0xd')]('/',auth[_0x481f('0xa')](),controller[_0x481f('0xe')]);router[_0x481f('0xf')](_0x481f('0xc'),auth[_0x481f('0xa')](),controller[_0x481f('0x10')]);router[_0x481f('0x11')](_0x481f('0xc'),auth[_0x481f('0xa')](),controller[_0x481f('0x12')]);module['exports']=router;