Built motion from commit 00bf23f6.|2.6.16
[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 _0xf944=['../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','index','/:id','isAuthenticated','show','post','create','put','update','delete','path','connect-timeout','express','Router','fs-extra'];(function(_0x4e8236,_0x2d7147){var _0x14390f=function(_0x23fb0d){while(--_0x23fb0d){_0x4e8236['push'](_0x4e8236['shift']());}};_0x14390f(++_0x2d7147);}(_0xf944,0xcc));var _0x4f94=function(_0x106731,_0xd21e31){_0x106731=_0x106731-0x0;var _0x223f3a=_0xf944[_0x106731];return _0x223f3a;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4f94('0x0'));var timeout=require(_0x4f94('0x1'));var express=require(_0x4f94('0x2'));var router=express[_0x4f94('0x3')]();var fs_extra=require(_0x4f94('0x4'));var auth=require(_0x4f94('0x5'));var interaction=require(_0x4f94('0x6'));var config=require(_0x4f94('0x7'));var controller=require(_0x4f94('0x8'));router[_0x4f94('0x9')]('/',auth['isAuthenticated'](),controller[_0x4f94('0xa')]);router[_0x4f94('0x9')](_0x4f94('0xb'),auth[_0x4f94('0xc')](),controller[_0x4f94('0xd')]);router[_0x4f94('0xe')]('/',auth[_0x4f94('0xc')](),controller[_0x4f94('0xf')]);router[_0x4f94('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x4f94('0x11')]);router[_0x4f94('0x12')](_0x4f94('0xb'),auth[_0x4f94('0xc')](),controller['destroy']);module['exports']=router;