airbyte-agent-amazon-ads 0.1.5__py3-none-any.whl → 0.1.6__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.
@@ -140,6 +140,33 @@ class ServerVariable(BaseModel):
140
140
  description: str | None = None
141
141
 
142
142
 
143
+ class EnvironmentMappingTransform(BaseModel):
144
+ """
145
+ Structured transform for environment mapping values.
146
+
147
+ Allows transforming environment values before storing in source_config.
148
+
149
+ Example:
150
+ source: subdomain
151
+ format: "{value}.atlassian.net"
152
+
153
+ The format string uses {value} as a placeholder for the source value.
154
+ """
155
+
156
+ model_config = ConfigDict(populate_by_name=True, extra="forbid")
157
+
158
+ source: str = Field(description="The environment config key to read the value from")
159
+ format: str | None = Field(
160
+ default=None,
161
+ description="Optional format string to transform the value. Use {value} as placeholder.",
162
+ )
163
+
164
+
165
+ # Type alias for environment mapping values: either a simple string (config key)
166
+ # or a structured transform with source and optional transform template
167
+ EnvironmentMappingValue = str | EnvironmentMappingTransform
168
+
169
+
143
170
  class Server(BaseModel):
144
171
  """
145
172
  Server URL and variable definitions.
@@ -152,7 +179,10 @@ class Server(BaseModel):
152
179
  url: str
153
180
  description: str | None = None
154
181
  variables: Dict[str, ServerVariable] = Field(default_factory=dict)
155
- x_airbyte_replication_environment_mapping: Dict[str, str] | None = Field(default=None, alias="x-airbyte-replication-environment-mapping")
182
+ x_airbyte_replication_environment_mapping: Dict[str, EnvironmentMappingValue] | None = Field(
183
+ default=None,
184
+ alias="x-airbyte-replication-environment-mapping",
185
+ )
156
186
  x_airbyte_replication_environment_constants: Dict[str, Any] | None = Field(
157
187
  default=None,
158
188
  alias="x-airbyte-replication-environment-constants",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-amazon-ads
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Airbyte Amazon-Ads 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/
@@ -131,6 +131,6 @@ For the service's official API docs, see the [Amazon-Ads API reference](https://
131
131
 
132
132
  ## Version information
133
133
 
134
- - **Package version:** 0.1.5
134
+ - **Package version:** 0.1.6
135
135
  - **Connector version:** 1.0.1
136
- - **Generated with Connector SDK commit SHA:** f17cdd8c92950751a75daff9c6bf74df05774ede
136
+ - **Generated with Connector SDK commit SHA:** 416466da4970ae5fd6c7f2c658a68e047e51efd9
@@ -42,7 +42,7 @@ airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/__init__.py,sha256=
42
42
  airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/instrumentation.py,sha256=_dXvNiqdndIBwDjeDKNViWzn_M5FkSUsMmJtFldrmsM,1504
43
43
  airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/metrics.py,sha256=FRff7dKt4iwt_A7pxV5n9kAGBR756PC7q8-weWygPSM,2817
44
44
  airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/__init__.py,sha256=Uymu-QuzGJuMxexBagIvUxpVAigIuIhz3KeBl_Vu4Ko,1638
45
- airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/base.py,sha256=zBW5svQohGCdn46Snc8DG4PsqfmZDovp693vRgugDFE,5374
45
+ airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/base.py,sha256=KX3OUSnWu_M6yq-IMTH4dI420x-VRSvKc7uery6gFUU,6303
46
46
  airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/components.py,sha256=x3YCM1p2n_xHi50fMeOX0mXUiPqjGlLHs3Go8jXokb0,7895
47
47
  airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/connector.py,sha256=mSZk1wr2YSdRj9tTRsPAuIlCzd_xZLw-Bzl1sMwE0rE,3731
48
48
  airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/extensions.py,sha256=f7VhHrcIYxaPOJHMc4g0lpy04pZTbx5nlroNzAu5B9Q,7135
@@ -52,6 +52,6 @@ airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/__init__.py,sha256=Ra
52
52
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
53
53
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
54
54
  airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
55
- airbyte_agent_amazon_ads-0.1.5.dist-info/METADATA,sha256=jPZzeVjWD9y6Lsq7CVUEQt_XCePJr_xosoFhVo0MAVI,5152
56
- airbyte_agent_amazon_ads-0.1.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_amazon_ads-0.1.5.dist-info/RECORD,,
55
+ airbyte_agent_amazon_ads-0.1.6.dist-info/METADATA,sha256=1fIq0thyfKkVulSJkgVW5tqo4YgoSr5YwFK82aAUt4c,5152
56
+ airbyte_agent_amazon_ads-0.1.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_amazon_ads-0.1.6.dist-info/RECORD,,