Built motion from commit e1760111.|2.6.18
[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 _0xf68e=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','put','/:id','isAuthenticated','update','/download_log_file','downloadLogFile','exports','multer','util','connect-timeout','Router','fs-extra'];(function(_0x1be225,_0x254876){var _0x28d02e=function(_0x51b2b7){while(--_0x51b2b7){_0x1be225['push'](_0x1be225['shift']());}};_0x28d02e(++_0x254876);}(_0xf68e,0x18b));var _0xef68=function(_0x490aaa,_0x4e82d1){_0x490aaa=_0x490aaa-0x0;var _0x2dd076=_0xf68e[_0x490aaa];return _0x2dd076;};'use strict';var multer=require(_0xef68('0x0'));var util=require(_0xef68('0x1'));var path=require('path');var timeout=require(_0xef68('0x2'));var express=require('express');var router=express[_0xef68('0x3')]();var fs_extra=require(_0xef68('0x4'));var auth=require(_0xef68('0x5'));var interaction=require(_0xef68('0x6'));var config=require(_0xef68('0x7'));var controller=require('./license.controller');router[_0xef68('0x8')]('/',controller['index']);router[_0xef68('0x9')](_0xef68('0xa'),auth[_0xef68('0xb')](),controller[_0xef68('0xc')]);router[_0xef68('0x8')](_0xef68('0xd'),auth[_0xef68('0xb')](),controller[_0xef68('0xe')]);module[_0xef68('0xf')]=router;