Built motion from commit b5996064.|2.6.21
[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 _0xba73=['put','/:id','update','delete','destroy','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','./analyticTreeReport.controller','get','index','isAuthenticated','show','post','create'];(function(_0x12e003,_0x5e1999){var _0xd8bb77=function(_0x7711fd){while(--_0x7711fd){_0x12e003['push'](_0x12e003['shift']());}};_0xd8bb77(++_0x5e1999);}(_0xba73,0xa7));var _0x3ba7=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xba73[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require(_0x3ba7('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3ba7('0x1'));var express=require(_0x3ba7('0x2'));var router=express[_0x3ba7('0x3')]();var fs_extra=require(_0x3ba7('0x4'));var auth=require(_0x3ba7('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3ba7('0x6'));router[_0x3ba7('0x7')]('/',auth['isAuthenticated'](),controller[_0x3ba7('0x8')]);router[_0x3ba7('0x7')]('/:id',auth[_0x3ba7('0x9')](),controller[_0x3ba7('0xa')]);router[_0x3ba7('0xb')]('/',auth[_0x3ba7('0x9')](),controller[_0x3ba7('0xc')]);router[_0x3ba7('0xd')](_0x3ba7('0xe'),auth[_0x3ba7('0x9')](),controller[_0x3ba7('0xf')]);router[_0x3ba7('0x10')](_0x3ba7('0xe'),auth[_0x3ba7('0x9')](),controller[_0x3ba7('0x11')]);module['exports']=router;