18.0.0
alzheltkovskiy-hubspot
released this
29 Feb 13:10
·
60 commits
to master
since this release
Changes in Cms AuditLogs API:
- Added new param
prev
tocms.audit_log.models.Paging
. - Added new param
meta
tocms.audit_log.models.PublicAuditLog
. - Added
cms.audit_logs.models.PreviousPage
.
Changes in Automation Actions Definitions API:
- Updated
create()
method to acceptpublic_action_definition_egg
instead ofextension_action_definition_input
and returnedPublicActionDefinition
insteadExtensionActionDefinition
. - Updated
get_by_id()
method to returnPublicActionDefinition
instead ofExtensionActionDefinition
. - Updated
get_page()
method to returnCollectionResponsePublicActionDefinitionForwardPaging
instead ofCollectionResponseExtensionActionDefinitionForwardPaging
. - Updated
update()
method to acceptpublic_action_definition_patch
instead ofextension_action_definition_patch
and returnedPublicActionDefinition
insteadExtensionActionDefinition
.
Changes in Automation Actions Functions API:
- Added new function type
POST_ACTION_EXECUTION
to all methods. - Updated
create_or_replace()
method to returnPublicActionFunctionIdentifier
instead ofActionFunctionIdentifier
. - Updated
create_or_replace_by_function_type()
method to returnPublicActionFunctionIdentifier
instead ofActionFunctionIdentifier
. - Updated
get_by_function_type()
method to returnPublicActionFunction
instead ofActionFunction
. - Updated
get_by_id()
method to returnPublicActionFunction
instead ofActionFunction
. - Updated
get_page()
method to returnCollectionResponsePublicActionFunctionIdentifierNoPaging
instead ofCollectionResponseActionFunctionIdentifierNoPaging
.
Changes in Automation Actions Revisions API:
- Updated
get_by_id()
method to returnPublicActionRevision
instead ofActionRevision
. - Updated
get_page()
method to returnCollectionResponsePublicActionRevisionForwardPaging
instead ofCollectionResponseActionRevisionForwardPaging
.
Changes in Automation Actions Models:
- Added new param
automation_field_type
toautomation.actions.models.InputFieldDefinition
. - Added
automation.actions.models.OutputFieldDefinition
. - Added
automation.actions.models.PublicExecutionTranslationRule
. - Update params to
automation.actions.models.FieldTypeDefinition
:
{
:'help_text' => :'String',
:'referenced_object_type' => :'String',
:'name' => :'String',
:'options' => :'Array<Option>',
:'description' => :'String',
:'external_options_reference_type' => :'String',
:'label' => :'String',
:'type' => :'String',
:'field_type' => :'String',
:'options_url' => :'String',
:'external_options' => :'Boolean'
}
Changes in CMS Blog APIs:
- Updated
attach_to_lang_group()
,detach_from_lang_group()
andupdate_langs()
methods to returnnil
instead ofError
. - Added new param
property
tocms.blogs.authors.blog_authors_api.get_by_id()
andcms.blogs.authors.blog_authors_api.get_page()
.
Changes in Blog Models:
- Removed
EnumAttributeValidator
from a few modelsblogs: authors, blog_posts, tags
.
Changes in CMS Source Code API:
- Renamed method from
cms.source_code.content_api.get()
tocms.source_code.content_api.download()
. - Renamed method from
cms.source_code.content_api.replace()
tocms.source_code.content_api.create_or_update()
. - Added new param
hash
tocms.source_code.models.AssetFileMetadata
. - Added new param
properties
tocms.source_code.metadata_api.get()
.
Changes in CRM Associations API (associations) v4:
- Methods
archive()
,create()
andcreate_default()
of classBasicApi
now accept parametersobject_id
andto_object_id
of typestring
instead ofint
. - Method
get_page()
of classBasicApi
now accepts parameterobject_id
of typestring
instead ofint
. - Changed the type of parameters
to_object_id
andfrom_object_id
in classLabelsBetweenObjectPair
tostring
. - Changed the type of parameter
to_object_id
in classMultiAssociatedObjectWithLabel
tostring
. - Changed the type of property
category
in classErrorCategory
tostring
.
Changes in AssociationsV4 Models:
- Changed the type of property
errors
in classBatchResponsePublicDefaultAssociation
fromStandardError1[]
toStandardError[]
. - Added parameter
inverseLabel
to classesPublicAssociationDefinitionCreateRequest
andPublicAssociationDefinitionUpdateRequest
.
Changes in AssociationsV3 Models:
- Changed the type of parameter
category
fromErrorCategory
tostring
in classStandardError
.
Changes in Schema API Methods:
- Method
delete()
renamed toarchive()
in classDefinitionsApi
.
Changes in Oauth Models:
- Removed params
scope_to_scope_group_pks, trial_scopes, trial_scope_to_scope_group_pks
fromAccessTokenInfoResponse
.
Changes in CRM Imports Model:
- Added
import_template
andimport_source
params to classPublicImportResponse
.
Changes in CRM Lists Memberships API:
- Renamed method
add_remove()
toadd_and_remove()
.
Changes in CRM Pipelines Pipelines API :
- Added param
validate_deal_stage_usages_before_delete
toarchive()
,replace()
andupdate()
methods.
Changes in CRM Pipelines Model:
- Added
write_permissions
param to classPipelineStage
.
Changes in CRM Schemas Models:
- Added
description
param to classObjectTypeDefinitionPatch
. - Added new params:
option_sort_strategy
,show_currency_symbol
,form_field
,referenced_object_type
,text_display_hint
,searchable_in_global_search
andnumber_display_hint
to classObjectTypePropertyCreate
.
Changes in CRM Timeline Events API:
- Updated
create_batch()
method to returnnil
instedBatchResponseTimelineEventResponse
.
Changes in CRM Timeline Model:
- Changed the type of parameter
category
fromErrorCategory
tostring
in classStandardError
.
Changes in CRM Extensions Cards API:
- Changed parameter order in
archive()
method from(app_id, card_id)
to(card_id, app_id)
. - Changed parameter order in
get_by_id()
method from(app_id, card_id)
to(card_id, app_id)
and method returnPublicCardResponse
insteadCardResponse
. - Changed parameter order in
update()
method from(app_id, card_id, card_patch_request)
to(card_id, app_id, card_patch_request)
and method returnPublicCardResponse
insteadCardResponse
. - Updated
create()
method to returnPublicCardResponse
insteadCardResponse
. - Updated
get_all()
method to returnPublicCardListResponse
insteadCardListResponse
.
Changes in CRM Extensions Card Models:
- Added new params
serverless_function
andcard_type
toCardFetchBody
andCardFetchBodyPatch
. - Added new param
audit_history
toPublicCardResponse
. - Added new allowable value
marketing_events
toCardObjectTypeBody
.
Changes in CRM Extensions Videoconferencing API:
- Added
developer_hapikey
Changes in CRM Extensions Videoconferencing Model:
- Added new param
fetch_accounts_uri
toExternalSettings
.
Changes in Events Send API:
- Renamed
behavioral_events_tracking_api
tocustom_event_data_api
.
Changes in Events Model:
- Added new param
prev
toPaging
.
Changes in Files Files API:
- Added new method
get_metadata()
.
Changes in Files Models:
- Added new param
expires_at
toFile
andFileUpdateInput
. - Changed the type of parameter
category
fromErrorCategory
tostring
in classStandardError
.
Changes in Files Client:
- Moved client from
files.files
tofiles
.
Changes in Marketing Events APIs:
- Moved methods
archive()
,create()
,do_cancel()
,get_by_id()
,replace()
andupdate()
frommarketing.events.marketing_events_external_api
tomarketing.events.basic_api
. - Moved method
do_upsert()
frommarketing.events.marketing_events_external_api
tomarketing.events.batch_api
. - Moved and renamed method
archive_batch()
toarchive()
frommarketing.events.marketing_events_external_api.archive_batch
tomarketing.events.batch_api.archive
. - Moved methods
do_email_upsert_by_id()
anddo_upsert_by_id()
frommarketing.events.marketing_events_external_api
tomarketing.events.subscriber_state_changes
. - Renamed Api
marketing.events.settings_external_api
tomarketing.events.settings_api
.
Changes in Marketing Events Models:
- Added new param
is_large_value
toPropertyValue
. - Changed the type of parameter
category
fromErrorCategory
tostring
in classStandardError
.
Changes in Marketing Forms Models:
- Added new param
lifecycle_stages
toHubSpotFormConfiguration
.
Changes in Settings Users Model:
- Added new params
role_ids
,send_welcome_email
andsuper_admin
toPublicUser
.
Changes in All Models PublicObjectSearchRequest:
- Changed the type of parameter
after
fromint
tostring
.
Changes in All Models SimplePublicObjectBatchInput:
- Added new param
id_property
.
Changes in Crm Objects:
- Removed
crm.objects.associations_api
.
Changes in Crm Objects Postal Mail BasicAPI:
- Renamed param
postal_mail
topostal_mail_id
Added new Client APIs:
- Added
crm.extensions.calling.recording_settings_api
Api. - Added
crm.objects.line_items.gdpr_api
Api. - Added
crm.objects.products.gdpr_api
Api. - Added
crm.objects.quotes.gdpr_api
Api. - Added
crm.objects.tickets.gdpr_api
Api. - Added
crm.objects.calls.gdpr_api
Api. - Added
crm.objects.emails.gdpr_api
Api. - Added
crm.objects.meetings.gdpr_api
Api. - Added
crm.objects.notes.gdpr_api
Api. - Added
crm.objects.postal_mail.gdpr_api
Api. - Added
crm.objects.tasks.gdpr_api
Api. - Added
crm.objects.feedback_submissions.gdpr_api
Api. - Added
crm.objects.communications.gdpr_api
Api. - Added
marketing.events.basic_api
Api. - Added
marketing.events.batch_api
Api. - Added
marketing.events.subscriber_state_changes_api
Api.
Removed hapikey
from
cms.audit_logs
Api.cms.site_search
Api.cms.url_redirects
Api.cms.source_code
Apis.cms.blogs.blog_posts
Api.communication_preferences
Apis.conversations.visitor_identification
Api.