From 9094b81fef0047c985d1c785d9c48b75d2d7b450 Mon Sep 17 00:00:00 2001 From: ksvirkou-hubspot Date: Thu, 15 Aug 2024 11:23:15 +0300 Subject: [PATCH] Add lead s association types to AssociationTypes enum and 11.3.0 --- CHANGELOG.md | 9 +++++++-- composer.json | 2 +- lib/Enums/AssociationTypes.php | 7 +++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cb43606..50bbb1eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 @@ -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 diff --git a/composer.json b/composer.json index 021132a0..504d7aa3 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hubspot/api-client", - "version": "11.2.0", + "version": "11.3.0", "description": "Hubspot API client", "keywords": [ "hubspot", diff --git a/lib/Enums/AssociationTypes.php b/lib/Enums/AssociationTypes.php index 519b7369..808bd9af 100644 --- a/lib/Enums/AssociationTypes.php +++ b/lib/Enums/AssociationTypes.php @@ -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; }