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 _0x10b8=['../../config/environment','get','index','put','/:id','isAuthenticated','update','/download_log_file','exports','multer','path','Router','fs-extra'];(function(_0x23363a,_0x10f9c3){var _0x40b369=function(_0x109f13){while(--_0x109f13){_0x23363a['push'](_0x23363a['shift']());}};_0x40b369(++_0x10f9c3);}(_0x10b8,0x1b6));var _0x810b=function(_0x5a9c0c,_0x4ec485){_0x5a9c0c=_0x5a9c0c-0x0;var _0x53c77d=_0x10b8[_0x5a9c0c];return _0x53c77d;};'use strict';var multer=require(_0x810b('0x0'));var util=require('util');var path=require(_0x810b('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x810b('0x2')]();var fs_extra=require(_0x810b('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x810b('0x4'));var controller=require('./license.controller');router[_0x810b('0x5')]('/',controller[_0x810b('0x6')]);router[_0x810b('0x7')](_0x810b('0x8'),auth[_0x810b('0x9')](),controller[_0x810b('0xa')]);router[_0x810b('0x5')](_0x810b('0xb'),auth[_0x810b('0x9')](),controller['downloadLogFile']);module[_0x810b('0xc')]=router;