@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.
- package/package.json +13 -2
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +230 -11
- package/src/kusinta/iot/access/v1/acl_pb.js +25 -4
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +95 -2
- package/src/kusinta/iot/access/v1/roles_pb.js +37 -1
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +60 -30
- package/src/kusinta/iot/connector/v1/connector_pb.js +12 -11
- package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +5 -5
- package/src/kusinta/iot/connector/v1/connector_service_pb.js +1 -1
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +238 -0
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +54 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +37 -8
- package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
- package/src/kusinta/iot/device/v1/device_event_pb.d.ts +162 -0
- package/src/kusinta/iot/device/v1/device_event_pb.js +45 -0
- package/src/kusinta/iot/device/v1/device_pb.d.ts +154 -28
- package/src/kusinta/iot/device/v1/device_pb.js +10 -2
- package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +84 -0
- package/src/kusinta/iot/device/v1/matter_options_pb.js +91 -0
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +228 -207
- package/src/kusinta/iot/device/v1/properties_pb.js +9 -1
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +197 -8
- package/src/kusinta/iot/device/v1/property_update_pb.js +20 -2
- 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 +320 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +83 -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/vendor/homematic/v1/homematic_pb.d.ts +65 -47
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -7
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +50 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +53 -0
- package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +152 -0
- package/src/kusinta/iot/webrtc/v1/app_token_pb.js +28 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +276 -39
- package/src/kusinta/iot/webrtc/v1/command_pb.js +28 -2
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +76 -7
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +19 -4
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +371 -24
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +68 -5
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +451 -0
- package/src/kusinta/iot/webrtc/v1/management_pb.js +106 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +7 -1
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_device_v1_matter_options } from "./matter_options_pb.js";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file kusinta/iot/device/v1/properties.proto.
|
|
9
10
|
*/
|
|
10
11
|
export const file_kusinta_iot_device_v1_properties = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
12
|
+
fileDesc("CiZrdXNpbnRhL2lvdC9kZXZpY2UvdjEvcHJvcGVydGllcy5wcm90bxIVa3VzaW50YS5pb3QuZGV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
|
14
15
|
* Describes the message kusinta.iot.device.v1.ThermostatProperties.
|
|
@@ -94,3 +95,10 @@ export const EnergySensorPropertiesSchema = /*@__PURE__*/
|
|
|
94
95
|
export const PressureSensorPropertiesSchema = /*@__PURE__*/
|
|
95
96
|
messageDesc(file_kusinta_iot_device_v1_properties, 11);
|
|
96
97
|
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message kusinta.iot.device.v1.PowerSourceProperties.
|
|
100
|
+
* Use `create(PowerSourcePropertiesSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export const PowerSourcePropertiesSchema = /*@__PURE__*/
|
|
103
|
+
messageDesc(file_kusinta_iot_device_v1_properties, 12);
|
|
104
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
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
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
7
|
import type { DeviceId } from "../../identity/v1/identity_pb.js";
|
|
8
8
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -14,9 +14,76 @@ export declare const file_kusinta_iot_device_v1_property_update: GenFile;
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* PropertyUpdate carries a single attribute change from connector to gateway,
|
|
17
|
-
* or from gateway to
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* or from gateway to app.
|
|
18
|
+
*
|
|
19
|
+
* Resolution rule (normative)
|
|
20
|
+
*
|
|
21
|
+
* A consumer storing an update into a device.v1.Device resolves it in three steps, all by
|
|
22
|
+
* reading options off the descriptor. No step involves transforming a name.
|
|
23
|
+
*
|
|
24
|
+
* 1. Pick the endpoint: the Device.endpoints entry whose endpoint_id equals the update's
|
|
25
|
+
* endpoint_id.
|
|
26
|
+
* 2. Pick the message. Two branches, chosen by whether vendor_extension is set:
|
|
27
|
+
* - absent (Matter): the Endpoint.matter_properties case whose message type declares
|
|
28
|
+
* (matter_device_type) == Endpoint.matter_device_type_id.
|
|
29
|
+
* - present (vendor): the Endpoint.vendor_properties case whose message type declares
|
|
30
|
+
* (vendor_extension) == the update's vendor_extension.
|
|
31
|
+
* 3. Pick the field:
|
|
32
|
+
* - Matter branch: the one field whose (matter_cluster_id) equals cluster_id AND
|
|
33
|
+
* whose (matter_attribute_id) equals attribute_id.
|
|
34
|
+
* - Vendor branch: the one field whose (vendor_attribute) equals attribute_name.
|
|
35
|
+
* cluster_id and attribute_id play no part; a vendor parameter has no Matter
|
|
36
|
+
* cluster.
|
|
37
|
+
*
|
|
38
|
+
* Both branches are the same shape: pick a message by a message option, then one field by
|
|
39
|
+
* a field option. Nothing nests, and nothing is searched recursively.
|
|
40
|
+
*
|
|
41
|
+
* Steps 2 and 3 depend only on the schema, never on the update: both maps are fixed at
|
|
42
|
+
* compile time. Build them ONCE at startup — a device-type-to-case map and a
|
|
43
|
+
* vendor-key-to-case map, plus a (cluster_id, attribute_id) map per message — and resolve
|
|
44
|
+
* with lookups. Only step 1 reads per-device data.
|
|
45
|
+
*
|
|
46
|
+
* Falling through to the generic carrier
|
|
47
|
+
*
|
|
48
|
+
* On the MATTER branch, failing step 2 or 3 is NOT a miss. It means the schema does not
|
|
49
|
+
* model this device type, or models it without this attribute — both legitimate, and both
|
|
50
|
+
* have a home: store the value into the endpoint's ClusterState for cluster_id, as an
|
|
51
|
+
* AttributeState with this attribute_id. See cluster_state.proto.
|
|
52
|
+
*
|
|
53
|
+
* This is the one-value-one-place rule in force. An attribute with a typed field is
|
|
54
|
+
* stored there and MUST NOT also appear in ClusterState.attributes; an attribute without
|
|
55
|
+
* one is stored generically and appears nowhere else. A consumer reading a value looks in
|
|
56
|
+
* the typed field first and the cluster carrier second, and never has to reconcile two
|
|
57
|
+
* answers.
|
|
58
|
+
*
|
|
59
|
+
* Cluster metadata is not subject to that rule: a ClusterState entry may exist for a fully
|
|
60
|
+
* modelled cluster in order to carry its cluster_revision, feature_map and
|
|
61
|
+
* accepted_command_ids.
|
|
62
|
+
*
|
|
63
|
+
* What remains a miss
|
|
64
|
+
*
|
|
65
|
+
* An update naming an endpoint the device does not have, or a vendor extension or vendor
|
|
66
|
+
* attribute that resolves to nothing. Those are not storable and MUST NOT be dropped
|
|
67
|
+
* silently: log at warning with device_id, endpoint_id, cluster_id and attribute_id, and
|
|
68
|
+
* count it. A miss now means a real disagreement about the device's shape, rather than
|
|
69
|
+
* merely an attribute this schema has not got around to modelling.
|
|
70
|
+
*
|
|
71
|
+
* Advancing Device.last_seen on a miss is correct; the update is still evidence of life.
|
|
72
|
+
*
|
|
73
|
+
* Addressing
|
|
74
|
+
*
|
|
75
|
+
* Matter addresses attributes numerically and so does this schema: cluster_id and
|
|
76
|
+
* attribute_id are what resolution matches on, and both are required on the Matter branch.
|
|
77
|
+
* Numeric because the generic carrier must address attributes of clusters this schema does
|
|
78
|
+
* not model, and a vendor-defined cluster has no specification name to address it by — two
|
|
79
|
+
* addressing schemes would be worse than one.
|
|
80
|
+
*
|
|
81
|
+
* attribute_name is the attribute's own spelling, carried for logs and for anything
|
|
82
|
+
* rendering to a human. On the Matter branch it is optional and plays no part in
|
|
83
|
+
* resolution. On the VENDOR branch it is required and is what resolution matches, because
|
|
84
|
+
* a vendor parameter has no numeric ID in any specification — there, it is the vendor's own
|
|
85
|
+
* spelling exactly ("LEVEL", not "level").
|
|
86
|
+
*
|
|
20
87
|
*
|
|
21
88
|
* @generated from message kusinta.iot.device.v1.PropertyUpdate
|
|
22
89
|
*/
|
|
@@ -27,9 +94,14 @@ export declare type PropertyUpdate = Message<"kusinta.iot.device.v1.PropertyUpda
|
|
|
27
94
|
deviceId?: DeviceId | undefined;
|
|
28
95
|
|
|
29
96
|
/**
|
|
30
|
-
*
|
|
97
|
+
* The attribute's own spelling. Required on the vendor branch, where it is what
|
|
98
|
+
* resolution matches. Optional on the Matter branch, where attribute_id resolves and this
|
|
99
|
+
* is for logs — but send it there too when it is known: it is what makes an unresolvable
|
|
100
|
+
* update legible to whoever reads the warning.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: optional string attribute_name = 2;
|
|
31
103
|
*/
|
|
32
|
-
attributeName
|
|
104
|
+
attributeName?: string | undefined;
|
|
33
105
|
|
|
34
106
|
/**
|
|
35
107
|
* @generated from oneof kusinta.iot.device.v1.PropertyUpdate.value
|
|
@@ -78,9 +150,73 @@ export declare type PropertyUpdate = Message<"kusinta.iot.device.v1.PropertyUpda
|
|
|
78
150
|
timestamp?: Timestamp | undefined;
|
|
79
151
|
|
|
80
152
|
/**
|
|
81
|
-
*
|
|
153
|
+
* How much the producer believes this value. Unset means no claim, which is how every
|
|
154
|
+
* producer written before this field behaved, so a consumer that ignores it and a
|
|
155
|
+
* producer that never sets it both behave exactly as they did.
|
|
156
|
+
*
|
|
157
|
+
* Snapshots carry no provenance. Endpoint.matter_properties is a typed message whose fields
|
|
158
|
+
* hold a value and nothing else, so a gateway MUST NOT store an OPTIMISTIC value into
|
|
159
|
+
* its registry: an app reconnecting mid-window would receive it restated as plain
|
|
160
|
+
* fact. A snapshot is a statement of what has been confirmed. A reconnect during an
|
|
161
|
+
* optimistic window therefore shows the last confirmed value, and the correction or
|
|
162
|
+
* confirmation arrives on the live path as it would have anyway.
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: kusinta.iot.device.v1.ValueProvenance provenance = 11;
|
|
165
|
+
*/
|
|
166
|
+
provenance: ValueProvenance;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Which endpoint of the device this attribute belongs to. Required by rule — proto3 has
|
|
170
|
+
* no `required`, and `optional` is what makes "not stated" representable so a consumer
|
|
171
|
+
* can reject it. An update that names no endpoint is a miss, logged like any other
|
|
172
|
+
* unresolvable update.
|
|
173
|
+
*
|
|
174
|
+
* Not defaulted to the primary endpoint. That fallback passes every test on a
|
|
175
|
+
* single-endpoint device and misroutes on the day one grows a second, which is
|
|
176
|
+
* precisely the class of silent failure this rule exists to prevent. Explicit presence
|
|
177
|
+
* rather than treating 0 as "unset": 0 is the Matter root node, and a reserved-zero
|
|
178
|
+
* sentinel is the pattern this schema has been removing, not adding.
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: optional uint32 endpoint_id = 12;
|
|
181
|
+
*/
|
|
182
|
+
endpointId?: number | undefined;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Set to route this update down the vendor branch of step 2, naming the extension by
|
|
186
|
+
* its (vendor_extension) key — e.g. "homematic.thermostat". Absent means the Matter
|
|
187
|
+
* branch, which
|
|
188
|
+
* is what every update carried before this field existed.
|
|
189
|
+
*
|
|
190
|
+
* A vendor parameter has no Matter cluster, so cluster_id stays unset here.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: optional string vendor_extension = 13;
|
|
193
|
+
*/
|
|
194
|
+
vendorExtension?: string | undefined;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* The Matter cluster this attribute belongs to, e.g. 0x0201 for Thermostat. Compared
|
|
198
|
+
* directly against (matter_cluster_id), which is a uint32 too — a hex string on the
|
|
199
|
+
* wire meant every consumer parsed it on every update just to compare it with a number
|
|
200
|
+
* the descriptor already held, and it invented questions the wire should not ask
|
|
201
|
+
* ("0201" vs "201" vs "0x0201", upper or lower case).
|
|
202
|
+
*
|
|
203
|
+
* Required on the Matter branch, unset on the vendor branch: a vendor parameter has no
|
|
204
|
+
* Matter cluster.
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: optional uint32 cluster_id = 14;
|
|
207
|
+
*/
|
|
208
|
+
clusterId?: number | undefined;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* The Matter attribute ID within that cluster, e.g. 0x0012 for OccupiedHeatingSetpoint.
|
|
212
|
+
* What step 3 matches against (matter_attribute_id) on the Matter branch, and what
|
|
213
|
+
* addresses an attribute of a cluster this schema does not model.
|
|
214
|
+
*
|
|
215
|
+
* Required on the Matter branch, unset on the vendor branch.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: optional uint32 attribute_id = 15;
|
|
82
218
|
*/
|
|
83
|
-
|
|
219
|
+
attributeId?: number | undefined;
|
|
84
220
|
};
|
|
85
221
|
|
|
86
222
|
/**
|
|
@@ -110,3 +246,56 @@ export declare type PropertyUpdateBatch = Message<"kusinta.iot.device.v1.Propert
|
|
|
110
246
|
*/
|
|
111
247
|
export declare const PropertyUpdateBatchSchema: GenMessage<PropertyUpdateBatch>;
|
|
112
248
|
|
|
249
|
+
/**
|
|
250
|
+
* ValueProvenance says where a reported value came from and how much its producer
|
|
251
|
+
* believes it. Without it an optimistically-applied value and a genuine device reading
|
|
252
|
+
* are indistinguishable, and a consumer's only options are to present an unconfirmed
|
|
253
|
+
* value as settled or to hardcode a settle window chasing a rollback timer in someone
|
|
254
|
+
* else's codebase.
|
|
255
|
+
*
|
|
256
|
+
* @generated from enum kusinta.iot.device.v1.ValueProvenance
|
|
257
|
+
*/
|
|
258
|
+
export enum ValueProvenance {
|
|
259
|
+
/**
|
|
260
|
+
* No claim. This is what a producer that says nothing means, and it is the meaning
|
|
261
|
+
* every update carried before this field existed — treat it as "unknown", not as
|
|
262
|
+
* "confirmed".
|
|
263
|
+
*
|
|
264
|
+
* @generated from enum value: VALUE_PROVENANCE_UNSPECIFIED = 0;
|
|
265
|
+
*/
|
|
266
|
+
UNSPECIFIED = 0,
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* The device itself reported this value. The default for any connector whose upstream
|
|
270
|
+
* only publishes what it has actually read.
|
|
271
|
+
*
|
|
272
|
+
* @generated from enum value: VALUE_PROVENANCE_CONFIRMED = 1;
|
|
273
|
+
*/
|
|
274
|
+
CONFIRMED = 1,
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Written and accepted, not yet confirmed by the device. An upstream system applied
|
|
278
|
+
* the value optimistically and started its own rollback timer; the device may be
|
|
279
|
+
* asleep and may never take it. A consumer SHOULD render this as provisional.
|
|
280
|
+
*
|
|
281
|
+
* @generated from enum value: VALUE_PROVENANCE_OPTIMISTIC = 2;
|
|
282
|
+
*/
|
|
283
|
+
OPTIMISTIC = 2,
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* An optimistic value that did not hold: the device never confirmed and the upstream
|
|
287
|
+
* system restored the previous value. Deliberately distinct from CONFIRMED — a
|
|
288
|
+
* restored value is the producer's belief, not a fresh device reading, and conflating
|
|
289
|
+
* the two rebuilds the same ambiguity one level down. It is what lets a consumer show
|
|
290
|
+
* a rollback as a rollback rather than as a value that inexplicably moved.
|
|
291
|
+
*
|
|
292
|
+
* @generated from enum value: VALUE_PROVENANCE_CORRECTED = 3;
|
|
293
|
+
*/
|
|
294
|
+
CORRECTED = 3,
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Describes the enum kusinta.iot.device.v1.ValueProvenance.
|
|
299
|
+
*/
|
|
300
|
+
export declare const ValueProvenanceSchema: GenEnum<ValueProvenance>;
|
|
301
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
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
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identit
|
|
|
10
10
|
* Describes the file kusinta/iot/device/v1/property_update.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_kusin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J1Zi5UaW1lc3RhbXAqlAEKD1ZhbHVlUHJvdmVuYW5jZRIgChxWQUxVRV9QUk9WRU5BTkNFX1VOU1BFQ0lGSUVEEAASHgoaVkFMVUVfUFJPVkVOQU5DRV9DT05GSVJNRUQQARIfChtWQUxVRV9QUk9WRU5BTkNFX09QVElNSVNUSUMQAhIeChpWQUxVRV9QUk9WRU5BTkNFX0NPUlJFQ1RFRBADQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_identity_v1_identity]);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message kusinta.iot.device.v1.PropertyUpdate.
|
|
@@ -26,3 +26,21 @@ export const PropertyUpdateSchema = /*@__PURE__*/
|
|
|
26
26
|
export const PropertyUpdateBatchSchema = /*@__PURE__*/
|
|
27
27
|
messageDesc(file_kusinta_iot_device_v1_property_update, 1);
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Describes the enum kusinta.iot.device.v1.ValueProvenance.
|
|
31
|
+
*/
|
|
32
|
+
export const ValueProvenanceSchema = /*@__PURE__*/
|
|
33
|
+
enumDesc(file_kusinta_iot_device_v1_property_update, 0);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* ValueProvenance says where a reported value came from and how much its producer
|
|
37
|
+
* believes it. Without it an optimistically-applied value and a genuine device reading
|
|
38
|
+
* are indistinguishable, and a consumer's only options are to present an unconfirmed
|
|
39
|
+
* value as settled or to hardcode a settle window chasing a rollback timer in someone
|
|
40
|
+
* else's codebase.
|
|
41
|
+
*
|
|
42
|
+
* @generated from enum kusinta.iot.device.v1.ValueProvenance
|
|
43
|
+
*/
|
|
44
|
+
export const ValueProvenance = /*@__PURE__*/
|
|
45
|
+
tsEnum(ValueProvenanceSchema);
|
|
46
|
+
|
|
@@ -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
|
+
|