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 _0xb405=['put','/:id','/download_log_file','isAuthenticated','downloadLogFile','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./license.controller','get','index'];(function(_0x19e049,_0x4a4067){var _0x593bcc=function(_0x108e51){while(--_0x108e51){_0x19e049['push'](_0x19e049['shift']());}};_0x593bcc(++_0x4a4067);}(_0xb405,0xd2));var _0x5b40=function(_0x15cdb1,_0xf25896){_0x15cdb1=_0x15cdb1-0x0;var _0xcaef50=_0xb405[_0x15cdb1];return _0xcaef50;};'use strict';var multer=require(_0x5b40('0x0'));var util=require(_0x5b40('0x1'));var path=require(_0x5b40('0x2'));var timeout=require(_0x5b40('0x3'));var express=require(_0x5b40('0x4'));var router=express[_0x5b40('0x5')]();var fs_extra=require(_0x5b40('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x5b40('0x7'));var config=require('../../config/environment');var controller=require(_0x5b40('0x8'));router[_0x5b40('0x9')]('/',controller[_0x5b40('0xa')]);router[_0x5b40('0xb')](_0x5b40('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x5b40('0x9')](_0x5b40('0xd'),auth[_0x5b40('0xe')](),controller[_0x5b40('0xf')]);module[_0x5b40('0x10')]=router;