Built motion from commit (unavailable).|2.5.22
[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 _0x6a18=['create','put','/:id','update','delete','connect-timeout','express','../../components/auth/service','./analyticTreeReport.controller','get','isAuthenticated','show','post'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x6a18,0x1f3));var _0x86a1=function(_0xfafd3f,_0x32cae3){_0xfafd3f=_0xfafd3f-0x0;var _0x52e0f4=_0x6a18[_0xfafd3f];return _0x52e0f4;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x86a1('0x0'));var express=require(_0x86a1('0x1'));var router=express['Router']();var auth=require(_0x86a1('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x86a1('0x3'));router[_0x86a1('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0x86a1('0x4')]('/:id',auth[_0x86a1('0x5')](),controller[_0x86a1('0x6')]);router[_0x86a1('0x7')]('/',auth[_0x86a1('0x5')](),controller[_0x86a1('0x8')]);router[_0x86a1('0x9')](_0x86a1('0xa'),auth[_0x86a1('0x5')](),controller[_0x86a1('0xb')]);router[_0x86a1('0xc')](_0x86a1('0xa'),auth[_0x86a1('0x5')](),controller['destroy']);module['exports']=router;