Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / chatMessage / index.js
index fc3aff3..9777fca 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x73f5=['update','/:id/accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','show','post','tracked','chat','chatmessage:create','create','put','/:id'];(function(_0x3c8018,_0x4f3203){var _0x1ad526=function(_0x2ba184){while(--_0x2ba184){_0x3c8018['push'](_0x3c8018['shift']());}};_0x1ad526(++_0x4f3203);}(_0x73f5,0x13f));var _0x573f=function(_0x22af95,_0x3d0704){_0x22af95=_0x22af95-0x0;var _0x4e4adc=_0x73f5[_0x22af95];return _0x4e4adc;};'use strict';var multer=require(_0x573f('0x0'));var util=require(_0x573f('0x1'));var path=require(_0x573f('0x2'));var timeout=require('connect-timeout');var express=require(_0x573f('0x3'));var router=express[_0x573f('0x4')]();var fs_extra=require(_0x573f('0x5'));var auth=require(_0x573f('0x6'));var interaction=require(_0x573f('0x7'));var config=require(_0x573f('0x8'));var controller=require('./chatMessage.controller');router['get']('/',auth[_0x573f('0x9')](),controller['index']);router[_0x573f('0xa')]('/describe',auth[_0x573f('0x9')](),controller['describe']);router['get']('/:id',auth[_0x573f('0x9')](),controller[_0x573f('0xb')]);router[_0x573f('0xc')]('/',auth[_0x573f('0x9')](),interaction[_0x573f('0xd')](_0x573f('0xe'),_0x573f('0xf')),controller[_0x573f('0x10')]);router[_0x573f('0x11')](_0x573f('0x12'),controller[_0x573f('0x13')]);router[_0x573f('0x11')](_0x573f('0x14'),auth[_0x573f('0x9')](),controller['accept']);router[_0x573f('0x11')](_0x573f('0x15'),auth[_0x573f('0x9')](),controller[_0x573f('0x16')]);router[_0x573f('0x17')](_0x573f('0x12'),auth[_0x573f('0x9')](),controller[_0x573f('0x18')]);module[_0x573f('0x19')]=router;
\ No newline at end of file
+var _0xfcd9=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked','chat','chatmessage:create','create','put','update','accept','reject','delete','destroy','exports','multer','path'];(function(_0xd9a74f,_0x3e263e){var _0x3fc7ae=function(_0x29be5d){while(--_0x29be5d){_0xd9a74f['push'](_0xd9a74f['shift']());}};_0x3fc7ae(++_0x3e263e);}(_0xfcd9,0x1ae));var _0x9fcd=function(_0x23fcec,_0x48ec4c){_0x23fcec=_0x23fcec-0x0;var _0x447567=_0xfcd9[_0x23fcec];return _0x447567;};'use strict';var multer=require(_0x9fcd('0x0'));var util=require('util');var path=require(_0x9fcd('0x1'));var timeout=require('connect-timeout');var express=require(_0x9fcd('0x2'));var router=express['Router']();var fs_extra=require(_0x9fcd('0x3'));var auth=require(_0x9fcd('0x4'));var interaction=require(_0x9fcd('0x5'));var config=require(_0x9fcd('0x6'));var controller=require(_0x9fcd('0x7'));router[_0x9fcd('0x8')]('/',auth[_0x9fcd('0x9')](),controller[_0x9fcd('0xa')]);router[_0x9fcd('0x8')](_0x9fcd('0xb'),auth[_0x9fcd('0x9')](),controller[_0x9fcd('0xc')]);router[_0x9fcd('0x8')](_0x9fcd('0xd'),auth[_0x9fcd('0x9')](),controller[_0x9fcd('0xe')]);router[_0x9fcd('0xf')]('/',auth[_0x9fcd('0x9')](),interaction[_0x9fcd('0x10')](_0x9fcd('0x11'),_0x9fcd('0x12')),controller[_0x9fcd('0x13')]);router[_0x9fcd('0x14')](_0x9fcd('0xd'),controller[_0x9fcd('0x15')]);router[_0x9fcd('0x14')]('/:id/accept',auth[_0x9fcd('0x9')](),controller[_0x9fcd('0x16')]);router[_0x9fcd('0x14')]('/:id/reject',auth[_0x9fcd('0x9')](),controller[_0x9fcd('0x17')]);router[_0x9fcd('0x18')]('/:id',auth[_0x9fcd('0x9')](),controller[_0x9fcd('0x19')]);module[_0x9fcd('0x1a')]=router;
\ No newline at end of file