Built motion from commit (unavailable).|2.4.17
[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 _0x4e37=['index','put','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get'];(function(_0x2da8a2,_0x10991f){var _0x9e6f06=function(_0x32a583){while(--_0x32a583){_0x2da8a2['push'](_0x2da8a2['shift']());}};_0x9e6f06(++_0x10991f);}(_0x4e37,0xf2));var _0x74e3=function(_0x3e7b5a,_0x4c06fe){_0x3e7b5a=_0x3e7b5a-0x0;var _0x4880aa=_0x4e37[_0x3e7b5a];return _0x4880aa;};'use strict';var multer=require(_0x74e3('0x0'));var util=require(_0x74e3('0x1'));var path=require(_0x74e3('0x2'));var timeout=require(_0x74e3('0x3'));var express=require(_0x74e3('0x4'));var router=express['Router']();var auth=require(_0x74e3('0x5'));var interaction=require(_0x74e3('0x6'));var config=require(_0x74e3('0x7'));var controller=require(_0x74e3('0x8'));router[_0x74e3('0x9')]('/',controller[_0x74e3('0xa')]);router[_0x74e3('0xb')]('/:id',auth['isAuthenticated'](),controller['update']);module['exports']=router;