protobuf-platform 1.2.510 → 1.2.511

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.
@@ -212,5 +212,7 @@ message GetUserCashbackInformationResponse {
212
212
  optional string description = 8;
213
213
  optional string image = 9;
214
214
  optional string image_cdn = 10;
215
+ optional bool is_claimable = 11;
216
+ optional int32 claimable_cashback_user_id = 12;
215
217
  }
216
218
 
@@ -8962,7 +8962,9 @@ proto.cashback.GetUserCashbackInformationResponse.toObject = function(includeIns
8962
8962
  proto.cashback.UserCashbackInformationDefinitionItem.toObject, includeInstance),
8963
8963
  description: jspb.Message.getFieldWithDefault(msg, 8, ""),
8964
8964
  image: jspb.Message.getFieldWithDefault(msg, 9, ""),
8965
- imageCdn: jspb.Message.getFieldWithDefault(msg, 10, "")
8965
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
8966
+ isClaimable: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
8967
+ claimableCashbackUserId: jspb.Message.getFieldWithDefault(msg, 12, 0)
8966
8968
  };
8967
8969
 
8968
8970
  if (includeInstance) {
@@ -9040,6 +9042,14 @@ proto.cashback.GetUserCashbackInformationResponse.deserializeBinaryFromReader =
9040
9042
  var value = /** @type {string} */ (reader.readString());
9041
9043
  msg.setImageCdn(value);
9042
9044
  break;
9045
+ case 11:
9046
+ var value = /** @type {boolean} */ (reader.readBool());
9047
+ msg.setIsClaimable(value);
9048
+ break;
9049
+ case 12:
9050
+ var value = /** @type {number} */ (reader.readInt32());
9051
+ msg.setClaimableCashbackUserId(value);
9052
+ break;
9043
9053
  default:
9044
9054
  reader.skipField();
9045
9055
  break;
@@ -9140,6 +9150,20 @@ proto.cashback.GetUserCashbackInformationResponse.serializeBinaryToWriter = func
9140
9150
  f
9141
9151
  );
9142
9152
  }
9153
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
9154
+ if (f != null) {
9155
+ writer.writeBool(
9156
+ 11,
9157
+ f
9158
+ );
9159
+ }
9160
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
9161
+ if (f != null) {
9162
+ writer.writeInt32(
9163
+ 12,
9164
+ f
9165
+ );
9166
+ }
9143
9167
  };
9144
9168
 
9145
9169
 
@@ -9451,4 +9475,76 @@ proto.cashback.GetUserCashbackInformationResponse.prototype.hasImageCdn = functi
9451
9475
  };
9452
9476
 
9453
9477
 
9478
+ /**
9479
+ * optional bool is_claimable = 11;
9480
+ * @return {boolean}
9481
+ */
9482
+ proto.cashback.GetUserCashbackInformationResponse.prototype.getIsClaimable = function() {
9483
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
9484
+ };
9485
+
9486
+
9487
+ /**
9488
+ * @param {boolean} value
9489
+ * @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
9490
+ */
9491
+ proto.cashback.GetUserCashbackInformationResponse.prototype.setIsClaimable = function(value) {
9492
+ return jspb.Message.setField(this, 11, value);
9493
+ };
9494
+
9495
+
9496
+ /**
9497
+ * Clears the field making it undefined.
9498
+ * @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
9499
+ */
9500
+ proto.cashback.GetUserCashbackInformationResponse.prototype.clearIsClaimable = function() {
9501
+ return jspb.Message.setField(this, 11, undefined);
9502
+ };
9503
+
9504
+
9505
+ /**
9506
+ * Returns whether this field is set.
9507
+ * @return {boolean}
9508
+ */
9509
+ proto.cashback.GetUserCashbackInformationResponse.prototype.hasIsClaimable = function() {
9510
+ return jspb.Message.getField(this, 11) != null;
9511
+ };
9512
+
9513
+
9514
+ /**
9515
+ * optional int32 claimable_cashback_user_id = 12;
9516
+ * @return {number}
9517
+ */
9518
+ proto.cashback.GetUserCashbackInformationResponse.prototype.getClaimableCashbackUserId = function() {
9519
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
9520
+ };
9521
+
9522
+
9523
+ /**
9524
+ * @param {number} value
9525
+ * @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
9526
+ */
9527
+ proto.cashback.GetUserCashbackInformationResponse.prototype.setClaimableCashbackUserId = function(value) {
9528
+ return jspb.Message.setField(this, 12, value);
9529
+ };
9530
+
9531
+
9532
+ /**
9533
+ * Clears the field making it undefined.
9534
+ * @return {!proto.cashback.GetUserCashbackInformationResponse} returns this
9535
+ */
9536
+ proto.cashback.GetUserCashbackInformationResponse.prototype.clearClaimableCashbackUserId = function() {
9537
+ return jspb.Message.setField(this, 12, undefined);
9538
+ };
9539
+
9540
+
9541
+ /**
9542
+ * Returns whether this field is set.
9543
+ * @return {boolean}
9544
+ */
9545
+ proto.cashback.GetUserCashbackInformationResponse.prototype.hasClaimableCashbackUserId = function() {
9546
+ return jspb.Message.getField(this, 12) != null;
9547
+ };
9548
+
9549
+
9454
9550
  goog.object.extend(exports, proto.cashback);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.510",
3
+ "version": "1.2.511",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {