Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / chatMessage / index.js
index bf8cba5..73d484d 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 _0x37f0=['connect-timeout','express','Router','fs-extra','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','post','tracked','chat','chatmessage:create','update','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports'];(function(_0x4e221e,_0x22329a){var _0x2297eb=function(_0x59a4cd){while(--_0x59a4cd){_0x4e221e['push'](_0x4e221e['shift']());}};_0x2297eb(++_0x22329a);}(_0x37f0,0xd8));var _0x037f=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0x37f0[_0x2b4411];return _0x8e41ef;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x037f('0x0'));var express=require(_0x037f('0x1'));var router=express[_0x037f('0x2')]();var fs_extra=require(_0x037f('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x037f('0x4'));var controller=require('./chatMessage.controller');router[_0x037f('0x5')]('/',auth[_0x037f('0x6')](),controller['index']);router[_0x037f('0x5')](_0x037f('0x7'),auth['isAuthenticated'](),controller[_0x037f('0x8')]);router[_0x037f('0x5')](_0x037f('0x9'),auth[_0x037f('0x6')](),controller[_0x037f('0xa')]);router[_0x037f('0xb')]('/',auth[_0x037f('0x6')](),interaction[_0x037f('0xc')](_0x037f('0xd'),_0x037f('0xe')),controller['create']);router['put'](_0x037f('0x9'),controller[_0x037f('0xf')]);router[_0x037f('0x10')](_0x037f('0x11'),auth[_0x037f('0x6')](),controller[_0x037f('0x12')]);router[_0x037f('0x10')](_0x037f('0x13'),auth['isAuthenticated'](),controller[_0x037f('0x14')]);router[_0x037f('0x15')](_0x037f('0x9'),auth[_0x037f('0x6')](),controller[_0x037f('0x16')]);module[_0x037f('0x17')]=router;
\ No newline at end of file