Skip to content

Commit 1f967c2

Browse files
stainless-app[bot]alzheltkovskiy-hubspotclaude
authored
release: 0.1.0-alpha.9 (#12)
* chore: configure new SDK language * codegen metadata * feat(api): manual updates * chore: remove mypy from lint pipeline mypy takes ~56 minutes on this codebase (2000+ generated type files) and crashes with INTERNAL ERROR on _utils.py. This causes CI lint job to consistently timeout at 10 minutes. pyright already covers type checking and completes in under 30 seconds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat(api): manual updates * feat(api): manual updates * release: 0.1.0-alpha.9 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: alexey <azheltkovskiy@hubspot.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b20ff7d commit 1f967c2

183 files changed

Lines changed: 11215 additions & 1797 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.8"
2+
".": "0.1.0-alpha.9"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
1+
configured_endpoints: 959
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hubspot/hubspot-sdk-3260c0cfb88ce2653c37c4c97e1dd39b965df4f2c14177677bc46d95b104525d.yml
3+
openapi_spec_hash: 93b8671a542b331e067319184c943fdd
4+
config_hash: 0bcc56e67986936da66e382674e17c79

CHANGELOG.md

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

3+
## 0.1.0-alpha.9 (2026-05-26)
4+
5+
Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/HubSpot/hubspot-sdk-python/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
6+
7+
### Features
8+
9+
* **api:** manual updates ([36cd2ad](https://github.com/HubSpot/hubspot-sdk-python/commit/36cd2ad2ab42aa77d232b064f6f0f6a00fb72708))
10+
* **api:** manual updates ([dd6d95a](https://github.com/HubSpot/hubspot-sdk-python/commit/dd6d95aa6794f1ccc276ee5415677a560d5e55c7))
11+
* **api:** manual updates ([36c571b](https://github.com/HubSpot/hubspot-sdk-python/commit/36c571b41e29defa39498e56944b2fabae301192))
12+
13+
14+
### Chores
15+
16+
* configure new SDK language ([cc42975](https://github.com/HubSpot/hubspot-sdk-python/commit/cc42975455695e24cb98a8fd645c1e4e89e3506b))
17+
* remove mypy from lint pipeline ([d690050](https://github.com/HubSpot/hubspot-sdk-python/commit/d6900507e7300d6f005e9cda5073b013b0b84656))
18+
319
## 0.1.0-alpha.8 (2026-05-18)
420

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

api.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,39 @@
33
```python
44
from hubspot_sdk.types import (
55
AbTestCreateRequestVNext,
6+
ActionOverrideRequest,
67
ActionResponse,
8+
AppLifecycleEventSubscriptionUpsertRequest,
79
AssociationDefinition,
810
AssociationDefinitionEgg,
911
AssociationSpec,
12+
AssociationSubscriptionUpsertRequest,
1013
AutomationActionsOption,
1114
BatchInputPropertyCreate,
1215
BatchInputPropertyName,
1316
BatchInputPublicObjectID,
1417
BatchInputString,
1518
BatchReadInputPropertyName,
19+
BatchResponseJournalFetchResponse,
20+
BatchResponseJournalFetchResponseWithErrors,
1621
CollectionResponsePropertyGroupNoPaging,
22+
Condition,
23+
CrmObjectSnapshotBatchRequest,
24+
CrmObjectSnapshotBatchResponse,
25+
CrmObjectSnapshotRequest,
26+
CrmObjectSnapshotResponse,
1727
ErrorData,
1828
ErrorDetail,
29+
Filter,
30+
FilterCreateRequest,
31+
FilterCreateResponse,
32+
FilterResponse,
1933
ForwardPaging,
34+
GdprPrivacyDeletionSubscriptionUpsertRequest,
35+
JournalFetchResponse,
36+
ListMembershipSubscriptionUpsertRequest,
2037
NextPage,
38+
ObjectSubscriptionUpsertRequest,
2139
ObjectTypeDefinition,
2240
ObjectTypeDefinitionLabels,
2341
ObjectTypeDefinitionPatch,
@@ -34,7 +52,9 @@ from hubspot_sdk.types import (
3452
PropertyName,
3553
PropertyValue,
3654
PublicObjectID,
55+
SnapshotStatusResponse,
3756
StandardError,
57+
SubscriptionUpsertRequest,
3858
TaskLocator,
3959
VersionUser,
4060
)
@@ -69,3 +89,5 @@ from hubspot_sdk.types import (
6989
# [Settings](src/hubspot_sdk/resources/settings/api.md)
7090

7191
# [Webhooks](src/hubspot_sdk/resources/webhooks/api.md)
92+
93+
# [WebhooksJournal](src/hubspot_sdk/resources/webhooks_journal/api.md)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hubspot-sdk"
3-
version = "0.1.0-alpha.8"
3+
version = "0.1.0-alpha.9"
44
description = "The official Python library for the hubspot API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -57,7 +57,7 @@ conflicts = [
5757
# version pins are in uv.lock
5858
dev = [
5959
"pyright==1.1.399",
60-
"mypy==1.17",
60+
6161
"respx",
6262
"pytest",
6363
"pytest-asyncio",

scripts/lint

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,5 @@ fi
1515
echo "==> Running pyright"
1616
uv run pyright
1717

18-
echo "==> Running mypy"
19-
uv run mypy .
20-
2118
echo "==> Making sure it imports"
2219
uv run python -c 'import hubspot_sdk'

src/hubspot_sdk/_client.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
automation,
5151
conversations,
5252
business_units,
53+
webhooks_journal,
5354
communication_preferences,
5455
)
5556
from .resources.cms.cms import CmsResource, AsyncCmsResource
@@ -66,6 +67,7 @@
6667
from .resources.automation.automation import AutomationResource, AsyncAutomationResource
6768
from .resources.conversations.conversations import ConversationsResource, AsyncConversationsResource
6869
from .resources.business_units.business_units import BusinessUnitsResource, AsyncBusinessUnitsResource
70+
from .resources.webhooks_journal.webhooks_journal import WebhooksJournalResource, AsyncWebhooksJournalResource
6971
from .resources.communication_preferences.communication_preferences import (
7072
CommunicationPreferencesResource,
7173
AsyncCommunicationPreferencesResource,
@@ -223,6 +225,12 @@ def webhooks(self) -> WebhooksResource:
223225

224226
return WebhooksResource(self)
225227

228+
@cached_property
229+
def webhooks_journal(self) -> WebhooksJournalResource:
230+
from .resources.webhooks_journal import WebhooksJournalResource
231+
232+
return WebhooksJournalResource(self)
233+
226234
@cached_property
227235
def with_raw_response(self) -> HubSpotWithRawResponse:
228236
return HubSpotWithRawResponse(self)
@@ -498,6 +506,12 @@ def webhooks(self) -> AsyncWebhooksResource:
498506

499507
return AsyncWebhooksResource(self)
500508

509+
@cached_property
510+
def webhooks_journal(self) -> AsyncWebhooksJournalResource:
511+
from .resources.webhooks_journal import AsyncWebhooksJournalResource
512+
513+
return AsyncWebhooksJournalResource(self)
514+
501515
@cached_property
502516
def with_raw_response(self) -> AsyncHubSpotWithRawResponse:
503517
return AsyncHubSpotWithRawResponse(self)
@@ -720,6 +734,12 @@ def webhooks(self) -> webhooks.WebhooksResourceWithRawResponse:
720734

721735
return WebhooksResourceWithRawResponse(self._client.webhooks)
722736

737+
@cached_property
738+
def webhooks_journal(self) -> webhooks_journal.WebhooksJournalResourceWithRawResponse:
739+
from .resources.webhooks_journal import WebhooksJournalResourceWithRawResponse
740+
741+
return WebhooksJournalResourceWithRawResponse(self._client.webhooks_journal)
742+
723743

724744
class AsyncHubSpotWithRawResponse:
725745
_client: AsyncHubSpot
@@ -819,6 +839,12 @@ def webhooks(self) -> webhooks.AsyncWebhooksResourceWithRawResponse:
819839

820840
return AsyncWebhooksResourceWithRawResponse(self._client.webhooks)
821841

842+
@cached_property
843+
def webhooks_journal(self) -> webhooks_journal.AsyncWebhooksJournalResourceWithRawResponse:
844+
from .resources.webhooks_journal import AsyncWebhooksJournalResourceWithRawResponse
845+
846+
return AsyncWebhooksJournalResourceWithRawResponse(self._client.webhooks_journal)
847+
822848

823849
class HubSpotWithStreamedResponse:
824850
_client: HubSpot
@@ -918,6 +944,12 @@ def webhooks(self) -> webhooks.WebhooksResourceWithStreamingResponse:
918944

919945
return WebhooksResourceWithStreamingResponse(self._client.webhooks)
920946

947+
@cached_property
948+
def webhooks_journal(self) -> webhooks_journal.WebhooksJournalResourceWithStreamingResponse:
949+
from .resources.webhooks_journal import WebhooksJournalResourceWithStreamingResponse
950+
951+
return WebhooksJournalResourceWithStreamingResponse(self._client.webhooks_journal)
952+
921953

922954
class AsyncHubSpotWithStreamedResponse:
923955
_client: AsyncHubSpot
@@ -1017,6 +1049,12 @@ def webhooks(self) -> webhooks.AsyncWebhooksResourceWithStreamingResponse:
10171049

10181050
return AsyncWebhooksResourceWithStreamingResponse(self._client.webhooks)
10191051

1052+
@cached_property
1053+
def webhooks_journal(self) -> webhooks_journal.AsyncWebhooksJournalResourceWithStreamingResponse:
1054+
from .resources.webhooks_journal import AsyncWebhooksJournalResourceWithStreamingResponse
1055+
1056+
return AsyncWebhooksJournalResourceWithStreamingResponse(self._client.webhooks_journal)
1057+
10201058

10211059
Client = HubSpot
10221060

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.8" # x-release-please-version
4+
__version__ = "0.1.0-alpha.9" # x-release-please-version

src/hubspot_sdk/resources/auth/api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ Types:
66

77
```python
88
from hubspot_sdk.types.auth import (
9+
AccessTokenResponse,
10+
ClientCredentialsTokenResponse,
911
PublicAccessTokenInfoResponse,
1012
PublicRefreshTokenInfoResponse,
1113
SignedAccessToken,
1214
TokenInfoResponseBaseIf,
15+
TokenResponseIf,
1316
)
1417
```
1518

1619
Methods:
1720

18-
- <code title="post /oauth/2026-03/token">client.auth.oauth.<a href="./src/hubspot_sdk/resources/auth/oauth.py">create_token</a>(\*\*<a href="src/hubspot_sdk/types/auth/oauth_create_token_params.py">params</a>) -> BinaryAPIResponse</code>
21+
- <code title="post /oauth/2026-03/token">client.auth.oauth.<a href="./src/hubspot_sdk/resources/auth/oauth.py">create_token</a>(\*\*<a href="src/hubspot_sdk/types/auth/oauth_create_token_params.py">params</a>) -> <a href="./src/hubspot_sdk/types/auth/token_response_if.py">TokenResponseIf</a></code>
1922
- <code title="post /oauth/2026-03/token/introspect">client.auth.oauth.<a href="./src/hubspot_sdk/resources/auth/oauth.py">introspect_token</a>(\*\*<a href="src/hubspot_sdk/types/auth/oauth_introspect_token_params.py">params</a>) -> <a href="./src/hubspot_sdk/types/auth/token_info_response_base_if.py">TokenInfoResponseBaseIf</a></code>
2023
- <code title="post /oauth/2026-03/token/revoke">client.auth.oauth.<a href="./src/hubspot_sdk/resources/auth/oauth.py">revoke_token</a>(\*\*<a href="src/hubspot_sdk/types/auth/oauth_revoke_token_params.py">params</a>) -> BinaryAPIResponse</code>

0 commit comments

Comments
 (0)