X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintServicenowConfiguration%2Findex.js;h=83418aa29de67eded257850d9823a9df6c15957d;hb=9a44dbf63247346f18777cf5ec4c91e11165c4b0;hp=7b6732359878630df83ab66ef95fee4a786ccce0;hpb=ef4e758b3a8a542ed14842116a07db29f3cf2e7c;p=motion2.git diff --git a/server/api/intServicenowConfiguration/index.js b/server/api/intServicenowConfiguration/index.js index 7b67323..83418aa 100644 --- a/server/api/intServicenowConfiguration/index.js +++ b/server/api/intServicenowConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6822=['create','update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','./intServicenowConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','post'];(function(_0x225cbc,_0xb5bead){var _0x11395f=function(_0x264f26){while(--_0x264f26){_0x225cbc['push'](_0x225cbc['shift']());}};_0x11395f(++_0xb5bead);}(_0x6822,0x15e));var _0x2682=function(_0x419869,_0x22bd13){_0x419869=_0x419869-0x0;var _0x3ed2e7=_0x6822[_0x419869];return _0x3ed2e7;};'use strict';var multer=require(_0x2682('0x0'));var util=require(_0x2682('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2682('0x2'));var router=express[_0x2682('0x3')]();var auth=require(_0x2682('0x4'));var interaction=require(_0x2682('0x5'));var config=require('../../config/environment');var controller=require(_0x2682('0x6'));router[_0x2682('0x7')]('/',auth[_0x2682('0x8')](),controller[_0x2682('0x9')]);router['get'](_0x2682('0xa'),auth[_0x2682('0x8')](),controller[_0x2682('0xb')]);router['get'](_0x2682('0xc'),auth[_0x2682('0x8')](),controller[_0x2682('0xd')]);router[_0x2682('0x7')](_0x2682('0xe'),auth[_0x2682('0x8')](),controller[_0x2682('0xf')]);router['get'](_0x2682('0x10'),auth[_0x2682('0x8')](),controller['getDescriptions']);router[_0x2682('0x11')]('/',auth['isAuthenticated'](),controller[_0x2682('0x12')]);router['put'](_0x2682('0xa'),auth['isAuthenticated'](),controller[_0x2682('0x13')]);router[_0x2682('0x14')](_0x2682('0xa'),auth[_0x2682('0x8')](),controller[_0x2682('0x15')]);module[_0x2682('0x16')]=router; \ No newline at end of file +var _0xf5d8=['Router','../../components/auth/service','./intServicenowConfiguration.controller','isAuthenticated','index','/:id','/:id/fields','getFields','get','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','put','destroy','exports','multer','path','express'];(function(_0x4fa489,_0x4cba6b){var _0x41d2ce=function(_0x364060){while(--_0x364060){_0x4fa489['push'](_0x4fa489['shift']());}};_0x41d2ce(++_0x4cba6b);}(_0xf5d8,0x153));var _0x8f5d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xf5d8[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x8f5d('0x0'));var util=require('util');var path=require(_0x8f5d('0x1'));var timeout=require('connect-timeout');var express=require(_0x8f5d('0x2'));var router=express[_0x8f5d('0x3')]();var auth=require(_0x8f5d('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x8f5d('0x5'));router['get']('/',auth[_0x8f5d('0x6')](),controller[_0x8f5d('0x7')]);router['get'](_0x8f5d('0x8'),auth[_0x8f5d('0x6')](),controller['show']);router['get'](_0x8f5d('0x9'),auth[_0x8f5d('0x6')](),controller[_0x8f5d('0xa')]);router[_0x8f5d('0xb')](_0x8f5d('0xc'),auth[_0x8f5d('0x6')](),controller[_0x8f5d('0xd')]);router[_0x8f5d('0xb')](_0x8f5d('0xe'),auth[_0x8f5d('0x6')](),controller[_0x8f5d('0xf')]);router['post']('/',auth[_0x8f5d('0x6')](),controller['create']);router[_0x8f5d('0x10')]('/:id',auth[_0x8f5d('0x6')](),controller['update']);router['delete'](_0x8f5d('0x8'),auth[_0x8f5d('0x6')](),controller[_0x8f5d('0x11')]);module[_0x8f5d('0x12')]=router; \ No newline at end of file