Built motion from commit b0a9a629.|2.6.33
[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 _0x96ec=['express','fs-extra','../../components/interaction/service','./license.controller','get','index','/:id','isAuthenticated','update','multer','util','path','connect-timeout'];(function(_0x32f91b,_0x460016){var _0x3ee8f3=function(_0x39b27d){while(--_0x39b27d){_0x32f91b['push'](_0x32f91b['shift']());}};_0x3ee8f3(++_0x460016);}(_0x96ec,0x8b));var _0xc96e=function(_0x2a18b7,_0x5041c8){_0x2a18b7=_0x2a18b7-0x0;var _0x45e74e=_0x96ec[_0x2a18b7];return _0x45e74e;};'use strict';var multer=require(_0xc96e('0x0'));var util=require(_0xc96e('0x1'));var path=require(_0xc96e('0x2'));var timeout=require(_0xc96e('0x3'));var express=require(_0xc96e('0x4'));var router=express['Router']();var fs_extra=require(_0xc96e('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc96e('0x6'));var config=require('../../config/environment');var controller=require(_0xc96e('0x7'));router[_0xc96e('0x8')]('/',controller[_0xc96e('0x9')]);router['put'](_0xc96e('0xa'),auth[_0xc96e('0xb')](),controller[_0xc96e('0xc')]);router[_0xc96e('0x8')]('/download_log_file',auth[_0xc96e('0xb')](),controller['downloadLogFile']);module['exports']=router;