protobuf-platform 1.2.229 → 1.2.230

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/cms/cms.proto CHANGED
@@ -410,6 +410,7 @@ message PromoTranslationRequest {
410
410
  string locale = 3;
411
411
  optional string title = 4;
412
412
  optional string content = 5;
413
+ optional int32 is_active = 6;
413
414
  }
414
415
  message GetPromoTranslationRequest {
415
416
  int32 promo_id = 1;
package/cms/cms_pb.js CHANGED
@@ -16852,7 +16852,8 @@ proto.cms.PromoTranslationRequest.toObject = function(includeInstance, msg) {
16852
16852
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
16853
16853
  locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
16854
16854
  title: jspb.Message.getFieldWithDefault(msg, 4, ""),
16855
- content: jspb.Message.getFieldWithDefault(msg, 5, "")
16855
+ content: jspb.Message.getFieldWithDefault(msg, 5, ""),
16856
+ isActive: jspb.Message.getFieldWithDefault(msg, 6, 0)
16856
16857
  };
16857
16858
 
16858
16859
  if (includeInstance) {
@@ -16909,6 +16910,10 @@ proto.cms.PromoTranslationRequest.deserializeBinaryFromReader = function(msg, re
16909
16910
  var value = /** @type {string} */ (reader.readString());
16910
16911
  msg.setContent(value);
16911
16912
  break;
16913
+ case 6:
16914
+ var value = /** @type {number} */ (reader.readInt32());
16915
+ msg.setIsActive(value);
16916
+ break;
16912
16917
  default:
16913
16918
  reader.skipField();
16914
16919
  break;
@@ -16973,6 +16978,13 @@ proto.cms.PromoTranslationRequest.serializeBinaryToWriter = function(message, wr
16973
16978
  f
16974
16979
  );
16975
16980
  }
16981
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
16982
+ if (f != null) {
16983
+ writer.writeInt32(
16984
+ 6,
16985
+ f
16986
+ );
16987
+ }
16976
16988
  };
16977
16989
 
16978
16990
 
@@ -17102,6 +17114,42 @@ proto.cms.PromoTranslationRequest.prototype.hasContent = function() {
17102
17114
  };
17103
17115
 
17104
17116
 
17117
+ /**
17118
+ * optional int32 is_active = 6;
17119
+ * @return {number}
17120
+ */
17121
+ proto.cms.PromoTranslationRequest.prototype.getIsActive = function() {
17122
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
17123
+ };
17124
+
17125
+
17126
+ /**
17127
+ * @param {number} value
17128
+ * @return {!proto.cms.PromoTranslationRequest} returns this
17129
+ */
17130
+ proto.cms.PromoTranslationRequest.prototype.setIsActive = function(value) {
17131
+ return jspb.Message.setField(this, 6, value);
17132
+ };
17133
+
17134
+
17135
+ /**
17136
+ * Clears the field making it undefined.
17137
+ * @return {!proto.cms.PromoTranslationRequest} returns this
17138
+ */
17139
+ proto.cms.PromoTranslationRequest.prototype.clearIsActive = function() {
17140
+ return jspb.Message.setField(this, 6, undefined);
17141
+ };
17142
+
17143
+
17144
+ /**
17145
+ * Returns whether this field is set.
17146
+ * @return {boolean}
17147
+ */
17148
+ proto.cms.PromoTranslationRequest.prototype.hasIsActive = function() {
17149
+ return jspb.Message.getField(this, 6) != null;
17150
+ };
17151
+
17152
+
17105
17153
 
17106
17154
 
17107
17155
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.229",
3
+ "version": "1.2.230",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {