Built motion from commit 616d3211.|2.6.4
[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 _0xb3c3=['get','index','put','/:id','isAuthenticated','update','/download_log_file','downloadLogFile','exports','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller'];(function(_0x5627e1,_0x1b2dbf){var _0x2f013f=function(_0x142015){while(--_0x142015){_0x5627e1['push'](_0x5627e1['shift']());}};_0x2f013f(++_0x1b2dbf);}(_0xb3c3,0x1e9));var _0x3b3c=function(_0x1ef400,_0x15cd6e){_0x1ef400=_0x1ef400-0x0;var _0x1b1d24=_0xb3c3[_0x1ef400];return _0x1b1d24;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3b3c('0x0'));var timeout=require('connect-timeout');var express=require(_0x3b3c('0x1'));var router=express['Router']();var fs_extra=require(_0x3b3c('0x2'));var auth=require(_0x3b3c('0x3'));var interaction=require(_0x3b3c('0x4'));var config=require(_0x3b3c('0x5'));var controller=require(_0x3b3c('0x6'));router[_0x3b3c('0x7')]('/',controller[_0x3b3c('0x8')]);router[_0x3b3c('0x9')](_0x3b3c('0xa'),auth[_0x3b3c('0xb')](),controller[_0x3b3c('0xc')]);router[_0x3b3c('0x7')](_0x3b3c('0xd'),auth[_0x3b3c('0xb')](),controller[_0x3b3c('0xe')]);module[_0x3b3c('0xf')]=router;