chore(api): update OpenAPI snapshot with UpcomingEventsDto.window (WealthLedger/frontend#134) #135

Merged
codex-bot merged 1 commits from chore/134-openapi-events-window into develop 2026-11-03 07:21:35 +03:00
2 changed files with 34 additions and 0 deletions
+8
View File
@@ -1232,6 +1232,12 @@ export interface components {
data: components["schemas"]["IncomeAnalyticsDto"] | null; data: components["schemas"]["IncomeAnalyticsDto"] | null;
meta: components["schemas"]["IncomeAnalyticsMetaDto"]; meta: components["schemas"]["IncomeAnalyticsMetaDto"];
}; };
UpcomingEventsWindowDto: {
/** Format: date */
from: string;
/** Format: date */
to: string;
};
UpcomingEventDto: { UpcomingEventDto: {
account?: components["schemas"]["AccountReferenceDto"]; account?: components["schemas"]["AccountReferenceDto"];
/** @enum {string} */ /** @enum {string} */
@@ -1252,6 +1258,8 @@ export interface components {
accountId: string; accountId: string;
/** Format: date-time */ /** Format: date-time */
calculatedAt: string; calculatedAt: string;
/** @description Inclusive UTC window the saved forecast was calculated for. Unchanged by the requested from/to filter. */
window: components["schemas"]["UpcomingEventsWindowDto"];
events: components["schemas"]["UpcomingEventDto"][]; events: components["schemas"]["UpcomingEventDto"][];
incomeTotalsByCurrency: components["schemas"]["MoneyDto"][]; incomeTotalsByCurrency: components["schemas"]["MoneyDto"][];
}; };
+26
View File
@@ -7243,6 +7243,23 @@
"meta" "meta"
] ]
}, },
"UpcomingEventsWindowDto": {
"type": "object",
"properties": {
"from": {
"type": "string",
"format": "date"
},
"to": {
"type": "string",
"format": "date"
}
},
"required": [
"from",
"to"
]
},
"UpcomingEventDto": { "UpcomingEventDto": {
"type": "object", "type": "object",
"properties": { "properties": {
@@ -7324,6 +7341,14 @@
"type": "string", "type": "string",
"format": "date-time" "format": "date-time"
}, },
"window": {
"description": "Inclusive UTC window the saved forecast was calculated for. Unchanged by the requested from/to filter.",
"allOf": [
{
"$ref": "#/components/schemas/UpcomingEventsWindowDto"
}
]
},
"events": { "events": {
"type": "array", "type": "array",
"items": { "items": {
@@ -7340,6 +7365,7 @@
"required": [ "required": [
"accountId", "accountId",
"calculatedAt", "calculatedAt",
"window",
"events", "events",
"incomeTotalsByCurrency" "incomeTotalsByCurrency"
] ]