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 _0x89c0=['isAuthenticated','update','downloadLogFile','multer','path','connect-timeout','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id'];(function(_0x6c993a,_0x5ea3ab){var _0x27f547=function(_0x22df20){while(--_0x22df20){_0x6c993a['push'](_0x6c993a['shift']());}};_0x27f547(++_0x5ea3ab);}(_0x89c0,0x1b0));var _0x089c=function(_0xb3928c,_0x539c87){_0xb3928c=_0xb3928c-0x0;var _0x30d9b2=_0x89c0[_0xb3928c];return _0x30d9b2;};'use strict';var multer=require(_0x089c('0x0'));var util=require('util');var path=require(_0x089c('0x1'));var timeout=require(_0x089c('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x089c('0x3'));var config=require(_0x089c('0x4'));var controller=require(_0x089c('0x5'));router[_0x089c('0x6')]('/',controller[_0x089c('0x7')]);router[_0x089c('0x8')](_0x089c('0x9'),auth[_0x089c('0xa')](),controller[_0x089c('0xb')]);router[_0x089c('0x6')]('/download_log_file',auth['isAuthenticated'](),controller[_0x089c('0xc')]);module['exports']=router;