@kusinta/iot-schema 0.2.0-beta.5 → 0.2.0-beta.50

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 (69) hide show
  1. package/package.json +13 -1
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +138 -2
  3. package/src/kusinta/iot/access/v1/acl_pb.js +19 -2
  4. package/src/kusinta/iot/access/v1/roles_pb.d.ts +160 -4
  5. package/src/kusinta/iot/access/v1/roles_pb.js +128 -5
  6. package/src/kusinta/iot/accountlink/v1/account_link_pb.d.ts +591 -0
  7. package/src/kusinta/iot/accountlink/v1/account_link_pb.js +160 -0
  8. package/src/kusinta/iot/climate/v1/climate_pb.d.ts +1492 -0
  9. package/src/kusinta/iot/climate/v1/climate_pb.js +278 -0
  10. package/src/kusinta/iot/commissioning/v1/commissioning_pb.d.ts +1344 -0
  11. package/src/kusinta/iot/commissioning/v1/commissioning_pb.js +282 -0
  12. package/src/kusinta/iot/common/v1/pairing_pb.d.ts +217 -0
  13. package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
  14. package/src/kusinta/iot/common/v1/types_pb.d.ts +235 -0
  15. package/src/kusinta/iot/common/v1/types_pb.js +84 -2
  16. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +874 -3
  17. package/src/kusinta/iot/connector/v1/connector_pb.js +126 -13
  18. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +213 -1
  19. package/src/kusinta/iot/device/v1/cluster_state_pb.js +37 -2
  20. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +32 -4
  21. package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
  22. package/src/kusinta/iot/device/v1/device_event_pb.d.ts +89 -5
  23. package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
  24. package/src/kusinta/iot/device/v1/device_pb.d.ts +426 -11
  25. package/src/kusinta/iot/device/v1/device_pb.js +74 -2
  26. package/src/kusinta/iot/device/v1/properties_pb.d.ts +26 -5
  27. package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
  28. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +42 -2
  29. package/src/kusinta/iot/device/v1/property_update_pb.js +2 -1
  30. package/src/kusinta/iot/heating/v1/heating_pb.d.ts +656 -0
  31. package/src/kusinta/iot/heating/v1/heating_pb.js +119 -0
  32. package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
  33. package/src/kusinta/iot/link/v1/link_pb.js +121 -0
  34. package/src/kusinta/iot/registration/v1/registration_pb.d.ts +18 -0
  35. package/src/kusinta/iot/registration/v1/registration_pb.js +1 -1
  36. package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +1251 -0
  37. package/src/kusinta/iot/reporting/v1/reporting_pb.js +238 -0
  38. package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +63 -0
  39. package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
  40. package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +936 -7
  41. package/src/kusinta/iot/signaling/v1/signaling_pb.js +163 -4
  42. package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
  43. package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
  44. package/src/kusinta/iot/space/v1/space_pb.d.ts +146 -2
  45. package/src/kusinta/iot/space/v1/space_pb.js +10 -1
  46. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +15 -0
  47. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +1 -1
  48. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
  49. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
  50. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +5 -4
  51. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +5 -4
  52. package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +48 -5
  53. package/src/kusinta/iot/webrtc/v1/app_token_pb.js +1 -1
  54. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +56 -0
  55. package/src/kusinta/iot/webrtc/v1/command_pb.js +1 -1
  56. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +179 -5
  57. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +34 -5
  58. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +732 -3
  59. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +84 -4
  60. package/src/kusinta/iot/webrtc/v1/household_pb.d.ts +612 -0
  61. package/src/kusinta/iot/webrtc/v1/household_pb.js +134 -0
  62. package/src/kusinta/iot/webrtc/v1/invite_pb.d.ts +502 -0
  63. package/src/kusinta/iot/webrtc/v1/invite_pb.js +108 -0
  64. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +2149 -76
  65. package/src/kusinta/iot/webrtc/v1/management_pb.js +311 -5
  66. package/src/kusinta/iot/webrtc/v1/members_pb.d.ts +582 -0
  67. package/src/kusinta/iot/webrtc/v1/members_pb.js +113 -0
  68. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +66 -4
  69. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +9 -1
@@ -0,0 +1,1344 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/commissioning/v1/commissioning.proto (package kusinta.iot.commissioning.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import type { DeviceId, SpaceId, UserId } from "../../identity/v1/identity_pb.js";
9
+ import type { AttributeValue } from "../../device/v1/cluster_state_pb.js";
10
+
11
+ /**
12
+ * Describes the file kusinta/iot/commissioning/v1/commissioning.proto.
13
+ */
14
+ export declare const file_kusinta_iot_commissioning_v1_commissioning: GenFile;
15
+
16
+ /**
17
+ * Who answered, how and when. Set by the gateway from the caller, never taken from a put,
18
+ * save evidence.
19
+ *
20
+ * @generated from message kusinta.iot.commissioning.v1.Provenance
21
+ */
22
+ export declare type Provenance = Message<"kusinta.iot.commissioning.v1.Provenance"> & {
23
+ /**
24
+ * @generated from field: kusinta.iot.commissioning.v1.Party party = 1;
25
+ */
26
+ party: Party;
27
+
28
+ /**
29
+ * @generated from field: kusinta.iot.commissioning.v1.Evidence evidence = 2;
30
+ */
31
+ evidence: Evidence;
32
+
33
+ /**
34
+ * @generated from field: google.protobuf.Timestamp at = 3;
35
+ */
36
+ at?: Timestamp | undefined;
37
+
38
+ /**
39
+ * Unset for AUTOMATIC, and after a household handover. On a home's facts and tests it is
40
+ * given to the home's residents, and to an installer only on what that installer put,
41
+ * started or concluded; to anyone else it is left unset, with party kept.
42
+ *
43
+ * @generated from field: kusinta.iot.identity.v1.UserId by = 4;
44
+ */
45
+ by?: UserId | undefined;
46
+ };
47
+
48
+ /**
49
+ * Describes the message kusinta.iot.commissioning.v1.Provenance.
50
+ * Use `create(ProvenanceSchema)` to create a new message.
51
+ */
52
+ export declare const ProvenanceSchema: GenMessage<Provenance>;
53
+
54
+ /**
55
+ * One heating record (heating.v1), or one binding of it. An output is always named by its
56
+ * proto field name as the heating record puts name it ("output", "sg_ready_block", ...),
57
+ * even a record's only one; an empty field is the record itself, never an output.
58
+ *
59
+ * @generated from message kusinta.iot.commissioning.v1.BindingRef
60
+ */
61
+ export declare type BindingRef = Message<"kusinta.iot.commissioning.v1.BindingRef"> & {
62
+ /**
63
+ * @generated from field: string record_id = 1;
64
+ */
65
+ recordId: string;
66
+
67
+ /**
68
+ * @generated from field: string field = 2;
69
+ */
70
+ field: string;
71
+ };
72
+
73
+ /**
74
+ * Describes the message kusinta.iot.commissioning.v1.BindingRef.
75
+ * Use `create(BindingRefSchema)` to create a new message.
76
+ */
77
+ export declare const BindingRefSchema: GenMessage<BindingRef>;
78
+
79
+ /**
80
+ * One version of a house template.
81
+ *
82
+ * @generated from message kusinta.iot.commissioning.v1.TemplateRef
83
+ */
84
+ export declare type TemplateRef = Message<"kusinta.iot.commissioning.v1.TemplateRef"> & {
85
+ /**
86
+ * @generated from field: string template_id = 1;
87
+ */
88
+ templateId: string;
89
+
90
+ /**
91
+ * @generated from field: uint32 version = 2;
92
+ */
93
+ version: number;
94
+ };
95
+
96
+ /**
97
+ * Describes the message kusinta.iot.commissioning.v1.TemplateRef.
98
+ * Use `create(TemplateRefSchema)` to create a new message.
99
+ */
100
+ export declare const TemplateRefSchema: GenMessage<TemplateRef>;
101
+
102
+ /**
103
+ * @generated from message kusinta.iot.commissioning.v1.CommissioningFact
104
+ */
105
+ export declare type CommissioningFact = Message<"kusinta.iot.commissioning.v1.CommissioningFact"> & {
106
+ /**
107
+ * Assigned by the gateway, opaque; empty when creating.
108
+ *
109
+ * @generated from field: string fact_id = 1;
110
+ */
111
+ factId: string;
112
+
113
+ /**
114
+ * The space the fact is about: a building, a home or a room.
115
+ *
116
+ * @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 2;
117
+ */
118
+ spaceId?: SpaceId | undefined;
119
+
120
+ /**
121
+ * A heating record within that space the fact is about. Empty: the space itself.
122
+ *
123
+ * @generated from field: string record_id = 3;
124
+ */
125
+ recordId: string;
126
+
127
+ /**
128
+ * @generated from field: string key = 4;
129
+ */
130
+ key: string;
131
+
132
+ /**
133
+ * @generated from oneof kusinta.iot.commissioning.v1.CommissioningFact.answer
134
+ */
135
+ answer: {
136
+ /**
137
+ * @generated from field: kusinta.iot.device.v1.AttributeValue value = 5;
138
+ */
139
+ value: AttributeValue;
140
+ case: "value";
141
+ } | {
142
+ /**
143
+ * "Don't know": an answer, which lists the fact as a need for the next party who can
144
+ * answer it. Only true is sent; false is refused.
145
+ *
146
+ * @generated from field: bool unknown = 6;
147
+ */
148
+ value: boolean;
149
+ case: "unknown";
150
+ } | { case: undefined; value?: undefined };
151
+
152
+ /**
153
+ * From the gateway's catalogue.
154
+ *
155
+ * @generated from field: kusinta.iot.commissioning.v1.Party answerer = 7;
156
+ */
157
+ answerer: Party;
158
+
159
+ /**
160
+ * @generated from field: kusinta.iot.commissioning.v1.Necessity necessity = 8;
161
+ */
162
+ necessity: Necessity;
163
+
164
+ /**
165
+ * For FOR_FEATURE.
166
+ *
167
+ * @generated from field: kusinta.iot.commissioning.v1.Feature feature = 9;
168
+ */
169
+ feature: Feature;
170
+
171
+ /**
172
+ * @generated from field: kusinta.iot.commissioning.v1.Provenance provenance = 10;
173
+ */
174
+ provenance?: Provenance | undefined;
175
+
176
+ /**
177
+ * Set by the gateway and bumped by every change; a put that replaces a fact, and a
178
+ * remove, names the revision it acts on.
179
+ *
180
+ * @generated from field: uint64 revision = 13;
181
+ */
182
+ revision: bigint;
183
+
184
+ /**
185
+ * Set: this answer departs from that version of a template, the home's when it was
186
+ * recorded.
187
+ *
188
+ * @generated from field: kusinta.iot.commissioning.v1.TemplateRef deviates_from = 15;
189
+ */
190
+ deviatesFrom?: TemplateRef | undefined;
191
+
192
+ /**
193
+ * From the gateway's catalogue.
194
+ *
195
+ * @generated from field: kusinta.iot.commissioning.v1.FactTopic topic = 16;
196
+ */
197
+ topic: FactTopic;
198
+ };
199
+
200
+ /**
201
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningFact.
202
+ * Use `create(CommissioningFactSchema)` to create a new message.
203
+ */
204
+ export declare const CommissioningFactSchema: GenMessage<CommissioningFact>;
205
+
206
+ /**
207
+ * One answer in a house template.
208
+ *
209
+ * @generated from message kusinta.iot.commissioning.v1.TemplateFact
210
+ */
211
+ export declare type TemplateFact = Message<"kusinta.iot.commissioning.v1.TemplateFact"> & {
212
+ /**
213
+ * @generated from field: string key = 1;
214
+ */
215
+ key: string;
216
+
217
+ /**
218
+ * What it is about, as named on the drawing ("SL 2", "Bathroom"). Empty: the house.
219
+ *
220
+ * @generated from field: string subject_label = 2;
221
+ */
222
+ subjectLabel: string;
223
+
224
+ /**
225
+ * @generated from field: kusinta.iot.device.v1.AttributeValue value = 3;
226
+ */
227
+ value?: AttributeValue | undefined;
228
+ };
229
+
230
+ /**
231
+ * Describes the message kusinta.iot.commissioning.v1.TemplateFact.
232
+ * Use `create(TemplateFactSchema)` to create a new message.
233
+ */
234
+ export declare const TemplateFactSchema: GenMessage<TemplateFact>;
235
+
236
+ /**
237
+ * One house type of a building, as built. The owner organisation's.
238
+ *
239
+ * @generated from message kusinta.iot.commissioning.v1.HouseTemplate
240
+ */
241
+ export declare type HouseTemplate = Message<"kusinta.iot.commissioning.v1.HouseTemplate"> & {
242
+ /**
243
+ * Assigned by the gateway, opaque; empty when creating.
244
+ *
245
+ * @generated from field: string template_id = 1;
246
+ */
247
+ templateId: string;
248
+
249
+ /**
250
+ * @generated from field: kusinta.iot.identity.v1.SpaceId building_id = 2;
251
+ */
252
+ buildingId?: SpaceId | undefined;
253
+
254
+ /**
255
+ * @generated from field: string name = 3;
256
+ */
257
+ name: string;
258
+
259
+ /**
260
+ * Set by the gateway and bumped by every put; a put that replaces a template names the
261
+ * version it replaces. A version once given is never given to other content.
262
+ *
263
+ * @generated from field: uint32 version = 4;
264
+ */
265
+ version: number;
266
+
267
+ /**
268
+ * @generated from field: repeated kusinta.iot.commissioning.v1.TemplateFact facts = 5;
269
+ */
270
+ facts: TemplateFact[];
271
+
272
+ /**
273
+ * Who put this version, set by the gateway; its evidence is DRAWING. provenance.by is
274
+ * given to the owner organisation only, and left unset for residents and installers.
275
+ *
276
+ * @generated from field: kusinta.iot.commissioning.v1.Provenance provenance = 6;
277
+ */
278
+ provenance?: Provenance | undefined;
279
+ };
280
+
281
+ /**
282
+ * Describes the message kusinta.iot.commissioning.v1.HouseTemplate.
283
+ * Use `create(HouseTemplateSchema)` to create a new message.
284
+ */
285
+ export declare const HouseTemplateSchema: GenMessage<HouseTemplate>;
286
+
287
+ /**
288
+ * A fact or a test a feature needs, and who can provide it.
289
+ *
290
+ * @generated from message kusinta.iot.commissioning.v1.Need
291
+ */
292
+ export declare type Need = Message<"kusinta.iot.commissioning.v1.Need"> & {
293
+ /**
294
+ * @generated from oneof kusinta.iot.commissioning.v1.Need.what
295
+ */
296
+ what: {
297
+ /**
298
+ * @generated from field: string fact_key = 1;
299
+ */
300
+ value: string;
301
+ case: "factKey";
302
+ } | {
303
+ /**
304
+ * @generated from field: kusinta.iot.commissioning.v1.TestKind test = 2;
305
+ */
306
+ value: TestKind;
307
+ case: "test";
308
+ } | { case: undefined; value?: undefined };
309
+
310
+ /**
311
+ * What it is needed about. For a fact, CommissioningFact.space_id and record_id, with
312
+ * binding.field empty; for a test, what it runs on, as CommissioningTest.binding.
313
+ *
314
+ * @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 3;
315
+ */
316
+ spaceId?: SpaceId | undefined;
317
+
318
+ /**
319
+ * @generated from field: kusinta.iot.commissioning.v1.Party answerer = 5;
320
+ */
321
+ answerer: Party;
322
+
323
+ /**
324
+ * @generated from field: kusinta.iot.commissioning.v1.BindingRef binding = 7;
325
+ */
326
+ binding?: BindingRef | undefined;
327
+
328
+ /**
329
+ * For a fact, its CommissioningFact.topic.
330
+ *
331
+ * @generated from field: kusinta.iot.commissioning.v1.FactTopic fact_topic = 8;
332
+ */
333
+ factTopic: FactTopic;
334
+ };
335
+
336
+ /**
337
+ * Describes the message kusinta.iot.commissioning.v1.Need.
338
+ * Use `create(NeedSchema)` to create a new message.
339
+ */
340
+ export declare const NeedSchema: GenMessage<Need>;
341
+
342
+ /**
343
+ * @generated from message kusinta.iot.commissioning.v1.FeatureBlock
344
+ */
345
+ export declare type FeatureBlock = Message<"kusinta.iot.commissioning.v1.FeatureBlock"> & {
346
+ /**
347
+ * @generated from field: kusinta.iot.commissioning.v1.BlockReason reason = 1;
348
+ */
349
+ reason: BlockReason;
350
+
351
+ /**
352
+ * The binding, and the device, it is blocked on.
353
+ *
354
+ * @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 3;
355
+ */
356
+ deviceId?: DeviceId | undefined;
357
+
358
+ /**
359
+ * @generated from field: kusinta.iot.commissioning.v1.BindingRef binding = 5;
360
+ */
361
+ binding?: BindingRef | undefined;
362
+ };
363
+
364
+ /**
365
+ * Describes the message kusinta.iot.commissioning.v1.FeatureBlock.
366
+ * Use `create(FeatureBlockSchema)` to create a new message.
367
+ */
368
+ export declare const FeatureBlockSchema: GenMessage<FeatureBlock>;
369
+
370
+ /**
371
+ * One feature of one home. WORKS when every heating record of the feature in the home may
372
+ * be driven and nothing it needs is missing.
373
+ *
374
+ * @generated from message kusinta.iot.commissioning.v1.FeatureStatus
375
+ */
376
+ export declare type FeatureStatus = Message<"kusinta.iot.commissioning.v1.FeatureStatus"> & {
377
+ /**
378
+ * @generated from field: kusinta.iot.commissioning.v1.Feature feature = 1;
379
+ */
380
+ feature: Feature;
381
+
382
+ /**
383
+ * @generated from field: kusinta.iot.commissioning.v1.FeatureState state = 2;
384
+ */
385
+ state: FeatureState;
386
+
387
+ /**
388
+ * @generated from field: repeated kusinta.iot.commissioning.v1.Need needs = 3;
389
+ */
390
+ needs: Need[];
391
+
392
+ /**
393
+ * @generated from field: repeated kusinta.iot.commissioning.v1.FeatureBlock blocks = 4;
394
+ */
395
+ blocks: FeatureBlock[];
396
+ };
397
+
398
+ /**
399
+ * Describes the message kusinta.iot.commissioning.v1.FeatureStatus.
400
+ * Use `create(FeatureStatusSchema)` to create a new message.
401
+ */
402
+ export declare const FeatureStatusSchema: GenMessage<FeatureStatus>;
403
+
404
+ /**
405
+ * @generated from message kusinta.iot.commissioning.v1.CommissioningTest
406
+ */
407
+ export declare type CommissioningTest = Message<"kusinta.iot.commissioning.v1.CommissioningTest"> & {
408
+ /**
409
+ * Assigned by the gateway, opaque.
410
+ *
411
+ * @generated from field: string test_id = 1;
412
+ */
413
+ testId: string;
414
+
415
+ /**
416
+ * @generated from field: kusinta.iot.commissioning.v1.TestKind kind = 2;
417
+ */
418
+ kind: TestKind;
419
+
420
+ /**
421
+ * What it runs on: for OUTPUT_LEASE one binding; for ZONE_EFFECT and PUMP_ALL_ZONES_OFF
422
+ * the record, field empty.
423
+ *
424
+ * @generated from field: kusinta.iot.commissioning.v1.BindingRef binding = 13;
425
+ */
426
+ binding?: BindingRef | undefined;
427
+
428
+ /**
429
+ * The device it ran on. Set by the gateway.
430
+ *
431
+ * @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 5;
432
+ */
433
+ deviceId?: DeviceId | undefined;
434
+
435
+ /**
436
+ * @generated from field: kusinta.iot.commissioning.v1.TestState state = 6;
437
+ */
438
+ state: TestState;
439
+
440
+ /**
441
+ * FAILED only.
442
+ *
443
+ * @generated from field: kusinta.iot.commissioning.v1.TestFailure failure = 7;
444
+ */
445
+ failure: TestFailure;
446
+
447
+ /**
448
+ * @generated from field: google.protobuf.Timestamp started_at = 8;
449
+ */
450
+ startedAt?: Timestamp | undefined;
451
+
452
+ /**
453
+ * The latest it ends, while it runs.
454
+ *
455
+ * @generated from field: google.protobuf.Timestamp ends_at = 9;
456
+ */
457
+ endsAt?: Timestamp | undefined;
458
+
459
+ /**
460
+ * @generated from field: google.protobuf.Timestamp finished_at = 10;
461
+ */
462
+ finishedAt?: Timestamp | undefined;
463
+
464
+ /**
465
+ * Who started it; for an installer's verdict, who concluded it.
466
+ *
467
+ * @generated from field: kusinta.iot.commissioning.v1.Provenance provenance = 11;
468
+ */
469
+ provenance?: Provenance | undefined;
470
+
471
+ /**
472
+ * A pass that no longer holds; see the file comment.
473
+ *
474
+ * @generated from field: bool superseded = 12;
475
+ */
476
+ superseded: boolean;
477
+ };
478
+
479
+ /**
480
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningTest.
481
+ * Use `create(CommissioningTestSchema)` to create a new message.
482
+ */
483
+ export declare const CommissioningTestSchema: GenMessage<CommissioningTest>;
484
+
485
+ /**
486
+ * A space's commissioning, in reply to ListCommissioning.
487
+ *
488
+ * @generated from message kusinta.iot.commissioning.v1.CommissioningProfile
489
+ */
490
+ export declare type CommissioningProfile = Message<"kusinta.iot.commissioning.v1.CommissioningProfile"> & {
491
+ /**
492
+ * @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
493
+ */
494
+ spaceId?: SpaceId | undefined;
495
+
496
+ /**
497
+ * @generated from field: repeated kusinta.iot.commissioning.v1.CommissioningFact facts = 2;
498
+ */
499
+ facts: CommissioningFact[];
500
+
501
+ /**
502
+ * The latest test of each kind on each binding.
503
+ *
504
+ * @generated from field: repeated kusinta.iot.commissioning.v1.CommissioningTest tests = 3;
505
+ */
506
+ tests: CommissioningTest[];
507
+
508
+ /**
509
+ * For a home, one per feature.
510
+ *
511
+ * @generated from field: repeated kusinta.iot.commissioning.v1.FeatureStatus features = 4;
512
+ */
513
+ features: FeatureStatus[];
514
+
515
+ /**
516
+ * The home's template, at its latest version. Unset: it follows none.
517
+ *
518
+ * @generated from field: kusinta.iot.commissioning.v1.HouseTemplate template = 6;
519
+ */
520
+ template?: HouseTemplate | undefined;
521
+
522
+ /**
523
+ * Set when FeatureStatus.needs are left out for this caller, so that none listed is not
524
+ * read as nothing missing.
525
+ *
526
+ * @generated from field: bool needs_withheld = 7;
527
+ */
528
+ needsWithheld: boolean;
529
+ };
530
+
531
+ /**
532
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningProfile.
533
+ * Use `create(CommissioningProfileSchema)` to create a new message.
534
+ */
535
+ export declare const CommissioningProfileSchema: GenMessage<CommissioningProfile>;
536
+
537
+ /**
538
+ * Whether a home is set up: every REQUIRED fact answered with a value at least once, and
539
+ * every output bound in it passed OUTPUT_LEASE at least once on the device it is bound to.
540
+ * "Don't know" is not an answer here. What the household does afterwards counts neither
541
+ * way: a REQUIRED fact once answered still counts when it is removed or changed to "don't
542
+ * know", as a pass superseded by a change of a floor zone's rooms or control room still
543
+ * does, so that set_up tells the owner organisation neither of a household's edits nor of
544
+ * a renovation. Binding a new output, or a new device, is what it can show. All the owner
545
+ * organisation learns of a home's commissioning.
546
+ *
547
+ * The REQUIRED keys are those this file marks REQUIRED (HOUSEHOLD QUESTIONS) and no other, so
548
+ * that set_up means the same on every gateway. A home with no room is not set up. Once a
549
+ * home has been set up, its facts count neither way, whatever changes since — a room
550
+ * created, an answer removed, a key a later release of this schema marks REQUIRED: only an
551
+ * output bound since without a pass on the device it is bound to makes it not set up. A
552
+ * household handover does not reset it: the home stays set up for the next household, so
553
+ * that set_up tells the owner organisation nothing of who moved in or out.
554
+ *
555
+ * @generated from message kusinta.iot.commissioning.v1.HomeSetup
556
+ */
557
+ export declare type HomeSetup = Message<"kusinta.iot.commissioning.v1.HomeSetup"> & {
558
+ /**
559
+ * @generated from field: kusinta.iot.identity.v1.SpaceId home_id = 1;
560
+ */
561
+ homeId?: SpaceId | undefined;
562
+
563
+ /**
564
+ * @generated from field: bool set_up = 2;
565
+ */
566
+ setUp: boolean;
567
+ };
568
+
569
+ /**
570
+ * Describes the message kusinta.iot.commissioning.v1.HomeSetup.
571
+ * Use `create(HomeSetupSchema)` to create a new message.
572
+ */
573
+ export declare const HomeSetupSchema: GenMessage<HomeSetup>;
574
+
575
+ /**
576
+ * In reply to ListHomeSetups.
577
+ *
578
+ * @generated from message kusinta.iot.commissioning.v1.HomeSetups
579
+ */
580
+ export declare type HomeSetups = Message<"kusinta.iot.commissioning.v1.HomeSetups"> & {
581
+ /**
582
+ * @generated from field: repeated kusinta.iot.commissioning.v1.HomeSetup homes = 1;
583
+ */
584
+ homes: HomeSetup[];
585
+ };
586
+
587
+ /**
588
+ * Describes the message kusinta.iot.commissioning.v1.HomeSetups.
589
+ * Use `create(HomeSetupsSchema)` to create a new message.
590
+ */
591
+ export declare const HomeSetupsSchema: GenMessage<HomeSetups>;
592
+
593
+ /**
594
+ * One commissioning record as stored, in reply to a put, a test's start or its conclusion.
595
+ *
596
+ * @generated from message kusinta.iot.commissioning.v1.CommissioningRecord
597
+ */
598
+ export declare type CommissioningRecord = Message<"kusinta.iot.commissioning.v1.CommissioningRecord"> & {
599
+ /**
600
+ * @generated from oneof kusinta.iot.commissioning.v1.CommissioningRecord.record
601
+ */
602
+ record: {
603
+ /**
604
+ * @generated from field: kusinta.iot.commissioning.v1.CommissioningFact fact = 1;
605
+ */
606
+ value: CommissioningFact;
607
+ case: "fact";
608
+ } | {
609
+ /**
610
+ * @generated from field: kusinta.iot.commissioning.v1.CommissioningTest test = 2;
611
+ */
612
+ value: CommissioningTest;
613
+ case: "test";
614
+ } | {
615
+ /**
616
+ * @generated from field: kusinta.iot.commissioning.v1.HouseTemplate template = 3;
617
+ */
618
+ value: HouseTemplate;
619
+ case: "template";
620
+ } | { case: undefined; value?: undefined };
621
+ };
622
+
623
+ /**
624
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningRecord.
625
+ * Use `create(CommissioningRecordSchema)` to create a new message.
626
+ */
627
+ export declare const CommissioningRecordSchema: GenMessage<CommissioningRecord>;
628
+
629
+ /**
630
+ * One installer's grant to commission one space (see the file comment, GRANTS).
631
+ *
632
+ * @generated from message kusinta.iot.commissioning.v1.CommissioningGrant
633
+ */
634
+ export declare type CommissioningGrant = Message<"kusinta.iot.commissioning.v1.CommissioningGrant"> & {
635
+ /**
636
+ * Minted by the gateway, opaque.
637
+ *
638
+ * @generated from field: string grant_id = 1;
639
+ */
640
+ grantId: string;
641
+
642
+ /**
643
+ * A home's apartment, or a space outside homes.
644
+ *
645
+ * @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 2;
646
+ */
647
+ spaceId?: SpaceId | undefined;
648
+
649
+ /**
650
+ * The installer who asked for it, and the name they gave their account
651
+ * (webrtc.v1.AppTokenClaims.name) as the gateway last learnt it, so the household knows
652
+ * whom it lets in; empty when none is learnt. Self-chosen, as webrtc.v1.MemberDetail.name
653
+ * is.
654
+ *
655
+ * @generated from field: kusinta.iot.identity.v1.UserId installer = 3;
656
+ */
657
+ installer?: UserId | undefined;
658
+
659
+ /**
660
+ * @generated from field: string installer_name = 4;
661
+ */
662
+ installerName: string;
663
+
664
+ /**
665
+ * @generated from field: kusinta.iot.commissioning.v1.CommissioningGrantState state = 5;
666
+ */
667
+ state: CommissioningGrantState;
668
+
669
+ /**
670
+ * @generated from field: google.protobuf.Timestamp requested_at = 6;
671
+ */
672
+ requestedAt?: Timestamp | undefined;
673
+
674
+ /**
675
+ * When a request lapses unanswered: 7 days after requested_at, as
676
+ * webrtc.v1.PromotionRequest.expires_at. REQUESTED only.
677
+ *
678
+ * @generated from field: google.protobuf.Timestamp expires_at = 7;
679
+ */
680
+ expiresAt?: Timestamp | undefined;
681
+
682
+ /**
683
+ * When it is active, as granted, within the bounds webrtc.v1.AnswerCommissioningGrant sets.
684
+ * GRANTED only.
685
+ *
686
+ * @generated from field: google.protobuf.Timestamp starts_at = 8;
687
+ */
688
+ startsAt?: Timestamp | undefined;
689
+
690
+ /**
691
+ * @generated from field: google.protobuf.Timestamp ends_at = 9;
692
+ */
693
+ endsAt?: Timestamp | undefined;
694
+
695
+ /**
696
+ * Who granted it, and when. GRANTED only. granted_by is given to the home's residents, and
697
+ * for a space outside homes or an empty home to the property owner and the gateway's
698
+ * administrators; to the installer it is unset, since a resident's user id would tell them
699
+ * who lives in the home.
700
+ *
701
+ * @generated from field: kusinta.iot.identity.v1.UserId granted_by = 10;
702
+ */
703
+ grantedBy?: UserId | undefined;
704
+
705
+ /**
706
+ * @generated from field: google.protobuf.Timestamp granted_at = 11;
707
+ */
708
+ grantedAt?: Timestamp | undefined;
709
+ };
710
+
711
+ /**
712
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningGrant.
713
+ * Use `create(CommissioningGrantSchema)` to create a new message.
714
+ */
715
+ export declare const CommissioningGrantSchema: GenMessage<CommissioningGrant>;
716
+
717
+ /**
718
+ * The grants on one space that have not ended, as listed to one caller: the answer to
719
+ * webrtc.v1.ListCommissioningGrants, and pushed whole as webrtc.v1.GatewayMessage
720
+ * .commissioning_grants to every session that may list them whenever one is requested,
721
+ * answered or ended before its time — to the installer, their own grants alone. When who may
722
+ * list a home's grants changes — the home gaining a resident (webrtc.v1 household.proto,
723
+ * MOVE-IN), its last residency ending — they are pushed whole to the sessions that could list
724
+ * them before as well: empty, to one that may list none now, so that no session keeps showing a
725
+ * grant it no longer has or a request it can no longer answer. Nothing is pushed when a grant
726
+ * starts, ends or lapses at the time it states: a client reads those from starts_at, ends_at
727
+ * and expires_at.
728
+ *
729
+ * @generated from message kusinta.iot.commissioning.v1.CommissioningGrants
730
+ */
731
+ export declare type CommissioningGrants = Message<"kusinta.iot.commissioning.v1.CommissioningGrants"> & {
732
+ /**
733
+ * The space the grants are on, on a push; unset on a listing.
734
+ *
735
+ * @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
736
+ */
737
+ spaceId?: SpaceId | undefined;
738
+
739
+ /**
740
+ * @generated from field: repeated kusinta.iot.commissioning.v1.CommissioningGrant grants = 2;
741
+ */
742
+ grants: CommissioningGrant[];
743
+ };
744
+
745
+ /**
746
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningGrants.
747
+ * Use `create(CommissioningGrantsSchema)` to create a new message.
748
+ */
749
+ export declare const CommissioningGrantsSchema: GenMessage<CommissioningGrants>;
750
+
751
+ /**
752
+ * A commissioning grant on a home that was granted, as its residents are told it afterwards
753
+ * (webrtc.v1.PrivacyDisclosure.commissioning_grants): who held commissioning access to their
754
+ * home, and when. The installer by the name they gave their account as the gateway last learnt
755
+ * it, never by user id; empty when none is learnt, and emptied once their account is deleted or
756
+ * removed from the gateway, when the record stays without it.
757
+ *
758
+ * @generated from message kusinta.iot.commissioning.v1.CommissioningGrantRecord
759
+ */
760
+ export declare type CommissioningGrantRecord = Message<"kusinta.iot.commissioning.v1.CommissioningGrantRecord"> & {
761
+ /**
762
+ * @generated from field: string installer_name = 1;
763
+ */
764
+ installerName: string;
765
+
766
+ /**
767
+ * When it was granted, and the time it covered: from its start until it ended. ended_at is
768
+ * unset while it is active.
769
+ *
770
+ * @generated from field: google.protobuf.Timestamp granted_at = 2;
771
+ */
772
+ grantedAt?: Timestamp | undefined;
773
+
774
+ /**
775
+ * @generated from field: google.protobuf.Timestamp starts_at = 3;
776
+ */
777
+ startsAt?: Timestamp | undefined;
778
+
779
+ /**
780
+ * @generated from field: google.protobuf.Timestamp ended_at = 4;
781
+ */
782
+ endedAt?: Timestamp | undefined;
783
+ };
784
+
785
+ /**
786
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningGrantRecord.
787
+ * Use `create(CommissioningGrantRecordSchema)` to create a new message.
788
+ */
789
+ export declare const CommissioningGrantRecordSchema: GenMessage<CommissioningGrantRecord>;
790
+
791
+ /**
792
+ * Who answers a fact, or ran or concluded a test.
793
+ *
794
+ * @generated from enum kusinta.iot.commissioning.v1.Party
795
+ */
796
+ export enum Party {
797
+ /**
798
+ * @generated from enum value: PARTY_UNSPECIFIED = 0;
799
+ */
800
+ UNSPECIFIED = 0,
801
+
802
+ /**
803
+ * The property owner or the gateway's administrators.
804
+ *
805
+ * @generated from enum value: PARTY_OWNER_ORGANISATION = 1;
806
+ */
807
+ OWNER_ORGANISATION = 1,
808
+
809
+ /**
810
+ * A household admin of the home (access.v1.MEMBERSHIP_RELATION_HOUSEHOLD_ADMIN).
811
+ *
812
+ * @generated from enum value: PARTY_HOUSEHOLD = 2;
813
+ */
814
+ HOUSEHOLD = 2,
815
+
816
+ /**
817
+ * An installer under a commissioning grant (CommissioningGrant).
818
+ *
819
+ * @generated from enum value: PARTY_INSTALLER = 3;
820
+ */
821
+ INSTALLER = 3,
822
+
823
+ /**
824
+ * The gateway, from a device, a connector or a measurement of its own.
825
+ *
826
+ * @generated from enum value: PARTY_AUTOMATIC = 4;
827
+ */
828
+ AUTOMATIC = 4,
829
+ }
830
+
831
+ /**
832
+ * Describes the enum kusinta.iot.commissioning.v1.Party.
833
+ */
834
+ export declare const PartySchema: GenEnum<Party>;
835
+
836
+ /**
837
+ * How much a fact is needed.
838
+ *
839
+ * @generated from enum kusinta.iot.commissioning.v1.Necessity
840
+ */
841
+ export enum Necessity {
842
+ /**
843
+ * @generated from enum value: NECESSITY_UNSPECIFIED = 0;
844
+ */
845
+ UNSPECIFIED = 0,
846
+
847
+ /**
848
+ * Before the home is set up (HomeSetup).
849
+ *
850
+ * @generated from enum value: NECESSITY_REQUIRED = 1;
851
+ */
852
+ REQUIRED = 1,
853
+
854
+ /**
855
+ * Before its feature works (CommissioningFact.feature).
856
+ *
857
+ * @generated from enum value: NECESSITY_FOR_FEATURE = 2;
858
+ */
859
+ FOR_FEATURE = 2,
860
+
861
+ /**
862
+ * @generated from enum value: NECESSITY_OPTIONAL = 3;
863
+ */
864
+ OPTIONAL = 3,
865
+ }
866
+
867
+ /**
868
+ * Describes the enum kusinta.iot.commissioning.v1.Necessity.
869
+ */
870
+ export declare const NecessitySchema: GenEnum<Necessity>;
871
+
872
+ /**
873
+ * How an answer was confirmed. A household answers STATED, PHOTO or DRAWING; INSPECTED and
874
+ * MEASURED are an installer's or the gateway's; DERIVED is the gateway's alone. A key may
875
+ * require more (see the file comment); less is refused.
876
+ *
877
+ * @generated from enum kusinta.iot.commissioning.v1.Evidence
878
+ */
879
+ export enum Evidence {
880
+ /**
881
+ * @generated from enum value: EVIDENCE_UNSPECIFIED = 0;
882
+ */
883
+ UNSPECIFIED = 0,
884
+
885
+ /**
886
+ * @generated from enum value: EVIDENCE_STATED = 1;
887
+ */
888
+ STATED = 1,
889
+
890
+ /**
891
+ * @generated from enum value: EVIDENCE_PHOTO = 2;
892
+ */
893
+ PHOTO = 2,
894
+
895
+ /**
896
+ * @generated from enum value: EVIDENCE_DRAWING = 3;
897
+ */
898
+ DRAWING = 3,
899
+
900
+ /**
901
+ * @generated from enum value: EVIDENCE_INSPECTED = 4;
902
+ */
903
+ INSPECTED = 4,
904
+
905
+ /**
906
+ * @generated from enum value: EVIDENCE_MEASURED = 5;
907
+ */
908
+ MEASURED = 5,
909
+
910
+ /**
911
+ * From other facts, the address or a connector's declaration.
912
+ *
913
+ * @generated from enum value: EVIDENCE_DERIVED = 6;
914
+ */
915
+ DERIVED = 6,
916
+ }
917
+
918
+ /**
919
+ * Describes the enum kusinta.iot.commissioning.v1.Evidence.
920
+ */
921
+ export declare const EvidenceSchema: GenEnum<Evidence>;
922
+
923
+ /**
924
+ * What a fact is about, for a client that does not know its key. Closed: a client words a
925
+ * topic it does not know as a detail about the space or record, from its answerer.
926
+ *
927
+ * @generated from enum kusinta.iot.commissioning.v1.FactTopic
928
+ */
929
+ export enum FactTopic {
930
+ /**
931
+ * @generated from enum value: FACT_TOPIC_UNSPECIFIED = 0;
932
+ */
933
+ UNSPECIFIED = 0,
934
+
935
+ /**
936
+ * The building: type, house types, drawings, gateway site, service agreements, payer.
937
+ *
938
+ * @generated from enum value: FACT_TOPIC_BUILDING = 1;
939
+ */
940
+ BUILDING = 1,
941
+
942
+ /**
943
+ * Rooms, walls added or removed, how each room is heated, its thermostats.
944
+ *
945
+ * @generated from enum value: FACT_TOPIC_ROOMS = 2;
946
+ */
947
+ ROOMS = 2,
948
+
949
+ /**
950
+ * The heat source: heat pump, its inputs, vendor account, blocks.
951
+ *
952
+ * @generated from enum value: FACT_TOPIC_HEAT_SOURCE = 3;
953
+ */
954
+ HEAT_SOURCE = 3,
955
+
956
+ /**
957
+ * Floor heating: circuits, pump, mixing, supply cap, zones, actuators, probes.
958
+ *
959
+ * @generated from enum value: FACT_TOPIC_FLOOR_HEATING = 4;
960
+ */
961
+ FLOOR_HEATING = 4,
962
+
963
+ /**
964
+ * Electric comfort loads: bathroom floors, towel heaters, their thermostats.
965
+ *
966
+ * @generated from enum value: FACT_TOPIC_COMFORT_LOADS = 5;
967
+ */
968
+ COMFORT_LOADS = 5,
969
+
970
+ /**
971
+ * Electricity: grid subscription, operator, fuse size, meter and its port.
972
+ *
973
+ * @generated from enum value: FACT_TOPIC_ELECTRICITY = 6;
974
+ */
975
+ ELECTRICITY = 6,
976
+
977
+ /**
978
+ * District heating: utility and tariff.
979
+ *
980
+ * @generated from enum value: FACT_TOPIC_DISTRICT_HEATING = 7;
981
+ */
982
+ DISTRICT_HEATING = 7,
983
+
984
+ /**
985
+ * Radio coverage and the gateways that carry it.
986
+ *
987
+ * @generated from enum value: FACT_TOPIC_CONNECTIVITY = 8;
988
+ */
989
+ CONNECTIVITY = 8,
990
+
991
+ /**
992
+ * Comfort wishes and schedules. Residents only, never under a commissioning grant.
993
+ *
994
+ * @generated from enum value: FACT_TOPIC_COMFORT = 9;
995
+ */
996
+ COMFORT = 9,
997
+ }
998
+
999
+ /**
1000
+ * Describes the enum kusinta.iot.commissioning.v1.FactTopic.
1001
+ */
1002
+ export declare const FactTopicSchema: GenEnum<FactTopic>;
1003
+
1004
+ /**
1005
+ * The heating features a home's commissioning unlocks.
1006
+ *
1007
+ * @generated from enum kusinta.iot.commissioning.v1.Feature
1008
+ */
1009
+ export enum Feature {
1010
+ /**
1011
+ * @generated from enum value: FEATURE_UNSPECIFIED = 0;
1012
+ */
1013
+ UNSPECIFIED = 0,
1014
+
1015
+ /**
1016
+ * @generated from enum value: FEATURE_FLOOR_ZONES = 1;
1017
+ */
1018
+ FLOOR_ZONES = 1,
1019
+
1020
+ /**
1021
+ * Steering the heat source (heating.v1.HeatingPlant.control).
1022
+ *
1023
+ * @generated from enum value: FEATURE_PLANT = 2;
1024
+ */
1025
+ PLANT = 2,
1026
+
1027
+ /**
1028
+ * @generated from enum value: FEATURE_COMFORT_LOADS = 3;
1029
+ */
1030
+ COMFORT_LOADS = 3,
1031
+
1032
+ /**
1033
+ * Planning by electricity price and the home's grid tariff.
1034
+ *
1035
+ * @generated from enum value: FEATURE_COST = 4;
1036
+ */
1037
+ COST = 4,
1038
+
1039
+ /**
1040
+ * Holding the home's load under a power peak, live.
1041
+ *
1042
+ * @generated from enum value: FEATURE_PEAK_GUARD = 5;
1043
+ */
1044
+ PEAK_GUARD = 5,
1045
+
1046
+ /**
1047
+ * Planning by forecast, from the room models.
1048
+ *
1049
+ * @generated from enum value: FEATURE_PLANNING = 6;
1050
+ */
1051
+ PLANNING = 6,
1052
+ }
1053
+
1054
+ /**
1055
+ * Describes the enum kusinta.iot.commissioning.v1.Feature.
1056
+ */
1057
+ export declare const FeatureSchema: GenEnum<Feature>;
1058
+
1059
+ /**
1060
+ * @generated from enum kusinta.iot.commissioning.v1.FeatureState
1061
+ */
1062
+ export enum FeatureState {
1063
+ /**
1064
+ * A state this schema does not know: read as NEEDS.
1065
+ *
1066
+ * @generated from enum value: FEATURE_STATE_UNSPECIFIED = 0;
1067
+ */
1068
+ UNSPECIFIED = 0,
1069
+
1070
+ /**
1071
+ * @generated from enum value: FEATURE_STATE_WORKS = 1;
1072
+ */
1073
+ WORKS = 1,
1074
+
1075
+ /**
1076
+ * Something it needs is missing (FeatureStatus.needs), and nothing blocks it.
1077
+ *
1078
+ * @generated from enum value: FEATURE_STATE_NEEDS = 2;
1079
+ */
1080
+ NEEDS = 2,
1081
+
1082
+ /**
1083
+ * FeatureStatus.blocks says why. Takes precedence over NEEDS.
1084
+ *
1085
+ * @generated from enum value: FEATURE_STATE_BLOCKED_FOR_SAFETY = 3;
1086
+ */
1087
+ BLOCKED_FOR_SAFETY = 3,
1088
+ }
1089
+
1090
+ /**
1091
+ * Describes the enum kusinta.iot.commissioning.v1.FeatureState.
1092
+ */
1093
+ export declare const FeatureStateSchema: GenEnum<FeatureState>;
1094
+
1095
+ /**
1096
+ * @generated from enum kusinta.iot.commissioning.v1.BlockReason
1097
+ */
1098
+ export enum BlockReason {
1099
+ /**
1100
+ * @generated from enum value: BLOCK_REASON_UNSPECIFIED = 0;
1101
+ */
1102
+ UNSPECIFIED = 0,
1103
+
1104
+ /**
1105
+ * Its latest test failed, and has not passed since.
1106
+ *
1107
+ * @generated from enum value: BLOCK_REASON_TEST_FAILED = 1;
1108
+ */
1109
+ TEST_FAILED = 1,
1110
+
1111
+ /**
1112
+ * Its producer no longer states the output's write as leased with a lapse value at rest
1113
+ * (heating.v1).
1114
+ *
1115
+ * @generated from enum value: BLOCK_REASON_OUTPUT_NOT_LEASED = 2;
1116
+ */
1117
+ OUTPUT_NOT_LEASED = 2,
1118
+
1119
+ /**
1120
+ * Its producer now states a power-on value that would leave the contact away from rest,
1121
+ * though a pass predates it. A test that finds this fails instead
1122
+ * (TEST_FAILURE_POWER_ON_NOT_AT_REST), and blocks as TEST_FAILED.
1123
+ *
1124
+ * @generated from enum value: BLOCK_REASON_POWER_ON_NOT_AT_REST = 3;
1125
+ */
1126
+ POWER_ON_NOT_AT_REST = 3,
1127
+
1128
+ /**
1129
+ * @generated from enum value: BLOCK_REASON_DEVICE_GONE = 4;
1130
+ */
1131
+ DEVICE_GONE = 4,
1132
+
1133
+ /**
1134
+ * A floor zone whose control room is deleted or outside its plant's space.
1135
+ *
1136
+ * @generated from enum value: BLOCK_REASON_CONTROL_ROOM_GONE = 5;
1137
+ */
1138
+ CONTROL_ROOM_GONE = 5,
1139
+
1140
+ /**
1141
+ * The output's shortest lease (device.v1.LeasedWrite.min_lease_seconds) is longer than
1142
+ * the longest it may be held: "plant.max_block_minutes" for a blocking input, or the
1143
+ * OUTPUT_LEASE test's 5 minutes.
1144
+ *
1145
+ * @generated from enum value: BLOCK_REASON_LEASE_TOO_LONG = 6;
1146
+ */
1147
+ LEASE_TOO_LONG = 6,
1148
+
1149
+ /**
1150
+ * The device lies on the other side of a home's boundary from the record that binds or reads
1151
+ * it: a binding stored before such crossings were refused or undone (heating.v1). Mostly
1152
+ * transitional: a gateway removes such a binding once at start-up, before it first reads its
1153
+ * records (webrtc.v1 management.proto, START-UP), so this is sent only by one that holds such
1154
+ * a binding yet. Its output is held at rest and nothing reads it for the record meanwhile.
1155
+ *
1156
+ * @generated from enum value: BLOCK_REASON_DEVICE_ACROSS_HOME = 7;
1157
+ */
1158
+ DEVICE_ACROSS_HOME = 7,
1159
+ }
1160
+
1161
+ /**
1162
+ * Describes the enum kusinta.iot.commissioning.v1.BlockReason.
1163
+ */
1164
+ export declare const BlockReasonSchema: GenEnum<BlockReason>;
1165
+
1166
+ /**
1167
+ * @generated from enum kusinta.iot.commissioning.v1.TestKind
1168
+ */
1169
+ export enum TestKind {
1170
+ /**
1171
+ * @generated from enum value: TEST_KIND_UNSPECIFIED = 0;
1172
+ */
1173
+ UNSPECIFIED = 0,
1174
+
1175
+ /**
1176
+ * On one bound output (heating.v1). The gateway checks that the output's power-on value,
1177
+ * where its producer states one, leaves the contact at rest; writes the value that takes
1178
+ * it away from rest under a lease of L = the greater of the producer's min_lease_seconds
1179
+ * and 60 seconds, and sees the reported contact leave rest; renews the lease before it
1180
+ * ends and sees the contact hold past the first lease's end; then lets it lapse and sees
1181
+ * the contact return to rest. ends_at is the start plus 2 × L plus 5 minutes for the
1182
+ * reports. Runs only on an output whose producer states its reads REAL_TIME and whose
1183
+ * lease bounds admit an L of at most 5 minutes, so it ends within 15 minutes; any other
1184
+ * is refused before it starts (RunCommissioningTest). Judged by the gateway.
1185
+ *
1186
+ * @generated from enum value: TEST_KIND_OUTPUT_LEASE = 1;
1187
+ */
1188
+ OUTPUT_LEASE = 1,
1189
+
1190
+ /**
1191
+ * On one floor zone with a current OUTPUT_LEASE pass. The gateway switches the zone and
1192
+ * sees its control room's temperature and the circuit's return probe answer. Judged by
1193
+ * the gateway. Takes hours; the zone is kept within its rooms' comfort while it runs.
1194
+ *
1195
+ * @generated from enum value: TEST_KIND_ZONE_EFFECT = 2;
1196
+ */
1197
+ ZONE_EFFECT = 2,
1198
+
1199
+ /**
1200
+ * On one floor circuit whose every zone holds a current OUTPUT_LEASE pass. The gateway
1201
+ * holds every zone off for at most 15 minutes while the installer watches the pump, and
1202
+ * the installer concludes it (ConcludeCommissioningTest). Passed or failed, it sets
1203
+ * "floor.pump_tolerates_all_zones_off" as MEASURED, with the installer's provenance.
1204
+ *
1205
+ * @generated from enum value: TEST_KIND_PUMP_ALL_ZONES_OFF = 3;
1206
+ */
1207
+ PUMP_ALL_ZONES_OFF = 3,
1208
+ }
1209
+
1210
+ /**
1211
+ * Describes the enum kusinta.iot.commissioning.v1.TestKind.
1212
+ */
1213
+ export declare const TestKindSchema: GenEnum<TestKind>;
1214
+
1215
+ /**
1216
+ * @generated from enum kusinta.iot.commissioning.v1.TestState
1217
+ */
1218
+ export enum TestState {
1219
+ /**
1220
+ * @generated from enum value: TEST_STATE_UNSPECIFIED = 0;
1221
+ */
1222
+ UNSPECIFIED = 0,
1223
+
1224
+ /**
1225
+ * @generated from enum value: TEST_STATE_RUNNING = 1;
1226
+ */
1227
+ RUNNING = 1,
1228
+
1229
+ /**
1230
+ * @generated from enum value: TEST_STATE_PASSED = 2;
1231
+ */
1232
+ PASSED = 2,
1233
+
1234
+ /**
1235
+ * @generated from enum value: TEST_STATE_FAILED = 3;
1236
+ */
1237
+ FAILED = 3,
1238
+
1239
+ /**
1240
+ * Stopped by a caller, or ended at ends_at without a verdict. Proves nothing.
1241
+ *
1242
+ * @generated from enum value: TEST_STATE_ABORTED = 4;
1243
+ */
1244
+ ABORTED = 4,
1245
+ }
1246
+
1247
+ /**
1248
+ * Describes the enum kusinta.iot.commissioning.v1.TestState.
1249
+ */
1250
+ export declare const TestStateSchema: GenEnum<TestState>;
1251
+
1252
+ /**
1253
+ * @generated from enum kusinta.iot.commissioning.v1.TestFailure
1254
+ */
1255
+ export enum TestFailure {
1256
+ /**
1257
+ * @generated from enum value: TEST_FAILURE_UNSPECIFIED = 0;
1258
+ */
1259
+ UNSPECIFIED = 0,
1260
+
1261
+ /**
1262
+ * OUTPUT_LEASE.
1263
+ *
1264
+ * @generated from enum value: TEST_FAILURE_POWER_ON_NOT_AT_REST = 1;
1265
+ */
1266
+ POWER_ON_NOT_AT_REST = 1,
1267
+
1268
+ /**
1269
+ * @generated from enum value: TEST_FAILURE_NO_STATE_CHANGE = 2;
1270
+ */
1271
+ NO_STATE_CHANGE = 2,
1272
+
1273
+ /**
1274
+ * @generated from enum value: TEST_FAILURE_LEASE_NOT_RENEWED = 3;
1275
+ */
1276
+ LEASE_NOT_RENEWED = 3,
1277
+
1278
+ /**
1279
+ * @generated from enum value: TEST_FAILURE_DID_NOT_RETURN_TO_REST = 4;
1280
+ */
1281
+ DID_NOT_RETURN_TO_REST = 4,
1282
+
1283
+ /**
1284
+ * The device answered nothing within the test.
1285
+ *
1286
+ * @generated from enum value: TEST_FAILURE_DEVICE_UNREACHABLE = 5;
1287
+ */
1288
+ DEVICE_UNREACHABLE = 5,
1289
+
1290
+ /**
1291
+ * ZONE_EFFECT: the control room and the return did not answer the zone.
1292
+ *
1293
+ * @generated from enum value: TEST_FAILURE_NO_EFFECT = 6;
1294
+ */
1295
+ NO_EFFECT = 6,
1296
+
1297
+ /**
1298
+ * PUMP_ALL_ZONES_OFF: the installer's verdict.
1299
+ *
1300
+ * @generated from enum value: TEST_FAILURE_OBSERVED = 7;
1301
+ */
1302
+ OBSERVED = 7,
1303
+ }
1304
+
1305
+ /**
1306
+ * Describes the enum kusinta.iot.commissioning.v1.TestFailure.
1307
+ */
1308
+ export declare const TestFailureSchema: GenEnum<TestFailure>;
1309
+
1310
+ /**
1311
+ * Where a commissioning grant stands (see the file comment, GRANTS). An ended grant has no
1312
+ * state: it is listed no more.
1313
+ *
1314
+ * @generated from enum kusinta.iot.commissioning.v1.CommissioningGrantState
1315
+ */
1316
+ export enum CommissioningGrantState {
1317
+ /**
1318
+ * A state this schema does not know: read as REQUESTED, which covers nothing.
1319
+ *
1320
+ * @generated from enum value: COMMISSIONING_GRANT_STATE_UNSPECIFIED = 0;
1321
+ */
1322
+ UNSPECIFIED = 0,
1323
+
1324
+ /**
1325
+ * Asked for by the installer and not yet answered. Covers nothing. Lapses unanswered at
1326
+ * expires_at.
1327
+ *
1328
+ * @generated from enum value: COMMISSIONING_GRANT_STATE_REQUESTED = 1;
1329
+ */
1330
+ REQUESTED = 1,
1331
+
1332
+ /**
1333
+ * Granted. Active from starts_at until ends_at; before starts_at it covers nothing yet.
1334
+ *
1335
+ * @generated from enum value: COMMISSIONING_GRANT_STATE_GRANTED = 2;
1336
+ */
1337
+ GRANTED = 2,
1338
+ }
1339
+
1340
+ /**
1341
+ * Describes the enum kusinta.iot.commissioning.v1.CommissioningGrantState.
1342
+ */
1343
+ export declare const CommissioningGrantStateSchema: GenEnum<CommissioningGrantState>;
1344
+