Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / squareProject / index.js
index 3ca4858..49b2a9f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5eb8=['../../components/auth/service','../../components/interaction/service','../../config/environment','./squareProject.controller','get','isAuthenticated','index','show','post','create','/:id/users','addUsers','/:id','delete','destroy','exports','path','connect-timeout','express','Router'];(function(_0x47c5bf,_0x45977e){var _0x11b779=function(_0x1bd585){while(--_0x1bd585){_0x47c5bf['push'](_0x47c5bf['shift']());}};_0x11b779(++_0x45977e);}(_0x5eb8,0xb0));var _0x85eb=function(_0x32a81f,_0x4eee66){_0x32a81f=_0x32a81f-0x0;var _0x5b67a2=_0x5eb8[_0x32a81f];return _0x5b67a2;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x85eb('0x0'));var timeout=require(_0x85eb('0x1'));var express=require(_0x85eb('0x2'));var router=express[_0x85eb('0x3')]();var auth=require(_0x85eb('0x4'));var interaction=require(_0x85eb('0x5'));var config=require(_0x85eb('0x6'));var controller=require(_0x85eb('0x7'));router[_0x85eb('0x8')]('/',auth[_0x85eb('0x9')](),controller[_0x85eb('0xa')]);router[_0x85eb('0x8')]('/:id',auth[_0x85eb('0x9')](),controller[_0x85eb('0xb')]);router[_0x85eb('0x8')]('/:id/users',auth[_0x85eb('0x9')](),controller['getUsers']);router[_0x85eb('0xc')]('/',auth[_0x85eb('0x9')](),controller[_0x85eb('0xd')]);router[_0x85eb('0xc')](_0x85eb('0xe'),auth[_0x85eb('0x9')](),controller[_0x85eb('0xf')]);router['put'](_0x85eb('0x10'),auth[_0x85eb('0x9')](),controller['update']);router[_0x85eb('0x11')](_0x85eb('0x10'),auth[_0x85eb('0x9')](),controller[_0x85eb('0x12')]);router['delete']('/:id/users',auth[_0x85eb('0x9')](),controller['removeUsers']);module[_0x85eb('0x13')]=router;
\ No newline at end of file
+var _0x4b17=['exports','multer','path','express','Router','../../components/interaction/service','get','isAuthenticated','index','/:id','show','/:id/users','getUsers','post','addUsers','put','delete','destroy'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x4b17,0x10f));var _0x74b1=function(_0x4d40dd,_0x39592b){_0x4d40dd=_0x4d40dd-0x0;var _0x1c51f2=_0x4b17[_0x4d40dd];return _0x1c51f2;};'use strict';var multer=require(_0x74b1('0x0'));var util=require('util');var path=require(_0x74b1('0x1'));var timeout=require('connect-timeout');var express=require(_0x74b1('0x2'));var router=express[_0x74b1('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x74b1('0x4'));var config=require('../../config/environment');var controller=require('./squareProject.controller');router[_0x74b1('0x5')]('/',auth[_0x74b1('0x6')](),controller[_0x74b1('0x7')]);router[_0x74b1('0x5')](_0x74b1('0x8'),auth[_0x74b1('0x6')](),controller[_0x74b1('0x9')]);router['get'](_0x74b1('0xa'),auth[_0x74b1('0x6')](),controller[_0x74b1('0xb')]);router[_0x74b1('0xc')]('/',auth[_0x74b1('0x6')](),controller['create']);router[_0x74b1('0xc')](_0x74b1('0xa'),auth['isAuthenticated'](),controller[_0x74b1('0xd')]);router[_0x74b1('0xe')](_0x74b1('0x8'),auth[_0x74b1('0x6')](),controller['update']);router[_0x74b1('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x74b1('0x10')]);router[_0x74b1('0xf')]('/:id/users',auth['isAuthenticated'](),controller['removeUsers']);module[_0x74b1('0x11')]=router;
\ No newline at end of file