Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / chatGroup / index.js
index 4b68a61..cc7bfca 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x61cb=['addMessage','delete','removeMembers','exports','multer','util','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/unread','/:id/members','getMembers','/:id/messages','getMessages','post','create','addMembers'];(function(_0x487308,_0xc78364){var _0x5e3b09=function(_0x27edf7){while(--_0x27edf7){_0x487308['push'](_0x487308['shift']());}};_0x5e3b09(++_0xc78364);}(_0x61cb,0x199));var _0xb61c=function(_0x40cff7,_0x5c3eb5){_0x40cff7=_0x40cff7-0x0;var _0x38006f=_0x61cb[_0x40cff7];return _0x38006f;};'use strict';var multer=require(_0xb61c('0x0'));var util=require(_0xb61c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb61c('0x2'));var router=express[_0xb61c('0x3')]();var fs_extra=require(_0xb61c('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xb61c('0x5'));var config=require(_0xb61c('0x6'));var controller=require(_0xb61c('0x7'));router[_0xb61c('0x8')]('/',auth[_0xb61c('0x9')](),controller[_0xb61c('0xa')]);router[_0xb61c('0x8')](_0xb61c('0xb'),auth['isAuthenticated'](),controller[_0xb61c('0xc')]);router[_0xb61c('0x8')](_0xb61c('0xd'),auth[_0xb61c('0x9')](),controller[_0xb61c('0xe')]);router[_0xb61c('0x8')](_0xb61c('0xf'),auth[_0xb61c('0x9')](),controller['getUnread']);router['get'](_0xb61c('0x10'),auth[_0xb61c('0x9')](),controller[_0xb61c('0x11')]);router['get'](_0xb61c('0x12'),auth[_0xb61c('0x9')](),controller[_0xb61c('0x13')]);router[_0xb61c('0x14')]('/',auth[_0xb61c('0x9')](),controller[_0xb61c('0x15')]);router[_0xb61c('0x14')](_0xb61c('0x10'),auth[_0xb61c('0x9')](),controller[_0xb61c('0x16')]);router[_0xb61c('0x14')](_0xb61c('0x12'),auth[_0xb61c('0x9')](),controller[_0xb61c('0x17')]);router['put'](_0xb61c('0xd'),auth['isAuthenticated'](),controller['update']);router[_0xb61c('0x18')](_0xb61c('0xd'),auth[_0xb61c('0x9')](),controller['destroy']);router[_0xb61c('0x18')](_0xb61c('0x10'),auth[_0xb61c('0x9')](),controller[_0xb61c('0x19')]);module[_0xb61c('0x1a')]=router;
\ No newline at end of file
+var _0x90b4=['getMembers','/:id/messages','getMessages','create','addMembers','post','addMessage','update','delete','removeMembers','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','index','/describe','isAuthenticated','describe','/:id','/:id/unread','getUnread','/:id/members'];(function(_0x1a1c37,_0x19ec62){var _0x2afeb3=function(_0x178011){while(--_0x178011){_0x1a1c37['push'](_0x1a1c37['shift']());}};_0x2afeb3(++_0x19ec62);}(_0x90b4,0x9b));var _0x490b=function(_0x235165,_0xdcd289){_0x235165=_0x235165-0x0;var _0x18fd20=_0x90b4[_0x235165];return _0x18fd20;};'use strict';var multer=require(_0x490b('0x0'));var util=require(_0x490b('0x1'));var path=require(_0x490b('0x2'));var timeout=require('connect-timeout');var express=require(_0x490b('0x3'));var router=express[_0x490b('0x4')]();var fs_extra=require(_0x490b('0x5'));var auth=require(_0x490b('0x6'));var interaction=require(_0x490b('0x7'));var config=require(_0x490b('0x8'));var controller=require(_0x490b('0x9'));router[_0x490b('0xa')]('/',auth['isAuthenticated'](),controller[_0x490b('0xb')]);router['get'](_0x490b('0xc'),auth[_0x490b('0xd')](),controller[_0x490b('0xe')]);router[_0x490b('0xa')](_0x490b('0xf'),auth[_0x490b('0xd')](),controller['show']);router['get'](_0x490b('0x10'),auth['isAuthenticated'](),controller[_0x490b('0x11')]);router[_0x490b('0xa')](_0x490b('0x12'),auth[_0x490b('0xd')](),controller[_0x490b('0x13')]);router[_0x490b('0xa')](_0x490b('0x14'),auth[_0x490b('0xd')](),controller[_0x490b('0x15')]);router['post']('/',auth[_0x490b('0xd')](),controller[_0x490b('0x16')]);router['post'](_0x490b('0x12'),auth[_0x490b('0xd')](),controller[_0x490b('0x17')]);router[_0x490b('0x18')](_0x490b('0x14'),auth[_0x490b('0xd')](),controller[_0x490b('0x19')]);router['put'](_0x490b('0xf'),auth['isAuthenticated'](),controller[_0x490b('0x1a')]);router['delete'](_0x490b('0xf'),auth[_0x490b('0xd')](),controller['destroy']);router[_0x490b('0x1b')]('/:id/members',auth[_0x490b('0xd')](),controller[_0x490b('0x1c')]);module['exports']=router;
\ No newline at end of file