Built motion from commit 67e5df37.|2.0.68
[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 _0xbc36=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index','/:id','isAuthenticated','exports','multer','path','express'];(function(_0x3f768c,_0x490bac){var _0x4f35d1=function(_0x5cf9cb){while(--_0x5cf9cb){_0x3f768c['push'](_0x3f768c['shift']());}};_0x4f35d1(++_0x490bac);}(_0xbc36,0x169));var _0x6bc3=function(_0x1a3f90,_0x5707a1){_0x1a3f90=_0x1a3f90-0x0;var _0x5d5d00=_0xbc36[_0x1a3f90];return _0x5d5d00;};'use strict';var multer=require(_0x6bc3('0x0'));var util=require('util');var path=require(_0x6bc3('0x1'));var express=require(_0x6bc3('0x2'));var router=express[_0x6bc3('0x3')]();var auth=require(_0x6bc3('0x4'));var interaction=require(_0x6bc3('0x5'));var config=require(_0x6bc3('0x6'));var controller=require(_0x6bc3('0x7'));router[_0x6bc3('0x8')]('/',controller[_0x6bc3('0x9')]);router['put'](_0x6bc3('0xa'),auth[_0x6bc3('0xb')](),controller['update']);module[_0x6bc3('0xc')]=router;