Built motion from commit 37e1ed56.|2.6.29
[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 _0xd76c=['get','isAuthenticated','index','/:id','show','post','create','put','update','delete','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller'];(function(_0x5447fd,_0x52a6b5){var _0x15b28a=function(_0x370d4f){while(--_0x370d4f){_0x5447fd['push'](_0x5447fd['shift']());}};_0x15b28a(++_0x52a6b5);}(_0xd76c,0x184));var _0xcd76=function(_0x1d7037,_0x57dd95){_0x1d7037=_0x1d7037-0x0;var _0x4d6568=_0xd76c[_0x1d7037];return _0x4d6568;};'use strict';var multer=require(_0xcd76('0x0'));var util=require(_0xcd76('0x1'));var path=require(_0xcd76('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xcd76('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xcd76('0x4'));var interaction=require(_0xcd76('0x5'));var config=require(_0xcd76('0x6'));var controller=require(_0xcd76('0x7'));router[_0xcd76('0x8')]('/',auth[_0xcd76('0x9')](),controller[_0xcd76('0xa')]);router['get'](_0xcd76('0xb'),auth[_0xcd76('0x9')](),controller[_0xcd76('0xc')]);router[_0xcd76('0xd')]('/',auth[_0xcd76('0x9')](),controller[_0xcd76('0xe')]);router[_0xcd76('0xf')]('/:id',auth[_0xcd76('0x9')](),controller[_0xcd76('0x10')]);router[_0xcd76('0x11')](_0xcd76('0xb'),auth[_0xcd76('0x9')](),controller['destroy']);module['exports']=router;