Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / chatMessage / index.js
index bf8cba5..f56b77a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7b81=['accept','/:id/reject','reject','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked','chat','chatmessage:create','create','put'];(function(_0x5a48dd,_0x223dcd){var _0x106079=function(_0x4fcfd8){while(--_0x4fcfd8){_0x5a48dd['push'](_0x5a48dd['shift']());}};_0x106079(++_0x223dcd);}(_0x7b81,0xd5));var _0x17b8=function(_0x1fa909,_0x4780a1){_0x1fa909=_0x1fa909-0x0;var _0xcde6f8=_0x7b81[_0x1fa909];return _0xcde6f8;};'use strict';var multer=require(_0x17b8('0x0'));var util=require(_0x17b8('0x1'));var path=require('path');var timeout=require(_0x17b8('0x2'));var express=require(_0x17b8('0x3'));var router=express[_0x17b8('0x4')]();var auth=require(_0x17b8('0x5'));var interaction=require(_0x17b8('0x6'));var config=require(_0x17b8('0x7'));var controller=require('./chatMessage.controller');router[_0x17b8('0x8')]('/',auth[_0x17b8('0x9')](),controller[_0x17b8('0xa')]);router[_0x17b8('0x8')](_0x17b8('0xb'),auth[_0x17b8('0x9')](),controller[_0x17b8('0xc')]);router[_0x17b8('0x8')](_0x17b8('0xd'),auth['isAuthenticated'](),controller[_0x17b8('0xe')]);router[_0x17b8('0xf')]('/',auth[_0x17b8('0x9')](),interaction[_0x17b8('0x10')](_0x17b8('0x11'),_0x17b8('0x12')),controller[_0x17b8('0x13')]);router[_0x17b8('0x14')](_0x17b8('0xd'),controller['update']);router[_0x17b8('0x14')]('/:id/accept',auth[_0x17b8('0x9')](),controller[_0x17b8('0x15')]);router['put'](_0x17b8('0x16'),auth[_0x17b8('0x9')](),controller[_0x17b8('0x17')]);router['delete'](_0x17b8('0xd'),auth['isAuthenticated'](),controller[_0x17b8('0x18')]);module[_0x17b8('0x19')]=router;
\ No newline at end of file
+var _0x073a=['/describe','describe','tracked','chat','put','/:id','accept','/:id/reject','destroy','multer','util','connect-timeout','express','Router','../../config/environment','./chatMessage.controller','get','isAuthenticated','index'];(function(_0x366e99,_0x15d82d){var _0x180bbe=function(_0x282498){while(--_0x282498){_0x366e99['push'](_0x366e99['shift']());}};_0x180bbe(++_0x15d82d);}(_0x073a,0x198));var _0xa073=function(_0x31030b,_0x4aba61){_0x31030b=_0x31030b-0x0;var _0x3880e8=_0x073a[_0x31030b];return _0x3880e8;};'use strict';var multer=require(_0xa073('0x0'));var util=require(_0xa073('0x1'));var path=require('path');var timeout=require(_0xa073('0x2'));var express=require(_0xa073('0x3'));var router=express[_0xa073('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xa073('0x5'));var controller=require(_0xa073('0x6'));router[_0xa073('0x7')]('/',auth[_0xa073('0x8')](),controller[_0xa073('0x9')]);router[_0xa073('0x7')](_0xa073('0xa'),auth[_0xa073('0x8')](),controller[_0xa073('0xb')]);router[_0xa073('0x7')]('/:id',auth[_0xa073('0x8')](),controller['show']);router['post']('/',auth['isAuthenticated'](),interaction[_0xa073('0xc')](_0xa073('0xd'),'chatmessage:create'),controller['create']);router[_0xa073('0xe')](_0xa073('0xf'),controller['update']);router[_0xa073('0xe')]('/:id/accept',auth[_0xa073('0x8')](),controller[_0xa073('0x10')]);router[_0xa073('0xe')](_0xa073('0x11'),auth[_0xa073('0x8')](),controller['reject']);router['delete'](_0xa073('0xf'),auth['isAuthenticated'](),controller[_0xa073('0x12')]);module['exports']=router;
\ No newline at end of file