v9.0.0
·
241 commits
to master
since this release
Automation Actions client
- Updated
automation.actions.definitions_api.create()method to acceptpublic_action_definition_egginstead ofextension_action_definition_inputand returnedPublicActionDefinitioninsteadExtensionActionDefinition. - Updated
automation.actions.definitions_api.get_by_id()method to returnPublicActionDefinitioninstead ofExtensionActionDefinition. - Updated
automation.actions.definitions_api.get_page()method to returnCollectionResponsePublicActionDefinitionForwardPaginginstead ofCollectionResponseExtensionActionDefinitionForwardPaging. - Updated
automation.actions.definitions_api.update()method to acceptpublic_action_definition_patchinstead ofextension_action_definition_patchand returnedPublicActionDefinitioninsteadExtensionActionDefinition. - Updated
automation.actions.functions_api.create_or_replace()method to returnPublicActionFunctionIdentifierinstead ofActionFunctionIdentifier. - Updated
automation.actions.functions_api.create_or_replace_by_function_type()method to returnPublicActionFunctionIdentifierinstead ofActionFunctionIdentifier. - Updated
automation.actions.functions_api.get_by_function_type()method to returnPublicActionFunctioninstead ofActionFunction. - Updated
automation.actions.functions_api.get_by_id()method to returnPublicActionFunctioninstead ofActionFunction. - Updated
automation.actions.functions_api.get_page()method to returnCollectionResponsePublicActionFunctionIdentifierNoPaginginstead ofCollectionResponseActionFunctionIdentifierNoPaging. - Updated
automation.actions.revisions_api.get_by_id()method to returnPublicActionRevisioninstead ofActionRevision. - Updated
automation.actions.revisions_api.get_page()method to returnCollectionResponsePublicActionRevisionForwardPaginginstead ofCollectionResponseActionRevisionForwardPaging. - Added new function type
POST_ACTION_EXECUTIONtoautomation.actions.models.PublicActionFunctionIdentifierandautomation.actions.models.PublicActionFunction. - Added new param
automation_field_typetoautomation.actions.models.InputFieldDefinition. - Added
automation.actions.models.OutputFieldDefinition. - Added
automation.actions.models.PublicExecutionTranslationRule. - Added new params to
automation.actions.models.FieldTypeDefinition:
{
"help_text": "str",
"referenced_object_type": "str",
"name": "str",
"options": "list[Option]",
"description": "str",
"external_options_reference_type": "str",
"label": "str",
"type": "str",
"field_type": "str",
"options_url": "str",
"external_options": "bool",
}CMS clients
- Changed
attach_to_lang_group(),detach_from_lang_group()andupdate_langs()methods of all Api clients(cms.blogs.authors.blog_authors_api,cms.blogs.blog_posts.blog_posts_apiandcms.blogs.tags.blog_tags_api) returnNoneinstead ofError. - Added new param
_propertytocms.blogs.authors.blog_authors_api.get_by_id()andcms.blogs.authors.blog_authors_api.get_page(). - Renamed
cms.source_code.content_api.get()method tocms.source_code.content_api.download(). - Renamed
cms.source_code.content_api.replace()method tocms.source_code.content_api.create_or_update(). - Added new param
hashtocms.source_code.models.AssetFileMetadata. - Added new param
propertiestocms.source_code.metadata_api.get().
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 the type of parameter
categoryfromErrorCategorytostringincrm.associations.models.StandardError. - Renamed
crm.associations.v4.schema.definitions_api.delete()method tocrm.associations.v4.schema.definitions_api.archive(). - Changed the type of parameters
object_idandcrm.associations.v4.basic_api.to_object_idincrm.associations.v4.basic_api.archive(),crm.associations.v4.basic_api.create()andcrm.associations.v4.basic_api.create_default()methods fromstringtoint. - Changed the type of parameter
object_idincrm.associations.v4.basic_api.get_page()method fromstringtoint. - Changed the type of parameters
to_object_idandfrom_object_idincrm.associations.v4.models.LabelsBetweenObjectPairtostring. - Changed the type of parameter
to_object_idincrm.associations.v4.models.MultiAssociatedObjectWithLabeltostring. - Changed the type of property
categoryinErrorCategorytostringincrm.associations.v4.models.StandardError. - Changed the type of property
errorsincrm.associations.v4.models.BatchResponsePublicDefaultAssociationfromStandardError1[]toStandardError[]. - Added parameter
inverse_labeltocrm.associations.v4.models.PublicAssociationDefinitionCreateRequestandcrm.associations.v4.models.PublicAssociationDefinitionUpdateRequest. - Updated
crm.time_line.events_api.create_batch()method to returnNoneinstedBatchResponseTimelineEventResponse. - Changed the type of parameter
categoryfromErrorCategorytostringincrm.time_line.models.StandardError. - Removed
crm.objects.associations_api. - Renamed param
postal_mailtopostal_mail_idincrm.objects.postal_mail.basic_api(). - Changed the type of parameter
afterfrominttostringin all CRM modelsPublicObjectSearchRequest. - Added new param
id_propertyin all CRM modelsSimplePublicObjectBatchInput.
CRM Extensions client
- Changed parameter order in
crm.extinsions.cards_api.archive()method from(app_id, card_id)to(card_id, app_id). - Updated
crm.extinsions.cards_api.create()method to returnPublicCardResponseinsteadCardResponse. - Updated
crm.extinsions.cards_api.get_all()method to returnPublicCardListResponseinsteadCardListResponse. - Changed parameter order in
crm.extinsions.cards_api.get_by_id()method from(app_id, card_id)to(card_id, app_id)and method returnPublicCardResponseinsteadCardResponse. - Changed parameter order in
crm.extinsions.cards_api.update()method from(app_id, card_id, card_patch_request)to(card_id, app_id, card_patch_request)and method returnPublicCardResponseinsteadCardResponse. - Added new params
serverless_functionandcard_typetocrm.extinsions.models.CardFetchBodyandcrm.extinsions.models.CardFetchBodyPatch. - Added new param
audit_historytocrm.extinsions.models.PublicCardResponse. - Added new allowable value
marketing_eventstocrm.extinsions.models.CardObjectTypeBody. - Added
developer_hapikeytocrm.extinsions.videoconferencing.settings_api. - Added new param
fetch_accounts_uritocrm.extinsions.videoconferencing.models.ExternalSettings. - Marked
CRM Extensions Accounting Apisas deprecated.
CRM clients
- Added
import_templateandimport_sourceparams tocrm.imports.models.PublicImportResponse. - Renamed Api client from
crm.lists.memberships_api()tocrm.lists.list_app_membership_api(). - Renamed Api client from
crm.lists.lists_api()tocrm.lists.list_app_api(). - Changed the type of parameters
list_idandlist_ids: list[]frominttostringin all methods of apicrm.lists.list_app_api(). - Changed the type of parameters
list_id,request_body: list[]andsource_list_idfrominttostringin all methods of apicrm.lists.list_app_membership_api(). - Renamed method
crm.lists.memberships_api.add_remove()tocrm.lists.list_app_membership_api.add_and_remove(). - Renamed
crm.lists.models.CollectionResponseLongtocrm.lists.models.CollectionResponseJoinTimeAndRecordId. - Changed the type of parameter
results: list[int]toresults: list[JoinTimeAndRecordId]incrm.lists.models.CollectionResponseJoinTimeAndRecordId. - Changed the type of parameter
list_id,business_unit_id,subscription_ids: list[],email_id,app_id,updated_by_id,rtype: list[],record_ids_to_remove: list[],record_ids_to_add: list[],record_ids_removed: list[],records_ids_added: list[]andrecord_ids_missing: list[]frominttostringin allcrm.lists.modelsin which these parameters are present. - Added param
validate_deal_stage_usages_before_deletetocrm.pipelines.pipelines_api.archive(),crm.pipelines.pipelines_api.replace()andcrm.pipelines.pipelines_api.update()methods. - Added
write_permissionsparam tocrm.pipelines.models.PipelineStage. - Added
descriptionparam tocrm.schemas.models.ObjectTypeDefinitionPatch. - Added new params:
option_sort_strategy,show_currency_symbol,form_field,referenced_object_type,text_display_hint,searchable_in_global_search
andnumber_display_hinttocrm.schemas.models.ObjectTypePropertyCreate.
Marketing client
- 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(). - Added new param
is_large_valuetomarketing.events.models.PropertyValue. - Changed the type of parameter
categoryfromErrorCategorytostringinmarketing.events.models.StandardError. - Added new param
lifecycle_stagestomarketing.forms.models.HubSpotFormConfiguration. - Changed the type of parameter
legal_consent_optionsfromobjecttoHubSpotFormDefinitionAllOfLegalConsentOptionsin allmarketing.forms.modelswhere parameter exists. - Changed the
field_typeparameter, now defaults topayment_link_radioinsteadfileinDependentFieldDependentFieldinmarketing.forms.models. - Renamed
marketing.forms.models.HubSpotFormDefinitionPatchRequestLegalConsentOptionstomarketing.forms.models.HubSpotFormDefinitionAllOfLegalConsentOptions. - Added new parameter
othertoallowed_valuesinmarketing.forms.models.
Events, Files and OAuth clients
- Moved client from
files.filestofiles. - Added new method
files.files_api.get_metadata(). - Added new param
expires_attofiles.models.Fileandfiles.models.FileUpdateInput. - Changed the type of parameter
categoryfromErrorCategorytostringinfiles.models.StandardError. - Added new query params:
index_table_name,index_table_name,object_property_propname,property_propnameandidtoget_page()method. - Renamed
events.send_api.behavioral_events_tracking_api()toevents.send_api.custom_event_data_api(). - Added new param
prevtoevents.models.Paging. - Removed params
scope_to_scope_group_pks, trial_scopes, trial_scope_to_scope_group_pksfromoauth.models.AccessTokenInfoResponse.
Client APIs
- Added
crm.extensions.calling.recording_settings_apiAPI. - Added
crm.companies.gdpr_apiAPI. - Added
crm.deals.gdpr_apiAPI. - Added
crm.objects.line_items.gdpr_apiAPI. - Added
crm.objects.calls.gdpr_apiAPI. - Added
crm.objects.communications.gdpr_apiAPI. - Added
crm.objects.emails.gdpr_apiAPI. - Added
crm.objects.feedback_submissions.gdpr_apiAPI. - Added
crm.objects.meetings.gdpr_apiAPI. - Added
crm.objects.notes.gdpr_apiAPI. - Added
crm.objects.postal_mail.gdpr_apiAPI. - Added
crm.objects.tasks.gdpr_apiAPI. - Added
crm.objects.products.gdpr_apiAPI. - Added
crm.objects.quotes.gdpr_apiAPI. - Added
crm.objects.tickets.gdpr_apiAPI. - Added
crm.line_items.gdpr_apiAPI. - Added
marketing.events.basic_apiAPI. - Added
marketing.events.batch_apiAPI. - Added
marketing.events.subscriber_state_changes_apiAPI.