Built motion from commit 1fa89557.|2.6.10
[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 _0x92ea=['update','/download_log_file','downloadLogFile','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../config/environment','./license.controller','get','index','put','isAuthenticated'];(function(_0x2adbeb,_0x5581be){var _0x5e18a6=function(_0x84e42b){while(--_0x84e42b){_0x2adbeb['push'](_0x2adbeb['shift']());}};_0x5e18a6(++_0x5581be);}(_0x92ea,0x74));var _0xa92e=function(_0x22536f,_0x2853c8){_0x22536f=_0x22536f-0x0;var _0x5afe0f=_0x92ea[_0x22536f];return _0x5afe0f;};'use strict';var multer=require(_0xa92e('0x0'));var util=require(_0xa92e('0x1'));var path=require(_0xa92e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa92e('0x3')]();var fs_extra=require(_0xa92e('0x4'));var auth=require(_0xa92e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa92e('0x6'));var controller=require(_0xa92e('0x7'));router[_0xa92e('0x8')]('/',controller[_0xa92e('0x9')]);router[_0xa92e('0xa')]('/:id',auth[_0xa92e('0xb')](),controller[_0xa92e('0xc')]);router[_0xa92e('0x8')](_0xa92e('0xd'),auth['isAuthenticated'](),controller[_0xa92e('0xe')]);module[_0xa92e('0xf')]=router;