Built motion from commit (unavailable).|2.5.7
[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 _0xc1c4=['connect-timeout','express','../../components/auth/service','./license.controller','get','index','put','/:id','isAuthenticated','update','exports','multer','path'];(function(_0x2326b8,_0x3b62f7){var _0x363f62=function(_0x4b01fc){while(--_0x4b01fc){_0x2326b8['push'](_0x2326b8['shift']());}};_0x363f62(++_0x3b62f7);}(_0xc1c4,0xb4));var _0x4c1c=function(_0x22c718,_0x4126b8){_0x22c718=_0x22c718-0x0;var _0x921848=_0xc1c4[_0x22c718];return _0x921848;};'use strict';var multer=require(_0x4c1c('0x0'));var util=require('util');var path=require(_0x4c1c('0x1'));var timeout=require(_0x4c1c('0x2'));var express=require(_0x4c1c('0x3'));var router=express['Router']();var auth=require(_0x4c1c('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4c1c('0x5'));router[_0x4c1c('0x6')]('/',controller[_0x4c1c('0x7')]);router[_0x4c1c('0x8')](_0x4c1c('0x9'),auth[_0x4c1c('0xa')](),controller[_0x4c1c('0xb')]);module[_0x4c1c('0xc')]=router;