protobuf-platform 1.2.471 → 1.2.473

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/bonus/bonus.proto CHANGED
@@ -1,5 +1,7 @@
1
1
  syntax = "proto3";
2
2
 
3
+ import "game/game.proto";
4
+
3
5
  package bonus;
4
6
 
5
7
  service Bonus {
@@ -13,6 +15,8 @@ service Bonus {
13
15
  rpc deleteSingleBonus(GetBonusRequest) returns (BonusStatusResponse);
14
16
  rpc readListBonuses(PaginationRequest) returns (BonusItemsResponse);
15
17
  rpc readListPublicBonuses(PaginationRequest) returns (BonusItemsResponse);
18
+ // Flat paginated wager games for all wager lists attached to a bonus.
19
+ rpc getBonusWagerGames(GetBonusWagerGamesRequest) returns (game.GameItemsResponse);
16
20
  rpc setBonusActivationRules(BonusActivationRulesRequest) returns (BonusStatusResponse);
17
21
  rpc setBonusRewards(BonusRewardsRequest) returns (BonusStatusResponse);
18
22
  rpc setBonusBetRanges(BonusBetRangesRequest) returns (BonusStatusResponse);
@@ -170,6 +174,14 @@ message GetBonusBySlugRequest {
170
174
  string slug = 1;
171
175
  optional string locale = 2;
172
176
  }
177
+ message GetBonusWagerGamesRequest {
178
+ int32 bonus_id = 1;
179
+ optional int32 limit = 2;
180
+ optional int32 offset = 3;
181
+ optional bool is_mobile = 4;
182
+ optional string country = 5;
183
+ optional bool admin_side = 6;
184
+ }
173
185
  message CurrencyStatusItem {
174
186
  optional string currency = 1; // e.g. "EUR"
175
187
  optional string status = 2; // e.g. "OK" | "PARTIAL" | "BROKEN" or "READY" | "PARTIAL" | "BROKEN"
@@ -446,6 +458,8 @@ message ActiveWageringUserBonusItem {
446
458
  optional int64 wagering_end_in_milliseconds = 7;
447
459
  repeated string wager_balances = 8;
448
460
  optional int32 wager_games_list_id = 9;
461
+ // Business-allowed: "any" | "real" | "bonus"
462
+ optional string wager_balance_priority = 10;
449
463
  }
450
464
  message GetCommonUserBonusItemsRequest {
451
465
  int32 user_id = 1;
@@ -482,6 +496,8 @@ message ValidateSelectedWageringUserBonusResponse {
482
496
  bool real_wagering = 9;
483
497
  bool bonus_wagering = 10;
484
498
  float cancellation_amount = 11;
499
+ // Business-allowed: "any" | "real" | "bonus"
500
+ optional string wager_balance_priority = 12;
485
501
  }
486
502
  //Common Lists
487
503
  message BonusType {