Built motion from commit f74363e9.|2.6.34
[motion2.git] / server / api / mailMessage / index.js
index a984b92..9e16757 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb921=['path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','post','tracked','mail','create','put','update','/:id/accept','accept','delete','exports','multer','util'];(function(_0x199572,_0x33e667){var _0x13cfa3=function(_0x53c075){while(--_0x53c075){_0x199572['push'](_0x199572['shift']());}};_0x13cfa3(++_0x33e667);}(_0xb921,0x16a));var _0x1b92=function(_0x12e075,_0x2f6b9c){_0x12e075=_0x12e075-0x0;var _0xacd6dd=_0xb921[_0x12e075];return _0xacd6dd;};'use strict';var multer=require(_0x1b92('0x0'));var util=require(_0x1b92('0x1'));var path=require(_0x1b92('0x2'));var timeout=require(_0x1b92('0x3'));var express=require(_0x1b92('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x1b92('0x5'));var interaction=require(_0x1b92('0x6'));var config=require(_0x1b92('0x7'));var controller=require(_0x1b92('0x8'));router[_0x1b92('0x9')]('/',auth[_0x1b92('0xa')](),controller[_0x1b92('0xb')]);router[_0x1b92('0x9')](_0x1b92('0xc'),auth[_0x1b92('0xa')](),controller[_0x1b92('0xd')]);router[_0x1b92('0x9')](_0x1b92('0xe'),auth[_0x1b92('0xa')](),controller[_0x1b92('0xf')]);router['get'](_0x1b92('0x10'),auth[_0x1b92('0xa')](),controller[_0x1b92('0x11')]);router[_0x1b92('0x12')]('/',auth[_0x1b92('0xa')](),interaction[_0x1b92('0x13')](_0x1b92('0x14'),'mailmessage:create'),controller[_0x1b92('0x15')]);router[_0x1b92('0x16')]('/:id',auth[_0x1b92('0xa')](),controller[_0x1b92('0x17')]);router[_0x1b92('0x16')](_0x1b92('0x18'),auth[_0x1b92('0xa')](),controller[_0x1b92('0x19')]);router[_0x1b92('0x16')]('/:id/reject',auth[_0x1b92('0xa')](),controller['reject']);router[_0x1b92('0x1a')]('/:id',auth[_0x1b92('0xa')](),controller['destroy']);module[_0x1b92('0x1b')]=router;
\ No newline at end of file
+var _0x58a7=['/:id/accept','/:id/reject','reject','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./mailMessage.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','download','post','mailmessage:create','create','put','update'];(function(_0x34d874,_0x105d23){var _0x2730bd=function(_0x4065c8){while(--_0x4065c8){_0x34d874['push'](_0x34d874['shift']());}};_0x2730bd(++_0x105d23);}(_0x58a7,0xf7));var _0x758a=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x58a7[_0x4565bf];return _0x5610ba;};'use strict';var multer=require(_0x758a('0x0'));var util=require(_0x758a('0x1'));var path=require(_0x758a('0x2'));var timeout=require(_0x758a('0x3'));var express=require(_0x758a('0x4'));var router=express[_0x758a('0x5')]();var fs_extra=require(_0x758a('0x6'));var auth=require(_0x758a('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x758a('0x8'));var controller=require(_0x758a('0x9'));router[_0x758a('0xa')]('/',auth[_0x758a('0xb')](),controller['index']);router['get'](_0x758a('0xc'),auth['isAuthenticated'](),controller[_0x758a('0xd')]);router[_0x758a('0xa')](_0x758a('0xe'),auth[_0x758a('0xb')](),controller[_0x758a('0xf')]);router[_0x758a('0xa')](_0x758a('0x10'),auth[_0x758a('0xb')](),controller[_0x758a('0x11')]);router[_0x758a('0x12')]('/',auth[_0x758a('0xb')](),interaction['tracked']('mail',_0x758a('0x13')),controller[_0x758a('0x14')]);router[_0x758a('0x15')]('/:id',auth[_0x758a('0xb')](),controller[_0x758a('0x16')]);router[_0x758a('0x15')](_0x758a('0x17'),auth[_0x758a('0xb')](),controller['accept']);router['put'](_0x758a('0x18'),auth[_0x758a('0xb')](),controller[_0x758a('0x19')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x758a('0x1a')]=router;
\ No newline at end of file