Built motion from commit (unavailable).|2.4.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 _0x87cd=['Router','../../components/auth/service','../../components/interaction/service','./analyticTreeReport.controller','get','isAuthenticated','/:id','show','post','create','put','destroy','multer','path','connect-timeout','express'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x87cd,0x1ec));var _0xd87c=function(_0x277683,_0x51b6a8){_0x277683=_0x277683-0x0;var _0x21f539=_0x87cd[_0x277683];return _0x21f539;};'use strict';var multer=require(_0xd87c('0x0'));var util=require('util');var path=require(_0xd87c('0x1'));var timeout=require(_0xd87c('0x2'));var express=require(_0xd87c('0x3'));var router=express[_0xd87c('0x4')]();var auth=require(_0xd87c('0x5'));var interaction=require(_0xd87c('0x6'));var config=require('../../config/environment');var controller=require(_0xd87c('0x7'));router[_0xd87c('0x8')]('/',auth[_0xd87c('0x9')](),controller['index']);router[_0xd87c('0x8')](_0xd87c('0xa'),auth[_0xd87c('0x9')](),controller[_0xd87c('0xb')]);router[_0xd87c('0xc')]('/',auth['isAuthenticated'](),controller[_0xd87c('0xd')]);router[_0xd87c('0xe')](_0xd87c('0xa'),auth[_0xd87c('0x9')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xd87c('0xf')]);module['exports']=router;