Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / mailMessage / index.js
index 4987e9b..11896ad 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xebe6=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','show','/:id/download','download','tracked','mail','mailmessage:create','create','put','/:id','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xebe6,0x13a));var _0x6ebe=function(_0x125eb3,_0x4171a9){_0x125eb3=_0x125eb3-0x0;var _0x1b19c5=_0xebe6[_0x125eb3];return _0x1b19c5;};'use strict';var multer=require(_0x6ebe('0x0'));var util=require(_0x6ebe('0x1'));var path=require(_0x6ebe('0x2'));var timeout=require(_0x6ebe('0x3'));var express=require(_0x6ebe('0x4'));var router=express[_0x6ebe('0x5')]();var fs_extra=require(_0x6ebe('0x6'));var auth=require(_0x6ebe('0x7'));var interaction=require(_0x6ebe('0x8'));var config=require(_0x6ebe('0x9'));var controller=require('./mailMessage.controller');router['get']('/',auth[_0x6ebe('0xa')](),controller[_0x6ebe('0xb')]);router[_0x6ebe('0xc')](_0x6ebe('0xd'),auth[_0x6ebe('0xa')](),controller['describe']);router[_0x6ebe('0xc')]('/:id',auth[_0x6ebe('0xa')](),controller[_0x6ebe('0xe')]);router[_0x6ebe('0xc')](_0x6ebe('0xf'),auth[_0x6ebe('0xa')](),controller[_0x6ebe('0x10')]);router['post']('/',auth[_0x6ebe('0xa')](),interaction[_0x6ebe('0x11')](_0x6ebe('0x12'),_0x6ebe('0x13')),controller[_0x6ebe('0x14')]);router[_0x6ebe('0x15')](_0x6ebe('0x16'),auth[_0x6ebe('0xa')](),controller['update']);router[_0x6ebe('0x15')]('/:id/accept',auth[_0x6ebe('0xa')](),controller[_0x6ebe('0x17')]);router['put'](_0x6ebe('0x18'),auth[_0x6ebe('0xa')](),controller[_0x6ebe('0x19')]);router[_0x6ebe('0x1a')](_0x6ebe('0x16'),auth[_0x6ebe('0xa')](),controller[_0x6ebe('0x1b')]);module[_0x6ebe('0x1c')]=router;
\ No newline at end of file
+var _0x6a5f=['post','tracked','mail','mailmessage:create','put','update','/:id/accept','/:id/reject','reject','delete','destroy','exports','multer','util','connect-timeout','express','fs-extra','../../config/environment','isAuthenticated','get','/describe','describe','/:id','show','download'];(function(_0x24f31b,_0x44b8f3){var _0x488401=function(_0x204caf){while(--_0x204caf){_0x24f31b['push'](_0x24f31b['shift']());}};_0x488401(++_0x44b8f3);}(_0x6a5f,0xbb));var _0xf6a5=function(_0x46369a,_0x141daa){_0x46369a=_0x46369a-0x0;var _0x59e91d=_0x6a5f[_0x46369a];return _0x59e91d;};'use strict';var multer=require(_0xf6a5('0x0'));var util=require(_0xf6a5('0x1'));var path=require('path');var timeout=require(_0xf6a5('0x2'));var express=require(_0xf6a5('0x3'));var router=express['Router']();var fs_extra=require(_0xf6a5('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf6a5('0x5'));var controller=require('./mailMessage.controller');router['get']('/',auth[_0xf6a5('0x6')](),controller['index']);router[_0xf6a5('0x7')](_0xf6a5('0x8'),auth[_0xf6a5('0x6')](),controller[_0xf6a5('0x9')]);router[_0xf6a5('0x7')](_0xf6a5('0xa'),auth[_0xf6a5('0x6')](),controller[_0xf6a5('0xb')]);router[_0xf6a5('0x7')]('/:id/download',auth[_0xf6a5('0x6')](),controller[_0xf6a5('0xc')]);router[_0xf6a5('0xd')]('/',auth[_0xf6a5('0x6')](),interaction[_0xf6a5('0xe')](_0xf6a5('0xf'),_0xf6a5('0x10')),controller['create']);router[_0xf6a5('0x11')](_0xf6a5('0xa'),auth[_0xf6a5('0x6')](),controller[_0xf6a5('0x12')]);router['put'](_0xf6a5('0x13'),auth['isAuthenticated'](),controller['accept']);router[_0xf6a5('0x11')](_0xf6a5('0x14'),auth['isAuthenticated'](),controller[_0xf6a5('0x15')]);router[_0xf6a5('0x16')](_0xf6a5('0xa'),auth[_0xf6a5('0x6')](),controller[_0xf6a5('0x17')]);module[_0xf6a5('0x18')]=router;
\ No newline at end of file