X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZendeskAccount%2Findex.js;h=2260e310f41a9ade3c6e372b07fccd60a2e6ba79;hb=877636f71ea4e4a4bfc9f2950f78c09e94a43e10;hp=75b423a5e933d859d4d2d5db8ee5b73e51b41fca;hpb=dfacf7f441a092a1e235cb444060bf10fa72e39a;p=motion2.git diff --git a/server/api/intZendeskAccount/index.js b/server/api/intZendeskAccount/index.js index 75b423a..2260e31 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 _0x9846=['show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index'];(function(_0x17c9c2,_0x15a877){var _0x9f0823=function(_0x40d2b9){while(--_0x40d2b9){_0x17c9c2['push'](_0x17c9c2['shift']());}};_0x9f0823(++_0x15a877);}(_0x9846,0x1af));var _0x6984=function(_0x598f61,_0x348009){_0x598f61=_0x598f61-0x0;var _0x42b336=_0x9846[_0x598f61];return _0x42b336;};'use strict';var multer=require('multer');var util=require(_0x6984('0x0'));var path=require(_0x6984('0x1'));var timeout=require(_0x6984('0x2'));var express=require(_0x6984('0x3'));var router=express['Router']();var auth=require(_0x6984('0x4'));var interaction=require(_0x6984('0x5'));var config=require('../../config/environment');var controller=require('./intZendeskAccount.controller');router[_0x6984('0x6')]('/',auth[_0x6984('0x7')](),controller[_0x6984('0x8')]);router[_0x6984('0x6')]('/:id',auth['isAuthenticated'](),controller[_0x6984('0x9')]);router[_0x6984('0x6')](_0x6984('0xa'),auth[_0x6984('0x7')](),controller[_0x6984('0xb')]);router[_0x6984('0x6')](_0x6984('0xc'),auth['isAuthenticated'](),controller[_0x6984('0xd')]);router[_0x6984('0xe')]('/',auth['isAuthenticated'](),controller[_0x6984('0xf')]);router[_0x6984('0xe')]('/:id/configurations',auth[_0x6984('0x7')](),controller[_0x6984('0x10')]);router['put'](_0x6984('0x11'),auth[_0x6984('0x7')](),controller[_0x6984('0x12')]);router[_0x6984('0x13')](_0x6984('0x11'),auth[_0x6984('0x7')](),controller[_0x6984('0x14')]);module[_0x6984('0x15')]=router; \ No newline at end of file +var _0x7d6a=['getFields','post','create','addConfiguration','put','delete','destroy','exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','show','/:id/fields'];(function(_0x5e68f0,_0x181383){var _0x320008=function(_0x5cf8ac){while(--_0x5cf8ac){_0x5e68f0['push'](_0x5e68f0['shift']());}};_0x320008(++_0x181383);}(_0x7d6a,0x112));var _0xa7d6=function(_0x49a44c,_0x144610){_0x49a44c=_0x49a44c-0x0;var _0x342afc=_0x7d6a[_0x49a44c];return _0x342afc;};'use strict';var multer=require(_0xa7d6('0x0'));var util=require('util');var path=require(_0xa7d6('0x1'));var timeout=require(_0xa7d6('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0xa7d6('0x3'));var interaction=require(_0xa7d6('0x4'));var config=require(_0xa7d6('0x5'));var controller=require(_0xa7d6('0x6'));router[_0xa7d6('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth[_0xa7d6('0x8')](),controller[_0xa7d6('0x9')]);router[_0xa7d6('0x7')]('/:id/configurations',auth[_0xa7d6('0x8')](),controller['getConfigurations']);router[_0xa7d6('0x7')](_0xa7d6('0xa'),auth[_0xa7d6('0x8')](),controller[_0xa7d6('0xb')]);router[_0xa7d6('0xc')]('/',auth['isAuthenticated'](),controller[_0xa7d6('0xd')]);router[_0xa7d6('0xc')]('/:id/configurations',auth[_0xa7d6('0x8')](),controller[_0xa7d6('0xe')]);router[_0xa7d6('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xa7d6('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xa7d6('0x11')]);module[_0xa7d6('0x12')]=router; \ No newline at end of file