X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FfaxApplication%2Findex.js;h=ee90085af1ebfe3154c8c394b38cfcb594ed7c6f;hb=d5b3d400e91cc98c429bfb9d7741cfdb9b495f82;hp=33c884e842750216d5c58c7488e8656ace848cd6;hpb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;p=motion2.git diff --git a/server/api/faxApplication/index.js b/server/api/faxApplication/index.js index 33c884e..ee90085 100644 --- a/server/api/faxApplication/index.js +++ b/server/api/faxApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb6d8=['isAuthenticated','show','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','index','/:id'];(function(_0x2b57fc,_0x4b3658){var _0x5bf238=function(_0x21661a){while(--_0x21661a){_0x2b57fc['push'](_0x2b57fc['shift']());}};_0x5bf238(++_0x4b3658);}(_0xb6d8,0xd3));var _0x8b6d=function(_0x5c0bf1,_0x227de6){_0x5c0bf1=_0x5c0bf1-0x0;var _0x1e256d=_0xb6d8[_0x5c0bf1];return _0x1e256d;};'use strict';var multer=require(_0x8b6d('0x0'));var util=require(_0x8b6d('0x1'));var path=require(_0x8b6d('0x2'));var timeout=require(_0x8b6d('0x3'));var express=require(_0x8b6d('0x4'));var router=express['Router']();var fs_extra=require(_0x8b6d('0x5'));var auth=require(_0x8b6d('0x6'));var interaction=require(_0x8b6d('0x7'));var config=require('../../config/environment');var controller=require('./faxApplication.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x8b6d('0x8')]);router['get'](_0x8b6d('0x9'),auth[_0x8b6d('0xa')](),controller[_0x8b6d('0xb')]);router['post']('/',auth[_0x8b6d('0xa')](),controller[_0x8b6d('0xc')]);router[_0x8b6d('0xd')]('/:id',auth[_0x8b6d('0xa')](),controller[_0x8b6d('0xe')]);router['delete'](_0x8b6d('0x9'),auth[_0x8b6d('0xa')](),controller[_0x8b6d('0xf')]);module[_0x8b6d('0x10')]=router; \ No newline at end of file +var _0x1bef=['create','put','/:id','update','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./faxApplication.controller','get','isAuthenticated','index','show'];(function(_0x36c98a,_0x78f79e){var _0xaad26d=function(_0x4a6402){while(--_0x4a6402){_0x36c98a['push'](_0x36c98a['shift']());}};_0xaad26d(++_0x78f79e);}(_0x1bef,0x1a4));var _0xf1be=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x1bef[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xf1be('0x0'));var util=require('util');var path=require(_0xf1be('0x1'));var timeout=require(_0xf1be('0x2'));var express=require(_0xf1be('0x3'));var router=express['Router']();var fs_extra=require(_0xf1be('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xf1be('0x5'));var config=require(_0xf1be('0x6'));var controller=require(_0xf1be('0x7'));router[_0xf1be('0x8')]('/',auth[_0xf1be('0x9')](),controller[_0xf1be('0xa')]);router[_0xf1be('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xf1be('0xb')]);router['post']('/',auth[_0xf1be('0x9')](),controller[_0xf1be('0xc')]);router[_0xf1be('0xd')](_0xf1be('0xe'),auth['isAuthenticated'](),controller[_0xf1be('0xf')]);router['delete'](_0xf1be('0xe'),auth[_0xf1be('0x9')](),controller[_0xf1be('0x10')]);module[_0xf1be('0x11')]=router; \ No newline at end of file