syntax = "proto3"; package bet.beteran.c2se.api.betting; import "protobuf/rpc.proto"; import "protobuf/pagination.proto"; import "models/core/network.proto"; import "models/api/betting.proto"; message ListBettingHistoryRequest { 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; } message ListBettingHistoryResponse { message Result { uint64 total_count = 1; repeated bet.beteran.api.betting.BettingHistoryModel betting_history = 2; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; }