protobuf-platform 1.0.134 → 1.0.135
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 +1 -0
- package/bonus/bonus_pb.js +55 -2
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -96,6 +96,7 @@ message BonusItem {
|
|
96
96
|
optional int32 wagering_period_in_hours = 18;
|
97
97
|
repeated ActivationRule activation_rules = 19;
|
98
98
|
repeated BonusReward rewards = 20;
|
99
|
+
repeated BetsRange bets_range = 21;
|
99
100
|
}
|
100
101
|
message BonusItemsResponse {
|
101
102
|
repeated BonusItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -3473,7 +3473,7 @@ proto.bonus.BonusResponse.prototype.hasData = function() {
|
|
3473
3473
|
* @private {!Array<number>}
|
3474
3474
|
* @const
|
3475
3475
|
*/
|
3476
|
-
proto.bonus.BonusItem.repeatedFields_ = [19,20];
|
3476
|
+
proto.bonus.BonusItem.repeatedFields_ = [19,20,21];
|
3477
3477
|
|
3478
3478
|
|
3479
3479
|
|
@@ -3527,7 +3527,9 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
3527
3527
|
activationRulesList: jspb.Message.toObjectList(msg.getActivationRulesList(),
|
3528
3528
|
proto.bonus.ActivationRule.toObject, includeInstance),
|
3529
3529
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
3530
|
-
proto.bonus.BonusReward.toObject, includeInstance)
|
3530
|
+
proto.bonus.BonusReward.toObject, includeInstance),
|
3531
|
+
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
3532
|
+
proto.bonus.BetsRange.toObject, includeInstance)
|
3531
3533
|
};
|
3532
3534
|
|
3533
3535
|
if (includeInstance) {
|
@@ -3646,6 +3648,11 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
3646
3648
|
reader.readMessage(value,proto.bonus.BonusReward.deserializeBinaryFromReader);
|
3647
3649
|
msg.addRewards(value);
|
3648
3650
|
break;
|
3651
|
+
case 21:
|
3652
|
+
var value = new proto.bonus.BetsRange;
|
3653
|
+
reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
|
3654
|
+
msg.addBetsRange(value);
|
3655
|
+
break;
|
3649
3656
|
default:
|
3650
3657
|
reader.skipField();
|
3651
3658
|
break;
|
@@ -3817,6 +3824,14 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
3817
3824
|
proto.bonus.BonusReward.serializeBinaryToWriter
|
3818
3825
|
);
|
3819
3826
|
}
|
3827
|
+
f = message.getBetsRangeList();
|
3828
|
+
if (f.length > 0) {
|
3829
|
+
writer.writeRepeatedMessage(
|
3830
|
+
21,
|
3831
|
+
f,
|
3832
|
+
proto.bonus.BetsRange.serializeBinaryToWriter
|
3833
|
+
);
|
3834
|
+
}
|
3820
3835
|
};
|
3821
3836
|
|
3822
3837
|
|
@@ -4544,6 +4559,44 @@ proto.bonus.BonusItem.prototype.clearRewardsList = function() {
|
|
4544
4559
|
};
|
4545
4560
|
|
4546
4561
|
|
4562
|
+
/**
|
4563
|
+
* repeated BetsRange bets_range = 21;
|
4564
|
+
* @return {!Array<!proto.bonus.BetsRange>}
|
4565
|
+
*/
|
4566
|
+
proto.bonus.BonusItem.prototype.getBetsRangeList = function() {
|
4567
|
+
return /** @type{!Array<!proto.bonus.BetsRange>} */ (
|
4568
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bonus.BetsRange, 21));
|
4569
|
+
};
|
4570
|
+
|
4571
|
+
|
4572
|
+
/**
|
4573
|
+
* @param {!Array<!proto.bonus.BetsRange>} value
|
4574
|
+
* @return {!proto.bonus.BonusItem} returns this
|
4575
|
+
*/
|
4576
|
+
proto.bonus.BonusItem.prototype.setBetsRangeList = function(value) {
|
4577
|
+
return jspb.Message.setRepeatedWrapperField(this, 21, value);
|
4578
|
+
};
|
4579
|
+
|
4580
|
+
|
4581
|
+
/**
|
4582
|
+
* @param {!proto.bonus.BetsRange=} opt_value
|
4583
|
+
* @param {number=} opt_index
|
4584
|
+
* @return {!proto.bonus.BetsRange}
|
4585
|
+
*/
|
4586
|
+
proto.bonus.BonusItem.prototype.addBetsRange = function(opt_value, opt_index) {
|
4587
|
+
return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.bonus.BetsRange, opt_index);
|
4588
|
+
};
|
4589
|
+
|
4590
|
+
|
4591
|
+
/**
|
4592
|
+
* Clears the list making it empty but non-null.
|
4593
|
+
* @return {!proto.bonus.BonusItem} returns this
|
4594
|
+
*/
|
4595
|
+
proto.bonus.BonusItem.prototype.clearBetsRangeList = function() {
|
4596
|
+
return this.setBetsRangeList([]);
|
4597
|
+
};
|
4598
|
+
|
4599
|
+
|
4547
4600
|
|
4548
4601
|
/**
|
4549
4602
|
* List of repeated fields within this message type.
|