Built motion from commit e1760111.|2.6.18
[motion2.git] / server / api / mailInteraction / index.js
index 051c512..ef84c22 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x45b1=['create','addMessage','/:id/tags','tracked','mail','mailinteraction:addtags','addTags','put','update','delete','mailinteraction:destroy','destroy','removeTags','exports','express','Router','../../components/interaction/service','./mailInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','getMessages','/:id/download','download','post'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x45b1,0x16a));var _0x145b=function(_0x43c8d0,_0x5ebc0e){_0x43c8d0=_0x43c8d0-0x0;var _0x4c4946=_0x45b1[_0x43c8d0];return _0x4c4946;};'use strict';var express=require(_0x145b('0x0'));var router=express[_0x145b('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0x145b('0x2'));var controller=require(_0x145b('0x3'));router[_0x145b('0x4')]('/',auth[_0x145b('0x5')](),controller[_0x145b('0x6')]);router[_0x145b('0x4')](_0x145b('0x7'),auth[_0x145b('0x5')](),controller[_0x145b('0x8')]);router[_0x145b('0x4')](_0x145b('0x9'),auth['isAuthenticated'](),controller[_0x145b('0xa')]);router[_0x145b('0x4')]('/:id/messages',auth[_0x145b('0x5')](),controller[_0x145b('0xb')]);router['get'](_0x145b('0xc'),auth['isAuthenticated'](),controller[_0x145b('0xd')]);router[_0x145b('0xe')]('/',auth[_0x145b('0x5')](),controller[_0x145b('0xf')]);router[_0x145b('0xe')]('/:id/messages',auth['isAuthenticated'](),controller[_0x145b('0x10')]);router[_0x145b('0xe')](_0x145b('0x11'),auth[_0x145b('0x5')](),interaction[_0x145b('0x12')](_0x145b('0x13'),_0x145b('0x14')),controller[_0x145b('0x15')]);router[_0x145b('0x16')](_0x145b('0x9'),auth[_0x145b('0x5')](),interaction[_0x145b('0x12')](_0x145b('0x13'),'mailinteraction:update'),controller[_0x145b('0x17')]);router[_0x145b('0x18')](_0x145b('0x9'),auth[_0x145b('0x5')](),interaction[_0x145b('0x12')](_0x145b('0x13'),_0x145b('0x19')),controller[_0x145b('0x1a')]);router[_0x145b('0x18')](_0x145b('0x11'),auth[_0x145b('0x5')](),controller[_0x145b('0x1b')]);module[_0x145b('0x1c')]=router;
\ No newline at end of file
+var _0xabdc=['mailinteraction:addtags','addTags','tracked','mailinteraction:update','update','delete','mailinteraction:destroy','destroy','/:id/tags','removeTags','Router','../../components/auth/service','../../components/interaction/service','./mailInteraction.controller','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/messages','/:id/download','download','post','create','addMessage','mail'];(function(_0x2236fa,_0x199e15){var _0x5717ae=function(_0x1115b6){while(--_0x1115b6){_0x2236fa['push'](_0x2236fa['shift']());}};_0x5717ae(++_0x199e15);}(_0xabdc,0x122));var _0xcabd=function(_0x5e734f,_0x3f6696){_0x5e734f=_0x5e734f-0x0;var _0x2f1928=_0xabdc[_0x5e734f];return _0x2f1928;};'use strict';var express=require('express');var router=express[_0xcabd('0x0')]();var auth=require(_0xcabd('0x1'));var interaction=require(_0xcabd('0x2'));var controller=require(_0xcabd('0x3'));router[_0xcabd('0x4')]('/',auth['isAuthenticated'](),controller[_0xcabd('0x5')]);router[_0xcabd('0x4')](_0xcabd('0x6'),auth[_0xcabd('0x7')](),controller[_0xcabd('0x8')]);router['get'](_0xcabd('0x9'),auth[_0xcabd('0x7')](),controller[_0xcabd('0xa')]);router['get'](_0xcabd('0xb'),auth['isAuthenticated'](),controller['getMessages']);router[_0xcabd('0x4')](_0xcabd('0xc'),auth[_0xcabd('0x7')](),controller[_0xcabd('0xd')]);router[_0xcabd('0xe')]('/',auth[_0xcabd('0x7')](),controller[_0xcabd('0xf')]);router['post'](_0xcabd('0xb'),auth[_0xcabd('0x7')](),controller[_0xcabd('0x10')]);router[_0xcabd('0xe')]('/:id/tags',auth[_0xcabd('0x7')](),interaction['tracked'](_0xcabd('0x11'),_0xcabd('0x12')),controller[_0xcabd('0x13')]);router['put'](_0xcabd('0x9'),auth[_0xcabd('0x7')](),interaction[_0xcabd('0x14')](_0xcabd('0x11'),_0xcabd('0x15')),controller[_0xcabd('0x16')]);router[_0xcabd('0x17')](_0xcabd('0x9'),auth[_0xcabd('0x7')](),interaction[_0xcabd('0x14')](_0xcabd('0x11'),_0xcabd('0x18')),controller[_0xcabd('0x19')]);router[_0xcabd('0x17')](_0xcabd('0x1a'),auth[_0xcabd('0x7')](),controller[_0xcabd('0x1b')]);module['exports']=router;
\ No newline at end of file