Skip to content

Commit

Permalink
Merge pull request #380 from HubSpot/feature/updateAssociationsTypesEnum
Browse files Browse the repository at this point in the history
Add lead's association types to AssociationTypes enum and 11.3.0
  • Loading branch information
ksvirkou-hubspot authored Aug 15, 2024
2 parents 0465c4b + 9094b81 commit 38def15
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/HubSpot/hubspot-api-php/compare/11.2.0...HEAD)
## [Unreleased](https://github.com/HubSpot/hubspot-api-php/compare/11.3.0...HEAD)

## [11.3.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/11.3.0) - 2024-08-15

- Added lead's association types to `Enums\AssociationTypes` Enum.

## [11.2.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/11.2.0) - 2024-08-13

Expand Down Expand Up @@ -748,7 +752,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25. getSubscriptions => getAll (webhooks()->subscriptionsApi())
26. updateSubscription => update (webhooks()->subscriptionsApi())

[unreleased]: https://github.com/HubSpot/hubspot-api-php/compare/11.1.0...HEAD
[Unreleased]: https://github.com/HubSpot/hubspot-api-php/compare/11.3.0...HEAD
[1.0.0-beta]: https://github.com/HubSpot/hubspot-api-php/releases/tag/v1.0.0-beta
[1.1.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/1.1.0
[1.2.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/1.2.0
Expand Down Expand Up @@ -804,3 +808,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[11.0.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/11.0.0
[11.1.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/11.1.0
[11.2.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/11.2.0
[11.3.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/11.3.0
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hubspot/api-client",
"version": "11.2.0",
"version": "11.3.0",
"description": "Hubspot API client",
"keywords": [
"hubspot",
Expand Down
7 changes: 7 additions & 0 deletions lib/Enums/AssociationTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,11 @@ class AssociationTypes
public const DEAL_TO_POSTAL_MAIL = 458;
public const POSTAL_MAIL_TO_COMPANY = 459;
public const COMPANY_TO_POSTAL_MAIL = 460;
public const LEAD_TO_PRIMARY_CONTACT = 578;
public const LEAD_TO_CALL = 596;
public const LEAD_TO_EMAIL = 598;
public const LEAD_TO_MEETING = 600;
public const LEAD_TO_COMMUNICATION = 602;
public const LEAD_TO_CONTACT = 608;
public const LEAD_TO_TASK = 646;
}

0 comments on commit 38def15

Please sign in to comment.