Built motion from commit 5b761a7b.|2.5.36
[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 _0xe1dc=['path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','get','index','put','/:id','isAuthenticated','update','multer','util'];(function(_0x4d0026,_0x17794f){var _0x35a3df=function(_0x35abf5){while(--_0x35abf5){_0x4d0026['push'](_0x4d0026['shift']());}};_0x35a3df(++_0x17794f);}(_0xe1dc,0x8a));var _0xce1d=function(_0x192053,_0x44b45d){_0x192053=_0x192053-0x0;var _0x1b8b5=_0xe1dc[_0x192053];return _0x1b8b5;};'use strict';var multer=require(_0xce1d('0x0'));var util=require(_0xce1d('0x1'));var path=require(_0xce1d('0x2'));var timeout=require(_0xce1d('0x3'));var express=require(_0xce1d('0x4'));var router=express[_0xce1d('0x5')]();var fs_extra=require(_0xce1d('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xce1d('0x7'));var config=require('../../config/environment');var controller=require('./license.controller');router[_0xce1d('0x8')]('/',controller[_0xce1d('0x9')]);router[_0xce1d('0xa')](_0xce1d('0xb'),auth[_0xce1d('0xc')](),controller[_0xce1d('0xd')]);module['exports']=router;