dete accounts
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m1s
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 2m1s
This commit is contained in:
@@ -863,6 +863,86 @@ func (*ChangePasswordResponse) Descriptor() ([]byte, []int) {
|
||||
return file_comasvc_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
type DeleteAccountRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id string `protobuf:"bytes,22,opt,name=id,proto3" json:"id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DeleteAccountRequest) Reset() {
|
||||
*x = DeleteAccountRequest{}
|
||||
mi := &file_comasvc_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DeleteAccountRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeleteAccountRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_comasvc_proto_msgTypes[18]
|
||||
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 DeleteAccountRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteAccountRequest) Descriptor() ([]byte, []int) {
|
||||
return file_comasvc_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *DeleteAccountRequest) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type DeleteAccountResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *DeleteAccountResponse) Reset() {
|
||||
*x = DeleteAccountResponse{}
|
||||
mi := &file_comasvc_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *DeleteAccountResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DeleteAccountResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteAccountResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_comasvc_proto_msgTypes[19]
|
||||
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 DeleteAccountResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteAccountResponse) Descriptor() ([]byte, []int) {
|
||||
return file_comasvc_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
var File_comasvc_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_comasvc_proto_rawDesc = "" +
|
||||
@@ -914,7 +994,10 @@ const file_comasvc_proto_rawDesc = "" +
|
||||
"\x15ChangePasswordRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x0f \x01(\tR\x02id\x12\x1a\n" +
|
||||
"\bpassword\x18\x10 \x01(\tR\bpassword\"\x18\n" +
|
||||
"\x16ChangePasswordResponse2\xcc\x04\n" +
|
||||
"\x16ChangePasswordResponse\"&\n" +
|
||||
"\x14DeleteAccountRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x16 \x01(\tR\x02id\"\x17\n" +
|
||||
"\x15DeleteAccountResponse2\x8e\x05\n" +
|
||||
"\x10MobilityAccounts\x121\n" +
|
||||
"\bRegister\x12\x10.RegisterRequest\x1a\x11.RegisterResponse\"\x00\x127\n" +
|
||||
"\n" +
|
||||
@@ -924,7 +1007,8 @@ const file_comasvc_proto_rawDesc = "" +
|
||||
"GetAccount\x12\x12.GetAccountRequest\x1a\x13.GetAccountResponse\"\x00\x12O\n" +
|
||||
"\x12GetAccountUsername\x12\x1a.GetAccountUsernameRequest\x1a\x1b.GetAccountUsernameResponse\"\x00\x12:\n" +
|
||||
"\vGetAccounts\x12\x13.GetAccountsRequest\x1a\x14.GetAccountsResponse\"\x00\x12I\n" +
|
||||
"\x10GetAccountsBatch\x12\x18.GetAccountsBatchRequest\x1a\x19.GetAccountsBatchResponse\"\x00\x12(\n" +
|
||||
"\x10GetAccountsBatch\x12\x18.GetAccountsBatchRequest\x1a\x19.GetAccountsBatchResponse\"\x00\x12@\n" +
|
||||
"\rDeleteAccount\x12\x15.DeleteAccountRequest\x1a\x16.DeleteAccountResponse\"\x00\x12(\n" +
|
||||
"\x05Login\x12\r.LoginRequest\x1a\x0e.LoginResponse\"\x00\x12C\n" +
|
||||
"\x0eChangePassword\x12\x16.ChangePasswordRequest\x1a\x17.ChangePasswordResponse\"\x00B9Z7git.coopgo.io/coopgo-platform/mobility-accounts/grpcapib\x06proto3"
|
||||
|
||||
@@ -940,7 +1024,7 @@ func file_comasvc_proto_rawDescGZIP() []byte {
|
||||
return file_comasvc_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_comasvc_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||||
var file_comasvc_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
||||
var file_comasvc_proto_goTypes = []any{
|
||||
(*LoginRequest)(nil), // 0: LoginRequest
|
||||
(*LoginResponse)(nil), // 1: LoginResponse
|
||||
@@ -960,18 +1044,20 @@ var file_comasvc_proto_goTypes = []any{
|
||||
(*GetAccountsBatchResponse)(nil), // 15: GetAccountsBatchResponse
|
||||
(*ChangePasswordRequest)(nil), // 16: ChangePasswordRequest
|
||||
(*ChangePasswordResponse)(nil), // 17: ChangePasswordResponse
|
||||
(*Account)(nil), // 18: Account
|
||||
(*DeleteAccountRequest)(nil), // 18: DeleteAccountRequest
|
||||
(*DeleteAccountResponse)(nil), // 19: DeleteAccountResponse
|
||||
(*Account)(nil), // 20: Account
|
||||
}
|
||||
var file_comasvc_proto_depIdxs = []int32{
|
||||
18, // 0: LoginResponse.account:type_name -> Account
|
||||
18, // 1: RegisterRequest.account:type_name -> Account
|
||||
18, // 2: RegisterResponse.account:type_name -> Account
|
||||
18, // 3: UpdateDataRequest.account:type_name -> Account
|
||||
18, // 4: UpdateDataResponse.account:type_name -> Account
|
||||
18, // 5: GetAccountResponse.account:type_name -> Account
|
||||
18, // 6: GetAccountUsernameResponse.account:type_name -> Account
|
||||
18, // 7: GetAccountsResponse.accounts:type_name -> Account
|
||||
18, // 8: GetAccountsBatchResponse.accounts:type_name -> Account
|
||||
20, // 0: LoginResponse.account:type_name -> Account
|
||||
20, // 1: RegisterRequest.account:type_name -> Account
|
||||
20, // 2: RegisterResponse.account:type_name -> Account
|
||||
20, // 3: UpdateDataRequest.account:type_name -> Account
|
||||
20, // 4: UpdateDataResponse.account:type_name -> Account
|
||||
20, // 5: GetAccountResponse.account:type_name -> Account
|
||||
20, // 6: GetAccountUsernameResponse.account:type_name -> Account
|
||||
20, // 7: GetAccountsResponse.accounts:type_name -> Account
|
||||
20, // 8: GetAccountsBatchResponse.accounts:type_name -> Account
|
||||
2, // 9: MobilityAccounts.Register:input_type -> RegisterRequest
|
||||
4, // 10: MobilityAccounts.UpdateData:input_type -> UpdateDataRequest
|
||||
6, // 11: MobilityAccounts.UpdatePhoneNumber:input_type -> UpdatePhoneNumberRequest
|
||||
@@ -979,19 +1065,21 @@ var file_comasvc_proto_depIdxs = []int32{
|
||||
10, // 13: MobilityAccounts.GetAccountUsername:input_type -> GetAccountUsernameRequest
|
||||
12, // 14: MobilityAccounts.GetAccounts:input_type -> GetAccountsRequest
|
||||
14, // 15: MobilityAccounts.GetAccountsBatch:input_type -> GetAccountsBatchRequest
|
||||
0, // 16: MobilityAccounts.Login:input_type -> LoginRequest
|
||||
16, // 17: MobilityAccounts.ChangePassword:input_type -> ChangePasswordRequest
|
||||
3, // 18: MobilityAccounts.Register:output_type -> RegisterResponse
|
||||
5, // 19: MobilityAccounts.UpdateData:output_type -> UpdateDataResponse
|
||||
7, // 20: MobilityAccounts.UpdatePhoneNumber:output_type -> UpdatePhoneNumberResponse
|
||||
9, // 21: MobilityAccounts.GetAccount:output_type -> GetAccountResponse
|
||||
11, // 22: MobilityAccounts.GetAccountUsername:output_type -> GetAccountUsernameResponse
|
||||
13, // 23: MobilityAccounts.GetAccounts:output_type -> GetAccountsResponse
|
||||
15, // 24: MobilityAccounts.GetAccountsBatch:output_type -> GetAccountsBatchResponse
|
||||
1, // 25: MobilityAccounts.Login:output_type -> LoginResponse
|
||||
17, // 26: MobilityAccounts.ChangePassword:output_type -> ChangePasswordResponse
|
||||
18, // [18:27] is the sub-list for method output_type
|
||||
9, // [9:18] is the sub-list for method input_type
|
||||
18, // 16: MobilityAccounts.DeleteAccount:input_type -> DeleteAccountRequest
|
||||
0, // 17: MobilityAccounts.Login:input_type -> LoginRequest
|
||||
16, // 18: MobilityAccounts.ChangePassword:input_type -> ChangePasswordRequest
|
||||
3, // 19: MobilityAccounts.Register:output_type -> RegisterResponse
|
||||
5, // 20: MobilityAccounts.UpdateData:output_type -> UpdateDataResponse
|
||||
7, // 21: MobilityAccounts.UpdatePhoneNumber:output_type -> UpdatePhoneNumberResponse
|
||||
9, // 22: MobilityAccounts.GetAccount:output_type -> GetAccountResponse
|
||||
11, // 23: MobilityAccounts.GetAccountUsername:output_type -> GetAccountUsernameResponse
|
||||
13, // 24: MobilityAccounts.GetAccounts:output_type -> GetAccountsResponse
|
||||
15, // 25: MobilityAccounts.GetAccountsBatch:output_type -> GetAccountsBatchResponse
|
||||
19, // 26: MobilityAccounts.DeleteAccount:output_type -> DeleteAccountResponse
|
||||
1, // 27: MobilityAccounts.Login:output_type -> LoginResponse
|
||||
17, // 28: MobilityAccounts.ChangePassword:output_type -> ChangePasswordResponse
|
||||
19, // [19:29] is the sub-list for method output_type
|
||||
9, // [9:19] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
@@ -1009,7 +1097,7 @@ func file_comasvc_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_comasvc_proto_rawDesc), len(file_comasvc_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 18,
|
||||
NumMessages: 20,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user