Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / mailMessage / index.js
index b5bd551..2535505 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe5b3=['../../components/auth/service','../../components/interaction/service','../../config/environment','./mailMessage.controller','get','isAuthenticated','/describe','describe','/:id','/:id/download','download','post','mail','create','put','update','/:id/accept','accept','reject','delete','destroy','util','path','connect-timeout','express','Router'];(function(_0x52630f,_0x3a844a){var _0x49ebef=function(_0x21aecc){while(--_0x21aecc){_0x52630f['push'](_0x52630f['shift']());}};_0x49ebef(++_0x3a844a);}(_0xe5b3,0x133));var _0x3e5b=function(_0x1d5f62,_0x39ef57){_0x1d5f62=_0x1d5f62-0x0;var _0x43b086=_0xe5b3[_0x1d5f62];return _0x43b086;};'use strict';var multer=require('multer');var util=require(_0x3e5b('0x0'));var path=require(_0x3e5b('0x1'));var timeout=require(_0x3e5b('0x2'));var express=require(_0x3e5b('0x3'));var router=express[_0x3e5b('0x4')]();var auth=require(_0x3e5b('0x5'));var interaction=require(_0x3e5b('0x6'));var config=require(_0x3e5b('0x7'));var controller=require(_0x3e5b('0x8'));router[_0x3e5b('0x9')]('/',auth[_0x3e5b('0xa')](),controller['index']);router[_0x3e5b('0x9')](_0x3e5b('0xb'),auth['isAuthenticated'](),controller[_0x3e5b('0xc')]);router[_0x3e5b('0x9')](_0x3e5b('0xd'),auth[_0x3e5b('0xa')](),controller['show']);router['get'](_0x3e5b('0xe'),auth[_0x3e5b('0xa')](),controller[_0x3e5b('0xf')]);router[_0x3e5b('0x10')]('/',auth[_0x3e5b('0xa')](),interaction['tracked'](_0x3e5b('0x11'),'mailmessage:create'),controller[_0x3e5b('0x12')]);router[_0x3e5b('0x13')](_0x3e5b('0xd'),auth[_0x3e5b('0xa')](),controller[_0x3e5b('0x14')]);router[_0x3e5b('0x13')](_0x3e5b('0x15'),auth['isAuthenticated'](),controller[_0x3e5b('0x16')]);router['put']('/:id/reject',auth['isAuthenticated'](),controller[_0x3e5b('0x17')]);router[_0x3e5b('0x18')](_0x3e5b('0xd'),auth['isAuthenticated'](),controller[_0x3e5b('0x19')]);module['exports']=router;
\ No newline at end of file
+var _0x976a=['../../config/environment','./mailMessage.controller','get','/describe','isAuthenticated','describe','/:id','show','post','tracked','mail','create','put','update','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x48a906,_0x2b2896){var _0x29a120=function(_0x91f982){while(--_0x91f982){_0x48a906['push'](_0x48a906['shift']());}};_0x29a120(++_0x2b2896);}(_0x976a,0xf4));var _0xa976=function(_0x2fd0f0,_0x4b634e){_0x2fd0f0=_0x2fd0f0-0x0;var _0x57f71a=_0x976a[_0x2fd0f0];return _0x57f71a;};'use strict';var multer=require(_0xa976('0x0'));var util=require(_0xa976('0x1'));var path=require(_0xa976('0x2'));var timeout=require('connect-timeout');var express=require(_0xa976('0x3'));var router=express[_0xa976('0x4')]();var fs_extra=require(_0xa976('0x5'));var auth=require(_0xa976('0x6'));var interaction=require(_0xa976('0x7'));var config=require(_0xa976('0x8'));var controller=require(_0xa976('0x9'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xa976('0xa')](_0xa976('0xb'),auth[_0xa976('0xc')](),controller[_0xa976('0xd')]);router[_0xa976('0xa')](_0xa976('0xe'),auth[_0xa976('0xc')](),controller[_0xa976('0xf')]);router[_0xa976('0xa')]('/:id/download',auth['isAuthenticated'](),controller['download']);router[_0xa976('0x10')]('/',auth[_0xa976('0xc')](),interaction[_0xa976('0x11')](_0xa976('0x12'),'mailmessage:create'),controller[_0xa976('0x13')]);router[_0xa976('0x14')](_0xa976('0xe'),auth[_0xa976('0xc')](),controller[_0xa976('0x15')]);router[_0xa976('0x14')]('/:id/accept',auth[_0xa976('0xc')](),controller[_0xa976('0x16')]);router[_0xa976('0x14')](_0xa976('0x17'),auth[_0xa976('0xc')](),controller[_0xa976('0x18')]);router[_0xa976('0x19')](_0xa976('0xe'),auth[_0xa976('0xc')](),controller[_0xa976('0x1a')]);module[_0xa976('0x1b')]=router;
\ No newline at end of file