37c0f91c5cb233bbf15a013919c352db1f7e4269
[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 _0x7ff1=['isAuthenticated','update','exports','multer','util','express','Router','../../components/auth/service','../../config/environment','./license.controller','get','put'];(function(_0xef8146,_0x459c34){var _0x5a6cb0=function(_0x2f84ec){while(--_0x2f84ec){_0xef8146['push'](_0xef8146['shift']());}};_0x5a6cb0(++_0x459c34);}(_0x7ff1,0x123));var _0x17ff=function(_0x503790,_0x525c78){_0x503790=_0x503790-0x0;var _0x388092=_0x7ff1[_0x503790];return _0x388092;};'use strict';var multer=require(_0x17ff('0x0'));var util=require(_0x17ff('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x17ff('0x2'));var router=express[_0x17ff('0x3')]();var auth=require(_0x17ff('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x17ff('0x5'));var controller=require(_0x17ff('0x6'));router[_0x17ff('0x7')]('/',controller['index']);router[_0x17ff('0x8')]('/:id',auth[_0x17ff('0x9')](),controller[_0x17ff('0xa')]);module[_0x17ff('0xb')]=router;