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 _0xd062=['path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','get','index','/:id','isAuthenticated','update','/download_log_file','downloadLogFile','exports','multer','util'];(function(_0x21d650,_0x34649d){var _0x5e50a3=function(_0x590642){while(--_0x590642){_0x21d650['push'](_0x21d650['shift']());}};_0x5e50a3(++_0x34649d);}(_0xd062,0x13e));var _0x2d06=function(_0x3364e1,_0x45966d){_0x3364e1=_0x3364e1-0x0;var _0x1e5e03=_0xd062[_0x3364e1];return _0x1e5e03;};'use strict';var multer=require(_0x2d06('0x0'));var util=require(_0x2d06('0x1'));var path=require(_0x2d06('0x2'));var timeout=require(_0x2d06('0x3'));var express=require(_0x2d06('0x4'));var router=express[_0x2d06('0x5')]();var fs_extra=require(_0x2d06('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x2d06('0x7'));var config=require('../../config/environment');var controller=require('./license.controller');router[_0x2d06('0x8')]('/',controller[_0x2d06('0x9')]);router['put'](_0x2d06('0xa'),auth[_0x2d06('0xb')](),controller[_0x2d06('0xc')]);router[_0x2d06('0x8')](_0x2d06('0xd'),auth[_0x2d06('0xb')](),controller[_0x2d06('0xe')]);module[_0x2d06('0xf')]=router;