Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / chatGroup / index.js
index 7759ab3..5e8d15d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafc6=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','addMessage','put','update','delete','destroy','removeMembers','exports','multer','util','path','connect-timeout'];(function(_0x389290,_0x16aa43){var _0x529d99=function(_0x12658c){while(--_0x12658c){_0x389290['push'](_0x389290['shift']());}};_0x529d99(++_0x16aa43);}(_0xafc6,0xaa));var _0x6afc=function(_0x31a371,_0x50828e){_0x31a371=_0x31a371-0x0;var _0x2a5bd6=_0xafc6[_0x31a371];return _0x2a5bd6;};'use strict';var multer=require(_0x6afc('0x0'));var util=require(_0x6afc('0x1'));var path=require(_0x6afc('0x2'));var timeout=require(_0x6afc('0x3'));var express=require('express');var router=express[_0x6afc('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x6afc('0x5'));var interaction=require(_0x6afc('0x6'));var config=require(_0x6afc('0x7'));var controller=require(_0x6afc('0x8'));router[_0x6afc('0x9')]('/',auth[_0x6afc('0xa')](),controller['index']);router[_0x6afc('0x9')](_0x6afc('0xb'),auth[_0x6afc('0xa')](),controller[_0x6afc('0xc')]);router[_0x6afc('0x9')](_0x6afc('0xd'),auth[_0x6afc('0xa')](),controller[_0x6afc('0xe')]);router[_0x6afc('0x9')](_0x6afc('0xf'),auth['isAuthenticated'](),controller[_0x6afc('0x10')]);router[_0x6afc('0x9')](_0x6afc('0x11'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x12')]);router[_0x6afc('0x9')](_0x6afc('0x13'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x14')]);router['post']('/',auth[_0x6afc('0xa')](),controller['create']);router[_0x6afc('0x15')](_0x6afc('0x11'),auth[_0x6afc('0xa')](),controller['addMembers']);router[_0x6afc('0x15')]('/:id/messages',auth['isAuthenticated'](),controller[_0x6afc('0x16')]);router[_0x6afc('0x17')](_0x6afc('0xd'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x18')]);router[_0x6afc('0x19')](_0x6afc('0xd'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x1a')]);router[_0x6afc('0x19')]('/:id/members',auth[_0x6afc('0xa')](),controller[_0x6afc('0x1b')]);module[_0x6afc('0x1c')]=router;
\ No newline at end of file
+var _0x6ef8=['post','addMembers','/:id','delete','destroy','removeMembers','exports','multer','util','path','connect-timeout','../../components/auth/service','./chatGroup.controller','get','isAuthenticated','show','/:id/unread','/:id/members','getMembers','getMessages'];(function(_0x32e9de,_0x6939af){var _0x39b0ac=function(_0x43e087){while(--_0x43e087){_0x32e9de['push'](_0x32e9de['shift']());}};_0x39b0ac(++_0x6939af);}(_0x6ef8,0x183));var _0x86ef=function(_0x14ff14,_0x1b6b2e){_0x14ff14=_0x14ff14-0x0;var _0x45afdd=_0x6ef8[_0x14ff14];return _0x45afdd;};'use strict';var multer=require(_0x86ef('0x0'));var util=require(_0x86ef('0x1'));var path=require(_0x86ef('0x2'));var timeout=require(_0x86ef('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x86ef('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x86ef('0x5'));router[_0x86ef('0x6')]('/',auth[_0x86ef('0x7')](),controller['index']);router['get']('/describe',auth[_0x86ef('0x7')](),controller['describe']);router[_0x86ef('0x6')]('/:id',auth[_0x86ef('0x7')](),controller[_0x86ef('0x8')]);router[_0x86ef('0x6')](_0x86ef('0x9'),auth[_0x86ef('0x7')](),controller['getUnread']);router[_0x86ef('0x6')](_0x86ef('0xa'),auth['isAuthenticated'](),controller[_0x86ef('0xb')]);router[_0x86ef('0x6')]('/:id/messages',auth[_0x86ef('0x7')](),controller[_0x86ef('0xc')]);router['post']('/',auth[_0x86ef('0x7')](),controller['create']);router[_0x86ef('0xd')](_0x86ef('0xa'),auth[_0x86ef('0x7')](),controller[_0x86ef('0xe')]);router[_0x86ef('0xd')]('/:id/messages',auth[_0x86ef('0x7')](),controller['addMessage']);router['put'](_0x86ef('0xf'),auth[_0x86ef('0x7')](),controller['update']);router[_0x86ef('0x10')]('/:id',auth[_0x86ef('0x7')](),controller[_0x86ef('0x11')]);router['delete']('/:id/members',auth[_0x86ef('0x7')](),controller[_0x86ef('0x12')]);module[_0x86ef('0x13')]=router;
\ No newline at end of file