protobuf-platform 1.2.714 → 1.2.715

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.714",
3
+ "version": "1.2.715",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -182,6 +182,8 @@ message ProviderTranslationRequest {
182
182
  optional string title = 3;
183
183
  optional string description = 4;
184
184
  optional int32 is_active = 5;
185
+ // Explicit WYSIWYG clear. Independent of field 4 so omission and "" stay distinct.
186
+ optional bool clear_description = 6;
185
187
  }
186
188
  message GetProviderTranslationRequest {
187
189
  int32 payment_provider_id = 1;
@@ -7152,7 +7152,8 @@ proto.payment.ProviderTranslationRequest.toObject = function(includeInstance, ms
7152
7152
  locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
7153
7153
  title: jspb.Message.getFieldWithDefault(msg, 3, ""),
7154
7154
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
7155
- isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
7155
+ isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
7156
+ clearDescription: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
7156
7157
  };
7157
7158
 
7158
7159
  if (includeInstance) {
@@ -7209,6 +7210,10 @@ proto.payment.ProviderTranslationRequest.deserializeBinaryFromReader = function(
7209
7210
  var value = /** @type {number} */ (reader.readInt32());
7210
7211
  msg.setIsActive(value);
7211
7212
  break;
7213
+ case 6:
7214
+ var value = /** @type {boolean} */ (reader.readBool());
7215
+ msg.setClearDescription(value);
7216
+ break;
7212
7217
  default:
7213
7218
  reader.skipField();
7214
7219
  break;
@@ -7273,6 +7278,13 @@ proto.payment.ProviderTranslationRequest.serializeBinaryToWriter = function(mess
7273
7278
  f
7274
7279
  );
7275
7280
  }
7281
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
7282
+ if (f != null) {
7283
+ writer.writeBool(
7284
+ 6,
7285
+ f
7286
+ );
7287
+ }
7276
7288
  };
7277
7289
 
7278
7290
 
@@ -7456,6 +7468,42 @@ proto.payment.ProviderTranslationRequest.prototype.hasIsActive = function() {
7456
7468
  };
7457
7469
 
7458
7470
 
7471
+ /**
7472
+ * optional bool clear_description = 6;
7473
+ * @return {boolean}
7474
+ */
7475
+ proto.payment.ProviderTranslationRequest.prototype.getClearDescription = function() {
7476
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
7477
+ };
7478
+
7479
+
7480
+ /**
7481
+ * @param {boolean} value
7482
+ * @return {!proto.payment.ProviderTranslationRequest} returns this
7483
+ */
7484
+ proto.payment.ProviderTranslationRequest.prototype.setClearDescription = function(value) {
7485
+ return jspb.Message.setField(this, 6, value);
7486
+ };
7487
+
7488
+
7489
+ /**
7490
+ * Clears the field making it undefined.
7491
+ * @return {!proto.payment.ProviderTranslationRequest} returns this
7492
+ */
7493
+ proto.payment.ProviderTranslationRequest.prototype.clearClearDescription = function() {
7494
+ return jspb.Message.setField(this, 6, undefined);
7495
+ };
7496
+
7497
+
7498
+ /**
7499
+ * Returns whether this field is set.
7500
+ * @return {boolean}
7501
+ */
7502
+ proto.payment.ProviderTranslationRequest.prototype.hasClearDescription = function() {
7503
+ return jspb.Message.getField(this, 6) != null;
7504
+ };
7505
+
7506
+
7459
7507
 
7460
7508
 
7461
7509