Built motion from commit d1eab355.|2.6.28
[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 _0x4828=['../../config/environment','index','get','/:id','isAuthenticated','show','post','create','put','destroy','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0xbaf959,_0x9dce66){var _0x177efc=function(_0x1a8a9e){while(--_0x1a8a9e){_0xbaf959['push'](_0xbaf959['shift']());}};_0x177efc(++_0x9dce66);}(_0x4828,0x1aa));var _0x8482=function(_0x16e7c7,_0x24a48f){_0x16e7c7=_0x16e7c7-0x0;var _0x38e003=_0x4828[_0x16e7c7];return _0x38e003;};'use strict';var multer=require(_0x8482('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x8482('0x1'));var express=require(_0x8482('0x2'));var router=express[_0x8482('0x3')]();var fs_extra=require(_0x8482('0x4'));var auth=require(_0x8482('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8482('0x6'));var controller=require('./analyticTreeReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x8482('0x7')]);router[_0x8482('0x8')](_0x8482('0x9'),auth[_0x8482('0xa')](),controller[_0x8482('0xb')]);router[_0x8482('0xc')]('/',auth['isAuthenticated'](),controller[_0x8482('0xd')]);router[_0x8482('0xe')](_0x8482('0x9'),auth[_0x8482('0xa')](),controller['update']);router['delete'](_0x8482('0x9'),auth[_0x8482('0xa')](),controller[_0x8482('0xf')]);module['exports']=router;