Built motion from commit ff78e754.|2.6.29
[motion2.git] / server / api / mailInteraction / index.js
index 1928384..ec13151 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8972=['../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/messages','download','post','create','addMessage','/:id/tags','tracked','addTags','put','mail','delete','mailinteraction:destroy','destroy','removeTags','exports','express','Router'];(function(_0x3fe2ea,_0x485b45){var _0x5185de=function(_0x396148){while(--_0x396148){_0x3fe2ea['push'](_0x3fe2ea['shift']());}};_0x5185de(++_0x485b45);}(_0x8972,0x178));var _0x2897=function(_0x44aa6a,_0x148a1b){_0x44aa6a=_0x44aa6a-0x0;var _0x58fa9b=_0x8972[_0x44aa6a];return _0x58fa9b;};'use strict';var express=require(_0x2897('0x0'));var router=express[_0x2897('0x1')]();var auth=require(_0x2897('0x2'));var interaction=require(_0x2897('0x3'));var controller=require(_0x2897('0x4'));router['get']('/',auth[_0x2897('0x5')](),controller[_0x2897('0x6')]);router[_0x2897('0x7')](_0x2897('0x8'),auth[_0x2897('0x5')](),controller[_0x2897('0x9')]);router['get'](_0x2897('0xa'),auth['isAuthenticated'](),controller[_0x2897('0xb')]);router['get'](_0x2897('0xc'),auth[_0x2897('0x5')](),controller['getMessages']);router[_0x2897('0x7')]('/:id/download',auth[_0x2897('0x5')](),controller[_0x2897('0xd')]);router[_0x2897('0xe')]('/',auth[_0x2897('0x5')](),controller[_0x2897('0xf')]);router[_0x2897('0xe')](_0x2897('0xc'),auth[_0x2897('0x5')](),controller[_0x2897('0x10')]);router[_0x2897('0xe')](_0x2897('0x11'),auth[_0x2897('0x5')](),interaction[_0x2897('0x12')]('mail','mailinteraction:addtags'),controller[_0x2897('0x13')]);router[_0x2897('0x14')](_0x2897('0xa'),auth[_0x2897('0x5')](),interaction['tracked'](_0x2897('0x15'),'mailinteraction:update'),controller['update']);router[_0x2897('0x16')]('/:id',auth[_0x2897('0x5')](),interaction['tracked'](_0x2897('0x15'),_0x2897('0x17')),controller[_0x2897('0x18')]);router[_0x2897('0x16')](_0x2897('0x11'),auth[_0x2897('0x5')](),controller[_0x2897('0x19')]);module[_0x2897('0x1a')]=router;
\ No newline at end of file
+var _0x8f7b=['update','mailinteraction:destroy','delete','/:id/tags','removeTags','exports','express','Router','../../components/interaction/service','./mailInteraction.controller','get','isAuthenticated','describe','/:id','show','/:id/messages','/:id/download','download','post','create','addMessage','tracked','mailinteraction:addtags','put','mail','mailinteraction:update'];(function(_0x3f6dd6,_0x4067f6){var _0x5230cd=function(_0x57c82b){while(--_0x57c82b){_0x3f6dd6['push'](_0x3f6dd6['shift']());}};_0x5230cd(++_0x4067f6);}(_0x8f7b,0x124));var _0xb8f7=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x8f7b[_0x5b644e];return _0x49c6bf;};'use strict';var express=require(_0xb8f7('0x0'));var router=express[_0xb8f7('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0xb8f7('0x2'));var controller=require(_0xb8f7('0x3'));router[_0xb8f7('0x4')]('/',auth[_0xb8f7('0x5')](),controller['index']);router[_0xb8f7('0x4')]('/describe',auth[_0xb8f7('0x5')](),controller[_0xb8f7('0x6')]);router[_0xb8f7('0x4')](_0xb8f7('0x7'),auth[_0xb8f7('0x5')](),controller[_0xb8f7('0x8')]);router['get'](_0xb8f7('0x9'),auth[_0xb8f7('0x5')](),controller['getMessages']);router[_0xb8f7('0x4')](_0xb8f7('0xa'),auth['isAuthenticated'](),controller[_0xb8f7('0xb')]);router[_0xb8f7('0xc')]('/',auth[_0xb8f7('0x5')](),controller[_0xb8f7('0xd')]);router[_0xb8f7('0xc')](_0xb8f7('0x9'),auth['isAuthenticated'](),controller[_0xb8f7('0xe')]);router['post']('/:id/tags',auth[_0xb8f7('0x5')](),interaction[_0xb8f7('0xf')]('mail',_0xb8f7('0x10')),controller['addTags']);router[_0xb8f7('0x11')](_0xb8f7('0x7'),auth[_0xb8f7('0x5')](),interaction[_0xb8f7('0xf')](_0xb8f7('0x12'),_0xb8f7('0x13')),controller[_0xb8f7('0x14')]);router['delete'](_0xb8f7('0x7'),auth['isAuthenticated'](),interaction[_0xb8f7('0xf')](_0xb8f7('0x12'),_0xb8f7('0x15')),controller['destroy']);router[_0xb8f7('0x16')](_0xb8f7('0x17'),auth[_0xb8f7('0x5')](),controller[_0xb8f7('0x18')]);module[_0xb8f7('0x19')]=router;
\ No newline at end of file