Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / squareProject / index.js
index a75dcfe..4814701 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x96bc=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareProject.controller','index','get','isAuthenticated','show','getUsers','post','create','addUsers','put','/:id','update','delete','destroy','/:id/users','removeUsers','exports','multer'];(function(_0x38c5a9,_0x3db609){var _0x5b7f7d=function(_0x1ecd06){while(--_0x1ecd06){_0x38c5a9['push'](_0x38c5a9['shift']());}};_0x5b7f7d(++_0x3db609);}(_0x96bc,0xc7));var _0xc96b=function(_0x3ed82c,_0x2c4239){_0x3ed82c=_0x3ed82c-0x0;var _0x1642f8=_0x96bc[_0x3ed82c];return _0x1642f8;};'use strict';var multer=require(_0xc96b('0x0'));var util=require(_0xc96b('0x1'));var path=require(_0xc96b('0x2'));var timeout=require(_0xc96b('0x3'));var express=require(_0xc96b('0x4'));var router=express['Router']();var auth=require(_0xc96b('0x5'));var interaction=require(_0xc96b('0x6'));var config=require(_0xc96b('0x7'));var controller=require(_0xc96b('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xc96b('0x9')]);router[_0xc96b('0xa')]('/:id',auth[_0xc96b('0xb')](),controller[_0xc96b('0xc')]);router['get']('/:id/users',auth['isAuthenticated'](),controller[_0xc96b('0xd')]);router[_0xc96b('0xe')]('/',auth[_0xc96b('0xb')](),controller[_0xc96b('0xf')]);router[_0xc96b('0xe')]('/:id/users',auth[_0xc96b('0xb')](),controller[_0xc96b('0x10')]);router[_0xc96b('0x11')](_0xc96b('0x12'),auth[_0xc96b('0xb')](),controller[_0xc96b('0x13')]);router[_0xc96b('0x14')]('/:id',auth[_0xc96b('0xb')](),controller[_0xc96b('0x15')]);router[_0xc96b('0x14')](_0xc96b('0x16'),auth[_0xc96b('0xb')](),controller[_0xc96b('0x17')]);module[_0xc96b('0x18')]=router;
\ No newline at end of file
+var _0x37b7=['./squareProject.controller','get','index','/:id','show','post','isAuthenticated','create','update','delete','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x278e3c,_0x1c9cfd){var _0x3e2d9b=function(_0x34d928){while(--_0x34d928){_0x278e3c['push'](_0x278e3c['shift']());}};_0x3e2d9b(++_0x1c9cfd);}(_0x37b7,0xb4));var _0x737b=function(_0x557fd2,_0x2c0a7a){_0x557fd2=_0x557fd2-0x0;var _0x1b54a2=_0x37b7[_0x557fd2];return _0x1b54a2;};'use strict';var multer=require(_0x737b('0x0'));var util=require('util');var path=require(_0x737b('0x1'));var timeout=require(_0x737b('0x2'));var express=require(_0x737b('0x3'));var router=express[_0x737b('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x737b('0x5'));var interaction=require(_0x737b('0x6'));var config=require('../../config/environment');var controller=require(_0x737b('0x7'));router[_0x737b('0x8')]('/',auth['isAuthenticated'](),controller[_0x737b('0x9')]);router['get'](_0x737b('0xa'),auth['isAuthenticated'](),controller[_0x737b('0xb')]);router[_0x737b('0xc')]('/',auth[_0x737b('0xd')](),controller[_0x737b('0xe')]);router['put']('/:id',auth[_0x737b('0xd')](),controller[_0x737b('0xf')]);router[_0x737b('0x10')](_0x737b('0xa'),auth[_0x737b('0xd')](),controller['destroy']);module['exports']=router;
\ No newline at end of file