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 _0x3aed=['update','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','show','post','create','put'];(function(_0x16c8b9,_0x1bce60){var _0x33834e=function(_0x39ab36){while(--_0x39ab36){_0x16c8b9['push'](_0x16c8b9['shift']());}};_0x33834e(++_0x1bce60);}(_0x3aed,0x168));var _0xd3ae=function(_0xa3463d,_0x32f8da){_0xa3463d=_0xa3463d-0x0;var _0x50fd67=_0x3aed[_0xa3463d];return _0x50fd67;};'use strict';var multer=require(_0xd3ae('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xd3ae('0x1'));var express=require(_0xd3ae('0x2'));var router=express[_0xd3ae('0x3')]();var auth=require(_0xd3ae('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xd3ae('0x5'));router[_0xd3ae('0x6')]('/',auth[_0xd3ae('0x7')](),controller[_0xd3ae('0x8')]);router[_0xd3ae('0x6')](_0xd3ae('0x9'),auth[_0xd3ae('0x7')](),controller[_0xd3ae('0xa')]);router[_0xd3ae('0xb')]('/',auth[_0xd3ae('0x7')](),controller[_0xd3ae('0xc')]);router[_0xd3ae('0xd')](_0xd3ae('0x9'),auth[_0xd3ae('0x7')](),controller[_0xd3ae('0xe')]);router['delete'](_0xd3ae('0x9'),auth[_0xd3ae('0x7')](),controller[_0xd3ae('0xf')]);module[_0xd3ae('0x10')]=router;