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 _0x4c92=['multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./license.controller','index','put','/:id','isAuthenticated','get','/download_log_file'];(function(_0x52437e,_0x22f852){var _0x354f89=function(_0xd81d2e){while(--_0xd81d2e){_0x52437e['push'](_0x52437e['shift']());}};_0x354f89(++_0x22f852);}(_0x4c92,0x13b));var _0x24c9=function(_0x5e4b66,_0x5af424){_0x5e4b66=_0x5e4b66-0x0;var _0x43e4e0=_0x4c92[_0x5e4b66];return _0x43e4e0;};'use strict';var multer=require(_0x24c9('0x0'));var util=require(_0x24c9('0x1'));var path=require(_0x24c9('0x2'));var timeout=require('connect-timeout');var express=require(_0x24c9('0x3'));var router=express[_0x24c9('0x4')]();var fs_extra=require(_0x24c9('0x5'));var auth=require(_0x24c9('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x24c9('0x7'));var controller=require(_0x24c9('0x8'));router['get']('/',controller[_0x24c9('0x9')]);router[_0x24c9('0xa')](_0x24c9('0xb'),auth[_0x24c9('0xc')](),controller['update']);router[_0x24c9('0xd')](_0x24c9('0xe'),auth[_0x24c9('0xc')](),controller['downloadLogFile']);module['exports']=router;