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 _0x5e30=['../../config/environment','get','index','put','isAuthenticated','update','/download_log_file','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x5e30,0x1ca));var _0x05e3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5e30[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x05e3('0x0'));var util=require(_0x05e3('0x1'));var path=require(_0x05e3('0x2'));var timeout=require(_0x05e3('0x3'));var express=require(_0x05e3('0x4'));var router=express['Router']();var fs_extra=require(_0x05e3('0x5'));var auth=require(_0x05e3('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x05e3('0x7'));var controller=require('./license.controller');router[_0x05e3('0x8')]('/',controller[_0x05e3('0x9')]);router[_0x05e3('0xa')]('/:id',auth[_0x05e3('0xb')](),controller[_0x05e3('0xc')]);router['get'](_0x05e3('0xd'),auth[_0x05e3('0xb')](),controller['downloadLogFile']);module[_0x05e3('0xe')]=router;