Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / mailMessage / index.js
index 2e53622..56c6616 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb7f1=['/:id','show','/:id/download','post','mail','mailmessage:create','create','put','/:id/accept','accept','/:id/reject','reject','destroy','path','connect-timeout','express','fs-extra','../../config/environment','./mailMessage.controller','isAuthenticated','index','get','/describe'];(function(_0x31a023,_0x2de5ef){var _0x547f52=function(_0x514587){while(--_0x514587){_0x31a023['push'](_0x31a023['shift']());}};_0x547f52(++_0x2de5ef);}(_0xb7f1,0xdc));var _0x1b7f=function(_0x3fe103,_0x3cc565){_0x3fe103=_0x3fe103-0x0;var _0x1530e8=_0xb7f1[_0x3fe103];return _0x1530e8;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1b7f('0x0'));var timeout=require(_0x1b7f('0x1'));var express=require(_0x1b7f('0x2'));var router=express['Router']();var fs_extra=require(_0x1b7f('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1b7f('0x4'));var controller=require(_0x1b7f('0x5'));router['get']('/',auth[_0x1b7f('0x6')](),controller[_0x1b7f('0x7')]);router[_0x1b7f('0x8')](_0x1b7f('0x9'),auth[_0x1b7f('0x6')](),controller['describe']);router[_0x1b7f('0x8')](_0x1b7f('0xa'),auth[_0x1b7f('0x6')](),controller[_0x1b7f('0xb')]);router[_0x1b7f('0x8')](_0x1b7f('0xc'),auth[_0x1b7f('0x6')](),controller['download']);router[_0x1b7f('0xd')]('/',auth['isAuthenticated'](),interaction['tracked'](_0x1b7f('0xe'),_0x1b7f('0xf')),controller[_0x1b7f('0x10')]);router[_0x1b7f('0x11')](_0x1b7f('0xa'),auth[_0x1b7f('0x6')](),controller['update']);router[_0x1b7f('0x11')](_0x1b7f('0x12'),auth[_0x1b7f('0x6')](),controller[_0x1b7f('0x13')]);router[_0x1b7f('0x11')](_0x1b7f('0x14'),auth[_0x1b7f('0x6')](),controller[_0x1b7f('0x15')]);router['delete']('/:id',auth[_0x1b7f('0x6')](),controller[_0x1b7f('0x16')]);module['exports']=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