Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / chatMessage / index.js
index a5425f5..2b678c9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xeef5=['./chatMessage.controller','isAuthenticated','index','describe','get','/:id','show','post','tracked','create','put','update','accept','reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x906efa,_0x210bf2){var _0x5b7f5c=function(_0x117743){while(--_0x117743){_0x906efa['push'](_0x906efa['shift']());}};_0x5b7f5c(++_0x210bf2);}(_0xeef5,0x1d3));var _0x5eef=function(_0x351c97,_0x552cbc){_0x351c97=_0x351c97-0x0;var _0x234efa=_0xeef5[_0x351c97];return _0x234efa;};'use strict';var multer=require(_0x5eef('0x0'));var util=require(_0x5eef('0x1'));var path=require(_0x5eef('0x2'));var timeout=require(_0x5eef('0x3'));var express=require(_0x5eef('0x4'));var router=express[_0x5eef('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x5eef('0x6'));var config=require(_0x5eef('0x7'));var controller=require(_0x5eef('0x8'));router['get']('/',auth[_0x5eef('0x9')](),controller[_0x5eef('0xa')]);router['get']('/describe',auth[_0x5eef('0x9')](),controller[_0x5eef('0xb')]);router[_0x5eef('0xc')](_0x5eef('0xd'),auth[_0x5eef('0x9')](),controller[_0x5eef('0xe')]);router[_0x5eef('0xf')]('/',auth[_0x5eef('0x9')](),interaction[_0x5eef('0x10')]('chat','chatmessage:create'),controller[_0x5eef('0x11')]);router[_0x5eef('0x12')](_0x5eef('0xd'),controller[_0x5eef('0x13')]);router[_0x5eef('0x12')]('/:id/accept',auth['isAuthenticated'](),controller[_0x5eef('0x14')]);router[_0x5eef('0x12')]('/:id/reject',auth['isAuthenticated'](),controller[_0x5eef('0x15')]);router[_0x5eef('0x16')](_0x5eef('0xd'),auth[_0x5eef('0x9')](),controller[_0x5eef('0x17')]);module[_0x5eef('0x18')]=router;
\ No newline at end of file
+var _0x8fb4=['put','update','accept','/:id/reject','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./chatMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked','chat','chatmessage:create','create'];(function(_0x18e366,_0x4ed474){var _0x8d762f=function(_0xac2f65){while(--_0xac2f65){_0x18e366['push'](_0x18e366['shift']());}};_0x8d762f(++_0x4ed474);}(_0x8fb4,0xc4));var _0x48fb=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x8fb4[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0x48fb('0x0'));var util=require(_0x48fb('0x1'));var path=require('path');var timeout=require(_0x48fb('0x2'));var express=require(_0x48fb('0x3'));var router=express[_0x48fb('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x48fb('0x5'));var interaction=require(_0x48fb('0x6'));var config=require('../../config/environment');var controller=require(_0x48fb('0x7'));router[_0x48fb('0x8')]('/',auth[_0x48fb('0x9')](),controller[_0x48fb('0xa')]);router['get'](_0x48fb('0xb'),auth['isAuthenticated'](),controller[_0x48fb('0xc')]);router[_0x48fb('0x8')](_0x48fb('0xd'),auth[_0x48fb('0x9')](),controller[_0x48fb('0xe')]);router[_0x48fb('0xf')]('/',auth[_0x48fb('0x9')](),interaction[_0x48fb('0x10')](_0x48fb('0x11'),_0x48fb('0x12')),controller[_0x48fb('0x13')]);router[_0x48fb('0x14')]('/:id',controller[_0x48fb('0x15')]);router[_0x48fb('0x14')]('/:id/accept',auth[_0x48fb('0x9')](),controller[_0x48fb('0x16')]);router['put'](_0x48fb('0x17'),auth[_0x48fb('0x9')](),controller['reject']);router[_0x48fb('0x18')]('/:id',auth[_0x48fb('0x9')](),controller[_0x48fb('0x19')]);module[_0x48fb('0x1a')]=router;
\ No newline at end of file