410b698b5997d2a65aa1df5572fefebe12fd2e6c
[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 _0xe514=['index','put','/:id','isAuthenticated','update','get','/download_log_file','downloadLogFile','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller'];(function(_0x4a53d,_0x58a95e){var _0x27410e=function(_0x38fc90){while(--_0x38fc90){_0x4a53d['push'](_0x4a53d['shift']());}};_0x27410e(++_0x58a95e);}(_0xe514,0x198));var _0x4e51=function(_0x4b3f2b,_0x455950){_0x4b3f2b=_0x4b3f2b-0x0;var _0x5e7edd=_0xe514[_0x4b3f2b];return _0x5e7edd;};'use strict';var multer=require(_0x4e51('0x0'));var util=require(_0x4e51('0x1'));var path=require('path');var timeout=require(_0x4e51('0x2'));var express=require(_0x4e51('0x3'));var router=express[_0x4e51('0x4')]();var fs_extra=require(_0x4e51('0x5'));var auth=require(_0x4e51('0x6'));var interaction=require(_0x4e51('0x7'));var config=require(_0x4e51('0x8'));var controller=require(_0x4e51('0x9'));router['get']('/',controller[_0x4e51('0xa')]);router[_0x4e51('0xb')](_0x4e51('0xc'),auth[_0x4e51('0xd')](),controller[_0x4e51('0xe')]);router[_0x4e51('0xf')](_0x4e51('0x10'),auth[_0x4e51('0xd')](),controller[_0x4e51('0x11')]);module[_0x4e51('0x12')]=router;