Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / chatMessage / index.js
index 25ee71d..6454400 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0xa6aa=['accept','reject','delete','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatMessage.controller','get','isAuthenticated','index','/describe','/:id','post','chat','chatmessage:create','create','update','put','/:id/accept'];(function(_0x116b9f,_0x420014){var _0x54add5=function(_0x219528){while(--_0x219528){_0x116b9f['push'](_0x116b9f['shift']());}};_0x54add5(++_0x420014);}(_0xa6aa,0x1c6));var _0xaa6a=function(_0x2f9467,_0x40576f){_0x2f9467=_0x2f9467-0x0;var _0x39894c=_0xa6aa[_0x2f9467];return _0x39894c;};'use strict';var multer=require(_0xaa6a('0x0'));var util=require(_0xaa6a('0x1'));var path=require(_0xaa6a('0x2'));var timeout=require('connect-timeout');var express=require(_0xaa6a('0x3'));var router=express[_0xaa6a('0x4')]();var fs_extra=require(_0xaa6a('0x5'));var auth=require(_0xaa6a('0x6'));var interaction=require(_0xaa6a('0x7'));var config=require('../../config/environment');var controller=require(_0xaa6a('0x8'));router[_0xaa6a('0x9')]('/',auth[_0xaa6a('0xa')](),controller[_0xaa6a('0xb')]);router['get'](_0xaa6a('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0xaa6a('0x9')](_0xaa6a('0xd'),auth[_0xaa6a('0xa')](),controller['show']);router[_0xaa6a('0xe')]('/',auth['isAuthenticated'](),interaction['tracked'](_0xaa6a('0xf'),_0xaa6a('0x10')),controller[_0xaa6a('0x11')]);router['put'](_0xaa6a('0xd'),controller[_0xaa6a('0x12')]);router[_0xaa6a('0x13')](_0xaa6a('0x14'),auth[_0xaa6a('0xa')](),controller[_0xaa6a('0x15')]);router[_0xaa6a('0x13')]('/:id/reject',auth[_0xaa6a('0xa')](),controller[_0xaa6a('0x16')]);router[_0xaa6a('0x17')](_0xaa6a('0xd'),auth[_0xaa6a('0xa')](),controller['destroy']);module[_0xaa6a('0x18')]=router;
\ No newline at end of file