Built motion from commit b5413ace.|2.6.9
[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 _0x4643=['../../components/interaction/service','../../config/environment','./license.controller','get','put','/:id','isAuthenticated','/download_log_file','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x4643,0x89));var _0x3464=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x4643[_0x42cae2];return _0x5f256f;};'use strict';var multer=require('multer');var util=require(_0x3464('0x0'));var path=require(_0x3464('0x1'));var timeout=require(_0x3464('0x2'));var express=require(_0x3464('0x3'));var router=express[_0x3464('0x4')]();var fs_extra=require(_0x3464('0x5'));var auth=require(_0x3464('0x6'));var interaction=require(_0x3464('0x7'));var config=require(_0x3464('0x8'));var controller=require(_0x3464('0x9'));router[_0x3464('0xa')]('/',controller['index']);router[_0x3464('0xb')](_0x3464('0xc'),auth[_0x3464('0xd')](),controller['update']);router[_0x3464('0xa')](_0x3464('0xe'),auth[_0x3464('0xd')](),controller['downloadLogFile']);module[_0x3464('0xf')]=router;