Skip to content

12.0.0

Latest
Compare
Choose a tag to compare
@ksvirkou-hubspot ksvirkou-hubspot released this 28 Oct 07:09
6659a2f

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().
    ListAssociationsApi
  • 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.