@kusinta/iot-schema 0.2.0-beta.20 → 0.2.0-beta.22
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 +3 -1
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +5 -7
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +3 -3
- package/src/kusinta/iot/access/v1/roles_pb.js +3 -3
- package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +891 -0
- package/src/kusinta/iot/reporting/v1/reporting_pb.js +164 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +47 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
- package/src/kusinta/iot/space/v1/space_pb.d.ts +1 -2
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +7 -7
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +8 -10
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +12 -14
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +15 -18
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/reporting/v1/reporting.proto (package kusinta.iot.reporting.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
8
|
+
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file kusinta/iot/reporting/v1/reporting.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_kusinta_iot_reporting_v1_reporting = /*@__PURE__*/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RBVFVTX1JFSkVDVEVEEAMSEwoPQUNLX1NUQVRVU19IRUxEEARCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message kusinta.iot.reporting.v1.SnapshotPart.
|
|
18
|
+
* Use `create(SnapshotPartSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const SnapshotPartSchema = /*@__PURE__*/
|
|
21
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 0);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemSubject.
|
|
25
|
+
* Use `create(ProblemSubjectSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const ProblemSubjectSchema = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 1);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message kusinta.iot.reporting.v1.Problem.
|
|
32
|
+
* Use `create(ProblemSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const ProblemSchema = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 2);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemCleared.
|
|
39
|
+
* Use `create(ProblemClearedSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const ProblemClearedSchema = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 3);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemTransition.
|
|
46
|
+
* Use `create(ProblemTransitionSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const ProblemTransitionSchema = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 4);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message kusinta.iot.reporting.v1.ReportProblemsRequest.
|
|
53
|
+
* Use `create(ReportProblemsRequestSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const ReportProblemsRequestSchema = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 5);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message kusinta.iot.reporting.v1.TransitionAck.
|
|
60
|
+
* Use `create(TransitionAckSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const TransitionAckSchema = /*@__PURE__*/
|
|
63
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 6);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message kusinta.iot.reporting.v1.ReportProblemsResponse.
|
|
67
|
+
* Use `create(ReportProblemsResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const ReportProblemsResponseSchema = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 7);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message kusinta.iot.reporting.v1.ServiceReach.
|
|
74
|
+
* Use `create(ServiceReachSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const ServiceReachSchema = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 8);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message kusinta.iot.reporting.v1.ReachedSpace.
|
|
81
|
+
* Use `create(ReachedSpaceSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const ReachedSpaceSchema = /*@__PURE__*/
|
|
84
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 9);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServiceReachRequest.
|
|
88
|
+
* Use `create(ReportServiceReachRequestSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const ReportServiceReachRequestSchema = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 10);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServiceReachResponse.
|
|
95
|
+
* Use `create(ReportServiceReachResponseSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const ReportServiceReachResponseSchema = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 11);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message kusinta.iot.reporting.v1.ServedSpace.
|
|
102
|
+
* Use `create(ServedSpaceSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const ServedSpaceSchema = /*@__PURE__*/
|
|
105
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 12);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServedSpacesRequest.
|
|
109
|
+
* Use `create(ReportServedSpacesRequestSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export const ReportServedSpacesRequestSchema = /*@__PURE__*/
|
|
112
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 13);
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServedSpacesResponse.
|
|
116
|
+
* Use `create(ReportServedSpacesResponseSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
export const ReportServedSpacesResponseSchema = /*@__PURE__*/
|
|
119
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 14);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the enum kusinta.iot.reporting.v1.ProblemKind.
|
|
123
|
+
*/
|
|
124
|
+
export const ProblemKindSchema = /*@__PURE__*/
|
|
125
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 0);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* What kind of problem is open. The device kinds mirror what service staff are given of a
|
|
129
|
+
* device (webrtc.v1.ServiceStatus: reachability, the battery flags, the ServiceFault values);
|
|
130
|
+
* a device signal added there is added here too.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum kusinta.iot.reporting.v1.ProblemKind
|
|
133
|
+
*/
|
|
134
|
+
export const ProblemKind = /*@__PURE__*/
|
|
135
|
+
tsEnum(ProblemKindSchema);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the enum kusinta.iot.reporting.v1.ClearReason.
|
|
139
|
+
*/
|
|
140
|
+
export const ClearReasonSchema = /*@__PURE__*/
|
|
141
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 1);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Why a problem closed.
|
|
145
|
+
*
|
|
146
|
+
* @generated from enum kusinta.iot.reporting.v1.ClearReason
|
|
147
|
+
*/
|
|
148
|
+
export const ClearReason = /*@__PURE__*/
|
|
149
|
+
tsEnum(ClearReasonSchema);
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the enum kusinta.iot.reporting.v1.AckStatus.
|
|
153
|
+
*/
|
|
154
|
+
export const AckStatusSchema = /*@__PURE__*/
|
|
155
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 2);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* What the api-server made of one transition.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum kusinta.iot.reporting.v1.AckStatus
|
|
161
|
+
*/
|
|
162
|
+
export const AckStatus = /*@__PURE__*/
|
|
163
|
+
tsEnum(AckStatusSchema);
|
|
164
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/reporting/v1/reporting_service.proto (package kusinta.iot.reporting.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { ReportProblemsRequestSchema, ReportProblemsResponseSchema, ReportServedSpacesRequestSchema, ReportServedSpacesResponseSchema, ReportServiceReachRequestSchema, ReportServiceReachResponseSchema } from "./reporting_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/reporting/v1/reporting_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_reporting_v1_reporting_service: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The building-server gateway's reports to the api-server, over the gateway's client
|
|
15
|
+
* certificate: which gateway is reporting comes from the certificate. Three unary calls, one
|
|
16
|
+
* per concern, each with its own stream of reports, so a slow call for one never holds back
|
|
17
|
+
* another.
|
|
18
|
+
*
|
|
19
|
+
* @generated from service kusinta.iot.reporting.v1.GatewayReportingService
|
|
20
|
+
*/
|
|
21
|
+
export declare const GatewayReportingService: GenService<{
|
|
22
|
+
/**
|
|
23
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportProblems
|
|
24
|
+
*/
|
|
25
|
+
reportProblems: {
|
|
26
|
+
methodKind: "unary";
|
|
27
|
+
input: typeof ReportProblemsRequestSchema;
|
|
28
|
+
output: typeof ReportProblemsResponseSchema;
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportServiceReach
|
|
32
|
+
*/
|
|
33
|
+
reportServiceReach: {
|
|
34
|
+
methodKind: "unary";
|
|
35
|
+
input: typeof ReportServiceReachRequestSchema;
|
|
36
|
+
output: typeof ReportServiceReachResponseSchema;
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportServedSpaces
|
|
40
|
+
*/
|
|
41
|
+
reportServedSpaces: {
|
|
42
|
+
methodKind: "unary";
|
|
43
|
+
input: typeof ReportServedSpacesRequestSchema;
|
|
44
|
+
output: typeof ReportServedSpacesResponseSchema;
|
|
45
|
+
},
|
|
46
|
+
}>;
|
|
47
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/reporting/v1/reporting_service.proto (package kusinta.iot.reporting.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_reporting_v1_reporting } from "./reporting_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/reporting/v1/reporting_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_kusinta_iot_reporting_v1_reporting_service = /*@__PURE__*/
|
|
12
|
+
fileDesc("CjBrdXNpbnRhL2lvdC9yZXBvcnRpbmcvdjEvcmVwb3J0aW5nX3NlcnZpY2UucHJvdG8SGGt1c2ludGEuaW90LnJlcG9ydGluZy52MTKQAwoXR2F0ZXdheVJlcG9ydGluZ1NlcnZpY2UScwoOUmVwb3J0UHJvYmxlbXMSLy5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0UHJvYmxlbXNSZXF1ZXN0GjAua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFByb2JsZW1zUmVzcG9uc2USfwoSUmVwb3J0U2VydmljZVJlYWNoEjMua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFNlcnZpY2VSZWFjaFJlcXVlc3QaNC5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0U2VydmljZVJlYWNoUmVzcG9uc2USfwoSUmVwb3J0U2VydmVkU3BhY2VzEjMua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFNlcnZlZFNwYWNlc1JlcXVlc3QaNC5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0U2VydmVkU3BhY2VzUmVzcG9uc2VCAkgBYgZwcm90bzM", [file_kusinta_iot_reporting_v1_reporting]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The building-server gateway's reports to the api-server, over the gateway's client
|
|
16
|
+
* certificate: which gateway is reporting comes from the certificate. Three unary calls, one
|
|
17
|
+
* per concern, each with its own stream of reports, so a slow call for one never holds back
|
|
18
|
+
* another.
|
|
19
|
+
*
|
|
20
|
+
* @generated from service kusinta.iot.reporting.v1.GatewayReportingService
|
|
21
|
+
*/
|
|
22
|
+
export const GatewayReportingService = /*@__PURE__*/
|
|
23
|
+
serviceDesc(file_kusinta_iot_reporting_v1_reporting_service, 0);
|
|
24
|
+
|
|
@@ -103,8 +103,7 @@ export declare type Space = Message<"kusinta.iot.space.v1.Space"> & {
|
|
|
103
103
|
* Filled according to who asks, since a membership list says who lives where:
|
|
104
104
|
*
|
|
105
105
|
* * a caller holding ROLE_PROPERTY_OWNER or ROLE_GATEWAY_ADMIN who reaches the space
|
|
106
|
-
* sees every member
|
|
107
|
-
* quarter hour, so that a move in or out is not timed by polling;
|
|
106
|
+
* sees every member, in a home they see as service too, as the members change;
|
|
108
107
|
* * a resident of an apartment sees every member filed on it or on its rooms — who they
|
|
109
108
|
* live with, and anyone filed on their home as service, since being filed on a home
|
|
110
109
|
* is an act on it its residents should see. Service reach from a building or floor
|
|
@@ -17,8 +17,8 @@ export declare const file_kusinta_iot_webrtc_v1_device_state: GenFile;
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Full device state sent to the app on initial WebRTC connection. Devices the recipient sees
|
|
20
|
-
* as service are as they
|
|
21
|
-
*
|
|
20
|
+
* as service are as they are now, by description only, each with its ServiceStatus once
|
|
21
|
+
* one has been evaluated for them (see service_statuses).
|
|
22
22
|
*
|
|
23
23
|
* @generated from message kusinta.iot.webrtc.v1.DeviceStateSnapshot
|
|
24
24
|
*/
|
|
@@ -82,9 +82,9 @@ export declare type ServiceStatus = Message<"kusinta.iot.webrtc.v1.ServiceStatus
|
|
|
82
82
|
* device, nor, for a resident, than their current residency — each start taken at the
|
|
83
83
|
* first quarter hour at or after it. When that start moves because the recipient becomes
|
|
84
84
|
* a resident, the app drops the status it held and is sent one again from the new start at
|
|
85
|
-
* the next quarter hour. These quarter hours, and the
|
|
86
|
-
* taken away, are the only times service is
|
|
87
|
-
* access.v1.MembershipRelation). Pushed and in a
|
|
85
|
+
* the next quarter hour. These quarter hours, and the moments a device appears to service,
|
|
86
|
+
* changes and is taken away, which they see as they happen, are the only times service is
|
|
87
|
+
* given of a device in a home (see access.v1.MembershipRelation). Pushed and in a
|
|
88
88
|
* snapshot alike, so an unchanged status carries the same as_of however it arrived.
|
|
89
89
|
*
|
|
90
90
|
* @generated from field: google.protobuf.Timestamp as_of = 2;
|
|
@@ -207,8 +207,8 @@ export declare const PropertyReportSchema: GenMessage<PropertyReport>;
|
|
|
207
207
|
* Carries the full Device, descriptor plus current typed properties, so the app can
|
|
208
208
|
* render it without a follow-up read — the same payload DeviceStateSnapshot gives
|
|
209
209
|
* per device. To a recipient who sees it as service, the Device carries its description
|
|
210
|
-
* only, as in a snapshot, and is sent
|
|
211
|
-
* access.v1.DeviceAcl.relation).
|
|
210
|
+
* only, as in a snapshot, and is sent as it appears; its ServiceStatus follows from the
|
|
211
|
+
* next quarter hour (see access.v1.DeviceAcl.relation).
|
|
212
212
|
*
|
|
213
213
|
* Apply as an upsert keyed on descriptor.device_id, never as an insert: a device can
|
|
214
214
|
* be in the snapshot and then announced, or announced twice across a connector
|
|
@@ -485,8 +485,7 @@ export declare const PairingStartedSchema: GenMessage<PairingStarted>;
|
|
|
485
485
|
* One message per request, not per device: a batch window attributes several, and a client
|
|
486
486
|
* given one message each has nothing telling it the window is over and no defined moment to
|
|
487
487
|
* stop waiting. The devices are listed here; each also arrives as an ordinary DeviceAdded
|
|
488
|
-
* as it appears
|
|
489
|
-
* client may show them as they come and use this to finish.
|
|
488
|
+
* as it appears, so a client may show them as they come and use this to finish.
|
|
490
489
|
*
|
|
491
490
|
* An error and a non-empty device list are not exclusive. A batch of five that attributed
|
|
492
491
|
* three and then expired reports both — three devices and NO_DEVICE_APPEARED — because
|
|
@@ -540,11 +539,10 @@ export declare const PairingFinishedSchema: GenMessage<PairingFinished>;
|
|
|
540
539
|
*
|
|
541
540
|
* Sent only for links the recipient is entitled to see. An unfiltered one would say
|
|
542
541
|
* which devices exist and how they are arranged, to somebody entitled to neither. A link
|
|
543
|
-
* with an end in a home
|
|
544
|
-
*
|
|
545
|
-
*
|
|
546
|
-
*
|
|
547
|
-
* held it at a quarter hour since it was made, and to nobody else.
|
|
542
|
+
* with an end in a home reaches a recipient who sees it as service with details_withheld,
|
|
543
|
+
* and is pushed to them only when it appears and when it is removed — never for anything
|
|
544
|
+
* else, its state and settings included, which are not theirs to see. Its removal is pushed
|
|
545
|
+
* to them at once, as every loss is — to those who were shown it, and to nobody else.
|
|
548
546
|
*
|
|
549
547
|
* @generated from message kusinta.iot.webrtc.v1.LinkChanged
|
|
550
548
|
*/
|
|
@@ -679,9 +677,9 @@ export declare const ConnectorsAnnouncedSchema: GenMessage<ConnectorsAnnounced>;
|
|
|
679
677
|
* held at, its condition. Apply as an upsert keyed on room.space_id. Sent only for rooms
|
|
680
678
|
* the recipient may see, and whenever any field the recipient is sent moves — a knob
|
|
681
679
|
* turned by hand shows up here without the app asking. To a recipient who sees the room
|
|
682
|
-
* as service, what is new is sent
|
|
683
|
-
*
|
|
684
|
-
*
|
|
680
|
+
* as service, what is new is sent as it happens and what is lost at once. A recipient who
|
|
681
|
+
* is sent the room with state_withheld is therefore not sent it when only withheld fields
|
|
682
|
+
* move.
|
|
685
683
|
*
|
|
686
684
|
* @generated from message kusinta.iot.webrtc.v1.RoomClimateChanged
|
|
687
685
|
*/
|
|
@@ -86,8 +86,7 @@ export declare const CreateSpaceSchema: GenMessage<CreateSpace>;
|
|
|
86
86
|
* filed on the apartment, where it was in it — and any link it would carry across a
|
|
87
87
|
* boundary is removed. Changing the type of a space that has members needs
|
|
88
88
|
* ROLE_PROPERTY_OWNER or ROLE_GATEWAY_ADMIN, who see them, and is refused if it would
|
|
89
|
-
* leave a RESIDENT membership on a room
|
|
90
|
-
* the last quarter hour; that much this refusal discloses.
|
|
89
|
+
* leave a RESIDENT membership on a room.
|
|
91
90
|
*
|
|
92
91
|
* Every descriptive field carries explicit presence: absent means leave it alone, present
|
|
93
92
|
* means set it to this — including to the empty string, which is how a description is
|
|
@@ -478,8 +477,8 @@ export declare const ListSpacesSchema: GenMessage<ListSpaces>;
|
|
|
478
477
|
* device_ids on each Space are filtered to what the caller may see. An
|
|
479
478
|
* unfiltered tree would list every device on the gateway by id, which is the
|
|
480
479
|
* enumeration channel the snapshot filter exists to close. To a caller who sees a home as
|
|
481
|
-
* service, what is new in it is listed
|
|
482
|
-
*
|
|
480
|
+
* service, what is new in it is listed as it happens and what is gone at once, its members
|
|
481
|
+
* included where they are shown (see Space.members).
|
|
483
482
|
*
|
|
484
483
|
* @generated from message kusinta.iot.webrtc.v1.SpaceTree
|
|
485
484
|
*/
|
|
@@ -652,7 +651,7 @@ export declare const UpdateDeviceLinkSchema: GenMessage<UpdateDeviceLink>;
|
|
|
652
651
|
*
|
|
653
652
|
* A link with an end in a home reaches a caller who sees it as service with
|
|
654
653
|
* DeviceLink.details_withheld set, and what that withholds unset — a new link
|
|
655
|
-
*
|
|
654
|
+
* as it is made, a removed one at once — and not at all when either end is a
|
|
656
655
|
* device a resident owns.
|
|
657
656
|
*
|
|
658
657
|
* @generated from message kusinta.iot.webrtc.v1.ListDeviceLinks
|
|
@@ -814,11 +813,11 @@ export declare const ConfigureRoomClimateSchema: GenMessage<ConfigureRoomClimate
|
|
|
814
813
|
*
|
|
815
814
|
* In a home, only its residents may switch one on or off: whether a home stands empty is
|
|
816
815
|
* theirs to say. A caller who reaches it as service is refused as NOT_ENTITLED — except
|
|
817
|
-
* that, while the home
|
|
818
|
-
*
|
|
819
|
-
*
|
|
820
|
-
*
|
|
821
|
-
*
|
|
816
|
+
* that, while the home has no resident, ROLE_PROPERTY_OWNER or ROLE_GATEWAY_ADMIN may
|
|
817
|
+
* switch off a mode that is on and whose setter is not a resident, so that no mode
|
|
818
|
+
* outlives everyone who could end it. Any other switch-off from them — no mode on, or one
|
|
819
|
+
* that is a resident's — is accepted and does nothing, so the answer tells them nothing of
|
|
820
|
+
* whether a mode was on or whether anyone has moved in.
|
|
822
821
|
*
|
|
823
822
|
* @generated from message kusinta.iot.webrtc.v1.SetClimateMode
|
|
824
823
|
*/
|
|
@@ -862,8 +861,8 @@ export declare const SetClimateModeSchema: GenMessage<SetClimateMode>;
|
|
|
862
861
|
* one the caller can reach; naming a space narrows it to that space and those below.
|
|
863
862
|
*
|
|
864
863
|
* A caller who reaches a room inside an apartment as service gets it with
|
|
865
|
-
* RoomClimate.state_withheld set — what is new
|
|
866
|
-
*
|
|
864
|
+
* RoomClimate.state_withheld set — what is new as it happens, what is gone at once — and
|
|
865
|
+
* gets no ClimateMode set on that apartment or its rooms.
|
|
867
866
|
*
|
|
868
867
|
* @generated from message kusinta.iot.webrtc.v1.ListRoomClimates
|
|
869
868
|
*/
|
|
@@ -945,8 +944,7 @@ export declare type PrivacyDisclosure = Message<"kusinta.iot.webrtc.v1.PrivacyDi
|
|
|
945
944
|
* role the gateway has not yet learnt, counts as ROLE_UNSPECIFIED. The gateway's
|
|
946
945
|
* administrator is always listed. So the list reads the same whether or not anyone lives
|
|
947
946
|
* in the home, and never understates who has reach or what they see. Devices a resident
|
|
948
|
-
* owns are not shown to service at all.
|
|
949
|
-
* answered as it stood at the last quarter hour.
|
|
947
|
+
* owns are not shown to service at all.
|
|
950
948
|
*
|
|
951
949
|
* @generated from field: repeated kusinta.iot.webrtc.v1.ServiceParty service_parties = 5;
|
|
952
950
|
*/
|
|
@@ -13,24 +13,21 @@ import type { DeviceId, SpaceId } from "../../identity/v1/identity_pb.js";
|
|
|
13
13
|
export declare const file_kusinta_iot_webrtc_v1_permission_push: GenFile;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Pushed to the app whenever the user's effective permissions change
|
|
17
|
-
* away what the user may see or do takes effect and is sent at once
|
|
18
|
-
* of a home as service — a device filed into it, a home newly reached —
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* drops the ServiceStatus it held of them until their next one. A quarter-hour
|
|
29
|
-
* push that brings a home newly seen as service lists it in reset_spaces, so the app reads
|
|
30
|
-
* its rooms and links then.
|
|
16
|
+
* Pushed to the app whenever the user's effective permissions change, as they change. A
|
|
17
|
+
* change that takes away what the user may see or do takes effect and is sent at once; what
|
|
18
|
+
* a user newly sees of a home as service — a device filed into it, a home newly reached —
|
|
19
|
+
* is sent as it happens too, with new_permissions.valid_at the moment it took effect. A
|
|
20
|
+
* resident who becomes service loses the resident view at once — the home's devices are
|
|
21
|
+
* listed in removed_devices, so the app drops what it holds of them — and gains the service
|
|
22
|
+
* view at once, in a push that follows, where they come back in added_devices as service
|
|
23
|
+
* and their stretch of seeing the home as service begins. A member who becomes a resident
|
|
24
|
+
* gains the resident view at once: the home's devices come again in added_devices, each
|
|
25
|
+
* with a DeviceAdded carrying its full Device, and the app drops the ServiceStatus it held
|
|
26
|
+
* of them until their next one. A push that brings a home newly seen as service lists it in
|
|
27
|
+
* reset_spaces, so the app reads its rooms and links then.
|
|
31
28
|
* change_reason values: "DEVICE_ASSIGNED", "DEVICE_UNASSIGNED", "RESIDENT_CHANGED",
|
|
32
29
|
* "CONSTRAINT_UPDATED"; empty whenever the change concerns a home the user sees, or saw, as
|
|
33
|
-
* service
|
|
30
|
+
* service, so that no push says why a home changed.
|
|
34
31
|
*
|
|
35
32
|
* @generated from message kusinta.iot.webrtc.v1.LivePermissionUpdate
|
|
36
33
|
*/
|
|
@@ -68,8 +65,8 @@ export declare type LivePermissionUpdate = Message<"kusinta.iot.webrtc.v1.LivePe
|
|
|
68
65
|
* space, or newly see it as service. The app drops everything it holds of each and of the
|
|
69
66
|
* spaces beneath it, and reads them again (ListSpaces, ListRoomClimates, ListDeviceLinks)
|
|
70
67
|
* if it may.
|
|
71
|
-
*
|
|
72
|
-
*
|
|
68
|
+
* Each is sent as the change happens: a loss, a wider view as a resident and a home newly
|
|
69
|
+
* seen as service alike.
|
|
73
70
|
*
|
|
74
71
|
* @generated from field: repeated kusinta.iot.identity.v1.SpaceId reset_spaces = 5;
|
|
75
72
|
*/
|