protobuf-platform 1.2.185 → 1.2.186

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.185",
3
+ "version": "1.2.186",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -144,7 +144,8 @@ message MethodItem {
144
144
  optional int32 provider_id = 9;
145
145
  optional string provider_title = 10;
146
146
  optional string provider_image = 11;
147
- optional string code = 12;
147
+ optional string provider_image_cdn = 12;
148
+ optional string code = 13;
148
149
  }
149
150
  message MethodRequest {
150
151
  oneof request {
@@ -5729,7 +5729,8 @@ proto.payment.MethodItem.toObject = function(includeInstance, msg) {
5729
5729
  providerId: jspb.Message.getFieldWithDefault(msg, 9, 0),
5730
5730
  providerTitle: jspb.Message.getFieldWithDefault(msg, 10, ""),
5731
5731
  providerImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
5732
- code: jspb.Message.getFieldWithDefault(msg, 12, "")
5732
+ providerImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
5733
+ code: jspb.Message.getFieldWithDefault(msg, 13, "")
5733
5734
  };
5734
5735
 
5735
5736
  if (includeInstance) {
@@ -5807,6 +5808,10 @@ proto.payment.MethodItem.deserializeBinaryFromReader = function(msg, reader) {
5807
5808
  msg.setProviderImage(value);
5808
5809
  break;
5809
5810
  case 12:
5811
+ var value = /** @type {string} */ (reader.readString());
5812
+ msg.setProviderImageCdn(value);
5813
+ break;
5814
+ case 13:
5810
5815
  var value = /** @type {string} */ (reader.readString());
5811
5816
  msg.setCode(value);
5812
5817
  break;
@@ -5916,6 +5921,13 @@ proto.payment.MethodItem.serializeBinaryToWriter = function(message, writer) {
5916
5921
  f
5917
5922
  );
5918
5923
  }
5924
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
5925
+ if (f != null) {
5926
+ writer.writeString(
5927
+ 13,
5928
+ f
5929
+ );
5930
+ }
5919
5931
  };
5920
5932
 
5921
5933
 
@@ -6280,10 +6292,10 @@ proto.payment.MethodItem.prototype.hasProviderImage = function() {
6280
6292
 
6281
6293
 
6282
6294
  /**
6283
- * optional string code = 12;
6295
+ * optional string provider_image_cdn = 12;
6284
6296
  * @return {string}
6285
6297
  */
6286
- proto.payment.MethodItem.prototype.getCode = function() {
6298
+ proto.payment.MethodItem.prototype.getProviderImageCdn = function() {
6287
6299
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
6288
6300
  };
6289
6301
 
@@ -6292,7 +6304,7 @@ proto.payment.MethodItem.prototype.getCode = function() {
6292
6304
  * @param {string} value
6293
6305
  * @return {!proto.payment.MethodItem} returns this
6294
6306
  */
6295
- proto.payment.MethodItem.prototype.setCode = function(value) {
6307
+ proto.payment.MethodItem.prototype.setProviderImageCdn = function(value) {
6296
6308
  return jspb.Message.setField(this, 12, value);
6297
6309
  };
6298
6310
 
@@ -6301,7 +6313,7 @@ proto.payment.MethodItem.prototype.setCode = function(value) {
6301
6313
  * Clears the field making it undefined.
6302
6314
  * @return {!proto.payment.MethodItem} returns this
6303
6315
  */
6304
- proto.payment.MethodItem.prototype.clearCode = function() {
6316
+ proto.payment.MethodItem.prototype.clearProviderImageCdn = function() {
6305
6317
  return jspb.Message.setField(this, 12, undefined);
6306
6318
  };
6307
6319
 
@@ -6310,11 +6322,47 @@ proto.payment.MethodItem.prototype.clearCode = function() {
6310
6322
  * Returns whether this field is set.
6311
6323
  * @return {boolean}
6312
6324
  */
6313
- proto.payment.MethodItem.prototype.hasCode = function() {
6325
+ proto.payment.MethodItem.prototype.hasProviderImageCdn = function() {
6314
6326
  return jspb.Message.getField(this, 12) != null;
6315
6327
  };
6316
6328
 
6317
6329
 
6330
+ /**
6331
+ * optional string code = 13;
6332
+ * @return {string}
6333
+ */
6334
+ proto.payment.MethodItem.prototype.getCode = function() {
6335
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
6336
+ };
6337
+
6338
+
6339
+ /**
6340
+ * @param {string} value
6341
+ * @return {!proto.payment.MethodItem} returns this
6342
+ */
6343
+ proto.payment.MethodItem.prototype.setCode = function(value) {
6344
+ return jspb.Message.setField(this, 13, value);
6345
+ };
6346
+
6347
+
6348
+ /**
6349
+ * Clears the field making it undefined.
6350
+ * @return {!proto.payment.MethodItem} returns this
6351
+ */
6352
+ proto.payment.MethodItem.prototype.clearCode = function() {
6353
+ return jspb.Message.setField(this, 13, undefined);
6354
+ };
6355
+
6356
+
6357
+ /**
6358
+ * Returns whether this field is set.
6359
+ * @return {boolean}
6360
+ */
6361
+ proto.payment.MethodItem.prototype.hasCode = function() {
6362
+ return jspb.Message.getField(this, 13) != null;
6363
+ };
6364
+
6365
+
6318
6366
 
6319
6367
  /**
6320
6368
  * Oneof group definitions for this message. Each group defines the field