X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZendeskAccount%2Findex.js;h=48dfde5472bd14dd563a52ec97a7ccf7f93c3c63;hb=6b8dca8de1a6b807be7e36077511bb032e7382e5;hp=9d70621cd7efa21308456cfb16a19d6f8117f5df;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/api/intZendeskAccount/index.js b/server/api/intZendeskAccount/index.js index 9d70621..48dfde5 100644 --- a/server/api/intZendeskAccount/index.js +++ b/server/api/intZendeskAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdcce=['exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','index','show','getConfigurations','getFields','post','/:id/configurations','delete','/:id'];(function(_0xb0b922,_0x183826){var _0x5dc41e=function(_0x461183){while(--_0x461183){_0xb0b922['push'](_0xb0b922['shift']());}};_0x5dc41e(++_0x183826);}(_0xdcce,0x18d));var _0xedcc=function(_0x5730a4,_0x17a132){_0x5730a4=_0x5730a4-0x0;var _0x18ca26=_0xdcce[_0x5730a4];return _0x18ca26;};'use strict';var multer=require(_0xedcc('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xedcc('0x1'));var express=require(_0xedcc('0x2'));var router=express[_0xedcc('0x3')]();var auth=require(_0xedcc('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xedcc('0x5'));var controller=require(_0xedcc('0x6'));router[_0xedcc('0x7')]('/',auth[_0xedcc('0x8')](),controller[_0xedcc('0x9')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xedcc('0xa')]);router[_0xedcc('0x7')]('/:id/configurations',auth['isAuthenticated'](),controller[_0xedcc('0xb')]);router[_0xedcc('0x7')]('/:id/fields',auth['isAuthenticated'](),controller[_0xedcc('0xc')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xedcc('0xd')](_0xedcc('0xe'),auth[_0xedcc('0x8')](),controller['addConfiguration']);router['put']('/:id',auth[_0xedcc('0x8')](),controller['update']);router[_0xedcc('0xf')](_0xedcc('0x10'),auth['isAuthenticated'](),controller['destroy']);module[_0xedcc('0x11')]=router; \ No newline at end of file +var _0xfc34=['/:id','show','/:id/configurations','getConfigurations','getFields','post','create','addConfiguration','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','index'];(function(_0x149354,_0x3f2be1){var _0x1b381d=function(_0x3f70e8){while(--_0x3f70e8){_0x149354['push'](_0x149354['shift']());}};_0x1b381d(++_0x3f2be1);}(_0xfc34,0x193));var _0x4fc3=function(_0x54d486,_0x193223){_0x54d486=_0x54d486-0x0;var _0x3a639e=_0xfc34[_0x54d486];return _0x3a639e;};'use strict';var multer=require(_0x4fc3('0x0'));var util=require(_0x4fc3('0x1'));var path=require('path');var timeout=require(_0x4fc3('0x2'));var express=require(_0x4fc3('0x3'));var router=express[_0x4fc3('0x4')]();var auth=require(_0x4fc3('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x4fc3('0x6'));var controller=require(_0x4fc3('0x7'));router[_0x4fc3('0x8')]('/',auth[_0x4fc3('0x9')](),controller[_0x4fc3('0xa')]);router[_0x4fc3('0x8')](_0x4fc3('0xb'),auth['isAuthenticated'](),controller[_0x4fc3('0xc')]);router[_0x4fc3('0x8')](_0x4fc3('0xd'),auth[_0x4fc3('0x9')](),controller[_0x4fc3('0xe')]);router[_0x4fc3('0x8')]('/:id/fields',auth[_0x4fc3('0x9')](),controller[_0x4fc3('0xf')]);router[_0x4fc3('0x10')]('/',auth[_0x4fc3('0x9')](),controller[_0x4fc3('0x11')]);router['post']('/:id/configurations',auth[_0x4fc3('0x9')](),controller[_0x4fc3('0x12')]);router['put']('/:id',auth[_0x4fc3('0x9')](),controller[_0x4fc3('0x13')]);router[_0x4fc3('0x14')]('/:id',auth['isAuthenticated'](),controller[_0x4fc3('0x15')]);module[_0x4fc3('0x16')]=router; \ No newline at end of file