Skip to content

Commit 0b79db0

Browse files
feat(api): manual updates
1 parent 2c5d24e commit 0b79db0

172 files changed

Lines changed: 28766 additions & 23789 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.

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 959
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-a6631ba2d9ee00995b6e8a69d65e59e19f1add418dd299ff3717c562da172364.yml
3-
openapi_spec_hash: 3a53f40c597fb1a8ded7d5f8939b8cc1
4-
config_hash: c39f1959d22bd637e7624b792ff119c0
1+
configured_endpoints: 955
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-8aa2c4935982d3998769d656b2caae13c71151b5f00caaa875357ceb83f6e0a6.yml
3+
openapi_spec_hash: 47d20b6496315d47f4f64441d4682f47
4+
config_hash: 9c2a17b9755f3edac92a3ec4b93ac51c

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ and offers both synchronous and asynchronous clients powered by [httpx](https://
99

1010
It is generated with [Stainless](https://www.stainless.com/).
1111

12-
## MCP Server
13-
14-
Use the HubSpot MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
15-
16-
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40hubspot%2Fsdk-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBodWJzcG90L3Nkay1tY3AiXSwiZW52Ijp7IkhVQlNQT1RfQUNDRVNTX1RPS0VOIjoiTXkgQWNjZXNzIFRva2VuIiwiSFVCU1BPVF9ERVZFTE9QRVJfQVBJX0tFWSI6Ik15IERldmVsb3BlciBBUEkgS2V5In19)
17-
[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40hubspot%2Fsdk-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40hubspot%2Fsdk-mcp%22%5D%2C%22env%22%3A%7B%22HUBSPOT_ACCESS_TOKEN%22%3A%22My%20Access%20Token%22%2C%22HUBSPOT_DEVELOPER_API_KEY%22%3A%22My%20Developer%20API%20Key%22%7D%7D)
18-
19-
> Note: You may need to set environment variables in your MCP client.
20-
2112
## Documentation
2213

2314
The REST API documentation can be found on [developers.hubspot.com](https://developers.hubspot.com/docs/api-reference/overview). The full API of this library can be found in [api.md](api.md).

src/hubspot_sdk/resources/cms/api.md

Lines changed: 104 additions & 69 deletions
Large diffs are not rendered by default.

src/hubspot_sdk/resources/cms/blogs/authors/authors.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3862,6 +3862,7 @@ def create_language_variation(
38623862
blog_author: BlogAuthorParam,
38633863
language: str | Omit = omit,
38643864
primary_language: str | Omit = omit,
3865+
use_published: bool | Omit = omit,
38653866
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
38663867
# The extra values given here take precedence over values defined on the client or passed to this method.
38673868
extra_headers: Headers | None = None,
@@ -3896,6 +3897,7 @@ def create_language_variation(
38963897
"blog_author": blog_author,
38973898
"language": language,
38983899
"primary_language": primary_language,
3900+
"use_published": use_published,
38993901
},
39003902
author_create_language_variation_params.AuthorCreateLanguageVariationParams,
39013903
),
@@ -9121,6 +9123,7 @@ async def create_language_variation(
91219123
blog_author: BlogAuthorParam,
91229124
language: str | Omit = omit,
91239125
primary_language: str | Omit = omit,
9126+
use_published: bool | Omit = omit,
91249127
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
91259128
# The extra values given here take precedence over values defined on the client or passed to this method.
91269129
extra_headers: Headers | None = None,
@@ -9155,6 +9158,7 @@ async def create_language_variation(
91559158
"blog_author": blog_author,
91569159
"language": language,
91579160
"primary_language": primary_language,
9161+
"use_published": use_published,
91589162
},
91599163
author_create_language_variation_params.AuthorCreateLanguageVariationParams,
91609164
),

src/hubspot_sdk/resources/cms/blogs/posts/multi_language.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,6 +1804,7 @@ def create_lang_variation(
18041804
*,
18051805
id: str,
18061806
language: str | Omit = omit,
1807+
use_published: bool | Omit = omit,
18071808
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
18081809
# The extra values given here take precedence over values defined on the client or passed to this method.
18091810
extra_headers: Headers | None = None,
@@ -1834,6 +1835,7 @@ def create_lang_variation(
18341835
{
18351836
"id": id,
18361837
"language": language,
1838+
"use_published": use_published,
18371839
},
18381840
multi_language_create_lang_variation_params.MultiLanguageCreateLangVariationParams,
18391841
),
@@ -4578,6 +4580,7 @@ async def create_lang_variation(
45784580
*,
45794581
id: str,
45804582
language: str | Omit = omit,
4583+
use_published: bool | Omit = omit,
45814584
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
45824585
# The extra values given here take precedence over values defined on the client or passed to this method.
45834586
extra_headers: Headers | None = None,
@@ -4608,6 +4611,7 @@ async def create_lang_variation(
46084611
{
46094612
"id": id,
46104613
"language": language,
4614+
"use_published": use_published,
46114615
},
46124616
multi_language_create_lang_variation_params.MultiLanguageCreateLangVariationParams,
46134617
),

src/hubspot_sdk/resources/cms/blogs/settings/multi_language.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,7 @@ def create_language_variation(
18061806
language: str | Omit = omit,
18071807
primary_language: str | Omit = omit,
18081808
slug: str | Omit = omit,
1809+
use_published: bool | Omit = omit,
18091810
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
18101811
# The extra values given here take precedence over values defined on the client or passed to this method.
18111812
extra_headers: Headers | None = None,
@@ -1841,6 +1842,7 @@ def create_language_variation(
18411842
"language": language,
18421843
"primary_language": primary_language,
18431844
"slug": slug,
1845+
"use_published": use_published,
18441846
},
18451847
multi_language_create_language_variation_params.MultiLanguageCreateLanguageVariationParams,
18461848
),
@@ -4584,6 +4586,7 @@ async def create_language_variation(
45844586
language: str | Omit = omit,
45854587
primary_language: str | Omit = omit,
45864588
slug: str | Omit = omit,
4589+
use_published: bool | Omit = omit,
45874590
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
45884591
# The extra values given here take precedence over values defined on the client or passed to this method.
45894592
extra_headers: Headers | None = None,
@@ -4619,6 +4622,7 @@ async def create_language_variation(
46194622
"language": language,
46204623
"primary_language": primary_language,
46214624
"slug": slug,
4625+
"use_published": use_published,
46224626
},
46234627
multi_language_create_language_variation_params.MultiLanguageCreateLanguageVariationParams,
46244628
),

src/hubspot_sdk/resources/cms/blogs/tags/tags.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3775,6 +3775,7 @@ def create_lang_variation(
37753775
name: str,
37763776
language: str | Omit = omit,
37773777
primary_language: str | Omit = omit,
3778+
use_published: bool | Omit = omit,
37783779
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
37793780
# The extra values given here take precedence over values defined on the client or passed to this method.
37803781
extra_headers: Headers | None = None,
@@ -3811,6 +3812,7 @@ def create_lang_variation(
38113812
"name": name,
38123813
"language": language,
38133814
"primary_language": primary_language,
3815+
"use_published": use_published,
38143816
},
38153817
tag_create_lang_variation_params.TagCreateLangVariationParams,
38163818
),
@@ -8950,6 +8952,7 @@ async def create_lang_variation(
89508952
name: str,
89518953
language: str | Omit = omit,
89528954
primary_language: str | Omit = omit,
8955+
use_published: bool | Omit = omit,
89538956
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
89548957
# The extra values given here take precedence over values defined on the client or passed to this method.
89558958
extra_headers: Headers | None = None,
@@ -8986,6 +8989,7 @@ async def create_lang_variation(
89868989
"name": name,
89878990
"language": language,
89888991
"primary_language": primary_language,
8992+
"use_published": use_published,
89898993
},
89908994
tag_create_lang_variation_params.TagCreateLangVariationParams,
89918995
),

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

Lines changed: 13 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from .batch import (
4-
BatchResource,
5-
AsyncBatchResource,
6-
BatchResourceWithRawResponse,
7-
AsyncBatchResourceWithRawResponse,
8-
BatchResourceWithStreamingResponse,
9-
AsyncBatchResourceWithStreamingResponse,
10-
)
113
from .pages import (
124
PagesResource,
135
AsyncPagesResource,
@@ -16,21 +8,13 @@
168
PagesResourceWithStreamingResponse,
179
AsyncPagesResourceWithStreamingResponse,
1810
)
19-
from .folders import (
20-
FoldersResource,
21-
AsyncFoldersResource,
22-
FoldersResourceWithRawResponse,
23-
AsyncFoldersResourceWithRawResponse,
24-
FoldersResourceWithStreamingResponse,
25-
AsyncFoldersResourceWithStreamingResponse,
26-
)
27-
from .a_b_tests import (
28-
ABTestsResource,
29-
AsyncABTestsResource,
30-
ABTestsResourceWithRawResponse,
31-
AsyncABTestsResourceWithRawResponse,
32-
ABTestsResourceWithStreamingResponse,
33-
AsyncABTestsResourceWithStreamingResponse,
11+
from .site_pages import (
12+
SitePagesResource,
13+
AsyncSitePagesResource,
14+
SitePagesResourceWithRawResponse,
15+
AsyncSitePagesResourceWithRawResponse,
16+
SitePagesResourceWithStreamingResponse,
17+
AsyncSitePagesResourceWithStreamingResponse,
3418
)
3519
from .landing_pages import (
3620
LandingPagesResource,
@@ -40,60 +24,20 @@
4024
LandingPagesResourceWithStreamingResponse,
4125
AsyncLandingPagesResourceWithStreamingResponse,
4226
)
43-
from .website_pages import (
44-
WebsitePagesResource,
45-
AsyncWebsitePagesResource,
46-
WebsitePagesResourceWithRawResponse,
47-
AsyncWebsitePagesResourceWithRawResponse,
48-
WebsitePagesResourceWithStreamingResponse,
49-
AsyncWebsitePagesResourceWithStreamingResponse,
50-
)
51-
from .multi_language import (
52-
MultiLanguageResource,
53-
AsyncMultiLanguageResource,
54-
MultiLanguageResourceWithRawResponse,
55-
AsyncMultiLanguageResourceWithRawResponse,
56-
MultiLanguageResourceWithStreamingResponse,
57-
AsyncMultiLanguageResourceWithStreamingResponse,
58-
)
5927

6028
__all__ = [
61-
"ABTestsResource",
62-
"AsyncABTestsResource",
63-
"ABTestsResourceWithRawResponse",
64-
"AsyncABTestsResourceWithRawResponse",
65-
"ABTestsResourceWithStreamingResponse",
66-
"AsyncABTestsResourceWithStreamingResponse",
67-
"BatchResource",
68-
"AsyncBatchResource",
69-
"BatchResourceWithRawResponse",
70-
"AsyncBatchResourceWithRawResponse",
71-
"BatchResourceWithStreamingResponse",
72-
"AsyncBatchResourceWithStreamingResponse",
73-
"FoldersResource",
74-
"AsyncFoldersResource",
75-
"FoldersResourceWithRawResponse",
76-
"AsyncFoldersResourceWithRawResponse",
77-
"FoldersResourceWithStreamingResponse",
78-
"AsyncFoldersResourceWithStreamingResponse",
7929
"LandingPagesResource",
8030
"AsyncLandingPagesResource",
8131
"LandingPagesResourceWithRawResponse",
8232
"AsyncLandingPagesResourceWithRawResponse",
8333
"LandingPagesResourceWithStreamingResponse",
8434
"AsyncLandingPagesResourceWithStreamingResponse",
85-
"MultiLanguageResource",
86-
"AsyncMultiLanguageResource",
87-
"MultiLanguageResourceWithRawResponse",
88-
"AsyncMultiLanguageResourceWithRawResponse",
89-
"MultiLanguageResourceWithStreamingResponse",
90-
"AsyncMultiLanguageResourceWithStreamingResponse",
91-
"WebsitePagesResource",
92-
"AsyncWebsitePagesResource",
93-
"WebsitePagesResourceWithRawResponse",
94-
"AsyncWebsitePagesResourceWithRawResponse",
95-
"WebsitePagesResourceWithStreamingResponse",
96-
"AsyncWebsitePagesResourceWithStreamingResponse",
35+
"SitePagesResource",
36+
"AsyncSitePagesResource",
37+
"SitePagesResourceWithRawResponse",
38+
"AsyncSitePagesResourceWithRawResponse",
39+
"SitePagesResourceWithStreamingResponse",
40+
"AsyncSitePagesResourceWithStreamingResponse",
9741
"PagesResource",
9842
"AsyncPagesResource",
9943
"PagesResourceWithRawResponse",

0 commit comments

Comments
 (0)