Built motion from commit 19a84241.|2.5.34
[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 _0x3c34=['express','Router','../../components/interaction/service','../../config/environment','./license.controller','get','index','isAuthenticated','update','exports','multer','util','path','connect-timeout'];(function(_0x2a4da8,_0xf1dc97){var _0x571a6f=function(_0x35f0e8){while(--_0x35f0e8){_0x2a4da8['push'](_0x2a4da8['shift']());}};_0x571a6f(++_0xf1dc97);}(_0x3c34,0x14c));var _0x43c3=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0x3c34[_0x55f8b4];return _0x2475f9;};'use strict';var multer=require(_0x43c3('0x0'));var util=require(_0x43c3('0x1'));var path=require(_0x43c3('0x2'));var timeout=require(_0x43c3('0x3'));var express=require(_0x43c3('0x4'));var router=express[_0x43c3('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x43c3('0x6'));var config=require(_0x43c3('0x7'));var controller=require(_0x43c3('0x8'));router[_0x43c3('0x9')]('/',controller[_0x43c3('0xa')]);router['put']('/:id',auth[_0x43c3('0xb')](),controller[_0x43c3('0xc')]);module[_0x43c3('0xd')]=router;