Built motion from commit 10af8726.|2.6.34
[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 _0x297a=['isAuthenticated','show','post','create','put','update','delete','/:id','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','index'];(function(_0x314a4b,_0x3e2328){var _0x57a9ef=function(_0x2e802a){while(--_0x2e802a){_0x314a4b['push'](_0x314a4b['shift']());}};_0x57a9ef(++_0x3e2328);}(_0x297a,0xf8));var _0xa297=function(_0x58c3a3,_0x5f45a9){_0x58c3a3=_0x58c3a3-0x0;var _0x186446=_0x297a[_0x58c3a3];return _0x186446;};'use strict';var multer=require(_0xa297('0x0'));var util=require(_0xa297('0x1'));var path=require(_0xa297('0x2'));var timeout=require(_0xa297('0x3'));var express=require(_0xa297('0x4'));var router=express['Router']();var fs_extra=require(_0xa297('0x5'));var auth=require(_0xa297('0x6'));var interaction=require(_0xa297('0x7'));var config=require(_0xa297('0x8'));var controller=require(_0xa297('0x9'));router[_0xa297('0xa')]('/',auth['isAuthenticated'](),controller[_0xa297('0xb')]);router[_0xa297('0xa')]('/:id',auth[_0xa297('0xc')](),controller[_0xa297('0xd')]);router[_0xa297('0xe')]('/',auth[_0xa297('0xc')](),controller[_0xa297('0xf')]);router[_0xa297('0x10')]('/:id',auth[_0xa297('0xc')](),controller[_0xa297('0x11')]);router[_0xa297('0x12')](_0xa297('0x13'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;