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