Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / chatGroup / index.js
index 18a9199..1694f0e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x332a=['../../config/environment','./chatGroup.controller','isAuthenticated','index','get','show','/:id/unread','/:id/members','/:id/messages','getMessages','post','addMessage','put','update','/:id','delete','removeMembers','exports','util','express','Router','../../components/interaction/service'];(function(_0x4cb9e8,_0x43ac2c){var _0x398212=function(_0x3a0b8f){while(--_0x3a0b8f){_0x4cb9e8['push'](_0x4cb9e8['shift']());}};_0x398212(++_0x43ac2c);}(_0x332a,0x96));var _0xa332=function(_0x4ffa64,_0x271035){_0x4ffa64=_0x4ffa64-0x0;var _0x5da001=_0x332a[_0x4ffa64];return _0x5da001;};'use strict';var multer=require('multer');var util=require(_0xa332('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa332('0x1'));var router=express[_0xa332('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa332('0x3'));var config=require(_0xa332('0x4'));var controller=require(_0xa332('0x5'));router['get']('/',auth[_0xa332('0x6')](),controller[_0xa332('0x7')]);router[_0xa332('0x8')]('/describe',auth[_0xa332('0x6')](),controller['describe']);router[_0xa332('0x8')]('/:id',auth[_0xa332('0x6')](),controller[_0xa332('0x9')]);router[_0xa332('0x8')](_0xa332('0xa'),auth[_0xa332('0x6')](),controller['getUnread']);router[_0xa332('0x8')](_0xa332('0xb'),auth[_0xa332('0x6')](),controller['getMembers']);router[_0xa332('0x8')](_0xa332('0xc'),auth[_0xa332('0x6')](),controller[_0xa332('0xd')]);router[_0xa332('0xe')]('/',auth[_0xa332('0x6')](),controller['create']);router[_0xa332('0xe')]('/:id/members',auth[_0xa332('0x6')](),controller['addMembers']);router[_0xa332('0xe')]('/:id/messages',auth[_0xa332('0x6')](),controller[_0xa332('0xf')]);router[_0xa332('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xa332('0x11')]);router['delete'](_0xa332('0x12'),auth[_0xa332('0x6')](),controller['destroy']);router[_0xa332('0x13')](_0xa332('0xb'),auth[_0xa332('0x6')](),controller[_0xa332('0x14')]);module[_0xa332('0x15')]=router;
\ No newline at end of file