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 _0x3919=['../../config/environment','./analyticTreeReport.controller','index','get','/:id','isAuthenticated','show','post','create','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2d1e8b,_0x1e702a){var _0x591f19=function(_0xccd29c){while(--_0xccd29c){_0x2d1e8b['push'](_0x2d1e8b['shift']());}};_0x591f19(++_0x1e702a);}(_0x3919,0xad));var _0x9391=function(_0x47bcbe,_0x3ab838){_0x47bcbe=_0x47bcbe-0x0;var _0x667e0f=_0x3919[_0x47bcbe];return _0x667e0f;};'use strict';var multer=require(_0x9391('0x0'));var util=require(_0x9391('0x1'));var path=require(_0x9391('0x2'));var timeout=require('connect-timeout');var express=require(_0x9391('0x3'));var router=express[_0x9391('0x4')]();var auth=require(_0x9391('0x5'));var interaction=require(_0x9391('0x6'));var config=require(_0x9391('0x7'));var controller=require(_0x9391('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x9391('0x9')]);router[_0x9391('0xa')](_0x9391('0xb'),auth[_0x9391('0xc')](),controller[_0x9391('0xd')]);router[_0x9391('0xe')]('/',auth[_0x9391('0xc')](),controller[_0x9391('0xf')]);router['put'](_0x9391('0xb'),auth[_0x9391('0xc')](),controller['update']);router['delete'](_0x9391('0xb'),auth[_0x9391('0xc')](),controller[_0x9391('0x10')]);module[_0x9391('0x11')]=router;