X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FmailApplication%2Findex.js;h=28e29ba2e90a4be3ab405fcab945c3c1afecdbd9;hb=110da1ff22cb856a228cc5d87556e5aa36ca0d22;hp=706ea6a1091740a7528251bcdd77d651719cf2dd;hpb=ebe00679b2d367c1cf2b2b91609ee1ce4bd8fb94;p=motion2.git diff --git a/server/api/mailApplication/index.js b/server/api/mailApplication/index.js index 706ea6a..28e29ba 100644 --- a/server/api/mailApplication/index.js +++ b/server/api/mailApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb2ea=['path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','get','/:id','show','update','delete','exports'];(function(_0xbe61db,_0x512e66){var _0x2550bf=function(_0x4127ec){while(--_0x4127ec){_0xbe61db['push'](_0xbe61db['shift']());}};_0x2550bf(++_0x512e66);}(_0xb2ea,0x188));var _0xab2e=function(_0x16ec9d,_0x36ac5d){_0x16ec9d=_0x16ec9d-0x0;var _0x1e98b=_0xb2ea[_0x16ec9d];return _0x1e98b;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xab2e('0x0'));var timeout=require(_0xab2e('0x1'));var express=require('express');var router=express[_0xab2e('0x2')]();var fs_extra=require(_0xab2e('0x3'));var auth=require(_0xab2e('0x4'));var interaction=require(_0xab2e('0x5'));var config=require(_0xab2e('0x6'));var controller=require(_0xab2e('0x7'));router[_0xab2e('0x8')](_0xab2e('0x9'),auth['isAuthenticated'](),controller[_0xab2e('0xa')]);router['put'](_0xab2e('0x9'),auth['isAuthenticated'](),controller[_0xab2e('0xb')]);router[_0xab2e('0xc')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xab2e('0xd')]=router; \ No newline at end of file +var _0xa623=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailApplication.controller','isAuthenticated','show','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x26e7dd,_0x3f49d9){var _0x49db22=function(_0x381365){while(--_0x381365){_0x26e7dd['push'](_0x26e7dd['shift']());}};_0x49db22(++_0x3f49d9);}(_0xa623,0xba));var _0x3a62=function(_0x5943ae,_0xd76cf2){_0x5943ae=_0x5943ae-0x0;var _0x329c20=_0xa623[_0x5943ae];return _0x329c20;};'use strict';var multer=require(_0x3a62('0x0'));var util=require(_0x3a62('0x1'));var path=require(_0x3a62('0x2'));var timeout=require(_0x3a62('0x3'));var express=require(_0x3a62('0x4'));var router=express[_0x3a62('0x5')]();var fs_extra=require(_0x3a62('0x6'));var auth=require(_0x3a62('0x7'));var interaction=require(_0x3a62('0x8'));var config=require(_0x3a62('0x9'));var controller=require(_0x3a62('0xa'));router['get']('/:id',auth[_0x3a62('0xb')](),controller[_0x3a62('0xc')]);router[_0x3a62('0xd')](_0x3a62('0xe'),auth[_0x3a62('0xb')](),controller[_0x3a62('0xf')]);router[_0x3a62('0x10')](_0x3a62('0xe'),auth[_0x3a62('0xb')](),controller[_0x3a62('0x11')]);module[_0x3a62('0x12')]=router; \ No newline at end of file