Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / mailMessage / index.js
index 4f4d211..56c6616 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7c80=['fs-extra','../../components/interaction/service','../../config/environment','./mailMessage.controller','isAuthenticated','/describe','describe','get','/:id','download','mailmessage:create','create','put','update','/:id/accept','/:id/reject','reject','delete','destroy','exports','multer','util','express','Router'];(function(_0x2c0080,_0x46b56e){var _0x3ad4a9=function(_0x30f256){while(--_0x30f256){_0x2c0080['push'](_0x2c0080['shift']());}};_0x3ad4a9(++_0x46b56e);}(_0x7c80,0xa4));var _0x07c8=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7c80[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x07c8('0x0'));var util=require(_0x07c8('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x07c8('0x2'));var router=express[_0x07c8('0x3')]();var fs_extra=require(_0x07c8('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x07c8('0x5'));var config=require(_0x07c8('0x6'));var controller=require(_0x07c8('0x7'));router['get']('/',auth[_0x07c8('0x8')](),controller['index']);router['get'](_0x07c8('0x9'),auth[_0x07c8('0x8')](),controller[_0x07c8('0xa')]);router[_0x07c8('0xb')](_0x07c8('0xc'),auth[_0x07c8('0x8')](),controller['show']);router[_0x07c8('0xb')]('/:id/download',auth['isAuthenticated'](),controller[_0x07c8('0xd')]);router['post']('/',auth[_0x07c8('0x8')](),interaction['tracked']('mail',_0x07c8('0xe')),controller[_0x07c8('0xf')]);router[_0x07c8('0x10')](_0x07c8('0xc'),auth['isAuthenticated'](),controller[_0x07c8('0x11')]);router[_0x07c8('0x10')](_0x07c8('0x12'),auth[_0x07c8('0x8')](),controller['accept']);router['put'](_0x07c8('0x13'),auth['isAuthenticated'](),controller[_0x07c8('0x14')]);router[_0x07c8('0x15')](_0x07c8('0xc'),auth[_0x07c8('0x8')](),controller[_0x07c8('0x16')]);module[_0x07c8('0x17')]=router;
\ No newline at end of file
+var _0xbb58=['exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailMessage.controller','get','/describe','describe','/:id','isAuthenticated','show','/:id/download','post','tracked','mailmessage:create','create','update','put','/:id/accept','/:id/reject','delete','destroy'];(function(_0x272cd3,_0xdd92e8){var _0x9317a1=function(_0x44c5eb){while(--_0x44c5eb){_0x272cd3['push'](_0x272cd3['shift']());}};_0x9317a1(++_0xdd92e8);}(_0xbb58,0x17b));var _0x8bb5=function(_0x2106b9,_0x8b2d23){_0x2106b9=_0x2106b9-0x0;var _0x1affb3=_0xbb58[_0x2106b9];return _0x1affb3;};'use strict';var multer=require('multer');var util=require(_0x8bb5('0x0'));var path=require(_0x8bb5('0x1'));var timeout=require(_0x8bb5('0x2'));var express=require(_0x8bb5('0x3'));var router=express[_0x8bb5('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x8bb5('0x5'));var interaction=require(_0x8bb5('0x6'));var config=require(_0x8bb5('0x7'));var controller=require(_0x8bb5('0x8'));router[_0x8bb5('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8bb5('0x9')](_0x8bb5('0xa'),auth['isAuthenticated'](),controller[_0x8bb5('0xb')]);router[_0x8bb5('0x9')](_0x8bb5('0xc'),auth[_0x8bb5('0xd')](),controller[_0x8bb5('0xe')]);router['get'](_0x8bb5('0xf'),auth[_0x8bb5('0xd')](),controller['download']);router[_0x8bb5('0x10')]('/',auth[_0x8bb5('0xd')](),interaction[_0x8bb5('0x11')]('mail',_0x8bb5('0x12')),controller[_0x8bb5('0x13')]);router['put'](_0x8bb5('0xc'),auth[_0x8bb5('0xd')](),controller[_0x8bb5('0x14')]);router[_0x8bb5('0x15')](_0x8bb5('0x16'),auth[_0x8bb5('0xd')](),controller['accept']);router['put'](_0x8bb5('0x17'),auth[_0x8bb5('0xd')](),controller['reject']);router[_0x8bb5('0x18')](_0x8bb5('0xc'),auth[_0x8bb5('0xd')](),controller[_0x8bb5('0x19')]);module[_0x8bb5('0x1a')]=router;
\ No newline at end of file