Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / chatMessage / index.js
index f0ea659..f9d1b2c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc0bd=['index','/describe','describe','/:id','show','post','tracked','chat','create','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0xc03a64,_0xcc1f2b){var _0x18d913=function(_0x2aa89a){while(--_0x2aa89a){_0xc03a64['push'](_0xc03a64['shift']());}};_0x18d913(++_0xcc1f2b);}(_0xc0bd,0x10e));var _0xdc0b=function(_0x23a087,_0x584895){_0x23a087=_0x23a087-0x0;var _0x1372fc=_0xc0bd[_0x23a087];return _0x1372fc;};'use strict';var multer=require(_0xdc0b('0x0'));var util=require(_0xdc0b('0x1'));var path=require(_0xdc0b('0x2'));var timeout=require(_0xdc0b('0x3'));var express=require(_0xdc0b('0x4'));var router=express[_0xdc0b('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xdc0b('0x6'));var config=require(_0xdc0b('0x7'));var controller=require('./chatMessage.controller');router[_0xdc0b('0x8')]('/',auth[_0xdc0b('0x9')](),controller[_0xdc0b('0xa')]);router['get'](_0xdc0b('0xb'),auth[_0xdc0b('0x9')](),controller[_0xdc0b('0xc')]);router[_0xdc0b('0x8')](_0xdc0b('0xd'),auth[_0xdc0b('0x9')](),controller[_0xdc0b('0xe')]);router[_0xdc0b('0xf')]('/',auth[_0xdc0b('0x9')](),interaction[_0xdc0b('0x10')](_0xdc0b('0x11'),'chatmessage:create'),controller[_0xdc0b('0x12')]);router[_0xdc0b('0x13')](_0xdc0b('0xd'),controller[_0xdc0b('0x14')]);router[_0xdc0b('0x13')](_0xdc0b('0x15'),auth[_0xdc0b('0x9')](),controller[_0xdc0b('0x16')]);router['put'](_0xdc0b('0x17'),auth[_0xdc0b('0x9')](),controller[_0xdc0b('0x18')]);router[_0xdc0b('0x19')]('/:id',auth['isAuthenticated'](),controller[_0xdc0b('0x1a')]);module[_0xdc0b('0x1b')]=router;
\ No newline at end of file
+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