@alis-build/alis-open-iam-v1 1.4.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 +299 -0
- package/alis/open/iam/v1/group_pb.js +84 -0
- package/alis/open/iam/v1/iam_pb.d.ts +126 -0
- package/alis/open/iam/v1/iam_pb.js +46 -0
- package/alis/open/iam/v1/oauth_pb.d.ts +352 -0
- package/alis/open/iam/v1/oauth_pb.js +109 -0
- package/alis/open/iam/v1/role_pb.d.ts +68 -0
- package/alis/open/iam/v1/role_pb.js +19 -0
- package/alis/open/iam/v1/user_pb.d.ts +1156 -0
- package/alis/open/iam/v1/user_pb.js +272 -0
- package/package.json +10 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/group.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { EmptySchema, FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import type { GetIamPolicyRequestSchema, SetIamPolicyRequestSchema, TestIamPermissionsRequestSchema, TestIamPermissionsResponseSchema } from "@alis-build/public-es/google/iam/v1/iam_policy_pb";
|
|
9
|
+
import type { PolicySchema } from "@alis-build/public-es/google/iam/v1/policy_pb";
|
|
10
|
+
import type { AddIamBindingsRequestSchema, RemoveIamBindingsRequestSchema } from "./iam_pb";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file alis/open/iam/v1/group.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_alis_open_iam_v1_group: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message alis.open.iam.v1.Group
|
|
19
|
+
*/
|
|
20
|
+
export declare type Group = Message<"alis.open.iam.v1.Group"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string name = 1;
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string display_name = 2;
|
|
28
|
+
*/
|
|
29
|
+
displayName: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: string description = 3;
|
|
33
|
+
*/
|
|
34
|
+
description: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: google.protobuf.Timestamp update_time = 98;
|
|
38
|
+
*/
|
|
39
|
+
updateTime?: Timestamp | undefined;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: google.protobuf.Timestamp create_time = 99;
|
|
43
|
+
*/
|
|
44
|
+
createTime?: Timestamp | undefined;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message alis.open.iam.v1.Group.
|
|
49
|
+
* Use `create(GroupSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export declare const GroupSchema: GenMessage<Group>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from message alis.open.iam.v1.GetGroupRequest
|
|
55
|
+
*/
|
|
56
|
+
export declare type GetGroupRequest = Message<"alis.open.iam.v1.GetGroupRequest"> & {
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: string name = 1;
|
|
59
|
+
*/
|
|
60
|
+
name: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: google.protobuf.FieldMask read_mask = 2;
|
|
64
|
+
*/
|
|
65
|
+
readMask?: FieldMask | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message alis.open.iam.v1.GetGroupRequest.
|
|
70
|
+
* Use `create(GetGroupRequestSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export declare const GetGroupRequestSchema: GenMessage<GetGroupRequest>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message alis.open.iam.v1.CreateGroupRequest
|
|
76
|
+
*/
|
|
77
|
+
export declare type CreateGroupRequest = Message<"alis.open.iam.v1.CreateGroupRequest"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: alis.open.iam.v1.Group group = 1;
|
|
80
|
+
*/
|
|
81
|
+
group?: Group | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message alis.open.iam.v1.CreateGroupRequest.
|
|
86
|
+
* Use `create(CreateGroupRequestSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const CreateGroupRequestSchema: GenMessage<CreateGroupRequest>;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from message alis.open.iam.v1.UpdateGroupRequest
|
|
92
|
+
*/
|
|
93
|
+
export declare type UpdateGroupRequest = Message<"alis.open.iam.v1.UpdateGroupRequest"> & {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: alis.open.iam.v1.Group group = 1;
|
|
96
|
+
*/
|
|
97
|
+
group?: Group | undefined;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 2;
|
|
101
|
+
*/
|
|
102
|
+
updateMask?: FieldMask | undefined;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message alis.open.iam.v1.UpdateGroupRequest.
|
|
107
|
+
* Use `create(UpdateGroupRequestSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export declare const UpdateGroupRequestSchema: GenMessage<UpdateGroupRequest>;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from message alis.open.iam.v1.DeleteGroupRequest
|
|
113
|
+
*/
|
|
114
|
+
export declare type DeleteGroupRequest = Message<"alis.open.iam.v1.DeleteGroupRequest"> & {
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: string name = 1;
|
|
117
|
+
*/
|
|
118
|
+
name: string;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message alis.open.iam.v1.DeleteGroupRequest.
|
|
123
|
+
* Use `create(DeleteGroupRequestSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export declare const DeleteGroupRequestSchema: GenMessage<DeleteGroupRequest>;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from message alis.open.iam.v1.ListGroupsRequest
|
|
129
|
+
*/
|
|
130
|
+
export declare type ListGroupsRequest = Message<"alis.open.iam.v1.ListGroupsRequest"> & {
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: int32 page_size = 2;
|
|
133
|
+
*/
|
|
134
|
+
pageSize: number;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: string page_token = 3;
|
|
138
|
+
*/
|
|
139
|
+
pageToken: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: google.protobuf.FieldMask read_mask = 4;
|
|
143
|
+
*/
|
|
144
|
+
readMask?: FieldMask | undefined;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: string filter = 5;
|
|
148
|
+
*/
|
|
149
|
+
filter: string;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message alis.open.iam.v1.ListGroupsRequest.
|
|
154
|
+
* Use `create(ListGroupsRequestSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const ListGroupsRequestSchema: GenMessage<ListGroupsRequest>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from message alis.open.iam.v1.ListGroupsResponse
|
|
160
|
+
*/
|
|
161
|
+
export declare type ListGroupsResponse = Message<"alis.open.iam.v1.ListGroupsResponse"> & {
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: repeated alis.open.iam.v1.Group groups = 1;
|
|
164
|
+
*/
|
|
165
|
+
groups: Group[];
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: string next_page_token = 2;
|
|
169
|
+
*/
|
|
170
|
+
nextPageToken: string;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message alis.open.iam.v1.ListGroupsResponse.
|
|
175
|
+
* Use `create(ListGroupsResponseSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const ListGroupsResponseSchema: GenMessage<ListGroupsResponse>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from message alis.open.iam.v1.SyncGroupRequest
|
|
181
|
+
*/
|
|
182
|
+
export declare type SyncGroupRequest = Message<"alis.open.iam.v1.SyncGroupRequest"> & {
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: string group = 1;
|
|
185
|
+
*/
|
|
186
|
+
group: string;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Describes the message alis.open.iam.v1.SyncGroupRequest.
|
|
191
|
+
* Use `create(SyncGroupRequestSchema)` to create a new message.
|
|
192
|
+
*/
|
|
193
|
+
export declare const SyncGroupRequestSchema: GenMessage<SyncGroupRequest>;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @generated from message alis.open.iam.v1.SyncGroupResponse
|
|
197
|
+
*/
|
|
198
|
+
export declare type SyncGroupResponse = Message<"alis.open.iam.v1.SyncGroupResponse"> & {
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Describes the message alis.open.iam.v1.SyncGroupResponse.
|
|
203
|
+
* Use `create(SyncGroupResponseSchema)` to create a new message.
|
|
204
|
+
*/
|
|
205
|
+
export declare const SyncGroupResponseSchema: GenMessage<SyncGroupResponse>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from service alis.open.iam.v1.GroupsService
|
|
209
|
+
*/
|
|
210
|
+
export declare const GroupsService: GenService<{
|
|
211
|
+
/**
|
|
212
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.GetIamPolicy
|
|
213
|
+
*/
|
|
214
|
+
getIamPolicy: {
|
|
215
|
+
methodKind: "unary";
|
|
216
|
+
input: typeof GetIamPolicyRequestSchema;
|
|
217
|
+
output: typeof PolicySchema;
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.SetIamPolicy
|
|
221
|
+
*/
|
|
222
|
+
setIamPolicy: {
|
|
223
|
+
methodKind: "unary";
|
|
224
|
+
input: typeof SetIamPolicyRequestSchema;
|
|
225
|
+
output: typeof PolicySchema;
|
|
226
|
+
},
|
|
227
|
+
/**
|
|
228
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.TestIamPermissions
|
|
229
|
+
*/
|
|
230
|
+
testIamPermissions: {
|
|
231
|
+
methodKind: "unary";
|
|
232
|
+
input: typeof TestIamPermissionsRequestSchema;
|
|
233
|
+
output: typeof TestIamPermissionsResponseSchema;
|
|
234
|
+
},
|
|
235
|
+
/**
|
|
236
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.AddIamBindings
|
|
237
|
+
*/
|
|
238
|
+
addIamBindings: {
|
|
239
|
+
methodKind: "unary";
|
|
240
|
+
input: typeof AddIamBindingsRequestSchema;
|
|
241
|
+
output: typeof PolicySchema;
|
|
242
|
+
},
|
|
243
|
+
/**
|
|
244
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.RemoveIamBindings
|
|
245
|
+
*/
|
|
246
|
+
removeIamBindings: {
|
|
247
|
+
methodKind: "unary";
|
|
248
|
+
input: typeof RemoveIamBindingsRequestSchema;
|
|
249
|
+
output: typeof PolicySchema;
|
|
250
|
+
},
|
|
251
|
+
/**
|
|
252
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.GetGroup
|
|
253
|
+
*/
|
|
254
|
+
getGroup: {
|
|
255
|
+
methodKind: "unary";
|
|
256
|
+
input: typeof GetGroupRequestSchema;
|
|
257
|
+
output: typeof GroupSchema;
|
|
258
|
+
},
|
|
259
|
+
/**
|
|
260
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.CreateGroup
|
|
261
|
+
*/
|
|
262
|
+
createGroup: {
|
|
263
|
+
methodKind: "unary";
|
|
264
|
+
input: typeof CreateGroupRequestSchema;
|
|
265
|
+
output: typeof GroupSchema;
|
|
266
|
+
},
|
|
267
|
+
/**
|
|
268
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.UpdateGroup
|
|
269
|
+
*/
|
|
270
|
+
updateGroup: {
|
|
271
|
+
methodKind: "unary";
|
|
272
|
+
input: typeof UpdateGroupRequestSchema;
|
|
273
|
+
output: typeof GroupSchema;
|
|
274
|
+
},
|
|
275
|
+
/**
|
|
276
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.DeleteGroup
|
|
277
|
+
*/
|
|
278
|
+
deleteGroup: {
|
|
279
|
+
methodKind: "unary";
|
|
280
|
+
input: typeof DeleteGroupRequestSchema;
|
|
281
|
+
output: typeof EmptySchema;
|
|
282
|
+
},
|
|
283
|
+
/**
|
|
284
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.ListGroups
|
|
285
|
+
*/
|
|
286
|
+
listGroups: {
|
|
287
|
+
methodKind: "unary";
|
|
288
|
+
input: typeof ListGroupsRequestSchema;
|
|
289
|
+
output: typeof ListGroupsResponseSchema;
|
|
290
|
+
},
|
|
291
|
+
/**
|
|
292
|
+
* @generated from rpc alis.open.iam.v1.GroupsService.SyncGroup
|
|
293
|
+
*/
|
|
294
|
+
syncGroup: {
|
|
295
|
+
methodKind: "unary";
|
|
296
|
+
input: typeof SyncGroupRequestSchema;
|
|
297
|
+
output: typeof SyncGroupResponseSchema;
|
|
298
|
+
},
|
|
299
|
+
}>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/group.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_alis_open_iam_v1_iam } from "./iam_pb";
|
|
7
|
+
import { file_google_iam_v1_iam_policy } from "@alis-build/public-es/google/iam/v1/iam_policy_pb";
|
|
8
|
+
import { file_google_iam_v1_policy } from "@alis-build/public-es/google/iam/v1/policy_pb";
|
|
9
|
+
import { file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file alis/open/iam/v1/group.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_alis_open_iam_v1_group = /*@__PURE__*/
|
|
15
|
+
fileDesc("ChxhbGlzL29wZW4vaWFtL3YxL2dyb3VwLnByb3RvEhBhbGlzLm9wZW4uaWFtLnYxIqIBCgVHcm91cBIMCgRuYW1lGAEgASgJEhQKDGRpc3BsYXlfbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRIvCgt1cGRhdGVfdGltZRhiIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLY3JlYXRlX3RpbWUYYyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIk4KD0dldEdyb3VwUmVxdWVzdBIMCgRuYW1lGAEgASgJEi0KCXJlYWRfbWFzaxgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE1hc2siPAoSQ3JlYXRlR3JvdXBSZXF1ZXN0EiYKBWdyb3VwGAEgASgLMhcuYWxpcy5vcGVuLmlhbS52MS5Hcm91cCJtChJVcGRhdGVHcm91cFJlcXVlc3QSJgoFZ3JvdXAYASABKAsyFy5hbGlzLm9wZW4uaWFtLnYxLkdyb3VwEi8KC3VwZGF0ZV9tYXNrGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzayIiChJEZWxldGVHcm91cFJlcXVlc3QSDAoEbmFtZRgBIAEoCSJ/ChFMaXN0R3JvdXBzUmVxdWVzdBIRCglwYWdlX3NpemUYAiABKAUSEgoKcGFnZV90b2tlbhgDIAEoCRItCglyZWFkX21hc2sYBCABKAsyGi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrEg4KBmZpbHRlchgFIAEoCUoECAEQAiJWChJMaXN0R3JvdXBzUmVzcG9uc2USJwoGZ3JvdXBzGAEgAygLMhcuYWxpcy5vcGVuLmlhbS52MS5Hcm91cBIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKAkiIQoQU3luY0dyb3VwUmVxdWVzdBINCgVncm91cBgBIAEoCSITChFTeW5jR3JvdXBSZXNwb25zZTKwBwoNR3JvdXBzU2VydmljZRJLCgxHZXRJYW1Qb2xpY3kSIi5nb29nbGUuaWFtLnYxLkdldElhbVBvbGljeVJlcXVlc3QaFS5nb29nbGUuaWFtLnYxLlBvbGljeSIAEksKDFNldElhbVBvbGljeRIiLmdvb2dsZS5pYW0udjEuU2V0SWFtUG9saWN5UmVxdWVzdBoVLmdvb2dsZS5pYW0udjEuUG9saWN5IgASawoSVGVzdElhbVBlcm1pc3Npb25zEiguZ29vZ2xlLmlhbS52MS5UZXN0SWFtUGVybWlzc2lvbnNSZXF1ZXN0GikuZ29vZ2xlLmlhbS52MS5UZXN0SWFtUGVybWlzc2lvbnNSZXNwb25zZSIAElIKDkFkZElhbUJpbmRpbmdzEicuYWxpcy5vcGVuLmlhbS52MS5BZGRJYW1CaW5kaW5nc1JlcXVlc3QaFS5nb29nbGUuaWFtLnYxLlBvbGljeSIAElgKEVJlbW92ZUlhbUJpbmRpbmdzEiouYWxpcy5vcGVuLmlhbS52MS5SZW1vdmVJYW1CaW5kaW5nc1JlcXVlc3QaFS5nb29nbGUuaWFtLnYxLlBvbGljeSIAEkgKCEdldEdyb3VwEiEuYWxpcy5vcGVuLmlhbS52MS5HZXRHcm91cFJlcXVlc3QaFy5hbGlzLm9wZW4uaWFtLnYxLkdyb3VwIgASTgoLQ3JlYXRlR3JvdXASJC5hbGlzLm9wZW4uaWFtLnYxLkNyZWF0ZUdyb3VwUmVxdWVzdBoXLmFsaXMub3Blbi5pYW0udjEuR3JvdXAiABJOCgtVcGRhdGVHcm91cBIkLmFsaXMub3Blbi5pYW0udjEuVXBkYXRlR3JvdXBSZXF1ZXN0GhcuYWxpcy5vcGVuLmlhbS52MS5Hcm91cCIAEk0KC0RlbGV0ZUdyb3VwEiQuYWxpcy5vcGVuLmlhbS52MS5EZWxldGVHcm91cFJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiABJZCgpMaXN0R3JvdXBzEiMuYWxpcy5vcGVuLmlhbS52MS5MaXN0R3JvdXBzUmVxdWVzdBokLmFsaXMub3Blbi5pYW0udjEuTGlzdEdyb3Vwc1Jlc3BvbnNlIgASVgoJU3luY0dyb3VwEiIuYWxpcy5vcGVuLmlhbS52MS5TeW5jR3JvdXBSZXF1ZXN0GiMuYWxpcy5vcGVuLmlhbS52MS5TeW5jR3JvdXBSZXNwb25zZSIAQi9aLWdpdGh1Yi5jb20vYWxpcy1idWlsZC9wdWJsaWMtZ28vYWxpcy9vcGVuL2lhbWIGcHJvdG8z", [file_alis_open_iam_v1_iam, file_google_iam_v1_iam_policy, file_google_iam_v1_policy, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_protobuf_timestamp]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message alis.open.iam.v1.Group.
|
|
19
|
+
* Use `create(GroupSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const GroupSchema = /*@__PURE__*/
|
|
22
|
+
messageDesc(file_alis_open_iam_v1_group, 0);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message alis.open.iam.v1.GetGroupRequest.
|
|
26
|
+
* Use `create(GetGroupRequestSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const GetGroupRequestSchema = /*@__PURE__*/
|
|
29
|
+
messageDesc(file_alis_open_iam_v1_group, 1);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message alis.open.iam.v1.CreateGroupRequest.
|
|
33
|
+
* Use `create(CreateGroupRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const CreateGroupRequestSchema = /*@__PURE__*/
|
|
36
|
+
messageDesc(file_alis_open_iam_v1_group, 2);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message alis.open.iam.v1.UpdateGroupRequest.
|
|
40
|
+
* Use `create(UpdateGroupRequestSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const UpdateGroupRequestSchema = /*@__PURE__*/
|
|
43
|
+
messageDesc(file_alis_open_iam_v1_group, 3);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message alis.open.iam.v1.DeleteGroupRequest.
|
|
47
|
+
* Use `create(DeleteGroupRequestSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const DeleteGroupRequestSchema = /*@__PURE__*/
|
|
50
|
+
messageDesc(file_alis_open_iam_v1_group, 4);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message alis.open.iam.v1.ListGroupsRequest.
|
|
54
|
+
* Use `create(ListGroupsRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const ListGroupsRequestSchema = /*@__PURE__*/
|
|
57
|
+
messageDesc(file_alis_open_iam_v1_group, 5);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message alis.open.iam.v1.ListGroupsResponse.
|
|
61
|
+
* Use `create(ListGroupsResponseSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const ListGroupsResponseSchema = /*@__PURE__*/
|
|
64
|
+
messageDesc(file_alis_open_iam_v1_group, 6);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message alis.open.iam.v1.SyncGroupRequest.
|
|
68
|
+
* Use `create(SyncGroupRequestSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const SyncGroupRequestSchema = /*@__PURE__*/
|
|
71
|
+
messageDesc(file_alis_open_iam_v1_group, 7);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message alis.open.iam.v1.SyncGroupResponse.
|
|
75
|
+
* Use `create(SyncGroupResponseSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export const SyncGroupResponseSchema = /*@__PURE__*/
|
|
78
|
+
messageDesc(file_alis_open_iam_v1_group, 8);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from service alis.open.iam.v1.GroupsService
|
|
82
|
+
*/
|
|
83
|
+
export const GroupsService = /*@__PURE__*/
|
|
84
|
+
serviceDesc(file_alis_open_iam_v1_group, 0);
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/iam.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file alis/open/iam/v1/iam.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_alis_open_iam_v1_iam: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message alis.open.iam.v1.AddIamBindingsRequest
|
|
15
|
+
*/
|
|
16
|
+
export declare type AddIamBindingsRequest = Message<"alis.open.iam.v1.AddIamBindingsRequest"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string resource = 1;
|
|
19
|
+
*/
|
|
20
|
+
resource: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: repeated string principals = 2;
|
|
24
|
+
*/
|
|
25
|
+
principals: string[];
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: repeated string roles = 3;
|
|
29
|
+
*/
|
|
30
|
+
roles: string[];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: bool remove_from_other_roles = 4;
|
|
34
|
+
*/
|
|
35
|
+
removeFromOtherRoles: boolean;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message alis.open.iam.v1.AddIamBindingsRequest.
|
|
40
|
+
* Use `create(AddIamBindingsRequestSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export declare const AddIamBindingsRequestSchema: GenMessage<AddIamBindingsRequest>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from message alis.open.iam.v1.RemoveIamBindingsRequest
|
|
46
|
+
*/
|
|
47
|
+
export declare type RemoveIamBindingsRequest = Message<"alis.open.iam.v1.RemoveIamBindingsRequest"> & {
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string resource = 1;
|
|
50
|
+
*/
|
|
51
|
+
resource: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: repeated string principals = 2;
|
|
55
|
+
*/
|
|
56
|
+
principals: string[];
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: repeated string roles = 3;
|
|
60
|
+
*/
|
|
61
|
+
roles: string[];
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message alis.open.iam.v1.RemoveIamBindingsRequest.
|
|
66
|
+
* Use `create(RemoveIamBindingsRequestSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const RemoveIamBindingsRequestSchema: GenMessage<RemoveIamBindingsRequest>;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from message alis.open.iam.v1.BatchTestIamPermissionsRequest
|
|
72
|
+
*/
|
|
73
|
+
export declare type BatchTestIamPermissionsRequest = Message<"alis.open.iam.v1.BatchTestIamPermissionsRequest"> & {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated string resources = 1;
|
|
76
|
+
*/
|
|
77
|
+
resources: string[];
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: repeated string permissions = 2;
|
|
81
|
+
*/
|
|
82
|
+
permissions: string[];
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message alis.open.iam.v1.BatchTestIamPermissionsRequest.
|
|
87
|
+
* Use `create(BatchTestIamPermissionsRequestSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
export declare const BatchTestIamPermissionsRequestSchema: GenMessage<BatchTestIamPermissionsRequest>;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message alis.open.iam.v1.BatchTestIamPermissionsResponse
|
|
93
|
+
*/
|
|
94
|
+
export declare type BatchTestIamPermissionsResponse = Message<"alis.open.iam.v1.BatchTestIamPermissionsResponse"> & {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: repeated alis.open.iam.v1.BatchTestIamPermissionsResponse.ResourcePermissions resource_permissions = 1;
|
|
97
|
+
*/
|
|
98
|
+
resourcePermissions: BatchTestIamPermissionsResponse_ResourcePermissions[];
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message alis.open.iam.v1.BatchTestIamPermissionsResponse.
|
|
103
|
+
* Use `create(BatchTestIamPermissionsResponseSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const BatchTestIamPermissionsResponseSchema: GenMessage<BatchTestIamPermissionsResponse>;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @generated from message alis.open.iam.v1.BatchTestIamPermissionsResponse.ResourcePermissions
|
|
109
|
+
*/
|
|
110
|
+
export declare type BatchTestIamPermissionsResponse_ResourcePermissions = Message<"alis.open.iam.v1.BatchTestIamPermissionsResponse.ResourcePermissions"> & {
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: string resource = 1;
|
|
113
|
+
*/
|
|
114
|
+
resource: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: repeated string permissions = 2;
|
|
118
|
+
*/
|
|
119
|
+
permissions: string[];
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message alis.open.iam.v1.BatchTestIamPermissionsResponse.ResourcePermissions.
|
|
124
|
+
* Use `create(BatchTestIamPermissionsResponse_ResourcePermissionsSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const BatchTestIamPermissionsResponse_ResourcePermissionsSchema: GenMessage<BatchTestIamPermissionsResponse_ResourcePermissions>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/iam.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file alis/open/iam/v1/iam.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_alis_open_iam_v1_iam = /*@__PURE__*/
|
|
11
|
+
fileDesc("ChphbGlzL29wZW4vaWFtL3YxL2lhbS5wcm90bxIQYWxpcy5vcGVuLmlhbS52MSJtChVBZGRJYW1CaW5kaW5nc1JlcXVlc3QSEAoIcmVzb3VyY2UYASABKAkSEgoKcHJpbmNpcGFscxgCIAMoCRINCgVyb2xlcxgDIAMoCRIfChdyZW1vdmVfZnJvbV9vdGhlcl9yb2xlcxgEIAEoCCJPChhSZW1vdmVJYW1CaW5kaW5nc1JlcXVlc3QSEAoIcmVzb3VyY2UYASABKAkSEgoKcHJpbmNpcGFscxgCIAMoCRINCgVyb2xlcxgDIAMoCSJICh5CYXRjaFRlc3RJYW1QZXJtaXNzaW9uc1JlcXVlc3QSEQoJcmVzb3VyY2VzGAEgAygJEhMKC3Blcm1pc3Npb25zGAIgAygJIsQBCh9CYXRjaFRlc3RJYW1QZXJtaXNzaW9uc1Jlc3BvbnNlEmMKFHJlc291cmNlX3Blcm1pc3Npb25zGAEgAygLMkUuYWxpcy5vcGVuLmlhbS52MS5CYXRjaFRlc3RJYW1QZXJtaXNzaW9uc1Jlc3BvbnNlLlJlc291cmNlUGVybWlzc2lvbnMaPAoTUmVzb3VyY2VQZXJtaXNzaW9ucxIQCghyZXNvdXJjZRgBIAEoCRITCgtwZXJtaXNzaW9ucxgCIAMoCUIvWi1naXRodWIuY29tL2FsaXMtYnVpbGQvcHVibGljLWdvL2FsaXMvb3Blbi9pYW1iBnByb3RvMw");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message alis.open.iam.v1.AddIamBindingsRequest.
|
|
15
|
+
* Use `create(AddIamBindingsRequestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const AddIamBindingsRequestSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_alis_open_iam_v1_iam, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message alis.open.iam.v1.RemoveIamBindingsRequest.
|
|
22
|
+
* Use `create(RemoveIamBindingsRequestSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const RemoveIamBindingsRequestSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_alis_open_iam_v1_iam, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message alis.open.iam.v1.BatchTestIamPermissionsRequest.
|
|
29
|
+
* Use `create(BatchTestIamPermissionsRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const BatchTestIamPermissionsRequestSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_alis_open_iam_v1_iam, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message alis.open.iam.v1.BatchTestIamPermissionsResponse.
|
|
36
|
+
* Use `create(BatchTestIamPermissionsResponseSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const BatchTestIamPermissionsResponseSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_alis_open_iam_v1_iam, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message alis.open.iam.v1.BatchTestIamPermissionsResponse.ResourcePermissions.
|
|
43
|
+
* Use `create(BatchTestIamPermissionsResponse_ResourcePermissionsSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const BatchTestIamPermissionsResponse_ResourcePermissionsSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_alis_open_iam_v1_iam, 3, 0);
|