Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / chatMessage / index.js
index 9a04720..01771d5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8a82=['Router','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked','chat','chatmessage:create','create','update','accept','put','reject','delete','destroy','multer','connect-timeout','express'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8a82,0x70));var _0x28a8=function(_0x46ea74,_0x148f26){_0x46ea74=_0x46ea74-0x0;var _0x35c2c0=_0x8a82[_0x46ea74];return _0x35c2c0;};'use strict';var multer=require(_0x28a8('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x28a8('0x1'));var express=require(_0x28a8('0x2'));var router=express[_0x28a8('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x28a8('0x4'));var controller=require('./chatMessage.controller');router[_0x28a8('0x5')]('/',auth[_0x28a8('0x6')](),controller[_0x28a8('0x7')]);router[_0x28a8('0x5')](_0x28a8('0x8'),auth[_0x28a8('0x6')](),controller[_0x28a8('0x9')]);router[_0x28a8('0x5')](_0x28a8('0xa'),auth[_0x28a8('0x6')](),controller[_0x28a8('0xb')]);router[_0x28a8('0xc')]('/',auth[_0x28a8('0x6')](),interaction[_0x28a8('0xd')](_0x28a8('0xe'),_0x28a8('0xf')),controller[_0x28a8('0x10')]);router['put'](_0x28a8('0xa'),controller[_0x28a8('0x11')]);router['put']('/:id/accept',auth[_0x28a8('0x6')](),controller[_0x28a8('0x12')]);router[_0x28a8('0x13')]('/:id/reject',auth[_0x28a8('0x6')](),controller[_0x28a8('0x14')]);router[_0x28a8('0x15')](_0x28a8('0xa'),auth[_0x28a8('0x6')](),controller[_0x28a8('0x16')]);module['exports']=router;
\ No newline at end of file
+var _0xefa4=['/:id/reject','reject','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','show','post','tracked','chat','chatmessage:create','create','put','/:id','update','/:id/accept','accept'];(function(_0x46d16b,_0x13f06e){var _0x2e56a2=function(_0x919069){while(--_0x919069){_0x46d16b['push'](_0x46d16b['shift']());}};_0x2e56a2(++_0x13f06e);}(_0xefa4,0xdc));var _0x4efa=function(_0x21b6ef,_0x5d3990){_0x21b6ef=_0x21b6ef-0x0;var _0x26a638=_0xefa4[_0x21b6ef];return _0x26a638;};'use strict';var multer=require(_0x4efa('0x0'));var util=require(_0x4efa('0x1'));var path=require('path');var timeout=require(_0x4efa('0x2'));var express=require(_0x4efa('0x3'));var router=express[_0x4efa('0x4')]();var fs_extra=require(_0x4efa('0x5'));var auth=require(_0x4efa('0x6'));var interaction=require(_0x4efa('0x7'));var config=require(_0x4efa('0x8'));var controller=require('./chatMessage.controller');router[_0x4efa('0x9')]('/',auth[_0x4efa('0xa')](),controller['index']);router['get'](_0x4efa('0xb'),auth[_0x4efa('0xa')](),controller['describe']);router[_0x4efa('0x9')]('/:id',auth[_0x4efa('0xa')](),controller[_0x4efa('0xc')]);router[_0x4efa('0xd')]('/',auth[_0x4efa('0xa')](),interaction[_0x4efa('0xe')](_0x4efa('0xf'),_0x4efa('0x10')),controller[_0x4efa('0x11')]);router[_0x4efa('0x12')](_0x4efa('0x13'),controller[_0x4efa('0x14')]);router['put'](_0x4efa('0x15'),auth[_0x4efa('0xa')](),controller[_0x4efa('0x16')]);router[_0x4efa('0x12')](_0x4efa('0x17'),auth[_0x4efa('0xa')](),controller[_0x4efa('0x18')]);router[_0x4efa('0x19')](_0x4efa('0x13'),auth[_0x4efa('0xa')](),controller['destroy']);module[_0x4efa('0x1a')]=router;
\ No newline at end of file