Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / mailMessage / index.js
index 0169fc7..56c6616 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(_0x37d670,_0x2f76e0){var _0x238b2f=function(_0x40d77c){while(--_0x40d77c){_0x37d670['push'](_0x37d670['shift']());}};_0x238b2f(++_0x2f76e0);}(_0xe5b3,0x133));var _0x3e5b=function(_0x5b5a5f,_0x3e0da8){_0x5b5a5f=_0x5b5a5f-0x0;var _0x45d52c=_0xe5b3[_0x5b5a5f];return _0x45d52c;};'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 _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