Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / openchannelMessage / index.js
index 68b1d90..c551d39 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa6e9=['/describe','describe','/:id','show','post','tracked','openchannelmessage:create','create','put','/:id/accept','accept','/:id/reject','reject','destroy','exports','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x50aa2e,_0xfbd6f0){var _0x5e07f0=function(_0x3ed540){while(--_0x3ed540){_0x50aa2e['push'](_0x50aa2e['shift']());}};_0x5e07f0(++_0xfbd6f0);}(_0xa6e9,0x6f));var _0x9a6e=function(_0x152c4a,_0x577e84){_0x152c4a=_0x152c4a-0x0;var _0xf64737=_0xa6e9[_0x152c4a];return _0xf64737;};'use strict';var multer=require('multer');var util=require(_0x9a6e('0x0'));var path=require(_0x9a6e('0x1'));var timeout=require(_0x9a6e('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x9a6e('0x3'));var interaction=require(_0x9a6e('0x4'));var config=require(_0x9a6e('0x5'));var controller=require('./openchannelMessage.controller');router[_0x9a6e('0x6')]('/',auth[_0x9a6e('0x7')](),controller[_0x9a6e('0x8')]);router[_0x9a6e('0x6')](_0x9a6e('0x9'),auth[_0x9a6e('0x7')](),controller[_0x9a6e('0xa')]);router[_0x9a6e('0x6')](_0x9a6e('0xb'),auth[_0x9a6e('0x7')](),controller[_0x9a6e('0xc')]);router[_0x9a6e('0xd')]('/',auth[_0x9a6e('0x7')](),interaction[_0x9a6e('0xe')]('openchannel',_0x9a6e('0xf')),controller[_0x9a6e('0x10')]);router[_0x9a6e('0x11')](_0x9a6e('0xb'),auth[_0x9a6e('0x7')](),controller['update']);router[_0x9a6e('0x11')](_0x9a6e('0x12'),auth['isAuthenticated'](),controller[_0x9a6e('0x13')]);router[_0x9a6e('0x11')](_0x9a6e('0x14'),auth[_0x9a6e('0x7')](),controller[_0x9a6e('0x15')]);router['delete'](_0x9a6e('0xb'),auth['isAuthenticated'](),controller[_0x9a6e('0x16')]);module[_0x9a6e('0x17')]=router;
\ No newline at end of file
+var _0xa9e0=['index','/describe','show','post','isAuthenticated','tracked','openchannel','openchannelmessage:create','update','put','/:id/accept','accept','reject','delete','/:id','destroy','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelMessage.controller','get'];(function(_0x2b884c,_0x46772a){var _0x1912fc=function(_0x1de344){while(--_0x1de344){_0x2b884c['push'](_0x2b884c['shift']());}};_0x1912fc(++_0x46772a);}(_0xa9e0,0x123));var _0x0a9e=function(_0x1cfa0d,_0x4391f2){_0x1cfa0d=_0x1cfa0d-0x0;var _0xe33279=_0xa9e0[_0x1cfa0d];return _0xe33279;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x0a9e('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xb')]);router[_0x0a9e('0xc')]('/',auth[_0x0a9e('0xd')](),interaction[_0x0a9e('0xe')](_0x0a9e('0xf'),_0x0a9e('0x10')),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0x11')]);router[_0x0a9e('0x12')](_0x0a9e('0x13'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x14')]);router[_0x0a9e('0x12')]('/:id/reject',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x15')]);router[_0x0a9e('0x16')](_0x0a9e('0x17'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x18')]);module['exports']=router;
\ No newline at end of file