Built motion from commit (unavailable).|2.5.14
[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 _0xf0fc=['connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated','post','/:id','update','delete','destroy','multer','util','path'];(function(_0x2962d5,_0x38deda){var _0x273406=function(_0x3e0775){while(--_0x3e0775){_0x2962d5['push'](_0x2962d5['shift']());}};_0x273406(++_0x38deda);}(_0xf0fc,0x13d));var _0xcf0f=function(_0x34ec4c,_0x4ba6d0){_0x34ec4c=_0x34ec4c-0x0;var _0x51ea16=_0xf0fc[_0x34ec4c];return _0x51ea16;};'use strict';var multer=require(_0xcf0f('0x0'));var util=require(_0xcf0f('0x1'));var path=require(_0xcf0f('0x2'));var timeout=require(_0xcf0f('0x3'));var express=require(_0xcf0f('0x4'));var router=express[_0xcf0f('0x5')]();var auth=require(_0xcf0f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xcf0f('0x7'));var controller=require(_0xcf0f('0x8'));router[_0xcf0f('0x9')]('/',auth[_0xcf0f('0xa')](),controller['index']);router[_0xcf0f('0x9')]('/:id',auth[_0xcf0f('0xa')](),controller['show']);router[_0xcf0f('0xb')]('/',auth[_0xcf0f('0xa')](),controller['create']);router['put'](_0xcf0f('0xc'),auth[_0xcf0f('0xa')](),controller[_0xcf0f('0xd')]);router[_0xcf0f('0xe')](_0xcf0f('0xc'),auth[_0xcf0f('0xa')](),controller[_0xcf0f('0xf')]);module['exports']=router;