1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xe1cf=['create','update','delete','exports','multer','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','show'];(function(_0x50ad27,_0x984993){var _0x203d36=function(_0x42b068){while(--_0x42b068){_0x50ad27['push'](_0x50ad27['shift']());}};_0x203d36(++_0x984993);}(_0xe1cf,0x194));var _0xfe1c=function(_0x4dbf53,_0x3213ea){_0x4dbf53=_0x4dbf53-0x0;var _0x269abc=_0xe1cf[_0x4dbf53];return _0x269abc;};'use strict';var multer=require(_0xfe1c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xfe1c('0x1'));var express=require(_0xfe1c('0x2'));var router=express['Router']();var fs_extra=require(_0xfe1c('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xfe1c('0x4'));var config=require(_0xfe1c('0x5'));var controller=require(_0xfe1c('0x6'));router[_0xfe1c('0x7')]('/',auth[_0xfe1c('0x8')](),controller[_0xfe1c('0x9')]);router['get'](_0xfe1c('0xa'),auth['isAuthenticated'](),controller[_0xfe1c('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0xfe1c('0xc')]);router['put'](_0xfe1c('0xa'),auth[_0xfe1c('0x8')](),controller[_0xfe1c('0xd')]);router[_0xfe1c('0xe')](_0xfe1c('0xa'),auth[_0xfe1c('0x8')](),controller['destroy']);module[_0xfe1c('0xf')]=router;