chore: auto-generate protobuf files [skip ci]

This commit is contained in:
github-actions[bot]
2026-04-01 16:11:13 +00:00
parent 216c49a338
commit a4a5190dce
3 changed files with 261 additions and 120 deletions

View File

@@ -493,6 +493,102 @@ func (x *VerifyTokenResponse) GetSessionId() string {
return ""
}
type GetAccountRoleLevelRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAccountRoleLevelRequest) Reset() {
*x = GetAccountRoleLevelRequest{}
mi := &file_identity_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAccountRoleLevelRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAccountRoleLevelRequest) ProtoMessage() {}
func (x *GetAccountRoleLevelRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAccountRoleLevelRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRoleLevelRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{8}
}
func (x *GetAccountRoleLevelRequest) GetAccountId() string {
if x != nil {
return x.AccountId
}
return ""
}
type GetAccountRoleLevelResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
RoleLevel int32 `protobuf:"varint,2,opt,name=role_level,json=roleLevel,proto3" json:"role_level,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAccountRoleLevelResponse) Reset() {
*x = GetAccountRoleLevelResponse{}
mi := &file_identity_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAccountRoleLevelResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAccountRoleLevelResponse) ProtoMessage() {}
func (x *GetAccountRoleLevelResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAccountRoleLevelResponse.ProtoReflect.Descriptor instead.
func (*GetAccountRoleLevelResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{9}
}
func (x *GetAccountRoleLevelResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
func (x *GetAccountRoleLevelResponse) GetRoleLevel() int32 {
if x != nil {
return x.RoleLevel
}
return 0
}
type UnlockPinRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
@@ -503,7 +599,7 @@ type UnlockPinRequest struct {
func (x *UnlockPinRequest) Reset() {
*x = UnlockPinRequest{}
mi := &file_identity_proto_msgTypes[8]
mi := &file_identity_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -515,7 +611,7 @@ func (x *UnlockPinRequest) String() string {
func (*UnlockPinRequest) ProtoMessage() {}
func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[8]
mi := &file_identity_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -528,7 +624,7 @@ func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use UnlockPinRequest.ProtoReflect.Descriptor instead.
func (*UnlockPinRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{8}
return file_identity_proto_rawDescGZIP(), []int{10}
}
func (x *UnlockPinRequest) GetAccessToken() string {
@@ -555,7 +651,7 @@ type UnlockPinResponse struct {
func (x *UnlockPinResponse) Reset() {
*x = UnlockPinResponse{}
mi := &file_identity_proto_msgTypes[9]
mi := &file_identity_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -567,7 +663,7 @@ func (x *UnlockPinResponse) String() string {
func (*UnlockPinResponse) ProtoMessage() {}
func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[9]
mi := &file_identity_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -580,7 +676,7 @@ func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use UnlockPinResponse.ProtoReflect.Descriptor instead.
func (*UnlockPinResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{9}
return file_identity_proto_rawDescGZIP(), []int{11}
}
func (x *UnlockPinResponse) GetSuccess() bool {
@@ -608,7 +704,7 @@ type Verify2FaRequest struct {
func (x *Verify2FaRequest) Reset() {
*x = Verify2FaRequest{}
mi := &file_identity_proto_msgTypes[10]
mi := &file_identity_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -620,7 +716,7 @@ func (x *Verify2FaRequest) String() string {
func (*Verify2FaRequest) ProtoMessage() {}
func (x *Verify2FaRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[10]
mi := &file_identity_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -633,7 +729,7 @@ func (x *Verify2FaRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use Verify2FaRequest.ProtoReflect.Descriptor instead.
func (*Verify2FaRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{10}
return file_identity_proto_rawDescGZIP(), []int{12}
}
func (x *Verify2FaRequest) GetTempToken() string {
@@ -670,7 +766,7 @@ type Verify2FaResponse struct {
func (x *Verify2FaResponse) Reset() {
*x = Verify2FaResponse{}
mi := &file_identity_proto_msgTypes[11]
mi := &file_identity_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -682,7 +778,7 @@ func (x *Verify2FaResponse) String() string {
func (*Verify2FaResponse) ProtoMessage() {}
func (x *Verify2FaResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[11]
mi := &file_identity_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -695,7 +791,7 @@ func (x *Verify2FaResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use Verify2FaResponse.ProtoReflect.Descriptor instead.
func (*Verify2FaResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{11}
return file_identity_proto_rawDescGZIP(), []int{13}
}
func (x *Verify2FaResponse) GetAccessToken() string {
@@ -742,7 +838,7 @@ type AuthenticatedAccessRequest struct {
func (x *AuthenticatedAccessRequest) Reset() {
*x = AuthenticatedAccessRequest{}
mi := &file_identity_proto_msgTypes[12]
mi := &file_identity_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -754,7 +850,7 @@ func (x *AuthenticatedAccessRequest) String() string {
func (*AuthenticatedAccessRequest) ProtoMessage() {}
func (x *AuthenticatedAccessRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[12]
mi := &file_identity_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -767,7 +863,7 @@ func (x *AuthenticatedAccessRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use AuthenticatedAccessRequest.ProtoReflect.Descriptor instead.
func (*AuthenticatedAccessRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{12}
return file_identity_proto_rawDescGZIP(), []int{14}
}
func (x *AuthenticatedAccessRequest) GetAccessToken() string {
@@ -786,7 +882,7 @@ type GetTwoFaStatusRequest struct {
func (x *GetTwoFaStatusRequest) Reset() {
*x = GetTwoFaStatusRequest{}
mi := &file_identity_proto_msgTypes[13]
mi := &file_identity_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -798,7 +894,7 @@ func (x *GetTwoFaStatusRequest) String() string {
func (*GetTwoFaStatusRequest) ProtoMessage() {}
func (x *GetTwoFaStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[13]
mi := &file_identity_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -811,7 +907,7 @@ func (x *GetTwoFaStatusRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetTwoFaStatusRequest.ProtoReflect.Descriptor instead.
func (*GetTwoFaStatusRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{13}
return file_identity_proto_rawDescGZIP(), []int{15}
}
func (x *GetTwoFaStatusRequest) GetAccessToken() string {
@@ -833,7 +929,7 @@ type GetTwoFaStatusResponse struct {
func (x *GetTwoFaStatusResponse) Reset() {
*x = GetTwoFaStatusResponse{}
mi := &file_identity_proto_msgTypes[14]
mi := &file_identity_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -845,7 +941,7 @@ func (x *GetTwoFaStatusResponse) String() string {
func (*GetTwoFaStatusResponse) ProtoMessage() {}
func (x *GetTwoFaStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[14]
mi := &file_identity_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -858,7 +954,7 @@ func (x *GetTwoFaStatusResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use GetTwoFaStatusResponse.ProtoReflect.Descriptor instead.
func (*GetTwoFaStatusResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{14}
return file_identity_proto_rawDescGZIP(), []int{16}
}
func (x *GetTwoFaStatusResponse) GetTotpEnabled() bool {
@@ -901,7 +997,7 @@ type StartTotpEnrollmentResponse struct {
func (x *StartTotpEnrollmentResponse) Reset() {
*x = StartTotpEnrollmentResponse{}
mi := &file_identity_proto_msgTypes[15]
mi := &file_identity_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -913,7 +1009,7 @@ func (x *StartTotpEnrollmentResponse) String() string {
func (*StartTotpEnrollmentResponse) ProtoMessage() {}
func (x *StartTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[15]
mi := &file_identity_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -926,7 +1022,7 @@ func (x *StartTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StartTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
func (*StartTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{15}
return file_identity_proto_rawDescGZIP(), []int{17}
}
func (x *StartTotpEnrollmentResponse) GetSecretBase32() string {
@@ -967,7 +1063,7 @@ type ConfirmTotpEnrollmentRequest struct {
func (x *ConfirmTotpEnrollmentRequest) Reset() {
*x = ConfirmTotpEnrollmentRequest{}
mi := &file_identity_proto_msgTypes[16]
mi := &file_identity_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -979,7 +1075,7 @@ func (x *ConfirmTotpEnrollmentRequest) String() string {
func (*ConfirmTotpEnrollmentRequest) ProtoMessage() {}
func (x *ConfirmTotpEnrollmentRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[16]
mi := &file_identity_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -992,7 +1088,7 @@ func (x *ConfirmTotpEnrollmentRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ConfirmTotpEnrollmentRequest.ProtoReflect.Descriptor instead.
func (*ConfirmTotpEnrollmentRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{16}
return file_identity_proto_rawDescGZIP(), []int{18}
}
func (x *ConfirmTotpEnrollmentRequest) GetAccessToken() string {
@@ -1020,7 +1116,7 @@ type ConfirmTotpEnrollmentResponse struct {
func (x *ConfirmTotpEnrollmentResponse) Reset() {
*x = ConfirmTotpEnrollmentResponse{}
mi := &file_identity_proto_msgTypes[17]
mi := &file_identity_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1032,7 +1128,7 @@ func (x *ConfirmTotpEnrollmentResponse) String() string {
func (*ConfirmTotpEnrollmentResponse) ProtoMessage() {}
func (x *ConfirmTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[17]
mi := &file_identity_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1045,7 +1141,7 @@ func (x *ConfirmTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ConfirmTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
func (*ConfirmTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{17}
return file_identity_proto_rawDescGZIP(), []int{19}
}
func (x *ConfirmTotpEnrollmentResponse) GetStatus() string {
@@ -1079,7 +1175,7 @@ type CancelTotpEnrollmentResponse struct {
func (x *CancelTotpEnrollmentResponse) Reset() {
*x = CancelTotpEnrollmentResponse{}
mi := &file_identity_proto_msgTypes[18]
mi := &file_identity_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1091,7 +1187,7 @@ func (x *CancelTotpEnrollmentResponse) String() string {
func (*CancelTotpEnrollmentResponse) ProtoMessage() {}
func (x *CancelTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[18]
mi := &file_identity_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1104,7 +1200,7 @@ func (x *CancelTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use CancelTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
func (*CancelTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{18}
return file_identity_proto_rawDescGZIP(), []int{20}
}
func (x *CancelTotpEnrollmentResponse) GetStatus() string {
@@ -1132,7 +1228,7 @@ type DisableTotpRequest struct {
func (x *DisableTotpRequest) Reset() {
*x = DisableTotpRequest{}
mi := &file_identity_proto_msgTypes[19]
mi := &file_identity_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1144,7 +1240,7 @@ func (x *DisableTotpRequest) String() string {
func (*DisableTotpRequest) ProtoMessage() {}
func (x *DisableTotpRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[19]
mi := &file_identity_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1157,7 +1253,7 @@ func (x *DisableTotpRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DisableTotpRequest.ProtoReflect.Descriptor instead.
func (*DisableTotpRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{19}
return file_identity_proto_rawDescGZIP(), []int{21}
}
func (x *DisableTotpRequest) GetAccessToken() string {
@@ -1191,7 +1287,7 @@ type DisableTotpResponse struct {
func (x *DisableTotpResponse) Reset() {
*x = DisableTotpResponse{}
mi := &file_identity_proto_msgTypes[20]
mi := &file_identity_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1203,7 +1299,7 @@ func (x *DisableTotpResponse) String() string {
func (*DisableTotpResponse) ProtoMessage() {}
func (x *DisableTotpResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[20]
mi := &file_identity_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1216,7 +1312,7 @@ func (x *DisableTotpResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use DisableTotpResponse.ProtoReflect.Descriptor instead.
func (*DisableTotpResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{20}
return file_identity_proto_rawDescGZIP(), []int{22}
}
func (x *DisableTotpResponse) GetStatus() string {
@@ -1245,7 +1341,7 @@ type StartTelegramEnrollmentResponse struct {
func (x *StartTelegramEnrollmentResponse) Reset() {
*x = StartTelegramEnrollmentResponse{}
mi := &file_identity_proto_msgTypes[21]
mi := &file_identity_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1257,7 +1353,7 @@ func (x *StartTelegramEnrollmentResponse) String() string {
func (*StartTelegramEnrollmentResponse) ProtoMessage() {}
func (x *StartTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[21]
mi := &file_identity_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1270,7 +1366,7 @@ func (x *StartTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StartTelegramEnrollmentResponse.ProtoReflect.Descriptor instead.
func (*StartTelegramEnrollmentResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{21}
return file_identity_proto_rawDescGZIP(), []int{23}
}
func (x *StartTelegramEnrollmentResponse) GetEnrollmentToken() string {
@@ -1312,7 +1408,7 @@ type ConfirmTelegramEnrollmentRequest struct {
func (x *ConfirmTelegramEnrollmentRequest) Reset() {
*x = ConfirmTelegramEnrollmentRequest{}
mi := &file_identity_proto_msgTypes[22]
mi := &file_identity_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1324,7 +1420,7 @@ func (x *ConfirmTelegramEnrollmentRequest) String() string {
func (*ConfirmTelegramEnrollmentRequest) ProtoMessage() {}
func (x *ConfirmTelegramEnrollmentRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[22]
mi := &file_identity_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1337,7 +1433,7 @@ func (x *ConfirmTelegramEnrollmentRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ConfirmTelegramEnrollmentRequest.ProtoReflect.Descriptor instead.
func (*ConfirmTelegramEnrollmentRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{22}
return file_identity_proto_rawDescGZIP(), []int{24}
}
func (x *ConfirmTelegramEnrollmentRequest) GetAccessToken() string {
@@ -1372,7 +1468,7 @@ type ConfirmTelegramEnrollmentResponse struct {
func (x *ConfirmTelegramEnrollmentResponse) Reset() {
*x = ConfirmTelegramEnrollmentResponse{}
mi := &file_identity_proto_msgTypes[23]
mi := &file_identity_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1384,7 +1480,7 @@ func (x *ConfirmTelegramEnrollmentResponse) String() string {
func (*ConfirmTelegramEnrollmentResponse) ProtoMessage() {}
func (x *ConfirmTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[23]
mi := &file_identity_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1397,7 +1493,7 @@ func (x *ConfirmTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message
// Deprecated: Use ConfirmTelegramEnrollmentResponse.ProtoReflect.Descriptor instead.
func (*ConfirmTelegramEnrollmentResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{23}
return file_identity_proto_rawDescGZIP(), []int{25}
}
func (x *ConfirmTelegramEnrollmentResponse) GetStatus() string {
@@ -1432,7 +1528,7 @@ type DisableTelegramRequest struct {
func (x *DisableTelegramRequest) Reset() {
*x = DisableTelegramRequest{}
mi := &file_identity_proto_msgTypes[24]
mi := &file_identity_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1444,7 +1540,7 @@ func (x *DisableTelegramRequest) String() string {
func (*DisableTelegramRequest) ProtoMessage() {}
func (x *DisableTelegramRequest) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[24]
mi := &file_identity_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1457,7 +1553,7 @@ func (x *DisableTelegramRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use DisableTelegramRequest.ProtoReflect.Descriptor instead.
func (*DisableTelegramRequest) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{24}
return file_identity_proto_rawDescGZIP(), []int{26}
}
func (x *DisableTelegramRequest) GetAccessToken() string {
@@ -1491,7 +1587,7 @@ type DisableTelegramResponse struct {
func (x *DisableTelegramResponse) Reset() {
*x = DisableTelegramResponse{}
mi := &file_identity_proto_msgTypes[25]
mi := &file_identity_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1503,7 +1599,7 @@ func (x *DisableTelegramResponse) String() string {
func (*DisableTelegramResponse) ProtoMessage() {}
func (x *DisableTelegramResponse) ProtoReflect() protoreflect.Message {
mi := &file_identity_proto_msgTypes[25]
mi := &file_identity_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1516,7 +1612,7 @@ func (x *DisableTelegramResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use DisableTelegramResponse.ProtoReflect.Descriptor instead.
func (*DisableTelegramResponse) Descriptor() ([]byte, []int) {
return file_identity_proto_rawDescGZIP(), []int{25}
return file_identity_proto_rawDescGZIP(), []int{27}
}
func (x *DisableTelegramResponse) GetStatus() string {
@@ -1576,7 +1672,14 @@ const file_identity_proto_rawDesc = "" +
"role_level\x18\x05 \x01(\x05R\troleLevel\x12 \n" +
"\vpermissions\x18\x06 \x03(\tR\vpermissions\x12\x1d\n" +
"\n" +
"session_id\x18\a \x01(\tR\tsessionId\"P\n" +
"session_id\x18\a \x01(\tR\tsessionId\";\n" +
"\x1aGetAccountRoleLevelRequest\x12\x1d\n" +
"\n" +
"account_id\x18\x01 \x01(\tR\taccountId\"R\n" +
"\x1bGetAccountRoleLevelResponse\x12\x14\n" +
"\x05found\x18\x01 \x01(\bR\x05found\x12\x1d\n" +
"\n" +
"role_level\x18\x02 \x01(\x05R\troleLevel\"P\n" +
"\x10UnlockPinRequest\x12!\n" +
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x19\n" +
"\bpin_code\x18\x02 \x01(\tR\apinCode\"G\n" +
@@ -1651,11 +1754,12 @@ const file_identity_proto_rawDesc = "" +
"\x12_telegram_otp_code\"K\n" +
"\x17DisableTelegramResponse\x12\x16\n" +
"\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage2\x9c\x03\n" +
"\amessage\x18\x02 \x01(\tR\amessage2\x80\x04\n" +
"\vAuthService\x128\n" +
"\x05Login\x12\x16.identity.LoginRequest\x1a\x17.identity.LoginResponse\x12>\n" +
"\aRefresh\x12\x18.identity.RefreshRequest\x1a\x19.identity.RefreshResponse\x12J\n" +
"\vVerifyToken\x12\x1c.identity.VerifyTokenRequest\x1a\x1d.identity.VerifyTokenResponse\x12;\n" +
"\vVerifyToken\x12\x1c.identity.VerifyTokenRequest\x1a\x1d.identity.VerifyTokenResponse\x12b\n" +
"\x13GetAccountRoleLevel\x12$.identity.GetAccountRoleLevelRequest\x1a%.identity.GetAccountRoleLevelResponse\x12;\n" +
"\x06Logout\x12\x17.identity.LogoutRequest\x1a\x18.identity.LogoutResponse\x12D\n" +
"\tUnlockPin\x12\x1a.identity.UnlockPinRequest\x1a\x1b.identity.UnlockPinResponse\x12D\n" +
"\tVerify2Fa\x12\x1a.identity.Verify2FaRequest\x1a\x1b.identity.Verify2FaResponse2\x9c\x06\n" +
@@ -1681,7 +1785,7 @@ func file_identity_proto_rawDescGZIP() []byte {
return file_identity_proto_rawDescData
}
var file_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
var file_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
var file_identity_proto_goTypes = []any{
(*LoginRequest)(nil), // 0: identity.LoginRequest
(*LoginResponse)(nil), // 1: identity.LoginResponse
@@ -1691,56 +1795,60 @@ var file_identity_proto_goTypes = []any{
(*LogoutResponse)(nil), // 5: identity.LogoutResponse
(*VerifyTokenRequest)(nil), // 6: identity.VerifyTokenRequest
(*VerifyTokenResponse)(nil), // 7: identity.VerifyTokenResponse
(*UnlockPinRequest)(nil), // 8: identity.UnlockPinRequest
(*UnlockPinResponse)(nil), // 9: identity.UnlockPinResponse
(*Verify2FaRequest)(nil), // 10: identity.Verify2FaRequest
(*Verify2FaResponse)(nil), // 11: identity.Verify2FaResponse
(*AuthenticatedAccessRequest)(nil), // 12: identity.AuthenticatedAccessRequest
(*GetTwoFaStatusRequest)(nil), // 13: identity.GetTwoFaStatusRequest
(*GetTwoFaStatusResponse)(nil), // 14: identity.GetTwoFaStatusResponse
(*StartTotpEnrollmentResponse)(nil), // 15: identity.StartTotpEnrollmentResponse
(*ConfirmTotpEnrollmentRequest)(nil), // 16: identity.ConfirmTotpEnrollmentRequest
(*ConfirmTotpEnrollmentResponse)(nil), // 17: identity.ConfirmTotpEnrollmentResponse
(*CancelTotpEnrollmentResponse)(nil), // 18: identity.CancelTotpEnrollmentResponse
(*DisableTotpRequest)(nil), // 19: identity.DisableTotpRequest
(*DisableTotpResponse)(nil), // 20: identity.DisableTotpResponse
(*StartTelegramEnrollmentResponse)(nil), // 21: identity.StartTelegramEnrollmentResponse
(*ConfirmTelegramEnrollmentRequest)(nil), // 22: identity.ConfirmTelegramEnrollmentRequest
(*ConfirmTelegramEnrollmentResponse)(nil), // 23: identity.ConfirmTelegramEnrollmentResponse
(*DisableTelegramRequest)(nil), // 24: identity.DisableTelegramRequest
(*DisableTelegramResponse)(nil), // 25: identity.DisableTelegramResponse
(*GetAccountRoleLevelRequest)(nil), // 8: identity.GetAccountRoleLevelRequest
(*GetAccountRoleLevelResponse)(nil), // 9: identity.GetAccountRoleLevelResponse
(*UnlockPinRequest)(nil), // 10: identity.UnlockPinRequest
(*UnlockPinResponse)(nil), // 11: identity.UnlockPinResponse
(*Verify2FaRequest)(nil), // 12: identity.Verify2FaRequest
(*Verify2FaResponse)(nil), // 13: identity.Verify2FaResponse
(*AuthenticatedAccessRequest)(nil), // 14: identity.AuthenticatedAccessRequest
(*GetTwoFaStatusRequest)(nil), // 15: identity.GetTwoFaStatusRequest
(*GetTwoFaStatusResponse)(nil), // 16: identity.GetTwoFaStatusResponse
(*StartTotpEnrollmentResponse)(nil), // 17: identity.StartTotpEnrollmentResponse
(*ConfirmTotpEnrollmentRequest)(nil), // 18: identity.ConfirmTotpEnrollmentRequest
(*ConfirmTotpEnrollmentResponse)(nil), // 19: identity.ConfirmTotpEnrollmentResponse
(*CancelTotpEnrollmentResponse)(nil), // 20: identity.CancelTotpEnrollmentResponse
(*DisableTotpRequest)(nil), // 21: identity.DisableTotpRequest
(*DisableTotpResponse)(nil), // 22: identity.DisableTotpResponse
(*StartTelegramEnrollmentResponse)(nil), // 23: identity.StartTelegramEnrollmentResponse
(*ConfirmTelegramEnrollmentRequest)(nil), // 24: identity.ConfirmTelegramEnrollmentRequest
(*ConfirmTelegramEnrollmentResponse)(nil), // 25: identity.ConfirmTelegramEnrollmentResponse
(*DisableTelegramRequest)(nil), // 26: identity.DisableTelegramRequest
(*DisableTelegramResponse)(nil), // 27: identity.DisableTelegramResponse
}
var file_identity_proto_depIdxs = []int32{
0, // 0: identity.AuthService.Login:input_type -> identity.LoginRequest
2, // 1: identity.AuthService.Refresh:input_type -> identity.RefreshRequest
6, // 2: identity.AuthService.VerifyToken:input_type -> identity.VerifyTokenRequest
4, // 3: identity.AuthService.Logout:input_type -> identity.LogoutRequest
8, // 4: identity.AuthService.UnlockPin:input_type -> identity.UnlockPinRequest
10, // 5: identity.AuthService.Verify2Fa:input_type -> identity.Verify2FaRequest
13, // 6: identity.TwoFaService.GetTwoFaStatus:input_type -> identity.GetTwoFaStatusRequest
12, // 7: identity.TwoFaService.StartTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
16, // 8: identity.TwoFaService.ConfirmTotpErollment:input_type -> identity.ConfirmTotpEnrollmentRequest
12, // 9: identity.TwoFaService.CancelTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
19, // 10: identity.TwoFaService.DisableTotp:input_type -> identity.DisableTotpRequest
12, // 11: identity.TwoFaService.StartTelegramEnrollment:input_type -> identity.AuthenticatedAccessRequest
22, // 12: identity.TwoFaService.ConfirmTelegramEnrollment:input_type -> identity.ConfirmTelegramEnrollmentRequest
24, // 13: identity.TwoFaService.DisableTelegram:input_type -> identity.DisableTelegramRequest
1, // 14: identity.AuthService.Login:output_type -> identity.LoginResponse
3, // 15: identity.AuthService.Refresh:output_type -> identity.RefreshResponse
7, // 16: identity.AuthService.VerifyToken:output_type -> identity.VerifyTokenResponse
5, // 17: identity.AuthService.Logout:output_type -> identity.LogoutResponse
9, // 18: identity.AuthService.UnlockPin:output_type -> identity.UnlockPinResponse
11, // 19: identity.AuthService.Verify2Fa:output_type -> identity.Verify2FaResponse
14, // 20: identity.TwoFaService.GetTwoFaStatus:output_type -> identity.GetTwoFaStatusResponse
15, // 21: identity.TwoFaService.StartTotpEnrollment:output_type -> identity.StartTotpEnrollmentResponse
17, // 22: identity.TwoFaService.ConfirmTotpErollment:output_type -> identity.ConfirmTotpEnrollmentResponse
18, // 23: identity.TwoFaService.CancelTotpEnrollment:output_type -> identity.CancelTotpEnrollmentResponse
20, // 24: identity.TwoFaService.DisableTotp:output_type -> identity.DisableTotpResponse
21, // 25: identity.TwoFaService.StartTelegramEnrollment:output_type -> identity.StartTelegramEnrollmentResponse
23, // 26: identity.TwoFaService.ConfirmTelegramEnrollment:output_type -> identity.ConfirmTelegramEnrollmentResponse
25, // 27: identity.TwoFaService.DisableTelegram:output_type -> identity.DisableTelegramResponse
14, // [14:28] is the sub-list for method output_type
0, // [0:14] is the sub-list for method input_type
8, // 3: identity.AuthService.GetAccountRoleLevel:input_type -> identity.GetAccountRoleLevelRequest
4, // 4: identity.AuthService.Logout:input_type -> identity.LogoutRequest
10, // 5: identity.AuthService.UnlockPin:input_type -> identity.UnlockPinRequest
12, // 6: identity.AuthService.Verify2Fa:input_type -> identity.Verify2FaRequest
15, // 7: identity.TwoFaService.GetTwoFaStatus:input_type -> identity.GetTwoFaStatusRequest
14, // 8: identity.TwoFaService.StartTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
18, // 9: identity.TwoFaService.ConfirmTotpErollment:input_type -> identity.ConfirmTotpEnrollmentRequest
14, // 10: identity.TwoFaService.CancelTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
21, // 11: identity.TwoFaService.DisableTotp:input_type -> identity.DisableTotpRequest
14, // 12: identity.TwoFaService.StartTelegramEnrollment:input_type -> identity.AuthenticatedAccessRequest
24, // 13: identity.TwoFaService.ConfirmTelegramEnrollment:input_type -> identity.ConfirmTelegramEnrollmentRequest
26, // 14: identity.TwoFaService.DisableTelegram:input_type -> identity.DisableTelegramRequest
1, // 15: identity.AuthService.Login:output_type -> identity.LoginResponse
3, // 16: identity.AuthService.Refresh:output_type -> identity.RefreshResponse
7, // 17: identity.AuthService.VerifyToken:output_type -> identity.VerifyTokenResponse
9, // 18: identity.AuthService.GetAccountRoleLevel:output_type -> identity.GetAccountRoleLevelResponse
5, // 19: identity.AuthService.Logout:output_type -> identity.LogoutResponse
11, // 20: identity.AuthService.UnlockPin:output_type -> identity.UnlockPinResponse
13, // 21: identity.AuthService.Verify2Fa:output_type -> identity.Verify2FaResponse
16, // 22: identity.TwoFaService.GetTwoFaStatus:output_type -> identity.GetTwoFaStatusResponse
17, // 23: identity.TwoFaService.StartTotpEnrollment:output_type -> identity.StartTotpEnrollmentResponse
19, // 24: identity.TwoFaService.ConfirmTotpErollment:output_type -> identity.ConfirmTotpEnrollmentResponse
20, // 25: identity.TwoFaService.CancelTotpEnrollment:output_type -> identity.CancelTotpEnrollmentResponse
22, // 26: identity.TwoFaService.DisableTotp:output_type -> identity.DisableTotpResponse
23, // 27: identity.TwoFaService.StartTelegramEnrollment:output_type -> identity.StartTelegramEnrollmentResponse
25, // 28: identity.TwoFaService.ConfirmTelegramEnrollment:output_type -> identity.ConfirmTelegramEnrollmentResponse
27, // 29: identity.TwoFaService.DisableTelegram:output_type -> identity.DisableTelegramResponse
15, // [15:30] is the sub-list for method output_type
0, // [0:15] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
@@ -1752,16 +1860,16 @@ func file_identity_proto_init() {
return
}
file_identity_proto_msgTypes[1].OneofWrappers = []any{}
file_identity_proto_msgTypes[10].OneofWrappers = []any{}
file_identity_proto_msgTypes[19].OneofWrappers = []any{}
file_identity_proto_msgTypes[24].OneofWrappers = []any{}
file_identity_proto_msgTypes[12].OneofWrappers = []any{}
file_identity_proto_msgTypes[21].OneofWrappers = []any{}
file_identity_proto_msgTypes[26].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_identity_proto_rawDesc), len(file_identity_proto_rawDesc)),
NumEnums: 0,
NumMessages: 26,
NumMessages: 28,
NumExtensions: 0,
NumServices: 2,
},