X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintServicenowAccount%2Findex.js;h=462ef4ba0b7ebd889bba7ffda05bb99ecacc2def;hb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;hp=0ea9fe934bc9d95e11930476603b3cc33e3d17e5;hpb=625a274d7c6c9ea6be043136164c37fd3fc082d8;p=motion2.git diff --git a/server/api/intServicenowAccount/index.js b/server/api/intServicenowAccount/index.js index 0ea9fe9..462ef4b 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 _0x6cb4=['destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intServicenowAccount.controller','isAuthenticated','get','/:id','show','/:id/configurations','getConfigurations','getFields','create','addConfiguration','put','delete'];(function(_0x1a87b3,_0x45ba68){var _0x37e84d=function(_0x39f49e){while(--_0x39f49e){_0x1a87b3['push'](_0x1a87b3['shift']());}};_0x37e84d(++_0x45ba68);}(_0x6cb4,0xff));var _0x46cb=function(_0x2cf17e,_0x55e9de){_0x2cf17e=_0x2cf17e-0x0;var _0xc20803=_0x6cb4[_0x2cf17e];return _0xc20803;};'use strict';var multer=require(_0x46cb('0x0'));var util=require(_0x46cb('0x1'));var path=require(_0x46cb('0x2'));var timeout=require(_0x46cb('0x3'));var express=require(_0x46cb('0x4'));var router=express[_0x46cb('0x5')]();var fs_extra=require(_0x46cb('0x6'));var auth=require(_0x46cb('0x7'));var interaction=require(_0x46cb('0x8'));var config=require('../../config/environment');var controller=require(_0x46cb('0x9'));router['get']('/',auth[_0x46cb('0xa')](),controller['index']);router[_0x46cb('0xb')](_0x46cb('0xc'),auth[_0x46cb('0xa')](),controller[_0x46cb('0xd')]);router[_0x46cb('0xb')](_0x46cb('0xe'),auth['isAuthenticated'](),controller[_0x46cb('0xf')]);router[_0x46cb('0xb')]('/:id/fields',auth[_0x46cb('0xa')](),controller[_0x46cb('0x10')]);router['post']('/',auth[_0x46cb('0xa')](),controller[_0x46cb('0x11')]);router['post']('/:id/configurations',auth['isAuthenticated'](),controller[_0x46cb('0x12')]);router[_0x46cb('0x13')](_0x46cb('0xc'),auth[_0x46cb('0xa')](),controller['update']);router[_0x46cb('0x14')](_0x46cb('0xc'),auth[_0x46cb('0xa')](),controller[_0x46cb('0x15')]);module[_0x46cb('0x16')]=router; \ No newline at end of file +var _0xe2cf=['delete','destroy','exports','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intServicenowAccount.controller','get','/:id','/:id/configurations','isAuthenticated','/:id/fields','post','create','addConfiguration'];(function(_0x2ca846,_0x3421af){var _0x351716=function(_0x56a0cf){while(--_0x56a0cf){_0x2ca846['push'](_0x2ca846['shift']());}};_0x351716(++_0x3421af);}(_0xe2cf,0x1a1));var _0xfe2c=function(_0x3ed203,_0x4e3a3c){_0x3ed203=_0x3ed203-0x0;var _0x558502=_0xe2cf[_0x3ed203];return _0x558502;};'use strict';var multer=require('multer');var util=require(_0xfe2c('0x0'));var path=require('path');var timeout=require(_0xfe2c('0x1'));var express=require('express');var router=express[_0xfe2c('0x2')]();var fs_extra=require(_0xfe2c('0x3'));var auth=require(_0xfe2c('0x4'));var interaction=require(_0xfe2c('0x5'));var config=require('../../config/environment');var controller=require(_0xfe2c('0x6'));router[_0xfe2c('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xfe2c('0x7')](_0xfe2c('0x8'),auth['isAuthenticated'](),controller['show']);router[_0xfe2c('0x7')](_0xfe2c('0x9'),auth[_0xfe2c('0xa')](),controller['getConfigurations']);router['get'](_0xfe2c('0xb'),auth[_0xfe2c('0xa')](),controller['getFields']);router[_0xfe2c('0xc')]('/',auth[_0xfe2c('0xa')](),controller[_0xfe2c('0xd')]);router[_0xfe2c('0xc')](_0xfe2c('0x9'),auth[_0xfe2c('0xa')](),controller[_0xfe2c('0xe')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0xfe2c('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xfe2c('0x10')]);module[_0xfe2c('0x11')]=router; \ No newline at end of file