Skip to content

Latest commit

 

History

History
1344 lines (1025 loc) · 110 KB

File metadata and controls

1344 lines (1025 loc) · 110 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

14.0.7 - 2026-04-23

CRM Associations V3

  • crm()->associations()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponsePublicAssociationWithErrors model.
  • crm()->associations()->batchApi()->read() now handles HTTP 207 (partial success) responses, returning BatchResponsePublicAssociationMultiWithErrors.
  • HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation no longer includes errors and numErrors fields — those are available on the new BatchResponsePublicAssociationWithErrors model.
  • HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti no longer includes errors and numErrors fields — those are available on the new BatchResponsePublicAssociationMultiWithErrors model.
  • Added new models: BatchResponsePublicAssociationWithErrors, BatchResponsePublicAssociationMultiWithErrors.

CRM Properties

  • crm()->properties()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponsePropertyWithErrors model.
  • crm()->properties()->batchApi()->read() now handles HTTP 207 (partial success) responses, returning BatchResponsePropertyWithErrors.
  • HubSpot\Client\Crm\Properties\Model\BatchResponseProperty no longer includes errors and numErrors fields — those are available on the new BatchResponsePropertyWithErrors model.
  • Added new fields currencyPropertyName, numberDisplayHint, and showCurrencySymbol to Property, PropertyCreate, and PropertyUpdate models.
  • Added new model: BatchResponsePropertyWithErrors.

14.0.6 - 2026-04-22

OAuth

  • Added code_verifier and scope as optional parameters to oauth()->tokensApi()->create().
  • Added refresh_token field to HubSpot\Client\Oauth\Model\TokenResponseIF.
  • Fixed JSON attribute mappings in HubSpot\Client\Oauth\Model\TokenResponseIF to use snake_case keys (access_token, expires_in, hub_id, token_type) matching the actual API response.

CRM Objects

  • crm()->objects()->basicApi()->create() now returns HTTP 201 instead of 200.
  • crm()->objects()->basicApi()->getPage() return type changed from CollectionResponseSimplePublicObjectWithAssociations to CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.
  • crm()->objects()->batchApi()->create() now returns HTTP 201 instead of 200, and handles HTTP 207 (partial success) responses with new BatchResponseSimplePublicObjectWithErrors model.
  • crm()->objects()->batchApi()->read() and update() now handle HTTP 207 (partial success) responses, returning BatchResponseSimplePublicObjectWithErrors.
  • crm()->objects()->batchApi()->upsert() now handles HTTP 207 (partial success) responses, returning BatchResponseSimplePublicUpsertObjectWithErrors.
  • HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObject no longer includes errors and numErrors fields — those are available on the new BatchResponseSimplePublicObjectWithErrors model.
  • HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObject no longer includes errors and numErrors fields — those are available on the new BatchResponseSimplePublicUpsertObjectWithErrors model.
  • Renamed model CollectionResponseSimplePublicObjectWithAssociations to CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.
  • Added new models: BatchResponseSimplePublicObjectWithErrors, BatchResponseSimplePublicUpsertObjectWithErrors, ForwardPaging.

14.0.5 - 2026-04-02

CRM Associations V4

  • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->archive() and archiveLabels() to void instead of BatchResponseVoid|Error. The BatchResponseVoid model has been removed.
  • crm()->associations()->v4()->batchApi()->create() now handles HTTP 207 (partial success) responses, returning new BatchResponseLabelsBetweenObjectPairWithErrors model.
  • crm()->associations()->v4()->batchApi()->getPage() now handles HTTP 207 (partial success) responses, returning new BatchResponsePublicAssociationMultiWithLabelWithErrors model.
  • HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair model no longer includes errors and numErrors fields — those are available on the new HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors model.
  • Added new models: HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors, HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabelWithErrors.

14.0.4 - 2026-03-24

  • Corrected parameter names for forms in Files and CRM Imports clients.

14.0.3 - 2026-03-05

CRM Association V4

  • Updated crm()->associations()->v4()->basicApi()->create() method to return status code 201.
  • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->create() to return LabelsBetweenObjectPair | Error instead of CreatedResponseLabelsBetweenObjectPair | Error.
  • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->getPage() to return CollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error instead of CollectionResponseMultiAssociatedObjectWithLabel | Error.

14.0.2 - 2026-02-27

CRM Objects

  • Updated all batch create methods of CRM objects to return status code 201.

14.0.1 - 2026-02-25

CRM Objects

  • Updated all create methods of CRM objects to return status code 201.

14.0.0 - 2026-02-23

CMS Source Code and HubDB

  • Changed the return type of the response object in cms()->sourceCode()->contentApi()->download() from \HubSpot\Client\Cms\SourceCode\Model\Error to \SplFileObject|\HubSpot\Client\Cms\SourceCode\Model\Error.
  • Added the $environment parameter as the first argument to the cms()->sourceCode()->contentApi()->doValidate() method.
  • Added removeTableVersion() method to cms()->hubdb()->tablesApi().
  • Added is_get_localized_schema option to cms()->hubdb()->tablesApi()->getAllDraftTables() and cms()->hubdb()->tablesApi()->getAllTables().
  • Added max_number_of_characters and max_number_of_options properties to HubSpot\Client\Cms\Hubdb\Model\ColumnRequest.
  • Added deleted_at property to HubSpot\Client\Cms\Hubdb\Model\HubDbTableV3.

CRM

  • Added pipeline_id option to crm()->pipelines()->pipelineStageAuditsApi()->getAudit().
  • Made metadata property required in HubSpot\Client\Crm\Pipelines\Model\PipelineStage, HubSpot\Client\Crm\Pipelines\Model\PipelineStageInput and HubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput.
  • Added getById() method to crm()->exports()->publicExportsApi().
  • Added filter_groups property to HubSpot\Client\Crm\Exports\Model\PublicCrmSearchRequest.
  • Added include_labeled_associations and include_primary_display_property_for_associated_objects properties to HubSpot\Client\Crm\Exports\Model\PublicExportListRequest, HubSpot\Client\Crm\Exports\Model\PublicExportViewRequest and HubSpot\Client\Crm\Exports\Model\PublicExportRequest.
  • Removed public_crm_search_request property from HubSpot\Client\Crm\Exports\Model\PublicExportListRequest.
  • Removed list_id property from HubSpot\Client\Crm\Exports\Model\PublicExportViewRequest.
  • Renamed method crm()->extensions()->calling()->channelConnectionSettingsApi()->archive() to crm()->extensions()->calling()->channelConnectionSettingsApi()->remove().
  • Renamed method crm()->extensions()->calling()->channelConnectionSettingsApi()->getById() to crm()->extensions()->calling()->channelConnectionSettingsApi()->get().
  • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->getUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->get().
  • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->registerUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->create().
  • Renamed method crm()->extensions()->calling()->recordingSettingsApi()->updateUrlFormat() to crm()->extensions()->calling()->recordingSettingsApi()->update().
  • Renamed method crm()->extensions()->calling()->settingsApi()->archive() to crm()->extensions()->calling()->settingsApi()->remove().
  • Renamed method crm()->extensions()->calling()->settingsApi()->getById() to crm()->extensions()->calling()->settingsApi()->get().
  • Renamed crm()->lists()->mappingApi() to crm()->lists()->idMappingApi().
  • Removed crm()->lists()->foldersApi() and moved all methods into crm()->lists()->listManagementApi().
  • Moved getPageOrderedByAddedToListDate() method to crm()->lists()->joinOrderApi().
  • Added getConversionDetails(), scheduleOrUpdateConversion() and cancelConversion() methods to crm()->lists()->listManagementApi().
  • Added list_permissions and membership_settings properties to HubSpot\Client\Crm\Lists\Model\ListCreateRequest and HubSpot\Client\Crm\Lists\Model\PublicObjectList.
  • Added is_public_list property to HubSpot\Client\Crm\Lists\Model\RecordListMembership.
  • Changed property type from filter_branch:PublicPropertyAssociationFilterBranchFilterBranchesInner to filter_branch:ListFilterUpdateRequestFilterBranch in HubSpot\Client\Crm\Lists\Model\ListFilterUpdateRequest and HubSpot\Client\Crm\Lists\Model\PublicObjectList.
  • Updated the return type of the response object in crm()->properties()->batchApi()->create(), crm()->properties()->batchApi()->read() by removing BatchResponsePropertyWithErrors from the possible return types.
  • Added locale option to crm()->properties()->batchApi()->read(), crm()->properties()->groupsApi()->getAll(), crm()->properties()->groupsApi()->getByName().
  • Added data_sensitivity and locale options to crm()->properties()->coreApi()->getAll() and crm()->properties()->coreApi()->getByName().
  • Added data_sensitivity property to HubSpot\Client\Crm\Properties\Model\BatchReadInputPropertyName, HubSpot\Client\Crm\Properties\Model\Property, HubSpot\Client\Crm\Properties\Model\PropertyCreate.
  • Added properties errors and num_errors to HubSpot\Client\Crm\Properties\Model\BatchResponseProperty.

CRM Objects

  • Updated the return type of basicApi()->getPage() in crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->feedbackSubmissions(), crm()->objects()->goals(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() to return CollectionResponseSimplePublicObjectWithAssociations | Error instead of CollectionResponseSimplePublicObjectWithAssociationsForwardPaging | Error.
  • Updated the return type of batchApi()->create(), batchApi()->read() and batchApi()->update() in crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->feedbackSubmissions() (read only), crm()->objects()->goals(), crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() by removing BatchResponseSimplePublicObjectWithErrors from the possible return types.
  • Updated the return type of batchApi()->upsert() in crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->goals(), crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() by removing BatchResponseSimplePublicUpsertObjectWithErrors from the possible return types.
  • Updated the return type of searchApi()->doSearch() in crm()->companies(), crm()->deals(), crm()->lineItems(), crm()->quotes(), crm()->tickets(), crm()->commerce()->invoices(), crm()->objects()->calls(), crm()->objects()->communications(), crm()->objects()->emails(), crm()->objects()->feedbackSubmissions(), crm()->objects()->goals(), crm()->objects()->leads(), crm()->objects()->meetings(), crm()->objects()->notes(), crm()->objects()->postalMail(), crm()->objects()->tasks(), crm()->objects()->taxes() and crm()->objects() to return CollectionResponseWithTotalSimplePublicObject | Error instead of CollectionResponseWithTotalSimplePublicObjectForwardPaging | Error.
  • Added properties errors and num_errors to HubSpot\Client\Crm\Companies\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Companies\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Deals\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Deals\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\LineItems\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\LineItems\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Quotes\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Quotes\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Tickets\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Tickets\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Commerce\Invoices\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Commerce\Invoices\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Calls\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Calls\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Communications\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Communications\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Emails\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Emails\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Goals\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Goals\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Meetings\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Meetings\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Notes\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Notes\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\PostalMail\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\PostalMail\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Tasks\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Tasks\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Taxes\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Taxes\Model\BatchResponseSimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicObject, HubSpot\Client\Crm\Objects\Model\BatchResponseSimplePublicUpsertObject.
  • Added property url to HubSpot\Client\Crm\Companies\Model\SimplePublicObject, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Companies\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Deals\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\LineItems\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Model\SimplePublicUpsertObject.

CRM Associations V3

  • Changed the return type of the response object in crm()->associations()->batchApi()->create() from \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation|\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationWithErrors|\HubSpot\Client\Crm\Associations\Model\Error to \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation|\HubSpot\Client\Crm\Associations\Model\Error.
  • Changed the return type of the response object in crm()->associations()->batchApi()->read() from \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMultiWithErrors|\HubSpot\Client\Crm\Associations\Model\Error to \HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti|\HubSpot\Client\Crm\Associations\Model\Error.
  • Added properties errors and num_errors to HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociation, HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti.

CRM Associations V4

  • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->create() to return CreatedResponseLabelsBetweenObjectPair | Error instead of LabelsBetweenObjectPair | Error.
  • Updated the return type of the response object in crm()->associations()->v4()->basicApi()->getPage() to return CollectionResponseMultiAssociatedObjectWithLabel | Error instead of CollectionResponseMultiAssociatedObjectWithLabelForwardPaging | Error.
  • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->archive() and crm()->associations()->v4()->batchApi()->archiveLabels() to return \HubSpot\Client\Crm\Associations\V4\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Model\Error instead of void.
  • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->create() by removing BatchResponseLabelsBetweenObjectPairWithErrors from the possible return types.
  • Updated the return type of the response object in crm()->associations()->v4()->batchApi()->getPage() by removing BatchResponsePublicAssociationMultiWithLabelWithErrors from the possible return types.
  • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchCreate() by removing BatchResponsePublicAssociationDefinitionUserConfigurationWithErrors from the possible return types.
  • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchRemove() to return \HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponseVoid|\HubSpot\Client\Crm\Associations\V4\Schema\Model\Error instead of void.
  • Updated the return type of the response object in crm()->associations()->v4()->schema()->definitionConfigurationsApi()->batchUpdate() by removing BatchResponsePublicAssociationDefinitionConfigurationUpdateResultWithErrors from the possible return types.
  • Renamed getAll() to getPage() in crm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type from CollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | Error to CollectionResponsePublicAssociationDefinitionUserConfiguration | Error.
  • Renamed getAllBetweenTwoObjectTypes() to getPageBetweenTwoObjectTypes() in crm()->associations()->v4()->schema()->definitionConfigurationsApi(), and updated the return type from CollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging | Error to CollectionResponsePublicAssociationDefinitionUserConfiguration | Error.
  • Changed the return type of crm()->associations()->v4()->schema()->definitionsApi()->create() from CollectionResponseAssociationSpecWithLabelNoPaging | Error to CollectionResponseAssociationSpecWithLabel | Error.
  • Renamed getAll() to getPage() in crm()->associations()->v4()->schema()->definitionsApi(), and updated the return type from CollectionResponseAssociationSpecWithLabelNoPaging | Error to CollectionResponseAssociationSpecWithLabel | Error.
  • Changed the order of parameters in crm()->associations()->v4()->schema()->definitionsApi()->remove() from $from_object_type, $to_object_type, $association_type_id to $association_type_id, $from_object_type, $to_object_type.
  • Added properties errors and num_errors to HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair, HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabel, HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionConfigurationUpdateResult and HubSpot\Client\Crm\Associations\V4\Schema\Model\BatchResponsePublicAssociationDefinitionUserConfiguration.

Marketing

  • Renamed marketing()->emails()->marketingEmailsApi() to marketing()->emails()->emailsApi().
  • Changed parameter name and type from ContentCloneRequestVNext $content_clone_request_v_next to EmailCloneRequestVNext $email_clone_request_v_next in marketing()->emails()->emailsApi()->callClone().
  • Added archived, included_properties, include_stats, marketing_campaign_names, variant_stats and workflow_names parameters to marketing()->emails()->emailsApi()->getAbTestVariation().
  • Added campaign, published_after, published_at, published_before and variant_stats parameters to marketing()->emails()->emailsApi()->getPage().
  • Added variant_stats optional parameter to marketing()->emails()->emailsApi()->getById().
  • Added folder_id_v2 property to HubSpot\Client\Marketing\Emails\Model\EmailCreateRequest and HubSpot\Marketing\Emails\Model\EmailUpdateRequest.
  • Added all_email_campaign_ids, campaign_utm, cloned_from, email_campaign_group_id, email_template_mode, folder_id_v2, is_ab, preview_key, primary_email_campaign_id, published_by_email, published_by_name, teams_with_access, unpublished_at and users_with_access properties to HubSpot\Client\Marketing\Emails\Model\PublicEmail.
  • Added is_ab_variation property to HubSpot\Client\Marketing\Emails\Model\PublicEmailTestingDetails.
  • Renamed marketing()->events()->addEventAttendeesApi() to marketing()->events()->eventAttendeesApi().
  • Renamed marketing()->events()->changePropertyApi() to marketing()->events()->eventStatusApi().
  • Renamed marketing()->events()->retrieveParticipantStateApi() to marketing()->events()->participantStateApi().
  • Added event_status_v2 property to HubSpot\Client\Marketing\Events\Model\MarketingEventPublicReadResponseV2.
  • Added source_upstream_deployable property to HubSpot\Client\Marketing\Events\Model\PropertyValue.
  • Added embed_type property to HubSpot\Client\Marketing\Forms\Model\HubSpotFormConfiguration.
  • Changed property type from fields:DependentFieldDependentField[] to fields:FieldGroupFieldsInner[] in HubSpot\Client\Marketing\Forms\Model\FieldGroup.
  • Changed property type from legal_consent_options:HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions to legal_consent_options:HubSpotFormDefinitionPatchRequestLegalConsentOptions in HubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionPatchRequest.
  • Renamed marketing()->transactional()->publicSMTPTokensApi() to marketing()->transactional()->smtpTokensApi().
  • Renamed marketing()->transactional()->singleSendApi() to marketing()->transactional()->sendTransactionalEmailApi().
  • Added message property to HubSpot\Client\Marketing\Transactional\Model\EmailSendStatusView.

CommunicationPreferences, Files, OAuth, Settings and Webhooks

  • Renamed communicationPreferences()->definitionApi() to communicationPreferences()->definitionsApi() API client.
  • Changed parameters order from $file_id, $file = null, $charset_hunch = null, $options = null to $file_id, $charset_hunch = null, $file = null, $options = null in files()->filesApi()->replace().
  • Changed parameters order from $file = null, $folder_id = null, $folder_path = null, $file_name = null, $charset_hunch = null, $options = null to $charset_hunch = null, $file = null, $file_name = null, $folder_id = null, $folder_path = null, $options = null in files()->filesApi()->upload().
  • Added is_private_distribution and signed_access_token properties to HubSpot\Client\Oauth\Model\AccessTokenInfoResponse.
  • Removed refresh_token property from HubSpot\Client\Oauth\Model\TokenResponseIF.
  • Added hub_id, scopes and user_id properties to HubSpot\Client\Oauth\Model\TokenResponseIF.
  • Renamed settings()->businessUnits()->businessUnitApi() to settings()->businessUnits()->businessUnitsApi().
  • Renamed settings()->users()->usersApi()->replace() to settings()->users()->usersApi()->update().
  • Added event_type_name property to HubSpot\Client\Webhooks\Model\SubscriptionCreateRequest and HubSpot\Client\Webhooks\Model\SubscriptionResponse.

13.2.0 - 2025-12-17

Updates

  • Updated ObjectType enum.

13.1.1 - 2025-11-17

Fixes

  • Fixed typing in ObjectTypeIDs enum.

13.1.0 - 2025-11-13

Updates

  • Added ObjectTypeIDs enum.
  • Updated AssociationTypes enum.
  • Updated crm()->obects() API client.

13.0.1 - 2025-05-13

Updates

  • Fixed RetryMiddlewareFactory.

13.0.0 - 2025-05-12

CRM Tickets

  • Moved method merge() from crm()->tickets()->mergeApi() to crm()->tickets()->basicApi().
  • Removed crm()->tickets()->mergeApi() API.
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Tickets\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Tickets\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->tickets()->batchApi()->create().
  • Made association_category and association_type_id properties required in HubSpot\Client\Crm\Tickets\Model\AssociationSpec.
  • Made types and to properties required in HubSpot\Client\Crm\Tickets\Model\PublicAssociationsForObject.
  • Made id property required in HubSpot\Client\Crm\Tickets\Model\PublicObjectId.
  • Added property object_write_trace_id to HubSpot\Client\Crm\Tickets\Model\SimplePublicObject, HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectWithAssociations and HubSpot\Client\Crm\Tickets\Model\SimplePublicUpsertObject.
  • Removed property object_write_trace_id from HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput and HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate.
  • Added email, after and archived optrions to crm()->owners()->getAll().

Updates

  • Added createMiddlewareByHttpCodeRanges and getRetryFunctionByRanges methods to RetryMiddlewareFactory.
  • 504 http code was removed from RetryMiddlewareFactory::createInternalErrorsMiddleware().
  • 520-599 http codes range is added to RetryMiddlewareFactory::createInternalErrorsMiddleware().

13.0.0beta.1 - 2025-04-28

CMS

  • Moved methods archive, callClone, create, getById, pushLive, resetDraft, schedule, update and updateDraft from cms()->blogs()->blogPostsApi() to cms()->blogs()->basicApi().
  • Moved and renamed methods archiveBatch => archive, createBatch => create, readBatch => read and updateBatch => update from cms()->blogs()->blogPostsApi() to cms()->blogs()->batchApi().
  • Moved methods attachToLangGroup, createLangVariation, detachFromLangGroup, setLangPrimary and updateLangs from cms()->blogs()->blogPostsApi() to cms()->blogs()->multiLanguageApi().
  • Removed cms()->perfomance() API client.

CRM

  • Added crm()->associations()->v4()->schema()->definitionConfigurationsApi() API.
  • Renamed method crm()->associations()->v4()->schema()->definitionsApi()->archive() to crm()->associations()->v4()->schema()->definitionsApi()->remove().
  • Added crm()->extensions()->calling()->channelConnectionSettingsApi() API.
  • Added properties uses_remote and uses_calling_window to HubSpot\Client\Crm\Extensions\Calling\Model\SettingsPatchRequest, HubSpot\Client\Crm\Extensions\Calling\Model\SettingsRequest and HubSpot\Client\Crm\Extensions\Calling\Model\SettingsResponse.
  • Added options include_error_message and include_row_data to crm()->imports()->publicImportsApi()->getErrors().
  • Added property contains_encrypted_properties to HubSpot\Client\Crm\Imports\Model\ImportRowCore.
  • Added properties invalid_property_value, error_message and invalid_value_to_display to HubSpot\Client\Crm\Imports\Model\PublicImportError.
  • Added property mapped_object_type_ids to HubSpot\Client\Crm\Imports\Model\PublicImportResponse.

CRM objects

  • Moved method merge() from crm()->companies()->mergeApi() to crm()->companies()->basicApi().
  • Removed crm()->companies()->mergeApi() API.
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Companies\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Companies\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->companies()->batchApi()->create().
  • Made association_category and association_type_id properties required in HubSpot\Client\Crm\Companies\Model\AssociationSpec, HubSpot\Client\Crm\Contacts\Model\AssociationSpec, HubSpot\Client\Crm\Deals\Model\AssociationSpec.
  • Made types and to properties required in HubSpot\Client\Crm\Companies\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Contacts\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Deals\Model\PublicAssociationsForObject.
  • Made id property required in HubSpot\Client\Crm\Companies\Model\PublicObjectId, HubSpot\Client\Crm\Contacts\Model\PublicObjectId, HubSpot\Client\Crm\Deals\Model\PublicObjectId.
  • Added property object_write_trace_id to HubSpot\Client\Crm\Companies\Model\SimplePublicObject, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Companies\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Contacts\Model\SimplePublicObject, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Contacts\Model\SimplePublicUpsertObject,HubSpot\Client\Crm\Deals\Model\SimplePublicObject, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Deals\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\LineItems\Model\SimplePublicObject, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\LineItems\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Quotes\Model\SimplePublicObject, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Quotes\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Goals\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Goals\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObject, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectWithAssociations, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicUpsertObject, HubSpot\Client\Crm\Products\Model\SimplePublicObject, HubSpot\Client\Crm\Products\Model\SimplePublicObjectWithAssociations and HubSpot\Client\Crm\Products\Model\SimplePublicUpsertObject.
  • Removed property object_write_trace_id from HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectInput, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Products\Model\SimplePublicObjectInput and HubSpot\Client\Crm\Products\Model\SimplePublicObjectInputForCreate.
  • Moved method merge() from crm()->contacts()->mergeApi() to crm()->contacts()->basicApi().
  • Removed crm()->contacts()->mergeApi() API.
  • Moved method purge() from crm()->contacts()->GDPRApi() to crm()->contacts()->basicApi().
  • Removed crm()->contacts()->GDPRApi() API.
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Contacts\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Contacts\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->contacts()->batchApi()->create().
  • Moved method merge() from crm()->deals()->mergeApi() to crm()->deals()->basicApi().
  • Removed crm()->deals()->mergeApi() API.
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Deals\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Deals\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->deals()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\LineItems\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\LineItems\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->lineItems()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Quotes\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Quotes\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->quotes()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Calls\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Calls\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->calls()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Emails\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Emails\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->emails()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Leads\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Leads\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->leads()->batchApi()->create().
  • Added methods archive(), create() and update() to crm()->objects()->goals()->basicApi().
  • Added methods archive(), create(), upsert() and update() to crm()->objects()->goals()->batchApi().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Meetings\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Meetings\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->meetings()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Notes\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Notes\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->notes()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\PostalMail\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\PostalMail\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->postalMail()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Tasks\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Tasks\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->tasks()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Objects\Taxes\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Objects\Taxes\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->objects()->taxes()->batchApi()->create().
  • Changed option type batch_input_simple_public_object_input_for_create: HubSpot\Client\Crm\Products\Model\BatchInputSimplePublicObjectInputForCreate to batch_input_simple_public_object_batch_input_for_create: HubSpot\Client\Crm\Products\Model\BatchInputSimplePublicObjectBatchInputForCreate in crm()->products()->batchApi()->create().

Events

  • Renamed events()->send()->customEventDataApi() to events()->send()->basicApi().
  • Added events()->send()->batchApi() API.

Marketing Events

  • Renamed marketing()->events()->attendanceSubscriberStateChangesApi() to marketing()->events()->addEventAttendeesApi().
  • Added new methods recordByContactId() and recordByEmail() to marketing()->events()->addEventAttendeesApi().
  • Added marketing()->events()->batchApi() API.
  • Moved and renamed methods batchArchive => archive and batchUpsert => create from marketing()->events()->basicApi() to marketing()->events()->batchApi().
  • Added new methods archiveByObjectId(), getAll(), getByObjectId() and updateByObjectId() to marketing()->events()->basicApi().
  • Moved methods cancel and complete from marketing()->events()->basicApi() to marketing()->events()->changePropertyApi().
  • Added marketing()->events()->identifiersApi() API.
  • Moved method doSearch() from marketing()->events()->basicApi() to marketing()->events()->identifiersApi().
  • Renamed marketing()->events()->participantStateApi() to marketing()->events()->retrieveParticipantStateApi().
  • Changed the response object type from \HubSpot\Client\Marketing\Events\Model\CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging|\HubSpot\Client\Marketing\Events\Model\Error to \HubSpot\Client\Marketing\Events\Model\CollectionResponseSearchPublicResponseWrapperNoPaging|\HubSpot\Client\Marketing\Events\Model\Error for marketing()->events()->identifiersApi()->doSearch().
  • Added new property object_id to HubSpot\Client\Marketing\Events\Model\MarketingEventDefaultResponse, HubSpot\Client\Marketing\Events\Model\MarketingEventPublicDefaultResponse and HubSpot\Client\Marketing\Events\Model\MarketingEventPublicReadResponse.

Files

  • Changed incomining parameters list in files()->filesApi()->doSearch().
  • Renamed method archiveGDPR() to delete() in files.filesApi.
  • Renamed method updateProperties() to updatePropertiesRecursively() in files.foldersApi.
  • Added new method updateProperties() to files.foldersApi.
  • Changed incomining parameters list in files()->foldersApi()->doSearch().
  • Added properties source_group and file_md5 to HubSpot\Client\Files\Model\File.
  • Added property clear_expires to HubSpot\Client\Files\Model\FileUpdateInput.
  • Changed property type from expires_at:int to expires_at:\DateTime in HubSpot\Client\Files\Model\FileUpdateInput.
  • Added property expires_at to HubSpot\Client\Files\Model\ImportFromUrlInput.
  • Removed property id from HubSpot\Client\Files\Model\FolderUpdateInput.

12.2.0 - 2025-04-28

Updated

  • Marked cms()->performance() API client as deprecated.

12.1.0 - 2025-04-08

Updated

  • Added crm()->commerce()->invoices() api client.
  • Added crm()->exports() api client.
  • Added crm()->objects()->dealSplits() api client.
  • Added marketing()->emails() api client.

12.0.0 - 2024-10-28

CMS

  • Added laguage consts to HubSpot\Client\Cms\Blogs\BlogPosts\Model\AttachToLangPrimaryRequestVNext.
  • Added parameter campaign_name to HubSpot\Client\Cms\Blogs\BlogPosts\Model\ContentLanguageVariation.
  • Added parameter breakpointStyles to HubSpot\Client\Cms\Blogs\BlogPosts\Model\Styles.
  • Added parameter name to cms()->hubdb()->rowsApi()->cloneDraftTableRow().
  • Added parameter archived to cms()->hubdb()->rowsApi()->getDraftTableRowById() and cms()->hubdb()->rowsApi()->getTableRow().
  • Added parameters offset and archived to cms()->hubdb()->rowsApi()->getTableRows() and cms()->hubdb()->rowsApi()->readDraftTableRows().
  • Changed the response object type from HubSpot\Client\Cms\Hubdb\Model\CollectionResponseWithTotalHubDbTableRowV3ForwardPaging|HubSpot\Client\Cms\Hubdb\Model\Error to HubSpot\Client\Cms\Hubdb\Model\UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3|HubSpot\Client\Cms\Hubdb\Model\Error for cms()->hubdb()->rowsApi()->getTableRows() and cms()->hubdb()->rowsApi()->readDraftTableRows().
  • Changed parameter batch_input_string: HubSpot\Client\Cms\Hubdb\Model\BatchInputString to batch_input_hub_db_table_row_batch_clone_request: HubSpot\Client\Cms\Hubdb\Model\BatchInputHubDbTableRowBatchCloneRequest in cms()->hubdb()->rowsBatchApi()->cloneDraftTableRows().
  • Added parameter content_type before archived parameter to cms()->hubdb()->tablesApi()->getAllDraftTables() and cms()->hubdb()->tablesApi()->getAllTables().
  • Changed parameters from string $table_id_or_name, bool $include_foreign_ids = null, boolean $archived = null to string $table_id_or_name, bool $is_get_localized_schema = null, bool $archived = null, bool $include_foreign_ids = null of cms()->hubdb()->tablesApi()->getDraftTableDetailsById() and cms()->hubdb()->tablesApi()->updateDraftTable().
  • Added parameters created_by_user_id, updated_by, updated_by_user_id, created_at, created_by and updated_at to HubSpot\Client\Cms\Hubdb\Model\Column and HubSpot\Client\Cms\Hubdb\Model\Option.
  • Added the parameter is_hubspot_defined to HubSpot\Client\Cms\Hubdb\Model\HubDbTableCloneRequest.
  • Removed cms()->source_code()->extractApi()->extractByPath() method.
  • Added doAsync() and getAsyncStatus() methods to cms()->source_code()->extractApi().
  • Removed cms()->source_code()->sourceCodeExtractApi.

CRM

  • Added crm()->associassociations()->v4()->reportApi().
  • Added method markAsReady to crm()->extensions()->calling()->recordingSettingsApi().
  • Added parameter supportsInboundCalling to HubSpot\Client\Crm\Extensions\SettingsPatchRequest, HubSpot\Client\Crm\Extensions\SettingsRequest and HubSpot\Client\Crm\Extensions\SettingsResponse.
  • Added method upsert to crm()->companies()->batchApi(), crm()->contacts()->batchApi(), crm()->deals()->batchApi(), crm()->lineItems()->batchApi(), crm()->objects()->batchApi(), crm()->objects()->calls()->batchApi(), crm()->objects()->communications()->batchApi(), crm()->objects()->emails()->batchApi(), crm()->objects()->meetings()->batchApi(), crm()->objects()->notes()->batchApi(), crm()->objects()->postalMail()->batchApi(), crm()->objects()->tasks()->batchApi(), crm()->objects()->taxes()->batchApi(), crm()->products()->batchApi(), crm()->quotes()->batchApi() and crm()->tickets()->batchApi().
  • Removed crm()->companies()->GDPRApi(), crm()->deals()->GDPRApi(), crm()->lineItems()->GDPRApi(), crm()->objects()->GDPRApi(), crm()->objects()->calls()->GDPRApi(), crm()->objects()->communications()->GDPRApi(), crm()->objects()->emails()->GDPRApi(), crm()->objects()->feedbackSubmissions()->GDPRApi(), crm()->objects()->goals()->GDPRApi(), crm()->objects()->meetings()->GDPRApi(), crm()->objects()->notes()->GDPRApi(), crm()->objects()->postalMail()->GDPRApi(), crm()->objects()->tasks()->GDPRApi(), crm()->objects()->taxes()->GDPRApi(), crm()->products()->GDPRApi(), crm()->quotes()->GDPRApi(), crm()->tickets()->GDPRApi().
  • Renamed publicObjectApi to mergeApi in crm()->companies(), crm()->contacts(), crm()->deals() and crm()->tickets().
  • Removed crm()->lineItems()->publicObjectApi(), crm()->objects()->publicObjectApi(), crm()->objects()->calls()->publicObjectApi(), crm()->objects()->communications()->publicObjectApi(), crm()->objects()->emails()->publicObjectApi(), crm()->objects()->feedbackSubmissions()->publicObjectApi(), crm()->objects()->goals()->publicObjectApi(), crm()->objects()->meetings()->publicObjectApi(), crm()->objects()->notes()->publicObjectApi(), crm()->objects()->postalMail()->publicObjectApi(), crm()->objects()->tasks()->publicObjectApi(), crm()->objects()->taxes()->publicObjectApi(), crm()->products()->publicObjectApi() and crm()->quotes()->publicObjectApi().
  • Made associationCategory and associationTypeId parameters nullable in HubSpot\Client\Crm\Companies\Model\AssociationSpec, HubSpot\Client\Crm\Contacts\Model\AssociationSpec, HubSpot\Client\Crm\Deals\Model\AssociationSpec, HubSpot\Client\Crm\Tickets\Model\AssociationSpec.
  • Made types and to parameters nullable in HubSpot\Client\Crm\Companies\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Contacts\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Deals\Model\PublicAssociationsForObject, HubSpot\Client\Crm\Tickets\Model\PublicAssociationsForObject.
  • Made id parameter nullable in HubSpot\Client\Crm\Companies\Model\PublicObjectId, HubSpot\Client\Crm\Contacts\Model\PublicObjectId, HubSpot\Client\Crm\Deals\Model\PublicObjectId and HubSpot\Client\Crm\Tickets\Model\PublicObjectId.
  • Made limit, after, sorts, properties and filterGroups parameters nullable in HubSpot\Client\Crm\Companies\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Contacts\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Deals\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\LineItems\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Calls\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Communications\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Emails\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Goals\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Leads\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Meetings\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Notes\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\PostalMail\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Tasks\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Objects\Taxes\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Products\Model\PublicObjectSearchRequest, HubSpot\Client\Crm\Quotes\Model\PublicObjectSearchRequest and HubSpot\Client\Crm\Tickets\Model\PublicObjectSearchRequest.
  • Made properties parameter required in HubSpot\Client\Crm\LineItems\Model\SimplePublicObject.
  • Added parameter objectWriteTraceId to HubSpot\Client\Crm\Companies\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectInput, HubSpot\Client\Crm\LineItems\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Calls\Model\SimplePublicObjectInputForCreate,HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Communications\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Emails\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Leads\Model\SimplePublicObjectBatchInputUpsert, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Meetings\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Notes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\PostalMail\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Tasks\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Objects\Taxes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Products\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Products\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Products\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectInput, HubSpot\Client\Crm\Quotes\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectBatchInput, HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput and HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate.
  • Made associations parameter nullable in HubSpot\Client\Crm\Companies\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectInputForCreate, HubSpot\Client\Crm\Deals\Model\SimplePublicObjectInputForCreate and HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInputForCreate.
  • Removed archive, create and update methods from crm()->objects()->feedbackSubmissions()->basicApi(), crm()->objects()->feedbackSubmissions()->batchApi(), crm()->objects()->goals()->basicApi() and crm()->objects()->goals()->batchApi().
  • Changed response object type HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObject|HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObjectWithErrors|HubSpot\Client\Crm\Objects\Leads\Model\Error to HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicUpsertObject|HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicUpsertObjectWithErrors|HubSpot\Client\Crm\Objects\Leads\Model\Error of crm()->objects()->leads()->rowsApi()->upsert().
  • Added parameters user_id_including_inactive and type to HubSpot\Client\Crm\Owners\Model\PublicOwner.
  • Made metadata parameter nullable in HubSpot\Client\Crm\Pipelines\Model\PipelineStage, HubSpot\Client\Crm\Pipelines\Model\PipelineStageInput and HubSpot\Client\Crm\Pipelines\Model\PipelineStagePatchInput.
  • Removed crm()->schemas()->publicObjectSchemasApi().
  • Added parameters created_by_user_id and updated_by_user_id to HubSpot\Client\Crm\Schemas\Model\ObjectSchema.
  • Added parameter clear_description to HubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinitionPatch.

CRM Lists

  • Added crm()->lists()->foldersApi().
  • Added crm()->lists()->mappingApi().
  • Added crm()->lists()->membershipsApi()->getPageOrderedByAddedToListDate().
  • Added parameter custom_properties to HubSpot\Client\Crm\Lists\Model\ListCreateRequest.
  • Made list_ids, offset, processing_types and additional_properties parameters nullable in HubSpot\Client\Crm\Lists\Model\ListSearchRequest.
  • Changed pruning_refine_by type from HubSpot\Client\Crm\Lists\Model\PublicEventAnalyticsFilterCoalescingRefineBy to HubSpot\Client\Crm\Lists\Model\PublicFormSubmissionFilterCoalescingRefineBy in HubSpot\Client\Crm\Lists\Model\PublicAdsTimeFilter and HubSpot\Client\Crm\Lists\Model\PublicEmailEventFilter.
  • Changed coalescing_refine_by type from HubSpot\Client\Crm\Lists\Model\PublicEventAnalyticsFilterCoalescingRefineBy to HubSpot\Client\Crm\Lists\Model\PublicFormSubmissionFilterCoalescingRefineBy in HubSpot\Client\Crm\Lists\Model\PublicAssociationInListFilter, HubSpot\Client\Crm\Lists\Model\PublicNumAssociationsFilter and HubSpot\Client\Crm\Lists\Model\PublicPropertyAssociationInListFilter.
  • Changed pruning_refine_by and coalescing_refine_by type from HubSpot\Client\Crm\Lists\Model\PublicEventAnalyticsFilterCoalescingRefineBy to HubSpot\Client\Crm\Lists\Model\PublicFormSubmissionFilterCoalescingRefineBy in HubSpot\Client\Crm\Lists\Model\PublicCtaAnalyticsFilter, HubSpot\Client\Crm\Lists\Model\PublicEventAnalyticsFilter, HubSpot\Client\Crm\Lists\Model\PublicFormSubmissionFilter, HubSpot\Client\Crm\Lists\Model\PublicFormSubmissionOnPageFilter, HubSpot\Client\Crm\Lists\Model\PublicPageViewAnalyticsFilter, HubSpot\Client\Crm\Lists\Model\PublicPropertyAssociationFilterBranchFiltersInner and HubSpot\Client\Crm\Lists\Model\PublicUnifiedEventsFilter.
  • Changed operation type from HubSpot\Client\Crm\Lists\Model\PublicPropertyFilterOperation to HubSpot\Client\Crm\Lists\Model\PublicSurveyMonkeyValueFilterValueComparison in HubSpot\Client\Crm\Lists\Model\PublicEventFilterMetadata, HubSpot\Client\Crm\Lists\Model\PublicPropertyAssociationFilterBranchFiltersInner and HubSpot\Client\Crm\Lists\Model\PublicPropertyFilter.
  • Changed updated_by_id and created_by_id type from number to string in HubSpot\Client\Crm\Lists\Model\PublicObjectListSearchResult.
  • Added parameter coalescing_refine_by to HubSpot\Client\Crm\Lists\Model\PublicPropertyAssociationFilterBranchFilterBranchesInner and HubSpot\Client\Crm\Lists\Model\PublicUnifiedEventsFilterBranch.
  • Changed value_comparison type from HubSpot\Client\Crm\Lists\Model\PublicPropertyFilterOperation to HubSpot\Client\Crm\Lists\Model\PublicSurveyMonkeyValueFilterValueComparison in HubSpot\Client\Crm\Lists\Model\PublicSurveyMonkeyValueFilter.

Marketing clients

  • Renamed method create to recordByContactIds in marketing()->events()->attendanceSubscriberStateChangesApi().
  • Renamed method createByEmail to recordByContactEmails in marketing()->events()->attendanceSubscriberStateChangesApi().
  • Renamed method archiveBatch to batchArchive and moved frommarketing()->events()->batchApi to marketing()->events()->basicApi().
  • Renamed method doUpsert to batchUpsert and moved frommarketing()->events()->batchApi to marketing()->events()->basicApi().
  • Renamed method doCancel to cancel in marketing()->events()->basicApi().
  • Renamed method getById to getDetails in marketing()->events()->basicApi().
  • Renamed method replace to upsert in marketing()->events()->basicApi().
  • Added marketing()->events()->listAssociationsApi() API.
  • Renamed method create to update in marketing()->events()->settingsApi().
  • Renamed method doEmailUpsertById to upsertByContactEmail in marketing()->events()->subscriberStateChangesApi().
  • Renamed method doUpsertById to upsertByContactId in marketing()->events()->subscriberStateChangesApi().
  • Added new method complete to marketing()->events()->basicApi().
  • Moved method doSearch from marketing()->events()->searchApi to marketing()->events()->basicApi().
  • Added marketing()->events()->participantStateApi().
  • Added marketing()->events()->listAssociationsApi().
  • Removed marketing()->events()->batchApi(), marketing()->events()->marketingEventsExternalApi() and marketing()->events()->searchApi().
  • Added parameter eventCompleted to HubSpot\Client\Marketing\Events\Model\MarketingEventDefaultResponse, HubSpot\Client\Marketing\Events\Model\MarketingEventPublicDefaultResponse, HubSpot\Client\Marketing\Events\Model\MarketingEventPublicReadResponse and HubSpot\Client\Marketing\Events\Model\MarketingEventUpdateRequestParams.
  • Added parameters dataSensitivity, unit and isEncrypted to marketing/events/models/PropertyValue.
  • Renamed marketing()->transactional()->publicSmtpTokensApi() to marketing()->transactional()->publicSMTPTokensApi().

Events

  • Added new method getTypes to events()->eventsApi().
  • Changed parameters order from $object_type = null, $event_type = null, $occurred_after = null, $occurred_before = null, $object_id = null, $index_table_name = null, $index_specific_metadata = null, $after = null, $before = null, $limit = null, $sort = null, $object_property_propname = null, $property_propname = null, $id = null to $object_type = null, $event_type = null, $after = null, $before = null, $limit = null, $sort = null, $occurred_after = null, $occurred_before = null, $object_id = null, $object_property_propname = null, $property_propname = null, $id = null in events()->eventsApi()->getPage().

OAuth, Settings Users and Webhooks

  • Moved auth()->oauth() to oauth().
  • Added parameter business_unit_id to HubSpot\Client\CommunicationPreferences\Model\SubscriptionDefinition.
  • Added nullable parameters first_name and last_name to HubSpot\Client\Settings\Users\Model\PublicUser, HubSpot\Client\Settings\Users\Model\PublicUserUpdate and HubSpot\Client\Settings\Users\Model\UserProvisionRequest.
  • Added parameter object_type_id to HubSpot\Client\Webhooks\Model\SubscriptionCreateRequest and HubSpot\Client\Webhooks\Model\SubscriptionResponse.
  • Removed parameter period from HubSpot\Client\Webhooks\Model\ThrottlingSettings.

11.3.0 - 2024-08-15

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

11.2.0 - 2024-08-13

  • Added crm()->objects()->leads() api client.

11.1.0 - 2024-04-18

CRM Lists Beta

  • Cnanged type of list_id, app_id, email_id and business_unit_id from int to string in whole client.
  • Added method getLists() to crm()->lists()->membershipsApi().
  • Changed the return type from CollectionResponseLong|Error to ApiCollectionResponseJoinTimeAndRecordId|Error of getPage() method of crm()->lists()->membershipsApi().
  • Changed type from int to string in HubSpot\Client\Crm\Lists\Model\PublicObjectList:updated_by_id and HubSpot\Client\Crm\Lists\Model\PublicObjectList:created_by_id.

11.0.0 - 2024-03-06

Major change for SDK

  • Update Php version >=7.4

Automation Action client

  • Changed type of $extension_action_definition_input input param from ExtensionActionDefinition to PublicActionDefinition in automation()->actions()->definitionsApi()->create().
  • Renamed and changed type the third input param of automation()->actions()->definitionsApi()->update() from ExtensionActionDefinitionPatch $extension_action_definition_patch to PublicActionDefinition $public_action_definition_patch.
  • Changed the return type from ExtensionActionDefinition|Error to PublicActionDefinition|Error of create(), getById() and update() methods of automation()->actions()->definitionsApi().
  • Changed the return type from CollectionResponseExtensionActionDefinitionForwardPaging|Error to CollectionResponsePublicActionDefinitionForwardPaging|Error of getPage() method of automation()->actions()->definitionsApi().
  • Changed the return type from ActionFunctionIdentifier|Error to PublicActionFunctionIdentifier|Error of createOrReplaceByFunctionType() and createOrReplace() methods of automation()->actions()->functionsApi().
  • Changed the return type from ActionFunction|Error to PublicActionFunction|Error of getByFunctionType() and getById() methods of automation()->actions()->functionsApi().
  • Changed the return type from CollectionResponseActionFunctionIdentifierNoPaging|Error to CollectionResponsePublicActionFunctionIdentifierNoPaging|Error of getPage() method of automation()->actions()->functionsApi().
  • Changed the return type from ActionRevision|Error to PublicActionRevision|Error of getById() method of automation()->actions()->revisionsApi().
  • Changed the return type from CollectionResponseActionRevisionForwardPaging|Error to CollectionResponsePublicActionRevisionForwardPaging|Error of getPage() method of automation()->actions()->revisionsApi().
  • Added automation_field_type param to HubSpot\Client\Automation\Actions\Model\InputFieldDefinition.
  • Added new params to HubSpot\Client\Automation\Actions\Model\FieldTypeDefinition:
  'help_text' => 'string',
  'name' => 'string',
  'description' => 'string',
  'external_options_reference_type' => 'string',
  'label' => 'string',
  'type' => 'string',
  'field_type' => 'string',
  'options_url' => 'string',
  'external_options' => 'bool'

CMS clients

  • Changed the order of input params from $object_id = null, $user_id = null, $after = null, $before = null, $sort = null, $event_type = null, $limit = null, $object_type = null to $user_id = null, $event_type = null, $object_type = null, $object_id = null, $after = null, $before = null, $limit = null, $sort = null in cms()->auditLogs()->auditLogsApi()->getPage().
  • Removed params scope_to_scope_group_pks, trial_scopes and trial_scope_to_scope_group_pks from HubSpot\Client\Auth\OAuth\Model\AccessTokenInfoResponse.
  • Added prev param to HubSpot\Client\Cms\AuditLogs\Model\Paging.
  • Added property param to getById() and getPage() methods of cms()->blogs()->authors()->blogAuthorsApi(), cms()->blogs()->blogPosts()->blogPostsApi() and cms()->blogs()->tags()->blogTagsApi().
  • Change return type from Error to void of attachToLangGroup(), detachFromLangGroup() and updateLangs() methods of cms()->blogs()->authors()->blogAuthorsApi(), cms()->blogs()->blogPosts()->blogPostsApi() and cms()->blogs()->tags()->blogTagsApi().
  • Removed languages constants from AttachToLangPrimaryRequestVNext and UpdateLanguagesRequestVNext objects for all CMS blogs clients.
  • Changed type from object to string in StandardError:category for all CMS blogs clients.
  • Removed background position's constants from HubSpot\Client\Cms\Blogs\BlogPosts\Model\BackgroundImage.
  • Changed type from int to string in HubSpot\Client\Cms\Hubdb\Model\HubDbTableRowV3BatchUpdateRequest:id.
  • Renamed method get() to download() of cms()->sourceCode()->contentApi().
  • Renamed method replace() to createOrUpdate() of cms()->sourceCode()->contentApi().
  • Added param properties to cms()->sourceCode()->metadataApi()->get().
  • Added param hash to HubSpot\Client\Cms\SourceCode\Model\AssetFileMetadata.

CRM Associations and Objects clients

Note

Please note that CRM Objects includes: companies, contacts, deals, line items, all CRM objects crm->objects(), products, quotes and tickets

  • Changed type of $object_id and $to_object_id params from int to string in crm()->associations()->v4()->basicApi()->archive().
  • Changed type of $object_id and $to_object_id params from int to string in crm()->associations()->v4()->basicApi()->create().
  • Changed type of $from_object_id and $to_object_id params from int to string in crm()->associations()->v4()->basicApi()->createDefault().
  • Changed type of $object_id param from int to string in crm()->associations()->v4()->basicApi()->getPage().
  • Changed type from StandardError1[] to StandardError[] in HubSpot\Client\Crm\Associations\v4\Model\BatchResponsePublicDefaultAssociation:errors.
  • Changed type of to_object_id and from_object_id params from int to string in HubSpot\Client\Crm\Associations\v4\Model\LabelsBetweenObjectPair.
  • Changed type from int to string in HubSpot\Client\Crm\Associations\v4\Model\MultiAssociatedObjectWithLabel:to_object_id.
  • Changed type from ErrorCategory to string in HubSpot\Client\Crm\Associations\v4\Model\StandardError:category.
  • Renamed method delete() to archive() of crm()->associations()->v4()->schema()->definitionsApi().
  • Added param inverseLabel to HubSpot\Client\Crm\Associations\v4\Model\PublicAssociationDefinitionCreateRequest and HubSpot\Client\Crm\Associations\v4\Model\PublicAssociationDefinitionUpdateRequest.
  • Changed type from ErrorCategory to string in HubSpot\Client\Crm\Associations\Model\StandardError:category.
  • Changed type from int to string in PublicObjectSearchRequest:after in all CRM objects clients.
  • Added param id_property to SimplePublicObjectBatchInput in all CRM objects clients.
  • Removed crm()->objects()->associationsApi().
  • Renamed param from $postal_mail to $postal_mail_id in archive(), getById() and update() of crm()->objects()->postalMail()->basicApi().

Added APIs to CRM Objects clients

  • crm()->companies()->gdprApi() API.
  • crm()->deals()->gdprApi() API.
  • crm()->lineItems()->gdprApi() API.
  • crm()->objects()->calls()->gdprApi() API.
  • crm()->objects()->communications()->gdprApi() API.
  • crm()->objects()->emails()->gdprApi() API.
  • crm()->objects()->feedbackSubmissions()->gdprApi() API.
  • crm()->objects()->meetings()->gdprApi() API.
  • crm()->objects()->notes()->gdprApi() API.
  • crm()->objects()->postalMail()->GDPRApi() API.
  • crm()->objects()->tasks()->gdprApi() API.
  • crm()->products()->gdprApi() API.
  • crm()->quotes()->gdprApi() API.
  • crm()->tickets()->gdprApi() API.

The other CRM clients

  • Changed the order of input params from $app_id, $card_id to $card_id, $app_id in crm()->extensions()->cards()->cardsApi()->archive().
  • Changed the return type from CardResponse|Error to PublicCardResponse|Error of create(), getById() and update() methods of crm()->extensions()->cards()->cardsApi().
  • Changed the return type from CardListResponse|Error to PublicCardListResponse|Error of getAll() method of crm()->extensions()->cards()->cardsApi().
  • Changed the order of input params from $app_id, $card_id to $card_id, $app_id in crm()->extensions()->cards()->cardsApi()->getById().
  • Changed the order of input params from $app_id, $card_id, $card_patch_request to $card_id, $app_id, $card_patch_request in crm()->extensions()->cards()->cardsApi()->update().
  • Added serverless_function and card_type params to HubSpot\Client\Crm\Extensions\Cards\Model\CardFetchBody and HubSpot\Client\Crm\Extensions\Cards\Model\CardFetchBodyPatch.
  • Added NAME_MARKETING_EVENTS const to HubSpot\Client\Crm\Extensions\Cards\Model\CardObjectTypeBody.
  • Added audit_history param to HubSpot\Client\Crm\Extensions\Cards\Model\PublicCardResponse.
  • Added fetch_accounts_uri param to HubSpot\Client\Crm\Extensions\Videoconferencing\Model\ExternalSettings.
  • Added import_template and import_source params to HubSpot\Client\Crm\Imports\Model\PublicImportResponse.
  • Renamed method delete() to remove() of crm()->lists()->listsApi().
  • Renamed method deleteAll() to removeAll() of crm()->lists()->listsApi().
  • Added param $validate_deal_stage_usages_before_delete to crm()->pipelines()->pipelinesApi()->archive(), crm()->pipelines()->pipelinesApi()->replace() and crm()->pipelines()->pipelinesApi()->update().
  • Added write_permissions param to HubSpot\Client\Crm\Pipelines\Model\PipelineStage.
  • Added description param to HubSpot\Client\Crm\Schemas\Model\ObjectSchema, HubSpot\Client\Crm\Schemas\Model\ObjectSchemaEgg, HubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinition and HubSpot\Client\Crm\Schemas\Model\ObjectTypeDefinitionPatch.
  • Added option_sort_strategy, show_currency_symbol, form_field, referenced_object_type, text_display_hint, searchable_in_global_search and number_display_hint params to HubSpot\Client\Crm\Schemas\Model\ObjectTypePropertyCreate.
  • Added calculation_formula param to HubSpot\Client\Crm\Schemas\Model\Property.
  • Changed the return type from BatchResponseTimelineEventResponse|BatchResponseTimelineEventResponseWithErrors|Error to void of createBatch() method of crm()-timeline()->eventsApi().
  • Changed type from ErrorCategory to string in HubSpot\Client\Crm\Timeline\Model\StandardError:category.
  • Removed hapikey from crm()->extensions()->videoconferencing() API client.
  • Added crm()->extensions()->calling()->recordingSettingsApi() API.

Marketing clients

  • Added marketing()->events()->basicApi() API.
  • Added marketing()->events()->batchApi() API.
  • Moved method archive from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
  • Moved method create from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
  • Moved method doCancel from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
  • Moved method getById from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
  • Moved method replace from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
  • Moved method update from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->basicApi().
  • Moved and rename method archiveBatch => archive from marketing()->events()->marketingEventsExternalApi()->archiveBatch() to marketing()->events()->batchApi()->archive().
  • Moved method doUpsert from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->batchApi().
  • Moved method doEmailUpsertById from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->subscriberStateChanges().
  • Moved method doUpsertById from marketing()->events()->marketingEventsExternalApi() to marketing()->events()->subscriberStateChanges.
  • Renamed marketing()->events()->settingsExternalApi() => marketing()->events()->settingsApi().
  • Added is_large_value param to HubSpot\Client\Marketing\Events\Model\PropertyValue.
  • Changed type from ErrorCategory to string in HubSpot\Client\Marketing\Events\Model\StandardError:category.
  • Changed type from object to HubSpotFormDefinitionAllOfLegalConsentOptions in HubSpot\Client\Marketing\Forms\Model\CollectionResponseFormDefinitionBaseForwardPagingResultsInner:legal_consent_options, HubSpot\Client\Marketing\Forms\Model\FormDefinitionBase:legal_consent_options, HubSpot\Client\Marketing\Forms\Model\FormDefinitionCreateRequestBase:legal_consent_options, HubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinition:legal_consent_options and HubSpot\Client\Marketing\Forms\Model\HubSpotFormDefinitionCreateRequest:legal_consent_options.
  • Added lifecycle_stages param to HubSpot\Client\Marketing\Forms\Model\HubSpotFormConfiguration.

Events, Files and Settings clients

  • Changed input params from $occurred_after = null, $occurred_before = null, $object_type = null, $object_id = null, $event_type = null, $after = null, $before = null, $limit = null, $sort = null to $object_type = null, $event_type = null, $occurred_after = null, $occurred_before = null, $object_id = null, $index_table_name = null, $index_specific_metadata = null, $after = null, $before = null, $limit = null, $sort = null, $object_property_propname = null, $property_propname = null, $id = null in events()->eventsApi()->getPage().
  • Added prev param to HubSpot\Client\Events\Model\Paging.
  • Renamed behavioralEventsTrackingApi API to customEventDataApi in events()->send() API client.
  • Added method getMetadata() to files()->filesApi().
  • Added expires_at param to HubSpot\Client\Files\Model\File and HubSpot\Client\Files\Model\FileUpdateInput.
  • Changed type from ErrorCategory to string in HubSpot\Client\Files\Model\StandardError:category.
  • Added role_ids, send_welcome_email and super_admin params to HubSpot\Client\Settings\Users\Model\PublicUser.

10.3.0 - 2023-12-13

Updated

  • Added cms()->pages() api client.
  • Added crm()->lists() api client.
  • Added crm()->objects()->goals() api client.
  • Added crm()->objects()->taxes() api client.
  • Added events()->send() api client.
  • Added settings()->businessUnits() api client.

Fixed

  • Fix non ascii chars.

10.2.0 - 2023-11-23

Updated

  • Added marketing()->forms() api client.
  • Removed composer.lock.

10.1.2 - 2023-11-15

Fixed

  • Fix HubSpot\RetryMiddlewareFactory class.

10.1.1 - 2023-11-15

Fixed

  • Fix HubSpot\RetryMiddlewareFactory class.

10.1.0 - 2023-07-27

Removed hapikey from

  • automation()->actions()->callbacksApi() Api.
  • cms() (all Api clients).
  • communicationPreferences() (all Api clients).
  • conversations() (all API clients).
  • crm() (all Api clients).
  • events() (all Api clients).
  • files() (all Api clients).
  • marketing()->events()->settingsExternalApi() Api.
  • marketing()->transactional() Api client.

Updated

  • Cnange type from object to string in HubSpot\Client\Cms\Hubdb\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Associations\V4\Model\StandardError[] to \HubSpot\Client\Crm\Associations\V4\Model\StandardError1[] in \HubSpot\Client\Crm\Associations\V4\Model\BatchResponseSimplePublicObjectWithErrors::errors.
  • Cnange type from \HubSpot\Client\Crm\Companies\Model\ErrorCategory to string in HubSpot\Client\Crm\Companies\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Contacts\Model\ErrorCategory to string in HubSpot\Client\Crm\Contacts\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Deals\Model\ErrorCategory to string in HubSpot\Client\Crm\Deals\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\LineItems\Model\ErrorCategory to string in HubSpot\Client\Crm\LineItems\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\Calls\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\Calls\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\Communications\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\Communications\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\Emails\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\Emails\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\FeedbackSubmissions\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\Meetings\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\Meetings\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\Notes\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\Notes\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\PostalMail\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\PostalMail\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Objects\Tasks\Model\ErrorCategory to string in HubSpot\Client\Crm\Objects\Tasks\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Products\Model\ErrorCategory to string in HubSpot\Client\Crm\Products\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Properties\Model\ErrorCategory to string in HubSpot\Client\Crm\Properties\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Quotes\Model\ErrorCategory to string in HubSpot\Client\Crm\Quotes\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Crm\Tickets\Model\ErrorCategory to string in HubSpot\Client\Crm\Tickets\Model\StandardError::category.
  • Cnange type from \HubSpot\Client\Webhooks\Model\ErrorCategory to string in HubSpot\Client\Webhooks\Model\StandardError::category.

10.0.1 - 2023-07-27

Fixed

  • Fix HubSpot\Enums\AssociationTypes Enum.

10.0.0 - 2023-06-08

Updated

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

10.0.0-beta.3 - 2023-05-11

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.

10.0.0-beta.2 - 2023-04-27

Updated

  • Add new event types to webhooks.

10.0.0-beta - 2023-04-12

Updated

  • 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()->lineItems()->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()->lineItems()->basicApi()->create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)
  • crm()->lineItems()->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

  • Added param properties to crm()->properties()->coreApi()->getAll.
  • Added param properties to crm()->properties()->coreApi()->getByName.
  • Added param highValue to all Filter's model.

9.4.0 - 2023-03-02

Added

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

9.3.0 - 2023-02-20

Added

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

Fixed

  • Fix auth()->oauth()->refreshTokensApi()->archiveRefreshToken() method

9.2.2 - 2023-01-12

Fixed

  • Fix crm()->associations() API client

9.2.1 - 2022-12-22

Fixed

  • Added pipelineAuditsApi and pipelineStageAuditsApi tocrm()->pipelines() discovery

9.2.0 - 2022-12-19

Added

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

9.1.0 - 2022-12-06

Updated

  • Added Private App access token to cms()->domains()

9.0.1 - 2022-12-05

Fixed

  • Fix all association APIs

Updated

  • crm()->{objects}()->associationApi()->create($contact_id, $to_object_type, $to_object_id, string $association_type => AssociationSpec[] $association_spec)

9.0.0 - 2022-11-21

Updated

  • Regenerate all clients
  • Added Private App access token to crm()->schemas() , crm()->imports() and crm()->objects()->feedbackSubmissions()
  • Updated marketing()->events() API client
  • Deprecated crm()->extensions()->accounting() API client

8.4.1 - 2022-10-17

Fixed

  • Fixed RequestTest namespace

8.4.0 - 2022-10-12

Added

  • add apiRequest method

8.3.1 - 2022-09-01

Fixed

  • adapt OAuth Util for php 8.1

8.3.0 - 2022-07-15

Added

  • Signature's Util HubSpot\Utils\Signature

Deprecated

  • Webhook's Util HubSpot\Utils\Webhooks

8.2.1 - 2022-06-10

Fixed

  • crm()->objects()->feedbackSubmissions() method names
  • crm()->quotes()->publicObjectApi()

8.2.0 - 2022-06-07

Added

  • crm()->quotes()->publicObjectApi()
  • added $id_property to update and getById methods of crm()->contacts()->basicApi()

8.1.2 - 2022-05-12

Fixed

  • crm()->contacts()->gdprApi()
  • crm()->objects()->gdprApi()

8.1.1 - 2022-05-12

Fixed

  • add $properties_with_history to crm->*object's apis*->getAll methods

8.1.0 - 2022-04-14

Added

  • crm()->companies()->publicObjectApi()
  • crm()->contacts()->publicObjectApi()
  • crm()->deals()->publicObjectApi()
  • crm()->lineItems()->publicObjectApi()
  • crm()->objects()->calls()->publicObjectApi()
  • crm()->objects()->publicObjectApi()
  • crm()->objects()->emails()->publicObjectApi()
  • crm()->objects()->meetings()->publicObjectApi()
  • crm()->objects()->notes()->publicObjectApi()
  • crm()->objects()->tasks()->publicObjectApi()
  • crm()->products()->publicObjectApi()
  • crm()->tickets()->publicObjectApi()
  • add field "values" to all CRM objects Filter

8.0.0 - 2022-04-08

Added

  • add to cms()->blogs()->authors()->blogAuthorsApi Language methods
  • add to cms()->blogs()->blogPosts()->blogPostsApi Language methods
  • add to cms()->blogs()->tags()->blogTagsApi Language methods

Update

  • rename crm()->pipelines()->pipelineStagesApi()->getCrmV3PipelinesObjectTypePipelineIdAudit() => crm()->pipelines()->pipelineStagesApi()->getAudit()
  • rename crm()->pipelines()->pipelinesApi()->getCrmV3PipelinesObjectTypePipelineIdStagesStageIdAudit() => crm()->pipelines()->pipelinesApi()->getAudit()

7.0.0 - 2022-03-21

Update

  • Rename crm()->contacts()->gdprApi()->delete() to crm()->contacts()->gdprApi()->purge()
  • Rename crm()->objects()->gdprApi()->delete() to crm()->objects()->gdprApi()->purge()

Fixed

  • TimelineEvents
  • Webhooks and Timeline double appId

6.0.1 - 2022-03-25

Fixed

  • Fix bugs in all ObjectSerializers

6.0.0 - 2022-03-21

Added

  • cms()->sourceCode() API client
  • crm()->objects()->calls() API client
  • crm()->objects()->emails() API client
  • crm()->objects()->meetings() API client
  • crm()->objects()->notes() API client
  • crm()->objects()->tasks() API client
  • marketing()->events() API client
  • settings()->users() API client

Fixed

  • Fix warnings on php 8.1
  • Rename crm()->contacts()->gdprApi()->postCrmV3ObjectsContactsGdprDelete() to crm()->contacts()->gdprApi()->delete()
  • Rename crm()->objects()->gdprApi()->postCrmV3ObjectsContactsGdprDelete() to crm()->objects()->gdprApi()->delete()

5.1.1 - 2022-03-10

Updated

  • Regenerate all clients

Fixed

  • Fix Archived params in all clients

5.1.0 - 2022-02-17

Updated

  • Regenerate all clients
  • Update all dev dependencies

5.0.0- 2021-12-15

Updated

  • Update Guzzle version (^7.3)
  • Update Php version (>=7.3)

Fixed (breaking changes)

  • cms()->blogs()->authors()->authorApi() => cms()->blogs()->authors()->blogAuthorsApi()
  • cms()->blogs()->blogPosts()->blogPostApi() => cms()->blogs()->blogPosts()->blogPostsApi()
  • cms()->blogs()->tags()->tagApi() => cms()->blogs()->tags()->blogTagsApi()

4.0.0 - 2021-09-07

Added

  • crm()->objects()->gdprApi() API client
  • crm()->contacts()->gdprApi() API client

Fixed (breaking changes)

  • oauth() fully regenerated
  • cms()->auditLogs()->defaultApi() => cms()->auditLogs()->auditLogsApi()
  • cms()->blogs()->authors()->defaultApi() => cms()->blogs()->authors()->authorApi()
  • cms()->blogs()->blogPosts()->defaultApi() => cms()->blogs()->blogPosts()->blogPostApi()
  • cms()->blogs()->tags()->defaultApi() => cms()->blogs()->tags()->tagApi()
  • cms()->performance()->defaultApi() => cms()->performance()->publicPerformanceApi()
  • cms()->siteSearch()->defaultApi() => cms()->siteSearch()->publicApi()
  • crm()->imports()->defaultApi() => crm()->imports()->publicImportsApi()
  • crm()->owners()->defaultApi() => crm()->owners()->ownersApi()
  • crm()->schemas()->defaultApi() => crm()->schemas()->publicObjectSchemasApi() and crm()->schemas()->coreApi()
  • marketing()->transactional()->defaultApi() => marketing()->transactional()->publicSmtpTokensApi() and marketing()->transactional()->singleSendApi()

3.1.0 - 2021-07-22

Added

  • communicationPreferences() API client
  • files() API client

3.0.2 - 2021-06-18

Fixed

  • guzzle/psr7 to 1.*

3.0.1 - 2021-06-18

Fixed (breaking changes)

  • fix composer json
  • rename method "search" => "doSearch" crm()->objects()->searchApi() API clients
  • regenerate all clients

2.8.1 - 2021-02-17

Fixed

  • fix generateToken method in conversations()->visitorIdentification() API clients

2.8.0 - 2021-02-16

Added

  • conversations()->visitorIdentification() API client
  • events() API client

2.7.1 - 2021-02-05

Fixed

  • fix createToken method in marketing()->transactional() API clients

2.7.0 - 2021-02-05

Added

  • crm()->extensions()->accounting() API client
  • crm()->extensions()->calling() API client
  • crm()->extensions()->videoconferencing API client
  • crm()->objects()->feedbackSubmissions() API client
  • marketing()->transactional() API client

2.6.1 - 2021-01-20

Fixed

  • fix batch methods in cms()->blogs() API clients

2.6.0 - 2021-01-19

Added

  • automation()->actions() API client

2.5.0 - 2020-12-03

Added

  • Standard Errors

2.4.0 - 2020-12-01

Added

  • cms()->blogs()->authors() API client
  • cms()->blogs()->blogPosts() API client
  • cms()->blogs()->tags() API client

Updated

  • cms()->hubdb() API client

2.3.0 - 2020-11-18

Updated

  • Update Guzzle version (^6.2 | ^7.0)

2.2.0 - 2020-11-09

Added

  • cms()->hubdb() API client

Fixed

  • cms()->schemas() change urls
  • crm()->timeline()->tokensApi and crm()->timeline()->templatesApi remove OAuth token

2.1.0 - 2020-10-07

Added

  • cms()->objects() API client
  • cms()->schemas() API client

2.0.0 - 2020-08-25

Updated (Breaking changes)

  • swap method's params in batch read methods

1.3.2 - 2020-08-20

Fixed

  • Fixed HubSpot/Configs

1.3.1 - 2020-06-25

Fixed

  • Parsing response in cms()->siteSearch()->defaultApi()->getById() method

1.3.0 - 2020-06-17

Added

  • cms()->auditLogs() API client
  • cms()->domains() API client
  • cms()->performance() API client
  • cms()->siteSearch() API client
  • cms()->urlRedirects() API client

1.2.0 - 2020-06-02

Update

  • Update Webhook's Util (HubSpot\Utils\Webhooks::isHubspotSignatureValid)

1.1.0 - 2020-04-30

Added

  • Batch update for Webhook's Subscriptions (webhooks()->subscriptionsApi()->updateBatch($appId, $updateRequest))

1.0.0-beta - 2020-04-21

Added

  • This CHANGELOG.md file.
  • Imports API (crm()->imports())

Breaking changes

  • Updated clients method names:
    1. archiveBatch => archive (crm()->associations()->batchApi())
    2. createBatch => create (crm()->associations()->batchApi())
    3. readBatch => read (crm()->associations()->batchApi())
    4. getTypes => getAll (crm()->associations()->typesApi)
    5. archiveAssociation => archive (crm()->companies()->associationsApi(), crm()->contacts()->associationsApi(), crm()->deals()->associationsApi(), crm()->lineItems()->associationsApi(), crm()->products()->associationsApi(), crm()->quotes()->associationsApi(), crm()->tickets()->associationsApi())
    6. createAssociation => create (crm()->companies()->associationsApi(), crm()->contacts()->associationsApi(), crm()->deals()->associationsApi(), crm()->lineItems()->associationsApi(), crm()->products()->associationsApi(), crm()->quotes()->associationsApi(), crm()->tickets()->associationsApi())
    7. getAssociations => getAll (crm()->companies()->associationsApi(), crm()->contacts()->associationsApi(), crm()->deals()->associationsApi(), crm()->lineItems()->associationsApi(), crm()->products()->associationsApi(), crm()->quotes()->associationsApi(), crm()->tickets()->associationsApi())
    8. archiveBatch => archive (crm()->companies()->batchApi(), crm()->contacts()->batchApi(), crm()->deals()->batchApi(), crm()->lineItems()->batchApi(), crm()->products()->batchApi(), crm()->quotes()->batchApi(), crm()->tickets()->batchApi())
    9. createBatch => create (crm()->companies()->batchApi(), crm()->contacts()->batchApi(), crm()->deals()->batchApi(), crm()->lineItems()->batchApi(), crm()->products()->batchApi(), crm()->quotes()->batchApi(), crm()->tickets()->batchApi())
    10. readBatch => read (crm()->companies()->batchApi(), crm()->contacts()->batchApi(), crm()->deals()->batchApi(), crm()->lineItems()->batchApi(), crm()->products()->batchApi(), crm()->quotes()->batchApi(), crm()->tickets()->batchApi())
    11. updateBatch => update (crm()->companies()->batchApi(), crm()->contacts()->batchApi(), crm()->deals()->batchApi(), crm()->lineItems()->batchApi(), crm()->products()->batchApi(), crm()->quotes()->batchApi(), crm()->tickets()->batchApi())
    12. archiveEventTemplate => archive (crm()->timeline()->templatesApi())
    13. createEventTemplate => create (crm()->timeline()->templatesApi())
    14. getAllEventTemplates => getAll (crm()->timeline()->templatesApi())
    15. getEventTemplateById => getById (crm()->timeline()->templatesApi())
    16. updateEventTemplate => update (crm()->timeline()->templatesApi())
    17. archiveEventTemplateToken => archive (crm()->timeline()->tokensApi())
    18. createEventTemplateToken => create (crm()->timeline()->tokensApi())
    19. updateEventTemplateToken => update (crm()->timeline()->tokensApi())
    20. clearSettings => clear (webhooks()->settingsApi())
    21. configureSettings => configure (webhooks()->settingsApi())
    22. getSettings => getAll (webhooks()->settingsApi())
    23. deleteSubscription => archive (webhooks()->subscriptionsApi())
    24. getSubscription => getById (webhooks()->subscriptionsApi())
    25. getSubscriptions => getAll (webhooks()->subscriptionsApi())
    26. updateSubscription => update (webhooks()->subscriptionsApi())