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 _0xc723=['show','post','update','delete','exports','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id'];(function(_0x45541a,_0x670a10){var _0x3a97e4=function(_0x140e20){while(--_0x140e20){_0x45541a['push'](_0x45541a['shift']());}};_0x3a97e4(++_0x670a10);}(_0xc723,0x104));var _0x3c72=function(_0x243b2f,_0x30aa15){_0x243b2f=_0x243b2f-0x0;var _0xcb3c2d=_0xc723[_0x243b2f];return _0xcb3c2d;};'use strict';var multer=require(_0x3c72('0x0'));var util=require('util');var path=require(_0x3c72('0x1'));var timeout=require(_0x3c72('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x3c72('0x3'));var auth=require(_0x3c72('0x4'));var interaction=require(_0x3c72('0x5'));var config=require(_0x3c72('0x6'));var controller=require('./analyticTreeReport.controller');router[_0x3c72('0x7')]('/',auth[_0x3c72('0x8')](),controller['index']);router['get'](_0x3c72('0x9'),auth['isAuthenticated'](),controller[_0x3c72('0xa')]);router[_0x3c72('0xb')]('/',auth[_0x3c72('0x8')](),controller['create']);router['put']('/:id',auth[_0x3c72('0x8')](),controller[_0x3c72('0xc')]);router[_0x3c72('0xd')](_0x3c72('0x9'),auth['isAuthenticated'](),controller['destroy']);module[_0x3c72('0xe')]=router;