Built motion from commit fd055180.|2.6.30
[motion2.git] / server / api / mailInteraction / index.js
index edb625b..ca466c5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x29fb=['describe','/:id','show','/:id/messages','post','create','addMessage','/:id/tags','tracked','mailinteraction:addtags','addTags','put','mail','update','delete','destroy','removeTags','exports','express','Router','../../components/auth/service','./mailInteraction.controller','get','isAuthenticated','index'];(function(_0xb6fea8,_0x168b47){var _0xfba656=function(_0x1b5094){while(--_0x1b5094){_0xb6fea8['push'](_0xb6fea8['shift']());}};_0xfba656(++_0x168b47);}(_0x29fb,0xf3));var _0xb29f=function(_0x37d55d,_0x418158){_0x37d55d=_0x37d55d-0x0;var _0x54ca76=_0x29fb[_0x37d55d];return _0x54ca76;};'use strict';var express=require(_0xb29f('0x0'));var router=express[_0xb29f('0x1')]();var auth=require(_0xb29f('0x2'));var interaction=require('../../components/interaction/service');var controller=require(_0xb29f('0x3'));router[_0xb29f('0x4')]('/',auth[_0xb29f('0x5')](),controller[_0xb29f('0x6')]);router[_0xb29f('0x4')]('/describe',auth[_0xb29f('0x5')](),controller[_0xb29f('0x7')]);router[_0xb29f('0x4')](_0xb29f('0x8'),auth[_0xb29f('0x5')](),controller[_0xb29f('0x9')]);router[_0xb29f('0x4')](_0xb29f('0xa'),auth['isAuthenticated'](),controller['getMessages']);router[_0xb29f('0x4')]('/:id/download',auth[_0xb29f('0x5')](),controller['download']);router[_0xb29f('0xb')]('/',auth[_0xb29f('0x5')](),controller[_0xb29f('0xc')]);router[_0xb29f('0xb')]('/:id/messages',auth[_0xb29f('0x5')](),controller[_0xb29f('0xd')]);router[_0xb29f('0xb')](_0xb29f('0xe'),auth[_0xb29f('0x5')](),interaction[_0xb29f('0xf')]('mail',_0xb29f('0x10')),controller[_0xb29f('0x11')]);router[_0xb29f('0x12')]('/:id',auth[_0xb29f('0x5')](),interaction['tracked'](_0xb29f('0x13'),'mailinteraction:update'),controller[_0xb29f('0x14')]);router[_0xb29f('0x15')](_0xb29f('0x8'),auth[_0xb29f('0x5')](),interaction['tracked'](_0xb29f('0x13'),'mailinteraction:destroy'),controller[_0xb29f('0x16')]);router[_0xb29f('0x15')](_0xb29f('0xe'),auth[_0xb29f('0x5')](),controller[_0xb29f('0x17')]);module[_0xb29f('0x18')]=router;
\ No newline at end of file
+var _0x5ce4=['show','/:id/messages','getMessages','download','post','create','/:id/tags','tracked','mail','mailinteraction:addtags','addTags','put','mailinteraction:update','update','delete','/:id','mailinteraction:destroy','destroy','removeTags','exports','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe'];(function(_0x3d732e,_0x461f7a){var _0x2c0b04=function(_0x23d24a){while(--_0x23d24a){_0x3d732e['push'](_0x3d732e['shift']());}};_0x2c0b04(++_0x461f7a);}(_0x5ce4,0xbc));var _0x45ce=function(_0x3ba69c,_0x3e370c){_0x3ba69c=_0x3ba69c-0x0;var _0x1c722b=_0x5ce4[_0x3ba69c];return _0x1c722b;};'use strict';var express=require(_0x45ce('0x0'));var router=express['Router']();var auth=require(_0x45ce('0x1'));var interaction=require(_0x45ce('0x2'));var controller=require('./mailInteraction.controller');router[_0x45ce('0x3')]('/',auth[_0x45ce('0x4')](),controller[_0x45ce('0x5')]);router[_0x45ce('0x3')](_0x45ce('0x6'),auth['isAuthenticated'](),controller[_0x45ce('0x7')]);router[_0x45ce('0x3')]('/:id',auth[_0x45ce('0x4')](),controller[_0x45ce('0x8')]);router[_0x45ce('0x3')](_0x45ce('0x9'),auth[_0x45ce('0x4')](),controller[_0x45ce('0xa')]);router['get']('/:id/download',auth[_0x45ce('0x4')](),controller[_0x45ce('0xb')]);router[_0x45ce('0xc')]('/',auth['isAuthenticated'](),controller[_0x45ce('0xd')]);router['post'](_0x45ce('0x9'),auth[_0x45ce('0x4')](),controller['addMessage']);router[_0x45ce('0xc')](_0x45ce('0xe'),auth['isAuthenticated'](),interaction[_0x45ce('0xf')](_0x45ce('0x10'),_0x45ce('0x11')),controller[_0x45ce('0x12')]);router[_0x45ce('0x13')]('/:id',auth[_0x45ce('0x4')](),interaction[_0x45ce('0xf')](_0x45ce('0x10'),_0x45ce('0x14')),controller[_0x45ce('0x15')]);router[_0x45ce('0x16')](_0x45ce('0x17'),auth[_0x45ce('0x4')](),interaction[_0x45ce('0xf')](_0x45ce('0x10'),_0x45ce('0x18')),controller[_0x45ce('0x19')]);router[_0x45ce('0x16')](_0x45ce('0xe'),auth[_0x45ce('0x4')](),controller[_0x45ce('0x1a')]);module[_0x45ce('0x1b')]=router;
\ No newline at end of file