Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / mailMessage / index.js
index e48658c..a7da403 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf7a3=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','/:id','show','download','post','tracked','mail','put','accept','/:id/reject','reject','destroy','exports','path','connect-timeout','Router','fs-extra'];(function(_0x5bf420,_0x2d068d){var _0x1c5255=function(_0x4964a2){while(--_0x4964a2){_0x5bf420['push'](_0x5bf420['shift']());}};_0x1c5255(++_0x2d068d);}(_0xf7a3,0xac));var _0x3f7a=function(_0x2d1971,_0x20b764){_0x2d1971=_0x2d1971-0x0;var _0x4d7759=_0xf7a3[_0x2d1971];return _0x4d7759;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3f7a('0x0'));var timeout=require(_0x3f7a('0x1'));var express=require('express');var router=express[_0x3f7a('0x2')]();var fs_extra=require(_0x3f7a('0x3'));var auth=require(_0x3f7a('0x4'));var interaction=require(_0x3f7a('0x5'));var config=require(_0x3f7a('0x6'));var controller=require('./mailMessage.controller');router[_0x3f7a('0x7')]('/',auth[_0x3f7a('0x8')](),controller['index']);router[_0x3f7a('0x7')](_0x3f7a('0x9'),auth[_0x3f7a('0x8')](),controller['describe']);router[_0x3f7a('0x7')](_0x3f7a('0xa'),auth[_0x3f7a('0x8')](),controller[_0x3f7a('0xb')]);router[_0x3f7a('0x7')]('/:id/download',auth[_0x3f7a('0x8')](),controller[_0x3f7a('0xc')]);router[_0x3f7a('0xd')]('/',auth[_0x3f7a('0x8')](),interaction[_0x3f7a('0xe')](_0x3f7a('0xf'),'mailmessage:create'),controller['create']);router[_0x3f7a('0x10')](_0x3f7a('0xa'),auth[_0x3f7a('0x8')](),controller['update']);router[_0x3f7a('0x10')]('/:id/accept',auth[_0x3f7a('0x8')](),controller[_0x3f7a('0x11')]);router[_0x3f7a('0x10')](_0x3f7a('0x12'),auth[_0x3f7a('0x8')](),controller[_0x3f7a('0x13')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x3f7a('0x14')]);module[_0x3f7a('0x15')]=router;
\ No newline at end of file
+var _0xe0d7=['../../components/interaction/service','../../config/environment','./mailMessage.controller','index','get','/describe','isAuthenticated','describe','/:id','show','download','post','mailmessage:create','create','put','/:id/accept','accept','/:id/reject','reject','delete','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x39cc8f,_0xb60cd8){var _0x15e616=function(_0x513d9e){while(--_0x513d9e){_0x39cc8f['push'](_0x39cc8f['shift']());}};_0x15e616(++_0xb60cd8);}(_0xe0d7,0x1e0));var _0x7e0d=function(_0x4aa052,_0x4bfd0c){_0x4aa052=_0x4aa052-0x0;var _0x35a515=_0xe0d7[_0x4aa052];return _0x35a515;};'use strict';var multer=require('multer');var util=require(_0x7e0d('0x0'));var path=require('path');var timeout=require(_0x7e0d('0x1'));var express=require(_0x7e0d('0x2'));var router=express[_0x7e0d('0x3')]();var fs_extra=require(_0x7e0d('0x4'));var auth=require(_0x7e0d('0x5'));var interaction=require(_0x7e0d('0x6'));var config=require(_0x7e0d('0x7'));var controller=require(_0x7e0d('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x7e0d('0x9')]);router[_0x7e0d('0xa')](_0x7e0d('0xb'),auth[_0x7e0d('0xc')](),controller[_0x7e0d('0xd')]);router[_0x7e0d('0xa')](_0x7e0d('0xe'),auth[_0x7e0d('0xc')](),controller[_0x7e0d('0xf')]);router[_0x7e0d('0xa')]('/:id/download',auth[_0x7e0d('0xc')](),controller[_0x7e0d('0x10')]);router[_0x7e0d('0x11')]('/',auth['isAuthenticated'](),interaction['tracked']('mail',_0x7e0d('0x12')),controller[_0x7e0d('0x13')]);router[_0x7e0d('0x14')](_0x7e0d('0xe'),auth[_0x7e0d('0xc')](),controller['update']);router['put'](_0x7e0d('0x15'),auth['isAuthenticated'](),controller[_0x7e0d('0x16')]);router['put'](_0x7e0d('0x17'),auth[_0x7e0d('0xc')](),controller[_0x7e0d('0x18')]);router[_0x7e0d('0x19')](_0x7e0d('0xe'),auth[_0x7e0d('0xc')](),controller['destroy']);module[_0x7e0d('0x1a')]=router;
\ No newline at end of file