@alis-build/alis-open-iam-v1 1.22.0 → 1.23.0
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/alis/open/iam/v1/group_pb.d.ts +172 -1
- package/alis/open/iam/v1/group_pb.js +30 -1
- package/alis/open/iam/v1/iam_pb.d.ts +91 -1
- package/alis/open/iam/v1/iam_pb.js +1 -1
- package/alis/open/iam/v1/oauth_pb.d.ts +409 -1
- package/alis/open/iam/v1/oauth_pb.js +3 -1
- package/alis/open/iam/v1/role_pb.d.ts +55 -1
- package/alis/open/iam/v1/role_pb.js +1 -1
- package/alis/open/iam/v1/user_pb.d.ts +756 -1
- package/alis/open/iam/v1/user_pb.js +5 -1
- package/package.json +1 -1
|
@@ -1,7 +1,34 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
|
|
2
2
|
// @generated from file alis/open/iam/v1/group.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
+
// Manages the users, groups, and roles of an Alis product deployment, and
|
|
6
|
+
// configures how its users sign in.
|
|
7
|
+
//
|
|
8
|
+
// Services:
|
|
9
|
+
//
|
|
10
|
+
// - `UsersService` manages `User` resources (`users/{user}`). Besides the
|
|
11
|
+
// standard methods it has self-service RPCs for the signed-in user
|
|
12
|
+
// (`RetrieveMyUser`, `EditMyInfo`, `EditMyMetadata`, `RemoveMyUser`) and
|
|
13
|
+
// masked reads (`MaskedUser`) that hide sensitive details such as the email
|
|
14
|
+
// address.
|
|
15
|
+
// - `GroupsService` manages `Group` resources (`groups/{group}`), groups of
|
|
16
|
+
// users.
|
|
17
|
+
//
|
|
18
|
+
// Both services expose the `google.iam.v1` policy RPCs plus `AddIamBindings`
|
|
19
|
+
// and `RemoveIamBindings`. The request messages for those two RPCs are defined
|
|
20
|
+
// here and reused by other packages for their own IAM-protected resources.
|
|
21
|
+
//
|
|
22
|
+
// Other types:
|
|
23
|
+
//
|
|
24
|
+
// - `Role` (`roles/{role}`): a set of permissions, usually gRPC method names,
|
|
25
|
+
// that can be bound to principals on the listed resource types.
|
|
26
|
+
// - `IamConfig`: optional deployment config that creates an Alis-managed OAuth
|
|
27
|
+
// reverse proxy endpoint, with its auth providers, self-signup rules and
|
|
28
|
+
// cookie domains.
|
|
29
|
+
// - `IdentityProvider`: the providers a user can sign in with (Google,
|
|
30
|
+
// Microsoft, email, LinkedIn, Apple).
|
|
31
|
+
|
|
5
32
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
33
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
34
|
import type { EmptySchema, FieldMask, FieldMaskJson, Timestamp, TimestampJson } from "@bufbuild/protobuf/wkt";
|
|
@@ -15,60 +42,86 @@ import type { AddIamBindingsRequestSchema, RemoveIamBindingsRequestSchema } from
|
|
|
15
42
|
export declare const file_alis_open_iam_v1_group: GenFile;
|
|
16
43
|
|
|
17
44
|
/**
|
|
45
|
+
* A group of users
|
|
46
|
+
*
|
|
18
47
|
* @generated from message alis.open.iam.v1.Group
|
|
19
48
|
*/
|
|
20
49
|
export declare type Group = Message<"alis.open.iam.v1.Group"> & {
|
|
21
50
|
/**
|
|
51
|
+
* The unique name of the Group which cannot be changed.
|
|
52
|
+
* Format: groups/([a-z0-9-]{2,50})
|
|
53
|
+
*
|
|
22
54
|
* @generated from field: string name = 1;
|
|
23
55
|
*/
|
|
24
56
|
name: string;
|
|
25
57
|
|
|
26
58
|
/**
|
|
59
|
+
* The display name of the group
|
|
60
|
+
*
|
|
27
61
|
* @generated from field: string display_name = 2;
|
|
28
62
|
*/
|
|
29
63
|
displayName: string;
|
|
30
64
|
|
|
31
65
|
/**
|
|
66
|
+
* The description of the group
|
|
67
|
+
*
|
|
32
68
|
* @generated from field: string description = 3;
|
|
33
69
|
*/
|
|
34
70
|
description: string;
|
|
35
71
|
|
|
36
72
|
/**
|
|
73
|
+
* The time the group was last updated
|
|
74
|
+
*
|
|
37
75
|
* @generated from field: google.protobuf.Timestamp update_time = 98;
|
|
38
76
|
*/
|
|
39
77
|
updateTime?: Timestamp | undefined;
|
|
40
78
|
|
|
41
79
|
/**
|
|
80
|
+
* The time the group was created
|
|
81
|
+
*
|
|
42
82
|
* @generated from field: google.protobuf.Timestamp create_time = 99;
|
|
43
83
|
*/
|
|
44
84
|
createTime?: Timestamp | undefined;
|
|
45
85
|
};
|
|
46
86
|
|
|
47
87
|
/**
|
|
88
|
+
* A group of users
|
|
89
|
+
*
|
|
48
90
|
* @generated from message alis.open.iam.v1.Group
|
|
49
91
|
*/
|
|
50
92
|
export declare type GroupJson = {
|
|
51
93
|
/**
|
|
94
|
+
* The unique name of the Group which cannot be changed.
|
|
95
|
+
* Format: groups/([a-z0-9-]{2,50})
|
|
96
|
+
*
|
|
52
97
|
* @generated from field: string name = 1;
|
|
53
98
|
*/
|
|
54
99
|
name?: string;
|
|
55
100
|
|
|
56
101
|
/**
|
|
102
|
+
* The display name of the group
|
|
103
|
+
*
|
|
57
104
|
* @generated from field: string display_name = 2;
|
|
58
105
|
*/
|
|
59
106
|
displayName?: string;
|
|
60
107
|
|
|
61
108
|
/**
|
|
109
|
+
* The description of the group
|
|
110
|
+
*
|
|
62
111
|
* @generated from field: string description = 3;
|
|
63
112
|
*/
|
|
64
113
|
description?: string;
|
|
65
114
|
|
|
66
115
|
/**
|
|
116
|
+
* The time the group was last updated
|
|
117
|
+
*
|
|
67
118
|
* @generated from field: google.protobuf.Timestamp update_time = 98;
|
|
68
119
|
*/
|
|
69
120
|
updateTime?: TimestampJson;
|
|
70
121
|
|
|
71
122
|
/**
|
|
123
|
+
* The time the group was created
|
|
124
|
+
*
|
|
72
125
|
* @generated from field: google.protobuf.Timestamp create_time = 99;
|
|
73
126
|
*/
|
|
74
127
|
createTime?: TimestampJson;
|
|
@@ -81,30 +134,46 @@ export declare type GroupJson = {
|
|
|
81
134
|
export declare const GroupSchema: GenMessage<Group, {jsonType: GroupJson}>;
|
|
82
135
|
|
|
83
136
|
/**
|
|
137
|
+
* The request message for the GetGroup method.
|
|
138
|
+
*
|
|
84
139
|
* @generated from message alis.open.iam.v1.GetGroupRequest
|
|
85
140
|
*/
|
|
86
141
|
export declare type GetGroupRequest = Message<"alis.open.iam.v1.GetGroupRequest"> & {
|
|
87
142
|
/**
|
|
143
|
+
* The unique name of the Group.
|
|
144
|
+
* Format: groups/([a-z0-9-]{2,50})
|
|
145
|
+
*
|
|
88
146
|
* @generated from field: string name = 1;
|
|
89
147
|
*/
|
|
90
148
|
name: string;
|
|
91
149
|
|
|
92
150
|
/**
|
|
151
|
+
* The fields to return in snake_case.
|
|
152
|
+
* All fields are returned if not set.
|
|
153
|
+
*
|
|
93
154
|
* @generated from field: google.protobuf.FieldMask read_mask = 2;
|
|
94
155
|
*/
|
|
95
156
|
readMask?: FieldMask | undefined;
|
|
96
157
|
};
|
|
97
158
|
|
|
98
159
|
/**
|
|
160
|
+
* The request message for the GetGroup method.
|
|
161
|
+
*
|
|
99
162
|
* @generated from message alis.open.iam.v1.GetGroupRequest
|
|
100
163
|
*/
|
|
101
164
|
export declare type GetGroupRequestJson = {
|
|
102
165
|
/**
|
|
166
|
+
* The unique name of the Group.
|
|
167
|
+
* Format: groups/([a-z0-9-]{2,50})
|
|
168
|
+
*
|
|
103
169
|
* @generated from field: string name = 1;
|
|
104
170
|
*/
|
|
105
171
|
name?: string;
|
|
106
172
|
|
|
107
173
|
/**
|
|
174
|
+
* The fields to return in snake_case.
|
|
175
|
+
* All fields are returned if not set.
|
|
176
|
+
*
|
|
108
177
|
* @generated from field: google.protobuf.FieldMask read_mask = 2;
|
|
109
178
|
*/
|
|
110
179
|
readMask?: FieldMaskJson;
|
|
@@ -117,20 +186,28 @@ export declare type GetGroupRequestJson = {
|
|
|
117
186
|
export declare const GetGroupRequestSchema: GenMessage<GetGroupRequest, {jsonType: GetGroupRequestJson}>;
|
|
118
187
|
|
|
119
188
|
/**
|
|
189
|
+
* The request message for the CreateGroup method.
|
|
190
|
+
*
|
|
120
191
|
* @generated from message alis.open.iam.v1.CreateGroupRequest
|
|
121
192
|
*/
|
|
122
193
|
export declare type CreateGroupRequest = Message<"alis.open.iam.v1.CreateGroupRequest"> & {
|
|
123
194
|
/**
|
|
195
|
+
* The group to create
|
|
196
|
+
*
|
|
124
197
|
* @generated from field: alis.open.iam.v1.Group group = 1;
|
|
125
198
|
*/
|
|
126
199
|
group?: Group | undefined;
|
|
127
200
|
};
|
|
128
201
|
|
|
129
202
|
/**
|
|
203
|
+
* The request message for the CreateGroup method.
|
|
204
|
+
*
|
|
130
205
|
* @generated from message alis.open.iam.v1.CreateGroupRequest
|
|
131
206
|
*/
|
|
132
207
|
export declare type CreateGroupRequestJson = {
|
|
133
208
|
/**
|
|
209
|
+
* The group to create
|
|
210
|
+
*
|
|
134
211
|
* @generated from field: alis.open.iam.v1.Group group = 1;
|
|
135
212
|
*/
|
|
136
213
|
group?: GroupJson;
|
|
@@ -143,30 +220,42 @@ export declare type CreateGroupRequestJson = {
|
|
|
143
220
|
export declare const CreateGroupRequestSchema: GenMessage<CreateGroupRequest, {jsonType: CreateGroupRequestJson}>;
|
|
144
221
|
|
|
145
222
|
/**
|
|
223
|
+
* Request message for the UpdateGroup method.
|
|
224
|
+
*
|
|
146
225
|
* @generated from message alis.open.iam.v1.UpdateGroupRequest
|
|
147
226
|
*/
|
|
148
227
|
export declare type UpdateGroupRequest = Message<"alis.open.iam.v1.UpdateGroupRequest"> & {
|
|
149
228
|
/**
|
|
229
|
+
* The group to update
|
|
230
|
+
*
|
|
150
231
|
* @generated from field: alis.open.iam.v1.Group group = 1;
|
|
151
232
|
*/
|
|
152
233
|
group?: Group | undefined;
|
|
153
234
|
|
|
154
235
|
/**
|
|
236
|
+
* The set of fields that should be updated
|
|
237
|
+
*
|
|
155
238
|
* @generated from field: google.protobuf.FieldMask update_mask = 2;
|
|
156
239
|
*/
|
|
157
240
|
updateMask?: FieldMask | undefined;
|
|
158
241
|
};
|
|
159
242
|
|
|
160
243
|
/**
|
|
244
|
+
* Request message for the UpdateGroup method.
|
|
245
|
+
*
|
|
161
246
|
* @generated from message alis.open.iam.v1.UpdateGroupRequest
|
|
162
247
|
*/
|
|
163
248
|
export declare type UpdateGroupRequestJson = {
|
|
164
249
|
/**
|
|
250
|
+
* The group to update
|
|
251
|
+
*
|
|
165
252
|
* @generated from field: alis.open.iam.v1.Group group = 1;
|
|
166
253
|
*/
|
|
167
254
|
group?: GroupJson;
|
|
168
255
|
|
|
169
256
|
/**
|
|
257
|
+
* The set of fields that should be updated
|
|
258
|
+
*
|
|
170
259
|
* @generated from field: google.protobuf.FieldMask update_mask = 2;
|
|
171
260
|
*/
|
|
172
261
|
updateMask?: FieldMaskJson;
|
|
@@ -179,20 +268,30 @@ export declare type UpdateGroupRequestJson = {
|
|
|
179
268
|
export declare const UpdateGroupRequestSchema: GenMessage<UpdateGroupRequest, {jsonType: UpdateGroupRequestJson}>;
|
|
180
269
|
|
|
181
270
|
/**
|
|
271
|
+
* The request message for the DeleteGroup method.
|
|
272
|
+
*
|
|
182
273
|
* @generated from message alis.open.iam.v1.DeleteGroupRequest
|
|
183
274
|
*/
|
|
184
275
|
export declare type DeleteGroupRequest = Message<"alis.open.iam.v1.DeleteGroupRequest"> & {
|
|
185
276
|
/**
|
|
277
|
+
* The unique name of the Group.
|
|
278
|
+
* Format: groups/([a-z0-9-]{2,50})
|
|
279
|
+
*
|
|
186
280
|
* @generated from field: string name = 1;
|
|
187
281
|
*/
|
|
188
282
|
name: string;
|
|
189
283
|
};
|
|
190
284
|
|
|
191
285
|
/**
|
|
286
|
+
* The request message for the DeleteGroup method.
|
|
287
|
+
*
|
|
192
288
|
* @generated from message alis.open.iam.v1.DeleteGroupRequest
|
|
193
289
|
*/
|
|
194
290
|
export declare type DeleteGroupRequestJson = {
|
|
195
291
|
/**
|
|
292
|
+
* The unique name of the Group.
|
|
293
|
+
* Format: groups/([a-z0-9-]{2,50})
|
|
294
|
+
*
|
|
196
295
|
* @generated from field: string name = 1;
|
|
197
296
|
*/
|
|
198
297
|
name?: string;
|
|
@@ -205,50 +304,72 @@ export declare type DeleteGroupRequestJson = {
|
|
|
205
304
|
export declare const DeleteGroupRequestSchema: GenMessage<DeleteGroupRequest, {jsonType: DeleteGroupRequestJson}>;
|
|
206
305
|
|
|
207
306
|
/**
|
|
307
|
+
* The request message for the ListGroups method.
|
|
308
|
+
*
|
|
208
309
|
* @generated from message alis.open.iam.v1.ListGroupsRequest
|
|
209
310
|
*/
|
|
210
311
|
export declare type ListGroupsRequest = Message<"alis.open.iam.v1.ListGroupsRequest"> & {
|
|
211
312
|
/**
|
|
313
|
+
* The maximum number of Groups to return.
|
|
314
|
+
*
|
|
212
315
|
* @generated from field: int32 page_size = 2;
|
|
213
316
|
*/
|
|
214
317
|
pageSize: number;
|
|
215
318
|
|
|
216
319
|
/**
|
|
320
|
+
* A page token, received from a previous ListGroups call.
|
|
321
|
+
*
|
|
217
322
|
* @generated from field: string page_token = 3;
|
|
218
323
|
*/
|
|
219
324
|
pageToken: string;
|
|
220
325
|
|
|
221
326
|
/**
|
|
327
|
+
* The fields to return in snake_case.
|
|
328
|
+
* All fields are returned if not set.
|
|
329
|
+
*
|
|
222
330
|
* @generated from field: google.protobuf.FieldMask read_mask = 4;
|
|
223
331
|
*/
|
|
224
332
|
readMask?: FieldMask | undefined;
|
|
225
333
|
|
|
226
334
|
/**
|
|
335
|
+
* The filter to apply.
|
|
336
|
+
*
|
|
227
337
|
* @generated from field: string filter = 5;
|
|
228
338
|
*/
|
|
229
339
|
filter: string;
|
|
230
340
|
};
|
|
231
341
|
|
|
232
342
|
/**
|
|
343
|
+
* The request message for the ListGroups method.
|
|
344
|
+
*
|
|
233
345
|
* @generated from message alis.open.iam.v1.ListGroupsRequest
|
|
234
346
|
*/
|
|
235
347
|
export declare type ListGroupsRequestJson = {
|
|
236
348
|
/**
|
|
349
|
+
* The maximum number of Groups to return.
|
|
350
|
+
*
|
|
237
351
|
* @generated from field: int32 page_size = 2;
|
|
238
352
|
*/
|
|
239
353
|
pageSize?: number;
|
|
240
354
|
|
|
241
355
|
/**
|
|
356
|
+
* A page token, received from a previous ListGroups call.
|
|
357
|
+
*
|
|
242
358
|
* @generated from field: string page_token = 3;
|
|
243
359
|
*/
|
|
244
360
|
pageToken?: string;
|
|
245
361
|
|
|
246
362
|
/**
|
|
363
|
+
* The fields to return in snake_case.
|
|
364
|
+
* All fields are returned if not set.
|
|
365
|
+
*
|
|
247
366
|
* @generated from field: google.protobuf.FieldMask read_mask = 4;
|
|
248
367
|
*/
|
|
249
368
|
readMask?: FieldMaskJson;
|
|
250
369
|
|
|
251
370
|
/**
|
|
371
|
+
* The filter to apply.
|
|
372
|
+
*
|
|
252
373
|
* @generated from field: string filter = 5;
|
|
253
374
|
*/
|
|
254
375
|
filter?: string;
|
|
@@ -261,30 +382,42 @@ export declare type ListGroupsRequestJson = {
|
|
|
261
382
|
export declare const ListGroupsRequestSchema: GenMessage<ListGroupsRequest, {jsonType: ListGroupsRequestJson}>;
|
|
262
383
|
|
|
263
384
|
/**
|
|
385
|
+
* The response message for the ListGroups method.
|
|
386
|
+
*
|
|
264
387
|
* @generated from message alis.open.iam.v1.ListGroupsResponse
|
|
265
388
|
*/
|
|
266
389
|
export declare type ListGroupsResponse = Message<"alis.open.iam.v1.ListGroupsResponse"> & {
|
|
267
390
|
/**
|
|
391
|
+
* The Groups.
|
|
392
|
+
*
|
|
268
393
|
* @generated from field: repeated alis.open.iam.v1.Group groups = 1;
|
|
269
394
|
*/
|
|
270
395
|
groups: Group[];
|
|
271
396
|
|
|
272
397
|
/**
|
|
398
|
+
* A token to retrieve the next page of results.
|
|
399
|
+
*
|
|
273
400
|
* @generated from field: string next_page_token = 2;
|
|
274
401
|
*/
|
|
275
402
|
nextPageToken: string;
|
|
276
403
|
};
|
|
277
404
|
|
|
278
405
|
/**
|
|
406
|
+
* The response message for the ListGroups method.
|
|
407
|
+
*
|
|
279
408
|
* @generated from message alis.open.iam.v1.ListGroupsResponse
|
|
280
409
|
*/
|
|
281
410
|
export declare type ListGroupsResponseJson = {
|
|
282
411
|
/**
|
|
412
|
+
* The Groups.
|
|
413
|
+
*
|
|
283
414
|
* @generated from field: repeated alis.open.iam.v1.Group groups = 1;
|
|
284
415
|
*/
|
|
285
416
|
groups?: GroupJson[];
|
|
286
417
|
|
|
287
418
|
/**
|
|
419
|
+
* A token to retrieve the next page of results.
|
|
420
|
+
*
|
|
288
421
|
* @generated from field: string next_page_token = 2;
|
|
289
422
|
*/
|
|
290
423
|
nextPageToken?: string;
|
|
@@ -297,20 +430,30 @@ export declare type ListGroupsResponseJson = {
|
|
|
297
430
|
export declare const ListGroupsResponseSchema: GenMessage<ListGroupsResponse, {jsonType: ListGroupsResponseJson}>;
|
|
298
431
|
|
|
299
432
|
/**
|
|
433
|
+
* The request message for the SyncGroup method.
|
|
434
|
+
*
|
|
300
435
|
* @generated from message alis.open.iam.v1.SyncGroupRequest
|
|
301
436
|
*/
|
|
302
437
|
export declare type SyncGroupRequest = Message<"alis.open.iam.v1.SyncGroupRequest"> & {
|
|
303
438
|
/**
|
|
439
|
+
* The group to sync
|
|
440
|
+
* Format: groups/*
|
|
441
|
+
*
|
|
304
442
|
* @generated from field: string group = 1;
|
|
305
443
|
*/
|
|
306
444
|
group: string;
|
|
307
445
|
};
|
|
308
446
|
|
|
309
447
|
/**
|
|
448
|
+
* The request message for the SyncGroup method.
|
|
449
|
+
*
|
|
310
450
|
* @generated from message alis.open.iam.v1.SyncGroupRequest
|
|
311
451
|
*/
|
|
312
452
|
export declare type SyncGroupRequestJson = {
|
|
313
453
|
/**
|
|
454
|
+
* The group to sync
|
|
455
|
+
* Format: groups/*
|
|
456
|
+
*
|
|
314
457
|
* @generated from field: string group = 1;
|
|
315
458
|
*/
|
|
316
459
|
group?: string;
|
|
@@ -323,12 +466,16 @@ export declare type SyncGroupRequestJson = {
|
|
|
323
466
|
export declare const SyncGroupRequestSchema: GenMessage<SyncGroupRequest, {jsonType: SyncGroupRequestJson}>;
|
|
324
467
|
|
|
325
468
|
/**
|
|
469
|
+
* The response message for the SyncGroup method.
|
|
470
|
+
*
|
|
326
471
|
* @generated from message alis.open.iam.v1.SyncGroupResponse
|
|
327
472
|
*/
|
|
328
473
|
export declare type SyncGroupResponse = Message<"alis.open.iam.v1.SyncGroupResponse"> & {
|
|
329
474
|
};
|
|
330
475
|
|
|
331
476
|
/**
|
|
477
|
+
* The response message for the SyncGroup method.
|
|
478
|
+
*
|
|
332
479
|
* @generated from message alis.open.iam.v1.SyncGroupResponse
|
|
333
480
|
*/
|
|
334
481
|
export declare type SyncGroupResponseJson = {
|
|
@@ -341,10 +488,14 @@ export declare type SyncGroupResponseJson = {
|
|
|
341
488
|
export declare const SyncGroupResponseSchema: GenMessage<SyncGroupResponse, {jsonType: SyncGroupResponseJson}>;
|
|
342
489
|
|
|
343
490
|
/**
|
|
491
|
+
* GroupsService provides RPCs for managing group resources.
|
|
492
|
+
*
|
|
344
493
|
* @generated from service alis.open.iam.v1.GroupsService
|
|
345
494
|
*/
|
|
346
495
|
export declare const GroupsService: GenService<{
|
|
347
496
|
/**
|
|
497
|
+
* Gets the IAM policy for a resource implemented in this service.
|
|
498
|
+
*
|
|
348
499
|
* @generated from rpc alis.open.iam.v1.GroupsService.GetIamPolicy
|
|
349
500
|
*/
|
|
350
501
|
getIamPolicy: {
|
|
@@ -353,6 +504,8 @@ export declare const GroupsService: GenService<{
|
|
|
353
504
|
output: typeof PolicySchema;
|
|
354
505
|
},
|
|
355
506
|
/**
|
|
507
|
+
* Sets the IAM policy for a resource implemented in this service.
|
|
508
|
+
*
|
|
356
509
|
* @generated from rpc alis.open.iam.v1.GroupsService.SetIamPolicy
|
|
357
510
|
*/
|
|
358
511
|
setIamPolicy: {
|
|
@@ -361,6 +514,8 @@ export declare const GroupsService: GenService<{
|
|
|
361
514
|
output: typeof PolicySchema;
|
|
362
515
|
},
|
|
363
516
|
/**
|
|
517
|
+
* Returns permissions that a caller has on the specified resource.
|
|
518
|
+
*
|
|
364
519
|
* @generated from rpc alis.open.iam.v1.GroupsService.TestIamPermissions
|
|
365
520
|
*/
|
|
366
521
|
testIamPermissions: {
|
|
@@ -369,6 +524,8 @@ export declare const GroupsService: GenService<{
|
|
|
369
524
|
output: typeof TestIamPermissionsResponseSchema;
|
|
370
525
|
},
|
|
371
526
|
/**
|
|
527
|
+
* Adds principals or updates the roles existing principals have on an IAM Policy protected resource.
|
|
528
|
+
*
|
|
372
529
|
* @generated from rpc alis.open.iam.v1.GroupsService.AddIamBindings
|
|
373
530
|
*/
|
|
374
531
|
addIamBindings: {
|
|
@@ -377,6 +534,8 @@ export declare const GroupsService: GenService<{
|
|
|
377
534
|
output: typeof PolicySchema;
|
|
378
535
|
},
|
|
379
536
|
/**
|
|
537
|
+
* Removes principals or some of the roles they have on an IAM Policy protected resource.
|
|
538
|
+
*
|
|
380
539
|
* @generated from rpc alis.open.iam.v1.GroupsService.RemoveIamBindings
|
|
381
540
|
*/
|
|
382
541
|
removeIamBindings: {
|
|
@@ -385,6 +544,8 @@ export declare const GroupsService: GenService<{
|
|
|
385
544
|
output: typeof PolicySchema;
|
|
386
545
|
},
|
|
387
546
|
/**
|
|
547
|
+
* Gets information about a Group.
|
|
548
|
+
*
|
|
388
549
|
* @generated from rpc alis.open.iam.v1.GroupsService.GetGroup
|
|
389
550
|
*/
|
|
390
551
|
getGroup: {
|
|
@@ -393,6 +554,8 @@ export declare const GroupsService: GenService<{
|
|
|
393
554
|
output: typeof GroupSchema;
|
|
394
555
|
},
|
|
395
556
|
/**
|
|
557
|
+
* Creates a new Group.
|
|
558
|
+
*
|
|
396
559
|
* @generated from rpc alis.open.iam.v1.GroupsService.CreateGroup
|
|
397
560
|
*/
|
|
398
561
|
createGroup: {
|
|
@@ -401,6 +564,8 @@ export declare const GroupsService: GenService<{
|
|
|
401
564
|
output: typeof GroupSchema;
|
|
402
565
|
},
|
|
403
566
|
/**
|
|
567
|
+
* Updates a Group.
|
|
568
|
+
*
|
|
404
569
|
* @generated from rpc alis.open.iam.v1.GroupsService.UpdateGroup
|
|
405
570
|
*/
|
|
406
571
|
updateGroup: {
|
|
@@ -409,6 +574,8 @@ export declare const GroupsService: GenService<{
|
|
|
409
574
|
output: typeof GroupSchema;
|
|
410
575
|
},
|
|
411
576
|
/**
|
|
577
|
+
* Deletes a Group.
|
|
578
|
+
*
|
|
412
579
|
* @generated from rpc alis.open.iam.v1.GroupsService.DeleteGroup
|
|
413
580
|
*/
|
|
414
581
|
deleteGroup: {
|
|
@@ -417,6 +584,8 @@ export declare const GroupsService: GenService<{
|
|
|
417
584
|
output: typeof EmptySchema;
|
|
418
585
|
},
|
|
419
586
|
/**
|
|
587
|
+
* Lists Groups. Results are sorted by name, ascending.
|
|
588
|
+
*
|
|
420
589
|
* @generated from rpc alis.open.iam.v1.GroupsService.ListGroups
|
|
421
590
|
*/
|
|
422
591
|
listGroups: {
|
|
@@ -425,6 +594,8 @@ export declare const GroupsService: GenService<{
|
|
|
425
594
|
output: typeof ListGroupsResponseSchema;
|
|
426
595
|
},
|
|
427
596
|
/**
|
|
597
|
+
* Syncs the specified group to its list of users
|
|
598
|
+
*
|
|
428
599
|
* @generated from rpc alis.open.iam.v1.GroupsService.SyncGroup
|
|
429
600
|
*/
|
|
430
601
|
syncGroup: {
|
|
@@ -1,7 +1,34 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
|
|
2
2
|
// @generated from file alis/open/iam/v1/group.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
+
// Manages the users, groups, and roles of an Alis product deployment, and
|
|
6
|
+
// configures how its users sign in.
|
|
7
|
+
//
|
|
8
|
+
// Services:
|
|
9
|
+
//
|
|
10
|
+
// - `UsersService` manages `User` resources (`users/{user}`). Besides the
|
|
11
|
+
// standard methods it has self-service RPCs for the signed-in user
|
|
12
|
+
// (`RetrieveMyUser`, `EditMyInfo`, `EditMyMetadata`, `RemoveMyUser`) and
|
|
13
|
+
// masked reads (`MaskedUser`) that hide sensitive details such as the email
|
|
14
|
+
// address.
|
|
15
|
+
// - `GroupsService` manages `Group` resources (`groups/{group}`), groups of
|
|
16
|
+
// users.
|
|
17
|
+
//
|
|
18
|
+
// Both services expose the `google.iam.v1` policy RPCs plus `AddIamBindings`
|
|
19
|
+
// and `RemoveIamBindings`. The request messages for those two RPCs are defined
|
|
20
|
+
// here and reused by other packages for their own IAM-protected resources.
|
|
21
|
+
//
|
|
22
|
+
// Other types:
|
|
23
|
+
//
|
|
24
|
+
// - `Role` (`roles/{role}`): a set of permissions, usually gRPC method names,
|
|
25
|
+
// that can be bound to principals on the listed resource types.
|
|
26
|
+
// - `IamConfig`: optional deployment config that creates an Alis-managed OAuth
|
|
27
|
+
// reverse proxy endpoint, with its auth providers, self-signup rules and
|
|
28
|
+
// cookie domains.
|
|
29
|
+
// - `IdentityProvider`: the providers a user can sign in with (Google,
|
|
30
|
+
// Microsoft, email, LinkedIn, Apple).
|
|
31
|
+
|
|
5
32
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
33
|
import { file_alis_open_iam_v1_iam } from "./iam_pb.js";
|
|
7
34
|
import { file_google_iam_v1_iam_policy } from "@alis-build/google-iam-v1/google/iam/v1/iam_policy_pb.js";
|
|
@@ -78,6 +105,8 @@ export const SyncGroupResponseSchema = /*@__PURE__*/
|
|
|
78
105
|
messageDesc(file_alis_open_iam_v1_group, 8);
|
|
79
106
|
|
|
80
107
|
/**
|
|
108
|
+
* GroupsService provides RPCs for managing group resources.
|
|
109
|
+
*
|
|
81
110
|
* @generated from service alis.open.iam.v1.GroupsService
|
|
82
111
|
*/
|
|
83
112
|
export const GroupsService = /*@__PURE__*/
|