- @sphinks fixed wrong header names in WebHooks class (#20)
- minimal Java version changed to 1.7
- Fixed issue regarding
cc,bccandtofields inConversationandAbstractThreadclasses
- Added Custom Fields and Teams support (Pro Plan features)
- there are new methods
getTeamandgetTeams - Custom Field responses were added to
Conversationclass - Custom Fields were added to
Mailboxclass - subclasses of
CustomFieldResponseprovide typed access to different custom field types. See API documentation
- there are new methods
- Added more tests for the ApiClient
API methods that used to return User now return MailboxUser. User and new class Team are subtypes of MailboxUser.
Affected methods are:
getUser()getUsers()getUsersForMailbox()LineItem.getAssignedTo(),LineItem.setAssignedTo()-LineItemis an interface with several subclasses
Affected field:
Conversation.owner
There is also new dependency - Joda Time
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.1</version>
<scope>compile</scope>
</dependency>- Address model has been updated to use java.util.Data instead of java.util.Calendar objects, de-serialization from JSON payloads will now work correctly.
- Identifiers are now of type
Long(matching model objects). Old methods usingIntegerare deprecated. - Added support for generics.
- Lombok-ified many classes.
- Added
toString()methods to model objects. - The build now also generates a source JAR.
- Reformatted code to use spaces instead of tabs.
- Used
Base64encoder from Apache Commons Codec insead of "sun.misc" package. Fixes issue #2. - Initialized
ApiClientinstance at class-load time and refactoredApiClient.getInstance(). Fixes issue #6. - Fixed error in example
CreateConversation.java, and also improved exception messages in the case of bad requests. Fixes issue #8.
Thanks to our many contributors who submitted pull requests for this release!
- Added support for getting report data. See developer docs for more information.
- Added support for updating the body text of a thread. See developer docs for more information.
- Added method to get the current User associated with the API used to make the request.
- Added endpoint to delete a note.
- Added support for the thread-source endpoint (to retrieve original email source). See developer docs for more information.
- Added support for workflows (get workflows, run a manual workflow). See developer docs for more information.
- Added support for 'imported' and 'workflow' action type on line items.
- Updated with support for new line item properties (actionType and actionSourceId). See developer docs for more information.
- Conversations and threads can now be marked as 'imported' at creation time.
- Added 'phone' conversation and thread type.
- Added a method to retrieve a list of customers for a mailbox.
- Added examples for write endpoints (create/update conversation, create/update customer).
- Bug fix: Added setters to Address model object.
- Conversation write endpoints added. Conversations can now be created, updated, and deleted. Threads can be created, and attachments can be created and associated with a thread.
- Customer write endpoints added. Customers can now be created and updated.
- Customers can now be searched for by name and/or email.
- Conversation now has a ConversationType property that specifies if the type of conversation is an 'email' or 'chat'.
- PersonRef now has a PersonType property that specifies if a 'user' or 'customer' is represented.
- ThreadType has been updated to include a Chat conversation.