protobuf-platform 1.1.37 → 1.1.38
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 +49 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -133,6 +133,7 @@ message BonusItem {
|
|
133
133
|
repeated ActivationRule activation_rules = 19;
|
134
134
|
repeated BonusReward rewards = 20;
|
135
135
|
repeated BetsRange bets_range = 21;
|
136
|
+
optional string type_data = 22;
|
136
137
|
}
|
137
138
|
message BonusItemsResponse {
|
138
139
|
repeated BonusItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -4812,7 +4812,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
4812
4812
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
4813
4813
|
proto.bonus.BonusReward.toObject, includeInstance),
|
4814
4814
|
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
4815
|
-
proto.bonus.BetsRange.toObject, includeInstance)
|
4815
|
+
proto.bonus.BetsRange.toObject, includeInstance),
|
4816
|
+
typeData: jspb.Message.getFieldWithDefault(msg, 22, "")
|
4816
4817
|
};
|
4817
4818
|
|
4818
4819
|
if (includeInstance) {
|
@@ -4936,6 +4937,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
4936
4937
|
reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
|
4937
4938
|
msg.addBetsRange(value);
|
4938
4939
|
break;
|
4940
|
+
case 22:
|
4941
|
+
var value = /** @type {string} */ (reader.readString());
|
4942
|
+
msg.setTypeData(value);
|
4943
|
+
break;
|
4939
4944
|
default:
|
4940
4945
|
reader.skipField();
|
4941
4946
|
break;
|
@@ -5115,6 +5120,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
5115
5120
|
proto.bonus.BetsRange.serializeBinaryToWriter
|
5116
5121
|
);
|
5117
5122
|
}
|
5123
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
5124
|
+
if (f != null) {
|
5125
|
+
writer.writeString(
|
5126
|
+
22,
|
5127
|
+
f
|
5128
|
+
);
|
5129
|
+
}
|
5118
5130
|
};
|
5119
5131
|
|
5120
5132
|
|
@@ -5880,6 +5892,42 @@ proto.bonus.BonusItem.prototype.clearBetsRangeList = function() {
|
|
5880
5892
|
};
|
5881
5893
|
|
5882
5894
|
|
5895
|
+
/**
|
5896
|
+
* optional string type_data = 22;
|
5897
|
+
* @return {string}
|
5898
|
+
*/
|
5899
|
+
proto.bonus.BonusItem.prototype.getTypeData = function() {
|
5900
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
5901
|
+
};
|
5902
|
+
|
5903
|
+
|
5904
|
+
/**
|
5905
|
+
* @param {string} value
|
5906
|
+
* @return {!proto.bonus.BonusItem} returns this
|
5907
|
+
*/
|
5908
|
+
proto.bonus.BonusItem.prototype.setTypeData = function(value) {
|
5909
|
+
return jspb.Message.setField(this, 22, value);
|
5910
|
+
};
|
5911
|
+
|
5912
|
+
|
5913
|
+
/**
|
5914
|
+
* Clears the field making it undefined.
|
5915
|
+
* @return {!proto.bonus.BonusItem} returns this
|
5916
|
+
*/
|
5917
|
+
proto.bonus.BonusItem.prototype.clearTypeData = function() {
|
5918
|
+
return jspb.Message.setField(this, 22, undefined);
|
5919
|
+
};
|
5920
|
+
|
5921
|
+
|
5922
|
+
/**
|
5923
|
+
* Returns whether this field is set.
|
5924
|
+
* @return {boolean}
|
5925
|
+
*/
|
5926
|
+
proto.bonus.BonusItem.prototype.hasTypeData = function() {
|
5927
|
+
return jspb.Message.getField(this, 22) != null;
|
5928
|
+
};
|
5929
|
+
|
5930
|
+
|
5883
5931
|
|
5884
5932
|
/**
|
5885
5933
|
* List of repeated fields within this message type.
|