chore(api): update OpenAPI snapshot with UpcomingEventsDto.window (WealthLedger/frontend#134)
This commit is contained in:
Vendored
+8
@@ -1232,6 +1232,12 @@ export interface components {
|
||||
data: components["schemas"]["IncomeAnalyticsDto"] | null;
|
||||
meta: components["schemas"]["IncomeAnalyticsMetaDto"];
|
||||
};
|
||||
UpcomingEventsWindowDto: {
|
||||
/** Format: date */
|
||||
from: string;
|
||||
/** Format: date */
|
||||
to: string;
|
||||
};
|
||||
UpcomingEventDto: {
|
||||
account?: components["schemas"]["AccountReferenceDto"];
|
||||
/** @enum {string} */
|
||||
@@ -1252,6 +1258,8 @@ export interface components {
|
||||
accountId: string;
|
||||
/** Format: date-time */
|
||||
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"][];
|
||||
incomeTotalsByCurrency: components["schemas"]["MoneyDto"][];
|
||||
};
|
||||
|
||||
@@ -7243,6 +7243,23 @@
|
||||
"meta"
|
||||
]
|
||||
},
|
||||
"UpcomingEventsWindowDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"from": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"to": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"from",
|
||||
"to"
|
||||
]
|
||||
},
|
||||
"UpcomingEventDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -7324,6 +7341,14 @@
|
||||
"type": "string",
|
||||
"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": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -7340,6 +7365,7 @@
|
||||
"required": [
|
||||
"accountId",
|
||||
"calculatedAt",
|
||||
"window",
|
||||
"events",
|
||||
"incomeTotalsByCurrency"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user