@kusinta/iot-schema 0.2.0-beta.21 → 0.2.0-beta.23
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 +1 -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/common/v1/types_pb.d.ts +141 -0
- package/src/kusinta/iot/common/v1/types_pb.js +49 -1
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +270 -2
- package/src/kusinta/iot/connector/v1/connector_pb.js +53 -20
- package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +96 -17
- package/src/kusinta/iot/reporting/v1/reporting_pb.js +39 -1
- 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 +53 -15
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +1 -1
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +106 -14
- package/src/kusinta/iot/webrtc/v1/management_pb.js +9 -2
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +15 -18
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file kusinta/iot/connector/v1/connector.proto (package kusinta.iot.connector.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import { file_kusinta_iot_common_v1_pairing } from "../../common/v1/pairing_pb.js";
|
|
8
8
|
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
@@ -17,7 +17,7 @@ import { file_kusinta_iot_webrtc_v1_command } from "../../webrtc/v1/command_pb.j
|
|
|
17
17
|
* Describes the file kusinta/iot/connector/v1/connector.proto.
|
|
18
18
|
*/
|
|
19
19
|
export const file_kusinta_iot_connector_v1_connector = /*@__PURE__*/
|
|
20
|
-
fileDesc("
|
|
20
|
+
fileDesc("CihrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yLnByb3RvEhhrdXNpbnRhLmlvdC5jb25uZWN0b3IudjEipQMKDUNvbm5lY3RvckluZm8SOgoMY29ubmVjdG9yX2lkGAEgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSPAoJdHJhbnNwb3J0GAQgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkNvbm5lY3RvclRyYW5zcG9ydBIQCghlbmRwb2ludBgFIAEoCRIhChlzdXBwb3J0ZWRfZGV2aWNlX3R5cGVfaWRzGAYgAygNEhgKEHN1cHBvcnRzX3BhaXJpbmcYByABKAgSHQoVc3VwcG9ydHNfcHJvdmlzaW9uaW5nGAggASgIEhUKDWJyb2tlcnNfbGlua3MYCSABKAgSMgoEa2luZBgKIAEoDjIkLmt1c2ludGEuaW90LmNvbW1vbi52MS5Db25uZWN0b3JLaW5kEhMKC2Rlc2NyaXB0aW9uGAsgASgJEiUKHXN1cHBvcnRzX2JhY2tlbmRfcmVpbml0aWFsaXplGAwgASgIIv4BChJDb25uZWN0b3JIYW5kc2hha2USNQoEaW5mbxgBIAEoCzInLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5Db25uZWN0b3JJbmZvEjQKDWtub3duX2RldmljZXMYAiADKAsyHS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuRGV2aWNlEjQKC2tub3duX2xpbmtzGAMgAygLMh8ua3VzaW50YS5pb3QubGluay52MS5EZXZpY2VMaW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XRpYWxpemVPdXRjb21lEiQKIFJFSU5JVElBTElaRV9PVVRDT01FX1VOU1BFQ0lGSUVEEAASHQoZUkVJTklUSUFMSVpFX09VVENPTUVfRE9ORRABEh8KG1JFSU5JVElBTElaRV9PVVRDT01FX0ZBSUxFRBACEiYKIlJFSU5JVElBTElaRV9PVVRDT01FX05PVF9TVVBQT1JURUQQA0ICSAFiBnByb3RvMw", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_pairing, file_kusinta_iot_common_v1_types, file_kusinta_iot_device_v1_device, file_kusinta_iot_device_v1_device_event, file_kusinta_iot_device_v1_property_update, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_link_v1_link, file_kusinta_iot_webrtc_v1_command]);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Describes the message kusinta.iot.connector.v1.ConnectorInfo.
|
|
@@ -33,129 +33,162 @@ export const ConnectorInfoSchema = /*@__PURE__*/
|
|
|
33
33
|
export const ConnectorHandshakeSchema = /*@__PURE__*/
|
|
34
34
|
messageDesc(file_kusinta_iot_connector_v1_connector, 1);
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message kusinta.iot.connector.v1.BackendHealthReport.
|
|
38
|
+
* Use `create(BackendHealthReportSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const BackendHealthReportSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 2);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message kusinta.iot.connector.v1.ReinitializeBackend.
|
|
45
|
+
* Use `create(ReinitializeBackendSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const ReinitializeBackendSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 3);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message kusinta.iot.connector.v1.ReinitializeBackendResult.
|
|
52
|
+
* Use `create(ReinitializeBackendResultSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const ReinitializeBackendResultSchema = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 4);
|
|
56
|
+
|
|
36
57
|
/**
|
|
37
58
|
* Describes the message kusinta.iot.connector.v1.CreateLink.
|
|
38
59
|
* Use `create(CreateLinkSchema)` to create a new message.
|
|
39
60
|
*/
|
|
40
61
|
export const CreateLinkSchema = /*@__PURE__*/
|
|
41
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
62
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 5);
|
|
42
63
|
|
|
43
64
|
/**
|
|
44
65
|
* Describes the message kusinta.iot.connector.v1.RemoveLink.
|
|
45
66
|
* Use `create(RemoveLinkSchema)` to create a new message.
|
|
46
67
|
*/
|
|
47
68
|
export const RemoveLinkSchema = /*@__PURE__*/
|
|
48
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
69
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 6);
|
|
49
70
|
|
|
50
71
|
/**
|
|
51
72
|
* Describes the message kusinta.iot.connector.v1.ListLinks.
|
|
52
73
|
* Use `create(ListLinksSchema)` to create a new message.
|
|
53
74
|
*/
|
|
54
75
|
export const ListLinksSchema = /*@__PURE__*/
|
|
55
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
76
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 7);
|
|
56
77
|
|
|
57
78
|
/**
|
|
58
79
|
* Describes the message kusinta.iot.connector.v1.LinkResult.
|
|
59
80
|
* Use `create(LinkResultSchema)` to create a new message.
|
|
60
81
|
*/
|
|
61
82
|
export const LinkResultSchema = /*@__PURE__*/
|
|
62
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
83
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 8);
|
|
63
84
|
|
|
64
85
|
/**
|
|
65
86
|
* Describes the message kusinta.iot.connector.v1.LinksReported.
|
|
66
87
|
* Use `create(LinksReportedSchema)` to create a new message.
|
|
67
88
|
*/
|
|
68
89
|
export const LinksReportedSchema = /*@__PURE__*/
|
|
69
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
90
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 9);
|
|
70
91
|
|
|
71
92
|
/**
|
|
72
93
|
* Describes the message kusinta.iot.connector.v1.HandshakeAck.
|
|
73
94
|
* Use `create(HandshakeAckSchema)` to create a new message.
|
|
74
95
|
*/
|
|
75
96
|
export const HandshakeAckSchema = /*@__PURE__*/
|
|
76
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
97
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 10);
|
|
77
98
|
|
|
78
99
|
/**
|
|
79
100
|
* Describes the message kusinta.iot.connector.v1.DeviceAnnouncement.
|
|
80
101
|
* Use `create(DeviceAnnouncementSchema)` to create a new message.
|
|
81
102
|
*/
|
|
82
103
|
export const DeviceAnnouncementSchema = /*@__PURE__*/
|
|
83
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
104
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 11);
|
|
84
105
|
|
|
85
106
|
/**
|
|
86
107
|
* Describes the message kusinta.iot.connector.v1.DeviceRemoval.
|
|
87
108
|
* Use `create(DeviceRemovalSchema)` to create a new message.
|
|
88
109
|
*/
|
|
89
110
|
export const DeviceRemovalSchema = /*@__PURE__*/
|
|
90
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
111
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 12);
|
|
91
112
|
|
|
92
113
|
/**
|
|
93
114
|
* Describes the message kusinta.iot.connector.v1.HeartBeat.
|
|
94
115
|
* Use `create(HeartBeatSchema)` to create a new message.
|
|
95
116
|
*/
|
|
96
117
|
export const HeartBeatSchema = /*@__PURE__*/
|
|
97
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
118
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 13);
|
|
98
119
|
|
|
99
120
|
/**
|
|
100
121
|
* Describes the message kusinta.iot.connector.v1.SubscribeDevice.
|
|
101
122
|
* Use `create(SubscribeDeviceSchema)` to create a new message.
|
|
102
123
|
*/
|
|
103
124
|
export const SubscribeDeviceSchema = /*@__PURE__*/
|
|
104
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
125
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 14);
|
|
105
126
|
|
|
106
127
|
/**
|
|
107
128
|
* Describes the message kusinta.iot.connector.v1.UnsubscribeDevice.
|
|
108
129
|
* Use `create(UnsubscribeDeviceSchema)` to create a new message.
|
|
109
130
|
*/
|
|
110
131
|
export const UnsubscribeDeviceSchema = /*@__PURE__*/
|
|
111
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
132
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 15);
|
|
112
133
|
|
|
113
134
|
/**
|
|
114
135
|
* Describes the message kusinta.iot.connector.v1.GatewayError.
|
|
115
136
|
* Use `create(GatewayErrorSchema)` to create a new message.
|
|
116
137
|
*/
|
|
117
138
|
export const GatewayErrorSchema = /*@__PURE__*/
|
|
118
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
139
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 16);
|
|
119
140
|
|
|
120
141
|
/**
|
|
121
142
|
* Describes the message kusinta.iot.connector.v1.ConnectorCommandResult.
|
|
122
143
|
* Use `create(ConnectorCommandResultSchema)` to create a new message.
|
|
123
144
|
*/
|
|
124
145
|
export const ConnectorCommandResultSchema = /*@__PURE__*/
|
|
125
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
146
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 17);
|
|
126
147
|
|
|
127
148
|
/**
|
|
128
149
|
* Describes the message kusinta.iot.connector.v1.EnterPairingMode.
|
|
129
150
|
* Use `create(EnterPairingModeSchema)` to create a new message.
|
|
130
151
|
*/
|
|
131
152
|
export const EnterPairingModeSchema = /*@__PURE__*/
|
|
132
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
153
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 18);
|
|
133
154
|
|
|
134
155
|
/**
|
|
135
156
|
* Describes the message kusinta.iot.connector.v1.PairingModeResult.
|
|
136
157
|
* Use `create(PairingModeResultSchema)` to create a new message.
|
|
137
158
|
*/
|
|
138
159
|
export const PairingModeResultSchema = /*@__PURE__*/
|
|
139
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
160
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 19);
|
|
140
161
|
|
|
141
162
|
/**
|
|
142
163
|
* Describes the message kusinta.iot.connector.v1.PairingModeEnded.
|
|
143
164
|
* Use `create(PairingModeEndedSchema)` to create a new message.
|
|
144
165
|
*/
|
|
145
166
|
export const PairingModeEndedSchema = /*@__PURE__*/
|
|
146
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
167
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 20);
|
|
147
168
|
|
|
148
169
|
/**
|
|
149
170
|
* Describes the message kusinta.iot.connector.v1.SessionRequest.
|
|
150
171
|
* Use `create(SessionRequestSchema)` to create a new message.
|
|
151
172
|
*/
|
|
152
173
|
export const SessionRequestSchema = /*@__PURE__*/
|
|
153
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
174
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 21);
|
|
154
175
|
|
|
155
176
|
/**
|
|
156
177
|
* Describes the message kusinta.iot.connector.v1.SessionResponse.
|
|
157
178
|
* Use `create(SessionResponseSchema)` to create a new message.
|
|
158
179
|
*/
|
|
159
180
|
export const SessionResponseSchema = /*@__PURE__*/
|
|
160
|
-
messageDesc(file_kusinta_iot_connector_v1_connector,
|
|
181
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 22);
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Describes the enum kusinta.iot.connector.v1.ReinitializeOutcome.
|
|
185
|
+
*/
|
|
186
|
+
export const ReinitializeOutcomeSchema = /*@__PURE__*/
|
|
187
|
+
enumDesc(file_kusinta_iot_connector_v1_connector, 0);
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @generated from enum kusinta.iot.connector.v1.ReinitializeOutcome
|
|
191
|
+
*/
|
|
192
|
+
export const ReinitializeOutcome = /*@__PURE__*/
|
|
193
|
+
tsEnum(ReinitializeOutcomeSchema);
|
|
161
194
|
|
|
@@ -6,7 +6,7 @@ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"
|
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
7
|
import type { ConnectorId, DeviceId, SpaceId, UserId } from "../../identity/v1/identity_pb.js";
|
|
8
8
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
-
import type { SpaceType } from "../../common/v1/types_pb.js";
|
|
9
|
+
import type { BackendFailureReason, SpaceType } from "../../common/v1/types_pb.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file kusinta/iot/reporting/v1/reporting.proto.
|
|
@@ -128,11 +128,13 @@ export declare const ProblemSubjectSchema: GenMessage<ProblemSubject>;
|
|
|
128
128
|
*
|
|
129
129
|
* When a transition for a device in a home is sent matters as much as what it carries: the
|
|
130
130
|
* gateway evaluates such a device's problems only at quarter hours, so a condition that comes
|
|
131
|
-
* and goes between two of them — a connector
|
|
131
|
+
* and goes between two of them changes nothing — a connector problem that comes and goes so
|
|
132
|
+
* sends nothing about the device, though it leaves its connector settling after it (see
|
|
133
|
+
* ClearReason) — and it sends a
|
|
132
134
|
* transition only at that evaluation, as ServiceStatus changes are pushed,
|
|
133
135
|
* never on the device report that prompted it. That holds for every transition of such a
|
|
134
|
-
* device, a clear for its removal or
|
|
135
|
-
*
|
|
136
|
+
* device, a clear for its removal or a SUPERSEDED_* clear included: each is sent, and
|
|
137
|
+
* stamped, at the next quarter hour.
|
|
136
138
|
*
|
|
137
139
|
* @generated from message kusinta.iot.reporting.v1.Problem
|
|
138
140
|
*/
|
|
@@ -192,6 +194,17 @@ export declare type Problem = Message<"kusinta.iot.reporting.v1.Problem"> & {
|
|
|
192
194
|
* @generated from field: uint32 device_count = 7;
|
|
193
195
|
*/
|
|
194
196
|
deviceCount: number;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* CONNECTOR_ERROR: why the connector's backend is failing, as the connector's latest
|
|
200
|
+
* connector.v1.BackendHealthReport states it. A category, not a message: the connector's
|
|
201
|
+
* free-text detail is never reported, here or anywhere else. UNSPECIFIED for every other
|
|
202
|
+
* kind, and for a connector that stated no reason. A change of reason while the problem is
|
|
203
|
+
* open is sent as a change of the problem.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: kusinta.iot.common.v1.BackendFailureReason backend_failure = 8;
|
|
206
|
+
*/
|
|
207
|
+
backendFailure: BackendFailureReason;
|
|
195
208
|
};
|
|
196
209
|
|
|
197
210
|
/**
|
|
@@ -269,8 +282,8 @@ export declare type ProblemTransition = Message<"kusinta.iot.reporting.v1.Proble
|
|
|
269
282
|
change: {
|
|
270
283
|
/**
|
|
271
284
|
* The problem opened, or something it carries changed while open (a battery level, a
|
|
272
|
-
* device count, the space it is filed in). Carries the whole
|
|
273
|
-
* same problem_id, the next seq and the original opened_at.
|
|
285
|
+
* device count, the space it is filed in, a backend failure reason). Carries the whole
|
|
286
|
+
* problem, not a delta: the same problem_id, the next seq and the original opened_at.
|
|
274
287
|
*
|
|
275
288
|
* @generated from field: kusinta.iot.reporting.v1.Problem open = 3;
|
|
276
289
|
*/
|
|
@@ -698,7 +711,10 @@ export enum ProblemKind {
|
|
|
698
711
|
UNSPECIFIED = 0,
|
|
699
712
|
|
|
700
713
|
/**
|
|
701
|
-
* The device cannot be heard, as its connector judges it.
|
|
714
|
+
* The device cannot be heard, as its connector judges it. Does not open, or open again,
|
|
715
|
+
* while its connector is settling: a connector problem open, or the settling time after
|
|
716
|
+
* one; see ClearReason. Closes CLEAR_REASON_RECOVERED only once the connector reports the
|
|
717
|
+
* device reachable again.
|
|
702
718
|
*
|
|
703
719
|
* @generated from enum value: PROBLEM_KIND_DEVICE_OFFLINE = 1;
|
|
704
720
|
*/
|
|
@@ -733,10 +749,11 @@ export enum ProblemKind {
|
|
|
733
749
|
DEVICE_TAMPER = 5,
|
|
734
750
|
|
|
735
751
|
/**
|
|
736
|
-
* A connector's stream to the gateway is down.
|
|
737
|
-
* DEVICE_OFFLINE for the devices behind that connector and
|
|
738
|
-
*
|
|
739
|
-
*
|
|
752
|
+
* A connector's stream to the gateway is down. A connector problem (see ClearReason): while
|
|
753
|
+
* it is open, no DEVICE_OFFLINE opens for the devices behind that connector, and those open
|
|
754
|
+
* close as superseded by a connector problem (see ClearReason), one problem rather than one
|
|
755
|
+
* per device. Closes with CLEAR_REASON_RECOVERED when the connector reconnects, or
|
|
756
|
+
* CLEAR_REASON_NO_LONGER_REPORTED when the gateway stops tracking the connector.
|
|
740
757
|
*
|
|
741
758
|
* @generated from enum value: PROBLEM_KIND_CONNECTOR_OFFLINE = 6;
|
|
742
759
|
*/
|
|
@@ -744,7 +761,15 @@ export enum ProblemKind {
|
|
|
744
761
|
|
|
745
762
|
/**
|
|
746
763
|
* A connector is connected, but the backend it drives is failing: a central it cannot
|
|
747
|
-
* reach, a network server answering with errors.
|
|
764
|
+
* reach, a network server answering with errors. Raised from the connector's own health
|
|
765
|
+
* reports (connector.v1.BackendHealthReport); backend_failure carries the category, never
|
|
766
|
+
* the connector's own detail. A connector problem, as CONNECTOR_OFFLINE is: while it is
|
|
767
|
+
* open, no DEVICE_OFFLINE opens for the devices behind that connector, and those open close
|
|
768
|
+
* as superseded by a connector problem (see ClearReason). Closes with
|
|
769
|
+
* CLEAR_REASON_RECOVERED when the health is no longer FAILING,
|
|
770
|
+
* CLEAR_REASON_SUPERSEDED_BY_CONNECTOR_OFFLINE when the connector's stream drops, a
|
|
771
|
+
* CONNECTOR_OFFLINE opening in the same step, or
|
|
772
|
+
* CLEAR_REASON_NO_LONGER_REPORTED when the gateway stops tracking the connector.
|
|
748
773
|
*
|
|
749
774
|
* @generated from enum value: PROBLEM_KIND_CONNECTOR_ERROR = 7;
|
|
750
775
|
*/
|
|
@@ -780,6 +805,44 @@ export declare const ProblemKindSchema: GenEnum<ProblemKind>;
|
|
|
780
805
|
/**
|
|
781
806
|
* Why a problem closed.
|
|
782
807
|
*
|
|
808
|
+
* A connector problem is CONNECTOR_OFFLINE or CONNECTOR_ERROR, and at most one is open for a
|
|
809
|
+
* connector at a time: one problem rather than one per device. While one is open, no
|
|
810
|
+
* DEVICE_OFFLINE opens, or opens again, for the devices behind that connector, and the gateway
|
|
811
|
+
* closes each DEVICE_OFFLINE of a device still reported behind it with the SUPERSEDED_* reason
|
|
812
|
+
* naming the connector problem open as it closes it: at once for a device outside any home;
|
|
813
|
+
* for a device in a home at the next quarter hour, so a receiver may hold both open until
|
|
814
|
+
* then. If no connector problem is open by that quarter hour — it came and went — nothing is
|
|
815
|
+
* sent, and the DEVICE_OFFLINE stays open, closing as below.
|
|
816
|
+
*
|
|
817
|
+
* A connector is settling while a connector problem of it is open, and for a settling time
|
|
818
|
+
* after one ends, in which the connector and its devices report again; how long is the
|
|
819
|
+
* gateway's own policy, but at least 2 minutes and at most 5 minutes after the connector
|
|
820
|
+
* problem ended: time for the connector to state its health and report its devices'
|
|
821
|
+
* reachability again (see connector.v1.BackendHealthReport). A device the connector has not
|
|
822
|
+
* reported reachable by then is judged on what the gateway last heard of it. While it is
|
|
823
|
+
* settling, no DEVICE_OFFLINE opens, or opens again, for its devices; a connector whose
|
|
824
|
+
* problems keep recurring within its settling time keeps them from opening, and its connector
|
|
825
|
+
* problems are what is reported. A DEVICE_OFFLINE closes CLEAR_REASON_RECOVERED only once the
|
|
826
|
+
* connector reports the device reachable again, never for the mere absence of a report; it
|
|
827
|
+
* closes with a SUPERSEDED_* reason as said above, and on a move, a removal or leaving what the
|
|
828
|
+
* gateway reports as for any problem. Once its connector is no longer settling, the gateway
|
|
829
|
+
* judges its devices afresh: a device still unreachable that has no DEVICE_OFFLINE open — one
|
|
830
|
+
* closed as superseded or moved, one that started being reported or went unreachable meanwhile
|
|
831
|
+
* — opens one, stamped as Problem says. So a device outside a home that stays unreachable
|
|
832
|
+
* through an outage has its DEVICE_OFFLINE closed as superseded and a new one opened after it.
|
|
833
|
+
*
|
|
834
|
+
* The gateway closes a problem when it decides the clear — for a device in
|
|
835
|
+
* a home, at the quarter hour — and a clear queued or sent again keeps the reason it was
|
|
836
|
+
* given then. Times are as for any transition (see Problem): a device in a home is
|
|
837
|
+
* stamped only with quarter hours, and no time crosses a home's boundary.
|
|
838
|
+
*
|
|
839
|
+
* When the gateway stops tracking a connector — when is the gateway's own policy — the
|
|
840
|
+
* connector and the devices behind it stop being reported, and their open problems close
|
|
841
|
+
* with NO_LONGER_REPORTED. A removed device's problems always close with DEVICE_REMOVED, even
|
|
842
|
+
* when it also stops being reported; any other subject that stops being reported always
|
|
843
|
+
* closes with NO_LONGER_REPORTED. Neither takes a SUPERSEDED_* reason, even while a connector
|
|
844
|
+
* problem is open.
|
|
845
|
+
*
|
|
783
846
|
* @generated from enum kusinta.iot.reporting.v1.ClearReason
|
|
784
847
|
*/
|
|
785
848
|
export enum ClearReason {
|
|
@@ -804,14 +867,17 @@ export enum ClearReason {
|
|
|
804
867
|
FILED = 2,
|
|
805
868
|
|
|
806
869
|
/**
|
|
807
|
-
* The device was removed from the gateway. Every problem open on it closes with this
|
|
870
|
+
* The device was removed from the gateway. Every problem open on it closes with this,
|
|
871
|
+
* never with a SUPERSEDED_* reason (see above).
|
|
808
872
|
*
|
|
809
873
|
* @generated from enum value: CLEAR_REASON_DEVICE_REMOVED = 3;
|
|
810
874
|
*/
|
|
811
875
|
DEVICE_REMOVED = 3,
|
|
812
876
|
|
|
813
877
|
/**
|
|
814
|
-
* The connector behind the device went offline
|
|
878
|
+
* The connector behind the device went offline. For a DEVICE_OFFLINE, and for a
|
|
879
|
+
* CONNECTOR_ERROR whose connector's stream dropped; no other problem is superseded. See
|
|
880
|
+
* above.
|
|
815
881
|
*
|
|
816
882
|
* @generated from enum value: CLEAR_REASON_SUPERSEDED_BY_CONNECTOR_OFFLINE = 4;
|
|
817
883
|
*/
|
|
@@ -819,8 +885,11 @@ export enum ClearReason {
|
|
|
819
885
|
|
|
820
886
|
/**
|
|
821
887
|
* The problem's subject left what the gateway reports, though the condition may hold: a
|
|
822
|
-
* device now owned by a resident, a room moved into a home
|
|
823
|
-
*
|
|
888
|
+
* device now owned by a resident, a room moved into a home, a connector the gateway has
|
|
889
|
+
* stopped tracking and the devices behind it. A device handed to a resident, or a device or
|
|
890
|
+
* room leaving with a move, is sent, and stamped, at the next quarter hour; anything else
|
|
891
|
+
* as Problem says for its subject.
|
|
892
|
+
* Never replaced by a SUPERSEDED_* reason (see above).
|
|
824
893
|
*
|
|
825
894
|
* @generated from enum value: CLEAR_REASON_NO_LONGER_REPORTED = 5;
|
|
826
895
|
*/
|
|
@@ -828,11 +897,21 @@ export enum ClearReason {
|
|
|
828
897
|
|
|
829
898
|
/**
|
|
830
899
|
* The subject moved into or out of a home. A problem that still holds opens again as a new
|
|
831
|
-
* one at the same quarter hour
|
|
900
|
+
* one at the same quarter hour — a DEVICE_OFFLINE only while its connector is not
|
|
901
|
+
* settling (see above). A DEVICE_OFFLINE closes with a SUPERSEDED_* reason instead when a
|
|
902
|
+
* connector problem of its connector is open as the gateway closes it (see above).
|
|
832
903
|
*
|
|
833
904
|
* @generated from enum value: CLEAR_REASON_MOVED = 6;
|
|
834
905
|
*/
|
|
835
906
|
MOVED = 6,
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* The backend of the connector behind the device is failing. For a DEVICE_OFFLINE only; no
|
|
910
|
+
* other problem is superseded. See above.
|
|
911
|
+
*
|
|
912
|
+
* @generated from enum value: CLEAR_REASON_SUPERSEDED_BY_CONNECTOR_ERROR = 7;
|
|
913
|
+
*/
|
|
914
|
+
SUPERSEDED_BY_CONNECTOR_ERROR = 7,
|
|
836
915
|
}
|
|
837
916
|
|
|
838
917
|
/**
|
|
@@ -11,7 +11,7 @@ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identit
|
|
|
11
11
|
* Describes the file kusinta/iot/reporting/v1/reporting.proto.
|
|
12
12
|
*/
|
|
13
13
|
export const file_kusinta_iot_reporting_v1_reporting = /*@__PURE__*/
|
|
14
|
-
fileDesc("
|
|
14
|
+
fileDesc("CihrdXNpbnRhL2lvdC9yZXBvcnRpbmcvdjEvcmVwb3J0aW5nLnByb3RvEhhrdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEiPwoMU25hcHNob3RQYXJ0EhMKC3NuYXBzaG90X2lkGAEgASgJEgwKBHBhcnQYAiABKA0SDAoEbGFzdBgDIAEoCCLZAQoOUHJvYmxlbVN1YmplY3QSNgoJZGV2aWNlX2lkGAEgASgLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuRGV2aWNlSWRIABI8Cgxjb25uZWN0b3JfaWQYAiABKAsyJC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Db25uZWN0b3JJZEgAEjMKB3Jvb21faWQYAyABKAsyIC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5TcGFjZUlkSAASEQoHZ2F0ZXdheRgEIAEoCEgAQgkKB3N1YmplY3Qi6gIKB1Byb2JsZW0SMwoEa2luZBgCIAEoDjIlLmt1c2ludGEuaW90LnJlcG9ydGluZy52MS5Qcm9ibGVtS2luZBI5CgdzdWJqZWN0GAMgASgLMigua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlByb2JsZW1TdWJqZWN0EjIKCHNwYWNlX2lkGAQgASgLMiAua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuU3BhY2VJZBItCglvcGVuZWRfYXQYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhwKD2JhdHRlcnlfcGVyY2VudBgGIAEoDU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OX1JFQ09WRVJFRBABEhYKEkNMRUFSX1JFQVNPTl9GSUxFRBACEh8KG0NMRUFSX1JFQVNPTl9ERVZJQ0VfUkVNT1ZFRBADEjAKLENMRUFSX1JFQVNPTl9TVVBFUlNFREVEX0JZX0NPTk5FQ1RPUl9PRkZMSU5FEAQSIwofQ0xFQVJfUkVBU09OX05PX0xPTkdFUl9SRVBPUlRFRBAFEhYKEkNMRUFSX1JFQVNPTl9NT1ZFRBAGEi4KKkNMRUFSX1JFQVNPTl9TVVBFUlNFREVEX0JZX0NPTk5FQ1RPUl9FUlJPUhAHKocBCglBY2tTdGF0dXMSGgoWQUNLX1NUQVRVU19VTlNQRUNJRklFRBAAEhYKEkFDS19TVEFUVVNfQVBQTElFRBABEhgKFEFDS19TVEFUVVNfRFVQTElDQVRFEAISFwoTQUNLX1NUQVRVU19SRUpFQ1RFRBADEhMKD0FDS19TVEFUVVNfSEVMRBAEQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Describes the message kusinta.iot.reporting.v1.SnapshotPart.
|
|
@@ -143,6 +143,44 @@ export const ClearReasonSchema = /*@__PURE__*/
|
|
|
143
143
|
/**
|
|
144
144
|
* Why a problem closed.
|
|
145
145
|
*
|
|
146
|
+
* A connector problem is CONNECTOR_OFFLINE or CONNECTOR_ERROR, and at most one is open for a
|
|
147
|
+
* connector at a time: one problem rather than one per device. While one is open, no
|
|
148
|
+
* DEVICE_OFFLINE opens, or opens again, for the devices behind that connector, and the gateway
|
|
149
|
+
* closes each DEVICE_OFFLINE of a device still reported behind it with the SUPERSEDED_* reason
|
|
150
|
+
* naming the connector problem open as it closes it: at once for a device outside any home;
|
|
151
|
+
* for a device in a home at the next quarter hour, so a receiver may hold both open until
|
|
152
|
+
* then. If no connector problem is open by that quarter hour — it came and went — nothing is
|
|
153
|
+
* sent, and the DEVICE_OFFLINE stays open, closing as below.
|
|
154
|
+
*
|
|
155
|
+
* A connector is settling while a connector problem of it is open, and for a settling time
|
|
156
|
+
* after one ends, in which the connector and its devices report again; how long is the
|
|
157
|
+
* gateway's own policy, but at least 2 minutes and at most 5 minutes after the connector
|
|
158
|
+
* problem ended: time for the connector to state its health and report its devices'
|
|
159
|
+
* reachability again (see connector.v1.BackendHealthReport). A device the connector has not
|
|
160
|
+
* reported reachable by then is judged on what the gateway last heard of it. While it is
|
|
161
|
+
* settling, no DEVICE_OFFLINE opens, or opens again, for its devices; a connector whose
|
|
162
|
+
* problems keep recurring within its settling time keeps them from opening, and its connector
|
|
163
|
+
* problems are what is reported. A DEVICE_OFFLINE closes CLEAR_REASON_RECOVERED only once the
|
|
164
|
+
* connector reports the device reachable again, never for the mere absence of a report; it
|
|
165
|
+
* closes with a SUPERSEDED_* reason as said above, and on a move, a removal or leaving what the
|
|
166
|
+
* gateway reports as for any problem. Once its connector is no longer settling, the gateway
|
|
167
|
+
* judges its devices afresh: a device still unreachable that has no DEVICE_OFFLINE open — one
|
|
168
|
+
* closed as superseded or moved, one that started being reported or went unreachable meanwhile
|
|
169
|
+
* — opens one, stamped as Problem says. So a device outside a home that stays unreachable
|
|
170
|
+
* through an outage has its DEVICE_OFFLINE closed as superseded and a new one opened after it.
|
|
171
|
+
*
|
|
172
|
+
* The gateway closes a problem when it decides the clear — for a device in
|
|
173
|
+
* a home, at the quarter hour — and a clear queued or sent again keeps the reason it was
|
|
174
|
+
* given then. Times are as for any transition (see Problem): a device in a home is
|
|
175
|
+
* stamped only with quarter hours, and no time crosses a home's boundary.
|
|
176
|
+
*
|
|
177
|
+
* When the gateway stops tracking a connector — when is the gateway's own policy — the
|
|
178
|
+
* connector and the devices behind it stop being reported, and their open problems close
|
|
179
|
+
* with NO_LONGER_REPORTED. A removed device's problems always close with DEVICE_REMOVED, even
|
|
180
|
+
* when it also stops being reported; any other subject that stops being reported always
|
|
181
|
+
* closes with NO_LONGER_REPORTED. Neither takes a SUPERSEDED_* reason, even while a connector
|
|
182
|
+
* problem is open.
|
|
183
|
+
*
|
|
146
184
|
* @generated from enum kusinta.iot.reporting.v1.ClearReason
|
|
147
185
|
*/
|
|
148
186
|
export const ClearReason = /*@__PURE__*/
|
|
@@ -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
|