115 lines
3.4 KiB
Protocol Buffer
115 lines
3.4 KiB
Protocol Buffer
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;
|
|
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 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 {
|
|
uint64 total_count = 1;
|
|
repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 2;
|
|
}
|
|
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;
|
|
}
|