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 _0x7e8a=['get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticTreeReport.controller'];(function(_0x43736d,_0x13e29d){var _0x9cee86=function(_0x1e1096){while(--_0x1e1096){_0x43736d['push'](_0x43736d['shift']());}};_0x9cee86(++_0x13e29d);}(_0x7e8a,0xbf));var _0xa7e8=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0x7e8a[_0x12fc8d];return _0x3f9d04;};'use strict';var multer=require('multer');var util=require(_0xa7e8('0x0'));var path=require(_0xa7e8('0x1'));var timeout=require(_0xa7e8('0x2'));var express=require(_0xa7e8('0x3'));var router=express[_0xa7e8('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa7e8('0x5'));var interaction=require(_0xa7e8('0x6'));var config=require(_0xa7e8('0x7'));var controller=require(_0xa7e8('0x8'));router[_0xa7e8('0x9')]('/',auth[_0xa7e8('0xa')](),controller[_0xa7e8('0xb')]);router['get'](_0xa7e8('0xc'),auth[_0xa7e8('0xa')](),controller[_0xa7e8('0xd')]);router['post']('/',auth[_0xa7e8('0xa')](),controller[_0xa7e8('0xe')]);router[_0xa7e8('0xf')](_0xa7e8('0xc'),auth['isAuthenticated'](),controller[_0xa7e8('0x10')]);router[_0xa7e8('0x11')](_0xa7e8('0xc'),auth[_0xa7e8('0xa')](),controller[_0xa7e8('0x12')]);module[_0xa7e8('0x13')]=router;