Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / api / openchannelMessage / index.js
index cfbd4be..8d4efe4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1a83=['/describe','describe','/:id','show','tracked','openchannel','openchannelmessage:create','put','accept','reject','destroy','exports','util','connect-timeout','Router','../../components/interaction/service','./openchannelMessage.controller','get','isAuthenticated','index'];(function(_0x3cbe6b,_0x27f63c){var _0x2db0aa=function(_0x5547bb){while(--_0x5547bb){_0x3cbe6b['push'](_0x3cbe6b['shift']());}};_0x2db0aa(++_0x27f63c);}(_0x1a83,0x1c4));var _0x31a8=function(_0x146cb8,_0x36dad5){_0x146cb8=_0x146cb8-0x0;var _0x5388ba=_0x1a83[_0x146cb8];return _0x5388ba;};'use strict';var multer=require('multer');var util=require(_0x31a8('0x0'));var path=require('path');var timeout=require(_0x31a8('0x1'));var express=require('express');var router=express[_0x31a8('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x31a8('0x3'));var config=require('../../config/environment');var controller=require(_0x31a8('0x4'));router[_0x31a8('0x5')]('/',auth[_0x31a8('0x6')](),controller[_0x31a8('0x7')]);router[_0x31a8('0x5')](_0x31a8('0x8'),auth[_0x31a8('0x6')](),controller[_0x31a8('0x9')]);router[_0x31a8('0x5')](_0x31a8('0xa'),auth[_0x31a8('0x6')](),controller[_0x31a8('0xb')]);router['post']('/',auth[_0x31a8('0x6')](),interaction[_0x31a8('0xc')](_0x31a8('0xd'),_0x31a8('0xe')),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x31a8('0xf')]('/:id/accept',auth['isAuthenticated'](),controller[_0x31a8('0x10')]);router['put']('/:id/reject',auth[_0x31a8('0x6')](),controller[_0x31a8('0x11')]);router['delete'](_0x31a8('0xa'),auth[_0x31a8('0x6')](),controller[_0x31a8('0x12')]);module[_0x31a8('0x13')]=router;
\ No newline at end of file
+var _0x9c44=['index','get','/describe','/:id','show','tracked','openchannel','create','put','update','accept','/:id/reject','reject','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./openchannelMessage.controller','isAuthenticated'];(function(_0x17075a,_0x35f21d){var _0x1df110=function(_0x192fa2){while(--_0x192fa2){_0x17075a['push'](_0x17075a['shift']());}};_0x1df110(++_0x35f21d);}(_0x9c44,0x178));var _0x49c4=function(_0x3ff085,_0x27c92e){_0x3ff085=_0x3ff085-0x0;var _0x2b68c3=_0x9c44[_0x3ff085];return _0x2b68c3;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x49c4('0x0'));var timeout=require(_0x49c4('0x1'));var express=require(_0x49c4('0x2'));var router=express[_0x49c4('0x3')]();var fs_extra=require(_0x49c4('0x4'));var auth=require(_0x49c4('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x49c4('0x6'));router['get']('/',auth[_0x49c4('0x7')](),controller[_0x49c4('0x8')]);router[_0x49c4('0x9')](_0x49c4('0xa'),auth[_0x49c4('0x7')](),controller['describe']);router[_0x49c4('0x9')](_0x49c4('0xb'),auth[_0x49c4('0x7')](),controller[_0x49c4('0xc')]);router['post']('/',auth['isAuthenticated'](),interaction[_0x49c4('0xd')](_0x49c4('0xe'),'openchannelmessage:create'),controller[_0x49c4('0xf')]);router[_0x49c4('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x49c4('0x11')]);router[_0x49c4('0x10')]('/:id/accept',auth[_0x49c4('0x7')](),controller[_0x49c4('0x12')]);router['put'](_0x49c4('0x13'),auth[_0x49c4('0x7')](),controller[_0x49c4('0x14')]);router[_0x49c4('0x15')](_0x49c4('0xb'),auth[_0x49c4('0x7')](),controller[_0x49c4('0x16')]);module[_0x49c4('0x17')]=router;
\ No newline at end of file