61b5013bebab86498111cd9852dd83d6ded0dd00
[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 _0x6a18=['isAuthenticated','index','/process/:pid/kill','Router','../../components/auth/service','./system.controller','get'];(function(_0x128749,_0x7e3b76){var _0x3c37cd=function(_0x5616ef){while(--_0x5616ef){_0x128749['push'](_0x128749['shift']());}};_0x3c37cd(++_0x7e3b76);}(_0x6a18,0x1ed));var _0x86a1=function(_0x10010f,_0x458f9b){_0x10010f=_0x10010f-0x0;var _0x49ced0=_0x6a18[_0x10010f];return _0x49ced0;};'use strict';var express=require('express');var router=express[_0x86a1('0x0')]();var auth=require(_0x86a1('0x1'));var controller=require(_0x86a1('0x2'));router[_0x86a1('0x3')]('/',auth[_0x86a1('0x4')](),controller[_0x86a1('0x5')]);router[_0x86a1('0x3')](_0x86a1('0x6'),auth[_0x86a1('0x4')](),controller['killProcess']);module['exports']=router;