Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / openchannelInteraction / index.js
index a84357d..1dee091 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0d02=['/:id/download','download','post','/:id/messages','addMessage','/:id/tags','tracked','openchannel','put','openchannelinteraction:update','update','openchannelinteraction:destroy','delete','removeTags','exports','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','getMessages'];(function(_0x59a5ac,_0x572105){var _0x530973=function(_0x5dd169){while(--_0x5dd169){_0x59a5ac['push'](_0x59a5ac['shift']());}};_0x530973(++_0x572105);}(_0x0d02,0xc9));var _0x20d0=function(_0x5cba54,_0x3ffc5d){_0x5cba54=_0x5cba54-0x0;var _0x36f210=_0x0d02[_0x5cba54];return _0x36f210;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x20d0('0x0'));var timeout=require('connect-timeout');var express=require(_0x20d0('0x1'));var router=express[_0x20d0('0x2')]();var fs_extra=require(_0x20d0('0x3'));var auth=require(_0x20d0('0x4'));var interaction=require(_0x20d0('0x5'));var config=require(_0x20d0('0x6'));var controller=require(_0x20d0('0x7'));router[_0x20d0('0x8')]('/',auth[_0x20d0('0x9')](),controller[_0x20d0('0xa')]);router['get'](_0x20d0('0xb'),auth[_0x20d0('0x9')](),controller[_0x20d0('0xc')]);router[_0x20d0('0x8')](_0x20d0('0xd'),auth['isAuthenticated'](),controller[_0x20d0('0xe')]);router[_0x20d0('0x8')]('/:id/messages',auth[_0x20d0('0x9')](),controller[_0x20d0('0xf')]);router[_0x20d0('0x8')](_0x20d0('0x10'),auth[_0x20d0('0x9')](),controller[_0x20d0('0x11')]);router[_0x20d0('0x12')]('/',auth[_0x20d0('0x9')](),controller['create']);router[_0x20d0('0x12')](_0x20d0('0x13'),auth[_0x20d0('0x9')](),controller[_0x20d0('0x14')]);router[_0x20d0('0x12')](_0x20d0('0x15'),auth[_0x20d0('0x9')](),interaction[_0x20d0('0x16')](_0x20d0('0x17'),'openchannelinteraction:addtags'),controller['addTags']);router[_0x20d0('0x18')]('/:id',auth[_0x20d0('0x9')](),interaction[_0x20d0('0x16')]('openchannel',_0x20d0('0x19')),controller[_0x20d0('0x1a')]);router['delete'](_0x20d0('0xd'),auth['isAuthenticated'](),interaction[_0x20d0('0x16')]('openchannel',_0x20d0('0x1b')),controller['destroy']);router[_0x20d0('0x1c')]('/:id/tags',auth['isAuthenticated'](),controller[_0x20d0('0x1d')]);module[_0x20d0('0x1e')]=router;
\ No newline at end of file
+var _0x4b0e=['/:id/messages','addMessage','/:id/tags','openchannel','openchannelinteraction:addtags','addTags','put','tracked','delete','openchannelinteraction:destroy','destroy','removeTags','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelInteraction.controller','get','index','/describe','isAuthenticated','describe','/:id','getMessages','/:id/download','download','post','create'];(function(_0x548627,_0x4ec392){var _0x844a84=function(_0x2ffdd2){while(--_0x2ffdd2){_0x548627['push'](_0x548627['shift']());}};_0x844a84(++_0x4ec392);}(_0x4b0e,0x1da));var _0xe4b0=function(_0x38e660,_0x59bb24){_0x38e660=_0x38e660-0x0;var _0xc9a1ea=_0x4b0e[_0x38e660];return _0xc9a1ea;};'use strict';var multer=require(_0xe4b0('0x0'));var util=require(_0xe4b0('0x1'));var path=require(_0xe4b0('0x2'));var timeout=require(_0xe4b0('0x3'));var express=require(_0xe4b0('0x4'));var router=express[_0xe4b0('0x5')]();var fs_extra=require(_0xe4b0('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xe4b0('0x7'));var config=require(_0xe4b0('0x8'));var controller=require(_0xe4b0('0x9'));router[_0xe4b0('0xa')]('/',auth['isAuthenticated'](),controller[_0xe4b0('0xb')]);router['get'](_0xe4b0('0xc'),auth[_0xe4b0('0xd')](),controller[_0xe4b0('0xe')]);router[_0xe4b0('0xa')](_0xe4b0('0xf'),auth[_0xe4b0('0xd')](),controller['show']);router['get']('/:id/messages',auth[_0xe4b0('0xd')](),controller[_0xe4b0('0x10')]);router[_0xe4b0('0xa')](_0xe4b0('0x11'),auth[_0xe4b0('0xd')](),controller[_0xe4b0('0x12')]);router[_0xe4b0('0x13')]('/',auth['isAuthenticated'](),controller[_0xe4b0('0x14')]);router[_0xe4b0('0x13')](_0xe4b0('0x15'),auth['isAuthenticated'](),controller[_0xe4b0('0x16')]);router['post'](_0xe4b0('0x17'),auth[_0xe4b0('0xd')](),interaction['tracked'](_0xe4b0('0x18'),_0xe4b0('0x19')),controller[_0xe4b0('0x1a')]);router[_0xe4b0('0x1b')](_0xe4b0('0xf'),auth[_0xe4b0('0xd')](),interaction[_0xe4b0('0x1c')]('openchannel','openchannelinteraction:update'),controller['update']);router[_0xe4b0('0x1d')](_0xe4b0('0xf'),auth['isAuthenticated'](),interaction[_0xe4b0('0x1c')]('openchannel',_0xe4b0('0x1e')),controller[_0xe4b0('0x1f')]);router[_0xe4b0('0x1d')](_0xe4b0('0x17'),auth[_0xe4b0('0xd')](),controller[_0xe4b0('0x20')]);module['exports']=router;
\ No newline at end of file