Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / network / index.js
index d715405..4583a37 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb0e5=['put','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','get','isAuthenticated','/:id','show','post','create'];(function(_0x1e9424,_0x191cba){var _0x1bd96c=function(_0x5e952d){while(--_0x5e952d){_0x1e9424['push'](_0x1e9424['shift']());}};_0x1bd96c(++_0x191cba);}(_0xb0e5,0x1ad));var _0x5b0e=function(_0x1cfad8,_0x1a5444){_0x1cfad8=_0x1cfad8-0x0;var _0x1e3f35=_0xb0e5[_0x1cfad8];return _0x1e3f35;};'use strict';var multer=require(_0x5b0e('0x0'));var util=require(_0x5b0e('0x1'));var path=require(_0x5b0e('0x2'));var timeout=require(_0x5b0e('0x3'));var express=require(_0x5b0e('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x5b0e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x5b0e('0x6'));var controller=require('./network.controller');router[_0x5b0e('0x7')]('/',auth[_0x5b0e('0x8')](),controller['index']);router['get'](_0x5b0e('0x9'),auth[_0x5b0e('0x8')](),controller[_0x5b0e('0xa')]);router[_0x5b0e('0xb')]('/',auth[_0x5b0e('0x8')](),controller[_0x5b0e('0xc')]);router[_0x5b0e('0xd')](_0x5b0e('0x9'),auth[_0x5b0e('0x8')](),controller['update']);router[_0x5b0e('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x5b0e('0xf')]);module[_0x5b0e('0x10')]=router;
\ No newline at end of file
+var _0xc132=['path','Router','fs-extra','../../components/interaction/service','./network.controller','get','isAuthenticated','/:id','post','create','put','update','delete','exports','multer','util'];(function(_0xabbd2f,_0x44d05a){var _0x34a040=function(_0x3736d9){while(--_0x3736d9){_0xabbd2f['push'](_0xabbd2f['shift']());}};_0x34a040(++_0x44d05a);}(_0xc132,0x11e));var _0x2c13=function(_0x3bbd75,_0x2b62fc){_0x3bbd75=_0x3bbd75-0x0;var _0x2892a0=_0xc132[_0x3bbd75];return _0x2892a0;};'use strict';var multer=require(_0x2c13('0x0'));var util=require(_0x2c13('0x1'));var path=require(_0x2c13('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2c13('0x3')]();var fs_extra=require(_0x2c13('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2c13('0x5'));var config=require('../../config/environment');var controller=require(_0x2c13('0x6'));router[_0x2c13('0x7')]('/',auth[_0x2c13('0x8')](),controller['index']);router[_0x2c13('0x7')](_0x2c13('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x2c13('0xa')]('/',auth[_0x2c13('0x8')](),controller[_0x2c13('0xb')]);router[_0x2c13('0xc')](_0x2c13('0x9'),auth[_0x2c13('0x8')](),controller[_0x2c13('0xd')]);router[_0x2c13('0xe')](_0x2c13('0x9'),auth['isAuthenticated'](),controller['destroy']);module[_0x2c13('0xf')]=router;
\ No newline at end of file