Built motion from commit (unavailable).|2.4.20
[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 _0xd5ba=['../../components/interaction/service','../../config/environment','get','put','isAuthenticated','multer','connect-timeout','express','Router','../../components/auth/service'];(function(_0x5e608c,_0x453591){var _0x44d7fc=function(_0xc9de57){while(--_0xc9de57){_0x5e608c['push'](_0x5e608c['shift']());}};_0x44d7fc(++_0x453591);}(_0xd5ba,0x1ef));var _0xad5b=function(_0x28aea5,_0x3bb12e){_0x28aea5=_0x28aea5-0x0;var _0x6a55f9=_0xd5ba[_0x28aea5];return _0x6a55f9;};'use strict';var multer=require(_0xad5b('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xad5b('0x1'));var express=require(_0xad5b('0x2'));var router=express[_0xad5b('0x3')]();var auth=require(_0xad5b('0x4'));var interaction=require(_0xad5b('0x5'));var config=require(_0xad5b('0x6'));var controller=require('./license.controller');router[_0xad5b('0x7')]('/',controller['index']);router[_0xad5b('0x8')]('/:id',auth[_0xad5b('0x9')](),controller['update']);module['exports']=router;