Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / mailInteraction / index.js
index 20c2dff..4b2c4e4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x057a=['./mailInteraction.controller','isAuthenticated','index','/describe','/:id','show','get','/:id/messages','getMessages','/:id/download','download','post','addMessage','/:id/tags','tracked','mail','mailinteraction:addtags','update','delete','destroy','removeTags','exports','express','Router','../../components/auth/service'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x057a,0x1a6));var _0xa057=function(_0x48ad47,_0x1cc11e){_0x48ad47=_0x48ad47-0x0;var _0x512b22=_0x057a[_0x48ad47];return _0x512b22;};'use strict';var express=require(_0xa057('0x0'));var router=express[_0xa057('0x1')]();var auth=require(_0xa057('0x2'));var interaction=require('../../components/interaction/service');var controller=require(_0xa057('0x3'));router['get']('/',auth[_0xa057('0x4')](),controller[_0xa057('0x5')]);router['get'](_0xa057('0x6'),auth[_0xa057('0x4')](),controller['describe']);router['get'](_0xa057('0x7'),auth[_0xa057('0x4')](),controller[_0xa057('0x8')]);router[_0xa057('0x9')](_0xa057('0xa'),auth[_0xa057('0x4')](),controller[_0xa057('0xb')]);router[_0xa057('0x9')](_0xa057('0xc'),auth[_0xa057('0x4')](),controller[_0xa057('0xd')]);router[_0xa057('0xe')]('/',auth[_0xa057('0x4')](),controller['create']);router['post'](_0xa057('0xa'),auth[_0xa057('0x4')](),controller[_0xa057('0xf')]);router['post'](_0xa057('0x10'),auth[_0xa057('0x4')](),interaction[_0xa057('0x11')](_0xa057('0x12'),_0xa057('0x13')),controller['addTags']);router['put'](_0xa057('0x7'),auth['isAuthenticated'](),interaction[_0xa057('0x11')](_0xa057('0x12'),'mailinteraction:update'),controller[_0xa057('0x14')]);router[_0xa057('0x15')](_0xa057('0x7'),auth[_0xa057('0x4')](),interaction['tracked']('mail','mailinteraction:destroy'),controller[_0xa057('0x16')]);router[_0xa057('0x15')](_0xa057('0x10'),auth[_0xa057('0x4')](),controller[_0xa057('0x17')]);module[_0xa057('0x18')]=router;
\ No newline at end of file
+var _0x4b4d=['/:id/tags','tracked','mail','put','mailinteraction:update','update','delete','mailinteraction:destroy','destroy','removeTags','exports','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','create','addMessage','post'];(function(_0x4d9e41,_0x5713ad){var _0x1c838e=function(_0x1c2d9d){while(--_0x1c2d9d){_0x4d9e41['push'](_0x4d9e41['shift']());}};_0x1c838e(++_0x5713ad);}(_0x4b4d,0x123));var _0xd4b4=function(_0x4fc208,_0x1b54fe){_0x4fc208=_0x4fc208-0x0;var _0x437ee9=_0x4b4d[_0x4fc208];return _0x437ee9;};'use strict';var express=require(_0xd4b4('0x0'));var router=express[_0xd4b4('0x1')]();var auth=require(_0xd4b4('0x2'));var interaction=require(_0xd4b4('0x3'));var controller=require('./mailInteraction.controller');router[_0xd4b4('0x4')]('/',auth[_0xd4b4('0x5')](),controller[_0xd4b4('0x6')]);router[_0xd4b4('0x4')](_0xd4b4('0x7'),auth[_0xd4b4('0x5')](),controller[_0xd4b4('0x8')]);router['get'](_0xd4b4('0x9'),auth['isAuthenticated'](),controller[_0xd4b4('0xa')]);router[_0xd4b4('0x4')](_0xd4b4('0xb'),auth[_0xd4b4('0x5')](),controller[_0xd4b4('0xc')]);router[_0xd4b4('0x4')](_0xd4b4('0xd'),auth[_0xd4b4('0x5')](),controller['download']);router['post']('/',auth[_0xd4b4('0x5')](),controller[_0xd4b4('0xe')]);router['post']('/:id/messages',auth[_0xd4b4('0x5')](),controller[_0xd4b4('0xf')]);router[_0xd4b4('0x10')](_0xd4b4('0x11'),auth[_0xd4b4('0x5')](),interaction[_0xd4b4('0x12')](_0xd4b4('0x13'),'mailinteraction:addtags'),controller['addTags']);router[_0xd4b4('0x14')]('/:id',auth[_0xd4b4('0x5')](),interaction['tracked'](_0xd4b4('0x13'),_0xd4b4('0x15')),controller[_0xd4b4('0x16')]);router[_0xd4b4('0x17')](_0xd4b4('0x9'),auth[_0xd4b4('0x5')](),interaction[_0xd4b4('0x12')](_0xd4b4('0x13'),_0xd4b4('0x18')),controller[_0xd4b4('0x19')]);router[_0xd4b4('0x17')](_0xd4b4('0x11'),auth[_0xd4b4('0x5')](),controller[_0xd4b4('0x1a')]);module[_0xd4b4('0x1b')]=router;
\ No newline at end of file