Built motion from commit (unavailable).|2.5.20
[motion2.git] / server / api / openchannelMessage / index.js
index ba62791..be0736d 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 _0xc582=['get','isAuthenticated','/describe','describe','/:id','show','post','tracked','create','put','update','/:id/accept','accept','/:id/reject','delete','destroy','exports','multer','connect-timeout','Router','../../components/auth/service','../../config/environment','./openchannelMessage.controller'];(function(_0x4b2115,_0x1a7bcd){var _0x145ffc=function(_0x42cee4){while(--_0x42cee4){_0x4b2115['push'](_0x4b2115['shift']());}};_0x145ffc(++_0x1a7bcd);}(_0xc582,0x6d));var _0x2c58=function(_0x211632,_0x378e2e){_0x211632=_0x211632-0x0;var _0x5a1da1=_0xc582[_0x211632];return _0x5a1da1;};'use strict';var multer=require(_0x2c58('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x2c58('0x1'));var express=require('express');var router=express[_0x2c58('0x2')]();var auth=require(_0x2c58('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x2c58('0x4'));var controller=require(_0x2c58('0x5'));router[_0x2c58('0x6')]('/',auth[_0x2c58('0x7')](),controller['index']);router[_0x2c58('0x6')](_0x2c58('0x8'),auth[_0x2c58('0x7')](),controller[_0x2c58('0x9')]);router[_0x2c58('0x6')](_0x2c58('0xa'),auth[_0x2c58('0x7')](),controller[_0x2c58('0xb')]);router[_0x2c58('0xc')]('/',auth[_0x2c58('0x7')](),interaction[_0x2c58('0xd')]('openchannel','openchannelmessage:create'),controller[_0x2c58('0xe')]);router[_0x2c58('0xf')](_0x2c58('0xa'),auth[_0x2c58('0x7')](),controller[_0x2c58('0x10')]);router[_0x2c58('0xf')](_0x2c58('0x11'),auth[_0x2c58('0x7')](),controller[_0x2c58('0x12')]);router[_0x2c58('0xf')](_0x2c58('0x13'),auth[_0x2c58('0x7')](),controller['reject']);router[_0x2c58('0x14')]('/:id',auth[_0x2c58('0x7')](),controller[_0x2c58('0x15')]);module[_0x2c58('0x16')]=router;
\ No newline at end of file