From 54e16e9cb8afb829f70dde7f9e9df7cd1e95787d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 23 Aug 2026 12:18:18 +0000 Subject: [PATCH] chore: update generated API types from latest spec --- docs/openapi/monitoring-api.json | 186 +++++-------------------------- src/lib/api.generated.ts | 52 ++------- 2 files changed, 39 insertions(+), 199 deletions(-) diff --git a/docs/openapi/monitoring-api.json b/docs/openapi/monitoring-api.json index 146f30f..3ca170f 100644 --- a/docs/openapi/monitoring-api.json +++ b/docs/openapi/monitoring-api.json @@ -11919,7 +11919,7 @@ "Notification Policies" ], "summary": "List dispatches (firing history) for a notification policy", - "description": "Additive optional query params: since/until/cursor/limit. When all are omitted, returns the full history (legacy). When any is set, defaults to a 30-day window and limit 50, and may include nextCursor. Response remains TableValueResult — no CursorPage swap.", + "description": "Optional query params: since/until/cursor/limit. When all are omitted, returns the full history (legacy). When any is set, defaults to a 30-day window and limit 50. Response is CursorPage (hasMore + nextCursor), the same wrapper used by other append-only history endpoints.", "operationId": "listDispatches", "parameters": [ { @@ -11977,7 +11977,7 @@ "content": { "*/*": { "schema": { - "$ref": "#/components/schemas/TableValueResultNotificationDispatchDto" + "$ref": "#/components/schemas/CursorPageNotificationDispatchDto" } } } @@ -28219,6 +28219,32 @@ }, "description": "Cursor-paginated response for time-series and append-only data" }, + "CursorPageNotificationDispatchDto": { + "required": [ + "data", + "hasMore" + ], + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "Items on this page", + "items": { + "$ref": "#/components/schemas/NotificationDispatchDto" + } + }, + "nextCursor": { + "type": "string", + "description": "Opaque cursor for the next page; null when there are no more results", + "nullable": true + }, + "hasMore": { + "type": "boolean", + "description": "Whether more results exist beyond this page" + } + }, + "description": "Cursor-paginated response for time-series and append-only data" + }, "CursorPageServiceCatalogDto": { "required": [ "data", @@ -37822,10 +37848,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -37858,10 +37880,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -37894,10 +37912,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -37930,10 +37944,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -37966,10 +37976,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38002,10 +38008,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38038,10 +38040,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38074,10 +38072,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38110,10 +38104,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38146,10 +38136,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38182,10 +38168,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38218,10 +38200,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38254,10 +38232,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38290,10 +38264,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38326,10 +38296,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38362,10 +38328,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38398,10 +38360,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38434,10 +38392,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38470,10 +38424,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38506,10 +38456,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38542,10 +38488,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38578,10 +38520,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38614,10 +38552,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38650,10 +38584,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38686,10 +38616,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38722,10 +38648,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38758,10 +38680,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38794,10 +38712,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38830,10 +38744,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38866,10 +38776,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38902,10 +38808,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38938,10 +38840,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -38974,10 +38872,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -39010,10 +38904,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -39046,10 +38936,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -39082,10 +38968,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -39118,10 +39000,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -39154,10 +39032,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, @@ -39190,10 +39064,6 @@ "type": "integer", "format": "int32", "nullable": true - }, - "nextCursor": { - "type": "string", - "nullable": true } } }, diff --git a/src/lib/api.generated.ts b/src/lib/api.generated.ts index 0cfd6ad..18fd976 100644 --- a/src/lib/api.generated.ts +++ b/src/lib/api.generated.ts @@ -1411,7 +1411,7 @@ export interface paths { }; /** * List dispatches (firing history) for a notification policy - * @description Additive optional query params: since/until/cursor/limit. When all are omitted, returns the full history (legacy). When any is set, defaults to a 30-day window and limit 50, and may include nextCursor. Response remains TableValueResult — no CursorPage swap. + * @description Optional query params: since/until/cursor/limit. When all are omitted, returns the full history (legacy). When any is set, defaults to a 30-day window and limit 50. Response is CursorPage (hasMore + nextCursor), the same wrapper used by other append-only history endpoints. */ get: operations["listDispatches"]; put?: never; @@ -4104,6 +4104,15 @@ export interface components { hasMore: boolean; }; /** @description Cursor-paginated response for time-series and append-only data */ + CursorPageNotificationDispatchDto: { + /** @description Items on this page */ + data: components["schemas"]["NotificationDispatchDto"][]; + /** @description Opaque cursor for the next page; null when there are no more results */ + nextCursor?: string | null; + /** @description Whether more results exist beyond this page */ + hasMore: boolean; + }; + /** @description Cursor-paginated response for time-series and append-only data */ CursorPageServiceCatalogDto: { /** @description Items on this page */ data: components["schemas"]["ServiceCatalogDto"][]; @@ -8218,7 +8227,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultAlertDeliveryDto: { data: components["schemas"]["AlertDeliveryDto"][]; @@ -8228,7 +8236,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultApiKeyDto: { data: components["schemas"]["ApiKeyDto"][]; @@ -8238,7 +8245,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultAuditEventDto: { data: components["schemas"]["AuditEventDto"][]; @@ -8248,7 +8254,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultCategoryDto: { data: components["schemas"]["CategoryDto"][]; @@ -8258,7 +8263,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultComponentUptimeDayDto: { data: components["schemas"]["ComponentUptimeDayDto"][]; @@ -8268,7 +8272,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultDeliveryAttemptDto: { data: components["schemas"]["DeliveryAttemptDto"][]; @@ -8278,7 +8281,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultEnvironmentDto: { data: components["schemas"]["EnvironmentDto"][]; @@ -8288,7 +8290,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultIncidentDto: { data: components["schemas"]["IncidentDto"][]; @@ -8298,7 +8299,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultIncidentStateTransitionDto: { data: components["schemas"]["IncidentStateTransitionDto"][]; @@ -8308,7 +8308,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultIntegrationDto: { data: components["schemas"]["IntegrationDto"][]; @@ -8318,7 +8317,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultInviteDto: { data: components["schemas"]["InviteDto"][]; @@ -8328,7 +8326,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMaintenanceWindowDto: { data: components["schemas"]["MaintenanceWindowDto"][]; @@ -8338,7 +8335,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMemberDto: { data: components["schemas"]["MemberDto"][]; @@ -8348,7 +8344,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMonitorDto: { data: components["schemas"]["MonitorDto"][]; @@ -8358,7 +8353,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMonitorVersionDto: { data: components["schemas"]["MonitorVersionDto"][]; @@ -8368,7 +8362,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultNotificationDispatchDto: { data: components["schemas"]["NotificationDispatchDto"][]; @@ -8378,7 +8371,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultNotificationDto: { data: components["schemas"]["NotificationDto"][]; @@ -8388,7 +8380,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultNotificationPolicyDto: { data: components["schemas"]["NotificationPolicyDto"][]; @@ -8398,7 +8389,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultResourceGroupDto: { data: components["schemas"]["ResourceGroupDto"][]; @@ -8408,7 +8398,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultRuleEvaluationDto: { data: components["schemas"]["RuleEvaluationDto"][]; @@ -8418,7 +8407,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultScheduledMaintenanceDto: { data: components["schemas"]["ScheduledMaintenanceDto"][]; @@ -8428,7 +8416,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultSecretDto: { data: components["schemas"]["SecretDto"][]; @@ -8438,7 +8425,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultServiceComponentDto: { data: components["schemas"]["ServiceComponentDto"][]; @@ -8448,7 +8434,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultServiceIncidentDto: { data: components["schemas"]["ServiceIncidentDto"][]; @@ -8458,7 +8443,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultServiceSubscriptionDto: { data: components["schemas"]["ServiceSubscriptionDto"][]; @@ -8468,7 +8452,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageComponentDto: { data: components["schemas"]["StatusPageComponentDto"][]; @@ -8478,7 +8461,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageComponentGroupDto: { data: components["schemas"]["StatusPageComponentGroupDto"][]; @@ -8488,7 +8470,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageCustomDomainDto: { data: components["schemas"]["StatusPageCustomDomainDto"][]; @@ -8498,7 +8479,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageDto: { data: components["schemas"]["StatusPageDto"][]; @@ -8508,7 +8488,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageIncidentDto: { data: components["schemas"]["StatusPageIncidentDto"][]; @@ -8518,7 +8497,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageNotificationDeliveryDto: { data: components["schemas"]["StatusPageNotificationDeliveryDto"][]; @@ -8528,7 +8506,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageSubscriberDto: { data: components["schemas"]["StatusPageSubscriberDto"][]; @@ -8538,7 +8515,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultTagDto: { data: components["schemas"]["TagDto"][]; @@ -8548,7 +8524,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultTestChannelResult: { data: components["schemas"]["TestChannelResult"][]; @@ -8558,7 +8533,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultVoiceLanguageDto: { data: components["schemas"]["VoiceLanguageDto"][]; @@ -8568,7 +8542,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultWebhookDeliveryDto: { data: components["schemas"]["WebhookDeliveryDto"][]; @@ -8578,7 +8551,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultWebhookEndpointDto: { data: components["schemas"]["WebhookEndpointDto"][]; @@ -8588,7 +8560,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultWorkspaceDto: { data: components["schemas"]["WorkspaceDto"][]; @@ -8598,7 +8569,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; /** @description Tag for organizing and filtering monitors */ TagDto: { @@ -19283,7 +19253,7 @@ export interface operations { [name: string]: unknown; }; content: { - "*/*": components["schemas"]["TableValueResultNotificationDispatchDto"]; + "*/*": components["schemas"]["CursorPageNotificationDispatchDto"]; }; }; /** @description Bad request — the payload failed validation */