Built motion from commit f67b3b02.|2.6.31
[motion2.git] / server / api / mailInteraction / index.js
index 3414ca6..46de756 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf617=['isAuthenticated','/describe','describe','/:id','show','getMessages','post','/:id/messages','/:id/tags','mail','mailinteraction:addtags','addTags','put','tracked','mailinteraction:update','update','delete','mailinteraction:destroy','destroy','removeTags','exports','express','Router','../../components/auth/service','./mailInteraction.controller','get'];(function(_0x47f481,_0x47f6b6){var _0x344bdc=function(_0x411a6b){while(--_0x411a6b){_0x47f481['push'](_0x47f481['shift']());}};_0x344bdc(++_0x47f6b6);}(_0xf617,0x181));var _0x7f61=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xf617[_0x3dd15e];return _0x231fd0;};'use strict';var express=require(_0x7f61('0x0'));var router=express[_0x7f61('0x1')]();var auth=require(_0x7f61('0x2'));var interaction=require('../../components/interaction/service');var controller=require(_0x7f61('0x3'));router[_0x7f61('0x4')]('/',auth[_0x7f61('0x5')](),controller['index']);router['get'](_0x7f61('0x6'),auth[_0x7f61('0x5')](),controller[_0x7f61('0x7')]);router[_0x7f61('0x4')](_0x7f61('0x8'),auth[_0x7f61('0x5')](),controller[_0x7f61('0x9')]);router[_0x7f61('0x4')]('/:id/messages',auth[_0x7f61('0x5')](),controller[_0x7f61('0xa')]);router[_0x7f61('0x4')]('/:id/download',auth[_0x7f61('0x5')](),controller['download']);router[_0x7f61('0xb')]('/',auth[_0x7f61('0x5')](),controller['create']);router[_0x7f61('0xb')](_0x7f61('0xc'),auth[_0x7f61('0x5')](),controller['addMessage']);router[_0x7f61('0xb')](_0x7f61('0xd'),auth[_0x7f61('0x5')](),interaction['tracked'](_0x7f61('0xe'),_0x7f61('0xf')),controller[_0x7f61('0x10')]);router[_0x7f61('0x11')](_0x7f61('0x8'),auth['isAuthenticated'](),interaction[_0x7f61('0x12')]('mail',_0x7f61('0x13')),controller[_0x7f61('0x14')]);router[_0x7f61('0x15')]('/:id',auth[_0x7f61('0x5')](),interaction['tracked']('mail',_0x7f61('0x16')),controller[_0x7f61('0x17')]);router[_0x7f61('0x15')](_0x7f61('0xd'),auth[_0x7f61('0x5')](),controller[_0x7f61('0x18')]);module[_0x7f61('0x19')]=router;
\ No newline at end of file
+var _0xd8da=['/:id','tracked','mailinteraction:update','update','delete','mailinteraction:destroy','removeTags','exports','express','Router','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','isAuthenticated','get','show','/:id/messages','/:id/download','post','create','/:id/tags','mail'];(function(_0x2b434e,_0x12102e){var _0x39aaa9=function(_0x1f3abf){while(--_0x1f3abf){_0x2b434e['push'](_0x2b434e['shift']());}};_0x39aaa9(++_0x12102e);}(_0xd8da,0x168));var _0xad8d=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0xd8da[_0x122096];return _0x3d1966;};'use strict';var express=require(_0xad8d('0x0'));var router=express[_0xad8d('0x1')]();var auth=require(_0xad8d('0x2'));var interaction=require(_0xad8d('0x3'));var controller=require(_0xad8d('0x4'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth[_0xad8d('0x5')](),controller['describe']);router[_0xad8d('0x6')]('/:id',auth[_0xad8d('0x5')](),controller[_0xad8d('0x7')]);router[_0xad8d('0x6')](_0xad8d('0x8'),auth[_0xad8d('0x5')](),controller['getMessages']);router['get'](_0xad8d('0x9'),auth[_0xad8d('0x5')](),controller['download']);router[_0xad8d('0xa')]('/',auth['isAuthenticated'](),controller[_0xad8d('0xb')]);router['post'](_0xad8d('0x8'),auth['isAuthenticated'](),controller['addMessage']);router['post'](_0xad8d('0xc'),auth[_0xad8d('0x5')](),interaction['tracked'](_0xad8d('0xd'),'mailinteraction:addtags'),controller['addTags']);router['put'](_0xad8d('0xe'),auth[_0xad8d('0x5')](),interaction[_0xad8d('0xf')]('mail',_0xad8d('0x10')),controller[_0xad8d('0x11')]);router[_0xad8d('0x12')](_0xad8d('0xe'),auth['isAuthenticated'](),interaction['tracked'](_0xad8d('0xd'),_0xad8d('0x13')),controller['destroy']);router['delete']('/:id/tags',auth['isAuthenticated'](),controller[_0xad8d('0x14')]);module[_0xad8d('0x15')]=router;
\ No newline at end of file