Skip to content

Releases: HubSpot/hubspot-api-php

Fix HubSpot\Enums\AssociationTypes enum.

27 Jul 08:53
c6a6576
Compare
Choose a tag to compare
Merge pull request #263 from HubSpot/feature/FixAssociationTypesEnum

Fix AssociationTypes enum

10.0.0

08 Jun 12:43
9fc76c9
Compare
Choose a tag to compare

Fixed Utils\OAuth2::getAuthUrl() (don't add empty scopes or optional scopes to OAuth url).

Update associations and Add communications API

11 May 14:11
Compare
Choose a tag to compare

Added

  • crm()->objects()->communications() Api client.
  • crm()->associations()->v4()->basicApi() Api.
  • Enums\AssociationTypes Enum.

Updated

  • crm()->associations()->typesApi() => crm()->associations()->schema()->typesApi().
  • crm()->associations()->v4()->definitionsApi() => crm()->associations()->v4()->schema()->definitionsApi().
  • Removed deprecated Webhooks util.

Add new event types to webhooks

27 Apr 12:48
43c62c3
Compare
Choose a tag to compare
10.0.0-beta.2

Merge pull request #238 from HubSpot/dependabot/composer/guzzlehttp/p…

Major version (Breaking changes)

12 Apr 12:54
Compare
Choose a tag to compare
  • Rename cms()->hubdb()->rowsBatchApi()->batchCloneDraftTableRows() => cms()->hubdb()->rowsBatchApi()->cloneDraftTableRows().
  • Rename cms()->hubdb()->rowsBatchApi()->batchCreateDraftTableRows() => cms()->hubdb()->rowsBatchApi()->createDraftTableRows().
  • Rename cms()->hubdb()->rowsBatchApi()->batchPurgeDraftTableRows() => cms()->hubdb()->rowsBatchApi()->purgeDraftTableRows().
  • Rename cms()->hubdb()->rowsBatchApi()->batchReadDraftTableRows() => cms()->hubdb()->rowsBatchApi()->readDraftTableRows().
  • Rename cms()->hubdb()->rowsBatchApi()->batchReadTableRows() => cms()->hubdb()->rowsBatchApi()->readTableRows().
  • Rename cms()->hubdb()->rowsBatchApi()->batchReplaceDraftTableRows() => cms()->hubdb()->rowsBatchApi()->replaceDraftTableRows().
  • Rename cms()->hubdb()->rowsBatchApi()->batchUpdateDraftTableRows() => cms()->hubdb()->rowsBatchApi()->updateDraftTableRows().
  • cms()->hubdb()->tablesApi()->getDraftTableDetailsById($table_id_or_name, $archived = null, $include_foreign_ids = null) => cms()->hubdb()->tablesApi()->getDraftTableDetailsById($table_id_or_name, $include_foreign_ids = null, $archived = null)
  • cms()->hubdb()->tablesApi()->getTableDetails($table_id_or_name, $archived = null, $include_foreign_ids = null) => cms()->hubdb()->tablesApi()->getTableDetails($table_id_or_name, $include_foreign_ids = null, $archived = null)
  • cms()->hubdb()->tablesApi()->updateDraftTable($table_id_or_name, $hub_db_table_v3_request, $archived = null, $include_foreign_ids = null) => cms()->hubdb()->tablesApi()->updateDraftTable($table_id_or_name, $hub_db_table_v3_request, $include_foreign_ids = null, $archived = null)
  • Removed crm()->companies()->associationsApi.
  • Removed crm()->contacts()->associationsApi.
  • Removed crm()->deals()->associationsApi.
  • Removed crm()->line_items()->associationsApi.
  • Removed crm()->objects()->calls()->associationsApi.
  • Removed crm()->objects()->emails()->associationsApi.
  • Removed crm()->objects()->feedbackSubmissions()->associationsApi.
  • Removed crm()->objects()->meetings()->associationsApi.
  • Removed crm()->objects()->notes()->associationsApi.
  • Removed crm()->objects()->postalMail()->associationsApi.
  • Removed crm()->objects()->tasks()->associationsApi.
  • Removed crm()->products()->associationsApi.
  • Removed crm()->quotes()->associationsApi.
  • Removed crm()->tickets()->associationsApi.
  • crm()->companies()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->companies()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->contacts()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->contacts()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->deals()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->deals()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->line_items()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->line_items()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->calls()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->calls()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->emails()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->emails()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->feedbackSubmissions()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->feedbackSubmissions()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->meetings()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->meetings()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->notes()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->notes()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->postalMail()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->postalMail()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->tasks()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->tasks()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->products()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->products()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->quotes()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->quotes()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • crm()->objects()->tickets()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->objects()->tickets()->batchApi()->create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)
  • marketing()->events()->marketingEventsExternalApi()->doSearch() => marketing()->events()->searchApi()->doSearch()
  • Rename oauth()->accessTokensApi()->getAccessToken => oauth()->accessTokensApi()->get.
  • Rename oauth()->refreshTokensApi()->archiveRefreshToken => oauth()->refreshTokensApi()->archive.
  • Rename oauth()->refreshTokensApi()->getRefreshToken => oauth()->refreshTokensApi()->get.
  • Rename oauth()->tokensApi()->createToken => oauth()->tokensApi()->create.
  • Added param properties to crm()->properties()->coreApi()->getAll.
  • Added param properties to crm()->properties()->coreApi()->getByName.
  • Added param highValue to all Filter's model.

Update models for crm()->properties() API client

02 Mar 12:16
2b7f206
Compare
Choose a tag to compare
Merge pull request #224 from HubSpot/feature/9.4.0

9.4.0

Crm associations v4 (crm()->associations()->v4()) API client

20 Feb 08:22
9cd97ad
Compare
Choose a tag to compare

Changes:

  • added crm()->associations()->v4 API client
  • fixed auth()->oauth()->refreshTokensApi()->archiveRefreshToken() method

Fix crm()->associations() API client

12 Jan 14:03
f721577
Compare
Choose a tag to compare
Merge pull request #206 from HubSpot/feature/9.2.2

9.2.2

Added pipelineAuditsApi and pipelineStageAuditsApi to crm()->pipelines() discovery

22 Dec 14:46
ea08afc
Compare
Choose a tag to compare
Merge pull request #201 from HubSpot/feature/9.2.1

bump version to 9.2.1

Added crm()->objects()->postalMail() API client

19 Dec 12:53
1c7533a
Compare
Choose a tag to compare
Merge pull request #199 from HubSpot/fix/postalMailTest

Fix postal mail test