beteran-protobuf/proto/ss/member_game_setting.proto

111 lines
2.9 KiB
Protocol Buffer
Raw Normal View History

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;
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 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 {
2022-09-01 17:17:19 +00:00
uint64 total_count = 1;
repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 2;
}
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;
}