c3eb62bdda09c76b6ce6ee5317798ac08cc9734b
[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 _0x2eb3=['./license.controller','get','index','put','/:id','update','/download_log_file','isAuthenticated','exports','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x2eb3,0x189));var _0x32eb=function(_0x49687d,_0x386ab8){_0x49687d=_0x49687d-0x0;var _0x57a59b=_0x2eb3[_0x49687d];return _0x57a59b;};'use strict';var multer=require('multer');var util=require(_0x32eb('0x0'));var path=require(_0x32eb('0x1'));var timeout=require('connect-timeout');var express=require(_0x32eb('0x2'));var router=express['Router']();var fs_extra=require(_0x32eb('0x3'));var auth=require(_0x32eb('0x4'));var interaction=require(_0x32eb('0x5'));var config=require(_0x32eb('0x6'));var controller=require(_0x32eb('0x7'));router[_0x32eb('0x8')]('/',controller[_0x32eb('0x9')]);router[_0x32eb('0xa')](_0x32eb('0xb'),auth['isAuthenticated'](),controller[_0x32eb('0xc')]);router[_0x32eb('0x8')](_0x32eb('0xd'),auth[_0x32eb('0xe')](),controller['downloadLogFile']);module[_0x32eb('0xf')]=router;