X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Ffreshsales.js;h=175cd60b9edb028d5deb35ae3c1cf9ed7d1a90e9;hb=6b8dca8de1a6b807be7e36077511bb032e7382e5;hp=6096f6aeab396fd5f6d14bc7812e244098575545;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/services/ami/rpc/integrations/freshsales.js b/server/services/ami/rpc/integrations/freshsales.js index 6096f6a..175cd60 100644 --- a/server/services/ami/rpc/integrations/freshsales.js +++ b/server/services/ami/rpc/integrations/freshsales.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc36d=['getFreshsalesAccounts','Request','GetFreshsalesAccount','name','apiKey','remoteUri','FreshsalesConfiguration','Configurations','FreshsalesField','Subjects','content','variableName','Variable','Descriptions','key','keyType','GetFreshsalesccount','../../client'];(function(_0x748b4f,_0x2c6066){var _0x3845f2=function(_0x202e44){while(--_0x202e44){_0x748b4f['push'](_0x748b4f['shift']());}};_0x3845f2(++_0x2c6066);}(_0xc36d,0x7d));var _0xdc36=function(_0xc0921a,_0x1f107f){_0xc0921a=_0xc0921a-0x0;var _0x3f6189=_0xc36d[_0xc0921a];return _0x3f6189;};'use strict';var client=require(_0xdc36('0x0'));exports[_0xdc36('0x1')]=function(){return function(_0x2d50af){return client[_0xdc36('0x2')](_0xdc36('0x3'),{'options':{'raw':![],'attributes':['id',_0xdc36('0x4'),'username',_0xdc36('0x5'),_0xdc36('0x6'),'serverUrl'],'include':[{'model':_0xdc36('0x7'),'as':_0xdc36('0x8'),'attributes':['id',_0xdc36('0x4')],'include':[{'model':_0xdc36('0x9'),'as':_0xdc36('0xa'),'attributes':['id','type',_0xdc36('0xb'),_0xdc36('0xc')],'include':[{'model':_0xdc36('0xd'),'as':_0xdc36('0xd'),'attributes':['id','name']}]},{'model':_0xdc36('0x9'),'as':_0xdc36('0xe'),'attributes':['id','type',_0xdc36('0xb'),_0xdc36('0xf'),_0xdc36('0x10'),'keyContent',_0xdc36('0xc')],'include':[{'model':_0xdc36('0xd'),'as':'Variable','attributes':['id','name']}]}]}]},'log':_0xdc36('0x11')});};}; \ No newline at end of file +var _0x22fb=['Configurations','FreshsalesField','Subjects','type','variableName','Variable','Descriptions','content','key','keyType','keyContent','GetFreshsalesAccount','name','username','apiKey','remoteUri','FreshsalesConfiguration'];(function(_0x1808fe,_0x3340ac){var _0x4ced98=function(_0x174584){while(--_0x174584){_0x1808fe['push'](_0x1808fe['shift']());}};_0x4ced98(++_0x3340ac);}(_0x22fb,0x192));var _0xb22f=function(_0x14fde1,_0xc55ba){_0x14fde1=_0x14fde1-0x0;var _0x2a944e=_0x22fb[_0x14fde1];return _0x2a944e;};'use strict';var client=require('../../client');exports['getFreshsalesAccounts']=function(){return function(_0x1c27bb){return client['Request'](_0xb22f('0x0'),{'options':{'raw':![],'attributes':['id',_0xb22f('0x1'),_0xb22f('0x2'),_0xb22f('0x3'),_0xb22f('0x4'),'serverUrl'],'include':[{'model':_0xb22f('0x5'),'as':_0xb22f('0x6'),'attributes':['id',_0xb22f('0x1')],'include':[{'model':_0xb22f('0x7'),'as':_0xb22f('0x8'),'attributes':['id',_0xb22f('0x9'),'content',_0xb22f('0xa')],'include':[{'model':_0xb22f('0xb'),'as':_0xb22f('0xb'),'attributes':['id',_0xb22f('0x1')]}]},{'model':_0xb22f('0x7'),'as':_0xb22f('0xc'),'attributes':['id',_0xb22f('0x9'),_0xb22f('0xd'),_0xb22f('0xe'),_0xb22f('0xf'),_0xb22f('0x10'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xb22f('0x1')]}]}]}]},'log':'GetFreshsalesccount'});};}; \ No newline at end of file