airbyte-agent-hubspot 0.15.43__tar.gz → 0.15.46__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/CHANGELOG.md +15 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/PKG-INFO +4 -4
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/README.md +3 -3
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/connector_model_loader.py +3 -2
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/executor/local_executor.py +8 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/schema/base.py +1 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/schema/extensions.py +28 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/connector.py +2 -1
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/connector_model.py +5 -4
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/models.py +1 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/types.py +1 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/pyproject.toml +1 -1
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/.gitignore +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/REFERENCE.md +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/auth_strategies.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/http_client.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/introspection.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/schema/components.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/schema/security.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/types.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/_vendored/connector_sdk/validation.py +0 -0
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Hubspot changelog
|
|
2
2
|
|
|
3
|
+
## [0.15.46] - 2026-01-15
|
|
4
|
+
- Updated connector definition (YAML version 0.1.4)
|
|
5
|
+
- Source commit: fa9a3b02
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.15.45] - 2026-01-15
|
|
9
|
+
- Updated connector definition (YAML version 0.1.4)
|
|
10
|
+
- Source commit: 61a2e822
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
13
|
+
## [0.15.44] - 2026-01-15
|
|
14
|
+
- Updated connector definition (YAML version 0.1.4)
|
|
15
|
+
- Source commit: 236c9a8a
|
|
16
|
+
- SDK version: 0.1.0
|
|
17
|
+
|
|
3
18
|
## [0.15.43] - 2026-01-15
|
|
4
19
|
- Updated connector definition (YAML version 0.1.3)
|
|
5
20
|
- Source commit: 35211193
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airbyte-agent-hubspot
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.46
|
|
4
4
|
Summary: Airbyte Hubspot Connector for AI platforms
|
|
5
5
|
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
6
|
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
@@ -104,6 +104,6 @@ For the service's official API docs, see the [Hubspot API reference](https://dev
|
|
|
104
104
|
|
|
105
105
|
## Version information
|
|
106
106
|
|
|
107
|
-
- **Package version:** 0.15.
|
|
108
|
-
- **Connector version:** 0.1.
|
|
109
|
-
- **Generated with Connector SDK commit SHA:**
|
|
107
|
+
- **Package version:** 0.15.46
|
|
108
|
+
- **Connector version:** 0.1.4
|
|
109
|
+
- **Generated with Connector SDK commit SHA:** fa9a3b02522ddc7458721472049976e295a0bd78
|
|
@@ -71,6 +71,6 @@ For the service's official API docs, see the [Hubspot API reference](https://dev
|
|
|
71
71
|
|
|
72
72
|
## Version information
|
|
73
73
|
|
|
74
|
-
- **Package version:** 0.15.
|
|
75
|
-
- **Connector version:** 0.1.
|
|
76
|
-
- **Generated with Connector SDK commit SHA:**
|
|
74
|
+
- **Package version:** 0.15.46
|
|
75
|
+
- **Connector version:** 0.1.4
|
|
76
|
+
- **Generated with Connector SDK commit SHA:** fa9a3b02522ddc7458721472049976e295a0bd78
|
|
@@ -519,13 +519,14 @@ def _parse_oauth2_config(scheme: Any) -> dict[str, str]:
|
|
|
519
519
|
config["refresh_url"] = refresh_url
|
|
520
520
|
|
|
521
521
|
# Extract custom refresh configuration from x-airbyte-token-refresh extension
|
|
522
|
+
# Note: x_token_refresh is a Dict[str, Any], not a Pydantic model, so use .get()
|
|
522
523
|
x_token_refresh = getattr(scheme, "x_token_refresh", None)
|
|
523
524
|
if x_token_refresh:
|
|
524
|
-
auth_style =
|
|
525
|
+
auth_style = x_token_refresh.get("auth_style")
|
|
525
526
|
if auth_style:
|
|
526
527
|
config["auth_style"] = auth_style
|
|
527
528
|
|
|
528
|
-
body_format =
|
|
529
|
+
body_format = x_token_refresh.get("body_format")
|
|
529
530
|
if body_format:
|
|
530
531
|
config["body_format"] = body_format
|
|
531
532
|
|
|
@@ -495,6 +495,14 @@ class LocalExecutor:
|
|
|
495
495
|
print(result.data)
|
|
496
496
|
"""
|
|
497
497
|
try:
|
|
498
|
+
# Check for hosted-only actions before converting to Action enum
|
|
499
|
+
if config.action == "search":
|
|
500
|
+
raise NotImplementedError(
|
|
501
|
+
"search is only available in hosted execution mode. "
|
|
502
|
+
"Initialize the connector with external_user_id, airbyte_client_id, "
|
|
503
|
+
"and airbyte_client_secret to use this feature."
|
|
504
|
+
)
|
|
505
|
+
|
|
498
506
|
# Convert config to internal format
|
|
499
507
|
action = Action(config.action) if isinstance(config.action, str) else config.action
|
|
500
508
|
params = config.params or {}
|
|
@@ -152,6 +152,7 @@ class Server(BaseModel):
|
|
|
152
152
|
url: str
|
|
153
153
|
description: str | None = None
|
|
154
154
|
variables: Dict[str, ServerVariable] = Field(default_factory=dict)
|
|
155
|
+
x_airbyte_replication_user_config_mapping: Dict[str, str] | None = Field(default=None, alias="x-airbyte-replication-user-config-mapping")
|
|
155
156
|
|
|
156
157
|
@field_validator("url")
|
|
157
158
|
@classmethod
|
|
@@ -109,6 +109,30 @@ class RetryConfig(BaseModel):
|
|
|
109
109
|
retry_after_format: Literal["seconds", "milliseconds", "unix_timestamp"] = "seconds"
|
|
110
110
|
|
|
111
111
|
|
|
112
|
+
class CacheFieldProperty(BaseModel):
|
|
113
|
+
"""
|
|
114
|
+
Nested property definition for object-type cache fields.
|
|
115
|
+
|
|
116
|
+
Supports recursive nesting to represent complex nested schemas in cache field definitions.
|
|
117
|
+
Used when a cache field has type 'object' and needs to define its internal structure.
|
|
118
|
+
|
|
119
|
+
Example YAML usage:
|
|
120
|
+
- name: collaboration
|
|
121
|
+
type: ['null', 'object']
|
|
122
|
+
description: "Collaboration data"
|
|
123
|
+
properties:
|
|
124
|
+
brief:
|
|
125
|
+
type: ['null', 'string']
|
|
126
|
+
comments:
|
|
127
|
+
type: ['null', 'array']
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
model_config = ConfigDict(populate_by_name=True, extra="forbid")
|
|
131
|
+
|
|
132
|
+
type: str | list[str]
|
|
133
|
+
properties: dict[str, "CacheFieldProperty"] | None = None
|
|
134
|
+
|
|
135
|
+
|
|
112
136
|
class CacheFieldConfig(BaseModel):
|
|
113
137
|
"""
|
|
114
138
|
Field configuration for cache mapping.
|
|
@@ -116,6 +140,9 @@ class CacheFieldConfig(BaseModel):
|
|
|
116
140
|
Defines a single field in a cache entity, with optional name aliasing
|
|
117
141
|
to map between user-facing field names and cache storage names.
|
|
118
142
|
|
|
143
|
+
For object-type fields, supports nested properties to define the internal structure
|
|
144
|
+
of complex nested schemas.
|
|
145
|
+
|
|
119
146
|
Used in x-airbyte-cache extension for api_search operations.
|
|
120
147
|
"""
|
|
121
148
|
|
|
@@ -125,6 +152,7 @@ class CacheFieldConfig(BaseModel):
|
|
|
125
152
|
x_airbyte_name: str | None = Field(default=None, alias="x-airbyte-name")
|
|
126
153
|
type: str | list[str]
|
|
127
154
|
description: str
|
|
155
|
+
properties: dict[str, CacheFieldProperty] | None = None
|
|
128
156
|
|
|
129
157
|
@property
|
|
130
158
|
def cache_name(self) -> str:
|
{airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/connector.py
RENAMED
|
@@ -67,6 +67,7 @@ from .models import (
|
|
|
67
67
|
_F = TypeVar("_F", bound=Callable[..., Any])
|
|
68
68
|
|
|
69
69
|
|
|
70
|
+
|
|
70
71
|
class HubspotConnector:
|
|
71
72
|
"""
|
|
72
73
|
Type-safe Hubspot API connector.
|
|
@@ -75,7 +76,7 @@ class HubspotConnector:
|
|
|
75
76
|
"""
|
|
76
77
|
|
|
77
78
|
connector_name = "hubspot"
|
|
78
|
-
connector_version = "0.1.
|
|
79
|
+
connector_version = "0.1.4"
|
|
79
80
|
vendored_sdk_version = "0.1.0" # Version of vendored connector-sdk
|
|
80
81
|
|
|
81
82
|
# Map of (entity, action) -> needs_envelope for envelope wrapping decision
|
|
@@ -26,7 +26,7 @@ from uuid import (
|
|
|
26
26
|
HubspotConnectorModel: ConnectorModel = ConnectorModel(
|
|
27
27
|
id=UUID('36c891d9-4bd9-43ac-bad2-10e12756272c'),
|
|
28
28
|
name='hubspot',
|
|
29
|
-
version='0.1.
|
|
29
|
+
version='0.1.4',
|
|
30
30
|
base_url='https://api.hubapi.com',
|
|
31
31
|
auth=AuthConfig(
|
|
32
32
|
type=AuthType.OAUTH2,
|
|
@@ -72,9 +72,10 @@ HubspotConnectorModel: ConnectorModel = ConnectorModel(
|
|
|
72
72
|
'access_token': '${access_token}',
|
|
73
73
|
},
|
|
74
74
|
replication_auth_key_mapping={
|
|
75
|
-
'client_id': 'client_id',
|
|
76
|
-
'client_secret': 'client_secret',
|
|
77
|
-
'refresh_token': 'refresh_token',
|
|
75
|
+
'credentials.client_id': 'client_id',
|
|
76
|
+
'credentials.client_secret': 'client_secret',
|
|
77
|
+
'credentials.refresh_token': 'refresh_token',
|
|
78
|
+
'credentials.access_token': 'access_token',
|
|
78
79
|
},
|
|
79
80
|
),
|
|
80
81
|
),
|
{airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/models.py
RENAMED
|
@@ -401,6 +401,7 @@ class HubspotExecuteResultWithMeta(HubspotExecuteResult[T], Generic[T, S]):
|
|
|
401
401
|
"""Metadata about the response (e.g., pagination cursors, record counts)."""
|
|
402
402
|
|
|
403
403
|
|
|
404
|
+
|
|
404
405
|
# ===== OPERATION RESULT TYPE ALIASES =====
|
|
405
406
|
|
|
406
407
|
# Concrete type aliases for each operation result.
|
|
File without changes
|
|
File without changes
|
{airbyte_agent_hubspot-0.15.43 → airbyte_agent_hubspot-0.15.46}/airbyte_agent_hubspot/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|