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