4ae218b811c81687830fd218fc30313d4ec15831
[motion2.git] / server / api / license / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xfbc6=['express','fs-extra','../../config/environment','./license.controller','get','put','/:id','isAuthenticated','downloadLogFile','multer','util','connect-timeout'];(function(_0x397849,_0x50b227){var _0x19a76e=function(_0x4973ff){while(--_0x4973ff){_0x397849['push'](_0x397849['shift']());}};_0x19a76e(++_0x50b227);}(_0xfbc6,0x1e9));var _0x6fbc=function(_0x141993,_0x5cd8c2){_0x141993=_0x141993-0x0;var _0x55203a=_0xfbc6[_0x141993];return _0x55203a;};'use strict';var multer=require(_0x6fbc('0x0'));var util=require(_0x6fbc('0x1'));var path=require('path');var timeout=require(_0x6fbc('0x2'));var express=require(_0x6fbc('0x3'));var router=express['Router']();var fs_extra=require(_0x6fbc('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6fbc('0x5'));var controller=require(_0x6fbc('0x6'));router[_0x6fbc('0x7')]('/',controller['index']);router[_0x6fbc('0x8')](_0x6fbc('0x9'),auth[_0x6fbc('0xa')](),controller['update']);router[_0x6fbc('0x7')]('/download_log_file',auth[_0x6fbc('0xa')](),controller[_0x6fbc('0xb')]);module['exports']=router;