Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / chatMessage / index.js
index 9da802c..ccbdbe3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x171c=['../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','post','chat','chatmessage:create','create','update','/:id/accept','accept','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x47a99f,_0x125685){var _0x5eb5ee=function(_0x3ce884){while(--_0x3ce884){_0x47a99f['push'](_0x47a99f['shift']());}};_0x5eb5ee(++_0x125685);}(_0x171c,0xc1));var _0xc171=function(_0xb91c1d,_0x5dec59){_0xb91c1d=_0xb91c1d-0x0;var _0x3af132=_0x171c[_0xb91c1d];return _0x3af132;};'use strict';var multer=require(_0xc171('0x0'));var util=require(_0xc171('0x1'));var path=require(_0xc171('0x2'));var timeout=require(_0xc171('0x3'));var express=require(_0xc171('0x4'));var router=express[_0xc171('0x5')]();var auth=require(_0xc171('0x6'));var interaction=require(_0xc171('0x7'));var config=require('../../config/environment');var controller=require('./chatMessage.controller');router[_0xc171('0x8')]('/',auth[_0xc171('0x9')](),controller[_0xc171('0xa')]);router[_0xc171('0x8')](_0xc171('0xb'),auth[_0xc171('0x9')](),controller[_0xc171('0xc')]);router['get'](_0xc171('0xd'),auth[_0xc171('0x9')](),controller['show']);router[_0xc171('0xe')]('/',auth['isAuthenticated'](),interaction['tracked'](_0xc171('0xf'),_0xc171('0x10')),controller[_0xc171('0x11')]);router['put'](_0xc171('0xd'),controller[_0xc171('0x12')]);router['put'](_0xc171('0x13'),auth[_0xc171('0x9')](),controller[_0xc171('0x14')]);router[_0xc171('0x15')]('/:id/reject',auth[_0xc171('0x9')](),controller['reject']);router[_0xc171('0x16')]('/:id',auth[_0xc171('0x9')](),controller[_0xc171('0x17')]);module[_0xc171('0x18')]=router;
\ No newline at end of file
+var _0x187f=['/:id','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','get','isAuthenticated','index','/describe','describe','show','chat','chatmessage:create','create','put'];(function(_0x42181f,_0x11cfc5){var _0x3a3fbc=function(_0x6d384e){while(--_0x6d384e){_0x42181f['push'](_0x42181f['shift']());}};_0x3a3fbc(++_0x11cfc5);}(_0x187f,0x197));var _0xf187=function(_0x1ec2de,_0x43f1e1){_0x1ec2de=_0x1ec2de-0x0;var _0x42e7ca=_0x187f[_0x1ec2de];return _0x42e7ca;};'use strict';var multer=require(_0xf187('0x0'));var util=require(_0xf187('0x1'));var path=require(_0xf187('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xf187('0x3'));var auth=require(_0xf187('0x4'));var interaction=require(_0xf187('0x5'));var config=require(_0xf187('0x6'));var controller=require(_0xf187('0x7'));router[_0xf187('0x8')]('/',auth[_0xf187('0x9')](),controller[_0xf187('0xa')]);router['get'](_0xf187('0xb'),auth[_0xf187('0x9')](),controller[_0xf187('0xc')]);router[_0xf187('0x8')]('/:id',auth[_0xf187('0x9')](),controller[_0xf187('0xd')]);router['post']('/',auth['isAuthenticated'](),interaction['tracked'](_0xf187('0xe'),_0xf187('0xf')),controller[_0xf187('0x10')]);router[_0xf187('0x11')](_0xf187('0x12'),controller['update']);router[_0xf187('0x11')]('/:id/accept',auth[_0xf187('0x9')](),controller[_0xf187('0x13')]);router['put'](_0xf187('0x14'),auth[_0xf187('0x9')](),controller[_0xf187('0x15')]);router[_0xf187('0x16')]('/:id',auth[_0xf187('0x9')](),controller[_0xf187('0x17')]);module[_0xf187('0x18')]=router;
\ No newline at end of file