Built motion from commit b5996064.|2.6.21
[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 _0x8f00=['fs-extra','../../components/auth/service','../../components/interaction/service','./license.controller','get','put','isAuthenticated','update','downloadLogFile','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x2d15bf,_0x4ae38f){var _0x222e16=function(_0x10fd0b){while(--_0x10fd0b){_0x2d15bf['push'](_0x2d15bf['shift']());}};_0x222e16(++_0x4ae38f);}(_0x8f00,0x15a));var _0x08f0=function(_0x158d73,_0x2f6542){_0x158d73=_0x158d73-0x0;var _0x20e846=_0x8f00[_0x158d73];return _0x20e846;};'use strict';var multer=require(_0x08f0('0x0'));var util=require(_0x08f0('0x1'));var path=require(_0x08f0('0x2'));var timeout=require(_0x08f0('0x3'));var express=require(_0x08f0('0x4'));var router=express[_0x08f0('0x5')]();var fs_extra=require(_0x08f0('0x6'));var auth=require(_0x08f0('0x7'));var interaction=require(_0x08f0('0x8'));var config=require('../../config/environment');var controller=require(_0x08f0('0x9'));router[_0x08f0('0xa')]('/',controller['index']);router[_0x08f0('0xb')]('/:id',auth[_0x08f0('0xc')](),controller[_0x08f0('0xd')]);router[_0x08f0('0xa')]('/download_log_file',auth[_0x08f0('0xc')](),controller[_0x08f0('0xe')]);module[_0x08f0('0xf')]=router;