@kusinta/iot-schema 0.1.0-beta.9 → 0.2.0-beta.2
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 +13 -2
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +230 -11
- package/src/kusinta/iot/access/v1/acl_pb.js +25 -4
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +95 -2
- package/src/kusinta/iot/access/v1/roles_pb.js +37 -1
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +60 -30
- package/src/kusinta/iot/connector/v1/connector_pb.js +12 -11
- package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +5 -5
- package/src/kusinta/iot/connector/v1/connector_service_pb.js +1 -1
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +238 -0
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +54 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +37 -8
- package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
- package/src/kusinta/iot/device/v1/device_event_pb.d.ts +162 -0
- package/src/kusinta/iot/device/v1/device_event_pb.js +45 -0
- package/src/kusinta/iot/device/v1/device_pb.d.ts +154 -28
- package/src/kusinta/iot/device/v1/device_pb.js +10 -2
- package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +84 -0
- package/src/kusinta/iot/device/v1/matter_options_pb.js +91 -0
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +228 -207
- package/src/kusinta/iot/device/v1/properties_pb.js +9 -1
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +197 -8
- package/src/kusinta/iot/device/v1/property_update_pb.js +20 -2
- package/src/kusinta/iot/registration/v1/registration_pb.d.ts +170 -0
- package/src/kusinta/iot/registration/v1/registration_pb.js +61 -0
- package/src/kusinta/iot/registration/v1/registration_service_pb.d.ts +34 -0
- package/src/kusinta/iot/registration/v1/registration_service_pb.js +19 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +320 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +83 -0
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +34 -0
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +19 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +65 -47
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -7
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +50 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +53 -0
- package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +152 -0
- package/src/kusinta/iot/webrtc/v1/app_token_pb.js +28 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +276 -39
- package/src/kusinta/iot/webrtc/v1/command_pb.js +28 -2
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +76 -7
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +19 -4
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +371 -24
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +68 -5
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +451 -0
- package/src/kusinta/iot/webrtc/v1/management_pb.js +106 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +7 -1
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/signaling/v1/signaling.proto (package kusinta.iot.signaling.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 { GatewayId, UserId } from "../../identity/v1/identity_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file kusinta/iot/signaling/v1/signaling.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_kusinta_iot_signaling_v1_signaling: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message kusinta.iot.signaling.v1.SdpOffer
|
|
16
|
+
*/
|
|
17
|
+
export declare type SdpOffer = Message<"kusinta.iot.signaling.v1.SdpOffer"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string sdp = 1;
|
|
20
|
+
*/
|
|
21
|
+
sdp: string;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message kusinta.iot.signaling.v1.SdpOffer.
|
|
26
|
+
* Use `create(SdpOfferSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export declare const SdpOfferSchema: GenMessage<SdpOffer>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from message kusinta.iot.signaling.v1.SdpAnswer
|
|
32
|
+
*/
|
|
33
|
+
export declare type SdpAnswer = Message<"kusinta.iot.signaling.v1.SdpAnswer"> & {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string sdp = 1;
|
|
36
|
+
*/
|
|
37
|
+
sdp: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message kusinta.iot.signaling.v1.SdpAnswer.
|
|
42
|
+
* Use `create(SdpAnswerSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export declare const SdpAnswerSchema: GenMessage<SdpAnswer>;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* candidate is the SDP candidate attribute line. sdp_mid / sdp_mline_index
|
|
48
|
+
* bind it to a media section: WebRTC's addIceCandidate requires a non-null
|
|
49
|
+
* sdpMid (some native WebRTC bindings crash on a null). Under BUNDLE both are
|
|
50
|
+
* constant ("0" / 0) for a single-m-line session, but they must be carried so
|
|
51
|
+
* candidates stay correct once additional m-lines (e.g. camera video) exist.
|
|
52
|
+
*
|
|
53
|
+
* @generated from message kusinta.iot.signaling.v1.IceCandidate
|
|
54
|
+
*/
|
|
55
|
+
export declare type IceCandidate = Message<"kusinta.iot.signaling.v1.IceCandidate"> & {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: string candidate = 1;
|
|
58
|
+
*/
|
|
59
|
+
candidate: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string sdp_mid = 2;
|
|
63
|
+
*/
|
|
64
|
+
sdpMid: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: int32 sdp_mline_index = 3;
|
|
68
|
+
*/
|
|
69
|
+
sdpMlineIndex: number;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message kusinta.iot.signaling.v1.IceCandidate.
|
|
74
|
+
* Use `create(IceCandidateSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export declare const IceCandidateSchema: GenMessage<IceCandidate>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Empty keepalive. The gateway sends this periodically on the GatewayConnect
|
|
80
|
+
* stream so the otherwise-idle bidi request keeps producing DATA frames, which
|
|
81
|
+
* resets the inactivity timers on any proxy between the two ends and stops it
|
|
82
|
+
* from tearing the stream down. Carries no routing target and is dropped on receipt.
|
|
83
|
+
*
|
|
84
|
+
* @generated from message kusinta.iot.signaling.v1.HeartBeat
|
|
85
|
+
*/
|
|
86
|
+
export declare type HeartBeat = Message<"kusinta.iot.signaling.v1.HeartBeat"> & {
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message kusinta.iot.signaling.v1.HeartBeat.
|
|
91
|
+
* Use `create(HeartBeatSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const HeartBeatSchema: GenMessage<HeartBeat>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* JWT for user auth is sent in the Authorization: Bearer metadata header, not here.
|
|
97
|
+
* First message carries only the target gateway for stream-specific routing.
|
|
98
|
+
*
|
|
99
|
+
* @generated from message kusinta.iot.signaling.v1.UserHandshake
|
|
100
|
+
*/
|
|
101
|
+
export declare type UserHandshake = Message<"kusinta.iot.signaling.v1.UserHandshake"> & {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: kusinta.iot.identity.v1.GatewayId target_gateway_id = 1;
|
|
104
|
+
*/
|
|
105
|
+
targetGatewayId?: GatewayId | undefined;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message kusinta.iot.signaling.v1.UserHandshake.
|
|
110
|
+
* Use `create(UserHandshakeSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export declare const UserHandshakeSchema: GenMessage<UserHandshake>;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from message kusinta.iot.signaling.v1.UserHandshakeAck
|
|
116
|
+
*/
|
|
117
|
+
export declare type UserHandshakeAck = Message<"kusinta.iot.signaling.v1.UserHandshakeAck"> & {
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: bool accepted = 1;
|
|
120
|
+
*/
|
|
121
|
+
accepted: boolean;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string reason = 2;
|
|
125
|
+
*/
|
|
126
|
+
reason: string;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message kusinta.iot.signaling.v1.UserHandshakeAck.
|
|
131
|
+
* Use `create(UserHandshakeAckSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export declare const UserHandshakeAckSchema: GenMessage<UserHandshakeAck>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Messages sent by the building-server gateway (GatewaySignalingService.GatewayConnect stream).
|
|
137
|
+
* Auth: x-client-cert-fingerprint metadata header, set from the client
|
|
138
|
+
* certificate by the mTLS-terminating proxy in front of this service.
|
|
139
|
+
*
|
|
140
|
+
* @generated from message kusinta.iot.signaling.v1.GatewayConnectRequest
|
|
141
|
+
*/
|
|
142
|
+
export declare type GatewayConnectRequest = Message<"kusinta.iot.signaling.v1.GatewayConnectRequest"> & {
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: kusinta.iot.identity.v1.UserId target_user_id = 1;
|
|
145
|
+
*/
|
|
146
|
+
targetUserId?: UserId | undefined;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The session of target_user_id this message answers. See the contract above.
|
|
150
|
+
* Ignored on a heartbeat, which carries no routing target at all.
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: string session_id = 5;
|
|
153
|
+
*/
|
|
154
|
+
sessionId: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from oneof kusinta.iot.signaling.v1.GatewayConnectRequest.payload
|
|
158
|
+
*/
|
|
159
|
+
payload: {
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpAnswer answer = 2;
|
|
162
|
+
*/
|
|
163
|
+
value: SdpAnswer;
|
|
164
|
+
case: "answer";
|
|
165
|
+
} | {
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
168
|
+
*/
|
|
169
|
+
value: IceCandidate;
|
|
170
|
+
case: "iceCandidate";
|
|
171
|
+
} | {
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: kusinta.iot.signaling.v1.HeartBeat heartbeat = 4;
|
|
174
|
+
*/
|
|
175
|
+
value: HeartBeat;
|
|
176
|
+
case: "heartbeat";
|
|
177
|
+
} | { case: undefined; value?: undefined };
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectRequest.
|
|
182
|
+
* Use `create(GatewayConnectRequestSchema)` to create a new message.
|
|
183
|
+
*/
|
|
184
|
+
export declare const GatewayConnectRequestSchema: GenMessage<GatewayConnectRequest>;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Messages sent by the api-server to the building-server gateway.
|
|
188
|
+
*
|
|
189
|
+
* @generated from message kusinta.iot.signaling.v1.GatewayConnectResponse
|
|
190
|
+
*/
|
|
191
|
+
export declare type GatewayConnectResponse = Message<"kusinta.iot.signaling.v1.GatewayConnectResponse"> & {
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: kusinta.iot.identity.v1.UserId from_user_id = 1;
|
|
194
|
+
*/
|
|
195
|
+
fromUserId?: UserId | undefined;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The session of from_user_id this message originates from — the value the
|
|
199
|
+
* gateway must echo on the GatewayConnectRequest that answers it. See the
|
|
200
|
+
* contract above.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: string session_id = 4;
|
|
203
|
+
*/
|
|
204
|
+
sessionId: string;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from oneof kusinta.iot.signaling.v1.GatewayConnectResponse.payload
|
|
208
|
+
*/
|
|
209
|
+
payload: {
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpOffer offer = 2;
|
|
212
|
+
*/
|
|
213
|
+
value: SdpOffer;
|
|
214
|
+
case: "offer";
|
|
215
|
+
} | {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
218
|
+
*/
|
|
219
|
+
value: IceCandidate;
|
|
220
|
+
case: "iceCandidate";
|
|
221
|
+
} | { case: undefined; value?: undefined };
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectResponse.
|
|
226
|
+
* Use `create(GatewayConnectResponseSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const GatewayConnectResponseSchema: GenMessage<GatewayConnectResponse>;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Messages sent by the app (GatewaySignalingService.UserConnect stream).
|
|
232
|
+
* Auth: Authorization: Bearer <jwt> in gRPC request metadata (validated by interceptor).
|
|
233
|
+
*
|
|
234
|
+
* @generated from message kusinta.iot.signaling.v1.UserConnectRequest
|
|
235
|
+
*/
|
|
236
|
+
export declare type UserConnectRequest = Message<"kusinta.iot.signaling.v1.UserConnectRequest"> & {
|
|
237
|
+
/**
|
|
238
|
+
* This client's session, minted by the client. See the contract above. Sent on
|
|
239
|
+
* every message including the handshake, so the relay can key the stream on it
|
|
240
|
+
* from the first frame.
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: string session_id = 4;
|
|
243
|
+
*/
|
|
244
|
+
sessionId: string;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @generated from oneof kusinta.iot.signaling.v1.UserConnectRequest.payload
|
|
248
|
+
*/
|
|
249
|
+
payload: {
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: kusinta.iot.signaling.v1.UserHandshake handshake = 1;
|
|
252
|
+
*/
|
|
253
|
+
value: UserHandshake;
|
|
254
|
+
case: "handshake";
|
|
255
|
+
} | {
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpOffer offer = 2;
|
|
258
|
+
*/
|
|
259
|
+
value: SdpOffer;
|
|
260
|
+
case: "offer";
|
|
261
|
+
} | {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
264
|
+
*/
|
|
265
|
+
value: IceCandidate;
|
|
266
|
+
case: "iceCandidate";
|
|
267
|
+
} | { case: undefined; value?: undefined };
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
|
|
272
|
+
* Use `create(UserConnectRequestSchema)` to create a new message.
|
|
273
|
+
*/
|
|
274
|
+
export declare const UserConnectRequestSchema: GenMessage<UserConnectRequest>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Messages sent by the api-server to the app.
|
|
278
|
+
*
|
|
279
|
+
* @generated from message kusinta.iot.signaling.v1.UserConnectResponse
|
|
280
|
+
*/
|
|
281
|
+
export declare type UserConnectResponse = Message<"kusinta.iot.signaling.v1.UserConnectResponse"> & {
|
|
282
|
+
/**
|
|
283
|
+
* Echoes the session_id of the stream this message is delivered on, so a
|
|
284
|
+
* client can assert the relay routed to the session it thinks it is. See the
|
|
285
|
+
* contract above.
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: string session_id = 4;
|
|
288
|
+
*/
|
|
289
|
+
sessionId: string;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from oneof kusinta.iot.signaling.v1.UserConnectResponse.payload
|
|
293
|
+
*/
|
|
294
|
+
payload: {
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: kusinta.iot.signaling.v1.UserHandshakeAck handshake_ack = 1;
|
|
297
|
+
*/
|
|
298
|
+
value: UserHandshakeAck;
|
|
299
|
+
case: "handshakeAck";
|
|
300
|
+
} | {
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpAnswer answer = 2;
|
|
303
|
+
*/
|
|
304
|
+
value: SdpAnswer;
|
|
305
|
+
case: "answer";
|
|
306
|
+
} | {
|
|
307
|
+
/**
|
|
308
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
309
|
+
*/
|
|
310
|
+
value: IceCandidate;
|
|
311
|
+
case: "iceCandidate";
|
|
312
|
+
} | { case: undefined; value?: undefined };
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
|
|
317
|
+
* Use `create(UserConnectResponseSchema)` to create a new message.
|
|
318
|
+
*/
|
|
319
|
+
export declare const UserConnectResponseSchema: GenMessage<UserConnectResponse>;
|
|
320
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/signaling/v1/signaling.proto (package kusinta.iot.signaling.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/signaling/v1/signaling.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_kusinta_iot_signaling_v1_signaling = /*@__PURE__*/
|
|
12
|
+
fileDesc("CihrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nLnByb3RvEhhrdXNpbnRhLmlvdC5zaWduYWxpbmcudjEiFwoIU2RwT2ZmZXISCwoDc2RwGAEgASgJIhgKCVNkcEFuc3dlchILCgNzZHAYASABKAkiSwoMSWNlQ2FuZGlkYXRlEhEKCWNhbmRpZGF0ZRgBIAEoCRIPCgdzZHBfbWlkGAIgASgJEhcKD3NkcF9tbGluZV9pbmRleBgDIAEoBSILCglIZWFydEJlYXQiTgoNVXNlckhhbmRzaGFrZRI9ChF0YXJnZXRfZ2F0ZXdheV9pZBgBIAEoCzIiLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkdhdGV3YXlJZCI0ChBVc2VySGFuZHNoYWtlQWNrEhAKCGFjY2VwdGVkGAEgASgIEg4KBnJlYXNvbhgCIAEoCSKhAgoVR2F0ZXdheUNvbm5lY3RSZXF1ZXN0EjcKDnRhcmdldF91c2VyX2lkGAEgASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEhIKCnNlc3Npb25faWQYBSABKAkSNQoGYW5zd2VyGAIgASgLMiMua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlNkcEFuc3dlckgAEj8KDWljZV9jYW5kaWRhdGUYAyABKAsyJi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuSWNlQ2FuZGlkYXRlSAASOAoJaGVhcnRiZWF0GAQgASgLMiMua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkhlYXJ0QmVhdEgAQgkKB3BheWxvYWQi5AEKFkdhdGV3YXlDb25uZWN0UmVzcG9uc2USNQoMZnJvbV91c2VyX2lkGAEgASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEhIKCnNlc3Npb25faWQYBCABKAkSMwoFb2ZmZXIYAiABKAsyIi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwT2ZmZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAQgkKB3BheWxvYWQi5wEKElVzZXJDb25uZWN0UmVxdWVzdBISCgpzZXNzaW9uX2lkGAQgASgJEjwKCWhhbmRzaGFrZRgBIAEoCzInLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VySGFuZHNoYWtlSAASMwoFb2ZmZXIYAiABKAsyIi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwT2ZmZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAQgkKB3BheWxvYWQi8QEKE1VzZXJDb25uZWN0UmVzcG9uc2USEgoKc2Vzc2lvbl9pZBgEIAEoCRJDCg1oYW5kc2hha2VfYWNrGAEgASgLMioua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJIYW5kc2hha2VBY2tIABI1CgZhbnN3ZXIYAiABKAsyIy5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwQW5zd2VySAASPwoNaWNlX2NhbmRpZGF0ZRgDIAEoCzImLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5JY2VDYW5kaWRhdGVIAEIJCgdwYXlsb2FkQgJIAWIGcHJvdG8z", [file_kusinta_iot_identity_v1_identity]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message kusinta.iot.signaling.v1.SdpOffer.
|
|
16
|
+
* Use `create(SdpOfferSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const SdpOfferSchema = /*@__PURE__*/
|
|
19
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 0);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message kusinta.iot.signaling.v1.SdpAnswer.
|
|
23
|
+
* Use `create(SdpAnswerSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const SdpAnswerSchema = /*@__PURE__*/
|
|
26
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 1);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message kusinta.iot.signaling.v1.IceCandidate.
|
|
30
|
+
* Use `create(IceCandidateSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const IceCandidateSchema = /*@__PURE__*/
|
|
33
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 2);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message kusinta.iot.signaling.v1.HeartBeat.
|
|
37
|
+
* Use `create(HeartBeatSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const HeartBeatSchema = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 3);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message kusinta.iot.signaling.v1.UserHandshake.
|
|
44
|
+
* Use `create(UserHandshakeSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const UserHandshakeSchema = /*@__PURE__*/
|
|
47
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 4);
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message kusinta.iot.signaling.v1.UserHandshakeAck.
|
|
51
|
+
* Use `create(UserHandshakeAckSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const UserHandshakeAckSchema = /*@__PURE__*/
|
|
54
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 5);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectRequest.
|
|
58
|
+
* Use `create(GatewayConnectRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const GatewayConnectRequestSchema = /*@__PURE__*/
|
|
61
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 6);
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectResponse.
|
|
65
|
+
* Use `create(GatewayConnectResponseSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const GatewayConnectResponseSchema = /*@__PURE__*/
|
|
68
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 7);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
|
|
72
|
+
* Use `create(UserConnectRequestSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const UserConnectRequestSchema = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 8);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
|
|
79
|
+
* Use `create(UserConnectResponseSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const UserConnectResponseSchema = /*@__PURE__*/
|
|
82
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 9);
|
|
83
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/signaling/v1/signaling_service.proto (package kusinta.iot.signaling.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { GatewayConnectRequestSchema, GatewayConnectResponseSchema, UserConnectRequestSchema, UserConnectResponseSchema } from "./signaling_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/signaling/v1/signaling_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_signaling_v1_signaling_service: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from service kusinta.iot.signaling.v1.GatewaySignalingService
|
|
15
|
+
*/
|
|
16
|
+
export declare const GatewaySignalingService: GenService<{
|
|
17
|
+
/**
|
|
18
|
+
* @generated from rpc kusinta.iot.signaling.v1.GatewaySignalingService.GatewayConnect
|
|
19
|
+
*/
|
|
20
|
+
gatewayConnect: {
|
|
21
|
+
methodKind: "bidi_streaming";
|
|
22
|
+
input: typeof GatewayConnectRequestSchema;
|
|
23
|
+
output: typeof GatewayConnectResponseSchema;
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* @generated from rpc kusinta.iot.signaling.v1.GatewaySignalingService.UserConnect
|
|
27
|
+
*/
|
|
28
|
+
userConnect: {
|
|
29
|
+
methodKind: "bidi_streaming";
|
|
30
|
+
input: typeof UserConnectRequestSchema;
|
|
31
|
+
output: typeof UserConnectResponseSchema;
|
|
32
|
+
},
|
|
33
|
+
}>;
|
|
34
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/signaling/v1/signaling_service.proto (package kusinta.iot.signaling.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_signaling_v1_signaling } from "./signaling_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/signaling/v1/signaling_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_kusinta_iot_signaling_v1_signaling_service = /*@__PURE__*/
|
|
12
|
+
fileDesc("CjBrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nX3NlcnZpY2UucHJvdG8SGGt1c2ludGEuaW90LnNpZ25hbGluZy52MTKCAgoXR2F0ZXdheVNpZ25hbGluZ1NlcnZpY2USdwoOR2F0ZXdheUNvbm5lY3QSLy5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuR2F0ZXdheUNvbm5lY3RSZXF1ZXN0GjAua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkdhdGV3YXlDb25uZWN0UmVzcG9uc2UoATABEm4KC1VzZXJDb25uZWN0Eiwua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJDb25uZWN0UmVxdWVzdBotLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VyQ29ubmVjdFJlc3BvbnNlKAEwAUICSAFiBnByb3RvMw", [file_kusinta_iot_signaling_v1_signaling]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from service kusinta.iot.signaling.v1.GatewaySignalingService
|
|
16
|
+
*/
|
|
17
|
+
export const GatewaySignalingService = /*@__PURE__*/
|
|
18
|
+
serviceDesc(file_kusinta_iot_signaling_v1_signaling_service, 0);
|
|
19
|
+
|
|
@@ -11,84 +11,102 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
11
11
|
export declare const file_kusinta_iot_vendor_homematic_v1_homematic: GenFile;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* HomeMatic
|
|
15
|
-
*
|
|
14
|
+
* Who a HomeMatic device is, in its own terms. Identity, not readings — it describes the
|
|
15
|
+
* physical device, so it hangs off device.v1.DeviceDescriptor rather than off any one
|
|
16
|
+
* endpoint.
|
|
16
17
|
*
|
|
17
|
-
* @generated from message kusinta.iot.vendor.homematic.v1.
|
|
18
|
+
* @generated from message kusinta.iot.vendor.homematic.v1.HomematicDeviceIdentity
|
|
18
19
|
*/
|
|
19
|
-
export declare type
|
|
20
|
+
export declare type HomematicDeviceIdentity = Message<"kusinta.iot.vendor.homematic.v1.HomematicDeviceIdentity"> & {
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
+
* upstream device address, e.g. "MEQ1234567"
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: string address = 1;
|
|
22
25
|
*/
|
|
23
|
-
|
|
26
|
+
address: string;
|
|
24
27
|
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* aiohomematic device type string, e.g. "HmIP-eTRV-C"
|
|
27
30
|
*
|
|
28
|
-
* @generated from field:
|
|
31
|
+
* @generated from field: string type = 2;
|
|
29
32
|
*/
|
|
30
|
-
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
31
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HomematicDeviceIdentity.
|
|
38
|
+
* Use `create(HomematicDeviceIdentitySchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export declare const HomematicDeviceIdentitySchema: GenMessage<HomematicDeviceIdentity>;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* HomeMatic thermostat parameters with no Matter equivalent, carried on the same endpoint
|
|
44
|
+
* as that thermostat's Matter properties rather than instead of them.
|
|
45
|
+
*
|
|
46
|
+
* Battery state is deliberately NOT here. LOW_BAT and OPERATING_VOLTAGE are Matter's
|
|
47
|
+
* PowerSource cluster, which every battery device from every technology needs, so they
|
|
48
|
+
* belong on a Power Source endpoint. See device/v1/properties.proto.
|
|
49
|
+
*
|
|
50
|
+
* Every field is `optional`, for the same reason as device/v1/properties.proto: these are
|
|
51
|
+
* assembled from a PropertyUpdate stream, and zero is a real reading here too — boost_mode
|
|
52
|
+
* false means not boosting, control_mode 0 is an HmIP ControlMode value. Absent means never
|
|
53
|
+
* reported; present means a reading, including zero.
|
|
54
|
+
*
|
|
55
|
+
* Add new fields at the next available number — never reuse a removed one.
|
|
56
|
+
*
|
|
57
|
+
* @generated from message kusinta.iot.vendor.homematic.v1.HmThermostatProps
|
|
58
|
+
*/
|
|
59
|
+
export declare type HmThermostatProps = Message<"kusinta.iot.vendor.homematic.v1.HmThermostatProps"> & {
|
|
32
60
|
/**
|
|
33
|
-
*
|
|
61
|
+
* @generated from field: optional bool boost_mode = 1;
|
|
62
|
+
*/
|
|
63
|
+
boostMode?: boolean | undefined;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* minutes remaining
|
|
34
67
|
*
|
|
35
|
-
* @generated from field:
|
|
68
|
+
* @generated from field: optional float boost_time_period = 2;
|
|
36
69
|
*/
|
|
37
|
-
|
|
70
|
+
boostTimePeriod?: number | undefined;
|
|
38
71
|
|
|
39
72
|
/**
|
|
40
|
-
* @generated from field:
|
|
73
|
+
* @generated from field: optional uint32 control_mode = 3;
|
|
41
74
|
*/
|
|
42
|
-
|
|
75
|
+
controlMode?: number | undefined;
|
|
43
76
|
|
|
44
77
|
/**
|
|
45
|
-
* @generated from field:
|
|
78
|
+
* @generated from field: optional bool frost_protection = 4;
|
|
46
79
|
*/
|
|
47
|
-
|
|
48
|
-
};
|
|
80
|
+
frostProtection?: boolean | undefined;
|
|
49
81
|
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export declare const HmThermostatPropsSchema: GenMessage<HmThermostatProps>;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: optional float current_profile_period = 5;
|
|
84
|
+
*/
|
|
85
|
+
currentProfilePeriod?: number | undefined;
|
|
55
86
|
|
|
56
|
-
/**
|
|
57
|
-
* Top-level vendor extension attached to Device.properties field 50.
|
|
58
|
-
* Carries the CCU3 device address + aiohomematic type string + device-type-specific props.
|
|
59
|
-
*
|
|
60
|
-
* @generated from message kusinta.iot.vendor.homematic.v1.HomematicVendorExtension
|
|
61
|
-
*/
|
|
62
|
-
export declare type HomematicVendorExtension = Message<"kusinta.iot.vendor.homematic.v1.HomematicVendorExtension"> & {
|
|
63
87
|
/**
|
|
64
|
-
*
|
|
88
|
+
* Valve position, 0.0-1.0 — how far the radiator valve is actually open. The reading
|
|
89
|
+
* this extension exists for: it has no Matter equivalent, and it is what an automatic
|
|
90
|
+
* or learned control strategy needs.
|
|
65
91
|
*
|
|
66
|
-
* @generated from field:
|
|
92
|
+
* @generated from field: optional float level = 6;
|
|
67
93
|
*/
|
|
68
|
-
|
|
94
|
+
level?: number | undefined;
|
|
69
95
|
|
|
70
96
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* @generated from field: string homematic_type = 2;
|
|
97
|
+
* @generated from field: optional uint32 window_state = 7;
|
|
74
98
|
*/
|
|
75
|
-
|
|
99
|
+
windowState?: number | undefined;
|
|
76
100
|
|
|
77
101
|
/**
|
|
78
|
-
* @generated from
|
|
102
|
+
* @generated from field: optional uint32 valve_state = 8;
|
|
79
103
|
*/
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @generated from field: kusinta.iot.vendor.homematic.v1.HmThermostatProps hm_thermostat = 10;
|
|
83
|
-
*/
|
|
84
|
-
value: HmThermostatProps;
|
|
85
|
-
case: "hmThermostat";
|
|
86
|
-
} | { case: undefined; value?: undefined };
|
|
104
|
+
valveState?: number | undefined;
|
|
87
105
|
};
|
|
88
106
|
|
|
89
107
|
/**
|
|
90
|
-
* Describes the message kusinta.iot.vendor.homematic.v1.
|
|
91
|
-
* Use `create(
|
|
108
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HmThermostatProps.
|
|
109
|
+
* Use `create(HmThermostatPropsSchema)` to create a new message.
|
|
92
110
|
*/
|
|
93
|
-
export declare const
|
|
111
|
+
export declare const HmThermostatPropsSchema: GenMessage<HmThermostatProps>;
|
|
94
112
|
|
|
@@ -3,24 +3,25 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_vendor_v1_vendor_options } from "../../v1/vendor_options_pb.js";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file kusinta/iot/vendor/homematic/v1/homematic.proto.
|
|
9
10
|
*/
|
|
10
11
|
export const file_kusinta_iot_vendor_homematic_v1_homematic = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
12
|
+
fileDesc("Ci9rdXNpbnRhL2lvdC92ZW5kb3IvaG9tZW1hdGljL3YxL2hvbWVtYXRpYy5wcm90bxIfa3VzaW50YS5pb3QudmVuZG9yLmhvbWVtYXRpYy52MSI4ChdIb21lbWF0aWNEZXZpY2VJZGVudGl0eRIPCgdhZGRyZXNzGAEgASgJEgwKBHR5cGUYAiABKAkipQQKEUhtVGhlcm1vc3RhdFByb3BzEicKCmJvb3N0X21vZGUYASABKAhCDqK1GApCT09TVF9NT0RFSACIAQESLgoRYm9vc3RfdGltZV9wZXJpb2QYAiABKAJCDqK1GApCT09TVF9USU1FSAGIAQESKwoMY29udHJvbF9tb2RlGAMgASgNQhCitRgMQ09OVFJPTF9NT0RFSAKIAQESMwoQZnJvc3RfcHJvdGVjdGlvbhgEIAEoCEIUorUYEEZST1NUX1BST1RFQ1RJT05IA4gBARIzChZjdXJyZW50X3Byb2ZpbGVfcGVyaW9kGAUgASgCQg6itRgKUEFSVFlfTU9ERUgEiAEBEh0KBWxldmVsGAYgASgCQgmitRgFTEVWRUxIBYgBARIrCgx3aW5kb3dfc3RhdGUYByABKA1CEKK1GAxXSU5ET1dfU1RBVEVIBogBARIpCgt2YWx2ZV9zdGF0ZRgIIAEoDUIPorUYC1ZBTFZFX1NUQVRFSAeIAQE6GKq1GBRob21lbWF0aWMudGhlcm1vc3RhdEINCgtfYm9vc3RfbW9kZUIUChJfYm9vc3RfdGltZV9wZXJpb2RCDwoNX2NvbnRyb2xfbW9kZUITChFfZnJvc3RfcHJvdGVjdGlvbkIZChdfY3VycmVudF9wcm9maWxlX3BlcmlvZEIICgZfbGV2ZWxCDwoNX3dpbmRvd19zdGF0ZUIOCgxfdmFsdmVfc3RhdGVCAkgBYgZwcm90bzM", [file_kusinta_iot_vendor_v1_vendor_options]);
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
|
-
* Describes the message kusinta.iot.vendor.homematic.v1.
|
|
15
|
-
* Use `create(
|
|
15
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HomematicDeviceIdentity.
|
|
16
|
+
* Use `create(HomematicDeviceIdentitySchema)` to create a new message.
|
|
16
17
|
*/
|
|
17
|
-
export const
|
|
18
|
+
export const HomematicDeviceIdentitySchema = /*@__PURE__*/
|
|
18
19
|
messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 0);
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
|
-
* Describes the message kusinta.iot.vendor.homematic.v1.
|
|
22
|
-
* Use `create(
|
|
22
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HmThermostatProps.
|
|
23
|
+
* Use `create(HmThermostatPropsSchema)` to create a new message.
|
|
23
24
|
*/
|
|
24
|
-
export const
|
|
25
|
+
export const HmThermostatPropsSchema = /*@__PURE__*/
|
|
25
26
|
messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 1);
|
|
26
27
|
|