Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / chatGroup / index.js
index c010961..1b107ac 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6a13=['./chatGroup.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','addMembers','addMessage','put','update','delete','destroy','removeMembers','exports','multer','util','connect-timeout','express','../../config/environment'];(function(_0x59ab49,_0x1c7ee0){var _0x29126e=function(_0x23e486){while(--_0x23e486){_0x59ab49['push'](_0x59ab49['shift']());}};_0x29126e(++_0x1c7ee0);}(_0x6a13,0x9d));var _0x36a1=function(_0x14b50e,_0x3699dc){_0x14b50e=_0x14b50e-0x0;var _0x46f7b5=_0x6a13[_0x14b50e];return _0x46f7b5;};'use strict';var multer=require(_0x36a1('0x0'));var util=require(_0x36a1('0x1'));var path=require('path');var timeout=require(_0x36a1('0x2'));var express=require(_0x36a1('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x36a1('0x4'));var controller=require(_0x36a1('0x5'));router[_0x36a1('0x6')]('/',auth[_0x36a1('0x7')](),controller['index']);router['get'](_0x36a1('0x8'),auth[_0x36a1('0x7')](),controller[_0x36a1('0x9')]);router[_0x36a1('0x6')](_0x36a1('0xa'),auth[_0x36a1('0x7')](),controller[_0x36a1('0xb')]);router[_0x36a1('0x6')](_0x36a1('0xc'),auth[_0x36a1('0x7')](),controller[_0x36a1('0xd')]);router[_0x36a1('0x6')](_0x36a1('0xe'),auth['isAuthenticated'](),controller[_0x36a1('0xf')]);router[_0x36a1('0x6')](_0x36a1('0x10'),auth[_0x36a1('0x7')](),controller[_0x36a1('0x11')]);router[_0x36a1('0x12')]('/',auth[_0x36a1('0x7')](),controller['create']);router[_0x36a1('0x12')](_0x36a1('0xe'),auth[_0x36a1('0x7')](),controller[_0x36a1('0x13')]);router[_0x36a1('0x12')](_0x36a1('0x10'),auth[_0x36a1('0x7')](),controller[_0x36a1('0x14')]);router[_0x36a1('0x15')](_0x36a1('0xa'),auth[_0x36a1('0x7')](),controller[_0x36a1('0x16')]);router[_0x36a1('0x17')](_0x36a1('0xa'),auth[_0x36a1('0x7')](),controller[_0x36a1('0x18')]);router[_0x36a1('0x17')](_0x36a1('0xe'),auth[_0x36a1('0x7')](),controller[_0x36a1('0x19')]);module[_0x36a1('0x1a')]=router;
\ No newline at end of file
+var _0xa812=['util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','index','describe','/:id','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','create','put','destroy'];(function(_0x5713f3,_0x4df455){var _0x541456=function(_0x19ec8f){while(--_0x19ec8f){_0x5713f3['push'](_0x5713f3['shift']());}};_0x541456(++_0x4df455);}(_0xa812,0x180));var _0x2a81=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xa812[_0x19950b];return _0x3c6b41;};'use strict';var multer=require('multer');var util=require(_0x2a81('0x0'));var path=require('path');var timeout=require(_0x2a81('0x1'));var express=require(_0x2a81('0x2'));var router=express[_0x2a81('0x3')]();var fs_extra=require(_0x2a81('0x4'));var auth=require(_0x2a81('0x5'));var interaction=require(_0x2a81('0x6'));var config=require(_0x2a81('0x7'));var controller=require(_0x2a81('0x8'));router[_0x2a81('0x9')]('/',auth[_0x2a81('0xa')](),controller[_0x2a81('0xb')]);router[_0x2a81('0x9')]('/describe',auth[_0x2a81('0xa')](),controller[_0x2a81('0xc')]);router[_0x2a81('0x9')](_0x2a81('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x2a81('0x9')](_0x2a81('0xe'),auth[_0x2a81('0xa')](),controller[_0x2a81('0xf')]);router[_0x2a81('0x9')](_0x2a81('0x10'),auth['isAuthenticated'](),controller[_0x2a81('0x11')]);router[_0x2a81('0x9')](_0x2a81('0x12'),auth[_0x2a81('0xa')](),controller[_0x2a81('0x13')]);router[_0x2a81('0x14')]('/',auth[_0x2a81('0xa')](),controller[_0x2a81('0x15')]);router['post'](_0x2a81('0x10'),auth[_0x2a81('0xa')](),controller['addMembers']);router[_0x2a81('0x14')]('/:id/messages',auth[_0x2a81('0xa')](),controller['addMessage']);router[_0x2a81('0x16')](_0x2a81('0xd'),auth[_0x2a81('0xa')](),controller['update']);router['delete'](_0x2a81('0xd'),auth[_0x2a81('0xa')](),controller[_0x2a81('0x17')]);router['delete'](_0x2a81('0x10'),auth[_0x2a81('0xa')](),controller['removeMembers']);module['exports']=router;
\ No newline at end of file