X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailTransferReport%2Findex.js;h=8d0d277eadd9908ad8dd7cf14c0836c2b8da5b35;hb=ff1c11e14fca8d30ba993bf9ad292fb70d9b0b0b;hp=8484eea9d623e9f3a8d59dd4df5dc620978c0630;hpb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;p=motion2.git diff --git a/server/api/mailTransferReport/index.js b/server/api/mailTransferReport/index.js index 8484eea..8d0d277 100644 --- a/server/api/mailTransferReport/index.js +++ b/server/api/mailTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4254=['index','describe','/:id','show','post','create','put','update','delete','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./mailTransferReport.controller','get','isAuthenticated'];(function(_0x338329,_0x1f9bce){var _0x58dab8=function(_0x4a98a9){while(--_0x4a98a9){_0x338329['push'](_0x338329['shift']());}};_0x58dab8(++_0x1f9bce);}(_0x4254,0x10e));var _0x4425=function(_0x5356b4,_0x31e0cd){_0x5356b4=_0x5356b4-0x0;var _0x2cf768=_0x4254[_0x5356b4];return _0x2cf768;};'use strict';var multer=require(_0x4425('0x0'));var util=require('util');var path=require(_0x4425('0x1'));var timeout=require(_0x4425('0x2'));var express=require(_0x4425('0x3'));var router=express['Router']();var fs_extra=require(_0x4425('0x4'));var auth=require(_0x4425('0x5'));var interaction=require(_0x4425('0x6'));var config=require('../../config/environment');var controller=require(_0x4425('0x7'));router[_0x4425('0x8')]('/',auth[_0x4425('0x9')](),controller[_0x4425('0xa')]);router[_0x4425('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x4425('0xb')]);router[_0x4425('0x8')](_0x4425('0xc'),auth['isAuthenticated'](),controller[_0x4425('0xd')]);router[_0x4425('0xe')]('/',auth[_0x4425('0x9')](),controller[_0x4425('0xf')]);router[_0x4425('0x10')](_0x4425('0xc'),auth[_0x4425('0x9')](),controller[_0x4425('0x11')]);router[_0x4425('0x12')](_0x4425('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x4425('0x13')]=router; \ No newline at end of file +var _0x8a0f=['../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x5f397d,_0x40c53b){var _0x34b0f0=function(_0x24b90b){while(--_0x24b90b){_0x5f397d['push'](_0x5f397d['shift']());}};_0x34b0f0(++_0x40c53b);}(_0x8a0f,0x117));var _0xf8a0=function(_0x2bffe1,_0x1ed421){_0x2bffe1=_0x2bffe1-0x0;var _0x569c2b=_0x8a0f[_0x2bffe1];return _0x569c2b;};'use strict';var multer=require(_0xf8a0('0x0'));var util=require(_0xf8a0('0x1'));var path=require(_0xf8a0('0x2'));var timeout=require(_0xf8a0('0x3'));var express=require(_0xf8a0('0x4'));var router=express[_0xf8a0('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf8a0('0x6'));var interaction=require(_0xf8a0('0x7'));var config=require('../../config/environment');var controller=require('./mailTransferReport.controller');router[_0xf8a0('0x8')]('/',auth[_0xf8a0('0x9')](),controller[_0xf8a0('0xa')]);router[_0xf8a0('0x8')](_0xf8a0('0xb'),auth[_0xf8a0('0x9')](),controller[_0xf8a0('0xc')]);router[_0xf8a0('0x8')]('/:id',auth[_0xf8a0('0x9')](),controller['show']);router['post']('/',auth[_0xf8a0('0x9')](),controller[_0xf8a0('0xd')]);router[_0xf8a0('0xe')]('/:id',auth[_0xf8a0('0x9')](),controller[_0xf8a0('0xf')]);router[_0xf8a0('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xf8a0('0x11')]);module[_0xf8a0('0x12')]=router; \ No newline at end of file