@kusinta/iot-schema 0.2.0-beta.6 → 0.2.0-beta.60
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 +1642 -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
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
// @generated from file kusinta/iot/signaling/v1/signaling.proto (package kusinta.iot.signaling.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_kusinta_iot_accountlink_v1_account_link } from "../../accountlink/v1/account_link_pb.js";
|
|
8
|
+
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
6
9
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
7
10
|
|
|
8
11
|
/**
|
|
9
12
|
* Describes the file kusinta/iot/signaling/v1/signaling.proto.
|
|
10
13
|
*/
|
|
11
14
|
export const file_kusinta_iot_signaling_v1_signaling = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
15
|
+
fileDesc("CihrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nLnByb3RvEhhrdXNpbnRhLmlvdC5zaWduYWxpbmcudjEiFwoIU2RwT2ZmZXISCwoDc2RwGAEgASgJIhgKCVNkcEFuc3dlchILCgNzZHAYASABKAkiSwoMSWNlQ2FuZGlkYXRlEhEKCWNhbmRpZGF0ZRgBIAEoCRIPCgdzZHBfbWlkGAIgASgJEhcKD3NkcF9tbGluZV9pbmRleBgDIAEoBSILCglIZWFydEJlYXQiTgoNVXNlckhhbmRzaGFrZRI9ChF0YXJnZXRfZ2F0ZXdheV9pZBgBIAEoCzIiLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkdhdGV3YXlJZCJTChBVc2VySGFuZHNoYWtlQWNrEhAKCGFjY2VwdGVkGAEgASgIEg4KBnJlYXNvbhgCIAEoCRIdChVoZWFydGJlYXRfaW50ZXJ2YWxfbXMYAyABKA0isgYKFUdhdGV3YXlDb25uZWN0UmVxdWVzdBI3Cg50YXJnZXRfdXNlcl9pZBgBIAEoCzIfLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlVzZXJJZBISCgpzZXNzaW9uX2lkGAUgASgJEjUKBmFuc3dlchgCIAEoCzIjLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5TZHBBbnN3ZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAEjgKCWhlYXJ0YmVhdBgEIAEoCzIjLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5IZWFydEJlYXRIABJMChRyZWRlZW1faW52aXRlX3Jlc3VsdBgGIAEoCzIsLmt1c2ludGEuaW90LnNpZ25hbGluZy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CEANKBAgDEAQiVQoSVXNlckxpc3RlblJlc3BvbnNlEj8KCHJlc3BvbnNlGAEgASgLMi0ua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJDb25uZWN0UmVzcG9uc2UitwEKD1VzZXJTZW5kUmVxdWVzdBISCgpzZXNzaW9uX2lkGAQgASgJEjMKBW9mZmVyGAIgASgLMiIua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlNkcE9mZmVySAASPwoNaWNlX2NhbmRpZGF0ZRgDIAEoCzImLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5JY2VDYW5kaWRhdGVIAEIJCgdwYXlsb2FkSgQIARACUgloYW5kc2hha2UiEgoQVXNlclNlbmRSZXNwb25zZSrOAQoNUmVkZWVtT3V0Y29tZRIeChpSRURFRU1fT1VUQ09NRV9VTlNQRUNJRklFRBAAEhkKFVJFREVFTV9PVVRDT01FX0pPSU5FRBABEiMKH1JFREVFTV9PVVRDT01FX1BFTkRJTkdfQVBQUk9WQUwQAhIaChZSRURFRU1fT1VUQ09NRV9JTlZBTElEEAMSIAocUkVERUVNX09VVENPTUVfV1JPTkdfQUNDT1VOVBAEEh8KG1JFREVFTV9PVVRDT01FX05PVF9FTElHSUJMRRAFKmgKCVdpcGVTY29wZRIaChZXSVBFX1NDT1BFX1VOU1BFQ0lGSUVEEAASIQodV0lQRV9TQ09QRV9QRU9QTEVfQU5EX0hJU1RPUlkQARIcChhXSVBFX1NDT1BFX0ZBQ1RPUllfUkVTRVQQAiqLAQoTT3V0Z29pbmdTdGFmZkNob2ljZRIlCiFPVVRHT0lOR19TVEFGRl9DSE9JQ0VfVU5TUEVDSUZJRUQQABIfChtPVVRHT0lOR19TVEFGRl9DSE9JQ0VfTEVBVkUQARIsCihPVVRHT0lOR19TVEFGRl9DSE9JQ0VfU1RBWV9BU19URUNITklDSUFOEAJCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_accountlink_v1_account_link, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
|
|
13
16
|
|
|
14
17
|
/**
|
|
15
18
|
* Describes the message kusinta.iot.signaling.v1.SdpOffer.
|
|
@@ -67,17 +70,173 @@ export const GatewayConnectRequestSchema = /*@__PURE__*/
|
|
|
67
70
|
export const GatewayConnectResponseSchema = /*@__PURE__*/
|
|
68
71
|
messageDesc(file_kusinta_iot_signaling_v1_signaling, 7);
|
|
69
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message kusinta.iot.signaling.v1.RedeemInvite.
|
|
75
|
+
* Use `create(RedeemInviteSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export const RedeemInviteSchema = /*@__PURE__*/
|
|
78
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 8);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message kusinta.iot.signaling.v1.RedeemInviteResult.
|
|
82
|
+
* Use `create(RedeemInviteResultSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export const RedeemInviteResultSchema = /*@__PURE__*/
|
|
85
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 9);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayStreamOpened.
|
|
89
|
+
* Use `create(GatewayStreamOpenedSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const GatewayStreamOpenedSchema = /*@__PURE__*/
|
|
92
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 10);
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayDeleted.
|
|
96
|
+
* Use `create(GatewayDeletedSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export const GatewayDeletedSchema = /*@__PURE__*/
|
|
99
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 11);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message kusinta.iot.signaling.v1.GatewayWiped.
|
|
103
|
+
* Use `create(GatewayWipedSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export const GatewayWipedSchema = /*@__PURE__*/
|
|
106
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 12);
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message kusinta.iot.signaling.v1.PairingsLeftBehind.
|
|
110
|
+
* Use `create(PairingsLeftBehindSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const PairingsLeftBehindSchema = /*@__PURE__*/
|
|
113
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 13);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message kusinta.iot.signaling.v1.VouchedAdministrators.
|
|
117
|
+
* Use `create(VouchedAdministratorsSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export const VouchedAdministratorsSchema = /*@__PURE__*/
|
|
120
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 14);
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message kusinta.iot.signaling.v1.VouchedAdministratorsApplied.
|
|
124
|
+
* Use `create(VouchedAdministratorsAppliedSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export const VouchedAdministratorsAppliedSchema = /*@__PURE__*/
|
|
127
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 15);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message kusinta.iot.signaling.v1.TransferOutcome.
|
|
131
|
+
* Use `create(TransferOutcomeSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const TransferOutcomeSchema = /*@__PURE__*/
|
|
134
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 16);
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message kusinta.iot.signaling.v1.OutgoingChoice.
|
|
138
|
+
* Use `create(OutgoingChoiceSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export const OutgoingChoiceSchema = /*@__PURE__*/
|
|
141
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 17);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message kusinta.iot.signaling.v1.TransferOutcomeApplied.
|
|
145
|
+
* Use `create(TransferOutcomeAppliedSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export const TransferOutcomeAppliedSchema = /*@__PURE__*/
|
|
148
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 18);
|
|
149
|
+
|
|
70
150
|
/**
|
|
71
151
|
* Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
|
|
72
152
|
* Use `create(UserConnectRequestSchema)` to create a new message.
|
|
73
153
|
*/
|
|
74
154
|
export const UserConnectRequestSchema = /*@__PURE__*/
|
|
75
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
155
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 19);
|
|
76
156
|
|
|
77
157
|
/**
|
|
78
158
|
* Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
|
|
79
159
|
* Use `create(UserConnectResponseSchema)` to create a new message.
|
|
80
160
|
*/
|
|
81
161
|
export const UserConnectResponseSchema = /*@__PURE__*/
|
|
82
|
-
messageDesc(file_kusinta_iot_signaling_v1_signaling,
|
|
162
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 20);
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Describes the message kusinta.iot.signaling.v1.UserListenRequest.
|
|
166
|
+
* Use `create(UserListenRequestSchema)` to create a new message.
|
|
167
|
+
*/
|
|
168
|
+
export const UserListenRequestSchema = /*@__PURE__*/
|
|
169
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 21);
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Describes the message kusinta.iot.signaling.v1.UserListenResponse.
|
|
173
|
+
* Use `create(UserListenResponseSchema)` to create a new message.
|
|
174
|
+
*/
|
|
175
|
+
export const UserListenResponseSchema = /*@__PURE__*/
|
|
176
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 22);
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Describes the message kusinta.iot.signaling.v1.UserSendRequest.
|
|
180
|
+
* Use `create(UserSendRequestSchema)` to create a new message.
|
|
181
|
+
*/
|
|
182
|
+
export const UserSendRequestSchema = /*@__PURE__*/
|
|
183
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 23);
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message kusinta.iot.signaling.v1.UserSendResponse.
|
|
187
|
+
* Use `create(UserSendResponseSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export const UserSendResponseSchema = /*@__PURE__*/
|
|
190
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 24);
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Describes the enum kusinta.iot.signaling.v1.RedeemOutcome.
|
|
194
|
+
*/
|
|
195
|
+
export const RedeemOutcomeSchema = /*@__PURE__*/
|
|
196
|
+
enumDesc(file_kusinta_iot_signaling_v1_signaling, 0);
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* What redeeming an invite did, as the gateway decided it.
|
|
200
|
+
*
|
|
201
|
+
* A redeem is idempotent for its user: redeemed again by the same user, for as
|
|
202
|
+
* long as its secret would have lasted unused, a used invite answers JOINED if
|
|
203
|
+
* the user is filed on its space by then, and otherwise as it did the first time
|
|
204
|
+
* — so a denied request still answers PENDING_APPROVAL — except that one which
|
|
205
|
+
* filed the user, who has left that space since, answers INVALID. To anyone
|
|
206
|
+
* else it answers INVALID. So a user who never saw the first answer can safely
|
|
207
|
+
* try again.
|
|
208
|
+
*
|
|
209
|
+
* @generated from enum kusinta.iot.signaling.v1.RedeemOutcome
|
|
210
|
+
*/
|
|
211
|
+
export const RedeemOutcome = /*@__PURE__*/
|
|
212
|
+
tsEnum(RedeemOutcomeSchema);
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Describes the enum kusinta.iot.signaling.v1.WipeScope.
|
|
216
|
+
*/
|
|
217
|
+
export const WipeScopeSchema = /*@__PURE__*/
|
|
218
|
+
enumDesc(file_kusinta_iot_signaling_v1_signaling, 1);
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* How much a wipe takes (GatewayDeleted).
|
|
222
|
+
*
|
|
223
|
+
* @generated from enum kusinta.iot.signaling.v1.WipeScope
|
|
224
|
+
*/
|
|
225
|
+
export const WipeScope = /*@__PURE__*/
|
|
226
|
+
tsEnum(WipeScopeSchema);
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Describes the enum kusinta.iot.signaling.v1.OutgoingStaffChoice.
|
|
230
|
+
*/
|
|
231
|
+
export const OutgoingStaffChoiceSchema = /*@__PURE__*/
|
|
232
|
+
enumDesc(file_kusinta_iot_signaling_v1_signaling, 2);
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Whether an outgoing staff member leaves the gateway or stays on it as a technician. Chosen
|
|
236
|
+
* per person by the sending organisation's administrator who offered the transfer.
|
|
237
|
+
*
|
|
238
|
+
* @generated from enum kusinta.iot.signaling.v1.OutgoingStaffChoice
|
|
239
|
+
*/
|
|
240
|
+
export const OutgoingStaffChoice = /*@__PURE__*/
|
|
241
|
+
tsEnum(OutgoingStaffChoiceSchema);
|
|
83
242
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import type { GatewayConnectRequestSchema, GatewayConnectResponseSchema, UserConnectRequestSchema, UserConnectResponseSchema } from "./signaling_pb.js";
|
|
6
|
+
import type { GatewayConnectRequestSchema, GatewayConnectResponseSchema, UserConnectRequestSchema, UserConnectResponseSchema, UserListenRequestSchema, UserListenResponseSchema, UserSendRequestSchema, UserSendResponseSchema } from "./signaling_pb.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file kusinta/iot/signaling/v1/signaling_service.proto.
|
|
@@ -30,5 +30,28 @@ export declare const GatewaySignalingService: GenService<{
|
|
|
30
30
|
input: typeof UserConnectRequestSchema;
|
|
31
31
|
output: typeof UserConnectResponseSchema;
|
|
32
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* Opens the session and its downstream half, for a client whose transport
|
|
35
|
+
* cannot stream a request body and so cannot call UserConnect. The handshake
|
|
36
|
+
* travels in the request; the acknowledgement is the stream's first message.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc kusinta.iot.signaling.v1.GatewaySignalingService.UserListen
|
|
39
|
+
*/
|
|
40
|
+
userListen: {
|
|
41
|
+
methodKind: "server_streaming";
|
|
42
|
+
input: typeof UserListenRequestSchema;
|
|
43
|
+
output: typeof UserListenResponseSchema;
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* Delivers one upstream message into a session UserListen has already opened.
|
|
47
|
+
* A call naming a session the relay does not hold is refused, not queued.
|
|
48
|
+
*
|
|
49
|
+
* @generated from rpc kusinta.iot.signaling.v1.GatewaySignalingService.UserSend
|
|
50
|
+
*/
|
|
51
|
+
userSend: {
|
|
52
|
+
methodKind: "unary";
|
|
53
|
+
input: typeof UserSendRequestSchema;
|
|
54
|
+
output: typeof UserSendResponseSchema;
|
|
55
|
+
},
|
|
33
56
|
}>;
|
|
34
57
|
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_signaling_v1_signaling } from "./signaling_pb.js";
|
|
|
9
9
|
* Describes the file kusinta/iot/signaling/v1/signaling_service.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_signaling_v1_signaling_service = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CjBrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nX3NlcnZpY2UucHJvdG8SGGt1c2ludGEuaW90LnNpZ25hbGluZy52MTLQAwoXR2F0ZXdheVNpZ25hbGluZ1NlcnZpY2USdwoOR2F0ZXdheUNvbm5lY3QSLy5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuR2F0ZXdheUNvbm5lY3RSZXF1ZXN0GjAua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkdhdGV3YXlDb25uZWN0UmVzcG9uc2UoATABEm4KC1VzZXJDb25uZWN0Eiwua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJDb25uZWN0UmVxdWVzdBotLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VyQ29ubmVjdFJlc3BvbnNlKAEwARJpCgpVc2VyTGlzdGVuEisua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJMaXN0ZW5SZXF1ZXN0Giwua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJMaXN0ZW5SZXNwb25zZTABEmEKCFVzZXJTZW5kEikua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJTZW5kUmVxdWVzdBoqLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VyU2VuZFJlc3BvbnNlQgJIAWIGcHJvdG8z", [file_kusinta_iot_signaling_v1_signaling]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @generated from service kusinta.iot.signaling.v1.GatewaySignalingService
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
// @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
7
|
import type { DeviceId, GatewayId, SpaceId, TenantId, UserId } from "../../identity/v1/identity_pb.js";
|
|
8
8
|
import type { SpaceType } from "../../common/v1/types_pb.js";
|
|
9
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { MembershipRelation } from "../../access/v1/roles_pb.js";
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* Describes the file kusinta/iot/space/v1/space.proto.
|
|
@@ -27,6 +29,13 @@ export declare type Space = Message<"kusinta.iot.space.v1.Space"> & {
|
|
|
27
29
|
spaceType: SpaceType;
|
|
28
30
|
|
|
29
31
|
/**
|
|
32
|
+
* On an apartment, the building's fixed, readable identifier for it — its number, say "Lgh
|
|
33
|
+
* 1102" — given by the property owner or the gateway's administrators when it is created and
|
|
34
|
+
* changed only by them (webrtc.v1.CreateSpace, webrtc.v1.UpdateSpace); never a generated id,
|
|
35
|
+
* and never touched by a household's handover. An apartment created before this rule keeps
|
|
36
|
+
* the name it has, unchanged, as that identifier. The household's own name for the home is
|
|
37
|
+
* home_name.
|
|
38
|
+
*
|
|
30
39
|
* @generated from field: string name = 3;
|
|
31
40
|
*/
|
|
32
41
|
name: string;
|
|
@@ -51,19 +60,27 @@ export declare type Space = Message<"kusinta.iot.space.v1.Space"> & {
|
|
|
51
60
|
parentSpaceId?: SpaceId | undefined;
|
|
52
61
|
|
|
53
62
|
/**
|
|
63
|
+
* Filtered to the spaces the caller reaches, as device_ids is.
|
|
64
|
+
*
|
|
54
65
|
* @generated from field: repeated kusinta.iot.identity.v1.SpaceId sub_space_ids = 7;
|
|
55
66
|
*/
|
|
56
67
|
subSpaceIds: SpaceId[];
|
|
57
68
|
|
|
58
69
|
/**
|
|
70
|
+
* Filtered to the devices the caller may see (see webrtc.v1.SpaceTree): for service, no
|
|
71
|
+
* device a resident owns.
|
|
72
|
+
*
|
|
59
73
|
* @generated from field: repeated kusinta.iot.identity.v1.DeviceId device_ids = 8;
|
|
60
74
|
*/
|
|
61
75
|
deviceIds: DeviceId[];
|
|
62
76
|
|
|
63
77
|
/**
|
|
64
|
-
*
|
|
78
|
+
* Superseded by members, which can say that more than one person lives in an apartment,
|
|
79
|
+
* and how each member stands to the space. A gateway leaves it unset, so a client that
|
|
80
|
+
* still reads it sees no resident anywhere; read members instead.
|
|
65
81
|
*
|
|
66
|
-
* @generated from field: kusinta.iot.identity.v1.UserId resident_user_id = 9;
|
|
82
|
+
* @generated from field: kusinta.iot.identity.v1.UserId resident_user_id = 9 [deprecated = true];
|
|
83
|
+
* @deprecated
|
|
67
84
|
*/
|
|
68
85
|
residentUserId?: UserId | undefined;
|
|
69
86
|
|
|
@@ -76,6 +93,92 @@ export declare type Space = Message<"kusinta.iot.space.v1.Space"> & {
|
|
|
76
93
|
* @generated from field: kusinta.iot.identity.v1.GatewayId gateway_id = 11;
|
|
77
94
|
*/
|
|
78
95
|
gatewayId?: GatewayId | undefined;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* An IANA time zone name, e.g. "Europe/Stockholm". Written on the building — the
|
|
99
|
+
* top-level space. When listing, a gateway fills it on every space with the effective
|
|
100
|
+
* value, inherited from the nearest ancestor that has one, so every listed space
|
|
101
|
+
* carries it. Empty means unknown, not UTC.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: string time_zone = 12;
|
|
104
|
+
*/
|
|
105
|
+
timeZone: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Who is filed directly on this space, and how each stands to it. Members of a space
|
|
109
|
+
* above it are listed there, not here.
|
|
110
|
+
*
|
|
111
|
+
* Filled according to who asks, since a membership list says who lives where:
|
|
112
|
+
*
|
|
113
|
+
* * a caller holding ROLE_PROPERTY_OWNER or ROLE_GATEWAY_ADMIN who reaches the space
|
|
114
|
+
* sees every member save as below, in a home they see as service too, as the
|
|
115
|
+
* members change;
|
|
116
|
+
* * a resident of an apartment sees every member filed on it or on its rooms — who they
|
|
117
|
+
* live with, and anyone filed on their home as service, since being filed on a home
|
|
118
|
+
* is an act on it its residents should see. Service reach from a building or floor
|
|
119
|
+
* above is not listed; webrtc.v1.PrivacyDisclosure tells them what kinds of party
|
|
120
|
+
* hold it, and who, without saying where anyone lives;
|
|
121
|
+
* * anyone else sees none, residents of a building or floor included.
|
|
122
|
+
*
|
|
123
|
+
* To a caller who does not live in the home, a RESIDENT member is listed under the
|
|
124
|
+
* residency's id (access.v1.MembershipRelation, RESIDENCY IDS) and never by name, so that
|
|
125
|
+
* a home's residents are told apart from one another and from anyone's other memberships
|
|
126
|
+
* without saying who they are. The people of the home see one another under their user
|
|
127
|
+
* ids.
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: repeated kusinta.iot.space.v1.SpaceMember members = 13;
|
|
130
|
+
*/
|
|
131
|
+
members: SpaceMember[];
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Set when members are not listed to this caller, so that an empty list is not read as
|
|
135
|
+
* nobody being filed here.
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: bool members_withheld = 14;
|
|
138
|
+
*/
|
|
139
|
+
membersWithheld: boolean;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* What kind of room this is, on a ROOM only: what it is used for, so that a client can
|
|
143
|
+
* propose likely answers to its household questions (commissioning.v1) and name it in
|
|
144
|
+
* lists. Set by whoever may rename the room, and changed the same way. UNSPECIFIED: not
|
|
145
|
+
* said. It changes nothing the gateway steers.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: kusinta.iot.space.v1.RoomType room_type = 17;
|
|
148
|
+
*/
|
|
149
|
+
roomType: RoomType;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* On an apartment, the name its household gave the home (webrtc.v1.SetHomeName), which may
|
|
153
|
+
* name them ("The Svenssons"). Given to the home's residents only: empty for anyone else,
|
|
154
|
+
* so a client shows it to residents alone and the apartment's name to everyone. Wiped at
|
|
155
|
+
* the home's handover. Empty on every other space.
|
|
156
|
+
*
|
|
157
|
+
* No other field carries it. Wherever the wire names an apartment to anyone — pushes,
|
|
158
|
+
* problems, invites and what is shown of them before redeeming, privacy disclosures, and
|
|
159
|
+
* reporting.v1.ServedSpace.name to the api-server — it is name, never this: the household's
|
|
160
|
+
* own name never leaves the gateway but to the home's residents.
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: string home_name = 15;
|
|
163
|
+
*/
|
|
164
|
+
homeName: string;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* On an apartment, when its household last cleared the home's climate history
|
|
168
|
+
* (webrtc.v1.ClimateHistoryCleared.cleared_at): the lasting floor a session that missed the
|
|
169
|
+
* push reads, sent on every listing. An app sets it as the home's floor when it reads it, and
|
|
170
|
+
* drops anything of the home it holds dated before it, device events included, as on the push
|
|
171
|
+
* (webrtc.v1 household.proto, CLIMATE HISTORY).
|
|
172
|
+
*
|
|
173
|
+
* Given to the home's residents only, and only when it falls within the recipient's current
|
|
174
|
+
* residency: the start of that residency is already their floor, and an earlier clear is a
|
|
175
|
+
* time from before it (access.v1.MembershipRelation). Unset for anyone else — service and
|
|
176
|
+
* staff included — where the home has never been cleared, and on every other space. A wipe
|
|
177
|
+
* erases it with the household's other records (webrtc.v1 household.proto, WIPE).
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: google.protobuf.Timestamp climate_history_cleared_at = 16;
|
|
180
|
+
*/
|
|
181
|
+
climateHistoryClearedAt?: Timestamp | undefined;
|
|
79
182
|
};
|
|
80
183
|
|
|
81
184
|
/**
|
|
@@ -84,3 +187,115 @@ export declare type Space = Message<"kusinta.iot.space.v1.Space"> & {
|
|
|
84
187
|
*/
|
|
85
188
|
export declare const SpaceSchema: GenMessage<Space>;
|
|
86
189
|
|
|
190
|
+
/**
|
|
191
|
+
* One membership of a space.
|
|
192
|
+
*
|
|
193
|
+
* @generated from message kusinta.iot.space.v1.SpaceMember
|
|
194
|
+
*/
|
|
195
|
+
export declare type SpaceMember = Message<"kusinta.iot.space.v1.SpaceMember"> & {
|
|
196
|
+
/**
|
|
197
|
+
* The member's user id, or for a RESIDENT member listed to a caller who does not live in
|
|
198
|
+
* the home, the residency's id (Space.members).
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: kusinta.iot.identity.v1.UserId user_id = 1;
|
|
201
|
+
*/
|
|
202
|
+
userId?: UserId | undefined;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: kusinta.iot.access.v1.MembershipRelation relation = 2;
|
|
206
|
+
*/
|
|
207
|
+
relation: MembershipRelation;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The name the member gave, self-chosen and not verified, so the app shows it as the name
|
|
211
|
+
* they gave rather than as an identity. Given to a caller who is a resident of the
|
|
212
|
+
* apartment the member is filed on, or on one of its rooms: the people they live with,
|
|
213
|
+
* and anyone filed on their home as service, whom webrtc.v1.PrivacyDisclosure already
|
|
214
|
+
* names to them. Given also, for a member who is staff (access.v1.Role, STAFF), to a
|
|
215
|
+
* caller holding ROLE_PROPERTY_OWNER or ROLE_GATEWAY_ADMIN, as webrtc.v1.MemberDetail.name
|
|
216
|
+
* names them. Empty for every other caller — service, residents of any other home, and a
|
|
217
|
+
* property owner or an administrator for a member who is not staff — and for a member
|
|
218
|
+
* whose name the gateway has not learnt. A caller given names reads an empty one as not
|
|
219
|
+
* known; anyone else is given none. Residents are named only to their own home.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: string name = 3;
|
|
222
|
+
*/
|
|
223
|
+
name: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* As webrtc.v1.MemberSpace.since: the start of the day, in the building's time zone, on
|
|
227
|
+
* which this membership began; for a resident, the current unbroken residency. Never finer
|
|
228
|
+
* than a day. Unset where the gateway holds no record of it.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: google.protobuf.Timestamp since = 4;
|
|
231
|
+
*/
|
|
232
|
+
since?: Timestamp | undefined;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Describes the message kusinta.iot.space.v1.SpaceMember.
|
|
237
|
+
* Use `create(SpaceMemberSchema)` to create a new message.
|
|
238
|
+
*/
|
|
239
|
+
export declare const SpaceMemberSchema: GenMessage<SpaceMember>;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* What a room is used for (Space.room_type).
|
|
243
|
+
*
|
|
244
|
+
* @generated from enum kusinta.iot.space.v1.RoomType
|
|
245
|
+
*/
|
|
246
|
+
export enum RoomType {
|
|
247
|
+
/**
|
|
248
|
+
* @generated from enum value: ROOM_TYPE_UNSPECIFIED = 0;
|
|
249
|
+
*/
|
|
250
|
+
UNSPECIFIED = 0,
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from enum value: ROOM_TYPE_BATHROOM = 1;
|
|
254
|
+
*/
|
|
255
|
+
BATHROOM = 1,
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from enum value: ROOM_TYPE_BEDROOM = 2;
|
|
259
|
+
*/
|
|
260
|
+
BEDROOM = 2,
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from enum value: ROOM_TYPE_KITCHEN = 3;
|
|
264
|
+
*/
|
|
265
|
+
KITCHEN = 3,
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from enum value: ROOM_TYPE_LIVING_ROOM = 4;
|
|
269
|
+
*/
|
|
270
|
+
LIVING_ROOM = 4,
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* A hall or an entrance.
|
|
274
|
+
*
|
|
275
|
+
* @generated from enum value: ROOM_TYPE_HALL = 5;
|
|
276
|
+
*/
|
|
277
|
+
HALL = 5,
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* A laundry or utility room.
|
|
281
|
+
*
|
|
282
|
+
* @generated from enum value: ROOM_TYPE_LAUNDRY = 6;
|
|
283
|
+
*/
|
|
284
|
+
LAUNDRY = 6,
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from enum value: ROOM_TYPE_STORAGE = 7;
|
|
288
|
+
*/
|
|
289
|
+
STORAGE = 7,
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from enum value: ROOM_TYPE_OTHER = 8;
|
|
293
|
+
*/
|
|
294
|
+
OTHER = 8,
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Describes the enum kusinta.iot.space.v1.RoomType.
|
|
299
|
+
*/
|
|
300
|
+
export declare const RoomTypeSchema: GenEnum<RoomType>;
|
|
301
|
+
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
// @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_kusinta_iot_access_v1_roles } from "../../access/v1/roles_pb.js";
|
|
6
8
|
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
7
9
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
8
10
|
|
|
@@ -10,7 +12,7 @@ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identit
|
|
|
10
12
|
* Describes the file kusinta/iot/space/v1/space.proto.
|
|
11
13
|
*/
|
|
12
14
|
export const file_kusinta_iot_space_v1_space = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
15
|
+
fileDesc("CiBrdXNpbnRhL2lvdC9zcGFjZS92MS9zcGFjZS5wcm90bxIUa3VzaW50YS5pb3Quc3BhY2UudjEi4gUKBVNwYWNlEjIKCHNwYWNlX2lkGAEgASgLMiAua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuU3BhY2VJZBI0CgpzcGFjZV90eXBlGAIgASgOMiAua3VzaW50YS5pb3QuY29tbW9uLnYxLlNwYWNlVHlwZRIMCgRuYW1lGAMgASgJEhMKC2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UEVfVU5TUEVDSUZJRUQQABIWChJST09NX1RZUEVfQkFUSFJPT00QARIVChFST09NX1RZUEVfQkVEUk9PTRACEhUKEVJPT01fVFlQRV9LSVRDSEVOEAMSGQoVUk9PTV9UWVBFX0xJVklOR19ST09NEAQSEgoOUk9PTV9UWVBFX0hBTEwQBRIVChFST09NX1RZUEVfTEFVTkRSWRAGEhUKEVJPT01fVFlQRV9TVE9SQUdFEAcSEwoPUk9PTV9UWVBFX09USEVSEAhCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_roles, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
18
|
* Describes the message kusinta.iot.space.v1.Space.
|
|
@@ -19,3 +21,24 @@ export const file_kusinta_iot_space_v1_space = /*@__PURE__*/
|
|
|
19
21
|
export const SpaceSchema = /*@__PURE__*/
|
|
20
22
|
messageDesc(file_kusinta_iot_space_v1_space, 0);
|
|
21
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message kusinta.iot.space.v1.SpaceMember.
|
|
26
|
+
* Use `create(SpaceMemberSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const SpaceMemberSchema = /*@__PURE__*/
|
|
29
|
+
messageDesc(file_kusinta_iot_space_v1_space, 1);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the enum kusinta.iot.space.v1.RoomType.
|
|
33
|
+
*/
|
|
34
|
+
export const RoomTypeSchema = /*@__PURE__*/
|
|
35
|
+
enumDesc(file_kusinta_iot_space_v1_space, 0);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* What a room is used for (Space.room_type).
|
|
39
|
+
*
|
|
40
|
+
* @generated from enum kusinta.iot.space.v1.RoomType
|
|
41
|
+
*/
|
|
42
|
+
export const RoomType = /*@__PURE__*/
|
|
43
|
+
tsEnum(RoomTypeSchema);
|
|
44
|
+
|
|
@@ -236,6 +236,21 @@ export declare type HmMaintenanceProps = Message<"kusinta.iot.vendor.homematic.v
|
|
|
236
236
|
* @generated from field: optional bool config_pending = 7;
|
|
237
237
|
*/
|
|
238
238
|
configPending?: boolean | undefined;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* True while the device has spent its share of the radio band's transmit budget and
|
|
242
|
+
* must wait before sending again. The 868 MHz band permits roughly one percent duty
|
|
243
|
+
* cycle, and it regenerates at about that rate per half minute.
|
|
244
|
+
*
|
|
245
|
+
* Worth carrying rather than leaving to the connector, because a spent budget is
|
|
246
|
+
* indistinguishable from a working device that simply has nothing to say: it stays
|
|
247
|
+
* reachable, reports no error, and silently drops what it was asked to do. Anything
|
|
248
|
+
* that writes on a schedule needs to be able to see this before it concludes a device
|
|
249
|
+
* is ignoring it.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: optional bool duty_cycle = 8;
|
|
252
|
+
*/
|
|
253
|
+
dutyCycle?: boolean | undefined;
|
|
239
254
|
};
|
|
240
255
|
|
|
241
256
|
/**
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_vendor_v1_vendor_options } from "../../v1/vendor_optio
|
|
|
9
9
|
* Describes the file kusinta/iot/vendor/homematic/v1/homematic.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_vendor_homematic_v1_homematic = /*@__PURE__*/
|
|
12
|
-
fileDesc("Ci9rdXNpbnRhL2lvdC92ZW5kb3IvaG9tZW1hdGljL3YxL2hvbWVtYXRpYy5wcm90bxIfa3VzaW50YS5pb3QudmVuZG9yLmhvbWVtYXRpYy52MSI4ChdIb21lbWF0aWNEZXZpY2VJZGVudGl0eRIPCgdhZGRyZXNzGAEgASgJEgwKBHR5cGUYAiABKAki/
|
|
12
|
+
fileDesc("Ci9rdXNpbnRhL2lvdC92ZW5kb3IvaG9tZW1hdGljL3YxL2hvbWVtYXRpYy5wcm90bxIfa3VzaW50YS5pb3QudmVuZG9yLmhvbWVtYXRpYy52MSI4ChdIb21lbWF0a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GVCEQoPX2FjdGl2ZV9wcm9maWxlQhwKGl9hY3R1YWxfdGVtcGVyYXR1cmVfc3RhdHVzQhEKD192YWx2ZV9hZGFwdGlvbkoECAYQB1IFbGV2ZWxSFmN1cnJlbnRfcHJvZmlsZV9wZXJpb2RSEWJvb3N0X3RpbWVfcGVyaW9kIrYEChJIbU1haW50ZW5hbmNlUHJvcHMSKwoKZXJyb3JfY29kZRgBIAEoDUISorUYCkVSUk9SX0NPREXQtRgFSACIAQESJwoIc2Fib3RhZ2UYAiABKAhCEKK1GAhTQUJPVEFHRdC1GAVIAYgBARItCgtyc3NpX2RldmljZRgDIAEoEUITorUYC1JTU0lfREVWSUNF0LUYBUgCiAEBEikKCXJzc2lfcGVlchgEIAEoEUIRorUYCVJTU0lfUEVFUtC1GAVIA4gBARJHChhvcGVyYXRpbmdfdm9sdGFnZV9zdGF0dXMYBSABKA1CIKK1GBhPUEVSQVRJTkdfVk9MVEFHRV9TVEFUVVPQtRgFSASIAQESJQoHdW5yZWFjaBgGIAEoCEIPorUYB1VOUkVBQ0jQtRgFSAWIAQESMwoOY29uZmlnX3BlbmRpbmcYByABKAhCFqK1GA5DT05GSUdfUEVORElOR9C1GAVIBogBARIrCgpkdXR5X2N5Y2xlGAggASgIQhKitRgKRFVUWV9DWUNMRdC1GAVIB4gBAToZqrUYFWhvbWVtYXRpYy5tYWludGVuYW5jZUINCgtfZXJyb3JfY29kZUILCglfc2Fib3RhZ2VCDgoMX3Jzc2lfZGV2aWNlQgwKCl9yc3NpX3BlZXJCGwoZX29wZXJhdGluZ192b2x0YWdlX3N0YXR1c0IKCghfdW5yZWFjaEIRCg9fY29uZmlnX3BlbmRpbmdCDQoLX2R1dHlfY3ljbGVCAkgBYgZwcm90bzM", [file_kusinta_iot_vendor_v1_vendor_options]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message kusinta.iot.vendor.homematic.v1.HomematicDeviceIdentity.
|