protobuf-platform 1.2.421 → 1.2.422
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/loyalty/loyalty.proto +2 -0
- package/loyalty/loyalty_pb.js +97 -1
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
|
@@ -153,6 +153,8 @@ message WagerPoint {
|
|
|
153
153
|
string currency = 1;
|
|
154
154
|
double multiplier = 2;
|
|
155
155
|
optional int32 is_active = 3;
|
|
156
|
+
optional int32 is_real_balance_allowed = 4;
|
|
157
|
+
optional int32 is_bonus_balance_allowed = 5;
|
|
156
158
|
}
|
|
157
159
|
message PointItem {
|
|
158
160
|
optional int32 id = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -6571,7 +6571,9 @@ proto.loyalty.WagerPoint.toObject = function(includeInstance, msg) {
|
|
|
6571
6571
|
var f, obj = {
|
|
6572
6572
|
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6573
6573
|
multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
6574
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
6574
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6575
|
+
isRealBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
6576
|
+
isBonusBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
6575
6577
|
};
|
|
6576
6578
|
|
|
6577
6579
|
if (includeInstance) {
|
|
@@ -6620,6 +6622,14 @@ proto.loyalty.WagerPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6620
6622
|
var value = /** @type {number} */ (reader.readInt32());
|
|
6621
6623
|
msg.setIsActive(value);
|
|
6622
6624
|
break;
|
|
6625
|
+
case 4:
|
|
6626
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6627
|
+
msg.setIsRealBalanceAllowed(value);
|
|
6628
|
+
break;
|
|
6629
|
+
case 5:
|
|
6630
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6631
|
+
msg.setIsBonusBalanceAllowed(value);
|
|
6632
|
+
break;
|
|
6623
6633
|
default:
|
|
6624
6634
|
reader.skipField();
|
|
6625
6635
|
break;
|
|
@@ -6670,6 +6680,20 @@ proto.loyalty.WagerPoint.serializeBinaryToWriter = function(message, writer) {
|
|
|
6670
6680
|
f
|
|
6671
6681
|
);
|
|
6672
6682
|
}
|
|
6683
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
6684
|
+
if (f != null) {
|
|
6685
|
+
writer.writeInt32(
|
|
6686
|
+
4,
|
|
6687
|
+
f
|
|
6688
|
+
);
|
|
6689
|
+
}
|
|
6690
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
6691
|
+
if (f != null) {
|
|
6692
|
+
writer.writeInt32(
|
|
6693
|
+
5,
|
|
6694
|
+
f
|
|
6695
|
+
);
|
|
6696
|
+
}
|
|
6673
6697
|
};
|
|
6674
6698
|
|
|
6675
6699
|
|
|
@@ -6745,6 +6769,78 @@ proto.loyalty.WagerPoint.prototype.hasIsActive = function() {
|
|
|
6745
6769
|
};
|
|
6746
6770
|
|
|
6747
6771
|
|
|
6772
|
+
/**
|
|
6773
|
+
* optional int32 is_real_balance_allowed = 4;
|
|
6774
|
+
* @return {number}
|
|
6775
|
+
*/
|
|
6776
|
+
proto.loyalty.WagerPoint.prototype.getIsRealBalanceAllowed = function() {
|
|
6777
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
6778
|
+
};
|
|
6779
|
+
|
|
6780
|
+
|
|
6781
|
+
/**
|
|
6782
|
+
* @param {number} value
|
|
6783
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6784
|
+
*/
|
|
6785
|
+
proto.loyalty.WagerPoint.prototype.setIsRealBalanceAllowed = function(value) {
|
|
6786
|
+
return jspb.Message.setField(this, 4, value);
|
|
6787
|
+
};
|
|
6788
|
+
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
* Clears the field making it undefined.
|
|
6792
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6793
|
+
*/
|
|
6794
|
+
proto.loyalty.WagerPoint.prototype.clearIsRealBalanceAllowed = function() {
|
|
6795
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
6796
|
+
};
|
|
6797
|
+
|
|
6798
|
+
|
|
6799
|
+
/**
|
|
6800
|
+
* Returns whether this field is set.
|
|
6801
|
+
* @return {boolean}
|
|
6802
|
+
*/
|
|
6803
|
+
proto.loyalty.WagerPoint.prototype.hasIsRealBalanceAllowed = function() {
|
|
6804
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6805
|
+
};
|
|
6806
|
+
|
|
6807
|
+
|
|
6808
|
+
/**
|
|
6809
|
+
* optional int32 is_bonus_balance_allowed = 5;
|
|
6810
|
+
* @return {number}
|
|
6811
|
+
*/
|
|
6812
|
+
proto.loyalty.WagerPoint.prototype.getIsBonusBalanceAllowed = function() {
|
|
6813
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
6814
|
+
};
|
|
6815
|
+
|
|
6816
|
+
|
|
6817
|
+
/**
|
|
6818
|
+
* @param {number} value
|
|
6819
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6820
|
+
*/
|
|
6821
|
+
proto.loyalty.WagerPoint.prototype.setIsBonusBalanceAllowed = function(value) {
|
|
6822
|
+
return jspb.Message.setField(this, 5, value);
|
|
6823
|
+
};
|
|
6824
|
+
|
|
6825
|
+
|
|
6826
|
+
/**
|
|
6827
|
+
* Clears the field making it undefined.
|
|
6828
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
6829
|
+
*/
|
|
6830
|
+
proto.loyalty.WagerPoint.prototype.clearIsBonusBalanceAllowed = function() {
|
|
6831
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6832
|
+
};
|
|
6833
|
+
|
|
6834
|
+
|
|
6835
|
+
/**
|
|
6836
|
+
* Returns whether this field is set.
|
|
6837
|
+
* @return {boolean}
|
|
6838
|
+
*/
|
|
6839
|
+
proto.loyalty.WagerPoint.prototype.hasIsBonusBalanceAllowed = function() {
|
|
6840
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6841
|
+
};
|
|
6842
|
+
|
|
6843
|
+
|
|
6748
6844
|
|
|
6749
6845
|
|
|
6750
6846
|
|