- Update file related functionality according to API changes
- Fix query parameter for the file uploading
- Add Tickets related functionality
- Add Tickets related functionality
- Add Get in Tickets
- Fix subscription typescript definition to have unsubscribe function
- Add support for contact addSecondaryEmail
- Add email marketing missing functionality
- Update lists retrieving functionality
- Update typing
- Add possibility to get the list of recently updated contacts
- Add workflows create & delete commands
- Add marketing emails functionality
- Add possibility to delete contacts from list
- Extend client request wrapper
- Fix issues with files and forms
- Fix typing
- Add OAuth for multipart form-data upload
- Add multipart form-data upload
- Fix tests, update typing
- Extended client with expiresIn and updatedAt values
- Add hubspot.forms.getUploadedFileByUrl method
- Update hubspot.contacts.getById method
- Update hubspot.companies.getByDomain method
- Update hubspot.oauth.getAuthorizationUrl method
- Add getPortalInfo for OAuth
- Update getByDomain method
- Begins migration of test suite to mocked api calls instead of hitting HubSpot "live"
- Added support for some api endpoints such as timelines.
Breaking changes:
- Remove support for passing callbacks
The usage of callbacks throughout node-hubspot was inconsistent in functionality. There was a lot of code to maintain callback support that we can remove now that promises are returned by all functions.
- Added support for promises
- Added support for OAuth2
- Added convenience methods to support OAuth
- Tests working on demo instance of HubSpot
- Added support for some missing methods
Breaking changes:
- New instantiation of client
- node > 6.10.0 required (see below)
Notes:
- new version is ES2015 heavy and has only been tested in version of node > 6.10.0
- hasn't been tested in browser
- some babel magic would be needed for use in older versions of node (PR welcome!)
- Removed events.get() and campaigns.tracking.events() by merging them into campaigns.events()
- Added client.files.getOne()
- Fixed client.files.get()
- Updated README