@kusinta/iot-schema 0.1.0-beta.2

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 (41) hide show
  1. package/package.json +31 -0
  2. package/src/__tests__/access.test.js +134 -0
  3. package/src/__tests__/common.test.js +29 -0
  4. package/src/__tests__/connector.test.js +144 -0
  5. package/src/__tests__/device.test.js +194 -0
  6. package/src/__tests__/identity.test.js +43 -0
  7. package/src/__tests__/space.test.js +54 -0
  8. package/src/__tests__/vendor.test.js +60 -0
  9. package/src/__tests__/webrtc.test.js +268 -0
  10. package/src/kusinta/iot/access/v1/acl_pb.d.ts +144 -0
  11. package/src/kusinta/iot/access/v1/acl_pb.js +36 -0
  12. package/src/kusinta/iot/access/v1/roles_pb.d.ts +81 -0
  13. package/src/kusinta/iot/access/v1/roles_pb.js +36 -0
  14. package/src/kusinta/iot/common/v1/types_pb.d.ts +163 -0
  15. package/src/kusinta/iot/common/v1/types_pb.js +67 -0
  16. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +359 -0
  17. package/src/kusinta/iot/connector/v1/connector_pb.js +101 -0
  18. package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +29 -0
  19. package/src/kusinta/iot/connector/v1/connector_service_pb.js +22 -0
  20. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +115 -0
  21. package/src/kusinta/iot/device/v1/descriptor_pb.js +22 -0
  22. package/src/kusinta/iot/device/v1/device_pb.d.ts +131 -0
  23. package/src/kusinta/iot/device/v1/device_pb.js +23 -0
  24. package/src/kusinta/iot/device/v1/properties_pb.d.ts +580 -0
  25. package/src/kusinta/iot/device/v1/properties_pb.js +96 -0
  26. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +112 -0
  27. package/src/kusinta/iot/device/v1/property_update_pb.js +28 -0
  28. package/src/kusinta/iot/identity/v1/identity_pb.d.ts +108 -0
  29. package/src/kusinta/iot/identity/v1/identity_pb.js +54 -0
  30. package/src/kusinta/iot/space/v1/space_pb.d.ts +86 -0
  31. package/src/kusinta/iot/space/v1/space_pb.js +21 -0
  32. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +94 -0
  33. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +26 -0
  34. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +271 -0
  35. package/src/kusinta/iot/webrtc/v1/command_pb.js +70 -0
  36. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +67 -0
  37. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +30 -0
  38. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +210 -0
  39. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +59 -0
  40. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +48 -0
  41. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +21 -0
@@ -0,0 +1,112 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/device/v1/property_update.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
+ import type { DeviceId } from "../../identity/v1/identity_pb";
8
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
+
10
+ /**
11
+ * Describes the file kusinta/iot/device/v1/property_update.proto.
12
+ */
13
+ export declare const file_kusinta_iot_device_v1_property_update: GenFile;
14
+
15
+ /**
16
+ * PropertyUpdate carries a single attribute change from connector to gateway,
17
+ * or from gateway to Flutter app.
18
+ * attribute_name uses PascalCase Matter attribute naming (e.g. "OccupiedHeatingSetpoint").
19
+ * cluster_id_hex is the Matter cluster ID as a 4-char hex string (e.g. "0201" for Thermostat).
20
+ *
21
+ * @generated from message kusinta.iot.device.v1.PropertyUpdate
22
+ */
23
+ export declare type PropertyUpdate = Message<"kusinta.iot.device.v1.PropertyUpdate"> & {
24
+ /**
25
+ * @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 1;
26
+ */
27
+ deviceId?: DeviceId | undefined;
28
+
29
+ /**
30
+ * @generated from field: string attribute_name = 2;
31
+ */
32
+ attributeName: string;
33
+
34
+ /**
35
+ * @generated from oneof kusinta.iot.device.v1.PropertyUpdate.value
36
+ */
37
+ value: {
38
+ /**
39
+ * @generated from field: sint32 int_value = 3;
40
+ */
41
+ value: number;
42
+ case: "intValue";
43
+ } | {
44
+ /**
45
+ * @generated from field: uint32 uint_value = 4;
46
+ */
47
+ value: number;
48
+ case: "uintValue";
49
+ } | {
50
+ /**
51
+ * @generated from field: bool bool_value = 5;
52
+ */
53
+ value: boolean;
54
+ case: "boolValue";
55
+ } | {
56
+ /**
57
+ * @generated from field: float float_value = 6;
58
+ */
59
+ value: number;
60
+ case: "floatValue";
61
+ } | {
62
+ /**
63
+ * @generated from field: string string_value = 7;
64
+ */
65
+ value: string;
66
+ case: "stringValue";
67
+ } | {
68
+ /**
69
+ * @generated from field: bytes bytes_value = 8;
70
+ */
71
+ value: Uint8Array;
72
+ case: "bytesValue";
73
+ } | { case: undefined; value?: undefined };
74
+
75
+ /**
76
+ * @generated from field: google.protobuf.Timestamp timestamp = 9;
77
+ */
78
+ timestamp?: Timestamp | undefined;
79
+
80
+ /**
81
+ * @generated from field: string cluster_id_hex = 10;
82
+ */
83
+ clusterIdHex: string;
84
+ };
85
+
86
+ /**
87
+ * Describes the message kusinta.iot.device.v1.PropertyUpdate.
88
+ * Use `create(PropertyUpdateSchema)` to create a new message.
89
+ */
90
+ export declare const PropertyUpdateSchema: GenMessage<PropertyUpdate>;
91
+
92
+ /**
93
+ * @generated from message kusinta.iot.device.v1.PropertyUpdateBatch
94
+ */
95
+ export declare type PropertyUpdateBatch = Message<"kusinta.iot.device.v1.PropertyUpdateBatch"> & {
96
+ /**
97
+ * @generated from field: repeated kusinta.iot.device.v1.PropertyUpdate updates = 1;
98
+ */
99
+ updates: PropertyUpdate[];
100
+
101
+ /**
102
+ * @generated from field: google.protobuf.Timestamp batch_timestamp = 2;
103
+ */
104
+ batchTimestamp?: Timestamp | undefined;
105
+ };
106
+
107
+ /**
108
+ * Describes the message kusinta.iot.device.v1.PropertyUpdateBatch.
109
+ * Use `create(PropertyUpdateBatchSchema)` to create a new message.
110
+ */
111
+ export declare const PropertyUpdateBatchSchema: GenMessage<PropertyUpdateBatch>;
112
+
@@ -0,0 +1,28 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/device/v1/property_update.proto (package kusinta.iot.device.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
8
+
9
+ /**
10
+ * Describes the file kusinta/iot/device/v1/property_update.proto.
11
+ */
12
+ export const file_kusinta_iot_device_v1_property_update = /*@__PURE__*/
13
+ fileDesc("CitrdXNpbnRhL2lvdC9kZXZpY2UvdjEvcHJvcGVydHlfdXBkYXRlLnByb3RvEhVrdXNpbnRhLmlvdC5kZXZpY2UudjEitQIKDlByb3BlcnR5VXBkYXRlEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEhYKDmF0dHJpYnV0ZV9uYW1lGAIgASgJEhMKCWludF92YWx1ZRgDIAEoEUgAEhQKCnVpbnRfdmFsdWUYBCABKA1IABIUCgpib29sX3ZhbHVlGAUgASgISAASFQoLZmxvYXRfdmFsdWUYBiABKAJIABIWCgxzdHJpbmdfdmFsdWUYByABKAlIABIVCgtieXRlc192YWx1ZRgIIAEoDEgAEi0KCXRpbWVzdGFtcBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFgoOY2x1c3Rlcl9pZF9oZXgYCiABKAlCBwoFdmFsdWUiggEKE1Byb3BlcnR5VXBkYXRlQmF0Y2gSNgoHdXBkYXRlcxgBIAMoCzIlLmt1c2ludGEuaW90LmRldmljZS52MS5Qcm9wZXJ0eVVwZGF0ZRIzCg9iYXRjaF90aW1lc3RhbXAYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_identity_v1_identity]);
14
+
15
+ /**
16
+ * Describes the message kusinta.iot.device.v1.PropertyUpdate.
17
+ * Use `create(PropertyUpdateSchema)` to create a new message.
18
+ */
19
+ export const PropertyUpdateSchema = /*@__PURE__*/
20
+ messageDesc(file_kusinta_iot_device_v1_property_update, 0);
21
+
22
+ /**
23
+ * Describes the message kusinta.iot.device.v1.PropertyUpdateBatch.
24
+ * Use `create(PropertyUpdateBatchSchema)` to create a new message.
25
+ */
26
+ export const PropertyUpdateBatchSchema = /*@__PURE__*/
27
+ messageDesc(file_kusinta_iot_device_v1_property_update, 1);
28
+
@@ -0,0 +1,108 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/identity/v1/identity.proto (package kusinta.iot.identity.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/identity/v1/identity.proto.
10
+ */
11
+ export declare const file_kusinta_iot_identity_v1_identity: GenFile;
12
+
13
+ /**
14
+ * @generated from message kusinta.iot.identity.v1.TenantId
15
+ */
16
+ export declare type TenantId = Message<"kusinta.iot.identity.v1.TenantId"> & {
17
+ /**
18
+ * @generated from field: string value = 1;
19
+ */
20
+ value: string;
21
+ };
22
+
23
+ /**
24
+ * Describes the message kusinta.iot.identity.v1.TenantId.
25
+ * Use `create(TenantIdSchema)` to create a new message.
26
+ */
27
+ export declare const TenantIdSchema: GenMessage<TenantId>;
28
+
29
+ /**
30
+ * @generated from message kusinta.iot.identity.v1.GatewayId
31
+ */
32
+ export declare type GatewayId = Message<"kusinta.iot.identity.v1.GatewayId"> & {
33
+ /**
34
+ * @generated from field: string value = 1;
35
+ */
36
+ value: string;
37
+ };
38
+
39
+ /**
40
+ * Describes the message kusinta.iot.identity.v1.GatewayId.
41
+ * Use `create(GatewayIdSchema)` to create a new message.
42
+ */
43
+ export declare const GatewayIdSchema: GenMessage<GatewayId>;
44
+
45
+ /**
46
+ * @generated from message kusinta.iot.identity.v1.DeviceId
47
+ */
48
+ export declare type DeviceId = Message<"kusinta.iot.identity.v1.DeviceId"> & {
49
+ /**
50
+ * @generated from field: string value = 1;
51
+ */
52
+ value: string;
53
+ };
54
+
55
+ /**
56
+ * Describes the message kusinta.iot.identity.v1.DeviceId.
57
+ * Use `create(DeviceIdSchema)` to create a new message.
58
+ */
59
+ export declare const DeviceIdSchema: GenMessage<DeviceId>;
60
+
61
+ /**
62
+ * @generated from message kusinta.iot.identity.v1.UserId
63
+ */
64
+ export declare type UserId = Message<"kusinta.iot.identity.v1.UserId"> & {
65
+ /**
66
+ * @generated from field: string value = 1;
67
+ */
68
+ value: string;
69
+ };
70
+
71
+ /**
72
+ * Describes the message kusinta.iot.identity.v1.UserId.
73
+ * Use `create(UserIdSchema)` to create a new message.
74
+ */
75
+ export declare const UserIdSchema: GenMessage<UserId>;
76
+
77
+ /**
78
+ * @generated from message kusinta.iot.identity.v1.SpaceId
79
+ */
80
+ export declare type SpaceId = Message<"kusinta.iot.identity.v1.SpaceId"> & {
81
+ /**
82
+ * @generated from field: string value = 1;
83
+ */
84
+ value: string;
85
+ };
86
+
87
+ /**
88
+ * Describes the message kusinta.iot.identity.v1.SpaceId.
89
+ * Use `create(SpaceIdSchema)` to create a new message.
90
+ */
91
+ export declare const SpaceIdSchema: GenMessage<SpaceId>;
92
+
93
+ /**
94
+ * @generated from message kusinta.iot.identity.v1.ConnectorId
95
+ */
96
+ export declare type ConnectorId = Message<"kusinta.iot.identity.v1.ConnectorId"> & {
97
+ /**
98
+ * @generated from field: string value = 1;
99
+ */
100
+ value: string;
101
+ };
102
+
103
+ /**
104
+ * Describes the message kusinta.iot.identity.v1.ConnectorId.
105
+ * Use `create(ConnectorIdSchema)` to create a new message.
106
+ */
107
+ export declare const ConnectorIdSchema: GenMessage<ConnectorId>;
108
+
@@ -0,0 +1,54 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/identity/v1/identity.proto (package kusinta.iot.identity.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file kusinta/iot/identity/v1/identity.proto.
9
+ */
10
+ export const file_kusinta_iot_identity_v1_identity = /*@__PURE__*/
11
+ fileDesc("CiZrdXNpbnRhL2lvdC9pZGVudGl0eS92MS9pZGVudGl0eS5wcm90bxIXa3VzaW50YS5pb3QuaWRlbnRpdHkudjEiGQoIVGVuYW50SWQSDQoFdmFsdWUYASABKAkiGgoJR2F0ZXdheUlkEg0KBXZhbHVlGAEgASgJIhkKCERldmljZUlkEg0KBXZhbHVlGAEgASgJIhcKBlVzZXJJZBINCgV2YWx1ZRgBIAEoCSIYCgdTcGFjZUlkEg0KBXZhbHVlGAEgASgJIhwKC0Nvbm5lY3RvcklkEg0KBXZhbHVlGAEgASgJQgJIAWIGcHJvdG8z");
12
+
13
+ /**
14
+ * Describes the message kusinta.iot.identity.v1.TenantId.
15
+ * Use `create(TenantIdSchema)` to create a new message.
16
+ */
17
+ export const TenantIdSchema = /*@__PURE__*/
18
+ messageDesc(file_kusinta_iot_identity_v1_identity, 0);
19
+
20
+ /**
21
+ * Describes the message kusinta.iot.identity.v1.GatewayId.
22
+ * Use `create(GatewayIdSchema)` to create a new message.
23
+ */
24
+ export const GatewayIdSchema = /*@__PURE__*/
25
+ messageDesc(file_kusinta_iot_identity_v1_identity, 1);
26
+
27
+ /**
28
+ * Describes the message kusinta.iot.identity.v1.DeviceId.
29
+ * Use `create(DeviceIdSchema)` to create a new message.
30
+ */
31
+ export const DeviceIdSchema = /*@__PURE__*/
32
+ messageDesc(file_kusinta_iot_identity_v1_identity, 2);
33
+
34
+ /**
35
+ * Describes the message kusinta.iot.identity.v1.UserId.
36
+ * Use `create(UserIdSchema)` to create a new message.
37
+ */
38
+ export const UserIdSchema = /*@__PURE__*/
39
+ messageDesc(file_kusinta_iot_identity_v1_identity, 3);
40
+
41
+ /**
42
+ * Describes the message kusinta.iot.identity.v1.SpaceId.
43
+ * Use `create(SpaceIdSchema)` to create a new message.
44
+ */
45
+ export const SpaceIdSchema = /*@__PURE__*/
46
+ messageDesc(file_kusinta_iot_identity_v1_identity, 4);
47
+
48
+ /**
49
+ * Describes the message kusinta.iot.identity.v1.ConnectorId.
50
+ * Use `create(ConnectorIdSchema)` to create a new message.
51
+ */
52
+ export const ConnectorIdSchema = /*@__PURE__*/
53
+ messageDesc(file_kusinta_iot_identity_v1_identity, 5);
54
+
@@ -0,0 +1,86 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { DeviceId, GatewayId, SpaceId, TenantId, UserId } from "../../identity/v1/identity_pb";
8
+ import type { SpaceType } from "../../common/v1/types_pb";
9
+
10
+ /**
11
+ * Describes the file kusinta/iot/space/v1/space.proto.
12
+ */
13
+ export declare const file_kusinta_iot_space_v1_space: GenFile;
14
+
15
+ /**
16
+ * @generated from message kusinta.iot.space.v1.Space
17
+ */
18
+ export declare type Space = Message<"kusinta.iot.space.v1.Space"> & {
19
+ /**
20
+ * @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
21
+ */
22
+ spaceId?: SpaceId | undefined;
23
+
24
+ /**
25
+ * @generated from field: kusinta.iot.common.v1.SpaceType space_type = 2;
26
+ */
27
+ spaceType: SpaceType;
28
+
29
+ /**
30
+ * @generated from field: string name = 3;
31
+ */
32
+ name: string;
33
+
34
+ /**
35
+ * @generated from field: string description = 4;
36
+ */
37
+ description: string;
38
+
39
+ /**
40
+ * meaningful for FLOOR type
41
+ *
42
+ * @generated from field: int32 floor = 5;
43
+ */
44
+ floor: number;
45
+
46
+ /**
47
+ * null for top-level Building
48
+ *
49
+ * @generated from field: kusinta.iot.identity.v1.SpaceId parent_space_id = 6;
50
+ */
51
+ parentSpaceId?: SpaceId | undefined;
52
+
53
+ /**
54
+ * @generated from field: repeated kusinta.iot.identity.v1.SpaceId sub_space_ids = 7;
55
+ */
56
+ subSpaceIds: SpaceId[];
57
+
58
+ /**
59
+ * @generated from field: repeated kusinta.iot.identity.v1.DeviceId device_ids = 8;
60
+ */
61
+ deviceIds: DeviceId[];
62
+
63
+ /**
64
+ * only for APARTMENT
65
+ *
66
+ * @generated from field: kusinta.iot.identity.v1.UserId resident_user_id = 9;
67
+ */
68
+ residentUserId?: UserId | undefined;
69
+
70
+ /**
71
+ * @generated from field: kusinta.iot.identity.v1.TenantId tenant_id = 10;
72
+ */
73
+ tenantId?: TenantId | undefined;
74
+
75
+ /**
76
+ * @generated from field: kusinta.iot.identity.v1.GatewayId gateway_id = 11;
77
+ */
78
+ gatewayId?: GatewayId | undefined;
79
+ };
80
+
81
+ /**
82
+ * Describes the message kusinta.iot.space.v1.Space.
83
+ * Use `create(SpaceSchema)` to create a new message.
84
+ */
85
+ export declare const SpaceSchema: GenMessage<Space>;
86
+
@@ -0,0 +1,21 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb";
7
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
8
+
9
+ /**
10
+ * Describes the file kusinta/iot/space/v1/space.proto.
11
+ */
12
+ export const file_kusinta_iot_space_v1_space = /*@__PURE__*/
13
+ fileDesc("CiBrdXNpbnRhL2lvdC9zcGFjZS92MS9zcGFjZS5wcm90bxIUa3VzaW50YS5pb3Quc3BhY2UudjEi9wMKBVNwYWNlEjIKCHNwYWNlX2lkGAEgASgLMiAua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuU3BhY2VJZBI0CgpzcGFjZV90eXBlGAIgASgOMiAua3VzaW50YS5pb3QuY29tbW9uLnYxLlNwYWNlVHlwZRIMCgRuYW1lGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEg0KBWZsb29yGAUgASgFEjkKD3BhcmVudF9zcGFjZV9pZBgGIAEoCzIgLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlNwYWNlSWQSNwoNc3ViX3NwYWNlX2lkcxgHIAMoCzIgLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlNwYWNlSWQSNQoKZGV2aWNlX2lkcxgIIAMoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEjkKEHJlc2lkZW50X3VzZXJfaWQYCSABKAsyHy5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Vc2VySWQSNAoJdGVuYW50X2lkGAogASgLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVGVuYW50SWQSNgoKZ2F0ZXdheV9pZBgLIAEoCzIiLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkdhdGV3YXlJZEICSAFiBnByb3RvMw", [file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
14
+
15
+ /**
16
+ * Describes the message kusinta.iot.space.v1.Space.
17
+ * Use `create(SpaceSchema)` to create a new message.
18
+ */
19
+ export const SpaceSchema = /*@__PURE__*/
20
+ messageDesc(file_kusinta_iot_space_v1_space, 0);
21
+
@@ -0,0 +1,94 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/vendor/homematic/v1/homematic.proto (package kusinta.iot.vendor.homematic.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * Describes the file kusinta/iot/vendor/homematic/v1/homematic.proto.
10
+ */
11
+ export declare const file_kusinta_iot_vendor_homematic_v1_homematic: GenFile;
12
+
13
+ /**
14
+ * HomeMatic-specific thermostat properties not available in Matter Thermostat cluster.
15
+ * Add new fields at the next available field number — never reuse a removed number.
16
+ *
17
+ * @generated from message kusinta.iot.vendor.homematic.v1.HmThermostatProps
18
+ */
19
+ export declare type HmThermostatProps = Message<"kusinta.iot.vendor.homematic.v1.HmThermostatProps"> & {
20
+ /**
21
+ * @generated from field: bool boost_mode = 1;
22
+ */
23
+ boostMode: boolean;
24
+
25
+ /**
26
+ * minutes remaining in boost
27
+ *
28
+ * @generated from field: float boost_time_period = 2;
29
+ */
30
+ boostTimePeriod: number;
31
+
32
+ /**
33
+ * HmIP ControlMode enum
34
+ *
35
+ * @generated from field: uint32 control_mode = 3;
36
+ */
37
+ controlMode: number;
38
+
39
+ /**
40
+ * @generated from field: bool frost_protection = 4;
41
+ */
42
+ frostProtection: boolean;
43
+
44
+ /**
45
+ * @generated from field: float current_profile_period = 5;
46
+ */
47
+ currentProfilePeriod: number;
48
+ };
49
+
50
+ /**
51
+ * Describes the message kusinta.iot.vendor.homematic.v1.HmThermostatProps.
52
+ * Use `create(HmThermostatPropsSchema)` to create a new message.
53
+ */
54
+ export declare const HmThermostatPropsSchema: GenMessage<HmThermostatProps>;
55
+
56
+ /**
57
+ * Top-level vendor extension attached to Device.properties field 50.
58
+ * Carries the CCU3 device address + aiohomematic type string + device-type-specific props.
59
+ *
60
+ * @generated from message kusinta.iot.vendor.homematic.v1.HomematicVendorExtension
61
+ */
62
+ export declare type HomematicVendorExtension = Message<"kusinta.iot.vendor.homematic.v1.HomematicVendorExtension"> & {
63
+ /**
64
+ * e.g. "MEQ1234567" (CCU3 device address)
65
+ *
66
+ * @generated from field: string homematic_address = 1;
67
+ */
68
+ homematicAddress: string;
69
+
70
+ /**
71
+ * aiohomematic device type string e.g. "HmIP-eTRV-C"
72
+ *
73
+ * @generated from field: string homematic_type = 2;
74
+ */
75
+ homematicType: string;
76
+
77
+ /**
78
+ * @generated from oneof kusinta.iot.vendor.homematic.v1.HomematicVendorExtension.homematic_props
79
+ */
80
+ homematicProps: {
81
+ /**
82
+ * @generated from field: kusinta.iot.vendor.homematic.v1.HmThermostatProps hm_thermostat = 10;
83
+ */
84
+ value: HmThermostatProps;
85
+ case: "hmThermostat";
86
+ } | { case: undefined; value?: undefined };
87
+ };
88
+
89
+ /**
90
+ * Describes the message kusinta.iot.vendor.homematic.v1.HomematicVendorExtension.
91
+ * Use `create(HomematicVendorExtensionSchema)` to create a new message.
92
+ */
93
+ export declare const HomematicVendorExtensionSchema: GenMessage<HomematicVendorExtension>;
94
+
@@ -0,0 +1,26 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
2
+ // @generated from file kusinta/iot/vendor/homematic/v1/homematic.proto (package kusinta.iot.vendor.homematic.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file kusinta/iot/vendor/homematic/v1/homematic.proto.
9
+ */
10
+ export const file_kusinta_iot_vendor_homematic_v1_homematic = /*@__PURE__*/
11
+ fileDesc("Ci9rdXNpbnRhL2lvdC92ZW5kb3IvaG9tZW1hdGljL3YxL2hvbWVtYXRpYy5wcm90bxIfa3VzaW50YS5pb3QudmVuZG9yLmhvbWVtYXRpYy52MSKSAQoRSG1UaGVybW9zdGF0UHJvcHMSEgoKYm9vc3RfbW9kZRgBIAEoCBIZChFib29zdF90aW1lX3BlcmlvZBgCIAEoAhIUCgxjb250cm9sX21vZGUYAyABKA0SGAoQZnJvc3RfcHJvdGVjdGlvbhgEIAEoCBIeChZjdXJyZW50X3Byb2ZpbGVfcGVyaW9kGAUgASgCIq0BChhIb21lbWF0aWNWZW5kb3JFeHRlbnNpb24SGQoRaG9tZW1hdGljX2FkZHJlc3MYASABKAkSFgoOaG9tZW1hdGljX3R5cGUYAiABKAkSSwoNaG1fdGhlcm1vc3RhdBgKIAEoCzIyLmt1c2ludGEuaW90LnZlbmRvci5ob21lbWF0aWMudjEuSG1UaGVybW9zdGF0UHJvcHNIAEIRCg9ob21lbWF0aWNfcHJvcHNCAkgBYgZwcm90bzM");
12
+
13
+ /**
14
+ * Describes the message kusinta.iot.vendor.homematic.v1.HmThermostatProps.
15
+ * Use `create(HmThermostatPropsSchema)` to create a new message.
16
+ */
17
+ export const HmThermostatPropsSchema = /*@__PURE__*/
18
+ messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 0);
19
+
20
+ /**
21
+ * Describes the message kusinta.iot.vendor.homematic.v1.HomematicVendorExtension.
22
+ * Use `create(HomematicVendorExtensionSchema)` to create a new message.
23
+ */
24
+ export const HomematicVendorExtensionSchema = /*@__PURE__*/
25
+ messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 1);
26
+