protobuf-platform 1.2.391 → 1.2.393

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.391",
3
+ "version": "1.2.393",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -92,6 +92,7 @@ message PaymentSearchRequest {
92
92
  repeated string operation_status_code = 17;
93
93
  repeated string withdrawal_status_code = 18;
94
94
  optional int32 config_is_active = 19;
95
+ repeated string currency_type = 20;
95
96
  }
96
97
  message ItemsBunchRequest {
97
98
  repeated int32 ids = 1;
@@ -2652,7 +2652,7 @@ proto.payment.PaginationRequest.prototype.hasPaymentSearchParams = function() {
2652
2652
  * @private {!Array<number>}
2653
2653
  * @const
2654
2654
  */
2655
- proto.payment.PaymentSearchRequest.repeatedFields_ = [3,4,5,8,9,10,15,16,17,18];
2655
+ proto.payment.PaymentSearchRequest.repeatedFields_ = [3,4,5,8,9,10,15,16,17,18,20];
2656
2656
 
2657
2657
 
2658
2658
 
@@ -2703,7 +2703,8 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
2703
2703
  operationReasonCodeList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
2704
2704
  operationStatusCodeList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
2705
2705
  withdrawalStatusCodeList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f,
2706
- configIsActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
2706
+ configIsActive: jspb.Message.getFieldWithDefault(msg, 19, 0),
2707
+ currencyTypeList: (f = jspb.Message.getRepeatedField(msg, 20)) == null ? undefined : f
2707
2708
  };
2708
2709
 
2709
2710
  if (includeInstance) {
@@ -2824,6 +2825,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
2824
2825
  var value = /** @type {number} */ (reader.readInt32());
2825
2826
  msg.setConfigIsActive(value);
2826
2827
  break;
2828
+ case 20:
2829
+ var value = /** @type {string} */ (reader.readString());
2830
+ msg.addCurrencyType(value);
2831
+ break;
2827
2832
  default:
2828
2833
  reader.skipField();
2829
2834
  break;
@@ -2986,6 +2991,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
2986
2991
  f
2987
2992
  );
2988
2993
  }
2994
+ f = message.getCurrencyTypeList();
2995
+ if (f.length > 0) {
2996
+ writer.writeRepeatedString(
2997
+ 20,
2998
+ f
2999
+ );
3000
+ }
2989
3001
  };
2990
3002
 
2991
3003
 
@@ -3683,6 +3695,43 @@ proto.payment.PaymentSearchRequest.prototype.hasConfigIsActive = function() {
3683
3695
  };
3684
3696
 
3685
3697
 
3698
+ /**
3699
+ * repeated string currency_type = 20;
3700
+ * @return {!Array<string>}
3701
+ */
3702
+ proto.payment.PaymentSearchRequest.prototype.getCurrencyTypeList = function() {
3703
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 20));
3704
+ };
3705
+
3706
+
3707
+ /**
3708
+ * @param {!Array<string>} value
3709
+ * @return {!proto.payment.PaymentSearchRequest} returns this
3710
+ */
3711
+ proto.payment.PaymentSearchRequest.prototype.setCurrencyTypeList = function(value) {
3712
+ return jspb.Message.setField(this, 20, value || []);
3713
+ };
3714
+
3715
+
3716
+ /**
3717
+ * @param {string} value
3718
+ * @param {number=} opt_index
3719
+ * @return {!proto.payment.PaymentSearchRequest} returns this
3720
+ */
3721
+ proto.payment.PaymentSearchRequest.prototype.addCurrencyType = function(value, opt_index) {
3722
+ return jspb.Message.addToRepeatedField(this, 20, value, opt_index);
3723
+ };
3724
+
3725
+
3726
+ /**
3727
+ * Clears the list making it empty but non-null.
3728
+ * @return {!proto.payment.PaymentSearchRequest} returns this
3729
+ */
3730
+ proto.payment.PaymentSearchRequest.prototype.clearCurrencyTypeList = function() {
3731
+ return this.setCurrencyTypeList([]);
3732
+ };
3733
+
3734
+
3686
3735
 
3687
3736
  /**
3688
3737
  * List of repeated fields within this message type.