protobuf-platform 1.2.527 → 1.2.529

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.527",
3
+ "version": "1.2.529",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -604,6 +604,7 @@ message UserDataResponse {
604
604
  optional string updated_at = 56;
605
605
  optional string email_subscribed_at = 57;
606
606
  optional string email_unsubscribed_at = 58;
607
+ optional bool is_self_exclusion_active = 59;
607
608
  }
608
609
  message UserDepositProfileResponse {
609
610
  int32 id = 1;
package/user/user_pb.js CHANGED
@@ -21586,7 +21586,8 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
21586
21586
  referral: jspb.Message.getFieldWithDefault(msg, 55, ""),
21587
21587
  updatedAt: jspb.Message.getFieldWithDefault(msg, 56, ""),
21588
21588
  emailSubscribedAt: jspb.Message.getFieldWithDefault(msg, 57, ""),
21589
- emailUnsubscribedAt: jspb.Message.getFieldWithDefault(msg, 58, "")
21589
+ emailUnsubscribedAt: jspb.Message.getFieldWithDefault(msg, 58, ""),
21590
+ isSelfExclusionActive: jspb.Message.getBooleanFieldWithDefault(msg, 59, false)
21590
21591
  };
21591
21592
 
21592
21593
  if (includeInstance) {
@@ -21856,6 +21857,10 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
21856
21857
  var value = /** @type {string} */ (reader.readString());
21857
21858
  msg.setEmailUnsubscribedAt(value);
21858
21859
  break;
21860
+ case 59:
21861
+ var value = /** @type {boolean} */ (reader.readBool());
21862
+ msg.setIsSelfExclusionActive(value);
21863
+ break;
21859
21864
  default:
21860
21865
  reader.skipField();
21861
21866
  break;
@@ -22292,6 +22297,13 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
22292
22297
  f
22293
22298
  );
22294
22299
  }
22300
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 59));
22301
+ if (f != null) {
22302
+ writer.writeBool(
22303
+ 59,
22304
+ f
22305
+ );
22306
+ }
22295
22307
  };
22296
22308
 
22297
22309
 
@@ -24348,6 +24360,42 @@ proto.user.UserDataResponse.prototype.hasEmailUnsubscribedAt = function() {
24348
24360
  };
24349
24361
 
24350
24362
 
24363
+ /**
24364
+ * optional bool is_self_exclusion_active = 59;
24365
+ * @return {boolean}
24366
+ */
24367
+ proto.user.UserDataResponse.prototype.getIsSelfExclusionActive = function() {
24368
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 59, false));
24369
+ };
24370
+
24371
+
24372
+ /**
24373
+ * @param {boolean} value
24374
+ * @return {!proto.user.UserDataResponse} returns this
24375
+ */
24376
+ proto.user.UserDataResponse.prototype.setIsSelfExclusionActive = function(value) {
24377
+ return jspb.Message.setField(this, 59, value);
24378
+ };
24379
+
24380
+
24381
+ /**
24382
+ * Clears the field making it undefined.
24383
+ * @return {!proto.user.UserDataResponse} returns this
24384
+ */
24385
+ proto.user.UserDataResponse.prototype.clearIsSelfExclusionActive = function() {
24386
+ return jspb.Message.setField(this, 59, undefined);
24387
+ };
24388
+
24389
+
24390
+ /**
24391
+ * Returns whether this field is set.
24392
+ * @return {boolean}
24393
+ */
24394
+ proto.user.UserDataResponse.prototype.hasIsSelfExclusionActive = function() {
24395
+ return jspb.Message.getField(this, 59) != null;
24396
+ };
24397
+
24398
+
24351
24399
 
24352
24400
 
24353
24401