diff --git a/gen/account.ts b/gen/account.ts index 5f09e59..28f237d 100644 --- a/gen/account.ts +++ b/gen/account.ts @@ -80,6 +80,7 @@ export interface ChangeDataRequest { customStatusEmoji?: string | undefined; timezone?: string | undefined; language?: string | undefined; + isPublic?: boolean | undefined; } export interface ChangeDataResponse { diff --git a/gen/go/account.pb.go b/gen/go/account.pb.go index 1fe7e3d..8a03bba 100644 --- a/gen/go/account.pb.go +++ b/gen/go/account.pb.go @@ -593,6 +593,7 @@ type ChangeDataRequest struct { CustomStatusEmoji *string `protobuf:"bytes,8,opt,name=custom_status_emoji,json=customStatusEmoji,proto3,oneof" json:"custom_status_emoji,omitempty"` Timezone *string `protobuf:"bytes,9,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"` Language *string `protobuf:"bytes,10,opt,name=language,proto3,oneof" json:"language,omitempty"` + IsPublic *bool `protobuf:"varint,11,opt,name=is_public,json=isPublic,proto3,oneof" json:"is_public,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -697,6 +698,13 @@ func (x *ChangeDataRequest) GetLanguage() string { return "" } +func (x *ChangeDataRequest) GetIsPublic() bool { + if x != nil && x.IsPublic != nil { + return *x.IsPublic + } + return false +} + type ChangeDataResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` @@ -1995,7 +2003,7 @@ const file_account_proto_rawDesc = "" + "\auser_id\x18\x01 \x01(\tR\x06userId\"H\n" + "\x12DeleteUserResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + - "\amessage\x18\x02 \x01(\tR\amessage\"\xeb\x03\n" + + "\amessage\x18\x02 \x01(\tR\amessage\"\x9b\x04\n" + "\x11ChangeDataRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" + "\n" + @@ -2009,7 +2017,8 @@ const file_account_proto_rawDesc = "" + "\x13custom_status_emoji\x18\b \x01(\tH\x05R\x11customStatusEmoji\x88\x01\x01\x12\x1f\n" + "\btimezone\x18\t \x01(\tH\x06R\btimezone\x88\x01\x01\x12\x1f\n" + "\blanguage\x18\n" + - " \x01(\tH\aR\blanguage\x88\x01\x01B\b\n" + + " \x01(\tH\aR\blanguage\x88\x01\x01\x12 \n" + + "\tis_public\x18\v \x01(\bH\bR\bisPublic\x88\x01\x01B\b\n" + "\x06_emailB\b\n" + "\x06_phoneB\f\n" + "\n" + @@ -2018,7 +2027,9 @@ const file_account_proto_rawDesc = "" + "\x13_custom_status_textB\x16\n" + "\x14_custom_status_emojiB\v\n" + "\t_timezoneB\v\n" + - "\t_language\"H\n" + + "\t_languageB\f\n" + + "\n" + + "_is_public\"H\n" + "\x12ChangeDataResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"E\n" +