Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / mailMessage / index.js
index 32241c4..f6b1aa4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x74f4=['delete','destroy','multer','util','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./mailMessage.controller','isAuthenticated','index','get','/describe','describe','/:id','show','download','post','tracked','mail','mailmessage:create','put','update','/:id/accept','accept','/:id/reject','reject'];(function(_0x345ad4,_0x5a62e0){var _0x4d72ba=function(_0x2f2969){while(--_0x2f2969){_0x345ad4['push'](_0x345ad4['shift']());}};_0x4d72ba(++_0x5a62e0);}(_0x74f4,0xaa));var _0x474f=function(_0x3ef4bc,_0x297131){_0x3ef4bc=_0x3ef4bc-0x0;var _0x46adc8=_0x74f4[_0x3ef4bc];return _0x46adc8;};'use strict';var multer=require(_0x474f('0x0'));var util=require(_0x474f('0x1'));var path=require('path');var timeout=require(_0x474f('0x2'));var express=require(_0x474f('0x3'));var router=express['Router']();var fs_extra=require(_0x474f('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x474f('0x5'));var config=require(_0x474f('0x6'));var controller=require(_0x474f('0x7'));router['get']('/',auth[_0x474f('0x8')](),controller[_0x474f('0x9')]);router[_0x474f('0xa')](_0x474f('0xb'),auth[_0x474f('0x8')](),controller[_0x474f('0xc')]);router[_0x474f('0xa')](_0x474f('0xd'),auth[_0x474f('0x8')](),controller[_0x474f('0xe')]);router[_0x474f('0xa')]('/:id/download',auth[_0x474f('0x8')](),controller[_0x474f('0xf')]);router[_0x474f('0x10')]('/',auth['isAuthenticated'](),interaction[_0x474f('0x11')](_0x474f('0x12'),_0x474f('0x13')),controller['create']);router[_0x474f('0x14')](_0x474f('0xd'),auth['isAuthenticated'](),controller[_0x474f('0x15')]);router[_0x474f('0x14')](_0x474f('0x16'),auth['isAuthenticated'](),controller[_0x474f('0x17')]);router[_0x474f('0x14')](_0x474f('0x18'),auth[_0x474f('0x8')](),controller[_0x474f('0x19')]);router[_0x474f('0x1a')](_0x474f('0xd'),auth['isAuthenticated'](),controller[_0x474f('0x1b')]);module['exports']=router;
\ No newline at end of file
+var _0x8c51=['/:id/download','download','post','tracked','mailmessage:create','create','update','put','accept','/:id/reject','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailMessage.controller','isAuthenticated','/describe','get','/:id','show'];(function(_0x307ada,_0x207bce){var _0x524c1f=function(_0x5c62f5){while(--_0x5c62f5){_0x307ada['push'](_0x307ada['shift']());}};_0x524c1f(++_0x207bce);}(_0x8c51,0x100));var _0x18c5=function(_0x82d885,_0x4e6cf4){_0x82d885=_0x82d885-0x0;var _0x44d511=_0x8c51[_0x82d885];return _0x44d511;};'use strict';var multer=require('multer');var util=require(_0x18c5('0x0'));var path=require(_0x18c5('0x1'));var timeout=require(_0x18c5('0x2'));var express=require(_0x18c5('0x3'));var router=express[_0x18c5('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x18c5('0x5'));var interaction=require(_0x18c5('0x6'));var config=require(_0x18c5('0x7'));var controller=require(_0x18c5('0x8'));router['get']('/',auth[_0x18c5('0x9')](),controller['index']);router['get'](_0x18c5('0xa'),auth[_0x18c5('0x9')](),controller['describe']);router[_0x18c5('0xb')](_0x18c5('0xc'),auth['isAuthenticated'](),controller[_0x18c5('0xd')]);router['get'](_0x18c5('0xe'),auth[_0x18c5('0x9')](),controller[_0x18c5('0xf')]);router[_0x18c5('0x10')]('/',auth[_0x18c5('0x9')](),interaction[_0x18c5('0x11')]('mail',_0x18c5('0x12')),controller[_0x18c5('0x13')]);router['put'](_0x18c5('0xc'),auth['isAuthenticated'](),controller[_0x18c5('0x14')]);router[_0x18c5('0x15')]('/:id/accept',auth[_0x18c5('0x9')](),controller[_0x18c5('0x16')]);router[_0x18c5('0x15')](_0x18c5('0x17'),auth['isAuthenticated'](),controller['reject']);router[_0x18c5('0x18')](_0x18c5('0xc'),auth[_0x18c5('0x9')](),controller[_0x18c5('0x19')]);module[_0x18c5('0x1a')]=router;
\ No newline at end of file