Built motion from commit 9d0783e6.|2.6.13
[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 _0x555a=['multer','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports'];(function(_0x862827,_0x47138b){var _0x4bea04=function(_0x2536bf){while(--_0x2536bf){_0x862827['push'](_0x862827['shift']());}};_0x4bea04(++_0x47138b);}(_0x555a,0x1d4));var _0xa555=function(_0x368a7d,_0x190e80){_0x368a7d=_0x368a7d-0x0;var _0x271079=_0x555a[_0x368a7d];return _0x271079;};'use strict';var multer=require(_0xa555('0x0'));var util=require(_0xa555('0x1'));var path=require('path');var timeout=require(_0xa555('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xa555('0x3'));var auth=require(_0xa555('0x4'));var interaction=require(_0xa555('0x5'));var config=require('../../config/environment');var controller=require(_0xa555('0x6'));router[_0xa555('0x7')]('/',auth[_0xa555('0x8')](),controller[_0xa555('0x9')]);router[_0xa555('0x7')](_0xa555('0xa'),auth[_0xa555('0x8')](),controller[_0xa555('0xb')]);router['post']('/',auth[_0xa555('0x8')](),controller[_0xa555('0xc')]);router[_0xa555('0xd')](_0xa555('0xa'),auth[_0xa555('0x8')](),controller[_0xa555('0xe')]);router[_0xa555('0xf')](_0xa555('0xa'),auth['isAuthenticated'](),controller[_0xa555('0x10')]);module[_0xa555('0x11')]=router;