Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / mailInteraction / index.js
index bc2d549..fcb480c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1bf9=['mailinteraction:update','update','mailinteraction:destroy','destroy','/:id/tags','removeTags','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./mailInteraction.controller','index','get','isAuthenticated','describe','/:id','/:id/messages','getMessages','/:id/download','download','create','post','tracked','mail','mailinteraction:addtags','addTags','put'];(function(_0x3bc7da,_0x56298c){var _0x154dad=function(_0x58dc6d){while(--_0x58dc6d){_0x3bc7da['push'](_0x3bc7da['shift']());}};_0x154dad(++_0x56298c);}(_0x1bf9,0xc7));var _0x91bf=function(_0x17b705,_0x1cd948){_0x17b705=_0x17b705-0x0;var _0x54b7ba=_0x1bf9[_0x17b705];return _0x54b7ba;};'use strict';var multer=require(_0x91bf('0x0'));var util=require(_0x91bf('0x1'));var path=require('path');var timeout=require(_0x91bf('0x2'));var express=require(_0x91bf('0x3'));var router=express[_0x91bf('0x4')]();var fs_extra=require(_0x91bf('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x91bf('0x6'));var config=require(_0x91bf('0x7'));var controller=require(_0x91bf('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x91bf('0x9')]);router[_0x91bf('0xa')]('/describe',auth[_0x91bf('0xb')](),controller[_0x91bf('0xc')]);router['get'](_0x91bf('0xd'),auth[_0x91bf('0xb')](),controller['show']);router['get'](_0x91bf('0xe'),auth[_0x91bf('0xb')](),controller[_0x91bf('0xf')]);router[_0x91bf('0xa')](_0x91bf('0x10'),auth[_0x91bf('0xb')](),controller[_0x91bf('0x11')]);router['post']('/',auth[_0x91bf('0xb')](),controller[_0x91bf('0x12')]);router[_0x91bf('0x13')](_0x91bf('0xe'),auth[_0x91bf('0xb')](),controller['addMessage']);router['post']('/:id/tags',auth['isAuthenticated'](),interaction[_0x91bf('0x14')](_0x91bf('0x15'),_0x91bf('0x16')),controller[_0x91bf('0x17')]);router[_0x91bf('0x18')]('/:id',auth['isAuthenticated'](),interaction[_0x91bf('0x14')](_0x91bf('0x15'),_0x91bf('0x19')),controller[_0x91bf('0x1a')]);router['delete'](_0x91bf('0xd'),auth[_0x91bf('0xb')](),interaction[_0x91bf('0x14')](_0x91bf('0x15'),_0x91bf('0x1b')),controller[_0x91bf('0x1c')]);router['delete'](_0x91bf('0x1d'),auth[_0x91bf('0xb')](),controller[_0x91bf('0x1e')]);module[_0x91bf('0x1f')]=router;
\ No newline at end of file
+var _0xafe6=['index','/describe','describe','show','/:id/messages','getMessages','download','create','post','addMessage','/:id/tags','tracked','mail','mailinteraction:addtags','addTags','put','/:id','delete','mailinteraction:destroy','destroy','removeTags','exports','multer','util','express','Router','../../config/environment','./mailInteraction.controller','get','isAuthenticated'];(function(_0x2abc0b,_0x5d7f11){var _0x4299ad=function(_0x4385be){while(--_0x4385be){_0x2abc0b['push'](_0x2abc0b['shift']());}};_0x4299ad(++_0x5d7f11);}(_0xafe6,0xac));var _0x6afe=function(_0x44241a,_0x55ed58){_0x44241a=_0x44241a-0x0;var _0xdbd6ec=_0xafe6[_0x44241a];return _0xdbd6ec;};'use strict';var multer=require(_0x6afe('0x0'));var util=require(_0x6afe('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x6afe('0x2'));var router=express[_0x6afe('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6afe('0x4'));var controller=require(_0x6afe('0x5'));router[_0x6afe('0x6')]('/',auth[_0x6afe('0x7')](),controller[_0x6afe('0x8')]);router['get'](_0x6afe('0x9'),auth[_0x6afe('0x7')](),controller[_0x6afe('0xa')]);router[_0x6afe('0x6')]('/:id',auth[_0x6afe('0x7')](),controller[_0x6afe('0xb')]);router[_0x6afe('0x6')](_0x6afe('0xc'),auth[_0x6afe('0x7')](),controller[_0x6afe('0xd')]);router['get']('/:id/download',auth[_0x6afe('0x7')](),controller[_0x6afe('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6afe('0xf')]);router[_0x6afe('0x10')](_0x6afe('0xc'),auth[_0x6afe('0x7')](),controller[_0x6afe('0x11')]);router[_0x6afe('0x10')](_0x6afe('0x12'),auth['isAuthenticated'](),interaction[_0x6afe('0x13')](_0x6afe('0x14'),_0x6afe('0x15')),controller[_0x6afe('0x16')]);router[_0x6afe('0x17')](_0x6afe('0x18'),auth[_0x6afe('0x7')](),interaction['tracked'](_0x6afe('0x14'),'mailinteraction:update'),controller['update']);router[_0x6afe('0x19')](_0x6afe('0x18'),auth[_0x6afe('0x7')](),interaction[_0x6afe('0x13')](_0x6afe('0x14'),_0x6afe('0x1a')),controller[_0x6afe('0x1b')]);router[_0x6afe('0x19')]('/:id/tags',auth['isAuthenticated'](),controller[_0x6afe('0x1c')]);module[_0x6afe('0x1d')]=router;
\ No newline at end of file