Built motion from commit d1eab355.|2.6.28
[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 _0x0c5d=['path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','put','/:id','isAuthenticated','update','/download_log_file','downloadLogFile','exports','multer'];(function(_0x181ed3,_0x43bb57){var _0x37e495=function(_0x2acbe7){while(--_0x2acbe7){_0x181ed3['push'](_0x181ed3['shift']());}};_0x37e495(++_0x43bb57);}(_0x0c5d,0xa9));var _0xd0c5=function(_0x5e372e,_0x3e6fcc){_0x5e372e=_0x5e372e-0x0;var _0x3708ce=_0x0c5d[_0x5e372e];return _0x3708ce;};'use strict';var multer=require(_0xd0c5('0x0'));var util=require('util');var path=require(_0xd0c5('0x1'));var timeout=require('connect-timeout');var express=require(_0xd0c5('0x2'));var router=express[_0xd0c5('0x3')]();var fs_extra=require(_0xd0c5('0x4'));var auth=require(_0xd0c5('0x5'));var interaction=require(_0xd0c5('0x6'));var config=require(_0xd0c5('0x7'));var controller=require('./license.controller');router[_0xd0c5('0x8')]('/',controller[_0xd0c5('0x9')]);router[_0xd0c5('0xa')](_0xd0c5('0xb'),auth[_0xd0c5('0xc')](),controller[_0xd0c5('0xd')]);router[_0xd0c5('0x8')](_0xd0c5('0xe'),auth[_0xd0c5('0xc')](),controller[_0xd0c5('0xf')]);module[_0xd0c5('0x10')]=router;