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