195819699eb68a0880fe79d6838b844ea8a277da
[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 _0xf434=['get','index','put','/:id','isAuthenticated','update','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller'];(function(_0x1d9aa0,_0x272488){var _0x226868=function(_0x17127c){while(--_0x17127c){_0x1d9aa0['push'](_0x1d9aa0['shift']());}};_0x226868(++_0x272488);}(_0xf434,0x15b));var _0x4f43=function(_0x23fc9b,_0x39a51f){_0x23fc9b=_0x23fc9b-0x0;var _0x34842b=_0xf434[_0x23fc9b];return _0x34842b;};'use strict';var multer=require(_0x4f43('0x0'));var util=require('util');var path=require(_0x4f43('0x1'));var timeout=require(_0x4f43('0x2'));var express=require(_0x4f43('0x3'));var router=express[_0x4f43('0x4')]();var fs_extra=require(_0x4f43('0x5'));var auth=require(_0x4f43('0x6'));var interaction=require(_0x4f43('0x7'));var config=require(_0x4f43('0x8'));var controller=require(_0x4f43('0x9'));router[_0x4f43('0xa')]('/',controller[_0x4f43('0xb')]);router[_0x4f43('0xc')](_0x4f43('0xd'),auth[_0x4f43('0xe')](),controller[_0x4f43('0xf')]);router[_0x4f43('0xa')]('/download_log_file',auth['isAuthenticated'](),controller['downloadLogFile']);module[_0x4f43('0x10')]=router;