6ff7563de52432bf832d5bb9fb31585466618a15
[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 _0xe10d=['/download_log_file','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./license.controller','get','index','put','/:id','isAuthenticated','update'];(function(_0xee3c05,_0x5c27c6){var _0x2b2f62=function(_0x1b0591){while(--_0x1b0591){_0xee3c05['push'](_0xee3c05['shift']());}};_0x2b2f62(++_0x5c27c6);}(_0xe10d,0x181));var _0xde10=function(_0x4e8792,_0x57650d){_0x4e8792=_0x4e8792-0x0;var _0x40eb4e=_0xe10d[_0x4e8792];return _0x40eb4e;};'use strict';var multer=require(_0xde10('0x0'));var util=require('util');var path=require(_0xde10('0x1'));var timeout=require(_0xde10('0x2'));var express=require(_0xde10('0x3'));var router=express[_0xde10('0x4')]();var fs_extra=require(_0xde10('0x5'));var auth=require(_0xde10('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xde10('0x7'));var controller=require(_0xde10('0x8'));router[_0xde10('0x9')]('/',controller[_0xde10('0xa')]);router[_0xde10('0xb')](_0xde10('0xc'),auth[_0xde10('0xd')](),controller[_0xde10('0xe')]);router['get'](_0xde10('0xf'),auth[_0xde10('0xd')](),controller['downloadLogFile']);module['exports']=router;