10301bd1a50ad81edbf1e77ddb7113e2854b5f6b
[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 _0x6154=['exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','isAuthenticated','index','get','/:id','show','post','create','put','delete','destroy'];(function(_0x3c4bea,_0x93bc5d){var _0x6829f7=function(_0xa2b1fd){while(--_0xa2b1fd){_0x3c4bea['push'](_0x3c4bea['shift']());}};_0x6829f7(++_0x93bc5d);}(_0x6154,0x99));var _0x4615=function(_0x27d039,_0x5925d7){_0x27d039=_0x27d039-0x0;var _0x529682=_0x6154[_0x27d039];return _0x529682;};'use strict';var multer=require(_0x4615('0x0'));var util=require(_0x4615('0x1'));var path=require(_0x4615('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x4615('0x3')]();var auth=require(_0x4615('0x4'));var interaction=require(_0x4615('0x5'));var config=require(_0x4615('0x6'));var controller=require(_0x4615('0x7'));router['get']('/',auth[_0x4615('0x8')](),controller[_0x4615('0x9')]);router[_0x4615('0xa')](_0x4615('0xb'),auth[_0x4615('0x8')](),controller[_0x4615('0xc')]);router[_0x4615('0xd')]('/',auth[_0x4615('0x8')](),controller[_0x4615('0xe')]);router[_0x4615('0xf')](_0x4615('0xb'),auth[_0x4615('0x8')](),controller['update']);router[_0x4615('0x10')](_0x4615('0xb'),auth[_0x4615('0x8')](),controller[_0x4615('0x11')]);module[_0x4615('0x12')]=router;