M8-T11: add WarmteLink discovery and history API

This commit is contained in:
2026-08-23 21:22:06 +02:00
parent 4884a19e3d
commit a9458394f2
8 changed files with 671 additions and 38 deletions
+31 -2
View File
@@ -1453,6 +1453,13 @@ export interface components {
/** Enabled */
enabled: boolean;
};
/** ChannelBindingSummaryResponse */
ChannelBindingSummaryResponse: {
/** Count */
count: number;
/** Meter Ids */
meter_ids: number[];
};
/** ChannelReadingResponse */
ChannelReadingResponse: {
/**
@@ -1753,6 +1760,21 @@ export interface components {
/** Name */
name: string;
};
/** DiscoverChannelResponse */
DiscoverChannelResponse: {
/** Uuid */
uuid: string;
/** Label */
label: string;
/** Unit */
unit: string;
/** Latest Value */
latest_value: string | null;
/** Latest At */
latest_at: string | null;
/** Latest Quality */
latest_quality: string | null;
};
/** DiscoverResponse */
DiscoverResponse: {
/** Requested */
@@ -1761,8 +1783,12 @@ export interface components {
supported: boolean;
/** Status */
status: string;
/** Request Id */
request_id?: number | null;
/** Detail */
detail?: string | null;
/** Channels */
channels?: components["schemas"]["DiscoverChannelResponse"][];
};
/**
* DsmrLatestResponse
@@ -2051,6 +2077,8 @@ export interface components {
items: components["schemas"]["MeterSourceChannelResponse"][];
/** Total */
total: number;
/** Source Status */
source_status: string;
};
/** MeterSourceChannelResponse */
MeterSourceChannelResponse: {
@@ -2074,6 +2102,7 @@ export interface components {
binding_count: number;
/** Bound Meter Ids */
bound_meter_ids: number[];
binding_summary: components["schemas"]["ChannelBindingSummaryResponse"];
};
/** MeterSourceCreate */
MeterSourceCreate: {
@@ -3977,8 +4006,8 @@ export interface operations {
parameters: {
query?: {
limit?: number;
start?: string | null;
end?: string | null;
from?: string | null;
to?: string | null;
};
header?: never;
path: {