X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZohoAccount%2Findex.js;h=2f2043ccee9f656081c21f9e6cca721886d0b476;hb=676e0a00dac18511f03a9406d0d87e461770e967;hp=8fea72d28a16b02b9f73469756d3dd6d55e4a516;hpb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;p=motion2.git diff --git a/server/api/intZohoAccount/index.js b/server/api/intZohoAccount/index.js index 8fea72d..2f2043c 100644 --- a/server/api/intZohoAccount/index.js +++ b/server/api/intZohoAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5ba9=['util','path','express','Router','../../components/auth/service','../../config/environment','./intZohoAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','delete','destroy','exports','multer'];(function(_0x449573,_0x2a733e){var _0x39aa52=function(_0x5e3b23){while(--_0x5e3b23){_0x449573['push'](_0x449573['shift']());}};_0x39aa52(++_0x2a733e);}(_0x5ba9,0x77));var _0x95ba=function(_0xec5ee6,_0x30548b){_0xec5ee6=_0xec5ee6-0x0;var _0x363d4b=_0x5ba9[_0xec5ee6];return _0x363d4b;};'use strict';var multer=require(_0x95ba('0x0'));var util=require(_0x95ba('0x1'));var path=require(_0x95ba('0x2'));var timeout=require('connect-timeout');var express=require(_0x95ba('0x3'));var router=express[_0x95ba('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x95ba('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x95ba('0x6'));var controller=require(_0x95ba('0x7'));router[_0x95ba('0x8')]('/',auth[_0x95ba('0x9')](),controller[_0x95ba('0xa')]);router['get'](_0x95ba('0xb'),auth[_0x95ba('0x9')](),controller[_0x95ba('0xc')]);router[_0x95ba('0x8')](_0x95ba('0xd'),auth[_0x95ba('0x9')](),controller[_0x95ba('0xe')]);router[_0x95ba('0x8')](_0x95ba('0xf'),auth[_0x95ba('0x9')](),controller[_0x95ba('0x10')]);router[_0x95ba('0x11')]('/',auth[_0x95ba('0x9')](),controller[_0x95ba('0x12')]);router[_0x95ba('0x11')]('/:id/configurations',auth[_0x95ba('0x9')](),controller[_0x95ba('0x13')]);router[_0x95ba('0x14')](_0x95ba('0xb'),auth[_0x95ba('0x9')](),controller['update']);router[_0x95ba('0x15')](_0x95ba('0xb'),auth[_0x95ba('0x9')](),controller[_0x95ba('0x16')]);module[_0x95ba('0x17')]=router; \ No newline at end of file +var _0xa2d8=['../../components/interaction/service','./intZohoAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','getFields','post','addConfiguration','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x5ef55a,_0x2a03b1){var _0x20ae40=function(_0x46ce81){while(--_0x46ce81){_0x5ef55a['push'](_0x5ef55a['shift']());}};_0x20ae40(++_0x2a03b1);}(_0xa2d8,0x6c));var _0x8a2d=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0xa2d8[_0x2d7f0e];return _0x110b07;};'use strict';var multer=require(_0x8a2d('0x0'));var util=require(_0x8a2d('0x1'));var path=require(_0x8a2d('0x2'));var timeout=require(_0x8a2d('0x3'));var express=require(_0x8a2d('0x4'));var router=express[_0x8a2d('0x5')]();var fs_extra=require(_0x8a2d('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x8a2d('0x7'));var config=require('../../config/environment');var controller=require(_0x8a2d('0x8'));router[_0x8a2d('0x9')]('/',auth[_0x8a2d('0xa')](),controller[_0x8a2d('0xb')]);router[_0x8a2d('0x9')](_0x8a2d('0xc'),auth[_0x8a2d('0xa')](),controller[_0x8a2d('0xd')]);router[_0x8a2d('0x9')](_0x8a2d('0xe'),auth[_0x8a2d('0xa')](),controller[_0x8a2d('0xf')]);router[_0x8a2d('0x9')]('/:id/fields',auth[_0x8a2d('0xa')](),controller[_0x8a2d('0x10')]);router[_0x8a2d('0x11')]('/',auth[_0x8a2d('0xa')](),controller['create']);router[_0x8a2d('0x11')]('/:id/configurations',auth[_0x8a2d('0xa')](),controller[_0x8a2d('0x12')]);router[_0x8a2d('0x13')](_0x8a2d('0xc'),auth['isAuthenticated'](),controller[_0x8a2d('0x14')]);router['delete'](_0x8a2d('0xc'),auth[_0x8a2d('0xa')](),controller[_0x8a2d('0x15')]);module[_0x8a2d('0x16')]=router; \ No newline at end of file