diff --git a/src/c2se/backend/member.rs b/src/c2se/backend/member.rs index 5f6ec65..658ff27 100644 --- a/src/c2se/backend/member.rs +++ b/src/c2se/backend/member.rs @@ -6,6 +6,8 @@ pub const SUBJECT_GET_MEMBER: &str = const_format::concatcp!(SUBJECT, ".GetMembe pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str = const_format::concatcp!(SUBJECT, ".GetMemberByUsername"); pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember"); +pub const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberForPassword"); pub const SUBJECT_UPDATE_MEMBER_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberForState"); pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember"); diff --git a/src/c2se/backend/member_bank_account.rs b/src/c2se/backend/member_bank_account.rs index 1bac116..6cb7c6b 100644 --- a/src/c2se/backend/member_bank_account.rs +++ b/src/c2se/backend/member_bank_account.rs @@ -1,7 +1,14 @@ const SUBJECT: &str = "bet.beteran.c2se.backend.member_bank_account"; -pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount"); -pub const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts"); -pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankAccount"); -pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount"); -pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount"); +pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount"); +pub const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: &str = + const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts"); +pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str = + const_format::concatcp!(SUBJECT, ".GetMemberBankAccount"); +pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount"); +pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccountForExchangePassword"); +pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount"); diff --git a/src/c2se/frontend/member.rs b/src/c2se/frontend/member.rs new file mode 100644 index 0000000..9020fa7 --- /dev/null +++ b/src/c2se/frontend/member.rs @@ -0,0 +1,10 @@ +const SUBJECT: &str = "bet.beteran.c2se.frontend.member"; + +pub const SUBJECT_CREATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".CreateMember"); +pub const SUBJECT_GET_MEMBER: &str = const_format::concatcp!(SUBJECT, ".GetMember"); +pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str = + const_format::concatcp!(SUBJECT, ".GetMemberByUsername"); +pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember"); +pub const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberForPassword"); +pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember"); diff --git a/src/c2se/frontend/member_bank_account.rs b/src/c2se/frontend/member_bank_account.rs new file mode 100644 index 0000000..ee6ed53 --- /dev/null +++ b/src/c2se/frontend/member_bank_account.rs @@ -0,0 +1,10 @@ +const SUBJECT: &str = "bet.beteran.c2se.frontend.member_bank_account"; + +pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount"); +pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str = + const_format::concatcp!(SUBJECT, ".GetMemberBankAccount"); +pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount"); +pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccountForExchangePassword"); diff --git a/src/c2se/frontend/member_bank_deposit.rs b/src/c2se/frontend/member_bank_deposit.rs new file mode 100644 index 0000000..5fb2460 --- /dev/null +++ b/src/c2se/frontend/member_bank_deposit.rs @@ -0,0 +1,12 @@ +const SUBJECT: &str = "bet.beteran.c2se.frontend.member_bank_deposit"; + +pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit"); +pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str = + const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits"); +pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit"); +pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit"); +pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit"); diff --git a/src/c2se/frontend/member_bank_withdraw.rs b/src/c2se/frontend/member_bank_withdraw.rs new file mode 100644 index 0000000..27cd0ac --- /dev/null +++ b/src/c2se/frontend/member_bank_withdraw.rs @@ -0,0 +1,12 @@ +const SUBJECT: &str = "bet.beteran.c2se.frontend.member_bank_withdraw"; + +pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw"); +pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str = + const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws"); +pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw"); +pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw"); +pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str = + const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw"); diff --git a/src/c2se/frontend/mod.rs b/src/c2se/frontend/mod.rs index a5aabcc..e10759f 100644 --- a/src/c2se/frontend/mod.rs +++ b/src/c2se/frontend/mod.rs @@ -1,11 +1,11 @@ pub mod api; pub mod bank; pub mod identity; +pub mod member; +pub mod member_bank_account; +pub mod member_bank_deposit; +pub mod member_bank_withdraw; pub mod member_referrer; -// pub mod member_bank_account; -// pub mod member_bank_deposit; -// pub mod member_bank_withdraw; // pub mod member_class; // pub mod member_level; -// pub mod member; // pub mod site; diff --git a/src/c2se/member.rs b/src/c2se/member.rs index 06501f8..8f8bbc9 100644 --- a/src/c2se/member.rs +++ b/src/c2se/member.rs @@ -35,6 +35,8 @@ pub mod create_member_request { pub account_number: ::prost::alloc::string::String, #[prost(string, tag = "4")] pub exchange_password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "5")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GameSetting { @@ -219,14 +221,12 @@ pub struct UpdateMemberRequest { #[prost(string, optional, tag = "3")] pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "4")] - pub password: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag = "5")] pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(message, optional, tag = "6")] + #[prost(message, optional, tag = "5")] pub bank_account: ::core::option::Option, - #[prost(message, optional, tag = "7")] + #[prost(message, optional, tag = "6")] pub game_setting: ::core::option::Option, - #[prost(message, optional, tag = "8")] + #[prost(message, optional, tag = "7")] pub settlement_setting: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberRequest`. @@ -241,8 +241,8 @@ pub mod update_member_request { pub name: ::prost::alloc::string::String, #[prost(string, tag = "4")] pub account_number: ::prost::alloc::string::String, - #[prost(string, tag = "5")] - pub exchange_password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "5")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GameSetting { @@ -329,6 +329,25 @@ pub mod update_member_response { } } #[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberForPasswordRequest { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub password: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberForPasswordResponse { + #[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 `UpdateMemberForPasswordResponse`. +pub mod update_member_for_password_response { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} +} +#[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberForStateRequest { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, diff --git a/src/c2se/member_bank_account.rs b/src/c2se/member_bank_account.rs index 45fa8cc..1b58f9c 100644 --- a/src/c2se/member_bank_account.rs +++ b/src/c2se/member_bank_account.rs @@ -101,9 +101,7 @@ pub struct UpdateMemberBankAccountRequest { pub name: ::prost::alloc::string::String, #[prost(string, tag = "4")] pub account_number: ::prost::alloc::string::String, - #[prost(string, tag = "5")] - pub exchange_password: ::prost::alloc::string::String, - #[prost(string, optional, tag = "6")] + #[prost(string, optional, tag = "5")] pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] @@ -123,6 +121,26 @@ pub mod update_member_bank_account_response { } } #[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberBankAccountForExchangePasswordRequest { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub exchange_password: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberBankAccountForExchangePasswordResponse { + #[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 `UpdateMemberBankAccountForExchangePasswordResponse`. +pub mod update_member_bank_account_for_exchange_password_response { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} +} +#[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankAccountRequest { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, diff --git a/src/ss/member.rs b/src/ss/member.rs index bfce7ac..dbc98fb 100644 --- a/src/ss/member.rs +++ b/src/ss/member.rs @@ -7,6 +7,8 @@ pub const SUBJECT_GET_MEMBER: &str = const_format::concatcp!(SUBJECT, ".GetMembe pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str = const_format::concatcp!(SUBJECT, ".GetMemberByUsername"); pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember"); +pub const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberForPassword"); pub const SUBJECT_UPDATE_MEMBER_FOR_STATE: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberForState"); pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember"); @@ -293,14 +295,12 @@ pub mod update_member_request { #[prost(string, optional, tag = "3")] pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag = "4")] - pub password: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag = "5")] pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(message, optional, tag = "6")] + #[prost(message, optional, tag = "5")] pub bank_account: ::core::option::Option, - #[prost(message, optional, tag = "7")] + #[prost(message, optional, tag = "6")] pub game_setting: ::core::option::Option, - #[prost(message, optional, tag = "8")] + #[prost(message, optional, tag = "7")] pub settlement_setting: ::core::option::Option, } /// Nested message and enum types in `Request`. @@ -315,8 +315,8 @@ pub mod update_member_request { pub name: ::prost::alloc::string::String, #[prost(string, tag = "4")] pub account_number: ::prost::alloc::string::String, - #[prost(string, tag = "5")] - pub exchange_password: ::prost::alloc::string::String, + #[prost(string, optional, tag = "5")] + pub memo: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GameSetting { @@ -403,6 +403,36 @@ pub mod update_member_response { pub member: ::core::option::Option, } } +/// subject = bet.beteran.ss.member.UpdateMemberForPassword +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberForPasswordRequest { + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: ::core::option::Option, +} +/// Nested message and enum types in `UpdateMemberForPasswordRequest`. +pub mod update_member_for_password_request { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub password: ::prost::alloc::string::String, + } +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberForPasswordResponse { + #[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 `UpdateMemberForPasswordResponse`. +pub mod update_member_for_password_response { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} +} /// subject = bet.beteran.ss.member.UpdateMemberForState #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberForStateRequest { diff --git a/src/ss/member_bank_account.rs b/src/ss/member_bank_account.rs index 38a12eb..8f1878f 100644 --- a/src/ss/member_bank_account.rs +++ b/src/ss/member_bank_account.rs @@ -8,6 +8,8 @@ pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankAccount"); pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount"); +pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: &str = + const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccountForExchangePassword"); pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount"); @@ -157,9 +159,7 @@ pub mod update_member_bank_account_request { pub name: ::prost::alloc::string::String, #[prost(string, tag = "4")] pub account_number: ::prost::alloc::string::String, - #[prost(string, tag = "5")] - pub exchange_password: ::prost::alloc::string::String, - #[prost(string, optional, tag = "6")] + #[prost(string, optional, tag = "5")] pub memo: ::core::option::Option<::prost::alloc::string::String>, } } @@ -179,6 +179,38 @@ pub mod update_member_bank_account_response { ::core::option::Option, } } +/// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccountForExchangePassword +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberBankAccountForExchangePasswordRequest { + #[prost(message, optional, tag = "1")] + pub client: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub request: + ::core::option::Option, +} +/// Nested message and enum types in `UpdateMemberBankAccountForExchangePasswordRequest`. +pub mod update_member_bank_account_for_exchange_password_request { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Request { + #[prost(string, tag = "1")] + pub id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub exchange_password: ::prost::alloc::string::String, + } +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateMemberBankAccountForExchangePasswordResponse { + #[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 `UpdateMemberBankAccountForExchangePasswordResponse`. +pub mod update_member_bank_account_for_exchange_password_response { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Result {} +} /// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMemberBankAccountRequest {