e0366642bbceec2c73af01126254a05179c39b33
[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 _0xa198=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','put','isAuthenticated','update'];(function(_0x52684f,_0xff73fc){var _0x4a55f0=function(_0x8ce37c){while(--_0x8ce37c){_0x52684f['push'](_0x52684f['shift']());}};_0x4a55f0(++_0xff73fc);}(_0xa198,0x144));var _0x8a19=function(_0x2e1bd4,_0x373905){_0x2e1bd4=_0x2e1bd4-0x0;var _0x33b5d3=_0xa198[_0x2e1bd4];return _0x33b5d3;};'use strict';var multer=require('multer');var util=require(_0x8a19('0x0'));var path=require(_0x8a19('0x1'));var timeout=require(_0x8a19('0x2'));var express=require(_0x8a19('0x3'));var router=express['Router']();var auth=require(_0x8a19('0x4'));var interaction=require(_0x8a19('0x5'));var config=require(_0x8a19('0x6'));var controller=require(_0x8a19('0x7'));router[_0x8a19('0x8')]('/',controller['index']);router[_0x8a19('0x9')]('/:id',auth[_0x8a19('0xa')](),controller[_0x8a19('0xb')]);module['exports']=router;