infusionsoft
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -197,2 +197,7 @@ var xmlrpc = require('xmlrpc'); | ||
iSDK.prototype.fsGoal = function(integration, name, contactId, callback){ | ||
var ca = [this.apiKey, integration, name, contactId]; | ||
this.methodCaller('FunnelService.achieveGoal', ca, callback); | ||
} | ||
iSDK.types = types; |
{ | ||
"name": "infusionsoft", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "InfusionSoft node.js SDK", | ||
@@ -5,0 +5,0 @@ "contributors": [{ "name": "Patrick Lodder", "email": "plodder@intellibiz.org" }], |
@@ -79,2 +79,7 @@ infusionsoft | ||
**FunnelService.achieveGoal**: ```client.fsGoal(integration, callName, contactId, callback)``` | ||
**InvoiceService.addManualPayment**: ```client.addManualPayment(invoiceId, amount, paymentDate, paymentType, paymentDescription, bypassCommissions, callback)``` | ||
@@ -81,0 +86,0 @@ |
@@ -216,2 +216,8 @@ var vows = require('vows'); | ||
"must match xml": assertXml('mergeCon_call') | ||
}, | ||
"achieveGoal": { | ||
topic: function(isdk){ | ||
isdk.fsGoal('intname', 'callname', 1, this.callback); | ||
}, | ||
"must match xml": assertXml('achieveGoal_call') | ||
} | ||
@@ -218,0 +224,0 @@ } |
32758
41
410
101