@kusinta/iot-schema 0.2.0-beta.30 → 0.2.0-beta.31
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
|
@@ -59,7 +59,9 @@ export declare type CreateInvite = Message<"kusinta.iot.webrtc.v1.CreateInvite">
|
|
|
59
59
|
*
|
|
60
60
|
* One pending invite per space and address: a second for the same address on the same
|
|
61
61
|
* space is refused as FAILED_PRECONDITION with metadata {"reason": "already_invited",
|
|
62
|
-
* "invite_id": <the pending one>}, so the app can offer to resend that one instead.
|
|
62
|
+
* "invite_id": <the pending one>}, so the app can offer to resend that one instead. A
|
|
63
|
+
* household invite and one made by a property owner or an administrator are counted
|
|
64
|
+
* apart, so the refusal never names an invite the caller is not shown (ListSpaceInvites).
|
|
63
65
|
*
|
|
64
66
|
* The gateway keeps the address only while the invite is pending, and drops it once the
|
|
65
67
|
* invite is redeemed, revoked or expired.
|
|
@@ -198,6 +198,10 @@ export declare const DeleteSpaceSchema: GenMessage<DeleteSpace>;
|
|
|
198
198
|
* Who may change who belongs to a home is restricted by the gateway; a caller not allowed is
|
|
199
199
|
* refused as NOT_ENTITLED. Residents see who is filed on their home in Space.members.
|
|
200
200
|
*
|
|
201
|
+
* A membership the caller is not told of (a staff member's residency, to anyone outside
|
|
202
|
+
* its household: access.v1.Role, STAFF) is never changed by them: assigning onto it is
|
|
203
|
+
* refused as NOT_ENTITLED, and RemoveUserFromSpace answers as for one that does not exist.
|
|
204
|
+
*
|
|
201
205
|
* @generated from message kusinta.iot.webrtc.v1.AssignUserToSpace
|
|
202
206
|
*/
|
|
203
207
|
export declare type AssignUserToSpace = Message<"kusinta.iot.webrtc.v1.AssignUserToSpace"> & {
|
|
@@ -231,7 +235,8 @@ export declare const AssignUserToSpaceSchema: GenMessage<AssignUserToSpace>;
|
|
|
231
235
|
* Removes a user's membership of a space. Losing reach also drops whatever the
|
|
232
236
|
* user was streaming from it, announced by LivePermissionUpdate.
|
|
233
237
|
*
|
|
234
|
-
* Removing someone else from a home is guarded as assigning is.
|
|
238
|
+
* Removing someone else from a home is guarded as assigning is. A membership the caller is
|
|
239
|
+
* not told of (see AssignUserToSpace) is answered as one that does not exist, and stays.
|
|
235
240
|
*
|
|
236
241
|
* @generated from message kusinta.iot.webrtc.v1.RemoveUserFromSpace
|
|
237
242
|
*/
|
|
@@ -245,7 +245,8 @@ export declare type MemberDetail = Message<"kusinta.iot.webrtc.v1.MemberDetail">
|
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* Every role they hold here, the registering administrator's ROLE_GATEWAY_ADMIN included,
|
|
248
|
-
* each once
|
|
248
|
+
* each once — save that a staff member's ROLE_RESIDENT is left out of every entry but the
|
|
249
|
+
* caller's own, since it would say they live in the building.
|
|
249
250
|
*
|
|
250
251
|
* @generated from field: repeated kusinta.iot.access.v1.Role roles = 3;
|
|
251
252
|
*/
|