mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-22 17:40:57 +00:00
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Merge branch 'main' into org_api
This commit is contained in:
@@ -56,45 +56,42 @@ message OrgQueryFilter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
message OrgNameQuery {
|
message OrgNameQuery {
|
||||||
|
// Organization name.
|
||||||
string name = 1 [
|
string name = 1 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 200},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"ZITADEL\"";
|
example: "\"ZITADEL\"";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
// Defines which text equality method is used.
|
||||||
zitadel.object.v2beta.TextQueryMethod method = 2 [
|
zitadel.object.v2beta.TextQueryMethod method = 2 [
|
||||||
(validate.rules).enum.defined_only = true,
|
(validate.rules).enum.defined_only = true
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
||||||
description: "defines which text equality method is used";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
message OrgDomainQuery {
|
message OrgDomainQuery {
|
||||||
|
// The domain.
|
||||||
string domain = 1 [
|
string domain = 1 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 200},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"zitadel.cloud\"";
|
example: "\"zitadel.cloud\"";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
// Defines which text equality method is used.
|
||||||
zitadel.object.v2beta.TextQueryMethod method = 2 [
|
zitadel.object.v2beta.TextQueryMethod method = 2 [
|
||||||
(validate.rules).enum.defined_only = true,
|
(validate.rules).enum.defined_only = true
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
||||||
description: "defines which text equality method is used";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
message OrgStateQuery {
|
message OrgStateQuery {
|
||||||
|
// Current state of the organization.
|
||||||
OrgState state = 1 [
|
OrgState state = 1 [
|
||||||
(validate.rules).enum.defined_only = true,
|
(validate.rules).enum.defined_only = true
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
||||||
description: "current state of the organization";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
message OrgIDQuery {
|
message OrgIDQuery {
|
||||||
|
// The Organization id.
|
||||||
string id = 1 [
|
string id = 1 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 200},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
@@ -107,55 +104,45 @@ message OrgIDQuery {
|
|||||||
message DomainSearchQuery {
|
message DomainSearchQuery {
|
||||||
oneof query {
|
oneof query {
|
||||||
option (validate.required) = true;
|
option (validate.required) = true;
|
||||||
|
|
||||||
DomainNameQuery domain_name_query = 1;
|
DomainNameQuery domain_name_query = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// from proto/zitadel/org.proto
|
// from proto/zitadel/org.proto
|
||||||
message DomainNameQuery {
|
message DomainNameQuery {
|
||||||
|
// The domain.
|
||||||
string name = 1 [
|
string name = 1 [
|
||||||
(validate.rules).string = {max_len: 200},
|
(validate.rules).string = {max_len: 200},
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"zitadel.cloud\"";
|
example: "\"zitadel.cloud\"";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
// Defines which text equality method is used.
|
||||||
zitadel.object.v2beta.TextQueryMethod method = 2 [
|
zitadel.object.v2beta.TextQueryMethod method = 2 [
|
||||||
(validate.rules).enum.defined_only = true,
|
(validate.rules).enum.defined_only = true
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
||||||
description: "defines which text equality method is used";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
// from proto/zitadel/org.proto
|
// from proto/zitadel/org.proto
|
||||||
message Domain {
|
message Domain {
|
||||||
|
// The Organization id.
|
||||||
string org_id = 1 [
|
string org_id = 1 [
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"69629023906488334\""
|
example: "\"69629023906488334\""
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
zitadel.object.v2beta.Details details = 2;
|
// The domain name.
|
||||||
string domain_name = 3 [
|
string domain_name = 2 [
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||||
example: "\"zitadel.com\"";
|
example: "\"zitadel.com\"";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
bool is_verified = 4 [
|
// Defines if the domain is verified.
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
bool is_verified = 3;
|
||||||
description: "defines if the domain is verified"
|
// Defines if the domain is the primary domain.
|
||||||
}
|
bool is_primary = 4;
|
||||||
];
|
// Defines the protocol the domain was validated with.
|
||||||
bool is_primary = 5 [
|
DomainValidationType validation_type = 5;
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
||||||
description: "defines if the domain is the primary domain"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
DomainValidationType validation_type = 6 [
|
|
||||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
|
||||||
description: "defines the protocol the domain was validated with";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// from proto/zitadel/org.proto
|
// from proto/zitadel/org.proto
|
||||||
|
Reference in New Issue
Block a user