Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / chatGroup / index.js
index 2d80f58..88072d6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x08a6=['getMessages','post','create','addMembers','addMessage','put','update','destroy','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers'];(function(_0x565569,_0x5c0375){var _0x1ac5da=function(_0x1f052b){while(--_0x1f052b){_0x565569['push'](_0x565569['shift']());}};_0x1ac5da(++_0x5c0375);}(_0x08a6,0x7e));var _0x608a=function(_0x52fc63,_0x5a2f5e){_0x52fc63=_0x52fc63-0x0;var _0x5183aa=_0x08a6[_0x52fc63];return _0x5183aa;};'use strict';var multer=require(_0x608a('0x0'));var util=require(_0x608a('0x1'));var path=require(_0x608a('0x2'));var timeout=require(_0x608a('0x3'));var express=require(_0x608a('0x4'));var router=express['Router']();var auth=require(_0x608a('0x5'));var interaction=require(_0x608a('0x6'));var config=require(_0x608a('0x7'));var controller=require('./chatGroup.controller');router[_0x608a('0x8')]('/',auth['isAuthenticated'](),controller[_0x608a('0x9')]);router[_0x608a('0x8')](_0x608a('0xa'),auth[_0x608a('0xb')](),controller[_0x608a('0xc')]);router['get'](_0x608a('0xd'),auth[_0x608a('0xb')](),controller[_0x608a('0xe')]);router[_0x608a('0x8')](_0x608a('0xf'),auth[_0x608a('0xb')](),controller[_0x608a('0x10')]);router['get'](_0x608a('0x11'),auth[_0x608a('0xb')](),controller[_0x608a('0x12')]);router['get']('/:id/messages',auth[_0x608a('0xb')](),controller[_0x608a('0x13')]);router[_0x608a('0x14')]('/',auth['isAuthenticated'](),controller[_0x608a('0x15')]);router['post'](_0x608a('0x11'),auth[_0x608a('0xb')](),controller[_0x608a('0x16')]);router[_0x608a('0x14')]('/:id/messages',auth[_0x608a('0xb')](),controller[_0x608a('0x17')]);router[_0x608a('0x18')](_0x608a('0xd'),auth['isAuthenticated'](),controller[_0x608a('0x19')]);router['delete'](_0x608a('0xd'),auth[_0x608a('0xb')](),controller[_0x608a('0x1a')]);router[_0x608a('0x1b')](_0x608a('0x11'),auth['isAuthenticated'](),controller['removeMembers']);module[_0x608a('0x1c')]=router;
\ No newline at end of file
+var _0xaf7e=['/describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','create','post','addMembers','destroy','delete','exports','multer','util','connect-timeout','express','../../components/interaction/service','./chatGroup.controller','get','isAuthenticated'];(function(_0x548c27,_0x51614b){var _0x5177dd=function(_0x4d55ac){while(--_0x4d55ac){_0x548c27['push'](_0x548c27['shift']());}};_0x5177dd(++_0x51614b);}(_0xaf7e,0xde));var _0xeaf7=function(_0x379e11,_0x4e0012){_0x379e11=_0x379e11-0x0;var _0x1d6371=_0xaf7e[_0x379e11];return _0x1d6371;};'use strict';var multer=require(_0xeaf7('0x0'));var util=require(_0xeaf7('0x1'));var path=require('path');var timeout=require(_0xeaf7('0x2'));var express=require(_0xeaf7('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xeaf7('0x4'));var config=require('../../config/environment');var controller=require(_0xeaf7('0x5'));router[_0xeaf7('0x6')]('/',auth[_0xeaf7('0x7')](),controller['index']);router[_0xeaf7('0x6')](_0xeaf7('0x8'),auth[_0xeaf7('0x7')](),controller['describe']);router[_0xeaf7('0x6')](_0xeaf7('0x9'),auth['isAuthenticated'](),controller[_0xeaf7('0xa')]);router[_0xeaf7('0x6')](_0xeaf7('0xb'),auth[_0xeaf7('0x7')](),controller[_0xeaf7('0xc')]);router[_0xeaf7('0x6')](_0xeaf7('0xd'),auth['isAuthenticated'](),controller[_0xeaf7('0xe')]);router[_0xeaf7('0x6')](_0xeaf7('0xf'),auth['isAuthenticated'](),controller[_0xeaf7('0x10')]);router['post']('/',auth[_0xeaf7('0x7')](),controller[_0xeaf7('0x11')]);router[_0xeaf7('0x12')]('/:id/members',auth['isAuthenticated'](),controller[_0xeaf7('0x13')]);router[_0xeaf7('0x12')]('/:id/messages',auth['isAuthenticated'](),controller['addMessage']);router['put'](_0xeaf7('0x9'),auth[_0xeaf7('0x7')](),controller['update']);router['delete'](_0xeaf7('0x9'),auth[_0xeaf7('0x7')](),controller[_0xeaf7('0x14')]);router[_0xeaf7('0x15')](_0xeaf7('0xd'),auth[_0xeaf7('0x7')](),controller['removeMembers']);module[_0xeaf7('0x16')]=router;
\ No newline at end of file