Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / chatGroup / index.js
index 3be69c5..18a9199 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa5c9=['../../components/auth/service','../../config/environment','get','/describe','describe','/:id','isAuthenticated','show','/:id/unread','getUnread','/:id/members','/:id/messages','post','create','addMessage','put','update','delete','destroy','removeMembers','path','connect-timeout','Router','fs-extra'];(function(_0x54ef77,_0x2f78da){var _0x489951=function(_0x4d0f70){while(--_0x4d0f70){_0x54ef77['push'](_0x54ef77['shift']());}};_0x489951(++_0x2f78da);}(_0xa5c9,0x104));var _0x9a5c=function(_0x5e6ea3,_0x9addd2){_0x5e6ea3=_0x5e6ea3-0x0;var _0x4048b5=_0xa5c9[_0x5e6ea3];return _0x4048b5;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9a5c('0x0'));var timeout=require(_0x9a5c('0x1'));var express=require('express');var router=express[_0x9a5c('0x2')]();var fs_extra=require(_0x9a5c('0x3'));var auth=require(_0x9a5c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x9a5c('0x5'));var controller=require('./chatGroup.controller');router[_0x9a5c('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x9a5c('0x6')](_0x9a5c('0x7'),auth['isAuthenticated'](),controller[_0x9a5c('0x8')]);router[_0x9a5c('0x6')](_0x9a5c('0x9'),auth[_0x9a5c('0xa')](),controller[_0x9a5c('0xb')]);router['get'](_0x9a5c('0xc'),auth[_0x9a5c('0xa')](),controller[_0x9a5c('0xd')]);router[_0x9a5c('0x6')](_0x9a5c('0xe'),auth['isAuthenticated'](),controller['getMembers']);router[_0x9a5c('0x6')](_0x9a5c('0xf'),auth['isAuthenticated'](),controller['getMessages']);router[_0x9a5c('0x10')]('/',auth[_0x9a5c('0xa')](),controller[_0x9a5c('0x11')]);router[_0x9a5c('0x10')]('/:id/members',auth[_0x9a5c('0xa')](),controller['addMembers']);router['post'](_0x9a5c('0xf'),auth[_0x9a5c('0xa')](),controller[_0x9a5c('0x12')]);router[_0x9a5c('0x13')](_0x9a5c('0x9'),auth[_0x9a5c('0xa')](),controller[_0x9a5c('0x14')]);router[_0x9a5c('0x15')](_0x9a5c('0x9'),auth['isAuthenticated'](),controller[_0x9a5c('0x16')]);router['delete'](_0x9a5c('0xe'),auth['isAuthenticated'](),controller[_0x9a5c('0x17')]);module['exports']=router;
\ No newline at end of file
+var _0x5a23=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatGroup.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/unread','getUnread','getMembers','/:id/messages','getMessages','post','create','/:id/members','addMembers','addMessage','put','update','delete','destroy','exports','multer'];(function(_0x110c3d,_0x12ee06){var _0x226d67=function(_0x1fb6e1){while(--_0x1fb6e1){_0x110c3d['push'](_0x110c3d['shift']());}};_0x226d67(++_0x12ee06);}(_0x5a23,0xdf));var _0x35a2=function(_0x1eb25d,_0x65835a){_0x1eb25d=_0x1eb25d-0x0;var _0x22348c=_0x5a23[_0x1eb25d];return _0x22348c;};'use strict';var multer=require(_0x35a2('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x35a2('0x1'));var router=express[_0x35a2('0x2')]();var fs_extra=require(_0x35a2('0x3'));var auth=require(_0x35a2('0x4'));var interaction=require(_0x35a2('0x5'));var config=require('../../config/environment');var controller=require(_0x35a2('0x6'));router[_0x35a2('0x7')]('/',auth[_0x35a2('0x8')](),controller[_0x35a2('0x9')]);router[_0x35a2('0x7')](_0x35a2('0xa'),auth[_0x35a2('0x8')](),controller['describe']);router[_0x35a2('0x7')](_0x35a2('0xb'),auth['isAuthenticated'](),controller[_0x35a2('0xc')]);router[_0x35a2('0x7')](_0x35a2('0xd'),auth['isAuthenticated'](),controller[_0x35a2('0xe')]);router[_0x35a2('0x7')]('/:id/members',auth['isAuthenticated'](),controller[_0x35a2('0xf')]);router[_0x35a2('0x7')](_0x35a2('0x10'),auth[_0x35a2('0x8')](),controller[_0x35a2('0x11')]);router[_0x35a2('0x12')]('/',auth['isAuthenticated'](),controller[_0x35a2('0x13')]);router[_0x35a2('0x12')](_0x35a2('0x14'),auth[_0x35a2('0x8')](),controller[_0x35a2('0x15')]);router[_0x35a2('0x12')](_0x35a2('0x10'),auth['isAuthenticated'](),controller[_0x35a2('0x16')]);router[_0x35a2('0x17')]('/:id',auth[_0x35a2('0x8')](),controller[_0x35a2('0x18')]);router[_0x35a2('0x19')](_0x35a2('0xb'),auth[_0x35a2('0x8')](),controller[_0x35a2('0x1a')]);router[_0x35a2('0x19')](_0x35a2('0x14'),auth[_0x35a2('0x8')](),controller['removeMembers']);module[_0x35a2('0x1b')]=router;
\ No newline at end of file