Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / mailMessage / index.js
index 92aa90a..dd2fe83 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfe57=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailMessage.controller','get','isAuthenticated','index','/describe','show','download','mailmessage:create','create','put','/:id','update','/:id/reject','reject','destroy','exports','multer','util','express'];(function(_0x33fcbb,_0x291d0f){var _0x2efe40=function(_0x2e9442){while(--_0x2e9442){_0x33fcbb['push'](_0x33fcbb['shift']());}};_0x2efe40(++_0x291d0f);}(_0xfe57,0x195));var _0x7fe5=function(_0x5ecadc,_0x1cf9f1){_0x5ecadc=_0x5ecadc-0x0;var _0x565037=_0xfe57[_0x5ecadc];return _0x565037;};'use strict';var multer=require(_0x7fe5('0x0'));var util=require(_0x7fe5('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7fe5('0x2'));var router=express[_0x7fe5('0x3')]();var fs_extra=require(_0x7fe5('0x4'));var auth=require(_0x7fe5('0x5'));var interaction=require(_0x7fe5('0x6'));var config=require(_0x7fe5('0x7'));var controller=require(_0x7fe5('0x8'));router[_0x7fe5('0x9')]('/',auth[_0x7fe5('0xa')](),controller[_0x7fe5('0xb')]);router[_0x7fe5('0x9')](_0x7fe5('0xc'),auth[_0x7fe5('0xa')](),controller['describe']);router[_0x7fe5('0x9')]('/:id',auth[_0x7fe5('0xa')](),controller[_0x7fe5('0xd')]);router['get']('/:id/download',auth[_0x7fe5('0xa')](),controller[_0x7fe5('0xe')]);router['post']('/',auth[_0x7fe5('0xa')](),interaction['tracked']('mail',_0x7fe5('0xf')),controller[_0x7fe5('0x10')]);router[_0x7fe5('0x11')](_0x7fe5('0x12'),auth['isAuthenticated'](),controller[_0x7fe5('0x13')]);router[_0x7fe5('0x11')]('/:id/accept',auth[_0x7fe5('0xa')](),controller['accept']);router[_0x7fe5('0x11')](_0x7fe5('0x14'),auth['isAuthenticated'](),controller[_0x7fe5('0x15')]);router['delete'](_0x7fe5('0x12'),auth[_0x7fe5('0xa')](),controller[_0x7fe5('0x16')]);module[_0x7fe5('0x17')]=router;
\ No newline at end of file
+var _0x6bc9=['./mailMessage.controller','isAuthenticated','/describe','describe','get','/:id','show','download','post','tracked','mail','mailmessage:create','create','put','/:id/accept','reject','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x349321,_0x5a91d3){var _0x46dee6=function(_0x5e4257){while(--_0x5e4257){_0x349321['push'](_0x349321['shift']());}};_0x46dee6(++_0x5a91d3);}(_0x6bc9,0x1c2));var _0x96bc=function(_0x2136a6,_0x35af63){_0x2136a6=_0x2136a6-0x0;var _0x55b948=_0x6bc9[_0x2136a6];return _0x55b948;};'use strict';var multer=require(_0x96bc('0x0'));var util=require(_0x96bc('0x1'));var path=require('path');var timeout=require(_0x96bc('0x2'));var express=require(_0x96bc('0x3'));var router=express[_0x96bc('0x4')]();var fs_extra=require(_0x96bc('0x5'));var auth=require(_0x96bc('0x6'));var interaction=require(_0x96bc('0x7'));var config=require(_0x96bc('0x8'));var controller=require(_0x96bc('0x9'));router['get']('/',auth[_0x96bc('0xa')](),controller['index']);router['get'](_0x96bc('0xb'),auth['isAuthenticated'](),controller[_0x96bc('0xc')]);router[_0x96bc('0xd')](_0x96bc('0xe'),auth['isAuthenticated'](),controller[_0x96bc('0xf')]);router[_0x96bc('0xd')]('/:id/download',auth[_0x96bc('0xa')](),controller[_0x96bc('0x10')]);router[_0x96bc('0x11')]('/',auth[_0x96bc('0xa')](),interaction[_0x96bc('0x12')](_0x96bc('0x13'),_0x96bc('0x14')),controller[_0x96bc('0x15')]);router[_0x96bc('0x16')]('/:id',auth[_0x96bc('0xa')](),controller['update']);router[_0x96bc('0x16')](_0x96bc('0x17'),auth[_0x96bc('0xa')](),controller['accept']);router[_0x96bc('0x16')]('/:id/reject',auth[_0x96bc('0xa')](),controller[_0x96bc('0x18')]);router['delete']('/:id',auth[_0x96bc('0xa')](),controller[_0x96bc('0x19')]);module[_0x96bc('0x1a')]=router;
\ No newline at end of file