Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / mailInteraction / index.js
index e089aab..20c2dff 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x720b=['/:id/download','download','create','addMessage','post','/:id/tags','put','/:id','tracked','mailinteraction:update','update','delete','mail','mailinteraction:destroy','destroy','exports','express','Router','./mailInteraction.controller','get','isAuthenticated','/describe','/:id/messages','getMessages'];(function(_0x50f057,_0xf49e85){var _0x14999d=function(_0x56f90f){while(--_0x56f90f){_0x50f057['push'](_0x50f057['shift']());}};_0x14999d(++_0xf49e85);}(_0x720b,0xb8));var _0xb720=function(_0x238fce,_0x3ed01f){_0x238fce=_0x238fce-0x0;var _0x3a9d50=_0x720b[_0x238fce];return _0x3a9d50;};'use strict';var express=require(_0xb720('0x0'));var router=express[_0xb720('0x1')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var controller=require(_0xb720('0x2'));router[_0xb720('0x3')]('/',auth[_0xb720('0x4')](),controller['index']);router[_0xb720('0x3')](_0xb720('0x5'),auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0xb720('0x4')](),controller['show']);router['get'](_0xb720('0x6'),auth[_0xb720('0x4')](),controller[_0xb720('0x7')]);router[_0xb720('0x3')](_0xb720('0x8'),auth[_0xb720('0x4')](),controller[_0xb720('0x9')]);router['post']('/',auth[_0xb720('0x4')](),controller[_0xb720('0xa')]);router['post'](_0xb720('0x6'),auth['isAuthenticated'](),controller[_0xb720('0xb')]);router[_0xb720('0xc')](_0xb720('0xd'),auth[_0xb720('0x4')](),interaction['tracked']('mail','mailinteraction:addtags'),controller['addTags']);router[_0xb720('0xe')](_0xb720('0xf'),auth['isAuthenticated'](),interaction[_0xb720('0x10')]('mail',_0xb720('0x11')),controller[_0xb720('0x12')]);router[_0xb720('0x13')]('/:id',auth[_0xb720('0x4')](),interaction['tracked'](_0xb720('0x14'),_0xb720('0x15')),controller[_0xb720('0x16')]);router[_0xb720('0x13')](_0xb720('0xd'),auth[_0xb720('0x4')](),controller['removeTags']);module[_0xb720('0x17')]=router;
\ No newline at end of file
+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