Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / openchannelMessage / index.js
index ba62791..f26f175 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x75cf=['update','accept','/:id/reject','delete','destroy','multer','util','express','../../components/interaction/service','get','isAuthenticated','/describe','describe','post','tracked','openchannelmessage:create','put','/:id'];(function(_0x52e64,_0x6ba4e8){var _0x282b80=function(_0xc11939){while(--_0xc11939){_0x52e64['push'](_0x52e64['shift']());}};_0x282b80(++_0x6ba4e8);}(_0x75cf,0xcb));var _0xf75c=function(_0x330550,_0x47cc7a){_0x330550=_0x330550-0x0;var _0x2f5443=_0x75cf[_0x330550];return _0x2f5443;};'use strict';var multer=require(_0xf75c('0x0'));var util=require(_0xf75c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xf75c('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xf75c('0x3'));var config=require('../../config/environment');var controller=require('./openchannelMessage.controller');router[_0xf75c('0x4')]('/',auth[_0xf75c('0x5')](),controller['index']);router[_0xf75c('0x4')](_0xf75c('0x6'),auth[_0xf75c('0x5')](),controller[_0xf75c('0x7')]);router[_0xf75c('0x4')]('/:id',auth[_0xf75c('0x5')](),controller['show']);router[_0xf75c('0x8')]('/',auth[_0xf75c('0x5')](),interaction[_0xf75c('0x9')]('openchannel',_0xf75c('0xa')),controller['create']);router[_0xf75c('0xb')](_0xf75c('0xc'),auth[_0xf75c('0x5')](),controller[_0xf75c('0xd')]);router[_0xf75c('0xb')]('/:id/accept',auth['isAuthenticated'](),controller[_0xf75c('0xe')]);router['put'](_0xf75c('0xf'),auth[_0xf75c('0x5')](),controller['reject']);router[_0xf75c('0x10')](_0xf75c('0xc'),auth[_0xf75c('0x5')](),controller[_0xf75c('0x11')]);module['exports']=router;
\ No newline at end of file
+var _0xe706=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked','openchannel','openchannelmessage:create','create','update','put','/:id/accept','accept','/:id/reject','exports','multer','util','path','express','Router'];(function(_0x546e60,_0x1121bf){var _0x316f25=function(_0x57c12b){while(--_0x57c12b){_0x546e60['push'](_0x546e60['shift']());}};_0x316f25(++_0x1121bf);}(_0xe706,0xa3));var _0x6e70=function(_0x4ec42,_0x36177b){_0x4ec42=_0x4ec42-0x0;var _0x385e11=_0xe706[_0x4ec42];return _0x385e11;};'use strict';var multer=require(_0x6e70('0x0'));var util=require(_0x6e70('0x1'));var path=require(_0x6e70('0x2'));var timeout=require('connect-timeout');var express=require(_0x6e70('0x3'));var router=express[_0x6e70('0x4')]();var fs_extra=require(_0x6e70('0x5'));var auth=require(_0x6e70('0x6'));var interaction=require(_0x6e70('0x7'));var config=require(_0x6e70('0x8'));var controller=require(_0x6e70('0x9'));router[_0x6e70('0xa')]('/',auth[_0x6e70('0xb')](),controller[_0x6e70('0xc')]);router[_0x6e70('0xa')](_0x6e70('0xd'),auth[_0x6e70('0xb')](),controller[_0x6e70('0xe')]);router[_0x6e70('0xa')](_0x6e70('0xf'),auth[_0x6e70('0xb')](),controller[_0x6e70('0x10')]);router[_0x6e70('0x11')]('/',auth[_0x6e70('0xb')](),interaction[_0x6e70('0x12')](_0x6e70('0x13'),_0x6e70('0x14')),controller[_0x6e70('0x15')]);router['put']('/:id',auth[_0x6e70('0xb')](),controller[_0x6e70('0x16')]);router[_0x6e70('0x17')](_0x6e70('0x18'),auth[_0x6e70('0xb')](),controller[_0x6e70('0x19')]);router[_0x6e70('0x17')](_0x6e70('0x1a'),auth['isAuthenticated'](),controller['reject']);router['delete'](_0x6e70('0xf'),auth['isAuthenticated'](),controller['destroy']);module[_0x6e70('0x1b')]=router;
\ No newline at end of file