@sniipwebmaster/payment-methods-client-grpcweb-ts 24.12.5785 → 24.12.5793

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.
@@ -222,6 +222,24 @@ export namespace Activation {
222
222
  }
223
223
  }
224
224
 
225
+ export class WexCard extends jspb.Message {
226
+ getNickname(): string;
227
+ setNickname(value: string): WexCard;
228
+
229
+ serializeBinary(): Uint8Array;
230
+ toObject(includeInstance?: boolean): WexCard.AsObject;
231
+ static toObject(includeInstance: boolean, msg: WexCard): WexCard.AsObject;
232
+ static serializeBinaryToWriter(message: WexCard, writer: jspb.BinaryWriter): void;
233
+ static deserializeBinary(bytes: Uint8Array): WexCard;
234
+ static deserializeBinaryFromReader(message: WexCard, reader: jspb.BinaryReader): WexCard;
235
+ }
236
+
237
+ export namespace WexCard {
238
+ export type AsObject = {
239
+ nickname: string,
240
+ }
241
+ }
242
+
225
243
  export class AddPaymentMethod extends jspb.Message {
226
244
  getPaymenttype(): string;
227
245
  setPaymenttype(value: string): AddPaymentMethod;
@@ -249,6 +267,11 @@ export class AddPaymentMethod extends jspb.Message {
249
267
  hasGooglepay(): boolean;
250
268
  clearGooglepay(): AddPaymentMethod;
251
269
 
270
+ getWexcard(): WexCard | undefined;
271
+ setWexcard(value?: WexCard): AddPaymentMethod;
272
+ hasWexcard(): boolean;
273
+ clearWexcard(): AddPaymentMethod;
274
+
252
275
  serializeBinary(): Uint8Array;
253
276
  toObject(includeInstance?: boolean): AddPaymentMethod.AsObject;
254
277
  static toObject(includeInstance: boolean, msg: AddPaymentMethod): AddPaymentMethod.AsObject;
@@ -265,6 +288,7 @@ export namespace AddPaymentMethod {
265
288
  accesstoken: string,
266
289
  applepay?: ApplePay.AsObject,
267
290
  googlepay?: GooglePay.AsObject,
291
+ wexcard?: WexCard.AsObject,
268
292
  }
269
293
  }
270
294
 
@@ -2112,6 +2136,11 @@ export class PaymentMethodUpdateRequest extends jspb.Message {
2112
2136
  getAccesstoken(): string;
2113
2137
  setAccesstoken(value: string): PaymentMethodUpdateRequest;
2114
2138
 
2139
+ getWexcard(): UpdateWexCard | undefined;
2140
+ setWexcard(value?: UpdateWexCard): PaymentMethodUpdateRequest;
2141
+ hasWexcard(): boolean;
2142
+ clearWexcard(): PaymentMethodUpdateRequest;
2143
+
2115
2144
  serializeBinary(): Uint8Array;
2116
2145
  toObject(includeInstance?: boolean): PaymentMethodUpdateRequest.AsObject;
2117
2146
  static toObject(includeInstance: boolean, msg: PaymentMethodUpdateRequest): PaymentMethodUpdateRequest.AsObject;
@@ -2127,6 +2156,29 @@ export namespace PaymentMethodUpdateRequest {
2127
2156
  creditcard?: UpdateCreditCard.AsObject,
2128
2157
  bankaccount?: UpdateBankAccount.AsObject,
2129
2158
  accesstoken: string,
2159
+ wexcard?: UpdateWexCard.AsObject,
2160
+ }
2161
+ }
2162
+
2163
+ export class UpdateWexCard extends jspb.Message {
2164
+ getNickname(): string;
2165
+ setNickname(value: string): UpdateWexCard;
2166
+
2167
+ getColourscheme(): number;
2168
+ setColourscheme(value: number): UpdateWexCard;
2169
+
2170
+ serializeBinary(): Uint8Array;
2171
+ toObject(includeInstance?: boolean): UpdateWexCard.AsObject;
2172
+ static toObject(includeInstance: boolean, msg: UpdateWexCard): UpdateWexCard.AsObject;
2173
+ static serializeBinaryToWriter(message: UpdateWexCard, writer: jspb.BinaryWriter): void;
2174
+ static deserializeBinary(bytes: Uint8Array): UpdateWexCard;
2175
+ static deserializeBinaryFromReader(message: UpdateWexCard, reader: jspb.BinaryReader): UpdateWexCard;
2176
+ }
2177
+
2178
+ export namespace UpdateWexCard {
2179
+ export type AsObject = {
2180
+ nickname: string,
2181
+ colourscheme: number,
2130
2182
  }
2131
2183
  }
2132
2184
 
@@ -2686,6 +2738,9 @@ export class WexCardDetail extends jspb.Message {
2686
2738
  getCardname(): string;
2687
2739
  setCardname(value: string): WexCardDetail;
2688
2740
 
2741
+ getNickname(): string;
2742
+ setNickname(value: string): WexCardDetail;
2743
+
2689
2744
  serializeBinary(): Uint8Array;
2690
2745
  toObject(includeInstance?: boolean): WexCardDetail.AsObject;
2691
2746
  static toObject(includeInstance: boolean, msg: WexCardDetail): WexCardDetail.AsObject;
@@ -2703,6 +2758,7 @@ export namespace WexCardDetail {
2703
2758
  cardvariant: string,
2704
2759
  colourscheme?: ColourScheme.AsObject,
2705
2760
  cardname: string,
2761
+ nickname: string,
2706
2762
  }
2707
2763
  }
2708
2764
 
@@ -98,6 +98,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateCreditCard', null,
98
98
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest', null, global);
99
99
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodGroupRequest', null, global);
100
100
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdatePaymentMethodRequest', null, global);
101
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCard', null, global);
101
102
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateWexCardRequest', null, global);
102
103
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidateApplePayRequest', null, global);
103
104
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatePaymentMethodsRequest', null, global);
@@ -106,6 +107,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ValidatedPaymentMethodsRe
106
107
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyBankAccountRequest', null, global);
107
108
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardForUserRequest', null, global);
108
109
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.VerifyCreditCardRequest', null, global);
110
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.WexCard', null, global);
109
111
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.WexCardDetail', null, global);
110
112
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsRequest', null, global);
111
113
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ZenithPaymentDetailsResponse', null, global);
@@ -279,6 +281,27 @@ if (goog.DEBUG && !COMPILED) {
279
281
  */
280
282
  proto.sniippaymentmethodsserviceapi.Activation.displayName = 'proto.sniippaymentmethodsserviceapi.Activation';
281
283
  }
284
+ /**
285
+ * Generated by JsPbCodeGenerator.
286
+ * @param {Array=} opt_data Optional initial data array, typically from a
287
+ * server response, or constructed directly in Javascript. The array is used
288
+ * in place and becomes part of the constructed object. It is not cloned.
289
+ * If no data is provided, the constructed object will be empty, but still
290
+ * valid.
291
+ * @extends {jspb.Message}
292
+ * @constructor
293
+ */
294
+ proto.sniippaymentmethodsserviceapi.WexCard = function(opt_data) {
295
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
296
+ };
297
+ goog.inherits(proto.sniippaymentmethodsserviceapi.WexCard, jspb.Message);
298
+ if (goog.DEBUG && !COMPILED) {
299
+ /**
300
+ * @public
301
+ * @override
302
+ */
303
+ proto.sniippaymentmethodsserviceapi.WexCard.displayName = 'proto.sniippaymentmethodsserviceapi.WexCard';
304
+ }
282
305
  /**
283
306
  * Generated by JsPbCodeGenerator.
284
307
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1476,6 +1499,27 @@ if (goog.DEBUG && !COMPILED) {
1476
1499
  */
1477
1500
  proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.displayName = 'proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest';
1478
1501
  }
1502
+ /**
1503
+ * Generated by JsPbCodeGenerator.
1504
+ * @param {Array=} opt_data Optional initial data array, typically from a
1505
+ * server response, or constructed directly in Javascript. The array is used
1506
+ * in place and becomes part of the constructed object. It is not cloned.
1507
+ * If no data is provided, the constructed object will be empty, but still
1508
+ * valid.
1509
+ * @extends {jspb.Message}
1510
+ * @constructor
1511
+ */
1512
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard = function(opt_data) {
1513
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1514
+ };
1515
+ goog.inherits(proto.sniippaymentmethodsserviceapi.UpdateWexCard, jspb.Message);
1516
+ if (goog.DEBUG && !COMPILED) {
1517
+ /**
1518
+ * @public
1519
+ * @override
1520
+ */
1521
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateWexCard';
1522
+ }
1479
1523
  /**
1480
1524
  * Generated by JsPbCodeGenerator.
1481
1525
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3662,6 +3706,136 @@ proto.sniippaymentmethodsserviceapi.Activation.prototype.setSourceid = function(
3662
3706
 
3663
3707
 
3664
3708
 
3709
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3710
+ /**
3711
+ * Creates an object representation of this proto.
3712
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3713
+ * Optional fields that are not set will be set to undefined.
3714
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3715
+ * For the list of reserved names please see:
3716
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3717
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3718
+ * JSPB instance for transitional soy proto support:
3719
+ * http://goto/soy-param-migration
3720
+ * @return {!Object}
3721
+ */
3722
+ proto.sniippaymentmethodsserviceapi.WexCard.prototype.toObject = function(opt_includeInstance) {
3723
+ return proto.sniippaymentmethodsserviceapi.WexCard.toObject(opt_includeInstance, this);
3724
+ };
3725
+
3726
+
3727
+ /**
3728
+ * Static version of the {@see toObject} method.
3729
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3730
+ * the JSPB instance for transitional soy proto support:
3731
+ * http://goto/soy-param-migration
3732
+ * @param {!proto.sniippaymentmethodsserviceapi.WexCard} msg The msg instance to transform.
3733
+ * @return {!Object}
3734
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3735
+ */
3736
+ proto.sniippaymentmethodsserviceapi.WexCard.toObject = function(includeInstance, msg) {
3737
+ var f, obj = {
3738
+ nickname: jspb.Message.getFieldWithDefault(msg, 1, "")
3739
+ };
3740
+
3741
+ if (includeInstance) {
3742
+ obj.$jspbMessageInstance = msg;
3743
+ }
3744
+ return obj;
3745
+ };
3746
+ }
3747
+
3748
+
3749
+ /**
3750
+ * Deserializes binary data (in protobuf wire format).
3751
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3752
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCard}
3753
+ */
3754
+ proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinary = function(bytes) {
3755
+ var reader = new jspb.BinaryReader(bytes);
3756
+ var msg = new proto.sniippaymentmethodsserviceapi.WexCard;
3757
+ return proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinaryFromReader(msg, reader);
3758
+ };
3759
+
3760
+
3761
+ /**
3762
+ * Deserializes binary data (in protobuf wire format) from the
3763
+ * given reader into the given message object.
3764
+ * @param {!proto.sniippaymentmethodsserviceapi.WexCard} msg The message object to deserialize into.
3765
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3766
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCard}
3767
+ */
3768
+ proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinaryFromReader = function(msg, reader) {
3769
+ while (reader.nextField()) {
3770
+ if (reader.isEndGroup()) {
3771
+ break;
3772
+ }
3773
+ var field = reader.getFieldNumber();
3774
+ switch (field) {
3775
+ case 1:
3776
+ var value = /** @type {string} */ (reader.readString());
3777
+ msg.setNickname(value);
3778
+ break;
3779
+ default:
3780
+ reader.skipField();
3781
+ break;
3782
+ }
3783
+ }
3784
+ return msg;
3785
+ };
3786
+
3787
+
3788
+ /**
3789
+ * Serializes the message to binary data (in protobuf wire format).
3790
+ * @return {!Uint8Array}
3791
+ */
3792
+ proto.sniippaymentmethodsserviceapi.WexCard.prototype.serializeBinary = function() {
3793
+ var writer = new jspb.BinaryWriter();
3794
+ proto.sniippaymentmethodsserviceapi.WexCard.serializeBinaryToWriter(this, writer);
3795
+ return writer.getResultBuffer();
3796
+ };
3797
+
3798
+
3799
+ /**
3800
+ * Serializes the given message to binary data (in protobuf wire
3801
+ * format), writing to the given BinaryWriter.
3802
+ * @param {!proto.sniippaymentmethodsserviceapi.WexCard} message
3803
+ * @param {!jspb.BinaryWriter} writer
3804
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3805
+ */
3806
+ proto.sniippaymentmethodsserviceapi.WexCard.serializeBinaryToWriter = function(message, writer) {
3807
+ var f = undefined;
3808
+ f = message.getNickname();
3809
+ if (f.length > 0) {
3810
+ writer.writeString(
3811
+ 1,
3812
+ f
3813
+ );
3814
+ }
3815
+ };
3816
+
3817
+
3818
+ /**
3819
+ * optional string nickname = 1;
3820
+ * @return {string}
3821
+ */
3822
+ proto.sniippaymentmethodsserviceapi.WexCard.prototype.getNickname = function() {
3823
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3824
+ };
3825
+
3826
+
3827
+ /**
3828
+ * @param {string} value
3829
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCard} returns this
3830
+ */
3831
+ proto.sniippaymentmethodsserviceapi.WexCard.prototype.setNickname = function(value) {
3832
+ return jspb.Message.setProto3StringField(this, 1, value);
3833
+ };
3834
+
3835
+
3836
+
3837
+
3838
+
3665
3839
  if (jspb.Message.GENERATE_TO_OBJECT) {
3666
3840
  /**
3667
3841
  * Creates an object representation of this proto.
@@ -3696,7 +3870,8 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.toObject = function(include
3696
3870
  bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.BankAccount.toObject(includeInstance, f),
3697
3871
  accesstoken: jspb.Message.getFieldWithDefault(msg, 4, ""),
3698
3872
  applepay: (f = msg.getApplepay()) && proto.sniippaymentmethodsserviceapi.ApplePay.toObject(includeInstance, f),
3699
- googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f)
3873
+ googlepay: (f = msg.getGooglepay()) && proto.sniippaymentmethodsserviceapi.GooglePay.toObject(includeInstance, f),
3874
+ wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.WexCard.toObject(includeInstance, f)
3700
3875
  };
3701
3876
 
3702
3877
  if (includeInstance) {
@@ -3761,6 +3936,11 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.deserializeBinaryFromReader
3761
3936
  reader.readMessage(value,proto.sniippaymentmethodsserviceapi.GooglePay.deserializeBinaryFromReader);
3762
3937
  msg.setGooglepay(value);
3763
3938
  break;
3939
+ case 7:
3940
+ var value = new proto.sniippaymentmethodsserviceapi.WexCard;
3941
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.WexCard.deserializeBinaryFromReader);
3942
+ msg.setWexcard(value);
3943
+ break;
3764
3944
  default:
3765
3945
  reader.skipField();
3766
3946
  break;
@@ -3836,6 +4016,14 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.serializeBinaryToWriter = f
3836
4016
  proto.sniippaymentmethodsserviceapi.GooglePay.serializeBinaryToWriter
3837
4017
  );
3838
4018
  }
4019
+ f = message.getWexcard();
4020
+ if (f != null) {
4021
+ writer.writeMessage(
4022
+ 7,
4023
+ f,
4024
+ proto.sniippaymentmethodsserviceapi.WexCard.serializeBinaryToWriter
4025
+ );
4026
+ }
3839
4027
  };
3840
4028
 
3841
4029
 
@@ -4023,6 +4211,43 @@ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasGooglepay = fu
4023
4211
  };
4024
4212
 
4025
4213
 
4214
+ /**
4215
+ * optional WexCard wexCard = 7;
4216
+ * @return {?proto.sniippaymentmethodsserviceapi.WexCard}
4217
+ */
4218
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.getWexcard = function() {
4219
+ return /** @type{?proto.sniippaymentmethodsserviceapi.WexCard} */ (
4220
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.WexCard, 7));
4221
+ };
4222
+
4223
+
4224
+ /**
4225
+ * @param {?proto.sniippaymentmethodsserviceapi.WexCard|undefined} value
4226
+ * @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
4227
+ */
4228
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.setWexcard = function(value) {
4229
+ return jspb.Message.setWrapperField(this, 7, value);
4230
+ };
4231
+
4232
+
4233
+ /**
4234
+ * Clears the message field making it undefined.
4235
+ * @return {!proto.sniippaymentmethodsserviceapi.AddPaymentMethod} returns this
4236
+ */
4237
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.clearWexcard = function() {
4238
+ return this.setWexcard(undefined);
4239
+ };
4240
+
4241
+
4242
+ /**
4243
+ * Returns whether this field is set.
4244
+ * @return {boolean}
4245
+ */
4246
+ proto.sniippaymentmethodsserviceapi.AddPaymentMethod.prototype.hasWexcard = function() {
4247
+ return jspb.Message.getField(this, 7) != null;
4248
+ };
4249
+
4250
+
4026
4251
 
4027
4252
 
4028
4253
 
@@ -17872,7 +18097,8 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.toObject = functi
17872
18097
  paymenttype: jspb.Message.getFieldWithDefault(msg, 2, ""),
17873
18098
  creditcard: (f = msg.getCreditcard()) && proto.sniippaymentmethodsserviceapi.UpdateCreditCard.toObject(includeInstance, f),
17874
18099
  bankaccount: (f = msg.getBankaccount()) && proto.sniippaymentmethodsserviceapi.UpdateBankAccount.toObject(includeInstance, f),
17875
- accesstoken: jspb.Message.getFieldWithDefault(msg, 5, "")
18100
+ accesstoken: jspb.Message.getFieldWithDefault(msg, 5, ""),
18101
+ wexcard: (f = msg.getWexcard()) && proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject(includeInstance, f)
17876
18102
  };
17877
18103
 
17878
18104
  if (includeInstance) {
@@ -17931,6 +18157,11 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.deserializeBinary
17931
18157
  var value = /** @type {string} */ (reader.readString());
17932
18158
  msg.setAccesstoken(value);
17933
18159
  break;
18160
+ case 6:
18161
+ var value = new proto.sniippaymentmethodsserviceapi.UpdateWexCard;
18162
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinaryFromReader);
18163
+ msg.setWexcard(value);
18164
+ break;
17934
18165
  default:
17935
18166
  reader.skipField();
17936
18167
  break;
@@ -17997,6 +18228,14 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.serializeBinaryTo
17997
18228
  f
17998
18229
  );
17999
18230
  }
18231
+ f = message.getWexcard();
18232
+ if (f != null) {
18233
+ writer.writeMessage(
18234
+ 6,
18235
+ f,
18236
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.serializeBinaryToWriter
18237
+ );
18238
+ }
18000
18239
  };
18001
18240
 
18002
18241
 
@@ -18128,6 +18367,203 @@ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setAcce
18128
18367
  };
18129
18368
 
18130
18369
 
18370
+ /**
18371
+ * optional UpdateWexCard wexCard = 6;
18372
+ * @return {?proto.sniippaymentmethodsserviceapi.UpdateWexCard}
18373
+ */
18374
+ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.getWexcard = function() {
18375
+ return /** @type{?proto.sniippaymentmethodsserviceapi.UpdateWexCard} */ (
18376
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.UpdateWexCard, 6));
18377
+ };
18378
+
18379
+
18380
+ /**
18381
+ * @param {?proto.sniippaymentmethodsserviceapi.UpdateWexCard|undefined} value
18382
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} returns this
18383
+ */
18384
+ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.setWexcard = function(value) {
18385
+ return jspb.Message.setWrapperField(this, 6, value);
18386
+ };
18387
+
18388
+
18389
+ /**
18390
+ * Clears the message field making it undefined.
18391
+ * @return {!proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest} returns this
18392
+ */
18393
+ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.clearWexcard = function() {
18394
+ return this.setWexcard(undefined);
18395
+ };
18396
+
18397
+
18398
+ /**
18399
+ * Returns whether this field is set.
18400
+ * @return {boolean}
18401
+ */
18402
+ proto.sniippaymentmethodsserviceapi.PaymentMethodUpdateRequest.prototype.hasWexcard = function() {
18403
+ return jspb.Message.getField(this, 6) != null;
18404
+ };
18405
+
18406
+
18407
+
18408
+
18409
+
18410
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18411
+ /**
18412
+ * Creates an object representation of this proto.
18413
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18414
+ * Optional fields that are not set will be set to undefined.
18415
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18416
+ * For the list of reserved names please see:
18417
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18418
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18419
+ * JSPB instance for transitional soy proto support:
18420
+ * http://goto/soy-param-migration
18421
+ * @return {!Object}
18422
+ */
18423
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.toObject = function(opt_includeInstance) {
18424
+ return proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject(opt_includeInstance, this);
18425
+ };
18426
+
18427
+
18428
+ /**
18429
+ * Static version of the {@see toObject} method.
18430
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18431
+ * the JSPB instance for transitional soy proto support:
18432
+ * http://goto/soy-param-migration
18433
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} msg The msg instance to transform.
18434
+ * @return {!Object}
18435
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18436
+ */
18437
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.toObject = function(includeInstance, msg) {
18438
+ var f, obj = {
18439
+ nickname: jspb.Message.getFieldWithDefault(msg, 1, ""),
18440
+ colourscheme: jspb.Message.getFieldWithDefault(msg, 2, 0)
18441
+ };
18442
+
18443
+ if (includeInstance) {
18444
+ obj.$jspbMessageInstance = msg;
18445
+ }
18446
+ return obj;
18447
+ };
18448
+ }
18449
+
18450
+
18451
+ /**
18452
+ * Deserializes binary data (in protobuf wire format).
18453
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18454
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard}
18455
+ */
18456
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinary = function(bytes) {
18457
+ var reader = new jspb.BinaryReader(bytes);
18458
+ var msg = new proto.sniippaymentmethodsserviceapi.UpdateWexCard;
18459
+ return proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinaryFromReader(msg, reader);
18460
+ };
18461
+
18462
+
18463
+ /**
18464
+ * Deserializes binary data (in protobuf wire format) from the
18465
+ * given reader into the given message object.
18466
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} msg The message object to deserialize into.
18467
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18468
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard}
18469
+ */
18470
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.deserializeBinaryFromReader = function(msg, reader) {
18471
+ while (reader.nextField()) {
18472
+ if (reader.isEndGroup()) {
18473
+ break;
18474
+ }
18475
+ var field = reader.getFieldNumber();
18476
+ switch (field) {
18477
+ case 1:
18478
+ var value = /** @type {string} */ (reader.readString());
18479
+ msg.setNickname(value);
18480
+ break;
18481
+ case 2:
18482
+ var value = /** @type {number} */ (reader.readInt64());
18483
+ msg.setColourscheme(value);
18484
+ break;
18485
+ default:
18486
+ reader.skipField();
18487
+ break;
18488
+ }
18489
+ }
18490
+ return msg;
18491
+ };
18492
+
18493
+
18494
+ /**
18495
+ * Serializes the message to binary data (in protobuf wire format).
18496
+ * @return {!Uint8Array}
18497
+ */
18498
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.serializeBinary = function() {
18499
+ var writer = new jspb.BinaryWriter();
18500
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.serializeBinaryToWriter(this, writer);
18501
+ return writer.getResultBuffer();
18502
+ };
18503
+
18504
+
18505
+ /**
18506
+ * Serializes the given message to binary data (in protobuf wire
18507
+ * format), writing to the given BinaryWriter.
18508
+ * @param {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} message
18509
+ * @param {!jspb.BinaryWriter} writer
18510
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18511
+ */
18512
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.serializeBinaryToWriter = function(message, writer) {
18513
+ var f = undefined;
18514
+ f = message.getNickname();
18515
+ if (f.length > 0) {
18516
+ writer.writeString(
18517
+ 1,
18518
+ f
18519
+ );
18520
+ }
18521
+ f = message.getColourscheme();
18522
+ if (f !== 0) {
18523
+ writer.writeInt64(
18524
+ 2,
18525
+ f
18526
+ );
18527
+ }
18528
+ };
18529
+
18530
+
18531
+ /**
18532
+ * optional string nickname = 1;
18533
+ * @return {string}
18534
+ */
18535
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.getNickname = function() {
18536
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18537
+ };
18538
+
18539
+
18540
+ /**
18541
+ * @param {string} value
18542
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} returns this
18543
+ */
18544
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.setNickname = function(value) {
18545
+ return jspb.Message.setProto3StringField(this, 1, value);
18546
+ };
18547
+
18548
+
18549
+ /**
18550
+ * optional int64 colourScheme = 2;
18551
+ * @return {number}
18552
+ */
18553
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.getColourscheme = function() {
18554
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
18555
+ };
18556
+
18557
+
18558
+ /**
18559
+ * @param {number} value
18560
+ * @return {!proto.sniippaymentmethodsserviceapi.UpdateWexCard} returns this
18561
+ */
18562
+ proto.sniippaymentmethodsserviceapi.UpdateWexCard.prototype.setColourscheme = function(value) {
18563
+ return jspb.Message.setProto3IntField(this, 2, value);
18564
+ };
18565
+
18566
+
18131
18567
 
18132
18568
  /**
18133
18569
  * List of repeated fields within this message type.
@@ -22187,7 +22623,8 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.toObject = function(includeIns
22187
22623
  redirecturl: jspb.Message.getFieldWithDefault(msg, 4, ""),
22188
22624
  cardvariant: jspb.Message.getFieldWithDefault(msg, 5, ""),
22189
22625
  colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
22190
- cardname: jspb.Message.getFieldWithDefault(msg, 7, "")
22626
+ cardname: jspb.Message.getFieldWithDefault(msg, 7, ""),
22627
+ nickname: jspb.Message.getFieldWithDefault(msg, 8, "")
22191
22628
  };
22192
22629
 
22193
22630
  if (includeInstance) {
@@ -22253,6 +22690,10 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.deserializeBinaryFromReader =
22253
22690
  var value = /** @type {string} */ (reader.readString());
22254
22691
  msg.setCardname(value);
22255
22692
  break;
22693
+ case 8:
22694
+ var value = /** @type {string} */ (reader.readString());
22695
+ msg.setNickname(value);
22696
+ break;
22256
22697
  default:
22257
22698
  reader.skipField();
22258
22699
  break;
@@ -22332,6 +22773,13 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.serializeBinaryToWriter = func
22332
22773
  f
22333
22774
  );
22334
22775
  }
22776
+ f = message.getNickname();
22777
+ if (f.length > 0) {
22778
+ writer.writeString(
22779
+ 8,
22780
+ f
22781
+ );
22782
+ }
22335
22783
  };
22336
22784
 
22337
22785
 
@@ -22480,6 +22928,24 @@ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setCardname = functi
22480
22928
  };
22481
22929
 
22482
22930
 
22931
+ /**
22932
+ * optional string nickname = 8;
22933
+ * @return {string}
22934
+ */
22935
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.getNickname = function() {
22936
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
22937
+ };
22938
+
22939
+
22940
+ /**
22941
+ * @param {string} value
22942
+ * @return {!proto.sniippaymentmethodsserviceapi.WexCardDetail} returns this
22943
+ */
22944
+ proto.sniippaymentmethodsserviceapi.WexCardDetail.prototype.setNickname = function(value) {
22945
+ return jspb.Message.setProto3StringField(this, 8, value);
22946
+ };
22947
+
22948
+
22483
22949
 
22484
22950
 
22485
22951
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb-ts",
3
- "version": "24.12.5785",
3
+ "version": "24.12.5793",
4
4
  "description": "payment-methods-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",