Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / chatGroup / index.js
index 41ccf69..f2a1eee 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1734=['multer','util','path','connect-timeout','express','Router','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','getMessages','create','post','/:id/members','/:id/messages','addMessage','update','delete','destroy','removeMembers'];(function(_0x359f2a,_0x546978){var _0x5d455b=function(_0x145c8a){while(--_0x145c8a){_0x359f2a['push'](_0x359f2a['shift']());}};_0x5d455b(++_0x546978);}(_0x1734,0x15e));var _0x4173=function(_0x69491b,_0x5371b4){_0x69491b=_0x69491b-0x0;var _0x2bea3c=_0x1734[_0x69491b];return _0x2bea3c;};'use strict';var multer=require(_0x4173('0x0'));var util=require(_0x4173('0x1'));var path=require(_0x4173('0x2'));var timeout=require(_0x4173('0x3'));var express=require(_0x4173('0x4'));var router=express[_0x4173('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4173('0x6'));var controller=require(_0x4173('0x7'));router[_0x4173('0x8')]('/',auth[_0x4173('0x9')](),controller[_0x4173('0xa')]);router[_0x4173('0x8')](_0x4173('0xb'),auth[_0x4173('0x9')](),controller[_0x4173('0xc')]);router[_0x4173('0x8')](_0x4173('0xd'),auth[_0x4173('0x9')](),controller[_0x4173('0xe')]);router[_0x4173('0x8')]('/:id/unread',auth['isAuthenticated'](),controller['getUnread']);router[_0x4173('0x8')]('/:id/members',auth[_0x4173('0x9')](),controller['getMembers']);router[_0x4173('0x8')]('/:id/messages',auth[_0x4173('0x9')](),controller[_0x4173('0xf')]);router['post']('/',auth[_0x4173('0x9')](),controller[_0x4173('0x10')]);router[_0x4173('0x11')](_0x4173('0x12'),auth['isAuthenticated'](),controller['addMembers']);router['post'](_0x4173('0x13'),auth[_0x4173('0x9')](),controller[_0x4173('0x14')]);router['put']('/:id',auth[_0x4173('0x9')](),controller[_0x4173('0x15')]);router[_0x4173('0x16')](_0x4173('0xd'),auth[_0x4173('0x9')](),controller[_0x4173('0x17')]);router[_0x4173('0x16')](_0x4173('0x12'),auth['isAuthenticated'](),controller[_0x4173('0x18')]);module['exports']=router;
\ No newline at end of file
+var _0x1010=['delete','removeMembers','exports','multer','path','connect-timeout','Router','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMessages','post','create','addMembers','addMessage','put','update','destroy'];(function(_0x81e623,_0x1dcdce){var _0x1fdd49=function(_0x189f98){while(--_0x189f98){_0x81e623['push'](_0x81e623['shift']());}};_0x1fdd49(++_0x1dcdce);}(_0x1010,0x111));var _0x0101=function(_0x616290,_0x280b7f){_0x616290=_0x616290-0x0;var _0x453879=_0x1010[_0x616290];return _0x453879;};'use strict';var multer=require(_0x0101('0x0'));var util=require('util');var path=require(_0x0101('0x1'));var timeout=require(_0x0101('0x2'));var express=require('express');var router=express[_0x0101('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x0101('0x4'));var controller=require(_0x0101('0x5'));router[_0x0101('0x6')]('/',auth[_0x0101('0x7')](),controller[_0x0101('0x8')]);router[_0x0101('0x6')](_0x0101('0x9'),auth[_0x0101('0x7')](),controller[_0x0101('0xa')]);router['get'](_0x0101('0xb'),auth['isAuthenticated'](),controller[_0x0101('0xc')]);router[_0x0101('0x6')](_0x0101('0xd'),auth[_0x0101('0x7')](),controller[_0x0101('0xe')]);router['get'](_0x0101('0xf'),auth[_0x0101('0x7')](),controller['getMembers']);router[_0x0101('0x6')]('/:id/messages',auth[_0x0101('0x7')](),controller[_0x0101('0x10')]);router[_0x0101('0x11')]('/',auth[_0x0101('0x7')](),controller[_0x0101('0x12')]);router[_0x0101('0x11')](_0x0101('0xf'),auth[_0x0101('0x7')](),controller[_0x0101('0x13')]);router['post']('/:id/messages',auth[_0x0101('0x7')](),controller[_0x0101('0x14')]);router[_0x0101('0x15')](_0x0101('0xb'),auth[_0x0101('0x7')](),controller[_0x0101('0x16')]);router['delete']('/:id',auth[_0x0101('0x7')](),controller[_0x0101('0x17')]);router[_0x0101('0x18')](_0x0101('0xf'),auth[_0x0101('0x7')](),controller[_0x0101('0x19')]);module[_0x0101('0x1a')]=router;
\ No newline at end of file