airbyte-agent-zendesk-support 0.18.61__tar.gz → 0.18.66__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_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/AUTH.md +1 -1
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/CHANGELOG.md +25 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/PKG-INFO +5 -5
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/README.md +4 -4
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/connector_model_loader.py +54 -8
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http_client.py +1 -1
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/security.py +0 -1
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/connector.py +1 -1
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/connector_model.py +1 -4
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/pyproject.toml +1 -1
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/.gitignore +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/REFERENCE.md +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_strategies.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/local_executor.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/introspection.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/base.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/components.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/extensions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/types.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/_vendored/connector_sdk/validation.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/models.py +0 -0
- {airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/airbyte_agent_zendesk_support/types.py +0 -0
|
@@ -97,7 +97,7 @@ After creating the connector, execute operations using either the Python SDK or
|
|
|
97
97
|
from airbyte_agent_zendesk-support import ZendeskSupportConnector
|
|
98
98
|
|
|
99
99
|
connector = ZendeskSupportConnector(
|
|
100
|
-
external_user_id="<
|
|
100
|
+
external_user_id="<your_external_user_id>",
|
|
101
101
|
airbyte_client_id="<your-client-id>",
|
|
102
102
|
airbyte_client_secret="<your-client-secret>"
|
|
103
103
|
)
|
{airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/CHANGELOG.md
RENAMED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Zendesk Support changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.66] - 2026-01-27
|
|
4
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
5
|
+
- Source commit: a01f6b16
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.18.65] - 2026-01-27
|
|
9
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
10
|
+
- Source commit: c9b05509
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
13
|
+
## [0.18.64] - 2026-01-27
|
|
14
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
15
|
+
- Source commit: 4bded58d
|
|
16
|
+
- SDK version: 0.1.0
|
|
17
|
+
|
|
18
|
+
## [0.18.63] - 2026-01-26
|
|
19
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
20
|
+
- Source commit: 74809153
|
|
21
|
+
- SDK version: 0.1.0
|
|
22
|
+
|
|
23
|
+
## [0.18.62] - 2026-01-26
|
|
24
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
25
|
+
- Source commit: b73c71e0
|
|
26
|
+
- SDK version: 0.1.0
|
|
27
|
+
|
|
3
28
|
## [0.18.61] - 2026-01-24
|
|
4
29
|
- Updated connector definition (YAML version 0.1.8)
|
|
5
30
|
- Source commit: 609c1d86
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airbyte-agent-zendesk-support
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.66
|
|
4
4
|
Summary: Airbyte Zendesk-Support 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,7 +104,7 @@ This example assumes you've already authenticated your connector with Airbyte. S
|
|
|
104
104
|
from airbyte_agent_zendesk-support import ZendeskSupportConnector
|
|
105
105
|
|
|
106
106
|
connector = ZendeskSupportConnector(
|
|
107
|
-
external_user_id="<
|
|
107
|
+
external_user_id="<your_external_user_id>",
|
|
108
108
|
airbyte_client_id="<your-client-id>",
|
|
109
109
|
airbyte_client_secret="<your-client-secret>"
|
|
110
110
|
)
|
|
@@ -154,6 +154,6 @@ For the service's official API docs, see the [Zendesk-Support API reference](htt
|
|
|
154
154
|
|
|
155
155
|
## Version information
|
|
156
156
|
|
|
157
|
-
- **Package version:** 0.18.
|
|
158
|
-
- **Connector version:** 0.1.
|
|
159
|
-
- **Generated with Connector SDK commit SHA:**
|
|
157
|
+
- **Package version:** 0.18.66
|
|
158
|
+
- **Connector version:** 0.1.9
|
|
159
|
+
- **Generated with Connector SDK commit SHA:** a01f6b16406fb2ff9f9dd011b1c1e0114c0db70f
|
|
@@ -71,7 +71,7 @@ This example assumes you've already authenticated your connector with Airbyte. S
|
|
|
71
71
|
from airbyte_agent_zendesk-support import ZendeskSupportConnector
|
|
72
72
|
|
|
73
73
|
connector = ZendeskSupportConnector(
|
|
74
|
-
external_user_id="<
|
|
74
|
+
external_user_id="<your_external_user_id>",
|
|
75
75
|
airbyte_client_id="<your-client-id>",
|
|
76
76
|
airbyte_client_secret="<your-client-secret>"
|
|
77
77
|
)
|
|
@@ -121,6 +121,6 @@ For the service's official API docs, see the [Zendesk-Support API reference](htt
|
|
|
121
121
|
|
|
122
122
|
## Version information
|
|
123
123
|
|
|
124
|
-
- **Package version:** 0.18.
|
|
125
|
-
- **Connector version:** 0.1.
|
|
126
|
-
- **Generated with Connector SDK commit SHA:**
|
|
124
|
+
- **Package version:** 0.18.66
|
|
125
|
+
- **Connector version:** 0.1.9
|
|
126
|
+
- **Generated with Connector SDK commit SHA:** a01f6b16406fb2ff9f9dd011b1c1e0114c0db70f
|
|
@@ -62,6 +62,53 @@ class TokenExtractValidationError(ConnectorModelLoaderError):
|
|
|
62
62
|
pass
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
# Expected auth_mapping keys for each auth type.
|
|
66
|
+
# These are the auth parameters that each security scheme expects, NOT the user's credential field names.
|
|
67
|
+
EXPECTED_AUTH_MAPPING_KEYS: dict[AuthType, set[str]] = {
|
|
68
|
+
AuthType.BEARER: {"token"},
|
|
69
|
+
AuthType.BASIC: {"username", "password"},
|
|
70
|
+
AuthType.API_KEY: {"api_key"},
|
|
71
|
+
AuthType.OAUTH2: {"access_token", "refresh_token", "client_id", "client_secret"},
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def _validate_auth_mapping_keys(
|
|
76
|
+
auth_type: AuthType,
|
|
77
|
+
auth_config: AirbyteAuthConfig | None,
|
|
78
|
+
scheme_name: str = "default",
|
|
79
|
+
) -> None:
|
|
80
|
+
"""Validate that auth_mapping keys match expected parameters for the auth type.
|
|
81
|
+
|
|
82
|
+
The auth_mapping keys must be the parameters expected by the security scheme
|
|
83
|
+
(e.g., "token" for bearer), not the user's credential field names.
|
|
84
|
+
|
|
85
|
+
Args:
|
|
86
|
+
auth_type: The authentication type
|
|
87
|
+
auth_config: The x-airbyte-auth-config containing auth_mapping
|
|
88
|
+
scheme_name: Name of the security scheme for error messages
|
|
89
|
+
|
|
90
|
+
Raises:
|
|
91
|
+
InvalidOpenAPIError: If auth_mapping keys don't match expected parameters
|
|
92
|
+
"""
|
|
93
|
+
if auth_config is None or auth_config.auth_mapping is None:
|
|
94
|
+
return # No explicit auth_mapping, will use defaults
|
|
95
|
+
|
|
96
|
+
expected_keys = EXPECTED_AUTH_MAPPING_KEYS.get(auth_type)
|
|
97
|
+
if expected_keys is None:
|
|
98
|
+
return # Unknown auth type, skip validation
|
|
99
|
+
|
|
100
|
+
actual_keys = set(auth_config.auth_mapping.keys())
|
|
101
|
+
invalid_keys = actual_keys - expected_keys
|
|
102
|
+
|
|
103
|
+
if invalid_keys:
|
|
104
|
+
raise InvalidOpenAPIError(
|
|
105
|
+
f"Invalid auth_mapping keys for {auth_type.value} auth in scheme '{scheme_name}': {invalid_keys}. "
|
|
106
|
+
f"Expected keys for {auth_type.value}: {sorted(expected_keys)}. "
|
|
107
|
+
f"Note: auth_mapping keys must be the auth parameters (e.g., 'token' for bearer), "
|
|
108
|
+
f'not your credential field names. Use template syntax to map: token: "${{your_field}}"'
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
|
|
65
112
|
def extract_path_params(path: str) -> list[str]:
|
|
66
113
|
"""Extract parameter names from path template.
|
|
67
114
|
|
|
@@ -711,7 +758,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
711
758
|
description="Authentication bearer token",
|
|
712
759
|
format=None,
|
|
713
760
|
pattern=None,
|
|
714
|
-
airbyte_secret=False,
|
|
715
761
|
default=None,
|
|
716
762
|
)
|
|
717
763
|
},
|
|
@@ -731,7 +777,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
731
777
|
description="Authentication username",
|
|
732
778
|
format=None,
|
|
733
779
|
pattern=None,
|
|
734
|
-
airbyte_secret=False,
|
|
735
780
|
default=None,
|
|
736
781
|
),
|
|
737
782
|
"password": AuthConfigFieldSpec(
|
|
@@ -740,7 +785,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
740
785
|
description="Authentication password",
|
|
741
786
|
format=None,
|
|
742
787
|
pattern=None,
|
|
743
|
-
airbyte_secret=False,
|
|
744
788
|
default=None,
|
|
745
789
|
),
|
|
746
790
|
},
|
|
@@ -760,7 +804,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
760
804
|
description="API authentication key",
|
|
761
805
|
format=None,
|
|
762
806
|
pattern=None,
|
|
763
|
-
airbyte_secret=False,
|
|
764
807
|
default=None,
|
|
765
808
|
)
|
|
766
809
|
},
|
|
@@ -785,7 +828,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
785
828
|
description="OAuth2 access token",
|
|
786
829
|
format=None,
|
|
787
830
|
pattern=None,
|
|
788
|
-
airbyte_secret=False,
|
|
789
831
|
default=None,
|
|
790
832
|
),
|
|
791
833
|
"refresh_token": AuthConfigFieldSpec(
|
|
@@ -794,7 +836,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
794
836
|
description="OAuth2 refresh token (optional)",
|
|
795
837
|
format=None,
|
|
796
838
|
pattern=None,
|
|
797
|
-
airbyte_secret=False,
|
|
798
839
|
default=None,
|
|
799
840
|
),
|
|
800
841
|
"client_id": AuthConfigFieldSpec(
|
|
@@ -803,7 +844,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
803
844
|
description="OAuth2 client ID (optional)",
|
|
804
845
|
format=None,
|
|
805
846
|
pattern=None,
|
|
806
|
-
airbyte_secret=False,
|
|
807
847
|
default=None,
|
|
808
848
|
),
|
|
809
849
|
"client_secret": AuthConfigFieldSpec(
|
|
@@ -812,7 +852,6 @@ def _generate_default_auth_config(auth_type: AuthType) -> AirbyteAuthConfig:
|
|
|
812
852
|
description="OAuth2 client secret (optional)",
|
|
813
853
|
format=None,
|
|
814
854
|
pattern=None,
|
|
815
|
-
airbyte_secret=False,
|
|
816
855
|
default=None,
|
|
817
856
|
),
|
|
818
857
|
},
|
|
@@ -924,6 +963,9 @@ def _parse_single_security_scheme(scheme: Any) -> AuthConfig:
|
|
|
924
963
|
oauth2_config = _parse_oauth2_config(scheme)
|
|
925
964
|
# Use explicit x-airbyte-auth-config if present, otherwise generate default
|
|
926
965
|
auth_config_obj = scheme.x_airbyte_auth_config or _generate_default_auth_config(AuthType.OAUTH2)
|
|
966
|
+
# Validate auth_mapping keys if explicitly provided
|
|
967
|
+
if scheme.x_airbyte_auth_config:
|
|
968
|
+
_validate_auth_mapping_keys(AuthType.OAUTH2, scheme.x_airbyte_auth_config)
|
|
927
969
|
return AuthConfig(
|
|
928
970
|
type=AuthType.OAUTH2,
|
|
929
971
|
config=oauth2_config,
|
|
@@ -934,6 +976,10 @@ def _parse_single_security_scheme(scheme: Any) -> AuthConfig:
|
|
|
934
976
|
# Use explicit x-airbyte-auth-config if present, otherwise generate default
|
|
935
977
|
auth_config_obj = scheme.x_airbyte_auth_config or _generate_default_auth_config(auth_type)
|
|
936
978
|
|
|
979
|
+
# Validate auth_mapping keys if explicitly provided
|
|
980
|
+
if scheme.x_airbyte_auth_config:
|
|
981
|
+
_validate_auth_mapping_keys(auth_type, scheme.x_airbyte_auth_config)
|
|
982
|
+
|
|
937
983
|
return AuthConfig(
|
|
938
984
|
type=auth_type,
|
|
939
985
|
config=auth_config,
|
|
@@ -490,7 +490,7 @@ class HTTPClient:
|
|
|
490
490
|
|
|
491
491
|
if not response_text.strip():
|
|
492
492
|
response_data = {}
|
|
493
|
-
elif "application/json" in content_type or not content_type:
|
|
493
|
+
elif "application/json" in content_type or "+json" in content_type or not content_type:
|
|
494
494
|
response_data = await response.json()
|
|
495
495
|
else:
|
|
496
496
|
error_msg = f"Expected JSON response for {method.upper()} {url}, got content-type: {content_type}"
|
|
@@ -55,7 +55,6 @@ class AuthConfigFieldSpec(BaseModel):
|
|
|
55
55
|
description: str | None = None
|
|
56
56
|
format: str | None = None # e.g., "email", "uri"
|
|
57
57
|
pattern: str | None = None # Regex validation
|
|
58
|
-
airbyte_secret: bool = Field(False, alias="airbyte_secret")
|
|
59
58
|
default: Any | None = None
|
|
60
59
|
|
|
61
60
|
|
|
@@ -207,7 +207,7 @@ class ZendeskSupportConnector:
|
|
|
207
207
|
"""
|
|
208
208
|
|
|
209
209
|
connector_name = "zendesk-support"
|
|
210
|
-
connector_version = "0.1.
|
|
210
|
+
connector_version = "0.1.9"
|
|
211
211
|
vendored_sdk_version = "0.1.0" # Version of vendored connector-sdk
|
|
212
212
|
|
|
213
213
|
# Map of (entity, action) -> needs_envelope for envelope wrapping decision
|
|
@@ -30,7 +30,7 @@ from uuid import (
|
|
|
30
30
|
ZendeskSupportConnectorModel: ConnectorModel = ConnectorModel(
|
|
31
31
|
id=UUID('79c1aa37-dae3-42ae-b333-d1c105477715'),
|
|
32
32
|
name='zendesk-support',
|
|
33
|
-
version='0.1.
|
|
33
|
+
version='0.1.9',
|
|
34
34
|
base_url='https://{subdomain}.zendesk.com/api/v2',
|
|
35
35
|
auth=AuthConfig(
|
|
36
36
|
options=[
|
|
@@ -51,12 +51,10 @@ ZendeskSupportConnectorModel: ConnectorModel = ConnectorModel(
|
|
|
51
51
|
'access_token': AuthConfigFieldSpec(
|
|
52
52
|
title='Access Token',
|
|
53
53
|
description='OAuth 2.0 access token',
|
|
54
|
-
airbyte_secret=True,
|
|
55
54
|
),
|
|
56
55
|
'refresh_token': AuthConfigFieldSpec(
|
|
57
56
|
title='Refresh Token',
|
|
58
57
|
description='OAuth 2.0 refresh token (optional)',
|
|
59
|
-
airbyte_secret=True,
|
|
60
58
|
),
|
|
61
59
|
},
|
|
62
60
|
auth_mapping={'access_token': '${access_token}', 'refresh_token': '${refresh_token}'},
|
|
@@ -80,7 +78,6 @@ ZendeskSupportConnectorModel: ConnectorModel = ConnectorModel(
|
|
|
80
78
|
'api_token': AuthConfigFieldSpec(
|
|
81
79
|
title='API Token',
|
|
82
80
|
description='Your Zendesk API token from Admin Center',
|
|
83
|
-
airbyte_secret=True,
|
|
84
81
|
),
|
|
85
82
|
},
|
|
86
83
|
auth_mapping={'username': '${email}/token', 'password': '${api_token}'},
|
|
File without changes
|
{airbyte_agent_zendesk_support-0.18.61 → airbyte_agent_zendesk_support-0.18.66}/REFERENCE.md
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|