Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / mailInteraction / index.js
index c12c97c..6290ad0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5a96=['/:id','show','/:id/messages','getMessages','/:id/download','post','create','/:id/tags','mail','addTags','put','tracked','update','delete','mailinteraction:destroy','destroy','removeTags','exports','Router','get','isAuthenticated','index','describe'];(function(_0x4690f1,_0x10f22f){var _0x5c2b55=function(_0x311b95){while(--_0x311b95){_0x4690f1['push'](_0x4690f1['shift']());}};_0x5c2b55(++_0x10f22f);}(_0x5a96,0x13d));var _0x65a9=function(_0x45dcc7,_0x1469fb){_0x45dcc7=_0x45dcc7-0x0;var _0x42b467=_0x5a96[_0x45dcc7];return _0x42b467;};'use strict';var express=require('express');var router=express[_0x65a9('0x0')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var controller=require('./mailInteraction.controller');router[_0x65a9('0x1')]('/',auth[_0x65a9('0x2')](),controller[_0x65a9('0x3')]);router[_0x65a9('0x1')]('/describe',auth[_0x65a9('0x2')](),controller[_0x65a9('0x4')]);router[_0x65a9('0x1')](_0x65a9('0x5'),auth[_0x65a9('0x2')](),controller[_0x65a9('0x6')]);router[_0x65a9('0x1')](_0x65a9('0x7'),auth[_0x65a9('0x2')](),controller[_0x65a9('0x8')]);router[_0x65a9('0x1')](_0x65a9('0x9'),auth[_0x65a9('0x2')](),controller['download']);router[_0x65a9('0xa')]('/',auth['isAuthenticated'](),controller[_0x65a9('0xb')]);router[_0x65a9('0xa')]('/:id/messages',auth[_0x65a9('0x2')](),controller['addMessage']);router['post'](_0x65a9('0xc'),auth[_0x65a9('0x2')](),interaction['tracked'](_0x65a9('0xd'),'mailinteraction:addtags'),controller[_0x65a9('0xe')]);router[_0x65a9('0xf')](_0x65a9('0x5'),auth[_0x65a9('0x2')](),interaction[_0x65a9('0x10')](_0x65a9('0xd'),'mailinteraction:update'),controller[_0x65a9('0x11')]);router[_0x65a9('0x12')](_0x65a9('0x5'),auth[_0x65a9('0x2')](),interaction[_0x65a9('0x10')](_0x65a9('0xd'),_0x65a9('0x13')),controller[_0x65a9('0x14')]);router[_0x65a9('0x12')](_0x65a9('0xc'),auth[_0x65a9('0x2')](),controller[_0x65a9('0x15')]);module[_0x65a9('0x16')]=router;
\ No newline at end of file
+var _0x80db=['update','mailinteraction:destroy','destroy','delete','exports','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','get','isAuthenticated','/describe','describe','show','/:id/download','download','post','create','addMessage','/:id/tags','tracked','mailinteraction:addtags','put','/:id','mail'];(function(_0x13cd99,_0x3650a2){var _0x11391f=function(_0x2dab78){while(--_0x2dab78){_0x13cd99['push'](_0x13cd99['shift']());}};_0x11391f(++_0x3650a2);}(_0x80db,0xc5));var _0xb80d=function(_0x37f594,_0x40aa2c){_0x37f594=_0x37f594-0x0;var _0x1782c5=_0x80db[_0x37f594];return _0x1782c5;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0xb80d('0x0'));var interaction=require(_0xb80d('0x1'));var controller=require(_0xb80d('0x2'));router[_0xb80d('0x3')]('/',auth[_0xb80d('0x4')](),controller['index']);router[_0xb80d('0x3')](_0xb80d('0x5'),auth[_0xb80d('0x4')](),controller[_0xb80d('0x6')]);router['get']('/:id',auth[_0xb80d('0x4')](),controller[_0xb80d('0x7')]);router[_0xb80d('0x3')]('/:id/messages',auth['isAuthenticated'](),controller['getMessages']);router[_0xb80d('0x3')](_0xb80d('0x8'),auth[_0xb80d('0x4')](),controller[_0xb80d('0x9')]);router[_0xb80d('0xa')]('/',auth[_0xb80d('0x4')](),controller[_0xb80d('0xb')]);router[_0xb80d('0xa')]('/:id/messages',auth[_0xb80d('0x4')](),controller[_0xb80d('0xc')]);router['post'](_0xb80d('0xd'),auth[_0xb80d('0x4')](),interaction[_0xb80d('0xe')]('mail',_0xb80d('0xf')),controller['addTags']);router[_0xb80d('0x10')](_0xb80d('0x11'),auth[_0xb80d('0x4')](),interaction[_0xb80d('0xe')](_0xb80d('0x12'),'mailinteraction:update'),controller[_0xb80d('0x13')]);router['delete'](_0xb80d('0x11'),auth[_0xb80d('0x4')](),interaction[_0xb80d('0xe')](_0xb80d('0x12'),_0xb80d('0x14')),controller[_0xb80d('0x15')]);router[_0xb80d('0x16')](_0xb80d('0xd'),auth['isAuthenticated'](),controller['removeTags']);module[_0xb80d('0x17')]=router;
\ No newline at end of file