protobuf-platform 1.2.268 → 1.2.269

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.268",
3
+ "version": "1.2.269",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -361,6 +361,7 @@ message GetUserPaymentsInfoRequest {
361
361
  optional string transaction_type = 6;
362
362
  optional string currency = 7;
363
363
  optional string country = 8;
364
+ optional string currency_type = 9;
364
365
  }
365
366
  message UserPaymentsInfoResponse {
366
367
  float deposit_sum = 1;
@@ -14937,7 +14937,8 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
14937
14937
  endDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
14938
14938
  transactionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
14939
14939
  currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
14940
- country: jspb.Message.getFieldWithDefault(msg, 8, "")
14940
+ country: jspb.Message.getFieldWithDefault(msg, 8, ""),
14941
+ currencyType: jspb.Message.getFieldWithDefault(msg, 9, "")
14941
14942
  };
14942
14943
 
14943
14944
  if (includeInstance) {
@@ -15006,6 +15007,10 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
15006
15007
  var value = /** @type {string} */ (reader.readString());
15007
15008
  msg.setCountry(value);
15008
15009
  break;
15010
+ case 9:
15011
+ var value = /** @type {string} */ (reader.readString());
15012
+ msg.setCurrencyType(value);
15013
+ break;
15009
15014
  default:
15010
15015
  reader.skipField();
15011
15016
  break;
@@ -15091,6 +15096,13 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
15091
15096
  f
15092
15097
  );
15093
15098
  }
15099
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
15100
+ if (f != null) {
15101
+ writer.writeString(
15102
+ 9,
15103
+ f
15104
+ );
15105
+ }
15094
15106
  };
15095
15107
 
15096
15108
 
@@ -15364,6 +15376,42 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.hasCountry = function() {
15364
15376
  };
15365
15377
 
15366
15378
 
15379
+ /**
15380
+ * optional string currency_type = 9;
15381
+ * @return {string}
15382
+ */
15383
+ proto.payment.GetUserPaymentsInfoRequest.prototype.getCurrencyType = function() {
15384
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
15385
+ };
15386
+
15387
+
15388
+ /**
15389
+ * @param {string} value
15390
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
15391
+ */
15392
+ proto.payment.GetUserPaymentsInfoRequest.prototype.setCurrencyType = function(value) {
15393
+ return jspb.Message.setField(this, 9, value);
15394
+ };
15395
+
15396
+
15397
+ /**
15398
+ * Clears the field making it undefined.
15399
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
15400
+ */
15401
+ proto.payment.GetUserPaymentsInfoRequest.prototype.clearCurrencyType = function() {
15402
+ return jspb.Message.setField(this, 9, undefined);
15403
+ };
15404
+
15405
+
15406
+ /**
15407
+ * Returns whether this field is set.
15408
+ * @return {boolean}
15409
+ */
15410
+ proto.payment.GetUserPaymentsInfoRequest.prototype.hasCurrencyType = function() {
15411
+ return jspb.Message.getField(this, 9) != null;
15412
+ };
15413
+
15414
+
15367
15415
 
15368
15416
 
15369
15417