protobuf-platform 1.2.639 → 1.2.640

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bet/bet.proto CHANGED
@@ -58,14 +58,17 @@ message PaginationRequest {
58
58
  int32 limit = 1;
59
59
  int32 offset = 2;
60
60
  optional UserSearchRequest user_search_params = 3;
61
+ // Deprecated mixed casino+sport filter. Prefer casino_history_filter / sport_history_filter.
61
62
  optional BetHistoryFilterRequest bet_history_filter = 4;
63
+ optional CasinoBetHistoryFilterRequest casino_history_filter = 5;
64
+ optional SportBetHistoryFilterRequest sport_history_filter = 6;
62
65
  }
63
66
  message UserSearchRequest {
64
67
  optional int32 user_id = 1;
65
68
  optional string balance_type = 2;
66
69
  optional string currency = 3;
67
70
  }
68
- // Shared bet history filters for casino and sport list queries.
71
+ // Deprecated mixed casino+sport filter kept for mixed-version callers.
69
72
  message BetHistoryFilterRequest {
70
73
  // Shared
71
74
  optional string created_from = 1;
@@ -102,6 +105,75 @@ message BetHistoryFilterRequest {
102
105
  optional bool is_quick_bet = 30;
103
106
  optional string bonus_type = 31;
104
107
  optional string freebet_transaction_id = 32;
108
+ repeated string actions = 33;
109
+ repeated string balance_types = 34;
110
+ optional string amount_min_decimal = 35;
111
+ optional string amount_max_decimal = 36;
112
+ repeated string game_providers = 37;
113
+ repeated string provider_slugs = 38;
114
+ repeated string sports = 39;
115
+ optional bool admin_side = 40;
116
+ repeated string bet_types = 41;
117
+ }
118
+ // Casino-only history filters. Client may send a subset; BO may send a superset.
119
+ message CasinoBetHistoryFilterRequest {
120
+ optional string created_from = 1;
121
+ optional string created_to = 2;
122
+ optional string action = 3; // Legacy single-value fallback.
123
+ repeated string actions = 4;
124
+ optional float amount_min = 5; // Legacy float32 fallback.
125
+ optional float amount_max = 6;
126
+ optional string amount_min_decimal = 7; // Canonical non-negative decimal string.
127
+ optional string amount_max_decimal = 8;
128
+ optional string currency = 9;
129
+ optional string balance_type = 10; // Legacy single-value fallback.
130
+ repeated string balance_types = 11;
131
+ optional string transaction_id = 12;
132
+ optional string session_id = 13;
133
+ optional string round_id = 14;
134
+ optional string game_uuid = 15;
135
+ optional int32 game_id = 16;
136
+ optional string game_title = 17; // Trimmed substring match.
137
+ optional string game_provider = 18; // Legacy provider title contains-match.
138
+ repeated string game_providers = 19;
139
+ optional string provider_slug = 20; // Legacy exact provider slug.
140
+ repeated string provider_slugs = 21;
141
+ optional float multiplier_min = 22;
142
+ optional float multiplier_max = 23;
143
+ optional bool admin_side = 24; // Skip catalog visibility exclusions when true.
144
+ }
145
+ // Sport-only history filters. Client may send a subset; BO may send a superset.
146
+ message SportBetHistoryFilterRequest {
147
+ optional string created_from = 1;
148
+ optional string created_to = 2;
149
+ optional string action = 3; // Legacy single-value fallback.
150
+ repeated string actions = 4;
151
+ optional float amount_min = 5; // Legacy float32 fallback.
152
+ optional float amount_max = 6;
153
+ optional string amount_min_decimal = 7; // Canonical non-negative decimal string.
154
+ optional string amount_max_decimal = 8;
155
+ optional string currency = 9;
156
+ optional string balance_type = 10; // Legacy single-value fallback.
157
+ repeated string balance_types = 11;
158
+ optional string transaction_id = 12; // Exact match on SportAction.internal_transaction_id.
159
+ optional string session_id = 13;
160
+ optional string bid = 14; // Vendor betslip id; HTTP aliases betbyBetId / betSlipId map here.
161
+ optional string ref_transaction_id = 15;
162
+ optional string internal_transaction_id = 16;
163
+ optional string betslip_status = 17;
164
+ optional string bet_type = 18; // Legacy sport bet type fallback.
165
+ repeated string bet_types = 19;
166
+ optional string event_id = 20;
167
+ optional string event_name = 21; // Exact SportEvent.name match.
168
+ optional string sport = 22; // Legacy SportEvent.sport fallback; HTTP discipline maps here.
169
+ repeated string sports = 23;
170
+ optional string category = 24;
171
+ optional string competition = 25;
172
+ optional string market = 26;
173
+ optional string outcome = 27;
174
+ optional bool is_quick_bet = 28;
175
+ optional string bonus_type = 29;
176
+ optional string freebet_transaction_id = 30;
105
177
  }
106
178
  message DashboardRequest {
107
179
  string start_date = 1;