Built motion from commit ff78e754.|2.6.29
[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 _0x492b=['../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra'];(function(_0x26ca6e,_0x2899b0){var _0x4d212e=function(_0x256bfd){while(--_0x256bfd){_0x26ca6e['push'](_0x26ca6e['shift']());}};_0x4d212e(++_0x2899b0);}(_0x492b,0x1dd));var _0xb492=function(_0x37d7b7,_0x485ab0){_0x37d7b7=_0x37d7b7-0x0;var _0x39bc31=_0x492b[_0x37d7b7];return _0x39bc31;};'use strict';var multer=require(_0xb492('0x0'));var util=require(_0xb492('0x1'));var path=require(_0xb492('0x2'));var timeout=require('connect-timeout');var express=require(_0xb492('0x3'));var router=express[_0xb492('0x4')]();var fs_extra=require(_0xb492('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xb492('0x6'));var config=require(_0xb492('0x7'));var controller=require(_0xb492('0x8'));router[_0xb492('0x9')]('/',auth[_0xb492('0xa')](),controller[_0xb492('0xb')]);router[_0xb492('0x9')](_0xb492('0xc'),auth['isAuthenticated'](),controller[_0xb492('0xd')]);router[_0xb492('0xe')]('/',auth[_0xb492('0xa')](),controller[_0xb492('0xf')]);router[_0xb492('0x10')](_0xb492('0xc'),auth[_0xb492('0xa')](),controller[_0xb492('0x11')]);router[_0xb492('0x12')](_0xb492('0xc'),auth[_0xb492('0xa')](),controller[_0xb492('0x13')]);module[_0xb492('0x14')]=router;