0238893f1b028cb7f6de701043a32d3f7e018277
[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 _0x2646=['../../components/auth/service','../../components/interaction/service','./license.controller','get','index','put','/:id','isAuthenticated','update','/download_log_file','downloadLogFile','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x506e4e,_0x1e893b){var _0x23719c=function(_0x33e3c0){while(--_0x33e3c0){_0x506e4e['push'](_0x506e4e['shift']());}};_0x23719c(++_0x1e893b);}(_0x2646,0x65));var _0x6264=function(_0x59c6dc,_0x2f43d2){_0x59c6dc=_0x59c6dc-0x0;var _0x3ae1b6=_0x2646[_0x59c6dc];return _0x3ae1b6;};'use strict';var multer=require(_0x6264('0x0'));var util=require(_0x6264('0x1'));var path=require(_0x6264('0x2'));var timeout=require(_0x6264('0x3'));var express=require(_0x6264('0x4'));var router=express[_0x6264('0x5')]();var fs_extra=require(_0x6264('0x6'));var auth=require(_0x6264('0x7'));var interaction=require(_0x6264('0x8'));var config=require('../../config/environment');var controller=require(_0x6264('0x9'));router[_0x6264('0xa')]('/',controller[_0x6264('0xb')]);router[_0x6264('0xc')](_0x6264('0xd'),auth[_0x6264('0xe')](),controller[_0x6264('0xf')]);router[_0x6264('0xa')](_0x6264('0x10'),auth['isAuthenticated'](),controller[_0x6264('0x11')]);module['exports']=router;