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 _0xca77=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','isAuthenticated','index','get','/:id','show','post','create','update','delete','exports','util'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0xca77,0x164));var _0x7ca7=function(_0x482c71,_0x49af9d){_0x482c71=_0x482c71-0x0;var _0x4dae32=_0xca77[_0x482c71];return _0x4dae32;};'use strict';var multer=require('multer');var util=require(_0x7ca7('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7ca7('0x1'));var router=express['Router']();var fs_extra=require(_0x7ca7('0x2'));var auth=require(_0x7ca7('0x3'));var interaction=require(_0x7ca7('0x4'));var config=require(_0x7ca7('0x5'));var controller=require(_0x7ca7('0x6'));router['get']('/',auth[_0x7ca7('0x7')](),controller[_0x7ca7('0x8')]);router[_0x7ca7('0x9')](_0x7ca7('0xa'),auth[_0x7ca7('0x7')](),controller[_0x7ca7('0xb')]);router[_0x7ca7('0xc')]('/',auth[_0x7ca7('0x7')](),controller[_0x7ca7('0xd')]);router['put'](_0x7ca7('0xa'),auth['isAuthenticated'](),controller[_0x7ca7('0xe')]);router[_0x7ca7('0xf')]('/:id',auth[_0x7ca7('0x7')](),controller['destroy']);module[_0x7ca7('0x10')]=router;