Built motion from commit d9028345.|2.5.43
[motion2.git] / server / api / mailInteraction / index.js
index 0ddd726..4aef2c3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfcd9=['./mailInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','post','addMessage','/:id/tags','mailinteraction:addtags','put','mailinteraction:update','update','delete','tracked','mail','destroy','removeTags','exports','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x120376,_0x206da0){var _0x4c8ff1=function(_0x58bfba){while(--_0x58bfba){_0x120376['push'](_0x120376['shift']());}};_0x4c8ff1(++_0x206da0);}(_0xfcd9,0x1c8));var _0x9fcd=function(_0x5987ac,_0x213dac){_0x5987ac=_0x5987ac-0x0;var _0xb3d18=_0xfcd9[_0x5987ac];return _0xb3d18;};'use strict';var express=require('express');var router=express[_0x9fcd('0x0')]();var auth=require(_0x9fcd('0x1'));var interaction=require(_0x9fcd('0x2'));var controller=require(_0x9fcd('0x3'));router[_0x9fcd('0x4')]('/',auth[_0x9fcd('0x5')](),controller[_0x9fcd('0x6')]);router[_0x9fcd('0x4')](_0x9fcd('0x7'),auth[_0x9fcd('0x5')](),controller[_0x9fcd('0x8')]);router['get'](_0x9fcd('0x9'),auth[_0x9fcd('0x5')](),controller[_0x9fcd('0xa')]);router[_0x9fcd('0x4')](_0x9fcd('0xb'),auth[_0x9fcd('0x5')](),controller[_0x9fcd('0xc')]);router[_0x9fcd('0x4')](_0x9fcd('0xd'),auth[_0x9fcd('0x5')](),controller['download']);router['post']('/',auth[_0x9fcd('0x5')](),controller['create']);router[_0x9fcd('0xe')](_0x9fcd('0xb'),auth[_0x9fcd('0x5')](),controller[_0x9fcd('0xf')]);router[_0x9fcd('0xe')](_0x9fcd('0x10'),auth['isAuthenticated'](),interaction['tracked']('mail',_0x9fcd('0x11')),controller['addTags']);router[_0x9fcd('0x12')](_0x9fcd('0x9'),auth[_0x9fcd('0x5')](),interaction['tracked']('mail',_0x9fcd('0x13')),controller[_0x9fcd('0x14')]);router[_0x9fcd('0x15')]('/:id',auth[_0x9fcd('0x5')](),interaction[_0x9fcd('0x16')](_0x9fcd('0x17'),'mailinteraction:destroy'),controller[_0x9fcd('0x18')]);router[_0x9fcd('0x15')](_0x9fcd('0x10'),auth['isAuthenticated'](),controller[_0x9fcd('0x19')]);module[_0x9fcd('0x1a')]=router;
\ No newline at end of file
+var _0xac91=['create','/:id/messages','addMessage','post','tracked','mail','mailinteraction:addtags','addTags','update','delete','mailinteraction:destroy','/:id/tags','removeTags','exports','express','Router','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','get','index','/describe','isAuthenticated','describe','/:id','show','getMessages','/:id/download','download'];(function(_0x335f7c,_0xce02e8){var _0x45f24f=function(_0x58a004){while(--_0x58a004){_0x335f7c['push'](_0x335f7c['shift']());}};_0x45f24f(++_0xce02e8);}(_0xac91,0xf6));var _0x1ac9=function(_0x13b948,_0x2a5a86){_0x13b948=_0x13b948-0x0;var _0x2f0044=_0xac91[_0x13b948];return _0x2f0044;};'use strict';var express=require(_0x1ac9('0x0'));var router=express[_0x1ac9('0x1')]();var auth=require(_0x1ac9('0x2'));var interaction=require(_0x1ac9('0x3'));var controller=require(_0x1ac9('0x4'));router[_0x1ac9('0x5')]('/',auth['isAuthenticated'](),controller[_0x1ac9('0x6')]);router['get'](_0x1ac9('0x7'),auth[_0x1ac9('0x8')](),controller[_0x1ac9('0x9')]);router[_0x1ac9('0x5')](_0x1ac9('0xa'),auth[_0x1ac9('0x8')](),controller[_0x1ac9('0xb')]);router[_0x1ac9('0x5')]('/:id/messages',auth[_0x1ac9('0x8')](),controller[_0x1ac9('0xc')]);router[_0x1ac9('0x5')](_0x1ac9('0xd'),auth[_0x1ac9('0x8')](),controller[_0x1ac9('0xe')]);router['post']('/',auth[_0x1ac9('0x8')](),controller[_0x1ac9('0xf')]);router['post'](_0x1ac9('0x10'),auth[_0x1ac9('0x8')](),controller[_0x1ac9('0x11')]);router[_0x1ac9('0x12')]('/:id/tags',auth['isAuthenticated'](),interaction[_0x1ac9('0x13')](_0x1ac9('0x14'),_0x1ac9('0x15')),controller[_0x1ac9('0x16')]);router['put']('/:id',auth[_0x1ac9('0x8')](),interaction['tracked'](_0x1ac9('0x14'),'mailinteraction:update'),controller[_0x1ac9('0x17')]);router[_0x1ac9('0x18')](_0x1ac9('0xa'),auth[_0x1ac9('0x8')](),interaction[_0x1ac9('0x13')](_0x1ac9('0x14'),_0x1ac9('0x19')),controller['destroy']);router[_0x1ac9('0x18')](_0x1ac9('0x1a'),auth[_0x1ac9('0x8')](),controller[_0x1ac9('0x1b')]);module[_0x1ac9('0x1c')]=router;
\ No newline at end of file