protobuf-platform 1.2.148 → 1.2.149

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
@@ -151,6 +151,7 @@ message WagerSearchRequest {
151
151
  optional string geo = 4;
152
152
  optional bool is_mobile = 5;
153
153
  optional bool admin_side = 6;
154
+ optional int32 is_active = 7;
154
155
  }
155
156
  message CashBackSearchRequest {
156
157
  optional int32 cashback_id = 1;
package/game/game_pb.js CHANGED
@@ -4257,7 +4257,8 @@ proto.game.WagerSearchRequest.toObject = function(includeInstance, msg) {
4257
4257
  wagerIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
4258
4258
  geo: jspb.Message.getFieldWithDefault(msg, 4, ""),
4259
4259
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
4260
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
4260
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
4261
+ isActive: jspb.Message.getFieldWithDefault(msg, 7, 0)
4261
4262
  };
4262
4263
 
4263
4264
  if (includeInstance) {
@@ -4320,6 +4321,10 @@ proto.game.WagerSearchRequest.deserializeBinaryFromReader = function(msg, reader
4320
4321
  var value = /** @type {boolean} */ (reader.readBool());
4321
4322
  msg.setAdminSide(value);
4322
4323
  break;
4324
+ case 7:
4325
+ var value = /** @type {number} */ (reader.readInt32());
4326
+ msg.setIsActive(value);
4327
+ break;
4323
4328
  default:
4324
4329
  reader.skipField();
4325
4330
  break;
@@ -4391,6 +4396,13 @@ proto.game.WagerSearchRequest.serializeBinaryToWriter = function(message, writer
4391
4396
  f
4392
4397
  );
4393
4398
  }
4399
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
4400
+ if (f != null) {
4401
+ writer.writeInt32(
4402
+ 7,
4403
+ f
4404
+ );
4405
+ }
4394
4406
  };
4395
4407
 
4396
4408
 
@@ -4611,6 +4623,42 @@ proto.game.WagerSearchRequest.prototype.hasAdminSide = function() {
4611
4623
  };
4612
4624
 
4613
4625
 
4626
+ /**
4627
+ * optional int32 is_active = 7;
4628
+ * @return {number}
4629
+ */
4630
+ proto.game.WagerSearchRequest.prototype.getIsActive = function() {
4631
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4632
+ };
4633
+
4634
+
4635
+ /**
4636
+ * @param {number} value
4637
+ * @return {!proto.game.WagerSearchRequest} returns this
4638
+ */
4639
+ proto.game.WagerSearchRequest.prototype.setIsActive = function(value) {
4640
+ return jspb.Message.setField(this, 7, value);
4641
+ };
4642
+
4643
+
4644
+ /**
4645
+ * Clears the field making it undefined.
4646
+ * @return {!proto.game.WagerSearchRequest} returns this
4647
+ */
4648
+ proto.game.WagerSearchRequest.prototype.clearIsActive = function() {
4649
+ return jspb.Message.setField(this, 7, undefined);
4650
+ };
4651
+
4652
+
4653
+ /**
4654
+ * Returns whether this field is set.
4655
+ * @return {boolean}
4656
+ */
4657
+ proto.game.WagerSearchRequest.prototype.hasIsActive = function() {
4658
+ return jspb.Message.getField(this, 7) != null;
4659
+ };
4660
+
4661
+
4614
4662
 
4615
4663
  /**
4616
4664
  * 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.2.148",
3
+ "version": "1.2.149",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {