Skip to content

Commit 390b754

Browse files
clean up
1 parent f9af2d2 commit 390b754

File tree

1 file changed

+30
-17
lines changed

1 file changed

+30
-17
lines changed

CHANGELOG.md

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [9.0.0](https://github.com/HubSpot/hubspot-api-python/compare/v8.2.1...v9.0.0) - 2024-02-20
1111

12-
### Changes in Automation Actions Client:
12+
### Automation Actions client
13+
1314
- Updated `automation.actions.definitions_api.create()` method to accept `public_action_definition_egg` instead of `extension_action_definition_input` and returned `PublicActionDefinition` instead `ExtensionActionDefinition`.
1415
- Updated `automation.actions.definitions_api.get_by_id()` method to return `PublicActionDefinition` instead of `ExtensionActionDefinition`.
1516
- Updated `automation.actions.definitions_api.get_page()` method to return `CollectionResponsePublicActionDefinitionForwardPaging` instead of `CollectionResponseExtensionActionDefinitionForwardPaging`.
@@ -25,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2526
- Added new param `automation_field_type` to `automation.actions.models.InputFieldDefinition`.
2627
- Added `automation.actions.models.OutputFieldDefinition`.
2728
- Added `automation.actions.models.PublicExecutionTranslationRule`.
28-
- Update params to `automation.actions.models.FieldTypeDefinition`:
29+
- Added new params to `automation.actions.models.FieldTypeDefinition`:
2930

3031
```python
3132
{
@@ -43,15 +44,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4344
}
4445
```
4546

46-
### Changes in CMS Clients:
47+
### CMS clients
48+
4749
- Changed `attach_to_lang_group()`, `detach_from_lang_group()` and `update_langs()` methods of all Api clients(`cms.blogs.authors.blog_authors_api`, `cms.blogs.blog_posts.blog_posts_api` and `cms.blogs.tags.blog_tags_api`) return `None` instead of `Error`.
4850
- Added new param `_property` to `cms.blogs.authors.blog_authors_api.get_by_id()` and `cms.blogs.authors.blog_authors_api.get_page()`.
4951
- Renamed `cms.source_code.content_api.get()` method to `cms.source_code.content_api.download()`.
5052
- Renamed `cms.source_code.content_api.replace()` method to `cms.source_code.content_api.create_or_update()`.
5153
- Added new param `hash` to `cms.source_code.models.AssetFileMetadata`.
5254
- Added new param `properties` to `cms.source_code.metadata_api.get()`.
5355

54-
### Changes in CRM Associations Clients:
56+
### CRM Associations and Objects clients
57+
58+
> [!NOTE]
59+
> Please note that CRM Objects includes: companies, contacts, deals, line items, all CRM objects `crm.objects`, products, quotes and tickets
60+
5561
- Changed the type of parameter `category` from `ErrorCategory` to `string` in `crm.associations.models.StandardError`.
5662
- Renamed `crm.associations.v4.schema.definitions_api.delete()` method to `crm.associations.v4.schema.definitions_api.archive()`.
5763
- Changed the type of parameters `object_id` and `crm.associations.v4.basic_api.to_object_id` in `crm.associations.v4.basic_api.archive()`, `crm.associations.v4.basic_api.create()` and `crm.associations.v4.basic_api.create_default()` methods from `string` to `int`.
@@ -61,8 +67,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6167
- Changed the type of property `category` in `ErrorCategory` to `string` in `crm.associations.v4.models.StandardError`.
6268
- Changed the type of property `errors` in `crm.associations.v4.models.BatchResponsePublicDefaultAssociation` from `StandardError1[]` to `StandardError[]`.
6369
- Added parameter `inverse_label` to `crm.associations.v4.models.PublicAssociationDefinitionCreateRequest` and `crm.associations.v4.models.PublicAssociationDefinitionUpdateRequest`.
70+
- Updated `crm.time_line.events_api.create_batch()` method to return `None` insted `BatchResponseTimelineEventResponse`.
71+
- Changed the type of parameter `category` from `ErrorCategory` to `string` in `crm.time_line.models.StandardError`.
72+
- Removed `crm.objects.associations_api`.
73+
- Renamed param `postal_mail` to `postal_mail_id` in `crm.objects.postal_mail.basic_api()`.
74+
- Changed the type of parameter `after` from `int` to `string` in all CRM models `PublicObjectSearchRequest`.
75+
- Added new param `id_property` in all CRM models `SimplePublicObjectBatchInput`.
76+
77+
### CRM Extensions client
6478

65-
### Changes in CRM Extensions Client:
6679
- Changed parameter order in `crm.extinsions.cards_api.archive()` method from `(app_id, card_id)` to `(card_id, app_id)`.
6780
- Updated `crm.extinsions.cards_api.create()` method to return `PublicCardResponse` instead `CardResponse`.
6881
- Updated `crm.extinsions.cards_api.get_all()` method to return `PublicCardListResponse` instead `CardListResponse`.
@@ -75,7 +88,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7588
- Added new param `fetch_accounts_uri` to `crm.extinsions.videoconferencing.models.ExternalSettings`.
7689
- Marked `CRM Extensions Accounting Apis` as deprecated.
7790

78-
### Changes in CRM Clients:
91+
### CRM clients
92+
7993
- Added `import_template` and `import_source` params to `crm.imports.models.PublicImportResponse`.
8094
- Renamed Api client from `crm.lists.memberships_api()` to `crm.lists.list_app_membership_api()`.
8195
- Renamed Api client from `crm.lists.lists_api()` to `crm.lists.list_app_api()`.
@@ -90,14 +104,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
90104
- Added `description` param to `crm.schemas.models.ObjectTypeDefinitionPatch`.
91105
- Added new params: `option_sort_strategy`, `show_currency_symbol`, `form_field`, `referenced_object_type`, `text_display_hint`, `searchable_in_global_search`
92106
and `number_display_hint` to `crm.schemas.models.ObjectTypePropertyCreate`.
93-
- Updated `crm.time_line.events_api.create_batch()` method to return `None` insted `BatchResponseTimelineEventResponse`.
94-
- Changed the type of parameter `category` from `ErrorCategory` to `string` in `crm.time_line.models.StandardError`.
95-
- Removed `crm.objects.associations_api`.
96-
- Renamed param `postal_mail` to `postal_mail_id` in `crm.objects.postal_mail.basic_api()`.
97-
- Changed the type of parameter `after` from `int` to `string` in all CRM models `PublicObjectSearchRequest`.
98-
- Added new param `id_property` in all CRM models `SimplePublicObjectBatchInput`.
99107

100-
### Changes in Marketing Client:
108+
### Marketing client
109+
101110
- Moved methods `archive()`, `create()`, `do_cancel()`, `get_by_id()`, `replace()` and `update()` from `marketing.events.marketing_events_external_api()` to `marketing.events.basic_api`.
102111
- Moved method `do_upsert()` from `marketing.events.marketing_events_external_api()` to `marketing.events.batch_api()`.
103112
- Moved and renamed method `archive_batch()` to `archive()` from `marketing.events.marketing_events_external_api.archive_batch()` to `marketing.events.batch_api.archive()`.
@@ -111,23 +120,27 @@ and `number_display_hint` to `crm.schemas.models.ObjectTypePropertyCreate`.
111120
- Renamed `marketing.forms.models.HubSpotFormDefinitionPatchRequestLegalConsentOptions` to `marketing.forms.models.HubSpotFormDefinitionAllOfLegalConsentOptions`.
112121
- Added new parameter `other` to `allowed_values` in `marketing.forms.models`.
113122

114-
### Changes in Files client:
123+
### Files client
124+
115125
- Moved client from `files.files` to `files`.
116126
- Added new method `files.files_api.get_metadata()`.
117127
- Added new param `expires_at` to `files.models.File` and `files.models.FileUpdateInput`.
118128
- Changed the type of parameter `category` from `ErrorCategory` to `string` in `files.models.StandardError`.
119129

120-
### Changes in Events Client:
130+
### Events сlient
131+
121132
- Added new query params: `index_table_name`, `index_table_name`,`object_property_propname`, `property_propname` and `id` to `get_page()` method.
122133
- Renamed `events.send_api.behavioral_events_tracking_api()` to `events.send_api.custom_event_data_api()`.
123134
- Added new param `prev` to `events.models.Paging`.
124135

125-
### Changes in other Models:
136+
### Other models
137+
126138
- Changed the type of parameter `after` from `int` to `string` in all models `PublicObjectSearchRequest`.
127139
- Added new param `id_property` in all models `SimplePublicObjectBatchInput`.
128140
- Removed params `scope_to_scope_group_pks, trial_scopes, trial_scope_to_scope_group_pks` from `oauth.models.AccessTokenInfoResponse`.
129141

130-
## Added new Client APIs:
142+
### Client APIs
143+
131144
- Added `crm.extensions.calling.recording_settings_api` Api.
132145
- Added `crm.companies.gdpr_api` Api.
133146
- Added `crm.deals.gdpr_api` Api.

0 commit comments

Comments
 (0)