mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
1531 lines
55 KiB
Go
1531 lines
55 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: admin.proto
|
|
|
|
package grpc
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
_ "github.com/caos/zitadel/internal/protoc/protoc-gen-authoption/authoption"
|
|
_ "github.com/envoyproxy/protoc-gen-validate/validate"
|
|
proto "github.com/golang/protobuf/proto"
|
|
empty "github.com/golang/protobuf/ptypes/empty"
|
|
_struct "github.com/golang/protobuf/ptypes/struct"
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type OrgState int32
|
|
|
|
const (
|
|
OrgState_ORGSTATE_UNSPECIFIED OrgState = 0
|
|
OrgState_ORGSTATE_ACTIVE OrgState = 1
|
|
OrgState_ORGSTATE_INACTIVE OrgState = 2
|
|
)
|
|
|
|
var OrgState_name = map[int32]string{
|
|
0: "ORGSTATE_UNSPECIFIED",
|
|
1: "ORGSTATE_ACTIVE",
|
|
2: "ORGSTATE_INACTIVE",
|
|
}
|
|
|
|
var OrgState_value = map[string]int32{
|
|
"ORGSTATE_UNSPECIFIED": 0,
|
|
"ORGSTATE_ACTIVE": 1,
|
|
"ORGSTATE_INACTIVE": 2,
|
|
}
|
|
|
|
func (x OrgState) String() string {
|
|
return proto.EnumName(OrgState_name, int32(x))
|
|
}
|
|
|
|
func (OrgState) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{0}
|
|
}
|
|
|
|
type OrgSearchKey int32
|
|
|
|
const (
|
|
OrgSearchKey_ORGSEARCHKEY_UNSPECIFIED OrgSearchKey = 0
|
|
OrgSearchKey_ORGSEARCHKEY_ORG_NAME OrgSearchKey = 1
|
|
OrgSearchKey_ORGSEARCHKEY_DOMAIN OrgSearchKey = 2
|
|
OrgSearchKey_ORGSEARCHKEY_STATE OrgSearchKey = 3
|
|
)
|
|
|
|
var OrgSearchKey_name = map[int32]string{
|
|
0: "ORGSEARCHKEY_UNSPECIFIED",
|
|
1: "ORGSEARCHKEY_ORG_NAME",
|
|
2: "ORGSEARCHKEY_DOMAIN",
|
|
3: "ORGSEARCHKEY_STATE",
|
|
}
|
|
|
|
var OrgSearchKey_value = map[string]int32{
|
|
"ORGSEARCHKEY_UNSPECIFIED": 0,
|
|
"ORGSEARCHKEY_ORG_NAME": 1,
|
|
"ORGSEARCHKEY_DOMAIN": 2,
|
|
"ORGSEARCHKEY_STATE": 3,
|
|
}
|
|
|
|
func (x OrgSearchKey) String() string {
|
|
return proto.EnumName(OrgSearchKey_name, int32(x))
|
|
}
|
|
|
|
func (OrgSearchKey) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{1}
|
|
}
|
|
|
|
type OrgSearchMethod int32
|
|
|
|
const (
|
|
OrgSearchMethod_ORGSEARCHMETHOD_EQUALS OrgSearchMethod = 0
|
|
OrgSearchMethod_ORGSEARCHMETHOD_STARTS_WITH OrgSearchMethod = 1
|
|
OrgSearchMethod_ORGSEARCHMETHOD_CONTAINS OrgSearchMethod = 2
|
|
)
|
|
|
|
var OrgSearchMethod_name = map[int32]string{
|
|
0: "ORGSEARCHMETHOD_EQUALS",
|
|
1: "ORGSEARCHMETHOD_STARTS_WITH",
|
|
2: "ORGSEARCHMETHOD_CONTAINS",
|
|
}
|
|
|
|
var OrgSearchMethod_value = map[string]int32{
|
|
"ORGSEARCHMETHOD_EQUALS": 0,
|
|
"ORGSEARCHMETHOD_STARTS_WITH": 1,
|
|
"ORGSEARCHMETHOD_CONTAINS": 2,
|
|
}
|
|
|
|
func (x OrgSearchMethod) String() string {
|
|
return proto.EnumName(OrgSearchMethod_name, int32(x))
|
|
}
|
|
|
|
func (OrgSearchMethod) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{2}
|
|
}
|
|
|
|
type UserState int32
|
|
|
|
const (
|
|
UserState_USERSTATE_UNSPECIFIED UserState = 0
|
|
UserState_USERSTATE_ACTIVE UserState = 1
|
|
UserState_USERSTATE_INACTIVE UserState = 2
|
|
UserState_USERSTATE_DELETED UserState = 3
|
|
UserState_USERSTATE_LOCKED UserState = 4
|
|
UserState_USERSTATE_SUSPEND UserState = 5
|
|
UserState_USERSTATE_INITIAL UserState = 6
|
|
)
|
|
|
|
var UserState_name = map[int32]string{
|
|
0: "USERSTATE_UNSPECIFIED",
|
|
1: "USERSTATE_ACTIVE",
|
|
2: "USERSTATE_INACTIVE",
|
|
3: "USERSTATE_DELETED",
|
|
4: "USERSTATE_LOCKED",
|
|
5: "USERSTATE_SUSPEND",
|
|
6: "USERSTATE_INITIAL",
|
|
}
|
|
|
|
var UserState_value = map[string]int32{
|
|
"USERSTATE_UNSPECIFIED": 0,
|
|
"USERSTATE_ACTIVE": 1,
|
|
"USERSTATE_INACTIVE": 2,
|
|
"USERSTATE_DELETED": 3,
|
|
"USERSTATE_LOCKED": 4,
|
|
"USERSTATE_SUSPEND": 5,
|
|
"USERSTATE_INITIAL": 6,
|
|
}
|
|
|
|
func (x UserState) String() string {
|
|
return proto.EnumName(UserState_name, int32(x))
|
|
}
|
|
|
|
func (UserState) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{3}
|
|
}
|
|
|
|
type Gender int32
|
|
|
|
const (
|
|
Gender_GENDER_UNSPECIFIED Gender = 0
|
|
Gender_GENDER_FEMALE Gender = 1
|
|
Gender_GENDER_MALE Gender = 2
|
|
Gender_GENDER_DIVERSE Gender = 3
|
|
)
|
|
|
|
var Gender_name = map[int32]string{
|
|
0: "GENDER_UNSPECIFIED",
|
|
1: "GENDER_FEMALE",
|
|
2: "GENDER_MALE",
|
|
3: "GENDER_DIVERSE",
|
|
}
|
|
|
|
var Gender_value = map[string]int32{
|
|
"GENDER_UNSPECIFIED": 0,
|
|
"GENDER_FEMALE": 1,
|
|
"GENDER_MALE": 2,
|
|
"GENDER_DIVERSE": 3,
|
|
}
|
|
|
|
func (x Gender) String() string {
|
|
return proto.EnumName(Gender_name, int32(x))
|
|
}
|
|
|
|
func (Gender) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{4}
|
|
}
|
|
|
|
type OrgID struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrgID) Reset() { *m = OrgID{} }
|
|
func (m *OrgID) String() string { return proto.CompactTextString(m) }
|
|
func (*OrgID) ProtoMessage() {}
|
|
func (*OrgID) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{0}
|
|
}
|
|
|
|
func (m *OrgID) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrgID.Unmarshal(m, b)
|
|
}
|
|
func (m *OrgID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrgID.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrgID) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrgID.Merge(m, src)
|
|
}
|
|
func (m *OrgID) XXX_Size() int {
|
|
return xxx_messageInfo_OrgID.Size(m)
|
|
}
|
|
func (m *OrgID) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrgID.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrgID proto.InternalMessageInfo
|
|
|
|
func (m *OrgID) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UniqueOrgRequest struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UniqueOrgRequest) Reset() { *m = UniqueOrgRequest{} }
|
|
func (m *UniqueOrgRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*UniqueOrgRequest) ProtoMessage() {}
|
|
func (*UniqueOrgRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{1}
|
|
}
|
|
|
|
func (m *UniqueOrgRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UniqueOrgRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *UniqueOrgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UniqueOrgRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UniqueOrgRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UniqueOrgRequest.Merge(m, src)
|
|
}
|
|
func (m *UniqueOrgRequest) XXX_Size() int {
|
|
return xxx_messageInfo_UniqueOrgRequest.Size(m)
|
|
}
|
|
func (m *UniqueOrgRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UniqueOrgRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UniqueOrgRequest proto.InternalMessageInfo
|
|
|
|
func (m *UniqueOrgRequest) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UniqueOrgRequest) GetDomain() string {
|
|
if m != nil {
|
|
return m.Domain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UniqueOrgResponse struct {
|
|
IsUnique bool `protobuf:"varint,1,opt,name=is_unique,json=isUnique,proto3" json:"is_unique,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UniqueOrgResponse) Reset() { *m = UniqueOrgResponse{} }
|
|
func (m *UniqueOrgResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*UniqueOrgResponse) ProtoMessage() {}
|
|
func (*UniqueOrgResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{2}
|
|
}
|
|
|
|
func (m *UniqueOrgResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UniqueOrgResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *UniqueOrgResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UniqueOrgResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UniqueOrgResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UniqueOrgResponse.Merge(m, src)
|
|
}
|
|
func (m *UniqueOrgResponse) XXX_Size() int {
|
|
return xxx_messageInfo_UniqueOrgResponse.Size(m)
|
|
}
|
|
func (m *UniqueOrgResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UniqueOrgResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UniqueOrgResponse proto.InternalMessageInfo
|
|
|
|
func (m *UniqueOrgResponse) GetIsUnique() bool {
|
|
if m != nil {
|
|
return m.IsUnique
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Org struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
State OrgState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.admin.api.v1.OrgState" json:"state,omitempty"`
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
|
Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Org) Reset() { *m = Org{} }
|
|
func (m *Org) String() string { return proto.CompactTextString(m) }
|
|
func (*Org) ProtoMessage() {}
|
|
func (*Org) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{3}
|
|
}
|
|
|
|
func (m *Org) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Org.Unmarshal(m, b)
|
|
}
|
|
func (m *Org) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Org.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Org) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Org.Merge(m, src)
|
|
}
|
|
func (m *Org) XXX_Size() int {
|
|
return xxx_messageInfo_Org.Size(m)
|
|
}
|
|
func (m *Org) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Org.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Org proto.InternalMessageInfo
|
|
|
|
func (m *Org) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Org) GetState() OrgState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return OrgState_ORGSTATE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *Org) GetCreationDate() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.CreationDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Org) GetChangeDate() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.ChangeDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Org) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Org) GetDomain() string {
|
|
if m != nil {
|
|
return m.Domain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OrgSearchRequest struct {
|
|
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
SortingColumn OrgSearchKey `protobuf:"varint,3,opt,name=sorting_column,json=sortingColumn,proto3,enum=caos.zitadel.admin.api.v1.OrgSearchKey" json:"sorting_column,omitempty"`
|
|
Asc bool `protobuf:"varint,4,opt,name=asc,proto3" json:"asc,omitempty"`
|
|
Queries []*OrgSearchQuery `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrgSearchRequest) Reset() { *m = OrgSearchRequest{} }
|
|
func (m *OrgSearchRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*OrgSearchRequest) ProtoMessage() {}
|
|
func (*OrgSearchRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{4}
|
|
}
|
|
|
|
func (m *OrgSearchRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrgSearchRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *OrgSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrgSearchRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrgSearchRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrgSearchRequest.Merge(m, src)
|
|
}
|
|
func (m *OrgSearchRequest) XXX_Size() int {
|
|
return xxx_messageInfo_OrgSearchRequest.Size(m)
|
|
}
|
|
func (m *OrgSearchRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrgSearchRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrgSearchRequest proto.InternalMessageInfo
|
|
|
|
func (m *OrgSearchRequest) GetOffset() uint64 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrgSearchRequest) GetLimit() uint64 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrgSearchRequest) GetSortingColumn() OrgSearchKey {
|
|
if m != nil {
|
|
return m.SortingColumn
|
|
}
|
|
return OrgSearchKey_ORGSEARCHKEY_UNSPECIFIED
|
|
}
|
|
|
|
func (m *OrgSearchRequest) GetAsc() bool {
|
|
if m != nil {
|
|
return m.Asc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *OrgSearchRequest) GetQueries() []*OrgSearchQuery {
|
|
if m != nil {
|
|
return m.Queries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OrgSearchQuery struct {
|
|
Key OrgSearchKey `protobuf:"varint,1,opt,name=key,proto3,enum=caos.zitadel.admin.api.v1.OrgSearchKey" json:"key,omitempty"`
|
|
Method OrgSearchMethod `protobuf:"varint,2,opt,name=method,proto3,enum=caos.zitadel.admin.api.v1.OrgSearchMethod" json:"method,omitempty"`
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrgSearchQuery) Reset() { *m = OrgSearchQuery{} }
|
|
func (m *OrgSearchQuery) String() string { return proto.CompactTextString(m) }
|
|
func (*OrgSearchQuery) ProtoMessage() {}
|
|
func (*OrgSearchQuery) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{5}
|
|
}
|
|
|
|
func (m *OrgSearchQuery) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrgSearchQuery.Unmarshal(m, b)
|
|
}
|
|
func (m *OrgSearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrgSearchQuery.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrgSearchQuery) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrgSearchQuery.Merge(m, src)
|
|
}
|
|
func (m *OrgSearchQuery) XXX_Size() int {
|
|
return xxx_messageInfo_OrgSearchQuery.Size(m)
|
|
}
|
|
func (m *OrgSearchQuery) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrgSearchQuery.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrgSearchQuery proto.InternalMessageInfo
|
|
|
|
func (m *OrgSearchQuery) GetKey() OrgSearchKey {
|
|
if m != nil {
|
|
return m.Key
|
|
}
|
|
return OrgSearchKey_ORGSEARCHKEY_UNSPECIFIED
|
|
}
|
|
|
|
func (m *OrgSearchQuery) GetMethod() OrgSearchMethod {
|
|
if m != nil {
|
|
return m.Method
|
|
}
|
|
return OrgSearchMethod_ORGSEARCHMETHOD_EQUALS
|
|
}
|
|
|
|
func (m *OrgSearchQuery) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OrgSearchResponse struct {
|
|
Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
TotalResult uint64 `protobuf:"varint,3,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"`
|
|
Result []*Org `protobuf:"bytes,4,rep,name=result,proto3" json:"result,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrgSearchResponse) Reset() { *m = OrgSearchResponse{} }
|
|
func (m *OrgSearchResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*OrgSearchResponse) ProtoMessage() {}
|
|
func (*OrgSearchResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{6}
|
|
}
|
|
|
|
func (m *OrgSearchResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrgSearchResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *OrgSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrgSearchResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrgSearchResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrgSearchResponse.Merge(m, src)
|
|
}
|
|
func (m *OrgSearchResponse) XXX_Size() int {
|
|
return xxx_messageInfo_OrgSearchResponse.Size(m)
|
|
}
|
|
func (m *OrgSearchResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrgSearchResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrgSearchResponse proto.InternalMessageInfo
|
|
|
|
func (m *OrgSearchResponse) GetOffset() uint64 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrgSearchResponse) GetLimit() uint64 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrgSearchResponse) GetTotalResult() uint64 {
|
|
if m != nil {
|
|
return m.TotalResult
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrgSearchResponse) GetResult() []*Org {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OrgSetUpRequest struct {
|
|
Org *CreateOrgRequest `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
|
|
User *CreateUserRequest `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrgSetUpRequest) Reset() { *m = OrgSetUpRequest{} }
|
|
func (m *OrgSetUpRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*OrgSetUpRequest) ProtoMessage() {}
|
|
func (*OrgSetUpRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{7}
|
|
}
|
|
|
|
func (m *OrgSetUpRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrgSetUpRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *OrgSetUpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrgSetUpRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrgSetUpRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrgSetUpRequest.Merge(m, src)
|
|
}
|
|
func (m *OrgSetUpRequest) XXX_Size() int {
|
|
return xxx_messageInfo_OrgSetUpRequest.Size(m)
|
|
}
|
|
func (m *OrgSetUpRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrgSetUpRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrgSetUpRequest proto.InternalMessageInfo
|
|
|
|
func (m *OrgSetUpRequest) GetOrg() *CreateOrgRequest {
|
|
if m != nil {
|
|
return m.Org
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *OrgSetUpRequest) GetUser() *CreateUserRequest {
|
|
if m != nil {
|
|
return m.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OrgSetUpResponse struct {
|
|
Org *Org `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
|
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrgSetUpResponse) Reset() { *m = OrgSetUpResponse{} }
|
|
func (m *OrgSetUpResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*OrgSetUpResponse) ProtoMessage() {}
|
|
func (*OrgSetUpResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{8}
|
|
}
|
|
|
|
func (m *OrgSetUpResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrgSetUpResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *OrgSetUpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrgSetUpResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrgSetUpResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrgSetUpResponse.Merge(m, src)
|
|
}
|
|
func (m *OrgSetUpResponse) XXX_Size() int {
|
|
return xxx_messageInfo_OrgSetUpResponse.Size(m)
|
|
}
|
|
func (m *OrgSetUpResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrgSetUpResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrgSetUpResponse proto.InternalMessageInfo
|
|
|
|
func (m *OrgSetUpResponse) GetOrg() *Org {
|
|
if m != nil {
|
|
return m.Org
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *OrgSetUpResponse) GetUser() *User {
|
|
if m != nil {
|
|
return m.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateUserRequest struct {
|
|
UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
NickName string `protobuf:"bytes,4,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
|
|
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
PreferredLanguage string `protobuf:"bytes,6,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"`
|
|
Gender Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=caos.zitadel.admin.api.v1.Gender" json:"gender,omitempty"`
|
|
Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
|
|
IsEmailVerified bool `protobuf:"varint,9,opt,name=is_email_verified,json=isEmailVerified,proto3" json:"is_email_verified,omitempty"`
|
|
Phone string `protobuf:"bytes,11,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
IsPhoneVerified bool `protobuf:"varint,12,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"`
|
|
Country string `protobuf:"bytes,13,opt,name=country,proto3" json:"country,omitempty"`
|
|
Locality string `protobuf:"bytes,14,opt,name=locality,proto3" json:"locality,omitempty"`
|
|
PostalCode string `protobuf:"bytes,15,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
|
|
Region string `protobuf:"bytes,16,opt,name=region,proto3" json:"region,omitempty"`
|
|
StreetAddress string `protobuf:"bytes,17,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
|
|
Password string `protobuf:"bytes,18,opt,name=password,proto3" json:"password,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateUserRequest) Reset() { *m = CreateUserRequest{} }
|
|
func (m *CreateUserRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateUserRequest) ProtoMessage() {}
|
|
func (*CreateUserRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{9}
|
|
}
|
|
|
|
func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateUserRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateUserRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateUserRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateUserRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateUserRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateUserRequest.Size(m)
|
|
}
|
|
func (m *CreateUserRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateUserRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateUserRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateUserRequest) GetUserName() string {
|
|
if m != nil {
|
|
return m.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetFirstName() string {
|
|
if m != nil {
|
|
return m.FirstName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetLastName() string {
|
|
if m != nil {
|
|
return m.LastName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetNickName() string {
|
|
if m != nil {
|
|
return m.NickName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetDisplayName() string {
|
|
if m != nil {
|
|
return m.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetPreferredLanguage() string {
|
|
if m != nil {
|
|
return m.PreferredLanguage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetGender() Gender {
|
|
if m != nil {
|
|
return m.Gender
|
|
}
|
|
return Gender_GENDER_UNSPECIFIED
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetEmail() string {
|
|
if m != nil {
|
|
return m.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetIsEmailVerified() bool {
|
|
if m != nil {
|
|
return m.IsEmailVerified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetPhone() string {
|
|
if m != nil {
|
|
return m.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetIsPhoneVerified() bool {
|
|
if m != nil {
|
|
return m.IsPhoneVerified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetCountry() string {
|
|
if m != nil {
|
|
return m.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetLocality() string {
|
|
if m != nil {
|
|
return m.Locality
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetPostalCode() string {
|
|
if m != nil {
|
|
return m.PostalCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetRegion() string {
|
|
if m != nil {
|
|
return m.Region
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetStreetAddress() string {
|
|
if m != nil {
|
|
return m.StreetAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateUserRequest) GetPassword() string {
|
|
if m != nil {
|
|
return m.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type User struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
State UserState `protobuf:"varint,2,opt,name=state,proto3,enum=caos.zitadel.admin.api.v1.UserState" json:"state,omitempty"`
|
|
CreationDate *timestamp.Timestamp `protobuf:"bytes,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
ChangeDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
|
|
UserName string `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
|
FirstName string `protobuf:"bytes,6,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
LastName string `protobuf:"bytes,7,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
NickName string `protobuf:"bytes,8,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
|
|
DisplayName string `protobuf:"bytes,9,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
PreferredLanguage string `protobuf:"bytes,10,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"`
|
|
Gender Gender `protobuf:"varint,11,opt,name=gender,proto3,enum=caos.zitadel.admin.api.v1.Gender" json:"gender,omitempty"`
|
|
Email string `protobuf:"bytes,12,opt,name=email,proto3" json:"email,omitempty"`
|
|
IsEmailVerified bool `protobuf:"varint,13,opt,name=isEmailVerified,proto3" json:"isEmailVerified,omitempty"`
|
|
Phone string `protobuf:"bytes,14,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
IsPhoneVerified bool `protobuf:"varint,15,opt,name=isPhoneVerified,proto3" json:"isPhoneVerified,omitempty"`
|
|
Country string `protobuf:"bytes,16,opt,name=country,proto3" json:"country,omitempty"`
|
|
Locality string `protobuf:"bytes,17,opt,name=locality,proto3" json:"locality,omitempty"`
|
|
PostalCode string `protobuf:"bytes,18,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
|
|
Region string `protobuf:"bytes,19,opt,name=region,proto3" json:"region,omitempty"`
|
|
StreetAddress string `protobuf:"bytes,20,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
|
|
Sequence uint64 `protobuf:"varint,21,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *User) Reset() { *m = User{} }
|
|
func (m *User) String() string { return proto.CompactTextString(m) }
|
|
func (*User) ProtoMessage() {}
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{10}
|
|
}
|
|
|
|
func (m *User) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_User.Unmarshal(m, b)
|
|
}
|
|
func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_User.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *User) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_User.Merge(m, src)
|
|
}
|
|
func (m *User) XXX_Size() int {
|
|
return xxx_messageInfo_User.Size(m)
|
|
}
|
|
func (m *User) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_User.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_User proto.InternalMessageInfo
|
|
|
|
func (m *User) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetState() UserState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return UserState_USERSTATE_UNSPECIFIED
|
|
}
|
|
|
|
func (m *User) GetCreationDate() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.CreationDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *User) GetChangeDate() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.ChangeDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *User) GetUserName() string {
|
|
if m != nil {
|
|
return m.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetFirstName() string {
|
|
if m != nil {
|
|
return m.FirstName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetLastName() string {
|
|
if m != nil {
|
|
return m.LastName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetNickName() string {
|
|
if m != nil {
|
|
return m.NickName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetDisplayName() string {
|
|
if m != nil {
|
|
return m.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetPreferredLanguage() string {
|
|
if m != nil {
|
|
return m.PreferredLanguage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetGender() Gender {
|
|
if m != nil {
|
|
return m.Gender
|
|
}
|
|
return Gender_GENDER_UNSPECIFIED
|
|
}
|
|
|
|
func (m *User) GetEmail() string {
|
|
if m != nil {
|
|
return m.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetIsEmailVerified() bool {
|
|
if m != nil {
|
|
return m.IsEmailVerified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *User) GetPhone() string {
|
|
if m != nil {
|
|
return m.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetIsPhoneVerified() bool {
|
|
if m != nil {
|
|
return m.IsPhoneVerified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *User) GetCountry() string {
|
|
if m != nil {
|
|
return m.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetLocality() string {
|
|
if m != nil {
|
|
return m.Locality
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetPostalCode() string {
|
|
if m != nil {
|
|
return m.PostalCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetRegion() string {
|
|
if m != nil {
|
|
return m.Region
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetStreetAddress() string {
|
|
if m != nil {
|
|
return m.StreetAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *User) GetSequence() uint64 {
|
|
if m != nil {
|
|
return m.Sequence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateOrgRequest struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateOrgRequest) Reset() { *m = CreateOrgRequest{} }
|
|
func (m *CreateOrgRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateOrgRequest) ProtoMessage() {}
|
|
func (*CreateOrgRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_73a7fc70dcc2027c, []int{11}
|
|
}
|
|
|
|
func (m *CreateOrgRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateOrgRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateOrgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateOrgRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateOrgRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateOrgRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateOrgRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateOrgRequest.Size(m)
|
|
}
|
|
func (m *CreateOrgRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateOrgRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateOrgRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateOrgRequest) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateOrgRequest) GetDomain() string {
|
|
if m != nil {
|
|
return m.Domain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("caos.zitadel.admin.api.v1.OrgState", OrgState_name, OrgState_value)
|
|
proto.RegisterEnum("caos.zitadel.admin.api.v1.OrgSearchKey", OrgSearchKey_name, OrgSearchKey_value)
|
|
proto.RegisterEnum("caos.zitadel.admin.api.v1.OrgSearchMethod", OrgSearchMethod_name, OrgSearchMethod_value)
|
|
proto.RegisterEnum("caos.zitadel.admin.api.v1.UserState", UserState_name, UserState_value)
|
|
proto.RegisterEnum("caos.zitadel.admin.api.v1.Gender", Gender_name, Gender_value)
|
|
proto.RegisterType((*OrgID)(nil), "caos.zitadel.admin.api.v1.OrgID")
|
|
proto.RegisterType((*UniqueOrgRequest)(nil), "caos.zitadel.admin.api.v1.UniqueOrgRequest")
|
|
proto.RegisterType((*UniqueOrgResponse)(nil), "caos.zitadel.admin.api.v1.UniqueOrgResponse")
|
|
proto.RegisterType((*Org)(nil), "caos.zitadel.admin.api.v1.Org")
|
|
proto.RegisterType((*OrgSearchRequest)(nil), "caos.zitadel.admin.api.v1.OrgSearchRequest")
|
|
proto.RegisterType((*OrgSearchQuery)(nil), "caos.zitadel.admin.api.v1.OrgSearchQuery")
|
|
proto.RegisterType((*OrgSearchResponse)(nil), "caos.zitadel.admin.api.v1.OrgSearchResponse")
|
|
proto.RegisterType((*OrgSetUpRequest)(nil), "caos.zitadel.admin.api.v1.OrgSetUpRequest")
|
|
proto.RegisterType((*OrgSetUpResponse)(nil), "caos.zitadel.admin.api.v1.OrgSetUpResponse")
|
|
proto.RegisterType((*CreateUserRequest)(nil), "caos.zitadel.admin.api.v1.CreateUserRequest")
|
|
proto.RegisterType((*User)(nil), "caos.zitadel.admin.api.v1.User")
|
|
proto.RegisterType((*CreateOrgRequest)(nil), "caos.zitadel.admin.api.v1.CreateOrgRequest")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("admin.proto", fileDescriptor_73a7fc70dcc2027c) }
|
|
|
|
var fileDescriptor_73a7fc70dcc2027c = []byte{
|
|
// 1792 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x73, 0x1b, 0x49,
|
|
0x15, 0xcf, 0xe8, 0x9f, 0xa5, 0x27, 0x59, 0x1e, 0x75, 0x1c, 0x67, 0x56, 0xce, 0x62, 0x67, 0x76,
|
|
0x43, 0x12, 0x25, 0x91, 0xb2, 0xda, 0x2a, 0xa8, 0x35, 0x45, 0x81, 0xfe, 0xcc, 0xda, 0xaa, 0xd8,
|
|
0x92, 0x77, 0x24, 0x87, 0x85, 0x8b, 0x98, 0x68, 0xda, 0xa3, 0x21, 0xd2, 0xcc, 0xa4, 0x7b, 0xe4,
|
|
0xa0, 0xa5, 0xb8, 0xa4, 0x8a, 0x13, 0x55, 0x50, 0xb5, 0x5c, 0x38, 0xf0, 0x1d, 0xf6, 0xc4, 0x95,
|
|
0x33, 0x77, 0xbe, 0x00, 0x07, 0xbe, 0x00, 0x57, 0x9f, 0xa8, 0xee, 0x9e, 0xd1, 0x9f, 0x91, 0x23,
|
|
0x3b, 0x70, 0xe1, 0x64, 0xcd, 0xfb, 0xfd, 0xde, 0xeb, 0xd7, 0xaf, 0xfb, 0xd7, 0xfd, 0xda, 0x90,
|
|
0x35, 0xcc, 0xb1, 0xed, 0x94, 0x3d, 0xe2, 0xfa, 0x2e, 0xfa, 0x68, 0x60, 0xb8, 0xb4, 0xfc, 0x8d,
|
|
0xed, 0x1b, 0x26, 0x1e, 0x95, 0x05, 0x62, 0x78, 0x76, 0xf9, 0xe2, 0xb3, 0xe2, 0x3d, 0xcb, 0x75,
|
|
0xad, 0x11, 0xae, 0x18, 0x9e, 0x5d, 0x31, 0x1c, 0xc7, 0xf5, 0x0d, 0xdf, 0x76, 0x1d, 0x2a, 0x1c,
|
|
0x8b, 0xbb, 0x01, 0xca, 0xbf, 0x5e, 0x4d, 0xce, 0x2b, 0x78, 0xec, 0xf9,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x16, 0x8b, 0x78, 0x83, 0x83, 0x15,
|
|
0xce, 0xc1, 0x0a, 0xe7, 0x17, 0xa5, 0x6b, 0x87, 0xe4, 0xff, 0x17, 0x62, 0xdc, 0x57, 0x29, 0x2e,
|
|
0x84, 0xcf, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xd9, 0xa5, 0x73, 0xb1, 0x59, 0x12, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConnInterface
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
// AdminServiceClient is the client API for AdminService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type AdminServiceClient interface {
|
|
// Healthz returns status OK as soon as the service started
|
|
Healthz(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
// Ready returns status OK as soon as all dependent services are available
|
|
Ready(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
Validate(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*_struct.Struct, error)
|
|
//ORG
|
|
IsOrgUnique(ctx context.Context, in *UniqueOrgRequest, opts ...grpc.CallOption) (*UniqueOrgResponse, error)
|
|
GetOrgByID(ctx context.Context, in *OrgID, opts ...grpc.CallOption) (*Org, error)
|
|
SearchOrgs(ctx context.Context, in *OrgSearchRequest, opts ...grpc.CallOption) (*OrgSearchResponse, error)
|
|
SetUpOrg(ctx context.Context, in *OrgSetUpRequest, opts ...grpc.CallOption) (*OrgSetUpResponse, error)
|
|
}
|
|
|
|
type adminServiceClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient {
|
|
return &adminServiceClient{cc}
|
|
}
|
|
|
|
func (c *adminServiceClient) Healthz(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
out := new(empty.Empty)
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.admin.api.v1.AdminService/Healthz", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *adminServiceClient) Ready(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
out := new(empty.Empty)
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.admin.api.v1.AdminService/Ready", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *adminServiceClient) Validate(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*_struct.Struct, error) {
|
|
out := new(_struct.Struct)
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.admin.api.v1.AdminService/Validate", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *adminServiceClient) IsOrgUnique(ctx context.Context, in *UniqueOrgRequest, opts ...grpc.CallOption) (*UniqueOrgResponse, error) {
|
|
out := new(UniqueOrgResponse)
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.admin.api.v1.AdminService/IsOrgUnique", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *adminServiceClient) GetOrgByID(ctx context.Context, in *OrgID, opts ...grpc.CallOption) (*Org, error) {
|
|
out := new(Org)
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.admin.api.v1.AdminService/GetOrgByID", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *adminServiceClient) SearchOrgs(ctx context.Context, in *OrgSearchRequest, opts ...grpc.CallOption) (*OrgSearchResponse, error) {
|
|
out := new(OrgSearchResponse)
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.admin.api.v1.AdminService/SearchOrgs", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *adminServiceClient) SetUpOrg(ctx context.Context, in *OrgSetUpRequest, opts ...grpc.CallOption) (*OrgSetUpResponse, error) {
|
|
out := new(OrgSetUpResponse)
|
|
err := c.cc.Invoke(ctx, "/caos.zitadel.admin.api.v1.AdminService/SetUpOrg", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// AdminServiceServer is the server API for AdminService service.
|
|
type AdminServiceServer interface {
|
|
// Healthz returns status OK as soon as the service started
|
|
Healthz(context.Context, *empty.Empty) (*empty.Empty, error)
|
|
// Ready returns status OK as soon as all dependent services are available
|
|
Ready(context.Context, *empty.Empty) (*empty.Empty, error)
|
|
Validate(context.Context, *empty.Empty) (*_struct.Struct, error)
|
|
//ORG
|
|
IsOrgUnique(context.Context, *UniqueOrgRequest) (*UniqueOrgResponse, error)
|
|
GetOrgByID(context.Context, *OrgID) (*Org, error)
|
|
SearchOrgs(context.Context, *OrgSearchRequest) (*OrgSearchResponse, error)
|
|
SetUpOrg(context.Context, *OrgSetUpRequest) (*OrgSetUpResponse, error)
|
|
}
|
|
|
|
// UnimplementedAdminServiceServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedAdminServiceServer struct {
|
|
}
|
|
|
|
func (*UnimplementedAdminServiceServer) Healthz(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Healthz not implemented")
|
|
}
|
|
func (*UnimplementedAdminServiceServer) Ready(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Ready not implemented")
|
|
}
|
|
func (*UnimplementedAdminServiceServer) Validate(ctx context.Context, req *empty.Empty) (*_struct.Struct, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Validate not implemented")
|
|
}
|
|
func (*UnimplementedAdminServiceServer) IsOrgUnique(ctx context.Context, req *UniqueOrgRequest) (*UniqueOrgResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method IsOrgUnique not implemented")
|
|
}
|
|
func (*UnimplementedAdminServiceServer) GetOrgByID(ctx context.Context, req *OrgID) (*Org, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetOrgByID not implemented")
|
|
}
|
|
func (*UnimplementedAdminServiceServer) SearchOrgs(ctx context.Context, req *OrgSearchRequest) (*OrgSearchResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SearchOrgs not implemented")
|
|
}
|
|
func (*UnimplementedAdminServiceServer) SetUpOrg(ctx context.Context, req *OrgSetUpRequest) (*OrgSetUpResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetUpOrg not implemented")
|
|
}
|
|
|
|
func RegisterAdminServiceServer(s *grpc.Server, srv AdminServiceServer) {
|
|
s.RegisterService(&_AdminService_serviceDesc, srv)
|
|
}
|
|
|
|
func _AdminService_Healthz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AdminServiceServer).Healthz(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/caos.zitadel.admin.api.v1.AdminService/Healthz",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AdminServiceServer).Healthz(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AdminService_Ready_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AdminServiceServer).Ready(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/caos.zitadel.admin.api.v1.AdminService/Ready",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AdminServiceServer).Ready(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AdminService_Validate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AdminServiceServer).Validate(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/caos.zitadel.admin.api.v1.AdminService/Validate",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AdminServiceServer).Validate(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AdminService_IsOrgUnique_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UniqueOrgRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AdminServiceServer).IsOrgUnique(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/caos.zitadel.admin.api.v1.AdminService/IsOrgUnique",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AdminServiceServer).IsOrgUnique(ctx, req.(*UniqueOrgRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AdminService_GetOrgByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OrgID)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AdminServiceServer).GetOrgByID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/caos.zitadel.admin.api.v1.AdminService/GetOrgByID",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AdminServiceServer).GetOrgByID(ctx, req.(*OrgID))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AdminService_SearchOrgs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OrgSearchRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AdminServiceServer).SearchOrgs(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/caos.zitadel.admin.api.v1.AdminService/SearchOrgs",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AdminServiceServer).SearchOrgs(ctx, req.(*OrgSearchRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AdminService_SetUpOrg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OrgSetUpRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AdminServiceServer).SetUpOrg(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/caos.zitadel.admin.api.v1.AdminService/SetUpOrg",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AdminServiceServer).SetUpOrg(ctx, req.(*OrgSetUpRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _AdminService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "caos.zitadel.admin.api.v1.AdminService",
|
|
HandlerType: (*AdminServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "Healthz",
|
|
Handler: _AdminService_Healthz_Handler,
|
|
},
|
|
{
|
|
MethodName: "Ready",
|
|
Handler: _AdminService_Ready_Handler,
|
|
},
|
|
{
|
|
MethodName: "Validate",
|
|
Handler: _AdminService_Validate_Handler,
|
|
},
|
|
{
|
|
MethodName: "IsOrgUnique",
|
|
Handler: _AdminService_IsOrgUnique_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetOrgByID",
|
|
Handler: _AdminService_GetOrgByID_Handler,
|
|
},
|
|
{
|
|
MethodName: "SearchOrgs",
|
|
Handler: _AdminService_SearchOrgs_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetUpOrg",
|
|
Handler: _AdminService_SetUpOrg_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "admin.proto",
|
|
}
|