airbyte-agent-zendesk-support 0.18.49__tar.gz → 0.18.51__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.
Files changed (60) hide show
  1. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/CHANGELOG.md +10 -0
  2. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/PKG-INFO +3 -3
  3. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/README.md +2 -2
  4. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/__init__.py +8 -8
  5. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/local_executor.py +3 -1
  6. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http_client.py +2 -0
  7. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/logger.py +10 -1
  8. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/types.py +1 -0
  9. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/validation.py +12 -6
  10. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/connector.py +27 -27
  11. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/models.py +16 -16
  12. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/types.py +235 -235
  13. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/pyproject.toml +1 -1
  14. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/.gitignore +0 -0
  15. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/REFERENCE.md +0 -0
  16. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/__init__.py +0 -0
  17. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/__init__.py +0 -0
  18. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_strategies.py +0 -0
  19. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_template.py +0 -0
  20. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
  21. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/cloud_utils/client.py +0 -0
  22. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/connector_model_loader.py +0 -0
  23. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/constants.py +0 -0
  24. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/exceptions.py +0 -0
  25. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/__init__.py +0 -0
  26. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
  27. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/models.py +0 -0
  28. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/extensions.py +0 -0
  29. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/__init__.py +0 -0
  30. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
  31. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
  32. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/config.py +0 -0
  33. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/exceptions.py +0 -0
  34. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/protocols.py +0 -0
  35. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/response.py +0 -0
  36. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/introspection.py +0 -0
  37. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/__init__.py +0 -0
  38. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/__init__.py +0 -0
  39. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/config.py +0 -0
  40. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/models.py +0 -0
  41. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/redactor.py +0 -0
  42. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/session.py +0 -0
  43. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/__init__.py +0 -0
  44. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/instrumentation.py +0 -0
  45. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/metrics.py +0 -0
  46. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/__init__.py +0 -0
  47. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/base.py +0 -0
  48. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/components.py +0 -0
  49. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/connector.py +0 -0
  50. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/extensions.py +0 -0
  51. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/operations.py +0 -0
  52. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/security.py +0 -0
  53. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/secrets.py +0 -0
  54. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/__init__.py +0 -0
  55. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/config.py +0 -0
  56. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/events.py +0 -0
  57. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/tracker.py +0 -0
  58. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/types.py +0 -0
  59. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/_vendored/connector_sdk/utils.py +0 -0
  60. {airbyte_agent_zendesk_support-0.18.49 → airbyte_agent_zendesk_support-0.18.51}/airbyte_agent_zendesk_support/connector_model.py +0 -0
@@ -1,5 +1,15 @@
1
1
  # Zendesk Support changelog
2
2
 
3
+ ## [0.18.51] - 2026-01-19
4
+ - Updated connector definition (YAML version 0.1.6)
5
+ - Source commit: 529cebb7
6
+ - SDK version: 0.1.0
7
+
8
+ ## [0.18.50] - 2026-01-16
9
+ - Updated connector definition (YAML version 0.1.6)
10
+ - Source commit: a50c8f71
11
+ - SDK version: 0.1.0
12
+
3
13
  ## [0.18.49] - 2026-01-16
4
14
  - Updated connector definition (YAML version 0.1.6)
5
15
  - Source commit: 49673b7b
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-zendesk-support
3
- Version: 0.18.49
3
+ Version: 0.18.51
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.49
143
+ - **Package version:** 0.18.51
144
144
  - **Connector version:** 0.1.6
145
- - **Generated with Connector SDK commit SHA:** 49673b7bd7003c15994897987408c7722319c739
145
+ - **Generated with Connector SDK commit SHA:** c46670b9e4ca5238c0372e143b44088a0d1a68ee
@@ -107,6 +107,6 @@ For the service's official API docs, see the [Zendesk-Support API reference](htt
107
107
 
108
108
  ## Version information
109
109
 
110
- - **Package version:** 0.18.49
110
+ - **Package version:** 0.18.51
111
111
  - **Connector version:** 0.1.6
112
- - **Generated with Connector SDK commit SHA:** 49673b7bd7003c15994897987408c7722319c739
112
+ - **Generated with Connector SDK commit SHA:** c46670b9e4ca5238c0372e143b44088a0d1a68ee
@@ -73,8 +73,8 @@ from .models import (
73
73
  TicketFormsListResult,
74
74
  ArticlesListResult,
75
75
  ArticleAttachmentsListResult,
76
- SearchHit,
77
- SearchResult,
76
+ AirbyteSearchHit,
77
+ AirbyteSearchResult,
78
78
  BrandsSearchData,
79
79
  BrandsSearchResult,
80
80
  GroupsSearchData,
@@ -141,8 +141,8 @@ from .types import (
141
141
  ArticleAttachmentsListParams,
142
142
  ArticleAttachmentsGetParams,
143
143
  ArticleAttachmentsDownloadParams,
144
- SearchParams,
145
- SortOrder,
144
+ AirbyteSearchParams,
145
+ AirbyteSortOrder,
146
146
  BrandsSearchFilter,
147
147
  BrandsSearchQuery,
148
148
  BrandsCondition,
@@ -250,8 +250,8 @@ __all__ = [
250
250
  "TicketFormsListResult",
251
251
  "ArticlesListResult",
252
252
  "ArticleAttachmentsListResult",
253
- "SearchHit",
254
- "SearchResult",
253
+ "AirbyteSearchHit",
254
+ "AirbyteSearchResult",
255
255
  "BrandsSearchData",
256
256
  "BrandsSearchResult",
257
257
  "GroupsSearchData",
@@ -316,8 +316,8 @@ __all__ = [
316
316
  "ArticleAttachmentsListParams",
317
317
  "ArticleAttachmentsGetParams",
318
318
  "ArticleAttachmentsDownloadParams",
319
- "SearchParams",
320
- "SortOrder",
319
+ "AirbyteSearchParams",
320
+ "AirbyteSortOrder",
321
321
  "BrandsSearchFilter",
322
322
  "BrandsSearchQuery",
323
323
  "BrandsCondition",
@@ -987,7 +987,9 @@ class LocalExecutor:
987
987
 
988
988
  # Substitute variables from params
989
989
  if "variables" in graphql_config and graphql_config["variables"]:
990
- body["variables"] = self._interpolate_variables(graphql_config["variables"], params, param_defaults)
990
+ variables = self._interpolate_variables(graphql_config["variables"], params, param_defaults)
991
+ # Filter out None values (optional fields not provided) - matches REST _extract_body() behavior
992
+ body["variables"] = {k: v for k, v in variables.items() if v is not None}
991
993
 
992
994
  # Add operation name if specified
993
995
  if "operationName" in graphql_config:
@@ -478,6 +478,7 @@ class HTTPClient:
478
478
  request_id=request_id,
479
479
  status_code=status_code,
480
480
  response_body=f"<binary content, {response.headers.get('content-length', 'unknown')} bytes>",
481
+ response_headers=dict(response.headers),
481
482
  )
482
483
  return response, dict(response.headers)
483
484
 
@@ -504,6 +505,7 @@ class HTTPClient:
504
505
  request_id=request_id,
505
506
  status_code=status_code,
506
507
  response_body=response_data,
508
+ response_headers=dict(response.headers),
507
509
  )
508
510
  return response_data, dict(response.headers)
509
511
 
@@ -134,6 +134,7 @@ class RequestLogger:
134
134
  request_id: str,
135
135
  status_code: int,
136
136
  response_body: Any | None = None,
137
+ response_headers: Dict[str, str] | None = None,
137
138
  ) -> None:
138
139
  """
139
140
  Log a successful HTTP response.
@@ -142,6 +143,7 @@ class RequestLogger:
142
143
  request_id: ID returned from log_request
143
144
  status_code: HTTP status code
144
145
  response_body: Response body
146
+ response_headers: Response headers
145
147
  """
146
148
  if request_id not in self._active_requests:
147
149
  return
@@ -166,6 +168,7 @@ class RequestLogger:
166
168
  body=request_data["body"],
167
169
  response_status=status_code,
168
170
  response_body=serializable_body,
171
+ response_headers=response_headers or {},
169
172
  timing_ms=timing_ms,
170
173
  )
171
174
 
@@ -243,7 +246,13 @@ class NullLogger:
243
246
  """No-op log_request."""
244
247
  return ""
245
248
 
246
- def log_response(self, *args, **kwargs) -> None:
249
+ def log_response(
250
+ self,
251
+ request_id: str,
252
+ status_code: int,
253
+ response_body: Any | None = None,
254
+ response_headers: Dict[str, str] | None = None,
255
+ ) -> None:
247
256
  """No-op log_response."""
248
257
  pass
249
258
 
@@ -31,6 +31,7 @@ class RequestLog(BaseModel):
31
31
  body: Any | None = None
32
32
  response_status: int | None = None
33
33
  response_body: Any | None = None
34
+ response_headers: Dict[str, str] = Field(default_factory=dict)
34
35
  timing_ms: float | None = None
35
36
  error: str | None = None
36
37
 
@@ -486,30 +486,36 @@ def validate_meta_extractor_fields(
486
486
  response_body = spec.captured_response.body
487
487
 
488
488
  # Validate each meta extractor field
489
- for field_name, jsonpath_expr in endpoint.meta_extractor.items():
489
+ for field_name, extractor_expr in endpoint.meta_extractor.items():
490
+ # Skip header-based extractors - they extract from headers, not response body
491
+ # @link.next extracts from RFC 5988 Link header
492
+ # @header.X-Name extracts raw header value
493
+ if extractor_expr.startswith("@link.") or extractor_expr.startswith("@header."):
494
+ continue
495
+
490
496
  # Check 1: Does the JSONPath find data in the actual response?
491
497
  try:
492
- parsed_expr = parse_jsonpath(jsonpath_expr)
498
+ parsed_expr = parse_jsonpath(extractor_expr)
493
499
  matches = [match.value for match in parsed_expr.find(response_body)]
494
500
 
495
501
  if not matches:
496
502
  warnings.append(
497
503
  f"{entity_name}.{action}: x-airbyte-meta-extractor field '{field_name}' "
498
- f"with JSONPath '{jsonpath_expr}' found no matches in cassette response"
504
+ f"with JSONPath '{extractor_expr}' found no matches in cassette response"
499
505
  )
500
506
  except Exception as e:
501
507
  warnings.append(
502
- f"{entity_name}.{action}: x-airbyte-meta-extractor field '{field_name}' has invalid JSONPath '{jsonpath_expr}': {str(e)}"
508
+ f"{entity_name}.{action}: x-airbyte-meta-extractor field '{field_name}' has invalid JSONPath '{extractor_expr}': {str(e)}"
503
509
  )
504
510
 
505
511
  # Check 2: Is this field path declared in the response schema?
506
512
  if endpoint.response_schema:
507
- field_in_schema = _check_field_in_schema(jsonpath_expr, endpoint.response_schema)
513
+ field_in_schema = _check_field_in_schema(extractor_expr, endpoint.response_schema)
508
514
 
509
515
  if not field_in_schema:
510
516
  warnings.append(
511
517
  f"{entity_name}.{action}: x-airbyte-meta-extractor field '{field_name}' "
512
- f"extracts from '{jsonpath_expr}' but this path is not declared in response schema"
518
+ f"extracts from '{extractor_expr}' but this path is not declared in response schema"
513
519
  )
514
520
 
515
521
  except Exception as e:
@@ -53,7 +53,7 @@ from .types import (
53
53
  UsersListParams,
54
54
  ViewsGetParams,
55
55
  ViewsListParams,
56
- SearchParams,
56
+ AirbyteSearchParams,
57
57
  BrandsSearchFilter,
58
58
  BrandsSearchQuery,
59
59
  GroupsSearchFilter,
@@ -131,8 +131,8 @@ from .models import (
131
131
  Trigger,
132
132
  User,
133
133
  View,
134
- SearchHit,
135
- SearchResult,
134
+ AirbyteSearchHit,
135
+ AirbyteSearchResult,
136
136
  BrandsSearchData,
137
137
  BrandsSearchResult,
138
138
  GroupsSearchData,
@@ -990,7 +990,7 @@ class TicketsQuery:
990
990
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
991
991
 
992
992
  Returns:
993
- TicketsSearchResult with hits (list of SearchHit[TicketsSearchData]) and pagination info
993
+ TicketsSearchResult with hits (list of AirbyteSearchHit[TicketsSearchData]) and pagination info
994
994
 
995
995
  Raises:
996
996
  NotImplementedError: If called in local execution mode
@@ -1008,7 +1008,7 @@ class TicketsQuery:
1008
1008
  # Parse response into typed result
1009
1009
  return TicketsSearchResult(
1010
1010
  hits=[
1011
- SearchHit[TicketsSearchData](
1011
+ AirbyteSearchHit[TicketsSearchData](
1012
1012
  id=hit.get("id"),
1013
1013
  score=hit.get("score"),
1014
1014
  data=TicketsSearchData(**hit.get("data", {}))
@@ -1151,7 +1151,7 @@ class UsersQuery:
1151
1151
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
1152
1152
 
1153
1153
  Returns:
1154
- UsersSearchResult with hits (list of SearchHit[UsersSearchData]) and pagination info
1154
+ UsersSearchResult with hits (list of AirbyteSearchHit[UsersSearchData]) and pagination info
1155
1155
 
1156
1156
  Raises:
1157
1157
  NotImplementedError: If called in local execution mode
@@ -1169,7 +1169,7 @@ class UsersQuery:
1169
1169
  # Parse response into typed result
1170
1170
  return UsersSearchResult(
1171
1171
  hits=[
1172
- SearchHit[UsersSearchData](
1172
+ AirbyteSearchHit[UsersSearchData](
1173
1173
  id=hit.get("id"),
1174
1174
  score=hit.get("score"),
1175
1175
  data=UsersSearchData(**hit.get("data", {}))
@@ -1282,7 +1282,7 @@ class OrganizationsQuery:
1282
1282
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
1283
1283
 
1284
1284
  Returns:
1285
- OrganizationsSearchResult with hits (list of SearchHit[OrganizationsSearchData]) and pagination info
1285
+ OrganizationsSearchResult with hits (list of AirbyteSearchHit[OrganizationsSearchData]) and pagination info
1286
1286
 
1287
1287
  Raises:
1288
1288
  NotImplementedError: If called in local execution mode
@@ -1300,7 +1300,7 @@ class OrganizationsQuery:
1300
1300
  # Parse response into typed result
1301
1301
  return OrganizationsSearchResult(
1302
1302
  hits=[
1303
- SearchHit[OrganizationsSearchData](
1303
+ AirbyteSearchHit[OrganizationsSearchData](
1304
1304
  id=hit.get("id"),
1305
1305
  score=hit.get("score"),
1306
1306
  data=OrganizationsSearchData(**hit.get("data", {}))
@@ -1410,7 +1410,7 @@ class GroupsQuery:
1410
1410
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
1411
1411
 
1412
1412
  Returns:
1413
- GroupsSearchResult with hits (list of SearchHit[GroupsSearchData]) and pagination info
1413
+ GroupsSearchResult with hits (list of AirbyteSearchHit[GroupsSearchData]) and pagination info
1414
1414
 
1415
1415
  Raises:
1416
1416
  NotImplementedError: If called in local execution mode
@@ -1428,7 +1428,7 @@ class GroupsQuery:
1428
1428
  # Parse response into typed result
1429
1429
  return GroupsSearchResult(
1430
1430
  hits=[
1431
- SearchHit[GroupsSearchData](
1431
+ AirbyteSearchHit[GroupsSearchData](
1432
1432
  id=hit.get("id"),
1433
1433
  score=hit.get("score"),
1434
1434
  data=GroupsSearchData(**hit.get("data", {}))
@@ -1527,7 +1527,7 @@ class TicketCommentsQuery:
1527
1527
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
1528
1528
 
1529
1529
  Returns:
1530
- TicketCommentsSearchResult with hits (list of SearchHit[TicketCommentsSearchData]) and pagination info
1530
+ TicketCommentsSearchResult with hits (list of AirbyteSearchHit[TicketCommentsSearchData]) and pagination info
1531
1531
 
1532
1532
  Raises:
1533
1533
  NotImplementedError: If called in local execution mode
@@ -1545,7 +1545,7 @@ class TicketCommentsQuery:
1545
1545
  # Parse response into typed result
1546
1546
  return TicketCommentsSearchResult(
1547
1547
  hits=[
1548
- SearchHit[TicketCommentsSearchData](
1548
+ AirbyteSearchHit[TicketCommentsSearchData](
1549
1549
  id=hit.get("id"),
1550
1550
  score=hit.get("score"),
1551
1551
  data=TicketCommentsSearchData(**hit.get("data", {}))
@@ -1750,7 +1750,7 @@ class TicketAuditsQuery:
1750
1750
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
1751
1751
 
1752
1752
  Returns:
1753
- TicketAuditsSearchResult with hits (list of SearchHit[TicketAuditsSearchData]) and pagination info
1753
+ TicketAuditsSearchResult with hits (list of AirbyteSearchHit[TicketAuditsSearchData]) and pagination info
1754
1754
 
1755
1755
  Raises:
1756
1756
  NotImplementedError: If called in local execution mode
@@ -1768,7 +1768,7 @@ class TicketAuditsQuery:
1768
1768
  # Parse response into typed result
1769
1769
  return TicketAuditsSearchResult(
1770
1770
  hits=[
1771
- SearchHit[TicketAuditsSearchData](
1771
+ AirbyteSearchHit[TicketAuditsSearchData](
1772
1772
  id=hit.get("id"),
1773
1773
  score=hit.get("score"),
1774
1774
  data=TicketAuditsSearchData(**hit.get("data", {}))
@@ -1871,7 +1871,7 @@ class TicketMetricsQuery:
1871
1871
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
1872
1872
 
1873
1873
  Returns:
1874
- TicketMetricsSearchResult with hits (list of SearchHit[TicketMetricsSearchData]) and pagination info
1874
+ TicketMetricsSearchResult with hits (list of AirbyteSearchHit[TicketMetricsSearchData]) and pagination info
1875
1875
 
1876
1876
  Raises:
1877
1877
  NotImplementedError: If called in local execution mode
@@ -1889,7 +1889,7 @@ class TicketMetricsQuery:
1889
1889
  # Parse response into typed result
1890
1890
  return TicketMetricsSearchResult(
1891
1891
  hits=[
1892
- SearchHit[TicketMetricsSearchData](
1892
+ AirbyteSearchHit[TicketMetricsSearchData](
1893
1893
  id=hit.get("id"),
1894
1894
  score=hit.get("score"),
1895
1895
  data=TicketMetricsSearchData(**hit.get("data", {}))
@@ -2017,7 +2017,7 @@ class TicketFieldsQuery:
2017
2017
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
2018
2018
 
2019
2019
  Returns:
2020
- TicketFieldsSearchResult with hits (list of SearchHit[TicketFieldsSearchData]) and pagination info
2020
+ TicketFieldsSearchResult with hits (list of AirbyteSearchHit[TicketFieldsSearchData]) and pagination info
2021
2021
 
2022
2022
  Raises:
2023
2023
  NotImplementedError: If called in local execution mode
@@ -2035,7 +2035,7 @@ class TicketFieldsQuery:
2035
2035
  # Parse response into typed result
2036
2036
  return TicketFieldsSearchResult(
2037
2037
  hits=[
2038
- SearchHit[TicketFieldsSearchData](
2038
+ AirbyteSearchHit[TicketFieldsSearchData](
2039
2039
  id=hit.get("id"),
2040
2040
  score=hit.get("score"),
2041
2041
  data=TicketFieldsSearchData(**hit.get("data", {}))
@@ -2149,7 +2149,7 @@ class BrandsQuery:
2149
2149
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
2150
2150
 
2151
2151
  Returns:
2152
- BrandsSearchResult with hits (list of SearchHit[BrandsSearchData]) and pagination info
2152
+ BrandsSearchResult with hits (list of AirbyteSearchHit[BrandsSearchData]) and pagination info
2153
2153
 
2154
2154
  Raises:
2155
2155
  NotImplementedError: If called in local execution mode
@@ -2167,7 +2167,7 @@ class BrandsQuery:
2167
2167
  # Parse response into typed result
2168
2168
  return BrandsSearchResult(
2169
2169
  hits=[
2170
- SearchHit[BrandsSearchData](
2170
+ AirbyteSearchHit[BrandsSearchData](
2171
2171
  id=hit.get("id"),
2172
2172
  score=hit.get("score"),
2173
2173
  data=BrandsSearchData(**hit.get("data", {}))
@@ -2545,7 +2545,7 @@ class TagsQuery:
2545
2545
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
2546
2546
 
2547
2547
  Returns:
2548
- TagsSearchResult with hits (list of SearchHit[TagsSearchData]) and pagination info
2548
+ TagsSearchResult with hits (list of AirbyteSearchHit[TagsSearchData]) and pagination info
2549
2549
 
2550
2550
  Raises:
2551
2551
  NotImplementedError: If called in local execution mode
@@ -2563,7 +2563,7 @@ class TagsQuery:
2563
2563
  # Parse response into typed result
2564
2564
  return TagsSearchResult(
2565
2565
  hits=[
2566
- SearchHit[TagsSearchData](
2566
+ AirbyteSearchHit[TagsSearchData](
2567
2567
  id=hit.get("id"),
2568
2568
  score=hit.get("score"),
2569
2569
  data=TagsSearchData(**hit.get("data", {}))
@@ -2682,7 +2682,7 @@ class SatisfactionRatingsQuery:
2682
2682
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
2683
2683
 
2684
2684
  Returns:
2685
- SatisfactionRatingsSearchResult with hits (list of SearchHit[SatisfactionRatingsSearchData]) and pagination info
2685
+ SatisfactionRatingsSearchResult with hits (list of AirbyteSearchHit[SatisfactionRatingsSearchData]) and pagination info
2686
2686
 
2687
2687
  Raises:
2688
2688
  NotImplementedError: If called in local execution mode
@@ -2700,7 +2700,7 @@ class SatisfactionRatingsQuery:
2700
2700
  # Parse response into typed result
2701
2701
  return SatisfactionRatingsSearchResult(
2702
2702
  hits=[
2703
- SearchHit[SatisfactionRatingsSearchData](
2703
+ AirbyteSearchHit[SatisfactionRatingsSearchData](
2704
2704
  id=hit.get("id"),
2705
2705
  score=hit.get("score"),
2706
2706
  data=SatisfactionRatingsSearchData(**hit.get("data", {}))
@@ -2960,7 +2960,7 @@ class TicketFormsQuery:
2960
2960
  Example: [["id"], ["user", "name"]] returns id and user.name fields.
2961
2961
 
2962
2962
  Returns:
2963
- TicketFormsSearchResult with hits (list of SearchHit[TicketFormsSearchData]) and pagination info
2963
+ TicketFormsSearchResult with hits (list of AirbyteSearchHit[TicketFormsSearchData]) and pagination info
2964
2964
 
2965
2965
  Raises:
2966
2966
  NotImplementedError: If called in local execution mode
@@ -2978,7 +2978,7 @@ class TicketFormsQuery:
2978
2978
  # Parse response into typed result
2979
2979
  return TicketFormsSearchResult(
2980
2980
  hits=[
2981
- SearchHit[TicketFormsSearchData](
2981
+ AirbyteSearchHit[TicketFormsSearchData](
2982
2982
  id=hit.get("id"),
2983
2983
  score=hit.get("score"),
2984
2984
  data=TicketFormsSearchData(**hit.get("data", {}))
@@ -1212,7 +1212,7 @@ class UsersSearchData(BaseModel):
1212
1212
 
1213
1213
  # ===== GENERIC SEARCH RESULT TYPES =====
1214
1214
 
1215
- class SearchHit(BaseModel, Generic[D]):
1215
+ class AirbyteSearchHit(BaseModel, Generic[D]):
1216
1216
  """A single search result with typed data."""
1217
1217
  model_config = ConfigDict(extra="allow")
1218
1218
 
@@ -1224,11 +1224,11 @@ class SearchHit(BaseModel, Generic[D]):
1224
1224
  """The matched record data."""
1225
1225
 
1226
1226
 
1227
- class SearchResult(BaseModel, Generic[D]):
1228
- """Result from search operations with typed hits."""
1227
+ class AirbyteSearchResult(BaseModel, Generic[D]):
1228
+ """Result from Airbyte cache search operations with typed hits."""
1229
1229
  model_config = ConfigDict(extra="allow")
1230
1230
 
1231
- hits: list[SearchHit[D]] = Field(default_factory=list)
1231
+ hits: list[AirbyteSearchHit[D]] = Field(default_factory=list)
1232
1232
  """List of matching records."""
1233
1233
  next_cursor: str | None = None
1234
1234
  """Cursor for fetching the next page of results."""
@@ -1238,40 +1238,40 @@ class SearchResult(BaseModel, Generic[D]):
1238
1238
 
1239
1239
  # ===== ENTITY-SPECIFIC SEARCH RESULT TYPE ALIASES =====
1240
1240
 
1241
- BrandsSearchResult = SearchResult[BrandsSearchData]
1241
+ BrandsSearchResult = AirbyteSearchResult[BrandsSearchData]
1242
1242
  """Search result type for brands entity."""
1243
1243
 
1244
- GroupsSearchResult = SearchResult[GroupsSearchData]
1244
+ GroupsSearchResult = AirbyteSearchResult[GroupsSearchData]
1245
1245
  """Search result type for groups entity."""
1246
1246
 
1247
- OrganizationsSearchResult = SearchResult[OrganizationsSearchData]
1247
+ OrganizationsSearchResult = AirbyteSearchResult[OrganizationsSearchData]
1248
1248
  """Search result type for organizations entity."""
1249
1249
 
1250
- SatisfactionRatingsSearchResult = SearchResult[SatisfactionRatingsSearchData]
1250
+ SatisfactionRatingsSearchResult = AirbyteSearchResult[SatisfactionRatingsSearchData]
1251
1251
  """Search result type for satisfaction_ratings entity."""
1252
1252
 
1253
- TagsSearchResult = SearchResult[TagsSearchData]
1253
+ TagsSearchResult = AirbyteSearchResult[TagsSearchData]
1254
1254
  """Search result type for tags entity."""
1255
1255
 
1256
- TicketAuditsSearchResult = SearchResult[TicketAuditsSearchData]
1256
+ TicketAuditsSearchResult = AirbyteSearchResult[TicketAuditsSearchData]
1257
1257
  """Search result type for ticket_audits entity."""
1258
1258
 
1259
- TicketCommentsSearchResult = SearchResult[TicketCommentsSearchData]
1259
+ TicketCommentsSearchResult = AirbyteSearchResult[TicketCommentsSearchData]
1260
1260
  """Search result type for ticket_comments entity."""
1261
1261
 
1262
- TicketFieldsSearchResult = SearchResult[TicketFieldsSearchData]
1262
+ TicketFieldsSearchResult = AirbyteSearchResult[TicketFieldsSearchData]
1263
1263
  """Search result type for ticket_fields entity."""
1264
1264
 
1265
- TicketFormsSearchResult = SearchResult[TicketFormsSearchData]
1265
+ TicketFormsSearchResult = AirbyteSearchResult[TicketFormsSearchData]
1266
1266
  """Search result type for ticket_forms entity."""
1267
1267
 
1268
- TicketMetricsSearchResult = SearchResult[TicketMetricsSearchData]
1268
+ TicketMetricsSearchResult = AirbyteSearchResult[TicketMetricsSearchData]
1269
1269
  """Search result type for ticket_metrics entity."""
1270
1270
 
1271
- TicketsSearchResult = SearchResult[TicketsSearchData]
1271
+ TicketsSearchResult = AirbyteSearchResult[TicketsSearchData]
1272
1272
  """Search result type for tickets entity."""
1273
1273
 
1274
- UsersSearchResult = SearchResult[UsersSearchData]
1274
+ UsersSearchResult = AirbyteSearchResult[UsersSearchData]
1275
1275
  """Search result type for users entity."""
1276
1276
 
1277
1277