Built motion from commit 4c281f94.|2.6.31
[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 _0x992d=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','isAuthenticated','update','/download_log_file','downloadLogFile','exports','multer','util'];(function(_0x55cc5d,_0x872047){var _0x16032f=function(_0x293968){while(--_0x293968){_0x55cc5d['push'](_0x55cc5d['shift']());}};_0x16032f(++_0x872047);}(_0x992d,0x11b));var _0xd992=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0x992d[_0x3e5086];return _0xfeb102;};'use strict';var multer=require(_0xd992('0x0'));var util=require(_0xd992('0x1'));var path=require(_0xd992('0x2'));var timeout=require(_0xd992('0x3'));var express=require(_0xd992('0x4'));var router=express[_0xd992('0x5')]();var fs_extra=require(_0xd992('0x6'));var auth=require(_0xd992('0x7'));var interaction=require(_0xd992('0x8'));var config=require(_0xd992('0x9'));var controller=require(_0xd992('0xa'));router[_0xd992('0xb')]('/',controller[_0xd992('0xc')]);router[_0xd992('0xd')]('/:id',auth[_0xd992('0xe')](),controller[_0xd992('0xf')]);router[_0xd992('0xb')](_0xd992('0x10'),auth[_0xd992('0xe')](),controller[_0xd992('0x11')]);module[_0xd992('0x12')]=router;