@kusinta/iot-schema 0.2.0-beta.2 → 0.2.0-beta.21

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.
Files changed (56) hide show
  1. package/package.json +11 -1
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +121 -3
  3. package/src/kusinta/iot/access/v1/acl_pb.js +20 -3
  4. package/src/kusinta/iot/access/v1/roles_pb.d.ts +102 -0
  5. package/src/kusinta/iot/access/v1/roles_pb.js +81 -1
  6. package/src/kusinta/iot/climate/v1/climate_pb.d.ts +726 -0
  7. package/src/kusinta/iot/climate/v1/climate_pb.js +142 -0
  8. package/src/kusinta/iot/common/v1/pairing_pb.d.ts +217 -0
  9. package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
  10. package/src/kusinta/iot/common/v1/types_pb.d.ts +34 -0
  11. package/src/kusinta/iot/common/v1/types_pb.js +22 -1
  12. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +476 -7
  13. package/src/kusinta/iot/connector/v1/connector_pb.js +70 -12
  14. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +44 -0
  15. package/src/kusinta/iot/device/v1/cluster_state_pb.js +1 -1
  16. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +22 -2
  17. package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
  18. package/src/kusinta/iot/device/v1/device_event_pb.d.ts +87 -5
  19. package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
  20. package/src/kusinta/iot/device/v1/device_pb.d.ts +150 -6
  21. package/src/kusinta/iot/device/v1/device_pb.js +33 -2
  22. package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +26 -0
  23. package/src/kusinta/iot/device/v1/matter_options_pb.js +31 -4
  24. package/src/kusinta/iot/device/v1/properties_pb.d.ts +14 -0
  25. package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
  26. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +3 -2
  27. package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
  28. package/src/kusinta/iot/link/v1/link_pb.js +121 -0
  29. package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +891 -0
  30. package/src/kusinta/iot/reporting/v1/reporting_pb.js +164 -0
  31. package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +47 -0
  32. package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
  33. package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +177 -4
  34. package/src/kusinta/iot/signaling/v1/signaling_pb.js +29 -1
  35. package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
  36. package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
  37. package/src/kusinta/iot/space/v1/space_pb.d.ts +72 -2
  38. package/src/kusinta/iot/space/v1/space_pb.js +9 -1
  39. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +162 -13
  40. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -1
  41. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
  42. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
  43. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +25 -4
  44. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +28 -6
  45. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +18 -3
  46. package/src/kusinta/iot/webrtc/v1/command_pb.js +2 -1
  47. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +170 -5
  48. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +34 -6
  49. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +448 -3
  50. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +63 -3
  51. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +775 -12
  52. package/src/kusinta/iot/webrtc/v1/management_pb.js +123 -5
  53. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +34 -4
  54. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +2 -2
  55. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.d.ts +63 -0
  56. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js +45 -0
@@ -2,13 +2,13 @@
2
2
  // @generated from file kusinta/iot/webrtc/v1/device_state.proto (package kusinta.iot.webrtc.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 { Device } from "../../device/v1/device_pb.js";
8
8
  import type { EffectivePermissions } from "../../access/v1/acl_pb.js";
9
9
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
10
- import type { PropertyUpdate } from "../../device/v1/property_update_pb.js";
11
10
  import type { DeviceId } from "../../identity/v1/identity_pb.js";
11
+ import type { PropertyUpdate } from "../../device/v1/property_update_pb.js";
12
12
 
13
13
  /**
14
14
  * Describes the file kusinta/iot/webrtc/v1/device_state.proto.
@@ -16,7 +16,9 @@ import type { DeviceId } from "../../identity/v1/identity_pb.js";
16
16
  export declare const file_kusinta_iot_webrtc_v1_device_state: GenFile;
17
17
 
18
18
  /**
19
- * Full device state sent to the app on initial WebRTC connection.
19
+ * Full device state sent to the app on initial WebRTC connection. Devices the recipient sees
20
+ * as service are as they stood at the last quarter hour, less any since taken away, each
21
+ * with its ServiceStatus.
20
22
  *
21
23
  * @generated from message kusinta.iot.webrtc.v1.DeviceStateSnapshot
22
24
  */
@@ -35,6 +37,15 @@ export declare type DeviceStateSnapshot = Message<"kusinta.iot.webrtc.v1.DeviceS
35
37
  * @generated from field: google.protobuf.Timestamp snapshotted_at = 3;
36
38
  */
37
39
  snapshottedAt?: Timestamp | undefined;
40
+
41
+ /**
42
+ * One for every device the recipient sees, as last evaluated (see ServiceStatus). A device
43
+ * the recipient began to see since the last quarter hour — or began to see as its
44
+ * resident — has none until the next.
45
+ *
46
+ * @generated from field: repeated kusinta.iot.webrtc.v1.ServiceStatus service_statuses = 4;
47
+ */
48
+ serviceStatuses: ServiceStatus[];
38
49
  };
39
50
 
40
51
  /**
@@ -43,6 +54,123 @@ export declare type DeviceStateSnapshot = Message<"kusinta.iot.webrtc.v1.DeviceS
43
54
  */
44
55
  export declare const DeviceStateSnapshotSchema: GenMessage<DeviceStateSnapshot>;
45
56
 
57
+ /**
58
+ * What keeps a device working, as the gateway judges it, and nothing that describes the
59
+ * people around it. Sent for every device a recipient sees, so that an app reads a
60
+ * device's problems from one place whatever its view. To a recipient whose
61
+ * DeviceAcl.relation is SERVICE it is all they get of the device's state, beside its
62
+ * description-only Device: they hold no action on
63
+ * it and are sent no PropertyReport or DeviceEvent for it (see
64
+ * access.v1.MembershipRelation).
65
+ *
66
+ * Evaluated by the gateway at each quarter hour (:00, :15, :30, :45 UTC) from what it holds
67
+ * then, and pushed in ServiceStatusChanged when it differs from what the recipient was last
68
+ * sent. Between quarter hours nothing here changes, so polling learns nothing more. A
69
+ * change still says the device was heard within that quarter hour, and nothing finer.
70
+ *
71
+ * @generated from message kusinta.iot.webrtc.v1.ServiceStatus
72
+ */
73
+ export declare type ServiceStatus = Message<"kusinta.iot.webrtc.v1.ServiceStatus"> & {
74
+ /**
75
+ * @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 1;
76
+ */
77
+ deviceId?: DeviceId | undefined;
78
+
79
+ /**
80
+ * Always set. The quarter hour at which the status took its current value, but never
81
+ * earlier than the start of the recipient's current, unbroken stretch of seeing the
82
+ * device, nor, for a resident, than their current residency — each start taken at the
83
+ * first quarter hour at or after it. When that start moves because the recipient becomes
84
+ * a resident, the app drops the status it held and is sent one again from the new start at
85
+ * the next quarter hour. These quarter hours, and the moment a device is
86
+ * taken away, are the only times service is given of a device in a home (see
87
+ * access.v1.MembershipRelation). Pushed and in a
88
+ * snapshot alike, so an unchanged status carries the same as_of however it arrived.
89
+ *
90
+ * @generated from field: google.protobuf.Timestamp as_of = 2;
91
+ */
92
+ asOf?: Timestamp | undefined;
93
+
94
+ /**
95
+ * @generated from field: bool reachable = 3;
96
+ */
97
+ reachable: boolean;
98
+
99
+ /**
100
+ * While unreachable, the quarter hour at which the gateway found it so — not when it was
101
+ * last heard, which for a device that reports on change is when it was last used — and,
102
+ * like as_of, never earlier than those starts. Unset while reachable.
103
+ *
104
+ * @generated from field: google.protobuf.Timestamp unreachable_since = 4;
105
+ */
106
+ unreachableSince?: Timestamp | undefined;
107
+
108
+ /**
109
+ * Remaining charge, rounded up to a multiple of ten — 4 % is sent as 10, and 0 only when
110
+ * the device reports none left. Absent for a device that does not report one.
111
+ *
112
+ * @generated from field: optional uint32 battery_percent = 5;
113
+ */
114
+ batteryPercent?: number | undefined;
115
+
116
+ /**
117
+ * battery_low: the device reports its charge low or critical (Matter Power Source
118
+ * BatChargeLevel, or a vendor's low-battery flag). battery_replacement_needed: it reports
119
+ * that its battery must be replaced. Each is set on its own report alone.
120
+ *
121
+ * @generated from field: bool battery_low = 6;
122
+ */
123
+ batteryLow: boolean;
124
+
125
+ /**
126
+ * @generated from field: bool battery_replacement_needed = 7;
127
+ */
128
+ batteryReplacementNeeded: boolean;
129
+
130
+ /**
131
+ * A device.v1.RadioQuality number, travelling as a uint32 as every enum-valued reading
132
+ * does. Absent: the device does not report one.
133
+ *
134
+ * @generated from field: optional uint32 radio_quality = 8;
135
+ */
136
+ radioQuality?: number | undefined;
137
+
138
+ /**
139
+ * Faults the device reports now, each listed once. Empty: none. A fault can follow from
140
+ * what someone did — a casing opened — and service learns that within the quarter hour;
141
+ * that much fault reporting discloses.
142
+ *
143
+ * @generated from field: repeated kusinta.iot.webrtc.v1.ServiceFault faults = 9;
144
+ */
145
+ faults: ServiceFault[];
146
+ };
147
+
148
+ /**
149
+ * Describes the message kusinta.iot.webrtc.v1.ServiceStatus.
150
+ * Use `create(ServiceStatusSchema)` to create a new message.
151
+ */
152
+ export declare const ServiceStatusSchema: GenMessage<ServiceStatus>;
153
+
154
+ /**
155
+ * The service statuses that changed at a quarter hour, gateway → app. Apply each as an
156
+ * upsert keyed on device_id. Sent for every device the recipient sees, without a
157
+ * subscription: a service view holds no SUBSCRIBE, and needs none for this.
158
+ *
159
+ * @generated from message kusinta.iot.webrtc.v1.ServiceStatusChanged
160
+ */
161
+ export declare type ServiceStatusChanged = Message<"kusinta.iot.webrtc.v1.ServiceStatusChanged"> & {
162
+ /**
163
+ * @generated from field: repeated kusinta.iot.webrtc.v1.ServiceStatus statuses = 1;
164
+ */
165
+ statuses: ServiceStatus[];
166
+ };
167
+
168
+ /**
169
+ * Describes the message kusinta.iot.webrtc.v1.ServiceStatusChanged.
170
+ * Use `create(ServiceStatusChangedSchema)` to create a new message.
171
+ */
172
+ export declare const ServiceStatusChangedSchema: GenMessage<ServiceStatusChanged>;
173
+
46
174
  /**
47
175
  * One attribute reading streamed to the app as it happens — Matter's Report Data Action,
48
176
  * for a single attribute.
@@ -78,7 +206,9 @@ export declare const PropertyReportSchema: GenMessage<PropertyReport>;
78
206
  *
79
207
  * Carries the full Device, descriptor plus current typed properties, so the app can
80
208
  * render it without a follow-up read — the same payload DeviceStateSnapshot gives
81
- * per device.
209
+ * per device. To a recipient who sees it as service, the Device carries its description
210
+ * only, as in a snapshot, and is sent at the next quarter hour (see
211
+ * access.v1.DeviceAcl.relation).
82
212
  *
83
213
  * Apply as an upsert keyed on descriptor.device_id, never as an insert: a device can
84
214
  * be in the snapshot and then announced, or announced twice across a connector
@@ -106,11 +236,15 @@ export declare const DeviceAddedSchema: GenMessage<DeviceAdded>;
106
236
 
107
237
  /**
108
238
  * A device is gone, because its connector said so via connector.v1.DeviceRemoval.
239
+ * To a recipient who sees it as service, sent at once, as the removal from their
240
+ * permissions is (see LivePermissionUpdate) — if they were shown the device; otherwise not
241
+ * at all.
109
242
  *
110
243
  * A connector disconnecting is NOT a removal: an ordinary reconnect wipes the
111
244
  * device→connector route while every device still exists, and treating that as a
112
245
  * removal makes the whole UI flap. Unreachability is a separate signal — read
113
- * device.v1.Device.last_seen for that.
246
+ * ServiceStatus.reachable for that, which every recipient gets; device.v1.Device.last_seen
247
+ * may be unset.
114
248
  *
115
249
  * @generated from message kusinta.iot.webrtc.v1.DeviceRemoved
116
250
  */
@@ -134,3 +268,34 @@ export declare type DeviceRemoved = Message<"kusinta.iot.webrtc.v1.DeviceRemoved
134
268
  */
135
269
  export declare const DeviceRemovedSchema: GenMessage<DeviceRemoved>;
136
270
 
271
+ /**
272
+ * A fault a device reports about itself, as service sees it.
273
+ *
274
+ * @generated from enum kusinta.iot.webrtc.v1.ServiceFault
275
+ */
276
+ export enum ServiceFault {
277
+ /**
278
+ * @generated from enum value: SERVICE_FAULT_UNSPECIFIED = 0;
279
+ */
280
+ UNSPECIFIED = 0,
281
+
282
+ /**
283
+ * An error the device reports in its own operation.
284
+ *
285
+ * @generated from enum value: SERVICE_FAULT_ERROR = 1;
286
+ */
287
+ ERROR = 1,
288
+
289
+ /**
290
+ * Its casing was opened or it was taken off its mount.
291
+ *
292
+ * @generated from enum value: SERVICE_FAULT_TAMPER = 2;
293
+ */
294
+ TAMPER = 2,
295
+ }
296
+
297
+ /**
298
+ * Describes the enum kusinta.iot.webrtc.v1.ServiceFault.
299
+ */
300
+ export declare const ServiceFaultSchema: GenEnum<ServiceFault>;
301
+
@@ -2,18 +2,18 @@
2
2
  // @generated from file kusinta/iot/webrtc/v1/device_state.proto (package kusinta.iot.webrtc.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
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
+ import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
7
8
  import { file_kusinta_iot_device_v1_device } from "../../device/v1/device_pb.js";
8
9
  import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb.js";
9
- import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
10
10
  import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
11
11
 
12
12
  /**
13
13
  * Describes the file kusinta/iot/webrtc/v1/device_state.proto.
14
14
  */
15
15
  export const file_kusinta_iot_webrtc_v1_device_state = /*@__PURE__*/
16
- fileDesc("CihrdXNpbnRhL2lvdC93ZWJydGMvdjEvZGV2aWNlX3N0YXRlLnByb3RvEhVrdXNpbnRhLmlvdC53ZWJydGMudjEiuwEKE0RldmljZVN0YXRlU25hcHNob3QSLgoHZGV2aWNlcxgBIAMoCzIdLmt1c2ludGEuaW90LmRldmljZS52MS5EZXZpY2USQAoLcGVybWlzc2lvbnMYAiABKAsyKy5rdXNpbnRhLmlvdC5hY2Nlc3MudjEuRWZmZWN0aXZlUGVybWlzc2lvbnMSMgoOc25hcHNob3R0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIoEBCg5Qcm9wZXJ0eVJlcG9ydBI1CgZ1cGRhdGUYASABKAsyJS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuUHJvcGVydHlVcGRhdGUSOAoUZ2F0ZXdheV9wcm9jZXNzZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIjwKC0RldmljZUFkZGVkEi0KBmRldmljZRgBIAEoCzIdLmt1c2ludGEuaW90LmRldmljZS52MS5EZXZpY2UiVQoNRGV2aWNlUmVtb3ZlZBI0CglkZXZpY2VfaWQYASABKAsyIS5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5EZXZpY2VJZBIOCgZyZWFzb24YAiABKAlCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_device_v1_device, file_kusinta_iot_device_v1_property_update, file_kusinta_iot_access_v1_acl, file_kusinta_iot_identity_v1_identity]);
16
+ fileDesc("CihrdXNpbnRhL2lvdC93ZWJydGMvdjEvZGV2aWNlX3N0YXRlLnByb3RvEhVrdXNpbnRhLmlvdC53ZWJydGMudjEi+wEKE0RldmljZVN0YXRlU25hcHNob3QSLgoHZGV2aWNlcxgBIAMoCzIdLmt1c2ludGEuaW90LmRldmljZS52MS5EZXZpY2USQAoLcGVybWlzc2lvbnMYAiABKAsyKy5rdXNpbnRhLmlvdC5hY2Nlc3MudjEuRWZmZWN0aXZlUGVybWlzc2lvbnMSMgoOc25hcHNob3R0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEj4KEHNlcnZpY2Vfc3RhdHVzZXMYBCADKAsyJC5rdXNpbnRhLmlvdC53ZWJydGMudjEuU2VydmljZVN0YXR1cyKIAwoNU2VydmljZVN0YXR1cxI0CglkZXZpY2VfaWQYASABKAsyIS5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5EZXZpY2VJZBIpCgVhc19vZhgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEQoJcmVhY2hhYmxlGAMgASgIEjUKEXVucmVhY2hhYmxlX3NpbmNlGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIcCg9iYXR0ZXJ5X3BlcmNlbnQYBSABKA1IAIgBARITCgtiYXR0ZXJ5X2xvdxgGIAEoCBIiChpiYXR0ZXJ5X3JlcGxhY2VtZW50X25lZWRlZBgHIAEoCBIaCg1yYWRpb19xdWFsaXR5GAggASgNSAGIAQESMwoGZmF1bHRzGAkgAygOMiMua3VzaW50YS5pb3Qud2VicnRjLnYxLlNlcnZpY2VGYXVsdEISChBfYmF0dGVyeV9wZXJjZW50QhAKDl9yYWRpb19xdWFsaXR5Ik4KFFNlcnZpY2VTdGF0dXNDaGFuZ2VkEjYKCHN0YXR1c2VzGAEgAygLMiQua3VzaW50YS5pb3Qud2VicnRjLnYxLlNlcnZpY2VTdGF0dXMigQEKDlByb3BlcnR5UmVwb3J0EjUKBnVwZGF0ZRgBIAEoCzIlLmt1c2ludGEuaW90LmRldmljZS52MS5Qcm9wZXJ0eVVwZGF0ZRI4ChRnYXRld2F5X3Byb2Nlc3NlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiPAoLRGV2aWNlQWRkZWQSLQoGZGV2aWNlGAEgASgLMh0ua3VzaW50YS5pb3QuZGV2aWNlLnYxLkRldmljZSJVCg1EZXZpY2VSZW1vdmVkEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEg4KBnJlYXNvbhgCIAEoCSpgCgxTZXJ2aWNlRmF1bHQSHQoZU0VSVklDRV9GQVVMVF9VTlNQRUNJRklFRBAAEhcKE1NFUlZJQ0VfRkFVTFRfRVJST1IQARIYChRTRVJWSUNFX0ZBVUxUX1RBTVBFUhACQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_acl, file_kusinta_iot_device_v1_device, file_kusinta_iot_device_v1_property_update, file_kusinta_iot_identity_v1_identity]);
17
17
 
18
18
  /**
19
19
  * Describes the message kusinta.iot.webrtc.v1.DeviceStateSnapshot.
@@ -22,24 +22,52 @@ export const file_kusinta_iot_webrtc_v1_device_state = /*@__PURE__*/
22
22
  export const DeviceStateSnapshotSchema = /*@__PURE__*/
23
23
  messageDesc(file_kusinta_iot_webrtc_v1_device_state, 0);
24
24
 
25
+ /**
26
+ * Describes the message kusinta.iot.webrtc.v1.ServiceStatus.
27
+ * Use `create(ServiceStatusSchema)` to create a new message.
28
+ */
29
+ export const ServiceStatusSchema = /*@__PURE__*/
30
+ messageDesc(file_kusinta_iot_webrtc_v1_device_state, 1);
31
+
32
+ /**
33
+ * Describes the message kusinta.iot.webrtc.v1.ServiceStatusChanged.
34
+ * Use `create(ServiceStatusChangedSchema)` to create a new message.
35
+ */
36
+ export const ServiceStatusChangedSchema = /*@__PURE__*/
37
+ messageDesc(file_kusinta_iot_webrtc_v1_device_state, 2);
38
+
25
39
  /**
26
40
  * Describes the message kusinta.iot.webrtc.v1.PropertyReport.
27
41
  * Use `create(PropertyReportSchema)` to create a new message.
28
42
  */
29
43
  export const PropertyReportSchema = /*@__PURE__*/
30
- messageDesc(file_kusinta_iot_webrtc_v1_device_state, 1);
44
+ messageDesc(file_kusinta_iot_webrtc_v1_device_state, 3);
31
45
 
32
46
  /**
33
47
  * Describes the message kusinta.iot.webrtc.v1.DeviceAdded.
34
48
  * Use `create(DeviceAddedSchema)` to create a new message.
35
49
  */
36
50
  export const DeviceAddedSchema = /*@__PURE__*/
37
- messageDesc(file_kusinta_iot_webrtc_v1_device_state, 2);
51
+ messageDesc(file_kusinta_iot_webrtc_v1_device_state, 4);
38
52
 
39
53
  /**
40
54
  * Describes the message kusinta.iot.webrtc.v1.DeviceRemoved.
41
55
  * Use `create(DeviceRemovedSchema)` to create a new message.
42
56
  */
43
57
  export const DeviceRemovedSchema = /*@__PURE__*/
44
- messageDesc(file_kusinta_iot_webrtc_v1_device_state, 3);
58
+ messageDesc(file_kusinta_iot_webrtc_v1_device_state, 5);
59
+
60
+ /**
61
+ * Describes the enum kusinta.iot.webrtc.v1.ServiceFault.
62
+ */
63
+ export const ServiceFaultSchema = /*@__PURE__*/
64
+ enumDesc(file_kusinta_iot_webrtc_v1_device_state, 0);
65
+
66
+ /**
67
+ * A fault a device reports about itself, as service sees it.
68
+ *
69
+ * @generated from enum kusinta.iot.webrtc.v1.ServiceFault
70
+ */
71
+ export const ServiceFault = /*@__PURE__*/
72
+ tsEnum(ServiceFaultSchema);
45
73