protobuf-platform 1.2.460 → 1.2.462

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
@@ -39,12 +39,55 @@ service Bet {
39
39
 
40
40
  message PingRequest { string ping = 1; }
41
41
  message PongResponse { string pong = 1; }
42
- message PaginationRequest { int32 limit = 1; int32 offset = 2; optional UserSearchRequest user_search_params = 3; }
42
+ message PaginationRequest {
43
+ int32 limit = 1;
44
+ int32 offset = 2;
45
+ optional UserSearchRequest user_search_params = 3;
46
+ optional BetHistoryFilterRequest bet_history_filter = 4;
47
+ }
43
48
  message UserSearchRequest {
44
49
  optional int32 user_id = 1;
45
50
  optional string balance_type = 2;
46
51
  optional string currency = 3;
47
52
  }
53
+ // Shared bet history filters for casino and sport list queries.
54
+ message BetHistoryFilterRequest {
55
+ // Shared
56
+ optional string created_from = 1;
57
+ optional string created_to = 2;
58
+ optional string action = 3; // Casino/sport action (e.g. bet, win); not bet_type.
59
+ optional float amount_min = 4;
60
+ optional float amount_max = 5;
61
+ optional string currency = 6;
62
+ optional string balance_type = 7;
63
+ optional string transaction_id = 8;
64
+ optional string session_id = 9;
65
+ optional string round_id = 10;
66
+ // Casino/game
67
+ optional string game_uuid = 11;
68
+ optional int32 game_id = 12;
69
+ optional string game_title = 13;
70
+ optional string game_provider = 14;
71
+ optional string provider_slug = 15;
72
+ optional float multiplier_min = 16;
73
+ optional float multiplier_max = 17;
74
+ // Sport
75
+ optional string bid = 18; // Vendor betslip id; distinct from internal_transaction_id.
76
+ optional string ref_transaction_id = 19;
77
+ optional string internal_transaction_id = 20;
78
+ optional string betslip_status = 21;
79
+ optional string bet_type = 22; // Sport bet type (e.g. single, combo); not action.
80
+ optional string event_id = 23;
81
+ optional string event_name = 24;
82
+ optional string sport = 25;
83
+ optional string category = 26;
84
+ optional string competition = 27;
85
+ optional string market = 28;
86
+ optional string outcome = 29;
87
+ optional bool is_quick_bet = 30;
88
+ optional string bonus_type = 31;
89
+ optional string freebet_transaction_id = 32;
90
+ }
48
91
  message DashboardRequest {
49
92
  string start_date = 1;
50
93
  string end_date = 2;
@@ -100,6 +143,15 @@ message UserBetItem {
100
143
  optional string created = 14;
101
144
  optional string user_device = 15;
102
145
  optional float multiplier = 16;
146
+ optional int32 user_id = 17;
147
+ optional string game_uuid = 18;
148
+ optional int32 game_id = 19;
149
+ optional string game_slug = 20;
150
+ optional string provider_slug = 21;
151
+ optional string game_image = 22;
152
+ optional int32 has_demo = 23;
153
+ optional WinRateGameImages images = 24;
154
+ optional string updated = 25;
103
155
  }
104
156
  message BetsHistoryResponse {
105
157
  repeated UserBetItem items = 1;
@@ -243,6 +295,7 @@ message SportEventInfo {
243
295
  string name = 2;
244
296
  string sport = 3;
245
297
  string category = 4;
298
+ optional string competition = 5;
246
299
  }
247
300
 
248
301
  // Sport outcome human-readable info (single selection inside betslip).
@@ -251,8 +304,13 @@ message SportOutcomeItem {
251
304
  string status = 2;
252
305
  float odds = 3;
253
306
  optional SportEventInfo event = 4;
307
+ optional string outcome = 5;
308
+ optional string result = 6;
309
+ optional string item_uuid = 7;
310
+ optional string provider_outcome_id = 8;
311
+ optional bool is_live = 9;
254
312
  }
255
- // Sport bet history item for list views (no nested selections/events).
313
+ // Sport bet history item for list views.
256
314
  message SportBetListItem {
257
315
  int32 id = 1;
258
316
  string action = 2;
@@ -261,6 +319,31 @@ message SportBetListItem {
261
319
  string currency = 5;
262
320
  optional string created = 6;
263
321
  //repeated SportOutcomeItem outcomes = 7;
322
+ optional int32 user_id = 8;
323
+ optional string bid = 9;
324
+ optional string ref_transaction_id = 10;
325
+ optional string internal_transaction_id = 11;
326
+ optional string session_id = 12;
327
+ optional string betslip_status = 13;
328
+ optional string bet_type = 14;
329
+ optional string bet_type_value = 15;
330
+ optional float odd = 16;
331
+ optional float balance_real = 17;
332
+ optional float balance_bonus = 18;
333
+ optional string vendor = 19;
334
+ optional bool is_quick_bet = 20;
335
+ optional string freebet_transaction_id = 21;
336
+ optional string bonus_type = 22;
337
+ optional string updated = 23;
338
+ repeated SportOutcomeItem outcomes = 24;
339
+ // Summary fields for list UX; first/matched outcome when multiple exist.
340
+ optional string event_id = 25;
341
+ optional string event_name = 26;
342
+ optional string sport = 27;
343
+ optional string category = 28;
344
+ optional string competition = 29;
345
+ optional string market = 30;
346
+ optional string outcome = 31;
264
347
  }
265
348
 
266
349
  message SportBetsHistoryResponse {