X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintServicenowField%2Findex.js;h=d42af9107797257cddade7f8277d4be13a2618e1;hb=915398debaad81c75775b080cc3e491fbaa835e5;hp=47059367082ffb5fef4fabba0a654313d0775c70;hpb=c9bea7b5fb8c2c40aa3c8a89531d666691350a10;p=motion2.git diff --git a/server/api/intServicenowField/index.js b/server/api/intServicenowField/index.js index 4705936..d42af91 100644 --- a/server/api/intServicenowField/index.js +++ b/server/api/intServicenowField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6a72=['multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','index','/:id','show','post','isAuthenticated','create','put','update','destroy'];(function(_0x20ec0c,_0x3b2c26){var _0x3b52a0=function(_0x1e02ab){while(--_0x1e02ab){_0x20ec0c['push'](_0x20ec0c['shift']());}};_0x3b52a0(++_0x3b2c26);}(_0x6a72,0xd8));var _0x26a7=function(_0x38854e,_0x23cbc9){_0x38854e=_0x38854e-0x0;var _0x3f8415=_0x6a72[_0x38854e];return _0x3f8415;};'use strict';var multer=require(_0x26a7('0x0'));var util=require(_0x26a7('0x1'));var path=require('path');var timeout=require(_0x26a7('0x2'));var express=require(_0x26a7('0x3'));var router=express[_0x26a7('0x4')]();var fs_extra=require(_0x26a7('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x26a7('0x6'));var config=require(_0x26a7('0x7'));var controller=require('./intServicenowField.controller');router[_0x26a7('0x8')]('/',auth['isAuthenticated'](),controller[_0x26a7('0x9')]);router[_0x26a7('0x8')](_0x26a7('0xa'),auth['isAuthenticated'](),controller[_0x26a7('0xb')]);router[_0x26a7('0xc')]('/',auth[_0x26a7('0xd')](),controller[_0x26a7('0xe')]);router[_0x26a7('0xf')]('/:id',auth[_0x26a7('0xd')](),controller[_0x26a7('0x10')]);router['delete'](_0x26a7('0xa'),auth[_0x26a7('0xd')](),controller[_0x26a7('0x11')]);module['exports']=router; \ No newline at end of file +var _0xa4fc=['../../components/interaction/service','../../config/environment','get','index','post','isAuthenticated','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','fs-extra'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0xa4fc,0x192));var _0xca4f=function(_0x525198,_0x16181e){_0x525198=_0x525198-0x0;var _0x1bddfd=_0xa4fc[_0x525198];return _0x1bddfd;};'use strict';var multer=require(_0xca4f('0x0'));var util=require(_0xca4f('0x1'));var path=require(_0xca4f('0x2'));var timeout=require(_0xca4f('0x3'));var express=require(_0xca4f('0x4'));var router=express['Router']();var fs_extra=require(_0xca4f('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xca4f('0x6'));var config=require(_0xca4f('0x7'));var controller=require('./intServicenowField.controller');router[_0xca4f('0x8')]('/',auth['isAuthenticated'](),controller[_0xca4f('0x9')]);router[_0xca4f('0x8')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xca4f('0xa')]('/',auth[_0xca4f('0xb')](),controller['create']);router[_0xca4f('0xc')](_0xca4f('0xd'),auth[_0xca4f('0xb')](),controller[_0xca4f('0xe')]);router[_0xca4f('0xf')](_0xca4f('0xd'),auth[_0xca4f('0xb')](),controller['destroy']);module[_0xca4f('0x10')]=router; \ No newline at end of file