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 _0x6c10=['show','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','index','/:id','isAuthenticated'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6c10,0x1d5));var _0x06c1=function(_0x5d4f12,_0x11e67c){_0x5d4f12=_0x5d4f12-0x0;var _0x4eb577=_0x6c10[_0x5d4f12];return _0x4eb577;};'use strict';var multer=require(_0x06c1('0x0'));var util=require(_0x06c1('0x1'));var path=require(_0x06c1('0x2'));var timeout=require(_0x06c1('0x3'));var express=require(_0x06c1('0x4'));var router=express[_0x06c1('0x5')]();var fs_extra=require(_0x06c1('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x06c1('0x7'));var config=require(_0x06c1('0x8'));var controller=require(_0x06c1('0x9'));router[_0x06c1('0xa')]('/',auth['isAuthenticated'](),controller[_0x06c1('0xb')]);router[_0x06c1('0xa')](_0x06c1('0xc'),auth[_0x06c1('0xd')](),controller[_0x06c1('0xe')]);router[_0x06c1('0xf')]('/',auth[_0x06c1('0xd')](),controller[_0x06c1('0x10')]);router[_0x06c1('0x11')](_0x06c1('0xc'),auth[_0x06c1('0xd')](),controller[_0x06c1('0x12')]);router[_0x06c1('0x13')](_0x06c1('0xc'),auth[_0x06c1('0xd')](),controller['destroy']);module[_0x06c1('0x14')]=router;