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 _0x7b7e=['../../config/environment','./license.controller','get','index','put','update','/download_log_file','isAuthenticated','downloadLogFile','exports','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x5db0e1,_0x229128){var _0x16532e=function(_0x367b8e){while(--_0x367b8e){_0x5db0e1['push'](_0x5db0e1['shift']());}};_0x16532e(++_0x229128);}(_0x7b7e,0x17a));var _0xe7b7=function(_0x1b6311,_0x42ec20){_0x1b6311=_0x1b6311-0x0;var _0x25aab6=_0x7b7e[_0x1b6311];return _0x25aab6;};'use strict';var multer=require('multer');var util=require(_0xe7b7('0x0'));var path=require('path');var timeout=require(_0xe7b7('0x1'));var express=require(_0xe7b7('0x2'));var router=express[_0xe7b7('0x3')]();var fs_extra=require(_0xe7b7('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xe7b7('0x5'));var config=require(_0xe7b7('0x6'));var controller=require(_0xe7b7('0x7'));router[_0xe7b7('0x8')]('/',controller[_0xe7b7('0x9')]);router[_0xe7b7('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xe7b7('0xb')]);router['get'](_0xe7b7('0xc'),auth[_0xe7b7('0xd')](),controller[_0xe7b7('0xe')]);module[_0xe7b7('0xf')]=router;