Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / mailTransferReport / index.js
index 0cbcb59..67074ce 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x739c=['get','index','isAuthenticated','describe','/:id','show','post','put','update','destroy','exports','multer','path','express','../../config/environment','./mailTransferReport.controller'];(function(_0x548696,_0x11da75){var _0x2b9477=function(_0x254dae){while(--_0x254dae){_0x548696['push'](_0x548696['shift']());}};_0x2b9477(++_0x11da75);}(_0x739c,0xbb));var _0xc739=function(_0x87969f,_0x20cc69){_0x87969f=_0x87969f-0x0;var _0x40dd62=_0x739c[_0x87969f];return _0x40dd62;};'use strict';var multer=require(_0xc739('0x0'));var util=require('util');var path=require(_0xc739('0x1'));var timeout=require('connect-timeout');var express=require(_0xc739('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc739('0x3'));var controller=require(_0xc739('0x4'));router[_0xc739('0x5')]('/',auth['isAuthenticated'](),controller[_0xc739('0x6')]);router[_0xc739('0x5')]('/describe',auth[_0xc739('0x7')](),controller[_0xc739('0x8')]);router['get'](_0xc739('0x9'),auth[_0xc739('0x7')](),controller[_0xc739('0xa')]);router[_0xc739('0xb')]('/',auth[_0xc739('0x7')](),controller['create']);router[_0xc739('0xc')](_0xc739('0x9'),auth[_0xc739('0x7')](),controller[_0xc739('0xd')]);router['delete'](_0xc739('0x9'),auth['isAuthenticated'](),controller[_0xc739('0xe')]);module[_0xc739('0xf')]=router;
\ No newline at end of file
+var _0xd582=['create','update','delete','destroy','multer','express','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','post'];(function(_0x424404,_0x191c57){var _0x1cfb39=function(_0x3f332a){while(--_0x3f332a){_0x424404['push'](_0x424404['shift']());}};_0x1cfb39(++_0x191c57);}(_0xd582,0xb4));var _0x2d58=function(_0x179568,_0x5161a8){_0x179568=_0x179568-0x0;var _0x515d2e=_0xd582[_0x179568];return _0x515d2e;};'use strict';var multer=require(_0x2d58('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2d58('0x1'));var router=express['Router']();var fs_extra=require(_0x2d58('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0x2d58('0x3'));var config=require(_0x2d58('0x4'));var controller=require('./mailTransferReport.controller');router[_0x2d58('0x5')]('/',auth[_0x2d58('0x6')](),controller[_0x2d58('0x7')]);router['get'](_0x2d58('0x8'),auth[_0x2d58('0x6')](),controller['describe']);router[_0x2d58('0x5')](_0x2d58('0x9'),auth[_0x2d58('0x6')](),controller[_0x2d58('0xa')]);router[_0x2d58('0xb')]('/',auth[_0x2d58('0x6')](),controller[_0x2d58('0xc')]);router['put']('/:id',auth[_0x2d58('0x6')](),controller[_0x2d58('0xd')]);router[_0x2d58('0xe')]('/:id',auth[_0x2d58('0x6')](),controller[_0x2d58('0xf')]);module['exports']=router;
\ No newline at end of file