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