protobuf-platform 1.2.56 → 1.2.57

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/game/game.proto CHANGED
@@ -663,6 +663,7 @@ message CashBackListItem {
663
663
  string cashback_type = 2;
664
664
  string title = 3;
665
665
  optional string description = 4;
666
+ optional int32 is_active = 5;
666
667
  }
667
668
  message CashBackListResponse {
668
669
  CashBackListItem data = 1;
package/game/game_pb.js CHANGED
@@ -27478,7 +27478,8 @@ proto.game.CashBackListItem.toObject = function(includeInstance, msg) {
27478
27478
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
27479
27479
  cashbackType: jspb.Message.getFieldWithDefault(msg, 2, ""),
27480
27480
  title: jspb.Message.getFieldWithDefault(msg, 3, ""),
27481
- description: jspb.Message.getFieldWithDefault(msg, 4, "")
27481
+ description: jspb.Message.getFieldWithDefault(msg, 4, ""),
27482
+ isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
27482
27483
  };
27483
27484
 
27484
27485
  if (includeInstance) {
@@ -27531,6 +27532,10 @@ proto.game.CashBackListItem.deserializeBinaryFromReader = function(msg, reader)
27531
27532
  var value = /** @type {string} */ (reader.readString());
27532
27533
  msg.setDescription(value);
27533
27534
  break;
27535
+ case 5:
27536
+ var value = /** @type {number} */ (reader.readInt32());
27537
+ msg.setIsActive(value);
27538
+ break;
27534
27539
  default:
27535
27540
  reader.skipField();
27536
27541
  break;
@@ -27588,6 +27593,13 @@ proto.game.CashBackListItem.serializeBinaryToWriter = function(message, writer)
27588
27593
  f
27589
27594
  );
27590
27595
  }
27596
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
27597
+ if (f != null) {
27598
+ writer.writeInt32(
27599
+ 5,
27600
+ f
27601
+ );
27602
+ }
27591
27603
  };
27592
27604
 
27593
27605
 
@@ -27681,6 +27693,42 @@ proto.game.CashBackListItem.prototype.hasDescription = function() {
27681
27693
  };
27682
27694
 
27683
27695
 
27696
+ /**
27697
+ * optional int32 is_active = 5;
27698
+ * @return {number}
27699
+ */
27700
+ proto.game.CashBackListItem.prototype.getIsActive = function() {
27701
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
27702
+ };
27703
+
27704
+
27705
+ /**
27706
+ * @param {number} value
27707
+ * @return {!proto.game.CashBackListItem} returns this
27708
+ */
27709
+ proto.game.CashBackListItem.prototype.setIsActive = function(value) {
27710
+ return jspb.Message.setField(this, 5, value);
27711
+ };
27712
+
27713
+
27714
+ /**
27715
+ * Clears the field making it undefined.
27716
+ * @return {!proto.game.CashBackListItem} returns this
27717
+ */
27718
+ proto.game.CashBackListItem.prototype.clearIsActive = function() {
27719
+ return jspb.Message.setField(this, 5, undefined);
27720
+ };
27721
+
27722
+
27723
+ /**
27724
+ * Returns whether this field is set.
27725
+ * @return {boolean}
27726
+ */
27727
+ proto.game.CashBackListItem.prototype.hasIsActive = function() {
27728
+ return jspb.Message.getField(this, 5) != null;
27729
+ };
27730
+
27731
+
27684
27732
 
27685
27733
 
27686
27734
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.56",
3
+ "version": "1.2.57",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {