Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / chatGroup / index.js
index c3dda1d..f796d56 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdb00=['../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','addMembers','put','update','delete','destroy','removeMembers','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x55c76a,_0x247eba){var _0x1e940c=function(_0x4c5f41){while(--_0x4c5f41){_0x55c76a['push'](_0x55c76a['shift']());}};_0x1e940c(++_0x247eba);}(_0xdb00,0x8a));var _0x0db0=function(_0x366d91,_0x4abd6c){_0x366d91=_0x366d91-0x0;var _0x11ac2c=_0xdb00[_0x366d91];return _0x11ac2c;};'use strict';var multer=require(_0x0db0('0x0'));var util=require(_0x0db0('0x1'));var path=require(_0x0db0('0x2'));var timeout=require('connect-timeout');var express=require(_0x0db0('0x3'));var router=express[_0x0db0('0x4')]();var auth=require(_0x0db0('0x5'));var interaction=require(_0x0db0('0x6'));var config=require(_0x0db0('0x7'));var controller=require(_0x0db0('0x8'));router[_0x0db0('0x9')]('/',auth[_0x0db0('0xa')](),controller[_0x0db0('0xb')]);router[_0x0db0('0x9')](_0x0db0('0xc'),auth[_0x0db0('0xa')](),controller[_0x0db0('0xd')]);router['get'](_0x0db0('0xe'),auth['isAuthenticated'](),controller[_0x0db0('0xf')]);router[_0x0db0('0x9')](_0x0db0('0x10'),auth['isAuthenticated'](),controller[_0x0db0('0x11')]);router['get'](_0x0db0('0x12'),auth['isAuthenticated'](),controller[_0x0db0('0x13')]);router['get'](_0x0db0('0x14'),auth[_0x0db0('0xa')](),controller[_0x0db0('0x15')]);router[_0x0db0('0x16')]('/',auth['isAuthenticated'](),controller['create']);router[_0x0db0('0x16')](_0x0db0('0x12'),auth['isAuthenticated'](),controller[_0x0db0('0x17')]);router['post']('/:id/messages',auth[_0x0db0('0xa')](),controller['addMessage']);router[_0x0db0('0x18')]('/:id',auth['isAuthenticated'](),controller[_0x0db0('0x19')]);router[_0x0db0('0x1a')](_0x0db0('0xe'),auth[_0x0db0('0xa')](),controller[_0x0db0('0x1b')]);router[_0x0db0('0x1a')]('/:id/members',auth[_0x0db0('0xa')](),controller[_0x0db0('0x1c')]);module['exports']=router;
\ No newline at end of file
+var _0xd2e8=['multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','create','put','update','destroy','delete','removeMembers','exports'];(function(_0x35fc2a,_0x4788f4){var _0x379aa8=function(_0x4b4759){while(--_0x4b4759){_0x35fc2a['push'](_0x35fc2a['shift']());}};_0x379aa8(++_0x4788f4);}(_0xd2e8,0x96));var _0x8d2e=function(_0x3b5e02,_0x535469){_0x3b5e02=_0x3b5e02-0x0;var _0x59464c=_0xd2e8[_0x3b5e02];return _0x59464c;};'use strict';var multer=require(_0x8d2e('0x0'));var util=require('util');var path=require(_0x8d2e('0x1'));var timeout=require(_0x8d2e('0x2'));var express=require(_0x8d2e('0x3'));var router=express[_0x8d2e('0x4')]();var fs_extra=require(_0x8d2e('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x8d2e('0x6'));var config=require(_0x8d2e('0x7'));var controller=require(_0x8d2e('0x8'));router[_0x8d2e('0x9')]('/',auth[_0x8d2e('0xa')](),controller[_0x8d2e('0xb')]);router[_0x8d2e('0x9')](_0x8d2e('0xc'),auth[_0x8d2e('0xa')](),controller[_0x8d2e('0xd')]);router[_0x8d2e('0x9')](_0x8d2e('0xe'),auth[_0x8d2e('0xa')](),controller[_0x8d2e('0xf')]);router[_0x8d2e('0x9')](_0x8d2e('0x10'),auth[_0x8d2e('0xa')](),controller[_0x8d2e('0x11')]);router[_0x8d2e('0x9')](_0x8d2e('0x12'),auth[_0x8d2e('0xa')](),controller[_0x8d2e('0x13')]);router[_0x8d2e('0x9')](_0x8d2e('0x14'),auth[_0x8d2e('0xa')](),controller[_0x8d2e('0x15')]);router[_0x8d2e('0x16')]('/',auth[_0x8d2e('0xa')](),controller[_0x8d2e('0x17')]);router['post']('/:id/members',auth['isAuthenticated'](),controller['addMembers']);router[_0x8d2e('0x16')](_0x8d2e('0x14'),auth[_0x8d2e('0xa')](),controller['addMessage']);router[_0x8d2e('0x18')]('/:id',auth[_0x8d2e('0xa')](),controller[_0x8d2e('0x19')]);router['delete'](_0x8d2e('0xe'),auth['isAuthenticated'](),controller[_0x8d2e('0x1a')]);router[_0x8d2e('0x1b')]('/:id/members',auth[_0x8d2e('0xa')](),controller[_0x8d2e('0x1c')]);module[_0x8d2e('0x1d')]=router;
\ No newline at end of file