@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,21 +2,23 @@
|
|
|
2
2
|
// @generated from file kusinta/iot/connector/v1/connector.proto (package kusinta.iot.connector.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_accountlink_v1_account_link } from "../../accountlink/v1/account_link_pb.js";
|
|
7
8
|
import { file_kusinta_iot_common_v1_pairing } from "../../common/v1/pairing_pb.js";
|
|
8
9
|
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
9
10
|
import { file_kusinta_iot_device_v1_device } from "../../device/v1/device_pb.js";
|
|
10
11
|
import { file_kusinta_iot_device_v1_device_event } from "../../device/v1/device_event_pb.js";
|
|
11
12
|
import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb.js";
|
|
12
13
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
14
|
+
import { file_kusinta_iot_link_v1_link } from "../../link/v1/link_pb.js";
|
|
13
15
|
import { file_kusinta_iot_webrtc_v1_command } from "../../webrtc/v1/command_pb.js";
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
18
|
* Describes the file kusinta/iot/connector/v1/connector.proto.
|
|
17
19
|
*/
|
|
18
20
|
export const file_kusinta_iot_connector_v1_connector = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
21
|
+
fileDesc("CihrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yLnByb3RvEhhrdXNpbnRhLmlvdC5jb25uZWN0b3IudjEi7gMKDUNvbm5lY3RvckluZm8SOgoMY29ubmVjdG9yX2lkGAEgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSPAoJdHJhbnNwb3J0GAQgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkNvbm5lY3RvclRyYW5zcG9ydBIQCghlbmRwb2ludBgFIAEoCRIhChlzdXBwb3J0ZWRfZGV2aWNlX3R5cGVfaWRzGAYgAygNEhgKEHN1cHBvcnRzX3BhaXJpbmcYByABKAgSHQoVc3VwcG9ydHNfcHJvdmlzaW9uaW5nGAggASgIEhUKDWJyb2tlcnNfbGlua3MYCSABKAgSMgoEa2luZBgKIAEoDjIkLmt1c2ludGEuaW90LmNvbW1vbi52MS5Db25uZWN0b3JLaW5kEhMKC2Rlc2NyaXB0aW9uGAsgASgJEiUKHXN1cHBvcnRzX2JhY2tlbmRfcmVpbml0aWFsaXplGAw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1VwZGF0ZUgAEksKE2NyZWRlbnRpYWxzX3Jldm9rZWQYECABKAsyLC5rdXNpbnRhLmlvdC5jb25uZWN0b3IudjEuQ3JlZGVudGlhbHNSZXZva2VkSAASTQoUY3JlZGVudGlhbHNfc25hcHNob3QYESABKAsyLS5rdXNpbnRhLmlvdC5jb25uZWN0b3IudjEuQ3JlZGVudGlhbHNTbmFwc2hvdEgAQgkKB3BheWxvYWRKBAgEEAUqowEKE1JlaW5pdGlhbGl6ZU91dGNvbWUSJAogUkVJTklUSUFMSVpFX09VVENPTUVfVU5TUEVDSUZJRUQQABIdChlSRUlOSVRJQUxJWkVfT1VUQ09NRV9ET05FEAESHwobUkVJTklUSUFMSVpFX09VVENPTUVfRkFJTEVEEAISJgoiUkVJTklUSUFMSVpFX09VVENPTUVfTk9UX1NVUFBPUlRFRBADQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_accountlink_v1_account_link, file_kusinta_iot_common_v1_pairing, file_kusinta_iot_common_v1_types, file_kusinta_iot_device_v1_device, file_kusinta_iot_device_v1_device_event, file_kusinta_iot_device_v1_property_update, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_link_v1_link, file_kusinta_iot_webrtc_v1_command]);
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* Describes the message kusinta.iot.connector.v1.ConnectorInfo.
|
|
@@ -25,101 +27,190 @@ export const file_kusinta_iot_connector_v1_connector = /*@__PURE__*/
|
|
|
25
27
|
export const ConnectorInfoSchema = /*@__PURE__*/
|
|
26
28
|
messageDesc(file_kusinta_iot_connector_v1_connector, 0);
|
|
27
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message kusinta.iot.connector.v1.CredentialsUpdate.
|
|
32
|
+
* Use `create(CredentialsUpdateSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const CredentialsUpdateSchema = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 1);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message kusinta.iot.connector.v1.CredentialsSnapshot.
|
|
39
|
+
* Use `create(CredentialsSnapshotSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const CredentialsSnapshotSchema = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 2);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message kusinta.iot.connector.v1.CredentialsRevoked.
|
|
46
|
+
* Use `create(CredentialsRevokedSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const CredentialsRevokedSchema = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 3);
|
|
50
|
+
|
|
28
51
|
/**
|
|
29
52
|
* Describes the message kusinta.iot.connector.v1.ConnectorHandshake.
|
|
30
53
|
* Use `create(ConnectorHandshakeSchema)` to create a new message.
|
|
31
54
|
*/
|
|
32
55
|
export const ConnectorHandshakeSchema = /*@__PURE__*/
|
|
33
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
56
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 4);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message kusinta.iot.connector.v1.BackendHealthReport.
|
|
60
|
+
* Use `create(BackendHealthReportSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const BackendHealthReportSchema = /*@__PURE__*/
|
|
63
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 5);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message kusinta.iot.connector.v1.ReinitializeBackend.
|
|
67
|
+
* Use `create(ReinitializeBackendSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const ReinitializeBackendSchema = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 6);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message kusinta.iot.connector.v1.ReinitializeBackendResult.
|
|
74
|
+
* Use `create(ReinitializeBackendResultSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const ReinitializeBackendResultSchema = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 7);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message kusinta.iot.connector.v1.CreateLink.
|
|
81
|
+
* Use `create(CreateLinkSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const CreateLinkSchema = /*@__PURE__*/
|
|
84
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 8);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message kusinta.iot.connector.v1.RemoveLink.
|
|
88
|
+
* Use `create(RemoveLinkSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const RemoveLinkSchema = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 9);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message kusinta.iot.connector.v1.ListLinks.
|
|
95
|
+
* Use `create(ListLinksSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const ListLinksSchema = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 10);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message kusinta.iot.connector.v1.LinkResult.
|
|
102
|
+
* Use `create(LinkResultSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const LinkResultSchema = /*@__PURE__*/
|
|
105
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 11);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message kusinta.iot.connector.v1.LinksReported.
|
|
109
|
+
* Use `create(LinksReportedSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export const LinksReportedSchema = /*@__PURE__*/
|
|
112
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 12);
|
|
34
113
|
|
|
35
114
|
/**
|
|
36
115
|
* Describes the message kusinta.iot.connector.v1.HandshakeAck.
|
|
37
116
|
* Use `create(HandshakeAckSchema)` to create a new message.
|
|
38
117
|
*/
|
|
39
118
|
export const HandshakeAckSchema = /*@__PURE__*/
|
|
40
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
119
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 13);
|
|
41
120
|
|
|
42
121
|
/**
|
|
43
122
|
* Describes the message kusinta.iot.connector.v1.DeviceAnnouncement.
|
|
44
123
|
* Use `create(DeviceAnnouncementSchema)` to create a new message.
|
|
45
124
|
*/
|
|
46
125
|
export const DeviceAnnouncementSchema = /*@__PURE__*/
|
|
47
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
126
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 14);
|
|
48
127
|
|
|
49
128
|
/**
|
|
50
129
|
* Describes the message kusinta.iot.connector.v1.DeviceRemoval.
|
|
51
130
|
* Use `create(DeviceRemovalSchema)` to create a new message.
|
|
52
131
|
*/
|
|
53
132
|
export const DeviceRemovalSchema = /*@__PURE__*/
|
|
54
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
133
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 15);
|
|
55
134
|
|
|
56
135
|
/**
|
|
57
136
|
* Describes the message kusinta.iot.connector.v1.HeartBeat.
|
|
58
137
|
* Use `create(HeartBeatSchema)` to create a new message.
|
|
59
138
|
*/
|
|
60
139
|
export const HeartBeatSchema = /*@__PURE__*/
|
|
61
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
140
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 16);
|
|
62
141
|
|
|
63
142
|
/**
|
|
64
143
|
* Describes the message kusinta.iot.connector.v1.SubscribeDevice.
|
|
65
144
|
* Use `create(SubscribeDeviceSchema)` to create a new message.
|
|
66
145
|
*/
|
|
67
146
|
export const SubscribeDeviceSchema = /*@__PURE__*/
|
|
68
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
147
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 17);
|
|
69
148
|
|
|
70
149
|
/**
|
|
71
150
|
* Describes the message kusinta.iot.connector.v1.UnsubscribeDevice.
|
|
72
151
|
* Use `create(UnsubscribeDeviceSchema)` to create a new message.
|
|
73
152
|
*/
|
|
74
153
|
export const UnsubscribeDeviceSchema = /*@__PURE__*/
|
|
75
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
154
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 18);
|
|
76
155
|
|
|
77
156
|
/**
|
|
78
157
|
* Describes the message kusinta.iot.connector.v1.GatewayError.
|
|
79
158
|
* Use `create(GatewayErrorSchema)` to create a new message.
|
|
80
159
|
*/
|
|
81
160
|
export const GatewayErrorSchema = /*@__PURE__*/
|
|
82
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
161
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 19);
|
|
83
162
|
|
|
84
163
|
/**
|
|
85
164
|
* Describes the message kusinta.iot.connector.v1.ConnectorCommandResult.
|
|
86
165
|
* Use `create(ConnectorCommandResultSchema)` to create a new message.
|
|
87
166
|
*/
|
|
88
167
|
export const ConnectorCommandResultSchema = /*@__PURE__*/
|
|
89
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
168
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 20);
|
|
90
169
|
|
|
91
170
|
/**
|
|
92
171
|
* Describes the message kusinta.iot.connector.v1.EnterPairingMode.
|
|
93
172
|
* Use `create(EnterPairingModeSchema)` to create a new message.
|
|
94
173
|
*/
|
|
95
174
|
export const EnterPairingModeSchema = /*@__PURE__*/
|
|
96
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
175
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 21);
|
|
97
176
|
|
|
98
177
|
/**
|
|
99
178
|
* Describes the message kusinta.iot.connector.v1.PairingModeResult.
|
|
100
179
|
* Use `create(PairingModeResultSchema)` to create a new message.
|
|
101
180
|
*/
|
|
102
181
|
export const PairingModeResultSchema = /*@__PURE__*/
|
|
103
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
182
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 22);
|
|
104
183
|
|
|
105
184
|
/**
|
|
106
185
|
* Describes the message kusinta.iot.connector.v1.PairingModeEnded.
|
|
107
186
|
* Use `create(PairingModeEndedSchema)` to create a new message.
|
|
108
187
|
*/
|
|
109
188
|
export const PairingModeEndedSchema = /*@__PURE__*/
|
|
110
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
189
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 23);
|
|
111
190
|
|
|
112
191
|
/**
|
|
113
192
|
* Describes the message kusinta.iot.connector.v1.SessionRequest.
|
|
114
193
|
* Use `create(SessionRequestSchema)` to create a new message.
|
|
115
194
|
*/
|
|
116
195
|
export const SessionRequestSchema = /*@__PURE__*/
|
|
117
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
196
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 24);
|
|
118
197
|
|
|
119
198
|
/**
|
|
120
199
|
* Describes the message kusinta.iot.connector.v1.SessionResponse.
|
|
121
200
|
* Use `create(SessionResponseSchema)` to create a new message.
|
|
122
201
|
*/
|
|
123
202
|
export const SessionResponseSchema = /*@__PURE__*/
|
|
124
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
203
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 25);
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the enum kusinta.iot.connector.v1.ReinitializeOutcome.
|
|
207
|
+
*/
|
|
208
|
+
export const ReinitializeOutcomeSchema = /*@__PURE__*/
|
|
209
|
+
enumDesc(file_kusinta_iot_connector_v1_connector, 0);
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @generated from enum kusinta.iot.connector.v1.ReinitializeOutcome
|
|
213
|
+
*/
|
|
214
|
+
export const ReinitializeOutcome = /*@__PURE__*/
|
|
215
|
+
tsEnum(ReinitializeOutcomeSchema);
|
|
125
216
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file kusinta/iot/device/v1/cluster_state.proto (package kusinta.iot.device.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
|
|
|
8
8
|
/**
|
|
@@ -253,6 +253,40 @@ export declare type ClusterState = Message<"kusinta.iot.device.v1.ClusterState">
|
|
|
253
253
|
* @generated from field: repeated uint32 attribute_ids = 6;
|
|
254
254
|
*/
|
|
255
255
|
attributeIds: number[];
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The step each writable attribute is set in, keyed by attribute id, in the attribute's
|
|
259
|
+
* own wire unit: 50 on OccupiedHeatingSetpoint is a half degree, since the setpoint is
|
|
260
|
+
* carried in centidegrees.
|
|
261
|
+
*
|
|
262
|
+
* Matter defines no granularity for a setpoint, and devices differ by a factor of ten —
|
|
263
|
+
* one valve holds tenths, another half degrees, another whole degrees. A consumer that
|
|
264
|
+
* guesses offers steps the device silently rounds away, and one that compares a written
|
|
265
|
+
* value with the device's report on the wrong grid never sees the two agree. A value
|
|
266
|
+
* written on this step is one the device holds as written.
|
|
267
|
+
*
|
|
268
|
+
* Stated by the producer at announcement, like attribute_ids, and the same rule
|
|
269
|
+
* applies: an absent key is "not stated", never a step of zero, and a consumer falls
|
|
270
|
+
* back to its own default. A value of 0 means nothing and is treated as absent.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: map<uint32, uint32> attribute_steps = 7;
|
|
273
|
+
*/
|
|
274
|
+
attributeSteps: { [key: number]: number };
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* What a write to each attribute leaves behind, and how late its reports arrive, keyed by
|
|
278
|
+
* attribute id. See AttributeBehaviour. Its step stays in attribute_steps.
|
|
279
|
+
*
|
|
280
|
+
* Per endpoint because a ClusterState belongs to one endpoint: a device with several
|
|
281
|
+
* independently switched outputs states each output's behaviour on that output's
|
|
282
|
+
* endpoint. A vendor parameter, which has no cluster, states its behaviour in
|
|
283
|
+
* Endpoint.vendor_attribute_behaviours.
|
|
284
|
+
*
|
|
285
|
+
* Stated by the producer at announcement. An absent key is "not stated".
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: map<uint32, kusinta.iot.device.v1.AttributeBehaviour> attribute_behaviours = 8;
|
|
288
|
+
*/
|
|
289
|
+
attributeBehaviours: { [key: number]: AttributeBehaviour };
|
|
256
290
|
};
|
|
257
291
|
|
|
258
292
|
/**
|
|
@@ -261,3 +295,181 @@ export declare type ClusterState = Message<"kusinta.iot.device.v1.ClusterState">
|
|
|
261
295
|
*/
|
|
262
296
|
export declare const ClusterStateSchema: GenMessage<ClusterState>;
|
|
263
297
|
|
|
298
|
+
/**
|
|
299
|
+
* What a write to one attribute leaves behind, and how late its reports arrive. Stated per
|
|
300
|
+
* attribute, per endpoint, by the producer that knows the device.
|
|
301
|
+
*
|
|
302
|
+
* A consumer that leaves a written value in place while it is gone — a gateway steering
|
|
303
|
+
* heat — needs to know what the device does on its own. Not stated is read as the worst
|
|
304
|
+
* case: a write whose kind is not stated is held as if sticky, and a reading whose latency
|
|
305
|
+
* is not stated is never treated as real-time.
|
|
306
|
+
*
|
|
307
|
+
* A consumer that drives an output while it may itself go quiet states its own rule for
|
|
308
|
+
* an output whose behaviour is not stated, and the rule is a refusal — the opposite default
|
|
309
|
+
* to attribute_ids or a connector's known_links, where not stated only means not known.
|
|
310
|
+
* heating.v1 is one: it binds no output whose write is not stated as leased. Rollout order:
|
|
311
|
+
* a producer states the behaviour of such outputs before a consumer that drives them takes
|
|
312
|
+
* the release that enforces its rule.
|
|
313
|
+
*
|
|
314
|
+
* @generated from message kusinta.iot.device.v1.AttributeBehaviour
|
|
315
|
+
*/
|
|
316
|
+
export declare type AttributeBehaviour = Message<"kusinta.iot.device.v1.AttributeBehaviour"> & {
|
|
317
|
+
/**
|
|
318
|
+
* What a write leaves behind when its writer goes quiet. Unset: not stated.
|
|
319
|
+
*
|
|
320
|
+
* @generated from oneof kusinta.iot.device.v1.AttributeBehaviour.write
|
|
321
|
+
*/
|
|
322
|
+
write: {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: kusinta.iot.device.v1.StickyWrite sticky = 1;
|
|
325
|
+
*/
|
|
326
|
+
value: StickyWrite;
|
|
327
|
+
case: "sticky";
|
|
328
|
+
} | {
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: kusinta.iot.device.v1.LeasedWrite leased = 2;
|
|
331
|
+
*/
|
|
332
|
+
value: LeasedWrite;
|
|
333
|
+
case: "leased";
|
|
334
|
+
} | { case: undefined; value?: undefined };
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* The value the attribute takes when the device's power returns. Stated only for an
|
|
338
|
+
* attribute whose cluster has no startup attribute of its own: where the cluster has one
|
|
339
|
+
* (OnOff's StartUpOnOff, Level Control's StartUpCurrentLevel), that attribute says it and
|
|
340
|
+
* this stays unset, so the value lives in one place. Unset: not stated.
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: kusinta.iot.device.v1.AttributeValue power_on_value = 3;
|
|
343
|
+
*/
|
|
344
|
+
powerOnValue?: AttributeValue | undefined;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* How late a reported value reaches the producer. Unset: not stated, never REAL_TIME.
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: kusinta.iot.device.v1.ReadLatency read_latency = 4;
|
|
350
|
+
*/
|
|
351
|
+
readLatency: ReadLatency;
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Describes the message kusinta.iot.device.v1.AttributeBehaviour.
|
|
356
|
+
* Use `create(AttributeBehaviourSchema)` to create a new message.
|
|
357
|
+
*/
|
|
358
|
+
export declare const AttributeBehaviourSchema: GenMessage<AttributeBehaviour>;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* The device holds a written value until something writes it again: through the writer's
|
|
362
|
+
* absence and a lost network. A writer that may go quiet writes a value it can live with
|
|
363
|
+
* being left in place.
|
|
364
|
+
*
|
|
365
|
+
* @generated from message kusinta.iot.device.v1.StickyWrite
|
|
366
|
+
*/
|
|
367
|
+
export declare type StickyWrite = Message<"kusinta.iot.device.v1.StickyWrite"> & {
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Describes the message kusinta.iot.device.v1.StickyWrite.
|
|
372
|
+
* Use `create(StickyWriteSchema)` to create a new message.
|
|
373
|
+
*/
|
|
374
|
+
export declare const StickyWriteSchema: GenMessage<StickyWrite>;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* The device itself returns the attribute to lapse_value when a write's lease runs out,
|
|
378
|
+
* whether or not anything is still talking to it. The lease is kept by the device — a
|
|
379
|
+
* timer, or a watchdog on the device's own link — never by the writer re-sending: a value
|
|
380
|
+
* that lapses only because its writer keeps renewing it is sticky to anyone who has to
|
|
381
|
+
* plan for the writer failing.
|
|
382
|
+
*
|
|
383
|
+
* @generated from message kusinta.iot.device.v1.LeasedWrite
|
|
384
|
+
*/
|
|
385
|
+
export declare type LeasedWrite = Message<"kusinta.iot.device.v1.LeasedWrite"> & {
|
|
386
|
+
/**
|
|
387
|
+
* The shortest and longest lease, in seconds, the device accepts. Absent: no bound on
|
|
388
|
+
* that side, never zero. A lease outside them is refused rather than clamped. Where the
|
|
389
|
+
* device fixes the length itself — a boost time set as a device parameter — the producer
|
|
390
|
+
* states that length as both bounds, so it never accepts a lease it cannot keep.
|
|
391
|
+
*
|
|
392
|
+
* @generated from field: optional uint32 min_lease_seconds = 1;
|
|
393
|
+
*/
|
|
394
|
+
minLeaseSeconds?: number | undefined;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @generated from field: optional uint32 max_lease_seconds = 2;
|
|
398
|
+
*/
|
|
399
|
+
maxLeaseSeconds?: number | undefined;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Whether a write that arrives before the lease runs out starts the lease again from
|
|
403
|
+
* that write. False or unset (not stated): a writer MUST NOT assume that writing the
|
|
404
|
+
* same value again extends how long it holds.
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: optional bool renewal_restarts_lease = 3;
|
|
407
|
+
*/
|
|
408
|
+
renewalRestartsLease?: boolean | undefined;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* The value the attribute returns to when the lease runs out. It is the state a site
|
|
412
|
+
* falls back to whenever its writer is gone, so it is what an installer checks first and
|
|
413
|
+
* what a consumer shows as "what happens if this stops". A producer always states it; a
|
|
414
|
+
* consumer reads a lease without it as a write kind not stated.
|
|
415
|
+
*
|
|
416
|
+
* A fixed value. A device whose timer returns the output to whatever it held before the
|
|
417
|
+
* write is leased only if its producer guarantees that earlier value is the lapse value
|
|
418
|
+
* — by accepting timed writes only while the output is at its lapse value, or by
|
|
419
|
+
* writing the lapse value untimed before each one — and is otherwise stated sticky.
|
|
420
|
+
*
|
|
421
|
+
* A write of the lapse value itself needs no lease: it ends any lease running, and a
|
|
422
|
+
* lease carried on it is ignored rather than refused. That is how a writer ends a lease
|
|
423
|
+
* early.
|
|
424
|
+
*
|
|
425
|
+
* A report of the lapse value after a lease has run out is the lease ending, not a
|
|
426
|
+
* change from outside: a consumer that adopts values it did not write — a turned dial —
|
|
427
|
+
* MUST NOT adopt that one as a person's.
|
|
428
|
+
*
|
|
429
|
+
* @generated from field: kusinta.iot.device.v1.AttributeValue lapse_value = 4;
|
|
430
|
+
*/
|
|
431
|
+
lapseValue?: AttributeValue | undefined;
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Describes the message kusinta.iot.device.v1.LeasedWrite.
|
|
436
|
+
* Use `create(LeasedWriteSchema)` to create a new message.
|
|
437
|
+
*/
|
|
438
|
+
export declare const LeasedWriteSchema: GenMessage<LeasedWrite>;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* How late a reported value reaches the producer after it changes at the device.
|
|
442
|
+
*
|
|
443
|
+
* @generated from enum kusinta.iot.device.v1.ReadLatency
|
|
444
|
+
*/
|
|
445
|
+
export enum ReadLatency {
|
|
446
|
+
/**
|
|
447
|
+
* Not stated. Never treated as REAL_TIME.
|
|
448
|
+
*
|
|
449
|
+
* @generated from enum value: READ_LATENCY_UNSPECIFIED = 0;
|
|
450
|
+
*/
|
|
451
|
+
UNSPECIFIED = 0,
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Within a few minutes of the change, every time. A value relayed through a vendor's
|
|
455
|
+
* service is not stated REAL_TIME unless that has been measured.
|
|
456
|
+
*
|
|
457
|
+
* @generated from enum value: READ_LATENCY_REAL_TIME = 1;
|
|
458
|
+
*/
|
|
459
|
+
REAL_TIME = 1,
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Late enough that acting on it as current would be wrong: values collected by a
|
|
463
|
+
* vendor's service and handed on in batches, hourly values made available the next day.
|
|
464
|
+
* Fit for records, models and reports; not for a decision that has to be made now.
|
|
465
|
+
*
|
|
466
|
+
* @generated from enum value: READ_LATENCY_DELAYED = 2;
|
|
467
|
+
*/
|
|
468
|
+
DELAYED = 2,
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Describes the enum kusinta.iot.device.v1.ReadLatency.
|
|
473
|
+
*/
|
|
474
|
+
export declare const ReadLatencySchema: GenEnum<ReadLatency>;
|
|
475
|
+
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// @generated from file kusinta/iot/device/v1/cluster_state.proto (package kusinta.iot.device.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
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file kusinta/iot/device/v1/cluster_state.proto.
|
|
9
9
|
*/
|
|
10
10
|
export const file_kusinta_iot_device_v1_cluster_state = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
11
|
+
fileDesc("CilrdXNpbnRhL2lvdC9kZXZpY2UvdjEvY2x1c3Rlcl9zdGF0ZS5wcm90bxIVa3VzaW50YS5pb3QuZGV2aWNlLnYxIgsKCU51bGxWYWx1ZSLfAgoOQXR0cmlidXRlVmFsdWUSFAoKYm9vbF92YWx1ZRgBIAEoCEgAEhMKCWludF92YWx1ZRgCIAEoEkgAEhQKCnVpbnRfdmFsdWUYAyABKARIABIWCgxkb3VibGVfdmFsdWUYBCABKAFIABIWCgxzdHJpbmdfdmFsdWUYBSABKAlIABIVCgtieXRlc192YWx1ZRgGIAEoDEgAEj8KCmxpc3RfdmFsdWUYByABKAsyKS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQXR0cmlidXRlVmFsdWVMaXN0SAASQwoMc3RydWN0X3ZhbHVlGAggASgLMisua3VzaW50YS5pb3QuZGV2aWNlLnYxLkF0dHJpYnV0ZVZhbHVlU3RydWN0SAASNgoKbnVsbF92YWx1ZRgJIAEoCzIgLmt1c2ludGEuaW90LmRldmljZS52MS5OdWxsVmFsdWVIAEIHCgV2YWx1ZSJLChJBdHRyaWJ1dGVWYWx1ZUxpc3QSNQoGdmFsdWVzGAEgAygLMiUua3VzaW50YS5pb3QuZGV2aWNlLnYxLkF0dHJpYnV0ZVZhbHVlIrUBChRBdHRyaWJ1dGVWYWx1ZVN0cnVjdBJHCgZmaWVsZHMYASADKAsyNy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQXR0cmlidXRlVm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lQmVoYXZpb3VyEjQKBnN0aWNreRgBIAEoCzIiLmt1c2ludGEuaW90LmRldmljZS52MS5TdGlja3lXcml0ZUgAEjQKBmxlYXNlZBgCIAEoCzIiLmt1c2ludGEuaW90LmRldmljZS52MS5MZWFzZWRXcml0ZUgAEj0KDnBvd2VyX29uX3ZhbHVlGAMgASgLMiUua3VzaW50YS5pb3QuZGV2aWNlLnYxLkF0dHJpYnV0ZVZhbHVlEjgKDHJlYWRfbGF0ZW5jeRgEIAEoDjIiLmt1c2ludGEuaW90LmRldmljZS52MS5SZWFkTGF0ZW5jeUIHCgV3cml0ZSINCgtTdGlja3lXcml0ZSL1AQoLTGVhc2VkV3JpdGUSHgoRbWluX2xlYXNlX3NlY29uZHMYASABKA1IAIgBARIeChFtYXhfbGVhc2Vfc2Vjb25kcxgCIAEoDUgBiAEBEiMKFnJlbmV3YWxfcmVzdGFydHNfbGVhc2UYAyABKAhIAogBARI6CgtsYXBzZV92YWx1ZRgEIAEoCzIlLmt1c2ludGEuaW90LmRldmljZS52MS5BdHRyaWJ1dGVWYWx1ZUIUChJfbWluX2xlYXNlX3NlY29uZHNCFAoSX21heF9sZWFzZV9zZWNvbmRzQhkKF19yZW5ld2FsX3Jlc3RhcnRzX2xlYXNlKmEKC1JlYWRMYXRlbmN5EhwKGFJFQURfTEFURU5DWV9VTlNQRUNJRklFRBAAEhoKFlJFQURfTEFURU5DWV9SRUFMX1RJTUUQARIYChRSRUFEX0xBVEVOQ1lfREVMQVlFRBACQgJIAWIGcHJvdG8z");
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message kusinta.iot.device.v1.NullValue.
|
|
@@ -52,3 +52,38 @@ export const AttributeStateSchema = /*@__PURE__*/
|
|
|
52
52
|
export const ClusterStateSchema = /*@__PURE__*/
|
|
53
53
|
messageDesc(file_kusinta_iot_device_v1_cluster_state, 5);
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message kusinta.iot.device.v1.AttributeBehaviour.
|
|
57
|
+
* Use `create(AttributeBehaviourSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const AttributeBehaviourSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 6);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message kusinta.iot.device.v1.StickyWrite.
|
|
64
|
+
* Use `create(StickyWriteSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const StickyWriteSchema = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 7);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message kusinta.iot.device.v1.LeasedWrite.
|
|
71
|
+
* Use `create(LeasedWriteSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const LeasedWriteSchema = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 8);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the enum kusinta.iot.device.v1.ReadLatency.
|
|
78
|
+
*/
|
|
79
|
+
export const ReadLatencySchema = /*@__PURE__*/
|
|
80
|
+
enumDesc(file_kusinta_iot_device_v1_cluster_state, 0);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* How late a reported value reaches the producer after it changes at the device.
|
|
84
|
+
*
|
|
85
|
+
* @generated from enum kusinta.iot.device.v1.ReadLatency
|
|
86
|
+
*/
|
|
87
|
+
export const ReadLatency = /*@__PURE__*/
|
|
88
|
+
tsEnum(ReadLatencySchema);
|
|
89
|
+
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
7
|
import type { ConnectorId, DeviceId, SpaceId, UserId } from "../../identity/v1/identity_pb.js";
|
|
8
|
-
import type { DeviceLifecycleState, DeviceOwnershipType } from "../../common/v1/types_pb.js";
|
|
8
|
+
import type { AssetOwner, DeviceLifecycleState, DeviceOwnershipType } from "../../common/v1/types_pb.js";
|
|
9
9
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { LinkCapability } from "../../link/v1/link_pb.js";
|
|
10
11
|
import type { HomematicDeviceIdentity } from "../../vendor/homematic/v1/homematic_pb.js";
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -20,8 +21,8 @@ export declare const file_kusinta_iot_device_v1_descriptor: GenFile;
|
|
|
20
21
|
* Device.endpoints.
|
|
21
22
|
*
|
|
22
23
|
* Field bands: 1-2 identity, 3-10 Matter BasicInformation, 11-12 placement,
|
|
23
|
-
* 13-16 ownership and lifecycle, 18-
|
|
24
|
-
* 2 and 17 are burned; the next free number is
|
|
24
|
+
* 13-16 and 21 ownership and lifecycle, 18-20 vendor identity, bridging and linking.
|
|
25
|
+
* 2 and 17 are burned; the next free number is 22.
|
|
25
26
|
*
|
|
26
27
|
* @generated from message kusinta.iot.device.v1.DeviceDescriptor
|
|
27
28
|
*/
|
|
@@ -101,6 +102,20 @@ export declare type DeviceDescriptor = Message<"kusinta.iot.device.v1.DeviceDesc
|
|
|
101
102
|
ownerUserId?: UserId | undefined;
|
|
102
103
|
|
|
103
104
|
/**
|
|
105
|
+
* Who owns it as an asset, where ownership is COMPANY: see common.v1.AssetOwner, which
|
|
106
|
+
* decides nobody's access, only whether a room's outer limits can bind the device. Set by the
|
|
107
|
+
* gateway from its own records (webrtc.v1.SetAssetOwner) and given to whoever is given the
|
|
108
|
+
* descriptor; a connector leaves it unset, and the gateway ignores it from one.
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: kusinta.iot.common.v1.AssetOwner asset_owner = 21;
|
|
111
|
+
*/
|
|
112
|
+
assetOwner?: AssetOwner | undefined;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Unset when it is withheld from the recipient: in a service view, and from anyone when
|
|
116
|
+
* it dates from before their current residency in the home, or from a home they did not
|
|
117
|
+
* live in at the time (see access.v1.MembershipRelation).
|
|
118
|
+
*
|
|
104
119
|
* @generated from field: google.protobuf.Timestamp claimed_at = 16;
|
|
105
120
|
*/
|
|
106
121
|
claimedAt?: Timestamp | undefined;
|
|
@@ -120,12 +135,25 @@ export declare type DeviceDescriptor = Message<"kusinta.iot.device.v1.DeviceDesc
|
|
|
120
135
|
*
|
|
121
136
|
* So a Device is a Matter node OR one device behind one — the equivalence is deliberately
|
|
122
137
|
* not exact, and this field is how a consumer tells which. Absent means the device is
|
|
123
|
-
* reached directly
|
|
138
|
+
* reached directly, or that its bridge is withheld from the recipient (see
|
|
139
|
+
* access.v1.ServiceSignal FILING).
|
|
124
140
|
*
|
|
125
141
|
* @generated from field: optional kusinta.iot.identity.v1.DeviceId bridged_by = 19;
|
|
126
142
|
*/
|
|
127
143
|
bridgedBy?: DeviceId | undefined;
|
|
128
144
|
|
|
145
|
+
/**
|
|
146
|
+
* What this device can be linked as, if anything — see link.v1.LinkCapability.
|
|
147
|
+
*
|
|
148
|
+
* Declared by the connector that models the device, because only it knows
|
|
149
|
+
* which of a device's connections can lead, which can follow, and what a hub
|
|
150
|
+
* will actually broker. Empty means "states nothing", never "cannot be
|
|
151
|
+
* linked": a connector that does not model linking says nothing here.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: repeated kusinta.iot.link.v1.LinkCapability link_capabilities = 20;
|
|
154
|
+
*/
|
|
155
|
+
linkCapabilities: LinkCapability[];
|
|
156
|
+
|
|
129
157
|
/**
|
|
130
158
|
* @generated from oneof kusinta.iot.device.v1.DeviceDescriptor.vendor_identity
|
|
131
159
|
*/
|
|
@@ -6,13 +6,14 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
|
6
6
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
8
8
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
9
|
+
import { file_kusinta_iot_link_v1_link } from "../../link/v1/link_pb.js";
|
|
9
10
|
import { file_kusinta_iot_vendor_homematic_v1_homematic } from "../../vendor/homematic/v1/homematic_pb.js";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Describes the file kusinta/iot/device/v1/descriptor.proto.
|
|
13
14
|
*/
|
|
14
15
|
export const file_kusinta_iot_device_v1_descriptor = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
16
|
+
fileDesc("CiZrdXNpbnRhL2lvdC9kZXZpY2UvdjEvZGVzY3JpcHRvci5wcm90bxIVa3VzaW50YS5pb3QuZGV2aWNlLnYxIrEHChBEZXZpY2VEZXNjcmlwdG9yEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEhMKC3ZlbmRvcl9uYW1lGAMgASgJEhQKDHByb2R1Y3RfbmFtZRgEIAEoCRIVCg1zZXJpYWxfbnVtYmVyGAUgASgJEhIKCm5vZGVfbGFiZWwYBiABKAkSEQoJdmVuZG9yX2lkGAcgASgNEhIKCnByb2R1Y3RfaWQYCCABKA0SHwoXaGFyZHdhcmVfdmVyc2lvbl9zdHJpbmcYCSABKAkSHwoXc29mdHdhcmVfdmVyc2lvbl9zdHJpbmcYCiABKAkSOgoMY29ubmVjdG9yX2lkGAsgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSMgoIc3BhY2VfaWQYDCABKAsyIC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5TcGFjZUlkEj0KCW93bmVyc2hpcBgNIAEoDjIqLmt1c2ludGEuaW90LmNvbW1vbi52MS5EZXZpY2VPd25lcnNoaXBUeXBlEj4KCWxpZmVjeWNsZRgOIAEoDjIrLmt1c2ludGEuaW90LmNvbW1vbi52MS5EZXZpY2VMaWZlY3ljbGVTdGF0ZRI2Cg1vd25lcl91c2VyX2lkGA8gASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEjYKC2Fzc2V0X293bmVyGBUgASgLMiEua3VzaW50YS5pb3QuY29tbW9uLnYxLkFzc2V0T3duZXISLgoKY2xhaW1lZF9hdBgQIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOgoKYnJpZGdlZF9ieRgTIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkSAGIAQESPgoRbGlua19jYXBhYmlsaXRpZXMYFCADKAsyIy5rdXNpbnRhLmlvdC5saW5rLnYxLkxpbmtDYXBhYmlsaXR5Ek0KCWhvbWVtYXRpYxgSIAEoCzI4Lmt1c2ludGEuaW90LnZlbmRvci5ob21lbWF0aWMudjEuSG9tZW1hdGljRGV2aWNlSWRlbnRpdHlIAEIRCg92ZW5kb3JfaWRlbnRpdHlCDQoLX2JyaWRnZWRfYnlKBAgCEANKBAgREBJSFW1hdHRlcl9kZXZpY2VfdHlwZV9pZFIJZW5kcG9pbnRzQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_link_v1_link, file_kusinta_iot_vendor_homematic_v1_homematic]);
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Describes the message kusinta.iot.device.v1.DeviceDescriptor.
|