X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshsalesAccount%2Findex.js;h=81b4eeded8eb9a1e5cacabfbed30609421982b1f;hb=884fcf970b507196a3b60584a74b23a84d7eaf24;hp=b2d741a223a14f9adc1261d72063ae1bc38ab2f1;hpb=032eef5eb1c414450ccc959e49effc8ff508851b;p=motion2.git diff --git a/server/api/intFreshsalesAccount/index.js b/server/api/intFreshsalesAccount/index.js index b2d741a..81b4eed 100644 --- a/server/api/intFreshsalesAccount/index.js +++ b/server/api/intFreshsalesAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa322=['getFields','post','create','addConfiguration','put','update','delete','destroy','multer','util','express','Router','../../config/environment','get','isAuthenticated','/:id','show','/:id/configurations','getConfigurations','/:id/fields'];(function(_0xdc3756,_0x12752e){var _0x3047ec=function(_0x1e8ab7){while(--_0x1e8ab7){_0xdc3756['push'](_0xdc3756['shift']());}};_0x3047ec(++_0x12752e);}(_0xa322,0xd0));var _0x2a32=function(_0x1b9ea2,_0x2f9094){_0x1b9ea2=_0x1b9ea2-0x0;var _0x5ac90f=_0xa322[_0x1b9ea2];return _0x5ac90f;};'use strict';var multer=require(_0x2a32('0x0'));var util=require(_0x2a32('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2a32('0x2'));var router=express[_0x2a32('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2a32('0x4'));var controller=require('./intFreshsalesAccount.controller');router[_0x2a32('0x5')]('/',auth[_0x2a32('0x6')](),controller['index']);router[_0x2a32('0x5')](_0x2a32('0x7'),auth['isAuthenticated'](),controller[_0x2a32('0x8')]);router[_0x2a32('0x5')](_0x2a32('0x9'),auth[_0x2a32('0x6')](),controller[_0x2a32('0xa')]);router[_0x2a32('0x5')](_0x2a32('0xb'),auth['isAuthenticated'](),controller[_0x2a32('0xc')]);router[_0x2a32('0xd')]('/',auth['isAuthenticated'](),controller[_0x2a32('0xe')]);router['post'](_0x2a32('0x9'),auth[_0x2a32('0x6')](),controller[_0x2a32('0xf')]);router[_0x2a32('0x10')](_0x2a32('0x7'),auth['isAuthenticated'](),controller[_0x2a32('0x11')]);router[_0x2a32('0x12')](_0x2a32('0x7'),auth[_0x2a32('0x6')](),controller[_0x2a32('0x13')]);module['exports']=router; \ No newline at end of file +var _0x12e4=['Router','../../components/auth/service','../../components/interaction/service','./intFreshsalesAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','put','update','delete','multer','util','express'];(function(_0x1f44e4,_0x22d9fd){var _0x591989=function(_0x3aeb88){while(--_0x3aeb88){_0x1f44e4['push'](_0x1f44e4['shift']());}};_0x591989(++_0x22d9fd);}(_0x12e4,0x75));var _0x412e=function(_0x38d0cf,_0x36b915){_0x38d0cf=_0x38d0cf-0x0;var _0x5b4257=_0x12e4[_0x38d0cf];return _0x5b4257;};'use strict';var multer=require(_0x412e('0x0'));var util=require(_0x412e('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x412e('0x2'));var router=express[_0x412e('0x3')]();var auth=require(_0x412e('0x4'));var interaction=require(_0x412e('0x5'));var config=require('../../config/environment');var controller=require(_0x412e('0x6'));router[_0x412e('0x7')]('/',auth[_0x412e('0x8')](),controller[_0x412e('0x9')]);router[_0x412e('0x7')](_0x412e('0xa'),auth[_0x412e('0x8')](),controller['show']);router[_0x412e('0x7')](_0x412e('0xb'),auth[_0x412e('0x8')](),controller[_0x412e('0xc')]);router[_0x412e('0x7')](_0x412e('0xd'),auth[_0x412e('0x8')](),controller[_0x412e('0xe')]);router['post']('/',auth[_0x412e('0x8')](),controller['create']);router[_0x412e('0xf')]('/:id/configurations',auth[_0x412e('0x8')](),controller[_0x412e('0x10')]);router[_0x412e('0x11')](_0x412e('0xa'),auth[_0x412e('0x8')](),controller[_0x412e('0x12')]);router[_0x412e('0x13')](_0x412e('0xa'),auth[_0x412e('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file