protobuf-platform 1.2.638 → 1.2.639

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.638",
3
+ "version": "1.2.639",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -656,6 +656,8 @@ message GetUserPaymentsInfoRequest {
656
656
  optional string currency_type = 9;
657
657
  // Public payment-history statuses. Empty/omitted means no status filter.
658
658
  repeated string status = 10;
659
+ // Public payment-history types. Empty/omitted means no type filter.
660
+ repeated string transaction_types = 11;
659
661
  }
660
662
  message UserPaymentsInfoResponse {
661
663
  float deposit_sum = 1;
@@ -28486,7 +28486,7 @@ proto.payment.DepositStatusItemsResponse.prototype.hasTotalItems = function() {
28486
28486
  * @private {!Array<number>}
28487
28487
  * @const
28488
28488
  */
28489
- proto.payment.GetUserPaymentsInfoRequest.repeatedFields_ = [10];
28489
+ proto.payment.GetUserPaymentsInfoRequest.repeatedFields_ = [10,11];
28490
28490
 
28491
28491
 
28492
28492
 
@@ -28528,7 +28528,8 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
28528
28528
  currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
28529
28529
  country: jspb.Message.getFieldWithDefault(msg, 8, ""),
28530
28530
  currencyType: jspb.Message.getFieldWithDefault(msg, 9, ""),
28531
- statusList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
28531
+ statusList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
28532
+ transactionTypesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
28532
28533
  };
28533
28534
 
28534
28535
  if (includeInstance) {
@@ -28605,6 +28606,10 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
28605
28606
  var value = /** @type {string} */ (reader.readString());
28606
28607
  msg.addStatus(value);
28607
28608
  break;
28609
+ case 11:
28610
+ var value = /** @type {string} */ (reader.readString());
28611
+ msg.addTransactionTypes(value);
28612
+ break;
28608
28613
  default:
28609
28614
  reader.skipField();
28610
28615
  break;
@@ -28704,6 +28709,13 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
28704
28709
  f
28705
28710
  );
28706
28711
  }
28712
+ f = message.getTransactionTypesList();
28713
+ if (f.length > 0) {
28714
+ writer.writeRepeatedString(
28715
+ 11,
28716
+ f
28717
+ );
28718
+ }
28707
28719
  };
28708
28720
 
28709
28721
 
@@ -29050,6 +29062,43 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.clearStatusList = function()
29050
29062
  };
29051
29063
 
29052
29064
 
29065
+ /**
29066
+ * repeated string transaction_types = 11;
29067
+ * @return {!Array<string>}
29068
+ */
29069
+ proto.payment.GetUserPaymentsInfoRequest.prototype.getTransactionTypesList = function() {
29070
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
29071
+ };
29072
+
29073
+
29074
+ /**
29075
+ * @param {!Array<string>} value
29076
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
29077
+ */
29078
+ proto.payment.GetUserPaymentsInfoRequest.prototype.setTransactionTypesList = function(value) {
29079
+ return jspb.Message.setField(this, 11, value || []);
29080
+ };
29081
+
29082
+
29083
+ /**
29084
+ * @param {string} value
29085
+ * @param {number=} opt_index
29086
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
29087
+ */
29088
+ proto.payment.GetUserPaymentsInfoRequest.prototype.addTransactionTypes = function(value, opt_index) {
29089
+ return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
29090
+ };
29091
+
29092
+
29093
+ /**
29094
+ * Clears the list making it empty but non-null.
29095
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
29096
+ */
29097
+ proto.payment.GetUserPaymentsInfoRequest.prototype.clearTransactionTypesList = function() {
29098
+ return this.setTransactionTypesList([]);
29099
+ };
29100
+
29101
+
29053
29102
 
29054
29103
 
29055
29104