@kusinta/iot-schema 0.2.0-beta.50 → 0.2.0-beta.51
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 +42 -40
- package/src/kusinta/iot/climate/v1/climate_pb.d.ts +5 -2
- package/src/kusinta/iot/commissioning/v1/commissioning_pb.d.ts +16 -1
- package/src/kusinta/iot/commissioning/v1/commissioning_pb.js +1 -1
- package/src/kusinta/iot/common/v1/pairing_pb.d.ts +3 -1
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +5 -2
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +39 -5
package/package.json
CHANGED
|
@@ -1,59 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kusinta/iot-schema",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"files": [
|
|
6
|
+
"files": [
|
|
7
|
+
"src"
|
|
8
|
+
],
|
|
7
9
|
"scripts": {
|
|
8
10
|
"test": "vitest run",
|
|
9
11
|
"test:watch": "vitest"
|
|
10
12
|
},
|
|
11
13
|
"exports": {
|
|
12
|
-
"./common":
|
|
13
|
-
"./common/pairing":
|
|
14
|
-
"./identity":
|
|
15
|
-
"./device":
|
|
16
|
-
"./device/descriptor":
|
|
17
|
-
"./device/properties":
|
|
18
|
-
"./device/matter-options":
|
|
14
|
+
"./common": "./src/kusinta/iot/common/v1/types_pb.js",
|
|
15
|
+
"./common/pairing": "./src/kusinta/iot/common/v1/pairing_pb.js",
|
|
16
|
+
"./identity": "./src/kusinta/iot/identity/v1/identity_pb.js",
|
|
17
|
+
"./device": "./src/kusinta/iot/device/v1/device_pb.js",
|
|
18
|
+
"./device/descriptor": "./src/kusinta/iot/device/v1/descriptor_pb.js",
|
|
19
|
+
"./device/properties": "./src/kusinta/iot/device/v1/properties_pb.js",
|
|
20
|
+
"./device/matter-options": "./src/kusinta/iot/device/v1/matter_options_pb.js",
|
|
19
21
|
"./device/property-update": "./src/kusinta/iot/device/v1/property_update_pb.js",
|
|
20
|
-
"./device/cluster-state":
|
|
21
|
-
"./device/event":
|
|
22
|
-
"./vendor/options":
|
|
23
|
-
"./vendor/homematic":
|
|
24
|
-
"./vendor/lorawan":
|
|
25
|
-
"./space":
|
|
26
|
-
"./access":
|
|
27
|
-
"./access/roles":
|
|
28
|
-
"./account-link":
|
|
29
|
-
"./link":
|
|
30
|
-
"./climate":
|
|
31
|
-
"./commissioning":
|
|
32
|
-
"./heating":
|
|
33
|
-
"./connector":
|
|
34
|
-
"./connector/service":
|
|
35
|
-
"./webrtc":
|
|
36
|
-
"./webrtc/app-token":
|
|
37
|
-
"./webrtc/command":
|
|
38
|
-
"./webrtc/device-state":
|
|
39
|
-
"./webrtc/household":
|
|
40
|
-
"./webrtc/invite":
|
|
41
|
-
"./webrtc/members":
|
|
42
|
-
"./webrtc/management":
|
|
22
|
+
"./device/cluster-state": "./src/kusinta/iot/device/v1/cluster_state_pb.js",
|
|
23
|
+
"./device/event": "./src/kusinta/iot/device/v1/device_event_pb.js",
|
|
24
|
+
"./vendor/options": "./src/kusinta/iot/vendor/v1/vendor_options_pb.js",
|
|
25
|
+
"./vendor/homematic": "./src/kusinta/iot/vendor/homematic/v1/homematic_pb.js",
|
|
26
|
+
"./vendor/lorawan": "./src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js",
|
|
27
|
+
"./space": "./src/kusinta/iot/space/v1/space_pb.js",
|
|
28
|
+
"./access": "./src/kusinta/iot/access/v1/acl_pb.js",
|
|
29
|
+
"./access/roles": "./src/kusinta/iot/access/v1/roles_pb.js",
|
|
30
|
+
"./account-link": "./src/kusinta/iot/accountlink/v1/account_link_pb.js",
|
|
31
|
+
"./link": "./src/kusinta/iot/link/v1/link_pb.js",
|
|
32
|
+
"./climate": "./src/kusinta/iot/climate/v1/climate_pb.js",
|
|
33
|
+
"./commissioning": "./src/kusinta/iot/commissioning/v1/commissioning_pb.js",
|
|
34
|
+
"./heating": "./src/kusinta/iot/heating/v1/heating_pb.js",
|
|
35
|
+
"./connector": "./src/kusinta/iot/connector/v1/connector_pb.js",
|
|
36
|
+
"./connector/service": "./src/kusinta/iot/connector/v1/connector_service_pb.js",
|
|
37
|
+
"./webrtc": "./src/kusinta/iot/webrtc/v1/envelope_pb.js",
|
|
38
|
+
"./webrtc/app-token": "./src/kusinta/iot/webrtc/v1/app_token_pb.js",
|
|
39
|
+
"./webrtc/command": "./src/kusinta/iot/webrtc/v1/command_pb.js",
|
|
40
|
+
"./webrtc/device-state": "./src/kusinta/iot/webrtc/v1/device_state_pb.js",
|
|
41
|
+
"./webrtc/household": "./src/kusinta/iot/webrtc/v1/household_pb.js",
|
|
42
|
+
"./webrtc/invite": "./src/kusinta/iot/webrtc/v1/invite_pb.js",
|
|
43
|
+
"./webrtc/members": "./src/kusinta/iot/webrtc/v1/members_pb.js",
|
|
44
|
+
"./webrtc/management": "./src/kusinta/iot/webrtc/v1/management_pb.js",
|
|
43
45
|
"./webrtc/permission-push": "./src/kusinta/iot/webrtc/v1/permission_push_pb.js",
|
|
44
|
-
"./webrtc/setpoint-mode":
|
|
45
|
-
"./registration":
|
|
46
|
-
"./registration/service":
|
|
47
|
-
"./reporting":
|
|
48
|
-
"./reporting/service":
|
|
49
|
-
"./signaling":
|
|
50
|
-
"./signaling/service":
|
|
46
|
+
"./webrtc/setpoint-mode": "./src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js",
|
|
47
|
+
"./registration": "./src/kusinta/iot/registration/v1/registration_pb.js",
|
|
48
|
+
"./registration/service": "./src/kusinta/iot/registration/v1/registration_service_pb.js",
|
|
49
|
+
"./reporting": "./src/kusinta/iot/reporting/v1/reporting_pb.js",
|
|
50
|
+
"./reporting/service": "./src/kusinta/iot/reporting/v1/reporting_service_pb.js",
|
|
51
|
+
"./signaling": "./src/kusinta/iot/signaling/v1/signaling_pb.js",
|
|
52
|
+
"./signaling/service": "./src/kusinta/iot/signaling/v1/signaling_service_pb.js"
|
|
51
53
|
},
|
|
52
54
|
"dependencies": {
|
|
53
55
|
"@bufbuild/protobuf": "^2.12.0"
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
58
|
"@types/node": "^22.0.0",
|
|
57
|
-
"vitest": "^
|
|
59
|
+
"vitest": "^5.0.5"
|
|
58
60
|
}
|
|
59
61
|
}
|
|
@@ -332,8 +332,11 @@ export declare type RoomClimate = Message<"kusinta.iot.climate.v1.RoomClimate">
|
|
|
332
332
|
* How many of the room's heating outputs the outer limits bind, so that an app shows the
|
|
333
333
|
* building's bounds where they apply and not where they do not. In a home, sent to its
|
|
334
334
|
* residents only: to anyone else it would tell whether the room holds a device a resident
|
|
335
|
-
* owns.
|
|
336
|
-
*
|
|
335
|
+
* owns. The exception is a home that stands empty (webrtc.v1 household.proto, EMPTY HOME):
|
|
336
|
+
* its property owner and gateway administrators are sent its rooms as rooms outside homes
|
|
337
|
+
* are, this included, as no household's device or setting is left in it. Outside homes, sent
|
|
338
|
+
* to whoever is sent the room, judged over the outputs of devices the recipient sees, so
|
|
339
|
+
* that a device hidden from them changes nothing they are sent.
|
|
337
340
|
*
|
|
338
341
|
* @generated from field: kusinta.iot.climate.v1.OuterLimitsCoverage outer_limits_coverage = 24;
|
|
339
342
|
*/
|
|
@@ -474,6 +474,20 @@ export declare type CommissioningTest = Message<"kusinta.iot.commissioning.v1.Co
|
|
|
474
474
|
* @generated from field: bool superseded = 12;
|
|
475
475
|
*/
|
|
476
476
|
superseded: boolean;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* For a test an installer concludes (PUMP_ALL_ZONES_OFF), while it runs: the last moment a
|
|
480
|
+
* verdict is taken (webrtc.v1.ConcludeCommissioningTest), on the gateway's clock. At it,
|
|
481
|
+
* without a verdict, the test ends ABORTED and its outputs start returning to their normal
|
|
482
|
+
* control, so that every write it made, leased to end by ends_at, can still end by then:
|
|
483
|
+
* conclude_by comes before ends_at, by as much as its slowest output's device needs. Never
|
|
484
|
+
* later than the end of the commissioning grant it runs under. Fixed when the test starts.
|
|
485
|
+
* Unset for the other kinds, and once the test has ended. A client counting down to it
|
|
486
|
+
* counts from when it received it, not on its own clock against this time.
|
|
487
|
+
*
|
|
488
|
+
* @generated from field: google.protobuf.Timestamp conclude_by = 14;
|
|
489
|
+
*/
|
|
490
|
+
concludeBy?: Timestamp | undefined;
|
|
477
491
|
};
|
|
478
492
|
|
|
479
493
|
/**
|
|
@@ -1237,7 +1251,8 @@ export enum TestState {
|
|
|
1237
1251
|
FAILED = 3,
|
|
1238
1252
|
|
|
1239
1253
|
/**
|
|
1240
|
-
* Stopped by a caller
|
|
1254
|
+
* Stopped by a caller; ended at ends_at; or, for a test an installer concludes
|
|
1255
|
+
* (PUMP_ALL_ZONES_OFF), ended at conclude_by without a verdict. Proves nothing.
|
|
1241
1256
|
*
|
|
1242
1257
|
* @generated from enum value: TEST_STATE_ABORTED = 4;
|
|
1243
1258
|
*/
|
|
@@ -11,7 +11,7 @@ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identit
|
|
|
11
11
|
* Describes the file kusinta/iot/commissioning/v1/commissioning.proto.
|
|
12
12
|
*/
|
|
13
13
|
export const file_kusinta_iot_commissioning_v1_commissioning = /*@__PURE__*/
|
|
14
|
-
fileDesc("
|
|
14
|
+
fileDesc("CjBrdXNpbnRhL2lvdC9jb21taXNzaW9uaW5nL3YxL2NvbW1pc3Npb25pbmcucHJvdG8SHGt1c2ludGEuaW90LmNvbW1pc3Npb25pbmcudjEizwEKClByb3ZlbmFuY2USMgoFcGFydHkYASABKA4yIy5rdXNpbnRhLmlvdC5jb21taXNzaW9uaW5nLnYxLlBhcnR5EjgKCGV2aWRlbmNlGAIgASgOMiYua3VzaW50YS5pb3QuY29tbWlzc2lvbmluZy52MS5FdmlkZW5jZRImCgJhdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKw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klFRBAAEhYKElRFU1RfU1RBVEVfUlVOTklORxABEhUKEVRFU1RfU1RBVEVfUEFTU0VEEAISFQoRVEVTVF9TVEFURV9GQUlMRUQQAxIWChJURVNUX1NUQVRFX0FCT1JURUQQBCqdAgoLVGVzdEZhaWx1cmUSHAoYVEVTVF9GQUlMVVJFX1VOU1BFQ0lGSUVEEAASJQohVEVTVF9GQUlMVVJFX1BPV0VSX09OX05PVF9BVF9SRVNUEAESIAocVEVTVF9GQUlMVVJFX05PX1NUQVRFX0NIQU5HRRACEiIKHlRFU1RfRkFJTFVSRV9MRUFTRV9OT1RfUkVORVdFRBADEicKI1RFU1RfRkFJTFVSRV9ESURfTk9UX1JFVFVSTl9UT19SRVNUEAQSIwofVEVTVF9GQUlMVVJFX0RFVklDRV9VTlJFQUNIQUJMRRAFEhoKFlRFU1RfRkFJTFVSRV9OT19FRkZFQ1QQBhIZChVURVNUX0ZBSUxVUkVfT0JTRVJWRUQQByqUAQoXQ29tbWlzc2lvbmluZ0dyYW50U3RhdGUSKQolQ09NTUlTU0lPTklOR19HUkFOVF9TVEFURV9VTlNQRUNJRklFRBAAEicKI0NPTU1JU1NJT05JTkdfR1JBTlRfU1RBVEVfUkVRVUVTVEVEEAESJQohQ09NTUlTU0lPTklOR19HUkFOVF9TVEFURV9HUkFOVEVEEAJCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_device_v1_cluster_state, file_kusinta_iot_identity_v1_identity]);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Describes the message kusinta.iot.commissioning.v1.Provenance.
|
|
@@ -83,7 +83,9 @@ export declare type PairingWindow = Message<"kusinta.iot.common.v1.PairingWindow
|
|
|
83
83
|
*
|
|
84
84
|
* A batch suits commissioning, where devices are paired in a row and become a building's
|
|
85
85
|
* rather than any person's. It does not suit a caller whose pairing mints personal
|
|
86
|
-
* ownership.
|
|
86
|
+
* ownership: a window whose arrivals become the pairer's own (webrtc.v1 StartPairing
|
|
87
|
+
* ownership RESIDENT, or a caller who can only pair their own) attributes one at most, and
|
|
88
|
+
* more is refused, from someone who files for the building too.
|
|
87
89
|
*
|
|
88
90
|
* Ignored where device_hint is set, and narrowed to one rather than refused: a hint names
|
|
89
91
|
* one device, so a window restricted to it can never produce a second arrival to attribute.
|
|
@@ -537,8 +537,11 @@ export declare const GatewayStreamOpenedSchema: GenMessage<GatewayStreamOpened>;
|
|
|
537
537
|
* of access; every device's ownership, an owned device staying filed where it is, released, as
|
|
538
538
|
* one of the building's own; every contact; and everything recorded per home — room history,
|
|
539
539
|
* climate summaries, events, targets, modes and routines — including what is still queued for the
|
|
540
|
-
* api-server about any of them, and the gateway's own records of who did what.
|
|
541
|
-
*
|
|
540
|
+
* api-server about any of them, and the gateway's own records of who did what. No home is held
|
|
541
|
+
* vacant after it (webrtc.v1 household.proto, VACANCY SETBACK): with every residency gone,
|
|
542
|
+
* nothing is left to show that anyone lived in any home, so the setback ends in all of them. A
|
|
543
|
+
* home's own wipe (household.proto, WIPE) keeps it. Every open session ends, and none is
|
|
544
|
+
* admitted until the wipe is done.
|
|
542
545
|
*
|
|
543
546
|
* Logs. A wipe takes what the gateway itself keeps; the operating system's log of the host it
|
|
544
547
|
* runs on is not the gateway's to erase, and what it holds stays until the host's own retention
|
|
@@ -388,6 +388,16 @@ export declare const RemoveDeviceFromSpaceSchema: GenMessage<RemoveDeviceFromSpa
|
|
|
388
388
|
* initial_space_id or without, that would leave a heating record across a home's boundary is
|
|
389
389
|
* refused or undone as HEATING ACROSS A HOME says.
|
|
390
390
|
*
|
|
391
|
+
* WHICH CLAIM. The claim states its ownership, and the gateway never defaults it: one with
|
|
392
|
+
* neither is refused as INVALID_REQUEST. A COMPANY claim is accepted only from a filing role,
|
|
393
|
+
* and refused as NOT_ENTITLED from anyone else, since it would grant them nothing of the device.
|
|
394
|
+
* A filing role may make either, in a home it lives in too: someone who both lives in a home
|
|
395
|
+
* and files for the building (the property owner, a technician or the gateway's administrator,
|
|
396
|
+
* filing the building's equipment in their own home) says which the device is, the building's
|
|
397
|
+
* or their own, and nothing about the caller decides it for them. A client SHOULD ask that person, and may choose
|
|
398
|
+
* for everyone else: COMPANY for a filing role outside the homes it lives in, RESIDENT for
|
|
399
|
+
* anyone without one.
|
|
400
|
+
*
|
|
391
401
|
* @generated from message kusinta.iot.webrtc.v1.ClaimDevice
|
|
392
402
|
*/
|
|
393
403
|
export declare type ClaimDevice = Message<"kusinta.iot.webrtc.v1.ClaimDevice"> & {
|
|
@@ -876,7 +886,14 @@ export declare const RoomLimitValueSchema: GenMessage<RoomLimitValue>;
|
|
|
876
886
|
* A min changed to below the gateway's public-health threshold — its own setting, which no
|
|
877
887
|
* operation in this contract changes; none while unset — needs accept_below_threshold, and is
|
|
878
888
|
* refused without it as FAILED_PRECONDITION with metadata {"reason": "below_threshold",
|
|
879
|
-
* "threshold_centidegrees": the threshold}.
|
|
889
|
+
* "threshold_centidegrees": the threshold}. Outer limits that change so that a valve they bind
|
|
890
|
+
* could not be set between them — no step of its setpoint grid, or of its own limit settings,
|
|
891
|
+
* whichever is coarser, lies in [min, max], or in [away_min, max] where min is unset — are
|
|
892
|
+
* refused as INVALID_REQUEST with metadata {"reason": "limits_no_setpoint",
|
|
893
|
+
* "step_centidegrees": that coarsest step, as a decimal string}. It is judged only over valves
|
|
894
|
+
* the caller sees, so it tells them nothing of a device hidden from them; a valve filed later,
|
|
895
|
+
* or hidden from whoever set the limits, whose grid leaves no step between them is held at the
|
|
896
|
+
* minimum. Limits the request leaves as they are are not judged again. Nothing in the answer to the outer limits depends
|
|
880
897
|
* on the home's state — its targets, inner limits, modes, or who lives there — so setting them
|
|
881
898
|
* tells the caller nothing of it; what they clamp is told to the household alone
|
|
882
899
|
* (RoomClimate.outer_limit_clamp). Only the lock in the same request is decided by whether the
|
|
@@ -1436,6 +1453,12 @@ export declare const ListHeatingSchema: GenMessage<ListHeating>;
|
|
|
1436
1453
|
* "OUTPUT_NOT_LEASED" an output whose write its producer does not state as leased.
|
|
1437
1454
|
* "REST_STATE" an output whose lapse value, read through closed_value, does not
|
|
1438
1455
|
* leave the contact where its role rests.
|
|
1456
|
+
* "TEST_RUNNING" a put that would change what a running commissioning test drives
|
|
1457
|
+
* or judges: an output binding of a record whose output it drives,
|
|
1458
|
+
* or a floor zone's rooms or control room while a test runs on the
|
|
1459
|
+
* zone or on its circuit (PUMP_ALL_ZONES_OFF). metadata "record_id"
|
|
1460
|
+
* names the test's record. A name, an area share or a supply cap
|
|
1461
|
+
* may change meanwhile.
|
|
1439
1462
|
*
|
|
1440
1463
|
* A refusal about one binding names it in metadata "field", by its proto field name:
|
|
1441
1464
|
* "sg_ready_block", "sg_ready_boost", "add_on_heater_block", "meter", "output",
|
|
@@ -1534,7 +1557,12 @@ export declare const PutComfortLoadSchema: GenMessage<PutComfortLoad>;
|
|
|
1534
1557
|
* Removes a heating record by its id, naming the revision it removes. Refused as
|
|
1535
1558
|
* FAILED_PRECONDITION with metadata "reason" "STALE_REVISION" when it changed since, and
|
|
1536
1559
|
* "HAS_CHILDREN" while records lie under it — a plant's circuits, a circuit's zones — so
|
|
1537
|
-
* nothing is removed that the caller did not name
|
|
1560
|
+
* nothing is removed that the caller did not name, and "TEST_RUNNING" while a running
|
|
1561
|
+
* commissioning test drives one of its outputs or judges it: a zone under its own test or
|
|
1562
|
+
* its circuit's PUMP_ALL_ZONES_OFF, a circuit while a test runs on it or on one of its
|
|
1563
|
+
* zones, a plant while a test runs on one of its outputs; metadata "record_id" names the
|
|
1564
|
+
* test's record. Removing it would change what the test's verdict covers while it runs.
|
|
1565
|
+
* Its outputs are returned to rest at once
|
|
1538
1566
|
* (see heating.v1). Acked. An empty home's floor zone is not removed by the property owner or
|
|
1539
1567
|
* the gateway administrators who are given it: NOT_ENTITLED, as PutFloorZone says.
|
|
1540
1568
|
*
|
|
@@ -1832,6 +1860,11 @@ export declare const SetHomeTemplateSchema: GenMessage<SetHomeTemplate>;
|
|
|
1832
1860
|
* test. A zone with no bound output counts as heating. Not refused once
|
|
1833
1861
|
* the circuit's "floor.pump_tolerates_all_zones_off" is true
|
|
1834
1862
|
* (commissioning.v1). metadata "record_id" names the zone.
|
|
1863
|
+
* "ZONES_SWITCHING_ON" OUTPUT_LEASE or ZONE_EFFECT on a floor zone while the circuit's
|
|
1864
|
+
* zones driven by running or starting tests of those kinds already
|
|
1865
|
+
* number its "floor.max_zones_switching_on" (commissioning.v1): their
|
|
1866
|
+
* leases would end together and their actuators open at once.
|
|
1867
|
+
* metadata "record_id" names the circuit.
|
|
1835
1868
|
* "NEEDS_PASS" ZONE_EFFECT or PUMP_ALL_ZONES_OFF on outputs without a current
|
|
1836
1869
|
* OUTPUT_LEASE pass; metadata "record_id" names one.
|
|
1837
1870
|
* "OUTPUT_NOT_LEASED" an output its producer does not state as leased, with a lapse value
|
|
@@ -1868,9 +1901,10 @@ export declare const RunCommissioningTestSchema: GenMessage<RunCommissioningTest
|
|
|
1868
1901
|
/**
|
|
1869
1902
|
* Ends a running test. verdict ABORTED stops any test, from whoever started it or may run
|
|
1870
1903
|
* it; PASSED or FAILED concludes a PUMP_ALL_ZONES_OFF test, from an installer under a
|
|
1871
|
-
* commissioning grant only. Any other verdict, or PASSED or
|
|
1872
|
-
* refused as INVALID_REQUEST "VERDICT". Its outputs return to
|
|
1873
|
-
* floor zones switching on no faster than
|
|
1904
|
+
* commissioning grant only, until the test's conclude_by. Any other verdict, or PASSED or
|
|
1905
|
+
* FAILED on another kind, is refused as INVALID_REQUEST "VERDICT". Its outputs return to
|
|
1906
|
+
* their normal control at once, floor zones switching on no faster than
|
|
1907
|
+
* "floor.max_zones_switching_on" allows. Answered
|
|
1874
1908
|
* with the CommissioningRecord of the test. A test that has ended is refused as
|
|
1875
1909
|
* FAILED_PRECONDITION "TEST_ENDED".
|
|
1876
1910
|
*
|