protobuf-platform 1.2.637 → 1.2.638

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.637",
3
+ "version": "1.2.638",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -654,6 +654,8 @@ message GetUserPaymentsInfoRequest {
654
654
  optional string currency = 7;
655
655
  optional string country = 8;
656
656
  optional string currency_type = 9;
657
+ // Public payment-history statuses. Empty/omitted means no status filter.
658
+ repeated string status = 10;
657
659
  }
658
660
  message UserPaymentsInfoResponse {
659
661
  float deposit_sum = 1;
@@ -1390,7 +1390,7 @@ if (goog.DEBUG && !COMPILED) {
1390
1390
  * @constructor
1391
1391
  */
1392
1392
  proto.payment.GetUserPaymentsInfoRequest = function(opt_data) {
1393
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1393
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.GetUserPaymentsInfoRequest.repeatedFields_, null);
1394
1394
  };
1395
1395
  goog.inherits(proto.payment.GetUserPaymentsInfoRequest, jspb.Message);
1396
1396
  if (goog.DEBUG && !COMPILED) {
@@ -28481,6 +28481,13 @@ proto.payment.DepositStatusItemsResponse.prototype.hasTotalItems = function() {
28481
28481
 
28482
28482
 
28483
28483
 
28484
+ /**
28485
+ * List of repeated fields within this message type.
28486
+ * @private {!Array<number>}
28487
+ * @const
28488
+ */
28489
+ proto.payment.GetUserPaymentsInfoRequest.repeatedFields_ = [10];
28490
+
28484
28491
 
28485
28492
 
28486
28493
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -28520,7 +28527,8 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
28520
28527
  transactionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
28521
28528
  currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
28522
28529
  country: jspb.Message.getFieldWithDefault(msg, 8, ""),
28523
- currencyType: jspb.Message.getFieldWithDefault(msg, 9, "")
28530
+ currencyType: jspb.Message.getFieldWithDefault(msg, 9, ""),
28531
+ statusList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
28524
28532
  };
28525
28533
 
28526
28534
  if (includeInstance) {
@@ -28593,6 +28601,10 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
28593
28601
  var value = /** @type {string} */ (reader.readString());
28594
28602
  msg.setCurrencyType(value);
28595
28603
  break;
28604
+ case 10:
28605
+ var value = /** @type {string} */ (reader.readString());
28606
+ msg.addStatus(value);
28607
+ break;
28596
28608
  default:
28597
28609
  reader.skipField();
28598
28610
  break;
@@ -28685,6 +28697,13 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
28685
28697
  f
28686
28698
  );
28687
28699
  }
28700
+ f = message.getStatusList();
28701
+ if (f.length > 0) {
28702
+ writer.writeRepeatedString(
28703
+ 10,
28704
+ f
28705
+ );
28706
+ }
28688
28707
  };
28689
28708
 
28690
28709
 
@@ -28994,6 +29013,43 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.hasCurrencyType = function()
28994
29013
  };
28995
29014
 
28996
29015
 
29016
+ /**
29017
+ * repeated string status = 10;
29018
+ * @return {!Array<string>}
29019
+ */
29020
+ proto.payment.GetUserPaymentsInfoRequest.prototype.getStatusList = function() {
29021
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
29022
+ };
29023
+
29024
+
29025
+ /**
29026
+ * @param {!Array<string>} value
29027
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
29028
+ */
29029
+ proto.payment.GetUserPaymentsInfoRequest.prototype.setStatusList = function(value) {
29030
+ return jspb.Message.setField(this, 10, value || []);
29031
+ };
29032
+
29033
+
29034
+ /**
29035
+ * @param {string} value
29036
+ * @param {number=} opt_index
29037
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
29038
+ */
29039
+ proto.payment.GetUserPaymentsInfoRequest.prototype.addStatus = function(value, opt_index) {
29040
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
29041
+ };
29042
+
29043
+
29044
+ /**
29045
+ * Clears the list making it empty but non-null.
29046
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
29047
+ */
29048
+ proto.payment.GetUserPaymentsInfoRequest.prototype.clearStatusList = function() {
29049
+ return this.setStatusList([]);
29050
+ };
29051
+
29052
+
28997
29053
 
28998
29054
 
28999
29055