protobuf-platform 1.2.710 → 1.2.711

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
@@ -199,6 +199,8 @@ message BonusItemRequest {
199
199
  optional string payout_destination = 36;
200
200
  // Operator UI metadata only. Empty when unset. Does not affect eligibility, activation, ordering, rewards, or wagering.
201
201
  optional string label = 37;
202
+ // Empty means the reward stays in the bonus currency. An explicit code is a brand payout currency.
203
+ optional string payout_currency = 38;
202
204
  }
203
205
  message GetBonusRequest {
204
206
  int32 id = 1;
@@ -286,6 +288,8 @@ message BonusItem {
286
288
  optional string payout_destination = 49;
287
289
  // Operator UI metadata only. Empty when unset. Does not affect eligibility, activation, ordering, rewards, or wagering.
288
290
  optional string label = 50;
291
+ // Empty means the reward stays in the bonus currency. An explicit code is a brand payout currency.
292
+ optional string payout_currency = 51;
289
293
  }
290
294
  message SingleBonusItem {
291
295
  optional int32 id = 1;
@@ -325,6 +329,8 @@ message SingleBonusItem {
325
329
  optional string priority_bankroll = 35;
326
330
  // Business-allowed: "real" | "bonus"
327
331
  optional string payout_destination = 36;
332
+ // Empty means the reward stays in the bonus currency. An explicit code is a brand payout currency.
333
+ optional string payout_currency = 37;
328
334
  }
329
335
  message SingleBonusResponse {
330
336
  SingleBonusItem data = 1;
package/bonus/bonus_pb.js CHANGED
@@ -5660,7 +5660,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
5660
5660
  bankrollMode: jspb.Message.getFieldWithDefault(msg, 34, ""),
5661
5661
  priorityBankroll: jspb.Message.getFieldWithDefault(msg, 35, ""),
5662
5662
  payoutDestination: jspb.Message.getFieldWithDefault(msg, 36, ""),
5663
- label: jspb.Message.getFieldWithDefault(msg, 37, "")
5663
+ label: jspb.Message.getFieldWithDefault(msg, 37, ""),
5664
+ payoutCurrency: jspb.Message.getFieldWithDefault(msg, 38, "")
5664
5665
  };
5665
5666
 
5666
5667
  if (includeInstance) {
@@ -5851,6 +5852,10 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
5851
5852
  var value = /** @type {string} */ (reader.readString());
5852
5853
  msg.setLabel(value);
5853
5854
  break;
5855
+ case 38:
5856
+ var value = /** @type {string} */ (reader.readString());
5857
+ msg.setPayoutCurrency(value);
5858
+ break;
5854
5859
  default:
5855
5860
  reader.skipField();
5856
5861
  break;
@@ -6139,6 +6144,13 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
6139
6144
  f
6140
6145
  );
6141
6146
  }
6147
+ f = /** @type {string} */ (jspb.Message.getField(message, 38));
6148
+ if (f != null) {
6149
+ writer.writeString(
6150
+ 38,
6151
+ f
6152
+ );
6153
+ }
6142
6154
  };
6143
6155
 
6144
6156
 
@@ -7477,6 +7489,42 @@ proto.bonus.BonusItemRequest.prototype.hasLabel = function() {
7477
7489
  };
7478
7490
 
7479
7491
 
7492
+ /**
7493
+ * optional string payout_currency = 38;
7494
+ * @return {string}
7495
+ */
7496
+ proto.bonus.BonusItemRequest.prototype.getPayoutCurrency = function() {
7497
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
7498
+ };
7499
+
7500
+
7501
+ /**
7502
+ * @param {string} value
7503
+ * @return {!proto.bonus.BonusItemRequest} returns this
7504
+ */
7505
+ proto.bonus.BonusItemRequest.prototype.setPayoutCurrency = function(value) {
7506
+ return jspb.Message.setField(this, 38, value);
7507
+ };
7508
+
7509
+
7510
+ /**
7511
+ * Clears the field making it undefined.
7512
+ * @return {!proto.bonus.BonusItemRequest} returns this
7513
+ */
7514
+ proto.bonus.BonusItemRequest.prototype.clearPayoutCurrency = function() {
7515
+ return jspb.Message.setField(this, 38, undefined);
7516
+ };
7517
+
7518
+
7519
+ /**
7520
+ * Returns whether this field is set.
7521
+ * @return {boolean}
7522
+ */
7523
+ proto.bonus.BonusItemRequest.prototype.hasPayoutCurrency = function() {
7524
+ return jspb.Message.getField(this, 38) != null;
7525
+ };
7526
+
7527
+
7480
7528
 
7481
7529
 
7482
7530
 
@@ -8757,7 +8805,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
8757
8805
  bankrollMode: jspb.Message.getFieldWithDefault(msg, 47, ""),
8758
8806
  priorityBankroll: jspb.Message.getFieldWithDefault(msg, 48, ""),
8759
8807
  payoutDestination: jspb.Message.getFieldWithDefault(msg, 49, ""),
8760
- label: jspb.Message.getFieldWithDefault(msg, 50, "")
8808
+ label: jspb.Message.getFieldWithDefault(msg, 50, ""),
8809
+ payoutCurrency: jspb.Message.getFieldWithDefault(msg, 51, "")
8761
8810
  };
8762
8811
 
8763
8812
  if (includeInstance) {
@@ -9007,6 +9056,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
9007
9056
  var value = /** @type {string} */ (reader.readString());
9008
9057
  msg.setLabel(value);
9009
9058
  break;
9059
+ case 51:
9060
+ var value = /** @type {string} */ (reader.readString());
9061
+ msg.setPayoutCurrency(value);
9062
+ break;
9010
9063
  default:
9011
9064
  reader.skipField();
9012
9065
  break;
@@ -9393,6 +9446,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
9393
9446
  f
9394
9447
  );
9395
9448
  }
9449
+ f = /** @type {string} */ (jspb.Message.getField(message, 51));
9450
+ if (f != null) {
9451
+ writer.writeString(
9452
+ 51,
9453
+ f
9454
+ );
9455
+ }
9396
9456
  };
9397
9457
 
9398
9458
 
@@ -11196,6 +11256,42 @@ proto.bonus.BonusItem.prototype.hasLabel = function() {
11196
11256
  };
11197
11257
 
11198
11258
 
11259
+ /**
11260
+ * optional string payout_currency = 51;
11261
+ * @return {string}
11262
+ */
11263
+ proto.bonus.BonusItem.prototype.getPayoutCurrency = function() {
11264
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 51, ""));
11265
+ };
11266
+
11267
+
11268
+ /**
11269
+ * @param {string} value
11270
+ * @return {!proto.bonus.BonusItem} returns this
11271
+ */
11272
+ proto.bonus.BonusItem.prototype.setPayoutCurrency = function(value) {
11273
+ return jspb.Message.setField(this, 51, value);
11274
+ };
11275
+
11276
+
11277
+ /**
11278
+ * Clears the field making it undefined.
11279
+ * @return {!proto.bonus.BonusItem} returns this
11280
+ */
11281
+ proto.bonus.BonusItem.prototype.clearPayoutCurrency = function() {
11282
+ return jspb.Message.setField(this, 51, undefined);
11283
+ };
11284
+
11285
+
11286
+ /**
11287
+ * Returns whether this field is set.
11288
+ * @return {boolean}
11289
+ */
11290
+ proto.bonus.BonusItem.prototype.hasPayoutCurrency = function() {
11291
+ return jspb.Message.getField(this, 51) != null;
11292
+ };
11293
+
11294
+
11199
11295
 
11200
11296
  /**
11201
11297
  * List of repeated fields within this message type.
@@ -11271,7 +11367,8 @@ proto.bonus.SingleBonusItem.toObject = function(includeInstance, msg) {
11271
11367
  content: jspb.Message.getFieldWithDefault(msg, 33, ""),
11272
11368
  bankrollMode: jspb.Message.getFieldWithDefault(msg, 34, ""),
11273
11369
  priorityBankroll: jspb.Message.getFieldWithDefault(msg, 35, ""),
11274
- payoutDestination: jspb.Message.getFieldWithDefault(msg, 36, "")
11370
+ payoutDestination: jspb.Message.getFieldWithDefault(msg, 36, ""),
11371
+ payoutCurrency: jspb.Message.getFieldWithDefault(msg, 37, "")
11275
11372
  };
11276
11373
 
11277
11374
  if (includeInstance) {
@@ -11447,6 +11544,10 @@ proto.bonus.SingleBonusItem.deserializeBinaryFromReader = function(msg, reader)
11447
11544
  var value = /** @type {string} */ (reader.readString());
11448
11545
  msg.setPayoutDestination(value);
11449
11546
  break;
11547
+ case 37:
11548
+ var value = /** @type {string} */ (reader.readString());
11549
+ msg.setPayoutCurrency(value);
11550
+ break;
11450
11551
  default:
11451
11552
  reader.skipField();
11452
11553
  break;
@@ -11717,6 +11818,13 @@ proto.bonus.SingleBonusItem.serializeBinaryToWriter = function(message, writer)
11717
11818
  f
11718
11819
  );
11719
11820
  }
11821
+ f = /** @type {string} */ (jspb.Message.getField(message, 37));
11822
+ if (f != null) {
11823
+ writer.writeString(
11824
+ 37,
11825
+ f
11826
+ );
11827
+ }
11720
11828
  };
11721
11829
 
11722
11830
 
@@ -12950,6 +13058,42 @@ proto.bonus.SingleBonusItem.prototype.hasPayoutDestination = function() {
12950
13058
  };
12951
13059
 
12952
13060
 
13061
+ /**
13062
+ * optional string payout_currency = 37;
13063
+ * @return {string}
13064
+ */
13065
+ proto.bonus.SingleBonusItem.prototype.getPayoutCurrency = function() {
13066
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
13067
+ };
13068
+
13069
+
13070
+ /**
13071
+ * @param {string} value
13072
+ * @return {!proto.bonus.SingleBonusItem} returns this
13073
+ */
13074
+ proto.bonus.SingleBonusItem.prototype.setPayoutCurrency = function(value) {
13075
+ return jspb.Message.setField(this, 37, value);
13076
+ };
13077
+
13078
+
13079
+ /**
13080
+ * Clears the field making it undefined.
13081
+ * @return {!proto.bonus.SingleBonusItem} returns this
13082
+ */
13083
+ proto.bonus.SingleBonusItem.prototype.clearPayoutCurrency = function() {
13084
+ return jspb.Message.setField(this, 37, undefined);
13085
+ };
13086
+
13087
+
13088
+ /**
13089
+ * Returns whether this field is set.
13090
+ * @return {boolean}
13091
+ */
13092
+ proto.bonus.SingleBonusItem.prototype.hasPayoutCurrency = function() {
13093
+ return jspb.Message.getField(this, 37) != null;
13094
+ };
13095
+
13096
+
12953
13097
 
12954
13098
 
12955
13099
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.710",
3
+ "version": "1.2.711",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {