protobuf-platform 1.2.386 → 1.2.388

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.386",
3
+ "version": "1.2.388",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -576,6 +576,10 @@ message UserPaymentMethodItem {
576
576
  optional bool sdk_enabled = 12;
577
577
  optional string processing_type = 13;
578
578
  optional string currency_type = 14;
579
+ optional string crypto_asset = 15;
580
+ optional string crypto_network = 16;
581
+ optional string provider_payment_id = 17;
582
+ optional string flow_type = 18;
579
583
  }
580
584
  message UserPaymentMethodsResponse {
581
585
  repeated UserPaymentMethodItem items = 1;
@@ -24015,7 +24015,11 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
24015
24015
  sdkProvider: jspb.Message.getFieldWithDefault(msg, 11, ""),
24016
24016
  sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
24017
24017
  processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
24018
- currencyType: jspb.Message.getFieldWithDefault(msg, 14, "")
24018
+ currencyType: jspb.Message.getFieldWithDefault(msg, 14, ""),
24019
+ cryptoAsset: jspb.Message.getFieldWithDefault(msg, 15, ""),
24020
+ cryptoNetwork: jspb.Message.getFieldWithDefault(msg, 16, ""),
24021
+ providerPaymentId: jspb.Message.getFieldWithDefault(msg, 17, ""),
24022
+ flowType: jspb.Message.getFieldWithDefault(msg, 18, "")
24019
24023
  };
24020
24024
 
24021
24025
  if (includeInstance) {
@@ -24108,6 +24112,22 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
24108
24112
  var value = /** @type {string} */ (reader.readString());
24109
24113
  msg.setCurrencyType(value);
24110
24114
  break;
24115
+ case 15:
24116
+ var value = /** @type {string} */ (reader.readString());
24117
+ msg.setCryptoAsset(value);
24118
+ break;
24119
+ case 16:
24120
+ var value = /** @type {string} */ (reader.readString());
24121
+ msg.setCryptoNetwork(value);
24122
+ break;
24123
+ case 17:
24124
+ var value = /** @type {string} */ (reader.readString());
24125
+ msg.setProviderPaymentId(value);
24126
+ break;
24127
+ case 18:
24128
+ var value = /** @type {string} */ (reader.readString());
24129
+ msg.setFlowType(value);
24130
+ break;
24111
24131
  default:
24112
24132
  reader.skipField();
24113
24133
  break;
@@ -24235,6 +24255,34 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
24235
24255
  f
24236
24256
  );
24237
24257
  }
24258
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
24259
+ if (f != null) {
24260
+ writer.writeString(
24261
+ 15,
24262
+ f
24263
+ );
24264
+ }
24265
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
24266
+ if (f != null) {
24267
+ writer.writeString(
24268
+ 16,
24269
+ f
24270
+ );
24271
+ }
24272
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
24273
+ if (f != null) {
24274
+ writer.writeString(
24275
+ 17,
24276
+ f
24277
+ );
24278
+ }
24279
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
24280
+ if (f != null) {
24281
+ writer.writeString(
24282
+ 18,
24283
+ f
24284
+ );
24285
+ }
24238
24286
  };
24239
24287
 
24240
24288
 
@@ -24616,6 +24664,150 @@ proto.payment.UserPaymentMethodItem.prototype.hasCurrencyType = function() {
24616
24664
  };
24617
24665
 
24618
24666
 
24667
+ /**
24668
+ * optional string crypto_asset = 15;
24669
+ * @return {string}
24670
+ */
24671
+ proto.payment.UserPaymentMethodItem.prototype.getCryptoAsset = function() {
24672
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
24673
+ };
24674
+
24675
+
24676
+ /**
24677
+ * @param {string} value
24678
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24679
+ */
24680
+ proto.payment.UserPaymentMethodItem.prototype.setCryptoAsset = function(value) {
24681
+ return jspb.Message.setField(this, 15, value);
24682
+ };
24683
+
24684
+
24685
+ /**
24686
+ * Clears the field making it undefined.
24687
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24688
+ */
24689
+ proto.payment.UserPaymentMethodItem.prototype.clearCryptoAsset = function() {
24690
+ return jspb.Message.setField(this, 15, undefined);
24691
+ };
24692
+
24693
+
24694
+ /**
24695
+ * Returns whether this field is set.
24696
+ * @return {boolean}
24697
+ */
24698
+ proto.payment.UserPaymentMethodItem.prototype.hasCryptoAsset = function() {
24699
+ return jspb.Message.getField(this, 15) != null;
24700
+ };
24701
+
24702
+
24703
+ /**
24704
+ * optional string crypto_network = 16;
24705
+ * @return {string}
24706
+ */
24707
+ proto.payment.UserPaymentMethodItem.prototype.getCryptoNetwork = function() {
24708
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
24709
+ };
24710
+
24711
+
24712
+ /**
24713
+ * @param {string} value
24714
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24715
+ */
24716
+ proto.payment.UserPaymentMethodItem.prototype.setCryptoNetwork = function(value) {
24717
+ return jspb.Message.setField(this, 16, value);
24718
+ };
24719
+
24720
+
24721
+ /**
24722
+ * Clears the field making it undefined.
24723
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24724
+ */
24725
+ proto.payment.UserPaymentMethodItem.prototype.clearCryptoNetwork = function() {
24726
+ return jspb.Message.setField(this, 16, undefined);
24727
+ };
24728
+
24729
+
24730
+ /**
24731
+ * Returns whether this field is set.
24732
+ * @return {boolean}
24733
+ */
24734
+ proto.payment.UserPaymentMethodItem.prototype.hasCryptoNetwork = function() {
24735
+ return jspb.Message.getField(this, 16) != null;
24736
+ };
24737
+
24738
+
24739
+ /**
24740
+ * optional string provider_payment_id = 17;
24741
+ * @return {string}
24742
+ */
24743
+ proto.payment.UserPaymentMethodItem.prototype.getProviderPaymentId = function() {
24744
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
24745
+ };
24746
+
24747
+
24748
+ /**
24749
+ * @param {string} value
24750
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24751
+ */
24752
+ proto.payment.UserPaymentMethodItem.prototype.setProviderPaymentId = function(value) {
24753
+ return jspb.Message.setField(this, 17, value);
24754
+ };
24755
+
24756
+
24757
+ /**
24758
+ * Clears the field making it undefined.
24759
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24760
+ */
24761
+ proto.payment.UserPaymentMethodItem.prototype.clearProviderPaymentId = function() {
24762
+ return jspb.Message.setField(this, 17, undefined);
24763
+ };
24764
+
24765
+
24766
+ /**
24767
+ * Returns whether this field is set.
24768
+ * @return {boolean}
24769
+ */
24770
+ proto.payment.UserPaymentMethodItem.prototype.hasProviderPaymentId = function() {
24771
+ return jspb.Message.getField(this, 17) != null;
24772
+ };
24773
+
24774
+
24775
+ /**
24776
+ * optional string flow_type = 18;
24777
+ * @return {string}
24778
+ */
24779
+ proto.payment.UserPaymentMethodItem.prototype.getFlowType = function() {
24780
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
24781
+ };
24782
+
24783
+
24784
+ /**
24785
+ * @param {string} value
24786
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24787
+ */
24788
+ proto.payment.UserPaymentMethodItem.prototype.setFlowType = function(value) {
24789
+ return jspb.Message.setField(this, 18, value);
24790
+ };
24791
+
24792
+
24793
+ /**
24794
+ * Clears the field making it undefined.
24795
+ * @return {!proto.payment.UserPaymentMethodItem} returns this
24796
+ */
24797
+ proto.payment.UserPaymentMethodItem.prototype.clearFlowType = function() {
24798
+ return jspb.Message.setField(this, 18, undefined);
24799
+ };
24800
+
24801
+
24802
+ /**
24803
+ * Returns whether this field is set.
24804
+ * @return {boolean}
24805
+ */
24806
+ proto.payment.UserPaymentMethodItem.prototype.hasFlowType = function() {
24807
+ return jspb.Message.getField(this, 18) != null;
24808
+ };
24809
+
24810
+
24619
24811
 
24620
24812
  /**
24621
24813
  * List of repeated fields within this message type.