Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / openchannelInteraction / index.js
index 920609d..0e506e9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2677=['getMessages','download','post','create','/:id/tags','tracked','openchannelinteraction:addtags','put','openchannel','update','delete','openchannelinteraction:destroy','destroy','removeTags','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelInteraction.controller','isAuthenticated','index','get','/describe','/:id','show','/:id/messages'];(function(_0x4da75f,_0x55ff07){var _0x4d190a=function(_0x2dc483){while(--_0x2dc483){_0x4da75f['push'](_0x4da75f['shift']());}};_0x4d190a(++_0x55ff07);}(_0x2677,0x8b));var _0x7267=function(_0x256973,_0x3cdbd4){_0x256973=_0x256973-0x0;var _0x4bf1d8=_0x2677[_0x256973];return _0x4bf1d8;};'use strict';var multer=require('multer');var util=require(_0x7267('0x0'));var path=require(_0x7267('0x1'));var timeout=require(_0x7267('0x2'));var express=require(_0x7267('0x3'));var router=express[_0x7267('0x4')]();var fs_extra=require(_0x7267('0x5'));var auth=require(_0x7267('0x6'));var interaction=require(_0x7267('0x7'));var config=require('../../config/environment');var controller=require(_0x7267('0x8'));router['get']('/',auth[_0x7267('0x9')](),controller[_0x7267('0xa')]);router[_0x7267('0xb')](_0x7267('0xc'),auth[_0x7267('0x9')](),controller['describe']);router[_0x7267('0xb')](_0x7267('0xd'),auth[_0x7267('0x9')](),controller[_0x7267('0xe')]);router[_0x7267('0xb')](_0x7267('0xf'),auth[_0x7267('0x9')](),controller[_0x7267('0x10')]);router['get']('/:id/download',auth[_0x7267('0x9')](),controller[_0x7267('0x11')]);router[_0x7267('0x12')]('/',auth['isAuthenticated'](),controller[_0x7267('0x13')]);router[_0x7267('0x12')](_0x7267('0xf'),auth[_0x7267('0x9')](),controller['addMessage']);router[_0x7267('0x12')](_0x7267('0x14'),auth[_0x7267('0x9')](),interaction[_0x7267('0x15')]('openchannel',_0x7267('0x16')),controller['addTags']);router[_0x7267('0x17')](_0x7267('0xd'),auth[_0x7267('0x9')](),interaction[_0x7267('0x15')](_0x7267('0x18'),'openchannelinteraction:update'),controller[_0x7267('0x19')]);router[_0x7267('0x1a')](_0x7267('0xd'),auth['isAuthenticated'](),interaction[_0x7267('0x15')](_0x7267('0x18'),_0x7267('0x1b')),controller[_0x7267('0x1c')]);router[_0x7267('0x1a')](_0x7267('0x14'),auth[_0x7267('0x9')](),controller[_0x7267('0x1d')]);module[_0x7267('0x1e')]=router;
\ No newline at end of file
+var _0x4733=['put','/:id','openchannelinteraction:update','delete','openchannelinteraction:destroy','destroy','removeTags','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id/messages','getMessages','/:id/download','download','post','create','/:id/tags','tracked','openchannel','openchannelinteraction:addtags','addTags'];(function(_0x3b8e89,_0xc371ce){var _0xab8aec=function(_0x54abb0){while(--_0x54abb0){_0x3b8e89['push'](_0x3b8e89['shift']());}};_0xab8aec(++_0xc371ce);}(_0x4733,0x16f));var _0x3473=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0x4733[_0x1d1779];return _0x2377e9;};'use strict';var multer=require(_0x3473('0x0'));var util=require('util');var path=require(_0x3473('0x1'));var timeout=require(_0x3473('0x2'));var express=require(_0x3473('0x3'));var router=express[_0x3473('0x4')]();var fs_extra=require(_0x3473('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x3473('0x6'));var config=require(_0x3473('0x7'));var controller=require('./openchannelInteraction.controller');router[_0x3473('0x8')]('/',auth[_0x3473('0x9')](),controller[_0x3473('0xa')]);router[_0x3473('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x3473('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0x3473('0x8')](_0x3473('0xc'),auth['isAuthenticated'](),controller[_0x3473('0xd')]);router[_0x3473('0x8')](_0x3473('0xe'),auth[_0x3473('0x9')](),controller[_0x3473('0xf')]);router[_0x3473('0x10')]('/',auth[_0x3473('0x9')](),controller[_0x3473('0x11')]);router[_0x3473('0x10')](_0x3473('0xc'),auth[_0x3473('0x9')](),controller['addMessage']);router[_0x3473('0x10')](_0x3473('0x12'),auth[_0x3473('0x9')](),interaction[_0x3473('0x13')](_0x3473('0x14'),_0x3473('0x15')),controller[_0x3473('0x16')]);router[_0x3473('0x17')](_0x3473('0x18'),auth[_0x3473('0x9')](),interaction[_0x3473('0x13')](_0x3473('0x14'),_0x3473('0x19')),controller['update']);router[_0x3473('0x1a')](_0x3473('0x18'),auth[_0x3473('0x9')](),interaction[_0x3473('0x13')](_0x3473('0x14'),_0x3473('0x1b')),controller[_0x3473('0x1c')]);router['delete']('/:id/tags',auth['isAuthenticated'](),controller[_0x3473('0x1d')]);module['exports']=router;
\ No newline at end of file