@kusinta/iot-schema 0.1.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 (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +49 -0
  3. package/package.json +36 -0
  4. package/src/kusinta/iot/access/v1/acl_pb.d.ts +144 -0
  5. package/src/kusinta/iot/access/v1/acl_pb.js +36 -0
  6. package/src/kusinta/iot/access/v1/roles_pb.d.ts +81 -0
  7. package/src/kusinta/iot/access/v1/roles_pb.js +36 -0
  8. package/src/kusinta/iot/common/v1/types_pb.d.ts +163 -0
  9. package/src/kusinta/iot/common/v1/types_pb.js +67 -0
  10. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +366 -0
  11. package/src/kusinta/iot/connector/v1/connector_pb.js +102 -0
  12. package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +29 -0
  13. package/src/kusinta/iot/connector/v1/connector_service_pb.js +22 -0
  14. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +115 -0
  15. package/src/kusinta/iot/device/v1/descriptor_pb.js +22 -0
  16. package/src/kusinta/iot/device/v1/device_pb.d.ts +131 -0
  17. package/src/kusinta/iot/device/v1/device_pb.js +23 -0
  18. package/src/kusinta/iot/device/v1/properties_pb.d.ts +580 -0
  19. package/src/kusinta/iot/device/v1/properties_pb.js +96 -0
  20. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +112 -0
  21. package/src/kusinta/iot/device/v1/property_update_pb.js +28 -0
  22. package/src/kusinta/iot/identity/v1/identity_pb.d.ts +108 -0
  23. package/src/kusinta/iot/identity/v1/identity_pb.js +54 -0
  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 +245 -0
  29. package/src/kusinta/iot/signaling/v1/signaling_pb.js +76 -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/space/v1/space_pb.d.ts +86 -0
  33. package/src/kusinta/iot/space/v1/space_pb.js +21 -0
  34. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +94 -0
  35. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +26 -0
  36. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +271 -0
  37. package/src/kusinta/iot/webrtc/v1/command_pb.js +70 -0
  38. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +67 -0
  39. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +30 -0
  40. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +232 -0
  41. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +66 -0
  42. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +48 -0
  43. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +21 -0
@@ -0,0 +1,131 @@
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/device.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 { DeviceDescriptor } from "./descriptor_pb.js";
8
+ import type { ColorTemperatureLightProperties, ContactSensorProperties, DimmableLightProperties, DoorLockProperties, EnergySensorProperties, HumiditySensorProperties, OccupancySensorProperties, OnOffLightProperties, PressureSensorProperties, TemperatureSensorProperties, ThermostatProperties, WindowCoveringProperties } from "./properties_pb.js";
9
+ import type { HomematicVendorExtension } from "../../vendor/homematic/v1/homematic_pb.js";
10
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file kusinta/iot/device/v1/device.proto.
14
+ */
15
+ export declare const file_kusinta_iot_device_v1_device: GenFile;
16
+
17
+ /**
18
+ * Device combines a DeviceDescriptor with a strongly-typed oneof for its current state.
19
+ * Field number convention: 1 = descriptor, 2-49 = standard Matter device types,
20
+ * 50-99 = vendor extensions, 20+ = timestamps.
21
+ *
22
+ * @generated from message kusinta.iot.device.v1.Device
23
+ */
24
+ export declare type Device = Message<"kusinta.iot.device.v1.Device"> & {
25
+ /**
26
+ * @generated from field: kusinta.iot.device.v1.DeviceDescriptor descriptor = 1;
27
+ */
28
+ descriptor?: DeviceDescriptor | undefined;
29
+
30
+ /**
31
+ * @generated from oneof kusinta.iot.device.v1.Device.properties
32
+ */
33
+ properties: {
34
+ /**
35
+ * @generated from field: kusinta.iot.device.v1.ThermostatProperties thermostat = 2;
36
+ */
37
+ value: ThermostatProperties;
38
+ case: "thermostat";
39
+ } | {
40
+ /**
41
+ * @generated from field: kusinta.iot.device.v1.TemperatureSensorProperties temperature_sensor = 3;
42
+ */
43
+ value: TemperatureSensorProperties;
44
+ case: "temperatureSensor";
45
+ } | {
46
+ /**
47
+ * @generated from field: kusinta.iot.device.v1.HumiditySensorProperties humidity_sensor = 4;
48
+ */
49
+ value: HumiditySensorProperties;
50
+ case: "humiditySensor";
51
+ } | {
52
+ /**
53
+ * @generated from field: kusinta.iot.device.v1.OccupancySensorProperties occupancy_sensor = 5;
54
+ */
55
+ value: OccupancySensorProperties;
56
+ case: "occupancySensor";
57
+ } | {
58
+ /**
59
+ * @generated from field: kusinta.iot.device.v1.ContactSensorProperties contact_sensor = 6;
60
+ */
61
+ value: ContactSensorProperties;
62
+ case: "contactSensor";
63
+ } | {
64
+ /**
65
+ * @generated from field: kusinta.iot.device.v1.WindowCoveringProperties window_covering = 7;
66
+ */
67
+ value: WindowCoveringProperties;
68
+ case: "windowCovering";
69
+ } | {
70
+ /**
71
+ * @generated from field: kusinta.iot.device.v1.DoorLockProperties door_lock = 8;
72
+ */
73
+ value: DoorLockProperties;
74
+ case: "doorLock";
75
+ } | {
76
+ /**
77
+ * @generated from field: kusinta.iot.device.v1.OnOffLightProperties on_off_light = 9;
78
+ */
79
+ value: OnOffLightProperties;
80
+ case: "onOffLight";
81
+ } | {
82
+ /**
83
+ * @generated from field: kusinta.iot.device.v1.DimmableLightProperties dimmable_light = 10;
84
+ */
85
+ value: DimmableLightProperties;
86
+ case: "dimmableLight";
87
+ } | {
88
+ /**
89
+ * @generated from field: kusinta.iot.device.v1.ColorTemperatureLightProperties color_temp_light = 11;
90
+ */
91
+ value: ColorTemperatureLightProperties;
92
+ case: "colorTempLight";
93
+ } | {
94
+ /**
95
+ * @generated from field: kusinta.iot.device.v1.EnergySensorProperties energy_sensor = 12;
96
+ */
97
+ value: EnergySensorProperties;
98
+ case: "energySensor";
99
+ } | {
100
+ /**
101
+ * @generated from field: kusinta.iot.device.v1.PressureSensorProperties pressure_sensor = 13;
102
+ */
103
+ value: PressureSensorProperties;
104
+ case: "pressureSensor";
105
+ } | {
106
+ /**
107
+ * Vendor extensions (fields 50-99)
108
+ *
109
+ * @generated from field: kusinta.iot.vendor.homematic.v1.HomematicVendorExtension homematic = 50;
110
+ */
111
+ value: HomematicVendorExtension;
112
+ case: "homematic";
113
+ } | { case: undefined; value?: undefined };
114
+
115
+ /**
116
+ * @generated from field: google.protobuf.Timestamp last_seen = 20;
117
+ */
118
+ lastSeen?: Timestamp | undefined;
119
+
120
+ /**
121
+ * @generated from field: google.protobuf.Timestamp last_updated = 21;
122
+ */
123
+ lastUpdated?: Timestamp | undefined;
124
+ };
125
+
126
+ /**
127
+ * Describes the message kusinta.iot.device.v1.Device.
128
+ * Use `create(DeviceSchema)` to create a new message.
129
+ */
130
+ export declare const DeviceSchema: GenMessage<Device>;
131
+
@@ -0,0 +1,23 @@
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/device.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_device_v1_descriptor } from "./descriptor_pb.js";
8
+ import { file_kusinta_iot_device_v1_properties } from "./properties_pb.js";
9
+ import { file_kusinta_iot_vendor_homematic_v1_homematic } from "../../vendor/homematic/v1/homematic_pb.js";
10
+
11
+ /**
12
+ * Describes the file kusinta/iot/device/v1/device.proto.
13
+ */
14
+ export const file_kusinta_iot_device_v1_device = /*@__PURE__*/
15
+ fileDesc("CiJrdXNpbnRhL2lvdC9kZXZpY2UvdjEvZGV2aWNlLnByb3RvEhVrdXNpbnRhLmlvdC5kZXZpY2UudjEigAkKBkRldmljZRI7CgpkZXNjcmlwdG9yGAEgASgLMicua3VzaW50YS5pb3QuZGV2aWNlLnYxLkRldmljZURlc2NyaXB0b3ISQQoKdGhlcm1vc3RhdBgCIAEoCzIrLmt1c2ludGEuaW90LmRldmljZS52MS5UaGVybW9zdGF0UHJvcGVydGllc0gAElAKEnRlbXBlcmF0dXJlX3NlbnNvchgDIAEoCzIyLmt1c2ludGEuaW90LmRldmljZS52MS5UZW1wZXJhdHVyZVNlbnNvclByb3BlcnRpZXNIABJKCg9odW1pZGl0eV9zZW5zb3IYBCABKAsyLy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuSHVtaWRpdHlTZW5zb3JQcm9wZXJ0aWVzSAASTAoQb2NjdXBhbmN5X3NlbnNvchgFIAEoCzIwLmt1c2ludGEuaW90LmRldmljZS52MS5PY2N1cGFuY3lTZW5zb3JQcm9wZXJ0aWVzSAASSAoOY29udGFjdF9zZW5zb3IYBiABKAsyLi5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQ29udGFjdFNlbnNvclByb3BlcnRpZXNIABJKCg93aW5kb3dfY292ZXJpbmcYByABKAsyLy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuV2luZG93Q292ZXJpbmdQcm9wZXJ0aWVzSAASPgoJZG9vcl9sb2NrGAggASgLMikua3VzaW50YS5pb3QuZGV2aWNlLnYxLkRvb3JMb2NrUHJvcGVydGllc0gAEkMKDG9uX29mZl9saWdodBgJIAEoCzIrLmt1c2ludGEuaW90LmRldmljZS52MS5Pbk9mZkxpZ2h0UHJvcGVydGllc0gAEkgKDmRpbW1hYmxlX2xpZ2h0GAogASgLMi4ua3VzaW50YS5pb3QuZGV2aWNlLnYxLkRpbW1hYmxlTGlnaHRQcm9wZXJ0aWVzSAASUgoQY29sb3JfdGVtcF9saWdodBgLIAEoCzI2Lmt1c2ludGEuaW90LmRldmljZS52MS5Db2xvclRlbXBlcmF0dXJlTGlnaHRQcm9wZXJ0aWVzSAASRgoNZW5lcmd5X3NlbnNvchgMIAEoCzItLmt1c2ludGEuaW90LmRldmljZS52MS5FbmVyZ3lTZW5zb3JQcm9wZXJ0aWVzSAASSgoPcHJlc3N1cmVfc2Vuc29yGA0gASgLMi8ua3VzaW50YS5pb3QuZGV2aWNlLnYxLlByZXNzdXJlU2Vuc29yUHJvcGVydGllc0gAEk4KCWhvbWVtYXRpYxgyIAEoCzI5Lmt1c2ludGEuaW90LnZlbmRvci5ob21lbWF0aWMudjEuSG9tZW1hdGljVmVuZG9yRXh0ZW5zaW9uSAASLQoJbGFzdF9zZWVuGBQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIwCgxsYXN0X3VwZGF0ZWQYFSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgwKCnByb3BlcnRpZXNCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_device_v1_descriptor, file_kusinta_iot_device_v1_properties, file_kusinta_iot_vendor_homematic_v1_homematic]);
16
+
17
+ /**
18
+ * Describes the message kusinta.iot.device.v1.Device.
19
+ * Use `create(DeviceSchema)` to create a new message.
20
+ */
21
+ export const DeviceSchema = /*@__PURE__*/
22
+ messageDesc(file_kusinta_iot_device_v1_device, 0);
23
+