- update all methods with the new links to the latest documentation
- update all methods to make sure the argument names were as consistent as possible with the API
- added the findContactByEmail method to the sdk
- added the resumeCampaignForContact method to the sdk
- updated Sdk.cfc to access a timeout from the developer in case infusionsofts systems are down. Defaults to 5 seconds
- Fixed #5 Error: [InvalidConfig]Invalid Configuration: for help setting up your API, please contact Support ( ext. 2) (empty)
- fixed the method getApplicationSetting() to work as expected
- fixed an issue with validateCreditCardDetails to JavaCast variables as required by the infusionsoft table documentation
- fixed an inconsistency with getting structs back from the java xmlprc implementation where the struct members were case sensitive and could only be accessed through bracket notation
- Bud sent in a couple fixes to the SDK, thanks Bud!!! These include a fix for sendEmail() and addEmailTemplate() and the addition of three new methods including delete(), getEmailTemplate() and updateEmailTemplate().
- added new method delete() to the SDK
- added new method getEmailTemplate() to the SDK
- added new method sendEmailTemplate() to the SDK
- fixed a couple items in the documentation.cfm file.
- added a check in Connection.cfc to make sure that the SDK what instantiate BEFORE trying to send out a call to the API.
- updated findByField() to allow the developer to decide if they would like a query or array of structs returned.
- fixed a bug with converting custom fields that start with an underscore to "custom_" within the transform object
- added support to the sdk to make sure any fields you query on are returned. Infusionsofts default behaviour is to only return fields that are not null.
- updated the query() method with a new argument returnAs. This arguments defaults to "Query" but can also be set to an empty string "" to return an array of struct. This is the native deserialization that happens for both the Java XMLRPC client and the CF client, therefore is faster as the SDK does not loop over the array of structs to create a query out of them. This is now more practical since I have implemented the previous change.
- new library included with the SDK for XMLRPC calls. (http://ws.apache.org/xmlrpc/)
- com.liquifusion.infusionsoft.Connection will automatically try to use the Apache implementation and fall back to using the all Coldfusion XMLRPC if it is unable to instanciate the java implementation
- added the API method getTemporaryKey() for use with a vendor key
- Updated the SDK to not require an apiKey so that getTemporaryKey() could grab back an api key.
- Added com.utility.QueryHelper for transforming and array of structures to a query
- updated documentation to reflect changes to the Connection object and the new xmlrpc library
- update to the SDK since CF7 does not easily JavaCast() string[] and int[]. Created a private method to loop through these arrays and cast each individual item.
- Update to the Transform.cfc to make the object CF7 compatible. Removed the function IsInstanceOf() with variable.getClass().isInstance().