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 _0x291a=['get','isAuthenticated','index','/:id','show','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./analyticTreeReport.controller'];(function(_0x4f6242,_0x108e3b){var _0x12dac4=function(_0x2e04a3){while(--_0x2e04a3){_0x4f6242['push'](_0x4f6242['shift']());}};_0x12dac4(++_0x108e3b);}(_0x291a,0xb8));var _0xa291=function(_0x370397,_0x4f2b07){_0x370397=_0x370397-0x0;var _0x2420ef=_0x291a[_0x370397];return _0x2420ef;};'use strict';var multer=require(_0xa291('0x0'));var util=require(_0xa291('0x1'));var path=require(_0xa291('0x2'));var timeout=require(_0xa291('0x3'));var express=require(_0xa291('0x4'));var router=express[_0xa291('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa291('0x6'));var controller=require(_0xa291('0x7'));router[_0xa291('0x8')]('/',auth[_0xa291('0x9')](),controller[_0xa291('0xa')]);router[_0xa291('0x8')](_0xa291('0xb'),auth[_0xa291('0x9')](),controller[_0xa291('0xc')]);router['post']('/',auth[_0xa291('0x9')](),controller['create']);router['put']('/:id',auth[_0xa291('0x9')](),controller['update']);router[_0xa291('0xd')](_0xa291('0xb'),auth[_0xa291('0x9')](),controller[_0xa291('0xe')]);module[_0xa291('0xf')]=router;