Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / network / index.js
index 9084bfb..d8aeb9e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc443=['../../components/interaction/service','../../config/environment','./network.controller','index','get','/:id','isAuthenticated','create','delete','destroy','multer','util','path','express','Router','fs-extra'];(function(_0x2db817,_0x12a72b){var _0x52e456=function(_0x414cd8){while(--_0x414cd8){_0x2db817['push'](_0x2db817['shift']());}};_0x52e456(++_0x12a72b);}(_0xc443,0x16a));var _0x3c44=function(_0x5becbc,_0x301bab){_0x5becbc=_0x5becbc-0x0;var _0x400201=_0xc443[_0x5becbc];return _0x400201;};'use strict';var multer=require(_0x3c44('0x0'));var util=require(_0x3c44('0x1'));var path=require(_0x3c44('0x2'));var timeout=require('connect-timeout');var express=require(_0x3c44('0x3'));var router=express[_0x3c44('0x4')]();var fs_extra=require(_0x3c44('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x3c44('0x6'));var config=require(_0x3c44('0x7'));var controller=require(_0x3c44('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x3c44('0x9')]);router[_0x3c44('0xa')](_0x3c44('0xb'),auth[_0x3c44('0xc')](),controller['show']);router['post']('/',auth[_0x3c44('0xc')](),controller[_0x3c44('0xd')]);router['put'](_0x3c44('0xb'),auth[_0x3c44('0xc')](),controller['update']);router[_0x3c44('0xe')](_0x3c44('0xb'),auth['isAuthenticated'](),controller[_0x3c44('0xf')]);module['exports']=router;
\ No newline at end of file
+var _0x9300=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./network.controller','isAuthenticated','index','get','/:id','show','create','delete','destroy','exports','multer'];(function(_0x2e0979,_0x50df9e){var _0x20f403=function(_0x4a4f37){while(--_0x4a4f37){_0x2e0979['push'](_0x2e0979['shift']());}};_0x20f403(++_0x50df9e);}(_0x9300,0x153));var _0x0930=function(_0x1071d6,_0x293323){_0x1071d6=_0x1071d6-0x0;var _0x4c6be4=_0x9300[_0x1071d6];return _0x4c6be4;};'use strict';var multer=require(_0x0930('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x0930('0x1'));var express=require(_0x0930('0x2'));var router=express[_0x0930('0x3')]();var fs_extra=require(_0x0930('0x4'));var auth=require(_0x0930('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x0930('0x6'));var controller=require(_0x0930('0x7'));router['get']('/',auth[_0x0930('0x8')](),controller[_0x0930('0x9')]);router[_0x0930('0xa')](_0x0930('0xb'),auth[_0x0930('0x8')](),controller[_0x0930('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0930('0xd')]);router['put'](_0x0930('0xb'),auth[_0x0930('0x8')](),controller['update']);router[_0x0930('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x0930('0xf')]);module[_0x0930('0x10')]=router;
\ No newline at end of file