Built motion from commit a679711e.|2.6.15
[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 _0x3707=['isAuthenticated','update','/download_log_file','downloadLogFile','exports','multer','express','Router','fs-extra','../../components/auth/service','get','put','/:id'];(function(_0x1e4360,_0x930b9b){var _0x31e6b4=function(_0x49dd8e){while(--_0x49dd8e){_0x1e4360['push'](_0x1e4360['shift']());}};_0x31e6b4(++_0x930b9b);}(_0x3707,0x1e6));var _0x7370=function(_0x2328fa,_0x172999){_0x2328fa=_0x2328fa-0x0;var _0x2f254f=_0x3707[_0x2328fa];return _0x2f254f;};'use strict';var multer=require(_0x7370('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7370('0x1'));var router=express[_0x7370('0x2')]();var fs_extra=require(_0x7370('0x3'));var auth=require(_0x7370('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./license.controller');router[_0x7370('0x5')]('/',controller['index']);router[_0x7370('0x6')](_0x7370('0x7'),auth[_0x7370('0x8')](),controller[_0x7370('0x9')]);router['get'](_0x7370('0xa'),auth[_0x7370('0x8')](),controller[_0x7370('0xb')]);module[_0x7370('0xc')]=router;