@scalekit-sdk/node 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +47 -11
  2. package/buf.gen.yaml +1 -0
  3. package/lib/core.js +1 -1
  4. package/lib/permission.d.ts +68 -0
  5. package/lib/permission.js +131 -0
  6. package/lib/permission.js.map +1 -0
  7. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +2 -2
  8. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +1 -1
  9. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
  10. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +16 -0
  11. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +4 -0
  12. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
  13. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +0 -8
  14. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +0 -6
  15. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
  16. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +250 -0
  17. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +258 -0
  18. package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +1 -0
  19. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +1157 -0
  20. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +1799 -0
  21. package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -0
  22. package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +2 -2
  23. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +1 -1
  24. package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
  25. package/lib/role.d.ts +104 -0
  26. package/lib/role.js +205 -0
  27. package/lib/role.js.map +1 -0
  28. package/lib/scalekit.d.ts +4 -0
  29. package/lib/scalekit.js +4 -0
  30. package/lib/scalekit.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/core.ts +1 -1
  33. package/src/permission.ts +164 -0
  34. package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +3 -3
  35. package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +24 -0
  36. package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +0 -12
  37. package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +257 -0
  38. package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +2357 -0
  39. package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +3 -3
  40. package/src/role.ts +261 -0
  41. package/src/scalekit.ts +12 -0
  42. package/tests/permission.test.ts +399 -0
  43. package/tests/role.test.ts +323 -0
  44. package/tests/utils/test-data.ts +168 -1
@@ -0,0 +1,1157 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from message scalekit.v1.roles.Role
5
+ */
6
+ export declare class Role extends Message<Role> {
7
+ /**
8
+ * @generated from field: string id = 1;
9
+ */
10
+ id: string;
11
+ /**
12
+ * @generated from field: string name = 2;
13
+ */
14
+ name: string;
15
+ /**
16
+ * @generated from field: string display_name = 3;
17
+ */
18
+ displayName: string;
19
+ /**
20
+ * @generated from field: string description = 4;
21
+ */
22
+ description: string;
23
+ /**
24
+ * @generated from field: bool default_creator = 6;
25
+ */
26
+ defaultCreator: boolean;
27
+ /**
28
+ * @generated from field: bool default_member = 7;
29
+ */
30
+ defaultMember: boolean;
31
+ /**
32
+ * @generated from field: optional string extends = 8;
33
+ */
34
+ extends?: string;
35
+ /**
36
+ * @generated from field: repeated scalekit.v1.roles.RolePermission permissions = 9;
37
+ */
38
+ permissions: RolePermission[];
39
+ /**
40
+ * @generated from field: int32 dependent_roles_count = 10;
41
+ */
42
+ dependentRolesCount: number;
43
+ /**
44
+ * @generated from field: bool is_org_role = 11;
45
+ */
46
+ isOrgRole: boolean;
47
+ constructor(data?: PartialMessage<Role>);
48
+ static readonly runtime: typeof proto3;
49
+ static readonly typeName = "scalekit.v1.roles.Role";
50
+ static readonly fields: FieldList;
51
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Role;
52
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Role;
53
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Role;
54
+ static equals(a: Role | PlainMessage<Role> | undefined, b: Role | PlainMessage<Role> | undefined): boolean;
55
+ }
56
+ /**
57
+ * @generated from message scalekit.v1.roles.CreateRole
58
+ */
59
+ export declare class CreateRole extends Message<CreateRole> {
60
+ /**
61
+ * @generated from field: string name = 2;
62
+ */
63
+ name: string;
64
+ /**
65
+ * @generated from field: string display_name = 3;
66
+ */
67
+ displayName: string;
68
+ /**
69
+ * @generated from field: optional string description = 4;
70
+ */
71
+ description?: string;
72
+ /**
73
+ * @generated from field: optional string extends = 8;
74
+ */
75
+ extends?: string;
76
+ /**
77
+ * @generated from field: repeated string permissions = 9;
78
+ */
79
+ permissions: string[];
80
+ constructor(data?: PartialMessage<CreateRole>);
81
+ static readonly runtime: typeof proto3;
82
+ static readonly typeName = "scalekit.v1.roles.CreateRole";
83
+ static readonly fields: FieldList;
84
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateRole;
85
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateRole;
86
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateRole;
87
+ static equals(a: CreateRole | PlainMessage<CreateRole> | undefined, b: CreateRole | PlainMessage<CreateRole> | undefined): boolean;
88
+ }
89
+ /**
90
+ * @generated from message scalekit.v1.roles.CreateOrganizationRole
91
+ */
92
+ export declare class CreateOrganizationRole extends Message<CreateOrganizationRole> {
93
+ /**
94
+ * @generated from field: string name = 2;
95
+ */
96
+ name: string;
97
+ /**
98
+ * @generated from field: string display_name = 3;
99
+ */
100
+ displayName: string;
101
+ /**
102
+ * @generated from field: optional string description = 4;
103
+ */
104
+ description?: string;
105
+ /**
106
+ * @generated from field: optional string extends = 8;
107
+ */
108
+ extends?: string;
109
+ /**
110
+ * @generated from field: repeated string permissions = 9;
111
+ */
112
+ permissions: string[];
113
+ constructor(data?: PartialMessage<CreateOrganizationRole>);
114
+ static readonly runtime: typeof proto3;
115
+ static readonly typeName = "scalekit.v1.roles.CreateOrganizationRole";
116
+ static readonly fields: FieldList;
117
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationRole;
118
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationRole;
119
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationRole;
120
+ static equals(a: CreateOrganizationRole | PlainMessage<CreateOrganizationRole> | undefined, b: CreateOrganizationRole | PlainMessage<CreateOrganizationRole> | undefined): boolean;
121
+ }
122
+ /**
123
+ * @generated from message scalekit.v1.roles.CreateRoleRequest
124
+ */
125
+ export declare class CreateRoleRequest extends Message<CreateRoleRequest> {
126
+ /**
127
+ * @generated from field: scalekit.v1.roles.CreateRole role = 2;
128
+ */
129
+ role?: CreateRole;
130
+ constructor(data?: PartialMessage<CreateRoleRequest>);
131
+ static readonly runtime: typeof proto3;
132
+ static readonly typeName = "scalekit.v1.roles.CreateRoleRequest";
133
+ static readonly fields: FieldList;
134
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateRoleRequest;
135
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateRoleRequest;
136
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateRoleRequest;
137
+ static equals(a: CreateRoleRequest | PlainMessage<CreateRoleRequest> | undefined, b: CreateRoleRequest | PlainMessage<CreateRoleRequest> | undefined): boolean;
138
+ }
139
+ /**
140
+ * @generated from message scalekit.v1.roles.CreateRoleResponse
141
+ */
142
+ export declare class CreateRoleResponse extends Message<CreateRoleResponse> {
143
+ /**
144
+ * @generated from field: scalekit.v1.roles.Role role = 1;
145
+ */
146
+ role?: Role;
147
+ constructor(data?: PartialMessage<CreateRoleResponse>);
148
+ static readonly runtime: typeof proto3;
149
+ static readonly typeName = "scalekit.v1.roles.CreateRoleResponse";
150
+ static readonly fields: FieldList;
151
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateRoleResponse;
152
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateRoleResponse;
153
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateRoleResponse;
154
+ static equals(a: CreateRoleResponse | PlainMessage<CreateRoleResponse> | undefined, b: CreateRoleResponse | PlainMessage<CreateRoleResponse> | undefined): boolean;
155
+ }
156
+ /**
157
+ * @generated from message scalekit.v1.roles.GetRoleRequest
158
+ */
159
+ export declare class GetRoleRequest extends Message<GetRoleRequest> {
160
+ /**
161
+ * @generated from field: string role_name = 2;
162
+ */
163
+ roleName: string;
164
+ /**
165
+ * @generated from field: optional string include = 3;
166
+ */
167
+ include?: string;
168
+ constructor(data?: PartialMessage<GetRoleRequest>);
169
+ static readonly runtime: typeof proto3;
170
+ static readonly typeName = "scalekit.v1.roles.GetRoleRequest";
171
+ static readonly fields: FieldList;
172
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRoleRequest;
173
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRoleRequest;
174
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRoleRequest;
175
+ static equals(a: GetRoleRequest | PlainMessage<GetRoleRequest> | undefined, b: GetRoleRequest | PlainMessage<GetRoleRequest> | undefined): boolean;
176
+ }
177
+ /**
178
+ * @generated from message scalekit.v1.roles.GetRoleResponse
179
+ */
180
+ export declare class GetRoleResponse extends Message<GetRoleResponse> {
181
+ /**
182
+ * @generated from field: scalekit.v1.roles.Role role = 1;
183
+ */
184
+ role?: Role;
185
+ constructor(data?: PartialMessage<GetRoleResponse>);
186
+ static readonly runtime: typeof proto3;
187
+ static readonly typeName = "scalekit.v1.roles.GetRoleResponse";
188
+ static readonly fields: FieldList;
189
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRoleResponse;
190
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRoleResponse;
191
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRoleResponse;
192
+ static equals(a: GetRoleResponse | PlainMessage<GetRoleResponse> | undefined, b: GetRoleResponse | PlainMessage<GetRoleResponse> | undefined): boolean;
193
+ }
194
+ /**
195
+ * @generated from message scalekit.v1.roles.ListRolesRequest
196
+ */
197
+ export declare class ListRolesRequest extends Message<ListRolesRequest> {
198
+ /**
199
+ * @generated from field: optional string include = 2;
200
+ */
201
+ include?: string;
202
+ constructor(data?: PartialMessage<ListRolesRequest>);
203
+ static readonly runtime: typeof proto3;
204
+ static readonly typeName = "scalekit.v1.roles.ListRolesRequest";
205
+ static readonly fields: FieldList;
206
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRolesRequest;
207
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRolesRequest;
208
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRolesRequest;
209
+ static equals(a: ListRolesRequest | PlainMessage<ListRolesRequest> | undefined, b: ListRolesRequest | PlainMessage<ListRolesRequest> | undefined): boolean;
210
+ }
211
+ /**
212
+ * @generated from message scalekit.v1.roles.ListRolesResponse
213
+ */
214
+ export declare class ListRolesResponse extends Message<ListRolesResponse> {
215
+ /**
216
+ * @generated from field: repeated scalekit.v1.roles.Role roles = 1;
217
+ */
218
+ roles: Role[];
219
+ constructor(data?: PartialMessage<ListRolesResponse>);
220
+ static readonly runtime: typeof proto3;
221
+ static readonly typeName = "scalekit.v1.roles.ListRolesResponse";
222
+ static readonly fields: FieldList;
223
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRolesResponse;
224
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRolesResponse;
225
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRolesResponse;
226
+ static equals(a: ListRolesResponse | PlainMessage<ListRolesResponse> | undefined, b: ListRolesResponse | PlainMessage<ListRolesResponse> | undefined): boolean;
227
+ }
228
+ /**
229
+ * @generated from message scalekit.v1.roles.UpdateRole
230
+ */
231
+ export declare class UpdateRole extends Message<UpdateRole> {
232
+ /**
233
+ * @generated from field: optional string display_name = 1;
234
+ */
235
+ displayName?: string;
236
+ /**
237
+ * @generated from field: optional string description = 2;
238
+ */
239
+ description?: string;
240
+ /**
241
+ * @generated from field: optional string extends = 6;
242
+ */
243
+ extends?: string;
244
+ /**
245
+ * @generated from field: repeated string permissions = 7;
246
+ */
247
+ permissions: string[];
248
+ constructor(data?: PartialMessage<UpdateRole>);
249
+ static readonly runtime: typeof proto3;
250
+ static readonly typeName = "scalekit.v1.roles.UpdateRole";
251
+ static readonly fields: FieldList;
252
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateRole;
253
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateRole;
254
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateRole;
255
+ static equals(a: UpdateRole | PlainMessage<UpdateRole> | undefined, b: UpdateRole | PlainMessage<UpdateRole> | undefined): boolean;
256
+ }
257
+ /**
258
+ * @generated from message scalekit.v1.roles.UpdateRoleRequest
259
+ */
260
+ export declare class UpdateRoleRequest extends Message<UpdateRoleRequest> {
261
+ /**
262
+ * @generated from field: string role_name = 2;
263
+ */
264
+ roleName: string;
265
+ /**
266
+ * @generated from field: scalekit.v1.roles.UpdateRole role = 3;
267
+ */
268
+ role?: UpdateRole;
269
+ constructor(data?: PartialMessage<UpdateRoleRequest>);
270
+ static readonly runtime: typeof proto3;
271
+ static readonly typeName = "scalekit.v1.roles.UpdateRoleRequest";
272
+ static readonly fields: FieldList;
273
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateRoleRequest;
274
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateRoleRequest;
275
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateRoleRequest;
276
+ static equals(a: UpdateRoleRequest | PlainMessage<UpdateRoleRequest> | undefined, b: UpdateRoleRequest | PlainMessage<UpdateRoleRequest> | undefined): boolean;
277
+ }
278
+ /**
279
+ * @generated from message scalekit.v1.roles.UpdateRoleResponse
280
+ */
281
+ export declare class UpdateRoleResponse extends Message<UpdateRoleResponse> {
282
+ /**
283
+ * @generated from field: scalekit.v1.roles.Role role = 1;
284
+ */
285
+ role?: Role;
286
+ constructor(data?: PartialMessage<UpdateRoleResponse>);
287
+ static readonly runtime: typeof proto3;
288
+ static readonly typeName = "scalekit.v1.roles.UpdateRoleResponse";
289
+ static readonly fields: FieldList;
290
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateRoleResponse;
291
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateRoleResponse;
292
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateRoleResponse;
293
+ static equals(a: UpdateRoleResponse | PlainMessage<UpdateRoleResponse> | undefined, b: UpdateRoleResponse | PlainMessage<UpdateRoleResponse> | undefined): boolean;
294
+ }
295
+ /**
296
+ * @generated from message scalekit.v1.roles.DeleteRoleRequest
297
+ */
298
+ export declare class DeleteRoleRequest extends Message<DeleteRoleRequest> {
299
+ /**
300
+ * @generated from field: string role_name = 2;
301
+ */
302
+ roleName: string;
303
+ /**
304
+ * @generated from field: optional string reassign_role_id = 3 [deprecated = true];
305
+ * @deprecated
306
+ */
307
+ reassignRoleId?: string;
308
+ /**
309
+ * @generated from field: optional string reassign_role_name = 4;
310
+ */
311
+ reassignRoleName?: string;
312
+ constructor(data?: PartialMessage<DeleteRoleRequest>);
313
+ static readonly runtime: typeof proto3;
314
+ static readonly typeName = "scalekit.v1.roles.DeleteRoleRequest";
315
+ static readonly fields: FieldList;
316
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRoleRequest;
317
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRoleRequest;
318
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRoleRequest;
319
+ static equals(a: DeleteRoleRequest | PlainMessage<DeleteRoleRequest> | undefined, b: DeleteRoleRequest | PlainMessage<DeleteRoleRequest> | undefined): boolean;
320
+ }
321
+ /**
322
+ * @generated from message scalekit.v1.roles.CreateOrganizationRoleRequest
323
+ */
324
+ export declare class CreateOrganizationRoleRequest extends Message<CreateOrganizationRoleRequest> {
325
+ /**
326
+ * @generated from field: string org_id = 1;
327
+ */
328
+ orgId: string;
329
+ /**
330
+ * @generated from field: scalekit.v1.roles.CreateOrganizationRole role = 2;
331
+ */
332
+ role?: CreateOrganizationRole;
333
+ constructor(data?: PartialMessage<CreateOrganizationRoleRequest>);
334
+ static readonly runtime: typeof proto3;
335
+ static readonly typeName = "scalekit.v1.roles.CreateOrganizationRoleRequest";
336
+ static readonly fields: FieldList;
337
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationRoleRequest;
338
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationRoleRequest;
339
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationRoleRequest;
340
+ static equals(a: CreateOrganizationRoleRequest | PlainMessage<CreateOrganizationRoleRequest> | undefined, b: CreateOrganizationRoleRequest | PlainMessage<CreateOrganizationRoleRequest> | undefined): boolean;
341
+ }
342
+ /**
343
+ * @generated from message scalekit.v1.roles.CreateOrganizationRoleResponse
344
+ */
345
+ export declare class CreateOrganizationRoleResponse extends Message<CreateOrganizationRoleResponse> {
346
+ /**
347
+ * @generated from field: scalekit.v1.roles.Role role = 1;
348
+ */
349
+ role?: Role;
350
+ constructor(data?: PartialMessage<CreateOrganizationRoleResponse>);
351
+ static readonly runtime: typeof proto3;
352
+ static readonly typeName = "scalekit.v1.roles.CreateOrganizationRoleResponse";
353
+ static readonly fields: FieldList;
354
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationRoleResponse;
355
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationRoleResponse;
356
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationRoleResponse;
357
+ static equals(a: CreateOrganizationRoleResponse | PlainMessage<CreateOrganizationRoleResponse> | undefined, b: CreateOrganizationRoleResponse | PlainMessage<CreateOrganizationRoleResponse> | undefined): boolean;
358
+ }
359
+ /**
360
+ * @generated from message scalekit.v1.roles.GetOrganizationRoleRequest
361
+ */
362
+ export declare class GetOrganizationRoleRequest extends Message<GetOrganizationRoleRequest> {
363
+ /**
364
+ * @generated from field: string org_id = 1;
365
+ */
366
+ orgId: string;
367
+ /**
368
+ * @generated from field: string role_name = 2;
369
+ */
370
+ roleName: string;
371
+ /**
372
+ * @generated from field: optional string include = 3;
373
+ */
374
+ include?: string;
375
+ constructor(data?: PartialMessage<GetOrganizationRoleRequest>);
376
+ static readonly runtime: typeof proto3;
377
+ static readonly typeName = "scalekit.v1.roles.GetOrganizationRoleRequest";
378
+ static readonly fields: FieldList;
379
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRoleRequest;
380
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRoleRequest;
381
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRoleRequest;
382
+ static equals(a: GetOrganizationRoleRequest | PlainMessage<GetOrganizationRoleRequest> | undefined, b: GetOrganizationRoleRequest | PlainMessage<GetOrganizationRoleRequest> | undefined): boolean;
383
+ }
384
+ /**
385
+ * @generated from message scalekit.v1.roles.GetOrganizationRoleResponse
386
+ */
387
+ export declare class GetOrganizationRoleResponse extends Message<GetOrganizationRoleResponse> {
388
+ /**
389
+ * @generated from field: scalekit.v1.roles.Role role = 1;
390
+ */
391
+ role?: Role;
392
+ constructor(data?: PartialMessage<GetOrganizationRoleResponse>);
393
+ static readonly runtime: typeof proto3;
394
+ static readonly typeName = "scalekit.v1.roles.GetOrganizationRoleResponse";
395
+ static readonly fields: FieldList;
396
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRoleResponse;
397
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRoleResponse;
398
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRoleResponse;
399
+ static equals(a: GetOrganizationRoleResponse | PlainMessage<GetOrganizationRoleResponse> | undefined, b: GetOrganizationRoleResponse | PlainMessage<GetOrganizationRoleResponse> | undefined): boolean;
400
+ }
401
+ /**
402
+ * @generated from message scalekit.v1.roles.ListOrganizationRolesRequest
403
+ */
404
+ export declare class ListOrganizationRolesRequest extends Message<ListOrganizationRolesRequest> {
405
+ /**
406
+ * @generated from field: string org_id = 1;
407
+ */
408
+ orgId: string;
409
+ /**
410
+ * @generated from field: optional string include = 2;
411
+ */
412
+ include?: string;
413
+ constructor(data?: PartialMessage<ListOrganizationRolesRequest>);
414
+ static readonly runtime: typeof proto3;
415
+ static readonly typeName = "scalekit.v1.roles.ListOrganizationRolesRequest";
416
+ static readonly fields: FieldList;
417
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationRolesRequest;
418
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationRolesRequest;
419
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationRolesRequest;
420
+ static equals(a: ListOrganizationRolesRequest | PlainMessage<ListOrganizationRolesRequest> | undefined, b: ListOrganizationRolesRequest | PlainMessage<ListOrganizationRolesRequest> | undefined): boolean;
421
+ }
422
+ /**
423
+ * @generated from message scalekit.v1.roles.ListOrganizationRolesResponse
424
+ */
425
+ export declare class ListOrganizationRolesResponse extends Message<ListOrganizationRolesResponse> {
426
+ /**
427
+ * @generated from field: repeated scalekit.v1.roles.Role roles = 1;
428
+ */
429
+ roles: Role[];
430
+ constructor(data?: PartialMessage<ListOrganizationRolesResponse>);
431
+ static readonly runtime: typeof proto3;
432
+ static readonly typeName = "scalekit.v1.roles.ListOrganizationRolesResponse";
433
+ static readonly fields: FieldList;
434
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationRolesResponse;
435
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationRolesResponse;
436
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationRolesResponse;
437
+ static equals(a: ListOrganizationRolesResponse | PlainMessage<ListOrganizationRolesResponse> | undefined, b: ListOrganizationRolesResponse | PlainMessage<ListOrganizationRolesResponse> | undefined): boolean;
438
+ }
439
+ /**
440
+ * @generated from message scalekit.v1.roles.UpdateOrganizationRoleRequest
441
+ */
442
+ export declare class UpdateOrganizationRoleRequest extends Message<UpdateOrganizationRoleRequest> {
443
+ /**
444
+ * @generated from field: string org_id = 1;
445
+ */
446
+ orgId: string;
447
+ /**
448
+ * @generated from field: string role_name = 2;
449
+ */
450
+ roleName: string;
451
+ /**
452
+ * @generated from field: scalekit.v1.roles.UpdateRole role = 3;
453
+ */
454
+ role?: UpdateRole;
455
+ constructor(data?: PartialMessage<UpdateOrganizationRoleRequest>);
456
+ static readonly runtime: typeof proto3;
457
+ static readonly typeName = "scalekit.v1.roles.UpdateOrganizationRoleRequest";
458
+ static readonly fields: FieldList;
459
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationRoleRequest;
460
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationRoleRequest;
461
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationRoleRequest;
462
+ static equals(a: UpdateOrganizationRoleRequest | PlainMessage<UpdateOrganizationRoleRequest> | undefined, b: UpdateOrganizationRoleRequest | PlainMessage<UpdateOrganizationRoleRequest> | undefined): boolean;
463
+ }
464
+ /**
465
+ * @generated from message scalekit.v1.roles.UpdateOrganizationRoleResponse
466
+ */
467
+ export declare class UpdateOrganizationRoleResponse extends Message<UpdateOrganizationRoleResponse> {
468
+ /**
469
+ * @generated from field: scalekit.v1.roles.Role role = 1;
470
+ */
471
+ role?: Role;
472
+ constructor(data?: PartialMessage<UpdateOrganizationRoleResponse>);
473
+ static readonly runtime: typeof proto3;
474
+ static readonly typeName = "scalekit.v1.roles.UpdateOrganizationRoleResponse";
475
+ static readonly fields: FieldList;
476
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationRoleResponse;
477
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationRoleResponse;
478
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationRoleResponse;
479
+ static equals(a: UpdateOrganizationRoleResponse | PlainMessage<UpdateOrganizationRoleResponse> | undefined, b: UpdateOrganizationRoleResponse | PlainMessage<UpdateOrganizationRoleResponse> | undefined): boolean;
480
+ }
481
+ /**
482
+ * @generated from message scalekit.v1.roles.DeleteOrganizationRoleRequest
483
+ */
484
+ export declare class DeleteOrganizationRoleRequest extends Message<DeleteOrganizationRoleRequest> {
485
+ /**
486
+ * @generated from field: string org_id = 1;
487
+ */
488
+ orgId: string;
489
+ /**
490
+ * @generated from field: string role_name = 2;
491
+ */
492
+ roleName: string;
493
+ /**
494
+ * @generated from field: optional string reassign_role_name = 3;
495
+ */
496
+ reassignRoleName?: string;
497
+ constructor(data?: PartialMessage<DeleteOrganizationRoleRequest>);
498
+ static readonly runtime: typeof proto3;
499
+ static readonly typeName = "scalekit.v1.roles.DeleteOrganizationRoleRequest";
500
+ static readonly fields: FieldList;
501
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationRoleRequest;
502
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationRoleRequest;
503
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationRoleRequest;
504
+ static equals(a: DeleteOrganizationRoleRequest | PlainMessage<DeleteOrganizationRoleRequest> | undefined, b: DeleteOrganizationRoleRequest | PlainMessage<DeleteOrganizationRoleRequest> | undefined): boolean;
505
+ }
506
+ /**
507
+ * @generated from message scalekit.v1.roles.GetRoleUsersCountRequest
508
+ */
509
+ export declare class GetRoleUsersCountRequest extends Message<GetRoleUsersCountRequest> {
510
+ /**
511
+ * @generated from field: string role_name = 2;
512
+ */
513
+ roleName: string;
514
+ constructor(data?: PartialMessage<GetRoleUsersCountRequest>);
515
+ static readonly runtime: typeof proto3;
516
+ static readonly typeName = "scalekit.v1.roles.GetRoleUsersCountRequest";
517
+ static readonly fields: FieldList;
518
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRoleUsersCountRequest;
519
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRoleUsersCountRequest;
520
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRoleUsersCountRequest;
521
+ static equals(a: GetRoleUsersCountRequest | PlainMessage<GetRoleUsersCountRequest> | undefined, b: GetRoleUsersCountRequest | PlainMessage<GetRoleUsersCountRequest> | undefined): boolean;
522
+ }
523
+ /**
524
+ * @generated from message scalekit.v1.roles.GetRoleUsersCountResponse
525
+ */
526
+ export declare class GetRoleUsersCountResponse extends Message<GetRoleUsersCountResponse> {
527
+ /**
528
+ * @generated from field: int64 count = 1;
529
+ */
530
+ count: bigint;
531
+ constructor(data?: PartialMessage<GetRoleUsersCountResponse>);
532
+ static readonly runtime: typeof proto3;
533
+ static readonly typeName = "scalekit.v1.roles.GetRoleUsersCountResponse";
534
+ static readonly fields: FieldList;
535
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRoleUsersCountResponse;
536
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRoleUsersCountResponse;
537
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRoleUsersCountResponse;
538
+ static equals(a: GetRoleUsersCountResponse | PlainMessage<GetRoleUsersCountResponse> | undefined, b: GetRoleUsersCountResponse | PlainMessage<GetRoleUsersCountResponse> | undefined): boolean;
539
+ }
540
+ /**
541
+ * @generated from message scalekit.v1.roles.GetOrganizationRoleUsersCountRequest
542
+ */
543
+ export declare class GetOrganizationRoleUsersCountRequest extends Message<GetOrganizationRoleUsersCountRequest> {
544
+ /**
545
+ * @generated from field: string org_id = 1;
546
+ */
547
+ orgId: string;
548
+ /**
549
+ * @generated from field: string role_name = 2;
550
+ */
551
+ roleName: string;
552
+ constructor(data?: PartialMessage<GetOrganizationRoleUsersCountRequest>);
553
+ static readonly runtime: typeof proto3;
554
+ static readonly typeName = "scalekit.v1.roles.GetOrganizationRoleUsersCountRequest";
555
+ static readonly fields: FieldList;
556
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRoleUsersCountRequest;
557
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRoleUsersCountRequest;
558
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRoleUsersCountRequest;
559
+ static equals(a: GetOrganizationRoleUsersCountRequest | PlainMessage<GetOrganizationRoleUsersCountRequest> | undefined, b: GetOrganizationRoleUsersCountRequest | PlainMessage<GetOrganizationRoleUsersCountRequest> | undefined): boolean;
560
+ }
561
+ /**
562
+ * @generated from message scalekit.v1.roles.GetOrganizationRoleUsersCountResponse
563
+ */
564
+ export declare class GetOrganizationRoleUsersCountResponse extends Message<GetOrganizationRoleUsersCountResponse> {
565
+ /**
566
+ * @generated from field: int64 count = 1;
567
+ */
568
+ count: bigint;
569
+ constructor(data?: PartialMessage<GetOrganizationRoleUsersCountResponse>);
570
+ static readonly runtime: typeof proto3;
571
+ static readonly typeName = "scalekit.v1.roles.GetOrganizationRoleUsersCountResponse";
572
+ static readonly fields: FieldList;
573
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRoleUsersCountResponse;
574
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRoleUsersCountResponse;
575
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRoleUsersCountResponse;
576
+ static equals(a: GetOrganizationRoleUsersCountResponse | PlainMessage<GetOrganizationRoleUsersCountResponse> | undefined, b: GetOrganizationRoleUsersCountResponse | PlainMessage<GetOrganizationRoleUsersCountResponse> | undefined): boolean;
577
+ }
578
+ /**
579
+ * @generated from message scalekit.v1.roles.UpdateDefaultRolesRequest
580
+ */
581
+ export declare class UpdateDefaultRolesRequest extends Message<UpdateDefaultRolesRequest> {
582
+ /**
583
+ * @generated from field: scalekit.v1.roles.UpdateDefaultRole default_creator = 2 [deprecated = true];
584
+ * @deprecated
585
+ */
586
+ defaultCreator?: UpdateDefaultRole;
587
+ /**
588
+ * @generated from field: scalekit.v1.roles.UpdateDefaultRole default_member = 3 [deprecated = true];
589
+ * @deprecated
590
+ */
591
+ defaultMember?: UpdateDefaultRole;
592
+ /**
593
+ * @generated from field: optional string default_creator_role = 4;
594
+ */
595
+ defaultCreatorRole?: string;
596
+ /**
597
+ * @generated from field: optional string default_member_role = 5;
598
+ */
599
+ defaultMemberRole?: string;
600
+ constructor(data?: PartialMessage<UpdateDefaultRolesRequest>);
601
+ static readonly runtime: typeof proto3;
602
+ static readonly typeName = "scalekit.v1.roles.UpdateDefaultRolesRequest";
603
+ static readonly fields: FieldList;
604
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDefaultRolesRequest;
605
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDefaultRolesRequest;
606
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDefaultRolesRequest;
607
+ static equals(a: UpdateDefaultRolesRequest | PlainMessage<UpdateDefaultRolesRequest> | undefined, b: UpdateDefaultRolesRequest | PlainMessage<UpdateDefaultRolesRequest> | undefined): boolean;
608
+ }
609
+ /**
610
+ * @generated from message scalekit.v1.roles.UpdateDefaultOrganizationRolesRequest
611
+ */
612
+ export declare class UpdateDefaultOrganizationRolesRequest extends Message<UpdateDefaultOrganizationRolesRequest> {
613
+ /**
614
+ * @generated from field: string org_id = 1;
615
+ */
616
+ orgId: string;
617
+ /**
618
+ * @generated from field: string default_member_role = 2;
619
+ */
620
+ defaultMemberRole: string;
621
+ constructor(data?: PartialMessage<UpdateDefaultOrganizationRolesRequest>);
622
+ static readonly runtime: typeof proto3;
623
+ static readonly typeName = "scalekit.v1.roles.UpdateDefaultOrganizationRolesRequest";
624
+ static readonly fields: FieldList;
625
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDefaultOrganizationRolesRequest;
626
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDefaultOrganizationRolesRequest;
627
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDefaultOrganizationRolesRequest;
628
+ static equals(a: UpdateDefaultOrganizationRolesRequest | PlainMessage<UpdateDefaultOrganizationRolesRequest> | undefined, b: UpdateDefaultOrganizationRolesRequest | PlainMessage<UpdateDefaultOrganizationRolesRequest> | undefined): boolean;
629
+ }
630
+ /**
631
+ * @generated from message scalekit.v1.roles.UpdateDefaultRolesResponse
632
+ */
633
+ export declare class UpdateDefaultRolesResponse extends Message<UpdateDefaultRolesResponse> {
634
+ /**
635
+ * @generated from field: scalekit.v1.roles.Role default_creator = 1;
636
+ */
637
+ defaultCreator?: Role;
638
+ /**
639
+ * @generated from field: scalekit.v1.roles.Role default_member = 2;
640
+ */
641
+ defaultMember?: Role;
642
+ constructor(data?: PartialMessage<UpdateDefaultRolesResponse>);
643
+ static readonly runtime: typeof proto3;
644
+ static readonly typeName = "scalekit.v1.roles.UpdateDefaultRolesResponse";
645
+ static readonly fields: FieldList;
646
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDefaultRolesResponse;
647
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDefaultRolesResponse;
648
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDefaultRolesResponse;
649
+ static equals(a: UpdateDefaultRolesResponse | PlainMessage<UpdateDefaultRolesResponse> | undefined, b: UpdateDefaultRolesResponse | PlainMessage<UpdateDefaultRolesResponse> | undefined): boolean;
650
+ }
651
+ /**
652
+ * @generated from message scalekit.v1.roles.UpdateDefaultOrganizationRolesResponse
653
+ */
654
+ export declare class UpdateDefaultOrganizationRolesResponse extends Message<UpdateDefaultOrganizationRolesResponse> {
655
+ /**
656
+ * @generated from field: scalekit.v1.roles.Role default_member = 2;
657
+ */
658
+ defaultMember?: Role;
659
+ constructor(data?: PartialMessage<UpdateDefaultOrganizationRolesResponse>);
660
+ static readonly runtime: typeof proto3;
661
+ static readonly typeName = "scalekit.v1.roles.UpdateDefaultOrganizationRolesResponse";
662
+ static readonly fields: FieldList;
663
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDefaultOrganizationRolesResponse;
664
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDefaultOrganizationRolesResponse;
665
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDefaultOrganizationRolesResponse;
666
+ static equals(a: UpdateDefaultOrganizationRolesResponse | PlainMessage<UpdateDefaultOrganizationRolesResponse> | undefined, b: UpdateDefaultOrganizationRolesResponse | PlainMessage<UpdateDefaultOrganizationRolesResponse> | undefined): boolean;
667
+ }
668
+ /**
669
+ * @generated from message scalekit.v1.roles.UpdateDefaultRole
670
+ */
671
+ export declare class UpdateDefaultRole extends Message<UpdateDefaultRole> {
672
+ /**
673
+ * @generated from field: string id = 1;
674
+ */
675
+ id: string;
676
+ /**
677
+ * @generated from field: optional string name = 2;
678
+ */
679
+ name?: string;
680
+ constructor(data?: PartialMessage<UpdateDefaultRole>);
681
+ static readonly runtime: typeof proto3;
682
+ static readonly typeName = "scalekit.v1.roles.UpdateDefaultRole";
683
+ static readonly fields: FieldList;
684
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDefaultRole;
685
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDefaultRole;
686
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDefaultRole;
687
+ static equals(a: UpdateDefaultRole | PlainMessage<UpdateDefaultRole> | undefined, b: UpdateDefaultRole | PlainMessage<UpdateDefaultRole> | undefined): boolean;
688
+ }
689
+ /**
690
+ * Permission Entity
691
+ *
692
+ * @generated from message scalekit.v1.roles.Permission
693
+ */
694
+ export declare class Permission extends Message<Permission> {
695
+ /**
696
+ * @generated from field: string id = 1;
697
+ */
698
+ id: string;
699
+ /**
700
+ * @generated from field: string name = 2;
701
+ */
702
+ name: string;
703
+ /**
704
+ * @generated from field: string description = 3;
705
+ */
706
+ description: string;
707
+ /**
708
+ * @generated from field: google.protobuf.Timestamp create_time = 4;
709
+ */
710
+ createTime?: Timestamp;
711
+ /**
712
+ * @generated from field: google.protobuf.Timestamp update_time = 5;
713
+ */
714
+ updateTime?: Timestamp;
715
+ constructor(data?: PartialMessage<Permission>);
716
+ static readonly runtime: typeof proto3;
717
+ static readonly typeName = "scalekit.v1.roles.Permission";
718
+ static readonly fields: FieldList;
719
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Permission;
720
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Permission;
721
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Permission;
722
+ static equals(a: Permission | PlainMessage<Permission> | undefined, b: Permission | PlainMessage<Permission> | undefined): boolean;
723
+ }
724
+ /**
725
+ * RolePermissions represents a permission with role source information
726
+ *
727
+ * @generated from message scalekit.v1.roles.RolePermission
728
+ */
729
+ export declare class RolePermission extends Message<RolePermission> {
730
+ /**
731
+ * @generated from field: string id = 1;
732
+ */
733
+ id: string;
734
+ /**
735
+ * @generated from field: string name = 2;
736
+ */
737
+ name: string;
738
+ /**
739
+ * @generated from field: string description = 3;
740
+ */
741
+ description: string;
742
+ /**
743
+ * @generated from field: google.protobuf.Timestamp create_time = 4;
744
+ */
745
+ createTime?: Timestamp;
746
+ /**
747
+ * @generated from field: google.protobuf.Timestamp update_time = 5;
748
+ */
749
+ updateTime?: Timestamp;
750
+ /**
751
+ * @generated from field: string role_name = 6;
752
+ */
753
+ roleName: string;
754
+ constructor(data?: PartialMessage<RolePermission>);
755
+ static readonly runtime: typeof proto3;
756
+ static readonly typeName = "scalekit.v1.roles.RolePermission";
757
+ static readonly fields: FieldList;
758
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RolePermission;
759
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RolePermission;
760
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RolePermission;
761
+ static equals(a: RolePermission | PlainMessage<RolePermission> | undefined, b: RolePermission | PlainMessage<RolePermission> | undefined): boolean;
762
+ }
763
+ /**
764
+ * @generated from message scalekit.v1.roles.CreatePermission
765
+ */
766
+ export declare class CreatePermission extends Message<CreatePermission> {
767
+ /**
768
+ * @generated from field: string name = 1;
769
+ */
770
+ name: string;
771
+ /**
772
+ * @generated from field: string description = 2;
773
+ */
774
+ description: string;
775
+ constructor(data?: PartialMessage<CreatePermission>);
776
+ static readonly runtime: typeof proto3;
777
+ static readonly typeName = "scalekit.v1.roles.CreatePermission";
778
+ static readonly fields: FieldList;
779
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePermission;
780
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePermission;
781
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePermission;
782
+ static equals(a: CreatePermission | PlainMessage<CreatePermission> | undefined, b: CreatePermission | PlainMessage<CreatePermission> | undefined): boolean;
783
+ }
784
+ /**
785
+ * Permission Request/Response Messages
786
+ *
787
+ * @generated from message scalekit.v1.roles.CreatePermissionRequest
788
+ */
789
+ export declare class CreatePermissionRequest extends Message<CreatePermissionRequest> {
790
+ /**
791
+ * @generated from field: scalekit.v1.roles.CreatePermission permission = 1;
792
+ */
793
+ permission?: CreatePermission;
794
+ constructor(data?: PartialMessage<CreatePermissionRequest>);
795
+ static readonly runtime: typeof proto3;
796
+ static readonly typeName = "scalekit.v1.roles.CreatePermissionRequest";
797
+ static readonly fields: FieldList;
798
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePermissionRequest;
799
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePermissionRequest;
800
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePermissionRequest;
801
+ static equals(a: CreatePermissionRequest | PlainMessage<CreatePermissionRequest> | undefined, b: CreatePermissionRequest | PlainMessage<CreatePermissionRequest> | undefined): boolean;
802
+ }
803
+ /**
804
+ * @generated from message scalekit.v1.roles.CreatePermissionResponse
805
+ */
806
+ export declare class CreatePermissionResponse extends Message<CreatePermissionResponse> {
807
+ /**
808
+ * @generated from field: scalekit.v1.roles.Permission permission = 1;
809
+ */
810
+ permission?: Permission;
811
+ constructor(data?: PartialMessage<CreatePermissionResponse>);
812
+ static readonly runtime: typeof proto3;
813
+ static readonly typeName = "scalekit.v1.roles.CreatePermissionResponse";
814
+ static readonly fields: FieldList;
815
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePermissionResponse;
816
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePermissionResponse;
817
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePermissionResponse;
818
+ static equals(a: CreatePermissionResponse | PlainMessage<CreatePermissionResponse> | undefined, b: CreatePermissionResponse | PlainMessage<CreatePermissionResponse> | undefined): boolean;
819
+ }
820
+ /**
821
+ * @generated from message scalekit.v1.roles.GetPermissionRequest
822
+ */
823
+ export declare class GetPermissionRequest extends Message<GetPermissionRequest> {
824
+ /**
825
+ * @generated from field: string permission_name = 1;
826
+ */
827
+ permissionName: string;
828
+ constructor(data?: PartialMessage<GetPermissionRequest>);
829
+ static readonly runtime: typeof proto3;
830
+ static readonly typeName = "scalekit.v1.roles.GetPermissionRequest";
831
+ static readonly fields: FieldList;
832
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPermissionRequest;
833
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPermissionRequest;
834
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPermissionRequest;
835
+ static equals(a: GetPermissionRequest | PlainMessage<GetPermissionRequest> | undefined, b: GetPermissionRequest | PlainMessage<GetPermissionRequest> | undefined): boolean;
836
+ }
837
+ /**
838
+ * @generated from message scalekit.v1.roles.GetPermissionResponse
839
+ */
840
+ export declare class GetPermissionResponse extends Message<GetPermissionResponse> {
841
+ /**
842
+ * @generated from field: scalekit.v1.roles.Permission permission = 1;
843
+ */
844
+ permission?: Permission;
845
+ constructor(data?: PartialMessage<GetPermissionResponse>);
846
+ static readonly runtime: typeof proto3;
847
+ static readonly typeName = "scalekit.v1.roles.GetPermissionResponse";
848
+ static readonly fields: FieldList;
849
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPermissionResponse;
850
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPermissionResponse;
851
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPermissionResponse;
852
+ static equals(a: GetPermissionResponse | PlainMessage<GetPermissionResponse> | undefined, b: GetPermissionResponse | PlainMessage<GetPermissionResponse> | undefined): boolean;
853
+ }
854
+ /**
855
+ * @generated from message scalekit.v1.roles.UpdatePermissionRequest
856
+ */
857
+ export declare class UpdatePermissionRequest extends Message<UpdatePermissionRequest> {
858
+ /**
859
+ * @generated from field: string permission_name = 1;
860
+ */
861
+ permissionName: string;
862
+ /**
863
+ * @generated from field: scalekit.v1.roles.CreatePermission permission = 3;
864
+ */
865
+ permission?: CreatePermission;
866
+ constructor(data?: PartialMessage<UpdatePermissionRequest>);
867
+ static readonly runtime: typeof proto3;
868
+ static readonly typeName = "scalekit.v1.roles.UpdatePermissionRequest";
869
+ static readonly fields: FieldList;
870
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePermissionRequest;
871
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePermissionRequest;
872
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePermissionRequest;
873
+ static equals(a: UpdatePermissionRequest | PlainMessage<UpdatePermissionRequest> | undefined, b: UpdatePermissionRequest | PlainMessage<UpdatePermissionRequest> | undefined): boolean;
874
+ }
875
+ /**
876
+ * @generated from message scalekit.v1.roles.UpdatePermissionResponse
877
+ */
878
+ export declare class UpdatePermissionResponse extends Message<UpdatePermissionResponse> {
879
+ /**
880
+ * @generated from field: scalekit.v1.roles.Permission permission = 1;
881
+ */
882
+ permission?: Permission;
883
+ constructor(data?: PartialMessage<UpdatePermissionResponse>);
884
+ static readonly runtime: typeof proto3;
885
+ static readonly typeName = "scalekit.v1.roles.UpdatePermissionResponse";
886
+ static readonly fields: FieldList;
887
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePermissionResponse;
888
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePermissionResponse;
889
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePermissionResponse;
890
+ static equals(a: UpdatePermissionResponse | PlainMessage<UpdatePermissionResponse> | undefined, b: UpdatePermissionResponse | PlainMessage<UpdatePermissionResponse> | undefined): boolean;
891
+ }
892
+ /**
893
+ * @generated from message scalekit.v1.roles.ListPermissionsRequest
894
+ */
895
+ export declare class ListPermissionsRequest extends Message<ListPermissionsRequest> {
896
+ /**
897
+ * @generated from field: optional string page_token = 1;
898
+ */
899
+ pageToken?: string;
900
+ /**
901
+ * @generated from field: optional uint32 page_size = 2;
902
+ */
903
+ pageSize?: number;
904
+ constructor(data?: PartialMessage<ListPermissionsRequest>);
905
+ static readonly runtime: typeof proto3;
906
+ static readonly typeName = "scalekit.v1.roles.ListPermissionsRequest";
907
+ static readonly fields: FieldList;
908
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPermissionsRequest;
909
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPermissionsRequest;
910
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPermissionsRequest;
911
+ static equals(a: ListPermissionsRequest | PlainMessage<ListPermissionsRequest> | undefined, b: ListPermissionsRequest | PlainMessage<ListPermissionsRequest> | undefined): boolean;
912
+ }
913
+ /**
914
+ * @generated from message scalekit.v1.roles.ListPermissionsResponse
915
+ */
916
+ export declare class ListPermissionsResponse extends Message<ListPermissionsResponse> {
917
+ /**
918
+ * @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
919
+ */
920
+ permissions: Permission[];
921
+ /**
922
+ * @generated from field: string prev_page_token = 2;
923
+ */
924
+ prevPageToken: string;
925
+ /**
926
+ * @generated from field: string next_page_token = 3;
927
+ */
928
+ nextPageToken: string;
929
+ /**
930
+ * @generated from field: uint32 total_size = 4;
931
+ */
932
+ totalSize: number;
933
+ constructor(data?: PartialMessage<ListPermissionsResponse>);
934
+ static readonly runtime: typeof proto3;
935
+ static readonly typeName = "scalekit.v1.roles.ListPermissionsResponse";
936
+ static readonly fields: FieldList;
937
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListPermissionsResponse;
938
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListPermissionsResponse;
939
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListPermissionsResponse;
940
+ static equals(a: ListPermissionsResponse | PlainMessage<ListPermissionsResponse> | undefined, b: ListPermissionsResponse | PlainMessage<ListPermissionsResponse> | undefined): boolean;
941
+ }
942
+ /**
943
+ * @generated from message scalekit.v1.roles.DeletePermissionRequest
944
+ */
945
+ export declare class DeletePermissionRequest extends Message<DeletePermissionRequest> {
946
+ /**
947
+ * @generated from field: string permission_name = 1;
948
+ */
949
+ permissionName: string;
950
+ constructor(data?: PartialMessage<DeletePermissionRequest>);
951
+ static readonly runtime: typeof proto3;
952
+ static readonly typeName = "scalekit.v1.roles.DeletePermissionRequest";
953
+ static readonly fields: FieldList;
954
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePermissionRequest;
955
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePermissionRequest;
956
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePermissionRequest;
957
+ static equals(a: DeletePermissionRequest | PlainMessage<DeletePermissionRequest> | undefined, b: DeletePermissionRequest | PlainMessage<DeletePermissionRequest> | undefined): boolean;
958
+ }
959
+ /**
960
+ * @generated from message scalekit.v1.roles.ListRolePermissionsRequest
961
+ */
962
+ export declare class ListRolePermissionsRequest extends Message<ListRolePermissionsRequest> {
963
+ /**
964
+ * @generated from field: string role_name = 1;
965
+ */
966
+ roleName: string;
967
+ constructor(data?: PartialMessage<ListRolePermissionsRequest>);
968
+ static readonly runtime: typeof proto3;
969
+ static readonly typeName = "scalekit.v1.roles.ListRolePermissionsRequest";
970
+ static readonly fields: FieldList;
971
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRolePermissionsRequest;
972
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRolePermissionsRequest;
973
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRolePermissionsRequest;
974
+ static equals(a: ListRolePermissionsRequest | PlainMessage<ListRolePermissionsRequest> | undefined, b: ListRolePermissionsRequest | PlainMessage<ListRolePermissionsRequest> | undefined): boolean;
975
+ }
976
+ /**
977
+ * @generated from message scalekit.v1.roles.ListRolePermissionsResponse
978
+ */
979
+ export declare class ListRolePermissionsResponse extends Message<ListRolePermissionsResponse> {
980
+ /**
981
+ * @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
982
+ */
983
+ permissions: Permission[];
984
+ constructor(data?: PartialMessage<ListRolePermissionsResponse>);
985
+ static readonly runtime: typeof proto3;
986
+ static readonly typeName = "scalekit.v1.roles.ListRolePermissionsResponse";
987
+ static readonly fields: FieldList;
988
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRolePermissionsResponse;
989
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRolePermissionsResponse;
990
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRolePermissionsResponse;
991
+ static equals(a: ListRolePermissionsResponse | PlainMessage<ListRolePermissionsResponse> | undefined, b: ListRolePermissionsResponse | PlainMessage<ListRolePermissionsResponse> | undefined): boolean;
992
+ }
993
+ /**
994
+ * @generated from message scalekit.v1.roles.AddPermissionsToRoleRequest
995
+ */
996
+ export declare class AddPermissionsToRoleRequest extends Message<AddPermissionsToRoleRequest> {
997
+ /**
998
+ * @generated from field: string role_name = 1;
999
+ */
1000
+ roleName: string;
1001
+ /**
1002
+ * @generated from field: repeated string permission_names = 2;
1003
+ */
1004
+ permissionNames: string[];
1005
+ constructor(data?: PartialMessage<AddPermissionsToRoleRequest>);
1006
+ static readonly runtime: typeof proto3;
1007
+ static readonly typeName = "scalekit.v1.roles.AddPermissionsToRoleRequest";
1008
+ static readonly fields: FieldList;
1009
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddPermissionsToRoleRequest;
1010
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddPermissionsToRoleRequest;
1011
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddPermissionsToRoleRequest;
1012
+ static equals(a: AddPermissionsToRoleRequest | PlainMessage<AddPermissionsToRoleRequest> | undefined, b: AddPermissionsToRoleRequest | PlainMessage<AddPermissionsToRoleRequest> | undefined): boolean;
1013
+ }
1014
+ /**
1015
+ * @generated from message scalekit.v1.roles.AddPermissionsToRoleResponse
1016
+ */
1017
+ export declare class AddPermissionsToRoleResponse extends Message<AddPermissionsToRoleResponse> {
1018
+ /**
1019
+ * @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
1020
+ */
1021
+ permissions: Permission[];
1022
+ constructor(data?: PartialMessage<AddPermissionsToRoleResponse>);
1023
+ static readonly runtime: typeof proto3;
1024
+ static readonly typeName = "scalekit.v1.roles.AddPermissionsToRoleResponse";
1025
+ static readonly fields: FieldList;
1026
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddPermissionsToRoleResponse;
1027
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddPermissionsToRoleResponse;
1028
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddPermissionsToRoleResponse;
1029
+ static equals(a: AddPermissionsToRoleResponse | PlainMessage<AddPermissionsToRoleResponse> | undefined, b: AddPermissionsToRoleResponse | PlainMessage<AddPermissionsToRoleResponse> | undefined): boolean;
1030
+ }
1031
+ /**
1032
+ * @generated from message scalekit.v1.roles.RemovePermissionFromRoleRequest
1033
+ */
1034
+ export declare class RemovePermissionFromRoleRequest extends Message<RemovePermissionFromRoleRequest> {
1035
+ /**
1036
+ * @generated from field: string role_name = 1;
1037
+ */
1038
+ roleName: string;
1039
+ /**
1040
+ * @generated from field: string permission_name = 2;
1041
+ */
1042
+ permissionName: string;
1043
+ constructor(data?: PartialMessage<RemovePermissionFromRoleRequest>);
1044
+ static readonly runtime: typeof proto3;
1045
+ static readonly typeName = "scalekit.v1.roles.RemovePermissionFromRoleRequest";
1046
+ static readonly fields: FieldList;
1047
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemovePermissionFromRoleRequest;
1048
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemovePermissionFromRoleRequest;
1049
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemovePermissionFromRoleRequest;
1050
+ static equals(a: RemovePermissionFromRoleRequest | PlainMessage<RemovePermissionFromRoleRequest> | undefined, b: RemovePermissionFromRoleRequest | PlainMessage<RemovePermissionFromRoleRequest> | undefined): boolean;
1051
+ }
1052
+ /**
1053
+ * @generated from message scalekit.v1.roles.ListEffectiveRolePermissionsRequest
1054
+ */
1055
+ export declare class ListEffectiveRolePermissionsRequest extends Message<ListEffectiveRolePermissionsRequest> {
1056
+ /**
1057
+ * @generated from field: string role_name = 1;
1058
+ */
1059
+ roleName: string;
1060
+ constructor(data?: PartialMessage<ListEffectiveRolePermissionsRequest>);
1061
+ static readonly runtime: typeof proto3;
1062
+ static readonly typeName = "scalekit.v1.roles.ListEffectiveRolePermissionsRequest";
1063
+ static readonly fields: FieldList;
1064
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEffectiveRolePermissionsRequest;
1065
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEffectiveRolePermissionsRequest;
1066
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEffectiveRolePermissionsRequest;
1067
+ static equals(a: ListEffectiveRolePermissionsRequest | PlainMessage<ListEffectiveRolePermissionsRequest> | undefined, b: ListEffectiveRolePermissionsRequest | PlainMessage<ListEffectiveRolePermissionsRequest> | undefined): boolean;
1068
+ }
1069
+ /**
1070
+ * @generated from message scalekit.v1.roles.ListEffectiveRolePermissionsResponse
1071
+ */
1072
+ export declare class ListEffectiveRolePermissionsResponse extends Message<ListEffectiveRolePermissionsResponse> {
1073
+ /**
1074
+ * @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
1075
+ */
1076
+ permissions: Permission[];
1077
+ constructor(data?: PartialMessage<ListEffectiveRolePermissionsResponse>);
1078
+ static readonly runtime: typeof proto3;
1079
+ static readonly typeName = "scalekit.v1.roles.ListEffectiveRolePermissionsResponse";
1080
+ static readonly fields: FieldList;
1081
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEffectiveRolePermissionsResponse;
1082
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEffectiveRolePermissionsResponse;
1083
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEffectiveRolePermissionsResponse;
1084
+ static equals(a: ListEffectiveRolePermissionsResponse | PlainMessage<ListEffectiveRolePermissionsResponse> | undefined, b: ListEffectiveRolePermissionsResponse | PlainMessage<ListEffectiveRolePermissionsResponse> | undefined): boolean;
1085
+ }
1086
+ /**
1087
+ * @generated from message scalekit.v1.roles.ListDependentRolesRequest
1088
+ */
1089
+ export declare class ListDependentRolesRequest extends Message<ListDependentRolesRequest> {
1090
+ /**
1091
+ * @generated from field: string role_name = 1;
1092
+ */
1093
+ roleName: string;
1094
+ constructor(data?: PartialMessage<ListDependentRolesRequest>);
1095
+ static readonly runtime: typeof proto3;
1096
+ static readonly typeName = "scalekit.v1.roles.ListDependentRolesRequest";
1097
+ static readonly fields: FieldList;
1098
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDependentRolesRequest;
1099
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDependentRolesRequest;
1100
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDependentRolesRequest;
1101
+ static equals(a: ListDependentRolesRequest | PlainMessage<ListDependentRolesRequest> | undefined, b: ListDependentRolesRequest | PlainMessage<ListDependentRolesRequest> | undefined): boolean;
1102
+ }
1103
+ /**
1104
+ * @generated from message scalekit.v1.roles.ListDependentRolesResponse
1105
+ */
1106
+ export declare class ListDependentRolesResponse extends Message<ListDependentRolesResponse> {
1107
+ /**
1108
+ * @generated from field: repeated scalekit.v1.roles.Role roles = 1;
1109
+ */
1110
+ roles: Role[];
1111
+ constructor(data?: PartialMessage<ListDependentRolesResponse>);
1112
+ static readonly runtime: typeof proto3;
1113
+ static readonly typeName = "scalekit.v1.roles.ListDependentRolesResponse";
1114
+ static readonly fields: FieldList;
1115
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDependentRolesResponse;
1116
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDependentRolesResponse;
1117
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDependentRolesResponse;
1118
+ static equals(a: ListDependentRolesResponse | PlainMessage<ListDependentRolesResponse> | undefined, b: ListDependentRolesResponse | PlainMessage<ListDependentRolesResponse> | undefined): boolean;
1119
+ }
1120
+ /**
1121
+ * @generated from message scalekit.v1.roles.DeleteRoleBaseRequest
1122
+ */
1123
+ export declare class DeleteRoleBaseRequest extends Message<DeleteRoleBaseRequest> {
1124
+ /**
1125
+ * @generated from field: string role_name = 1;
1126
+ */
1127
+ roleName: string;
1128
+ constructor(data?: PartialMessage<DeleteRoleBaseRequest>);
1129
+ static readonly runtime: typeof proto3;
1130
+ static readonly typeName = "scalekit.v1.roles.DeleteRoleBaseRequest";
1131
+ static readonly fields: FieldList;
1132
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteRoleBaseRequest;
1133
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteRoleBaseRequest;
1134
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteRoleBaseRequest;
1135
+ static equals(a: DeleteRoleBaseRequest | PlainMessage<DeleteRoleBaseRequest> | undefined, b: DeleteRoleBaseRequest | PlainMessage<DeleteRoleBaseRequest> | undefined): boolean;
1136
+ }
1137
+ /**
1138
+ * @generated from message scalekit.v1.roles.DeleteOrganizationRoleBaseRequest
1139
+ */
1140
+ export declare class DeleteOrganizationRoleBaseRequest extends Message<DeleteOrganizationRoleBaseRequest> {
1141
+ /**
1142
+ * @generated from field: string org_id = 1;
1143
+ */
1144
+ orgId: string;
1145
+ /**
1146
+ * @generated from field: string role_name = 2;
1147
+ */
1148
+ roleName: string;
1149
+ constructor(data?: PartialMessage<DeleteOrganizationRoleBaseRequest>);
1150
+ static readonly runtime: typeof proto3;
1151
+ static readonly typeName = "scalekit.v1.roles.DeleteOrganizationRoleBaseRequest";
1152
+ static readonly fields: FieldList;
1153
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationRoleBaseRequest;
1154
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationRoleBaseRequest;
1155
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationRoleBaseRequest;
1156
+ static equals(a: DeleteOrganizationRoleBaseRequest | PlainMessage<DeleteOrganizationRoleBaseRequest> | undefined, b: DeleteOrganizationRoleBaseRequest | PlainMessage<DeleteOrganizationRoleBaseRequest> | undefined): boolean;
1157
+ }