Built motion from commit f6d7e26c.|2.6.14
[motion2.git] / server / api / mailInteraction / index.js
index 1c24c54..8f24e09 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2ab2=['mail','mailinteraction:addtags','addTags','put','update','delete','/:id','tracked','removeTags','exports','../../components/auth/service','get','isAuthenticated','index','describe','/:id/messages','getMessages','post','create','/:id/tags'];(function(_0x58afd5,_0x534a48){var _0x3e503b=function(_0x27ba44){while(--_0x27ba44){_0x58afd5['push'](_0x58afd5['shift']());}};_0x3e503b(++_0x534a48);}(_0x2ab2,0xfa));var _0x22ab=function(_0x2f2b55,_0x19bee9){_0x2f2b55=_0x2f2b55-0x0;var _0xd7dd26=_0x2ab2[_0x2f2b55];return _0xd7dd26;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x22ab('0x0'));var interaction=require('../../components/interaction/service');var controller=require('./mailInteraction.controller');router[_0x22ab('0x1')]('/',auth[_0x22ab('0x2')](),controller[_0x22ab('0x3')]);router[_0x22ab('0x1')]('/describe',auth[_0x22ab('0x2')](),controller[_0x22ab('0x4')]);router[_0x22ab('0x1')]('/:id',auth[_0x22ab('0x2')](),controller['show']);router['get'](_0x22ab('0x5'),auth['isAuthenticated'](),controller[_0x22ab('0x6')]);router['get']('/:id/download',auth[_0x22ab('0x2')](),controller['download']);router[_0x22ab('0x7')]('/',auth[_0x22ab('0x2')](),controller[_0x22ab('0x8')]);router['post'](_0x22ab('0x5'),auth[_0x22ab('0x2')](),controller['addMessage']);router['post'](_0x22ab('0x9'),auth[_0x22ab('0x2')](),interaction['tracked'](_0x22ab('0xa'),_0x22ab('0xb')),controller[_0x22ab('0xc')]);router[_0x22ab('0xd')]('/:id',auth['isAuthenticated'](),interaction['tracked']('mail','mailinteraction:update'),controller[_0x22ab('0xe')]);router[_0x22ab('0xf')](_0x22ab('0x10'),auth[_0x22ab('0x2')](),interaction[_0x22ab('0x11')](_0x22ab('0xa'),'mailinteraction:destroy'),controller['destroy']);router[_0x22ab('0xf')](_0x22ab('0x9'),auth[_0x22ab('0x2')](),controller[_0x22ab('0x12')]);module[_0x22ab('0x13')]=router;
\ No newline at end of file
+var _0x04a7=['isAuthenticated','/describe','show','/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags','tracked','mail','mailinteraction:addtags','put','mailinteraction:update','update','delete','/:id','mailinteraction:destroy','destroy','removeTags','exports','express','Router','../../components/auth/service','./mailInteraction.controller','get'];(function(_0x551592,_0x3950aa){var _0x1c7970=function(_0x55b722){while(--_0x55b722){_0x551592['push'](_0x551592['shift']());}};_0x1c7970(++_0x3950aa);}(_0x04a7,0x6b));var _0x704a=function(_0x2fd160,_0x53c0d6){_0x2fd160=_0x2fd160-0x0;var _0x5c2031=_0x04a7[_0x2fd160];return _0x5c2031;};'use strict';var express=require(_0x704a('0x0'));var router=express[_0x704a('0x1')]();var auth=require(_0x704a('0x2'));var interaction=require('../../components/interaction/service');var controller=require(_0x704a('0x3'));router[_0x704a('0x4')]('/',auth[_0x704a('0x5')](),controller['index']);router[_0x704a('0x4')](_0x704a('0x6'),auth[_0x704a('0x5')](),controller['describe']);router[_0x704a('0x4')]('/:id',auth['isAuthenticated'](),controller[_0x704a('0x7')]);router[_0x704a('0x4')](_0x704a('0x8'),auth[_0x704a('0x5')](),controller[_0x704a('0x9')]);router[_0x704a('0x4')](_0x704a('0xa'),auth[_0x704a('0x5')](),controller[_0x704a('0xb')]);router[_0x704a('0xc')]('/',auth[_0x704a('0x5')](),controller[_0x704a('0xd')]);router[_0x704a('0xc')](_0x704a('0x8'),auth[_0x704a('0x5')](),controller[_0x704a('0xe')]);router['post'](_0x704a('0xf'),auth[_0x704a('0x5')](),interaction[_0x704a('0x10')](_0x704a('0x11'),_0x704a('0x12')),controller['addTags']);router[_0x704a('0x13')]('/:id',auth[_0x704a('0x5')](),interaction['tracked'](_0x704a('0x11'),_0x704a('0x14')),controller[_0x704a('0x15')]);router[_0x704a('0x16')](_0x704a('0x17'),auth[_0x704a('0x5')](),interaction['tracked']('mail',_0x704a('0x18')),controller[_0x704a('0x19')]);router[_0x704a('0x16')]('/:id/tags',auth[_0x704a('0x5')](),controller[_0x704a('0x1a')]);module[_0x704a('0x1b')]=router;
\ No newline at end of file