Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / chatGroup / index.js
index 5d1cd64..731d557 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafcf=['addMessage','put','/:id','update','delete','destroy','removeMembers','exports','multer','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','show','getUnread','/:id/members','getMessages','post','create','addMembers','/:id/messages'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xafcf,0xd3));var _0xfafc=function(_0x39bd3f,_0x45b058){_0x39bd3f=_0x39bd3f-0x0;var _0x5ce625=_0xafcf[_0x39bd3f];return _0x5ce625;};'use strict';var multer=require(_0xfafc('0x0'));var util=require(_0xfafc('0x1'));var path=require(_0xfafc('0x2'));var timeout=require(_0xfafc('0x3'));var express=require('express');var router=express[_0xfafc('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xfafc('0x5'));var config=require(_0xfafc('0x6'));var controller=require(_0xfafc('0x7'));router[_0xfafc('0x8')]('/',auth[_0xfafc('0x9')](),controller[_0xfafc('0xa')]);router['get'](_0xfafc('0xb'),auth[_0xfafc('0x9')](),controller[_0xfafc('0xc')]);router[_0xfafc('0x8')]('/:id',auth[_0xfafc('0x9')](),controller[_0xfafc('0xd')]);router[_0xfafc('0x8')]('/:id/unread',auth[_0xfafc('0x9')](),controller[_0xfafc('0xe')]);router[_0xfafc('0x8')](_0xfafc('0xf'),auth['isAuthenticated'](),controller['getMembers']);router['get']('/:id/messages',auth[_0xfafc('0x9')](),controller[_0xfafc('0x10')]);router[_0xfafc('0x11')]('/',auth[_0xfafc('0x9')](),controller[_0xfafc('0x12')]);router[_0xfafc('0x11')](_0xfafc('0xf'),auth[_0xfafc('0x9')](),controller[_0xfafc('0x13')]);router['post'](_0xfafc('0x14'),auth[_0xfafc('0x9')](),controller[_0xfafc('0x15')]);router[_0xfafc('0x16')](_0xfafc('0x17'),auth[_0xfafc('0x9')](),controller[_0xfafc('0x18')]);router[_0xfafc('0x19')]('/:id',auth[_0xfafc('0x9')](),controller[_0xfafc('0x1a')]);router[_0xfafc('0x19')]('/:id/members',auth[_0xfafc('0x9')](),controller[_0xfafc('0x1b')]);module[_0xfafc('0x1c')]=router;
\ No newline at end of file
+var _0x9025=['/:id/members','getMembers','/:id/messages','getMessages','create','post','addMessage','put','update','delete','destroy','removeMembers','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/unread'];(function(_0x47aa48,_0x222931){var _0x52def5=function(_0x12b98f){while(--_0x12b98f){_0x47aa48['push'](_0x47aa48['shift']());}};_0x52def5(++_0x222931);}(_0x9025,0x1ac));var _0x5902=function(_0x43d13c,_0x5d982d){_0x43d13c=_0x43d13c-0x0;var _0x2cd1ea=_0x9025[_0x43d13c];return _0x2cd1ea;};'use strict';var multer=require('multer');var util=require(_0x5902('0x0'));var path=require(_0x5902('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x5902('0x2'));var interaction=require(_0x5902('0x3'));var config=require(_0x5902('0x4'));var controller=require(_0x5902('0x5'));router[_0x5902('0x6')]('/',auth[_0x5902('0x7')](),controller[_0x5902('0x8')]);router[_0x5902('0x6')](_0x5902('0x9'),auth[_0x5902('0x7')](),controller[_0x5902('0xa')]);router[_0x5902('0x6')](_0x5902('0xb'),auth[_0x5902('0x7')](),controller[_0x5902('0xc')]);router[_0x5902('0x6')](_0x5902('0xd'),auth['isAuthenticated'](),controller['getUnread']);router[_0x5902('0x6')](_0x5902('0xe'),auth[_0x5902('0x7')](),controller[_0x5902('0xf')]);router[_0x5902('0x6')](_0x5902('0x10'),auth[_0x5902('0x7')](),controller[_0x5902('0x11')]);router['post']('/',auth['isAuthenticated'](),controller[_0x5902('0x12')]);router[_0x5902('0x13')](_0x5902('0xe'),auth[_0x5902('0x7')](),controller['addMembers']);router[_0x5902('0x13')](_0x5902('0x10'),auth[_0x5902('0x7')](),controller[_0x5902('0x14')]);router[_0x5902('0x15')](_0x5902('0xb'),auth[_0x5902('0x7')](),controller[_0x5902('0x16')]);router[_0x5902('0x17')](_0x5902('0xb'),auth['isAuthenticated'](),controller[_0x5902('0x18')]);router[_0x5902('0x17')](_0x5902('0xe'),auth['isAuthenticated'](),controller[_0x5902('0x19')]);module['exports']=router;
\ No newline at end of file