protobuf-platform 1.1.35 → 1.1.36

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
@@ -103,6 +103,7 @@ message BonusItemRequest {
103
103
  optional int32 claim_period_in_hours = 17;
104
104
  optional int32 activation_period_in_hours = 18;
105
105
  optional int32 wagering_period_in_hours = 19;
106
+ optional string status_data = 20;
106
107
  }
107
108
  message GetBonusRequest {
108
109
  int32 id = 1;
package/bonus/bonus_pb.js CHANGED
@@ -3459,7 +3459,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
3459
3459
  showPreviousAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
3460
3460
  claimPeriodInHours: jspb.Message.getFieldWithDefault(msg, 17, 0),
3461
3461
  activationPeriodInHours: jspb.Message.getFieldWithDefault(msg, 18, 0),
3462
- wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0)
3462
+ wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0),
3463
+ statusData: jspb.Message.getFieldWithDefault(msg, 20, "")
3463
3464
  };
3464
3465
 
3465
3466
  if (includeInstance) {
@@ -3572,6 +3573,10 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
3572
3573
  var value = /** @type {number} */ (reader.readInt32());
3573
3574
  msg.setWageringPeriodInHours(value);
3574
3575
  break;
3576
+ case 20:
3577
+ var value = /** @type {string} */ (reader.readString());
3578
+ msg.setStatusData(value);
3579
+ break;
3575
3580
  default:
3576
3581
  reader.skipField();
3577
3582
  break;
@@ -3734,6 +3739,13 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
3734
3739
  f
3735
3740
  );
3736
3741
  }
3742
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
3743
+ if (f != null) {
3744
+ writer.writeString(
3745
+ 20,
3746
+ f
3747
+ );
3748
+ }
3737
3749
  };
3738
3750
 
3739
3751
 
@@ -4421,6 +4433,42 @@ proto.bonus.BonusItemRequest.prototype.hasWageringPeriodInHours = function() {
4421
4433
  };
4422
4434
 
4423
4435
 
4436
+ /**
4437
+ * optional string status_data = 20;
4438
+ * @return {string}
4439
+ */
4440
+ proto.bonus.BonusItemRequest.prototype.getStatusData = function() {
4441
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
4442
+ };
4443
+
4444
+
4445
+ /**
4446
+ * @param {string} value
4447
+ * @return {!proto.bonus.BonusItemRequest} returns this
4448
+ */
4449
+ proto.bonus.BonusItemRequest.prototype.setStatusData = function(value) {
4450
+ return jspb.Message.setField(this, 20, value);
4451
+ };
4452
+
4453
+
4454
+ /**
4455
+ * Clears the field making it undefined.
4456
+ * @return {!proto.bonus.BonusItemRequest} returns this
4457
+ */
4458
+ proto.bonus.BonusItemRequest.prototype.clearStatusData = function() {
4459
+ return jspb.Message.setField(this, 20, undefined);
4460
+ };
4461
+
4462
+
4463
+ /**
4464
+ * Returns whether this field is set.
4465
+ * @return {boolean}
4466
+ */
4467
+ proto.bonus.BonusItemRequest.prototype.hasStatusData = function() {
4468
+ return jspb.Message.getField(this, 20) != null;
4469
+ };
4470
+
4471
+
4424
4472
 
4425
4473
 
4426
4474
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.35",
3
+ "version": "1.1.36",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {