From 1570f5fa4a37b6567d019ba555daff9f1b57c379 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 23 Aug 2026 12:21:59 +0000 Subject: [PATCH] chore: update generated API types from latest spec --- docs/openapi/monitoring-api.json | 186 +++++-------------------------- src/generated/api.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/generated/api.ts b/src/generated/api.ts index 15f0aab..9d7e839 100644 --- a/src/generated/api.ts +++ b/src/generated/api.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; @@ -4083,6 +4083,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"][]; @@ -8064,7 +8073,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultAlertDeliveryDto: { data: components["schemas"]["AlertDeliveryDto"][]; @@ -8074,7 +8082,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultApiKeyDto: { data: components["schemas"]["ApiKeyDto"][]; @@ -8084,7 +8091,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultAuditEventDto: { data: components["schemas"]["AuditEventDto"][]; @@ -8094,7 +8100,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultCategoryDto: { data: components["schemas"]["CategoryDto"][]; @@ -8104,7 +8109,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultComponentUptimeDayDto: { data: components["schemas"]["ComponentUptimeDayDto"][]; @@ -8114,7 +8118,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultDeliveryAttemptDto: { data: components["schemas"]["DeliveryAttemptDto"][]; @@ -8124,7 +8127,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultEnvironmentDto: { data: components["schemas"]["EnvironmentDto"][]; @@ -8134,7 +8136,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultIncidentDto: { data: components["schemas"]["IncidentDto"][]; @@ -8144,7 +8145,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultIncidentStateTransitionDto: { data: components["schemas"]["IncidentStateTransitionDto"][]; @@ -8154,7 +8154,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultIntegrationDto: { data: components["schemas"]["IntegrationDto"][]; @@ -8164,7 +8163,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultInviteDto: { data: components["schemas"]["InviteDto"][]; @@ -8174,7 +8172,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMaintenanceWindowDto: { data: components["schemas"]["MaintenanceWindowDto"][]; @@ -8184,7 +8181,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMemberDto: { data: components["schemas"]["MemberDto"][]; @@ -8194,7 +8190,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMonitorDto: { data: components["schemas"]["MonitorDto"][]; @@ -8204,7 +8199,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultMonitorVersionDto: { data: components["schemas"]["MonitorVersionDto"][]; @@ -8214,7 +8208,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultNotificationDispatchDto: { data: components["schemas"]["NotificationDispatchDto"][]; @@ -8224,7 +8217,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultNotificationDto: { data: components["schemas"]["NotificationDto"][]; @@ -8234,7 +8226,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultNotificationPolicyDto: { data: components["schemas"]["NotificationPolicyDto"][]; @@ -8244,7 +8235,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultResourceGroupDto: { data: components["schemas"]["ResourceGroupDto"][]; @@ -8254,7 +8244,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultRuleEvaluationDto: { data: components["schemas"]["RuleEvaluationDto"][]; @@ -8264,7 +8253,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultScheduledMaintenanceDto: { data: components["schemas"]["ScheduledMaintenanceDto"][]; @@ -8274,7 +8262,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultSecretDto: { data: components["schemas"]["SecretDto"][]; @@ -8284,7 +8271,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultServiceComponentDto: { data: components["schemas"]["ServiceComponentDto"][]; @@ -8294,7 +8280,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultServiceIncidentDto: { data: components["schemas"]["ServiceIncidentDto"][]; @@ -8304,7 +8289,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultServiceSubscriptionDto: { data: components["schemas"]["ServiceSubscriptionDto"][]; @@ -8314,7 +8298,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageComponentDto: { data: components["schemas"]["StatusPageComponentDto"][]; @@ -8324,7 +8307,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageComponentGroupDto: { data: components["schemas"]["StatusPageComponentGroupDto"][]; @@ -8334,7 +8316,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageCustomDomainDto: { data: components["schemas"]["StatusPageCustomDomainDto"][]; @@ -8344,7 +8325,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageDto: { data: components["schemas"]["StatusPageDto"][]; @@ -8354,7 +8334,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageIncidentDto: { data: components["schemas"]["StatusPageIncidentDto"][]; @@ -8364,7 +8343,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageNotificationDeliveryDto: { data: components["schemas"]["StatusPageNotificationDeliveryDto"][]; @@ -8374,7 +8352,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultStatusPageSubscriberDto: { data: components["schemas"]["StatusPageSubscriberDto"][]; @@ -8384,7 +8361,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultTagDto: { data: components["schemas"]["TagDto"][]; @@ -8394,7 +8370,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultTestChannelResult: { data: components["schemas"]["TestChannelResult"][]; @@ -8404,7 +8379,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultVoiceLanguageDto: { data: components["schemas"]["VoiceLanguageDto"][]; @@ -8414,7 +8388,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultWebhookDeliveryDto: { data: components["schemas"]["WebhookDeliveryDto"][]; @@ -8424,7 +8397,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultWebhookEndpointDto: { data: components["schemas"]["WebhookEndpointDto"][]; @@ -8434,7 +8406,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; TableValueResultWorkspaceDto: { data: components["schemas"]["WorkspaceDto"][]; @@ -8444,7 +8415,6 @@ export interface components { totalElements?: number | null; /** Format: int32 */ totalPages?: number | null; - nextCursor?: string | null; }; /** @description Tag for organizing and filtering monitors */ TagDto: { @@ -19129,7 +19099,7 @@ export interface operations { [name: string]: unknown; }; content: { - "*/*": components["schemas"]["TableValueResultNotificationDispatchDto"]; + "*/*": components["schemas"]["CursorPageNotificationDispatchDto"]; }; }; /** @description Bad request — the payload failed validation */