1a82d6ce39ed70ba4f36a26eefcc23aff1dd1bc5
[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 _0x0fa8=['destroy','exports','multer','util','connect-timeout','../../components/auth/service','../../components/interaction/service','./analyticTreeReport.controller','get','isAuthenticated','index','show','post','create','put','update','delete','/:id'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x0fa8,0x17c));var _0x80fa=function(_0x4441cf,_0x4509a6){_0x4441cf=_0x4441cf-0x0;var _0x3b8877=_0x0fa8[_0x4441cf];return _0x3b8877;};'use strict';var multer=require(_0x80fa('0x0'));var util=require(_0x80fa('0x1'));var path=require('path');var timeout=require(_0x80fa('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x80fa('0x3'));var interaction=require(_0x80fa('0x4'));var config=require('../../config/environment');var controller=require(_0x80fa('0x5'));router[_0x80fa('0x6')]('/',auth[_0x80fa('0x7')](),controller[_0x80fa('0x8')]);router[_0x80fa('0x6')]('/:id',auth[_0x80fa('0x7')](),controller[_0x80fa('0x9')]);router[_0x80fa('0xa')]('/',auth['isAuthenticated'](),controller[_0x80fa('0xb')]);router[_0x80fa('0xc')]('/:id',auth[_0x80fa('0x7')](),controller[_0x80fa('0xd')]);router[_0x80fa('0xe')](_0x80fa('0xf'),auth[_0x80fa('0x7')](),controller[_0x80fa('0x10')]);module[_0x80fa('0x11')]=router;