beteran-protobuf/proto/ss/api/betting.proto

65 lines
2.0 KiB
Protocol Buffer

syntax = "proto3";
package bet.beteran.ss.api.betting;
import "protobuf/rpc.proto";
import "protobuf/pagination.proto";
import "models/core/network.proto";
import "models/api/betting.proto";
// subject = bet.beteran.ss.api.betting.ListBettingHistory
message ListBettingHistoryRequest {
message Request {
message Search {
optional string member_id = 1;
optional uint64 vendor_id = 2;
repeated uint64 vendor_ids = 3;
optional string vendor_name = 4;
optional string vendor_name_like = 5;
optional uint64 game_id = 6;
repeated uint64 game_ids = 7;
optional string game_name = 8;
optional string game_name_like = 9;
optional string game_category = 10;
optional string game_category_like = 11;
optional string game_type = 12;
optional string game_type_like = 13;
optional string currency = 14;
optional string currency_like = 15;
optional string key = 16;
optional string key_like = 17;
optional string ref_id = 18;
optional string ref_id_like = 19;
optional string o_ref_id = 20;
optional string o_ref_id_like = 21;
optional string group_key = 22;
optional string group_key_like = 23;
optional bool is_bonus = 24;
optional bool is_promo = 25;
optional bool is_jackpot = 26;
optional string site_username = 27;
optional string site_username_like = 28;
optional string betting_type = 29;
optional string betting_type_like = 30;
optional string category = 31;
optional string category_like = 32;
}
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 ListBettingHistoryResponse {
message Result {
uint64 total_count = 1;
repeated bet.beteran.api.betting.BettingHistory betting_history = 2;
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}