protobuf-platform 1.2.711 → 1.2.713

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
@@ -402,6 +402,8 @@ message BonusTranslationRequest {
402
402
  optional bool remove_desktop_image = 10;
403
403
  optional bool remove_mobile_image = 11;
404
404
  optional bool remove_portrait_image = 12;
405
+ // Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
406
+ optional bool clear_content = 13;
405
407
  }
406
408
  message BonusTranslationUpsertRequest {
407
409
  oneof request {
package/bonus/bonus_pb.js CHANGED
@@ -15752,7 +15752,8 @@ proto.bonus.BonusTranslationRequest.toObject = function(includeInstance, msg) {
15752
15752
  portraitFileType: jspb.Message.getFieldWithDefault(msg, 9, ""),
15753
15753
  removeDesktopImage: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
15754
15754
  removeMobileImage: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
15755
- removePortraitImage: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
15755
+ removePortraitImage: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
15756
+ clearContent: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
15756
15757
  };
15757
15758
 
15758
15759
  if (includeInstance) {
@@ -15837,6 +15838,10 @@ proto.bonus.BonusTranslationRequest.deserializeBinaryFromReader = function(msg,
15837
15838
  var value = /** @type {boolean} */ (reader.readBool());
15838
15839
  msg.setRemovePortraitImage(value);
15839
15840
  break;
15841
+ case 13:
15842
+ var value = /** @type {boolean} */ (reader.readBool());
15843
+ msg.setClearContent(value);
15844
+ break;
15840
15845
  default:
15841
15846
  reader.skipField();
15842
15847
  break;
@@ -15950,6 +15955,13 @@ proto.bonus.BonusTranslationRequest.serializeBinaryToWriter = function(message,
15950
15955
  f
15951
15956
  );
15952
15957
  }
15958
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 13));
15959
+ if (f != null) {
15960
+ writer.writeBool(
15961
+ 13,
15962
+ f
15963
+ );
15964
+ }
15953
15965
  };
15954
15966
 
15955
15967
 
@@ -16385,6 +16397,42 @@ proto.bonus.BonusTranslationRequest.prototype.hasRemovePortraitImage = function(
16385
16397
  };
16386
16398
 
16387
16399
 
16400
+ /**
16401
+ * optional bool clear_content = 13;
16402
+ * @return {boolean}
16403
+ */
16404
+ proto.bonus.BonusTranslationRequest.prototype.getClearContent = function() {
16405
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
16406
+ };
16407
+
16408
+
16409
+ /**
16410
+ * @param {boolean} value
16411
+ * @return {!proto.bonus.BonusTranslationRequest} returns this
16412
+ */
16413
+ proto.bonus.BonusTranslationRequest.prototype.setClearContent = function(value) {
16414
+ return jspb.Message.setField(this, 13, value);
16415
+ };
16416
+
16417
+
16418
+ /**
16419
+ * Clears the field making it undefined.
16420
+ * @return {!proto.bonus.BonusTranslationRequest} returns this
16421
+ */
16422
+ proto.bonus.BonusTranslationRequest.prototype.clearClearContent = function() {
16423
+ return jspb.Message.setField(this, 13, undefined);
16424
+ };
16425
+
16426
+
16427
+ /**
16428
+ * Returns whether this field is set.
16429
+ * @return {boolean}
16430
+ */
16431
+ proto.bonus.BonusTranslationRequest.prototype.hasClearContent = function() {
16432
+ return jspb.Message.getField(this, 13) != null;
16433
+ };
16434
+
16435
+
16388
16436
 
16389
16437
  /**
16390
16438
  * Oneof group definitions for this message. Each group defines the field
@@ -95,6 +95,8 @@ message CashbackItemRequest {
95
95
  optional string event_source = 14;
96
96
  // Exact Deposit Wager multiplier. Absent means unconfigured. "0" is explicit.
97
97
  optional string wager_multiplier = 15;
98
+ // Explicit WYSIWYG clear. Independent of field 11 so omission and "" stay distinct.
99
+ optional bool clear_content = 16;
98
100
  }
99
101
  message GetCashbackRequest {
100
102
  int32 id = 1;
@@ -3660,7 +3660,8 @@ proto.cashback.CashbackItemRequest.toObject = function(includeInstance, msg) {
3660
3660
  claimExpirationHours: jspb.Message.getFieldWithDefault(msg, 12, 0),
3661
3661
  loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 13, 0),
3662
3662
  eventSource: jspb.Message.getFieldWithDefault(msg, 14, ""),
3663
- wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 15, "")
3663
+ wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 15, ""),
3664
+ clearContent: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
3664
3665
  };
3665
3666
 
3666
3667
  if (includeInstance) {
@@ -3753,6 +3754,10 @@ proto.cashback.CashbackItemRequest.deserializeBinaryFromReader = function(msg, r
3753
3754
  var value = /** @type {string} */ (reader.readString());
3754
3755
  msg.setWagerMultiplier(value);
3755
3756
  break;
3757
+ case 16:
3758
+ var value = /** @type {boolean} */ (reader.readBool());
3759
+ msg.setClearContent(value);
3760
+ break;
3756
3761
  default:
3757
3762
  reader.skipField();
3758
3763
  break;
@@ -3880,6 +3885,13 @@ proto.cashback.CashbackItemRequest.serializeBinaryToWriter = function(message, w
3880
3885
  f
3881
3886
  );
3882
3887
  }
3888
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 16));
3889
+ if (f != null) {
3890
+ writer.writeBool(
3891
+ 16,
3892
+ f
3893
+ );
3894
+ }
3883
3895
  };
3884
3896
 
3885
3897
 
@@ -4387,6 +4399,42 @@ proto.cashback.CashbackItemRequest.prototype.hasWagerMultiplier = function() {
4387
4399
  };
4388
4400
 
4389
4401
 
4402
+ /**
4403
+ * optional bool clear_content = 16;
4404
+ * @return {boolean}
4405
+ */
4406
+ proto.cashback.CashbackItemRequest.prototype.getClearContent = function() {
4407
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
4408
+ };
4409
+
4410
+
4411
+ /**
4412
+ * @param {boolean} value
4413
+ * @return {!proto.cashback.CashbackItemRequest} returns this
4414
+ */
4415
+ proto.cashback.CashbackItemRequest.prototype.setClearContent = function(value) {
4416
+ return jspb.Message.setField(this, 16, value);
4417
+ };
4418
+
4419
+
4420
+ /**
4421
+ * Clears the field making it undefined.
4422
+ * @return {!proto.cashback.CashbackItemRequest} returns this
4423
+ */
4424
+ proto.cashback.CashbackItemRequest.prototype.clearClearContent = function() {
4425
+ return jspb.Message.setField(this, 16, undefined);
4426
+ };
4427
+
4428
+
4429
+ /**
4430
+ * Returns whether this field is set.
4431
+ * @return {boolean}
4432
+ */
4433
+ proto.cashback.CashbackItemRequest.prototype.hasClearContent = function() {
4434
+ return jspb.Message.getField(this, 16) != null;
4435
+ };
4436
+
4437
+
4390
4438
 
4391
4439
 
4392
4440
 
package/cms/cms.proto CHANGED
@@ -349,6 +349,8 @@ message BannerTexts {
349
349
  optional string content = 3;
350
350
  optional string cta = 4;
351
351
  optional string note = 5;
352
+ // Explicit WYSIWYG clear. Independent of field 3 so omission and "" stay distinct.
353
+ optional bool clear_content = 6;
352
354
  }
353
355
  message BannerCta {
354
356
  optional string action_type = 1; // expected values: tournament|bonus|deposit|promo|game|collection|tag
@@ -444,6 +446,8 @@ message PageRequest {
444
446
  optional string content = 4;
445
447
  optional int32 is_active = 5;
446
448
  optional string effective_from = 6;
449
+ // Explicit WYSIWYG clear. Independent of field 4 so omission and "" stay distinct.
450
+ optional bool clear_content = 7;
447
451
  }
448
452
  message PageItem {
449
453
  int32 id = 1;
@@ -482,6 +486,8 @@ message PageTranslationRequest {
482
486
  optional string content = 5;
483
487
  optional int32 is_active = 6;
484
488
  optional string domain = 7;
489
+ // Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
490
+ optional bool clear_content = 8;
485
491
  }
486
492
  message GetPageTranslationRequest {
487
493
  int32 page_id = 1;
@@ -534,6 +540,9 @@ message SetPageSeoAttributesRequest {
534
540
  optional string description = 11;
535
541
  optional string full_description = 12;
536
542
  optional string additional_description = 13;
543
+ // Explicit WYSIWYG clears. Independent of fields 12 and 13 so omission and "" stay distinct.
544
+ optional bool clear_full_description = 14;
545
+ optional bool clear_additional_description = 15;
537
546
  }
538
547
  message GetPageSeoAttributesRequest {
539
548
  string geo = 1;
@@ -677,6 +686,8 @@ message PromoTranslationRequest {
677
686
  optional string content = 5;
678
687
  optional int32 is_active = 6;
679
688
  optional string promo_label = 7;
689
+ // Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
690
+ optional bool clear_content = 8;
680
691
  }
681
692
  message GetPromoTranslationRequest {
682
693
  int32 promo_id = 1;
@@ -1096,12 +1107,15 @@ message FooterMainTextItemRequest {
1096
1107
  optional string title = 3; // BO title
1097
1108
  optional int32 is_active = 4; // 1|0
1098
1109
  optional string content = 5; // WYSIWYG HTML/markdown (large text)
1110
+ // Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
1111
+ optional bool clear_content = 6;
1099
1112
  }
1100
1113
 
1101
1114
  // Locale-content pair stored inside the same document
1102
1115
  message LocaleContentItem {
1103
1116
  string locale = 1; // e.g. "en-US"
1104
- string content = 2; // localized WYSIWYG
1117
+ // Presence distinguishes a saved empty string from cleared content.
1118
+ optional string content = 2; // localized WYSIWYG
1105
1119
  }
1106
1120
 
1107
1121
  // Single entity returned to client
@@ -1143,6 +1157,8 @@ message FooterMainTextTranslationRequest {
1143
1157
  int32 main_text_id = 1;
1144
1158
  string locale = 2; // e.g. "en-US"
1145
1159
  optional string content = 3; // localized WYSIWYG
1160
+ // Explicit WYSIWYG clear. Independent of field 3 so omission and "" stay distinct.
1161
+ optional bool clear_content = 4;
1146
1162
  }
1147
1163
 
1148
1164
  message GetFooterMainTextTranslationRequest {