@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.
- package/LICENSE +21 -0
- package/README.md +49 -0
- package/package.json +36 -0
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +144 -0
- package/src/kusinta/iot/access/v1/acl_pb.js +36 -0
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +81 -0
- package/src/kusinta/iot/access/v1/roles_pb.js +36 -0
- package/src/kusinta/iot/common/v1/types_pb.d.ts +163 -0
- package/src/kusinta/iot/common/v1/types_pb.js +67 -0
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +366 -0
- package/src/kusinta/iot/connector/v1/connector_pb.js +102 -0
- package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +29 -0
- package/src/kusinta/iot/connector/v1/connector_service_pb.js +22 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +115 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.js +22 -0
- package/src/kusinta/iot/device/v1/device_pb.d.ts +131 -0
- package/src/kusinta/iot/device/v1/device_pb.js +23 -0
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +580 -0
- package/src/kusinta/iot/device/v1/properties_pb.js +96 -0
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +112 -0
- package/src/kusinta/iot/device/v1/property_update_pb.js +28 -0
- package/src/kusinta/iot/identity/v1/identity_pb.d.ts +108 -0
- package/src/kusinta/iot/identity/v1/identity_pb.js +54 -0
- package/src/kusinta/iot/registration/v1/registration_pb.d.ts +170 -0
- package/src/kusinta/iot/registration/v1/registration_pb.js +61 -0
- package/src/kusinta/iot/registration/v1/registration_service_pb.d.ts +34 -0
- package/src/kusinta/iot/registration/v1/registration_service_pb.js +19 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +245 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +76 -0
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +34 -0
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +19 -0
- package/src/kusinta/iot/space/v1/space_pb.d.ts +86 -0
- package/src/kusinta/iot/space/v1/space_pb.js +21 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +94 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +26 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +271 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.js +70 -0
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +67 -0
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +30 -0
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +232 -0
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +66 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +48 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +21 -0
|
@@ -0,0 +1,112 @@
|
|
|
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/property_update.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 { DeviceId } from "../../identity/v1/identity_pb.js";
|
|
8
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file kusinta/iot/device/v1/property_update.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_kusinta_iot_device_v1_property_update: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* PropertyUpdate carries a single attribute change from connector to gateway,
|
|
17
|
+
* or from gateway to Flutter app.
|
|
18
|
+
* attribute_name uses PascalCase Matter attribute naming (e.g. "OccupiedHeatingSetpoint").
|
|
19
|
+
* cluster_id_hex is the Matter cluster ID as a 4-char hex string (e.g. "0201" for Thermostat).
|
|
20
|
+
*
|
|
21
|
+
* @generated from message kusinta.iot.device.v1.PropertyUpdate
|
|
22
|
+
*/
|
|
23
|
+
export declare type PropertyUpdate = Message<"kusinta.iot.device.v1.PropertyUpdate"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 1;
|
|
26
|
+
*/
|
|
27
|
+
deviceId?: DeviceId | undefined;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string attribute_name = 2;
|
|
31
|
+
*/
|
|
32
|
+
attributeName: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from oneof kusinta.iot.device.v1.PropertyUpdate.value
|
|
36
|
+
*/
|
|
37
|
+
value: {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: sint32 int_value = 3;
|
|
40
|
+
*/
|
|
41
|
+
value: number;
|
|
42
|
+
case: "intValue";
|
|
43
|
+
} | {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: uint32 uint_value = 4;
|
|
46
|
+
*/
|
|
47
|
+
value: number;
|
|
48
|
+
case: "uintValue";
|
|
49
|
+
} | {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: bool bool_value = 5;
|
|
52
|
+
*/
|
|
53
|
+
value: boolean;
|
|
54
|
+
case: "boolValue";
|
|
55
|
+
} | {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: float float_value = 6;
|
|
58
|
+
*/
|
|
59
|
+
value: number;
|
|
60
|
+
case: "floatValue";
|
|
61
|
+
} | {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: string string_value = 7;
|
|
64
|
+
*/
|
|
65
|
+
value: string;
|
|
66
|
+
case: "stringValue";
|
|
67
|
+
} | {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: bytes bytes_value = 8;
|
|
70
|
+
*/
|
|
71
|
+
value: Uint8Array;
|
|
72
|
+
case: "bytesValue";
|
|
73
|
+
} | { case: undefined; value?: undefined };
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 9;
|
|
77
|
+
*/
|
|
78
|
+
timestamp?: Timestamp | undefined;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string cluster_id_hex = 10;
|
|
82
|
+
*/
|
|
83
|
+
clusterIdHex: string;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message kusinta.iot.device.v1.PropertyUpdate.
|
|
88
|
+
* Use `create(PropertyUpdateSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export declare const PropertyUpdateSchema: GenMessage<PropertyUpdate>;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from message kusinta.iot.device.v1.PropertyUpdateBatch
|
|
94
|
+
*/
|
|
95
|
+
export declare type PropertyUpdateBatch = Message<"kusinta.iot.device.v1.PropertyUpdateBatch"> & {
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: repeated kusinta.iot.device.v1.PropertyUpdate updates = 1;
|
|
98
|
+
*/
|
|
99
|
+
updates: PropertyUpdate[];
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: google.protobuf.Timestamp batch_timestamp = 2;
|
|
103
|
+
*/
|
|
104
|
+
batchTimestamp?: Timestamp | undefined;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message kusinta.iot.device.v1.PropertyUpdateBatch.
|
|
109
|
+
* Use `create(PropertyUpdateBatchSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export declare const PropertyUpdateBatchSchema: GenMessage<PropertyUpdateBatch>;
|
|
112
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
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/property_update.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_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file kusinta/iot/device/v1/property_update.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_kusinta_iot_device_v1_property_update = /*@__PURE__*/
|
|
13
|
+
fileDesc("CitrdXNpbnRhL2lvdC9kZXZpY2UvdjEvcHJvcGVydHlfdXBkYXRlLnByb3RvEhVrdXNpbnRhLmlvdC5kZXZpY2UudjEitQIKDlByb3BlcnR5VXBkYXRlEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEhYKDmF0dHJpYnV0ZV9uYW1lGAIgASgJEhMKCWludF92YWx1ZRgDIAEoEUgAEhQKCnVpbnRfdmFsdWUYBCABKA1IABIUCgpib29sX3ZhbHVlGAUgASgISAASFQoLZmxvYXRfdmFsdWUYBiABKAJIABIWCgxzdHJpbmdfdmFsdWUYByABKAlIABIVCgtieXRlc192YWx1ZRgIIAEoDEgAEi0KCXRpbWVzdGFtcBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFgoOY2x1c3Rlcl9pZF9oZXgYCiABKAlCBwoFdmFsdWUiggEKE1Byb3BlcnR5VXBkYXRlQmF0Y2gSNgoHdXBkYXRlcxgBIAMoCzIlLmt1c2ludGEuaW90LmRldmljZS52MS5Qcm9wZXJ0eVVwZGF0ZRIzCg9iYXRjaF90aW1lc3RhbXAYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_identity_v1_identity]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message kusinta.iot.device.v1.PropertyUpdate.
|
|
17
|
+
* Use `create(PropertyUpdateSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const PropertyUpdateSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_kusinta_iot_device_v1_property_update, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message kusinta.iot.device.v1.PropertyUpdateBatch.
|
|
24
|
+
* Use `create(PropertyUpdateBatchSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const PropertyUpdateBatchSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_kusinta_iot_device_v1_property_update, 1);
|
|
28
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/identity/v1/identity.proto (package kusinta.iot.identity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/identity/v1/identity.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_identity_v1_identity: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message kusinta.iot.identity.v1.TenantId
|
|
15
|
+
*/
|
|
16
|
+
export declare type TenantId = Message<"kusinta.iot.identity.v1.TenantId"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string value = 1;
|
|
19
|
+
*/
|
|
20
|
+
value: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message kusinta.iot.identity.v1.TenantId.
|
|
25
|
+
* Use `create(TenantIdSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export declare const TenantIdSchema: GenMessage<TenantId>;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message kusinta.iot.identity.v1.GatewayId
|
|
31
|
+
*/
|
|
32
|
+
export declare type GatewayId = Message<"kusinta.iot.identity.v1.GatewayId"> & {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string value = 1;
|
|
35
|
+
*/
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message kusinta.iot.identity.v1.GatewayId.
|
|
41
|
+
* Use `create(GatewayIdSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const GatewayIdSchema: GenMessage<GatewayId>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message kusinta.iot.identity.v1.DeviceId
|
|
47
|
+
*/
|
|
48
|
+
export declare type DeviceId = Message<"kusinta.iot.identity.v1.DeviceId"> & {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string value = 1;
|
|
51
|
+
*/
|
|
52
|
+
value: string;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message kusinta.iot.identity.v1.DeviceId.
|
|
57
|
+
* Use `create(DeviceIdSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const DeviceIdSchema: GenMessage<DeviceId>;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from message kusinta.iot.identity.v1.UserId
|
|
63
|
+
*/
|
|
64
|
+
export declare type UserId = Message<"kusinta.iot.identity.v1.UserId"> & {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string value = 1;
|
|
67
|
+
*/
|
|
68
|
+
value: string;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message kusinta.iot.identity.v1.UserId.
|
|
73
|
+
* Use `create(UserIdSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export declare const UserIdSchema: GenMessage<UserId>;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from message kusinta.iot.identity.v1.SpaceId
|
|
79
|
+
*/
|
|
80
|
+
export declare type SpaceId = Message<"kusinta.iot.identity.v1.SpaceId"> & {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string value = 1;
|
|
83
|
+
*/
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message kusinta.iot.identity.v1.SpaceId.
|
|
89
|
+
* Use `create(SpaceIdSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export declare const SpaceIdSchema: GenMessage<SpaceId>;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message kusinta.iot.identity.v1.ConnectorId
|
|
95
|
+
*/
|
|
96
|
+
export declare type ConnectorId = Message<"kusinta.iot.identity.v1.ConnectorId"> & {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: string value = 1;
|
|
99
|
+
*/
|
|
100
|
+
value: string;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message kusinta.iot.identity.v1.ConnectorId.
|
|
105
|
+
* Use `create(ConnectorIdSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const ConnectorIdSchema: GenMessage<ConnectorId>;
|
|
108
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/identity/v1/identity.proto (package kusinta.iot.identity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file kusinta/iot/identity/v1/identity.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_kusinta_iot_identity_v1_identity = /*@__PURE__*/
|
|
11
|
+
fileDesc("CiZrdXNpbnRhL2lvdC9pZGVudGl0eS92MS9pZGVudGl0eS5wcm90bxIXa3VzaW50YS5pb3QuaWRlbnRpdHkudjEiGQoIVGVuYW50SWQSDQoFdmFsdWUYASABKAkiGgoJR2F0ZXdheUlkEg0KBXZhbHVlGAEgASgJIhkKCERldmljZUlkEg0KBXZhbHVlGAEgASgJIhcKBlVzZXJJZBINCgV2YWx1ZRgBIAEoCSIYCgdTcGFjZUlkEg0KBXZhbHVlGAEgASgJIhwKC0Nvbm5lY3RvcklkEg0KBXZhbHVlGAEgASgJQgJIAWIGcHJvdG8z");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message kusinta.iot.identity.v1.TenantId.
|
|
15
|
+
* Use `create(TenantIdSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const TenantIdSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_kusinta_iot_identity_v1_identity, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message kusinta.iot.identity.v1.GatewayId.
|
|
22
|
+
* Use `create(GatewayIdSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const GatewayIdSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_kusinta_iot_identity_v1_identity, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message kusinta.iot.identity.v1.DeviceId.
|
|
29
|
+
* Use `create(DeviceIdSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const DeviceIdSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_kusinta_iot_identity_v1_identity, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message kusinta.iot.identity.v1.UserId.
|
|
36
|
+
* Use `create(UserIdSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const UserIdSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_kusinta_iot_identity_v1_identity, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message kusinta.iot.identity.v1.SpaceId.
|
|
43
|
+
* Use `create(SpaceIdSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const SpaceIdSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_kusinta_iot_identity_v1_identity, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message kusinta.iot.identity.v1.ConnectorId.
|
|
50
|
+
* Use `create(ConnectorIdSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const ConnectorIdSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_kusinta_iot_identity_v1_identity, 5);
|
|
54
|
+
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/registration/v1/registration.proto (package kusinta.iot.registration.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/registration/v1/registration.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_registration_v1_registration: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message kusinta.iot.registration.v1.RegistrationRequest
|
|
15
|
+
*/
|
|
16
|
+
export declare type RegistrationRequest = Message<"kusinta.iot.registration.v1.RegistrationRequest"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string registration_token = 1;
|
|
19
|
+
*/
|
|
20
|
+
registrationToken: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string external_ip = 2;
|
|
24
|
+
*/
|
|
25
|
+
externalIp: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string csr_pem = 3;
|
|
29
|
+
*/
|
|
30
|
+
csrPem: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationRequest.
|
|
35
|
+
* Use `create(RegistrationRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const RegistrationRequestSchema: GenMessage<RegistrationRequest>;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from message kusinta.iot.registration.v1.RegistrationProgress
|
|
41
|
+
*/
|
|
42
|
+
export declare type RegistrationProgress = Message<"kusinta.iot.registration.v1.RegistrationProgress"> & {
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: string step = 1;
|
|
45
|
+
*/
|
|
46
|
+
step: string;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationProgress.
|
|
51
|
+
* Use `create(RegistrationProgressSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const RegistrationProgressSchema: GenMessage<RegistrationProgress>;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message kusinta.iot.registration.v1.RegistrationComplete
|
|
57
|
+
*/
|
|
58
|
+
export declare type RegistrationComplete = Message<"kusinta.iot.registration.v1.RegistrationComplete"> & {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string certificate_pem = 1;
|
|
61
|
+
*/
|
|
62
|
+
certificatePem: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string ca_bundle_pem = 2;
|
|
66
|
+
*/
|
|
67
|
+
caBundlePem: string;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationComplete.
|
|
72
|
+
* Use `create(RegistrationCompleteSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export declare const RegistrationCompleteSchema: GenMessage<RegistrationComplete>;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message kusinta.iot.registration.v1.RegistrationError
|
|
78
|
+
*/
|
|
79
|
+
export declare type RegistrationError = Message<"kusinta.iot.registration.v1.RegistrationError"> & {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string code = 1;
|
|
82
|
+
*/
|
|
83
|
+
code: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: string message = 2;
|
|
87
|
+
*/
|
|
88
|
+
message: string;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationError.
|
|
93
|
+
* Use `create(RegistrationErrorSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export declare const RegistrationErrorSchema: GenMessage<RegistrationError>;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Streamed response: server sends zero or more RegistrationProgress messages,
|
|
99
|
+
* then exactly one RegistrationComplete or RegistrationError, then closes.
|
|
100
|
+
*
|
|
101
|
+
* @generated from message kusinta.iot.registration.v1.RegistrationResponse
|
|
102
|
+
*/
|
|
103
|
+
export declare type RegistrationResponse = Message<"kusinta.iot.registration.v1.RegistrationResponse"> & {
|
|
104
|
+
/**
|
|
105
|
+
* @generated from oneof kusinta.iot.registration.v1.RegistrationResponse.event
|
|
106
|
+
*/
|
|
107
|
+
event: {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: kusinta.iot.registration.v1.RegistrationProgress progress = 1;
|
|
110
|
+
*/
|
|
111
|
+
value: RegistrationProgress;
|
|
112
|
+
case: "progress";
|
|
113
|
+
} | {
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: kusinta.iot.registration.v1.RegistrationComplete complete = 2;
|
|
116
|
+
*/
|
|
117
|
+
value: RegistrationComplete;
|
|
118
|
+
case: "complete";
|
|
119
|
+
} | {
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: kusinta.iot.registration.v1.RegistrationError error = 3;
|
|
122
|
+
*/
|
|
123
|
+
value: RegistrationError;
|
|
124
|
+
case: "error";
|
|
125
|
+
} | { case: undefined; value?: undefined };
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationResponse.
|
|
130
|
+
* Use `create(RegistrationResponseSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const RegistrationResponseSchema: GenMessage<RegistrationResponse>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message kusinta.iot.registration.v1.CertRenewalRequest
|
|
136
|
+
*/
|
|
137
|
+
export declare type CertRenewalRequest = Message<"kusinta.iot.registration.v1.CertRenewalRequest"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string csr_pem = 1;
|
|
140
|
+
*/
|
|
141
|
+
csrPem: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message kusinta.iot.registration.v1.CertRenewalRequest.
|
|
146
|
+
* Use `create(CertRenewalRequestSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export declare const CertRenewalRequestSchema: GenMessage<CertRenewalRequest>;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from message kusinta.iot.registration.v1.CertRenewalResponse
|
|
152
|
+
*/
|
|
153
|
+
export declare type CertRenewalResponse = Message<"kusinta.iot.registration.v1.CertRenewalResponse"> & {
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string certificate_pem = 1;
|
|
156
|
+
*/
|
|
157
|
+
certificatePem: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: string ca_bundle_pem = 2;
|
|
161
|
+
*/
|
|
162
|
+
caBundlePem: string;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message kusinta.iot.registration.v1.CertRenewalResponse.
|
|
167
|
+
* Use `create(CertRenewalResponseSchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
export declare const CertRenewalResponseSchema: GenMessage<CertRenewalResponse>;
|
|
170
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/registration/v1/registration.proto (package kusinta.iot.registration.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file kusinta/iot/registration/v1/registration.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_kusinta_iot_registration_v1_registration = /*@__PURE__*/
|
|
11
|
+
fileDesc("Ci5rdXNpbnRhL2lvdC9yZWdpc3RyYXRpb24vdjEvcmVnaXN0cmF0aW9uLnByb3RvEhtrdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEiVwoTUmVnaXN0cmF0aW9uUmVxdWVzdBIaChJyZWdpc3RyYXRpb25fdG9rZW4YASABKAkSEwoLZXh0ZXJuYWxfaXAYAiABKAkSDwoHY3NyX3BlbRgDIAEoCSIkChRSZWdpc3RyYXRpb25Qcm9ncmVzcxIMCgRzdGVwGAEgASgJIkYKFFJlZ2lzdHJhdGlvbkNvbXBsZXRlEhcKD2NlcnRpZmljYXRlX3BlbRgBIAEoCRIVCg1jYV9idW5kbGVfcGVtGAIgASgJIjIKEVJlZ2lzdHJhdGlvbkVycm9yEgwKBGNvZGUYASABKAkSDwoHbWVzc2FnZRgCIAEoCSLuAQoUUmVnaXN0cmF0aW9uUmVzcG9uc2USRQoIcHJvZ3Jlc3MYASABKAsyMS5rdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEuUmVnaXN0cmF0aW9uUHJvZ3Jlc3NIABJFCghjb21wbGV0ZRgCIAEoCzIxLmt1c2ludGEuaW90LnJlZ2lzdHJhdGlvbi52MS5SZWdpc3RyYXRpb25Db21wbGV0ZUgAEj8KBWVycm9yGAMgASgLMi4ua3VzaW50YS5pb3QucmVnaXN0cmF0aW9uLnYxLlJlZ2lzdHJhdGlvbkVycm9ySABCBwoFZXZlbnQiJQoSQ2VydFJlbmV3YWxSZXF1ZXN0Eg8KB2Nzcl9wZW0YASABKAkiRQoTQ2VydFJlbmV3YWxSZXNwb25zZRIXCg9jZXJ0aWZpY2F0ZV9wZW0YASABKAkSFQoNY2FfYnVuZGxlX3BlbRgCIAEoCUICSAFiBnByb3RvMw");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationRequest.
|
|
15
|
+
* Use `create(RegistrationRequestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const RegistrationRequestSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_kusinta_iot_registration_v1_registration, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationProgress.
|
|
22
|
+
* Use `create(RegistrationProgressSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const RegistrationProgressSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_kusinta_iot_registration_v1_registration, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationComplete.
|
|
29
|
+
* Use `create(RegistrationCompleteSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const RegistrationCompleteSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_kusinta_iot_registration_v1_registration, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationError.
|
|
36
|
+
* Use `create(RegistrationErrorSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const RegistrationErrorSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_kusinta_iot_registration_v1_registration, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message kusinta.iot.registration.v1.RegistrationResponse.
|
|
43
|
+
* Use `create(RegistrationResponseSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const RegistrationResponseSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_kusinta_iot_registration_v1_registration, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message kusinta.iot.registration.v1.CertRenewalRequest.
|
|
50
|
+
* Use `create(CertRenewalRequestSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const CertRenewalRequestSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_kusinta_iot_registration_v1_registration, 5);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message kusinta.iot.registration.v1.CertRenewalResponse.
|
|
57
|
+
* Use `create(CertRenewalResponseSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const CertRenewalResponseSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_kusinta_iot_registration_v1_registration, 6);
|
|
61
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/registration/v1/registration_service.proto (package kusinta.iot.registration.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { CertRenewalRequestSchema, CertRenewalResponseSchema, RegistrationRequestSchema, RegistrationResponseSchema } from "./registration_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/registration/v1/registration_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_registration_v1_registration_service: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from service kusinta.iot.registration.v1.GatewayRegistrationService
|
|
15
|
+
*/
|
|
16
|
+
export declare const GatewayRegistrationService: GenService<{
|
|
17
|
+
/**
|
|
18
|
+
* @generated from rpc kusinta.iot.registration.v1.GatewayRegistrationService.Registration
|
|
19
|
+
*/
|
|
20
|
+
registration: {
|
|
21
|
+
methodKind: "server_streaming";
|
|
22
|
+
input: typeof RegistrationRequestSchema;
|
|
23
|
+
output: typeof RegistrationResponseSchema;
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* @generated from rpc kusinta.iot.registration.v1.GatewayRegistrationService.CertRenewal
|
|
27
|
+
*/
|
|
28
|
+
certRenewal: {
|
|
29
|
+
methodKind: "unary";
|
|
30
|
+
input: typeof CertRenewalRequestSchema;
|
|
31
|
+
output: typeof CertRenewalResponseSchema;
|
|
32
|
+
},
|
|
33
|
+
}>;
|
|
34
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/registration/v1/registration_service.proto (package kusinta.iot.registration.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_registration_v1_registration } from "./registration_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/registration/v1/registration_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_kusinta_iot_registration_v1_registration_service = /*@__PURE__*/
|
|
12
|
+
fileDesc("CjZrdXNpbnRhL2lvdC9yZWdpc3RyYXRpb24vdjEvcmVnaXN0cmF0aW9uX3NlcnZpY2UucHJvdG8SG2t1c2ludGEuaW90LnJlZ2lzdHJhdGlvbi52MTKFAgoaR2F0ZXdheVJlZ2lzdHJhdGlvblNlcnZpY2USdQoMUmVnaXN0cmF0aW9uEjAua3VzaW50YS5pb3QucmVnaXN0cmF0aW9uLnYxLlJlZ2lzdHJhdGlvblJlcXVlc3QaMS5rdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEuUmVnaXN0cmF0aW9uUmVzcG9uc2UwARJwCgtDZXJ0UmVuZXdhbBIvLmt1c2ludGEuaW90LnJlZ2lzdHJhdGlvbi52MS5DZXJ0UmVuZXdhbFJlcXVlc3QaMC5rdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEuQ2VydFJlbmV3YWxSZXNwb25zZUICSAFiBnByb3RvMw", [file_kusinta_iot_registration_v1_registration]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from service kusinta.iot.registration.v1.GatewayRegistrationService
|
|
16
|
+
*/
|
|
17
|
+
export const GatewayRegistrationService = /*@__PURE__*/
|
|
18
|
+
serviceDesc(file_kusinta_iot_registration_v1_registration_service, 0);
|
|
19
|
+
|