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 _0xde7f=['exports','connect-timeout','express','fs-extra','index','put','/:id','update','get','isAuthenticated','downloadLogFile'];(function(_0x485937,_0x2f1e24){var _0x31f2c3=function(_0x4a7a94){while(--_0x4a7a94){_0x485937['push'](_0x485937['shift']());}};_0x31f2c3(++_0x2f1e24);}(_0xde7f,0x1f0));var _0xfde7=function(_0x4ffa18,_0x5590fc){_0x4ffa18=_0x4ffa18-0x0;var _0x3ca133=_0xde7f[_0x4ffa18];return _0x3ca133;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xfde7('0x0'));var express=require(_0xfde7('0x1'));var router=express['Router']();var fs_extra=require(_0xfde7('0x2'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./license.controller');router['get']('/',controller[_0xfde7('0x3')]);router[_0xfde7('0x4')](_0xfde7('0x5'),auth['isAuthenticated'](),controller[_0xfde7('0x6')]);router[_0xfde7('0x7')]('/download_log_file',auth[_0xfde7('0x8')](),controller[_0xfde7('0x9')]);module[_0xfde7('0xa')]=router;