X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZendeskAccount%2Findex.js;h=54a2fdafd5ef5d53c05dfebca2aa36834d441a2e;hb=d56da45b6e1f0bbf558177cd907ef61f0b9840c2;hp=0fa5813e3d7f8b9ecd809d005d41a44e2d28ef62;hpb=d49944cc2e95578bfbd15d79d46896f71a145821;p=motion2.git diff --git a/server/api/intZendeskAccount/index.js b/server/api/intZendeskAccount/index.js index 0fa5813..54a2fda 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 _0x57f8=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller','get','/:id','isAuthenticated','show','/:id/fields','post','create','addConfiguration','update','delete','destroy','exports','multer','util'];(function(_0x1d42fa,_0x567cf5){var _0x4a02c9=function(_0x1d0526){while(--_0x1d0526){_0x1d42fa['push'](_0x1d42fa['shift']());}};_0x4a02c9(++_0x567cf5);}(_0x57f8,0x140));var _0x857f=function(_0x4a09a8,_0x4ed12d){_0x4a09a8=_0x4a09a8-0x0;var _0x7d30a9=_0x57f8[_0x4a09a8];return _0x7d30a9;};'use strict';var multer=require(_0x857f('0x0'));var util=require(_0x857f('0x1'));var path=require(_0x857f('0x2'));var timeout=require(_0x857f('0x3'));var express=require(_0x857f('0x4'));var router=express[_0x857f('0x5')]();var fs_extra=require(_0x857f('0x6'));var auth=require(_0x857f('0x7'));var interaction=require(_0x857f('0x8'));var config=require(_0x857f('0x9'));var controller=require(_0x857f('0xa'));router[_0x857f('0xb')]('/',auth['isAuthenticated'](),controller['index']);router[_0x857f('0xb')](_0x857f('0xc'),auth[_0x857f('0xd')](),controller[_0x857f('0xe')]);router[_0x857f('0xb')]('/:id/configurations',auth['isAuthenticated'](),controller['getConfigurations']);router['get'](_0x857f('0xf'),auth['isAuthenticated'](),controller['getFields']);router[_0x857f('0x10')]('/',auth[_0x857f('0xd')](),controller[_0x857f('0x11')]);router[_0x857f('0x10')]('/:id/configurations',auth[_0x857f('0xd')](),controller[_0x857f('0x12')]);router['put']('/:id',auth[_0x857f('0xd')](),controller[_0x857f('0x13')]);router[_0x857f('0x14')](_0x857f('0xc'),auth[_0x857f('0xd')](),controller[_0x857f('0x15')]);module[_0x857f('0x16')]=router; \ No newline at end of file +var _0xcc1c=['../../config/environment','get','/:id/configurations','getConfigurations','/:id/fields','isAuthenticated','post','create','/:id','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x52ee26,_0x36ca79){var _0x3f215c=function(_0x5a4bd3){while(--_0x5a4bd3){_0x52ee26['push'](_0x52ee26['shift']());}};_0x3f215c(++_0x36ca79);}(_0xcc1c,0xa3));var _0xccc1=function(_0x3a9661,_0x530b12){_0x3a9661=_0x3a9661-0x0;var _0x5bb119=_0xcc1c[_0x3a9661];return _0x5bb119;};'use strict';var multer=require('multer');var util=require(_0xccc1('0x0'));var path=require(_0xccc1('0x1'));var timeout=require(_0xccc1('0x2'));var express=require(_0xccc1('0x3'));var router=express[_0xccc1('0x4')]();var fs_extra=require(_0xccc1('0x5'));var auth=require(_0xccc1('0x6'));var interaction=require(_0xccc1('0x7'));var config=require(_0xccc1('0x8'));var controller=require('./intZendeskAccount.controller');router[_0xccc1('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xccc1('0x9')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xccc1('0x9')](_0xccc1('0xa'),auth['isAuthenticated'](),controller[_0xccc1('0xb')]);router['get'](_0xccc1('0xc'),auth[_0xccc1('0xd')](),controller['getFields']);router[_0xccc1('0xe')]('/',auth[_0xccc1('0xd')](),controller[_0xccc1('0xf')]);router[_0xccc1('0xe')]('/:id/configurations',auth[_0xccc1('0xd')](),controller['addConfiguration']);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router['delete'](_0xccc1('0x10'),auth[_0xccc1('0xd')](),controller[_0xccc1('0x11')]);module[_0xccc1('0x12')]=router; \ No newline at end of file