Built motion from commit (unavailable).|2.4.21
[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 _0xcc4f=['./system.controller','get','index','killProcess','express','Router','../../components/auth/service'];(function(_0xcf5436,_0x4632c3){var _0xc4f5c8=function(_0x567528){while(--_0x567528){_0xcf5436['push'](_0xcf5436['shift']());}};_0xc4f5c8(++_0x4632c3);}(_0xcc4f,0x82));var _0xfcc4=function(_0x21e10a,_0x477725){_0x21e10a=_0x21e10a-0x0;var _0x55608b=_0xcc4f[_0x21e10a];return _0x55608b;};'use strict';var express=require(_0xfcc4('0x0'));var router=express[_0xfcc4('0x1')]();var auth=require(_0xfcc4('0x2'));var controller=require(_0xfcc4('0x3'));router[_0xfcc4('0x4')]('/',auth['isAuthenticated'](),controller[_0xfcc4('0x5')]);router[_0xfcc4('0x4')]('/process/:pid/kill',auth['isAuthenticated'](),controller[_0xfcc4('0x6')]);module['exports']=router;