@sniipwebmaster/payment-methods-client-grpcweb 25.11.7488 → 25.11.7496

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.
@@ -186,7 +186,7 @@ if (goog.DEBUG && !COMPILED) {
186
186
  * @constructor
187
187
  */
188
188
  proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod = function(opt_data) {
189
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.repeatedFields_, null);
189
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
190
190
  };
191
191
  goog.inherits(proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod, jspb.Message);
192
192
  if (goog.DEBUG && !COMPILED) {
@@ -1551,7 +1551,7 @@ if (goog.DEBUG && !COMPILED) {
1551
1551
  * @constructor
1552
1552
  */
1553
1553
  proto.sniippaymentmethodsserviceapi.PaymentMethodType = function(opt_data) {
1554
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.PaymentMethodType.repeatedFields_, null);
1554
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1555
1555
  };
1556
1556
  goog.inherits(proto.sniippaymentmethodsserviceapi.PaymentMethodType, jspb.Message);
1557
1557
  if (goog.DEBUG && !COMPILED) {
@@ -2797,13 +2797,6 @@ proto.sniippaymentmethodsserviceapi.File.prototype.setContent = function(value)
2797
2797
 
2798
2798
 
2799
2799
 
2800
- /**
2801
- * List of repeated fields within this message type.
2802
- * @private {!Array<number>}
2803
- * @const
2804
- */
2805
- proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.repeatedFields_ = [8];
2806
-
2807
2800
 
2808
2801
 
2809
2802
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2842,7 +2835,7 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.toObject = function(in
2842
2835
  allowinternational: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
2843
2836
  allowprepaid: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
2844
2837
  allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
2845
- allowedcardsubtypecodesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
2838
+ allowedcardsubtypecode: jspb.Message.getFieldWithDefault(msg, 8, "")
2846
2839
  };
2847
2840
 
2848
2841
  if (includeInstance) {
@@ -2909,7 +2902,7 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.deserializeBinaryFromR
2909
2902
  break;
2910
2903
  case 8:
2911
2904
  var value = /** @type {string} */ (reader.readString());
2912
- msg.addAllowedcardsubtypecodes(value);
2905
+ msg.setAllowedcardsubtypecode(value);
2913
2906
  break;
2914
2907
  default:
2915
2908
  reader.skipField();
@@ -2989,9 +2982,9 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.serializeBinaryToWrite
2989
2982
  f
2990
2983
  );
2991
2984
  }
2992
- f = message.getAllowedcardsubtypecodesList();
2985
+ f = message.getAllowedcardsubtypecode();
2993
2986
  if (f.length > 0) {
2994
- writer.writeRepeatedString(
2987
+ writer.writeString(
2995
2988
  8,
2996
2989
  f
2997
2990
  );
@@ -3126,39 +3119,20 @@ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.setAllowcryp
3126
3119
 
3127
3120
 
3128
3121
  /**
3129
- * repeated string allowedCardSubtypeCodes = 8;
3130
- * @return {!Array<string>}
3131
- */
3132
- proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.getAllowedcardsubtypecodesList = function() {
3133
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
3134
- };
3135
-
3136
-
3137
- /**
3138
- * @param {!Array<string>} value
3139
- * @return {!proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod} returns this
3122
+ * optional string allowedCardSubtypeCode = 8;
3123
+ * @return {string}
3140
3124
  */
3141
- proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.setAllowedcardsubtypecodesList = function(value) {
3142
- return jspb.Message.setField(this, 8, value || []);
3125
+ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.getAllowedcardsubtypecode = function() {
3126
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3143
3127
  };
3144
3128
 
3145
3129
 
3146
3130
  /**
3147
3131
  * @param {string} value
3148
- * @param {number=} opt_index
3149
- * @return {!proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod} returns this
3150
- */
3151
- proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.addAllowedcardsubtypecodes = function(value, opt_index) {
3152
- return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
3153
- };
3154
-
3155
-
3156
- /**
3157
- * Clears the list making it empty but non-null.
3158
3132
  * @return {!proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod} returns this
3159
3133
  */
3160
- proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.clearAllowedcardsubtypecodesList = function() {
3161
- return this.setAllowedcardsubtypecodesList([]);
3134
+ proto.sniippaymentmethodsserviceapi.AcceptedPaymentMethod.prototype.setAllowedcardsubtypecode = function(value) {
3135
+ return jspb.Message.setProto3StringField(this, 8, value);
3162
3136
  };
3163
3137
 
3164
3138
 
@@ -20042,13 +20016,6 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodResponse.prototype.hasResponsec
20042
20016
 
20043
20017
 
20044
20018
 
20045
- /**
20046
- * List of repeated fields within this message type.
20047
- * @private {!Array<number>}
20048
- * @const
20049
- */
20050
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.repeatedFields_ = [10];
20051
-
20052
20019
 
20053
20020
 
20054
20021
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -20089,7 +20056,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.toObject = function(includ
20089
20056
  displayname: jspb.Message.getFieldWithDefault(msg, 7, ""),
20090
20057
  allowprepaid: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
20091
20058
  allowcryptocom: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
20092
- allowedcardsubtypecodesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
20059
+ allowedcardsubtypecode: jspb.Message.getFieldWithDefault(msg, 10, "")
20093
20060
  };
20094
20061
 
20095
20062
  if (includeInstance) {
@@ -20164,7 +20131,7 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.deserializeBinaryFromReade
20164
20131
  break;
20165
20132
  case 10:
20166
20133
  var value = /** @type {string} */ (reader.readString());
20167
- msg.addAllowedcardsubtypecodes(value);
20134
+ msg.setAllowedcardsubtypecode(value);
20168
20135
  break;
20169
20136
  default:
20170
20137
  reader.skipField();
@@ -20258,9 +20225,9 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.serializeBinaryToWriter =
20258
20225
  f
20259
20226
  );
20260
20227
  }
20261
- f = message.getAllowedcardsubtypecodesList();
20228
+ f = message.getAllowedcardsubtypecode();
20262
20229
  if (f.length > 0) {
20263
- writer.writeRepeatedString(
20230
+ writer.writeString(
20264
20231
  10,
20265
20232
  f
20266
20233
  );
@@ -20431,39 +20398,20 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowcryptoco
20431
20398
 
20432
20399
 
20433
20400
  /**
20434
- * repeated string allowedCardSubtypeCodes = 10;
20435
- * @return {!Array<string>}
20436
- */
20437
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowedcardsubtypecodesList = function() {
20438
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
20439
- };
20440
-
20441
-
20442
- /**
20443
- * @param {!Array<string>} value
20444
- * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} returns this
20401
+ * optional string allowedCardSubtypeCode = 10;
20402
+ * @return {string}
20445
20403
  */
20446
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowedcardsubtypecodesList = function(value) {
20447
- return jspb.Message.setField(this, 10, value || []);
20404
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.getAllowedcardsubtypecode = function() {
20405
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
20448
20406
  };
20449
20407
 
20450
20408
 
20451
20409
  /**
20452
20410
  * @param {string} value
20453
- * @param {number=} opt_index
20454
- * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} returns this
20455
- */
20456
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.addAllowedcardsubtypecodes = function(value, opt_index) {
20457
- return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
20458
- };
20459
-
20460
-
20461
- /**
20462
- * Clears the list making it empty but non-null.
20463
20411
  * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodType} returns this
20464
20412
  */
20465
- proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.clearAllowedcardsubtypecodesList = function() {
20466
- return this.setAllowedcardsubtypecodesList([]);
20413
+ proto.sniippaymentmethodsserviceapi.PaymentMethodType.prototype.setAllowedcardsubtypecode = function(value) {
20414
+ return jspb.Message.setProto3StringField(this, 10, value);
20467
20415
  };
20468
20416
 
20469
20417
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "25.11.7488",
3
+ "version": "25.11.7496",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",