mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-08 23:25:12 +00:00
feat(console): project view model, remove orgid from routes (#263)
* proto gen * fix: remove type from project lists (#256) * fix: remove type from project lists * Update user-detail.component.ts * fix: remove add project Co-authored-by: Livio Amstutz <[email protected]> * fix project view model * regen mgmt proto * rm orgid from route, switch to project view * chore(deps-dev): bump @types/jasmine from 3.5.10 to 3.5.11 in /console (#252) Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.10 to 3.5.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @angular-devkit/build-angular in /console (#251) Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.901.7 to 0.901.9. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump moment from 2.26.0 to 2.27.0 in /console (#250) Bumps [moment](https://github.com/moment/moment) from 2.26.0 to 2.27.0. - [Release notes](https://github.com/moment/moment/releases) - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md) - [Commits](https://github.com/moment/moment/compare/2.26.0...2.27.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump karma from 5.0.9 to 5.1.0 in /console (#218) Bumps [karma](https://github.com/karma-runner/karma) from 5.0.9 to 5.1.0. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v5.0.9...v5.1.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump ngx-moment from 3.5.0 to 4.0.1 in /console (#219) Bumps [ngx-moment](https://github.com/urish/ngx-moment) from 3.5.0 to 4.0.1. - [Release notes](https://github.com/urish/ngx-moment/releases) - [Changelog](https://github.com/urish/ngx-moment/blob/master/CHANGELOG.md) - [Commits](https://github.com/urish/ngx-moment/compare/3.5.0...4.0.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * chore(deps-dev): bump @angular/language-service in /console (#217) Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 9.1.10 to 9.1.11. - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/9.1.11/packages/language-service) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * chore(deps-dev): bump @angular/cli from 9.1.7 to 9.1.9 in /console (#249) Bumps [@angular/cli](https://github.com/angular/angular-cli) from 9.1.7 to 9.1.9. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/compare/v9.1.7...v9.1.9) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * set partial user profile * fix org routing * auth user loginnames, i18n * fix clipboard, secret regeneration * project role required field * show change editor * show granted project grid, remove add button * hide meta overflow Co-authored-by: Fabi <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fabi
Livio Amstutz
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parent
3cd3a238c2
commit
e54778828e
@@ -215,6 +215,13 @@ export class AuthServiceClient {
|
||||
response: MyPermissions) => void
|
||||
): grpcWeb.ClientReadableStream<MyPermissions>;
|
||||
|
||||
getMyProjectPermissions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: MyPermissions) => void
|
||||
): grpcWeb.ClientReadableStream<MyPermissions>;
|
||||
|
||||
}
|
||||
|
||||
export class AuthServicePromiseClient {
|
||||
@@ -347,5 +354,10 @@ export class AuthServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MyPermissions>;
|
||||
|
||||
getMyProjectPermissions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<MyPermissions>;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2084,5 +2084,85 @@ proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.getMyZitadelPe
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.MyPermissions>}
|
||||
*/
|
||||
const methodDescriptor_AuthService_GetMyProjectPermissions = new grpc.web.MethodDescriptor(
|
||||
'/caos.zitadel.auth.api.v1.AuthService/GetMyProjectPermissions',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.caos.zitadel.auth.api.v1.MyPermissions,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.MyPermissions.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.caos.zitadel.auth.api.v1.MyPermissions>}
|
||||
*/
|
||||
const methodInfo_AuthService_GetMyProjectPermissions = new grpc.web.AbstractClientBase.MethodInfo(
|
||||
proto.caos.zitadel.auth.api.v1.MyPermissions,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.caos.zitadel.auth.api.v1.MyPermissions.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.Error, ?proto.caos.zitadel.auth.api.v1.MyPermissions)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.caos.zitadel.auth.api.v1.MyPermissions>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServiceClient.prototype.getMyProjectPermissions =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/caos.zitadel.auth.api.v1.AuthService/GetMyProjectPermissions',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AuthService_GetMyProjectPermissions,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.caos.zitadel.auth.api.v1.MyPermissions>}
|
||||
* A native promise that resolves to the response
|
||||
*/
|
||||
proto.caos.zitadel.auth.api.v1.AuthServicePromiseClient.prototype.getMyProjectPermissions =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/caos.zitadel.auth.api.v1.AuthService/GetMyProjectPermissions',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_AuthService_GetMyProjectPermissions);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.caos.zitadel.auth.api.v1;
|
||||
|
||||
|
||||
+116
-61
@@ -17,13 +17,14 @@ import {
|
||||
ApplicationSearchRequest,
|
||||
ApplicationSearchResponse,
|
||||
ApplicationUpdate,
|
||||
AuthGrantSearchRequest,
|
||||
AuthGrantSearchResponse,
|
||||
ApplicationView,
|
||||
ChangeOrgMemberRequest,
|
||||
ChangeRequest,
|
||||
Changes,
|
||||
ClientSecret,
|
||||
CreateUserRequest,
|
||||
Domain,
|
||||
Email,
|
||||
GrantedProjectSearchRequest,
|
||||
Iam,
|
||||
MultiFactors,
|
||||
@@ -34,11 +35,12 @@ import {
|
||||
OrgDomain,
|
||||
OrgDomainSearchRequest,
|
||||
OrgDomainSearchResponse,
|
||||
OrgID,
|
||||
OrgIamPolicy,
|
||||
OrgMember,
|
||||
OrgMemberRoles,
|
||||
OrgMemberSearchRequest,
|
||||
OrgMemberSearchResponse,
|
||||
OrgView,
|
||||
PasswordAgePolicy,
|
||||
PasswordAgePolicyCreate,
|
||||
PasswordAgePolicyID,
|
||||
@@ -82,6 +84,7 @@ import {
|
||||
ProjectMemberSearchResponse,
|
||||
ProjectRole,
|
||||
ProjectRoleAdd,
|
||||
ProjectRoleAddBulk,
|
||||
ProjectRoleChange,
|
||||
ProjectRoleRemove,
|
||||
ProjectRoleSearchRequest,
|
||||
@@ -92,6 +95,7 @@ import {
|
||||
ProjectUserGrantID,
|
||||
ProjectUserGrantSearchRequest,
|
||||
ProjectUserGrantUpdate,
|
||||
ProjectView,
|
||||
RemoveOrgDomainRequest,
|
||||
RemoveOrgMemberRequest,
|
||||
SetPasswordNotificationRequest,
|
||||
@@ -105,14 +109,17 @@ import {
|
||||
UserAddress,
|
||||
UserAddressView,
|
||||
UserEmail,
|
||||
UserEmailID,
|
||||
UserEmailView,
|
||||
UserGrant,
|
||||
UserGrantCreate,
|
||||
UserGrantCreateBulk,
|
||||
UserGrantID,
|
||||
UserGrantRemoveBulk,
|
||||
UserGrantSearchRequest,
|
||||
UserGrantSearchResponse,
|
||||
UserGrantUpdate,
|
||||
UserGrantUpdateBulk,
|
||||
UserGrantView,
|
||||
UserID,
|
||||
UserPhone,
|
||||
UserPhoneView,
|
||||
@@ -163,7 +170,7 @@ export class ManagementServiceClient {
|
||||
): grpcWeb.ClientReadableStream<UserView>;
|
||||
|
||||
getUserByEmailGlobal(
|
||||
request: UserEmailID,
|
||||
request: Email,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserView) => void
|
||||
@@ -428,29 +435,29 @@ export class ManagementServiceClient {
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getOrgByID(
|
||||
request: OrgID,
|
||||
getMyOrg(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Org) => void
|
||||
): grpcWeb.ClientReadableStream<Org>;
|
||||
response: OrgView) => void
|
||||
): grpcWeb.ClientReadableStream<OrgView>;
|
||||
|
||||
getOrgByDomainGlobal(
|
||||
request: OrgDomain,
|
||||
request: Domain,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgView) => void
|
||||
): grpcWeb.ClientReadableStream<OrgView>;
|
||||
|
||||
deactivateMyOrg(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Org) => void
|
||||
): grpcWeb.ClientReadableStream<Org>;
|
||||
|
||||
deactivateOrg(
|
||||
request: OrgID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Org) => void
|
||||
): grpcWeb.ClientReadableStream<Org>;
|
||||
|
||||
reactivateOrg(
|
||||
request: OrgID,
|
||||
reactivateMyOrg(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Org) => void
|
||||
@@ -477,6 +484,13 @@ export class ManagementServiceClient {
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyOrgIamPolicy(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: OrgIamPolicy) => void
|
||||
): grpcWeb.ClientReadableStream<OrgIamPolicy>;
|
||||
|
||||
getOrgMemberRoles(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
@@ -523,8 +537,8 @@ export class ManagementServiceClient {
|
||||
request: ProjectID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Project) => void
|
||||
): grpcWeb.ClientReadableStream<Project>;
|
||||
response: ProjectView) => void
|
||||
): grpcWeb.ClientReadableStream<ProjectView>;
|
||||
|
||||
createProject(
|
||||
request: ProjectCreateRequest,
|
||||
@@ -617,6 +631,13 @@ export class ManagementServiceClient {
|
||||
response: ProjectRole) => void
|
||||
): grpcWeb.ClientReadableStream<ProjectRole>;
|
||||
|
||||
bulkAddProjectRole(
|
||||
request: ProjectRoleAddBulk,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
changeProjectRole(
|
||||
request: ProjectRoleChange,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
@@ -642,8 +663,8 @@ export class ManagementServiceClient {
|
||||
request: ApplicationID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: Application) => void
|
||||
): grpcWeb.ClientReadableStream<Application>;
|
||||
response: ApplicationView) => void
|
||||
): grpcWeb.ClientReadableStream<ApplicationView>;
|
||||
|
||||
createOIDCApplication(
|
||||
request: OIDCApplicationCreate,
|
||||
@@ -705,8 +726,8 @@ export class ManagementServiceClient {
|
||||
request: ProjectGrantID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: ProjectGrant) => void
|
||||
): grpcWeb.ClientReadableStream<ProjectGrant>;
|
||||
response: ProjectGrantView) => void
|
||||
): grpcWeb.ClientReadableStream<ProjectGrantView>;
|
||||
|
||||
createProjectGrant(
|
||||
request: ProjectGrantCreate,
|
||||
@@ -789,8 +810,8 @@ export class ManagementServiceClient {
|
||||
request: UserGrantID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserGrant) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrant>;
|
||||
response: UserGrantView) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrantView>;
|
||||
|
||||
createUserGrant(
|
||||
request: UserGrantCreate,
|
||||
@@ -827,6 +848,27 @@ export class ManagementServiceClient {
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
bulkCreateUserGrant(
|
||||
request: UserGrantCreateBulk,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
bulkUpdateUserGrant(
|
||||
request: UserGrantUpdateBulk,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
bulkRemoveUserGrant(
|
||||
request: UserGrantRemoveBulk,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
searchProjectUserGrants(
|
||||
request: ProjectUserGrantSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
@@ -838,8 +880,8 @@ export class ManagementServiceClient {
|
||||
request: ProjectUserGrantID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserGrant) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrant>;
|
||||
response: UserGrantView) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrantView>;
|
||||
|
||||
createProjectUserGrant(
|
||||
request: UserGrantCreate,
|
||||
@@ -880,8 +922,8 @@ export class ManagementServiceClient {
|
||||
request: ProjectGrantUserGrantID,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: UserGrant) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrant>;
|
||||
response: UserGrantView) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrantView>;
|
||||
|
||||
createProjectGrantUserGrant(
|
||||
request: ProjectGrantUserGrantCreate,
|
||||
@@ -911,13 +953,6 @@ export class ManagementServiceClient {
|
||||
response: UserGrant) => void
|
||||
): grpcWeb.ClientReadableStream<UserGrant>;
|
||||
|
||||
searchAuthGrant(
|
||||
request: AuthGrantSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.Error,
|
||||
response: AuthGrantSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<AuthGrantSearchResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class ManagementServicePromiseClient {
|
||||
@@ -951,7 +986,7 @@ export class ManagementServicePromiseClient {
|
||||
): Promise<UserView>;
|
||||
|
||||
getUserByEmailGlobal(
|
||||
request: UserEmailID,
|
||||
request: Email,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserView>;
|
||||
|
||||
@@ -1140,23 +1175,23 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getOrgByID(
|
||||
request: OrgID,
|
||||
getMyOrg(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Org>;
|
||||
): Promise<OrgView>;
|
||||
|
||||
getOrgByDomainGlobal(
|
||||
request: OrgDomain,
|
||||
request: Domain,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgView>;
|
||||
|
||||
deactivateMyOrg(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Org>;
|
||||
|
||||
deactivateOrg(
|
||||
request: OrgID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Org>;
|
||||
|
||||
reactivateOrg(
|
||||
request: OrgID,
|
||||
reactivateMyOrg(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Org>;
|
||||
|
||||
@@ -1175,6 +1210,11 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyOrgIamPolicy(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<OrgIamPolicy>;
|
||||
|
||||
getOrgMemberRoles(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
@@ -1208,7 +1248,7 @@ export class ManagementServicePromiseClient {
|
||||
projectByID(
|
||||
request: ProjectID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Project>;
|
||||
): Promise<ProjectView>;
|
||||
|
||||
createProject(
|
||||
request: ProjectCreateRequest,
|
||||
@@ -1275,6 +1315,11 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<ProjectRole>;
|
||||
|
||||
bulkAddProjectRole(
|
||||
request: ProjectRoleAddBulk,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
changeProjectRole(
|
||||
request: ProjectRoleChange,
|
||||
metadata?: grpcWeb.Metadata
|
||||
@@ -1293,7 +1338,7 @@ export class ManagementServicePromiseClient {
|
||||
applicationByID(
|
||||
request: ApplicationID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<Application>;
|
||||
): Promise<ApplicationView>;
|
||||
|
||||
createOIDCApplication(
|
||||
request: OIDCApplicationCreate,
|
||||
@@ -1338,7 +1383,7 @@ export class ManagementServicePromiseClient {
|
||||
projectGrantByID(
|
||||
request: ProjectGrantID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<ProjectGrant>;
|
||||
): Promise<ProjectGrantView>;
|
||||
|
||||
createProjectGrant(
|
||||
request: ProjectGrantCreate,
|
||||
@@ -1398,7 +1443,7 @@ export class ManagementServicePromiseClient {
|
||||
userGrantByID(
|
||||
request: UserGrantID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserGrant>;
|
||||
): Promise<UserGrantView>;
|
||||
|
||||
createUserGrant(
|
||||
request: UserGrantCreate,
|
||||
@@ -1425,6 +1470,21 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
bulkCreateUserGrant(
|
||||
request: UserGrantCreateBulk,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
bulkUpdateUserGrant(
|
||||
request: UserGrantUpdateBulk,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
bulkRemoveUserGrant(
|
||||
request: UserGrantRemoveBulk,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
searchProjectUserGrants(
|
||||
request: ProjectUserGrantSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
@@ -1433,7 +1493,7 @@ export class ManagementServicePromiseClient {
|
||||
projectUserGrantByID(
|
||||
request: ProjectUserGrantID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserGrant>;
|
||||
): Promise<UserGrantView>;
|
||||
|
||||
createProjectUserGrant(
|
||||
request: UserGrantCreate,
|
||||
@@ -1463,7 +1523,7 @@ export class ManagementServicePromiseClient {
|
||||
projectGrantUserGrantByID(
|
||||
request: ProjectGrantUserGrantID,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserGrant>;
|
||||
): Promise<UserGrantView>;
|
||||
|
||||
createProjectGrantUserGrant(
|
||||
request: ProjectGrantUserGrantCreate,
|
||||
@@ -1485,10 +1545,5 @@ export class ManagementServicePromiseClient {
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<UserGrant>;
|
||||
|
||||
searchAuthGrant(
|
||||
request: AuthGrantSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<AuthGrantSearchResponse>;
|
||||
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+258
-169
@@ -193,19 +193,19 @@ export namespace UserID {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserEmailID extends jspb.Message {
|
||||
export class Email extends jspb.Message {
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserEmailID.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserEmailID): UserEmailID.AsObject;
|
||||
static serializeBinaryToWriter(message: UserEmailID, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserEmailID;
|
||||
static deserializeBinaryFromReader(message: UserEmailID, reader: jspb.BinaryReader): UserEmailID;
|
||||
toObject(includeInstance?: boolean): Email.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Email): Email.AsObject;
|
||||
static serializeBinaryToWriter(message: Email, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Email;
|
||||
static deserializeBinaryFromReader(message: Email, reader: jspb.BinaryReader): Email;
|
||||
}
|
||||
|
||||
export namespace UserEmailID {
|
||||
export namespace Email {
|
||||
export type AsObject = {
|
||||
email: string,
|
||||
}
|
||||
@@ -1733,6 +1733,36 @@ export namespace PasswordLockoutPolicyUpdate {
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgIamPolicy extends jspb.Message {
|
||||
getOrgId(): string;
|
||||
setOrgId(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getUserLoginMustBeDomain(): boolean;
|
||||
setUserLoginMustBeDomain(value: boolean): void;
|
||||
|
||||
getDefault(): boolean;
|
||||
setDefault(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgIamPolicy.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgIamPolicy): OrgIamPolicy.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgIamPolicy, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgIamPolicy;
|
||||
static deserializeBinaryFromReader(message: OrgIamPolicy, reader: jspb.BinaryReader): OrgIamPolicy;
|
||||
}
|
||||
|
||||
export namespace OrgIamPolicy {
|
||||
export type AsObject = {
|
||||
orgId: string,
|
||||
description: string,
|
||||
userLoginMustBeDomain: boolean,
|
||||
pb_default: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgID extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
@@ -1793,6 +1823,66 @@ export namespace Org {
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgView extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getState(): OrgState;
|
||||
setState(value: OrgState): void;
|
||||
|
||||
getCreationDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreationDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasCreationDate(): boolean;
|
||||
clearCreationDate(): void;
|
||||
|
||||
getChangeDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setChangeDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
hasChangeDate(): boolean;
|
||||
clearChangeDate(): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OrgView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OrgView): OrgView.AsObject;
|
||||
static serializeBinaryToWriter(message: OrgView, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OrgView;
|
||||
static deserializeBinaryFromReader(message: OrgView, reader: jspb.BinaryReader): OrgView;
|
||||
}
|
||||
|
||||
export namespace OrgView {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
state: OrgState,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
sequence: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class Domain extends jspb.Message {
|
||||
getDomain(): string;
|
||||
setDomain(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Domain.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Domain): Domain.AsObject;
|
||||
static serializeBinaryToWriter(message: Domain, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Domain;
|
||||
static deserializeBinaryFromReader(message: Domain, reader: jspb.BinaryReader): Domain;
|
||||
}
|
||||
|
||||
export namespace Domain {
|
||||
export type AsObject = {
|
||||
domain: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OrgDomains extends jspb.Message {
|
||||
getDomainsList(): Array<OrgDomain>;
|
||||
setDomainsList(value: Array<OrgDomain>): void;
|
||||
@@ -2697,6 +2787,30 @@ export namespace ProjectRoleAdd {
|
||||
}
|
||||
}
|
||||
|
||||
export class ProjectRoleAddBulk extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getProjectRolesList(): Array<ProjectRoleAdd>;
|
||||
setProjectRolesList(value: Array<ProjectRoleAdd>): void;
|
||||
clearProjectRolesList(): void;
|
||||
addProjectRoles(value?: ProjectRoleAdd, index?: number): ProjectRoleAdd;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProjectRoleAddBulk.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProjectRoleAddBulk): ProjectRoleAddBulk.AsObject;
|
||||
static serializeBinaryToWriter(message: ProjectRoleAddBulk, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ProjectRoleAddBulk;
|
||||
static deserializeBinaryFromReader(message: ProjectRoleAddBulk, reader: jspb.BinaryReader): ProjectRoleAddBulk;
|
||||
}
|
||||
|
||||
export namespace ProjectRoleAddBulk {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
projectRolesList: Array<ProjectRoleAdd.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ProjectRoleChange extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
@@ -3620,9 +3734,6 @@ export class ProjectGrantView extends jspb.Message {
|
||||
getGrantedOrgName(): string;
|
||||
setGrantedOrgName(value: string): void;
|
||||
|
||||
getGrantedOrgDomain(): string;
|
||||
setGrantedOrgDomain(value: string): void;
|
||||
|
||||
getRoleKeysList(): Array<string>;
|
||||
setRoleKeysList(value: Array<string>): void;
|
||||
clearRoleKeysList(): void;
|
||||
@@ -3647,6 +3758,12 @@ export class ProjectGrantView extends jspb.Message {
|
||||
getSequence(): number;
|
||||
setSequence(value: number): void;
|
||||
|
||||
getResourceOwner(): string;
|
||||
setResourceOwner(value: string): void;
|
||||
|
||||
getResourceOwnerName(): string;
|
||||
setResourceOwnerName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProjectGrantView.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProjectGrantView): ProjectGrantView.AsObject;
|
||||
@@ -3661,13 +3778,14 @@ export namespace ProjectGrantView {
|
||||
projectId: string,
|
||||
grantedOrgId: string,
|
||||
grantedOrgName: string,
|
||||
grantedOrgDomain: string,
|
||||
roleKeysList: Array<string>,
|
||||
state: ProjectGrantState,
|
||||
creationDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
changeDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
projectName: string,
|
||||
sequence: number,
|
||||
resourceOwner: string,
|
||||
resourceOwnerName: string,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3703,32 +3821,6 @@ export namespace ProjectGrantSearchResponse {
|
||||
}
|
||||
}
|
||||
|
||||
export class ProjectGrantSearchRequest extends jspb.Message {
|
||||
getProjectId(): string;
|
||||
setProjectId(value: string): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProjectGrantSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProjectGrantSearchRequest): ProjectGrantSearchRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: ProjectGrantSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ProjectGrantSearchRequest;
|
||||
static deserializeBinaryFromReader(message: ProjectGrantSearchRequest, reader: jspb.BinaryReader): ProjectGrantSearchRequest;
|
||||
}
|
||||
|
||||
export namespace ProjectGrantSearchRequest {
|
||||
export type AsObject = {
|
||||
projectId: string,
|
||||
offset: number,
|
||||
limit: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class GrantedProjectSearchRequest extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
@@ -3757,6 +3849,64 @@ export namespace GrantedProjectSearchRequest {
|
||||
}
|
||||
}
|
||||
|
||||
export class ProjectGrantSearchRequest extends jspb.Message {
|
||||
getProjectId(): string;
|
||||
setProjectId(value: string): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getQueriesList(): Array<ProjectGrantSearchQuery>;
|
||||
setQueriesList(value: Array<ProjectGrantSearchQuery>): void;
|
||||
clearQueriesList(): void;
|
||||
addQueries(value?: ProjectGrantSearchQuery, index?: number): ProjectGrantSearchQuery;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProjectGrantSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProjectGrantSearchRequest): ProjectGrantSearchRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: ProjectGrantSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ProjectGrantSearchRequest;
|
||||
static deserializeBinaryFromReader(message: ProjectGrantSearchRequest, reader: jspb.BinaryReader): ProjectGrantSearchRequest;
|
||||
}
|
||||
|
||||
export namespace ProjectGrantSearchRequest {
|
||||
export type AsObject = {
|
||||
projectId: string,
|
||||
offset: number,
|
||||
limit: number,
|
||||
queriesList: Array<ProjectGrantSearchQuery.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ProjectGrantSearchQuery extends jspb.Message {
|
||||
getKey(): ProjectGrantSearchKey;
|
||||
setKey(value: ProjectGrantSearchKey): void;
|
||||
|
||||
getMethod(): SearchMethod;
|
||||
setMethod(value: SearchMethod): void;
|
||||
|
||||
getValue(): string;
|
||||
setValue(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProjectGrantSearchQuery.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProjectGrantSearchQuery): ProjectGrantSearchQuery.AsObject;
|
||||
static serializeBinaryToWriter(message: ProjectGrantSearchQuery, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ProjectGrantSearchQuery;
|
||||
static deserializeBinaryFromReader(message: ProjectGrantSearchQuery, reader: jspb.BinaryReader): ProjectGrantSearchQuery;
|
||||
}
|
||||
|
||||
export namespace ProjectGrantSearchQuery {
|
||||
export type AsObject = {
|
||||
key: ProjectGrantSearchKey,
|
||||
method: SearchMethod,
|
||||
value: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ProjectGrantMemberRoles extends jspb.Message {
|
||||
getRolesList(): Array<string>;
|
||||
setRolesList(value: Array<string>): void;
|
||||
@@ -4113,6 +4263,26 @@ export namespace UserGrant {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantCreateBulk extends jspb.Message {
|
||||
getUserGrantsList(): Array<UserGrantCreate>;
|
||||
setUserGrantsList(value: Array<UserGrantCreate>): void;
|
||||
clearUserGrantsList(): void;
|
||||
addUserGrants(value?: UserGrantCreate, index?: number): UserGrantCreate;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserGrantCreateBulk.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserGrantCreateBulk): UserGrantCreateBulk.AsObject;
|
||||
static serializeBinaryToWriter(message: UserGrantCreateBulk, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserGrantCreateBulk;
|
||||
static deserializeBinaryFromReader(message: UserGrantCreateBulk, reader: jspb.BinaryReader): UserGrantCreateBulk;
|
||||
}
|
||||
|
||||
export namespace UserGrantCreateBulk {
|
||||
export type AsObject = {
|
||||
userGrantsList: Array<UserGrantCreate.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantCreate extends jspb.Message {
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
@@ -4141,6 +4311,26 @@ export namespace UserGrantCreate {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantUpdateBulk extends jspb.Message {
|
||||
getUserGrantsList(): Array<UserGrantUpdate>;
|
||||
setUserGrantsList(value: Array<UserGrantUpdate>): void;
|
||||
clearUserGrantsList(): void;
|
||||
addUserGrants(value?: UserGrantUpdate, index?: number): UserGrantUpdate;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserGrantUpdateBulk.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserGrantUpdateBulk): UserGrantUpdateBulk.AsObject;
|
||||
static serializeBinaryToWriter(message: UserGrantUpdateBulk, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserGrantUpdateBulk;
|
||||
static deserializeBinaryFromReader(message: UserGrantUpdateBulk, reader: jspb.BinaryReader): UserGrantUpdateBulk;
|
||||
}
|
||||
|
||||
export namespace UserGrantUpdateBulk {
|
||||
export type AsObject = {
|
||||
userGrantsList: Array<UserGrantUpdate.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantUpdate extends jspb.Message {
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
@@ -4169,6 +4359,26 @@ export namespace UserGrantUpdate {
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantRemoveBulk extends jspb.Message {
|
||||
getIdsList(): Array<string>;
|
||||
setIdsList(value: Array<string>): void;
|
||||
clearIdsList(): void;
|
||||
addIds(value: string, index?: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserGrantRemoveBulk.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserGrantRemoveBulk): UserGrantRemoveBulk.AsObject;
|
||||
static serializeBinaryToWriter(message: UserGrantRemoveBulk, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserGrantRemoveBulk;
|
||||
static deserializeBinaryFromReader(message: UserGrantRemoveBulk, reader: jspb.BinaryReader): UserGrantRemoveBulk;
|
||||
}
|
||||
|
||||
export namespace UserGrantRemoveBulk {
|
||||
export type AsObject = {
|
||||
idsList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserGrantID extends jspb.Message {
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
@@ -4581,132 +4791,6 @@ export namespace ProjectGrantUserGrantSearchRequest {
|
||||
}
|
||||
}
|
||||
|
||||
export class AuthGrantSearchRequest extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getSortingColumn(): AuthGrantSearchKey;
|
||||
setSortingColumn(value: AuthGrantSearchKey): void;
|
||||
|
||||
getAsc(): boolean;
|
||||
setAsc(value: boolean): void;
|
||||
|
||||
getQueriesList(): Array<AuthGrantSearchQuery>;
|
||||
setQueriesList(value: Array<AuthGrantSearchQuery>): void;
|
||||
clearQueriesList(): void;
|
||||
addQueries(value?: AuthGrantSearchQuery, index?: number): AuthGrantSearchQuery;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthGrantSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthGrantSearchRequest): AuthGrantSearchRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: AuthGrantSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AuthGrantSearchRequest;
|
||||
static deserializeBinaryFromReader(message: AuthGrantSearchRequest, reader: jspb.BinaryReader): AuthGrantSearchRequest;
|
||||
}
|
||||
|
||||
export namespace AuthGrantSearchRequest {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
sortingColumn: AuthGrantSearchKey,
|
||||
asc: boolean,
|
||||
queriesList: Array<AuthGrantSearchQuery.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class AuthGrantSearchQuery extends jspb.Message {
|
||||
getKey(): AuthGrantSearchKey;
|
||||
setKey(value: AuthGrantSearchKey): void;
|
||||
|
||||
getMethod(): SearchMethod;
|
||||
setMethod(value: SearchMethod): void;
|
||||
|
||||
getValue(): string;
|
||||
setValue(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthGrantSearchQuery.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthGrantSearchQuery): AuthGrantSearchQuery.AsObject;
|
||||
static serializeBinaryToWriter(message: AuthGrantSearchQuery, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AuthGrantSearchQuery;
|
||||
static deserializeBinaryFromReader(message: AuthGrantSearchQuery, reader: jspb.BinaryReader): AuthGrantSearchQuery;
|
||||
}
|
||||
|
||||
export namespace AuthGrantSearchQuery {
|
||||
export type AsObject = {
|
||||
key: AuthGrantSearchKey,
|
||||
method: SearchMethod,
|
||||
value: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class AuthGrantSearchResponse extends jspb.Message {
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getTotalResult(): number;
|
||||
setTotalResult(value: number): void;
|
||||
|
||||
getResultList(): Array<AuthGrant>;
|
||||
setResultList(value: Array<AuthGrant>): void;
|
||||
clearResultList(): void;
|
||||
addResult(value?: AuthGrant, index?: number): AuthGrant;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthGrantSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthGrantSearchResponse): AuthGrantSearchResponse.AsObject;
|
||||
static serializeBinaryToWriter(message: AuthGrantSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AuthGrantSearchResponse;
|
||||
static deserializeBinaryFromReader(message: AuthGrantSearchResponse, reader: jspb.BinaryReader): AuthGrantSearchResponse;
|
||||
}
|
||||
|
||||
export namespace AuthGrantSearchResponse {
|
||||
export type AsObject = {
|
||||
offset: number,
|
||||
limit: number,
|
||||
totalResult: number,
|
||||
resultList: Array<AuthGrant.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class AuthGrant extends jspb.Message {
|
||||
getOrgid(): string;
|
||||
setOrgid(value: string): void;
|
||||
|
||||
getProjectid(): string;
|
||||
setProjectid(value: string): void;
|
||||
|
||||
getUserid(): string;
|
||||
setUserid(value: string): void;
|
||||
|
||||
getRolesList(): Array<string>;
|
||||
setRolesList(value: Array<string>): void;
|
||||
clearRolesList(): void;
|
||||
addRoles(value: string, index?: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthGrant.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthGrant): AuthGrant.AsObject;
|
||||
static serializeBinaryToWriter(message: AuthGrant, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AuthGrant;
|
||||
static deserializeBinaryFromReader(message: AuthGrant, reader: jspb.BinaryReader): AuthGrant;
|
||||
}
|
||||
|
||||
export namespace AuthGrant {
|
||||
export type AsObject = {
|
||||
orgid: string,
|
||||
projectid: string,
|
||||
userid: string,
|
||||
rolesList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
export enum UserState {
|
||||
USERSTATE_UNSPECIFIED = 0,
|
||||
USERSTATE_ACTIVE = 1,
|
||||
@@ -4739,6 +4823,11 @@ export enum SearchMethod {
|
||||
SEARCHMETHOD_EQUALS_IGNORE_CASE = 3,
|
||||
SEARCHMETHOD_STARTS_WITH_IGNORE_CASE = 4,
|
||||
SEARCHMETHOD_CONTAINS_IGNORE_CASE = 5,
|
||||
SEARCHMETHOD_NOT_EQUALS = 6,
|
||||
SEARCHMETHOD_GREATER_THAN = 7,
|
||||
SEARCHMETHOD_LESS_THAN = 8,
|
||||
SEARCHMETHOD_IS_ONE_OF = 9,
|
||||
SEARCHMETHOD_LIST_CONTAINS = 10,
|
||||
}
|
||||
export enum MfaType {
|
||||
MFATYPE_UNSPECIFIED = 0,
|
||||
@@ -4838,6 +4927,11 @@ export enum ProjectGrantState {
|
||||
PROJECTGRANTSTATE_ACTIVE = 1,
|
||||
PROJECTGRANTSTATE_INACTIVE = 2,
|
||||
}
|
||||
export enum ProjectGrantSearchKey {
|
||||
PROJECTGRANTSEARCHKEY_UNSPECIFIED = 0,
|
||||
PROJECTGRANTSEARCHKEY_PROJECT_NAME = 1,
|
||||
PROJECTGRANTSEARCHKEY_ROLE_KEY = 2,
|
||||
}
|
||||
export enum ProjectGrantMemberSearchKey {
|
||||
PROJECTGRANTMEMBERSEARCHKEY_UNSPECIFIED = 0,
|
||||
PROJECTGRANTMEMBERSEARCHKEY_FIRST_NAME = 1,
|
||||
@@ -4856,10 +4950,5 @@ export enum UserGrantSearchKey {
|
||||
USERGRANTSEARCHKEY_PROJECT_ID = 1,
|
||||
USERGRANTSEARCHKEY_USER_ID = 2,
|
||||
USERGRANTSEARCHKEY_ORG_ID = 3,
|
||||
}
|
||||
export enum AuthGrantSearchKey {
|
||||
AUTHGRANTSEARCHKEY_UNSPECIFIED = 0,
|
||||
AUTHGRANTSEARCHKEY_ORG_ID = 1,
|
||||
AUTHGRANTSEARCHKEY_PROJECT_ID = 2,
|
||||
AUTHGRANTSEARCHKEY_USER_ID = 3,
|
||||
USERGRANTSEARCHKEY_ROLE_KEY = 4,
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user