@kusinta/iot-schema 0.1.0-beta.9 → 0.2.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 (46) hide show
  1. package/package.json +13 -2
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +230 -11
  3. package/src/kusinta/iot/access/v1/acl_pb.js +25 -4
  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/connector/v1/connector_pb.d.ts +60 -30
  7. package/src/kusinta/iot/connector/v1/connector_pb.js +12 -11
  8. package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +5 -5
  9. package/src/kusinta/iot/connector/v1/connector_service_pb.js +1 -1
  10. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +238 -0
  11. package/src/kusinta/iot/device/v1/cluster_state_pb.js +54 -0
  12. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +37 -8
  13. package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
  14. package/src/kusinta/iot/device/v1/device_event_pb.d.ts +162 -0
  15. package/src/kusinta/iot/device/v1/device_event_pb.js +45 -0
  16. package/src/kusinta/iot/device/v1/device_pb.d.ts +154 -28
  17. package/src/kusinta/iot/device/v1/device_pb.js +10 -2
  18. package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +84 -0
  19. package/src/kusinta/iot/device/v1/matter_options_pb.js +91 -0
  20. package/src/kusinta/iot/device/v1/properties_pb.d.ts +228 -207
  21. package/src/kusinta/iot/device/v1/properties_pb.js +9 -1
  22. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +197 -8
  23. package/src/kusinta/iot/device/v1/property_update_pb.js +20 -2
  24. package/src/kusinta/iot/registration/v1/registration_pb.d.ts +170 -0
  25. package/src/kusinta/iot/registration/v1/registration_pb.js +61 -0
  26. package/src/kusinta/iot/registration/v1/registration_service_pb.d.ts +34 -0
  27. package/src/kusinta/iot/registration/v1/registration_service_pb.js +19 -0
  28. package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +320 -0
  29. package/src/kusinta/iot/signaling/v1/signaling_pb.js +83 -0
  30. package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +34 -0
  31. package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +19 -0
  32. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +65 -47
  33. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -7
  34. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +50 -0
  35. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +53 -0
  36. package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +152 -0
  37. package/src/kusinta/iot/webrtc/v1/app_token_pb.js +28 -0
  38. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +276 -39
  39. package/src/kusinta/iot/webrtc/v1/command_pb.js +28 -2
  40. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +76 -7
  41. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +19 -4
  42. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +371 -24
  43. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +68 -5
  44. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +451 -0
  45. package/src/kusinta/iot/webrtc/v1/management_pb.js +106 -0
  46. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +7 -1
@@ -0,0 +1,91 @@
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("CiprdXNpbnRhL2lvdC9kZXZpY2UvdjEvbWF0dGVyX29wdGlvbnMucHJvdG8SFWt1c2ludGEuaW90LmRldmljZS52MTpLChFtYXR0ZXJfY2x1c3Rlcl9pZBIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY0YYDIAEoDVIPbWF0dGVyQ2x1c3RlcklkOkoKEG1hdHRlcl9hdHRyaWJ1dGUSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGNKGAyABKAlSD21hdHRlckF0dHJpYnV0ZTpPChNtYXR0ZXJfYXR0cmlidXRlX2lkEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxjWhgMgASgNUhFtYXR0ZXJBdHRyaWJ1dGVJZDpPChJtYXR0ZXJfZGV2aWNlX3R5cGUSHy5nb29nbGUucHJvdG9idWYuTWVzc2FnZU9wdGlvbnMY04YDIAMoDVIQbWF0dGVyRGV2aWNlVHlwZTpXChZtYXR0ZXJfY29tbWFuZF9jbHVzdGVyEh8uZ29vZ2xlLnByb3RvYnVmLk1lc3NhZ2VPcHRpb25zGNeGAyABKA1SFG1hdHRlckNvbW1hbmRDbHVzdGVyOlAKEW1hdHRlcl9jb21tYW5kX2lkEh8uZ29vZ2xlLnByb3RvYnVmLk1lc3NhZ2VPcHRpb25zGNiGAyABKA1SD21hdHRlckNvbW1hbmRJZIgBAUICSAFiBnByb3RvMw", [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
+ * The Matter device type IDs this properties message models, e.g. 0x0301 for
55
+ * Thermostat. Repeated because one shape of properties can serve several device
56
+ * types; empty on vendor extension messages, which have no Matter device type.
57
+ *
58
+ * A device type appears on at most one properties message, so the mapping from
59
+ * Endpoint.matter_device_type_id to an Endpoint.matter_properties case is a
60
+ * function.
61
+ *
62
+ * @generated from extension: repeated uint32 matter_device_type = 50003;
63
+ */
64
+ export const matter_device_type = /*@__PURE__*/
65
+ extDesc(file_kusinta_iot_device_v1_matter_options, 3);
66
+
67
+ /**
68
+ * The Matter cluster a command-parameters message belongs to, e.g. 0x0006 for On/Off.
69
+ * Always exactly one — a parameters message never spans clusters.
70
+ *
71
+ * @generated from extension: uint32 matter_command_cluster = 50007;
72
+ */
73
+ export const matter_command_cluster = /*@__PURE__*/
74
+ extDesc(file_kusinta_iot_device_v1_matter_options, 4);
75
+
76
+ /**
77
+ * The Matter command ID this parameters message carries arguments for, e.g. 0x00 for
78
+ * Thermostat's SetpointRaiseLower.
79
+ *
80
+ * Singular on purpose. An earlier form was repeated, so that one message could cover
81
+ * several commands and choose between them by its own fields — but a message that
82
+ * encodes WHICH command it is duplicates DeviceCommand.matter_command_id, in a second
83
+ * numbering, with nothing reconciling the two. The parameters carry arguments; the
84
+ * command ID says which command. A message shared by several commands that take the
85
+ * same arguments simply omits this and lets matter_command_id stand alone.
86
+ *
87
+ * @generated from extension: optional uint32 matter_command_id = 50008;
88
+ */
89
+ export const matter_command_id = /*@__PURE__*/
90
+ extDesc(file_kusinta_iot_device_v1_matter_options, 5);
91
+