@kusinta/iot-schema 0.2.0-beta.3 → 0.2.0-beta.30
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 +9 -1
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +118 -2
- package/src/kusinta/iot/access/v1/acl_pb.js +20 -3
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +119 -4
- package/src/kusinta/iot/access/v1/roles_pb.js +98 -5
- package/src/kusinta/iot/climate/v1/climate_pb.d.ts +726 -0
- package/src/kusinta/iot/climate/v1/climate_pb.js +142 -0
- package/src/kusinta/iot/common/v1/pairing_pb.d.ts +217 -0
- package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
- package/src/kusinta/iot/common/v1/types_pb.d.ts +175 -0
- package/src/kusinta/iot/common/v1/types_pb.js +70 -1
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +691 -2
- package/src/kusinta/iot/connector/v1/connector_pb.js +104 -13
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +44 -0
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +1 -1
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +22 -2
- package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
- package/src/kusinta/iot/device/v1/device_event_pb.d.ts +87 -5
- package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
- package/src/kusinta/iot/device/v1/device_pb.d.ts +150 -6
- package/src/kusinta/iot/device/v1/device_pb.js +33 -2
- package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +26 -0
- package/src/kusinta/iot/device/v1/matter_options_pb.js +31 -4
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +14 -0
- package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +3 -2
- package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
- package/src/kusinta/iot/link/v1/link_pb.js +121 -0
- package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +1219 -0
- package/src/kusinta/iot/reporting/v1/reporting_pb.js +238 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +63 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +361 -7
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +68 -4
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
- package/src/kusinta/iot/space/v1/space_pb.d.ts +103 -2
- package/src/kusinta/iot/space/v1/space_pb.js +10 -1
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +162 -13
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -1
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +25 -4
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +28 -6
- package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +45 -5
- package/src/kusinta/iot/webrtc/v1/app_token_pb.js +1 -1
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +14 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.js +1 -1
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +179 -5
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +35 -6
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +520 -3
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +65 -3
- package/src/kusinta/iot/webrtc/v1/invite_pb.d.ts +496 -0
- package/src/kusinta/iot/webrtc/v1/invite_pb.js +108 -0
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +977 -12
- package/src/kusinta/iot/webrtc/v1/management_pb.js +132 -5
- package/src/kusinta/iot/webrtc/v1/members_pb.d.ts +327 -0
- package/src/kusinta/iot/webrtc/v1/members_pb.js +78 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +66 -4
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +10 -2
|
@@ -0,0 +1,238 @@
|
|
|
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_access_v1_roles } from "../../access/v1/roles_pb.js";
|
|
8
|
+
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
9
|
+
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file kusinta/iot/reporting/v1/reporting.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_kusinta_iot_reporting_v1_reporting = /*@__PURE__*/
|
|
15
|
+
fileDesc("CihrdXNpbnRhL2lvdC9yZXBvcnRpbmcvdjEvcmVwb3J0aW5nLnByb3RvEhhrdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEiPwoMU25hcHNob3RQYXJ0EhMKC3NuYXBzaG90X2lkGAEgASgJEgwKBHBhcnQYAiABKA0SDAoEbGFzdBgDIAEoCCLZAQoOUHJvYmxlbVN1YmplY3QSNgoJZGV2aWNlX2lkGAEgASgLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuRGV2aWNlSWRIABI8Cgxjb25uZWN0b3JfaWQYAiABKAsyJC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Db25uZWN0b3JJZEgAEjMKB3J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0JBVFRFUllfUkVQTEFDRU1FTlRfTkVFREVEEAMSHQoZUFJPQkxFTV9LSU5EX0RFVklDRV9FUlJPUhAEEh4KGlBST0JMRU1fS0lORF9ERVZJQ0VfVEFNUEVSEAUSIgoeUFJPQkxFTV9LSU5EX0NPTk5FQ1RPUl9PRkZMSU5FEAYSIAocUFJPQkxFTV9LSU5EX0NPTk5FQ1RPUl9FUlJPUhAHEiAKHFBST0JMRU1fS0lORF9VTkZJTEVEX0RFVklDRVMQCBIcChhQUk9CTEVNX0tJTkRfV0lORE9XX09QRU4QCSqfAgoLQ2xlYXJSZWFzb24SHAoYQ0xFQVJfUkVBU09OX1VOU1BFQ0lGSUVEEAASGgoWQ0xFQVJfUkVBU09OX1JFQ09WRVJFRBABEhYKEkNMRUFSX1JFQVNPTl9GSUxFRBACEh8KG0NMRUFSX1JFQVNPTl9ERVZJQ0VfUkVNT1ZFRBADEjAKLENMRUFSX1JFQVNPTl9TVVBFUlNFREVEX0JZX0NPTk5FQ1RPUl9PRkZMSU5FEAQSIwofQ0xFQVJfUkVBU09OX05PX0xPTkdFUl9SRVBPUlRFRBAFEhYKEkNMRUFSX1JFQVNPTl9NT1ZFRBAGEi4KKkNMRUFSX1JFQVNPTl9TVVBFUlNFREVEX0JZX0NPTk5FQ1RPUl9FUlJPUhAHKocBCglBY2tTdGF0dXMSGgoWQUNLX1NUQVRVU19VTlNQRUNJRklFRBAAEhYKEkFDS19TVEFUVVNfQVBQTElFRBABEhgKFEFDS19TVEFUVVNfRFVQTElDQVRFEAISFwoTQUNLX1NUQVRVU19SRUpFQ1RFRBADEhMKD0FDS19TVEFUVVNfSEVMRBAEQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_roles, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message kusinta.iot.reporting.v1.SnapshotPart.
|
|
19
|
+
* Use `create(SnapshotPartSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const SnapshotPartSchema = /*@__PURE__*/
|
|
22
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 0);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemSubject.
|
|
26
|
+
* Use `create(ProblemSubjectSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const ProblemSubjectSchema = /*@__PURE__*/
|
|
29
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 1);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message kusinta.iot.reporting.v1.Problem.
|
|
33
|
+
* Use `create(ProblemSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const ProblemSchema = /*@__PURE__*/
|
|
36
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 2);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemCleared.
|
|
40
|
+
* Use `create(ProblemClearedSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const ProblemClearedSchema = /*@__PURE__*/
|
|
43
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 3);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemTransition.
|
|
47
|
+
* Use `create(ProblemTransitionSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const ProblemTransitionSchema = /*@__PURE__*/
|
|
50
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 4);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message kusinta.iot.reporting.v1.ReportProblemsRequest.
|
|
54
|
+
* Use `create(ReportProblemsRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const ReportProblemsRequestSchema = /*@__PURE__*/
|
|
57
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 5);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message kusinta.iot.reporting.v1.TransitionAck.
|
|
61
|
+
* Use `create(TransitionAckSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const TransitionAckSchema = /*@__PURE__*/
|
|
64
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 6);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message kusinta.iot.reporting.v1.ReportProblemsResponse.
|
|
68
|
+
* Use `create(ReportProblemsResponseSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const ReportProblemsResponseSchema = /*@__PURE__*/
|
|
71
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 7);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message kusinta.iot.reporting.v1.ServiceReach.
|
|
75
|
+
* Use `create(ServiceReachSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export const ServiceReachSchema = /*@__PURE__*/
|
|
78
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 8);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message kusinta.iot.reporting.v1.ReachedSpace.
|
|
82
|
+
* Use `create(ReachedSpaceSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export const ReachedSpaceSchema = /*@__PURE__*/
|
|
85
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 9);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServiceReachRequest.
|
|
89
|
+
* Use `create(ReportServiceReachRequestSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const ReportServiceReachRequestSchema = /*@__PURE__*/
|
|
92
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 10);
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServiceReachResponse.
|
|
96
|
+
* Use `create(ReportServiceReachResponseSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export const ReportServiceReachResponseSchema = /*@__PURE__*/
|
|
99
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 11);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message kusinta.iot.reporting.v1.ServedSpace.
|
|
103
|
+
* Use `create(ServedSpaceSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export const ServedSpaceSchema = /*@__PURE__*/
|
|
106
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 12);
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServedSpacesRequest.
|
|
110
|
+
* Use `create(ReportServedSpacesRequestSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const ReportServedSpacesRequestSchema = /*@__PURE__*/
|
|
113
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 13);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServedSpacesResponse.
|
|
117
|
+
* Use `create(ReportServedSpacesResponseSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export const ReportServedSpacesResponseSchema = /*@__PURE__*/
|
|
120
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 14);
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message kusinta.iot.reporting.v1.GatewayMember.
|
|
124
|
+
* Use `create(GatewayMemberSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export const GatewayMemberSchema = /*@__PURE__*/
|
|
127
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 15);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message kusinta.iot.reporting.v1.ReportMembersRequest.
|
|
131
|
+
* Use `create(ReportMembersRequestSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const ReportMembersRequestSchema = /*@__PURE__*/
|
|
134
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 16);
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message kusinta.iot.reporting.v1.ReportMembersResponse.
|
|
138
|
+
* Use `create(ReportMembersResponseSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export const ReportMembersResponseSchema = /*@__PURE__*/
|
|
141
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 17);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message kusinta.iot.reporting.v1.ReportInviteRoutesRequest.
|
|
145
|
+
* Use `create(ReportInviteRoutesRequestSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export const ReportInviteRoutesRequestSchema = /*@__PURE__*/
|
|
148
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 18);
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message kusinta.iot.reporting.v1.ReportInviteRoutesResponse.
|
|
152
|
+
* Use `create(ReportInviteRoutesResponseSchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export const ReportInviteRoutesResponseSchema = /*@__PURE__*/
|
|
155
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 19);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Describes the enum kusinta.iot.reporting.v1.ProblemKind.
|
|
159
|
+
*/
|
|
160
|
+
export const ProblemKindSchema = /*@__PURE__*/
|
|
161
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 0);
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* What kind of problem is open. The device kinds mirror what service staff are given of a
|
|
165
|
+
* device (webrtc.v1.ServiceStatus: reachability, the battery flags, the ServiceFault values);
|
|
166
|
+
* a device signal added there is added here too.
|
|
167
|
+
*
|
|
168
|
+
* @generated from enum kusinta.iot.reporting.v1.ProblemKind
|
|
169
|
+
*/
|
|
170
|
+
export const ProblemKind = /*@__PURE__*/
|
|
171
|
+
tsEnum(ProblemKindSchema);
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes the enum kusinta.iot.reporting.v1.ClearReason.
|
|
175
|
+
*/
|
|
176
|
+
export const ClearReasonSchema = /*@__PURE__*/
|
|
177
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 1);
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Why a problem closed.
|
|
181
|
+
*
|
|
182
|
+
* A connector problem is CONNECTOR_OFFLINE or CONNECTOR_ERROR, and at most one is open for a
|
|
183
|
+
* connector at a time: one problem rather than one per device. While one is open, no
|
|
184
|
+
* DEVICE_OFFLINE opens, or opens again, for the devices behind that connector, and the gateway
|
|
185
|
+
* closes each DEVICE_OFFLINE of a device still reported behind it with the SUPERSEDED_* reason
|
|
186
|
+
* naming the connector problem open as it closes it: at once for a device outside any home;
|
|
187
|
+
* for a device in a home at the next quarter hour, so a receiver may hold both open until
|
|
188
|
+
* then. If no connector problem is open by that quarter hour — it came and went — nothing is
|
|
189
|
+
* sent, and the DEVICE_OFFLINE stays open, closing as below.
|
|
190
|
+
*
|
|
191
|
+
* A connector is settling while a connector problem of it is open, and for a settling time
|
|
192
|
+
* after one ends, in which the connector and its devices report again; how long is the
|
|
193
|
+
* gateway's own policy, but at least 2 minutes and at most 5 minutes after the connector
|
|
194
|
+
* problem ended: time for the connector to state its health and report its devices'
|
|
195
|
+
* reachability again (see connector.v1.BackendHealthReport). A device the connector has not
|
|
196
|
+
* reported reachable by then is judged on what the gateway last heard of it. While it is
|
|
197
|
+
* settling, no DEVICE_OFFLINE opens, or opens again, for its devices; a connector whose
|
|
198
|
+
* problems keep recurring within its settling time keeps them from opening, and its connector
|
|
199
|
+
* problems are what is reported. A DEVICE_OFFLINE closes CLEAR_REASON_RECOVERED only once the
|
|
200
|
+
* connector reports the device reachable again, never for the mere absence of a report; it
|
|
201
|
+
* closes with a SUPERSEDED_* reason as said above, and on a move, a removal or leaving what the
|
|
202
|
+
* gateway reports as for any problem. Once its connector is no longer settling, the gateway
|
|
203
|
+
* judges its devices afresh: a device still unreachable that has no DEVICE_OFFLINE open — one
|
|
204
|
+
* closed as superseded or moved, one that started being reported or went unreachable meanwhile
|
|
205
|
+
* — opens one, stamped as Problem says. So a device outside a home that stays unreachable
|
|
206
|
+
* through an outage has its DEVICE_OFFLINE closed as superseded and a new one opened after it.
|
|
207
|
+
*
|
|
208
|
+
* The gateway closes a problem when it decides the clear — for a device in
|
|
209
|
+
* a home, at the quarter hour — and a clear queued or sent again keeps the reason it was
|
|
210
|
+
* given then. Times are as for any transition (see Problem): a device in a home is
|
|
211
|
+
* stamped only with quarter hours, and no time crosses a home's boundary.
|
|
212
|
+
*
|
|
213
|
+
* When the gateway stops tracking a connector — when is the gateway's own policy — the
|
|
214
|
+
* connector and the devices behind it stop being reported, and their open problems close
|
|
215
|
+
* with NO_LONGER_REPORTED. A removed device's problems always close with DEVICE_REMOVED, even
|
|
216
|
+
* when it also stops being reported; any other subject that stops being reported always
|
|
217
|
+
* closes with NO_LONGER_REPORTED. Neither takes a SUPERSEDED_* reason, even while a connector
|
|
218
|
+
* problem is open.
|
|
219
|
+
*
|
|
220
|
+
* @generated from enum kusinta.iot.reporting.v1.ClearReason
|
|
221
|
+
*/
|
|
222
|
+
export const ClearReason = /*@__PURE__*/
|
|
223
|
+
tsEnum(ClearReasonSchema);
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Describes the enum kusinta.iot.reporting.v1.AckStatus.
|
|
227
|
+
*/
|
|
228
|
+
export const AckStatusSchema = /*@__PURE__*/
|
|
229
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 2);
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* What the api-server made of one transition.
|
|
233
|
+
*
|
|
234
|
+
* @generated from enum kusinta.iot.reporting.v1.AckStatus
|
|
235
|
+
*/
|
|
236
|
+
export const AckStatus = /*@__PURE__*/
|
|
237
|
+
tsEnum(AckStatusSchema);
|
|
238
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { ReportInviteRoutesRequestSchema, ReportInviteRoutesResponseSchema, ReportMembersRequestSchema, ReportMembersResponseSchema, 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. One unary call per
|
|
16
|
+
* 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
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportMembers
|
|
48
|
+
*/
|
|
49
|
+
reportMembers: {
|
|
50
|
+
methodKind: "unary";
|
|
51
|
+
input: typeof ReportMembersRequestSchema;
|
|
52
|
+
output: typeof ReportMembersResponseSchema;
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportInviteRoutes
|
|
56
|
+
*/
|
|
57
|
+
reportInviteRoutes: {
|
|
58
|
+
methodKind: "unary";
|
|
59
|
+
input: typeof ReportInviteRoutesRequestSchema;
|
|
60
|
+
output: typeof ReportInviteRoutesResponseSchema;
|
|
61
|
+
},
|
|
62
|
+
}>;
|
|
63
|
+
|
|
@@ -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("CjBrdXNpbnRhL2lvdC9yZXBvcnRpbmcvdjEvcmVwb3J0aW5nX3NlcnZpY2UucHJvdG8SGGt1c2ludGEuaW90LnJlcG9ydGluZy52MTKDBQoXR2F0ZXdheVJlcG9ydGluZ1NlcnZpY2UScwoOUmVwb3J0UHJvYmxlbXMSLy5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0UHJvYmxlbXNSZXF1ZXN0GjAua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFByb2JsZW1zUmVzcG9uc2USfwoSUmVwb3J0U2VydmljZVJlYWNoEjMua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFNlcnZpY2VSZWFjaFJlcXVlc3QaNC5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0U2VydmljZVJlYWNoUmVzcG9uc2USfwoSUmVwb3J0U2VydmVkU3BhY2VzEjMua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFNlcnZlZFNwYWNlc1JlcXVlc3QaNC5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0U2VydmVkU3BhY2VzUmVzcG9uc2UScAoNUmVwb3J0TWVtYmVycxIuLmt1c2ludGEuaW90LnJlcG9ydGluZy52MS5SZXBvcnRNZW1iZXJzUmVxdWVzdBovLmt1c2ludGEuaW90LnJlcG9ydGluZy52MS5SZXBvcnRNZW1iZXJzUmVzcG9uc2USfwoSUmVwb3J0SW52aXRlUm91dGVzEjMua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydEludml0ZVJvdXRlc1JlcXVlc3QaNC5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0SW52aXRlUm91dGVzUmVzcG9uc2VCAkgBYgZwcm90bzM", [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. One unary call per
|
|
17
|
+
* 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
|
+
|