Built motion from commit eddce310.|2.6.12
[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 _0x4252=['exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./license.controller','get','index','/:id','isAuthenticated','update','downloadLogFile'];(function(_0x395c52,_0x2ae6fc){var _0x51bd69=function(_0x17a686){while(--_0x17a686){_0x395c52['push'](_0x395c52['shift']());}};_0x51bd69(++_0x2ae6fc);}(_0x4252,0x181));var _0x2425=function(_0x55f95f,_0x1d1348){_0x55f95f=_0x55f95f-0x0;var _0x9bc8b4=_0x4252[_0x55f95f];return _0x9bc8b4;};'use strict';var multer=require(_0x2425('0x0'));var util=require(_0x2425('0x1'));var path=require(_0x2425('0x2'));var timeout=require('connect-timeout');var express=require(_0x2425('0x3'));var router=express[_0x2425('0x4')]();var fs_extra=require(_0x2425('0x5'));var auth=require(_0x2425('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2425('0x7'));var controller=require(_0x2425('0x8'));router[_0x2425('0x9')]('/',controller[_0x2425('0xa')]);router['put'](_0x2425('0xb'),auth[_0x2425('0xc')](),controller[_0x2425('0xd')]);router[_0x2425('0x9')]('/download_log_file',auth[_0x2425('0xc')](),controller[_0x2425('0xe')]);module[_0x2425('0xf')]=router;