Built motion from commit (unavailable).|2.2.5
[motion2.git] / server / api / openchannelMessage / index.js
index 8859ba5..a1aaec2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xffa2=['index','/describe','/:id','post','tracked','openchannel','create','put','update','/:id/reject','reject','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../config/environment','./openchannelMessage.controller','get','isAuthenticated'];(function(_0x50f392,_0x1d8441){var _0x5926f2=function(_0x17df32){while(--_0x17df32){_0x50f392['push'](_0x50f392['shift']());}};_0x5926f2(++_0x1d8441);}(_0xffa2,0x150));var _0x2ffa=function(_0x3480d0,_0x23a2bd){_0x3480d0=_0x3480d0-0x0;var _0x443c51=_0xffa2[_0x3480d0];return _0x443c51;};'use strict';var multer=require(_0x2ffa('0x0'));var util=require(_0x2ffa('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2ffa('0x2'));var router=express[_0x2ffa('0x3')]();var auth=require(_0x2ffa('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2ffa('0x5'));var controller=require(_0x2ffa('0x6'));router[_0x2ffa('0x7')]('/',auth[_0x2ffa('0x8')](),controller[_0x2ffa('0x9')]);router['get'](_0x2ffa('0xa'),auth[_0x2ffa('0x8')](),controller['describe']);router['get'](_0x2ffa('0xb'),auth[_0x2ffa('0x8')](),controller['show']);router[_0x2ffa('0xc')]('/',auth[_0x2ffa('0x8')](),interaction[_0x2ffa('0xd')](_0x2ffa('0xe'),'openchannelmessage:create'),controller[_0x2ffa('0xf')]);router[_0x2ffa('0x10')](_0x2ffa('0xb'),auth[_0x2ffa('0x8')](),controller[_0x2ffa('0x11')]);router[_0x2ffa('0x10')]('/:id/accept',auth[_0x2ffa('0x8')](),controller['accept']);router['put'](_0x2ffa('0x12'),auth[_0x2ffa('0x8')](),controller[_0x2ffa('0x13')]);router[_0x2ffa('0x14')](_0x2ffa('0xb'),auth[_0x2ffa('0x8')](),controller[_0x2ffa('0x15')]);module[_0x2ffa('0x16')]=router;
\ No newline at end of file
+var _0x296f=['multer','util','path','connect-timeout','express','Router','../../config/environment','./openchannelMessage.controller','get','/describe','describe','isAuthenticated','post','tracked','openchannelmessage:create','create','put','update','/:id/accept','/:id/reject','delete','/:id','destroy','exports'];(function(_0x2d7f0e,_0x3e6fbd){var _0x110b07=function(_0x557b00){while(--_0x557b00){_0x2d7f0e['push'](_0x2d7f0e['shift']());}};_0x110b07(++_0x3e6fbd);}(_0x296f,0xf0));var _0xf296=function(_0x3f6b1b,_0x58d3d6){_0x3f6b1b=_0x3f6b1b-0x0;var _0x4a3d2b=_0x296f[_0x3f6b1b];return _0x4a3d2b;};'use strict';var multer=require(_0xf296('0x0'));var util=require(_0xf296('0x1'));var path=require(_0xf296('0x2'));var timeout=require(_0xf296('0x3'));var express=require(_0xf296('0x4'));var router=express[_0xf296('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf296('0x6'));var controller=require(_0xf296('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xf296('0x8')](_0xf296('0x9'),auth['isAuthenticated'](),controller[_0xf296('0xa')]);router[_0xf296('0x8')]('/:id',auth[_0xf296('0xb')](),controller['show']);router[_0xf296('0xc')]('/',auth[_0xf296('0xb')](),interaction[_0xf296('0xd')]('openchannel',_0xf296('0xe')),controller[_0xf296('0xf')]);router[_0xf296('0x10')]('/:id',auth[_0xf296('0xb')](),controller[_0xf296('0x11')]);router[_0xf296('0x10')](_0xf296('0x12'),auth[_0xf296('0xb')](),controller['accept']);router['put'](_0xf296('0x13'),auth[_0xf296('0xb')](),controller['reject']);router[_0xf296('0x14')](_0xf296('0x15'),auth['isAuthenticated'](),controller[_0xf296('0x16')]);module[_0xf296('0x17')]=router;
\ No newline at end of file