@kusinta/iot-schema 0.2.0-beta.3 → 0.2.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +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 +498 -0
- package/src/kusinta/iot/webrtc/v1/invite_pb.js +108 -0
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +982 -12
- package/src/kusinta/iot/webrtc/v1/management_pb.js +132 -5
- package/src/kusinta/iot/webrtc/v1/members_pb.d.ts +328 -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
|
@@ -5,19 +5,25 @@
|
|
|
5
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_access_v1_acl } from "../../access/v1/acl_pb.js";
|
|
8
|
+
import { file_kusinta_iot_climate_v1_climate } from "../../climate/v1/climate_pb.js";
|
|
9
|
+
import { file_kusinta_iot_common_v1_pairing } from "../../common/v1/pairing_pb.js";
|
|
10
|
+
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
8
11
|
import { file_kusinta_iot_device_v1_device_event } from "../../device/v1/device_event_pb.js";
|
|
9
12
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
13
|
+
import { file_kusinta_iot_link_v1_link } from "../../link/v1/link_pb.js";
|
|
10
14
|
import { file_kusinta_iot_space_v1_space } from "../../space/v1/space_pb.js";
|
|
11
15
|
import { file_kusinta_iot_webrtc_v1_command } from "./command_pb.js";
|
|
12
16
|
import { file_kusinta_iot_webrtc_v1_device_state } from "./device_state_pb.js";
|
|
17
|
+
import { file_kusinta_iot_webrtc_v1_invite } from "./invite_pb.js";
|
|
13
18
|
import { file_kusinta_iot_webrtc_v1_management } from "./management_pb.js";
|
|
19
|
+
import { file_kusinta_iot_webrtc_v1_members } from "./members_pb.js";
|
|
14
20
|
import { file_kusinta_iot_webrtc_v1_permission_push } from "./permission_push_pb.js";
|
|
15
21
|
|
|
16
22
|
/**
|
|
17
23
|
* Describes the file kusinta/iot/webrtc/v1/envelope.proto.
|
|
18
24
|
*/
|
|
19
25
|
export const file_kusinta_iot_webrtc_v1_envelope = /*@__PUR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bmRIABJCCgxyZWFkX3JlcXVlc3QYBSABKAsyKi5rdXNpbnRhLmlvdC53ZWJydGMudjEuUHJvcGVydHlSZWFkUmVxdWVzdEgAEisKBHBpbmcYBiABKAsyGy5rdXNpbnRhLmlvdC53ZWJydGMudjEuUGluZ0gAEjwKCXN1YnNjcmliZRgHIAEoCzInLmt1c2ludGEuaW90LndlYnJ0Yy52MS5TdWJzY3JpYmVEZXZpY2VzSAASQAoLdW5zdWJzY3JpYmUYCCABKAsyKS5rdXNpbnRhLmlvdC53ZWJydGMudjEuVW5zdWJzY3JpYmVEZXZpY2VzSAASPgoKbWFuYWdlbWVudBgJIAEoCzIoLmt1c2ludGEuaW90LndlYnJ0Yy52MS5NYW5hZ2VtZW50UmVxdWVzdEgAEkcKD2F0dHJpYnV0ZV93cml0ZRgKIAEoCzIsLmt1c2ludGEuaW90LndlYnJ0Yy52MS5BdHRyaWJ1dGVXcml0ZVJlcXVlc3RIABI8Cg1zdGFydF9wYWlyaW5nGAsgASgLMiMua3VzaW50YS5pb3Qud2VicnRjLnYxLlN0YXJ0UGFpcmluZ0gAQgkKB3BheWxvYWQqogIKEEdhdGV3YXlFcnJvckNvZGUSIgoeR0FURVdBWV9FUlJPUl9DT0RFX1VOU1BFQ0lGSUVEEAASIwofR0FURVdBWV9FUlJPUl9DT0RFX05PVF9FTlRJVExFRBABEiYKIkdBVEVXQVlfRVJST1JfQ09ERV9JTlZBTElEX1JFUVVFU1QQAhIiCh5HQVRFV0FZX0VSUk9SX0NPREVfVU5BVkFJTEFCTEUQAxIfChtHQVRFV0FZX0VSUk9SX0NPREVfSU5URVJOQUwQBBIsCihHQVRFV0FZX0VSUk9SX0NPREVfU0VTU0lPTl9MSU1JVF9SRUFDSEVEEAUSKgomR0FURVdBWV9FUlJPUl9DT0RFX0ZBSUxFRF9QUkVDT05ESVRJT04QBkICSAFiBnByb3RvMw", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_acl, file_kusinta_iot_climate_v1_climate, file_kusinta_iot_common_v1_pairing, file_kusinta_iot_common_v1_types, file_kusinta_iot_device_v1_device_event, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_link_v1_link, file_kusinta_iot_space_v1_space, file_kusinta_iot_webrtc_v1_command, file_kusinta_iot_webrtc_v1_device_state, file_kusinta_iot_webrtc_v1_invite, file_kusinta_iot_webrtc_v1_management, file_kusinta_iot_webrtc_v1_members, file_kusinta_iot_webrtc_v1_permission_push]);
|
|
21
27
|
|
|
22
28
|
/**
|
|
23
29
|
* Describes the message kusinta.iot.webrtc.v1.Ping.
|
|
@@ -96,19 +102,75 @@ export const GatewayErrorSchema = /*@__PURE__*/
|
|
|
96
102
|
export const ManagementResultSchema = /*@__PURE__*/
|
|
97
103
|
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 10);
|
|
98
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message kusinta.iot.webrtc.v1.StartPairing.
|
|
107
|
+
* Use `create(StartPairingSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export const StartPairingSchema = /*@__PURE__*/
|
|
110
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 11);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message kusinta.iot.webrtc.v1.PairingStarted.
|
|
114
|
+
* Use `create(PairingStartedSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const PairingStartedSchema = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 12);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message kusinta.iot.webrtc.v1.PairingFinished.
|
|
121
|
+
* Use `create(PairingFinishedSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const PairingFinishedSchema = /*@__PURE__*/
|
|
124
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 13);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message kusinta.iot.webrtc.v1.LinkChanged.
|
|
128
|
+
* Use `create(LinkChangedSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export const LinkChangedSchema = /*@__PURE__*/
|
|
131
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 14);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message kusinta.iot.webrtc.v1.ConnectorDescriptor.
|
|
135
|
+
* Use `create(ConnectorDescriptorSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export const ConnectorDescriptorSchema = /*@__PURE__*/
|
|
138
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 15);
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Describes the message kusinta.iot.webrtc.v1.ConnectorsAnnounced.
|
|
142
|
+
* Use `create(ConnectorsAnnouncedSchema)` to create a new message.
|
|
143
|
+
*/
|
|
144
|
+
export const ConnectorsAnnouncedSchema = /*@__PURE__*/
|
|
145
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 16);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message kusinta.iot.webrtc.v1.RoomClimateChanged.
|
|
149
|
+
* Use `create(RoomClimateChangedSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export const RoomClimateChangedSchema = /*@__PURE__*/
|
|
152
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 17);
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message kusinta.iot.webrtc.v1.ClimateModeChanged.
|
|
156
|
+
* Use `create(ClimateModeChangedSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const ClimateModeChangedSchema = /*@__PURE__*/
|
|
159
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 18);
|
|
160
|
+
|
|
99
161
|
/**
|
|
100
162
|
* Describes the message kusinta.iot.webrtc.v1.GatewayMessage.
|
|
101
163
|
* Use `create(GatewayMessageSchema)` to create a new message.
|
|
102
164
|
*/
|
|
103
165
|
export const GatewayMessageSchema = /*@__PURE__*/
|
|
104
|
-
messageDesc(file_kusinta_iot_webrtc_v1_envelope,
|
|
166
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 19);
|
|
105
167
|
|
|
106
168
|
/**
|
|
107
169
|
* Describes the message kusinta.iot.webrtc.v1.AppMessage.
|
|
108
170
|
* Use `create(AppMessageSchema)` to create a new message.
|
|
109
171
|
*/
|
|
110
172
|
export const AppMessageSchema = /*@__PURE__*/
|
|
111
|
-
messageDesc(file_kusinta_iot_webrtc_v1_envelope,
|
|
173
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 20);
|
|
112
174
|
|
|
113
175
|
/**
|
|
114
176
|
* Describes the enum kusinta.iot.webrtc.v1.GatewayErrorCode.
|
|
@@ -0,0 +1,498 @@
|
|
|
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/invite.proto (package kusinta.iot.webrtc.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, 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 } from "../../access/v1/roles_pb.js";
|
|
9
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file kusinta/iot/webrtc/v1/invite.proto.
|
|
13
|
+
*/
|
|
14
|
+
export declare const file_kusinta_iot_webrtc_v1_invite: GenFile;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Creates an invite on a space.
|
|
18
|
+
*
|
|
19
|
+
* relation is RESIDENT or SERVICE and nothing else, and it decides the role the person
|
|
20
|
+
* will hold: a resident for RESIDENT, a technician for SERVICE. RESIDENT is refused
|
|
21
|
+
* anywhere but a home (access.v1.MembershipRelation). No invite ever makes anyone a
|
|
22
|
+
* gateway administrator or a property owner: those come only by promotion of someone
|
|
23
|
+
* already a member, and any other relation is refused as INVALID_REQUEST.
|
|
24
|
+
*
|
|
25
|
+
* Who may create one is the gateway's decision, as for AssignUserToSpace. The gateway may
|
|
26
|
+
* let a home's residents invite residents into their own home only, within a limit per
|
|
27
|
+
* home. A caller over that limit is refused as FAILED_PRECONDITION with metadata
|
|
28
|
+
* {"reason": "household_full"}.
|
|
29
|
+
*
|
|
30
|
+
* Whether a RESIDENT invite with no address is a home key or a household invite (see the
|
|
31
|
+
* file header) is decided by who creates it, never asked for: a home key when the caller
|
|
32
|
+
* holds ROLE_PROPERTY_OWNER or ROLE_GATEWAY_ADMIN, whether or not they live in the home; a
|
|
33
|
+
* household invite when the caller creates it as a resident of the home.
|
|
34
|
+
*
|
|
35
|
+
* A gateway holds at most 5000 invites whose secrets it reports
|
|
36
|
+
* (reporting.v1.ReportInviteRoutesRequest), used ones included until their secrets
|
|
37
|
+
* expire. Past that, CreateInvite MUST be refused as FAILED_PRECONDITION with metadata
|
|
38
|
+
* {"reason": "too_many_invites"}, so no invite exists that the api-server cannot route.
|
|
39
|
+
*
|
|
40
|
+
* Answered with IssuedInvite.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message kusinta.iot.webrtc.v1.CreateInvite
|
|
43
|
+
*/
|
|
44
|
+
export declare type CreateInvite = Message<"kusinta.iot.webrtc.v1.CreateInvite"> & {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
|
|
47
|
+
*/
|
|
48
|
+
spaceId?: SpaceId | undefined;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: kusinta.iot.access.v1.MembershipRelation relation = 2;
|
|
52
|
+
*/
|
|
53
|
+
relation: MembershipRelation;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* When set, the invite is bound to this address: only an account whose verified email
|
|
57
|
+
* is this address can redeem it (see RedeemInvite). Compared trimmed and
|
|
58
|
+
* case-insensitively over the whole address, with no other folding.
|
|
59
|
+
*
|
|
60
|
+
* One pending invite per space and address: a second for the same address on the same
|
|
61
|
+
* space is refused as FAILED_PRECONDITION with metadata {"reason": "already_invited",
|
|
62
|
+
* "invite_id": <the pending one>}, so the app can offer to resend that one instead. A
|
|
63
|
+
* household invite and one made by a property owner or an administrator are counted
|
|
64
|
+
* apart, so the refusal never names an invite the caller is not shown (ListSpaceInvites).
|
|
65
|
+
*
|
|
66
|
+
* The gateway keeps the address only while the invite is pending, and drops it once the
|
|
67
|
+
* invite is redeemed, revoked or expired.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string email = 3;
|
|
70
|
+
*/
|
|
71
|
+
email: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* When the technician's access ends, as SetAccessUntil describes it. SERVICE only: set
|
|
75
|
+
* on a RESIDENT invite it is INVALID_REQUEST, as is a time not after now. Unset for no
|
|
76
|
+
* end. Both secrets expire no later than it.
|
|
77
|
+
*
|
|
78
|
+
* It reaches only someone the redeem, or the approval of the join request it makes, makes
|
|
79
|
+
* a technician: a user who held no role but ROLE_RESIDENT before and is not the
|
|
80
|
+
* registering administrator. For anyone else it is ignored, so an invite can neither
|
|
81
|
+
* shorten nor lengthen a member's access, nor put an end on a property owner or an
|
|
82
|
+
* administrator. A join request the invite makes expires no later than it.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: google.protobuf.Timestamp access_until = 4;
|
|
85
|
+
*/
|
|
86
|
+
accessUntil?: Timestamp | undefined;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message kusinta.iot.webrtc.v1.CreateInvite.
|
|
91
|
+
* Use `create(CreateInviteSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const CreateInviteSchema: GenMessage<CreateInvite>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Gives a pending invite new secrets. The old token and code stop working at once, so
|
|
97
|
+
* only the newest link, code or email does. Both expiries restart from now. Answered
|
|
98
|
+
* with IssuedInvite. An invite's bound address cannot be changed: revoke it and create
|
|
99
|
+
* another.
|
|
100
|
+
*
|
|
101
|
+
* @generated from message kusinta.iot.webrtc.v1.ResendInvite
|
|
102
|
+
*/
|
|
103
|
+
export declare type ResendInvite = Message<"kusinta.iot.webrtc.v1.ResendInvite"> & {
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: string invite_id = 1;
|
|
106
|
+
*/
|
|
107
|
+
inviteId: string;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message kusinta.iot.webrtc.v1.ResendInvite.
|
|
112
|
+
* Use `create(ResendInviteSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const ResendInviteSchema: GenMessage<ResendInvite>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Ends a pending invite: neither secret works from now on. Answered with ManagementAck.
|
|
118
|
+
*
|
|
119
|
+
* @generated from message kusinta.iot.webrtc.v1.RevokeInvite
|
|
120
|
+
*/
|
|
121
|
+
export declare type RevokeInvite = Message<"kusinta.iot.webrtc.v1.RevokeInvite"> & {
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string invite_id = 1;
|
|
124
|
+
*/
|
|
125
|
+
inviteId: string;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message kusinta.iot.webrtc.v1.RevokeInvite.
|
|
130
|
+
* Use `create(RevokeInviteSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const RevokeInviteSchema: GenMessage<RevokeInvite>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Records that the email carrying this invite's newest secrets was sent, so the list can
|
|
136
|
+
* say whether it ever left. Sent by the app after the api-server has accepted the email,
|
|
137
|
+
* and again after each resend. Only the time is kept. Answered with ManagementAck.
|
|
138
|
+
*
|
|
139
|
+
* @generated from message kusinta.iot.webrtc.v1.MarkInviteEmailSent
|
|
140
|
+
*/
|
|
141
|
+
export declare type MarkInviteEmailSent = Message<"kusinta.iot.webrtc.v1.MarkInviteEmailSent"> & {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string invite_id = 1;
|
|
144
|
+
*/
|
|
145
|
+
inviteId: string;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message kusinta.iot.webrtc.v1.MarkInviteEmailSent.
|
|
150
|
+
* Use `create(MarkInviteEmailSentSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export declare const MarkInviteEmailSentSchema: GenMessage<MarkInviteEmailSent>;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The pending invites and join requests of a space. Answered with SpaceInvites. Listed
|
|
156
|
+
* only to a caller who may create invites on the space; anyone else is refused as
|
|
157
|
+
* NOT_ENTITLED. A resident is listed only the invites a resident of their home made,
|
|
158
|
+
* and the join requests those made: nothing they cannot act on.
|
|
159
|
+
*
|
|
160
|
+
* A household invite, and the join requests it made, are listed only to the residents of
|
|
161
|
+
* that home, a property owner or an administrator included only if they live there:
|
|
162
|
+
* otherwise Invite.created_by and JoinRequest.invited_by would say where its maker lives.
|
|
163
|
+
*
|
|
164
|
+
* @generated from message kusinta.iot.webrtc.v1.ListSpaceInvites
|
|
165
|
+
*/
|
|
166
|
+
export declare type ListSpaceInvites = Message<"kusinta.iot.webrtc.v1.ListSpaceInvites"> & {
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
|
|
169
|
+
*/
|
|
170
|
+
spaceId?: SpaceId | undefined;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message kusinta.iot.webrtc.v1.ListSpaceInvites.
|
|
175
|
+
* Use `create(ListSpaceInvitesSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const ListSpaceInvitesSchema: GenMessage<ListSpaceInvites>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Files the person who made a join request on its space, with its relation, and the role
|
|
181
|
+
* that relation gives. Answered with ManagementAck.
|
|
182
|
+
*
|
|
183
|
+
* Who may approve is the gateway's decision, by the kind of invite the request came from
|
|
184
|
+
* (see the file header): for a household invite, a resident of that home alone, and not a
|
|
185
|
+
* property owner or an administrator who does not live there; for a SERVICE invite with no
|
|
186
|
+
* address, whoever may put people on that space. Anyone else is refused as NOT_ENTITLED.
|
|
187
|
+
*
|
|
188
|
+
* @generated from message kusinta.iot.webrtc.v1.ApproveJoinRequest
|
|
189
|
+
*/
|
|
190
|
+
export declare type ApproveJoinRequest = Message<"kusinta.iot.webrtc.v1.ApproveJoinRequest"> & {
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: string request_id = 1;
|
|
193
|
+
*/
|
|
194
|
+
requestId: string;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message kusinta.iot.webrtc.v1.ApproveJoinRequest.
|
|
199
|
+
* Use `create(ApproveJoinRequestSchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const ApproveJoinRequestSchema: GenMessage<ApproveJoinRequest>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Drops a join request. The person is told nothing beyond never being let in. Answered
|
|
205
|
+
* with ManagementAck. Who may deny is who may approve (ApproveJoinRequest).
|
|
206
|
+
*
|
|
207
|
+
* @generated from message kusinta.iot.webrtc.v1.DenyJoinRequest
|
|
208
|
+
*/
|
|
209
|
+
export declare type DenyJoinRequest = Message<"kusinta.iot.webrtc.v1.DenyJoinRequest"> & {
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string request_id = 1;
|
|
212
|
+
*/
|
|
213
|
+
requestId: string;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Describes the message kusinta.iot.webrtc.v1.DenyJoinRequest.
|
|
218
|
+
* Use `create(DenyJoinRequestSchema)` to create a new message.
|
|
219
|
+
*/
|
|
220
|
+
export declare const DenyJoinRequestSchema: GenMessage<DenyJoinRequest>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* A pending invite, as listed. Never carries a secret: the gateway does not keep them.
|
|
224
|
+
*
|
|
225
|
+
* @generated from message kusinta.iot.webrtc.v1.Invite
|
|
226
|
+
*/
|
|
227
|
+
export declare type Invite = Message<"kusinta.iot.webrtc.v1.Invite"> & {
|
|
228
|
+
/**
|
|
229
|
+
* Minted by the gateway, opaque.
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: string invite_id = 1;
|
|
232
|
+
*/
|
|
233
|
+
inviteId: string;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 2;
|
|
237
|
+
*/
|
|
238
|
+
spaceId?: SpaceId | undefined;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: kusinta.iot.access.v1.MembershipRelation relation = 3;
|
|
242
|
+
*/
|
|
243
|
+
relation: MembershipRelation;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Who created it, and when. A resend changes neither.
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: kusinta.iot.identity.v1.UserId created_by = 4;
|
|
249
|
+
*/
|
|
250
|
+
createdBy?: UserId | undefined;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
254
|
+
*/
|
|
255
|
+
createdAt?: Timestamp | undefined;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Until when each secret can be redeemed. The app shows them in local time and never
|
|
259
|
+
* works them out itself. Once both have passed the invite is gone: it is not listed, and
|
|
260
|
+
* the gateway drops it with its address.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: google.protobuf.Timestamp token_expires_at = 6;
|
|
263
|
+
*/
|
|
264
|
+
tokenExpiresAt?: Timestamp | undefined;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: google.protobuf.Timestamp code_expires_at = 7;
|
|
268
|
+
*/
|
|
269
|
+
codeExpiresAt?: Timestamp | undefined;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* The address it is bound to; empty when it is bound to none.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: string email = 8;
|
|
275
|
+
*/
|
|
276
|
+
email: string;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* When the email with the newest secrets was sent (MarkInviteEmailSent). Unset when no
|
|
280
|
+
* email was sent since the last resend.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: google.protobuf.Timestamp email_sent_at = 9;
|
|
283
|
+
*/
|
|
284
|
+
emailSentAt?: Timestamp | undefined;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* As CreateInvite.access_until.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: google.protobuf.Timestamp access_until = 10;
|
|
290
|
+
*/
|
|
291
|
+
accessUntil?: Timestamp | undefined;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* What redeeming it does, as the gateway decided when it was created. The gateway MUST
|
|
295
|
+
* set it on every invite it lists or issues.
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: kusinta.iot.webrtc.v1.InviteAdmission admission = 11;
|
|
298
|
+
*/
|
|
299
|
+
admission: InviteAdmission;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Describes the message kusinta.iot.webrtc.v1.Invite.
|
|
304
|
+
* Use `create(InviteSchema)` to create a new message.
|
|
305
|
+
*/
|
|
306
|
+
export declare const InviteSchema: GenMessage<Invite>;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* A new invite or a resent one, with its secrets. This is the only time they are told:
|
|
310
|
+
* the gateway keeps only their hashes, and the app does not keep them beyond handing them
|
|
311
|
+
* over.
|
|
312
|
+
*
|
|
313
|
+
* @generated from message kusinta.iot.webrtc.v1.IssuedInvite
|
|
314
|
+
*/
|
|
315
|
+
export declare type IssuedInvite = Message<"kusinta.iot.webrtc.v1.IssuedInvite"> & {
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: kusinta.iot.webrtc.v1.Invite invite = 1;
|
|
318
|
+
*/
|
|
319
|
+
invite?: Invite | undefined;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* @generated from field: string token = 2;
|
|
323
|
+
*/
|
|
324
|
+
token: string;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @generated from field: string code = 3;
|
|
328
|
+
*/
|
|
329
|
+
code: string;
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Describes the message kusinta.iot.webrtc.v1.IssuedInvite.
|
|
334
|
+
* Use `create(IssuedInviteSchema)` to create a new message.
|
|
335
|
+
*/
|
|
336
|
+
export declare const IssuedInviteSchema: GenMessage<IssuedInvite>;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* A person who redeemed an invite that needs approval, waiting for it.
|
|
340
|
+
*
|
|
341
|
+
* @generated from message kusinta.iot.webrtc.v1.JoinRequest
|
|
342
|
+
*/
|
|
343
|
+
export declare type JoinRequest = Message<"kusinta.iot.webrtc.v1.JoinRequest"> & {
|
|
344
|
+
/**
|
|
345
|
+
* Minted by the gateway, opaque.
|
|
346
|
+
*
|
|
347
|
+
* @generated from field: string request_id = 1;
|
|
348
|
+
*/
|
|
349
|
+
requestId: string;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 2;
|
|
353
|
+
*/
|
|
354
|
+
spaceId?: SpaceId | undefined;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @generated from field: kusinta.iot.access.v1.MembershipRelation relation = 3;
|
|
358
|
+
*/
|
|
359
|
+
relation: MembershipRelation;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Who is asking to join, and the display name their account gave when they redeemed.
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: kusinta.iot.identity.v1.UserId user_id = 4;
|
|
365
|
+
*/
|
|
366
|
+
userId?: UserId | undefined;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: string display_name = 5;
|
|
370
|
+
*/
|
|
371
|
+
displayName: string;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Who created the invite that was redeemed.
|
|
375
|
+
*
|
|
376
|
+
* @generated from field: kusinta.iot.identity.v1.UserId invited_by = 6;
|
|
377
|
+
*/
|
|
378
|
+
invitedBy?: UserId | undefined;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: google.protobuf.Timestamp requested_at = 7;
|
|
382
|
+
*/
|
|
383
|
+
requestedAt?: Timestamp | undefined;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* When the request lapses unanswered, and the gateway drops it as if denied.
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
389
|
+
*/
|
|
390
|
+
expiresAt?: Timestamp | undefined;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* The verified email address of the account asking (signaling.v1.RedeemInvite), shown to
|
|
394
|
+
* whoever may approve the request (ApproveJoinRequest): the household for a household
|
|
395
|
+
* invite, and otherwise those who may put people on the space. A display name is
|
|
396
|
+
* whatever the person chose; this is what lets an approver tell who is really asking. The
|
|
397
|
+
* app tells a person redeeming that their address will be shown so. Kept only while the
|
|
398
|
+
* request is pending.
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: string email = 9;
|
|
401
|
+
*/
|
|
402
|
+
email: string;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* The end of access the request asks for: CreateInvite.access_until of the invite that
|
|
406
|
+
* was redeemed, which the approval gives as that field says. Unset for none. The request
|
|
407
|
+
* expires no later than it, so it is never approved once the end has passed.
|
|
408
|
+
*
|
|
409
|
+
* @generated from field: google.protobuf.Timestamp access_until = 10;
|
|
410
|
+
*/
|
|
411
|
+
accessUntil?: Timestamp | undefined;
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Describes the message kusinta.iot.webrtc.v1.JoinRequest.
|
|
416
|
+
* Use `create(JoinRequestSchema)` to create a new message.
|
|
417
|
+
*/
|
|
418
|
+
export declare const JoinRequestSchema: GenMessage<JoinRequest>;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* What a space is waiting on: its pending invites and its join requests.
|
|
422
|
+
*
|
|
423
|
+
* The answer to ListSpaceInvites, and pushed as GatewayMessage.space_invites whenever
|
|
424
|
+
* either list changes — a create, resend, revoke, redeem, approval, denial or expiry — to
|
|
425
|
+
* every session that may list it, so the app shows the change without reloading. A push
|
|
426
|
+
* always carries the whole of both lists for its space, as ListSpaceInvites would list
|
|
427
|
+
* them to that session: a household invite and its join requests reach only the sessions
|
|
428
|
+
* of that home's residents.
|
|
429
|
+
*
|
|
430
|
+
* @generated from message kusinta.iot.webrtc.v1.SpaceInvites
|
|
431
|
+
*/
|
|
432
|
+
export declare type SpaceInvites = Message<"kusinta.iot.webrtc.v1.SpaceInvites"> & {
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId space_id = 1;
|
|
435
|
+
*/
|
|
436
|
+
spaceId?: SpaceId | undefined;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: repeated kusinta.iot.webrtc.v1.Invite invites = 2;
|
|
440
|
+
*/
|
|
441
|
+
invites: Invite[];
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from field: repeated kusinta.iot.webrtc.v1.JoinRequest join_requests = 3;
|
|
445
|
+
*/
|
|
446
|
+
joinRequests: JoinRequest[];
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Describes the message kusinta.iot.webrtc.v1.SpaceInvites.
|
|
451
|
+
* Use `create(SpaceInvitesSchema)` to create a new message.
|
|
452
|
+
*/
|
|
453
|
+
export declare const SpaceInvitesSchema: GenMessage<SpaceInvites>;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* What redeeming an invite does, by its kind (see the file header). Decided by the gateway
|
|
457
|
+
* when the invite is created and told in Invite.admission, so the app can say what
|
|
458
|
+
* redeeming will do before the invite is shared.
|
|
459
|
+
*
|
|
460
|
+
* @generated from enum kusinta.iot.webrtc.v1.InviteAdmission
|
|
461
|
+
*/
|
|
462
|
+
export enum InviteAdmission {
|
|
463
|
+
/**
|
|
464
|
+
* Not told. The app reads it as not known, never as any value below.
|
|
465
|
+
*
|
|
466
|
+
* @generated from enum value: INVITE_ADMISSION_UNSPECIFIED = 0;
|
|
467
|
+
*/
|
|
468
|
+
UNSPECIFIED = 0,
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Bound to an address: files the person at once if the verified address of their account
|
|
472
|
+
* matches (CreateInvite.email).
|
|
473
|
+
*
|
|
474
|
+
* @generated from enum value: INVITE_ADMISSION_ON_EMAIL_MATCH = 1;
|
|
475
|
+
*/
|
|
476
|
+
ON_EMAIL_MATCH = 1,
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* A home key: files whoever redeems it on the home at once, with no join request.
|
|
480
|
+
*
|
|
481
|
+
* @generated from enum value: INVITE_ADMISSION_ON_REDEEM = 2;
|
|
482
|
+
*/
|
|
483
|
+
ON_REDEEM = 2,
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Makes a join request, and the person is filed only once it is approved
|
|
487
|
+
* (ApproveJoinRequest).
|
|
488
|
+
*
|
|
489
|
+
* @generated from enum value: INVITE_ADMISSION_ON_APPROVAL = 3;
|
|
490
|
+
*/
|
|
491
|
+
ON_APPROVAL = 3,
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Describes the enum kusinta.iot.webrtc.v1.InviteAdmission.
|
|
496
|
+
*/
|
|
497
|
+
export declare const InviteAdmissionSchema: GenEnum<InviteAdmission>;
|
|
498
|
+
|