f88450224164baa6b028f336a2a3395d41d71c9a
[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 _0xf74a=['update','get','/download_log_file','downloadLogFile','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','put','/:id','isAuthenticated'];(function(_0x2e9a8f,_0x3b09ac){var _0x439855=function(_0x394eae){while(--_0x394eae){_0x2e9a8f['push'](_0x2e9a8f['shift']());}};_0x439855(++_0x3b09ac);}(_0xf74a,0x1ae));var _0xaf74=function(_0x162bb6,_0x1eb9c2){_0x162bb6=_0x162bb6-0x0;var _0x5618e8=_0xf74a[_0x162bb6];return _0x5618e8;};'use strict';var multer=require(_0xaf74('0x0'));var util=require(_0xaf74('0x1'));var path=require('path');var timeout=require(_0xaf74('0x2'));var express=require(_0xaf74('0x3'));var router=express['Router']();var fs_extra=require(_0xaf74('0x4'));var auth=require(_0xaf74('0x5'));var interaction=require(_0xaf74('0x6'));var config=require(_0xaf74('0x7'));var controller=require(_0xaf74('0x8'));router['get']('/',controller['index']);router[_0xaf74('0x9')](_0xaf74('0xa'),auth[_0xaf74('0xb')](),controller[_0xaf74('0xc')]);router[_0xaf74('0xd')](_0xaf74('0xe'),auth[_0xaf74('0xb')](),controller[_0xaf74('0xf')]);module[_0xaf74('0x10')]=router;