X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintServicenowField%2Findex.js;h=d42af9107797257cddade7f8277d4be13a2618e1;hb=915398debaad81c75775b080cc3e491fbaa835e5;hp=62f73b4d83f0aea21f41926d959631d36ad8df5c;hpb=24271de0e5dd1b448821a50abace88b2fad818a2;p=motion2.git diff --git a/server/api/intServicenowField/index.js b/server/api/intServicenowField/index.js index 62f73b4..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 _0x8be6=['put','update','delete','destroy','util','path','Router','../../components/interaction/service','./intServicenowField.controller','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x8be6,0x134));var _0x68be=function(_0x53fa30,_0x5e6fe7){_0x53fa30=_0x53fa30-0x0;var _0x34771a=_0x8be6[_0x53fa30];return _0x34771a;};'use strict';var multer=require('multer');var util=require(_0x68be('0x0'));var path=require(_0x68be('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x68be('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x68be('0x3'));var config=require('../../config/environment');var controller=require(_0x68be('0x4'));router[_0x68be('0x5')]('/',auth[_0x68be('0x6')](),controller[_0x68be('0x7')]);router['get'](_0x68be('0x8'),auth[_0x68be('0x6')](),controller[_0x68be('0x9')]);router[_0x68be('0xa')]('/',auth[_0x68be('0x6')](),controller[_0x68be('0xb')]);router[_0x68be('0xc')](_0x68be('0x8'),auth[_0x68be('0x6')](),controller[_0x68be('0xd')]);router[_0x68be('0xe')](_0x68be('0x8'),auth[_0x68be('0x6')](),controller[_0x68be('0xf')]);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