Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / network / index.js
index e068e80..6cec7d9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x521f=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./network.controller','get','isAuthenticated','index','/:id','show','create','update','delete','destroy','exports','multer','util'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x521f,0xe8));var _0xf521=function(_0x3dc068,_0x408431){_0x3dc068=_0x3dc068-0x0;var _0x4d4786=_0x521f[_0x3dc068];return _0x4d4786;};'use strict';var multer=require(_0xf521('0x0'));var util=require(_0xf521('0x1'));var path=require('path');var timeout=require(_0xf521('0x2'));var express=require(_0xf521('0x3'));var router=express[_0xf521('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xf521('0x5'));var config=require(_0xf521('0x6'));var controller=require(_0xf521('0x7'));router[_0xf521('0x8')]('/',auth[_0xf521('0x9')](),controller[_0xf521('0xa')]);router[_0xf521('0x8')](_0xf521('0xb'),auth['isAuthenticated'](),controller[_0xf521('0xc')]);router['post']('/',auth[_0xf521('0x9')](),controller[_0xf521('0xd')]);router['put'](_0xf521('0xb'),auth[_0xf521('0x9')](),controller[_0xf521('0xe')]);router[_0xf521('0xf')]('/:id',auth[_0xf521('0x9')](),controller[_0xf521('0x10')]);module[_0xf521('0x11')]=router;
\ No newline at end of file
+var _0xa701=['update','delete','destroy','exports','util','path','Router','../../components/interaction/service','../../config/environment','./network.controller','get','/:id','isAuthenticated','show','post','create'];(function(_0xb5abb7,_0x9b082a){var _0xf2f2a2=function(_0x1510cd){while(--_0x1510cd){_0xb5abb7['push'](_0xb5abb7['shift']());}};_0xf2f2a2(++_0x9b082a);}(_0xa701,0xd4));var _0x1a70=function(_0x1a9d5d,_0x508c47){_0x1a9d5d=_0x1a9d5d-0x0;var _0x37e2b8=_0xa701[_0x1a9d5d];return _0x37e2b8;};'use strict';var multer=require('multer');var util=require(_0x1a70('0x0'));var path=require(_0x1a70('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x1a70('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1a70('0x3'));var config=require(_0x1a70('0x4'));var controller=require(_0x1a70('0x5'));router[_0x1a70('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1a70('0x6')](_0x1a70('0x7'),auth[_0x1a70('0x8')](),controller[_0x1a70('0x9')]);router[_0x1a70('0xa')]('/',auth[_0x1a70('0x8')](),controller[_0x1a70('0xb')]);router['put'](_0x1a70('0x7'),auth[_0x1a70('0x8')](),controller[_0x1a70('0xc')]);router[_0x1a70('0xd')]('/:id',auth[_0x1a70('0x8')](),controller[_0x1a70('0xe')]);module[_0x1a70('0xf')]=router;
\ No newline at end of file