@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.
Files changed (53) hide show
  1. package/package.json +19 -2
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +230 -11
  3. package/src/kusinta/iot/access/v1/acl_pb.js +26 -5
  4. package/src/kusinta/iot/access/v1/roles_pb.d.ts +95 -2
  5. package/src/kusinta/iot/access/v1/roles_pb.js +37 -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 +481 -34
  9. package/src/kusinta/iot/connector/v1/connector_pb.js +81 -22
  10. package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +5 -5
  11. package/src/kusinta/iot/connector/v1/connector_service_pb.js +1 -1
  12. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +263 -0
  13. package/src/kusinta/iot/device/v1/cluster_state_pb.js +54 -0
  14. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +53 -9
  15. package/src/kusinta/iot/device/v1/descriptor_pb.js +3 -1
  16. package/src/kusinta/iot/device/v1/device_event_pb.d.ts +162 -0
  17. package/src/kusinta/iot/device/v1/device_event_pb.js +45 -0
  18. package/src/kusinta/iot/device/v1/device_pb.d.ts +185 -28
  19. package/src/kusinta/iot/device/v1/device_pb.js +10 -2
  20. package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +110 -0
  21. package/src/kusinta/iot/device/v1/matter_options_pb.js +118 -0
  22. package/src/kusinta/iot/device/v1/properties_pb.d.ts +240 -205
  23. package/src/kusinta/iot/device/v1/properties_pb.js +9 -1
  24. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +197 -8
  25. package/src/kusinta/iot/device/v1/property_update_pb.js +20 -2
  26. package/src/kusinta/iot/link/v1/link_pb.d.ts +419 -0
  27. package/src/kusinta/iot/link/v1/link_pb.js +121 -0
  28. package/src/kusinta/iot/registration/v1/registration_pb.d.ts +170 -0
  29. package/src/kusinta/iot/registration/v1/registration_pb.js +61 -0
  30. package/src/kusinta/iot/registration/v1/registration_service_pb.d.ts +34 -0
  31. package/src/kusinta/iot/registration/v1/registration_service_pb.js +19 -0
  32. package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +320 -0
  33. package/src/kusinta/iot/signaling/v1/signaling_pb.js +83 -0
  34. package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +34 -0
  35. package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +19 -0
  36. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +202 -35
  37. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +14 -6
  38. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +71 -0
  39. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +75 -0
  40. package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +152 -0
  41. package/src/kusinta/iot/webrtc/v1/app_token_pb.js +28 -0
  42. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +277 -39
  43. package/src/kusinta/iot/webrtc/v1/command_pb.js +29 -2
  44. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +76 -7
  45. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +20 -5
  46. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +603 -25
  47. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +99 -5
  48. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +627 -0
  49. package/src/kusinta/iot/webrtc/v1/management_pb.js +135 -0
  50. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +7 -1
  51. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +2 -2
  52. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.d.ts +63 -0
  53. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js +45 -0
@@ -0,0 +1,118 @@
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/matter_options.proto (package kusinta.iot.device.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
7
+
8
+ /**
9
+ * Describes the file kusinta/iot/device/v1/matter_options.proto.
10
+ */
11
+ export const file_kusinta_iot_device_v1_matter_options = /*@__PURE__*/
12
+ fileDesc("CiprdXNpbnRhL2lvdC9kZXZpY2UvdjEvbWF0dGVyX29wdGlvbnMucHJvdG8SFWt1c2ludGEuaW90LmRldmljZS52MTpLChFtYXR0ZXJfY2x1c3Rlcl9pZBIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY0YYDIAEoDVIPbWF0dGVyQ2x1c3RlcklkOkoKEG1hdHRlcl9hdHRyaWJ1dGUSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGNKGAyABKAlSD21hdHRlckF0dHJpYnV0ZTpPChNtYXR0ZXJfYXR0cmlidXRlX2lkEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxjWhgMgASgNUhFtYXR0ZXJBdHRyaWJ1dGVJZDpjCh1tYXR0ZXJfYXR0cmlidXRlX2NhcGFiaWxpdGllcxIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY2YYDIAEoDVIbbWF0dGVyQXR0cmlidXRlQ2FwYWJpbGl0aWVzOk8KEm1hdHRlcl9kZXZpY2VfdHlwZRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxjThgMgAygNUhBtYXR0ZXJEZXZpY2VUeXBlOlcKFm1hdHRlcl9jb21tYW5kX2NsdXN0ZXISHy5nb29nbGUucHJvdG9idWYuTWVzc2FnZU9wdGlvbnMY14YDIAEoDVIUbWF0dGVyQ29tbWFuZENsdXN0ZXI6UAoRbWF0dGVyX2NvbW1hbmRfaWQSHy5nb29nbGUucHJvdG9idWYuTWVzc2FnZU9wdGlvbnMY2IYDIAEoDVIPbWF0dGVyQ29tbWFuZElkiAEBQgJIAWIGcHJvdG8z", [file_google_protobuf_descriptor]);
13
+
14
+ /**
15
+ * The Matter cluster this attribute belongs to, e.g. 0x0201 for Thermostat.
16
+ *
17
+ * Required alongside matter_attribute because a properties message may span
18
+ * clusters: DimmableLightProperties.on_off is On/Off (0x0006) while its
19
+ * current_level is Level Control (0x0008). Matches PropertyUpdate.cluster_id, which
20
+ * is a uint32 too, so the comparison needs no parsing.
21
+ *
22
+ * @generated from extension: uint32 matter_cluster_id = 50001;
23
+ */
24
+ export const matter_cluster_id = /*@__PURE__*/
25
+ extDesc(file_kusinta_iot_device_v1_matter_options, 0);
26
+
27
+ /**
28
+ * The Matter attribute name in the spec's own PascalCase, e.g.
29
+ * "PIROccupiedToUnoccupiedDelay". This is the authoritative spelling; the proto
30
+ * field name is not derived from it and must not be assumed to be. Matches
31
+ * PropertyUpdate.attribute_name byte for byte.
32
+ *
33
+ * @generated from extension: string matter_attribute = 50002;
34
+ */
35
+ export const matter_attribute = /*@__PURE__*/
36
+ extDesc(file_kusinta_iot_device_v1_matter_options, 1);
37
+
38
+ /**
39
+ * The Matter attribute ID within that cluster, e.g. 0x0012 for OccupiedHeatingSetpoint.
40
+ * This is what a PropertyUpdate resolves on — Matter addresses attributes numerically and
41
+ * so does this schema, because the generic cluster carrier must address attributes of
42
+ * clusters this schema does not model, and a vendor-defined cluster has no spec name to
43
+ * address it by. One scheme rather than two.
44
+ *
45
+ * matter_attribute above stays as the authoritative spelling for logs and for anything
46
+ * rendering an attribute to a human; it is not what resolution matches on.
47
+ *
48
+ * @generated from extension: uint32 matter_attribute_id = 50006;
49
+ */
50
+ export const matter_attribute_id = /*@__PURE__*/
51
+ extDesc(file_kusinta_iot_device_v1_matter_options, 2);
52
+
53
+ /**
54
+ * What the Matter specification says this attribute supports, as a bitmask:
55
+ * READ = 1, WRITE = 2, REPORT = 4. So a read-only reportable attribute is 5, a
56
+ * writable one 7, a write-only one 2.
57
+ *
58
+ * Two things this is NOT.
59
+ *
60
+ * It is not PERMISSION. access/v1/acl.proto's PermissionAction and allowed_actions
61
+ * say what a given user may do; this says what the attribute is capable of. They are
62
+ * orthogonal — a user can hold WRITE on an attribute no device will ever accept a
63
+ * write for, and the schema would be lying if either could be read off the other.
64
+ *
65
+ * It is not the IMPLEMENTED SET either. This is uniform for every device that reports
66
+ * the attribute, because it comes from the specification. Whether one particular
67
+ * device implements it at all is a runtime fact, carried per endpoint by
68
+ * ClusterState.attribute_ids — Matter's own AttributeList. A device may implement
69
+ * less than the specification allows; it may not implement more.
70
+ *
71
+ * Bit 4 is Matter's subscribable/reportable quality. Named REPORT rather than EVENT
72
+ * because Matter spends "event" on a separate concept; the vendor branch's
73
+ * equivalent bit means the same thing under its own name.
74
+ *
75
+ * @generated from extension: uint32 matter_attribute_capabilities = 50009;
76
+ */
77
+ export const matter_attribute_capabilities = /*@__PURE__*/
78
+ extDesc(file_kusinta_iot_device_v1_matter_options, 3);
79
+
80
+ /**
81
+ * The Matter device type IDs this properties message models, e.g. 0x0301 for
82
+ * Thermostat. Repeated because one shape of properties can serve several device
83
+ * types; empty on vendor extension messages, which have no Matter device type.
84
+ *
85
+ * A device type appears on at most one properties message, so the mapping from
86
+ * Endpoint.matter_device_type_id to an Endpoint.matter_properties case is a
87
+ * function.
88
+ *
89
+ * @generated from extension: repeated uint32 matter_device_type = 50003;
90
+ */
91
+ export const matter_device_type = /*@__PURE__*/
92
+ extDesc(file_kusinta_iot_device_v1_matter_options, 4);
93
+
94
+ /**
95
+ * The Matter cluster a command-parameters message belongs to, e.g. 0x0006 for On/Off.
96
+ * Always exactly one — a parameters message never spans clusters.
97
+ *
98
+ * @generated from extension: uint32 matter_command_cluster = 50007;
99
+ */
100
+ export const matter_command_cluster = /*@__PURE__*/
101
+ extDesc(file_kusinta_iot_device_v1_matter_options, 5);
102
+
103
+ /**
104
+ * The Matter command ID this parameters message carries arguments for, e.g. 0x00 for
105
+ * Thermostat's SetpointRaiseLower.
106
+ *
107
+ * Singular on purpose. An earlier form was repeated, so that one message could cover
108
+ * several commands and choose between them by its own fields — but a message that
109
+ * encodes WHICH command it is duplicates DeviceCommand.matter_command_id, in a second
110
+ * numbering, with nothing reconciling the two. The parameters carry arguments; the
111
+ * command ID says which command. A message shared by several commands that take the
112
+ * same arguments simply omits this and lets matter_command_id stand alone.
113
+ *
114
+ * @generated from extension: optional uint32 matter_command_id = 50008;
115
+ */
116
+ export const matter_command_id = /*@__PURE__*/
117
+ extDesc(file_kusinta_iot_device_v1_matter_options, 6);
118
+