b221238c33d3cf73914da4795d048161ca520e96
[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 _0x8ccb=['./license.controller','get','put','/:id','isAuthenticated','exports','multer','util','path','express','../../config/environment'];(function(_0x4d61e8,_0x313abd){var _0x595ad1=function(_0x4efaff){while(--_0x4efaff){_0x4d61e8['push'](_0x4d61e8['shift']());}};_0x595ad1(++_0x313abd);}(_0x8ccb,0xf8));var _0xb8cc=function(_0x5f1cf8,_0x5e0923){_0x5f1cf8=_0x5f1cf8-0x0;var _0x27d0fa=_0x8ccb[_0x5f1cf8];return _0x27d0fa;};'use strict';var multer=require(_0xb8cc('0x0'));var util=require(_0xb8cc('0x1'));var path=require(_0xb8cc('0x2'));var timeout=require('connect-timeout');var express=require(_0xb8cc('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb8cc('0x4'));var controller=require(_0xb8cc('0x5'));router[_0xb8cc('0x6')]('/',controller['index']);router[_0xb8cc('0x7')](_0xb8cc('0x8'),auth[_0xb8cc('0x9')](),controller['update']);module[_0xb8cc('0xa')]=router;