@kusinta/iot-schema 0.2.0-beta.1 → 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.
Files changed (36) hide show
  1. package/package.json +7 -1
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +130 -0
  3. package/src/kusinta/iot/access/v1/acl_pb.js +19 -5
  4. package/src/kusinta/iot/access/v1/roles_pb.d.ts +80 -14
  5. package/src/kusinta/iot/access/v1/roles_pb.js +33 -1
  6. package/src/kusinta/iot/common/v1/pairing_pb.d.ts +201 -0
  7. package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
  8. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +423 -6
  9. package/src/kusinta/iot/connector/v1/connector_pb.js +70 -12
  10. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +25 -0
  11. package/src/kusinta/iot/device/v1/cluster_state_pb.js +1 -1
  12. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +16 -1
  13. package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
  14. package/src/kusinta/iot/device/v1/device_pb.d.ts +34 -3
  15. package/src/kusinta/iot/device/v1/device_pb.js +1 -1
  16. package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +26 -0
  17. package/src/kusinta/iot/device/v1/matter_options_pb.js +31 -4
  18. package/src/kusinta/iot/device/v1/properties_pb.d.ts +14 -0
  19. package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
  20. package/src/kusinta/iot/link/v1/link_pb.d.ts +419 -0
  21. package/src/kusinta/iot/link/v1/link_pb.js +121 -0
  22. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +162 -13
  23. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -1
  24. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +21 -0
  25. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +24 -2
  26. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +14 -6
  27. package/src/kusinta/iot/webrtc/v1/command_pb.js +2 -1
  28. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +12 -6
  29. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +5 -5
  30. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +236 -5
  31. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +34 -3
  32. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +178 -2
  33. package/src/kusinta/iot/webrtc/v1/management_pb.js +31 -2
  34. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +2 -2
  35. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.d.ts +63 -0
  36. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js +45 -0
@@ -3,14 +3,14 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
- import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
7
6
  import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
7
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
8
8
 
9
9
  /**
10
10
  * Describes the file kusinta/iot/webrtc/v1/permission_push.proto.
11
11
  */
12
12
  export const file_kusinta_iot_webrtc_v1_permission_push = /*@__PURE__*/
13
- fileDesc("CitrdXNpbnRhL2lvdC93ZWJydGMvdjEvcGVybWlzc2lvbl9wdXNoLnByb3RvEhVrdXNpbnRhLmlvdC53ZWJydGMudjEi6QEKFExpdmVQZXJtaXNzaW9uVXBkYXRlEkQKD25ld19wZXJtaXNzaW9ucxgBIAEoCzIrLmt1c2ludGEuaW90LmFjY2Vzcy52MS5FZmZlY3RpdmVQZXJtaXNzaW9ucxI4Cg1hZGRlZF9kZXZpY2VzGAIgAygLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuRGV2aWNlSWQSOgoPcmVtb3ZlZF9kZXZpY2VzGAMgAygLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuRGV2aWNlSWQSFQoNY2hhbmdlX3JlYXNvbhgEIAEoCUICSAFiBnByb3RvMw", [file_kusinta_iot_identity_v1_identity, file_kusinta_iot_access_v1_acl]);
13
+ fileDesc("CitrdXNpbnRhL2lvdC93ZWJydGMvdjEvcGVybWlzc2lvbl9wdXNoLnByb3RvEhVrdXNpbnRhLmlvdC53ZWJydGMudjEi6QEKFExpdmVQZXJtaXNzaW9uVXBkYXRlEkQKD25ld19wZXJtaXNzaW9ucxgBIAEoCzIrLmt1c2ludGEuaW90LmFjY2Vzcy52MS5FZmZlY3RpdmVQZXJtaXNzaW9ucxI4Cg1hZGRlZF9kZXZpY2VzGAIgAygLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuRGV2aWNlSWQSOgoPcmVtb3ZlZF9kZXZpY2VzGAMgAygLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuRGV2aWNlSWQSFQoNY2hhbmdlX3JlYXNvbhgEIAEoCUICSAFiBnByb3RvMw", [file_kusinta_iot_access_v1_acl, file_kusinta_iot_identity_v1_identity]);
14
14
 
15
15
  /**
16
16
  * Describes the message kusinta.iot.webrtc.v1.LivePermissionUpdate.
@@ -0,0 +1,63 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/webrtc/v1/setpoint_mode.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file kusinta/iot/webrtc/v1/setpoint_mode.proto.
9
+ */
10
+ export declare const file_kusinta_iot_webrtc_v1_setpoint_mode: GenFile;
11
+
12
+ /**
13
+ * SetpointAdjustMode selects which setpoint a thermostat command targets. It is
14
+ * Matter's SetpointRaiseLowerModeEnum (Thermostat cluster 0x0201) and carries Matter's
15
+ * own numbering.
16
+ *
17
+ * A real type rather than a numbering written down in a comment. The mode field on
18
+ * ThermostatSetpointParams was a bare uint32 with this numbering stated beside it, so a
19
+ * consumer carrying forward an older Heat=1/Cool=2/Both=3 convention compiled cleanly and
20
+ * silently reversed which physical behavior a command produced.
21
+ *
22
+ * Zero is a real mode, not a "not set" sentinel — which is why there is no
23
+ * SETPOINT_ADJUST_MODE_UNSPECIFIED, and why every field carrying this value has explicit
24
+ * presence: absent = the producer stated no mode, present = the mode it named, Heat
25
+ * included. This is the same rule properties.proto applies to readings, for the same
26
+ * reason — a bare proto3 scalar makes "meant Heat" and "never set it" identical on the
27
+ * wire. Renumbering to free zero is not available: the wire value IS Matter's value.
28
+ *
29
+ * SetpointAdjustMode is NOT ThermostatProperties.system_mode. system_mode is Matter's
30
+ * SystemModeEnum (Off=0, Auto=1, Cool=3, Heat=4), a different enum over a different set
31
+ * of concepts. Cool is 1 here and 3 there; the two must never be substituted for each
32
+ * other or read through the same mapping table.
33
+ *
34
+ * @generated from enum kusinta.iot.webrtc.v1.SetpointAdjustMode
35
+ */
36
+ export enum SetpointAdjustMode {
37
+ /**
38
+ * Targets ThermostatProperties.occupied_heating_setpoint.
39
+ *
40
+ * @generated from enum value: SETPOINT_ADJUST_MODE_HEAT = 0;
41
+ */
42
+ HEAT = 0,
43
+
44
+ /**
45
+ * Targets ThermostatProperties.occupied_cooling_setpoint.
46
+ *
47
+ * @generated from enum value: SETPOINT_ADJUST_MODE_COOL = 1;
48
+ */
49
+ COOL = 1,
50
+
51
+ /**
52
+ * Targets both setpoints.
53
+ *
54
+ * @generated from enum value: SETPOINT_ADJUST_MODE_BOTH = 2;
55
+ */
56
+ BOTH = 2,
57
+ }
58
+
59
+ /**
60
+ * Describes the enum kusinta.iot.webrtc.v1.SetpointAdjustMode.
61
+ */
62
+ export declare const SetpointAdjustModeSchema: GenEnum<SetpointAdjustMode>;
63
+
@@ -0,0 +1,45 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/webrtc/v1/setpoint_mode.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file kusinta/iot/webrtc/v1/setpoint_mode.proto.
9
+ */
10
+ export const file_kusinta_iot_webrtc_v1_setpoint_mode = /*@__PURE__*/
11
+ fileDesc("CilrdXNpbnRhL2lvdC93ZWJydGMvdjEvc2V0cG9pbnRfbW9kZS5wcm90bxIVa3VzaW50YS5pb3Qud2VicnRjLnYxKnEKElNldHBvaW50QWRqdXN0TW9kZRIdChlTRVRQT0lOVF9BREpVU1RfTU9ERV9IRUFUEAASHQoZU0VUUE9JTlRfQURKVVNUX01PREVfQ09PTBABEh0KGVNFVFBPSU5UX0FESlVTVF9NT0RFX0JPVEgQAkICSAFiBnByb3RvMw");
12
+
13
+ /**
14
+ * Describes the enum kusinta.iot.webrtc.v1.SetpointAdjustMode.
15
+ */
16
+ export const SetpointAdjustModeSchema = /*@__PURE__*/
17
+ enumDesc(file_kusinta_iot_webrtc_v1_setpoint_mode, 0);
18
+
19
+ /**
20
+ * SetpointAdjustMode selects which setpoint a thermostat command targets. It is
21
+ * Matter's SetpointRaiseLowerModeEnum (Thermostat cluster 0x0201) and carries Matter's
22
+ * own numbering.
23
+ *
24
+ * A real type rather than a numbering written down in a comment. The mode field on
25
+ * ThermostatSetpointParams was a bare uint32 with this numbering stated beside it, so a
26
+ * consumer carrying forward an older Heat=1/Cool=2/Both=3 convention compiled cleanly and
27
+ * silently reversed which physical behavior a command produced.
28
+ *
29
+ * Zero is a real mode, not a "not set" sentinel — which is why there is no
30
+ * SETPOINT_ADJUST_MODE_UNSPECIFIED, and why every field carrying this value has explicit
31
+ * presence: absent = the producer stated no mode, present = the mode it named, Heat
32
+ * included. This is the same rule properties.proto applies to readings, for the same
33
+ * reason — a bare proto3 scalar makes "meant Heat" and "never set it" identical on the
34
+ * wire. Renumbering to free zero is not available: the wire value IS Matter's value.
35
+ *
36
+ * SetpointAdjustMode is NOT ThermostatProperties.system_mode. system_mode is Matter's
37
+ * SystemModeEnum (Off=0, Auto=1, Cool=3, Heat=4), a different enum over a different set
38
+ * of concepts. Cool is 1 here and 3 there; the two must never be substituted for each
39
+ * other or read through the same mapping table.
40
+ *
41
+ * @generated from enum kusinta.iot.webrtc.v1.SetpointAdjustMode
42
+ */
43
+ export const SetpointAdjustMode = /*@__PURE__*/
44
+ tsEnum(SetpointAdjustModeSchema);
45
+