Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / network / index.js
index d8fa160..6cec7d9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x07f7=['show','post','create','update','delete','destroy','exports','multer','util','connect-timeout','Router','../../components/auth/service','./network.controller','get','isAuthenticated','index','/:id'];(function(_0x2e1106,_0x131552){var _0x2ce905=function(_0x4d72b9){while(--_0x4d72b9){_0x2e1106['push'](_0x2e1106['shift']());}};_0x2ce905(++_0x131552);}(_0x07f7,0x7e));var _0x707f=function(_0x3b085,_0x250543){_0x3b085=_0x3b085-0x0;var _0x476a57=_0x07f7[_0x3b085];return _0x476a57;};'use strict';var multer=require(_0x707f('0x0'));var util=require(_0x707f('0x1'));var path=require('path');var timeout=require(_0x707f('0x2'));var express=require('express');var router=express[_0x707f('0x3')]();var auth=require(_0x707f('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x707f('0x5'));router[_0x707f('0x6')]('/',auth[_0x707f('0x7')](),controller[_0x707f('0x8')]);router[_0x707f('0x6')](_0x707f('0x9'),auth['isAuthenticated'](),controller[_0x707f('0xa')]);router[_0x707f('0xb')]('/',auth['isAuthenticated'](),controller[_0x707f('0xc')]);router['put'](_0x707f('0x9'),auth[_0x707f('0x7')](),controller[_0x707f('0xd')]);router[_0x707f('0xe')](_0x707f('0x9'),auth[_0x707f('0x7')](),controller[_0x707f('0xf')]);module[_0x707f('0x10')]=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