@kusinta/iot-schema 0.2.0-beta.4 → 0.2.0-beta.40
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 +12 -1
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +119 -2
- package/src/kusinta/iot/access/v1/acl_pb.js +20 -3
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +131 -4
- package/src/kusinta/iot/access/v1/roles_pb.js +110 -5
- package/src/kusinta/iot/accountlink/v1/account_link_pb.d.ts +583 -0
- package/src/kusinta/iot/accountlink/v1/account_link_pb.js +160 -0
- package/src/kusinta/iot/climate/v1/climate_pb.d.ts +1041 -0
- package/src/kusinta/iot/climate/v1/climate_pb.js +206 -0
- package/src/kusinta/iot/commissioning/v1/commissioning_pb.d.ts +1128 -0
- package/src/kusinta/iot/commissioning/v1/commissioning_pb.js +246 -0
- package/src/kusinta/iot/common/v1/pairing_pb.d.ts +217 -0
- package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
- package/src/kusinta/iot/common/v1/types_pb.d.ts +175 -0
- package/src/kusinta/iot/common/v1/types_pb.js +70 -1
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +691 -2
- package/src/kusinta/iot/connector/v1/connector_pb.js +104 -13
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +213 -1
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +37 -2
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +22 -2
- package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
- package/src/kusinta/iot/device/v1/device_event_pb.d.ts +87 -5
- package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
- package/src/kusinta/iot/device/v1/device_pb.d.ts +164 -11
- package/src/kusinta/iot/device/v1/device_pb.js +33 -2
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +26 -5
- package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +28 -2
- package/src/kusinta/iot/device/v1/property_update_pb.js +2 -1
- package/src/kusinta/iot/heating/v1/heating_pb.d.ts +619 -0
- package/src/kusinta/iot/heating/v1/heating_pb.js +118 -0
- package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
- package/src/kusinta/iot/link/v1/link_pb.js +121 -0
- package/src/kusinta/iot/registration/v1/registration_pb.d.ts +18 -0
- package/src/kusinta/iot/registration/v1/registration_pb.js +1 -1
- package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +1225 -0
- package/src/kusinta/iot/reporting/v1/reporting_pb.js +238 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +63 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +920 -7
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +163 -4
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
- package/src/kusinta/iot/space/v1/space_pb.d.ts +107 -2
- package/src/kusinta/iot/space/v1/space_pb.js +10 -1
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +19 -3
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +1 -1
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +4 -4
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +4 -4
- package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +48 -5
- package/src/kusinta/iot/webrtc/v1/app_token_pb.js +1 -1
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +56 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.js +1 -1
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +179 -5
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +35 -6
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +607 -3
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +68 -3
- package/src/kusinta/iot/webrtc/v1/invite_pb.d.ts +498 -0
- package/src/kusinta/iot/webrtc/v1/invite_pb.js +108 -0
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +1687 -75
- package/src/kusinta/iot/webrtc/v1/management_pb.js +261 -5
- package/src/kusinta/iot/webrtc/v1/members_pb.d.ts +536 -0
- package/src/kusinta/iot/webrtc/v1/members_pb.js +113 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +66 -4
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +10 -2
|
@@ -36,6 +36,37 @@ export declare type ErrorDetail = Message<"kusinta.iot.common.v1.ErrorDetail"> &
|
|
|
36
36
|
*/
|
|
37
37
|
export declare const ErrorDetailSchema: GenMessage<ErrorDetail>;
|
|
38
38
|
|
|
39
|
+
/**
|
|
40
|
+
* A connector's backend health, as both legs carry it: connector to gateway inside
|
|
41
|
+
* connector.v1.BackendHealthReport, and gateway to app on webrtc.v1.ConnectorDescriptor.
|
|
42
|
+
*
|
|
43
|
+
* Deliberately state and category only. A connector's free-text detail travels beside this,
|
|
44
|
+
* on the connector leg alone, and is for the gateway's logs: it may name hosts, addresses or
|
|
45
|
+
* accounts, and it never reaches the app or the cloud. Carrying only this type on the app
|
|
46
|
+
* leg is what keeps it there.
|
|
47
|
+
*
|
|
48
|
+
* @generated from message kusinta.iot.common.v1.BackendHealth
|
|
49
|
+
*/
|
|
50
|
+
export declare type BackendHealth = Message<"kusinta.iot.common.v1.BackendHealth"> & {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: kusinta.iot.common.v1.BackendHealthState state = 1;
|
|
53
|
+
*/
|
|
54
|
+
state: BackendHealthState;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Why, when state is FAILING. UNSPECIFIED otherwise, and ignored when state is not FAILING.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: kusinta.iot.common.v1.BackendFailureReason reason = 2;
|
|
60
|
+
*/
|
|
61
|
+
reason: BackendFailureReason;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message kusinta.iot.common.v1.BackendHealth.
|
|
66
|
+
* Use `create(BackendHealthSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const BackendHealthSchema: GenMessage<BackendHealth>;
|
|
69
|
+
|
|
39
70
|
/**
|
|
40
71
|
* @generated from enum kusinta.iot.common.v1.SpaceType
|
|
41
72
|
*/
|
|
@@ -161,3 +192,147 @@ export enum ConnectorTransport {
|
|
|
161
192
|
*/
|
|
162
193
|
export declare const ConnectorTransportSchema: GenEnum<ConnectorTransport>;
|
|
163
194
|
|
|
195
|
+
/**
|
|
196
|
+
* What technology a connector speaks, for an interface to pick an icon or an
|
|
197
|
+
* explanatory phrase. Presentation only, and never a behaviour gate: what a
|
|
198
|
+
* connector can do is stated by the capability booleans on ConnectorInfo
|
|
199
|
+
* (supports_pairing, supports_provisioning, brokers_links), and branching on the
|
|
200
|
+
* kind instead would hardcode vendor knowledge and force a client change for every
|
|
201
|
+
* new technology. A proto3 open enum: a reader given a value its schema predates
|
|
202
|
+
* keeps UNSPECIFIED's fallback rather than failing, which is exactly why the kind
|
|
203
|
+
* may never decide anything that matters.
|
|
204
|
+
*
|
|
205
|
+
* @generated from enum kusinta.iot.common.v1.ConnectorKind
|
|
206
|
+
*/
|
|
207
|
+
export enum ConnectorKind {
|
|
208
|
+
/**
|
|
209
|
+
* @generated from enum value: CONNECTOR_KIND_UNSPECIFIED = 0;
|
|
210
|
+
*/
|
|
211
|
+
UNSPECIFIED = 0,
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @generated from enum value: CONNECTOR_KIND_HOMEMATIC_IP = 1;
|
|
215
|
+
*/
|
|
216
|
+
HOMEMATIC_IP = 1,
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from enum value: CONNECTOR_KIND_LORAWAN = 2;
|
|
220
|
+
*/
|
|
221
|
+
LORAWAN = 2,
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Describes the enum kusinta.iot.common.v1.ConnectorKind.
|
|
226
|
+
*/
|
|
227
|
+
export declare const ConnectorKindSchema: GenEnum<ConnectorKind>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Whether the backend a connector drives is working: the radio central, the network server,
|
|
231
|
+
* whatever the connector talks to on the far side from the gateway. Distinct from whether
|
|
232
|
+
* the connector itself is connected — that is the gateway↔connector stream, and a connector
|
|
233
|
+
* whose stream is down states nothing at all.
|
|
234
|
+
*
|
|
235
|
+
* Open, like every proto3 enum: a reader given a value its schema predates holds the number.
|
|
236
|
+
* Every reader treats anything but FAILING as healthy, so a state added later must be one an
|
|
237
|
+
* older reader may safely take for OK. A new way of failing is a new BackendFailureReason
|
|
238
|
+
* under FAILING, never a new state.
|
|
239
|
+
*
|
|
240
|
+
* @generated from enum kusinta.iot.common.v1.BackendHealthState
|
|
241
|
+
*/
|
|
242
|
+
export enum BackendHealthState {
|
|
243
|
+
/**
|
|
244
|
+
* No statement. Read as OK: a connector that predates backend health, or one whose backend
|
|
245
|
+
* is still in doubt as it handshakes (see connector.v1.BackendHealthReport), has said
|
|
246
|
+
* nothing is wrong.
|
|
247
|
+
*
|
|
248
|
+
* @generated from enum value: BACKEND_HEALTH_STATE_UNSPECIFIED = 0;
|
|
249
|
+
*/
|
|
250
|
+
UNSPECIFIED = 0,
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The backend is reachable and answering.
|
|
254
|
+
*
|
|
255
|
+
* @generated from enum value: BACKEND_HEALTH_STATE_OK = 1;
|
|
256
|
+
*/
|
|
257
|
+
OK = 1,
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* The backend is failing, and not for a single dropped call: it has been in doubt for 60
|
|
261
|
+
* seconds within the last 120 (see connector.v1.BackendHealthReport), or the connector's own
|
|
262
|
+
* retries are used up, or a requested re-initialisation
|
|
263
|
+
* left it failing (see connector.v1.BackendHealthReport). The connector stays connected to
|
|
264
|
+
* the gateway.
|
|
265
|
+
*
|
|
266
|
+
* @generated from enum value: BACKEND_HEALTH_STATE_FAILING = 2;
|
|
267
|
+
*/
|
|
268
|
+
FAILING = 2,
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Describes the enum kusinta.iot.common.v1.BackendHealthState.
|
|
273
|
+
*/
|
|
274
|
+
export declare const BackendHealthStateSchema: GenEnum<BackendHealthState>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Why a backend is failing, or why a re-initialisation could not be attempted. Coarse on
|
|
278
|
+
* purpose: each value answers "what should someone do now?", and the specifics belong in a
|
|
279
|
+
* connector's log-only detail, never here.
|
|
280
|
+
*
|
|
281
|
+
* Shared rather than mirrored, for the reason PairingError gives: the connector produces it
|
|
282
|
+
* and the gateway passes it through unchanged.
|
|
283
|
+
*
|
|
284
|
+
* @generated from enum kusinta.iot.common.v1.BackendFailureReason
|
|
285
|
+
*/
|
|
286
|
+
export enum BackendFailureReason {
|
|
287
|
+
/**
|
|
288
|
+
* Not stated, or a value this reader's schema does not know. Read as BACKEND_ERROR.
|
|
289
|
+
*
|
|
290
|
+
* @generated from enum value: BACKEND_FAILURE_REASON_UNSPECIFIED = 0;
|
|
291
|
+
*/
|
|
292
|
+
UNSPECIFIED = 0,
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* The backend cannot be reached: no route, connection refused, no answer. Often a power or
|
|
296
|
+
* network fault at the backend's side; a re-initialisation may help once that is fixed.
|
|
297
|
+
*
|
|
298
|
+
* @generated from enum value: BACKEND_FAILURE_REASON_UNREACHABLE = 1;
|
|
299
|
+
*/
|
|
300
|
+
UNREACHABLE = 1,
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The backend answered and refused the connector's credentials. Retrying the same
|
|
304
|
+
* credentials will not help; someone must change them.
|
|
305
|
+
*
|
|
306
|
+
* @generated from enum value: BACKEND_FAILURE_REASON_AUTH_FAILED = 2;
|
|
307
|
+
*/
|
|
308
|
+
AUTH_FAILED = 2,
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* The backend is reached and authenticated, but answers with errors or not as the connector
|
|
312
|
+
* expects: a fault on the backend's side, or a version the connector does not understand.
|
|
313
|
+
*
|
|
314
|
+
* @generated from enum value: BACKEND_FAILURE_REASON_BACKEND_ERROR = 3;
|
|
315
|
+
*/
|
|
316
|
+
BACKEND_ERROR = 3,
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* The connector lacks what it needs to reach the backend at all: an address, credentials.
|
|
320
|
+
* Needs an installer, not a retry.
|
|
321
|
+
*
|
|
322
|
+
* @generated from enum value: BACKEND_FAILURE_REASON_MISCONFIGURED = 4;
|
|
323
|
+
*/
|
|
324
|
+
MISCONFIGURED = 4,
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* A fault in the connector itself, not in the backend.
|
|
328
|
+
*
|
|
329
|
+
* @generated from enum value: BACKEND_FAILURE_REASON_INTERNAL = 5;
|
|
330
|
+
*/
|
|
331
|
+
INTERNAL = 5,
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Describes the enum kusinta.iot.common.v1.BackendFailureReason.
|
|
336
|
+
*/
|
|
337
|
+
export declare const BackendFailureReasonSchema: GenEnum<BackendFailureReason>;
|
|
338
|
+
|
|
@@ -8,7 +8,7 @@ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/code
|
|
|
8
8
|
* Describes the file kusinta/iot/common/v1/types.proto.
|
|
9
9
|
*/
|
|
10
10
|
export const file_kusinta_iot_common_v1_types = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
11
|
+
fileDesc("CiFrdXNpbnRhL2lvdC9jb21tb24vdjEvdHlwZXMucHJvdG8SFWt1c2ludGEuaW90LmNvbW1vbi52MSKhAQoLRXJyb3JEZXRhaWwSDAoEY29kZRgBIAEoCRIPCgdtZXNzYWdlGAIgASgJEkIKCG1ldGFkYXRhGAMgAygLMjAua3VzaW50YS5pb3QuY29tbW9uLnYxLkVycm9yRGV0YWlsLk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIoYBCg1CYWNrZW5kSGVhbHRoEjgKBXN0YXRlGAEgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkJhY2tlbmRIZWFsdGhTdGF0ZRI7CgZyZWFzb24YAiABKA4yKy5rdXNpbnRhLmlvdC5jb21tb24udjEuQmFja2VuZEZhaWx1cmVSZWFzb24qoQEKCVNwYWNlVHlwZRIaChZTUEFDRV9UWVBFX1VOU1BFQ0lGSUVEEAASFwoTU1BBQ0VfVFlQRV9CVUlMRElORxABEhQKEFNQQUNFX1RZUEVfRkxPT1IQAhIYChRTUEFDRV9UWVBFX0FQQVJUTUVOVBADEhMKD1NQQUNFX1RZUEVfUk9PTRAEEhoKFlNQQUNFX1RZUEVfQ09NTU9OX0FSRUEQBSqDAQoTRGV2aWNlT3duZXJzaGlwVHlwZRIlCiFERVZJQ0VfT1dORVJTSElQX1RZUEVfVU5TUEVDSUZJRUQQABIhCh1ERVZJQ0VfT1dORVJTSElQX1RZUEVfQ09NUEFOWRABEiIKHkRFVklDRV9PV05FUlNISVBfVFlQRV9SRVNJREVOVBACKuEBChREZXZpY2VMaWZlY3ljbGVTdGF0ZRImCiJERVZJQ0VfTElGRUNZQ0xFX1NUQVRFX1VOU1BFQ0lGSUVEEAASKAokREVWSUNFX0xJRkVDWUNMRV9TVEFURV9QRU5ESU5HX0NMQUlNEAESIAocREVWSUNFX0xJRkVDWUNMRV9TVEFURV9PV05FRBACEisKJ0RFVklDRV9MSUZFQ1lDTEVfU1RBVEVfUEVORElOR19UUkFOU0ZFUhADEigKJERFVklDRV9MSUZFQ1lDTEVfU1RBVEVfQlVJTERJTkdfUE9PTBAEKoABChJDb25uZWN0b3JUcmFuc3BvcnQSIwofQ09OTkVDVE9SX1RSQU5TUE9SVF9VTlNQRUNJRklFRBAAEiMKH0NPTk5FQ1RPUl9UUkFOU1BPUlRfVU5JWF9TT0NLRVQQARIgChxDT05ORUNUT1JfVFJBTlNQT1JUX01UTFNfVENQEAIqbAoNQ29ubmVjdG9yS2luZBIeChpDT05ORUNUT1JfS0lORF9VTlNQRUNJRklFRBAAEh8KG0NPTk5FQ1RPUl9LSU5EX0hPTUVNQVRJQ19JUBABEhoKFkNPTk5FQ1RPUl9LSU5EX0xPUkFXQU4QAip5ChJCYWNrZW5kSGVhbHRoU3RhdGUSJAogQkFDS0VORF9IRUFMVEhfU1RBVEVfVU5TUEVDSUZJRUQQABIbChdCQUNLRU5EX0hFQUxUSF9TVEFURV9PSxABEiAKHEJBQ0tFTkRfSEVBTFRIX1NUQVRFX0ZBSUxJTkcQAiqHAgoUQmFja2VuZEZhaWx1cmVSZWFzb24SJgoiQkFDS0VORF9GQUlMVVJFX1JFQVNPTl9VTlNQRUNJRklFRBAAEiYKIkJBQ0tFTkRfRkFJTFVSRV9SRUFTT05fVU5SRUFDSEFCTEUQARImCiJCQUNLRU5EX0ZBSUxVUkVfUkVBU09OX0FVVEhfRkFJTEVEEAISKAokQkFDS0VORF9GQUlMVVJFX1JFQVNPTl9CQUNLRU5EX0VSUk9SEAMSKAokQkFDS0VORF9GQUlMVVJFX1JFQVNPTl9NSVNDT05GSUdVUkVEEAQSIwofQkFDS0VORF9GQUlMVVJFX1JFQVNPTl9JTlRFUk5BTBAFQgJIAWIGcHJvdG8z");
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message kusinta.iot.common.v1.ErrorDetail.
|
|
@@ -17,6 +17,13 @@ export const file_kusinta_iot_common_v1_types = /*@__PURE__*/
|
|
|
17
17
|
export const ErrorDetailSchema = /*@__PURE__*/
|
|
18
18
|
messageDesc(file_kusinta_iot_common_v1_types, 0);
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message kusinta.iot.common.v1.BackendHealth.
|
|
22
|
+
* Use `create(BackendHealthSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const BackendHealthSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_kusinta_iot_common_v1_types, 1);
|
|
26
|
+
|
|
20
27
|
/**
|
|
21
28
|
* Describes the enum kusinta.iot.common.v1.SpaceType.
|
|
22
29
|
*/
|
|
@@ -65,3 +72,65 @@ export const ConnectorTransportSchema = /*@__PURE__*/
|
|
|
65
72
|
export const ConnectorTransport = /*@__PURE__*/
|
|
66
73
|
tsEnum(ConnectorTransportSchema);
|
|
67
74
|
|
|
75
|
+
/**
|
|
76
|
+
* Describes the enum kusinta.iot.common.v1.ConnectorKind.
|
|
77
|
+
*/
|
|
78
|
+
export const ConnectorKindSchema = /*@__PURE__*/
|
|
79
|
+
enumDesc(file_kusinta_iot_common_v1_types, 4);
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* What technology a connector speaks, for an interface to pick an icon or an
|
|
83
|
+
* explanatory phrase. Presentation only, and never a behaviour gate: what a
|
|
84
|
+
* connector can do is stated by the capability booleans on ConnectorInfo
|
|
85
|
+
* (supports_pairing, supports_provisioning, brokers_links), and branching on the
|
|
86
|
+
* kind instead would hardcode vendor knowledge and force a client change for every
|
|
87
|
+
* new technology. A proto3 open enum: a reader given a value its schema predates
|
|
88
|
+
* keeps UNSPECIFIED's fallback rather than failing, which is exactly why the kind
|
|
89
|
+
* may never decide anything that matters.
|
|
90
|
+
*
|
|
91
|
+
* @generated from enum kusinta.iot.common.v1.ConnectorKind
|
|
92
|
+
*/
|
|
93
|
+
export const ConnectorKind = /*@__PURE__*/
|
|
94
|
+
tsEnum(ConnectorKindSchema);
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the enum kusinta.iot.common.v1.BackendHealthState.
|
|
98
|
+
*/
|
|
99
|
+
export const BackendHealthStateSchema = /*@__PURE__*/
|
|
100
|
+
enumDesc(file_kusinta_iot_common_v1_types, 5);
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Whether the backend a connector drives is working: the radio central, the network server,
|
|
104
|
+
* whatever the connector talks to on the far side from the gateway. Distinct from whether
|
|
105
|
+
* the connector itself is connected — that is the gateway↔connector stream, and a connector
|
|
106
|
+
* whose stream is down states nothing at all.
|
|
107
|
+
*
|
|
108
|
+
* Open, like every proto3 enum: a reader given a value its schema predates holds the number.
|
|
109
|
+
* Every reader treats anything but FAILING as healthy, so a state added later must be one an
|
|
110
|
+
* older reader may safely take for OK. A new way of failing is a new BackendFailureReason
|
|
111
|
+
* under FAILING, never a new state.
|
|
112
|
+
*
|
|
113
|
+
* @generated from enum kusinta.iot.common.v1.BackendHealthState
|
|
114
|
+
*/
|
|
115
|
+
export const BackendHealthState = /*@__PURE__*/
|
|
116
|
+
tsEnum(BackendHealthStateSchema);
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the enum kusinta.iot.common.v1.BackendFailureReason.
|
|
120
|
+
*/
|
|
121
|
+
export const BackendFailureReasonSchema = /*@__PURE__*/
|
|
122
|
+
enumDesc(file_kusinta_iot_common_v1_types, 6);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Why a backend is failing, or why a re-initialisation could not be attempted. Coarse on
|
|
126
|
+
* purpose: each value answers "what should someone do now?", and the specifics belong in a
|
|
127
|
+
* connector's log-only detail, never here.
|
|
128
|
+
*
|
|
129
|
+
* Shared rather than mirrored, for the reason PairingError gives: the connector produces it
|
|
130
|
+
* and the gateway passes it through unchanged.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum kusinta.iot.common.v1.BackendFailureReason
|
|
133
|
+
*/
|
|
134
|
+
export const BackendFailureReason = /*@__PURE__*/
|
|
135
|
+
tsEnum(BackendFailureReasonSchema);
|
|
136
|
+
|