Built motion from commit 3c2ce842.|2.6.31
[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 _0x627e=['../../components/auth/service','../../config/environment','./license.controller','put','/:id','isAuthenticated','update','get','/download_log_file','exports','multer','util','path','express','Router','fs-extra'];(function(_0x2bb66c,_0x36c6c6){var _0x1e0f98=function(_0x1e3412){while(--_0x1e3412){_0x2bb66c['push'](_0x2bb66c['shift']());}};_0x1e0f98(++_0x36c6c6);}(_0x627e,0x15a));var _0xe627=function(_0x5db8c5,_0x1f51c8){_0x5db8c5=_0x5db8c5-0x0;var _0x186da8=_0x627e[_0x5db8c5];return _0x186da8;};'use strict';var multer=require(_0xe627('0x0'));var util=require(_0xe627('0x1'));var path=require(_0xe627('0x2'));var timeout=require('connect-timeout');var express=require(_0xe627('0x3'));var router=express[_0xe627('0x4')]();var fs_extra=require(_0xe627('0x5'));var auth=require(_0xe627('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xe627('0x7'));var controller=require(_0xe627('0x8'));router['get']('/',controller['index']);router[_0xe627('0x9')](_0xe627('0xa'),auth[_0xe627('0xb')](),controller[_0xe627('0xc')]);router[_0xe627('0xd')](_0xe627('0xe'),auth['isAuthenticated'](),controller['downloadLogFile']);module[_0xe627('0xf')]=router;