Built motion from commit 9d0783e6.|2.6.13
[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 _0x9407=['downloadLogFile','exports','multer','util','express','fs-extra','../../config/environment','./license.controller','get','index','/:id','isAuthenticated','update','/download_log_file'];(function(_0x93d258,_0x3b96fa){var _0x32c4ad=function(_0xaefc78){while(--_0xaefc78){_0x93d258['push'](_0x93d258['shift']());}};_0x32c4ad(++_0x3b96fa);}(_0x9407,0x1ec));var _0x7940=function(_0x321322,_0x3a3e46){_0x321322=_0x321322-0x0;var _0x3fb77f=_0x9407[_0x321322];return _0x3fb77f;};'use strict';var multer=require(_0x7940('0x0'));var util=require(_0x7940('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7940('0x2'));var router=express['Router']();var fs_extra=require(_0x7940('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7940('0x4'));var controller=require(_0x7940('0x5'));router[_0x7940('0x6')]('/',controller[_0x7940('0x7')]);router['put'](_0x7940('0x8'),auth[_0x7940('0x9')](),controller[_0x7940('0xa')]);router['get'](_0x7940('0xb'),auth[_0x7940('0x9')](),controller[_0x7940('0xc')]);module[_0x7940('0xd')]=router;