protobuf-platform 1.0.223 → 1.0.225

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.225",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -38,6 +38,8 @@ 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;
42
+ optional string transaction_type = 5;
41
43
  }
42
44
  //Provider CRUD | Requests
43
45
  message ProviderItem {
@@ -100,6 +102,7 @@ message MethodItemRequest {
100
102
  optional int32 is_active = 5;
101
103
  optional int32 provider_id = 6;
102
104
  optional string transaction_type = 7;
105
+ optional string processing_type = 8;
103
106
  }
104
107
  message GetMethodRequest {
105
108
  int32 id = 1;
@@ -1561,7 +1561,9 @@ 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, ""),
1566
+ transactionType: jspb.Message.getFieldWithDefault(msg, 5, "")
1565
1567
  };
1566
1568
 
1567
1569
  if (includeInstance) {
@@ -1610,6 +1612,14 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
1610
1612
  var value = /** @type {string} */ (reader.readString());
1611
1613
  msg.addGeo(value);
1612
1614
  break;
1615
+ case 4:
1616
+ var value = /** @type {string} */ (reader.readString());
1617
+ msg.setProcessingType(value);
1618
+ break;
1619
+ case 5:
1620
+ var value = /** @type {string} */ (reader.readString());
1621
+ msg.setTransactionType(value);
1622
+ break;
1613
1623
  default:
1614
1624
  reader.skipField();
1615
1625
  break;
@@ -1660,6 +1670,20 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
1660
1670
  f
1661
1671
  );
1662
1672
  }
1673
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
1674
+ if (f != null) {
1675
+ writer.writeString(
1676
+ 4,
1677
+ f
1678
+ );
1679
+ }
1680
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
1681
+ if (f != null) {
1682
+ writer.writeString(
1683
+ 5,
1684
+ f
1685
+ );
1686
+ }
1663
1687
  };
1664
1688
 
1665
1689
 
@@ -1773,6 +1797,78 @@ proto.payment.PaymentSearchRequest.prototype.clearGeoList = function() {
1773
1797
  };
1774
1798
 
1775
1799
 
1800
+ /**
1801
+ * optional string processing_type = 4;
1802
+ * @return {string}
1803
+ */
1804
+ proto.payment.PaymentSearchRequest.prototype.getProcessingType = function() {
1805
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1806
+ };
1807
+
1808
+
1809
+ /**
1810
+ * @param {string} value
1811
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1812
+ */
1813
+ proto.payment.PaymentSearchRequest.prototype.setProcessingType = function(value) {
1814
+ return jspb.Message.setField(this, 4, value);
1815
+ };
1816
+
1817
+
1818
+ /**
1819
+ * Clears the field making it undefined.
1820
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1821
+ */
1822
+ proto.payment.PaymentSearchRequest.prototype.clearProcessingType = function() {
1823
+ return jspb.Message.setField(this, 4, undefined);
1824
+ };
1825
+
1826
+
1827
+ /**
1828
+ * Returns whether this field is set.
1829
+ * @return {boolean}
1830
+ */
1831
+ proto.payment.PaymentSearchRequest.prototype.hasProcessingType = function() {
1832
+ return jspb.Message.getField(this, 4) != null;
1833
+ };
1834
+
1835
+
1836
+ /**
1837
+ * optional string transaction_type = 5;
1838
+ * @return {string}
1839
+ */
1840
+ proto.payment.PaymentSearchRequest.prototype.getTransactionType = function() {
1841
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1842
+ };
1843
+
1844
+
1845
+ /**
1846
+ * @param {string} value
1847
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1848
+ */
1849
+ proto.payment.PaymentSearchRequest.prototype.setTransactionType = function(value) {
1850
+ return jspb.Message.setField(this, 5, value);
1851
+ };
1852
+
1853
+
1854
+ /**
1855
+ * Clears the field making it undefined.
1856
+ * @return {!proto.payment.PaymentSearchRequest} returns this
1857
+ */
1858
+ proto.payment.PaymentSearchRequest.prototype.clearTransactionType = function() {
1859
+ return jspb.Message.setField(this, 5, undefined);
1860
+ };
1861
+
1862
+
1863
+ /**
1864
+ * Returns whether this field is set.
1865
+ * @return {boolean}
1866
+ */
1867
+ proto.payment.PaymentSearchRequest.prototype.hasTransactionType = function() {
1868
+ return jspb.Message.getField(this, 5) != null;
1869
+ };
1870
+
1871
+
1776
1872
 
1777
1873
  /**
1778
1874
  * List of repeated fields within this message type.
@@ -4157,7 +4253,8 @@ proto.payment.MethodItemRequest.toObject = function(includeInstance, msg) {
4157
4253
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
4158
4254
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
4159
4255
  providerId: jspb.Message.getFieldWithDefault(msg, 6, 0),
4160
- transactionType: jspb.Message.getFieldWithDefault(msg, 7, "")
4256
+ transactionType: jspb.Message.getFieldWithDefault(msg, 7, ""),
4257
+ processingType: jspb.Message.getFieldWithDefault(msg, 8, "")
4161
4258
  };
4162
4259
 
4163
4260
  if (includeInstance) {
@@ -4218,6 +4315,10 @@ proto.payment.MethodItemRequest.deserializeBinaryFromReader = function(msg, read
4218
4315
  var value = /** @type {string} */ (reader.readString());
4219
4316
  msg.setTransactionType(value);
4220
4317
  break;
4318
+ case 8:
4319
+ var value = /** @type {string} */ (reader.readString());
4320
+ msg.setProcessingType(value);
4321
+ break;
4221
4322
  default:
4222
4323
  reader.skipField();
4223
4324
  break;
@@ -4289,6 +4390,13 @@ proto.payment.MethodItemRequest.serializeBinaryToWriter = function(message, writ
4289
4390
  f
4290
4391
  );
4291
4392
  }
4393
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
4394
+ if (f != null) {
4395
+ writer.writeString(
4396
+ 8,
4397
+ f
4398
+ );
4399
+ }
4292
4400
  };
4293
4401
 
4294
4402
 
@@ -4508,6 +4616,42 @@ proto.payment.MethodItemRequest.prototype.hasTransactionType = function() {
4508
4616
  };
4509
4617
 
4510
4618
 
4619
+ /**
4620
+ * optional string processing_type = 8;
4621
+ * @return {string}
4622
+ */
4623
+ proto.payment.MethodItemRequest.prototype.getProcessingType = function() {
4624
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4625
+ };
4626
+
4627
+
4628
+ /**
4629
+ * @param {string} value
4630
+ * @return {!proto.payment.MethodItemRequest} returns this
4631
+ */
4632
+ proto.payment.MethodItemRequest.prototype.setProcessingType = function(value) {
4633
+ return jspb.Message.setField(this, 8, value);
4634
+ };
4635
+
4636
+
4637
+ /**
4638
+ * Clears the field making it undefined.
4639
+ * @return {!proto.payment.MethodItemRequest} returns this
4640
+ */
4641
+ proto.payment.MethodItemRequest.prototype.clearProcessingType = function() {
4642
+ return jspb.Message.setField(this, 8, undefined);
4643
+ };
4644
+
4645
+
4646
+ /**
4647
+ * Returns whether this field is set.
4648
+ * @return {boolean}
4649
+ */
4650
+ proto.payment.MethodItemRequest.prototype.hasProcessingType = function() {
4651
+ return jspb.Message.getField(this, 8) != null;
4652
+ };
4653
+
4654
+
4511
4655
 
4512
4656
 
4513
4657