Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / chatGroup / index.js
index 9b82c85..f2edf2b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6998=['/:id/messages','getMessages','post','create','addMembers','put','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','/describe','isAuthenticated','describe','/:id','/:id/unread','/:id/members','getMembers'];(function(_0x5983b5,_0xa0e8f){var _0x34c1ca=function(_0x337f04){while(--_0x337f04){_0x5983b5['push'](_0x5983b5['shift']());}};_0x34c1ca(++_0xa0e8f);}(_0x6998,0x1a1));var _0x8699=function(_0x565c49,_0x54acd0){_0x565c49=_0x565c49-0x0;var _0x20ca34=_0x6998[_0x565c49];return _0x20ca34;};'use strict';var multer=require(_0x8699('0x0'));var util=require(_0x8699('0x1'));var path=require('path');var timeout=require(_0x8699('0x2'));var express=require(_0x8699('0x3'));var router=express[_0x8699('0x4')]();var auth=require(_0x8699('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8699('0x6'));var controller=require('./chatGroup.controller');router[_0x8699('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8699('0x7')](_0x8699('0x8'),auth[_0x8699('0x9')](),controller[_0x8699('0xa')]);router[_0x8699('0x7')](_0x8699('0xb'),auth[_0x8699('0x9')](),controller['show']);router['get'](_0x8699('0xc'),auth[_0x8699('0x9')](),controller['getUnread']);router[_0x8699('0x7')](_0x8699('0xd'),auth[_0x8699('0x9')](),controller[_0x8699('0xe')]);router['get'](_0x8699('0xf'),auth[_0x8699('0x9')](),controller[_0x8699('0x10')]);router[_0x8699('0x11')]('/',auth[_0x8699('0x9')](),controller[_0x8699('0x12')]);router[_0x8699('0x11')](_0x8699('0xd'),auth[_0x8699('0x9')](),controller[_0x8699('0x13')]);router[_0x8699('0x11')](_0x8699('0xf'),auth['isAuthenticated'](),controller['addMessage']);router[_0x8699('0x14')](_0x8699('0xb'),auth[_0x8699('0x9')](),controller[_0x8699('0x15')]);router['delete']('/:id',auth[_0x8699('0x9')](),controller['destroy']);router[_0x8699('0x16')](_0x8699('0xd'),auth['isAuthenticated'](),controller['removeMembers']);module[_0x8699('0x17')]=router;
\ No newline at end of file
+var _0xb5c4=['destroy','removeMembers','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./chatGroup.controller','get','index','/:id','isAuthenticated','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','addMembers','addMessage','put','update','delete'];(function(_0x4f3196,_0x3b2d08){var _0x908d6b=function(_0x50e98e){while(--_0x50e98e){_0x4f3196['push'](_0x4f3196['shift']());}};_0x908d6b(++_0x3b2d08);}(_0xb5c4,0x125));var _0x4b5c=function(_0x208f91,_0x8131c9){_0x208f91=_0x208f91-0x0;var _0xfc5b7f=_0xb5c4[_0x208f91];return _0xfc5b7f;};'use strict';var multer=require('multer');var util=require(_0x4b5c('0x0'));var path=require(_0x4b5c('0x1'));var timeout=require(_0x4b5c('0x2'));var express=require(_0x4b5c('0x3'));var router=express[_0x4b5c('0x4')]();var fs_extra=require(_0x4b5c('0x5'));var auth=require(_0x4b5c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x4b5c('0x7'));var controller=require(_0x4b5c('0x8'));router[_0x4b5c('0x9')]('/',auth['isAuthenticated'](),controller[_0x4b5c('0xa')]);router['get']('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x4b5c('0x9')](_0x4b5c('0xb'),auth[_0x4b5c('0xc')](),controller[_0x4b5c('0xd')]);router[_0x4b5c('0x9')](_0x4b5c('0xe'),auth[_0x4b5c('0xc')](),controller[_0x4b5c('0xf')]);router['get'](_0x4b5c('0x10'),auth['isAuthenticated'](),controller[_0x4b5c('0x11')]);router[_0x4b5c('0x9')](_0x4b5c('0x12'),auth[_0x4b5c('0xc')](),controller[_0x4b5c('0x13')]);router[_0x4b5c('0x14')]('/',auth[_0x4b5c('0xc')](),controller['create']);router[_0x4b5c('0x14')](_0x4b5c('0x10'),auth['isAuthenticated'](),controller[_0x4b5c('0x15')]);router['post'](_0x4b5c('0x12'),auth[_0x4b5c('0xc')](),controller[_0x4b5c('0x16')]);router[_0x4b5c('0x17')]('/:id',auth[_0x4b5c('0xc')](),controller[_0x4b5c('0x18')]);router[_0x4b5c('0x19')](_0x4b5c('0xb'),auth['isAuthenticated'](),controller[_0x4b5c('0x1a')]);router[_0x4b5c('0x19')](_0x4b5c('0x10'),auth[_0x4b5c('0xc')](),controller[_0x4b5c('0x1b')]);module[_0x4b5c('0x1c')]=router;
\ No newline at end of file