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 _0x92f6=['/download_log_file','isAuthenticated','downloadLogFile','exports','multer','path','express','Router','../../components/interaction/service','get','index','/:id','update'];(function(_0x306fe9,_0x29053b){var _0x5caa25=function(_0x39c95a){while(--_0x39c95a){_0x306fe9['push'](_0x306fe9['shift']());}};_0x5caa25(++_0x29053b);}(_0x92f6,0x108));var _0x692f=function(_0xa77959,_0x2013c7){_0xa77959=_0xa77959-0x0;var _0x12c2d0=_0x92f6[_0xa77959];return _0x12c2d0;};'use strict';var multer=require(_0x692f('0x0'));var util=require('util');var path=require(_0x692f('0x1'));var timeout=require('connect-timeout');var express=require(_0x692f('0x2'));var router=express[_0x692f('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x692f('0x4'));var config=require('../../config/environment');var controller=require('./license.controller');router[_0x692f('0x5')]('/',controller[_0x692f('0x6')]);router['put'](_0x692f('0x7'),auth['isAuthenticated'](),controller[_0x692f('0x8')]);router[_0x692f('0x5')](_0x692f('0x9'),auth[_0x692f('0xa')](),controller[_0x692f('0xb')]);module[_0x692f('0xc')]=router;