X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintServicenowAccount%2Findex.js;h=f395a33c78bb26e8ae3e0973a3786d9ee8a52567;hb=04c0f252a7a18de2cd4c2368f646bc7587dfdeaf;hp=98fab2d0e8328113f149d10fc440119e8514d8e5;hpb=bb4ed137b40a5e77cec195be87f1b347330d2766;p=motion2.git diff --git a/server/api/intServicenowAccount/index.js b/server/api/intServicenowAccount/index.js index 98fab2d..f395a33 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 _0x49c9=['/:id','update','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','./intServicenowAccount.controller','isAuthenticated','get','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put'];(function(_0x29cd52,_0x88b52b){var _0x5218bc=function(_0x455b4f){while(--_0x455b4f){_0x29cd52['push'](_0x29cd52['shift']());}};_0x5218bc(++_0x88b52b);}(_0x49c9,0x164));var _0x949c=function(_0xf4c5d0,_0x2d3223){_0xf4c5d0=_0xf4c5d0-0x0;var _0x2a4390=_0x49c9[_0xf4c5d0];return _0x2a4390;};'use strict';var multer=require(_0x949c('0x0'));var util=require(_0x949c('0x1'));var path=require('path');var timeout=require(_0x949c('0x2'));var express=require(_0x949c('0x3'));var router=express[_0x949c('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x949c('0x5'));var config=require('../../config/environment');var controller=require(_0x949c('0x6'));router['get']('/',auth[_0x949c('0x7')](),controller['index']);router[_0x949c('0x8')]('/:id',auth[_0x949c('0x7')](),controller[_0x949c('0x9')]);router['get'](_0x949c('0xa'),auth[_0x949c('0x7')](),controller[_0x949c('0xb')]);router[_0x949c('0x8')](_0x949c('0xc'),auth[_0x949c('0x7')](),controller[_0x949c('0xd')]);router[_0x949c('0xe')]('/',auth['isAuthenticated'](),controller[_0x949c('0xf')]);router[_0x949c('0xe')](_0x949c('0xa'),auth[_0x949c('0x7')](),controller[_0x949c('0x10')]);router[_0x949c('0x11')](_0x949c('0x12'),auth['isAuthenticated'](),controller[_0x949c('0x13')]);router['delete']('/:id',auth[_0x949c('0x7')](),controller[_0x949c('0x14')]);module[_0x949c('0x15')]=router; \ No newline at end of file +var _0x106b=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','put','delete','destroy'];(function(_0x44a38e,_0x1aa124){var _0x5ec328=function(_0x2cbd53){while(--_0x2cbd53){_0x44a38e['push'](_0x44a38e['shift']());}};_0x5ec328(++_0x1aa124);}(_0x106b,0xa2));var _0xb106=function(_0x53199f,_0x1dac3a){_0x53199f=_0x53199f-0x0;var _0x1f9609=_0x106b[_0x53199f];return _0x1f9609;};'use strict';var multer=require(_0xb106('0x0'));var util=require(_0xb106('0x1'));var path=require(_0xb106('0x2'));var timeout=require(_0xb106('0x3'));var express=require(_0xb106('0x4'));var router=express[_0xb106('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xb106('0x6'));var interaction=require(_0xb106('0x7'));var config=require(_0xb106('0x8'));var controller=require('./intServicenowAccount.controller');router['get']('/',auth[_0xb106('0x9')](),controller['index']);router[_0xb106('0xa')](_0xb106('0xb'),auth[_0xb106('0x9')](),controller[_0xb106('0xc')]);router[_0xb106('0xa')](_0xb106('0xd'),auth['isAuthenticated'](),controller[_0xb106('0xe')]);router[_0xb106('0xa')](_0xb106('0xf'),auth[_0xb106('0x9')](),controller[_0xb106('0x10')]);router[_0xb106('0x11')]('/',auth[_0xb106('0x9')](),controller['create']);router[_0xb106('0x11')](_0xb106('0xd'),auth[_0xb106('0x9')](),controller[_0xb106('0x12')]);router[_0xb106('0x13')](_0xb106('0xb'),auth[_0xb106('0x9')](),controller['update']);router[_0xb106('0x14')]('/:id',auth[_0xb106('0x9')](),controller[_0xb106('0x15')]);module[_0xb106('0x16')]=router; \ No newline at end of file