@kusinta/iot-schema 0.2.0-beta.43 → 0.2.0-beta.44
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
CHANGED
|
@@ -260,6 +260,28 @@ export declare type HouseholdHandover = Message<"kusinta.iot.webrtc.v1.Household
|
|
|
260
260
|
* @generated from field: bool vacated = 10;
|
|
261
261
|
*/
|
|
262
262
|
vacated: boolean;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Set by the gateway per session: the session's user is a member of the household the
|
|
266
|
+
* handover is about — the home's residents while it is not vacated, the departing household
|
|
267
|
+
* (VACANCY) while it is. Someone who is both staff and in that household is told both, so a
|
|
268
|
+
* client offers them the household's export, and with recipient_household_admin its
|
|
269
|
+
* confirmation, as well as what staff may do, rather than guessing from roles which of the
|
|
270
|
+
* two they are.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: bool recipient_in_household = 11;
|
|
273
|
+
*/
|
|
274
|
+
recipientInHousehold: boolean;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Set by the gateway per session: the session's user may confirm the handover as a household
|
|
278
|
+
* admin — a household admin of the home now, or, for a vacated one, one of the departing
|
|
279
|
+
* household's admins (VACANCY). A client offers confirmation on this, not on
|
|
280
|
+
* recipient_in_household, which a plain resident holds too.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: bool recipient_household_admin = 12;
|
|
283
|
+
*/
|
|
284
|
+
recipientHouseholdAdmin: boolean;
|
|
263
285
|
};
|
|
264
286
|
|
|
265
287
|
/**
|
|
@@ -476,7 +498,9 @@ export enum HouseholdHandoverState {
|
|
|
476
498
|
CANCELLED = 2,
|
|
477
499
|
|
|
478
500
|
/**
|
|
479
|
-
* Confirmed, or
|
|
501
|
+
* Confirmed, or, for a vacated one, its notice passed with nobody living in the home; the wipe
|
|
502
|
+
* has run. The last residency ending while one is pending makes it vacated, not done
|
|
503
|
+
* (VACANCY).
|
|
480
504
|
*
|
|
481
505
|
* @generated from enum value: HOUSEHOLD_HANDOVER_STATE_DONE = 3;
|
|
482
506
|
*/
|
|
@@ -13,7 +13,7 @@ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identit
|
|
|
13
13
|
* Describes the file kusinta/iot/webrtc/v1/household.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_kusinta_iot_webrtc_v1_household = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
16
|
+
fileDesc("CiVrdXNpbnRhL2lvdC93ZWJydGMvdjEvaG91c2Vob2xkLnByb3RvEhVrdXNpbnRhLmlvdC53ZWJydGMudjEiewoURGVtb3RlSG91c2Vob2xkQWRtaW4SMQoHaG9tZV9pZBgBIAEoCzIgLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlNwYWNlSWQSMAoHdXNlcl9pZBgCIAEoCzIfLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlVzZXJJZCL7AQoQU3RhZmZBcHBvaW50bWVudBIyCglhcHBvaW50ZWUYASABKAsyHy5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Vc2VySWQSNQoMYXBwb2ludGVkX2J5GAIgASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEhkKEWFwcG9pbnRlZF9ieV9uYW1lGAMgASgJEiYKAmF0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI5CgRraW5kGAUgASgOMisua3VzaW50YS5pb3Qud2VicnRjLnYxLlN0YWZmQXBwb2ludG1lbnRLaW5kIksKFlN0YXJ0SG91c2Vob2xkSGFuZG92ZXISMQoHaG9tZV9pZBgBIAEoCzIgLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlNwYWNlSWQiLwoYQ29uZmlybUhvdXNlaG9sZEhhbmRvdmVyEhMKC2hhbmRvdmVyX2lkGAEgASgJIi4KF0NhbmNlbEhvdXNlaG9sZEhhbmRvdmVyEhMKC2hhbmRvdmVyX2lkGAEgASgJIlEKF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3RvMw", [file_google_protobuf_timestamp, file_kusinta_iot_climate_v1_climate, file_kusinta_iot_commissioning_v1_commissioning, file_kusinta_iot_heating_v1_heating, file_kusinta_iot_identity_v1_identity]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Describes the message kusinta.iot.webrtc.v1.DemoteHouseholdAdmin.
|
|
@@ -979,8 +979,8 @@ export declare type PrivacyDisclosure = Message<"kusinta.iot.webrtc.v1.PrivacyDi
|
|
|
979
979
|
* role the gateway has not yet learnt, counts as ROLE_UNSPECIFIED. ROLE_GATEWAY_ADMIN is
|
|
980
980
|
* always listed, and ROLE_PROPERTY_OWNER whenever anyone holds it, wherever they are
|
|
981
981
|
* filed: both may file themselves on the home. So the list reads the same whether or not
|
|
982
|
-
* anyone lives in the home, and never understates who has reach or what they see. Devices a
|
|
983
|
-
* owns are not shown to service at all.
|
|
982
|
+
* anyone lives in the home, and never understates who has reach or what they see. Devices a
|
|
983
|
+
* resident owns are not shown to service at all.
|
|
984
984
|
*
|
|
985
985
|
* @generated from field: repeated kusinta.iot.webrtc.v1.ServiceParty service_parties = 5;
|
|
986
986
|
*/
|
|
@@ -1424,7 +1424,10 @@ export declare const SetComfortWindowsSchema: GenMessage<SetComfortWindows>;
|
|
|
1424
1424
|
* (accountlink.v1.AccountLinkNonce). Only a household admin of the home
|
|
1425
1425
|
* (access.v1.MEMBERSHIP_RELATION_HOUSEHOLD_ADMIN) is issued one; anyone else is refused as
|
|
1426
1426
|
* NOT_ENTITLED, as is a home the caller cannot reach. A service this gateway does not
|
|
1427
|
-
* support is refused as INVALID_REQUEST.
|
|
1427
|
+
* support is refused as INVALID_REQUEST. A gateway that cannot hold linked accounts right now
|
|
1428
|
+
* — its key for sealing them is missing or is not the one its stored links were sealed with —
|
|
1429
|
+
* refuses as UNAVAILABLE with metadata {"reason": "account_links_off"}; nothing is linked until
|
|
1430
|
+
* that is put right on the gateway.
|
|
1428
1431
|
*
|
|
1429
1432
|
* @generated from message kusinta.iot.webrtc.v1.RequestAccountLinkNonce
|
|
1430
1433
|
*/
|
|
@@ -1448,7 +1451,8 @@ export declare const RequestAccountLinkNonceSchema: GenMessage<RequestAccountLin
|
|
|
1448
1451
|
|
|
1449
1452
|
/**
|
|
1450
1453
|
* Lists a home's linked accounts and their status, answered with an AccountLinks. Given to
|
|
1451
|
-
* the home's residents
|
|
1454
|
+
* the home's residents, and to the departing household while a vacated handover of the home is
|
|
1455
|
+
* pending (household.proto, VACANCY); anyone else is refused as NOT_ENTITLED.
|
|
1452
1456
|
*
|
|
1453
1457
|
* @generated from message kusinta.iot.webrtc.v1.ListAccountLinks
|
|
1454
1458
|
*/
|