Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / mailInteraction / index.js
index c6e4ee7..e089aab 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x83c2=['mailinteraction:addtags','mailinteraction:update','update','delete','mailinteraction:destroy','destroy','/:id/tags','removeTags','exports','express','Router','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','get','isAuthenticated','index','/:id','show','/:id/messages','/:id/download','download','post','create','tracked','mail'];(function(_0xe5b5f5,_0x18f5ec){var _0xc71b65=function(_0x3fa688){while(--_0x3fa688){_0xe5b5f5['push'](_0xe5b5f5['shift']());}};_0xc71b65(++_0x18f5ec);}(_0x83c2,0x1c3));var _0x283c=function(_0x4ec7f2,_0x3d92d2){_0x4ec7f2=_0x4ec7f2-0x0;var _0x118004=_0x83c2[_0x4ec7f2];return _0x118004;};'use strict';var express=require(_0x283c('0x0'));var router=express[_0x283c('0x1')]();var auth=require(_0x283c('0x2'));var interaction=require(_0x283c('0x3'));var controller=require(_0x283c('0x4'));router[_0x283c('0x5')]('/',auth[_0x283c('0x6')](),controller[_0x283c('0x7')]);router[_0x283c('0x5')]('/describe',auth[_0x283c('0x6')](),controller['describe']);router['get'](_0x283c('0x8'),auth[_0x283c('0x6')](),controller[_0x283c('0x9')]);router['get'](_0x283c('0xa'),auth['isAuthenticated'](),controller['getMessages']);router[_0x283c('0x5')](_0x283c('0xb'),auth[_0x283c('0x6')](),controller[_0x283c('0xc')]);router[_0x283c('0xd')]('/',auth[_0x283c('0x6')](),controller[_0x283c('0xe')]);router[_0x283c('0xd')]('/:id/messages',auth[_0x283c('0x6')](),controller['addMessage']);router['post']('/:id/tags',auth[_0x283c('0x6')](),interaction[_0x283c('0xf')](_0x283c('0x10'),_0x283c('0x11')),controller['addTags']);router['put'](_0x283c('0x8'),auth['isAuthenticated'](),interaction[_0x283c('0xf')]('mail',_0x283c('0x12')),controller[_0x283c('0x13')]);router[_0x283c('0x14')](_0x283c('0x8'),auth[_0x283c('0x6')](),interaction[_0x283c('0xf')]('mail',_0x283c('0x15')),controller[_0x283c('0x16')]);router[_0x283c('0x14')](_0x283c('0x17'),auth[_0x283c('0x6')](),controller[_0x283c('0x18')]);module[_0x283c('0x19')]=router;
\ No newline at end of file
+var _0x720b=['/:id/download','download','create','addMessage','post','/:id/tags','put','/:id','tracked','mailinteraction:update','update','delete','mail','mailinteraction:destroy','destroy','exports','express','Router','./mailInteraction.controller','get','isAuthenticated','/describe','/:id/messages','getMessages'];(function(_0x50f057,_0xf49e85){var _0x14999d=function(_0x56f90f){while(--_0x56f90f){_0x50f057['push'](_0x50f057['shift']());}};_0x14999d(++_0xf49e85);}(_0x720b,0xb8));var _0xb720=function(_0x238fce,_0x3ed01f){_0x238fce=_0x238fce-0x0;var _0x3a9d50=_0x720b[_0x238fce];return _0x3a9d50;};'use strict';var express=require(_0xb720('0x0'));var router=express[_0xb720('0x1')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var controller=require(_0xb720('0x2'));router[_0xb720('0x3')]('/',auth[_0xb720('0x4')](),controller['index']);router[_0xb720('0x3')](_0xb720('0x5'),auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0xb720('0x4')](),controller['show']);router['get'](_0xb720('0x6'),auth[_0xb720('0x4')](),controller[_0xb720('0x7')]);router[_0xb720('0x3')](_0xb720('0x8'),auth[_0xb720('0x4')](),controller[_0xb720('0x9')]);router['post']('/',auth[_0xb720('0x4')](),controller[_0xb720('0xa')]);router['post'](_0xb720('0x6'),auth['isAuthenticated'](),controller[_0xb720('0xb')]);router[_0xb720('0xc')](_0xb720('0xd'),auth[_0xb720('0x4')](),interaction['tracked']('mail','mailinteraction:addtags'),controller['addTags']);router[_0xb720('0xe')](_0xb720('0xf'),auth['isAuthenticated'](),interaction[_0xb720('0x10')]('mail',_0xb720('0x11')),controller[_0xb720('0x12')]);router[_0xb720('0x13')]('/:id',auth[_0xb720('0x4')](),interaction['tracked'](_0xb720('0x14'),_0xb720('0x15')),controller[_0xb720('0x16')]);router[_0xb720('0x13')](_0xb720('0xd'),auth[_0xb720('0x4')](),controller['removeTags']);module[_0xb720('0x17')]=router;
\ No newline at end of file