Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / chatMessage / index.js
index f9d1b2c..1271a53 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7f1b=['/:id/reject','reject','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','get','isAuthenticated','/describe','/:id','show','post','tracked','chat','chatmessage:create','put','/:id/accept','accept'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x7f1b,0x93));var _0xb7f1=function(_0x1b9eed,_0x54f3f8){_0x1b9eed=_0x1b9eed-0x0;var _0x1e7907=_0x7f1b[_0x1b9eed];return _0x1e7907;};'use strict';var multer=require(_0xb7f1('0x0'));var util=require(_0xb7f1('0x1'));var path=require(_0xb7f1('0x2'));var timeout=require('connect-timeout');var express=require(_0xb7f1('0x3'));var router=express[_0xb7f1('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb7f1('0x5'));var interaction=require(_0xb7f1('0x6'));var config=require(_0xb7f1('0x7'));var controller=require(_0xb7f1('0x8'));router[_0xb7f1('0x9')]('/',auth[_0xb7f1('0xa')](),controller['index']);router[_0xb7f1('0x9')](_0xb7f1('0xb'),auth[_0xb7f1('0xa')](),controller['describe']);router[_0xb7f1('0x9')](_0xb7f1('0xc'),auth[_0xb7f1('0xa')](),controller[_0xb7f1('0xd')]);router[_0xb7f1('0xe')]('/',auth[_0xb7f1('0xa')](),interaction[_0xb7f1('0xf')](_0xb7f1('0x10'),_0xb7f1('0x11')),controller['create']);router[_0xb7f1('0x12')](_0xb7f1('0xc'),controller['update']);router[_0xb7f1('0x12')](_0xb7f1('0x13'),auth[_0xb7f1('0xa')](),controller[_0xb7f1('0x14')]);router[_0xb7f1('0x12')](_0xb7f1('0x15'),auth[_0xb7f1('0xa')](),controller[_0xb7f1('0x16')]);router['delete'](_0xb7f1('0xc'),auth[_0xb7f1('0xa')](),controller['destroy']);module[_0xb7f1('0x17')]=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