@kusinta/iot-schema 0.2.0-beta.6 → 0.2.0-beta.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +44 -29
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +146 -2
- package/src/kusinta/iot/access/v1/acl_pb.js +19 -2
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +160 -4
- package/src/kusinta/iot/access/v1/roles_pb.js +128 -5
- package/src/kusinta/iot/accountlink/v1/account_link_pb.d.ts +591 -0
- package/src/kusinta/iot/accountlink/v1/account_link_pb.js +160 -0
- package/src/kusinta/iot/climate/v1/climate_pb.d.ts +1695 -0
- package/src/kusinta/iot/climate/v1/climate_pb.js +292 -0
- package/src/kusinta/iot/commissioning/v1/commissioning_pb.d.ts +1643 -0
- package/src/kusinta/iot/commissioning/v1/commissioning_pb.js +339 -0
- package/src/kusinta/iot/common/v1/pairing_pb.d.ts +24 -4
- package/src/kusinta/iot/common/v1/pairing_pb.js +1 -1
- package/src/kusinta/iot/common/v1/types_pb.d.ts +235 -0
- package/src/kusinta/iot/common/v1/types_pb.js +84 -2
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +713 -3
- package/src/kusinta/iot/connector/v1/connector_pb.js +107 -16
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +213 -1
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +37 -2
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +32 -4
- package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
- package/src/kusinta/iot/device/v1/device_event_pb.d.ts +89 -5
- package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
- package/src/kusinta/iot/device/v1/device_pb.d.ts +444 -11
- package/src/kusinta/iot/device/v1/device_pb.js +74 -2
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +26 -5
- package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +46 -2
- package/src/kusinta/iot/device/v1/property_update_pb.js +2 -1
- package/src/kusinta/iot/heating/v1/heating_pb.d.ts +659 -0
- package/src/kusinta/iot/heating/v1/heating_pb.js +119 -0
- package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
- package/src/kusinta/iot/link/v1/link_pb.js +121 -0
- package/src/kusinta/iot/planning/v1/planning_pb.d.ts +199 -0
- package/src/kusinta/iot/planning/v1/planning_pb.js +48 -0
- package/src/kusinta/iot/planning/v1/planning_service_pb.d.ts +121 -0
- package/src/kusinta/iot/planning/v1/planning_service_pb.js +38 -0
- package/src/kusinta/iot/registration/v1/registration_pb.d.ts +18 -0
- package/src/kusinta/iot/registration/v1/registration_pb.js +1 -1
- package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +1263 -0
- package/src/kusinta/iot/reporting/v1/reporting_pb.js +238 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +63 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +939 -7
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +163 -4
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
- package/src/kusinta/iot/space/v1/space_pb.d.ts +218 -3
- package/src/kusinta/iot/space/v1/space_pb.js +25 -2
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +15 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +1 -1
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +5 -4
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +5 -4
- package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +48 -5
- package/src/kusinta/iot/webrtc/v1/app_token_pb.js +1 -1
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +56 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.js +1 -1
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +179 -5
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +34 -5
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +603 -13
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +61 -4
- package/src/kusinta/iot/webrtc/v1/household_pb.d.ts +613 -0
- package/src/kusinta/iot/webrtc/v1/household_pb.js +134 -0
- package/src/kusinta/iot/webrtc/v1/invite_pb.d.ts +502 -0
- package/src/kusinta/iot/webrtc/v1/invite_pb.js +108 -0
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +2595 -75
- package/src/kusinta/iot/webrtc/v1/management_pb.js +382 -5
- package/src/kusinta/iot/webrtc/v1/members_pb.d.ts +582 -0
- package/src/kusinta/iot/webrtc/v1/members_pb.js +113 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +66 -4
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +9 -1
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/planning/v1/planning.proto (package kusinta.iot.planning.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file kusinta/iot/planning/v1/planning.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_kusinta_iot_planning_v1_planning: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A place to forecast for: the corner of a cell 0.02° of latitude by 0.04° of longitude,
|
|
16
|
+
* about 2.2 by 2.3 kilometres at 59° N, the size of the forecast's own grid. A gateway rounds
|
|
17
|
+
* its position down to the cell's corner. A latitude that is not a multiple of 2 hundredths
|
|
18
|
+
* or outside ±9000, or a longitude that is not a multiple of 4 hundredths or outside ±18000,
|
|
19
|
+
* is refused as INVALID_ARGUMENT.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message kusinta.iot.planning.v1.ForecastCell
|
|
22
|
+
*/
|
|
23
|
+
export declare type ForecastCell = Message<"kusinta.iot.planning.v1.ForecastCell"> & {
|
|
24
|
+
/**
|
|
25
|
+
* Degrees north, in hundredths: a multiple of 2 (5930 for 59.30° N).
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: sint32 latitude_centidegrees = 1;
|
|
28
|
+
*/
|
|
29
|
+
latitudeCentidegrees: number;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Degrees east, in hundredths: a multiple of 4 (1804 for 18.04° E).
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: sint32 longitude_centidegrees = 2;
|
|
35
|
+
*/
|
|
36
|
+
longitudeCentidegrees: number;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message kusinta.iot.planning.v1.ForecastCell.
|
|
41
|
+
* Use `create(ForecastCellSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const ForecastCellSchema: GenMessage<ForecastCell>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* One market time unit of a day-ahead price: [start, end), in euros per megawatt-hour, in
|
|
47
|
+
* cents (a price may be negative). A day has 96 of 15 minutes where the market clears in
|
|
48
|
+
* quarter hours.
|
|
49
|
+
*
|
|
50
|
+
* @generated from message kusinta.iot.planning.v1.PriceInterval
|
|
51
|
+
*/
|
|
52
|
+
export declare type PriceInterval = Message<"kusinta.iot.planning.v1.PriceInterval"> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: google.protobuf.Timestamp start = 1;
|
|
55
|
+
*/
|
|
56
|
+
start?: Timestamp | undefined;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: google.protobuf.Timestamp end = 2;
|
|
60
|
+
*/
|
|
61
|
+
end?: Timestamp | undefined;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: sint32 eur_cents_per_mwh = 3;
|
|
65
|
+
*/
|
|
66
|
+
eurCentsPerMwh: number;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message kusinta.iot.planning.v1.PriceInterval.
|
|
71
|
+
* Use `create(PriceIntervalSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const PriceIntervalSchema: GenMessage<PriceInterval>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* One point of a forecast, valid at an instant. Every value is optional: absent means the
|
|
77
|
+
* forecast gave none, never zero. A gateway reads the values it knows and ignores the rest.
|
|
78
|
+
*
|
|
79
|
+
* @generated from message kusinta.iot.planning.v1.ForecastPoint
|
|
80
|
+
*/
|
|
81
|
+
export declare type ForecastPoint = Message<"kusinta.iot.planning.v1.ForecastPoint"> & {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: google.protobuf.Timestamp valid_at = 1;
|
|
84
|
+
*/
|
|
85
|
+
validAt?: Timestamp | undefined;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Air temperature at two metres, in centidegrees Celsius.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: optional sint32 temperature_centidegrees = 2;
|
|
91
|
+
*/
|
|
92
|
+
temperatureCentidegrees?: number | undefined;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Mean wind speed at ten metres, in centimetres per second.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: optional uint32 wind_speed_cm_per_s = 3;
|
|
98
|
+
*/
|
|
99
|
+
windSpeedCmPerS?: number | undefined;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The direction the wind blows from, in whole degrees from north, 0–359.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: optional uint32 wind_from_degrees = 4;
|
|
105
|
+
*/
|
|
106
|
+
windFromDegrees?: number | undefined;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Global radiation on a horizontal surface, in watts per square metre.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: optional uint32 global_radiation_w_per_m2 = 5;
|
|
112
|
+
*/
|
|
113
|
+
globalRadiationWPerM2?: number | undefined;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Describes the message kusinta.iot.planning.v1.ForecastPoint.
|
|
118
|
+
* Use `create(ForecastPointSchema)` to create a new message.
|
|
119
|
+
*/
|
|
120
|
+
export declare const ForecastPointSchema: GenMessage<ForecastPoint>;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* One issue of a forecast for a cell: when it was issued, by whom, and its points, oldest
|
|
124
|
+
* first, from the issue's first hour onward.
|
|
125
|
+
*
|
|
126
|
+
* @generated from message kusinta.iot.planning.v1.ForecastIssue
|
|
127
|
+
*/
|
|
128
|
+
export declare type ForecastIssue = Message<"kusinta.iot.planning.v1.ForecastIssue"> & {
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: google.protobuf.Timestamp issued_at = 1;
|
|
131
|
+
*/
|
|
132
|
+
issuedAt?: Timestamp | undefined;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Whom to credit wherever the forecast is shown, as its licence asks (for example "SMHI").
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: string attribution = 2;
|
|
138
|
+
*/
|
|
139
|
+
attribution: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: repeated kusinta.iot.planning.v1.ForecastPoint points = 3;
|
|
143
|
+
*/
|
|
144
|
+
points: ForecastPoint[];
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message kusinta.iot.planning.v1.ForecastIssue.
|
|
149
|
+
* Use `create(ForecastIssueSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export declare const ForecastIssueSchema: GenMessage<ForecastIssue>;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* An official reference rate from euros to another currency, published once a working day.
|
|
155
|
+
* Day-ahead prices are always in euros; a client that shows them in the currency a household
|
|
156
|
+
* pays in converts each price at the latest rate published on or before the price's day, in
|
|
157
|
+
* the bidding zone's own time. For display only: a planner compares prices with each other
|
|
158
|
+
* and never needs a rate.
|
|
159
|
+
*
|
|
160
|
+
* @generated from message kusinta.iot.planning.v1.ExchangeRate
|
|
161
|
+
*/
|
|
162
|
+
export declare type ExchangeRate = Message<"kusinta.iot.planning.v1.ExchangeRate"> & {
|
|
163
|
+
/**
|
|
164
|
+
* The currency converted to, as ISO 4217 names it: "SEK".
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: string currency = 1;
|
|
167
|
+
*/
|
|
168
|
+
currency: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* The day the rate was published for, in the publisher's own calendar, as an ISO 8601
|
|
172
|
+
* calendar date (YYYY-MM-DD): "2026-11-10". No rate is published on a weekend or a holiday;
|
|
173
|
+
* the last one published before it applies.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: string published_on = 2;
|
|
176
|
+
*/
|
|
177
|
+
publishedOn: string;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Units of the currency per euro, times 10 000: 113725 for 11.3725 SEK per EUR.
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: uint32 per_eur_e4 = 3;
|
|
183
|
+
*/
|
|
184
|
+
perEurE4: number;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Who published it, to name wherever a converted price is shown: "Sveriges Riksbank".
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: string source = 4;
|
|
190
|
+
*/
|
|
191
|
+
source: string;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Describes the message kusinta.iot.planning.v1.ExchangeRate.
|
|
196
|
+
* Use `create(ExchangeRateSchema)` to create a new message.
|
|
197
|
+
*/
|
|
198
|
+
export declare const ExchangeRateSchema: GenMessage<ExchangeRate>;
|
|
199
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/planning/v1/planning.proto (package kusinta.iot.planning.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/planning/v1/planning.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_kusinta_iot_planning_v1_planning = /*@__PURE__*/
|
|
12
|
+
fileDesc("CiZrdXNpbnRhL2lvdC9wbGFubmluZy92MS9wbGFubmluZy5wcm90bxIXa3VzaW50YS5pb3QucGxhbm5pbmcudjEiTQoMRm9yZWNhc3RDZWxsEh0KFWxhdGl0dWRlX2NlbnRpZGVncmVlcxgBIAEoERIeChZsb25naXR1ZGVfY2VudGlkZWdyZWVzGAIgASgRIn4KDVByaWNlSW50ZXJ2YWwSKQoFc3RhcnQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEicKA2VuZBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASGQoRZXVyX2NlbnRzX3Blcl9td2gYAyABKBEitwIKDUZvcmVjYXN0UG9pbnQSLAoIdmFsaWRfYXQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEiUKGHRlbXBlcmF0dXJlX2NlbnRpZGVncmVlcxgCIAEoEUgAiAEBEiAKE3dpbmRfc3BlZWRfY21fcGVyX3MYAyABKA1IAYgBARIeChF3aW5kX2Zyb21fZGVncmVlcxgEIAEoDUgCiAEBEiYKGWdsb2JhbF9yYWRpYXRpb25fd19wZXJfbTIYBSABKA1IA4gBAUIbChlfdGVtcGVyYXR1cmVfY2VudGlkZWdyZWVzQhYKFF93aW5kX3NwZWVkX2NtX3Blcl9zQhQKEl93aW5kX2Zyb21fZGVncmVlc0IcChpfZ2xvYmFsX3JhZGlhdGlvbl93X3Blcl9tMiKLAQoNRm9yZWNhc3RJc3N1ZRItCglpc3N1ZWRfYXQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhMKC2F0dHJpYnV0aW9uGAIgASgJEjYKBnBvaW50cxgDIAMoCzImLmt1c2ludGEuaW90LnBsYW5uaW5nLnYxLkZvcmVjYXN0UG9pbnQiWgoMRXhjaGFuZ2VSYXRlEhAKCGN1cnJlbmN5GAEgASgJEhQKDHB1Ymxpc2hlZF9vbhgCIAEoCRISCgpwZXJfZXVyX2U0GAMgASgNEg4KBnNvdXJjZRgEIAEoCUICSAFiBnByb3RvMw", [file_google_protobuf_timestamp]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message kusinta.iot.planning.v1.ForecastCell.
|
|
16
|
+
* Use `create(ForecastCellSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const ForecastCellSchema = /*@__PURE__*/
|
|
19
|
+
messageDesc(file_kusinta_iot_planning_v1_planning, 0);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message kusinta.iot.planning.v1.PriceInterval.
|
|
23
|
+
* Use `create(PriceIntervalSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const PriceIntervalSchema = /*@__PURE__*/
|
|
26
|
+
messageDesc(file_kusinta_iot_planning_v1_planning, 1);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message kusinta.iot.planning.v1.ForecastPoint.
|
|
30
|
+
* Use `create(ForecastPointSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const ForecastPointSchema = /*@__PURE__*/
|
|
33
|
+
messageDesc(file_kusinta_iot_planning_v1_planning, 2);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message kusinta.iot.planning.v1.ForecastIssue.
|
|
37
|
+
* Use `create(ForecastIssueSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const ForecastIssueSchema = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_kusinta_iot_planning_v1_planning, 3);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message kusinta.iot.planning.v1.ExchangeRate.
|
|
44
|
+
* Use `create(ExchangeRateSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const ExchangeRateSchema = /*@__PURE__*/
|
|
47
|
+
messageDesc(file_kusinta_iot_planning_v1_planning, 4);
|
|
48
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/planning/v1/planning_service.proto (package kusinta.iot.planning.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { ExchangeRate, ForecastCell, ForecastIssue, PriceInterval } from "./planning_pb.js";
|
|
8
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file kusinta/iot/planning/v1/planning_service.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_kusinta_iot_planning_v1_planning_service: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message kusinta.iot.planning.v1.GetPlanningInputsRequest
|
|
17
|
+
*/
|
|
18
|
+
export declare type GetPlanningInputsRequest = Message<"kusinta.iot.planning.v1.GetPlanningInputsRequest"> & {
|
|
19
|
+
/**
|
|
20
|
+
* The bidding zone's short code, as the day-ahead market names it: "SE1" to "SE4" in
|
|
21
|
+
* Sweden. Unknown to the api-server: answered with no prices, never refused.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string bidding_zone = 1;
|
|
24
|
+
*/
|
|
25
|
+
biddingZone: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Where to forecast for. Unset: no forecast is asked for.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: kusinta.iot.planning.v1.ForecastCell forecast_cell = 2;
|
|
31
|
+
*/
|
|
32
|
+
forecastCell?: ForecastCell | undefined;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The earliest price interval wanted. Every interval known from it on is answered, up to
|
|
36
|
+
* the last the market has published (the next day's, once its auction has cleared).
|
|
37
|
+
* Unset: from the start of the current day in the zone's own time.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: google.protobuf.Timestamp prices_from = 3;
|
|
40
|
+
*/
|
|
41
|
+
pricesFrom?: Timestamp | undefined;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The issue the gateway already holds. Set: a forecast is answered only where a later issue
|
|
45
|
+
* is known. Unset: the latest issue.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: google.protobuf.Timestamp forecast_issued_after = 4;
|
|
48
|
+
*/
|
|
49
|
+
forecastIssuedAfter?: Timestamp | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message kusinta.iot.planning.v1.GetPlanningInputsRequest.
|
|
54
|
+
* Use `create(GetPlanningInputsRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export declare const GetPlanningInputsRequestSchema: GenMessage<GetPlanningInputsRequest>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from message kusinta.iot.planning.v1.GetPlanningInputsResponse
|
|
60
|
+
*/
|
|
61
|
+
export declare type GetPlanningInputsResponse = Message<"kusinta.iot.planning.v1.GetPlanningInputsResponse"> & {
|
|
62
|
+
/**
|
|
63
|
+
* Oldest first, without gaps or overlaps. Empty where none is known for the zone yet.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: repeated kusinta.iot.planning.v1.PriceInterval prices = 1;
|
|
66
|
+
*/
|
|
67
|
+
prices: PriceInterval[];
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The latest issue for the cell, where one later than forecast_issued_after is known.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: kusinta.iot.planning.v1.ForecastIssue forecast = 2;
|
|
73
|
+
*/
|
|
74
|
+
forecast?: ForecastIssue | undefined;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* When the latest issue known for the cell was issued, whether or not it is answered in
|
|
78
|
+
* forecast: unset where none is known for the cell at all, so that "nothing newer" and
|
|
79
|
+
* "nothing" are told apart.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: google.protobuf.Timestamp latest_forecast_issued_at = 3;
|
|
82
|
+
*/
|
|
83
|
+
latestForecastIssuedAt?: Timestamp | undefined;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The reference rates to the currency households in the zone pay in (SEK for SE1–SE4):
|
|
87
|
+
* every rate published from the day of prices_from on (its default where unset, in the
|
|
88
|
+
* zone's own time), and the last one published before that day, oldest first — whether or
|
|
89
|
+
* not any price is answered. A gateway that asks from the prices it already holds so learns
|
|
90
|
+
* each new rate as it is published, after the prices it converts have arrived. Empty where
|
|
91
|
+
* no rate is known for the zone's currency.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: repeated kusinta.iot.planning.v1.ExchangeRate exchange_rates = 4;
|
|
94
|
+
*/
|
|
95
|
+
exchangeRates: ExchangeRate[];
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message kusinta.iot.planning.v1.GetPlanningInputsResponse.
|
|
100
|
+
* Use `create(GetPlanningInputsResponseSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export declare const GetPlanningInputsResponseSchema: GenMessage<GetPlanningInputsResponse>;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The api-server's planning inputs for a gateway, over the gateway's client certificate. The
|
|
106
|
+
* gateway asks; the api-server answers from what it has fetched for the fleet, and keeps no
|
|
107
|
+
* record of which gateway asked for which cell.
|
|
108
|
+
*
|
|
109
|
+
* @generated from service kusinta.iot.planning.v1.PlanningInputsService
|
|
110
|
+
*/
|
|
111
|
+
export declare const PlanningInputsService: GenService<{
|
|
112
|
+
/**
|
|
113
|
+
* @generated from rpc kusinta.iot.planning.v1.PlanningInputsService.GetPlanningInputs
|
|
114
|
+
*/
|
|
115
|
+
getPlanningInputs: {
|
|
116
|
+
methodKind: "unary";
|
|
117
|
+
input: typeof GetPlanningInputsRequestSchema;
|
|
118
|
+
output: typeof GetPlanningInputsResponseSchema;
|
|
119
|
+
},
|
|
120
|
+
}>;
|
|
121
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/planning/v1/planning_service.proto (package kusinta.iot.planning.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_kusinta_iot_planning_v1_planning } from "./planning_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file kusinta/iot/planning/v1/planning_service.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_kusinta_iot_planning_v1_planning_service = /*@__PURE__*/
|
|
13
|
+
fileDesc("Ci5rdXNpbnRhL2lvdC9wbGFubmluZy92MS9wbGFubmluZ19zZXJ2aWNlLnByb3RvEhdrdXNpbnRhLmlvdC5wbGFubmluZy52MSLaAQoYR2V0UGxhbm5pbmdJbnB1dHNSZXF1ZXN0EhQKDGJpZGRpbmdfem9uZRgBIAEoCRI8Cg1mb3JlY2FzdF9jZWxsGAIgASgLMiUua3VzaW50YS5pb3QucGxhbm5pbmcudjEuRm9yZWNhc3RDZWxsEi8KC3ByaWNlc19mcm9tGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI5ChVmb3JlY2FzdF9pc3N1ZWRfYWZ0ZXIYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIosCChlHZXRQbGFubmluZ0lucHV0c1Jlc3BvbnNlEjYKBnByaWNlcxgBIAMoCzImLmt1c2ludGEuaW90LnBsYW5uaW5nLnYxLlByaWNlSW50ZXJ2YWwSOAoIZm9yZWNhc3QYAiABKAsyJi5rdXNpbnRhLmlvdC5wbGFubmluZy52MS5Gb3JlY2FzdElzc3VlEj0KGWxhdGVzdF9mb3JlY2FzdF9pc3N1ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEj0KDmV4Y2hhbmdlX3JhdGVzGAQgAygLMiUua3VzaW50YS5pb3QucGxhbm5pbmcudjEuRXhjaGFuZ2VSYXRlMpMBChVQbGFubmluZ0lucHV0c1NlcnZpY2USegoRR2V0UGxhbm5pbmdJbnB1dHMSMS5rdXNpbnRhLmlvdC5wbGFubmluZy52MS5HZXRQbGFubmluZ0lucHV0c1JlcXVlc3QaMi5rdXNpbnRhLmlvdC5wbGFubmluZy52MS5HZXRQbGFubmluZ0lucHV0c1Jlc3BvbnNlQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_planning_v1_planning]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message kusinta.iot.planning.v1.GetPlanningInputsRequest.
|
|
17
|
+
* Use `create(GetPlanningInputsRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const GetPlanningInputsRequestSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_kusinta_iot_planning_v1_planning_service, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message kusinta.iot.planning.v1.GetPlanningInputsResponse.
|
|
24
|
+
* Use `create(GetPlanningInputsResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const GetPlanningInputsResponseSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_kusinta_iot_planning_v1_planning_service, 1);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The api-server's planning inputs for a gateway, over the gateway's client certificate. The
|
|
31
|
+
* gateway asks; the api-server answers from what it has fetched for the fleet, and keeps no
|
|
32
|
+
* record of which gateway asked for which cell.
|
|
33
|
+
*
|
|
34
|
+
* @generated from service kusinta.iot.planning.v1.PlanningInputsService
|
|
35
|
+
*/
|
|
36
|
+
export const PlanningInputsService = /*@__PURE__*/
|
|
37
|
+
serviceDesc(file_kusinta_iot_planning_v1_planning_service, 0);
|
|
38
|
+
|
|
@@ -15,6 +15,11 @@ export declare const file_kusinta_iot_registration_v1_registration: GenFile;
|
|
|
15
15
|
*/
|
|
16
16
|
export declare type RegistrationRequest = Message<"kusinta.iot.registration.v1.RegistrationRequest"> & {
|
|
17
17
|
/**
|
|
18
|
+
* The one-time token an administrator of the owning organisation obtained from the
|
|
19
|
+
* api-server and handed to the gateway. Opaque to the gateway: it is signed with a key only
|
|
20
|
+
* the api-server holds, and the gateway passes it on unread. Nothing the gateway acts on is
|
|
21
|
+
* taken from it; what the registration settles comes back in RegistrationComplete.
|
|
22
|
+
*
|
|
18
23
|
* @generated from field: string registration_token = 1;
|
|
19
24
|
*/
|
|
20
25
|
registrationToken: string;
|
|
@@ -65,6 +70,19 @@ export declare type RegistrationComplete = Message<"kusinta.iot.registration.v1.
|
|
|
65
70
|
* @generated from field: string ca_bundle_pem = 2;
|
|
66
71
|
*/
|
|
67
72
|
caBundlePem: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* The ownership epoch of the gateway's owner record (signaling.v1.GatewayStreamOpened,
|
|
76
|
+
* OWNERSHIP EPOCH), from the api-server's answer to the registration the gateway made over
|
|
77
|
+
* its own connection to it, which is what makes it trusted. Never empty. An epoch other than
|
|
78
|
+
* the one the gateway holds makes it wipe (signaling.v1.GatewayDeleted, WIPE) before it
|
|
79
|
+
* installs the certificate or admits any session. A registration again by the owning
|
|
80
|
+
* organisation, after a revoke included, answers the epoch the gateway holds and wipes
|
|
81
|
+
* nothing.
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string ownership_epoch = 3;
|
|
84
|
+
*/
|
|
85
|
+
ownershipEpoch: string;
|
|
68
86
|
};
|
|
69
87
|
|
|
70
88
|
/**
|
|
@@ -8,7 +8,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
|
8
8
|
* Describes the file kusinta/iot/registration/v1/registration.proto.
|
|
9
9
|
*/
|
|
10
10
|
export const file_kusinta_iot_registration_v1_registration = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
11
|
+
fileDesc("Ci5rdXNpbnRhL2lvdC9yZWdpc3RyYXRpb24vdjEvcmVnaXN0cmF0aW9uLnByb3RvEhtrdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEiVwoTUmVnaXN0cmF0aW9uUmVxdWVzdBIaChJyZWdpc3RyYXRpb25fdG9rZW4YASABKAkSEwoLZXh0ZXJuYWxfaXAYAiABKAkSDwoHY3NyX3BlbRgDIAEoCSIkChRSZWdpc3RyYXRpb25Qcm9ncmVzcxIMCgRzdGVwGAEgASgJIl8KFFJlZ2lzdHJhdGlvbkNvbXBsZXRlEhcKD2NlcnRpZmljYXRlX3BlbRgBIAEoCRIVCg1jYV9idW5kbGVfcGVtGAIgASgJEhcKD293bmVyc2hpcF9lcG9jaBgDIAEoCSIyChFSZWdpc3RyYXRpb25FcnJvchIMCgRjb2RlGAEgASgJEg8KB21lc3NhZ2UYAiABKAki7gEKFFJlZ2lzdHJhdGlvblJlc3BvbnNlEkUKCHByb2dyZXNzGAEgASgLMjEua3VzaW50YS5pb3QucmVnaXN0cmF0aW9uLnYxLlJlZ2lzdHJhdGlvblByb2dyZXNzSAASRQoIY29tcGxldGUYAiABKAsyMS5rdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEuUmVnaXN0cmF0aW9uQ29tcGxldGVIABI/CgVlcnJvchgDIAEoCzIuLmt1c2ludGEuaW90LnJlZ2lzdHJhdGlvbi52MS5SZWdpc3RyYXRpb25FcnJvckgAQgcKBWV2ZW50IiUKEkNlcnRSZW5ld2FsUmVxdWVzdBIPCgdjc3JfcGVtGAEgASgJIkUKE0NlcnRSZW5ld2FsUmVzcG9uc2USFwoPY2VydGlmaWNhdGVfcGVtGAEgASgJEhUKDWNhX2J1bmRsZV9wZW0YAiABKAlCAkgBYgZwcm90bzM");
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message kusinta.iot.registration.v1.RegistrationRequest.
|