Skip to content

Commit 2ef508c

Browse files
release: 0.1.0-alpha.5 (#7)
* codegen metadata * feat(api): manual updates * codegen metadata * codegen metadata * codegen metadata * codegen metadata * release: 0.1.0-alpha.5 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent fa7dede commit 2ef508c

71 files changed

Lines changed: 703 additions & 926 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.4"
2+
".": "0.1.0-alpha.5"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 959
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-c4f4939d793d2c423f834b2dbbf5ece484009798e6fdaea771cdcae1f84229a8.yml
3-
openapi_spec_hash: d0e76c7f7ecb1e8f701d4ced83be404f
4-
config_hash: 9a5e751d38a6c4ccba657d505406981e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-823cfd41f503bd00779bc02af045a44617ded14a4612bc128567301eb2982763.yml
3+
openapi_spec_hash: 3a53f40c597fb1a8ded7d5f8939b8cc1
4+
config_hash: 8397c3cc951490dffa28dc7f9f0635e4

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.1.0-alpha.5 (2026-05-07)
4+
5+
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)
6+
7+
### Features
8+
9+
* **api:** manual updates ([4f4f792](https://github.com/HubSpot/hubspot-sdk-python/commit/4f4f79286a9883fe7bd6cf01fa1662ccd6cc7a51))
10+
311
## 0.1.0-alpha.4 (2026-05-01)
412

513
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)

api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@
44
from hubspot_sdk.types import (
55
AbTestCreateRequestVNext,
66
ActionResponse,
7+
AssociationDefinition,
78
AssociationDefinitionEgg,
89
AssociationSpec,
910
AutomationActionsOption,
10-
BaseAssociationDefinition,
11-
BaseError,
12-
BaseObjectTypeDefinition,
13-
BaseOption,
14-
BaseProperty,
1511
BatchInputPropertyCreate,
1612
BatchInputPropertyName,
1713
BatchInputPublicObjectID,
1814
BatchInputString,
1915
BatchReadInputPropertyName,
2016
CollectionResponsePropertyGroupNoPaging,
17+
ErrorData,
2118
ErrorDetail,
2219
ForwardPaging,
2320
NextPage,
21+
ObjectTypeDefinition,
2422
ObjectTypeDefinitionLabels,
2523
ObjectTypeDefinitionPatch,
24+
Option,
2625
OptionInput,
2726
Paging,
2827
PreviousPage,
28+
Property,
2929
PropertyCreate,
3030
PropertyGroup,
3131
PropertyGroupCreate,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hubspot-sdk"
3-
version = "0.1.0-alpha.4"
3+
version = "0.1.0-alpha.5"
44
description = "The official Python library for the hubspot API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/hubspot_sdk/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "hubspot_sdk"
4-
__version__ = "0.1.0-alpha.4" # x-release-please-version
4+
__version__ = "0.1.0-alpha.5" # x-release-please-version

src/hubspot_sdk/resources/cms/api.md

Lines changed: 33 additions & 25 deletions
Large diffs are not rendered by default.

src/hubspot_sdk/resources/cms/media_bridge/media_bridge.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
from ....types.shared_params.option_input import OptionInput
6060
from ....types.cms.event_visibility_change import EventVisibilityChange
6161
from ....types.cms.event_visibility_response import EventVisibilityResponse
62+
from ....types.shared.association_definition import AssociationDefinition
63+
from ....types.shared.object_type_definition import ObjectTypeDefinition
6264
from ....types.cms.object_definition_response import ObjectDefinitionResponse
6365
from ....types.cms.media_played_percentage_event import MediaPlayedPercentageEvent
64-
from ....types.shared.base_association_definition import BaseAssociationDefinition
65-
from ....types.shared.base_object_type_definition import BaseObjectTypeDefinition
6666
from ....types.cms.integrator_o_embed_domain_model import IntegratorOEmbedDomainModel
6767
from ....types.cms.o_embed_domains_collection_response import OEmbedDomainsCollectionResponse
6868
from ....types.cms.attention_span_calculated_values_param import AttentionSpanCalculatedValuesParam
@@ -114,7 +114,7 @@ def create_association(
114114
extra_query: Query | None = None,
115115
extra_body: Body | None = None,
116116
timeout: float | httpx.Timeout | None | NotGiven = not_given,
117-
) -> BaseAssociationDefinition:
117+
) -> AssociationDefinition:
118118
"""
119119
Create a new association definition for the specified object type.
120120
@@ -146,7 +146,7 @@ def create_association(
146146
options=make_request_options(
147147
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
148148
),
149-
cast_to=BaseAssociationDefinition,
149+
cast_to=AssociationDefinition,
150150
)
151151

152152
def create_attention_span_event(
@@ -574,7 +574,7 @@ def create_video_association_definition(
574574
extra_query: Query | None = None,
575575
extra_body: Body | None = None,
576576
timeout: float | httpx.Timeout | None | NotGiven = not_given,
577-
) -> BaseAssociationDefinition:
577+
) -> AssociationDefinition:
578578
"""
579579
Args:
580580
extra_headers: Send extra headers
@@ -590,7 +590,7 @@ def create_video_association_definition(
590590
options=make_request_options(
591591
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
592592
),
593-
cast_to=BaseAssociationDefinition,
593+
cast_to=AssociationDefinition,
594594
)
595595

596596
def delete_association(
@@ -1480,7 +1480,7 @@ def update_schema(
14801480
extra_query: Query | None = None,
14811481
extra_body: Body | None = None,
14821482
timeout: float | httpx.Timeout | None | NotGiven = not_given,
1483-
) -> BaseObjectTypeDefinition:
1483+
) -> ObjectTypeDefinition:
14841484
"""
14851485
Update the schema for an existing object type
14861486
@@ -1516,7 +1516,7 @@ def update_schema(
15161516
options=make_request_options(
15171517
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
15181518
),
1519-
cast_to=BaseObjectTypeDefinition,
1519+
cast_to=ObjectTypeDefinition,
15201520
)
15211521

15221522
def update_settings(
@@ -1603,7 +1603,7 @@ async def create_association(
16031603
extra_query: Query | None = None,
16041604
extra_body: Body | None = None,
16051605
timeout: float | httpx.Timeout | None | NotGiven = not_given,
1606-
) -> BaseAssociationDefinition:
1606+
) -> AssociationDefinition:
16071607
"""
16081608
Create a new association definition for the specified object type.
16091609
@@ -1635,7 +1635,7 @@ async def create_association(
16351635
options=make_request_options(
16361636
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
16371637
),
1638-
cast_to=BaseAssociationDefinition,
1638+
cast_to=AssociationDefinition,
16391639
)
16401640

16411641
async def create_attention_span_event(
@@ -2063,7 +2063,7 @@ async def create_video_association_definition(
20632063
extra_query: Query | None = None,
20642064
extra_body: Body | None = None,
20652065
timeout: float | httpx.Timeout | None | NotGiven = not_given,
2066-
) -> BaseAssociationDefinition:
2066+
) -> AssociationDefinition:
20672067
"""
20682068
Args:
20692069
extra_headers: Send extra headers
@@ -2079,7 +2079,7 @@ async def create_video_association_definition(
20792079
options=make_request_options(
20802080
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
20812081
),
2082-
cast_to=BaseAssociationDefinition,
2082+
cast_to=AssociationDefinition,
20832083
)
20842084

20852085
async def delete_association(
@@ -2969,7 +2969,7 @@ async def update_schema(
29692969
extra_query: Query | None = None,
29702970
extra_body: Body | None = None,
29712971
timeout: float | httpx.Timeout | None | NotGiven = not_given,
2972-
) -> BaseObjectTypeDefinition:
2972+
) -> ObjectTypeDefinition:
29732973
"""
29742974
Update the schema for an existing object type
29752975
@@ -3005,7 +3005,7 @@ async def update_schema(
30053005
options=make_request_options(
30063006
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
30073007
),
3008-
cast_to=BaseObjectTypeDefinition,
3008+
cast_to=ObjectTypeDefinition,
30093009
)
30103010

30113011
async def update_settings(

src/hubspot_sdk/resources/cms/pages/a_b_tests.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
a_b_test_create_site_page_variation_params,
2424
a_b_test_create_landing_page_variation_params,
2525
)
26-
from ....types.cms.page_data import PageData
26+
from ....types.cms.pages_page import PagesPage
2727

2828
__all__ = ["ABTestsResource", "AsyncABTestsResource"]
2929

@@ -59,7 +59,7 @@ def create_landing_page_variation(
5959
extra_query: Query | None = None,
6060
extra_body: Body | None = None,
6161
timeout: float | httpx.Timeout | None | NotGiven = not_given,
62-
) -> PageData:
62+
) -> PagesPage:
6363
"""
6464
Create a new A/B test variation based on the information provided in the request
6565
body.
@@ -89,7 +89,7 @@ def create_landing_page_variation(
8989
options=make_request_options(
9090
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
9191
),
92-
cast_to=PageData,
92+
cast_to=PagesPage,
9393
)
9494

9595
def create_site_page_variation(
@@ -103,7 +103,7 @@ def create_site_page_variation(
103103
extra_query: Query | None = None,
104104
extra_body: Body | None = None,
105105
timeout: float | httpx.Timeout | None | NotGiven = not_given,
106-
) -> PageData:
106+
) -> PagesPage:
107107
"""
108108
Create a new A/B test variation based on the information provided in the request
109109
body.
@@ -133,7 +133,7 @@ def create_site_page_variation(
133133
options=make_request_options(
134134
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
135135
),
136-
cast_to=PageData,
136+
cast_to=PagesPage,
137137
)
138138

139139
def end_landing_page_test(
@@ -344,7 +344,7 @@ async def create_landing_page_variation(
344344
extra_query: Query | None = None,
345345
extra_body: Body | None = None,
346346
timeout: float | httpx.Timeout | None | NotGiven = not_given,
347-
) -> PageData:
347+
) -> PagesPage:
348348
"""
349349
Create a new A/B test variation based on the information provided in the request
350350
body.
@@ -374,7 +374,7 @@ async def create_landing_page_variation(
374374
options=make_request_options(
375375
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
376376
),
377-
cast_to=PageData,
377+
cast_to=PagesPage,
378378
)
379379

380380
async def create_site_page_variation(
@@ -388,7 +388,7 @@ async def create_site_page_variation(
388388
extra_query: Query | None = None,
389389
extra_body: Body | None = None,
390390
timeout: float | httpx.Timeout | None | NotGiven = not_given,
391-
) -> PageData:
391+
) -> PagesPage:
392392
"""
393393
Create a new A/B test variation based on the information provided in the request
394394
body.
@@ -418,7 +418,7 @@ async def create_site_page_variation(
418418
options=make_request_options(
419419
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
420420
),
421-
cast_to=PageData,
421+
cast_to=PagesPage,
422422
)
423423

424424
async def end_landing_page_test(

src/hubspot_sdk/resources/cms/pages/batch.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
batch_delete_landing_pages_params,
3131
batch_update_landing_pages_params,
3232
)
33-
from ....types.cms.page_data_param import PageDataParam
33+
from ....types.cms.pages_page_param import PagesPageParam
3434
from ....types.cms.batch_response_page import BatchResponsePage
3535
from ....types.cms.content_folder_param import ContentFolderParam
3636
from ....types.cms.batch_response_content_folder import BatchResponseContentFolder
@@ -95,7 +95,7 @@ def create_folders(
9595
def create_landing_pages(
9696
self,
9797
*,
98-
inputs: Iterable[PageDataParam],
98+
inputs: Iterable[PagesPageParam],
9999
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
100100
# The extra values given here take precedence over values defined on the client or passed to this method.
101101
extra_headers: Headers | None = None,
@@ -129,7 +129,7 @@ def create_landing_pages(
129129
def create_site_pages(
130130
self,
131131
*,
132-
inputs: Iterable[PageDataParam],
132+
inputs: Iterable[PagesPageParam],
133133
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
134134
# The extra values given here take precedence over values defined on the client or passed to this method.
135135
extra_headers: Headers | None = None,
@@ -541,7 +541,7 @@ async def create_folders(
541541
async def create_landing_pages(
542542
self,
543543
*,
544-
inputs: Iterable[PageDataParam],
544+
inputs: Iterable[PagesPageParam],
545545
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
546546
# The extra values given here take precedence over values defined on the client or passed to this method.
547547
extra_headers: Headers | None = None,
@@ -577,7 +577,7 @@ async def create_landing_pages(
577577
async def create_site_pages(
578578
self,
579579
*,
580-
inputs: Iterable[PageDataParam],
580+
inputs: Iterable[PagesPageParam],
581581
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
582582
# The extra values given here take precedence over values defined on the client or passed to this method.
583583
extra_headers: Headers | None = None,

0 commit comments

Comments
 (0)