Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / chatGroup / index.js
index 15808f9..731d557 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0478=['/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','create','post','addMembers','addMessage','put','update','destroy','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x5c68c7,_0x54ba85){var _0x4a94fc=function(_0x2fdd55){while(--_0x2fdd55){_0x5c68c7['push'](_0x5c68c7['shift']());}};_0x4a94fc(++_0x54ba85);}(_0x0478,0x7d));var _0x8047=function(_0x45d6f9,_0x443787){_0x45d6f9=_0x45d6f9-0x0;var _0x3b7316=_0x0478[_0x45d6f9];return _0x3b7316;};'use strict';var multer=require(_0x8047('0x0'));var util=require(_0x8047('0x1'));var path=require(_0x8047('0x2'));var timeout=require('connect-timeout');var express=require(_0x8047('0x3'));var router=express[_0x8047('0x4')]();var auth=require(_0x8047('0x5'));var interaction=require(_0x8047('0x6'));var config=require(_0x8047('0x7'));var controller=require('./chatGroup.controller');router[_0x8047('0x8')]('/',auth[_0x8047('0x9')](),controller['index']);router['get']('/describe',auth[_0x8047('0x9')](),controller['describe']);router[_0x8047('0x8')](_0x8047('0xa'),auth[_0x8047('0x9')](),controller[_0x8047('0xb')]);router[_0x8047('0x8')](_0x8047('0xc'),auth[_0x8047('0x9')](),controller[_0x8047('0xd')]);router['get'](_0x8047('0xe'),auth[_0x8047('0x9')](),controller[_0x8047('0xf')]);router[_0x8047('0x8')](_0x8047('0x10'),auth[_0x8047('0x9')](),controller[_0x8047('0x11')]);router['post']('/',auth[_0x8047('0x9')](),controller[_0x8047('0x12')]);router[_0x8047('0x13')](_0x8047('0xe'),auth[_0x8047('0x9')](),controller[_0x8047('0x14')]);router[_0x8047('0x13')](_0x8047('0x10'),auth[_0x8047('0x9')](),controller[_0x8047('0x15')]);router[_0x8047('0x16')]('/:id',auth[_0x8047('0x9')](),controller[_0x8047('0x17')]);router['delete'](_0x8047('0xa'),auth[_0x8047('0x9')](),controller[_0x8047('0x18')]);router[_0x8047('0x19')]('/:id/members',auth[_0x8047('0x9')](),controller['removeMembers']);module[_0x8047('0x1a')]=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