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 _0x3e9f=['isAuthenticated','downloadLogFile','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id','update','/download_log_file'];(function(_0x3b3fb2,_0x21a7a7){var _0x2c998a=function(_0x9ad1df){while(--_0x9ad1df){_0x3b3fb2['push'](_0x3b3fb2['shift']());}};_0x2c998a(++_0x21a7a7);}(_0x3e9f,0x17f));var _0xf3e9=function(_0x273c39,_0x1052e6){_0x273c39=_0x273c39-0x0;var _0x46d6b5=_0x3e9f[_0x273c39];return _0x46d6b5;};'use strict';var multer=require(_0xf3e9('0x0'));var util=require(_0xf3e9('0x1'));var path=require('path');var timeout=require(_0xf3e9('0x2'));var express=require(_0xf3e9('0x3'));var router=express[_0xf3e9('0x4')]();var fs_extra=require(_0xf3e9('0x5'));var auth=require(_0xf3e9('0x6'));var interaction=require(_0xf3e9('0x7'));var config=require(_0xf3e9('0x8'));var controller=require(_0xf3e9('0x9'));router[_0xf3e9('0xa')]('/',controller[_0xf3e9('0xb')]);router[_0xf3e9('0xc')](_0xf3e9('0xd'),auth['isAuthenticated'](),controller[_0xf3e9('0xe')]);router[_0xf3e9('0xa')](_0xf3e9('0xf'),auth[_0xf3e9('0x10')](),controller[_0xf3e9('0x11')]);module[_0xf3e9('0x12')]=router;