From 8563b89e0df6147a6f92f743521d6c794c5f3817 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 12 May 2026 13:38:41 +0000 Subject: [PATCH] chore: update generated API types from latest spec --- docs/openapi/monitoring-api.json | 12 +++++++----- src/devhelm/_generated.py | 9 +++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/openapi/monitoring-api.json b/docs/openapi/monitoring-api.json index e5771a6..5ccd9ae 100644 --- a/docs/openapi/monitoring-api.json +++ b/docs/openapi/monitoring-api.json @@ -13234,7 +13234,7 @@ "Service Subscriptions" ], "summary": "Update alert sensitivity for a subscription", - "description": "Controls which external incidents trigger alerts: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents).", + "description": "Controls which external incidents trigger alerts and whether they page anyone: ALL (any status change, paged), INCIDENTS_ONLY (real vendor incidents, default, paged), MAJOR_ONLY (only DOWN-level incidents, paged), AWARENESS (real vendor incidents tracked silently — visible on the dashboard but no alert channels fire).", "operationId": "updateAlertSensitivity", "parameters": [ { @@ -29880,8 +29880,9 @@ "nullable": true }, "alertSensitivity": { + "pattern": "ALL|AWARENESS|INCIDENTS_ONLY|MAJOR_ONLY", "type": "string", - "description": "Alert sensitivity level. Defaults to INCIDENTS_ONLY when not provided.", + "description": "Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts). Defaults to INCIDENTS_ONLY when not provided.", "nullable": true } }, @@ -29965,9 +29966,10 @@ "alertSensitivity": { "minLength": 1, "type": "string", - "description": "Alert sensitivity: ALL (synthetic + real incidents), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (real + DOWN severity)", + "description": "Alert sensitivity: ALL (synthetic + real incidents), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (real + DOWN severity), AWARENESS (real vendor incidents tracked silently — visible on dashboard, never paged)", "enum": [ "ALL", + "AWARENESS", "INCIDENTS_ONLY", "MAJOR_ONLY" ] @@ -33174,9 +33176,9 @@ "properties": { "alertSensitivity": { "minLength": 1, - "pattern": "ALL|INCIDENTS_ONLY|MAJOR_ONLY", + "pattern": "ALL|AWARENESS|INCIDENTS_ONLY|MAJOR_ONLY", "type": "string", - "description": "Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents)" + "description": "Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts)" } }, "description": "Request body for updating alert sensitivity on a service subscription" diff --git a/src/devhelm/_generated.py b/src/devhelm/_generated.py index 5a1a027..63487d9 100644 --- a/src/devhelm/_generated.py +++ b/src/devhelm/_generated.py @@ -4042,7 +4042,8 @@ class ServiceSubscribeRequest(BaseModel): str | None, Field( alias="alertSensitivity", - description="Alert sensitivity level. Defaults to INCIDENTS_ONLY when not provided.", + description="Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts). Defaults to INCIDENTS_ONLY when not provided.", + pattern="ALL|AWARENESS|INCIDENTS_ONLY|MAJOR_ONLY", ), ] = None @@ -4086,7 +4087,7 @@ class ServiceSubscriptionDto(BaseModel): str, Field( alias="alertSensitivity", - description="Alert sensitivity: ALL (synthetic + real incidents), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (real + DOWN severity)", + description="Alert sensitivity: ALL (synthetic + real incidents), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (real + DOWN severity), AWARENESS (real vendor incidents tracked silently — visible on dashboard, never paged)", min_length=1, ), ] @@ -5090,9 +5091,9 @@ class UpdateAlertSensitivityRequest(BaseModel): str, Field( alias="alertSensitivity", - description="Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents)", + description="Alert sensitivity: ALL (any status change), INCIDENTS_ONLY (real vendor incidents, default), MAJOR_ONLY (only DOWN-level incidents), AWARENESS (track silently — show on dashboard, never send alerts)", min_length=1, - pattern="ALL|INCIDENTS_ONLY|MAJOR_ONLY", + pattern="ALL|AWARENESS|INCIDENTS_ONLY|MAJOR_ONLY", ), ]