member is modified
This commit is contained in:
parent
e593fcb8bb
commit
e43def8d2a
|
@ -18,6 +18,10 @@ pub struct CreateMemberRequest {
|
||||||
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(message, optional, tag = "9")]
|
#[prost(message, optional, tag = "9")]
|
||||||
pub bank_account: ::core::option::Option<create_member_request::BankAccount>,
|
pub bank_account: ::core::option::Option<create_member_request::BankAccount>,
|
||||||
|
#[prost(message, optional, tag = "10")]
|
||||||
|
pub game_setting: ::core::option::Option<create_member_request::GameSetting>,
|
||||||
|
#[prost(message, optional, tag = "11")]
|
||||||
|
pub settlement_setting: ::core::option::Option<create_member_request::SettlementSetting>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `CreateMemberRequest`.
|
/// Nested message and enum types in `CreateMemberRequest`.
|
||||||
pub mod create_member_request {
|
pub mod create_member_request {
|
||||||
|
@ -32,6 +36,70 @@ pub mod create_member_request {
|
||||||
#[prost(string, tag = "4")]
|
#[prost(string, tag = "4")]
|
||||||
pub exchange_password: ::prost::alloc::string::String,
|
pub exchange_password: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GameSetting {
|
||||||
|
#[prost(bool, tag = "1")]
|
||||||
|
pub can_bet_casino: bool,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_bet_slot: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_bet_powerball: bool,
|
||||||
|
#[prost(bool, tag = "4")]
|
||||||
|
pub can_bet_powerladder: bool,
|
||||||
|
#[prost(bool, tag = "5")]
|
||||||
|
pub can_bet_eos: bool,
|
||||||
|
#[prost(bool, tag = "6")]
|
||||||
|
pub can_bet_bogglepowerball: bool,
|
||||||
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct SettlementSetting {
|
||||||
|
#[prost(bool, tag = "1")]
|
||||||
|
pub can_exchange: bool,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_first_charge_comp: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_per_charge_comp: bool,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::SettlementType",
|
||||||
|
tag = "4"
|
||||||
|
)]
|
||||||
|
pub settlement_type: i32,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::ManualPaymentType",
|
||||||
|
tag = "5"
|
||||||
|
)]
|
||||||
|
pub manual_payment_type_for_partner: i32,
|
||||||
|
#[prost(double, tag = "6")]
|
||||||
|
pub rate_casino: f64,
|
||||||
|
#[prost(double, tag = "7")]
|
||||||
|
pub rate_casino_loosing: f64,
|
||||||
|
#[prost(double, tag = "8")]
|
||||||
|
pub rate_casino_bacara: f64,
|
||||||
|
#[prost(double, tag = "9")]
|
||||||
|
pub rate_casino_roulette: f64,
|
||||||
|
#[prost(double, tag = "10")]
|
||||||
|
pub rate_casino_dragon_tiger: f64,
|
||||||
|
#[prost(double, tag = "11")]
|
||||||
|
pub rate_slot: f64,
|
||||||
|
#[prost(double, tag = "12")]
|
||||||
|
pub rate_slot_loosing: f64,
|
||||||
|
#[prost(double, tag = "13")]
|
||||||
|
pub rate_powerball_single: f64,
|
||||||
|
#[prost(double, tag = "14")]
|
||||||
|
pub rate_powerball_combo: f64,
|
||||||
|
#[prost(double, tag = "15")]
|
||||||
|
pub rate_powerladder_single: f64,
|
||||||
|
#[prost(double, tag = "16")]
|
||||||
|
pub rate_powerladder_combo: f64,
|
||||||
|
#[prost(double, tag = "17")]
|
||||||
|
pub rate_eos_single: f64,
|
||||||
|
#[prost(double, tag = "18")]
|
||||||
|
pub rate_eos_combo: f64,
|
||||||
|
#[prost(double, tag = "19")]
|
||||||
|
pub rate_bogglepowerball_single: f64,
|
||||||
|
#[prost(double, tag = "20")]
|
||||||
|
pub rate_bogglepowerball_combo: f64,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CreateMemberResponse {
|
pub struct CreateMemberResponse {
|
||||||
|
@ -156,6 +224,10 @@ pub struct UpdateMemberRequest {
|
||||||
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(message, optional, tag = "6")]
|
#[prost(message, optional, tag = "6")]
|
||||||
pub bank_account: ::core::option::Option<update_member_request::BankAccount>,
|
pub bank_account: ::core::option::Option<update_member_request::BankAccount>,
|
||||||
|
#[prost(message, optional, tag = "7")]
|
||||||
|
pub game_setting: ::core::option::Option<update_member_request::GameSetting>,
|
||||||
|
#[prost(message, optional, tag = "8")]
|
||||||
|
pub settlement_setting: ::core::option::Option<update_member_request::SettlementSetting>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `UpdateMemberRequest`.
|
/// Nested message and enum types in `UpdateMemberRequest`.
|
||||||
pub mod update_member_request {
|
pub mod update_member_request {
|
||||||
|
@ -172,6 +244,74 @@ pub mod update_member_request {
|
||||||
#[prost(string, tag = "5")]
|
#[prost(string, tag = "5")]
|
||||||
pub exchange_password: ::prost::alloc::string::String,
|
pub exchange_password: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GameSetting {
|
||||||
|
#[prost(string, tag = "1")]
|
||||||
|
pub id: ::prost::alloc::string::String,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_bet_casino: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_bet_slot: bool,
|
||||||
|
#[prost(bool, tag = "4")]
|
||||||
|
pub can_bet_powerball: bool,
|
||||||
|
#[prost(bool, tag = "5")]
|
||||||
|
pub can_bet_powerladder: bool,
|
||||||
|
#[prost(bool, tag = "6")]
|
||||||
|
pub can_bet_eos: bool,
|
||||||
|
#[prost(bool, tag = "7")]
|
||||||
|
pub can_bet_bogglepowerball: bool,
|
||||||
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct SettlementSetting {
|
||||||
|
#[prost(string, tag = "1")]
|
||||||
|
pub id: ::prost::alloc::string::String,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_exchange: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_first_charge_comp: bool,
|
||||||
|
#[prost(bool, tag = "4")]
|
||||||
|
pub can_per_charge_comp: bool,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::SettlementType",
|
||||||
|
tag = "5"
|
||||||
|
)]
|
||||||
|
pub settlement_type: i32,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::ManualPaymentType",
|
||||||
|
tag = "6"
|
||||||
|
)]
|
||||||
|
pub manual_payment_type_for_partner: i32,
|
||||||
|
#[prost(double, tag = "7")]
|
||||||
|
pub rate_casino: f64,
|
||||||
|
#[prost(double, tag = "8")]
|
||||||
|
pub rate_casino_loosing: f64,
|
||||||
|
#[prost(double, tag = "9")]
|
||||||
|
pub rate_casino_bacara: f64,
|
||||||
|
#[prost(double, tag = "10")]
|
||||||
|
pub rate_casino_roulette: f64,
|
||||||
|
#[prost(double, tag = "11")]
|
||||||
|
pub rate_casino_dragon_tiger: f64,
|
||||||
|
#[prost(double, tag = "12")]
|
||||||
|
pub rate_slot: f64,
|
||||||
|
#[prost(double, tag = "13")]
|
||||||
|
pub rate_slot_loosing: f64,
|
||||||
|
#[prost(double, tag = "14")]
|
||||||
|
pub rate_powerball_single: f64,
|
||||||
|
#[prost(double, tag = "15")]
|
||||||
|
pub rate_powerball_combo: f64,
|
||||||
|
#[prost(double, tag = "16")]
|
||||||
|
pub rate_powerladder_single: f64,
|
||||||
|
#[prost(double, tag = "17")]
|
||||||
|
pub rate_powerladder_combo: f64,
|
||||||
|
#[prost(double, tag = "18")]
|
||||||
|
pub rate_eos_single: f64,
|
||||||
|
#[prost(double, tag = "19")]
|
||||||
|
pub rate_eos_combo: f64,
|
||||||
|
#[prost(double, tag = "20")]
|
||||||
|
pub rate_bogglepowerball_single: f64,
|
||||||
|
#[prost(double, tag = "21")]
|
||||||
|
pub rate_bogglepowerball_combo: f64,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct UpdateMemberResponse {
|
pub struct UpdateMemberResponse {
|
||||||
|
|
140
src/ss/member.rs
140
src/ss/member.rs
|
@ -48,6 +48,10 @@ pub mod create_member_request {
|
||||||
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(message, optional, tag = "9")]
|
#[prost(message, optional, tag = "9")]
|
||||||
pub bank_account: ::core::option::Option<request::BankAccount>,
|
pub bank_account: ::core::option::Option<request::BankAccount>,
|
||||||
|
#[prost(message, optional, tag = "10")]
|
||||||
|
pub game_setting: ::core::option::Option<request::GameSetting>,
|
||||||
|
#[prost(message, optional, tag = "11")]
|
||||||
|
pub settlement_setting: ::core::option::Option<request::SettlementSetting>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `Request`.
|
/// Nested message and enum types in `Request`.
|
||||||
pub mod request {
|
pub mod request {
|
||||||
|
@ -62,6 +66,70 @@ pub mod create_member_request {
|
||||||
#[prost(string, tag = "4")]
|
#[prost(string, tag = "4")]
|
||||||
pub exchange_password: ::prost::alloc::string::String,
|
pub exchange_password: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GameSetting {
|
||||||
|
#[prost(bool, tag = "1")]
|
||||||
|
pub can_bet_casino: bool,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_bet_slot: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_bet_powerball: bool,
|
||||||
|
#[prost(bool, tag = "4")]
|
||||||
|
pub can_bet_powerladder: bool,
|
||||||
|
#[prost(bool, tag = "5")]
|
||||||
|
pub can_bet_eos: bool,
|
||||||
|
#[prost(bool, tag = "6")]
|
||||||
|
pub can_bet_bogglepowerball: bool,
|
||||||
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct SettlementSetting {
|
||||||
|
#[prost(bool, tag = "1")]
|
||||||
|
pub can_exchange: bool,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_first_charge_comp: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_per_charge_comp: bool,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::SettlementType",
|
||||||
|
tag = "4"
|
||||||
|
)]
|
||||||
|
pub settlement_type: i32,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::ManualPaymentType",
|
||||||
|
tag = "5"
|
||||||
|
)]
|
||||||
|
pub manual_payment_type_for_partner: i32,
|
||||||
|
#[prost(double, tag = "6")]
|
||||||
|
pub rate_casino: f64,
|
||||||
|
#[prost(double, tag = "7")]
|
||||||
|
pub rate_casino_loosing: f64,
|
||||||
|
#[prost(double, tag = "8")]
|
||||||
|
pub rate_casino_bacara: f64,
|
||||||
|
#[prost(double, tag = "9")]
|
||||||
|
pub rate_casino_roulette: f64,
|
||||||
|
#[prost(double, tag = "10")]
|
||||||
|
pub rate_casino_dragon_tiger: f64,
|
||||||
|
#[prost(double, tag = "11")]
|
||||||
|
pub rate_slot: f64,
|
||||||
|
#[prost(double, tag = "12")]
|
||||||
|
pub rate_slot_loosing: f64,
|
||||||
|
#[prost(double, tag = "13")]
|
||||||
|
pub rate_powerball_single: f64,
|
||||||
|
#[prost(double, tag = "14")]
|
||||||
|
pub rate_powerball_combo: f64,
|
||||||
|
#[prost(double, tag = "15")]
|
||||||
|
pub rate_powerladder_single: f64,
|
||||||
|
#[prost(double, tag = "16")]
|
||||||
|
pub rate_powerladder_combo: f64,
|
||||||
|
#[prost(double, tag = "17")]
|
||||||
|
pub rate_eos_single: f64,
|
||||||
|
#[prost(double, tag = "18")]
|
||||||
|
pub rate_eos_combo: f64,
|
||||||
|
#[prost(double, tag = "19")]
|
||||||
|
pub rate_bogglepowerball_single: f64,
|
||||||
|
#[prost(double, tag = "20")]
|
||||||
|
pub rate_bogglepowerball_combo: f64,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
@ -230,6 +298,10 @@ pub mod update_member_request {
|
||||||
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(message, optional, tag = "6")]
|
#[prost(message, optional, tag = "6")]
|
||||||
pub bank_account: ::core::option::Option<request::BankAccount>,
|
pub bank_account: ::core::option::Option<request::BankAccount>,
|
||||||
|
#[prost(message, optional, tag = "7")]
|
||||||
|
pub game_setting: ::core::option::Option<request::GameSetting>,
|
||||||
|
#[prost(message, optional, tag = "8")]
|
||||||
|
pub settlement_setting: ::core::option::Option<request::SettlementSetting>,
|
||||||
}
|
}
|
||||||
/// Nested message and enum types in `Request`.
|
/// Nested message and enum types in `Request`.
|
||||||
pub mod request {
|
pub mod request {
|
||||||
|
@ -246,6 +318,74 @@ pub mod update_member_request {
|
||||||
#[prost(string, tag = "5")]
|
#[prost(string, tag = "5")]
|
||||||
pub exchange_password: ::prost::alloc::string::String,
|
pub exchange_password: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GameSetting {
|
||||||
|
#[prost(string, tag = "1")]
|
||||||
|
pub id: ::prost::alloc::string::String,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_bet_casino: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_bet_slot: bool,
|
||||||
|
#[prost(bool, tag = "4")]
|
||||||
|
pub can_bet_powerball: bool,
|
||||||
|
#[prost(bool, tag = "5")]
|
||||||
|
pub can_bet_powerladder: bool,
|
||||||
|
#[prost(bool, tag = "6")]
|
||||||
|
pub can_bet_eos: bool,
|
||||||
|
#[prost(bool, tag = "7")]
|
||||||
|
pub can_bet_bogglepowerball: bool,
|
||||||
|
}
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct SettlementSetting {
|
||||||
|
#[prost(string, tag = "1")]
|
||||||
|
pub id: ::prost::alloc::string::String,
|
||||||
|
#[prost(bool, tag = "2")]
|
||||||
|
pub can_exchange: bool,
|
||||||
|
#[prost(bool, tag = "3")]
|
||||||
|
pub can_first_charge_comp: bool,
|
||||||
|
#[prost(bool, tag = "4")]
|
||||||
|
pub can_per_charge_comp: bool,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::SettlementType",
|
||||||
|
tag = "5"
|
||||||
|
)]
|
||||||
|
pub settlement_type: i32,
|
||||||
|
#[prost(
|
||||||
|
enumeration = "crate::models::member_settlement_setting::ManualPaymentType",
|
||||||
|
tag = "6"
|
||||||
|
)]
|
||||||
|
pub manual_payment_type_for_partner: i32,
|
||||||
|
#[prost(double, tag = "7")]
|
||||||
|
pub rate_casino: f64,
|
||||||
|
#[prost(double, tag = "8")]
|
||||||
|
pub rate_casino_loosing: f64,
|
||||||
|
#[prost(double, tag = "9")]
|
||||||
|
pub rate_casino_bacara: f64,
|
||||||
|
#[prost(double, tag = "10")]
|
||||||
|
pub rate_casino_roulette: f64,
|
||||||
|
#[prost(double, tag = "11")]
|
||||||
|
pub rate_casino_dragon_tiger: f64,
|
||||||
|
#[prost(double, tag = "12")]
|
||||||
|
pub rate_slot: f64,
|
||||||
|
#[prost(double, tag = "13")]
|
||||||
|
pub rate_slot_loosing: f64,
|
||||||
|
#[prost(double, tag = "14")]
|
||||||
|
pub rate_powerball_single: f64,
|
||||||
|
#[prost(double, tag = "15")]
|
||||||
|
pub rate_powerball_combo: f64,
|
||||||
|
#[prost(double, tag = "16")]
|
||||||
|
pub rate_powerladder_single: f64,
|
||||||
|
#[prost(double, tag = "17")]
|
||||||
|
pub rate_powerladder_combo: f64,
|
||||||
|
#[prost(double, tag = "18")]
|
||||||
|
pub rate_eos_single: f64,
|
||||||
|
#[prost(double, tag = "19")]
|
||||||
|
pub rate_eos_combo: f64,
|
||||||
|
#[prost(double, tag = "20")]
|
||||||
|
pub rate_bogglepowerball_single: f64,
|
||||||
|
#[prost(double, tag = "21")]
|
||||||
|
pub rate_bogglepowerball_combo: f64,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user