member_game_setting, member_settlement_setting are added
This commit is contained in:
parent
af8980bcb2
commit
83c8a41708
8
build.rs
8
build.rs
|
@ -44,6 +44,8 @@ static TARGETS: Lazy<HashMap<&str, Vec<&str>>> = Lazy::new(|| {
|
||||||
"./proto/models/member_session.proto",
|
"./proto/models/member_session.proto",
|
||||||
"./proto/models/member_referrer.proto",
|
"./proto/models/member_referrer.proto",
|
||||||
"./proto/models/member.proto",
|
"./proto/models/member.proto",
|
||||||
|
"./proto/models/member_game_setting.proto",
|
||||||
|
"./proto/models/member_settlement_setting.proto",
|
||||||
"./proto/models/resource_action.proto",
|
"./proto/models/resource_action.proto",
|
||||||
"./proto/models/resource.proto",
|
"./proto/models/resource.proto",
|
||||||
"./proto/models/role.proto",
|
"./proto/models/role.proto",
|
||||||
|
@ -65,6 +67,8 @@ static TARGETS: Lazy<HashMap<&str, Vec<&str>>> = Lazy::new(|| {
|
||||||
"./proto/c2se/member_level.proto",
|
"./proto/c2se/member_level.proto",
|
||||||
"./proto/c2se/member_referrer.proto",
|
"./proto/c2se/member_referrer.proto",
|
||||||
"./proto/c2se/member.proto",
|
"./proto/c2se/member.proto",
|
||||||
|
"./proto/c2se/member_game_setting.proto",
|
||||||
|
"./proto/c2se/member_settlement_setting.proto",
|
||||||
"./proto/c2se/site.proto",
|
"./proto/c2se/site.proto",
|
||||||
"./proto/c2se/core/network.proto",
|
"./proto/c2se/core/network.proto",
|
||||||
"./proto/c2se/api/vendor.proto",
|
"./proto/c2se/api/vendor.proto",
|
||||||
|
@ -78,6 +82,8 @@ static TARGETS: Lazy<HashMap<&str, Vec<&str>>> = Lazy::new(|| {
|
||||||
"./proto/c2se/backend/member_level.proto",
|
"./proto/c2se/backend/member_level.proto",
|
||||||
"./proto/c2se/backend/member_referrer.proto",
|
"./proto/c2se/backend/member_referrer.proto",
|
||||||
"./proto/c2se/backend/member.proto",
|
"./proto/c2se/backend/member.proto",
|
||||||
|
"./proto/c2se/backend/member_game_setting.proto",
|
||||||
|
"./proto/c2se/backend/member_settlement_setting.proto",
|
||||||
"./proto/c2se/backend/site.proto",
|
"./proto/c2se/backend/site.proto",
|
||||||
"./proto/c2se/backend/api/vendor.proto",
|
"./proto/c2se/backend/api/vendor.proto",
|
||||||
"./proto/c2se/backend/api/game.proto",
|
"./proto/c2se/backend/api/game.proto",
|
||||||
|
@ -100,6 +106,8 @@ static TARGETS: Lazy<HashMap<&str, Vec<&str>>> = Lazy::new(|| {
|
||||||
"./proto/ss/member_level.proto",
|
"./proto/ss/member_level.proto",
|
||||||
"./proto/ss/member_referrer.proto",
|
"./proto/ss/member_referrer.proto",
|
||||||
"./proto/ss/member.proto",
|
"./proto/ss/member.proto",
|
||||||
|
"./proto/ss/member_game_setting.proto",
|
||||||
|
"./proto/ss/member_settlement_setting.proto",
|
||||||
"./proto/ss/site.proto",
|
"./proto/ss/site.proto",
|
||||||
"./proto/ss/api/vendor.proto",
|
"./proto/ss/api/vendor.proto",
|
||||||
"./proto/ss/api/game.proto",
|
"./proto/ss/api/game.proto",
|
||||||
|
|
9
proto/c2se/backend/member_game_setting.proto
Normal file
9
proto/c2se/backend/member_game_setting.proto
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.c2se.backend.member_game_setting;
|
||||||
|
|
||||||
|
// subject = bet.beteran.c2se.backend.member_game_setting.CreateMemberGameSetting
|
||||||
|
// subject = bet.beteran.c2se.backend.member_game_setting.ListMemberGameSettings
|
||||||
|
// subject = bet.beteran.c2se.backend.member_game_setting.GetMemberGameSetting
|
||||||
|
// subject = bet.beteran.c2se.backend.member_game_setting.UpdateMemberGameSetting
|
||||||
|
// subject = bet.beteran.c2se.backend.member_game_setting.DeleteMemberGameSetting
|
10
proto/c2se/backend/member_settlement_setting.proto
Normal file
10
proto/c2se/backend/member_settlement_setting.proto
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.c2se.backend.member_settlement_setting;
|
||||||
|
|
||||||
|
// subject = bet.beteran.c2se.backend.member_settlement_setting.CreateMemberSettlementSetting
|
||||||
|
// subject = bet.beteran.c2se.backend.member_settlement_setting.ListMemberSettlementSettings
|
||||||
|
// subject = bet.beteran.c2se.backend.member_settlement_setting.GetMemberSettlementSetting
|
||||||
|
// subject = bet.beteran.c2se.backend.member_settlement_setting.UpdateMemberSettlementSetting
|
||||||
|
// subject = bet.beteran.c2se.backend.member_settlement_setting.DeleteMemberSettlementSetting
|
||||||
|
|
79
proto/c2se/member_game_setting.proto
Normal file
79
proto/c2se/member_game_setting.proto
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.c2se.member_game_setting;
|
||||||
|
|
||||||
|
import "protobuf/rpc.proto";
|
||||||
|
import "protobuf/pagination.proto";
|
||||||
|
|
||||||
|
import "models/member_game_setting.proto";
|
||||||
|
|
||||||
|
message CreateMemberGameSettingRequest {
|
||||||
|
string member_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreateMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ListMemberGameSettingsRequest {
|
||||||
|
message Search {
|
||||||
|
optional string member_id = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
optional Search search = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ListMemberGameSettingsResponse {
|
||||||
|
message Result {
|
||||||
|
repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetMemberGameSettingRequest {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateMemberGameSettingRequest {
|
||||||
|
string id = 1;
|
||||||
|
bool can_bet_casino = 2;
|
||||||
|
bool can_bet_slot = 3;
|
||||||
|
bool can_bet_powerball = 4;
|
||||||
|
bool can_bet_powerladder = 5;
|
||||||
|
bool can_bet_eos = 6;
|
||||||
|
bool can_bet_bogglepowerball = 7;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DeleteMemberGameSettingRequest {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DeleteMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
93
proto/c2se/member_settlement_setting.proto
Normal file
93
proto/c2se/member_settlement_setting.proto
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.c2se.member_settlement_setting;
|
||||||
|
|
||||||
|
import "protobuf/rpc.proto";
|
||||||
|
import "protobuf/pagination.proto";
|
||||||
|
|
||||||
|
import "models/member_settlement_setting.proto";
|
||||||
|
|
||||||
|
message CreateMemberSettlementSettingRequest {
|
||||||
|
string member_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreateMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ListMemberSettlementSettingsRequest {
|
||||||
|
message Search {
|
||||||
|
optional string member_id = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
optional Search search = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ListMemberSettlementSettingsResponse {
|
||||||
|
message Result {
|
||||||
|
repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetMemberSettlementSettingRequest {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateMemberSettlementSettingRequest {
|
||||||
|
string id = 1;
|
||||||
|
bool can_exchange = 2;
|
||||||
|
bool can_first_charge_comp = 3;
|
||||||
|
bool can_per_charge_comp = 4;
|
||||||
|
bet.beteran.member_settlement_setting.SettlementType settlement_type = 5;
|
||||||
|
bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 6;
|
||||||
|
double rate_casino = 7;
|
||||||
|
double rate_casino_loosing = 8;
|
||||||
|
double rate_casino_bacara = 9;
|
||||||
|
double rate_casino_roulette = 10;
|
||||||
|
double rate_casino_dragon_tiger = 11;
|
||||||
|
double rate_slot = 12;
|
||||||
|
double rate_slot_loosing = 13;
|
||||||
|
double rate_powerball_single = 14;
|
||||||
|
double rate_powerball_combo = 15;
|
||||||
|
double rate_powerladder_single = 16;
|
||||||
|
double rate_powerladder_combo = 17;
|
||||||
|
double rate_eos_single = 18;
|
||||||
|
double rate_eos_combo = 19;
|
||||||
|
double rate_bogglepowerball_single = 20;
|
||||||
|
double rate_bogglepowerball_combo = 21;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DeleteMemberSettlementSettingRequest {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DeleteMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
|
@ -7,6 +7,8 @@ import "models/site.proto";
|
||||||
import "models/member_bank_account.proto";
|
import "models/member_bank_account.proto";
|
||||||
import "models/member_class.proto";
|
import "models/member_class.proto";
|
||||||
import "models/member_level.proto";
|
import "models/member_level.proto";
|
||||||
|
import "models/member_game_setting.proto";
|
||||||
|
import "models/member_settlement_setting.proto";
|
||||||
|
|
||||||
|
|
||||||
enum MemberState {
|
enum MemberState {
|
||||||
|
@ -51,9 +53,11 @@ message MemberModel {
|
||||||
optional string mobile_phone_number = 10;
|
optional string mobile_phone_number = 10;
|
||||||
MemberState state = 11;
|
MemberState state = 11;
|
||||||
optional uint64 state_changed_at = 12;
|
optional uint64 state_changed_at = 12;
|
||||||
optional string last_signined_ip = 13;
|
optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 13;
|
||||||
optional uint64 last_signined_at = 14;
|
optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 14;
|
||||||
uint64 created_at = 15;
|
optional string last_signined_ip = 15;
|
||||||
uint64 updated_at = 16;
|
optional uint64 last_signined_at = 16;
|
||||||
optional uint64 deleted_at = 17;
|
uint64 created_at = 17;
|
||||||
|
uint64 updated_at = 18;
|
||||||
|
optional uint64 deleted_at = 19;
|
||||||
}
|
}
|
||||||
|
|
17
proto/models/member_game_setting.proto
Normal file
17
proto/models/member_game_setting.proto
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.member_game_setting;
|
||||||
|
|
||||||
|
|
||||||
|
message MemberGameSetting {
|
||||||
|
string id = 1;
|
||||||
|
string member_id = 2;
|
||||||
|
bool can_bet_casino = 3;
|
||||||
|
bool can_bet_slot = 4;
|
||||||
|
bool can_bet_powerball = 5;
|
||||||
|
bool can_bet_powerladder = 6;
|
||||||
|
bool can_bet_eos = 7;
|
||||||
|
bool can_bet_bogglepowerball = 8;
|
||||||
|
uint64 created_at = 9;
|
||||||
|
uint64 updated_at = 10;
|
||||||
|
}
|
43
proto/models/member_settlement_setting.proto
Normal file
43
proto/models/member_settlement_setting.proto
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.member_settlement_setting;
|
||||||
|
|
||||||
|
enum SettlementType {
|
||||||
|
ST_NONE = 0;
|
||||||
|
ROLLING = 1;
|
||||||
|
LOOSING = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ManualPaymentType {
|
||||||
|
MPT_NONE = 0;
|
||||||
|
DISABLE = 1;
|
||||||
|
ALL_CHILD_PARTNER = 2;
|
||||||
|
ONLY_DIRECT_PARTNER = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message MemberSettlementSetting {
|
||||||
|
string id = 1;
|
||||||
|
string member_id = 2;
|
||||||
|
bool can_exchange = 3;
|
||||||
|
bool can_first_charge_comp = 4;
|
||||||
|
bool can_per_charge_comp = 5;
|
||||||
|
SettlementType settlement_type = 6;
|
||||||
|
ManualPaymentType manual_payment_type_for_partner = 7;
|
||||||
|
double rate_casino = 8;
|
||||||
|
double rate_casino_loosing = 9;
|
||||||
|
double rate_casino_bacara = 10;
|
||||||
|
double rate_casino_roulette = 11;
|
||||||
|
double rate_casino_dragon_tiger = 12;
|
||||||
|
double rate_slot = 13;
|
||||||
|
double rate_slot_loosing = 14;
|
||||||
|
double rate_powerball_single = 15;
|
||||||
|
double rate_powerball_combo = 16;
|
||||||
|
double rate_powerladder_single = 17;
|
||||||
|
double rate_powerladder_combo = 18;
|
||||||
|
double rate_eos_single = 19;
|
||||||
|
double rate_eos_combo = 20;
|
||||||
|
double rate_bogglepowerball_single = 21;
|
||||||
|
double rate_bogglepowerball_combo = 22;
|
||||||
|
uint64 created_at = 23;
|
||||||
|
uint64 updated_at = 24;
|
||||||
|
}
|
103
proto/ss/member_game_setting.proto
Normal file
103
proto/ss/member_game_setting.proto
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.ss.member_game_setting;
|
||||||
|
|
||||||
|
import "models/core/network.proto";
|
||||||
|
import "protobuf/rpc.proto";
|
||||||
|
import "protobuf/pagination.proto";
|
||||||
|
import "models/member_game_setting.proto";
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_game_setting.CreateMemberGameSetting
|
||||||
|
message CreateMemberGameSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string member_id = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreateMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_game_setting.ListMemberGameSettings
|
||||||
|
message ListMemberGameSettingsRequest {
|
||||||
|
message Request {
|
||||||
|
message Search {
|
||||||
|
optional string member_id = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
optional Search search = 3;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ListMemberGameSettingsResponse {
|
||||||
|
message Result {
|
||||||
|
repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_game_setting.GetMemberGameSetting
|
||||||
|
message GetMemberGameSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_game_setting.UpdateMemberGameSetting
|
||||||
|
message UpdateMemberGameSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string id = 1;
|
||||||
|
bool can_bet_casino = 2;
|
||||||
|
bool can_bet_slot = 3;
|
||||||
|
bool can_bet_powerball = 4;
|
||||||
|
bool can_bet_powerladder = 5;
|
||||||
|
bool can_bet_eos = 6;
|
||||||
|
bool can_bet_bogglepowerball = 7;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_game_setting.DeleteMemberGameSetting
|
||||||
|
message DeleteMemberGameSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DeleteMemberGameSettingResponse {
|
||||||
|
message Result {
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
118
proto/ss/member_settlement_setting.proto
Normal file
118
proto/ss/member_settlement_setting.proto
Normal file
|
@ -0,0 +1,118 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package bet.beteran.ss.member_settlement_setting;
|
||||||
|
|
||||||
|
import "models/core/network.proto";
|
||||||
|
import "protobuf/rpc.proto";
|
||||||
|
import "protobuf/pagination.proto";
|
||||||
|
import "models/member_settlement_setting.proto";
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_settlement_setting.CreateMemberSettlementSetting
|
||||||
|
message CreateMemberSettlementSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string member_id = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreateMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_settlement_setting.ListMemberSettlementSettings
|
||||||
|
message ListMemberSettlementSettingsRequest {
|
||||||
|
message Request {
|
||||||
|
message Search {
|
||||||
|
optional string member_id = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||||
|
repeated bet.protobuf.pagination.Sort sorts = 2;
|
||||||
|
optional Search search = 3;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ListMemberSettlementSettingsResponse {
|
||||||
|
message Result {
|
||||||
|
repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_settlement_setting.GetMemberSettlementSetting
|
||||||
|
message GetMemberSettlementSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_settlement_setting.UpdateMemberSettlementSetting
|
||||||
|
message UpdateMemberSettlementSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string id = 1;
|
||||||
|
bool can_exchange = 2;
|
||||||
|
bool can_first_charge_comp = 3;
|
||||||
|
bool can_per_charge_comp = 4;
|
||||||
|
bet.beteran.member_settlement_setting.SettlementType settlement_type = 5;
|
||||||
|
bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 6;
|
||||||
|
double rate_casino = 7;
|
||||||
|
double rate_casino_loosing = 8;
|
||||||
|
double rate_casino_bacara = 9;
|
||||||
|
double rate_casino_roulette = 10;
|
||||||
|
double rate_casino_dragon_tiger = 11;
|
||||||
|
double rate_slot = 12;
|
||||||
|
double rate_slot_loosing = 13;
|
||||||
|
double rate_powerball_single = 14;
|
||||||
|
double rate_powerball_combo = 15;
|
||||||
|
double rate_powerladder_single = 16;
|
||||||
|
double rate_powerladder_combo = 17;
|
||||||
|
double rate_eos_single = 18;
|
||||||
|
double rate_eos_combo = 19;
|
||||||
|
double rate_bogglepowerball_single = 20;
|
||||||
|
double rate_bogglepowerball_combo = 21;
|
||||||
|
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// subject = bet.beteran.ss.member_settlement_setting.DeleteMemberSettlementSetting
|
||||||
|
message DeleteMemberSettlementSettingRequest {
|
||||||
|
message Request {
|
||||||
|
string id = 1;
|
||||||
|
}
|
||||||
|
bet.beteran.core.network.Client client = 1;
|
||||||
|
Request request = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DeleteMemberSettlementSettingResponse {
|
||||||
|
message Result {
|
||||||
|
}
|
||||||
|
optional bet.protobuf.rpc.Error error = 1;
|
||||||
|
optional Result result = 2;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user