95cc89c350841cd68756055430c1aeaae00c60c0
[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 _0xbe3d=['../../components/interaction/service','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','show','put','update','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x1b8f33,_0x59227c){var _0x5919c5=function(_0x132d35){while(--_0x132d35){_0x1b8f33['push'](_0x1b8f33['shift']());}};_0x5919c5(++_0x59227c);}(_0xbe3d,0x89));var _0xdbe3=function(_0x11446a,_0x1e8460){_0x11446a=_0x11446a-0x0;var _0x3d1f82=_0xbe3d[_0x11446a];return _0x3d1f82;};'use strict';var multer=require('multer');var util=require(_0xdbe3('0x0'));var path=require(_0xdbe3('0x1'));var timeout=require(_0xdbe3('0x2'));var express=require(_0xdbe3('0x3'));var router=express[_0xdbe3('0x4')]();var fs_extra=require(_0xdbe3('0x5'));var auth=require(_0xdbe3('0x6'));var interaction=require(_0xdbe3('0x7'));var config=require('../../config/environment');var controller=require(_0xdbe3('0x8'));router[_0xdbe3('0x9')]('/',auth[_0xdbe3('0xa')](),controller[_0xdbe3('0xb')]);router[_0xdbe3('0x9')](_0xdbe3('0xc'),auth['isAuthenticated'](),controller[_0xdbe3('0xd')]);router['post']('/',auth[_0xdbe3('0xa')](),controller['create']);router[_0xdbe3('0xe')](_0xdbe3('0xc'),auth[_0xdbe3('0xa')](),controller[_0xdbe3('0xf')]);router['delete'](_0xdbe3('0xc'),auth[_0xdbe3('0xa')](),controller[_0xdbe3('0x10')]);module[_0xdbe3('0x11')]=router;