Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / openchannelInteraction / index.js
index 1d78a6a..1dee091 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9e0=['tracked','openchannel','openchannelinteraction:addtags','addTags','/:id','openchannelinteraction:update','update','openchannelinteraction:destroy','destroy','delete','removeTags','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelInteraction.controller','get','index','/describe','show','/:id/messages','isAuthenticated','getMessages','create','post','addMessage','/:id/tags'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0xa9e0,0x123));var _0x0a9e=function(_0xf50820,_0x56f041){_0xf50820=_0xf50820-0x0;var _0x2a9b10=_0xa9e0[_0xf50820];return _0x2a9b10;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x0a9e('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xb')]);router[_0x0a9e('0x8')](_0x0a9e('0xc'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0x8')]('/:id/download',auth['isAuthenticated'](),controller['download']);router['post']('/',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xf')]);router[_0x0a9e('0x10')](_0x0a9e('0xc'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x11')]);router['post'](_0x0a9e('0x12'),auth[_0x0a9e('0xd')](),interaction[_0x0a9e('0x13')](_0x0a9e('0x14'),_0x0a9e('0x15')),controller[_0x0a9e('0x16')]);router['put'](_0x0a9e('0x17'),auth['isAuthenticated'](),interaction[_0x0a9e('0x13')]('openchannel',_0x0a9e('0x18')),controller[_0x0a9e('0x19')]);router['delete'](_0x0a9e('0x17'),auth['isAuthenticated'](),interaction[_0x0a9e('0x13')](_0x0a9e('0x14'),_0x0a9e('0x1a')),controller[_0x0a9e('0x1b')]);router[_0x0a9e('0x1c')](_0x0a9e('0x12'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1d')]);module[_0x0a9e('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