X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintServicenowAccount%2Findex.js;h=cdb7567970c46a95adfc7af2e31dc8730be307de;hb=7e2a86485d5b091066011cf58fcba785923a5ac5;hp=b996245f6e4000b849941d42d1ac763f5e2529c4;hpb=de6f27d8824ffb29cbf937050a12378469af9a53;p=motion2.git diff --git a/server/api/intServicenowAccount/index.js b/server/api/intServicenowAccount/index.js index b996245..cdb7567 100644 --- a/server/api/intServicenowAccount/index.js +++ b/server/api/intServicenowAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3266=['isAuthenticated','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','show','/:id/configurations'];(function(_0xfa3b30,_0x13fb4d){var _0x3ec719=function(_0xdd2dbe){while(--_0xdd2dbe){_0xfa3b30['push'](_0xfa3b30['shift']());}};_0x3ec719(++_0x13fb4d);}(_0x3266,0x6a));var _0x6326=function(_0x5a95fa,_0x4a2fc9){_0x5a95fa=_0x5a95fa-0x0;var _0x1a61b8=_0x3266[_0x5a95fa];return _0x1a61b8;};'use strict';var multer=require(_0x6326('0x0'));var util=require(_0x6326('0x1'));var path=require(_0x6326('0x2'));var timeout=require(_0x6326('0x3'));var express=require(_0x6326('0x4'));var router=express[_0x6326('0x5')]();var auth=require(_0x6326('0x6'));var interaction=require(_0x6326('0x7'));var config=require(_0x6326('0x8'));var controller=require('./intServicenowAccount.controller');router[_0x6326('0x9')]('/',auth['isAuthenticated'](),controller[_0x6326('0xa')]);router[_0x6326('0x9')](_0x6326('0xb'),auth['isAuthenticated'](),controller[_0x6326('0xc')]);router['get'](_0x6326('0xd'),auth[_0x6326('0xe')](),controller[_0x6326('0xf')]);router[_0x6326('0x9')](_0x6326('0x10'),auth['isAuthenticated'](),controller[_0x6326('0x11')]);router[_0x6326('0x12')]('/',auth[_0x6326('0xe')](),controller[_0x6326('0x13')]);router[_0x6326('0x12')](_0x6326('0xd'),auth[_0x6326('0xe')](),controller[_0x6326('0x14')]);router[_0x6326('0x15')](_0x6326('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x6326('0x16')](_0x6326('0xb'),auth['isAuthenticated'](),controller[_0x6326('0x17')]);module['exports']=router; \ No newline at end of file +var _0xedb7=['post','create','put','update','delete','destroy','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','get','index','/:id','show','getConfigurations','isAuthenticated'];(function(_0x20c7ad,_0x2b184e){var _0x10338b=function(_0x588461){while(--_0x588461){_0x20c7ad['push'](_0x20c7ad['shift']());}};_0x10338b(++_0x2b184e);}(_0xedb7,0x8b));var _0x7edb=function(_0x2c8b89,_0x21b955){_0x2c8b89=_0x2c8b89-0x0;var _0xdca8b7=_0xedb7[_0x2c8b89];return _0xdca8b7;};'use strict';var multer=require('multer');var util=require(_0x7edb('0x0'));var path=require('path');var timeout=require(_0x7edb('0x1'));var express=require(_0x7edb('0x2'));var router=express[_0x7edb('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x7edb('0x4'));var config=require(_0x7edb('0x5'));var controller=require(_0x7edb('0x6'));router[_0x7edb('0x7')]('/',auth['isAuthenticated'](),controller[_0x7edb('0x8')]);router[_0x7edb('0x7')](_0x7edb('0x9'),auth['isAuthenticated'](),controller[_0x7edb('0xa')]);router[_0x7edb('0x7')]('/:id/configurations',auth['isAuthenticated'](),controller[_0x7edb('0xb')]);router[_0x7edb('0x7')]('/:id/fields',auth[_0x7edb('0xc')](),controller['getFields']);router[_0x7edb('0xd')]('/',auth['isAuthenticated'](),controller[_0x7edb('0xe')]);router[_0x7edb('0xd')]('/:id/configurations',auth[_0x7edb('0xc')](),controller['addConfiguration']);router[_0x7edb('0xf')](_0x7edb('0x9'),auth[_0x7edb('0xc')](),controller[_0x7edb('0x10')]);router[_0x7edb('0x11')](_0x7edb('0x9'),auth[_0x7edb('0xc')](),controller[_0x7edb('0x12')]);module['exports']=router; \ No newline at end of file