Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / mailInteraction / index.js
index d576aa9..f10710e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3e61=['mailinteraction:addtags','addTags','put','/:id','tracked','mailinteraction:update','update','delete','mail','destroy','exports','Router','../../components/auth/service','../../components/interaction/service','get','/describe','isAuthenticated','show','/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags'];(function(_0x14dac9,_0x11fc95){var _0x1f1e69=function(_0x4d2657){while(--_0x4d2657){_0x14dac9['push'](_0x14dac9['shift']());}};_0x1f1e69(++_0x11fc95);}(_0x3e61,0x10f));var _0x13e6=function(_0x2db208,_0x4afbe2){_0x2db208=_0x2db208-0x0;var _0x48efb3=_0x3e61[_0x2db208];return _0x48efb3;};'use strict';var express=require('express');var router=express[_0x13e6('0x0')]();var auth=require(_0x13e6('0x1'));var interaction=require(_0x13e6('0x2'));var controller=require('./mailInteraction.controller');router[_0x13e6('0x3')]('/',auth['isAuthenticated'](),controller['index']);router[_0x13e6('0x3')](_0x13e6('0x4'),auth[_0x13e6('0x5')](),controller['describe']);router[_0x13e6('0x3')]('/:id',auth['isAuthenticated'](),controller[_0x13e6('0x6')]);router[_0x13e6('0x3')](_0x13e6('0x7'),auth['isAuthenticated'](),controller[_0x13e6('0x8')]);router['get'](_0x13e6('0x9'),auth[_0x13e6('0x5')](),controller[_0x13e6('0xa')]);router[_0x13e6('0xb')]('/',auth[_0x13e6('0x5')](),controller[_0x13e6('0xc')]);router['post']('/:id/messages',auth[_0x13e6('0x5')](),controller[_0x13e6('0xd')]);router[_0x13e6('0xb')](_0x13e6('0xe'),auth[_0x13e6('0x5')](),interaction['tracked']('mail',_0x13e6('0xf')),controller[_0x13e6('0x10')]);router[_0x13e6('0x11')](_0x13e6('0x12'),auth[_0x13e6('0x5')](),interaction[_0x13e6('0x13')]('mail',_0x13e6('0x14')),controller[_0x13e6('0x15')]);router[_0x13e6('0x16')](_0x13e6('0x12'),auth[_0x13e6('0x5')](),interaction[_0x13e6('0x13')](_0x13e6('0x17'),'mailinteraction:destroy'),controller[_0x13e6('0x18')]);router[_0x13e6('0x16')]('/:id/tags',auth[_0x13e6('0x5')](),controller['removeTags']);module[_0x13e6('0x19')]=router;
\ No newline at end of file
+var _0xf70e=['addMessage','/:id/tags','tracked','mail','mailinteraction:addtags','addTags','mailinteraction:update','mailinteraction:destroy','destroy','delete','removeTags','exports','express','Router','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','download','post','create'];(function(_0x4c2c33,_0x4408e5){var _0x581e5e=function(_0x1dd9bc){while(--_0x1dd9bc){_0x4c2c33['push'](_0x4c2c33['shift']());}};_0x581e5e(++_0x4408e5);}(_0xf70e,0x174));var _0xef70=function(_0xdc7170,_0x571276){_0xdc7170=_0xdc7170-0x0;var _0x9e8216=_0xf70e[_0xdc7170];return _0x9e8216;};'use strict';var express=require(_0xef70('0x0'));var router=express[_0xef70('0x1')]();var auth=require(_0xef70('0x2'));var interaction=require(_0xef70('0x3'));var controller=require(_0xef70('0x4'));router[_0xef70('0x5')]('/',auth[_0xef70('0x6')](),controller[_0xef70('0x7')]);router[_0xef70('0x5')](_0xef70('0x8'),auth[_0xef70('0x6')](),controller[_0xef70('0x9')]);router[_0xef70('0x5')](_0xef70('0xa'),auth[_0xef70('0x6')](),controller[_0xef70('0xb')]);router[_0xef70('0x5')](_0xef70('0xc'),auth[_0xef70('0x6')](),controller[_0xef70('0xd')]);router[_0xef70('0x5')](_0xef70('0xe'),auth[_0xef70('0x6')](),controller[_0xef70('0xf')]);router[_0xef70('0x10')]('/',auth[_0xef70('0x6')](),controller[_0xef70('0x11')]);router[_0xef70('0x10')](_0xef70('0xc'),auth['isAuthenticated'](),controller[_0xef70('0x12')]);router['post'](_0xef70('0x13'),auth[_0xef70('0x6')](),interaction[_0xef70('0x14')](_0xef70('0x15'),_0xef70('0x16')),controller[_0xef70('0x17')]);router['put']('/:id',auth[_0xef70('0x6')](),interaction[_0xef70('0x14')]('mail',_0xef70('0x18')),controller['update']);router['delete'](_0xef70('0xa'),auth[_0xef70('0x6')](),interaction[_0xef70('0x14')](_0xef70('0x15'),_0xef70('0x19')),controller[_0xef70('0x1a')]);router[_0xef70('0x1b')](_0xef70('0x13'),auth[_0xef70('0x6')](),controller[_0xef70('0x1c')]);module[_0xef70('0x1d')]=router;
\ No newline at end of file