X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZohoAccount%2Findex.js;h=8fea72d28a16b02b9f73469756d3dd6d55e4a516;hb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;hp=97c9f2c4d53d038d06e9489380a3bf22f17e9d56;hpb=cf0590116080d9ba42ef56ec3321a2b1292c0360;p=motion2.git diff --git a/server/api/intZohoAccount/index.js b/server/api/intZohoAccount/index.js index 97c9f2c..8fea72d 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 _0xb180=['/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','/:id','exports','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','get','isAuthenticated','index','show'];(function(_0x2ca574,_0x553a78){var _0x2bdf88=function(_0x5009c8){while(--_0x5009c8){_0x2ca574['push'](_0x2ca574['shift']());}};_0x2bdf88(++_0x553a78);}(_0xb180,0x112));var _0x0b18=function(_0x44a9bc,_0x3cca3c){_0x44a9bc=_0x44a9bc-0x0;var _0x4c18b1=_0xb180[_0x44a9bc];return _0x4c18b1;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x0b18('0x0'));var timeout=require('connect-timeout');var express=require(_0x0b18('0x1'));var router=express[_0x0b18('0x2')]();var auth=require(_0x0b18('0x3'));var interaction=require(_0x0b18('0x4'));var config=require(_0x0b18('0x5'));var controller=require(_0x0b18('0x6'));router[_0x0b18('0x7')]('/',auth[_0x0b18('0x8')](),controller[_0x0b18('0x9')]);router[_0x0b18('0x7')]('/:id',auth[_0x0b18('0x8')](),controller[_0x0b18('0xa')]);router[_0x0b18('0x7')](_0x0b18('0xb'),auth['isAuthenticated'](),controller[_0x0b18('0xc')]);router['get'](_0x0b18('0xd'),auth['isAuthenticated'](),controller[_0x0b18('0xe')]);router['post']('/',auth[_0x0b18('0x8')](),controller['create']);router[_0x0b18('0xf')](_0x0b18('0xb'),auth[_0x0b18('0x8')](),controller[_0x0b18('0x10')]);router['put'](_0x0b18('0x11'),auth[_0x0b18('0x8')](),controller['update']);router['delete'](_0x0b18('0x11'),auth[_0x0b18('0x8')](),controller['destroy']);module[_0x0b18('0x12')]=router; \ No newline at end of file +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