Built motion from commit d301b742.|2.6.29
[motion2.git] / server / api / openchannelInteraction / index.js
index 42e1459..b7d5bbb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd6da=['../../components/auth/service','../../config/environment','./openchannelInteraction.controller','isAuthenticated','index','get','/describe','describe','show','/:id/messages','/:id/download','download','post','addMessage','/:id/tags','tracked','openchannel','openchannelinteraction:addtags','addTags','put','/:id','openchannelinteraction:update','update','delete','openchannelinteraction:destroy','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xd6da,0x7e));var _0xad6d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd6da[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xad6d('0x0'));var util=require(_0xad6d('0x1'));var path=require('path');var timeout=require(_0xad6d('0x2'));var express=require(_0xad6d('0x3'));var router=express[_0xad6d('0x4')]();var fs_extra=require(_0xad6d('0x5'));var auth=require(_0xad6d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xad6d('0x7'));var controller=require(_0xad6d('0x8'));router['get']('/',auth[_0xad6d('0x9')](),controller[_0xad6d('0xa')]);router[_0xad6d('0xb')](_0xad6d('0xc'),auth[_0xad6d('0x9')](),controller[_0xad6d('0xd')]);router[_0xad6d('0xb')]('/:id',auth[_0xad6d('0x9')](),controller[_0xad6d('0xe')]);router[_0xad6d('0xb')](_0xad6d('0xf'),auth[_0xad6d('0x9')](),controller['getMessages']);router[_0xad6d('0xb')](_0xad6d('0x10'),auth['isAuthenticated'](),controller[_0xad6d('0x11')]);router[_0xad6d('0x12')]('/',auth[_0xad6d('0x9')](),controller['create']);router[_0xad6d('0x12')](_0xad6d('0xf'),auth['isAuthenticated'](),controller[_0xad6d('0x13')]);router[_0xad6d('0x12')](_0xad6d('0x14'),auth['isAuthenticated'](),interaction[_0xad6d('0x15')](_0xad6d('0x16'),_0xad6d('0x17')),controller[_0xad6d('0x18')]);router[_0xad6d('0x19')](_0xad6d('0x1a'),auth[_0xad6d('0x9')](),interaction[_0xad6d('0x15')](_0xad6d('0x16'),_0xad6d('0x1b')),controller[_0xad6d('0x1c')]);router[_0xad6d('0x1d')](_0xad6d('0x1a'),auth[_0xad6d('0x9')](),interaction[_0xad6d('0x15')](_0xad6d('0x16'),_0xad6d('0x1e')),controller[_0xad6d('0x1f')]);router[_0xad6d('0x1d')](_0xad6d('0x14'),auth['isAuthenticated'](),controller['removeTags']);module[_0xad6d('0x20')]=router;
\ No newline at end of file
+var _0x04a0=['destroy','delete','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','get','index','/describe','describe','/:id','isAuthenticated','/:id/messages','getMessages','download','post','create','addMessage','/:id/tags','tracked','openchannel','openchannelinteraction:addtags','put','openchannelinteraction:update','update','openchannelinteraction:destroy'];(function(_0x5ed8c9,_0x4a3e38){var _0x33b49c=function(_0x218886){while(--_0x218886){_0x5ed8c9['push'](_0x5ed8c9['shift']());}};_0x33b49c(++_0x4a3e38);}(_0x04a0,0x11a));var _0x004a=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x04a0[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x004a('0x0'));var util=require(_0x004a('0x1'));var path=require(_0x004a('0x2'));var timeout=require(_0x004a('0x3'));var express=require(_0x004a('0x4'));var router=express['Router']();var fs_extra=require(_0x004a('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x004a('0x6'));var config=require(_0x004a('0x7'));var controller=require('./openchannelInteraction.controller');router[_0x004a('0x8')]('/',auth['isAuthenticated'](),controller[_0x004a('0x9')]);router[_0x004a('0x8')](_0x004a('0xa'),auth['isAuthenticated'](),controller[_0x004a('0xb')]);router[_0x004a('0x8')](_0x004a('0xc'),auth[_0x004a('0xd')](),controller['show']);router[_0x004a('0x8')](_0x004a('0xe'),auth[_0x004a('0xd')](),controller[_0x004a('0xf')]);router[_0x004a('0x8')]('/:id/download',auth['isAuthenticated'](),controller[_0x004a('0x10')]);router[_0x004a('0x11')]('/',auth['isAuthenticated'](),controller[_0x004a('0x12')]);router[_0x004a('0x11')]('/:id/messages',auth[_0x004a('0xd')](),controller[_0x004a('0x13')]);router['post'](_0x004a('0x14'),auth[_0x004a('0xd')](),interaction[_0x004a('0x15')](_0x004a('0x16'),_0x004a('0x17')),controller['addTags']);router[_0x004a('0x18')](_0x004a('0xc'),auth[_0x004a('0xd')](),interaction[_0x004a('0x15')](_0x004a('0x16'),_0x004a('0x19')),controller[_0x004a('0x1a')]);router['delete'](_0x004a('0xc'),auth['isAuthenticated'](),interaction['tracked'](_0x004a('0x16'),_0x004a('0x1b')),controller[_0x004a('0x1c')]);router[_0x004a('0x1d')](_0x004a('0x14'),auth[_0x004a('0xd')](),controller['removeTags']);module[_0x004a('0x1e')]=router;
\ No newline at end of file