Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / mailInteraction / index.js
index ff3f725..5dce772 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x682c=['show','/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags','tracked','mail','addTags','mailinteraction:update','update','delete','removeTags','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailInteraction.controller','get','isAuthenticated','/:id'];(function(_0x25a37d,_0x3c81fc){var _0x3421b6=function(_0x48d8f8){while(--_0x48d8f8){_0x25a37d['push'](_0x25a37d['shift']());}};_0x3421b6(++_0x3c81fc);}(_0x682c,0x129));var _0xc682=function(_0x4080a2,_0x41b2be){_0x4080a2=_0x4080a2-0x0;var _0x57c593=_0x682c[_0x4080a2];return _0x57c593;};'use strict';var multer=require(_0xc682('0x0'));var util=require(_0xc682('0x1'));var path=require(_0xc682('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc682('0x3')]();var auth=require(_0xc682('0x4'));var interaction=require(_0xc682('0x5'));var config=require(_0xc682('0x6'));var controller=require(_0xc682('0x7'));router[_0xc682('0x8')]('/',auth[_0xc682('0x9')](),controller['index']);router[_0xc682('0x8')]('/describe',auth[_0xc682('0x9')](),controller['describe']);router[_0xc682('0x8')](_0xc682('0xa'),auth['isAuthenticated'](),controller[_0xc682('0xb')]);router['get'](_0xc682('0xc'),auth[_0xc682('0x9')](),controller[_0xc682('0xd')]);router[_0xc682('0x8')](_0xc682('0xe'),auth['isAuthenticated'](),controller[_0xc682('0xf')]);router[_0xc682('0x10')]('/',auth[_0xc682('0x9')](),controller[_0xc682('0x11')]);router[_0xc682('0x10')](_0xc682('0xc'),auth[_0xc682('0x9')](),controller[_0xc682('0x12')]);router[_0xc682('0x10')](_0xc682('0x13'),auth['isAuthenticated'](),interaction[_0xc682('0x14')](_0xc682('0x15'),'mailinteraction:addtags'),controller[_0xc682('0x16')]);router['put']('/:id',auth['isAuthenticated'](),interaction[_0xc682('0x14')](_0xc682('0x15'),_0xc682('0x17')),controller[_0xc682('0x18')]);router['delete'](_0xc682('0xa'),auth[_0xc682('0x9')](),interaction[_0xc682('0x14')](_0xc682('0x15'),'mailinteraction:destroy'),controller['destroy']);router[_0xc682('0x19')]('/:id/tags',auth['isAuthenticated'](),controller[_0xc682('0x1a')]);module[_0xc682('0x1b')]=router;
\ No newline at end of file
+var _0x9bbe=['addTags','put','/:id','tracked','mail','update','mailinteraction:destroy','delete','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','show','/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags','mailinteraction:addtags'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0x9bbe,0x64));var _0xe9bb=function(_0x341abd,_0x3cf12a){_0x341abd=_0x341abd-0x0;var _0x1db3aa=_0x9bbe[_0x341abd];return _0x1db3aa;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0xe9bb('0x0'));var interaction=require(_0xe9bb('0x1'));var controller=require('./mailInteraction.controller');router[_0xe9bb('0x2')]('/',auth[_0xe9bb('0x3')](),controller['index']);router[_0xe9bb('0x2')](_0xe9bb('0x4'),auth[_0xe9bb('0x3')](),controller['describe']);router['get']('/:id',auth[_0xe9bb('0x3')](),controller[_0xe9bb('0x5')]);router[_0xe9bb('0x2')](_0xe9bb('0x6'),auth[_0xe9bb('0x3')](),controller[_0xe9bb('0x7')]);router[_0xe9bb('0x2')](_0xe9bb('0x8'),auth[_0xe9bb('0x3')](),controller[_0xe9bb('0x9')]);router[_0xe9bb('0xa')]('/',auth[_0xe9bb('0x3')](),controller[_0xe9bb('0xb')]);router['post']('/:id/messages',auth[_0xe9bb('0x3')](),controller[_0xe9bb('0xc')]);router[_0xe9bb('0xa')](_0xe9bb('0xd'),auth[_0xe9bb('0x3')](),interaction['tracked']('mail',_0xe9bb('0xe')),controller[_0xe9bb('0xf')]);router[_0xe9bb('0x10')](_0xe9bb('0x11'),auth[_0xe9bb('0x3')](),interaction[_0xe9bb('0x12')](_0xe9bb('0x13'),'mailinteraction:update'),controller[_0xe9bb('0x14')]);router['delete'](_0xe9bb('0x11'),auth['isAuthenticated'](),interaction[_0xe9bb('0x12')](_0xe9bb('0x13'),_0xe9bb('0x15')),controller['destroy']);router[_0xe9bb('0x16')]('/:id/tags',auth[_0xe9bb('0x3')](),controller['removeTags']);module['exports']=router;
\ No newline at end of file