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 _0xf5f9=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller','get','isAuthenticated','index','/:id','show','put','update','delete','destroy','exports','util','path','connect-timeout'];(function(_0xe334ff,_0x292181){var _0x2f4c66=function(_0x55a29f){while(--_0x55a29f){_0xe334ff['push'](_0xe334ff['shift']());}};_0x2f4c66(++_0x292181);}(_0xf5f9,0x11a));var _0x9f5f=function(_0x74ca2b,_0x1707df){_0x74ca2b=_0x74ca2b-0x0;var _0x381195=_0xf5f9[_0x74ca2b];return _0x381195;};'use strict';var multer=require('multer');var util=require(_0x9f5f('0x0'));var path=require(_0x9f5f('0x1'));var timeout=require(_0x9f5f('0x2'));var express=require(_0x9f5f('0x3'));var router=express['Router']();var fs_extra=require(_0x9f5f('0x4'));var auth=require(_0x9f5f('0x5'));var interaction=require(_0x9f5f('0x6'));var config=require(_0x9f5f('0x7'));var controller=require(_0x9f5f('0x8'));router[_0x9f5f('0x9')]('/',auth[_0x9f5f('0xa')](),controller[_0x9f5f('0xb')]);router[_0x9f5f('0x9')](_0x9f5f('0xc'),auth[_0x9f5f('0xa')](),controller[_0x9f5f('0xd')]);router['post']('/',auth[_0x9f5f('0xa')](),controller['create']);router[_0x9f5f('0xe')](_0x9f5f('0xc'),auth[_0x9f5f('0xa')](),controller[_0x9f5f('0xf')]);router[_0x9f5f('0x10')]('/:id',auth[_0x9f5f('0xa')](),controller[_0x9f5f('0x11')]);module[_0x9f5f('0x12')]=router;