Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / openchannelMessage / index.js
index cfbd4be..0c21502 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 _0x70e0=['put','update','/:id/accept','accept','destroy','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelMessage.controller','isAuthenticated','describe','get','/:id','show','post','openchannel','openchannelmessage:create','create'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x70e0,0x17b));var _0x070e=function(_0x410af0,_0x172aec){_0x410af0=_0x410af0-0x0;var _0x1bde7d=_0x70e0[_0x410af0];return _0x1bde7d;};'use strict';var multer=require(_0x070e('0x0'));var util=require(_0x070e('0x1'));var path=require(_0x070e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x070e('0x3')]();var fs_extra=require(_0x070e('0x4'));var auth=require(_0x070e('0x5'));var interaction=require(_0x070e('0x6'));var config=require('../../config/environment');var controller=require(_0x070e('0x7'));router['get']('/',auth[_0x070e('0x8')](),controller['index']);router['get']('/describe',auth[_0x070e('0x8')](),controller[_0x070e('0x9')]);router[_0x070e('0xa')](_0x070e('0xb'),auth[_0x070e('0x8')](),controller[_0x070e('0xc')]);router[_0x070e('0xd')]('/',auth['isAuthenticated'](),interaction['tracked'](_0x070e('0xe'),_0x070e('0xf')),controller[_0x070e('0x10')]);router[_0x070e('0x11')](_0x070e('0xb'),auth[_0x070e('0x8')](),controller[_0x070e('0x12')]);router[_0x070e('0x11')](_0x070e('0x13'),auth[_0x070e('0x8')](),controller[_0x070e('0x14')]);router['put']('/:id/reject',auth[_0x070e('0x8')](),controller['reject']);router['delete']('/:id',auth[_0x070e('0x8')](),controller[_0x070e('0x15')]);module['exports']=router;
\ No newline at end of file