X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintServicenowAccount%2Findex.js;h=7c43cc8847e2c02ab7205c4a3a71d3d506a776f1;hb=5f45565bbb2b5703cd70578e7b3fd5f6753b6a10;hp=75cf94e8ab39bb8701482109b9f2e3e11abf51e7;hpb=c593ef5de079879fb7bfbdd8f8d4d8640e684821;p=motion2.git diff --git a/server/api/intServicenowAccount/index.js b/server/api/intServicenowAccount/index.js index 75cf94e..7c43cc8 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 _0xd8b0=['/:id','update','delete','destroy','exports','multer','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put'];(function(_0x3e0076,_0x1cd5d0){var _0x2b211c=function(_0x46a953){while(--_0x46a953){_0x3e0076['push'](_0x3e0076['shift']());}};_0x2b211c(++_0x1cd5d0);}(_0xd8b0,0xad));var _0x0d8b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd8b0[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x0d8b('0x0'));var util=require(_0x0d8b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0d8b('0x2')]();var fs_extra=require(_0x0d8b('0x3'));var auth=require(_0x0d8b('0x4'));var interaction=require(_0x0d8b('0x5'));var config=require(_0x0d8b('0x6'));var controller=require('./intServicenowAccount.controller');router['get']('/',auth[_0x0d8b('0x7')](),controller[_0x0d8b('0x8')]);router[_0x0d8b('0x9')]('/:id',auth[_0x0d8b('0x7')](),controller[_0x0d8b('0xa')]);router['get'](_0x0d8b('0xb'),auth[_0x0d8b('0x7')](),controller[_0x0d8b('0xc')]);router[_0x0d8b('0x9')](_0x0d8b('0xd'),auth[_0x0d8b('0x7')](),controller[_0x0d8b('0xe')]);router[_0x0d8b('0xf')]('/',auth['isAuthenticated'](),controller[_0x0d8b('0x10')]);router['post'](_0x0d8b('0xb'),auth[_0x0d8b('0x7')](),controller[_0x0d8b('0x11')]);router[_0x0d8b('0x12')](_0x0d8b('0x13'),auth[_0x0d8b('0x7')](),controller[_0x0d8b('0x14')]);router[_0x0d8b('0x15')](_0x0d8b('0x13'),auth[_0x0d8b('0x7')](),controller[_0x0d8b('0x16')]);module[_0x0d8b('0x17')]=router; \ No newline at end of file +var _0x29fc=['./intServicenowAccount.controller','isAuthenticated','get','/:id','/:id/configurations','/:id/fields','getFields','create','post','addConfiguration','put','update','delete','destroy','util','connect-timeout','fs-extra','../../components/interaction/service'];(function(_0x589d2f,_0xc49372){var _0x1db27c=function(_0x25d0d3){while(--_0x25d0d3){_0x589d2f['push'](_0x589d2f['shift']());}};_0x1db27c(++_0xc49372);}(_0x29fc,0xb0));var _0xc29f=function(_0x305bf8,_0x3fc0ad){_0x305bf8=_0x305bf8-0x0;var _0x2b1919=_0x29fc[_0x305bf8];return _0x2b1919;};'use strict';var multer=require('multer');var util=require(_0xc29f('0x0'));var path=require('path');var timeout=require(_0xc29f('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xc29f('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0xc29f('0x3'));var config=require('../../config/environment');var controller=require(_0xc29f('0x4'));router['get']('/',auth[_0xc29f('0x5')](),controller['index']);router[_0xc29f('0x6')](_0xc29f('0x7'),auth['isAuthenticated'](),controller['show']);router[_0xc29f('0x6')](_0xc29f('0x8'),auth['isAuthenticated'](),controller['getConfigurations']);router[_0xc29f('0x6')](_0xc29f('0x9'),auth[_0xc29f('0x5')](),controller[_0xc29f('0xa')]);router['post']('/',auth[_0xc29f('0x5')](),controller[_0xc29f('0xb')]);router[_0xc29f('0xc')](_0xc29f('0x8'),auth[_0xc29f('0x5')](),controller[_0xc29f('0xd')]);router[_0xc29f('0xe')]('/:id',auth[_0xc29f('0x5')](),controller[_0xc29f('0xf')]);router[_0xc29f('0x10')]('/:id',auth[_0xc29f('0x5')](),controller[_0xc29f('0x11')]);module['exports']=router; \ No newline at end of file