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 _0xcd54=['get','downloadLogFile','exports','multer','path','connect-timeout','express','Router','../../config/environment','./license.controller','index','put','/:id','isAuthenticated'];(function(_0x30592f,_0x2b3b17){var _0x2b1bab=function(_0x3d1eb6){while(--_0x3d1eb6){_0x30592f['push'](_0x30592f['shift']());}};_0x2b1bab(++_0x2b3b17);}(_0xcd54,0x9d));var _0x4cd5=function(_0x1f851a,_0x4758c6){_0x1f851a=_0x1f851a-0x0;var _0x5140a8=_0xcd54[_0x1f851a];return _0x5140a8;};'use strict';var multer=require(_0x4cd5('0x0'));var util=require('util');var path=require(_0x4cd5('0x1'));var timeout=require(_0x4cd5('0x2'));var express=require(_0x4cd5('0x3'));var router=express[_0x4cd5('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4cd5('0x5'));var controller=require(_0x4cd5('0x6'));router['get']('/',controller[_0x4cd5('0x7')]);router[_0x4cd5('0x8')](_0x4cd5('0x9'),auth[_0x4cd5('0xa')](),controller['update']);router[_0x4cd5('0xb')]('/download_log_file',auth[_0x4cd5('0xa')](),controller[_0x4cd5('0xc')]);module[_0x4cd5('0xd')]=router;