Built motion from commit c116dc8b.|2.6.30
[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 _0x72a6=['put','/:id','isAuthenticated','update','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index'];(function(_0x1396cb,_0x2de81b){var _0x46412b=function(_0x149841){while(--_0x149841){_0x1396cb['push'](_0x1396cb['shift']());}};_0x46412b(++_0x2de81b);}(_0x72a6,0x1c5));var _0x672a=function(_0x529ecc,_0x370979){_0x529ecc=_0x529ecc-0x0;var _0x2bbef4=_0x72a6[_0x529ecc];return _0x2bbef4;};'use strict';var multer=require('multer');var util=require(_0x672a('0x0'));var path=require('path');var timeout=require(_0x672a('0x1'));var express=require(_0x672a('0x2'));var router=express[_0x672a('0x3')]();var fs_extra=require(_0x672a('0x4'));var auth=require(_0x672a('0x5'));var interaction=require(_0x672a('0x6'));var config=require(_0x672a('0x7'));var controller=require(_0x672a('0x8'));router[_0x672a('0x9')]('/',controller[_0x672a('0xa')]);router[_0x672a('0xb')](_0x672a('0xc'),auth[_0x672a('0xd')](),controller[_0x672a('0xe')]);router['get']('/download_log_file',auth[_0x672a('0xd')](),controller['downloadLogFile']);module[_0x672a('0xf')]=router;