protobuf-platform 1.2.267 → 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.267",
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;
@@ -409,6 +410,7 @@ message UserPaymentMethodItem {
409
410
  optional string sdk_provider = 11;
410
411
  optional bool sdk_enabled = 12;
411
412
  optional string processing_type = 13;
413
+ optional string currency_type = 14;
412
414
  }
413
415
  message UserPaymentMethodsResponse {
414
416
  repeated UserPaymentMethodItem items = 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
 
@@ -16662,7 +16710,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
16662
16710
  maxAmount: jspb.Message.getFieldWithDefault(msg, 10, 0),
16663
16711
  sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
16664
16712
  sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
16665
- processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
16713
+ processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
16714
+ currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
16666
16715
  };
16667
16716
 
16668
16717
  if (includeInstance) {
@@ -16751,6 +16800,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
16751
16800
  var value = /** @type {string} */ (reader.readString());
16752
16801
  msg.setProcessingType(value);
16753
16802
  break;
16803
+ case 14:
16804
+ var value = /** @type {string} */ (reader.readString());
16805
+ msg.setCurrencyType(value);
16806
+ break;
16754
16807
  default:
16755
16808
  reader.skipField();
16756
16809
  break;
@@ -16871,6 +16924,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
16871
16924
  f
16872
16925
  );
16873
16926
  }
16927
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
16928
+ if (f != null) {
16929
+ writer.writeString(
16930
+ 14,
16931
+ f
16932
+ );
16933
+ }
16874
16934
  };
16875
16935
 
16876
16936
 
@@ -17216,6 +17276,42 @@ proto.payment.UserPaymentMethodItem.prototype.hasProcessingType = function() {
17216
17276
  };
17217
17277
 
17218
17278
 
17279
+ /**
17280
+ * optional string currency_type = 14;
17281
+ * @return {string}
17282
+ */
17283
+ proto.payment.UserPaymentMethodItem.prototype.getCurrencyType = function() {
17284
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
17285
+ };
17286
+
17287
+
17288
+ /**
17289
+ * @param {string} value
17290
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
17291
+ */
17292
+ proto.payment.UserPaymentMethodItem.prototype.setCurrencyType = function(value) {
17293
+ return jspb.Message.setField(this, 14, value);
17294
+ };
17295
+
17296
+
17297
+ /**
17298
+ * Clears the field making it undefined.
17299
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
17300
+ */
17301
+ proto.payment.UserPaymentMethodItem.prototype.clearCurrencyType = function() {
17302
+ return jspb.Message.setField(this, 14, undefined);
17303
+ };
17304
+
17305
+
17306
+ /**
17307
+ * Returns whether this field is set.
17308
+ * @return {boolean}
17309
+ */
17310
+ proto.payment.UserPaymentMethodItem.prototype.hasCurrencyType = function() {
17311
+ return jspb.Message.getField(this, 14) != null;
17312
+ };
17313
+
17314
+
17219
17315
 
17220
17316
  /**
17221
17317
  * List of repeated fields within this message type.