Built motion from commit 67e5df37.|2.0.66
[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 _0x4959=['express','Router','../../components/interaction/service','../../config/environment','./license.controller','get','put','/:id','isAuthenticated','update','exports','path'];(function(_0x439764,_0x9c04e2){var _0x489a95=function(_0x5d7815){while(--_0x5d7815){_0x439764['push'](_0x439764['shift']());}};_0x489a95(++_0x9c04e2);}(_0x4959,0x9b));var _0x9495=function(_0x519069,_0x30e464){_0x519069=_0x519069-0x0;var _0x10ebee=_0x4959[_0x519069];return _0x10ebee;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9495('0x0'));var express=require(_0x9495('0x1'));var router=express[_0x9495('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x9495('0x3'));var config=require(_0x9495('0x4'));var controller=require(_0x9495('0x5'));router[_0x9495('0x6')]('/',controller['index']);router[_0x9495('0x7')](_0x9495('0x8'),auth[_0x9495('0x9')](),controller[_0x9495('0xa')]);module[_0x9495('0xb')]=router;