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 _0x4d92=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','put','/:id','update','get','/download_log_file','isAuthenticated','downloadLogFile','exports','util','connect-timeout'];(function(_0x2f5e13,_0xc51a47){var _0x3072a3=function(_0x338a31){while(--_0x338a31){_0x2f5e13['push'](_0x2f5e13['shift']());}};_0x3072a3(++_0xc51a47);}(_0x4d92,0x1eb));var _0x24d9=function(_0x5de8bf,_0x24e115){_0x5de8bf=_0x5de8bf-0x0;var _0x2be3e3=_0x4d92[_0x5de8bf];return _0x2be3e3;};'use strict';var multer=require('multer');var util=require(_0x24d9('0x0'));var path=require('path');var timeout=require(_0x24d9('0x1'));var express=require(_0x24d9('0x2'));var router=express[_0x24d9('0x3')]();var fs_extra=require(_0x24d9('0x4'));var auth=require(_0x24d9('0x5'));var interaction=require(_0x24d9('0x6'));var config=require(_0x24d9('0x7'));var controller=require(_0x24d9('0x8'));router['get']('/',controller['index']);router[_0x24d9('0x9')](_0x24d9('0xa'),auth['isAuthenticated'](),controller[_0x24d9('0xb')]);router[_0x24d9('0xc')](_0x24d9('0xd'),auth[_0x24d9('0xe')](),controller[_0x24d9('0xf')]);module[_0x24d9('0x10')]=router;