Built motion from commit da617fac.|2.6.6
[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 _0x329d=['../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id','/download_log_file','isAuthenticated','downloadLogFile','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x329d,0x192));var _0xd329=function(_0x311909,_0x414bf7){_0x311909=_0x311909-0x0;var _0x8d3163=_0x329d[_0x311909];return _0x8d3163;};'use strict';var multer=require(_0xd329('0x0'));var util=require(_0xd329('0x1'));var path=require('path');var timeout=require(_0xd329('0x2'));var express=require(_0xd329('0x3'));var router=express['Router']();var fs_extra=require(_0xd329('0x4'));var auth=require(_0xd329('0x5'));var interaction=require(_0xd329('0x6'));var config=require(_0xd329('0x7'));var controller=require(_0xd329('0x8'));router[_0xd329('0x9')]('/',controller[_0xd329('0xa')]);router[_0xd329('0xb')](_0xd329('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xd329('0x9')](_0xd329('0xd'),auth[_0xd329('0xe')](),controller[_0xd329('0xf')]);module[_0xd329('0x10')]=router;