Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / chatMessage / index.js
index 8823c6d..1271a53 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb58f=['/describe','describe','/:id','show','post','chat','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index'];(function(_0x4bb27a,_0x373798){var _0x1ef716=function(_0x5c0403){while(--_0x5c0403){_0x4bb27a['push'](_0x4bb27a['shift']());}};_0x1ef716(++_0x373798);}(_0xb58f,0x12c));var _0xfb58=function(_0x5894eb,_0x45bc1b){_0x5894eb=_0x5894eb-0x0;var _0x3d6fd9=_0xb58f[_0x5894eb];return _0x3d6fd9;};'use strict';var multer=require(_0xfb58('0x0'));var util=require(_0xfb58('0x1'));var path=require(_0xfb58('0x2'));var timeout=require(_0xfb58('0x3'));var express=require(_0xfb58('0x4'));var router=express[_0xfb58('0x5')]();var fs_extra=require(_0xfb58('0x6'));var auth=require(_0xfb58('0x7'));var interaction=require(_0xfb58('0x8'));var config=require('../../config/environment');var controller=require('./chatMessage.controller');router[_0xfb58('0x9')]('/',auth[_0xfb58('0xa')](),controller[_0xfb58('0xb')]);router['get'](_0xfb58('0xc'),auth[_0xfb58('0xa')](),controller[_0xfb58('0xd')]);router[_0xfb58('0x9')](_0xfb58('0xe'),auth[_0xfb58('0xa')](),controller[_0xfb58('0xf')]);router[_0xfb58('0x10')]('/',auth[_0xfb58('0xa')](),interaction['tracked'](_0xfb58('0x11'),'chatmessage:create'),controller['create']);router[_0xfb58('0x12')]('/:id',controller['update']);router[_0xfb58('0x12')](_0xfb58('0x13'),auth['isAuthenticated'](),controller[_0xfb58('0x14')]);router[_0xfb58('0x12')](_0xfb58('0x15'),auth[_0xfb58('0xa')](),controller[_0xfb58('0x16')]);router[_0xfb58('0x17')](_0xfb58('0xe'),auth[_0xfb58('0xa')](),controller[_0xfb58('0x18')]);module[_0xfb58('0x19')]=router;
\ No newline at end of file
+var _0x40a1=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','index','get','isAuthenticated','describe','/:id','show','tracked','chatmessage:create','put','update','/:id/accept','accept','/:id/reject','reject','destroy','exports'];(function(_0x6c4358,_0x17bcbb){var _0x7aa4ef=function(_0x3ddd15){while(--_0x3ddd15){_0x6c4358['push'](_0x6c4358['shift']());}};_0x7aa4ef(++_0x17bcbb);}(_0x40a1,0x10e));var _0x140a=function(_0x1e3572,_0x12a24b){_0x1e3572=_0x1e3572-0x0;var _0x9fafc=_0x40a1[_0x1e3572];return _0x9fafc;};'use strict';var multer=require(_0x140a('0x0'));var util=require(_0x140a('0x1'));var path=require(_0x140a('0x2'));var timeout=require(_0x140a('0x3'));var express=require(_0x140a('0x4'));var router=express[_0x140a('0x5')]();var fs_extra=require(_0x140a('0x6'));var auth=require(_0x140a('0x7'));var interaction=require(_0x140a('0x8'));var config=require(_0x140a('0x9'));var controller=require(_0x140a('0xa'));router['get']('/',auth['isAuthenticated'](),controller[_0x140a('0xb')]);router[_0x140a('0xc')]('/describe',auth[_0x140a('0xd')](),controller[_0x140a('0xe')]);router[_0x140a('0xc')](_0x140a('0xf'),auth['isAuthenticated'](),controller[_0x140a('0x10')]);router['post']('/',auth[_0x140a('0xd')](),interaction[_0x140a('0x11')]('chat',_0x140a('0x12')),controller['create']);router[_0x140a('0x13')](_0x140a('0xf'),controller[_0x140a('0x14')]);router[_0x140a('0x13')](_0x140a('0x15'),auth[_0x140a('0xd')](),controller[_0x140a('0x16')]);router[_0x140a('0x13')](_0x140a('0x17'),auth[_0x140a('0xd')](),controller[_0x140a('0x18')]);router['delete'](_0x140a('0xf'),auth[_0x140a('0xd')](),controller[_0x140a('0x19')]);module[_0x140a('0x1a')]=router;
\ No newline at end of file