Built motion from commit (unavailable).|2.4.18
[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 _0x4325=['show','post','create','put','update','delete','exports','Router','../../components/auth/service','../../components/interaction/service','./analyticTreeReport.controller','get','isAuthenticated','/:id'];(function(_0x3dc1a3,_0x5d832a){var _0x522289=function(_0x26e580){while(--_0x26e580){_0x3dc1a3['push'](_0x3dc1a3['shift']());}};_0x522289(++_0x5d832a);}(_0x4325,0x181));var _0x5432=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x4325[_0x2641f9];return _0x585741;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x5432('0x0')]();var auth=require(_0x5432('0x1'));var interaction=require(_0x5432('0x2'));var config=require('../../config/environment');var controller=require(_0x5432('0x3'));router[_0x5432('0x4')]('/',auth[_0x5432('0x5')](),controller['index']);router['get'](_0x5432('0x6'),auth[_0x5432('0x5')](),controller[_0x5432('0x7')]);router[_0x5432('0x8')]('/',auth[_0x5432('0x5')](),controller[_0x5432('0x9')]);router[_0x5432('0xa')](_0x5432('0x6'),auth['isAuthenticated'](),controller[_0x5432('0xb')]);router[_0x5432('0xc')](_0x5432('0x6'),auth['isAuthenticated'](),controller['destroy']);module[_0x5432('0xd')]=router;