Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / network / index.js
index cffa184..a41744e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xce68=['destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./network.controller','get','index','show','post','isAuthenticated','create','/:id','update','delete'];(function(_0x261c6c,_0x409160){var _0x432299=function(_0x7486df){while(--_0x7486df){_0x261c6c['push'](_0x261c6c['shift']());}};_0x432299(++_0x409160);}(_0xce68,0x10c));var _0x8ce6=function(_0x332c62,_0x305dd9){_0x332c62=_0x332c62-0x0;var _0x5c2423=_0xce68[_0x332c62];return _0x5c2423;};'use strict';var multer=require(_0x8ce6('0x0'));var util=require('util');var path=require(_0x8ce6('0x1'));var timeout=require(_0x8ce6('0x2'));var express=require(_0x8ce6('0x3'));var router=express[_0x8ce6('0x4')]();var auth=require(_0x8ce6('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8ce6('0x6'));var controller=require(_0x8ce6('0x7'));router[_0x8ce6('0x8')]('/',auth['isAuthenticated'](),controller[_0x8ce6('0x9')]);router[_0x8ce6('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x8ce6('0xa')]);router[_0x8ce6('0xb')]('/',auth[_0x8ce6('0xc')](),controller[_0x8ce6('0xd')]);router['put'](_0x8ce6('0xe'),auth[_0x8ce6('0xc')](),controller[_0x8ce6('0xf')]);router[_0x8ce6('0x10')](_0x8ce6('0xe'),auth[_0x8ce6('0xc')](),controller[_0x8ce6('0x11')]);module[_0x8ce6('0x12')]=router;
\ No newline at end of file
+var _0xf30f=['isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','./network.controller','get'];(function(_0x29849a,_0x5f5950){var _0x200fc3=function(_0x44c3b2){while(--_0x44c3b2){_0x29849a['push'](_0x29849a['shift']());}};_0x200fc3(++_0x5f5950);}(_0xf30f,0x1a2));var _0xff30=function(_0x5d2803,_0xf375bd){_0x5d2803=_0x5d2803-0x0;var _0xdcad2c=_0xf30f[_0x5d2803];return _0xdcad2c;};'use strict';var multer=require(_0xff30('0x0'));var util=require(_0xff30('0x1'));var path=require(_0xff30('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xff30('0x3'));var interaction=require(_0xff30('0x4'));var config=require('../../config/environment');var controller=require(_0xff30('0x5'));router[_0xff30('0x6')]('/',auth[_0xff30('0x7')](),controller[_0xff30('0x8')]);router[_0xff30('0x6')](_0xff30('0x9'),auth[_0xff30('0x7')](),controller[_0xff30('0xa')]);router[_0xff30('0xb')]('/',auth[_0xff30('0x7')](),controller[_0xff30('0xc')]);router[_0xff30('0xd')]('/:id',auth[_0xff30('0x7')](),controller['update']);router[_0xff30('0xe')](_0xff30('0x9'),auth[_0xff30('0x7')](),controller[_0xff30('0xf')]);module[_0xff30('0x10')]=router;
\ No newline at end of file