Built motion from commit (unavailable).|2.3.1
[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 _0x57b3=['update','delete','destroy','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','post','create','put','/:id'];(function(_0x31a16a,_0x1d60e3){var _0x21c892=function(_0x5b25f6){while(--_0x5b25f6){_0x31a16a['push'](_0x31a16a['shift']());}};_0x21c892(++_0x1d60e3);}(_0x57b3,0x93));var _0x357b=function(_0x59a4f1,_0x2fadda){_0x59a4f1=_0x59a4f1-0x0;var _0x23dd94=_0x57b3[_0x59a4f1];return _0x23dd94;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x357b('0x0'));var timeout=require('connect-timeout');var express=require(_0x357b('0x1'));var router=express[_0x357b('0x2')]();var auth=require(_0x357b('0x3'));var interaction=require(_0x357b('0x4'));var config=require(_0x357b('0x5'));var controller=require('./analyticTreeReport.controller');router[_0x357b('0x6')]('/',auth[_0x357b('0x7')](),controller['index']);router[_0x357b('0x6')]('/:id',auth[_0x357b('0x7')](),controller[_0x357b('0x8')]);router[_0x357b('0x9')]('/',auth[_0x357b('0x7')](),controller[_0x357b('0xa')]);router[_0x357b('0xb')](_0x357b('0xc'),auth[_0x357b('0x7')](),controller[_0x357b('0xd')]);router[_0x357b('0xe')](_0x357b('0xc'),auth[_0x357b('0x7')](),controller[_0x357b('0xf')]);module['exports']=router;