From e43def8d2a2b5f985537ba94b496f4b65be8ccfe Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Mon, 22 Aug 2022 08:01:33 +0000 Subject: [PATCH] member is modified --- src/c2se/member.rs | 140 +++++++++++++++++++++++++++++++++++++++++++++ src/ss/member.rs | 140 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 280 insertions(+) diff --git a/src/c2se/member.rs b/src/c2se/member.rs index 8938867..06501f8 100644 --- a/src/c2se/member.rs +++ b/src/c2se/member.rs @@ -18,6 +18,10 @@ pub struct CreateMemberRequest { pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag = "9")] pub bank_account: ::core::option::Option, + #[prost(message, optional, tag = "10")] + pub game_setting: ::core::option::Option, + #[prost(message, optional, tag = "11")] + pub settlement_setting: ::core::option::Option, } /// Nested message and enum types in `CreateMemberRequest`. pub mod create_member_request { @@ -32,6 +36,70 @@ pub mod create_member_request { #[prost(string, tag = "4")] 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)] pub struct CreateMemberResponse { @@ -156,6 +224,10 @@ pub struct UpdateMemberRequest { pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag = "6")] pub bank_account: ::core::option::Option, + #[prost(message, optional, tag = "7")] + pub game_setting: ::core::option::Option, + #[prost(message, optional, tag = "8")] + pub settlement_setting: ::core::option::Option, } /// Nested message and enum types in `UpdateMemberRequest`. pub mod update_member_request { @@ -172,6 +244,74 @@ pub mod update_member_request { #[prost(string, tag = "5")] 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)] pub struct UpdateMemberResponse { diff --git a/src/ss/member.rs b/src/ss/member.rs index 25da692..bfce7ac 100644 --- a/src/ss/member.rs +++ b/src/ss/member.rs @@ -48,6 +48,10 @@ pub mod create_member_request { pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag = "9")] pub bank_account: ::core::option::Option, + #[prost(message, optional, tag = "10")] + pub game_setting: ::core::option::Option, + #[prost(message, optional, tag = "11")] + pub settlement_setting: ::core::option::Option, } /// Nested message and enum types in `Request`. pub mod request { @@ -62,6 +66,70 @@ pub mod create_member_request { #[prost(string, tag = "4")] 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)] @@ -230,6 +298,10 @@ pub mod update_member_request { pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag = "6")] pub bank_account: ::core::option::Option, + #[prost(message, optional, tag = "7")] + pub game_setting: ::core::option::Option, + #[prost(message, optional, tag = "8")] + pub settlement_setting: ::core::option::Option, } /// Nested message and enum types in `Request`. pub mod request { @@ -246,6 +318,74 @@ pub mod update_member_request { #[prost(string, tag = "5")] 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)]