Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / openchannelMessage / index.js
index 79fb732..0711cf3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa8ce=['reject','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelMessage.controller','isAuthenticated','index','/describe','get','/:id','show','tracked','openchannel','openchannelmessage:create','create','put','/:id/accept','/:id/reject'];(function(_0x490a6b,_0x5267ea){var _0x1e4dd0=function(_0x285705){while(--_0x285705){_0x490a6b['push'](_0x490a6b['shift']());}};_0x1e4dd0(++_0x5267ea);}(_0xa8ce,0x1d8));var _0xea8c=function(_0x558e37,_0x29b839){_0x558e37=_0x558e37-0x0;var _0x522bd4=_0xa8ce[_0x558e37];return _0x522bd4;};'use strict';var multer=require('multer');var util=require(_0xea8c('0x0'));var path=require(_0xea8c('0x1'));var timeout=require(_0xea8c('0x2'));var express=require(_0xea8c('0x3'));var router=express[_0xea8c('0x4')]();var fs_extra=require(_0xea8c('0x5'));var auth=require(_0xea8c('0x6'));var interaction=require(_0xea8c('0x7'));var config=require('../../config/environment');var controller=require(_0xea8c('0x8'));router['get']('/',auth[_0xea8c('0x9')](),controller[_0xea8c('0xa')]);router['get'](_0xea8c('0xb'),auth[_0xea8c('0x9')](),controller['describe']);router[_0xea8c('0xc')](_0xea8c('0xd'),auth[_0xea8c('0x9')](),controller[_0xea8c('0xe')]);router['post']('/',auth[_0xea8c('0x9')](),interaction[_0xea8c('0xf')](_0xea8c('0x10'),_0xea8c('0x11')),controller[_0xea8c('0x12')]);router[_0xea8c('0x13')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xea8c('0x13')](_0xea8c('0x14'),auth[_0xea8c('0x9')](),controller['accept']);router[_0xea8c('0x13')](_0xea8c('0x15'),auth[_0xea8c('0x9')](),controller[_0xea8c('0x16')]);router[_0xea8c('0x17')](_0xea8c('0xd'),auth[_0xea8c('0x9')](),controller[_0xea8c('0x18')]);module[_0xea8c('0x19')]=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(_0x2c17ee,_0x18ffa2){_0x2c17ee=_0x2c17ee-0x0;var _0x3bbdb4=_0x70e0[_0x2c17ee];return _0x3bbdb4;};'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