diff --git a/src/ss/member/member.rs b/src/ss/member/member.rs index 9178763..723b9e2 100644 --- a/src/ss/member/member.rs +++ b/src/ss/member/member.rs @@ -6,6 +6,47 @@ use crate::models::member; const SUBJECT: &str = "bet.beteran.ss.member"; +pub const SUBJECT_CREATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".CreateMember"); +/// subject = bet.beteran.ss.member.CreateMember +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateMemberRequest { + #[prost(message, optional, tag="1")] + pub client: ::core::option::Option, + #[prost(string, tag="2")] + pub site_id: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub member_class_id: ::prost::alloc::string::String, + #[prost(string, tag="4")] + pub member_level_id: ::prost::alloc::string::String, + #[prost(string, optional, tag="5")] + pub referrer_member_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag="6")] + pub username: ::prost::alloc::string::String, + #[prost(string, tag="7")] + pub nickname: ::prost::alloc::string::String, + #[prost(string, optional, tag="8")] + pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration="member::MemberState", tag="9")] + pub state: i32, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateMemberResponse { + #[prost(message, optional, tag="1")] + pub error: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub result: ::core::option::Option, +} +/// Nested message and enum types in `CreateMemberResponse`. +pub mod create_member_response { + use crate::models::member; + + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result { + #[prost(message, optional, tag="1")] + pub member: ::core::option::Option, + } +} + pub const SUBJECT_LIST_MEMBERS: &str = const_format::concatcp!(SUBJECT, ".ListMembers"); /// subject = bet.beteran.ss.member.ListMembers #[derive(Clone, PartialEq, ::prost::Message)]