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 _0xcdbc=['util','path','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','put','update','delete','destroy','exports'];(function(_0x2f6c38,_0x4b067a){var _0x66279f=function(_0x13c4b5){while(--_0x13c4b5){_0x2f6c38['push'](_0x2f6c38['shift']());}};_0x66279f(++_0x4b067a);}(_0xcdbc,0xee));var _0xccdb=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xcdbc[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require('multer');var util=require(_0xccdb('0x0'));var path=require(_0xccdb('0x1'));var timeout=require('connect-timeout');var express=require(_0xccdb('0x2'));var router=express['Router']();var fs_extra=require(_0xccdb('0x3'));var auth=require(_0xccdb('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xccdb('0x5'));var controller=require('./analyticTreeReport.controller');router[_0xccdb('0x6')]('/',auth[_0xccdb('0x7')](),controller[_0xccdb('0x8')]);router[_0xccdb('0x6')](_0xccdb('0x9'),auth[_0xccdb('0x7')](),controller[_0xccdb('0xa')]);router[_0xccdb('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0xccdb('0xc')](_0xccdb('0x9'),auth[_0xccdb('0x7')](),controller[_0xccdb('0xd')]);router[_0xccdb('0xe')](_0xccdb('0x9'),auth['isAuthenticated'](),controller[_0xccdb('0xf')]);module[_0xccdb('0x10')]=router;