Built motion from commit fda31434.|2.5.44
[motion2.git] / server / api / mailMessage / index.js
index 44ba608..7e3d0f1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9bc3=['util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./mailMessage.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/download','download','post','tracked','create','put','update','reject','delete','destroy','exports','multer'];(function(_0x9c0f90,_0x552310){var _0x48a313=function(_0x2a1b48){while(--_0x2a1b48){_0x9c0f90['push'](_0x9c0f90['shift']());}};_0x48a313(++_0x552310);}(_0x9bc3,0x137));var _0x39bc=function(_0x5fa75f,_0x5b1be6){_0x5fa75f=_0x5fa75f-0x0;var _0x1122bb=_0x9bc3[_0x5fa75f];return _0x1122bb;};'use strict';var multer=require(_0x39bc('0x0'));var util=require(_0x39bc('0x1'));var path=require(_0x39bc('0x2'));var timeout=require('connect-timeout');var express=require(_0x39bc('0x3'));var router=express[_0x39bc('0x4')]();var fs_extra=require(_0x39bc('0x5'));var auth=require(_0x39bc('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x39bc('0x7'));var controller=require(_0x39bc('0x8'));router[_0x39bc('0x9')]('/',auth[_0x39bc('0xa')](),controller['index']);router[_0x39bc('0x9')](_0x39bc('0xb'),auth[_0x39bc('0xa')](),controller[_0x39bc('0xc')]);router[_0x39bc('0x9')](_0x39bc('0xd'),auth[_0x39bc('0xa')](),controller[_0x39bc('0xe')]);router['get'](_0x39bc('0xf'),auth[_0x39bc('0xa')](),controller[_0x39bc('0x10')]);router[_0x39bc('0x11')]('/',auth[_0x39bc('0xa')](),interaction[_0x39bc('0x12')]('mail','mailmessage:create'),controller[_0x39bc('0x13')]);router[_0x39bc('0x14')]('/:id',auth[_0x39bc('0xa')](),controller[_0x39bc('0x15')]);router[_0x39bc('0x14')]('/:id/accept',auth['isAuthenticated'](),controller['accept']);router[_0x39bc('0x14')]('/:id/reject',auth['isAuthenticated'](),controller[_0x39bc('0x16')]);router[_0x39bc('0x17')]('/:id',auth['isAuthenticated'](),controller[_0x39bc('0x18')]);module[_0x39bc('0x19')]=router;
\ No newline at end of file
+var _0x7980=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailMessage.controller','isAuthenticated','get','/describe','/:id','show','/:id/download','download','post','tracked','mailmessage:create','create','update','put','/:id/accept','accept','reject','delete','destroy','exports','multer','util','path'];(function(_0x4cd56e,_0x56661a){var _0x110558=function(_0x215591){while(--_0x215591){_0x4cd56e['push'](_0x4cd56e['shift']());}};_0x110558(++_0x56661a);}(_0x7980,0xab));var _0x0798=function(_0x37afc8,_0x202da3){_0x37afc8=_0x37afc8-0x0;var _0x19d17a=_0x7980[_0x37afc8];return _0x19d17a;};'use strict';var multer=require(_0x0798('0x0'));var util=require(_0x0798('0x1'));var path=require(_0x0798('0x2'));var timeout=require(_0x0798('0x3'));var express=require(_0x0798('0x4'));var router=express['Router']();var fs_extra=require(_0x0798('0x5'));var auth=require(_0x0798('0x6'));var interaction=require(_0x0798('0x7'));var config=require(_0x0798('0x8'));var controller=require(_0x0798('0x9'));router['get']('/',auth[_0x0798('0xa')](),controller['index']);router[_0x0798('0xb')](_0x0798('0xc'),auth[_0x0798('0xa')](),controller['describe']);router['get'](_0x0798('0xd'),auth[_0x0798('0xa')](),controller[_0x0798('0xe')]);router[_0x0798('0xb')](_0x0798('0xf'),auth[_0x0798('0xa')](),controller[_0x0798('0x10')]);router[_0x0798('0x11')]('/',auth[_0x0798('0xa')](),interaction[_0x0798('0x12')]('mail',_0x0798('0x13')),controller[_0x0798('0x14')]);router['put']('/:id',auth[_0x0798('0xa')](),controller[_0x0798('0x15')]);router[_0x0798('0x16')](_0x0798('0x17'),auth[_0x0798('0xa')](),controller[_0x0798('0x18')]);router[_0x0798('0x16')]('/:id/reject',auth['isAuthenticated'](),controller[_0x0798('0x19')]);router[_0x0798('0x1a')]('/:id',auth['isAuthenticated'](),controller[_0x0798('0x1b')]);module[_0x0798('0x1c')]=router;
\ No newline at end of file