@hearth-auth/sdk 0.0.1 → 1.0.1
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/dist/admin.d.ts +43 -0
- package/dist/admin.js +126 -0
- package/dist/admin.js.map +1 -0
- package/dist/browser-auth.d.ts +32 -0
- package/dist/browser-auth.js +99 -0
- package/dist/browser-auth.js.map +1 -0
- package/dist/claims.d.ts +86 -0
- package/dist/claims.js +137 -0
- package/dist/claims.js.map +1 -0
- package/dist/client.d.ts +77 -0
- package/dist/client.js +190 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +114 -0
- package/{src/errors.ts → dist/errors.js} +83 -97
- package/dist/errors.js.map +1 -0
- package/dist/hearth-client.d.ts +133 -0
- package/dist/hearth-client.js +192 -0
- package/dist/hearth-client.js.map +1 -0
- package/dist/hearth.d.ts +105 -0
- package/dist/hearth.js +109 -0
- package/dist/hearth.js.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -0
- package/dist/introspection-client.d.ts +59 -0
- package/dist/introspection-client.js +36 -0
- package/dist/introspection-client.js.map +1 -0
- package/dist/jwks-client.d.ts +28 -0
- package/dist/jwks-client.js +28 -0
- package/dist/jwks-client.js.map +1 -0
- package/dist/middleware.d.ts +38 -0
- package/dist/middleware.js +51 -0
- package/dist/middleware.js.map +1 -0
- package/dist/pkce.d.ts +64 -0
- package/dist/pkce.js +64 -0
- package/dist/pkce.js.map +1 -0
- package/dist/react.d.ts +32 -0
- package/dist/react.js +41 -0
- package/dist/react.js.map +1 -0
- package/dist/session-version-cache.d.ts +50 -0
- package/dist/session-version-cache.js +129 -0
- package/dist/session-version-cache.js.map +1 -0
- package/dist/types.d.ts +168 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +13 -4
- package/CHANGELOG.md +0 -12
- package/src/admin.ts +0 -157
- package/src/browser-auth.ts +0 -130
- package/src/claims.ts +0 -180
- package/src/client.ts +0 -251
- package/src/generated/google/api/annotations_pb.ts +0 -44
- package/src/generated/google/api/http_pb.ts +0 -467
- package/src/generated/hearth/authz/v1/authz_pb.ts +0 -593
- package/src/generated/hearth/cluster/v1/raft_pb.ts +0 -183
- package/src/generated/hearth/events/v1/audit_pb.ts +0 -886
- package/src/generated/hearth/identity/v1/identity_pb.ts +0 -1673
- package/src/generated/hearth/identity/v1/oauth_pb.ts +0 -1138
- package/src/generated/hearth/rbac/v1/rbac_pb.ts +0 -2000
- package/src/hearth-client.ts +0 -288
- package/src/hearth.ts +0 -224
- package/src/index.ts +0 -106
- package/src/introspection-client.ts +0 -83
- package/src/jwks-client.ts +0 -45
- package/src/middleware.ts +0 -82
- package/src/pkce.ts +0 -129
- package/src/react.tsx +0 -57
- package/src/session-version-cache.ts +0 -167
- package/src/types.ts +0 -188
- package/tests/admin-crud.test.ts +0 -97
- package/tests/auth-flow.test.ts +0 -75
- package/tests/authorize.test.ts +0 -386
- package/tests/claims.test.ts +0 -159
- package/tests/hasPermission.test.ts +0 -152
- package/tests/hearth-client.test.ts +0 -243
- package/tests/helpers.ts +0 -90
- package/tests/jwks.test.ts +0 -62
- package/tests/pkce.test.ts +0 -210
- package/tests/react-useHasPermission.test.tsx +0 -92
- package/tests/required-action.test.ts +0 -276
- package/tests/session-version.test.ts +0 -391
- package/tsconfig.json +0 -16
- package/vitest.config.ts +0 -8
|
@@ -1,2000 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file hearth/rbac/v1/rbac.proto (package hearth.rbac.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
-
import { file_google_api_annotations } from "../../../google/api/annotations_pb";
|
|
8
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Describes the file hearth/rbac/v1/rbac.proto.
|
|
12
|
-
*/
|
|
13
|
-
export const file_hearth_rbac_v1_rbac: GenFile = /*@__PURE__*/
|
|
14
|
-
fileDesc("ChloZWFydGgvcmJhYy92MS9yYmFjLnByb3RvEg5oZWFydGgucmJhYy52MSJMChRSZXZva2VDb25zZW50UmVxdWVzdBIQCghyZWFsbV9pZBgBIAEoCRIPCgd1c2VyX2lkGAIgASgJEhEKCWNsaWVudF9pZBgDIAEoCSIXChVSZXZva2VDb25zZW50UmVzcG9uc2UiPAoXTGlzdFVzZXJDb25zZW50c1JlcXVlc3QSEAoIcmVhbG1faWQYASABKAkSDwoHdXNlcl9pZBgCIAEoCSJ2CgxDb25zZW50RW50cnkSEQoJY2xpZW50X2lkGAEgASgJEhMKC2NsaWVudF9uYW1lGAIgASgJEhYKDmdyYW50ZWRfc2NvcGVzGAMgAygJEhIKCmdyYW50ZWRfYXQYBCABKAMSEgoKdXBkYXRlZF9hdBgFIAEoAyJKChhMaXN0VXNlckNvbnNlbnRzUmVzcG9uc2USLgoIY29uc2VudHMYASADKAsyHC5oZWFydGgucmJhYy52MS5Db25zZW50RW50cnkiqwEKBFJvbGUSCgoCaWQYASABKAkSEAoIcmVhbG1faWQYAiABKAkSDAoEbmFtZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRITCgtwZXJtaXNzaW9ucxgFIAMoCRIXCg9wYXJlbnRfcm9sZV9pZHMYBiADKAkSGQoRY3JlYXRlZF9hdF9taWNyb3MYByABKAMSGQoRdXBkYXRlZF9hdF9taWNyb3MYCCABKAMijAEKBUdyb3VwEgoKAmlkGAEgASgJEhAKCHJlYWxtX2lkGAIgASgJEgwKBG5hbWUYAyABKAkSDAoEc2x1ZxgEIAEoCRITCgtkZXNjcmlwdGlvbhgFIAEoCRIZChFjcmVhdGVkX2F0X21pY3JvcxgGIAEo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lYWxtUGVybWlzc2lvbnNSZXNwb25zZRJfCg5MaXN0UmVhbG1Sb2xlcxIlLmhlYXJ0aC5yYmFjLnYxLkxpc3RSZWFsbVJvbGVzUmVxdWVzdBomLmhlYXJ0aC5yYmFjLnYxLkxpc3RSZWFsbVJvbGVzUmVzcG9uc2USkQEKDVJldm9rZUNvbnNlbnQSJC5oZWFydGgucmJhYy52MS5SZXZva2VDb25zZW50UmVxdWVzdBolLmhlYXJ0aC5yYmFjLnYxLlJldm9rZUNvbnNlbnRSZXNwb25zZSIzgtPkkwItKisvYWRtaW4vdXNlcnMve3VzZXJfaWR9L2NvbnNlbnRzL3tjbGllbnRfaWR9Eo4BChBMaXN0VXNlckNvbnNlbnRzEicuaGVhcnRoLnJiYWMudjEuTGlzdFVzZXJDb25zZW50c1JlcXVlc3QaKC5oZWFydGgucmJhYy52MS5MaXN0VXNlckNvbnNlbnRzUmVzcG9uc2UiJ4LT5JMCIRIfL2FkbWluL3VzZXJzL3t1c2VyX2lkfS9jb25zZW50c0I9WjtnaXRodWIuY29tL2hlYXJ0aGRiL2hlYXJ0aC9zZGtzL2dvL2dlbmVyYXRlZC9yYmFjL3YxO3JiYWN2MWIGcHJvdG8z", [file_google_api_annotations]);
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @generated from message hearth.rbac.v1.RevokeConsentRequest
|
|
18
|
-
*/
|
|
19
|
-
export type RevokeConsentRequest = Message<"hearth.rbac.v1.RevokeConsentRequest"> & {
|
|
20
|
-
/**
|
|
21
|
-
* @generated from field: string realm_id = 1;
|
|
22
|
-
*/
|
|
23
|
-
realmId: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @generated from field: string user_id = 2;
|
|
27
|
-
*/
|
|
28
|
-
userId: string;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @generated from field: string client_id = 3;
|
|
32
|
-
*/
|
|
33
|
-
clientId: string;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Describes the message hearth.rbac.v1.RevokeConsentRequest.
|
|
38
|
-
* Use `create(RevokeConsentRequestSchema)` to create a new message.
|
|
39
|
-
*/
|
|
40
|
-
export const RevokeConsentRequestSchema: GenMessage<RevokeConsentRequest> = /*@__PURE__*/
|
|
41
|
-
messageDesc(file_hearth_rbac_v1_rbac, 0);
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @generated from message hearth.rbac.v1.RevokeConsentResponse
|
|
45
|
-
*/
|
|
46
|
-
export type RevokeConsentResponse = Message<"hearth.rbac.v1.RevokeConsentResponse"> & {
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Describes the message hearth.rbac.v1.RevokeConsentResponse.
|
|
51
|
-
* Use `create(RevokeConsentResponseSchema)` to create a new message.
|
|
52
|
-
*/
|
|
53
|
-
export const RevokeConsentResponseSchema: GenMessage<RevokeConsentResponse> = /*@__PURE__*/
|
|
54
|
-
messageDesc(file_hearth_rbac_v1_rbac, 1);
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @generated from message hearth.rbac.v1.ListUserConsentsRequest
|
|
58
|
-
*/
|
|
59
|
-
export type ListUserConsentsRequest = Message<"hearth.rbac.v1.ListUserConsentsRequest"> & {
|
|
60
|
-
/**
|
|
61
|
-
* @generated from field: string realm_id = 1;
|
|
62
|
-
*/
|
|
63
|
-
realmId: string;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @generated from field: string user_id = 2;
|
|
67
|
-
*/
|
|
68
|
-
userId: string;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Describes the message hearth.rbac.v1.ListUserConsentsRequest.
|
|
73
|
-
* Use `create(ListUserConsentsRequestSchema)` to create a new message.
|
|
74
|
-
*/
|
|
75
|
-
export const ListUserConsentsRequestSchema: GenMessage<ListUserConsentsRequest> = /*@__PURE__*/
|
|
76
|
-
messageDesc(file_hearth_rbac_v1_rbac, 2);
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @generated from message hearth.rbac.v1.ConsentEntry
|
|
80
|
-
*/
|
|
81
|
-
export type ConsentEntry = Message<"hearth.rbac.v1.ConsentEntry"> & {
|
|
82
|
-
/**
|
|
83
|
-
* @generated from field: string client_id = 1;
|
|
84
|
-
*/
|
|
85
|
-
clientId: string;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @generated from field: string client_name = 2;
|
|
89
|
-
*/
|
|
90
|
-
clientName: string;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @generated from field: repeated string granted_scopes = 3;
|
|
94
|
-
*/
|
|
95
|
-
grantedScopes: string[];
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @generated from field: int64 granted_at = 4;
|
|
99
|
-
*/
|
|
100
|
-
grantedAt: bigint;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @generated from field: int64 updated_at = 5;
|
|
104
|
-
*/
|
|
105
|
-
updatedAt: bigint;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Describes the message hearth.rbac.v1.ConsentEntry.
|
|
110
|
-
* Use `create(ConsentEntrySchema)` to create a new message.
|
|
111
|
-
*/
|
|
112
|
-
export const ConsentEntrySchema: GenMessage<ConsentEntry> = /*@__PURE__*/
|
|
113
|
-
messageDesc(file_hearth_rbac_v1_rbac, 3);
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @generated from message hearth.rbac.v1.ListUserConsentsResponse
|
|
117
|
-
*/
|
|
118
|
-
export type ListUserConsentsResponse = Message<"hearth.rbac.v1.ListUserConsentsResponse"> & {
|
|
119
|
-
/**
|
|
120
|
-
* @generated from field: repeated hearth.rbac.v1.ConsentEntry consents = 1;
|
|
121
|
-
*/
|
|
122
|
-
consents: ConsentEntry[];
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Describes the message hearth.rbac.v1.ListUserConsentsResponse.
|
|
127
|
-
* Use `create(ListUserConsentsResponseSchema)` to create a new message.
|
|
128
|
-
*/
|
|
129
|
-
export const ListUserConsentsResponseSchema: GenMessage<ListUserConsentsResponse> = /*@__PURE__*/
|
|
130
|
-
messageDesc(file_hearth_rbac_v1_rbac, 4);
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @generated from message hearth.rbac.v1.Role
|
|
134
|
-
*/
|
|
135
|
-
export type Role = Message<"hearth.rbac.v1.Role"> & {
|
|
136
|
-
/**
|
|
137
|
-
* @generated from field: string id = 1;
|
|
138
|
-
*/
|
|
139
|
-
id: string;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @generated from field: string realm_id = 2;
|
|
143
|
-
*/
|
|
144
|
-
realmId: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @generated from field: string name = 3;
|
|
148
|
-
*/
|
|
149
|
-
name: string;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @generated from field: string description = 4;
|
|
153
|
-
*/
|
|
154
|
-
description: string;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* @generated from field: repeated string permissions = 5;
|
|
158
|
-
*/
|
|
159
|
-
permissions: string[];
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @generated from field: repeated string parent_role_ids = 6;
|
|
163
|
-
*/
|
|
164
|
-
parentRoleIds: string[];
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @generated from field: int64 created_at_micros = 7;
|
|
168
|
-
*/
|
|
169
|
-
createdAtMicros: bigint;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @generated from field: int64 updated_at_micros = 8;
|
|
173
|
-
*/
|
|
174
|
-
updatedAtMicros: bigint;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Describes the message hearth.rbac.v1.Role.
|
|
179
|
-
* Use `create(RoleSchema)` to create a new message.
|
|
180
|
-
*/
|
|
181
|
-
export const RoleSchema: GenMessage<Role> = /*@__PURE__*/
|
|
182
|
-
messageDesc(file_hearth_rbac_v1_rbac, 5);
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @generated from message hearth.rbac.v1.Group
|
|
186
|
-
*/
|
|
187
|
-
export type Group = Message<"hearth.rbac.v1.Group"> & {
|
|
188
|
-
/**
|
|
189
|
-
* @generated from field: string id = 1;
|
|
190
|
-
*/
|
|
191
|
-
id: string;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* @generated from field: string realm_id = 2;
|
|
195
|
-
*/
|
|
196
|
-
realmId: string;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @generated from field: string name = 3;
|
|
200
|
-
*/
|
|
201
|
-
name: string;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* @generated from field: string slug = 4;
|
|
205
|
-
*/
|
|
206
|
-
slug: string;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* @generated from field: string description = 5;
|
|
210
|
-
*/
|
|
211
|
-
description: string;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @generated from field: int64 created_at_micros = 6;
|
|
215
|
-
*/
|
|
216
|
-
createdAtMicros: bigint;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @generated from field: int64 updated_at_micros = 7;
|
|
220
|
-
*/
|
|
221
|
-
updatedAtMicros: bigint;
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Describes the message hearth.rbac.v1.Group.
|
|
226
|
-
* Use `create(GroupSchema)` to create a new message.
|
|
227
|
-
*/
|
|
228
|
-
export const GroupSchema: GenMessage<Group> = /*@__PURE__*/
|
|
229
|
-
messageDesc(file_hearth_rbac_v1_rbac, 6);
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @generated from message hearth.rbac.v1.GroupMember
|
|
233
|
-
*/
|
|
234
|
-
export type GroupMember = Message<"hearth.rbac.v1.GroupMember"> & {
|
|
235
|
-
/**
|
|
236
|
-
* @generated from field: hearth.rbac.v1.GroupMember.Type type = 1;
|
|
237
|
-
*/
|
|
238
|
-
type: GroupMember_Type;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* @generated from field: string id = 2;
|
|
242
|
-
*/
|
|
243
|
-
id: string;
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Describes the message hearth.rbac.v1.GroupMember.
|
|
248
|
-
* Use `create(GroupMemberSchema)` to create a new message.
|
|
249
|
-
*/
|
|
250
|
-
export const GroupMemberSchema: GenMessage<GroupMember> = /*@__PURE__*/
|
|
251
|
-
messageDesc(file_hearth_rbac_v1_rbac, 7);
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @generated from enum hearth.rbac.v1.GroupMember.Type
|
|
255
|
-
*/
|
|
256
|
-
export enum GroupMember_Type {
|
|
257
|
-
/**
|
|
258
|
-
* @generated from enum value: TYPE_UNSPECIFIED = 0;
|
|
259
|
-
*/
|
|
260
|
-
UNSPECIFIED = 0,
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* @generated from enum value: TYPE_USER = 1;
|
|
264
|
-
*/
|
|
265
|
-
USER = 1,
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* @generated from enum value: TYPE_GROUP = 2;
|
|
269
|
-
*/
|
|
270
|
-
GROUP = 2,
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* Describes the enum hearth.rbac.v1.GroupMember.Type.
|
|
275
|
-
*/
|
|
276
|
-
export const GroupMember_TypeSchema: GenEnum<GroupMember_Type> = /*@__PURE__*/
|
|
277
|
-
enumDesc(file_hearth_rbac_v1_rbac, 7, 0);
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* @generated from message hearth.rbac.v1.GroupMembership
|
|
281
|
-
*/
|
|
282
|
-
export type GroupMembership = Message<"hearth.rbac.v1.GroupMembership"> & {
|
|
283
|
-
/**
|
|
284
|
-
* @generated from field: string group_id = 1;
|
|
285
|
-
*/
|
|
286
|
-
groupId: string;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @generated from field: hearth.rbac.v1.GroupMember member = 2;
|
|
290
|
-
*/
|
|
291
|
-
member?: GroupMember | undefined;
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* @generated from field: int64 added_at_micros = 3;
|
|
295
|
-
*/
|
|
296
|
-
addedAtMicros: bigint;
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* @generated from field: string added_by_user_id = 4;
|
|
300
|
-
*/
|
|
301
|
-
addedByUserId: string;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Describes the message hearth.rbac.v1.GroupMembership.
|
|
306
|
-
* Use `create(GroupMembershipSchema)` to create a new message.
|
|
307
|
-
*/
|
|
308
|
-
export const GroupMembershipSchema: GenMessage<GroupMembership> = /*@__PURE__*/
|
|
309
|
-
messageDesc(file_hearth_rbac_v1_rbac, 8);
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* @generated from message hearth.rbac.v1.Scope
|
|
313
|
-
*/
|
|
314
|
-
export type Scope = Message<"hearth.rbac.v1.Scope"> & {
|
|
315
|
-
/**
|
|
316
|
-
* @generated from oneof hearth.rbac.v1.Scope.kind
|
|
317
|
-
*/
|
|
318
|
-
kind: {
|
|
319
|
-
/**
|
|
320
|
-
* @generated from field: hearth.rbac.v1.RealmScope realm = 1;
|
|
321
|
-
*/
|
|
322
|
-
value: RealmScope;
|
|
323
|
-
case: "realm";
|
|
324
|
-
} | {
|
|
325
|
-
/**
|
|
326
|
-
* @generated from field: hearth.rbac.v1.OrgScope org = 2;
|
|
327
|
-
*/
|
|
328
|
-
value: OrgScope;
|
|
329
|
-
case: "org";
|
|
330
|
-
} | { case: undefined; value?: undefined };
|
|
331
|
-
};
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Describes the message hearth.rbac.v1.Scope.
|
|
335
|
-
* Use `create(ScopeSchema)` to create a new message.
|
|
336
|
-
*/
|
|
337
|
-
export const ScopeSchema: GenMessage<Scope> = /*@__PURE__*/
|
|
338
|
-
messageDesc(file_hearth_rbac_v1_rbac, 9);
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* @generated from message hearth.rbac.v1.RealmScope
|
|
342
|
-
*/
|
|
343
|
-
export type RealmScope = Message<"hearth.rbac.v1.RealmScope"> & {
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Describes the message hearth.rbac.v1.RealmScope.
|
|
348
|
-
* Use `create(RealmScopeSchema)` to create a new message.
|
|
349
|
-
*/
|
|
350
|
-
export const RealmScopeSchema: GenMessage<RealmScope> = /*@__PURE__*/
|
|
351
|
-
messageDesc(file_hearth_rbac_v1_rbac, 10);
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* @generated from message hearth.rbac.v1.OrgScope
|
|
355
|
-
*/
|
|
356
|
-
export type OrgScope = Message<"hearth.rbac.v1.OrgScope"> & {
|
|
357
|
-
/**
|
|
358
|
-
* @generated from field: string org_id = 1;
|
|
359
|
-
*/
|
|
360
|
-
orgId: string;
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Describes the message hearth.rbac.v1.OrgScope.
|
|
365
|
-
* Use `create(OrgScopeSchema)` to create a new message.
|
|
366
|
-
*/
|
|
367
|
-
export const OrgScopeSchema: GenMessage<OrgScope> = /*@__PURE__*/
|
|
368
|
-
messageDesc(file_hearth_rbac_v1_rbac, 11);
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* @generated from message hearth.rbac.v1.RoleAssignment
|
|
372
|
-
*/
|
|
373
|
-
export type RoleAssignment = Message<"hearth.rbac.v1.RoleAssignment"> & {
|
|
374
|
-
/**
|
|
375
|
-
* @generated from field: string id = 1;
|
|
376
|
-
*/
|
|
377
|
-
id: string;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* @generated from field: string realm_id = 2;
|
|
381
|
-
*/
|
|
382
|
-
realmId: string;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* @generated from field: string subject_id = 3;
|
|
386
|
-
*/
|
|
387
|
-
subjectId: string;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* @generated from field: hearth.rbac.v1.GroupMember.Type subject_type = 4;
|
|
391
|
-
*/
|
|
392
|
-
subjectType: GroupMember_Type;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* @generated from field: string role_id = 5;
|
|
396
|
-
*/
|
|
397
|
-
roleId: string;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* @generated from field: hearth.rbac.v1.Scope scope = 6;
|
|
401
|
-
*/
|
|
402
|
-
scope?: Scope | undefined;
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* @generated from field: int64 assigned_at_micros = 7;
|
|
406
|
-
*/
|
|
407
|
-
assignedAtMicros: bigint;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @generated from field: string assigned_by_user_id = 8;
|
|
411
|
-
*/
|
|
412
|
-
assignedByUserId: string;
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Describes the message hearth.rbac.v1.RoleAssignment.
|
|
417
|
-
* Use `create(RoleAssignmentSchema)` to create a new message.
|
|
418
|
-
*/
|
|
419
|
-
export const RoleAssignmentSchema: GenMessage<RoleAssignment> = /*@__PURE__*/
|
|
420
|
-
messageDesc(file_hearth_rbac_v1_rbac, 12);
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* @generated from message hearth.rbac.v1.ListRolesRequest
|
|
424
|
-
*/
|
|
425
|
-
export type ListRolesRequest = Message<"hearth.rbac.v1.ListRolesRequest"> & {
|
|
426
|
-
/**
|
|
427
|
-
* @generated from field: string realm_id = 1;
|
|
428
|
-
*/
|
|
429
|
-
realmId: string;
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* @generated from field: string cursor = 2;
|
|
433
|
-
*/
|
|
434
|
-
cursor: string;
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* @generated from field: uint32 limit = 3;
|
|
438
|
-
*/
|
|
439
|
-
limit: number;
|
|
440
|
-
};
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* Describes the message hearth.rbac.v1.ListRolesRequest.
|
|
444
|
-
* Use `create(ListRolesRequestSchema)` to create a new message.
|
|
445
|
-
*/
|
|
446
|
-
export const ListRolesRequestSchema: GenMessage<ListRolesRequest> = /*@__PURE__*/
|
|
447
|
-
messageDesc(file_hearth_rbac_v1_rbac, 13);
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* @generated from message hearth.rbac.v1.ListRolesResponse
|
|
451
|
-
*/
|
|
452
|
-
export type ListRolesResponse = Message<"hearth.rbac.v1.ListRolesResponse"> & {
|
|
453
|
-
/**
|
|
454
|
-
* @generated from field: repeated hearth.rbac.v1.Role roles = 1;
|
|
455
|
-
*/
|
|
456
|
-
roles: Role[];
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* @generated from field: string next_cursor = 2;
|
|
460
|
-
*/
|
|
461
|
-
nextCursor: string;
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* Describes the message hearth.rbac.v1.ListRolesResponse.
|
|
466
|
-
* Use `create(ListRolesResponseSchema)` to create a new message.
|
|
467
|
-
*/
|
|
468
|
-
export const ListRolesResponseSchema: GenMessage<ListRolesResponse> = /*@__PURE__*/
|
|
469
|
-
messageDesc(file_hearth_rbac_v1_rbac, 14);
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
* @generated from message hearth.rbac.v1.CreateRoleRequest
|
|
473
|
-
*/
|
|
474
|
-
export type CreateRoleRequest = Message<"hearth.rbac.v1.CreateRoleRequest"> & {
|
|
475
|
-
/**
|
|
476
|
-
* @generated from field: string realm_id = 1;
|
|
477
|
-
*/
|
|
478
|
-
realmId: string;
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* @generated from field: string name = 2;
|
|
482
|
-
*/
|
|
483
|
-
name: string;
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* @generated from field: string description = 3;
|
|
487
|
-
*/
|
|
488
|
-
description: string;
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* @generated from field: repeated string permissions = 4;
|
|
492
|
-
*/
|
|
493
|
-
permissions: string[];
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* @generated from field: repeated string parent_role_ids = 5;
|
|
497
|
-
*/
|
|
498
|
-
parentRoleIds: string[];
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Describes the message hearth.rbac.v1.CreateRoleRequest.
|
|
503
|
-
* Use `create(CreateRoleRequestSchema)` to create a new message.
|
|
504
|
-
*/
|
|
505
|
-
export const CreateRoleRequestSchema: GenMessage<CreateRoleRequest> = /*@__PURE__*/
|
|
506
|
-
messageDesc(file_hearth_rbac_v1_rbac, 15);
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* @generated from message hearth.rbac.v1.GetRoleRequest
|
|
510
|
-
*/
|
|
511
|
-
export type GetRoleRequest = Message<"hearth.rbac.v1.GetRoleRequest"> & {
|
|
512
|
-
/**
|
|
513
|
-
* @generated from field: string realm_id = 1;
|
|
514
|
-
*/
|
|
515
|
-
realmId: string;
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* @generated from field: string role_id = 2;
|
|
519
|
-
*/
|
|
520
|
-
roleId: string;
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* Describes the message hearth.rbac.v1.GetRoleRequest.
|
|
525
|
-
* Use `create(GetRoleRequestSchema)` to create a new message.
|
|
526
|
-
*/
|
|
527
|
-
export const GetRoleRequestSchema: GenMessage<GetRoleRequest> = /*@__PURE__*/
|
|
528
|
-
messageDesc(file_hearth_rbac_v1_rbac, 16);
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* @generated from message hearth.rbac.v1.UpdateRoleRequest
|
|
532
|
-
*/
|
|
533
|
-
export type UpdateRoleRequest = Message<"hearth.rbac.v1.UpdateRoleRequest"> & {
|
|
534
|
-
/**
|
|
535
|
-
* @generated from field: string realm_id = 1;
|
|
536
|
-
*/
|
|
537
|
-
realmId: string;
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* @generated from field: string role_id = 2;
|
|
541
|
-
*/
|
|
542
|
-
roleId: string;
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* Fields left empty = unchanged.
|
|
546
|
-
*
|
|
547
|
-
* @generated from field: string name = 3;
|
|
548
|
-
*/
|
|
549
|
-
name: string;
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* @generated from field: string description = 4;
|
|
553
|
-
*/
|
|
554
|
-
description: string;
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* @generated from field: repeated string permissions = 5;
|
|
558
|
-
*/
|
|
559
|
-
permissions: string[];
|
|
560
|
-
|
|
561
|
-
/**
|
|
562
|
-
* @generated from field: repeated string parent_role_ids = 6;
|
|
563
|
-
*/
|
|
564
|
-
parentRoleIds: string[];
|
|
565
|
-
};
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Describes the message hearth.rbac.v1.UpdateRoleRequest.
|
|
569
|
-
* Use `create(UpdateRoleRequestSchema)` to create a new message.
|
|
570
|
-
*/
|
|
571
|
-
export const UpdateRoleRequestSchema: GenMessage<UpdateRoleRequest> = /*@__PURE__*/
|
|
572
|
-
messageDesc(file_hearth_rbac_v1_rbac, 17);
|
|
573
|
-
|
|
574
|
-
/**
|
|
575
|
-
* @generated from message hearth.rbac.v1.DeleteRoleRequest
|
|
576
|
-
*/
|
|
577
|
-
export type DeleteRoleRequest = Message<"hearth.rbac.v1.DeleteRoleRequest"> & {
|
|
578
|
-
/**
|
|
579
|
-
* @generated from field: string realm_id = 1;
|
|
580
|
-
*/
|
|
581
|
-
realmId: string;
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* @generated from field: string role_id = 2;
|
|
585
|
-
*/
|
|
586
|
-
roleId: string;
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* @generated from field: bool cascade = 3;
|
|
590
|
-
*/
|
|
591
|
-
cascade: boolean;
|
|
592
|
-
};
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* Describes the message hearth.rbac.v1.DeleteRoleRequest.
|
|
596
|
-
* Use `create(DeleteRoleRequestSchema)` to create a new message.
|
|
597
|
-
*/
|
|
598
|
-
export const DeleteRoleRequestSchema: GenMessage<DeleteRoleRequest> = /*@__PURE__*/
|
|
599
|
-
messageDesc(file_hearth_rbac_v1_rbac, 18);
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* @generated from message hearth.rbac.v1.DeleteRoleResponse
|
|
603
|
-
*/
|
|
604
|
-
export type DeleteRoleResponse = Message<"hearth.rbac.v1.DeleteRoleResponse"> & {
|
|
605
|
-
};
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* Describes the message hearth.rbac.v1.DeleteRoleResponse.
|
|
609
|
-
* Use `create(DeleteRoleResponseSchema)` to create a new message.
|
|
610
|
-
*/
|
|
611
|
-
export const DeleteRoleResponseSchema: GenMessage<DeleteRoleResponse> = /*@__PURE__*/
|
|
612
|
-
messageDesc(file_hearth_rbac_v1_rbac, 19);
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* @generated from message hearth.rbac.v1.ListGroupsRequest
|
|
616
|
-
*/
|
|
617
|
-
export type ListGroupsRequest = Message<"hearth.rbac.v1.ListGroupsRequest"> & {
|
|
618
|
-
/**
|
|
619
|
-
* @generated from field: string realm_id = 1;
|
|
620
|
-
*/
|
|
621
|
-
realmId: string;
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* @generated from field: string cursor = 2;
|
|
625
|
-
*/
|
|
626
|
-
cursor: string;
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* @generated from field: uint32 limit = 3;
|
|
630
|
-
*/
|
|
631
|
-
limit: number;
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Describes the message hearth.rbac.v1.ListGroupsRequest.
|
|
636
|
-
* Use `create(ListGroupsRequestSchema)` to create a new message.
|
|
637
|
-
*/
|
|
638
|
-
export const ListGroupsRequestSchema: GenMessage<ListGroupsRequest> = /*@__PURE__*/
|
|
639
|
-
messageDesc(file_hearth_rbac_v1_rbac, 20);
|
|
640
|
-
|
|
641
|
-
/**
|
|
642
|
-
* @generated from message hearth.rbac.v1.ListGroupsResponse
|
|
643
|
-
*/
|
|
644
|
-
export type ListGroupsResponse = Message<"hearth.rbac.v1.ListGroupsResponse"> & {
|
|
645
|
-
/**
|
|
646
|
-
* @generated from field: repeated hearth.rbac.v1.Group groups = 1;
|
|
647
|
-
*/
|
|
648
|
-
groups: Group[];
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* @generated from field: string next_cursor = 2;
|
|
652
|
-
*/
|
|
653
|
-
nextCursor: string;
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* Describes the message hearth.rbac.v1.ListGroupsResponse.
|
|
658
|
-
* Use `create(ListGroupsResponseSchema)` to create a new message.
|
|
659
|
-
*/
|
|
660
|
-
export const ListGroupsResponseSchema: GenMessage<ListGroupsResponse> = /*@__PURE__*/
|
|
661
|
-
messageDesc(file_hearth_rbac_v1_rbac, 21);
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* @generated from message hearth.rbac.v1.CreateGroupRequest
|
|
665
|
-
*/
|
|
666
|
-
export type CreateGroupRequest = Message<"hearth.rbac.v1.CreateGroupRequest"> & {
|
|
667
|
-
/**
|
|
668
|
-
* @generated from field: string realm_id = 1;
|
|
669
|
-
*/
|
|
670
|
-
realmId: string;
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* @generated from field: string name = 2;
|
|
674
|
-
*/
|
|
675
|
-
name: string;
|
|
676
|
-
|
|
677
|
-
/**
|
|
678
|
-
* @generated from field: string slug = 3;
|
|
679
|
-
*/
|
|
680
|
-
slug: string;
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* @generated from field: string description = 4;
|
|
684
|
-
*/
|
|
685
|
-
description: string;
|
|
686
|
-
};
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Describes the message hearth.rbac.v1.CreateGroupRequest.
|
|
690
|
-
* Use `create(CreateGroupRequestSchema)` to create a new message.
|
|
691
|
-
*/
|
|
692
|
-
export const CreateGroupRequestSchema: GenMessage<CreateGroupRequest> = /*@__PURE__*/
|
|
693
|
-
messageDesc(file_hearth_rbac_v1_rbac, 22);
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* @generated from message hearth.rbac.v1.GetGroupRequest
|
|
697
|
-
*/
|
|
698
|
-
export type GetGroupRequest = Message<"hearth.rbac.v1.GetGroupRequest"> & {
|
|
699
|
-
/**
|
|
700
|
-
* @generated from field: string realm_id = 1;
|
|
701
|
-
*/
|
|
702
|
-
realmId: string;
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* @generated from field: string group_id = 2;
|
|
706
|
-
*/
|
|
707
|
-
groupId: string;
|
|
708
|
-
};
|
|
709
|
-
|
|
710
|
-
/**
|
|
711
|
-
* Describes the message hearth.rbac.v1.GetGroupRequest.
|
|
712
|
-
* Use `create(GetGroupRequestSchema)` to create a new message.
|
|
713
|
-
*/
|
|
714
|
-
export const GetGroupRequestSchema: GenMessage<GetGroupRequest> = /*@__PURE__*/
|
|
715
|
-
messageDesc(file_hearth_rbac_v1_rbac, 23);
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* @generated from message hearth.rbac.v1.UpdateGroupRequest
|
|
719
|
-
*/
|
|
720
|
-
export type UpdateGroupRequest = Message<"hearth.rbac.v1.UpdateGroupRequest"> & {
|
|
721
|
-
/**
|
|
722
|
-
* @generated from field: string realm_id = 1;
|
|
723
|
-
*/
|
|
724
|
-
realmId: string;
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* @generated from field: string group_id = 2;
|
|
728
|
-
*/
|
|
729
|
-
groupId: string;
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* @generated from field: string name = 3;
|
|
733
|
-
*/
|
|
734
|
-
name: string;
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* @generated from field: string slug = 4;
|
|
738
|
-
*/
|
|
739
|
-
slug: string;
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* @generated from field: string description = 5;
|
|
743
|
-
*/
|
|
744
|
-
description: string;
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Describes the message hearth.rbac.v1.UpdateGroupRequest.
|
|
749
|
-
* Use `create(UpdateGroupRequestSchema)` to create a new message.
|
|
750
|
-
*/
|
|
751
|
-
export const UpdateGroupRequestSchema: GenMessage<UpdateGroupRequest> = /*@__PURE__*/
|
|
752
|
-
messageDesc(file_hearth_rbac_v1_rbac, 24);
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* @generated from message hearth.rbac.v1.DeleteGroupRequest
|
|
756
|
-
*/
|
|
757
|
-
export type DeleteGroupRequest = Message<"hearth.rbac.v1.DeleteGroupRequest"> & {
|
|
758
|
-
/**
|
|
759
|
-
* @generated from field: string realm_id = 1;
|
|
760
|
-
*/
|
|
761
|
-
realmId: string;
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* @generated from field: string group_id = 2;
|
|
765
|
-
*/
|
|
766
|
-
groupId: string;
|
|
767
|
-
};
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* Describes the message hearth.rbac.v1.DeleteGroupRequest.
|
|
771
|
-
* Use `create(DeleteGroupRequestSchema)` to create a new message.
|
|
772
|
-
*/
|
|
773
|
-
export const DeleteGroupRequestSchema: GenMessage<DeleteGroupRequest> = /*@__PURE__*/
|
|
774
|
-
messageDesc(file_hearth_rbac_v1_rbac, 25);
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* @generated from message hearth.rbac.v1.DeleteGroupResponse
|
|
778
|
-
*/
|
|
779
|
-
export type DeleteGroupResponse = Message<"hearth.rbac.v1.DeleteGroupResponse"> & {
|
|
780
|
-
};
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* Describes the message hearth.rbac.v1.DeleteGroupResponse.
|
|
784
|
-
* Use `create(DeleteGroupResponseSchema)` to create a new message.
|
|
785
|
-
*/
|
|
786
|
-
export const DeleteGroupResponseSchema: GenMessage<DeleteGroupResponse> = /*@__PURE__*/
|
|
787
|
-
messageDesc(file_hearth_rbac_v1_rbac, 26);
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
* @generated from message hearth.rbac.v1.ListGroupMembersRequest
|
|
791
|
-
*/
|
|
792
|
-
export type ListGroupMembersRequest = Message<"hearth.rbac.v1.ListGroupMembersRequest"> & {
|
|
793
|
-
/**
|
|
794
|
-
* @generated from field: string realm_id = 1;
|
|
795
|
-
*/
|
|
796
|
-
realmId: string;
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* @generated from field: string group_id = 2;
|
|
800
|
-
*/
|
|
801
|
-
groupId: string;
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* @generated from field: string cursor = 3;
|
|
805
|
-
*/
|
|
806
|
-
cursor: string;
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* @generated from field: uint32 limit = 4;
|
|
810
|
-
*/
|
|
811
|
-
limit: number;
|
|
812
|
-
};
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* Describes the message hearth.rbac.v1.ListGroupMembersRequest.
|
|
816
|
-
* Use `create(ListGroupMembersRequestSchema)` to create a new message.
|
|
817
|
-
*/
|
|
818
|
-
export const ListGroupMembersRequestSchema: GenMessage<ListGroupMembersRequest> = /*@__PURE__*/
|
|
819
|
-
messageDesc(file_hearth_rbac_v1_rbac, 27);
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* @generated from message hearth.rbac.v1.ListGroupMembersResponse
|
|
823
|
-
*/
|
|
824
|
-
export type ListGroupMembersResponse = Message<"hearth.rbac.v1.ListGroupMembersResponse"> & {
|
|
825
|
-
/**
|
|
826
|
-
* @generated from field: repeated hearth.rbac.v1.GroupMember members = 1;
|
|
827
|
-
*/
|
|
828
|
-
members: GroupMember[];
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* @generated from field: string next_cursor = 2;
|
|
832
|
-
*/
|
|
833
|
-
nextCursor: string;
|
|
834
|
-
};
|
|
835
|
-
|
|
836
|
-
/**
|
|
837
|
-
* Describes the message hearth.rbac.v1.ListGroupMembersResponse.
|
|
838
|
-
* Use `create(ListGroupMembersResponseSchema)` to create a new message.
|
|
839
|
-
*/
|
|
840
|
-
export const ListGroupMembersResponseSchema: GenMessage<ListGroupMembersResponse> = /*@__PURE__*/
|
|
841
|
-
messageDesc(file_hearth_rbac_v1_rbac, 28);
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* @generated from message hearth.rbac.v1.AddGroupMemberRequest
|
|
845
|
-
*/
|
|
846
|
-
export type AddGroupMemberRequest = Message<"hearth.rbac.v1.AddGroupMemberRequest"> & {
|
|
847
|
-
/**
|
|
848
|
-
* @generated from field: string realm_id = 1;
|
|
849
|
-
*/
|
|
850
|
-
realmId: string;
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* @generated from field: string group_id = 2;
|
|
854
|
-
*/
|
|
855
|
-
groupId: string;
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* @generated from field: hearth.rbac.v1.GroupMember member = 3;
|
|
859
|
-
*/
|
|
860
|
-
member?: GroupMember | undefined;
|
|
861
|
-
};
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* Describes the message hearth.rbac.v1.AddGroupMemberRequest.
|
|
865
|
-
* Use `create(AddGroupMemberRequestSchema)` to create a new message.
|
|
866
|
-
*/
|
|
867
|
-
export const AddGroupMemberRequestSchema: GenMessage<AddGroupMemberRequest> = /*@__PURE__*/
|
|
868
|
-
messageDesc(file_hearth_rbac_v1_rbac, 29);
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* @generated from message hearth.rbac.v1.RemoveGroupMemberRequest
|
|
872
|
-
*/
|
|
873
|
-
export type RemoveGroupMemberRequest = Message<"hearth.rbac.v1.RemoveGroupMemberRequest"> & {
|
|
874
|
-
/**
|
|
875
|
-
* @generated from field: string realm_id = 1;
|
|
876
|
-
*/
|
|
877
|
-
realmId: string;
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* @generated from field: string group_id = 2;
|
|
881
|
-
*/
|
|
882
|
-
groupId: string;
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* @generated from field: hearth.rbac.v1.GroupMember member = 3;
|
|
886
|
-
*/
|
|
887
|
-
member?: GroupMember | undefined;
|
|
888
|
-
};
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* Describes the message hearth.rbac.v1.RemoveGroupMemberRequest.
|
|
892
|
-
* Use `create(RemoveGroupMemberRequestSchema)` to create a new message.
|
|
893
|
-
*/
|
|
894
|
-
export const RemoveGroupMemberRequestSchema: GenMessage<RemoveGroupMemberRequest> = /*@__PURE__*/
|
|
895
|
-
messageDesc(file_hearth_rbac_v1_rbac, 30);
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* @generated from message hearth.rbac.v1.RemoveGroupMemberResponse
|
|
899
|
-
*/
|
|
900
|
-
export type RemoveGroupMemberResponse = Message<"hearth.rbac.v1.RemoveGroupMemberResponse"> & {
|
|
901
|
-
};
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
* Describes the message hearth.rbac.v1.RemoveGroupMemberResponse.
|
|
905
|
-
* Use `create(RemoveGroupMemberResponseSchema)` to create a new message.
|
|
906
|
-
*/
|
|
907
|
-
export const RemoveGroupMemberResponseSchema: GenMessage<RemoveGroupMemberResponse> = /*@__PURE__*/
|
|
908
|
-
messageDesc(file_hearth_rbac_v1_rbac, 31);
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* @generated from message hearth.rbac.v1.AssignUserRoleRequest
|
|
912
|
-
*/
|
|
913
|
-
export type AssignUserRoleRequest = Message<"hearth.rbac.v1.AssignUserRoleRequest"> & {
|
|
914
|
-
/**
|
|
915
|
-
* @generated from field: string realm_id = 1;
|
|
916
|
-
*/
|
|
917
|
-
realmId: string;
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* @generated from field: string user_id = 2;
|
|
921
|
-
*/
|
|
922
|
-
userId: string;
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* @generated from field: string role_id = 3;
|
|
926
|
-
*/
|
|
927
|
-
roleId: string;
|
|
928
|
-
|
|
929
|
-
/**
|
|
930
|
-
* @generated from field: hearth.rbac.v1.Scope scope = 4;
|
|
931
|
-
*/
|
|
932
|
-
scope?: Scope | undefined;
|
|
933
|
-
};
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* Describes the message hearth.rbac.v1.AssignUserRoleRequest.
|
|
937
|
-
* Use `create(AssignUserRoleRequestSchema)` to create a new message.
|
|
938
|
-
*/
|
|
939
|
-
export const AssignUserRoleRequestSchema: GenMessage<AssignUserRoleRequest> = /*@__PURE__*/
|
|
940
|
-
messageDesc(file_hearth_rbac_v1_rbac, 32);
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
* @generated from message hearth.rbac.v1.UnassignUserRoleRequest
|
|
944
|
-
*/
|
|
945
|
-
export type UnassignUserRoleRequest = Message<"hearth.rbac.v1.UnassignUserRoleRequest"> & {
|
|
946
|
-
/**
|
|
947
|
-
* @generated from field: string realm_id = 1;
|
|
948
|
-
*/
|
|
949
|
-
realmId: string;
|
|
950
|
-
|
|
951
|
-
/**
|
|
952
|
-
* @generated from field: string user_id = 2;
|
|
953
|
-
*/
|
|
954
|
-
userId: string;
|
|
955
|
-
|
|
956
|
-
/**
|
|
957
|
-
* @generated from field: string assignment_id = 3;
|
|
958
|
-
*/
|
|
959
|
-
assignmentId: string;
|
|
960
|
-
};
|
|
961
|
-
|
|
962
|
-
/**
|
|
963
|
-
* Describes the message hearth.rbac.v1.UnassignUserRoleRequest.
|
|
964
|
-
* Use `create(UnassignUserRoleRequestSchema)` to create a new message.
|
|
965
|
-
*/
|
|
966
|
-
export const UnassignUserRoleRequestSchema: GenMessage<UnassignUserRoleRequest> = /*@__PURE__*/
|
|
967
|
-
messageDesc(file_hearth_rbac_v1_rbac, 33);
|
|
968
|
-
|
|
969
|
-
/**
|
|
970
|
-
* @generated from message hearth.rbac.v1.UnassignUserRoleResponse
|
|
971
|
-
*/
|
|
972
|
-
export type UnassignUserRoleResponse = Message<"hearth.rbac.v1.UnassignUserRoleResponse"> & {
|
|
973
|
-
};
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* Describes the message hearth.rbac.v1.UnassignUserRoleResponse.
|
|
977
|
-
* Use `create(UnassignUserRoleResponseSchema)` to create a new message.
|
|
978
|
-
*/
|
|
979
|
-
export const UnassignUserRoleResponseSchema: GenMessage<UnassignUserRoleResponse> = /*@__PURE__*/
|
|
980
|
-
messageDesc(file_hearth_rbac_v1_rbac, 34);
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* @generated from message hearth.rbac.v1.ListUserAssignmentsRequest
|
|
984
|
-
*/
|
|
985
|
-
export type ListUserAssignmentsRequest = Message<"hearth.rbac.v1.ListUserAssignmentsRequest"> & {
|
|
986
|
-
/**
|
|
987
|
-
* @generated from field: string realm_id = 1;
|
|
988
|
-
*/
|
|
989
|
-
realmId: string;
|
|
990
|
-
|
|
991
|
-
/**
|
|
992
|
-
* @generated from field: string user_id = 2;
|
|
993
|
-
*/
|
|
994
|
-
userId: string;
|
|
995
|
-
};
|
|
996
|
-
|
|
997
|
-
/**
|
|
998
|
-
* Describes the message hearth.rbac.v1.ListUserAssignmentsRequest.
|
|
999
|
-
* Use `create(ListUserAssignmentsRequestSchema)` to create a new message.
|
|
1000
|
-
*/
|
|
1001
|
-
export const ListUserAssignmentsRequestSchema: GenMessage<ListUserAssignmentsRequest> = /*@__PURE__*/
|
|
1002
|
-
messageDesc(file_hearth_rbac_v1_rbac, 35);
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* @generated from message hearth.rbac.v1.ListUserAssignmentsResponse
|
|
1006
|
-
*/
|
|
1007
|
-
export type ListUserAssignmentsResponse = Message<"hearth.rbac.v1.ListUserAssignmentsResponse"> & {
|
|
1008
|
-
/**
|
|
1009
|
-
* @generated from field: repeated hearth.rbac.v1.RoleAssignment assignments = 1;
|
|
1010
|
-
*/
|
|
1011
|
-
assignments: RoleAssignment[];
|
|
1012
|
-
};
|
|
1013
|
-
|
|
1014
|
-
/**
|
|
1015
|
-
* Describes the message hearth.rbac.v1.ListUserAssignmentsResponse.
|
|
1016
|
-
* Use `create(ListUserAssignmentsResponseSchema)` to create a new message.
|
|
1017
|
-
*/
|
|
1018
|
-
export const ListUserAssignmentsResponseSchema: GenMessage<ListUserAssignmentsResponse> = /*@__PURE__*/
|
|
1019
|
-
messageDesc(file_hearth_rbac_v1_rbac, 36);
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* @generated from message hearth.rbac.v1.AssignGroupRoleRequest
|
|
1023
|
-
*/
|
|
1024
|
-
export type AssignGroupRoleRequest = Message<"hearth.rbac.v1.AssignGroupRoleRequest"> & {
|
|
1025
|
-
/**
|
|
1026
|
-
* @generated from field: string realm_id = 1;
|
|
1027
|
-
*/
|
|
1028
|
-
realmId: string;
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* @generated from field: string group_id = 2;
|
|
1032
|
-
*/
|
|
1033
|
-
groupId: string;
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* @generated from field: string role_id = 3;
|
|
1037
|
-
*/
|
|
1038
|
-
roleId: string;
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* @generated from field: hearth.rbac.v1.Scope scope = 4;
|
|
1042
|
-
*/
|
|
1043
|
-
scope?: Scope | undefined;
|
|
1044
|
-
};
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* Describes the message hearth.rbac.v1.AssignGroupRoleRequest.
|
|
1048
|
-
* Use `create(AssignGroupRoleRequestSchema)` to create a new message.
|
|
1049
|
-
*/
|
|
1050
|
-
export const AssignGroupRoleRequestSchema: GenMessage<AssignGroupRoleRequest> = /*@__PURE__*/
|
|
1051
|
-
messageDesc(file_hearth_rbac_v1_rbac, 37);
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* @generated from message hearth.rbac.v1.UnassignGroupRoleRequest
|
|
1055
|
-
*/
|
|
1056
|
-
export type UnassignGroupRoleRequest = Message<"hearth.rbac.v1.UnassignGroupRoleRequest"> & {
|
|
1057
|
-
/**
|
|
1058
|
-
* @generated from field: string realm_id = 1;
|
|
1059
|
-
*/
|
|
1060
|
-
realmId: string;
|
|
1061
|
-
|
|
1062
|
-
/**
|
|
1063
|
-
* @generated from field: string group_id = 2;
|
|
1064
|
-
*/
|
|
1065
|
-
groupId: string;
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* @generated from field: string assignment_id = 3;
|
|
1069
|
-
*/
|
|
1070
|
-
assignmentId: string;
|
|
1071
|
-
};
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* Describes the message hearth.rbac.v1.UnassignGroupRoleRequest.
|
|
1075
|
-
* Use `create(UnassignGroupRoleRequestSchema)` to create a new message.
|
|
1076
|
-
*/
|
|
1077
|
-
export const UnassignGroupRoleRequestSchema: GenMessage<UnassignGroupRoleRequest> = /*@__PURE__*/
|
|
1078
|
-
messageDesc(file_hearth_rbac_v1_rbac, 38);
|
|
1079
|
-
|
|
1080
|
-
/**
|
|
1081
|
-
* @generated from message hearth.rbac.v1.UnassignGroupRoleResponse
|
|
1082
|
-
*/
|
|
1083
|
-
export type UnassignGroupRoleResponse = Message<"hearth.rbac.v1.UnassignGroupRoleResponse"> & {
|
|
1084
|
-
};
|
|
1085
|
-
|
|
1086
|
-
/**
|
|
1087
|
-
* Describes the message hearth.rbac.v1.UnassignGroupRoleResponse.
|
|
1088
|
-
* Use `create(UnassignGroupRoleResponseSchema)` to create a new message.
|
|
1089
|
-
*/
|
|
1090
|
-
export const UnassignGroupRoleResponseSchema: GenMessage<UnassignGroupRoleResponse> = /*@__PURE__*/
|
|
1091
|
-
messageDesc(file_hearth_rbac_v1_rbac, 39);
|
|
1092
|
-
|
|
1093
|
-
/**
|
|
1094
|
-
* @generated from message hearth.rbac.v1.ListRoleMembersRequest
|
|
1095
|
-
*/
|
|
1096
|
-
export type ListRoleMembersRequest = Message<"hearth.rbac.v1.ListRoleMembersRequest"> & {
|
|
1097
|
-
/**
|
|
1098
|
-
* @generated from field: string realm_id = 1;
|
|
1099
|
-
*/
|
|
1100
|
-
realmId: string;
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* @generated from field: string role_id = 2;
|
|
1104
|
-
*/
|
|
1105
|
-
roleId: string;
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* @generated from field: string cursor = 3;
|
|
1109
|
-
*/
|
|
1110
|
-
cursor: string;
|
|
1111
|
-
|
|
1112
|
-
/**
|
|
1113
|
-
* @generated from field: uint32 limit = 4;
|
|
1114
|
-
*/
|
|
1115
|
-
limit: number;
|
|
1116
|
-
};
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* Describes the message hearth.rbac.v1.ListRoleMembersRequest.
|
|
1120
|
-
* Use `create(ListRoleMembersRequestSchema)` to create a new message.
|
|
1121
|
-
*/
|
|
1122
|
-
export const ListRoleMembersRequestSchema: GenMessage<ListRoleMembersRequest> = /*@__PURE__*/
|
|
1123
|
-
messageDesc(file_hearth_rbac_v1_rbac, 40);
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* @generated from message hearth.rbac.v1.RoleSubject
|
|
1127
|
-
*/
|
|
1128
|
-
export type RoleSubject = Message<"hearth.rbac.v1.RoleSubject"> & {
|
|
1129
|
-
/**
|
|
1130
|
-
* @generated from field: hearth.rbac.v1.GroupMember.Type subject_type = 1;
|
|
1131
|
-
*/
|
|
1132
|
-
subjectType: GroupMember_Type;
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
* @generated from field: string subject_id = 2;
|
|
1136
|
-
*/
|
|
1137
|
-
subjectId: string;
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* Describes the message hearth.rbac.v1.RoleSubject.
|
|
1142
|
-
* Use `create(RoleSubjectSchema)` to create a new message.
|
|
1143
|
-
*/
|
|
1144
|
-
export const RoleSubjectSchema: GenMessage<RoleSubject> = /*@__PURE__*/
|
|
1145
|
-
messageDesc(file_hearth_rbac_v1_rbac, 41);
|
|
1146
|
-
|
|
1147
|
-
/**
|
|
1148
|
-
* @generated from message hearth.rbac.v1.ListRoleMembersResponse
|
|
1149
|
-
*/
|
|
1150
|
-
export type ListRoleMembersResponse = Message<"hearth.rbac.v1.ListRoleMembersResponse"> & {
|
|
1151
|
-
/**
|
|
1152
|
-
* @generated from field: repeated hearth.rbac.v1.RoleSubject members = 1;
|
|
1153
|
-
*/
|
|
1154
|
-
members: RoleSubject[];
|
|
1155
|
-
|
|
1156
|
-
/**
|
|
1157
|
-
* @generated from field: string next_cursor = 2;
|
|
1158
|
-
*/
|
|
1159
|
-
nextCursor: string;
|
|
1160
|
-
};
|
|
1161
|
-
|
|
1162
|
-
/**
|
|
1163
|
-
* Describes the message hearth.rbac.v1.ListRoleMembersResponse.
|
|
1164
|
-
* Use `create(ListRoleMembersResponseSchema)` to create a new message.
|
|
1165
|
-
*/
|
|
1166
|
-
export const ListRoleMembersResponseSchema: GenMessage<ListRoleMembersResponse> = /*@__PURE__*/
|
|
1167
|
-
messageDesc(file_hearth_rbac_v1_rbac, 42);
|
|
1168
|
-
|
|
1169
|
-
/**
|
|
1170
|
-
* @generated from message hearth.rbac.v1.ResolveEffectivePermissionsRequest
|
|
1171
|
-
*/
|
|
1172
|
-
export type ResolveEffectivePermissionsRequest = Message<"hearth.rbac.v1.ResolveEffectivePermissionsRequest"> & {
|
|
1173
|
-
/**
|
|
1174
|
-
* @generated from field: string realm_id = 1;
|
|
1175
|
-
*/
|
|
1176
|
-
realmId: string;
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* @generated from field: string user_id = 2;
|
|
1180
|
-
*/
|
|
1181
|
-
userId: string;
|
|
1182
|
-
|
|
1183
|
-
/**
|
|
1184
|
-
* optional; empty means realm-only
|
|
1185
|
-
*
|
|
1186
|
-
* @generated from field: string org_id = 3;
|
|
1187
|
-
*/
|
|
1188
|
-
orgId: string;
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* optional; empty means no narrowing
|
|
1192
|
-
*
|
|
1193
|
-
* @generated from field: string scope = 4;
|
|
1194
|
-
*/
|
|
1195
|
-
scope: string;
|
|
1196
|
-
};
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* Describes the message hearth.rbac.v1.ResolveEffectivePermissionsRequest.
|
|
1200
|
-
* Use `create(ResolveEffectivePermissionsRequestSchema)` to create a new message.
|
|
1201
|
-
*/
|
|
1202
|
-
export const ResolveEffectivePermissionsRequestSchema: GenMessage<ResolveEffectivePermissionsRequest> = /*@__PURE__*/
|
|
1203
|
-
messageDesc(file_hearth_rbac_v1_rbac, 43);
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* @generated from message hearth.rbac.v1.ResolveEffectivePermissionsResponse
|
|
1207
|
-
*/
|
|
1208
|
-
export type ResolveEffectivePermissionsResponse = Message<"hearth.rbac.v1.ResolveEffectivePermissionsResponse"> & {
|
|
1209
|
-
/**
|
|
1210
|
-
* @generated from field: repeated string roles = 1;
|
|
1211
|
-
*/
|
|
1212
|
-
roles: string[];
|
|
1213
|
-
|
|
1214
|
-
/**
|
|
1215
|
-
* @generated from field: repeated string groups = 2;
|
|
1216
|
-
*/
|
|
1217
|
-
groups: string[];
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* @generated from field: repeated string permissions = 3;
|
|
1221
|
-
*/
|
|
1222
|
-
permissions: string[];
|
|
1223
|
-
};
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* Describes the message hearth.rbac.v1.ResolveEffectivePermissionsResponse.
|
|
1227
|
-
* Use `create(ResolveEffectivePermissionsResponseSchema)` to create a new message.
|
|
1228
|
-
*/
|
|
1229
|
-
export const ResolveEffectivePermissionsResponseSchema: GenMessage<ResolveEffectivePermissionsResponse> = /*@__PURE__*/
|
|
1230
|
-
messageDesc(file_hearth_rbac_v1_rbac, 44);
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* @generated from message hearth.rbac.v1.GrantUserPermissionRequest
|
|
1234
|
-
*/
|
|
1235
|
-
export type GrantUserPermissionRequest = Message<"hearth.rbac.v1.GrantUserPermissionRequest"> & {
|
|
1236
|
-
/**
|
|
1237
|
-
* @generated from field: string realm_id = 1;
|
|
1238
|
-
*/
|
|
1239
|
-
realmId: string;
|
|
1240
|
-
|
|
1241
|
-
/**
|
|
1242
|
-
* @generated from field: string user_id = 2;
|
|
1243
|
-
*/
|
|
1244
|
-
userId: string;
|
|
1245
|
-
|
|
1246
|
-
/**
|
|
1247
|
-
* @generated from field: string permission = 3;
|
|
1248
|
-
*/
|
|
1249
|
-
permission: string;
|
|
1250
|
-
|
|
1251
|
-
/**
|
|
1252
|
-
* Scope type: "realm" or "org".
|
|
1253
|
-
*
|
|
1254
|
-
* @generated from field: string scope_type = 4;
|
|
1255
|
-
*/
|
|
1256
|
-
scopeType: string;
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1259
|
-
* Required when scope_type is "org".
|
|
1260
|
-
*
|
|
1261
|
-
* @generated from field: string org_id = 5;
|
|
1262
|
-
*/
|
|
1263
|
-
orgId: string;
|
|
1264
|
-
|
|
1265
|
-
/**
|
|
1266
|
-
* Optional: user_id of the actor performing the grant.
|
|
1267
|
-
*
|
|
1268
|
-
* @generated from field: string granted_by = 6;
|
|
1269
|
-
*/
|
|
1270
|
-
grantedBy: string;
|
|
1271
|
-
};
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* Describes the message hearth.rbac.v1.GrantUserPermissionRequest.
|
|
1275
|
-
* Use `create(GrantUserPermissionRequestSchema)` to create a new message.
|
|
1276
|
-
*/
|
|
1277
|
-
export const GrantUserPermissionRequestSchema: GenMessage<GrantUserPermissionRequest> = /*@__PURE__*/
|
|
1278
|
-
messageDesc(file_hearth_rbac_v1_rbac, 45);
|
|
1279
|
-
|
|
1280
|
-
/**
|
|
1281
|
-
* @generated from message hearth.rbac.v1.GrantUserPermissionResponse
|
|
1282
|
-
*/
|
|
1283
|
-
export type GrantUserPermissionResponse = Message<"hearth.rbac.v1.GrantUserPermissionResponse"> & {
|
|
1284
|
-
};
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
* Describes the message hearth.rbac.v1.GrantUserPermissionResponse.
|
|
1288
|
-
* Use `create(GrantUserPermissionResponseSchema)` to create a new message.
|
|
1289
|
-
*/
|
|
1290
|
-
export const GrantUserPermissionResponseSchema: GenMessage<GrantUserPermissionResponse> = /*@__PURE__*/
|
|
1291
|
-
messageDesc(file_hearth_rbac_v1_rbac, 46);
|
|
1292
|
-
|
|
1293
|
-
/**
|
|
1294
|
-
* @generated from message hearth.rbac.v1.RevokeUserPermissionRequest
|
|
1295
|
-
*/
|
|
1296
|
-
export type RevokeUserPermissionRequest = Message<"hearth.rbac.v1.RevokeUserPermissionRequest"> & {
|
|
1297
|
-
/**
|
|
1298
|
-
* @generated from field: string realm_id = 1;
|
|
1299
|
-
*/
|
|
1300
|
-
realmId: string;
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* @generated from field: string user_id = 2;
|
|
1304
|
-
*/
|
|
1305
|
-
userId: string;
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* @generated from field: string permission = 3;
|
|
1309
|
-
*/
|
|
1310
|
-
permission: string;
|
|
1311
|
-
|
|
1312
|
-
/**
|
|
1313
|
-
* @generated from field: string scope_type = 4;
|
|
1314
|
-
*/
|
|
1315
|
-
scopeType: string;
|
|
1316
|
-
|
|
1317
|
-
/**
|
|
1318
|
-
* Required when scope_type is "org".
|
|
1319
|
-
*
|
|
1320
|
-
* @generated from field: string org_id = 5;
|
|
1321
|
-
*/
|
|
1322
|
-
orgId: string;
|
|
1323
|
-
};
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* Describes the message hearth.rbac.v1.RevokeUserPermissionRequest.
|
|
1327
|
-
* Use `create(RevokeUserPermissionRequestSchema)` to create a new message.
|
|
1328
|
-
*/
|
|
1329
|
-
export const RevokeUserPermissionRequestSchema: GenMessage<RevokeUserPermissionRequest> = /*@__PURE__*/
|
|
1330
|
-
messageDesc(file_hearth_rbac_v1_rbac, 47);
|
|
1331
|
-
|
|
1332
|
-
/**
|
|
1333
|
-
* @generated from message hearth.rbac.v1.RevokeUserPermissionResponse
|
|
1334
|
-
*/
|
|
1335
|
-
export type RevokeUserPermissionResponse = Message<"hearth.rbac.v1.RevokeUserPermissionResponse"> & {
|
|
1336
|
-
};
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
* Describes the message hearth.rbac.v1.RevokeUserPermissionResponse.
|
|
1340
|
-
* Use `create(RevokeUserPermissionResponseSchema)` to create a new message.
|
|
1341
|
-
*/
|
|
1342
|
-
export const RevokeUserPermissionResponseSchema: GenMessage<RevokeUserPermissionResponse> = /*@__PURE__*/
|
|
1343
|
-
messageDesc(file_hearth_rbac_v1_rbac, 48);
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* @generated from message hearth.rbac.v1.ListUserPermissionsRequest
|
|
1347
|
-
*/
|
|
1348
|
-
export type ListUserPermissionsRequest = Message<"hearth.rbac.v1.ListUserPermissionsRequest"> & {
|
|
1349
|
-
/**
|
|
1350
|
-
* @generated from field: string realm_id = 1;
|
|
1351
|
-
*/
|
|
1352
|
-
realmId: string;
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* @generated from field: string user_id = 2;
|
|
1356
|
-
*/
|
|
1357
|
-
userId: string;
|
|
1358
|
-
};
|
|
1359
|
-
|
|
1360
|
-
/**
|
|
1361
|
-
* Describes the message hearth.rbac.v1.ListUserPermissionsRequest.
|
|
1362
|
-
* Use `create(ListUserPermissionsRequestSchema)` to create a new message.
|
|
1363
|
-
*/
|
|
1364
|
-
export const ListUserPermissionsRequestSchema: GenMessage<ListUserPermissionsRequest> = /*@__PURE__*/
|
|
1365
|
-
messageDesc(file_hearth_rbac_v1_rbac, 49);
|
|
1366
|
-
|
|
1367
|
-
/**
|
|
1368
|
-
* @generated from message hearth.rbac.v1.ListUserPermissionsResponse
|
|
1369
|
-
*/
|
|
1370
|
-
export type ListUserPermissionsResponse = Message<"hearth.rbac.v1.ListUserPermissionsResponse"> & {
|
|
1371
|
-
/**
|
|
1372
|
-
* @generated from field: repeated hearth.rbac.v1.UserPermissionEntry permissions = 1;
|
|
1373
|
-
*/
|
|
1374
|
-
permissions: UserPermissionEntry[];
|
|
1375
|
-
};
|
|
1376
|
-
|
|
1377
|
-
/**
|
|
1378
|
-
* Describes the message hearth.rbac.v1.ListUserPermissionsResponse.
|
|
1379
|
-
* Use `create(ListUserPermissionsResponseSchema)` to create a new message.
|
|
1380
|
-
*/
|
|
1381
|
-
export const ListUserPermissionsResponseSchema: GenMessage<ListUserPermissionsResponse> = /*@__PURE__*/
|
|
1382
|
-
messageDesc(file_hearth_rbac_v1_rbac, 50);
|
|
1383
|
-
|
|
1384
|
-
/**
|
|
1385
|
-
* @generated from message hearth.rbac.v1.UserPermissionEntry
|
|
1386
|
-
*/
|
|
1387
|
-
export type UserPermissionEntry = Message<"hearth.rbac.v1.UserPermissionEntry"> & {
|
|
1388
|
-
/**
|
|
1389
|
-
* @generated from field: string permission = 1;
|
|
1390
|
-
*/
|
|
1391
|
-
permission: string;
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
* @generated from field: string scope_type = 2;
|
|
1395
|
-
*/
|
|
1396
|
-
scopeType: string;
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* @generated from field: string org_id = 3;
|
|
1400
|
-
*/
|
|
1401
|
-
orgId: string;
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
* @generated from field: string granted_by = 4;
|
|
1405
|
-
*/
|
|
1406
|
-
grantedBy: string;
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
* Unix timestamp (seconds).
|
|
1410
|
-
*
|
|
1411
|
-
* @generated from field: int64 granted_at = 5;
|
|
1412
|
-
*/
|
|
1413
|
-
grantedAt: bigint;
|
|
1414
|
-
};
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* Describes the message hearth.rbac.v1.UserPermissionEntry.
|
|
1418
|
-
* Use `create(UserPermissionEntrySchema)` to create a new message.
|
|
1419
|
-
*/
|
|
1420
|
-
export const UserPermissionEntrySchema: GenMessage<UserPermissionEntry> = /*@__PURE__*/
|
|
1421
|
-
messageDesc(file_hearth_rbac_v1_rbac, 51);
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* @generated from message hearth.rbac.v1.AddAdditionalRoleRequest
|
|
1425
|
-
*/
|
|
1426
|
-
export type AddAdditionalRoleRequest = Message<"hearth.rbac.v1.AddAdditionalRoleRequest"> & {
|
|
1427
|
-
/**
|
|
1428
|
-
* @generated from field: string realm_id = 1;
|
|
1429
|
-
*/
|
|
1430
|
-
realmId: string;
|
|
1431
|
-
|
|
1432
|
-
/**
|
|
1433
|
-
* @generated from field: string org_id = 2;
|
|
1434
|
-
*/
|
|
1435
|
-
orgId: string;
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* @generated from field: string user_id = 3;
|
|
1439
|
-
*/
|
|
1440
|
-
userId: string;
|
|
1441
|
-
|
|
1442
|
-
/**
|
|
1443
|
-
* @generated from field: string role_name = 4;
|
|
1444
|
-
*/
|
|
1445
|
-
roleName: string;
|
|
1446
|
-
|
|
1447
|
-
/**
|
|
1448
|
-
* Optional: user_id of the actor performing the grant.
|
|
1449
|
-
*
|
|
1450
|
-
* @generated from field: string granted_by = 5;
|
|
1451
|
-
*/
|
|
1452
|
-
grantedBy: string;
|
|
1453
|
-
};
|
|
1454
|
-
|
|
1455
|
-
/**
|
|
1456
|
-
* Describes the message hearth.rbac.v1.AddAdditionalRoleRequest.
|
|
1457
|
-
* Use `create(AddAdditionalRoleRequestSchema)` to create a new message.
|
|
1458
|
-
*/
|
|
1459
|
-
export const AddAdditionalRoleRequestSchema: GenMessage<AddAdditionalRoleRequest> = /*@__PURE__*/
|
|
1460
|
-
messageDesc(file_hearth_rbac_v1_rbac, 52);
|
|
1461
|
-
|
|
1462
|
-
/**
|
|
1463
|
-
* @generated from message hearth.rbac.v1.AddAdditionalRoleResponse
|
|
1464
|
-
*/
|
|
1465
|
-
export type AddAdditionalRoleResponse = Message<"hearth.rbac.v1.AddAdditionalRoleResponse"> & {
|
|
1466
|
-
};
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* Describes the message hearth.rbac.v1.AddAdditionalRoleResponse.
|
|
1470
|
-
* Use `create(AddAdditionalRoleResponseSchema)` to create a new message.
|
|
1471
|
-
*/
|
|
1472
|
-
export const AddAdditionalRoleResponseSchema: GenMessage<AddAdditionalRoleResponse> = /*@__PURE__*/
|
|
1473
|
-
messageDesc(file_hearth_rbac_v1_rbac, 53);
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* @generated from message hearth.rbac.v1.RemoveAdditionalRoleRequest
|
|
1477
|
-
*/
|
|
1478
|
-
export type RemoveAdditionalRoleRequest = Message<"hearth.rbac.v1.RemoveAdditionalRoleRequest"> & {
|
|
1479
|
-
/**
|
|
1480
|
-
* @generated from field: string realm_id = 1;
|
|
1481
|
-
*/
|
|
1482
|
-
realmId: string;
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* @generated from field: string org_id = 2;
|
|
1486
|
-
*/
|
|
1487
|
-
orgId: string;
|
|
1488
|
-
|
|
1489
|
-
/**
|
|
1490
|
-
* @generated from field: string user_id = 3;
|
|
1491
|
-
*/
|
|
1492
|
-
userId: string;
|
|
1493
|
-
|
|
1494
|
-
/**
|
|
1495
|
-
* @generated from field: string role_name = 4;
|
|
1496
|
-
*/
|
|
1497
|
-
roleName: string;
|
|
1498
|
-
};
|
|
1499
|
-
|
|
1500
|
-
/**
|
|
1501
|
-
* Describes the message hearth.rbac.v1.RemoveAdditionalRoleRequest.
|
|
1502
|
-
* Use `create(RemoveAdditionalRoleRequestSchema)` to create a new message.
|
|
1503
|
-
*/
|
|
1504
|
-
export const RemoveAdditionalRoleRequestSchema: GenMessage<RemoveAdditionalRoleRequest> = /*@__PURE__*/
|
|
1505
|
-
messageDesc(file_hearth_rbac_v1_rbac, 54);
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* @generated from message hearth.rbac.v1.RemoveAdditionalRoleResponse
|
|
1509
|
-
*/
|
|
1510
|
-
export type RemoveAdditionalRoleResponse = Message<"hearth.rbac.v1.RemoveAdditionalRoleResponse"> & {
|
|
1511
|
-
};
|
|
1512
|
-
|
|
1513
|
-
/**
|
|
1514
|
-
* Describes the message hearth.rbac.v1.RemoveAdditionalRoleResponse.
|
|
1515
|
-
* Use `create(RemoveAdditionalRoleResponseSchema)` to create a new message.
|
|
1516
|
-
*/
|
|
1517
|
-
export const RemoveAdditionalRoleResponseSchema: GenMessage<RemoveAdditionalRoleResponse> = /*@__PURE__*/
|
|
1518
|
-
messageDesc(file_hearth_rbac_v1_rbac, 55);
|
|
1519
|
-
|
|
1520
|
-
/**
|
|
1521
|
-
* @generated from message hearth.rbac.v1.ListAdditionalRolesRequest
|
|
1522
|
-
*/
|
|
1523
|
-
export type ListAdditionalRolesRequest = Message<"hearth.rbac.v1.ListAdditionalRolesRequest"> & {
|
|
1524
|
-
/**
|
|
1525
|
-
* @generated from field: string realm_id = 1;
|
|
1526
|
-
*/
|
|
1527
|
-
realmId: string;
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
* @generated from field: string org_id = 2;
|
|
1531
|
-
*/
|
|
1532
|
-
orgId: string;
|
|
1533
|
-
|
|
1534
|
-
/**
|
|
1535
|
-
* @generated from field: string user_id = 3;
|
|
1536
|
-
*/
|
|
1537
|
-
userId: string;
|
|
1538
|
-
};
|
|
1539
|
-
|
|
1540
|
-
/**
|
|
1541
|
-
* Describes the message hearth.rbac.v1.ListAdditionalRolesRequest.
|
|
1542
|
-
* Use `create(ListAdditionalRolesRequestSchema)` to create a new message.
|
|
1543
|
-
*/
|
|
1544
|
-
export const ListAdditionalRolesRequestSchema: GenMessage<ListAdditionalRolesRequest> = /*@__PURE__*/
|
|
1545
|
-
messageDesc(file_hearth_rbac_v1_rbac, 56);
|
|
1546
|
-
|
|
1547
|
-
/**
|
|
1548
|
-
* @generated from message hearth.rbac.v1.ListAdditionalRolesResponse
|
|
1549
|
-
*/
|
|
1550
|
-
export type ListAdditionalRolesResponse = Message<"hearth.rbac.v1.ListAdditionalRolesResponse"> & {
|
|
1551
|
-
/**
|
|
1552
|
-
* @generated from field: repeated string role_names = 1;
|
|
1553
|
-
*/
|
|
1554
|
-
roleNames: string[];
|
|
1555
|
-
};
|
|
1556
|
-
|
|
1557
|
-
/**
|
|
1558
|
-
* Describes the message hearth.rbac.v1.ListAdditionalRolesResponse.
|
|
1559
|
-
* Use `create(ListAdditionalRolesResponseSchema)` to create a new message.
|
|
1560
|
-
*/
|
|
1561
|
-
export const ListAdditionalRolesResponseSchema: GenMessage<ListAdditionalRolesResponse> = /*@__PURE__*/
|
|
1562
|
-
messageDesc(file_hearth_rbac_v1_rbac, 57);
|
|
1563
|
-
|
|
1564
|
-
/**
|
|
1565
|
-
* @generated from message hearth.rbac.v1.ListRealmPermissionsRequest
|
|
1566
|
-
*/
|
|
1567
|
-
export type ListRealmPermissionsRequest = Message<"hearth.rbac.v1.ListRealmPermissionsRequest"> & {
|
|
1568
|
-
/**
|
|
1569
|
-
* @generated from field: string realm_id = 1;
|
|
1570
|
-
*/
|
|
1571
|
-
realmId: string;
|
|
1572
|
-
|
|
1573
|
-
/**
|
|
1574
|
-
* @generated from field: string cursor = 2;
|
|
1575
|
-
*/
|
|
1576
|
-
cursor: string;
|
|
1577
|
-
|
|
1578
|
-
/**
|
|
1579
|
-
* @generated from field: uint32 limit = 3;
|
|
1580
|
-
*/
|
|
1581
|
-
limit: number;
|
|
1582
|
-
};
|
|
1583
|
-
|
|
1584
|
-
/**
|
|
1585
|
-
* Describes the message hearth.rbac.v1.ListRealmPermissionsRequest.
|
|
1586
|
-
* Use `create(ListRealmPermissionsRequestSchema)` to create a new message.
|
|
1587
|
-
*/
|
|
1588
|
-
export const ListRealmPermissionsRequestSchema: GenMessage<ListRealmPermissionsRequest> = /*@__PURE__*/
|
|
1589
|
-
messageDesc(file_hearth_rbac_v1_rbac, 58);
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
* @generated from message hearth.rbac.v1.ListRealmPermissionsResponse
|
|
1593
|
-
*/
|
|
1594
|
-
export type ListRealmPermissionsResponse = Message<"hearth.rbac.v1.ListRealmPermissionsResponse"> & {
|
|
1595
|
-
/**
|
|
1596
|
-
* @generated from field: repeated hearth.rbac.v1.PermissionEntry permissions = 1;
|
|
1597
|
-
*/
|
|
1598
|
-
permissions: PermissionEntry[];
|
|
1599
|
-
|
|
1600
|
-
/**
|
|
1601
|
-
* @generated from field: string next_cursor = 2;
|
|
1602
|
-
*/
|
|
1603
|
-
nextCursor: string;
|
|
1604
|
-
};
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* Describes the message hearth.rbac.v1.ListRealmPermissionsResponse.
|
|
1608
|
-
* Use `create(ListRealmPermissionsResponseSchema)` to create a new message.
|
|
1609
|
-
*/
|
|
1610
|
-
export const ListRealmPermissionsResponseSchema: GenMessage<ListRealmPermissionsResponse> = /*@__PURE__*/
|
|
1611
|
-
messageDesc(file_hearth_rbac_v1_rbac, 59);
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* @generated from message hearth.rbac.v1.PermissionEntry
|
|
1615
|
-
*/
|
|
1616
|
-
export type PermissionEntry = Message<"hearth.rbac.v1.PermissionEntry"> & {
|
|
1617
|
-
/**
|
|
1618
|
-
* @generated from field: string name = 1;
|
|
1619
|
-
*/
|
|
1620
|
-
name: string;
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* @generated from field: string description = 2;
|
|
1624
|
-
*/
|
|
1625
|
-
description: string;
|
|
1626
|
-
|
|
1627
|
-
/**
|
|
1628
|
-
* Optional grouping label (e.g. "users", "billing").
|
|
1629
|
-
*
|
|
1630
|
-
* @generated from field: string category = 3;
|
|
1631
|
-
*/
|
|
1632
|
-
category: string;
|
|
1633
|
-
};
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
* Describes the message hearth.rbac.v1.PermissionEntry.
|
|
1637
|
-
* Use `create(PermissionEntrySchema)` to create a new message.
|
|
1638
|
-
*/
|
|
1639
|
-
export const PermissionEntrySchema: GenMessage<PermissionEntry> = /*@__PURE__*/
|
|
1640
|
-
messageDesc(file_hearth_rbac_v1_rbac, 60);
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1643
|
-
* @generated from message hearth.rbac.v1.ListRealmRolesRequest
|
|
1644
|
-
*/
|
|
1645
|
-
export type ListRealmRolesRequest = Message<"hearth.rbac.v1.ListRealmRolesRequest"> & {
|
|
1646
|
-
/**
|
|
1647
|
-
* @generated from field: string realm_id = 1;
|
|
1648
|
-
*/
|
|
1649
|
-
realmId: string;
|
|
1650
|
-
|
|
1651
|
-
/**
|
|
1652
|
-
* @generated from field: string cursor = 2;
|
|
1653
|
-
*/
|
|
1654
|
-
cursor: string;
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* @generated from field: uint32 limit = 3;
|
|
1658
|
-
*/
|
|
1659
|
-
limit: number;
|
|
1660
|
-
};
|
|
1661
|
-
|
|
1662
|
-
/**
|
|
1663
|
-
* Describes the message hearth.rbac.v1.ListRealmRolesRequest.
|
|
1664
|
-
* Use `create(ListRealmRolesRequestSchema)` to create a new message.
|
|
1665
|
-
*/
|
|
1666
|
-
export const ListRealmRolesRequestSchema: GenMessage<ListRealmRolesRequest> = /*@__PURE__*/
|
|
1667
|
-
messageDesc(file_hearth_rbac_v1_rbac, 61);
|
|
1668
|
-
|
|
1669
|
-
/**
|
|
1670
|
-
* @generated from message hearth.rbac.v1.ListRealmRolesResponse
|
|
1671
|
-
*/
|
|
1672
|
-
export type ListRealmRolesResponse = Message<"hearth.rbac.v1.ListRealmRolesResponse"> & {
|
|
1673
|
-
/**
|
|
1674
|
-
* @generated from field: repeated hearth.rbac.v1.RoleEntry roles = 1;
|
|
1675
|
-
*/
|
|
1676
|
-
roles: RoleEntry[];
|
|
1677
|
-
|
|
1678
|
-
/**
|
|
1679
|
-
* @generated from field: string next_cursor = 2;
|
|
1680
|
-
*/
|
|
1681
|
-
nextCursor: string;
|
|
1682
|
-
};
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* Describes the message hearth.rbac.v1.ListRealmRolesResponse.
|
|
1686
|
-
* Use `create(ListRealmRolesResponseSchema)` to create a new message.
|
|
1687
|
-
*/
|
|
1688
|
-
export const ListRealmRolesResponseSchema: GenMessage<ListRealmRolesResponse> = /*@__PURE__*/
|
|
1689
|
-
messageDesc(file_hearth_rbac_v1_rbac, 62);
|
|
1690
|
-
|
|
1691
|
-
/**
|
|
1692
|
-
* @generated from message hearth.rbac.v1.RoleEntry
|
|
1693
|
-
*/
|
|
1694
|
-
export type RoleEntry = Message<"hearth.rbac.v1.RoleEntry"> & {
|
|
1695
|
-
/**
|
|
1696
|
-
* @generated from field: string id = 1;
|
|
1697
|
-
*/
|
|
1698
|
-
id: string;
|
|
1699
|
-
|
|
1700
|
-
/**
|
|
1701
|
-
* @generated from field: string name = 2;
|
|
1702
|
-
*/
|
|
1703
|
-
name: string;
|
|
1704
|
-
|
|
1705
|
-
/**
|
|
1706
|
-
* @generated from field: string description = 3;
|
|
1707
|
-
*/
|
|
1708
|
-
description: string;
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* Scope kind: "realm", "organization", or "any".
|
|
1712
|
-
*
|
|
1713
|
-
* @generated from field: string scope_kind = 4;
|
|
1714
|
-
*/
|
|
1715
|
-
scopeKind: string;
|
|
1716
|
-
|
|
1717
|
-
/**
|
|
1718
|
-
* @generated from field: repeated string permissions = 5;
|
|
1719
|
-
*/
|
|
1720
|
-
permissions: string[];
|
|
1721
|
-
|
|
1722
|
-
/**
|
|
1723
|
-
* @generated from field: repeated string parent_roles = 6;
|
|
1724
|
-
*/
|
|
1725
|
-
parentRoles: string[];
|
|
1726
|
-
};
|
|
1727
|
-
|
|
1728
|
-
/**
|
|
1729
|
-
* Describes the message hearth.rbac.v1.RoleEntry.
|
|
1730
|
-
* Use `create(RoleEntrySchema)` to create a new message.
|
|
1731
|
-
*/
|
|
1732
|
-
export const RoleEntrySchema: GenMessage<RoleEntry> = /*@__PURE__*/
|
|
1733
|
-
messageDesc(file_hearth_rbac_v1_rbac, 63);
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* RBAC admin service: roles, groups, assignments. Mirrors the HTTP admin
|
|
1737
|
-
* surface in `docs/specs/AUTHORIZATION.md § 8.2`. There is NO service-to-service
|
|
1738
|
-
* Check RPC; callers decode the JWT's `permissions` claim locally.
|
|
1739
|
-
*
|
|
1740
|
-
* @generated from service hearth.rbac.v1.RbacAdminService
|
|
1741
|
-
*/
|
|
1742
|
-
export const RbacAdminService: GenService<{
|
|
1743
|
-
/**
|
|
1744
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListRoles
|
|
1745
|
-
*/
|
|
1746
|
-
listRoles: {
|
|
1747
|
-
methodKind: "unary";
|
|
1748
|
-
input: typeof ListRolesRequestSchema;
|
|
1749
|
-
output: typeof ListRolesResponseSchema;
|
|
1750
|
-
},
|
|
1751
|
-
/**
|
|
1752
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.CreateRole
|
|
1753
|
-
*/
|
|
1754
|
-
createRole: {
|
|
1755
|
-
methodKind: "unary";
|
|
1756
|
-
input: typeof CreateRoleRequestSchema;
|
|
1757
|
-
output: typeof RoleSchema;
|
|
1758
|
-
},
|
|
1759
|
-
/**
|
|
1760
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.GetRole
|
|
1761
|
-
*/
|
|
1762
|
-
getRole: {
|
|
1763
|
-
methodKind: "unary";
|
|
1764
|
-
input: typeof GetRoleRequestSchema;
|
|
1765
|
-
output: typeof RoleSchema;
|
|
1766
|
-
},
|
|
1767
|
-
/**
|
|
1768
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.UpdateRole
|
|
1769
|
-
*/
|
|
1770
|
-
updateRole: {
|
|
1771
|
-
methodKind: "unary";
|
|
1772
|
-
input: typeof UpdateRoleRequestSchema;
|
|
1773
|
-
output: typeof RoleSchema;
|
|
1774
|
-
},
|
|
1775
|
-
/**
|
|
1776
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.DeleteRole
|
|
1777
|
-
*/
|
|
1778
|
-
deleteRole: {
|
|
1779
|
-
methodKind: "unary";
|
|
1780
|
-
input: typeof DeleteRoleRequestSchema;
|
|
1781
|
-
output: typeof DeleteRoleResponseSchema;
|
|
1782
|
-
},
|
|
1783
|
-
/**
|
|
1784
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListGroups
|
|
1785
|
-
*/
|
|
1786
|
-
listGroups: {
|
|
1787
|
-
methodKind: "unary";
|
|
1788
|
-
input: typeof ListGroupsRequestSchema;
|
|
1789
|
-
output: typeof ListGroupsResponseSchema;
|
|
1790
|
-
},
|
|
1791
|
-
/**
|
|
1792
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.CreateGroup
|
|
1793
|
-
*/
|
|
1794
|
-
createGroup: {
|
|
1795
|
-
methodKind: "unary";
|
|
1796
|
-
input: typeof CreateGroupRequestSchema;
|
|
1797
|
-
output: typeof GroupSchema;
|
|
1798
|
-
},
|
|
1799
|
-
/**
|
|
1800
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.GetGroup
|
|
1801
|
-
*/
|
|
1802
|
-
getGroup: {
|
|
1803
|
-
methodKind: "unary";
|
|
1804
|
-
input: typeof GetGroupRequestSchema;
|
|
1805
|
-
output: typeof GroupSchema;
|
|
1806
|
-
},
|
|
1807
|
-
/**
|
|
1808
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.UpdateGroup
|
|
1809
|
-
*/
|
|
1810
|
-
updateGroup: {
|
|
1811
|
-
methodKind: "unary";
|
|
1812
|
-
input: typeof UpdateGroupRequestSchema;
|
|
1813
|
-
output: typeof GroupSchema;
|
|
1814
|
-
},
|
|
1815
|
-
/**
|
|
1816
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.DeleteGroup
|
|
1817
|
-
*/
|
|
1818
|
-
deleteGroup: {
|
|
1819
|
-
methodKind: "unary";
|
|
1820
|
-
input: typeof DeleteGroupRequestSchema;
|
|
1821
|
-
output: typeof DeleteGroupResponseSchema;
|
|
1822
|
-
},
|
|
1823
|
-
/**
|
|
1824
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListGroupMembers
|
|
1825
|
-
*/
|
|
1826
|
-
listGroupMembers: {
|
|
1827
|
-
methodKind: "unary";
|
|
1828
|
-
input: typeof ListGroupMembersRequestSchema;
|
|
1829
|
-
output: typeof ListGroupMembersResponseSchema;
|
|
1830
|
-
},
|
|
1831
|
-
/**
|
|
1832
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.AddGroupMember
|
|
1833
|
-
*/
|
|
1834
|
-
addGroupMember: {
|
|
1835
|
-
methodKind: "unary";
|
|
1836
|
-
input: typeof AddGroupMemberRequestSchema;
|
|
1837
|
-
output: typeof GroupMembershipSchema;
|
|
1838
|
-
},
|
|
1839
|
-
/**
|
|
1840
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.RemoveGroupMember
|
|
1841
|
-
*/
|
|
1842
|
-
removeGroupMember: {
|
|
1843
|
-
methodKind: "unary";
|
|
1844
|
-
input: typeof RemoveGroupMemberRequestSchema;
|
|
1845
|
-
output: typeof RemoveGroupMemberResponseSchema;
|
|
1846
|
-
},
|
|
1847
|
-
/**
|
|
1848
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.AssignUserRole
|
|
1849
|
-
*/
|
|
1850
|
-
assignUserRole: {
|
|
1851
|
-
methodKind: "unary";
|
|
1852
|
-
input: typeof AssignUserRoleRequestSchema;
|
|
1853
|
-
output: typeof RoleAssignmentSchema;
|
|
1854
|
-
},
|
|
1855
|
-
/**
|
|
1856
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.UnassignUserRole
|
|
1857
|
-
*/
|
|
1858
|
-
unassignUserRole: {
|
|
1859
|
-
methodKind: "unary";
|
|
1860
|
-
input: typeof UnassignUserRoleRequestSchema;
|
|
1861
|
-
output: typeof UnassignUserRoleResponseSchema;
|
|
1862
|
-
},
|
|
1863
|
-
/**
|
|
1864
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListUserAssignments
|
|
1865
|
-
*/
|
|
1866
|
-
listUserAssignments: {
|
|
1867
|
-
methodKind: "unary";
|
|
1868
|
-
input: typeof ListUserAssignmentsRequestSchema;
|
|
1869
|
-
output: typeof ListUserAssignmentsResponseSchema;
|
|
1870
|
-
},
|
|
1871
|
-
/**
|
|
1872
|
-
* AssignGroupRole / UnassignGroupRole / ListRoleMembers have no REST route
|
|
1873
|
-
* yet — gRPC-only until HEA-969 adds the missing endpoints.
|
|
1874
|
-
*
|
|
1875
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.AssignGroupRole
|
|
1876
|
-
*/
|
|
1877
|
-
assignGroupRole: {
|
|
1878
|
-
methodKind: "unary";
|
|
1879
|
-
input: typeof AssignGroupRoleRequestSchema;
|
|
1880
|
-
output: typeof RoleAssignmentSchema;
|
|
1881
|
-
},
|
|
1882
|
-
/**
|
|
1883
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.UnassignGroupRole
|
|
1884
|
-
*/
|
|
1885
|
-
unassignGroupRole: {
|
|
1886
|
-
methodKind: "unary";
|
|
1887
|
-
input: typeof UnassignGroupRoleRequestSchema;
|
|
1888
|
-
output: typeof UnassignGroupRoleResponseSchema;
|
|
1889
|
-
},
|
|
1890
|
-
/**
|
|
1891
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListRoleMembers
|
|
1892
|
-
*/
|
|
1893
|
-
listRoleMembers: {
|
|
1894
|
-
methodKind: "unary";
|
|
1895
|
-
input: typeof ListRoleMembersRequestSchema;
|
|
1896
|
-
output: typeof ListRoleMembersResponseSchema;
|
|
1897
|
-
},
|
|
1898
|
-
/**
|
|
1899
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ResolveEffectivePermissions
|
|
1900
|
-
*/
|
|
1901
|
-
resolveEffectivePermissions: {
|
|
1902
|
-
methodKind: "unary";
|
|
1903
|
-
input: typeof ResolveEffectivePermissionsRequestSchema;
|
|
1904
|
-
output: typeof ResolveEffectivePermissionsResponseSchema;
|
|
1905
|
-
},
|
|
1906
|
-
/**
|
|
1907
|
-
* User extras: direct per-user permission grants outside of roles.
|
|
1908
|
-
* No REST routes yet — gRPC-only until HEA-969.
|
|
1909
|
-
*
|
|
1910
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.GrantUserPermission
|
|
1911
|
-
*/
|
|
1912
|
-
grantUserPermission: {
|
|
1913
|
-
methodKind: "unary";
|
|
1914
|
-
input: typeof GrantUserPermissionRequestSchema;
|
|
1915
|
-
output: typeof GrantUserPermissionResponseSchema;
|
|
1916
|
-
},
|
|
1917
|
-
/**
|
|
1918
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.RevokeUserPermission
|
|
1919
|
-
*/
|
|
1920
|
-
revokeUserPermission: {
|
|
1921
|
-
methodKind: "unary";
|
|
1922
|
-
input: typeof RevokeUserPermissionRequestSchema;
|
|
1923
|
-
output: typeof RevokeUserPermissionResponseSchema;
|
|
1924
|
-
},
|
|
1925
|
-
/**
|
|
1926
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListUserPermissions
|
|
1927
|
-
*/
|
|
1928
|
-
listUserPermissions: {
|
|
1929
|
-
methodKind: "unary";
|
|
1930
|
-
input: typeof ListUserPermissionsRequestSchema;
|
|
1931
|
-
output: typeof ListUserPermissionsResponseSchema;
|
|
1932
|
-
},
|
|
1933
|
-
/**
|
|
1934
|
-
* Additional org roles: per-user role assignments scoped to an org.
|
|
1935
|
-
* No REST routes yet — gRPC-only until HEA-969.
|
|
1936
|
-
*
|
|
1937
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.AddAdditionalRole
|
|
1938
|
-
*/
|
|
1939
|
-
addAdditionalRole: {
|
|
1940
|
-
methodKind: "unary";
|
|
1941
|
-
input: typeof AddAdditionalRoleRequestSchema;
|
|
1942
|
-
output: typeof AddAdditionalRoleResponseSchema;
|
|
1943
|
-
},
|
|
1944
|
-
/**
|
|
1945
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.RemoveAdditionalRole
|
|
1946
|
-
*/
|
|
1947
|
-
removeAdditionalRole: {
|
|
1948
|
-
methodKind: "unary";
|
|
1949
|
-
input: typeof RemoveAdditionalRoleRequestSchema;
|
|
1950
|
-
output: typeof RemoveAdditionalRoleResponseSchema;
|
|
1951
|
-
},
|
|
1952
|
-
/**
|
|
1953
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListAdditionalRoles
|
|
1954
|
-
*/
|
|
1955
|
-
listAdditionalRoles: {
|
|
1956
|
-
methodKind: "unary";
|
|
1957
|
-
input: typeof ListAdditionalRolesRequestSchema;
|
|
1958
|
-
output: typeof ListAdditionalRolesResponseSchema;
|
|
1959
|
-
},
|
|
1960
|
-
/**
|
|
1961
|
-
* Read-only realm-level lookups — gRPC-only until HEA-969.
|
|
1962
|
-
*
|
|
1963
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListRealmPermissions
|
|
1964
|
-
*/
|
|
1965
|
-
listRealmPermissions: {
|
|
1966
|
-
methodKind: "unary";
|
|
1967
|
-
input: typeof ListRealmPermissionsRequestSchema;
|
|
1968
|
-
output: typeof ListRealmPermissionsResponseSchema;
|
|
1969
|
-
},
|
|
1970
|
-
/**
|
|
1971
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListRealmRoles
|
|
1972
|
-
*/
|
|
1973
|
-
listRealmRoles: {
|
|
1974
|
-
methodKind: "unary";
|
|
1975
|
-
input: typeof ListRealmRolesRequestSchema;
|
|
1976
|
-
output: typeof ListRealmRolesResponseSchema;
|
|
1977
|
-
},
|
|
1978
|
-
/**
|
|
1979
|
-
* Revoke OAuth consent for a specific (user, client) pair.
|
|
1980
|
-
*
|
|
1981
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.RevokeConsent
|
|
1982
|
-
*/
|
|
1983
|
-
revokeConsent: {
|
|
1984
|
-
methodKind: "unary";
|
|
1985
|
-
input: typeof RevokeConsentRequestSchema;
|
|
1986
|
-
output: typeof RevokeConsentResponseSchema;
|
|
1987
|
-
},
|
|
1988
|
-
/**
|
|
1989
|
-
* List all active consents for a user.
|
|
1990
|
-
*
|
|
1991
|
-
* @generated from rpc hearth.rbac.v1.RbacAdminService.ListUserConsents
|
|
1992
|
-
*/
|
|
1993
|
-
listUserConsents: {
|
|
1994
|
-
methodKind: "unary";
|
|
1995
|
-
input: typeof ListUserConsentsRequestSchema;
|
|
1996
|
-
output: typeof ListUserConsentsResponseSchema;
|
|
1997
|
-
},
|
|
1998
|
-
}> = /*@__PURE__*/
|
|
1999
|
-
serviceDesc(file_hearth_rbac_v1_rbac, 0);
|
|
2000
|
-
|