Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.4"
".": "0.1.0-alpha.5"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 959
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-c4f4939d793d2c423f834b2dbbf5ece484009798e6fdaea771cdcae1f84229a8.yml
openapi_spec_hash: d0e76c7f7ecb1e8f701d4ced83be404f
config_hash: 9a5e751d38a6c4ccba657d505406981e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-823cfd41f503bd00779bc02af045a44617ded14a4612bc128567301eb2982763.yml
openapi_spec_hash: 3a53f40c597fb1a8ded7d5f8939b8cc1
config_hash: 8397c3cc951490dffa28dc7f9f0635e4
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.5 (2026-05-07)

Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/HubSpot/hubspot-sdk-python/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)

### Features

* **api:** manual updates ([4f4f792](https://github.com/HubSpot/hubspot-sdk-python/commit/4f4f79286a9883fe7bd6cf01fa1662ccd6cc7a51))

## 0.1.0-alpha.4 (2026-05-01)

Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/HubSpot/hubspot-sdk-python/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
Expand Down
10 changes: 5 additions & 5 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
from hubspot_sdk.types import (
AbTestCreateRequestVNext,
ActionResponse,
AssociationDefinition,
AssociationDefinitionEgg,
AssociationSpec,
AutomationActionsOption,
BaseAssociationDefinition,
BaseError,
BaseObjectTypeDefinition,
BaseOption,
BaseProperty,
BatchInputPropertyCreate,
BatchInputPropertyName,
BatchInputPublicObjectID,
BatchInputString,
BatchReadInputPropertyName,
CollectionResponsePropertyGroupNoPaging,
ErrorData,
ErrorDetail,
ForwardPaging,
NextPage,
ObjectTypeDefinition,
ObjectTypeDefinitionLabels,
ObjectTypeDefinitionPatch,
Option,
OptionInput,
Paging,
PreviousPage,
Property,
PropertyCreate,
PropertyGroup,
PropertyGroupCreate,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hubspot-sdk"
version = "0.1.0-alpha.4"
version = "0.1.0-alpha.5"
description = "The official Python library for the hubspot API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/hubspot_sdk/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "hubspot_sdk"
__version__ = "0.1.0-alpha.4" # x-release-please-version
__version__ = "0.1.0-alpha.5" # x-release-please-version
58 changes: 33 additions & 25 deletions src/hubspot_sdk/resources/cms/api.md

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions src/hubspot_sdk/resources/cms/media_bridge/media_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
from ....types.shared_params.option_input import OptionInput
from ....types.cms.event_visibility_change import EventVisibilityChange
from ....types.cms.event_visibility_response import EventVisibilityResponse
from ....types.shared.association_definition import AssociationDefinition
from ....types.shared.object_type_definition import ObjectTypeDefinition
from ....types.cms.object_definition_response import ObjectDefinitionResponse
from ....types.cms.media_played_percentage_event import MediaPlayedPercentageEvent
from ....types.shared.base_association_definition import BaseAssociationDefinition
from ....types.shared.base_object_type_definition import BaseObjectTypeDefinition
from ....types.cms.integrator_o_embed_domain_model import IntegratorOEmbedDomainModel
from ....types.cms.o_embed_domains_collection_response import OEmbedDomainsCollectionResponse
from ....types.cms.attention_span_calculated_values_param import AttentionSpanCalculatedValuesParam
Expand Down Expand Up @@ -114,7 +114,7 @@ def create_association(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> BaseAssociationDefinition:
) -> AssociationDefinition:
"""
Create a new association definition for the specified object type.

Expand Down Expand Up @@ -146,7 +146,7 @@ def create_association(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=BaseAssociationDefinition,
cast_to=AssociationDefinition,
)

def create_attention_span_event(
Expand Down Expand Up @@ -574,7 +574,7 @@ def create_video_association_definition(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> BaseAssociationDefinition:
) -> AssociationDefinition:
"""
Args:
extra_headers: Send extra headers
Expand All @@ -590,7 +590,7 @@ def create_video_association_definition(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=BaseAssociationDefinition,
cast_to=AssociationDefinition,
)

def delete_association(
Expand Down Expand Up @@ -1480,7 +1480,7 @@ def update_schema(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> BaseObjectTypeDefinition:
) -> ObjectTypeDefinition:
"""
Update the schema for an existing object type

Expand Down Expand Up @@ -1516,7 +1516,7 @@ def update_schema(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=BaseObjectTypeDefinition,
cast_to=ObjectTypeDefinition,
)

def update_settings(
Expand Down Expand Up @@ -1603,7 +1603,7 @@ async def create_association(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> BaseAssociationDefinition:
) -> AssociationDefinition:
"""
Create a new association definition for the specified object type.

Expand Down Expand Up @@ -1635,7 +1635,7 @@ async def create_association(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=BaseAssociationDefinition,
cast_to=AssociationDefinition,
)

async def create_attention_span_event(
Expand Down Expand Up @@ -2063,7 +2063,7 @@ async def create_video_association_definition(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> BaseAssociationDefinition:
) -> AssociationDefinition:
"""
Args:
extra_headers: Send extra headers
Expand All @@ -2079,7 +2079,7 @@ async def create_video_association_definition(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=BaseAssociationDefinition,
cast_to=AssociationDefinition,
)

async def delete_association(
Expand Down Expand Up @@ -2969,7 +2969,7 @@ async def update_schema(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> BaseObjectTypeDefinition:
) -> ObjectTypeDefinition:
"""
Update the schema for an existing object type

Expand Down Expand Up @@ -3005,7 +3005,7 @@ async def update_schema(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=BaseObjectTypeDefinition,
cast_to=ObjectTypeDefinition,
)

async def update_settings(
Expand Down
18 changes: 9 additions & 9 deletions src/hubspot_sdk/resources/cms/pages/a_b_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
a_b_test_create_site_page_variation_params,
a_b_test_create_landing_page_variation_params,
)
from ....types.cms.page_data import PageData
from ....types.cms.pages_page import PagesPage

__all__ = ["ABTestsResource", "AsyncABTestsResource"]

Expand Down Expand Up @@ -59,7 +59,7 @@ def create_landing_page_variation(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> PageData:
) -> PagesPage:
"""
Create a new A/B test variation based on the information provided in the request
body.
Expand Down Expand Up @@ -89,7 +89,7 @@ def create_landing_page_variation(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=PageData,
cast_to=PagesPage,
)

def create_site_page_variation(
Expand All @@ -103,7 +103,7 @@ def create_site_page_variation(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> PageData:
) -> PagesPage:
"""
Create a new A/B test variation based on the information provided in the request
body.
Expand Down Expand Up @@ -133,7 +133,7 @@ def create_site_page_variation(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=PageData,
cast_to=PagesPage,
)

def end_landing_page_test(
Expand Down Expand Up @@ -344,7 +344,7 @@ async def create_landing_page_variation(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> PageData:
) -> PagesPage:
"""
Create a new A/B test variation based on the information provided in the request
body.
Expand Down Expand Up @@ -374,7 +374,7 @@ async def create_landing_page_variation(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=PageData,
cast_to=PagesPage,
)

async def create_site_page_variation(
Expand All @@ -388,7 +388,7 @@ async def create_site_page_variation(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> PageData:
) -> PagesPage:
"""
Create a new A/B test variation based on the information provided in the request
body.
Expand Down Expand Up @@ -418,7 +418,7 @@ async def create_site_page_variation(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=PageData,
cast_to=PagesPage,
)

async def end_landing_page_test(
Expand Down
10 changes: 5 additions & 5 deletions src/hubspot_sdk/resources/cms/pages/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
batch_delete_landing_pages_params,
batch_update_landing_pages_params,
)
from ....types.cms.page_data_param import PageDataParam
from ....types.cms.pages_page_param import PagesPageParam
from ....types.cms.batch_response_page import BatchResponsePage
from ....types.cms.content_folder_param import ContentFolderParam
from ....types.cms.batch_response_content_folder import BatchResponseContentFolder
Expand Down Expand Up @@ -95,7 +95,7 @@ def create_folders(
def create_landing_pages(
self,
*,
inputs: Iterable[PageDataParam],
inputs: Iterable[PagesPageParam],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -129,7 +129,7 @@ def create_landing_pages(
def create_site_pages(
self,
*,
inputs: Iterable[PageDataParam],
inputs: Iterable[PagesPageParam],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -541,7 +541,7 @@ async def create_folders(
async def create_landing_pages(
self,
*,
inputs: Iterable[PageDataParam],
inputs: Iterable[PagesPageParam],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -577,7 +577,7 @@ async def create_landing_pages(
async def create_site_pages(
self,
*,
inputs: Iterable[PageDataParam],
inputs: Iterable[PagesPageParam],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down
Loading
Loading