diff --git a/docs/openapi/monitoring-api.json b/docs/openapi/monitoring-api.json index 14ea8d4..6fada28 100644 --- a/docs/openapi/monitoring-api.json +++ b/docs/openapi/monitoring-api.json @@ -59946,6 +59946,32 @@ "type" ] }, + "BindingVersionSnapshot": { + "required": [ + "attachedKeys", + "keys" + ], + "type": "object", + "properties": { + "keys": { + "type": "array", + "description": "Secret key names resolved for this run", + "items": { + "type": "string", + "description": "Secret key names resolved for this run" + } + }, + "attachedKeys": { + "type": "array", + "description": "Secret key names attached to this run", + "items": { + "type": "string", + "description": "Secret key names attached to this run" + } + } + }, + "description": "Secret key names frozen when the run was created" + }, "BodyContainsAssertion": { "required": [ "type", @@ -64337,9 +64363,9 @@ "type": "object", "properties": { "id": { + "minLength": 1, "type": "string", - "description": "Message id", - "format": "uuid" + "description": "Message id" }, "domainId": { "type": "string", @@ -65248,6 +65274,9 @@ "RUNTIME_RETIRED", "RUNTIME_NOT_AVAILABLE", "RUNTIME_UNAVAILABLE", + "RUNTIME_NO_CAPACITY", + "RUNTIME_NO_ROUTE", + "ROLLOUT_CANARY_MISSING", "RUNTIME_EOL", "RUNTIME_AMBIGUOUS", "RUNTIME_DIGEST_IMMUTABLE", @@ -74434,20 +74463,10 @@ "nullable": true }, "capturePolicySnapshot": { - "type": "object", - "additionalProperties": { - "type": "object", - "description": "Capture settings frozen at create" - }, - "description": "Capture settings frozen at create" + "$ref": "#/components/schemas/CapturePolicy" }, "bindingVersionSnapshot": { - "type": "object", - "additionalProperties": { - "type": "object", - "description": "Resolved secret key names frozen at create" - }, - "description": "Resolved secret key names frozen at create" + "$ref": "#/components/schemas/BindingVersionSnapshot" }, "durationMs": { "type": "integer", @@ -74576,7 +74595,14 @@ "testing_quota_exhausted", "no_seat", "lease_lost", - "target_unreachable" + "target_unreachable", + "no_capacity", + "placement_failed", + "heartbeat_lost", + "lease_cap", + "open_expired", + "session_failed", + "log_unavailable" ] }, "billable": { @@ -74857,7 +74883,12 @@ "target_blocked", "script_error", "wait_timeout", - "setup" + "setup", + "dns", + "connect", + "tls", + "http_status", + "navigation_timeout" ] }, "step": { diff --git a/src/devhelm/_generated.py b/src/devhelm/_generated.py index 3353205..1dd6bf7 100644 --- a/src/devhelm/_generated.py +++ b/src/devhelm/_generated.py @@ -563,6 +563,19 @@ class BearerAuthConfig(BaseModel): ] = None +class BindingVersionSnapshot(BaseModel): + model_config = ConfigDict(extra="ignore", populate_by_name=True) + keys: Annotated[ + list[str], Field(description="Secret key names resolved for this run") + ] + attached_keys: Annotated[ + list[str], + Field( + alias="attachedKeys", description="Secret key names attached to this run" + ), + ] + + class BodyContainsAssertion(BaseModel): model_config = ConfigDict(extra="ignore", populate_by_name=True) type: Literal["body_contains"] = "body_contains" @@ -11723,7 +11736,7 @@ class DemoAvailabilityDto(BaseModel): class EmailMessageDto(BaseModel): model_config = ConfigDict(extra="ignore", populate_by_name=True) - id: Annotated[UUID, Field(description="Message id")] + id: Annotated[str, Field(description="Message id", min_length=1)] domain_id: Annotated[UUID, Field(alias="domainId", description="Parent domain id")] inbox: Annotated[ str | None, Field(description="Local-part the message was addressed to") @@ -14809,18 +14822,10 @@ class RunDto(BaseModel): Field(alias="purgedAt", description="When stored evidence was purged"), ] = None capture_policy_snapshot: Annotated[ - dict[str, JsonValue], - Field( - alias="capturePolicySnapshot", - description="Capture settings frozen at create", - ), + CapturePolicy, Field(alias="capturePolicySnapshot") ] binding_version_snapshot: Annotated[ - dict[str, JsonValue], - Field( - alias="bindingVersionSnapshot", - description="Resolved secret key names frozen at create", - ), + BindingVersionSnapshot, Field(alias="bindingVersionSnapshot") ] duration_ms: Annotated[ int | None,