Built motion from commit f7863d46.|2.5.41
[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 _0x52cc=['killProcess','exports','express','Router','../../components/auth/service','./system.controller','isAuthenticated','index','get','/process/:pid/kill'];(function(_0x45aa1,_0x35bf74){var _0x36cc77=function(_0x52da2d){while(--_0x52da2d){_0x45aa1['push'](_0x45aa1['shift']());}};_0x36cc77(++_0x35bf74);}(_0x52cc,0x66));var _0xc52c=function(_0x527c30,_0x1487fc){_0x527c30=_0x527c30-0x0;var _0x2e775b=_0x52cc[_0x527c30];return _0x2e775b;};'use strict';var express=require(_0xc52c('0x0'));var router=express[_0xc52c('0x1')]();var auth=require(_0xc52c('0x2'));var controller=require(_0xc52c('0x3'));router['get']('/',auth[_0xc52c('0x4')](),controller[_0xc52c('0x5')]);router[_0xc52c('0x6')](_0xc52c('0x7'),auth[_0xc52c('0x4')](),controller[_0xc52c('0x8')]);module[_0xc52c('0x9')]=router;