@kusinta/iot-schema 0.1.0-beta.10
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/LICENSE +21 -0
- package/README.md +49 -0
- package/package.json +36 -0
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +144 -0
- package/src/kusinta/iot/access/v1/acl_pb.js +36 -0
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +81 -0
- package/src/kusinta/iot/access/v1/roles_pb.js +36 -0
- package/src/kusinta/iot/common/v1/types_pb.d.ts +163 -0
- package/src/kusinta/iot/common/v1/types_pb.js +67 -0
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +366 -0
- package/src/kusinta/iot/connector/v1/connector_pb.js +102 -0
- package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +29 -0
- package/src/kusinta/iot/connector/v1/connector_service_pb.js +22 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +115 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.js +22 -0
- package/src/kusinta/iot/device/v1/device_pb.d.ts +131 -0
- package/src/kusinta/iot/device/v1/device_pb.js +23 -0
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +580 -0
- package/src/kusinta/iot/device/v1/properties_pb.js +96 -0
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +112 -0
- package/src/kusinta/iot/device/v1/property_update_pb.js +28 -0
- package/src/kusinta/iot/identity/v1/identity_pb.d.ts +108 -0
- package/src/kusinta/iot/identity/v1/identity_pb.js +54 -0
- 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 +245 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +76 -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/space/v1/space_pb.d.ts +86 -0
- package/src/kusinta/iot/space/v1/space_pb.js +21 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +94 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +26 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +271 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.js +70 -0
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +67 -0
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +30 -0
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +232 -0
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +66 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +48 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +21 -0
|
@@ -0,0 +1,245 @@
|
|
|
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
|
+
* @generated from message kusinta.iot.signaling.v1.IceCandidate
|
|
48
|
+
*/
|
|
49
|
+
export declare type IceCandidate = Message<"kusinta.iot.signaling.v1.IceCandidate"> & {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: string candidate = 1;
|
|
52
|
+
*/
|
|
53
|
+
candidate: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message kusinta.iot.signaling.v1.IceCandidate.
|
|
58
|
+
* Use `create(IceCandidateSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export declare const IceCandidateSchema: GenMessage<IceCandidate>;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* JWT for user auth is sent in the Authorization: Bearer metadata header, not here.
|
|
64
|
+
* First message carries only the target gateway for stream-specific routing.
|
|
65
|
+
*
|
|
66
|
+
* @generated from message kusinta.iot.signaling.v1.UserHandshake
|
|
67
|
+
*/
|
|
68
|
+
export declare type UserHandshake = Message<"kusinta.iot.signaling.v1.UserHandshake"> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: kusinta.iot.identity.v1.GatewayId target_gateway_id = 1;
|
|
71
|
+
*/
|
|
72
|
+
targetGatewayId?: GatewayId | undefined;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message kusinta.iot.signaling.v1.UserHandshake.
|
|
77
|
+
* Use `create(UserHandshakeSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export declare const UserHandshakeSchema: GenMessage<UserHandshake>;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from message kusinta.iot.signaling.v1.UserHandshakeAck
|
|
83
|
+
*/
|
|
84
|
+
export declare type UserHandshakeAck = Message<"kusinta.iot.signaling.v1.UserHandshakeAck"> & {
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: bool accepted = 1;
|
|
87
|
+
*/
|
|
88
|
+
accepted: boolean;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string reason = 2;
|
|
92
|
+
*/
|
|
93
|
+
reason: string;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message kusinta.iot.signaling.v1.UserHandshakeAck.
|
|
98
|
+
* Use `create(UserHandshakeAckSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export declare const UserHandshakeAckSchema: GenMessage<UserHandshakeAck>;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Messages sent by the building-server gateway (GatewaySignalingService.GatewayConnect stream).
|
|
104
|
+
* Auth: x-client-cert-fingerprint metadata header (set by HAProxy from mTLS).
|
|
105
|
+
*
|
|
106
|
+
* @generated from message kusinta.iot.signaling.v1.GatewayConnectRequest
|
|
107
|
+
*/
|
|
108
|
+
export declare type GatewayConnectRequest = Message<"kusinta.iot.signaling.v1.GatewayConnectRequest"> & {
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: kusinta.iot.identity.v1.UserId target_user_id = 1;
|
|
111
|
+
*/
|
|
112
|
+
targetUserId?: UserId | undefined;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from oneof kusinta.iot.signaling.v1.GatewayConnectRequest.payload
|
|
116
|
+
*/
|
|
117
|
+
payload: {
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpAnswer answer = 2;
|
|
120
|
+
*/
|
|
121
|
+
value: SdpAnswer;
|
|
122
|
+
case: "answer";
|
|
123
|
+
} | {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
126
|
+
*/
|
|
127
|
+
value: IceCandidate;
|
|
128
|
+
case: "iceCandidate";
|
|
129
|
+
} | { case: undefined; value?: undefined };
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectRequest.
|
|
134
|
+
* Use `create(GatewayConnectRequestSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export declare const GatewayConnectRequestSchema: GenMessage<GatewayConnectRequest>;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Messages sent by the api-server to the building-server gateway.
|
|
140
|
+
*
|
|
141
|
+
* @generated from message kusinta.iot.signaling.v1.GatewayConnectResponse
|
|
142
|
+
*/
|
|
143
|
+
export declare type GatewayConnectResponse = Message<"kusinta.iot.signaling.v1.GatewayConnectResponse"> & {
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: kusinta.iot.identity.v1.UserId from_user_id = 1;
|
|
146
|
+
*/
|
|
147
|
+
fromUserId?: UserId | undefined;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from oneof kusinta.iot.signaling.v1.GatewayConnectResponse.payload
|
|
151
|
+
*/
|
|
152
|
+
payload: {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpOffer offer = 2;
|
|
155
|
+
*/
|
|
156
|
+
value: SdpOffer;
|
|
157
|
+
case: "offer";
|
|
158
|
+
} | {
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
161
|
+
*/
|
|
162
|
+
value: IceCandidate;
|
|
163
|
+
case: "iceCandidate";
|
|
164
|
+
} | { case: undefined; value?: undefined };
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectResponse.
|
|
169
|
+
* Use `create(GatewayConnectResponseSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export declare const GatewayConnectResponseSchema: GenMessage<GatewayConnectResponse>;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Messages sent by the Flutter app (GatewaySignalingService.UserConnect stream).
|
|
175
|
+
* Auth: Authorization: Bearer <jwt> in gRPC request metadata (validated by interceptor).
|
|
176
|
+
*
|
|
177
|
+
* @generated from message kusinta.iot.signaling.v1.UserConnectRequest
|
|
178
|
+
*/
|
|
179
|
+
export declare type UserConnectRequest = Message<"kusinta.iot.signaling.v1.UserConnectRequest"> & {
|
|
180
|
+
/**
|
|
181
|
+
* @generated from oneof kusinta.iot.signaling.v1.UserConnectRequest.payload
|
|
182
|
+
*/
|
|
183
|
+
payload: {
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: kusinta.iot.signaling.v1.UserHandshake handshake = 1;
|
|
186
|
+
*/
|
|
187
|
+
value: UserHandshake;
|
|
188
|
+
case: "handshake";
|
|
189
|
+
} | {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpOffer offer = 2;
|
|
192
|
+
*/
|
|
193
|
+
value: SdpOffer;
|
|
194
|
+
case: "offer";
|
|
195
|
+
} | {
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
198
|
+
*/
|
|
199
|
+
value: IceCandidate;
|
|
200
|
+
case: "iceCandidate";
|
|
201
|
+
} | { case: undefined; value?: undefined };
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
|
|
206
|
+
* Use `create(UserConnectRequestSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
export declare const UserConnectRequestSchema: GenMessage<UserConnectRequest>;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Messages sent by the api-server to the Flutter app.
|
|
212
|
+
*
|
|
213
|
+
* @generated from message kusinta.iot.signaling.v1.UserConnectResponse
|
|
214
|
+
*/
|
|
215
|
+
export declare type UserConnectResponse = Message<"kusinta.iot.signaling.v1.UserConnectResponse"> & {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from oneof kusinta.iot.signaling.v1.UserConnectResponse.payload
|
|
218
|
+
*/
|
|
219
|
+
payload: {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: kusinta.iot.signaling.v1.UserHandshakeAck handshake_ack = 1;
|
|
222
|
+
*/
|
|
223
|
+
value: UserHandshakeAck;
|
|
224
|
+
case: "handshakeAck";
|
|
225
|
+
} | {
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpAnswer answer = 2;
|
|
228
|
+
*/
|
|
229
|
+
value: SdpAnswer;
|
|
230
|
+
case: "answer";
|
|
231
|
+
} | {
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
234
|
+
*/
|
|
235
|
+
value: IceCandidate;
|
|
236
|
+
case: "iceCandidate";
|
|
237
|
+
} | { case: undefined; value?: undefined };
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
|
|
242
|
+
* Use `create(UserConnectResponseSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export declare const UserConnectResponseSchema: GenMessage<UserConnectResponse>;
|
|
245
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
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("CihrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nLnByb3RvEhhrdXNpbnRhLmlvdC5zaWduYWxpbmcudjEiFwoIU2RwT2ZmZXISCwoDc2RwGAEgASgJIhgKCVNkcEFuc3dlchILCgNzZHAYASABKAkiIQoMSWNlQ2FuZGlkYXRlEhEKCWNhbmRpZGF0ZRgBIAEoCSJOCg1Vc2VySGFuZHNoYWtlEj0KEXRhcmdldF9nYXRld2F5X2lkGAEgASgLMiIua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuR2F0ZXdheUlkIjQKEFVzZXJIYW5kc2hha2VBY2sSEAoIYWNjZXB0ZWQYASABKAgSDgoGcmVhc29uGAIgASgJItMBChVHYXRld2F5Q29ubmVjdFJlcXVlc3QSNwoOdGFyZ2V0X3VzZXJfaWQYASABKAsyHy5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Vc2VySWQSNQoGYW5zd2VyGAIgASgLMiMua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlNkcEFuc3dlckgAEj8KDWljZV9jYW5kaWRhdGUYAyABKAsyJi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuSWNlQ2FuZGlkYXRlSABCCQoHcGF5bG9hZCLQAQoWR2F0ZXdheUNvbm5lY3RSZXNwb25zZRI1Cgxmcm9tX3VzZXJfaWQYASABKAsyHy5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Vc2VySWQSMwoFb2ZmZXIYAiABKAsyIi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwT2ZmZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAQgkKB3BheWxvYWQi0wEKElVzZXJDb25uZWN0UmVxdWVzdBI8CgloYW5kc2hha2UYASABKAsyJy5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuVXNlckhhbmRzaGFrZUgAEjMKBW9mZmVyGAIgASgLMiIua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlNkcE9mZmVySAASPwoNaWNlX2NhbmRpZGF0ZRgDIAEoCzImLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5JY2VDYW5kaWRhdGVIAEIJCgdwYXlsb2FkIt0BChNVc2VyQ29ubmVjdFJlc3BvbnNlEkMKDWhhbmRzaGFrZV9hY2sYASABKAsyKi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuVXNlckhhbmRzaGFrZUFja0gAEjUKBmFuc3dlchgCIAEoCzIjLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5TZHBBbnN3ZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAQgkKB3BheWxvYWRCAkgBYgZwcm90bzM", [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.UserHandshake.
|
|
37
|
+
* Use `create(UserHandshakeSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const UserHandshakeSchema = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 3);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message kusinta.iot.signaling.v1.UserHandshakeAck.
|
|
44
|
+
* Use `create(UserHandshakeAckSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const UserHandshakeAckSchema = /*@__PURE__*/
|
|
47
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 4);
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectRequest.
|
|
51
|
+
* Use `create(GatewayConnectRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const GatewayConnectRequestSchema = /*@__PURE__*/
|
|
54
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 5);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayConnectResponse.
|
|
58
|
+
* Use `create(GatewayConnectResponseSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const GatewayConnectResponseSchema = /*@__PURE__*/
|
|
61
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 6);
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
|
|
65
|
+
* Use `create(UserConnectRequestSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const UserConnectRequestSchema = /*@__PURE__*/
|
|
68
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 7);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
|
|
72
|
+
* Use `create(UserConnectResponseSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const UserConnectResponseSchema = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 8);
|
|
76
|
+
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.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 { DeviceId, GatewayId, SpaceId, TenantId, UserId } from "../../identity/v1/identity_pb.js";
|
|
8
|
+
import type { SpaceType } from "../../common/v1/types_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file kusinta/iot/space/v1/space.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_kusinta_iot_space_v1_space: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message kusinta.iot.space.v1.Space
|
|
17
|
+
*/
|
|
18
|
+
export declare type Space = Message<"kusinta.iot.space.v1.Space"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
|
|
21
|
+
*/
|
|
22
|
+
spaceId?: SpaceId | undefined;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: kusinta.iot.common.v1.SpaceType space_type = 2;
|
|
26
|
+
*/
|
|
27
|
+
spaceType: SpaceType;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string name = 3;
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string description = 4;
|
|
36
|
+
*/
|
|
37
|
+
description: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* meaningful for FLOOR type
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: int32 floor = 5;
|
|
43
|
+
*/
|
|
44
|
+
floor: number;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* null for top-level Building
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId parent_space_id = 6;
|
|
50
|
+
*/
|
|
51
|
+
parentSpaceId?: SpaceId | undefined;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: repeated kusinta.iot.identity.v1.SpaceId sub_space_ids = 7;
|
|
55
|
+
*/
|
|
56
|
+
subSpaceIds: SpaceId[];
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: repeated kusinta.iot.identity.v1.DeviceId device_ids = 8;
|
|
60
|
+
*/
|
|
61
|
+
deviceIds: DeviceId[];
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* only for APARTMENT
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: kusinta.iot.identity.v1.UserId resident_user_id = 9;
|
|
67
|
+
*/
|
|
68
|
+
residentUserId?: UserId | undefined;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: kusinta.iot.identity.v1.TenantId tenant_id = 10;
|
|
72
|
+
*/
|
|
73
|
+
tenantId?: TenantId | undefined;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: kusinta.iot.identity.v1.GatewayId gateway_id = 11;
|
|
77
|
+
*/
|
|
78
|
+
gatewayId?: GatewayId | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message kusinta.iot.space.v1.Space.
|
|
83
|
+
* Use `create(SpaceSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const SpaceSchema: GenMessage<Space>;
|
|
86
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
7
|
+
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file kusinta/iot/space/v1/space.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_kusinta_iot_space_v1_space = /*@__PURE__*/
|
|
13
|
+
fileDesc("CiBrdXNpbnRhL2lvdC9zcGFjZS92MS9zcGFjZS5wcm90bxIUa3VzaW50YS5pb3Quc3BhY2UudjEi9wMKBVNwYWNlEjIKCHNwYWNlX2lkGAEgASgLMiAua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuU3BhY2VJZBI0CgpzcGFjZV90eXBlGAIgASgOMiAua3VzaW50YS5pb3QuY29tbW9uLnYxLlNwYWNlVHlwZRIMCgRuYW1lGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEg0KBWZsb29yGAUgASgFEjkKD3BhcmVudF9zcGFjZV9pZBgGIAEoCzIgLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlNwYWNlSWQSNwoNc3ViX3NwYWNlX2lkcxgHIAMoCzIgLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlNwYWNlSWQSNQoKZGV2aWNlX2lkcxgIIAMoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEjkKEHJlc2lkZW50X3VzZXJfaWQYCSABKAsyHy5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Vc2VySWQSNAoJdGVuYW50X2lkGAogASgLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVGVuYW50SWQSNgoKZ2F0ZXdheV9pZBgLIAEoCzIiLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkdhdGV3YXlJZEICSAFiBnByb3RvMw", [file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message kusinta.iot.space.v1.Space.
|
|
17
|
+
* Use `create(SpaceSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const SpaceSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_kusinta_iot_space_v1_space, 0);
|
|
21
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/vendor/homematic/v1/homematic.proto (package kusinta.iot.vendor.homematic.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/vendor/homematic/v1/homematic.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_vendor_homematic_v1_homematic: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* HomeMatic-specific thermostat properties not available in Matter Thermostat cluster.
|
|
15
|
+
* Add new fields at the next available field number — never reuse a removed number.
|
|
16
|
+
*
|
|
17
|
+
* @generated from message kusinta.iot.vendor.homematic.v1.HmThermostatProps
|
|
18
|
+
*/
|
|
19
|
+
export declare type HmThermostatProps = Message<"kusinta.iot.vendor.homematic.v1.HmThermostatProps"> & {
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: bool boost_mode = 1;
|
|
22
|
+
*/
|
|
23
|
+
boostMode: boolean;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* minutes remaining in boost
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: float boost_time_period = 2;
|
|
29
|
+
*/
|
|
30
|
+
boostTimePeriod: number;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* HmIP ControlMode enum
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: uint32 control_mode = 3;
|
|
36
|
+
*/
|
|
37
|
+
controlMode: number;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: bool frost_protection = 4;
|
|
41
|
+
*/
|
|
42
|
+
frostProtection: boolean;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: float current_profile_period = 5;
|
|
46
|
+
*/
|
|
47
|
+
currentProfilePeriod: number;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HmThermostatProps.
|
|
52
|
+
* Use `create(HmThermostatPropsSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export declare const HmThermostatPropsSchema: GenMessage<HmThermostatProps>;
|
|
55
|
+
|
|
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
|
+
/**
|
|
64
|
+
* e.g. "MEQ1234567" (CCU3 device address)
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: string homematic_address = 1;
|
|
67
|
+
*/
|
|
68
|
+
homematicAddress: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* aiohomematic device type string e.g. "HmIP-eTRV-C"
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: string homematic_type = 2;
|
|
74
|
+
*/
|
|
75
|
+
homematicType: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from oneof kusinta.iot.vendor.homematic.v1.HomematicVendorExtension.homematic_props
|
|
79
|
+
*/
|
|
80
|
+
homematicProps: {
|
|
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 };
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HomematicVendorExtension.
|
|
91
|
+
* Use `create(HomematicVendorExtensionSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const HomematicVendorExtensionSchema: GenMessage<HomematicVendorExtension>;
|
|
94
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/vendor/homematic/v1/homematic.proto (package kusinta.iot.vendor.homematic.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file kusinta/iot/vendor/homematic/v1/homematic.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_kusinta_iot_vendor_homematic_v1_homematic = /*@__PURE__*/
|
|
11
|
+
fileDesc("Ci9rdXNpbnRhL2lvdC92ZW5kb3IvaG9tZW1hdGljL3YxL2hvbWVtYXRpYy5wcm90bxIfa3VzaW50YS5pb3QudmVuZG9yLmhvbWVtYXRpYy52MSKSAQoRSG1UaGVybW9zdGF0UHJvcHMSEgoKYm9vc3RfbW9kZRgBIAEoCBIZChFib29zdF90aW1lX3BlcmlvZBgCIAEoAhIUCgxjb250cm9sX21vZGUYAyABKA0SGAoQZnJvc3RfcHJvdGVjdGlvbhgEIAEoCBIeChZjdXJyZW50X3Byb2ZpbGVfcGVyaW9kGAUgASgCIq0BChhIb21lbWF0aWNWZW5kb3JFeHRlbnNpb24SGQoRaG9tZW1hdGljX2FkZHJlc3MYASABKAkSFgoOaG9tZW1hdGljX3R5cGUYAiABKAkSSwoNaG1fdGhlcm1vc3RhdBgKIAEoCzIyLmt1c2ludGEuaW90LnZlbmRvci5ob21lbWF0aWMudjEuSG1UaGVybW9zdGF0UHJvcHNIAEIRCg9ob21lbWF0aWNfcHJvcHNCAkgBYgZwcm90bzM");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HmThermostatProps.
|
|
15
|
+
* Use `create(HmThermostatPropsSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const HmThermostatPropsSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HomematicVendorExtension.
|
|
22
|
+
* Use `create(HomematicVendorExtensionSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const HomematicVendorExtensionSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 1);
|
|
26
|
+
|