@kusinta/iot-schema 0.1.0-beta.7 → 0.1.0-beta.9

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 (34) hide show
  1. package/README.md +7 -0
  2. package/package.json +1 -1
  3. package/src/kusinta/iot/access/v1/acl_pb.d.ts +3 -3
  4. package/src/kusinta/iot/access/v1/acl_pb.js +3 -3
  5. package/src/kusinta/iot/access/v1/roles_pb.d.ts +1 -1
  6. package/src/kusinta/iot/access/v1/roles_pb.js +1 -1
  7. package/src/kusinta/iot/common/v1/types_pb.d.ts +1 -1
  8. package/src/kusinta/iot/common/v1/types_pb.js +1 -1
  9. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +12 -5
  10. package/src/kusinta/iot/connector/v1/connector_pb.js +7 -6
  11. package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +2 -2
  12. package/src/kusinta/iot/connector/v1/connector_service_pb.js +2 -2
  13. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +3 -3
  14. package/src/kusinta/iot/device/v1/descriptor_pb.js +3 -3
  15. package/src/kusinta/iot/device/v1/device_pb.d.ts +4 -4
  16. package/src/kusinta/iot/device/v1/device_pb.js +4 -4
  17. package/src/kusinta/iot/device/v1/properties_pb.d.ts +1 -1
  18. package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
  19. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +2 -2
  20. package/src/kusinta/iot/device/v1/property_update_pb.js +2 -2
  21. package/src/kusinta/iot/identity/v1/identity_pb.d.ts +1 -1
  22. package/src/kusinta/iot/identity/v1/identity_pb.js +1 -1
  23. package/src/kusinta/iot/space/v1/space_pb.d.ts +3 -3
  24. package/src/kusinta/iot/space/v1/space_pb.js +3 -3
  25. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +1 -1
  26. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +1 -1
  27. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +2 -2
  28. package/src/kusinta/iot/webrtc/v1/command_pb.js +2 -2
  29. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +4 -4
  30. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +4 -4
  31. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +27 -5
  32. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +17 -10
  33. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +3 -3
  34. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +3 -3
package/README.md CHANGED
@@ -10,6 +10,13 @@ npm install @kusinta/iot-schema
10
10
 
11
11
  Requires `@bufbuild/protobuf` as a peer dependency (installed automatically).
12
12
 
13
+ ## Requirements
14
+
15
+ - Node.js 18+ (ESM — `"type": "module"`)
16
+ - `@bufbuild/protobuf` ^2.x (installed automatically as a peer dependency)
17
+
18
+ Works in raw Node.js ESM projects without a bundler.
19
+
13
20
  ## Usage
14
21
 
15
22
  ```javascript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kusinta/iot-schema",
3
- "version": "0.1.0-beta.7",
3
+ "version": "0.1.0-beta.9",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": ["src"],
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/access/v1/acl.proto (package kusinta.iot.access.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { DeviceId, GatewayId, UserId } from "../../identity/v1/identity_pb";
8
- import type { PermissionAction, Role } from "./roles_pb";
7
+ import type { DeviceId, GatewayId, UserId } from "../../identity/v1/identity_pb.js";
8
+ import type { PermissionAction, Role } from "./roles_pb.js";
9
9
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
10
10
 
11
11
  /**
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/access/v1/acl.proto (package kusinta.iot.access.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
8
- import { file_kusinta_iot_access_v1_roles } from "./roles_pb";
7
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
8
+ import { file_kusinta_iot_access_v1_roles } from "./roles_pb.js";
9
9
 
10
10
  /**
11
11
  * Describes the file kusinta/iot/access/v1/acl.proto.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/access/v1/roles.proto (package kusinta.iot.access.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/access/v1/roles.proto (package kusinta.iot.access.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/common/v1/types.proto (package kusinta.iot.common.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/common/v1/types.proto (package kusinta.iot.common.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,14 +1,15 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/connector/v1/connector.proto (package kusinta.iot.connector.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { ConnectorId, DeviceId, GatewayId } from "../../identity/v1/identity_pb";
8
- import type { ConnectorTransport } from "../../common/v1/types_pb";
9
- import type { DeviceDescriptor } from "../../device/v1/descriptor_pb";
7
+ import type { ConnectorId, DeviceId, GatewayId } from "../../identity/v1/identity_pb.js";
8
+ import type { ConnectorTransport } from "../../common/v1/types_pb.js";
9
+ import type { DeviceDescriptor } from "../../device/v1/descriptor_pb.js";
10
10
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
11
- import type { PropertyUpdateBatch } from "../../device/v1/property_update_pb";
11
+ import type { PropertyUpdateBatch } from "../../device/v1/property_update_pb.js";
12
+ import type { DeviceCommand } from "../../webrtc/v1/command_pb.js";
12
13
 
13
14
  /**
14
15
  * Describes the file kusinta/iot/connector/v1/connector.proto.
@@ -348,6 +349,12 @@ export declare type ConnectResponse = Message<"kusinta.iot.connector.v1.ConnectR
348
349
  */
349
350
  value: GatewayError;
350
351
  case: "error";
352
+ } | {
353
+ /**
354
+ * @generated from field: kusinta.iot.webrtc.v1.DeviceCommand execute_command = 8;
355
+ */
356
+ value: DeviceCommand;
357
+ case: "executeCommand";
351
358
  } | { case: undefined; value?: undefined };
352
359
  };
353
360
 
@@ -1,19 +1,20 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/connector/v1/connector.proto (package kusinta.iot.connector.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb";
8
- import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
9
- import { file_kusinta_iot_device_v1_descriptor } from "../../device/v1/descriptor_pb";
10
- import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb";
7
+ import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
8
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
9
+ import { file_kusinta_iot_device_v1_descriptor } from "../../device/v1/descriptor_pb.js";
10
+ import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb.js";
11
+ import { file_kusinta_iot_webrtc_v1_command } from "../../webrtc/v1/command_pb.js";
11
12
 
12
13
  /**
13
14
  * Describes the file kusinta/iot/connector/v1/connector.proto.
14
15
  */
15
16
  export const file_kusinta_iot_connector_v1_connector = /*@__PURE__*/
16
- fileDesc("CihrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yLnByb3RvEhhrdXNpbnRhLmlvdC5jb25uZWN0b3IudjEi5QEKDUNvbm5lY3RvckluZm8SOgoMY29ubmVjdG9yX2lkGAEgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSPAoJdHJhbnNwb3J0GAQgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkNvbm5lY3RvclRyYW5zcG9ydBIQCghlbmRwb2ludB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ldmljZUgAEjcKBWVycm9yGAcgASgLMiYua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLkdhdGV3YXlFcnJvckgAQgkKB3BheWxvYWRCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_device_v1_descriptor, file_kusinta_iot_device_v1_property_update]);
17
+ fileDesc("CihrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yLnByb3RvEhhrdXNpbnRhLmlvdC5jb25uZWN0b3IudjEi5QEKDUNvbm5lY3RvckluZm8SOgoMY29ubmVjdG9yX2lkGAEgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSPAoJdHJhbnNwb3J0GAQgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkNvbm5lY3RvclRyYW5zcG9ydBIQCghlbmRwb2ludBgFIAEoCRIhChlzdXBwb3J0ZWRfZGV2aWNlX3R5cGVfaWRzGAYgAygNIosBChJDb25uZWN0b3JIYW5kc2hha2USNQoEaW5mbxgBIAEoCzInLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5Db25uZWN0b3JJbmZvEj4KDWtub3duX2RldmljZXMYAiADKAsyJy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuRGV2aWNlRGVzY3JpcHRvciJoCgxIYW5kc2hha2VBY2sSEAoIYWNjZXB0ZWQYASABKAgSDgoGcmVhc29uGAIgASgJEjYKCmdhdGV3YXlfaWQYAyABKAsyIi5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5HYXRld2F5SWQiUQoSRGV2aWNlQW5ub3VuY2VtZW50EjsKCmRlc2NyaXB0b3IYASABKAsyJy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuRGV2aWNlRGVzY3JpcHRvciJVCg1EZXZpY2VSZW1vdmFsEjQKCW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2VSZW1vdmFsSAASQQoOY29tbWFuZF9yZXN1bHQYByABKAsyJy5rdXNpbnRhLmlvdC5jb25uZWN0b3IudjEuQ29tbWFuZFJlc3VsdEgAEjgKCWhlYXJ0YmVhdBgIIAEoCzIjLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5IZWFydEJlYXRIAEIJCgdwYXlsb2FkIqIDCg9Db25uZWN0UmVzcG9uc2USEgoKbWVzc2FnZV9pZBgBIAEoCRIrCgdzZW50X2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI/Cg1oYW5kc2hha2VfYWNrGAMgASgLMiYua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLkhhbmRzaGFrZUFja0gAEj4KCXN1YnNjcmliZRgFIAEoCzIpLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5TdWJzY3JpYmVEZXZpY2VIABJCCgt1bnN1YnNjcmliZRgGIAEoCzIrLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5VbnN1YnNjcmliZURldmljZUgAEjcKBWVycm9yGAcgASgLMiYua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLkdhdGV3YXlFcnJvckgAEj8KD2V4ZWN1dGVfY29tbWFuZBgIIAEoCzIkLmt1c2ludGEuaW90LndlYnJ0Yy52MS5EZXZpY2VDb21tYW5kSABCCQoHcGF5bG9hZEoECAQQBUICSAFiBnByb3RvMw", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_device_v1_descriptor, file_kusinta_iot_device_v1_property_update, file_kusinta_iot_webrtc_v1_command]);
17
18
 
18
19
  /**
19
20
  * Describes the message kusinta.iot.connector.v1.ConnectorInfo.
@@ -1,9 +1,9 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/connector/v1/connector_service.proto (package kusinta.iot.connector.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
6
- import type { ConnectRequestSchema, ConnectResponseSchema } from "./connector_pb";
6
+ import type { ConnectRequestSchema, ConnectResponseSchema } from "./connector_pb.js";
7
7
 
8
8
  /**
9
9
  * Describes the file kusinta/iot/connector/v1/connector_service.proto.
@@ -1,9 +1,9 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/connector/v1/connector_service.proto (package kusinta.iot.connector.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
- import { file_kusinta_iot_connector_v1_connector } from "./connector_pb";
6
+ import { file_kusinta_iot_connector_v1_connector } from "./connector_pb.js";
7
7
 
8
8
  /**
9
9
  * Describes the file kusinta/iot/connector/v1/connector_service.proto.
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/descriptor.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { ConnectorId, DeviceId, SpaceId, UserId } from "../../identity/v1/identity_pb";
8
- import type { DeviceLifecycleState, DeviceOwnershipType } from "../../common/v1/types_pb";
7
+ import type { ConnectorId, DeviceId, SpaceId, UserId } from "../../identity/v1/identity_pb.js";
8
+ import type { DeviceLifecycleState, DeviceOwnershipType } from "../../common/v1/types_pb.js";
9
9
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
10
10
 
11
11
  /**
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/descriptor.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb";
8
- import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
7
+ import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
8
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
9
9
 
10
10
  /**
11
11
  * Describes the file kusinta/iot/device/v1/descriptor.proto.
@@ -1,12 +1,12 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/device.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { DeviceDescriptor } from "./descriptor_pb";
8
- import type { ColorTemperatureLightProperties, ContactSensorProperties, DimmableLightProperties, DoorLockProperties, EnergySensorProperties, HumiditySensorProperties, OccupancySensorProperties, OnOffLightProperties, PressureSensorProperties, TemperatureSensorProperties, ThermostatProperties, WindowCoveringProperties } from "./properties_pb";
9
- import type { HomematicVendorExtension } from "../../vendor/homematic/v1/homematic_pb";
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
10
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
11
11
 
12
12
  /**
@@ -1,12 +1,12 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/device.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_device_v1_descriptor } from "./descriptor_pb";
8
- import { file_kusinta_iot_device_v1_properties } from "./properties_pb";
9
- import { file_kusinta_iot_vendor_homematic_v1_homematic } from "../../vendor/homematic/v1/homematic_pb";
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
10
 
11
11
  /**
12
12
  * Describes the file kusinta/iot/device/v1/device.proto.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/properties.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/properties.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,10 +1,10 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/property_update.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { DeviceId } from "../../identity/v1/identity_pb";
7
+ import type { DeviceId } from "../../identity/v1/identity_pb.js";
8
8
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
9
 
10
10
  /**
@@ -1,10 +1,10 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/device/v1/property_update.proto (package kusinta.iot.device.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
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/device/v1/property_update.proto.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/identity/v1/identity.proto (package kusinta.iot.identity.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/identity/v1/identity.proto (package kusinta.iot.identity.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
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";
7
+ import type { DeviceId, GatewayId, SpaceId, TenantId, UserId } from "../../identity/v1/identity_pb.js";
8
+ import type { SpaceType } from "../../common/v1/types_pb.js";
9
9
 
10
10
  /**
11
11
  * Describes the file kusinta/iot/space/v1/space.proto.
@@ -1,10 +1,10 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/space/v1/space.proto (package kusinta.iot.space.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
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";
6
+ import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_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/space/v1/space.proto.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/vendor/homematic/v1/homematic.proto (package kusinta.iot.vendor.homematic.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/vendor/homematic/v1/homematic.proto (package kusinta.iot.vendor.homematic.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -1,10 +1,10 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/command.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { DeviceId } from "../../identity/v1/identity_pb";
7
+ import type { DeviceId } from "../../identity/v1/identity_pb.js";
8
8
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
9
 
10
10
  /**
@@ -1,10 +1,10 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/command.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
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/command.proto.
@@ -1,13 +1,13 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/device_state.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { Device } from "../../device/v1/device_pb";
8
- import type { EffectivePermissions } from "../../access/v1/acl_pb";
7
+ import type { Device } from "../../device/v1/device_pb.js";
8
+ import type { EffectivePermissions } from "../../access/v1/acl_pb.js";
9
9
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
10
- import type { PropertyUpdate } from "../../device/v1/property_update_pb";
10
+ import type { PropertyUpdate } from "../../device/v1/property_update_pb.js";
11
11
 
12
12
  /**
13
13
  * Describes the file kusinta/iot/webrtc/v1/device_state.proto.
@@ -1,12 +1,12 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/device_state.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_device_v1_device } from "../../device/v1/device_pb";
8
- import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb";
9
- import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb";
7
+ import { file_kusinta_iot_device_v1_device } from "../../device/v1/device_pb.js";
8
+ import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb.js";
9
+ import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
10
10
 
11
11
  /**
12
12
  * Describes the file kusinta/iot/webrtc/v1/device_state.proto.
@@ -1,14 +1,14 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/envelope.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { DeviceId } from "../../identity/v1/identity_pb";
7
+ import type { DeviceId } from "../../identity/v1/identity_pb.js";
8
8
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
- import type { DevicePropertyEvent, DeviceStateSnapshot } from "./device_state_pb";
10
- import type { LivePermissionUpdate } from "./permission_push_pb";
11
- import type { CommandResult, DeviceCommand } from "./command_pb";
9
+ import type { DevicePropertyEvent, DeviceStateSnapshot } from "./device_state_pb.js";
10
+ import type { LivePermissionUpdate } from "./permission_push_pb.js";
11
+ import type { CommandResult, DeviceCommand } from "./command_pb.js";
12
12
 
13
13
  /**
14
14
  * Describes the file kusinta/iot/webrtc/v1/envelope.proto.
@@ -39,6 +39,22 @@ export declare type Pong = Message<"kusinta.iot.webrtc.v1.Pong"> & {
39
39
  */
40
40
  export declare const PongSchema: GenMessage<Pong>;
41
41
 
42
+ /**
43
+ * @generated from message kusinta.iot.webrtc.v1.HandshakeRejected
44
+ */
45
+ export declare type HandshakeRejected = Message<"kusinta.iot.webrtc.v1.HandshakeRejected"> & {
46
+ /**
47
+ * @generated from field: string reason = 1;
48
+ */
49
+ reason: string;
50
+ };
51
+
52
+ /**
53
+ * Describes the message kusinta.iot.webrtc.v1.HandshakeRejected.
54
+ * Use `create(HandshakeRejectedSchema)` to create a new message.
55
+ */
56
+ export declare const HandshakeRejectedSchema: GenMessage<HandshakeRejected>;
57
+
42
58
  /**
43
59
  * AppHandshake must be the first message sent by the Flutter app on the data channel.
44
60
  * The gateway validates the JWT locally using the mykusinta-api-server public key,
@@ -147,6 +163,12 @@ export declare type GatewayMessage = Message<"kusinta.iot.webrtc.v1.GatewayMessa
147
163
  */
148
164
  value: Pong;
149
165
  case: "pong";
166
+ } | {
167
+ /**
168
+ * @generated from field: kusinta.iot.webrtc.v1.HandshakeRejected handshake_rejected = 9;
169
+ */
170
+ value: HandshakeRejected;
171
+ case: "handshakeRejected";
150
172
  } | { case: undefined; value?: undefined };
151
173
  };
152
174
 
@@ -1,19 +1,19 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/envelope.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
6
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
- import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
8
- import { file_kusinta_iot_webrtc_v1_command } from "./command_pb";
9
- import { file_kusinta_iot_webrtc_v1_device_state } from "./device_state_pb";
10
- import { file_kusinta_iot_webrtc_v1_permission_push } from "./permission_push_pb";
7
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
8
+ import { file_kusinta_iot_webrtc_v1_command } from "./command_pb.js";
9
+ import { file_kusinta_iot_webrtc_v1_device_state } from "./device_state_pb.js";
10
+ import { file_kusinta_iot_webrtc_v1_permission_push } from "./permission_push_pb.js";
11
11
 
12
12
  /**
13
13
  * Describes the file kusinta/iot/webrtc/v1/envelope.proto.
14
14
  */
15
15
  export const file_kusinta_iot_webrtc_v1_envelope = /*@__PURE__*/
16
- fileDesc("CiRrdXNpbnRhL2lvdC93ZWJydGMvdjEvZW52ZWxvcGUucHJvdG8SFWt1c2ludGEuaW90LndlYnJ0Yy52MSIGCgRQaW5nIgYKBFBvbmciXAoMQXBwSGFuZHNoYWtlEgsKA2p3dBgBIAEoCRI/ChRzdWJzY3JpYm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VhZF9yZXF1ZXN0GAUgASgLMioua3VzaW50YS5pb3Qud2VicnRjLnYxLlByb3BlcnR5UmVhZFJlcXVlc3RIABIrCgRwaW5nGAYgASgLMhsua3VzaW50YS5pb3Qud2VicnRjLnYxLlBpbmdIAEIJCgdwYXlsb2FkQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_webrtc_v1_command, file_kusinta_iot_webrtc_v1_device_state, file_kusinta_iot_webrtc_v1_permission_push]);
16
+ fileDesc("CiRrdXNpbnRhL2lvdC93ZWJydGMvdjEvZW52ZWxvcGUucHJvdG8SFWt1c2ludGEuaW90LndlYnJ0Yy52MSIGCgRQaW5nIgYKBFBvbmciIwoRSGFuZHNoYWtlUmVqZWN0ZWQSDgoGcmVhc29uGAEgASgJIlwKDEFwcEhhbmRzaGFrZRILCgNqd3QYASABKAkSPwoUc3Vic2NyaWJlX2RldmljZV9pZHMYAiADKAsyIS5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5EZXZpY2VJZCJ7ChNQcm9wZXJ0eVJlYWRSZXF1ZXN0EjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEhYKDmF0dHJpYnV0ZV9uYW1lGAIgASgJEhYKDmNsdXN0ZXJfaWRfaGV4GAMgASgJIvgDCg5HYXRld2F5TWVzc2FnZRISCgptZXNzYWdlX2lkGAEgASgJEisKB3NlbnRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEkQKDnN0YXRlX3NuYXBzaG90GAMgASgLMioua3VzaW50YS5pb3Qud2VicnRjLnYxLkRldmljZVN0YXRlU25hcHNob3RIABJECg5wcm9wZXJ0eV9ldmVudBgEIAEoCzIqLmt1c2ludGEuaW90LndlYnJ0Yy52MS5EZXZpY2VQcm9wZXJ0eUV2ZW50SAASSAoRcGVybWlzc2lvbl91cGRhdGUYBSABKAsyKy5rdXNpbnRhLmlvdC53ZWJydGMudjEuTGl2ZVBlcm1pc3Npb25VcGRhdGVIABI+Cg5jb21tYW5kX3Jlc3VsdBgGIAEoCzIkLmt1c2ludGEuaW90LndlYnJ0Yy52MS5Db21tYW5kUmVzdWx0SAASDwoFZXJyb3IYByABKAlIABIrCgRwb25nGAggASgLMhsua3VzaW50YS5pb3Qud2VicnRjLnYxLlBvbmdIABJGChJoYW5kc2hha2VfcmVqZWN0ZWQYCSABKAsyKC5rdXNpbnRhLmlvdC53ZWJydGMudjEuSGFuZHNoYWtlUmVqZWN0ZWRIAEIJCgdwYXlsb2FkIrwCCgpBcHBNZXNzYWdlEhIKCm1lc3NhZ2VfaWQYASABKAkSKwoHc2VudF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOAoJaGFuZHNoYWtlGAMgASgLMiMua3VzaW50YS5pb3Qud2VicnRjLnYxLkFwcEhhbmRzaGFrZUgAEjcKB2NvbW1hbmQYBCABKAsyJC5rdXNpbnRhLmlvdC53ZWJydGMudjEuRGV2aWNlQ29tbWFuZEgAEkIKDHJlYWRfcmVxdWVzdBgFIAEoCzIqLmt1c2ludGEuaW90LndlYnJ0Yy52MS5Qcm9wZXJ0eVJlYWRSZXF1ZXN0SAASKwoEcGluZxgGIAEoCzIbLmt1c2ludGEuaW90LndlYnJ0Yy52MS5QaW5nSABCCQoHcGF5bG9hZEICSAFiBnByb3RvMw", [file_google_protobuf_timestamp, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_webrtc_v1_command, file_kusinta_iot_webrtc_v1_device_state, file_kusinta_iot_webrtc_v1_permission_push]);
17
17
 
18
18
  /**
19
19
  * Describes the message kusinta.iot.webrtc.v1.Ping.
@@ -29,31 +29,38 @@ export const PingSchema = /*@__PURE__*/
29
29
  export const PongSchema = /*@__PURE__*/
30
30
  messageDesc(file_kusinta_iot_webrtc_v1_envelope, 1);
31
31
 
32
+ /**
33
+ * Describes the message kusinta.iot.webrtc.v1.HandshakeRejected.
34
+ * Use `create(HandshakeRejectedSchema)` to create a new message.
35
+ */
36
+ export const HandshakeRejectedSchema = /*@__PURE__*/
37
+ messageDesc(file_kusinta_iot_webrtc_v1_envelope, 2);
38
+
32
39
  /**
33
40
  * Describes the message kusinta.iot.webrtc.v1.AppHandshake.
34
41
  * Use `create(AppHandshakeSchema)` to create a new message.
35
42
  */
36
43
  export const AppHandshakeSchema = /*@__PURE__*/
37
- messageDesc(file_kusinta_iot_webrtc_v1_envelope, 2);
44
+ messageDesc(file_kusinta_iot_webrtc_v1_envelope, 3);
38
45
 
39
46
  /**
40
47
  * Describes the message kusinta.iot.webrtc.v1.PropertyReadRequest.
41
48
  * Use `create(PropertyReadRequestSchema)` to create a new message.
42
49
  */
43
50
  export const PropertyReadRequestSchema = /*@__PURE__*/
44
- messageDesc(file_kusinta_iot_webrtc_v1_envelope, 3);
51
+ messageDesc(file_kusinta_iot_webrtc_v1_envelope, 4);
45
52
 
46
53
  /**
47
54
  * Describes the message kusinta.iot.webrtc.v1.GatewayMessage.
48
55
  * Use `create(GatewayMessageSchema)` to create a new message.
49
56
  */
50
57
  export const GatewayMessageSchema = /*@__PURE__*/
51
- messageDesc(file_kusinta_iot_webrtc_v1_envelope, 4);
58
+ messageDesc(file_kusinta_iot_webrtc_v1_envelope, 5);
52
59
 
53
60
  /**
54
61
  * Describes the message kusinta.iot.webrtc.v1.AppMessage.
55
62
  * Use `create(AppMessageSchema)` to create a new message.
56
63
  */
57
64
  export const AppMessageSchema = /*@__PURE__*/
58
- messageDesc(file_kusinta_iot_webrtc_v1_envelope, 5);
65
+ messageDesc(file_kusinta_iot_webrtc_v1_envelope, 6);
59
66
 
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/permission_push.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { EffectivePermissions } from "../../access/v1/acl_pb";
8
- import type { DeviceId } from "../../identity/v1/identity_pb";
7
+ import type { EffectivePermissions } from "../../access/v1/acl_pb.js";
8
+ import type { DeviceId } from "../../identity/v1/identity_pb.js";
9
9
 
10
10
  /**
11
11
  * Describes the file kusinta/iot/webrtc/v1/permission_push.proto.
@@ -1,10 +1,10 @@
1
- // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
2
  // @generated from file kusinta/iot/webrtc/v1/permission_push.proto (package kusinta.iot.webrtc.v1, syntax proto3)
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";
7
- import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb";
6
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
7
+ import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
8
8
 
9
9
  /**
10
10
  * Describes the file kusinta/iot/webrtc/v1/permission_push.proto.