Built motion from commit 7ab0e143.|2.5.49
[motion2.git] / server / api / chatGroup / index.js
index 7c25459..4dc7a1b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2a1e=['post','put','update','destroy','delete','removeMembers','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','getUnread','/:id/members','getMembers','/:id/messages','addMembers'];(function(_0x486eff,_0x5cb3b0){var _0x95293b=function(_0x25b947){while(--_0x25b947){_0x486eff['push'](_0x486eff['shift']());}};_0x95293b(++_0x5cb3b0);}(_0x2a1e,0xbd));var _0xe2a1=function(_0x314f95,_0x33f646){_0x314f95=_0x314f95-0x0;var _0x397feb=_0x2a1e[_0x314f95];return _0x397feb;};'use strict';var multer=require(_0xe2a1('0x0'));var util=require('util');var path=require(_0xe2a1('0x1'));var timeout=require(_0xe2a1('0x2'));var express=require(_0xe2a1('0x3'));var router=express[_0xe2a1('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xe2a1('0x5'));var interaction=require(_0xe2a1('0x6'));var config=require(_0xe2a1('0x7'));var controller=require('./chatGroup.controller');router[_0xe2a1('0x8')]('/',auth[_0xe2a1('0x9')](),controller[_0xe2a1('0xa')]);router[_0xe2a1('0x8')]('/describe',auth[_0xe2a1('0x9')](),controller[_0xe2a1('0xb')]);router['get'](_0xe2a1('0xc'),auth[_0xe2a1('0x9')](),controller[_0xe2a1('0xd')]);router[_0xe2a1('0x8')]('/:id/unread',auth[_0xe2a1('0x9')](),controller[_0xe2a1('0xe')]);router[_0xe2a1('0x8')](_0xe2a1('0xf'),auth[_0xe2a1('0x9')](),controller[_0xe2a1('0x10')]);router['get'](_0xe2a1('0x11'),auth[_0xe2a1('0x9')](),controller['getMessages']);router['post']('/',auth[_0xe2a1('0x9')](),controller['create']);router['post'](_0xe2a1('0xf'),auth[_0xe2a1('0x9')](),controller[_0xe2a1('0x12')]);router[_0xe2a1('0x13')](_0xe2a1('0x11'),auth[_0xe2a1('0x9')](),controller['addMessage']);router[_0xe2a1('0x14')](_0xe2a1('0xc'),auth['isAuthenticated'](),controller[_0xe2a1('0x15')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xe2a1('0x16')]);router[_0xe2a1('0x17')](_0xe2a1('0xf'),auth[_0xe2a1('0x9')](),controller[_0xe2a1('0x18')]);module[_0xe2a1('0x19')]=router;
\ No newline at end of file
+var _0xcfc2=['../../config/environment','./chatGroup.controller','get','isAuthenticated','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','create','addMembers','addMessage','put','update','destroy','delete','exports','util','path','connect-timeout','Router','../../components/interaction/service'];(function(_0x4ba845,_0x1b44c4){var _0x399c6b=function(_0x550b6b){while(--_0x550b6b){_0x4ba845['push'](_0x4ba845['shift']());}};_0x399c6b(++_0x1b44c4);}(_0xcfc2,0xb8));var _0x2cfc=function(_0x335491,_0x3c9482){_0x335491=_0x335491-0x0;var _0x39226e=_0xcfc2[_0x335491];return _0x39226e;};'use strict';var multer=require('multer');var util=require(_0x2cfc('0x0'));var path=require(_0x2cfc('0x1'));var timeout=require(_0x2cfc('0x2'));var express=require('express');var router=express[_0x2cfc('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x2cfc('0x4'));var config=require(_0x2cfc('0x5'));var controller=require(_0x2cfc('0x6'));router[_0x2cfc('0x7')]('/',auth[_0x2cfc('0x8')](),controller['index']);router[_0x2cfc('0x7')]('/describe',auth[_0x2cfc('0x8')](),controller[_0x2cfc('0x9')]);router[_0x2cfc('0x7')](_0x2cfc('0xa'),auth[_0x2cfc('0x8')](),controller[_0x2cfc('0xb')]);router['get'](_0x2cfc('0xc'),auth['isAuthenticated'](),controller[_0x2cfc('0xd')]);router[_0x2cfc('0x7')](_0x2cfc('0xe'),auth[_0x2cfc('0x8')](),controller[_0x2cfc('0xf')]);router[_0x2cfc('0x7')](_0x2cfc('0x10'),auth[_0x2cfc('0x8')](),controller[_0x2cfc('0x11')]);router[_0x2cfc('0x12')]('/',auth[_0x2cfc('0x8')](),controller[_0x2cfc('0x13')]);router[_0x2cfc('0x12')](_0x2cfc('0xe'),auth['isAuthenticated'](),controller[_0x2cfc('0x14')]);router['post'](_0x2cfc('0x10'),auth[_0x2cfc('0x8')](),controller[_0x2cfc('0x15')]);router[_0x2cfc('0x16')](_0x2cfc('0xa'),auth[_0x2cfc('0x8')](),controller[_0x2cfc('0x17')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x2cfc('0x18')]);router[_0x2cfc('0x19')](_0x2cfc('0xe'),auth[_0x2cfc('0x8')](),controller['removeMembers']);module[_0x2cfc('0x1a')]=router;
\ No newline at end of file