protobuf-platform 1.0.223 → 1.0.224

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.0.223",
3
+ "version": "1.0.224",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -38,6 +38,7 @@ message PaymentSearchRequest {
38
38
  optional int32 payment_id = 1;
39
39
  repeated string currency = 2;
40
40
  repeated string geo = 3;
41
+ optional string processing_type = 4;
41
42
  }
42
43
  //Provider CRUD | Requests
43
44
  message ProviderItem {
@@ -1561,7 +1561,8 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
1561
1561
  var f, obj = {
1562
1562
  paymentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
1563
1563
  currencyList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1564
- geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
1564
+ geoList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
1565
+ processingType: jspb.Message.getFieldWithDefault(msg, 4, "")
1565
1566
  };
1566
1567
 
1567
1568
  if (includeInstance) {
@@ -1610,6 +1611,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
1610
1611
  var value = /** @type {string} */ (reader.readString());
1611
1612
  msg.addGeo(value);
1612
1613
  break;
1614
+ case 4:
1615
+ var value = /** @type {string} */ (reader.readString());
1616
+ msg.setProcessingType(value);
1617
+ break;
1613
1618
  default:
1614
1619
  reader.skipField();
1615
1620
  break;
@@ -1660,6 +1665,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
1660
1665
  f
1661
1666
  );
1662
1667
  }
1668
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
1669
+ if (f != null) {
1670
+ writer.writeString(
1671
+ 4,
1672
+ f
1673
+ );
1674
+ }
1663
1675
  };
1664
1676
 
1665
1677
 
@@ -1773,6 +1785,42 @@ proto.payment.PaymentSearchRequest.prototype.clearGeoList = function() {
1773
1785
  };
1774
1786
 
1775
1787
 
1788
+ /**
1789
+ * optional string processing_type = 4;
1790
+ * @return {string}
1791
+ */
1792
+ proto.payment.PaymentSearchRequest.prototype.getProcessingType = function() {
1793
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1794
+ };
1795
+
1796
+
1797
+ /**
1798
+ * @param {string} value
1799
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1800
+ */
1801
+ proto.payment.PaymentSearchRequest.prototype.setProcessingType = function(value) {
1802
+ return jspb.Message.setField(this, 4, value);
1803
+ };
1804
+
1805
+
1806
+ /**
1807
+ * Clears the field making it undefined.
1808
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1809
+ */
1810
+ proto.payment.PaymentSearchRequest.prototype.clearProcessingType = function() {
1811
+ return jspb.Message.setField(this, 4, undefined);
1812
+ };
1813
+
1814
+
1815
+ /**
1816
+ * Returns whether this field is set.
1817
+ * @return {boolean}
1818
+ */
1819
+ proto.payment.PaymentSearchRequest.prototype.hasProcessingType = function() {
1820
+ return jspb.Message.getField(this, 4) != null;
1821
+ };
1822
+
1823
+
1776
1824
 
1777
1825
  /**
1778
1826
  * List of repeated fields within this message type.