Built motion from commit 9d7072cc.|2.5.39
[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 _0xa459=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','index','/:id','isAuthenticated','update','exports','multer','util','path','connect-timeout'];(function(_0x150fac,_0x571849){var _0x5a1dd1=function(_0x2da213){while(--_0x2da213){_0x150fac['push'](_0x150fac['shift']());}};_0x5a1dd1(++_0x571849);}(_0xa459,0x1d8));var _0x9a45=function(_0x161e50,_0x4dcc91){_0x161e50=_0x161e50-0x0;var _0x2f92a9=_0xa459[_0x161e50];return _0x2f92a9;};'use strict';var multer=require(_0x9a45('0x0'));var util=require(_0x9a45('0x1'));var path=require(_0x9a45('0x2'));var timeout=require(_0x9a45('0x3'));var express=require(_0x9a45('0x4'));var router=express[_0x9a45('0x5')]();var fs_extra=require(_0x9a45('0x6'));var auth=require(_0x9a45('0x7'));var interaction=require(_0x9a45('0x8'));var config=require('../../config/environment');var controller=require('./license.controller');router['get']('/',controller[_0x9a45('0x9')]);router['put'](_0x9a45('0xa'),auth[_0x9a45('0xb')](),controller[_0x9a45('0xc')]);module[_0x9a45('0xd')]=router;