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 _0x9204=['get','index','put','isAuthenticated','update','/download_log_file','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x170ace,_0xb66655){var _0x515837=function(_0x28f658){while(--_0x28f658){_0x170ace['push'](_0x170ace['shift']());}};_0x515837(++_0xb66655);}(_0x9204,0xf7));var _0x4920=function(_0x208dcd,_0x2559e1){_0x208dcd=_0x208dcd-0x0;var _0x4d74c4=_0x9204[_0x208dcd];return _0x4d74c4;};'use strict';var multer=require('multer');var util=require(_0x4920('0x0'));var path=require(_0x4920('0x1'));var timeout=require('connect-timeout');var express=require(_0x4920('0x2'));var router=express[_0x4920('0x3')]();var fs_extra=require(_0x4920('0x4'));var auth=require(_0x4920('0x5'));var interaction=require(_0x4920('0x6'));var config=require(_0x4920('0x7'));var controller=require('./license.controller');router[_0x4920('0x8')]('/',controller[_0x4920('0x9')]);router[_0x4920('0xa')]('/:id',auth[_0x4920('0xb')](),controller[_0x4920('0xc')]);router['get'](_0x4920('0xd'),auth[_0x4920('0xb')](),controller['downloadLogFile']);module[_0x4920('0xe')]=router;