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 _0x4b9a=['util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/:id','show','post','put','delete','destroy','multer'];(function(_0x30a976,_0x1df714){var _0x67299a=function(_0x20f909){while(--_0x20f909){_0x30a976['push'](_0x30a976['shift']());}};_0x67299a(++_0x1df714);}(_0x4b9a,0x1d0));var _0xa4b9=function(_0x4d767f,_0x4473ec){_0x4d767f=_0x4d767f-0x0;var _0x3b096d=_0x4b9a[_0x4d767f];return _0x3b096d;};'use strict';var multer=require(_0xa4b9('0x0'));var util=require(_0xa4b9('0x1'));var path=require(_0xa4b9('0x2'));var timeout=require(_0xa4b9('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xa4b9('0x4'));var auth=require(_0xa4b9('0x5'));var interaction=require(_0xa4b9('0x6'));var config=require('../../config/environment');var controller=require('./analyticTreeReport.controller');router[_0xa4b9('0x7')]('/',auth[_0xa4b9('0x8')](),controller['index']);router['get'](_0xa4b9('0x9'),auth['isAuthenticated'](),controller[_0xa4b9('0xa')]);router[_0xa4b9('0xb')]('/',auth[_0xa4b9('0x8')](),controller['create']);router[_0xa4b9('0xc')](_0xa4b9('0x9'),auth[_0xa4b9('0x8')](),controller['update']);router[_0xa4b9('0xd')](_0xa4b9('0x9'),auth[_0xa4b9('0x8')](),controller[_0xa4b9('0xe')]);module['exports']=router;