Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / chatMessage / index.js
index 86faeb8..25ee71d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xefd8=['put','update','/:id/accept','accept','/:id/reject','reject','delete','exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./chatMessage.controller','get','isAuthenticated','describe','/:id','tracked','create'];(function(_0x346411,_0x583228){var _0x13a18e=function(_0x5e4361){while(--_0x5e4361){_0x346411['push'](_0x346411['shift']());}};_0x13a18e(++_0x583228);}(_0xefd8,0x1e8));var _0x8efd=function(_0x486338,_0x2ab3f9){_0x486338=_0x486338-0x0;var _0x4c8298=_0xefd8[_0x486338];return _0x4c8298;};'use strict';var multer=require(_0x8efd('0x0'));var util=require('util');var path=require(_0x8efd('0x1'));var timeout=require(_0x8efd('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x8efd('0x3'));var interaction=require(_0x8efd('0x4'));var config=require('../../config/environment');var controller=require(_0x8efd('0x5'));router[_0x8efd('0x6')]('/',auth[_0x8efd('0x7')](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0x8efd('0x8')]);router[_0x8efd('0x6')](_0x8efd('0x9'),auth[_0x8efd('0x7')](),controller['show']);router['post']('/',auth['isAuthenticated'](),interaction[_0x8efd('0xa')]('chat','chatmessage:create'),controller[_0x8efd('0xb')]);router[_0x8efd('0xc')](_0x8efd('0x9'),controller[_0x8efd('0xd')]);router['put'](_0x8efd('0xe'),auth['isAuthenticated'](),controller[_0x8efd('0xf')]);router[_0x8efd('0xc')](_0x8efd('0x10'),auth['isAuthenticated'](),controller[_0x8efd('0x11')]);router[_0x8efd('0x12')](_0x8efd('0x9'),auth[_0x8efd('0x7')](),controller['destroy']);module[_0x8efd('0x13')]=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