Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / chatGroup / index.js
index 5d1cd64..fbe852d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafcf=['addMessage','put','/:id','update','delete','destroy','removeMembers','exports','multer','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','show','getUnread','/:id/members','getMessages','post','create','addMembers','/:id/messages'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xafcf,0xd3));var _0xfafc=function(_0x39bd3f,_0x45b058){_0x39bd3f=_0x39bd3f-0x0;var _0x5ce625=_0xafcf[_0x39bd3f];return _0x5ce625;};'use strict';var multer=require(_0xfafc('0x0'));var util=require(_0xfafc('0x1'));var path=require(_0xfafc('0x2'));var timeout=require(_0xfafc('0x3'));var express=require('express');var router=express[_0xfafc('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xfafc('0x5'));var config=require(_0xfafc('0x6'));var controller=require(_0xfafc('0x7'));router[_0xfafc('0x8')]('/',auth[_0xfafc('0x9')](),controller[_0xfafc('0xa')]);router['get'](_0xfafc('0xb'),auth[_0xfafc('0x9')](),controller[_0xfafc('0xc')]);router[_0xfafc('0x8')]('/:id',auth[_0xfafc('0x9')](),controller[_0xfafc('0xd')]);router[_0xfafc('0x8')]('/:id/unread',auth[_0xfafc('0x9')](),controller[_0xfafc('0xe')]);router[_0xfafc('0x8')](_0xfafc('0xf'),auth['isAuthenticated'](),controller['getMembers']);router['get']('/:id/messages',auth[_0xfafc('0x9')](),controller[_0xfafc('0x10')]);router[_0xfafc('0x11')]('/',auth[_0xfafc('0x9')](),controller[_0xfafc('0x12')]);router[_0xfafc('0x11')](_0xfafc('0xf'),auth[_0xfafc('0x9')](),controller[_0xfafc('0x13')]);router['post'](_0xfafc('0x14'),auth[_0xfafc('0x9')](),controller[_0xfafc('0x15')]);router[_0xfafc('0x16')](_0xfafc('0x17'),auth[_0xfafc('0x9')](),controller[_0xfafc('0x18')]);router[_0xfafc('0x19')]('/:id',auth[_0xfafc('0x9')](),controller[_0xfafc('0x1a')]);router[_0xfafc('0x19')]('/:id/members',auth[_0xfafc('0x9')](),controller[_0xfafc('0x1b')]);module[_0xfafc('0x1c')]=router;
\ No newline at end of file
+var _0x2eaa=['destroy','/:id/members','removeMembers','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/unread','getUnread','getMembers','/:id/messages','post','create','addMembers','addMessage','delete'];(function(_0x21fa78,_0x1d43c2){var _0x22aff0=function(_0x2c54c9){while(--_0x2c54c9){_0x21fa78['push'](_0x21fa78['shift']());}};_0x22aff0(++_0x1d43c2);}(_0x2eaa,0x14d));var _0xa2ea=function(_0x38e793,_0x357660){_0x38e793=_0x38e793-0x0;var _0x10230b=_0x2eaa[_0x38e793];return _0x10230b;};'use strict';var multer=require(_0xa2ea('0x0'));var util=require(_0xa2ea('0x1'));var path=require(_0xa2ea('0x2'));var timeout=require(_0xa2ea('0x3'));var express=require(_0xa2ea('0x4'));var router=express[_0xa2ea('0x5')]();var fs_extra=require(_0xa2ea('0x6'));var auth=require(_0xa2ea('0x7'));var interaction=require(_0xa2ea('0x8'));var config=require(_0xa2ea('0x9'));var controller=require(_0xa2ea('0xa'));router[_0xa2ea('0xb')]('/',auth[_0xa2ea('0xc')](),controller[_0xa2ea('0xd')]);router['get'](_0xa2ea('0xe'),auth[_0xa2ea('0xc')](),controller[_0xa2ea('0xf')]);router[_0xa2ea('0xb')](_0xa2ea('0x10'),auth['isAuthenticated'](),controller[_0xa2ea('0x11')]);router[_0xa2ea('0xb')](_0xa2ea('0x12'),auth[_0xa2ea('0xc')](),controller[_0xa2ea('0x13')]);router['get']('/:id/members',auth[_0xa2ea('0xc')](),controller[_0xa2ea('0x14')]);router[_0xa2ea('0xb')](_0xa2ea('0x15'),auth[_0xa2ea('0xc')](),controller['getMessages']);router[_0xa2ea('0x16')]('/',auth[_0xa2ea('0xc')](),controller[_0xa2ea('0x17')]);router['post']('/:id/members',auth[_0xa2ea('0xc')](),controller[_0xa2ea('0x18')]);router[_0xa2ea('0x16')]('/:id/messages',auth[_0xa2ea('0xc')](),controller[_0xa2ea('0x19')]);router['put'](_0xa2ea('0x10'),auth[_0xa2ea('0xc')](),controller['update']);router[_0xa2ea('0x1a')]('/:id',auth[_0xa2ea('0xc')](),controller[_0xa2ea('0x1b')]);router[_0xa2ea('0x1a')](_0xa2ea('0x1c'),auth[_0xa2ea('0xc')](),controller[_0xa2ea('0x1d')]);module['exports']=router;
\ No newline at end of file