protobuf-platform 1.2.655 → 1.2.657

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/game/game.proto CHANGED
@@ -937,6 +937,8 @@ message ActiveWageringUserBonus {
937
937
  int32 wager_games_list_id = 9;
938
938
  // Business-allowed: "any" | "real" | "bonus"
939
939
  optional string wager_balance_priority = 10;
940
+ // Business-allowed: "separately" | "together"
941
+ optional string bankroll_mode = 11;
940
942
  }
941
943
  message GameConfigCheckResponse {
942
944
  int32 game_id = 1;
package/game/game_pb.js CHANGED
@@ -39084,7 +39084,8 @@ proto.game.ActiveWageringUserBonus.toObject = function(includeInstance, msg) {
39084
39084
  wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 7, 0),
39085
39085
  wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
39086
39086
  wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0),
39087
- wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, "")
39087
+ wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, ""),
39088
+ bankrollMode: jspb.Message.getFieldWithDefault(msg, 11, "")
39088
39089
  };
39089
39090
 
39090
39091
  if (includeInstance) {
@@ -39161,6 +39162,10 @@ proto.game.ActiveWageringUserBonus.deserializeBinaryFromReader = function(msg, r
39161
39162
  var value = /** @type {string} */ (reader.readString());
39162
39163
  msg.setWagerBalancePriority(value);
39163
39164
  break;
39165
+ case 11:
39166
+ var value = /** @type {string} */ (reader.readString());
39167
+ msg.setBankrollMode(value);
39168
+ break;
39164
39169
  default:
39165
39170
  reader.skipField();
39166
39171
  break;
@@ -39260,6 +39265,13 @@ proto.game.ActiveWageringUserBonus.serializeBinaryToWriter = function(message, w
39260
39265
  f
39261
39266
  );
39262
39267
  }
39268
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
39269
+ if (f != null) {
39270
+ writer.writeString(
39271
+ 11,
39272
+ f
39273
+ );
39274
+ }
39263
39275
  };
39264
39276
 
39265
39277
 
@@ -39480,6 +39492,42 @@ proto.game.ActiveWageringUserBonus.prototype.hasWagerBalancePriority = function(
39480
39492
  };
39481
39493
 
39482
39494
 
39495
+ /**
39496
+ * optional string bankroll_mode = 11;
39497
+ * @return {string}
39498
+ */
39499
+ proto.game.ActiveWageringUserBonus.prototype.getBankrollMode = function() {
39500
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
39501
+ };
39502
+
39503
+
39504
+ /**
39505
+ * @param {string} value
39506
+ * @return {!proto.game.ActiveWageringUserBonus} returns this
39507
+ */
39508
+ proto.game.ActiveWageringUserBonus.prototype.setBankrollMode = function(value) {
39509
+ return jspb.Message.setField(this, 11, value);
39510
+ };
39511
+
39512
+
39513
+ /**
39514
+ * Clears the field making it undefined.
39515
+ * @return {!proto.game.ActiveWageringUserBonus} returns this
39516
+ */
39517
+ proto.game.ActiveWageringUserBonus.prototype.clearBankrollMode = function() {
39518
+ return jspb.Message.setField(this, 11, undefined);
39519
+ };
39520
+
39521
+
39522
+ /**
39523
+ * Returns whether this field is set.
39524
+ * @return {boolean}
39525
+ */
39526
+ proto.game.ActiveWageringUserBonus.prototype.hasBankrollMode = function() {
39527
+ return jspb.Message.getField(this, 11) != null;
39528
+ };
39529
+
39530
+
39483
39531
 
39484
39532
  /**
39485
39533
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.655",
3
+ "version": "1.2.657",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -286,6 +286,9 @@ message PaymentMethodConfigRequest {
286
286
  // Unset on read means unlimited. Empty string on write clears the stored limit.
287
287
  // "0" is an explicit zero reward base, not unlimited.
288
288
  optional string reward_calculation_limit = 19;
289
+ // Fiat code for the reward-limit comparison. Unset or empty means Current:
290
+ // the limit is in the credited currency. Empty string on write clears it.
291
+ optional string reward_calculation_limit_target_currency = 20;
289
292
  }
290
293
  message PaymentMethodConfigResponse {
291
294
  int32 method_id = 1;
@@ -309,6 +312,8 @@ message PaymentMethodConfigResponse {
309
312
  // Major-unit cap on the deposit amount used as the percentage reward base.
310
313
  // Unset means unlimited. "0" is an explicit zero reward base, not unlimited.
311
314
  optional string reward_calculation_limit = 19;
315
+ // Fiat code for the reward-limit comparison. Unset means Current.
316
+ optional string reward_calculation_limit_target_currency = 20;
312
317
  }
313
318
  message CashierFieldsRequest {}
314
319
  message CashierFieldItemsResponse {
@@ -11566,7 +11566,8 @@ proto.payment.PaymentMethodConfigRequest.toObject = function(includeInstance, ms
11566
11566
  isTop: jspb.Message.getFieldWithDefault(msg, 16, 0),
11567
11567
  isPopular: jspb.Message.getFieldWithDefault(msg, 17, 0),
11568
11568
  isNew: jspb.Message.getFieldWithDefault(msg, 18, 0),
11569
- rewardCalculationLimit: jspb.Message.getFieldWithDefault(msg, 19, "")
11569
+ rewardCalculationLimit: jspb.Message.getFieldWithDefault(msg, 19, ""),
11570
+ rewardCalculationLimitTargetCurrency: jspb.Message.getFieldWithDefault(msg, 20, "")
11570
11571
  };
11571
11572
 
11572
11573
  if (includeInstance) {
@@ -11680,6 +11681,10 @@ proto.payment.PaymentMethodConfigRequest.deserializeBinaryFromReader = function(
11680
11681
  var value = /** @type {string} */ (reader.readString());
11681
11682
  msg.setRewardCalculationLimit(value);
11682
11683
  break;
11684
+ case 20:
11685
+ var value = /** @type {string} */ (reader.readString());
11686
+ msg.setRewardCalculationLimitTargetCurrency(value);
11687
+ break;
11683
11688
  default:
11684
11689
  reader.skipField();
11685
11690
  break;
@@ -11843,6 +11848,13 @@ proto.payment.PaymentMethodConfigRequest.serializeBinaryToWriter = function(mess
11843
11848
  f
11844
11849
  );
11845
11850
  }
11851
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
11852
+ if (f != null) {
11853
+ writer.writeString(
11854
+ 20,
11855
+ f
11856
+ );
11857
+ }
11846
11858
  };
11847
11859
 
11848
11860
 
@@ -12478,6 +12490,42 @@ proto.payment.PaymentMethodConfigRequest.prototype.hasRewardCalculationLimit = f
12478
12490
  };
12479
12491
 
12480
12492
 
12493
+ /**
12494
+ * optional string reward_calculation_limit_target_currency = 20;
12495
+ * @return {string}
12496
+ */
12497
+ proto.payment.PaymentMethodConfigRequest.prototype.getRewardCalculationLimitTargetCurrency = function() {
12498
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
12499
+ };
12500
+
12501
+
12502
+ /**
12503
+ * @param {string} value
12504
+ * @return {!proto.payment.PaymentMethodConfigRequest} returns this
12505
+ */
12506
+ proto.payment.PaymentMethodConfigRequest.prototype.setRewardCalculationLimitTargetCurrency = function(value) {
12507
+ return jspb.Message.setField(this, 20, value);
12508
+ };
12509
+
12510
+
12511
+ /**
12512
+ * Clears the field making it undefined.
12513
+ * @return {!proto.payment.PaymentMethodConfigRequest} returns this
12514
+ */
12515
+ proto.payment.PaymentMethodConfigRequest.prototype.clearRewardCalculationLimitTargetCurrency = function() {
12516
+ return jspb.Message.setField(this, 20, undefined);
12517
+ };
12518
+
12519
+
12520
+ /**
12521
+ * Returns whether this field is set.
12522
+ * @return {boolean}
12523
+ */
12524
+ proto.payment.PaymentMethodConfigRequest.prototype.hasRewardCalculationLimitTargetCurrency = function() {
12525
+ return jspb.Message.getField(this, 20) != null;
12526
+ };
12527
+
12528
+
12481
12529
 
12482
12530
  /**
12483
12531
  * List of repeated fields within this message type.
@@ -12536,7 +12584,8 @@ proto.payment.PaymentMethodConfigResponse.toObject = function(includeInstance, m
12536
12584
  isTop: jspb.Message.getFieldWithDefault(msg, 16, 0),
12537
12585
  isPopular: jspb.Message.getFieldWithDefault(msg, 17, 0),
12538
12586
  isNew: jspb.Message.getFieldWithDefault(msg, 18, 0),
12539
- rewardCalculationLimit: jspb.Message.getFieldWithDefault(msg, 19, "")
12587
+ rewardCalculationLimit: jspb.Message.getFieldWithDefault(msg, 19, ""),
12588
+ rewardCalculationLimitTargetCurrency: jspb.Message.getFieldWithDefault(msg, 20, "")
12540
12589
  };
12541
12590
 
12542
12591
  if (includeInstance) {
@@ -12650,6 +12699,10 @@ proto.payment.PaymentMethodConfigResponse.deserializeBinaryFromReader = function
12650
12699
  var value = /** @type {string} */ (reader.readString());
12651
12700
  msg.setRewardCalculationLimit(value);
12652
12701
  break;
12702
+ case 20:
12703
+ var value = /** @type {string} */ (reader.readString());
12704
+ msg.setRewardCalculationLimitTargetCurrency(value);
12705
+ break;
12653
12706
  default:
12654
12707
  reader.skipField();
12655
12708
  break;
@@ -12813,6 +12866,13 @@ proto.payment.PaymentMethodConfigResponse.serializeBinaryToWriter = function(mes
12813
12866
  f
12814
12867
  );
12815
12868
  }
12869
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
12870
+ if (f != null) {
12871
+ writer.writeString(
12872
+ 20,
12873
+ f
12874
+ );
12875
+ }
12816
12876
  };
12817
12877
 
12818
12878
 
@@ -13484,6 +13544,42 @@ proto.payment.PaymentMethodConfigResponse.prototype.hasRewardCalculationLimit =
13484
13544
  };
13485
13545
 
13486
13546
 
13547
+ /**
13548
+ * optional string reward_calculation_limit_target_currency = 20;
13549
+ * @return {string}
13550
+ */
13551
+ proto.payment.PaymentMethodConfigResponse.prototype.getRewardCalculationLimitTargetCurrency = function() {
13552
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
13553
+ };
13554
+
13555
+
13556
+ /**
13557
+ * @param {string} value
13558
+ * @return {!proto.payment.PaymentMethodConfigResponse} returns this
13559
+ */
13560
+ proto.payment.PaymentMethodConfigResponse.prototype.setRewardCalculationLimitTargetCurrency = function(value) {
13561
+ return jspb.Message.setField(this, 20, value);
13562
+ };
13563
+
13564
+
13565
+ /**
13566
+ * Clears the field making it undefined.
13567
+ * @return {!proto.payment.PaymentMethodConfigResponse} returns this
13568
+ */
13569
+ proto.payment.PaymentMethodConfigResponse.prototype.clearRewardCalculationLimitTargetCurrency = function() {
13570
+ return jspb.Message.setField(this, 20, undefined);
13571
+ };
13572
+
13573
+
13574
+ /**
13575
+ * Returns whether this field is set.
13576
+ * @return {boolean}
13577
+ */
13578
+ proto.payment.PaymentMethodConfigResponse.prototype.hasRewardCalculationLimitTargetCurrency = function() {
13579
+ return jspb.Message.getField(this, 20) != null;
13580
+ };
13581
+
13582
+
13487
13583
 
13488
13584
 
13489
13585