@kusinta/iot-schema 0.1.0-beta.9 → 0.2.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +19 -2
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +230 -11
- package/src/kusinta/iot/access/v1/acl_pb.js +26 -5
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +95 -2
- package/src/kusinta/iot/access/v1/roles_pb.js +37 -1
- package/src/kusinta/iot/common/v1/pairing_pb.d.ts +201 -0
- package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +481 -34
- package/src/kusinta/iot/connector/v1/connector_pb.js +81 -22
- package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +5 -5
- package/src/kusinta/iot/connector/v1/connector_service_pb.js +1 -1
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +263 -0
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +54 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +53 -9
- package/src/kusinta/iot/device/v1/descriptor_pb.js +3 -1
- package/src/kusinta/iot/device/v1/device_event_pb.d.ts +162 -0
- package/src/kusinta/iot/device/v1/device_event_pb.js +45 -0
- package/src/kusinta/iot/device/v1/device_pb.d.ts +185 -28
- package/src/kusinta/iot/device/v1/device_pb.js +10 -2
- package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +110 -0
- package/src/kusinta/iot/device/v1/matter_options_pb.js +118 -0
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +240 -205
- package/src/kusinta/iot/device/v1/properties_pb.js +9 -1
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +197 -8
- package/src/kusinta/iot/device/v1/property_update_pb.js +20 -2
- package/src/kusinta/iot/link/v1/link_pb.d.ts +419 -0
- package/src/kusinta/iot/link/v1/link_pb.js +121 -0
- package/src/kusinta/iot/registration/v1/registration_pb.d.ts +170 -0
- package/src/kusinta/iot/registration/v1/registration_pb.js +61 -0
- package/src/kusinta/iot/registration/v1/registration_service_pb.d.ts +34 -0
- package/src/kusinta/iot/registration/v1/registration_service_pb.js +19 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +320 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +83 -0
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +34 -0
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +19 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +202 -35
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +14 -6
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +71 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +75 -0
- package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +152 -0
- package/src/kusinta/iot/webrtc/v1/app_token_pb.js +28 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +277 -39
- package/src/kusinta/iot/webrtc/v1/command_pb.js +29 -2
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +76 -7
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +20 -5
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +603 -25
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +99 -5
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +627 -0
- package/src/kusinta/iot/webrtc/v1/management_pb.js +135 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +7 -1
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +2 -2
- package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.d.ts +63 -0
- package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js +45 -0
|
@@ -4,17 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_kusinta_iot_common_v1_pairing } from "../../common/v1/pairing_pb.js";
|
|
7
8
|
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import { file_kusinta_iot_device_v1_device } from "../../device/v1/device_pb.js";
|
|
10
|
+
import { file_kusinta_iot_device_v1_device_event } from "../../device/v1/device_event_pb.js";
|
|
10
11
|
import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb.js";
|
|
12
|
+
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
13
|
+
import { file_kusinta_iot_link_v1_link } from "../../link/v1/link_pb.js";
|
|
11
14
|
import { file_kusinta_iot_webrtc_v1_command } from "../../webrtc/v1/command_pb.js";
|
|
12
15
|
|
|
13
16
|
/**
|
|
14
17
|
* Describes the file kusinta/iot/connector/v1/connector.proto.
|
|
15
18
|
*/
|
|
16
19
|
export const file_kusinta_iot_connector_v1_connector = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
20
|
+
fileDesc("CihrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yLnByb3RvEhhrdXNpbnRhLmlvdC5jb25uZWN0b3IudjEi5QEKDUNvbm5lY3RvckluZm8SOgoMY29ubmVjdG9yX2lkGAEgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSPAoJdHJhbnNwb3J0GAQgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkNvbm5lY3RvclRyYW5zcG9ydBIQCghlbmRwb2ludBgFIAEoCRIhChlzdXBwb3J0ZWRfZGV2aWNlX3R5cGVfaWRzGAYgAygNIrcBChJDb25uZWN0b3JIYW5kc2hha2USNQoEaW5mbxgBIAEoCzInLmt1c2ludGEuaW90LmNvbm5lY3Rvci52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bW9kZRgKIAEoCzIqLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5FbnRlclBhaXJpbmdNb2RlSAASOwoLY3JlYXRlX2xpbmsYCyABKAsyJC5rdXNpbnRhLmlvdC5jb25uZWN0b3IudjEuQ3JlYXRlTGlua0gAEjsKC3JlbW92ZV9saW5rGAwgASgLMiQua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLlJlbW92ZUxpbmtIABI5CgpsaXN0X2xpbmtzGA0gASgLMiMua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLkxpc3RMaW5rc0gAQgkKB3BheWxvYWRKBAgEEAVCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, 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]);
|
|
18
21
|
|
|
19
22
|
/**
|
|
20
23
|
* Describes the message kusinta.iot.connector.v1.ConnectorInfo.
|
|
@@ -30,73 +33,129 @@ export const ConnectorInfoSchema = /*@__PURE__*/
|
|
|
30
33
|
export const ConnectorHandshakeSchema = /*@__PURE__*/
|
|
31
34
|
messageDesc(file_kusinta_iot_connector_v1_connector, 1);
|
|
32
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message kusinta.iot.connector.v1.CreateLink.
|
|
38
|
+
* Use `create(CreateLinkSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const CreateLinkSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 2);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message kusinta.iot.connector.v1.RemoveLink.
|
|
45
|
+
* Use `create(RemoveLinkSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const RemoveLinkSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 3);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message kusinta.iot.connector.v1.ListLinks.
|
|
52
|
+
* Use `create(ListLinksSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const ListLinksSchema = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 4);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message kusinta.iot.connector.v1.LinkResult.
|
|
59
|
+
* Use `create(LinkResultSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const LinkResultSchema = /*@__PURE__*/
|
|
62
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 5);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message kusinta.iot.connector.v1.LinksReported.
|
|
66
|
+
* Use `create(LinksReportedSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const LinksReportedSchema = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 6);
|
|
70
|
+
|
|
33
71
|
/**
|
|
34
72
|
* Describes the message kusinta.iot.connector.v1.HandshakeAck.
|
|
35
73
|
* Use `create(HandshakeAckSchema)` to create a new message.
|
|
36
74
|
*/
|
|
37
75
|
export const HandshakeAckSchema = /*@__PURE__*/
|
|
38
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
76
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 7);
|
|
39
77
|
|
|
40
78
|
/**
|
|
41
79
|
* Describes the message kusinta.iot.connector.v1.DeviceAnnouncement.
|
|
42
80
|
* Use `create(DeviceAnnouncementSchema)` to create a new message.
|
|
43
81
|
*/
|
|
44
82
|
export const DeviceAnnouncementSchema = /*@__PURE__*/
|
|
45
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
83
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 8);
|
|
46
84
|
|
|
47
85
|
/**
|
|
48
86
|
* Describes the message kusinta.iot.connector.v1.DeviceRemoval.
|
|
49
87
|
* Use `create(DeviceRemovalSchema)` to create a new message.
|
|
50
88
|
*/
|
|
51
89
|
export const DeviceRemovalSchema = /*@__PURE__*/
|
|
52
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
90
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 9);
|
|
53
91
|
|
|
54
92
|
/**
|
|
55
93
|
* Describes the message kusinta.iot.connector.v1.HeartBeat.
|
|
56
94
|
* Use `create(HeartBeatSchema)` to create a new message.
|
|
57
95
|
*/
|
|
58
96
|
export const HeartBeatSchema = /*@__PURE__*/
|
|
59
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
97
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 10);
|
|
60
98
|
|
|
61
99
|
/**
|
|
62
100
|
* Describes the message kusinta.iot.connector.v1.SubscribeDevice.
|
|
63
101
|
* Use `create(SubscribeDeviceSchema)` to create a new message.
|
|
64
102
|
*/
|
|
65
103
|
export const SubscribeDeviceSchema = /*@__PURE__*/
|
|
66
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
104
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 11);
|
|
67
105
|
|
|
68
106
|
/**
|
|
69
107
|
* Describes the message kusinta.iot.connector.v1.UnsubscribeDevice.
|
|
70
108
|
* Use `create(UnsubscribeDeviceSchema)` to create a new message.
|
|
71
109
|
*/
|
|
72
110
|
export const UnsubscribeDeviceSchema = /*@__PURE__*/
|
|
73
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
111
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 12);
|
|
74
112
|
|
|
75
113
|
/**
|
|
76
114
|
* Describes the message kusinta.iot.connector.v1.GatewayError.
|
|
77
115
|
* Use `create(GatewayErrorSchema)` to create a new message.
|
|
78
116
|
*/
|
|
79
117
|
export const GatewayErrorSchema = /*@__PURE__*/
|
|
80
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
118
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 13);
|
|
81
119
|
|
|
82
120
|
/**
|
|
83
|
-
* Describes the message kusinta.iot.connector.v1.
|
|
84
|
-
* Use `create(
|
|
121
|
+
* Describes the message kusinta.iot.connector.v1.ConnectorCommandResult.
|
|
122
|
+
* Use `create(ConnectorCommandResultSchema)` to create a new message.
|
|
85
123
|
*/
|
|
86
|
-
export const
|
|
87
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
124
|
+
export const ConnectorCommandResultSchema = /*@__PURE__*/
|
|
125
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 14);
|
|
88
126
|
|
|
89
127
|
/**
|
|
90
|
-
* Describes the message kusinta.iot.connector.v1.
|
|
91
|
-
* Use `create(
|
|
128
|
+
* Describes the message kusinta.iot.connector.v1.EnterPairingMode.
|
|
129
|
+
* Use `create(EnterPairingModeSchema)` to create a new message.
|
|
92
130
|
*/
|
|
93
|
-
export const
|
|
94
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
131
|
+
export const EnterPairingModeSchema = /*@__PURE__*/
|
|
132
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 15);
|
|
95
133
|
|
|
96
134
|
/**
|
|
97
|
-
* Describes the message kusinta.iot.connector.v1.
|
|
98
|
-
* Use `create(
|
|
135
|
+
* Describes the message kusinta.iot.connector.v1.PairingModeResult.
|
|
136
|
+
* Use `create(PairingModeResultSchema)` to create a new message.
|
|
99
137
|
*/
|
|
100
|
-
export const
|
|
101
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
138
|
+
export const PairingModeResultSchema = /*@__PURE__*/
|
|
139
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 16);
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message kusinta.iot.connector.v1.PairingModeEnded.
|
|
143
|
+
* Use `create(PairingModeEndedSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export const PairingModeEndedSchema = /*@__PURE__*/
|
|
146
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 17);
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message kusinta.iot.connector.v1.SessionRequest.
|
|
150
|
+
* Use `create(SessionRequestSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export const SessionRequestSchema = /*@__PURE__*/
|
|
153
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 18);
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message kusinta.iot.connector.v1.SessionResponse.
|
|
157
|
+
* Use `create(SessionResponseSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export const SessionResponseSchema = /*@__PURE__*/
|
|
160
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 19);
|
|
102
161
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import type {
|
|
6
|
+
import type { SessionRequestSchema, SessionResponseSchema } from "./connector_pb.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file kusinta/iot/connector/v1/connector_service.proto.
|
|
@@ -18,12 +18,12 @@ export declare const file_kusinta_iot_connector_v1_connector_service: GenFile;
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const ConnectorGatewayService: GenService<{
|
|
20
20
|
/**
|
|
21
|
-
* @generated from rpc kusinta.iot.connector.v1.ConnectorGatewayService.
|
|
21
|
+
* @generated from rpc kusinta.iot.connector.v1.ConnectorGatewayService.Session
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
session: {
|
|
24
24
|
methodKind: "bidi_streaming";
|
|
25
|
-
input: typeof
|
|
26
|
-
output: typeof
|
|
25
|
+
input: typeof SessionRequestSchema;
|
|
26
|
+
output: typeof SessionResponseSchema;
|
|
27
27
|
},
|
|
28
28
|
}>;
|
|
29
29
|
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_connector_v1_connector } from "./connector_pb.js";
|
|
|
9
9
|
* Describes the file kusinta/iot/connector/v1/connector_service.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_connector_v1_connector_service = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CjBrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yX3NlcnZpY2UucHJvdG8SGGt1c2ludGEuaW90LmNvbm5lY3Rvci52MTJ9ChdDb25uZWN0b3JHYXRld2F5U2VydmljZRJiCgdTZXNzaW9uEigua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLlNlc3Npb25SZXF1ZXN0Gikua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLlNlc3Npb25SZXNwb25zZSgBMAFCAkgBYgZwcm90bzM", [file_kusinta_iot_connector_v1_connector]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* ConnectorGatewayService: connector dials the gateway on startup.
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/device/v1/cluster_state.proto (package kusinta.iot.device.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/device/v1/cluster_state.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_device_v1_cluster_state: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Matter null. Distinct from a field being absent: Matter types many attributes as
|
|
15
|
+
* nullable, where null is a reported value meaning "not currently known" — a thermostat
|
|
16
|
+
* that cannot read its local temperature reports null, which is not the same as never
|
|
17
|
+
* having reported at all.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message kusinta.iot.device.v1.NullValue
|
|
20
|
+
*/
|
|
21
|
+
export declare type NullValue = Message<"kusinta.iot.device.v1.NullValue"> & {
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message kusinta.iot.device.v1.NullValue.
|
|
26
|
+
* Use `create(NullValueSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export declare const NullValueSchema: GenMessage<NullValue>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* A Matter attribute value of any shape, including the ones a scalar cannot carry.
|
|
32
|
+
*
|
|
33
|
+
* Self-describing rather than Matter's own TLV as opaque bytes: an app that cannot decode
|
|
34
|
+
* a value cannot show it, and TLV would make the generic path useful only to the gateway.
|
|
35
|
+
* The cost is a recursive message; the benefit is that an attribute this schema has never
|
|
36
|
+
* heard of is still renderable.
|
|
37
|
+
*
|
|
38
|
+
* Widths are deliberately wider than most attributes need — sint64 covers every signed
|
|
39
|
+
* Matter integer type and uint64 every unsigned one, so a generic carrier never has to
|
|
40
|
+
* know an attribute's declared width to carry its value.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message kusinta.iot.device.v1.AttributeValue
|
|
43
|
+
*/
|
|
44
|
+
export declare type AttributeValue = Message<"kusinta.iot.device.v1.AttributeValue"> & {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from oneof kusinta.iot.device.v1.AttributeValue.value
|
|
47
|
+
*/
|
|
48
|
+
value: {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: bool bool_value = 1;
|
|
51
|
+
*/
|
|
52
|
+
value: boolean;
|
|
53
|
+
case: "boolValue";
|
|
54
|
+
} | {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: sint64 int_value = 2;
|
|
57
|
+
*/
|
|
58
|
+
value: bigint;
|
|
59
|
+
case: "intValue";
|
|
60
|
+
} | {
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: uint64 uint_value = 3;
|
|
63
|
+
*/
|
|
64
|
+
value: bigint;
|
|
65
|
+
case: "uintValue";
|
|
66
|
+
} | {
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: double double_value = 4;
|
|
69
|
+
*/
|
|
70
|
+
value: number;
|
|
71
|
+
case: "doubleValue";
|
|
72
|
+
} | {
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string string_value = 5;
|
|
75
|
+
*/
|
|
76
|
+
value: string;
|
|
77
|
+
case: "stringValue";
|
|
78
|
+
} | {
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: bytes bytes_value = 6;
|
|
81
|
+
*/
|
|
82
|
+
value: Uint8Array;
|
|
83
|
+
case: "bytesValue";
|
|
84
|
+
} | {
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: kusinta.iot.device.v1.AttributeValueList list_value = 7;
|
|
87
|
+
*/
|
|
88
|
+
value: AttributeValueList;
|
|
89
|
+
case: "listValue";
|
|
90
|
+
} | {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: kusinta.iot.device.v1.AttributeValueStruct struct_value = 8;
|
|
93
|
+
*/
|
|
94
|
+
value: AttributeValueStruct;
|
|
95
|
+
case: "structValue";
|
|
96
|
+
} | {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: kusinta.iot.device.v1.NullValue null_value = 9;
|
|
99
|
+
*/
|
|
100
|
+
value: NullValue;
|
|
101
|
+
case: "nullValue";
|
|
102
|
+
} | { case: undefined; value?: undefined };
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message kusinta.iot.device.v1.AttributeValue.
|
|
107
|
+
* Use `create(AttributeValueSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export declare const AttributeValueSchema: GenMessage<AttributeValue>;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from message kusinta.iot.device.v1.AttributeValueList
|
|
113
|
+
*/
|
|
114
|
+
export declare type AttributeValueList = Message<"kusinta.iot.device.v1.AttributeValueList"> & {
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: repeated kusinta.iot.device.v1.AttributeValue values = 1;
|
|
117
|
+
*/
|
|
118
|
+
values: AttributeValue[];
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message kusinta.iot.device.v1.AttributeValueList.
|
|
123
|
+
* Use `create(AttributeValueListSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export declare const AttributeValueListSchema: GenMessage<AttributeValueList>;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Matter struct fields are addressed by numeric context tag, not by name, so the map is
|
|
129
|
+
* keyed by tag. A consumer that knows the struct's definition reads the tags it wants; one
|
|
130
|
+
* that does not can still carry and re-emit the whole thing.
|
|
131
|
+
*
|
|
132
|
+
* @generated from message kusinta.iot.device.v1.AttributeValueStruct
|
|
133
|
+
*/
|
|
134
|
+
export declare type AttributeValueStruct = Message<"kusinta.iot.device.v1.AttributeValueStruct"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: map<uint32, kusinta.iot.device.v1.AttributeValue> fields = 1;
|
|
137
|
+
*/
|
|
138
|
+
fields: { [key: number]: AttributeValue };
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message kusinta.iot.device.v1.AttributeValueStruct.
|
|
143
|
+
* Use `create(AttributeValueStructSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export declare const AttributeValueStructSchema: GenMessage<AttributeValueStruct>;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from message kusinta.iot.device.v1.AttributeState
|
|
149
|
+
*/
|
|
150
|
+
export declare type AttributeState = Message<"kusinta.iot.device.v1.AttributeState"> & {
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: uint32 attribute_id = 1;
|
|
153
|
+
*/
|
|
154
|
+
attributeId: number;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: kusinta.iot.device.v1.AttributeValue value = 2;
|
|
158
|
+
*/
|
|
159
|
+
value?: AttributeValue | undefined;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Describes the message kusinta.iot.device.v1.AttributeState.
|
|
164
|
+
* Use `create(AttributeStateSchema)` to create a new message.
|
|
165
|
+
*/
|
|
166
|
+
export declare const AttributeStateSchema: GenMessage<AttributeState>;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* One cluster hosted by an endpoint: what it is, what it supports, and any attribute value
|
|
170
|
+
* that has no typed home.
|
|
171
|
+
*
|
|
172
|
+
* An entry exists for EVERY cluster the endpoint hosts, including clusters this schema
|
|
173
|
+
* models with a typed properties message. That is not a contradiction of the
|
|
174
|
+
* one-value-one-place rule below — cluster_revision, feature_map and
|
|
175
|
+
* accepted_command_ids describe the cluster itself and have nowhere else to live.
|
|
176
|
+
*
|
|
177
|
+
* attributes is where the rule applies: it holds ONLY the attribute values that no typed
|
|
178
|
+
* field covers. An attribute the schema models is carried in its typed field and MUST NOT
|
|
179
|
+
* be repeated here — a value that exists in two places is a value that can disagree with
|
|
180
|
+
* itself.
|
|
181
|
+
*
|
|
182
|
+
* This is what lets an endpoint report something useful when its device type is not
|
|
183
|
+
* modelled, or when it carries a cluster beyond its device type's set, which the Matter
|
|
184
|
+
* specification explicitly permits.
|
|
185
|
+
*
|
|
186
|
+
* @generated from message kusinta.iot.device.v1.ClusterState
|
|
187
|
+
*/
|
|
188
|
+
export declare type ClusterState = Message<"kusinta.iot.device.v1.ClusterState"> & {
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: uint32 cluster_id = 1;
|
|
191
|
+
*/
|
|
192
|
+
clusterId: number;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Matter's ClusterRevision. Which revision of the cluster definition the device
|
|
196
|
+
* implements.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: optional uint32 cluster_revision = 2;
|
|
199
|
+
*/
|
|
200
|
+
clusterRevision?: number | undefined;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Matter's FeatureMap: a bitmap of the optional features this cluster supports on this
|
|
204
|
+
* endpoint.
|
|
205
|
+
*
|
|
206
|
+
* Worth carrying even for fully-modelled clusters, because it resolves an ambiguity the
|
|
207
|
+
* presence rule cannot. properties.proto says an absent field means "never reported" —
|
|
208
|
+
* but without a FeatureMap, absent is also what an attribute the device does not
|
|
209
|
+
* implement looks like. With it, a consumer can tell "not supported" from "not yet
|
|
210
|
+
* seen".
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: optional uint32 feature_map = 3;
|
|
213
|
+
*/
|
|
214
|
+
featureMap?: number | undefined;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Attribute values with no typed field. See the message comment.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: repeated kusinta.iot.device.v1.AttributeState attributes = 4;
|
|
220
|
+
*/
|
|
221
|
+
attributes: AttributeState[];
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Matter's AcceptedCommandList: which commands this cluster accepts on this endpoint.
|
|
225
|
+
* Without it a consumer must infer a device's capabilities from its device type and
|
|
226
|
+
* discover the truth by sending a command and watching it fail.
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: repeated uint32 accepted_command_ids = 5;
|
|
229
|
+
*/
|
|
230
|
+
acceptedCommandIds: number[];
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Matter's AttributeList (0xFFFB): which attributes this cluster instance actually
|
|
234
|
+
* implements HERE, on this endpoint of this device.
|
|
235
|
+
*
|
|
236
|
+
* It answers the question presence cannot. A typed field that is absent means "never
|
|
237
|
+
* reported" — and a device that will never report it, because it does not have the
|
|
238
|
+
* hardware, looks exactly the same. A wall thermostat drives no valve, so it has no
|
|
239
|
+
* PIHeatingDemand; a radiator valve has one it has not sent yet. Listed here with no
|
|
240
|
+
* value in the properties message = implemented, not yet reported. Absent from this
|
|
241
|
+
* list = the device does not have it.
|
|
242
|
+
*
|
|
243
|
+
* Distinct from feature_map, which is per-feature rather than per-attribute, and from
|
|
244
|
+
* (matter_attribute_capabilities), which says what the attribute IS — readable,
|
|
245
|
+
* writable, reportable — uniformly for every device, at compile time. Neither
|
|
246
|
+
* substitutes for the other: an app needs both to decide whether to draw a control,
|
|
247
|
+
* draw a value, or draw nothing.
|
|
248
|
+
*
|
|
249
|
+
* An empty list is "not stated", not "implements nothing". A producer that does not
|
|
250
|
+
* know its device's attribute list leaves it empty; one that does SHOULD fill it at
|
|
251
|
+
* announcement, where it costs nothing per update.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: repeated uint32 attribute_ids = 6;
|
|
254
|
+
*/
|
|
255
|
+
attributeIds: number[];
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Describes the message kusinta.iot.device.v1.ClusterState.
|
|
260
|
+
* Use `create(ClusterStateSchema)` to create a new message.
|
|
261
|
+
*/
|
|
262
|
+
export declare const ClusterStateSchema: GenMessage<ClusterState>;
|
|
263
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/device/v1/cluster_state.proto (package kusinta.iot.device.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file kusinta/iot/device/v1/cluster_state.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_kusinta_iot_device_v1_cluster_state = /*@__PURE__*/
|
|
11
|
+
fileDesc("CilrdXNpbnRhL2lvdC9kZXZpY2UvdjEvY2x1c3Rlcl9zdGF0ZS5wcm90bxIVa3VzaW50YS5pb3QuZGV2aWNlLnYxIgsKC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cBgDIAEoDUgBiAEBEjkKCmF0dHJpYnV0ZXMYBCADKAsyJS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQXR0cmlidXRlU3RhdGUSHAoUYWNjZXB0ZWRfY29tbWFuZF9pZHMYBSADKA0SFQoNYXR0cmlidXRlX2lkcxgGIAMoDUITChFfY2x1c3Rlcl9yZXZpc2lvbkIOCgxfZmVhdHVyZV9tYXBCAkgBYgZwcm90bzM");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message kusinta.iot.device.v1.NullValue.
|
|
15
|
+
* Use `create(NullValueSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const NullValueSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message kusinta.iot.device.v1.AttributeValue.
|
|
22
|
+
* Use `create(AttributeValueSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const AttributeValueSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message kusinta.iot.device.v1.AttributeValueList.
|
|
29
|
+
* Use `create(AttributeValueListSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const AttributeValueListSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message kusinta.iot.device.v1.AttributeValueStruct.
|
|
36
|
+
* Use `create(AttributeValueStructSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const AttributeValueStructSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message kusinta.iot.device.v1.AttributeState.
|
|
43
|
+
* Use `create(AttributeStateSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const AttributeStateSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message kusinta.iot.device.v1.ClusterState.
|
|
50
|
+
* Use `create(ClusterStateSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const ClusterStateSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_kusinta_iot_device_v1_cluster_state, 5);
|
|
54
|
+
|
|
@@ -7,6 +7,8 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
7
7
|
import type { ConnectorId, DeviceId, SpaceId, UserId } from "../../identity/v1/identity_pb.js";
|
|
8
8
|
import type { 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";
|
|
11
|
+
import type { HomematicDeviceIdentity } from "../../vendor/homematic/v1/homematic_pb.js";
|
|
10
12
|
|
|
11
13
|
/**
|
|
12
14
|
* Describes the file kusinta/iot/device/v1/descriptor.proto.
|
|
@@ -14,8 +16,13 @@ import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
14
16
|
export declare const file_kusinta_iot_device_v1_descriptor: GenFile;
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
|
-
* DeviceDescriptor holds identity and Matter BasicInformation cluster fields
|
|
18
|
-
*
|
|
19
|
+
* DeviceDescriptor holds identity and Matter BasicInformation cluster fields — what the
|
|
20
|
+
* device IS, not what it reports. The device types it presents are one per endpoint, in
|
|
21
|
+
* Device.endpoints.
|
|
22
|
+
*
|
|
23
|
+
* Field bands: 1-2 identity, 3-10 Matter BasicInformation, 11-12 placement,
|
|
24
|
+
* 13-16 ownership and lifecycle, 18-19 vendor identity and bridging.
|
|
25
|
+
* 2 and 17 are burned; the next free number is 20.
|
|
19
26
|
*
|
|
20
27
|
* @generated from message kusinta.iot.device.v1.DeviceDescriptor
|
|
21
28
|
*/
|
|
@@ -25,13 +32,6 @@ export declare type DeviceDescriptor = Message<"kusinta.iot.device.v1.DeviceDesc
|
|
|
25
32
|
*/
|
|
26
33
|
deviceId?: DeviceId | undefined;
|
|
27
34
|
|
|
28
|
-
/**
|
|
29
|
-
* Matter 1.5.1 device type ID (e.g. 0x0301 = Thermostat, 0x0302 = TemperatureSensor)
|
|
30
|
-
*
|
|
31
|
-
* @generated from field: uint32 matter_device_type_id = 2;
|
|
32
|
-
*/
|
|
33
|
-
matterDeviceTypeId: number;
|
|
34
|
-
|
|
35
35
|
/**
|
|
36
36
|
* Matter BasicInformation cluster attributes
|
|
37
37
|
*
|
|
@@ -105,6 +105,50 @@ export declare type DeviceDescriptor = Message<"kusinta.iot.device.v1.DeviceDesc
|
|
|
105
105
|
* @generated from field: google.protobuf.Timestamp claimed_at = 16;
|
|
106
106
|
*/
|
|
107
107
|
claimedAt?: Timestamp | undefined;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Who the device is in its vendor's own terms — an address and a model string that
|
|
111
|
+
* identify the PHYSICAL device, not one of its endpoints. It belongs here rather than
|
|
112
|
+
* beside the per-endpoint vendor readings, which would duplicate it onto every
|
|
113
|
+
* endpoint with no rule saying whether a producer should.
|
|
114
|
+
*
|
|
115
|
+
* Absent for a device with no vendor extension, which is most of them.
|
|
116
|
+
* Set when this device sits behind a Matter bridge, naming the bridge's own Device.
|
|
117
|
+
*
|
|
118
|
+
* A bridge is one Matter node exposing many devices, and each gets its own DeviceId here
|
|
119
|
+
* rather than becoming an endpoint of the bridge: a user perceives twelve bridged bulbs
|
|
120
|
+
* as twelve things, and one row that cannot be placed in twelve rooms is not usable.
|
|
121
|
+
*
|
|
122
|
+
* So a Device is a Matter node OR one device behind one — the equivalence is deliberately
|
|
123
|
+
* not exact, and this field is how a consumer tells which. Absent means the device is
|
|
124
|
+
* reached directly.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: optional kusinta.iot.identity.v1.DeviceId bridged_by = 19;
|
|
127
|
+
*/
|
|
128
|
+
bridgedBy?: DeviceId | undefined;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* What this device can be linked as, if anything — see link.v1.LinkCapability.
|
|
132
|
+
*
|
|
133
|
+
* Declared by the connector that models the device, because only it knows
|
|
134
|
+
* which of a device's connections can lead, which can follow, and what a hub
|
|
135
|
+
* will actually broker. Empty means "states nothing", never "cannot be
|
|
136
|
+
* linked": a connector that does not model linking says nothing here.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: repeated kusinta.iot.link.v1.LinkCapability link_capabilities = 20;
|
|
139
|
+
*/
|
|
140
|
+
linkCapabilities: LinkCapability[];
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from oneof kusinta.iot.device.v1.DeviceDescriptor.vendor_identity
|
|
144
|
+
*/
|
|
145
|
+
vendorIdentity: {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: kusinta.iot.vendor.homematic.v1.HomematicDeviceIdentity homematic = 18;
|
|
148
|
+
*/
|
|
149
|
+
value: HomematicDeviceIdentity;
|
|
150
|
+
case: "homematic";
|
|
151
|
+
} | { case: undefined; value?: undefined };
|
|
108
152
|
};
|
|
109
153
|
|
|
110
154
|
/**
|
|
@@ -6,12 +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";
|
|
10
|
+
import { file_kusinta_iot_vendor_homematic_v1_homematic } from "../../vendor/homematic/v1/homematic_pb.js";
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* Describes the file kusinta/iot/device/v1/descriptor.proto.
|
|
12
14
|
*/
|
|
13
15
|
export const file_kusinta_iot_device_v1_descriptor = /*@__PURE__*/
|
|
14
|
-
fileDesc("
|
|
16
|
+
fileDesc("CiZrdXNpbnRhL2lvdC9kZXZpY2UvdjEvZGVzY3JpcHRvci5wcm90bxIVa3VzaW50YS5pb3QuZGV2aWNlLnYxIvkGChBEZXZpY2VEZXNjcmlwdG9yEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEhMKC3ZlbmRvcl9uYW1lGAMgASgJEhQKDHByb2R1Y3RfbmFtZRgEIAEoCRIVCg1zZXJpYWxfbnVtYmVyGAUgASgJEhIKCm5vZGVfbGFiZWwYBiABKAkSEQoJdmVuZG9yX2lkGAcgASgNEhIKCnByb2R1Y3RfaWQYCCABKA0SHwoXaGFyZHdhcmVfdmVyc2lvbl9zdHJpbmcYCSABKAkSHwoXc29mdHdhcmVfdmVyc2lvbl9zdHJpbmcYCiABKAkSOgoMY29ubmVjdG9yX2lkGAsgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSMgoIc3BhY2VfaWQYDCABKAsyIC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5TcGFjZUlkEj0KCW93bmVyc2hpcBgNIAEoDjIqLmt1c2ludGEuaW90LmNvbW1vbi52MS5EZXZpY2VPd25lcnNoaXBUeXBlEj4KCWxpZmVjeWNsZRgOIAEoDjIrLmt1c2ludGEuaW90LmNvbW1vbi52MS5EZXZpY2VMaWZlY3ljbGVTdGF0ZRI2Cg1vd25lcl91c2VyX2lkGA8gASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEi4KCmNsYWltZWRfYXQYECABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjoKCmJyaWRnZWRfYnkYEyABKAsyIS5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5EZXZpY2VJZEgBiAEBEj4KEWxpbmtfY2FwYWJpbGl0aWVzGBQgAygLMiMua3VzaW50YS5pb3QubGluay52MS5MaW5rQ2FwYWJpbGl0eRJNCglob21lbWF0aWMYEiABKAsyOC5rdXNpbnRhLmlvdC52ZW5kb3IuaG9tZW1hdGljLnYxLkhvbWVtYXRpY0RldmljZUlkZW50aXR5SABCEQoPdmVuZG9yX2lkZW50aXR5Qg0KC19icmlkZ2VkX2J5SgQIAhADSgQIERASUhVtYXR0ZXJfZGV2aWNlX3R5cGVfaWRSCWVuZHBvaW50c0ICSAFiBnByb3RvMw", [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]);
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* Describes the message kusinta.iot.device.v1.DeviceDescriptor.
|