e089b7bb9e936a361b61add358c389d744e981af
[motion-next.git] / server / api / openchannelInteraction / index.js
1 const a575_0x4c14=['get','post','/:id/tags','/:id/messages','index','isAuthenticated','addTags','/:id/download','describe','openchannelinteraction:destroy','/:id','create','destroy','../../components/auth/service','openchannelinteraction:addtags','removeTags','put','tracked','openchannel','/describe','delete'];(function(_0x548871,_0xcecd23){const _0x4c1432=function(_0x68c3ad){while(--_0x68c3ad){_0x548871['push'](_0x548871['shift']());}};_0x4c1432(++_0xcecd23);}(a575_0x4c14,0x111));const a575_0x68c3=function(_0x548871,_0xcecd23){_0x548871=_0x548871-0x14f;let _0x4c1432=a575_0x4c14[_0x548871];return _0x4c1432;};const a575_0xd8b741=a575_0x68c3;'use strict';const express=require('express'),router=express['Router'](),auth=require(a575_0xd8b741(0x15c)),interaction=require('../../components/interaction/service'),controller=require('./openchannelInteraction.controller');router[a575_0xd8b741(0x14f)]('/',auth[a575_0xd8b741(0x154)](),controller[a575_0xd8b741(0x153)]),router[a575_0xd8b741(0x14f)](a575_0xd8b741(0x162),auth[a575_0xd8b741(0x154)](),controller[a575_0xd8b741(0x157)]),router[a575_0xd8b741(0x14f)](a575_0xd8b741(0x159),auth[a575_0xd8b741(0x154)](),controller['show']),router[a575_0xd8b741(0x14f)](a575_0xd8b741(0x152),auth[a575_0xd8b741(0x154)](),controller['getMessages']),router['get'](a575_0xd8b741(0x156),auth[a575_0xd8b741(0x154)](),controller['download']),router[a575_0xd8b741(0x150)]('/',auth[a575_0xd8b741(0x154)](),controller[a575_0xd8b741(0x15a)]),router['post'](a575_0xd8b741(0x152),auth[a575_0xd8b741(0x154)](),controller['addMessage']),router[a575_0xd8b741(0x150)](a575_0xd8b741(0x151),auth[a575_0xd8b741(0x154)](),interaction[a575_0xd8b741(0x160)](a575_0xd8b741(0x161),a575_0xd8b741(0x15d)),controller[a575_0xd8b741(0x155)]),router[a575_0xd8b741(0x15f)](a575_0xd8b741(0x159),auth[a575_0xd8b741(0x154)](),interaction[a575_0xd8b741(0x160)]('openchannel','openchannelinteraction:update'),controller['update']),router[a575_0xd8b741(0x163)]('/:id',auth['isAuthenticated'](),interaction[a575_0xd8b741(0x160)](a575_0xd8b741(0x161),a575_0xd8b741(0x158)),controller[a575_0xd8b741(0x15b)]),router[a575_0xd8b741(0x163)]('/:id/tags',auth['isAuthenticated'](),controller[a575_0xd8b741(0x15e)]),module['exports']=router;