Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / chatMessage / index.js
index 9da802c..25ee71d 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 _0x464b=['create','put','/:id/accept','accept','/:id/reject','reject','multer','util','path','connect-timeout','Router','fs-extra','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','post','tracked','chat'];(function(_0x4a4fd1,_0x538e3d){var _0x490c2e=function(_0xc903d6){while(--_0xc903d6){_0x4a4fd1['push'](_0x4a4fd1['shift']());}};_0x490c2e(++_0x538e3d);}(_0x464b,0x1d4));var _0xb464=function(_0x3e1c5d,_0x49b4fa){_0x3e1c5d=_0x3e1c5d-0x0;var _0x52979e=_0x464b[_0x3e1c5d];return _0x52979e;};'use strict';var multer=require(_0xb464('0x0'));var util=require(_0xb464('0x1'));var path=require(_0xb464('0x2'));var timeout=require(_0xb464('0x3'));var express=require('express');var router=express[_0xb464('0x4')]();var fs_extra=require(_0xb464('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb464('0x6'));var controller=require('./chatMessage.controller');router[_0xb464('0x7')]('/',auth[_0xb464('0x8')](),controller[_0xb464('0x9')]);router['get'](_0xb464('0xa'),auth[_0xb464('0x8')](),controller[_0xb464('0xb')]);router[_0xb464('0x7')](_0xb464('0xc'),auth[_0xb464('0x8')](),controller['show']);router[_0xb464('0xd')]('/',auth[_0xb464('0x8')](),interaction[_0xb464('0xe')](_0xb464('0xf'),'chatmessage:create'),controller[_0xb464('0x10')]);router['put'](_0xb464('0xc'),controller['update']);router[_0xb464('0x11')](_0xb464('0x12'),auth[_0xb464('0x8')](),controller[_0xb464('0x13')]);router['put'](_0xb464('0x14'),auth[_0xb464('0x8')](),controller[_0xb464('0x15')]);router['delete'](_0xb464('0xc'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;
\ No newline at end of file