Built motion from commit 4c579f6b.|2.5.32
[motion2.git] / server / api / system / 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 _0x3e3c=['/process/:pid/kill','isAuthenticated','killProcess','exports','express','Router','../../components/auth/service','./system.controller','get','index'];(function(_0xd746ed,_0x81920c){var _0x5ef2a6=function(_0x3ec97a){while(--_0x3ec97a){_0xd746ed['push'](_0xd746ed['shift']());}};_0x5ef2a6(++_0x81920c);}(_0x3e3c,0x176));var _0xc3e3=function(_0x4a2aac,_0x36f045){_0x4a2aac=_0x4a2aac-0x0;var _0x957c1e=_0x3e3c[_0x4a2aac];return _0x957c1e;};'use strict';var express=require(_0xc3e3('0x0'));var router=express[_0xc3e3('0x1')]();var auth=require(_0xc3e3('0x2'));var controller=require(_0xc3e3('0x3'));router[_0xc3e3('0x4')]('/',auth['isAuthenticated'](),controller[_0xc3e3('0x5')]);router['get'](_0xc3e3('0x6'),auth[_0xc3e3('0x7')](),controller[_0xc3e3('0x8')]);module[_0xc3e3('0x9')]=router;