Built motion from commit 06eb8eb0.|2.6.31
[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 _0x0cab=['Router','../../components/auth/service','../../components/interaction/service','./analyticTreeReport.controller','isAuthenticated','index','get','/:id','post','create','update','delete','destroy','multer','util','connect-timeout','express'];(function(_0x4a5438,_0x19aa59){var _0x35a70d=function(_0x42b805){while(--_0x42b805){_0x4a5438['push'](_0x4a5438['shift']());}};_0x35a70d(++_0x19aa59);}(_0x0cab,0x1b6));var _0xb0ca=function(_0x351e3d,_0x13c1f4){_0x351e3d=_0x351e3d-0x0;var _0x2d1b16=_0x0cab[_0x351e3d];return _0x2d1b16;};'use strict';var multer=require(_0xb0ca('0x0'));var util=require(_0xb0ca('0x1'));var path=require('path');var timeout=require(_0xb0ca('0x2'));var express=require(_0xb0ca('0x3'));var router=express[_0xb0ca('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb0ca('0x5'));var interaction=require(_0xb0ca('0x6'));var config=require('../../config/environment');var controller=require(_0xb0ca('0x7'));router['get']('/',auth[_0xb0ca('0x8')](),controller[_0xb0ca('0x9')]);router[_0xb0ca('0xa')](_0xb0ca('0xb'),auth[_0xb0ca('0x8')](),controller['show']);router[_0xb0ca('0xc')]('/',auth[_0xb0ca('0x8')](),controller[_0xb0ca('0xd')]);router['put']('/:id',auth[_0xb0ca('0x8')](),controller[_0xb0ca('0xe')]);router[_0xb0ca('0xf')]('/:id',auth[_0xb0ca('0x8')](),controller[_0xb0ca('0x10')]);module['exports']=router;