protobuf-platform 1.1.37 → 1.1.39

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
@@ -133,6 +133,8 @@ 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;
137
+ optional int32 status_id = 23;
136
138
  }
137
139
  message BonusItemsResponse {
138
140
  repeated BonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -4812,7 +4812,9 @@ 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, ""),
4817
+ statusId: jspb.Message.getFieldWithDefault(msg, 23, 0)
4816
4818
  };
4817
4819
 
4818
4820
  if (includeInstance) {
@@ -4936,6 +4938,14 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
4936
4938
  reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
4937
4939
  msg.addBetsRange(value);
4938
4940
  break;
4941
+ case 22:
4942
+ var value = /** @type {string} */ (reader.readString());
4943
+ msg.setTypeData(value);
4944
+ break;
4945
+ case 23:
4946
+ var value = /** @type {number} */ (reader.readInt32());
4947
+ msg.setStatusId(value);
4948
+ break;
4939
4949
  default:
4940
4950
  reader.skipField();
4941
4951
  break;
@@ -5115,6 +5125,20 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
5115
5125
  proto.bonus.BetsRange.serializeBinaryToWriter
5116
5126
  );
5117
5127
  }
5128
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
5129
+ if (f != null) {
5130
+ writer.writeString(
5131
+ 22,
5132
+ f
5133
+ );
5134
+ }
5135
+ f = /** @type {number} */ (jspb.Message.getField(message, 23));
5136
+ if (f != null) {
5137
+ writer.writeInt32(
5138
+ 23,
5139
+ f
5140
+ );
5141
+ }
5118
5142
  };
5119
5143
 
5120
5144
 
@@ -5880,6 +5904,78 @@ proto.bonus.BonusItem.prototype.clearBetsRangeList = function() {
5880
5904
  };
5881
5905
 
5882
5906
 
5907
+ /**
5908
+ * optional string type_data = 22;
5909
+ * @return {string}
5910
+ */
5911
+ proto.bonus.BonusItem.prototype.getTypeData = function() {
5912
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
5913
+ };
5914
+
5915
+
5916
+ /**
5917
+ * @param {string} value
5918
+ * @return {!proto.bonus.BonusItem} returns this
5919
+ */
5920
+ proto.bonus.BonusItem.prototype.setTypeData = function(value) {
5921
+ return jspb.Message.setField(this, 22, value);
5922
+ };
5923
+
5924
+
5925
+ /**
5926
+ * Clears the field making it undefined.
5927
+ * @return {!proto.bonus.BonusItem} returns this
5928
+ */
5929
+ proto.bonus.BonusItem.prototype.clearTypeData = function() {
5930
+ return jspb.Message.setField(this, 22, undefined);
5931
+ };
5932
+
5933
+
5934
+ /**
5935
+ * Returns whether this field is set.
5936
+ * @return {boolean}
5937
+ */
5938
+ proto.bonus.BonusItem.prototype.hasTypeData = function() {
5939
+ return jspb.Message.getField(this, 22) != null;
5940
+ };
5941
+
5942
+
5943
+ /**
5944
+ * optional int32 status_id = 23;
5945
+ * @return {number}
5946
+ */
5947
+ proto.bonus.BonusItem.prototype.getStatusId = function() {
5948
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
5949
+ };
5950
+
5951
+
5952
+ /**
5953
+ * @param {number} value
5954
+ * @return {!proto.bonus.BonusItem} returns this
5955
+ */
5956
+ proto.bonus.BonusItem.prototype.setStatusId = function(value) {
5957
+ return jspb.Message.setField(this, 23, value);
5958
+ };
5959
+
5960
+
5961
+ /**
5962
+ * Clears the field making it undefined.
5963
+ * @return {!proto.bonus.BonusItem} returns this
5964
+ */
5965
+ proto.bonus.BonusItem.prototype.clearStatusId = function() {
5966
+ return jspb.Message.setField(this, 23, undefined);
5967
+ };
5968
+
5969
+
5970
+ /**
5971
+ * Returns whether this field is set.
5972
+ * @return {boolean}
5973
+ */
5974
+ proto.bonus.BonusItem.prototype.hasStatusId = function() {
5975
+ return jspb.Message.getField(this, 23) != null;
5976
+ };
5977
+
5978
+
5883
5979
 
5884
5980
  /**
5885
5981
  * 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.1.37",
3
+ "version": "1.1.39",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {