7f7f22f3c4e6f3f93adc9185848fd7e3501f9929
[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 _0xc57a=['util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','/:id','isAuthenticated','exports','multer'];(function(_0x39f089,_0x1dff44){var _0x3c1fca=function(_0xee19d3){while(--_0xee19d3){_0x39f089['push'](_0x39f089['shift']());}};_0x3c1fca(++_0x1dff44);}(_0xc57a,0x78));var _0xac57=function(_0xaf8f29,_0x5754cf){_0xaf8f29=_0xaf8f29-0x0;var _0x391fed=_0xc57a[_0xaf8f29];return _0x391fed;};'use strict';var multer=require(_0xac57('0x0'));var util=require(_0xac57('0x1'));var path=require(_0xac57('0x2'));var timeout=require('connect-timeout');var express=require(_0xac57('0x3'));var router=express[_0xac57('0x4')]();var auth=require(_0xac57('0x5'));var interaction=require(_0xac57('0x6'));var config=require(_0xac57('0x7'));var controller=require('./license.controller');router['get']('/',controller['index']);router['put'](_0xac57('0x8'),auth[_0xac57('0x9')](),controller['update']);module[_0xac57('0xa')]=router;