4894955e8247ed855f4a192df1227bdcd15cd454
[motion-next.git] / server / api / mailInteraction / index.js
1 const a404_0x5260=['express','isAuthenticated','delete','get','/:id/tags','exports','Router','../../components/auth/service','tracked','/:id/messages','/:id','../../components/interaction/service','update','removeTags','create','mailinteraction:destroy','show','addTags','getMessages','mailinteraction:addtags','/:id/download','mailinteraction:update','addMessage','destroy','mail','post'];(function(_0x34c240,_0x52607b){const _0x3cfcfb=function(_0x1de71d){while(--_0x1de71d){_0x34c240['push'](_0x34c240['shift']());}};_0x3cfcfb(++_0x52607b);}(a404_0x5260,0x145));const a404_0x3cfc=function(_0x34c240,_0x52607b){_0x34c240=_0x34c240-0x0;let _0x3cfcfb=a404_0x5260[_0x34c240];return _0x3cfcfb;};const _0x38a57f=a404_0x3cfc;'use strict';const express=require(_0x38a57f('0xd')),router=express[_0x38a57f('0x13')](),auth=require(_0x38a57f('0x14')),interaction=require(_0x38a57f('0x18')),controller=require('./mailInteraction.controller');router[_0x38a57f('0x10')]('/',auth[_0x38a57f('0xe')](),controller['index']),router[_0x38a57f('0x10')]('/describe',auth[_0x38a57f('0xe')](),controller['describe']),router[_0x38a57f('0x10')](_0x38a57f('0x17'),auth[_0x38a57f('0xe')](),controller[_0x38a57f('0x3')]),router[_0x38a57f('0x10')](_0x38a57f('0x16'),auth[_0x38a57f('0xe')](),controller[_0x38a57f('0x5')]),router['get'](_0x38a57f('0x7'),auth[_0x38a57f('0xe')](),controller['download']),router[_0x38a57f('0xc')]('/',auth[_0x38a57f('0xe')](),controller[_0x38a57f('0x1')]),router['post']('/:id/messages',auth[_0x38a57f('0xe')](),controller[_0x38a57f('0x9')]),router[_0x38a57f('0xc')](_0x38a57f('0x11'),auth[_0x38a57f('0xe')](),interaction[_0x38a57f('0x15')](_0x38a57f('0xb'),_0x38a57f('0x6')),controller[_0x38a57f('0x4')]),router['put'](_0x38a57f('0x17'),auth[_0x38a57f('0xe')](),interaction['tracked']('mail',_0x38a57f('0x8')),controller[_0x38a57f('0x19')]),router[_0x38a57f('0xf')](_0x38a57f('0x17'),auth[_0x38a57f('0xe')](),interaction['tracked'](_0x38a57f('0xb'),_0x38a57f('0x2')),controller[_0x38a57f('0xa')]),router[_0x38a57f('0xf')](_0x38a57f('0x11'),auth[_0x38a57f('0xe')](),controller[_0x38a57f('0x0')]),module[_0x38a57f('0x12')]=router;