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 _0x688d=['update','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','put','/:id','isAuthenticated'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x688d,0xe2));var _0xd688=function(_0x51a01c,_0x24549e){_0x51a01c=_0x51a01c-0x0;var _0x5ee105=_0x688d[_0x51a01c];return _0x5ee105;};'use strict';var multer=require('multer');var util=require(_0xd688('0x0'));var path=require(_0xd688('0x1'));var timeout=require(_0xd688('0x2'));var express=require(_0xd688('0x3'));var router=express[_0xd688('0x4')]();var fs_extra=require(_0xd688('0x5'));var auth=require(_0xd688('0x6'));var interaction=require(_0xd688('0x7'));var config=require(_0xd688('0x8'));var controller=require('./license.controller');router[_0xd688('0x9')]('/',controller[_0xd688('0xa')]);router[_0xd688('0xb')](_0xd688('0xc'),auth[_0xd688('0xd')](),controller[_0xd688('0xe')]);router[_0xd688('0x9')]('/download_log_file',auth['isAuthenticated'](),controller['downloadLogFile']);module['exports']=router;