member_game_setting, member_settlement_setting are added

This commit is contained in:
병준 박 2022-08-22 06:42:21 +00:00
parent 9f4f38346c
commit e593fcb8bb
13 changed files with 835 additions and 5 deletions

View File

@ -0,0 +1,12 @@
const SUBJECT: &str = "bet.beteran.c2se.backend.member_game_setting";
pub const SUBJECT_CREATE_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberGameSetting");
pub const SUBJECT_LIST_MEMBER_GAME_SETTINGS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberGameSettings");
pub const SUBJECT_GET_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".GetMemberGameSetting");
pub const SUBJECT_UPDATE_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberGameSetting");
pub const SUBJECT_DELETE_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberGameSetting");

View File

@ -0,0 +1,12 @@
const SUBJECT: &str = "bet.beteran.c2se.backend.member_settlement_setting";
pub const SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberSettlementSetting");
pub const SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberSettlementSettings");
pub const SUBJECT_GET_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".GetMemberSettlementSetting");
pub const SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberSettlementSetting");
pub const SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberSettlementSetting");

View File

@ -6,6 +6,8 @@ pub mod member_bank_account;
pub mod member_bank_deposit; pub mod member_bank_deposit;
pub mod member_bank_withdraw; pub mod member_bank_withdraw;
pub mod member_class; pub mod member_class;
pub mod member_game_setting;
pub mod member_level; pub mod member_level;
pub mod member_referrer; pub mod member_referrer;
pub mod member_settlement_setting;
pub mod site; pub mod site;

View File

@ -0,0 +1,125 @@
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberGameSettingRequest {
#[prost(string, tag = "1")]
pub member_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_member_game_setting_response::Result>,
}
/// Nested message and enum types in `CreateMemberGameSettingResponse`.
pub mod create_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_game_setting:
::core::option::Option<crate::models::member_game_setting::MemberGameSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberGameSettingsRequest {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<list_member_game_settings_request::Search>,
}
/// Nested message and enum types in `ListMemberGameSettingsRequest`.
pub mod list_member_game_settings_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search {
#[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberGameSettingsResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_member_game_settings_response::Result>,
}
/// Nested message and enum types in `ListMemberGameSettingsResponse`.
pub mod list_member_game_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
pub member_game_settings:
::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberGameSettingRequest {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_member_game_setting_response::Result>,
}
/// Nested message and enum types in `GetMemberGameSettingResponse`.
pub mod get_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_game_setting:
::core::option::Option<crate::models::member_game_setting::MemberGameSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberGameSettingRequest {
#[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 UpdateMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_member_game_setting_response::Result>,
}
/// Nested message and enum types in `UpdateMemberGameSettingResponse`.
pub mod update_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_game_setting:
::core::option::Option<crate::models::member_game_setting::MemberGameSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberGameSettingRequest {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_member_game_setting_response::Result>,
}
/// Nested message and enum types in `DeleteMemberGameSettingResponse`.
pub mod delete_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}

View File

@ -0,0 +1,159 @@
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberSettlementSettingRequest {
#[prost(string, tag = "1")]
pub member_id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `CreateMemberSettlementSettingResponse`.
pub mod create_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_settlement_setting:
::core::option::Option<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberSettlementSettingsRequest {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<list_member_settlement_settings_request::Search>,
}
/// Nested message and enum types in `ListMemberSettlementSettingsRequest`.
pub mod list_member_settlement_settings_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search {
#[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberSettlementSettingsResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_member_settlement_settings_response::Result>,
}
/// Nested message and enum types in `ListMemberSettlementSettingsResponse`.
pub mod list_member_settlement_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
pub member_settlement_settings:
::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberSettlementSettingRequest {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `GetMemberSettlementSettingResponse`.
pub mod get_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_settlement_setting:
::core::option::Option<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberSettlementSettingRequest {
#[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 UpdateMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `UpdateMemberSettlementSettingResponse`.
pub mod update_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_settlement_setting:
::core::option::Option<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberSettlementSettingRequest {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `DeleteMemberSettlementSettingResponse`.
pub mod delete_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}

View File

@ -9,6 +9,8 @@ pub mod member_bank_account;
pub mod member_bank_deposit; pub mod member_bank_deposit;
pub mod member_bank_withdraw; pub mod member_bank_withdraw;
pub mod member_class; pub mod member_class;
pub mod member_game_setting;
pub mod member_level; pub mod member_level;
pub mod member_referrer; pub mod member_referrer;
pub mod member_settlement_setting;
pub mod site; pub mod site;

View File

@ -59,15 +59,20 @@ pub struct MemberModel {
pub state: i32, pub state: i32,
#[prost(uint64, optional, tag = "12")] #[prost(uint64, optional, tag = "12")]
pub state_changed_at: ::core::option::Option<u64>, pub state_changed_at: ::core::option::Option<u64>,
#[prost(string, optional, tag = "13")] #[prost(message, optional, tag = "13")]
pub member_game_setting: ::core::option::Option<super::member_game_setting::MemberGameSetting>,
#[prost(message, optional, tag = "14")]
pub member_settlement_setting:
::core::option::Option<super::member_settlement_setting::MemberSettlementSetting>,
#[prost(string, optional, tag = "15")]
pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>, pub last_signined_ip: ::core::option::Option<::prost::alloc::string::String>,
#[prost(uint64, optional, tag = "14")] #[prost(uint64, optional, tag = "16")]
pub last_signined_at: ::core::option::Option<u64>, pub last_signined_at: ::core::option::Option<u64>,
#[prost(uint64, tag = "15")] #[prost(uint64, tag = "17")]
pub created_at: u64, pub created_at: u64,
#[prost(uint64, tag = "16")] #[prost(uint64, tag = "18")]
pub updated_at: u64, pub updated_at: u64,
#[prost(uint64, optional, tag = "17")] #[prost(uint64, optional, tag = "19")]
pub deleted_at: ::core::option::Option<u64>, pub deleted_at: ::core::option::Option<u64>,
} }
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]

View File

@ -0,0 +1,23 @@
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MemberGameSetting {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub member_id: ::prost::alloc::string::String,
#[prost(bool, tag = "3")]
pub can_bet_casino: bool,
#[prost(bool, tag = "4")]
pub can_bet_slot: bool,
#[prost(bool, tag = "5")]
pub can_bet_powerball: bool,
#[prost(bool, tag = "6")]
pub can_bet_powerladder: bool,
#[prost(bool, tag = "7")]
pub can_bet_eos: bool,
#[prost(bool, tag = "8")]
pub can_bet_bogglepowerball: bool,
#[prost(uint64, tag = "9")]
pub created_at: u64,
#[prost(uint64, tag = "10")]
pub updated_at: u64,
}

View File

@ -0,0 +1,66 @@
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MemberSettlementSetting {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub member_id: ::prost::alloc::string::String,
#[prost(bool, tag = "3")]
pub can_exchange: bool,
#[prost(bool, tag = "4")]
pub can_first_charge_comp: bool,
#[prost(bool, tag = "5")]
pub can_per_charge_comp: bool,
#[prost(enumeration = "SettlementType", tag = "6")]
pub settlement_type: i32,
#[prost(enumeration = "ManualPaymentType", tag = "7")]
pub manual_payment_type_for_partner: i32,
#[prost(double, tag = "8")]
pub rate_casino: f64,
#[prost(double, tag = "9")]
pub rate_casino_loosing: f64,
#[prost(double, tag = "10")]
pub rate_casino_bacara: f64,
#[prost(double, tag = "11")]
pub rate_casino_roulette: f64,
#[prost(double, tag = "12")]
pub rate_casino_dragon_tiger: f64,
#[prost(double, tag = "13")]
pub rate_slot: f64,
#[prost(double, tag = "14")]
pub rate_slot_loosing: f64,
#[prost(double, tag = "15")]
pub rate_powerball_single: f64,
#[prost(double, tag = "16")]
pub rate_powerball_combo: f64,
#[prost(double, tag = "17")]
pub rate_powerladder_single: f64,
#[prost(double, tag = "18")]
pub rate_powerladder_combo: f64,
#[prost(double, tag = "19")]
pub rate_eos_single: f64,
#[prost(double, tag = "20")]
pub rate_eos_combo: f64,
#[prost(double, tag = "21")]
pub rate_bogglepowerball_single: f64,
#[prost(double, tag = "22")]
pub rate_bogglepowerball_combo: f64,
#[prost(uint64, tag = "23")]
pub created_at: u64,
#[prost(uint64, tag = "24")]
pub updated_at: u64,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SettlementType {
StNone = 0,
Rolling = 1,
Loosing = 2,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ManualPaymentType {
MptNone = 0,
Disable = 1,
AllChildPartner = 2,
OnlyDirectPartner = 3,
}

View File

@ -6,11 +6,13 @@ pub mod member_bank_account;
pub mod member_bank_deposit; pub mod member_bank_deposit;
pub mod member_bank_withdraw; pub mod member_bank_withdraw;
pub mod member_class; pub mod member_class;
pub mod member_game_setting;
pub mod member_level; pub mod member_level;
pub mod member_permission; pub mod member_permission;
pub mod member_referrer; pub mod member_referrer;
pub mod member_role; pub mod member_role;
pub mod member_session; pub mod member_session;
pub mod member_settlement_setting;
pub mod resource; pub mod resource;
pub mod resource_action; pub mod resource_action;
pub mod role; pub mod role;

View File

@ -0,0 +1,193 @@
const SUBJECT: &str = "bet.beteran.ss.member_game_setting";
pub const SUBJECT_CREATE_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberGameSetting");
pub const SUBJECT_LIST_MEMBER_GAME_SETTINGS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberGameSettings");
pub const SUBJECT_GET_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".GetMemberGameSetting");
pub const SUBJECT_UPDATE_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberGameSetting");
pub const SUBJECT_DELETE_MEMBER_GAME_SETTING: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberGameSetting");
/// subject = bet.beteran.ss.member_game_setting.CreateMemberGameSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberGameSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<create_member_game_setting_request::Request>,
}
/// Nested message and enum types in `CreateMemberGameSettingRequest`.
pub mod create_member_game_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub member_id: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_member_game_setting_response::Result>,
}
/// Nested message and enum types in `CreateMemberGameSettingResponse`.
pub mod create_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_game_setting:
::core::option::Option<crate::models::member_game_setting::MemberGameSetting>,
}
}
/// subject = bet.beteran.ss.member_game_setting.ListMemberGameSettings
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberGameSettingsRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<list_member_game_settings_request::Request>,
}
/// Nested message and enum types in `ListMemberGameSettingsRequest`.
pub mod list_member_game_settings_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>,
}
/// Nested message and enum types in `Request`.
pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search {
#[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>,
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberGameSettingsResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_member_game_settings_response::Result>,
}
/// Nested message and enum types in `ListMemberGameSettingsResponse`.
pub mod list_member_game_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
pub member_game_settings:
::prost::alloc::vec::Vec<crate::models::member_game_setting::MemberGameSetting>,
}
}
/// subject = bet.beteran.ss.member_game_setting.GetMemberGameSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberGameSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<get_member_game_setting_request::Request>,
}
/// Nested message and enum types in `GetMemberGameSettingRequest`.
pub mod get_member_game_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_member_game_setting_response::Result>,
}
/// Nested message and enum types in `GetMemberGameSettingResponse`.
pub mod get_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_game_setting:
::core::option::Option<crate::models::member_game_setting::MemberGameSetting>,
}
}
/// subject = bet.beteran.ss.member_game_setting.UpdateMemberGameSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberGameSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<update_member_game_setting_request::Request>,
}
/// Nested message and enum types in `UpdateMemberGameSettingRequest`.
pub mod update_member_game_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[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 UpdateMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_member_game_setting_response::Result>,
}
/// Nested message and enum types in `UpdateMemberGameSettingResponse`.
pub mod update_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_game_setting:
::core::option::Option<crate::models::member_game_setting::MemberGameSetting>,
}
}
/// subject = bet.beteran.ss.member_game_setting.DeleteMemberGameSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberGameSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<delete_member_game_setting_request::Request>,
}
/// Nested message and enum types in `DeleteMemberGameSettingRequest`.
pub mod delete_member_game_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberGameSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_member_game_setting_response::Result>,
}
/// Nested message and enum types in `DeleteMemberGameSettingResponse`.
pub mod delete_member_game_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}

View File

@ -0,0 +1,227 @@
const SUBJECT: &str = "bet.beteran.ss.member_settlement_setting";
pub const SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberSettlementSetting");
pub const SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberSettlementSettings");
pub const SUBJECT_GET_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".GetMemberSettlementSetting");
pub const SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberSettlementSetting");
pub const SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberSettlementSetting");
/// subject = bet.beteran.ss.member_settlement_setting.CreateMemberSettlementSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberSettlementSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<create_member_settlement_setting_request::Request>,
}
/// Nested message and enum types in `CreateMemberSettlementSettingRequest`.
pub mod create_member_settlement_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub member_id: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<create_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `CreateMemberSettlementSettingResponse`.
pub mod create_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_settlement_setting:
::core::option::Option<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
/// subject = bet.beteran.ss.member_settlement_setting.ListMemberSettlementSettings
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberSettlementSettingsRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<list_member_settlement_settings_request::Request>,
}
/// Nested message and enum types in `ListMemberSettlementSettingsRequest`.
pub mod list_member_settlement_settings_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(message, optional, tag = "1")]
pub pagination: ::core::option::Option<crate::protobuf::pagination::Pagination>,
#[prost(message, repeated, tag = "2")]
pub sorts: ::prost::alloc::vec::Vec<crate::protobuf::pagination::Sort>,
#[prost(message, optional, tag = "3")]
pub search: ::core::option::Option<request::Search>,
}
/// Nested message and enum types in `Request`.
pub mod request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Search {
#[prost(string, optional, tag = "1")]
pub member_id: ::core::option::Option<::prost::alloc::string::String>,
}
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMemberSettlementSettingsResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<list_member_settlement_settings_response::Result>,
}
/// Nested message and enum types in `ListMemberSettlementSettingsResponse`.
pub mod list_member_settlement_settings_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, repeated, tag = "1")]
pub member_settlement_settings:
::prost::alloc::vec::Vec<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
/// subject = bet.beteran.ss.member_settlement_setting.GetMemberSettlementSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberSettlementSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<get_member_settlement_setting_request::Request>,
}
/// Nested message and enum types in `GetMemberSettlementSettingRequest`.
pub mod get_member_settlement_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<get_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `GetMemberSettlementSettingResponse`.
pub mod get_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_settlement_setting:
::core::option::Option<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
/// subject = bet.beteran.ss.member_settlement_setting.UpdateMemberSettlementSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberSettlementSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<update_member_settlement_setting_request::Request>,
}
/// Nested message and enum types in `UpdateMemberSettlementSettingRequest`.
pub mod update_member_settlement_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[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 UpdateMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `UpdateMemberSettlementSettingResponse`.
pub mod update_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag = "1")]
pub member_settlement_setting:
::core::option::Option<crate::models::member_settlement_setting::MemberSettlementSetting>,
}
}
/// subject = bet.beteran.ss.member_settlement_setting.DeleteMemberSettlementSetting
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberSettlementSettingRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<delete_member_settlement_setting_request::Request>,
}
/// Nested message and enum types in `DeleteMemberSettlementSettingRequest`.
pub mod delete_member_settlement_setting_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberSettlementSettingResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<delete_member_settlement_setting_response::Result>,
}
/// Nested message and enum types in `DeleteMemberSettlementSettingResponse`.
pub mod delete_member_settlement_setting_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}

View File

@ -6,6 +6,8 @@ pub mod member_bank_account;
pub mod member_bank_deposit; pub mod member_bank_deposit;
pub mod member_bank_withdraw; pub mod member_bank_withdraw;
pub mod member_class; pub mod member_class;
pub mod member_game_setting;
pub mod member_level; pub mod member_level;
pub mod member_referrer; pub mod member_referrer;
pub mod member_settlement_setting;
pub mod site; pub mod site;