@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.
Files changed (60) hide show
  1. package/package.json +9 -1
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +118 -2
  3. package/src/kusinta/iot/access/v1/acl_pb.js +20 -3
  4. package/src/kusinta/iot/access/v1/roles_pb.d.ts +119 -4
  5. package/src/kusinta/iot/access/v1/roles_pb.js +98 -5
  6. package/src/kusinta/iot/climate/v1/climate_pb.d.ts +726 -0
  7. package/src/kusinta/iot/climate/v1/climate_pb.js +142 -0
  8. package/src/kusinta/iot/common/v1/pairing_pb.d.ts +217 -0
  9. package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
  10. package/src/kusinta/iot/common/v1/types_pb.d.ts +175 -0
  11. package/src/kusinta/iot/common/v1/types_pb.js +70 -1
  12. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +691 -2
  13. package/src/kusinta/iot/connector/v1/connector_pb.js +104 -13
  14. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +44 -0
  15. package/src/kusinta/iot/device/v1/cluster_state_pb.js +1 -1
  16. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +22 -2
  17. package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
  18. package/src/kusinta/iot/device/v1/device_event_pb.d.ts +87 -5
  19. package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
  20. package/src/kusinta/iot/device/v1/device_pb.d.ts +150 -6
  21. package/src/kusinta/iot/device/v1/device_pb.js +33 -2
  22. package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +26 -0
  23. package/src/kusinta/iot/device/v1/matter_options_pb.js +31 -4
  24. package/src/kusinta/iot/device/v1/properties_pb.d.ts +14 -0
  25. package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
  26. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +3 -2
  27. package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
  28. package/src/kusinta/iot/link/v1/link_pb.js +121 -0
  29. package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +1219 -0
  30. package/src/kusinta/iot/reporting/v1/reporting_pb.js +238 -0
  31. package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +63 -0
  32. package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
  33. package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +361 -7
  34. package/src/kusinta/iot/signaling/v1/signaling_pb.js +68 -4
  35. package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
  36. package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
  37. package/src/kusinta/iot/space/v1/space_pb.d.ts +103 -2
  38. package/src/kusinta/iot/space/v1/space_pb.js +10 -1
  39. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +162 -13
  40. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -1
  41. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
  42. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
  43. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +25 -4
  44. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +28 -6
  45. package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +45 -5
  46. package/src/kusinta/iot/webrtc/v1/app_token_pb.js +1 -1
  47. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +14 -0
  48. package/src/kusinta/iot/webrtc/v1/command_pb.js +1 -1
  49. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +179 -5
  50. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +35 -6
  51. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +520 -3
  52. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +65 -3
  53. package/src/kusinta/iot/webrtc/v1/invite_pb.d.ts +496 -0
  54. package/src/kusinta/iot/webrtc/v1/invite_pb.js +108 -0
  55. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +977 -12
  56. package/src/kusinta/iot/webrtc/v1/management_pb.js +132 -5
  57. package/src/kusinta/iot/webrtc/v1/members_pb.d.ts +327 -0
  58. package/src/kusinta/iot/webrtc/v1/members_pb.js +78 -0
  59. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +66 -4
  60. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +10 -2
@@ -3,15 +3,23 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
+ import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
8
+ import { file_kusinta_iot_access_v1_roles } from "../../access/v1/roles_pb.js";
9
+ import { file_kusinta_iot_climate_v1_climate } from "../../climate/v1/climate_pb.js";
6
10
  import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
7
11
  import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
12
+ import { file_kusinta_iot_link_v1_link } from "../../link/v1/link_pb.js";
8
13
  import { file_kusinta_iot_space_v1_space } from "../../space/v1/space_pb.js";
14
+ import { file_kusinta_iot_vendor_lorawan_v1_lorawan } from "../../vendor/lorawan/v1/lorawan_pb.js";
15
+ import { file_kusinta_iot_webrtc_v1_invite } from "./invite_pb.js";
16
+ import { file_kusinta_iot_webrtc_v1_members } from "./members_pb.js";
9
17
 
10
18
  /**
11
19
  * Describes the file kusinta/iot/webrtc/v1/management.proto.
12
20
  */
13
21
  export const file_kusinta_iot_webrtc_v1_management = /*@__PURE__*/
14
- fileDesc("CiZrdXNpbnRhL2lvdC93ZWJydGMvdjEvbWFuYWdlbWVudC5wcm90bxIVa3VzaW50YS5pb3Qud2VicnRjLnYxIrABCgtDcmVhdGVTcGFjZRI0CgpzcGFjZV90eX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YAiABKAsyIi5rdXNpbnRhLmlvdC53ZWJydGMudjEuVXBkYXRlU3BhY2VIABI6CgxkZWxldGVfc3BhY2UYAyABKAsyIi5rdXNpbnRhLmlvdC53ZWJydGMudjEuRGVsZXRlU3BhY2VIABJIChRhc3NpZ25fdXNlcl90b19zcGFjZRgEIAEoCzIoLmt1c2ludGEuaW90LndlYnJ0Yy52MS5Bc3NpZ25Vc2VyVG9TcGFjZUgAEkwKFnJlbW92ZV91c2VyX2Zyb21fc3BhY2UYBSABKAsyKi5rdXNpbnRhLmlvdC53ZWJydGMudjEuUmVtb3ZlVXNlckZyb21TcGFjZUgAEkoKFXBsYWNlX2RldmljZV9pbl9zcGFjZRgGIAEoCzIpLmt1c2ludGEuaW90LndlYnJ0Yy52MS5QbGFjZURldmljZUluU3BhY2VIABJQChhyZW1vdmVfZGV2aWNlX2Zyb21fc3BhY2UYByABKAsyLC5rdXNpbnRhLmlvdC53ZWJydGMudjEuUmVtb3ZlRGV2aWNlRnJvbVNwYWNlSAASOgoMY2xhaW1fZGV2aWNlGAggASgLMiIua3VzaW50YS5pb3Qud2VicnRjLnYxLkNsYWltRGV2aWNlSAASPgoOcmVsZWFzZV9kZXZpY2UYCSABKAsyJC5rdXNpbnRhLmlvdC53ZWJydGMudjEuUmVsZWFzZURldmljZUgAEjgKC2xpc3Rfc3BhY2VzGAogASgLMiEua3VzaW50YS5pb3Qud2VicnRjLnYxLkxpc3RTcGFjZXNIAEIJCgdyZXF1ZXN0QgJIAWIGcHJvdG8z", [file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_space_v1_space]);
22
+ fileDesc("CiZrdXNpbnRhL2lvdC93ZWJydGMvdjEvbWFuYWdlbWVudC5wcm90bxIVa3VzaW50YS5pb3Qud2VicnRjLnYxItYBCgtDcmVhdGVTcGFjZRI0CgpzcGFjZV90eXBlGAEgASgOMiAua3VzaW50YS5pb3QuY29tbW9uLnYxLlNwYWNlVHlwZRIMCgRuYW1lGA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5pc2F0aW9uGCMgASgLMisua3VzaW50YS5pb3Qud2VicnRjLnYxLlNldE93bmVyT3JnYW5pc2F0aW9uSABCCQoHcmVxdWVzdEICSAFiBnByb3RvMw", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_acl, file_kusinta_iot_access_v1_roles, file_kusinta_iot_climate_v1_climate, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_link_v1_link, file_kusinta_iot_space_v1_space, file_kusinta_iot_vendor_lorawan_v1_lorawan, file_kusinta_iot_webrtc_v1_invite, file_kusinta_iot_webrtc_v1_members]);
15
23
 
16
24
  /**
17
25
  * Describes the message kusinta.iot.webrtc.v1.CreateSpace.
@@ -76,31 +84,150 @@ export const ClaimDeviceSchema = /*@__PURE__*/
76
84
  export const ReleaseDeviceSchema = /*@__PURE__*/
77
85
  messageDesc(file_kusinta_iot_webrtc_v1_management, 8);
78
86
 
87
+ /**
88
+ * Describes the message kusinta.iot.webrtc.v1.ProvisionDevice.
89
+ * Use `create(ProvisionDeviceSchema)` to create a new message.
90
+ */
91
+ export const ProvisionDeviceSchema = /*@__PURE__*/
92
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 9);
93
+
79
94
  /**
80
95
  * Describes the message kusinta.iot.webrtc.v1.ListSpaces.
81
96
  * Use `create(ListSpacesSchema)` to create a new message.
82
97
  */
83
98
  export const ListSpacesSchema = /*@__PURE__*/
84
- messageDesc(file_kusinta_iot_webrtc_v1_management, 9);
99
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 10);
85
100
 
86
101
  /**
87
102
  * Describes the message kusinta.iot.webrtc.v1.SpaceTree.
88
103
  * Use `create(SpaceTreeSchema)` to create a new message.
89
104
  */
90
105
  export const SpaceTreeSchema = /*@__PURE__*/
91
- messageDesc(file_kusinta_iot_webrtc_v1_management, 10);
106
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 11);
92
107
 
93
108
  /**
94
109
  * Describes the message kusinta.iot.webrtc.v1.ManagementAck.
95
110
  * Use `create(ManagementAckSchema)` to create a new message.
96
111
  */
97
112
  export const ManagementAckSchema = /*@__PURE__*/
98
- messageDesc(file_kusinta_iot_webrtc_v1_management, 11);
113
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 12);
114
+
115
+ /**
116
+ * Describes the message kusinta.iot.webrtc.v1.CreateDeviceLink.
117
+ * Use `create(CreateDeviceLinkSchema)` to create a new message.
118
+ */
119
+ export const CreateDeviceLinkSchema = /*@__PURE__*/
120
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 13);
121
+
122
+ /**
123
+ * Describes the message kusinta.iot.webrtc.v1.RemoveDeviceLink.
124
+ * Use `create(RemoveDeviceLinkSchema)` to create a new message.
125
+ */
126
+ export const RemoveDeviceLinkSchema = /*@__PURE__*/
127
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 14);
128
+
129
+ /**
130
+ * Describes the message kusinta.iot.webrtc.v1.UpdateDeviceLink.
131
+ * Use `create(UpdateDeviceLinkSchema)` to create a new message.
132
+ */
133
+ export const UpdateDeviceLinkSchema = /*@__PURE__*/
134
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 15);
135
+
136
+ /**
137
+ * Describes the message kusinta.iot.webrtc.v1.ListDeviceLinks.
138
+ * Use `create(ListDeviceLinksSchema)` to create a new message.
139
+ */
140
+ export const ListDeviceLinksSchema = /*@__PURE__*/
141
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 16);
142
+
143
+ /**
144
+ * Describes the message kusinta.iot.webrtc.v1.SetRoomTarget.
145
+ * Use `create(SetRoomTargetSchema)` to create a new message.
146
+ */
147
+ export const SetRoomTargetSchema = /*@__PURE__*/
148
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 17);
149
+
150
+ /**
151
+ * Describes the message kusinta.iot.webrtc.v1.RoomSensors.
152
+ * Use `create(RoomSensorsSchema)` to create a new message.
153
+ */
154
+ export const RoomSensorsSchema = /*@__PURE__*/
155
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 18);
156
+
157
+ /**
158
+ * Describes the message kusinta.iot.webrtc.v1.RoomLimits.
159
+ * Use `create(RoomLimitsSchema)` to create a new message.
160
+ */
161
+ export const RoomLimitsSchema = /*@__PURE__*/
162
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 19);
163
+
164
+ /**
165
+ * Describes the message kusinta.iot.webrtc.v1.ConfigureRoomClimate.
166
+ * Use `create(ConfigureRoomClimateSchema)` to create a new message.
167
+ */
168
+ export const ConfigureRoomClimateSchema = /*@__PURE__*/
169
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 20);
170
+
171
+ /**
172
+ * Describes the message kusinta.iot.webrtc.v1.SetClimateMode.
173
+ * Use `create(SetClimateModeSchema)` to create a new message.
174
+ */
175
+ export const SetClimateModeSchema = /*@__PURE__*/
176
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 21);
177
+
178
+ /**
179
+ * Describes the message kusinta.iot.webrtc.v1.ListRoomClimates.
180
+ * Use `create(ListRoomClimatesSchema)` to create a new message.
181
+ */
182
+ export const ListRoomClimatesSchema = /*@__PURE__*/
183
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 22);
184
+
185
+ /**
186
+ * Describes the message kusinta.iot.webrtc.v1.GetRoomHistory.
187
+ * Use `create(GetRoomHistorySchema)` to create a new message.
188
+ */
189
+ export const GetRoomHistorySchema = /*@__PURE__*/
190
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 23);
191
+
192
+ /**
193
+ * Describes the message kusinta.iot.webrtc.v1.PrivacyDisclosure.
194
+ * Use `create(PrivacyDisclosureSchema)` to create a new message.
195
+ */
196
+ export const PrivacyDisclosureSchema = /*@__PURE__*/
197
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 24);
198
+
199
+ /**
200
+ * Describes the message kusinta.iot.webrtc.v1.ServiceParty.
201
+ * Use `create(ServicePartySchema)` to create a new message.
202
+ */
203
+ export const ServicePartySchema = /*@__PURE__*/
204
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 25);
205
+
206
+ /**
207
+ * Describes the message kusinta.iot.webrtc.v1.GetPrivacyDisclosure.
208
+ * Use `create(GetPrivacyDisclosureSchema)` to create a new message.
209
+ */
210
+ export const GetPrivacyDisclosureSchema = /*@__PURE__*/
211
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 26);
212
+
213
+ /**
214
+ * Describes the message kusinta.iot.webrtc.v1.GetApartmentClimateSummary.
215
+ * Use `create(GetApartmentClimateSummarySchema)` to create a new message.
216
+ */
217
+ export const GetApartmentClimateSummarySchema = /*@__PURE__*/
218
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 27);
219
+
220
+ /**
221
+ * Describes the message kusinta.iot.webrtc.v1.ReconnectConnector.
222
+ * Use `create(ReconnectConnectorSchema)` to create a new message.
223
+ */
224
+ export const ReconnectConnectorSchema = /*@__PURE__*/
225
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 28);
99
226
 
100
227
  /**
101
228
  * Describes the message kusinta.iot.webrtc.v1.ManagementRequest.
102
229
  * Use `create(ManagementRequestSchema)` to create a new message.
103
230
  */
104
231
  export const ManagementRequestSchema = /*@__PURE__*/
105
- messageDesc(file_kusinta_iot_webrtc_v1_management, 12);
232
+ messageDesc(file_kusinta_iot_webrtc_v1_management, 29);
106
233
 
@@ -0,0 +1,327 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/webrtc/v1/members.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { SpaceId, UserId } from "../../identity/v1/identity_pb.js";
8
+ import type { MembershipRelation, Role } from "../../access/v1/roles_pb.js";
9
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
10
+
11
+ /**
12
+ * Describes the file kusinta/iot/webrtc/v1/members.proto.
13
+ */
14
+ export declare const file_kusinta_iot_webrtc_v1_members: GenFile;
15
+
16
+ /**
17
+ * Lists every member of the gateway. Answered with GatewayMembers. Listed to a caller
18
+ * holding ROLE_GATEWAY_ADMIN or ROLE_PROPERTY_OWNER; anyone else is refused as
19
+ * NOT_ENTITLED.
20
+ *
21
+ * Those two roles answer for the whole property, and a resident who moves out is removed by
22
+ * them (RemoveFromGateway), so every member is listed to them. Each is told apart as the rule
23
+ * for staff allows (access.v1.Role, STAFF):
24
+ * * a resident by their memberships — the homes they live in, and since when
25
+ * (MemberSpace.since) — never by name or address;
26
+ * * staff by name and email address (MemberDetail.name, MemberDetail.email), and by their
27
+ * memberships save where they live: a staff member's residency is left out of every
28
+ * entry but the caller's own, since a residency is told only to its household.
29
+ * Seeing into a home's life — its devices, readings and history — still takes filing on it.
30
+ *
31
+ * @generated from message kusinta.iot.webrtc.v1.ListGatewayMembers
32
+ */
33
+ export declare type ListGatewayMembers = Message<"kusinta.iot.webrtc.v1.ListGatewayMembers"> & {
34
+ };
35
+
36
+ /**
37
+ * Describes the message kusinta.iot.webrtc.v1.ListGatewayMembers.
38
+ * Use `create(ListGatewayMembersSchema)` to create a new message.
39
+ */
40
+ export declare const ListGatewayMembersSchema: GenMessage<ListGatewayMembers>;
41
+
42
+ /**
43
+ * Gives a member ROLE_PROPERTY_OWNER or ROLE_GATEWAY_ADMIN, or takes it away. Answered with
44
+ * ManagementAck. Only a caller holding ROLE_GATEWAY_ADMIN may; any other role named is
45
+ * INVALID_REQUEST.
46
+ *
47
+ * Granting a role already held, or taking away one not held, changes nothing and is
48
+ * acknowledged. A caller may take a role away from themselves: the registering
49
+ * administrator always remains, so the gateway cannot be left without one. Naming
50
+ * ROLE_GATEWAY_ADMIN for the registering administrator, either way, is refused as
51
+ * "registering_admin"; ROLE_PROPERTY_OWNER may be given to them and taken away as to
52
+ * anyone.
53
+ *
54
+ * Granting either role clears any end to the member's access (MemberDetail.access_until):
55
+ * a property owner or an administrator is not there for a job.
56
+ *
57
+ * Taking either role away also ends the pending invites the user created while holding one,
58
+ * unless they keep the other; invites they created as a resident of a home follow their
59
+ * residency, as they always do. The join requests those invites made stay, since another
60
+ * administrator may still answer them. The change reaches the user's open sessions at once.
61
+ *
62
+ * @generated from message kusinta.iot.webrtc.v1.SetMemberRole
63
+ */
64
+ export declare type SetMemberRole = Message<"kusinta.iot.webrtc.v1.SetMemberRole"> & {
65
+ /**
66
+ * @generated from field: kusinta.iot.identity.v1.UserId user_id = 1;
67
+ */
68
+ userId?: UserId | undefined;
69
+
70
+ /**
71
+ * @generated from field: kusinta.iot.access.v1.Role role = 2;
72
+ */
73
+ role: Role;
74
+
75
+ /**
76
+ * true grants the role; false takes it away.
77
+ *
78
+ * @generated from field: bool held = 3;
79
+ */
80
+ held: boolean;
81
+ };
82
+
83
+ /**
84
+ * Describes the message kusinta.iot.webrtc.v1.SetMemberRole.
85
+ * Use `create(SetMemberRoleSchema)` to create a new message.
86
+ */
87
+ export declare const SetMemberRoleSchema: GenMessage<SetMemberRole>;
88
+
89
+ /**
90
+ * Removes a member from the whole gateway in one step: every membership they hold, every
91
+ * role the gateway holds for them, every pending invite they created and every join request
92
+ * of their own. Answered with ManagementAck. Their open sessions end, and the api-server drops
93
+ * them from the gateway. Join requests made through their invites end where those were
94
+ * invites a resident made, as when a residency ends, and stay otherwise.
95
+ *
96
+ * A caller holding ROLE_GATEWAY_ADMIN may remove anyone but the registering administrator
97
+ * ("registering_admin"). A caller holding ROLE_PROPERTY_OWNER, and not ROLE_GATEWAY_ADMIN,
98
+ * may remove only a member who holds neither ROLE_PROPERTY_OWNER nor ROLE_GATEWAY_ADMIN;
99
+ * anyone else, the registering administrator included, is refused NOT_ENTITLED.
100
+ *
101
+ * @generated from message kusinta.iot.webrtc.v1.RemoveFromGateway
102
+ */
103
+ export declare type RemoveFromGateway = Message<"kusinta.iot.webrtc.v1.RemoveFromGateway"> & {
104
+ /**
105
+ * @generated from field: kusinta.iot.identity.v1.UserId user_id = 1;
106
+ */
107
+ userId?: UserId | undefined;
108
+ };
109
+
110
+ /**
111
+ * Describes the message kusinta.iot.webrtc.v1.RemoveFromGateway.
112
+ * Use `create(RemoveFromGatewaySchema)` to create a new message.
113
+ */
114
+ export declare const RemoveFromGatewaySchema: GenMessage<RemoveFromGateway>;
115
+
116
+ /**
117
+ * Sets, moves or clears when a technician's access ends. Answered with ManagementAck. A
118
+ * caller holding ROLE_GATEWAY_ADMIN or ROLE_PROPERTY_OWNER may. Only for a member holding
119
+ * ROLE_TECHNICIAN and no other role but ROLE_RESIDENT ("not_a_technician" otherwise): an end
120
+ * date never reaches a property owner or an administrator.
121
+ *
122
+ * access_until is the instant the access ends; a time not after now is INVALID_REQUEST. The
123
+ * app chooses it, typically the end of a chosen day where the building is. Within a quarter
124
+ * of an hour after it, the gateway takes away the member's ROLE_TECHNICIAN and every SERVICE
125
+ * membership they hold, as an administrator would, and nothing else: a home they live in
126
+ * stays theirs, and their ROLE_TECHNICIAN goes all the same.
127
+ *
128
+ * @generated from message kusinta.iot.webrtc.v1.SetAccessUntil
129
+ */
130
+ export declare type SetAccessUntil = Message<"kusinta.iot.webrtc.v1.SetAccessUntil"> & {
131
+ /**
132
+ * @generated from field: kusinta.iot.identity.v1.UserId user_id = 1;
133
+ */
134
+ userId?: UserId | undefined;
135
+
136
+ /**
137
+ * Unset clears it: the access lasts until someone takes it away.
138
+ *
139
+ * @generated from field: google.protobuf.Timestamp access_until = 2;
140
+ */
141
+ accessUntil?: Timestamp | undefined;
142
+ };
143
+
144
+ /**
145
+ * Describes the message kusinta.iot.webrtc.v1.SetAccessUntil.
146
+ * Use `create(SetAccessUntilSchema)` to create a new message.
147
+ */
148
+ export declare const SetAccessUntilSchema: GenMessage<SetAccessUntil>;
149
+
150
+ /**
151
+ * Records the organisation that owns the property, or clears it when unset or when both
152
+ * fields are empty. An organisation number without a name is INVALID_REQUEST. Answered with
153
+ * ManagementAck. Only a caller holding ROLE_GATEWAY_ADMIN may.
154
+ *
155
+ * @generated from message kusinta.iot.webrtc.v1.SetOwnerOrganisation
156
+ */
157
+ export declare type SetOwnerOrganisation = Message<"kusinta.iot.webrtc.v1.SetOwnerOrganisation"> & {
158
+ /**
159
+ * @generated from field: kusinta.iot.webrtc.v1.OwnerOrganisation organisation = 1;
160
+ */
161
+ organisation?: OwnerOrganisation | undefined;
162
+ };
163
+
164
+ /**
165
+ * Describes the message kusinta.iot.webrtc.v1.SetOwnerOrganisation.
166
+ * Use `create(SetOwnerOrganisationSchema)` to create a new message.
167
+ */
168
+ export declare const SetOwnerOrganisationSchema: GenMessage<SetOwnerOrganisation>;
169
+
170
+ /**
171
+ * The organisation that owns the property. The people who act for it each hold
172
+ * ROLE_PROPERTY_OWNER themselves; this only says whom they act for.
173
+ *
174
+ * @generated from message kusinta.iot.webrtc.v1.OwnerOrganisation
175
+ */
176
+ export declare type OwnerOrganisation = Message<"kusinta.iot.webrtc.v1.OwnerOrganisation"> & {
177
+ /**
178
+ * @generated from field: string name = 1;
179
+ */
180
+ name: string;
181
+
182
+ /**
183
+ * As the organisation's national register gives it; the gateway does not check it. For a
184
+ * sole trader it can be a personal identity number, so it is shown only where
185
+ * GatewayMembers is, never to residents (PrivacyDisclosure carries the name alone).
186
+ *
187
+ * @generated from field: string organisation_number = 2;
188
+ */
189
+ organisationNumber: string;
190
+ };
191
+
192
+ /**
193
+ * Describes the message kusinta.iot.webrtc.v1.OwnerOrganisation.
194
+ * Use `create(OwnerOrganisationSchema)` to create a new message.
195
+ */
196
+ export declare const OwnerOrganisationSchema: GenMessage<OwnerOrganisation>;
197
+
198
+ /**
199
+ * Every member of the gateway, in answer to ListGatewayMembers.
200
+ *
201
+ * @generated from message kusinta.iot.webrtc.v1.GatewayMembers
202
+ */
203
+ export declare type GatewayMembers = Message<"kusinta.iot.webrtc.v1.GatewayMembers"> & {
204
+ /**
205
+ * @generated from field: repeated kusinta.iot.webrtc.v1.MemberDetail members = 1;
206
+ */
207
+ members: MemberDetail[];
208
+
209
+ /**
210
+ * Unset when none is recorded.
211
+ *
212
+ * @generated from field: kusinta.iot.webrtc.v1.OwnerOrganisation owner_organisation = 2;
213
+ */
214
+ ownerOrganisation?: OwnerOrganisation | undefined;
215
+ };
216
+
217
+ /**
218
+ * Describes the message kusinta.iot.webrtc.v1.GatewayMembers.
219
+ * Use `create(GatewayMembersSchema)` to create a new message.
220
+ */
221
+ export declare const GatewayMembersSchema: GenMessage<GatewayMembers>;
222
+
223
+ /**
224
+ * One member, as an administrator or a property owner sees them.
225
+ *
226
+ * @generated from message kusinta.iot.webrtc.v1.MemberDetail
227
+ */
228
+ export declare type MemberDetail = Message<"kusinta.iot.webrtc.v1.MemberDetail"> & {
229
+ /**
230
+ * @generated from field: kusinta.iot.identity.v1.UserId user_id = 1;
231
+ */
232
+ userId?: UserId | undefined;
233
+
234
+ /**
235
+ * The name they gave their account, as the gateway last learnt it: from AppTokenClaims.name
236
+ * when they connect, or from signaling.v1.RedeemInvite.display_name when they redeem with
237
+ * none learnt yet. Self-chosen, so the app shows it as such. Given only for a member who is
238
+ * staff (access.v1.Role, STAFF), and on the caller's own entry; empty for every other
239
+ * resident, and when none is learnt. The gateway keeps it only while they are a member,
240
+ * and drops it when they stop being one.
241
+ *
242
+ * @generated from field: string name = 2;
243
+ */
244
+ name: string;
245
+
246
+ /**
247
+ * Every role they hold here, the registering administrator's ROLE_GATEWAY_ADMIN included,
248
+ * each once.
249
+ *
250
+ * @generated from field: repeated kusinta.iot.access.v1.Role roles = 3;
251
+ */
252
+ roles: Role[];
253
+
254
+ /**
255
+ * Every space they are filed on, save that a staff member's RESIDENT memberships are left
256
+ * out of every entry but the caller's own. A member with none left is still listed.
257
+ *
258
+ * @generated from field: repeated kusinta.iot.webrtc.v1.MemberSpace memberships = 4;
259
+ */
260
+ memberships: MemberSpace[];
261
+
262
+ /**
263
+ * When a technician's access ends (SetAccessUntil). Unset for no end.
264
+ *
265
+ * @generated from field: google.protobuf.Timestamp access_until = 5;
266
+ */
267
+ accessUntil?: Timestamp | undefined;
268
+
269
+ /**
270
+ * Whether they are the administrator who registered the gateway, as the gateway last saw
271
+ * from a token. Grants nothing on its own; it says that their ROLE_GATEWAY_ADMIN cannot be
272
+ * changed here and that RemoveFromGateway will refuse them.
273
+ *
274
+ * @generated from field: bool registering_admin = 6;
275
+ */
276
+ registeringAdmin: boolean;
277
+
278
+ /**
279
+ * Their verified email address, as AppTokenClaims.email last gave it, so that staff who
280
+ * gave the same name can be told apart. Given only for a member who is staff; empty for a
281
+ * resident, and when none is learnt. The gateway keeps it only while they hold a staff
282
+ * role.
283
+ *
284
+ * @generated from field: string email = 7;
285
+ */
286
+ email: string;
287
+ };
288
+
289
+ /**
290
+ * Describes the message kusinta.iot.webrtc.v1.MemberDetail.
291
+ * Use `create(MemberDetailSchema)` to create a new message.
292
+ */
293
+ export declare const MemberDetailSchema: GenMessage<MemberDetail>;
294
+
295
+ /**
296
+ * One space a member is filed on, and how they stand to it.
297
+ *
298
+ * @generated from message kusinta.iot.webrtc.v1.MemberSpace
299
+ */
300
+ export declare type MemberSpace = Message<"kusinta.iot.webrtc.v1.MemberSpace"> & {
301
+ /**
302
+ * @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
303
+ */
304
+ spaceId?: SpaceId | undefined;
305
+
306
+ /**
307
+ * @generated from field: kusinta.iot.access.v1.MembershipRelation relation = 2;
308
+ */
309
+ relation: MembershipRelation;
310
+
311
+ /**
312
+ * The start of the day, in the building's time zone (space.v1.Space.time_zone), on which
313
+ * the current membership began; for a resident, the current unbroken residency
314
+ * (access.v1.MembershipRelation). Never finer than a day. Unset where the gateway holds no
315
+ * record of it.
316
+ *
317
+ * @generated from field: google.protobuf.Timestamp since = 3;
318
+ */
319
+ since?: Timestamp | undefined;
320
+ };
321
+
322
+ /**
323
+ * Describes the message kusinta.iot.webrtc.v1.MemberSpace.
324
+ * Use `create(MemberSpaceSchema)` to create a new message.
325
+ */
326
+ export declare const MemberSpaceSchema: GenMessage<MemberSpace>;
327
+
@@ -0,0 +1,78 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/webrtc/v1/members.proto (package kusinta.iot.webrtc.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } 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_identity_v1_identity } from "../../identity/v1/identity_pb.js";
9
+
10
+ /**
11
+ * Describes the file kusinta/iot/webrtc/v1/members.proto.
12
+ */
13
+ export const file_kusinta_iot_webrtc_v1_members = /*@__PURE__*/
14
+ fileDesc("CiNrdXNpbnRhL2lvdC93ZWJydGMvdjEvbWVtYmVycy5wcm90bxIVa3VzaW50YS5pb3Qud2VicnRjLnYxIhQKEkxpc3RHYXRld2F5TWVtYmVycyJ6Cg1TZXRNZW1iZXJSb2xlEjAKB3VzZXJfaWQYASABKAsyHy5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Vc2VySWQSKQoEcm9sZRgCIAEoDjIbLmt1c2ludGEuaW90LmFjY2Vzcy52MS5Sb2xlEgwKBGhlbGQYAyABKAgiRQoRUmVtb3ZlRnJvbUdhdGV3YXkSMAoHdXNlcl9pZBgBIAEoCzIfLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlVzZXJJZCJ0Cg5TZXRBY2Nlc3NVbnRpbBIwCgd1c2VyX2lkGAEgASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEjAKDGFjY2Vzc191bnRpbBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiVgoUU2V0T3duZXJPcmdhbmlzYXRpb24SPgoMb3JnYW5pc2F0aW9uGAEgASgLMigua3VzaW50YS5pb3Qud2VicnRjLnYxLk93bmVyT3JnYW5pc2F0aW9uIj4KEU93bmVyT3JnYW5pc2F0aW9uEgwKBG5hbWUYASABKAkSGwoTb3JnYW5pc2F0aW9uX251bWJlchgCIAEoCSKMAQoOR2F0ZXdheU1lbWJlcnMSNAoHbWVtYmVycxgBIAMoCzIjLmt1c2ludGEuaW90LndlYnJ0Yy52MS5NZW1iZXJEZXRhaWwSRAoSb3duZXJfb3JnYW5pc2F0aW9uGAIgASgLMigua3VzaW50YS5pb3Qud2VicnRjLnYxLk93bmVyT3JnYW5pc2F0aW9uIo8CCgxNZW1iZXJEZXRhaWwSMAoHdXNlcl9pZBgBIAEoCzIfLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLlVzZXJJZBIMCgRuYW1lGAIgASgJEioKBXJvbGVzGAMgAygOMhsua3VzaW50YS5pb3QuYWNjZXNzLnYxLlJvbGUSNwoLbWVtYmVyc2hpcHMYBCADKAsyIi5rdXNpbnRhLmlvdC53ZWJydGMudjEuTWVtYmVyU3BhY2USMAoMYWNjZXNzX3VudGlsGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIZChFyZWdpc3RlcmluZ19hZG1pbhgGIAEoCBINCgVlbWFpbBgHIAEoCSKpAQoLTWVtYmVyU3BhY2USMgoIc3BhY2VfaWQYASABKAsyIC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5TcGFjZUlkEjsKCHJlbGF0aW9uGAIgASgOMikua3VzaW50YS5pb3QuYWNjZXNzLnYxLk1lbWJlcnNoaXBSZWxhdGlvbhIpCgVzaW5jZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_roles, file_kusinta_iot_identity_v1_identity]);
15
+
16
+ /**
17
+ * Describes the message kusinta.iot.webrtc.v1.ListGatewayMembers.
18
+ * Use `create(ListGatewayMembersSchema)` to create a new message.
19
+ */
20
+ export const ListGatewayMembersSchema = /*@__PURE__*/
21
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 0);
22
+
23
+ /**
24
+ * Describes the message kusinta.iot.webrtc.v1.SetMemberRole.
25
+ * Use `create(SetMemberRoleSchema)` to create a new message.
26
+ */
27
+ export const SetMemberRoleSchema = /*@__PURE__*/
28
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 1);
29
+
30
+ /**
31
+ * Describes the message kusinta.iot.webrtc.v1.RemoveFromGateway.
32
+ * Use `create(RemoveFromGatewaySchema)` to create a new message.
33
+ */
34
+ export const RemoveFromGatewaySchema = /*@__PURE__*/
35
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 2);
36
+
37
+ /**
38
+ * Describes the message kusinta.iot.webrtc.v1.SetAccessUntil.
39
+ * Use `create(SetAccessUntilSchema)` to create a new message.
40
+ */
41
+ export const SetAccessUntilSchema = /*@__PURE__*/
42
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 3);
43
+
44
+ /**
45
+ * Describes the message kusinta.iot.webrtc.v1.SetOwnerOrganisation.
46
+ * Use `create(SetOwnerOrganisationSchema)` to create a new message.
47
+ */
48
+ export const SetOwnerOrganisationSchema = /*@__PURE__*/
49
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 4);
50
+
51
+ /**
52
+ * Describes the message kusinta.iot.webrtc.v1.OwnerOrganisation.
53
+ * Use `create(OwnerOrganisationSchema)` to create a new message.
54
+ */
55
+ export const OwnerOrganisationSchema = /*@__PURE__*/
56
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 5);
57
+
58
+ /**
59
+ * Describes the message kusinta.iot.webrtc.v1.GatewayMembers.
60
+ * Use `create(GatewayMembersSchema)` to create a new message.
61
+ */
62
+ export const GatewayMembersSchema = /*@__PURE__*/
63
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 6);
64
+
65
+ /**
66
+ * Describes the message kusinta.iot.webrtc.v1.MemberDetail.
67
+ * Use `create(MemberDetailSchema)` to create a new message.
68
+ */
69
+ export const MemberDetailSchema = /*@__PURE__*/
70
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 7);
71
+
72
+ /**
73
+ * Describes the message kusinta.iot.webrtc.v1.MemberSpace.
74
+ * Use `create(MemberSpaceSchema)` to create a new message.
75
+ */
76
+ export const MemberSpaceSchema = /*@__PURE__*/
77
+ messageDesc(file_kusinta_iot_webrtc_v1_members, 8);
78
+