Built motion from commit (unavailable).|2.5.21
[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 _0x829a=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','update','exports','util','path','express','Router'];(function(_0x2eda7d,_0x162382){var _0x2fd21d=function(_0x3bf4d0){while(--_0x3bf4d0){_0x2eda7d['push'](_0x2eda7d['shift']());}};_0x2fd21d(++_0x162382);}(_0x829a,0x1dd));var _0xa829=function(_0x3c63d3,_0x1e0765){_0x3c63d3=_0x3c63d3-0x0;var _0x2487d9=_0x829a[_0x3c63d3];return _0x2487d9;};'use strict';var multer=require('multer');var util=require(_0xa829('0x0'));var path=require(_0xa829('0x1'));var timeout=require('connect-timeout');var express=require(_0xa829('0x2'));var router=express[_0xa829('0x3')]();var auth=require(_0xa829('0x4'));var interaction=require(_0xa829('0x5'));var config=require(_0xa829('0x6'));var controller=require('./license.controller');router[_0xa829('0x7')]('/',controller[_0xa829('0x8')]);router['put'](_0xa829('0x9'),auth[_0xa829('0xa')](),controller[_0xa829('0xb')]);module[_0xa829('0xc')]=router;