airbyte-agent-zendesk-support 0.18.43__py3-none-any.whl → 0.18.45__py3-none-any.whl

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.
@@ -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 = getattr(x_token_refresh, "auth_style", None)
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 = getattr(x_token_refresh, "body_format", None)
529
+ body_format = x_token_refresh.get("body_format")
529
530
  if body_format:
530
531
  config["body_format"] = body_format
531
532
 
@@ -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:
@@ -120,7 +120,7 @@ class ZendeskSupportConnector:
120
120
  """
121
121
 
122
122
  connector_name = "zendesk-support"
123
- connector_version = "0.1.4"
123
+ connector_version = "0.1.5"
124
124
  vendored_sdk_version = "0.1.0" # Version of vendored connector-sdk
125
125
 
126
126
  # 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.4',
33
+ version='0.1.5',
34
34
  base_url='https://{subdomain}.zendesk.com/api/v2',
35
35
  auth=AuthConfig(
36
36
  options=[
@@ -60,7 +60,7 @@ ZendeskSupportConnectorModel: ConnectorModel = ConnectorModel(
60
60
  ),
61
61
  },
62
62
  auth_mapping={'access_token': '${access_token}', 'refresh_token': '${refresh_token}'},
63
- replication_auth_key_mapping={'access_token': 'access_token'},
63
+ replication_auth_key_mapping={'credentials.access_token': 'access_token'},
64
64
  ),
65
65
  ),
66
66
  AuthOption(
@@ -84,7 +84,7 @@ ZendeskSupportConnectorModel: ConnectorModel = ConnectorModel(
84
84
  ),
85
85
  },
86
86
  auth_mapping={'username': '${email}/token', 'password': '${api_token}'},
87
- replication_auth_key_mapping={'email': 'email', 'api_token': 'api_token'},
87
+ replication_auth_key_mapping={'credentials.email': 'email', 'credentials.api_token': 'api_token'},
88
88
  ),
89
89
  ),
90
90
  ],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-zendesk-support
3
- Version: 0.18.43
3
+ Version: 0.18.45
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/
@@ -140,6 +140,6 @@ For the service's official API docs, see the [Zendesk-Support API reference](htt
140
140
 
141
141
  ## Version information
142
142
 
143
- - **Package version:** 0.18.43
144
- - **Connector version:** 0.1.4
145
- - **Generated with Connector SDK commit SHA:** 3521119342fc2a44fcae909505ffb1e7b75557eb
143
+ - **Package version:** 0.18.45
144
+ - **Connector version:** 0.1.5
145
+ - **Generated with Connector SDK commit SHA:** 61a2e8229a38f13564ef2f85e276dff02f707573
@@ -1,13 +1,13 @@
1
1
  airbyte_agent_zendesk_support/__init__.py,sha256=Xf_SLbAydieq_2ADq5k0QJ4TTseP5laq0F4A95_pEsQ,5899
2
- airbyte_agent_zendesk_support/connector.py,sha256=Ptrms0QrEAmNzo1KtHCALpNNf70agpBZxFMSRTagGYE,64801
3
- airbyte_agent_zendesk_support/connector_model.py,sha256=M1phs0lN_6nxKgEF4enlA2znIMIDOMPkQiHY6BYszeE,241309
2
+ airbyte_agent_zendesk_support/connector.py,sha256=sFDu9CEqSjVnInKb16vbF-3QtnxjPsTYOCzgLxPs1jE,64801
3
+ airbyte_agent_zendesk_support/connector_model.py,sha256=_GphemzgMit3Qw5yIcdlfgGuH2Z17ZigAS0ymnkW4zo,241345
4
4
  airbyte_agent_zendesk_support/models.py,sha256=1GLCb9q_AKuV8ky43wuDtnlyCobbTWwoBoSxVkUquyU,34791
5
5
  airbyte_agent_zendesk_support/types.py,sha256=vaWdcxDIJ8_nH7sv9PBsdWOKuTPVkskLur7fQF5Ln94,6320
6
6
  airbyte_agent_zendesk_support/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
7
7
  airbyte_agent_zendesk_support/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
8
8
  airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_strategies.py,sha256=BdjAzFRTwXCmLFqYWqZ4Dx9RsqtI7pAkw-8NynSK4sQ,39914
9
9
  airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_template.py,sha256=nju4jqlFC_KI82ILNumNIyiUtRJcy7J94INIZ0QraI4,4454
10
- airbyte_agent_zendesk_support/_vendored/connector_sdk/connector_model_loader.py,sha256=Cx9wPhKwWfzkc8i63IevL0EsN3iWUl_OA-_jA9EKNcE,34877
10
+ airbyte_agent_zendesk_support/_vendored/connector_sdk/connector_model_loader.py,sha256=b88aoMynHxtG2dhzclkWrLiJbefTiKMzReyj3lOiwJI,34940
11
11
  airbyte_agent_zendesk_support/_vendored/connector_sdk/constants.py,sha256=AtzOvhDMWbRJgpsQNWl5tkogHD6mWgEY668PgRmgtOY,2737
12
12
  airbyte_agent_zendesk_support/_vendored/connector_sdk/exceptions.py,sha256=ss5MGv9eVPmsbLcLWetuu3sDmvturwfo6Pw3M37Oq5k,481
13
13
  airbyte_agent_zendesk_support/_vendored/connector_sdk/extensions.py,sha256=XWRRoJOOrwUHSKbuQt5DU7CCu8ePzhd_HuP7c_uD77w,21376
@@ -42,16 +42,16 @@ airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/__init__.py,sh
42
42
  airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/instrumentation.py,sha256=_dXvNiqdndIBwDjeDKNViWzn_M5FkSUsMmJtFldrmsM,1504
43
43
  airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/metrics.py,sha256=FRff7dKt4iwt_A7pxV5n9kAGBR756PC7q8-weWygPSM,2817
44
44
  airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/__init__.py,sha256=Uymu-QuzGJuMxexBagIvUxpVAigIuIhz3KeBl_Vu4Ko,1638
45
- airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/base.py,sha256=RcsVLrO0L57g4kWfpDWjfc9gelvecplmoy43Zi-7GEY,4944
45
+ airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/base.py,sha256=4RYTkCWgyS5Z75z9TKj9vXySfO00HJ03QDtbdVYeHYM,5086
46
46
  airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/components.py,sha256=x3YCM1p2n_xHi50fMeOX0mXUiPqjGlLHs3Go8jXokb0,7895
47
47
  airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/connector.py,sha256=mSZk1wr2YSdRj9tTRsPAuIlCzd_xZLw-Bzl1sMwE0rE,3731
48
- airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/extensions.py,sha256=U2sOTEXVi3DV6bIvbZPA0WUl5_vLuS_IzaDXQAJ4O14,6220
48
+ airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/extensions.py,sha256=f7VhHrcIYxaPOJHMc4g0lpy04pZTbx5nlroNzAu5B9Q,7135
49
49
  airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/operations.py,sha256=RpzGtAI4yvAtMHAfMUMcUwgHv_qJojnKlNb75_agUF8,5729
50
50
  airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/security.py,sha256=zQ9RRuF3LBgLQi_4cItmjXbG_5WKlmCNM3nCil30H90,8470
51
51
  airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU4dfxn1LC5Y0Q9rr2PJbrwjxvPgBLmq8_WafE,211
52
52
  airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
53
53
  airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
54
54
  airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
55
- airbyte_agent_zendesk_support-0.18.43.dist-info/METADATA,sha256=iHGup45cgbc9Sq35Gloq3oIAwFVcKiLsq7H7hmaF3SY,6246
56
- airbyte_agent_zendesk_support-0.18.43.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_zendesk_support-0.18.43.dist-info/RECORD,,
55
+ airbyte_agent_zendesk_support-0.18.45.dist-info/METADATA,sha256=XUlZKI9-EuTTp9VU204f2uYEzhjXdUh9VXqf1q9logE,6246
56
+ airbyte_agent_zendesk_support-0.18.45.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_zendesk_support-0.18.45.dist-info/RECORD,,