Built motion from commit 0900f080.|2.5.45
[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 _0x72b2=['express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','put','/:id','update','isAuthenticated','downloadLogFile','exports','util','path','connect-timeout'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x72b2,0x17d));var _0x272b=function(_0x1c522c,_0x2776f5){_0x1c522c=_0x1c522c-0x0;var _0x3bd977=_0x72b2[_0x1c522c];return _0x3bd977;};'use strict';var multer=require('multer');var util=require(_0x272b('0x0'));var path=require(_0x272b('0x1'));var timeout=require(_0x272b('0x2'));var express=require(_0x272b('0x3'));var router=express[_0x272b('0x4')]();var fs_extra=require(_0x272b('0x5'));var auth=require(_0x272b('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x272b('0x7'));var controller=require('./license.controller');router[_0x272b('0x8')]('/',controller[_0x272b('0x9')]);router[_0x272b('0xa')](_0x272b('0xb'),auth['isAuthenticated'](),controller[_0x272b('0xc')]);router[_0x272b('0x8')]('/download_log_file',auth[_0x272b('0xd')](),controller[_0x272b('0xe')]);module[_0x272b('0xf')]=router;