protobuf-platform 1.2.716 → 1.2.718

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/user/user_pb.js CHANGED
@@ -249,6 +249,7 @@ goog.exportSymbol('proto.user.SegmentSessionRuleRequest', null, global);
249
249
  goog.exportSymbol('proto.user.SegmentStatusResponse', null, global);
250
250
  goog.exportSymbol('proto.user.SetNewPasswordConfirmedRequest', null, global);
251
251
  goog.exportSymbol('proto.user.SetNewPasswordFromSmsResetRequest', null, global);
252
+ goog.exportSymbol('proto.user.SetPreferredWalletCurrencyRequest', null, global);
252
253
  goog.exportSymbol('proto.user.SetResponsibleGamingPolicyRequest', null, global);
253
254
  goog.exportSymbol('proto.user.SmsResetPasswordConfirmationRequest', null, global);
254
255
  goog.exportSymbol('proto.user.StartUserKycVerificationRequest', null, global);
@@ -342,6 +343,7 @@ goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
342
343
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeRequest', null, global);
343
344
  goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeResponse', null, global);
344
345
  goog.exportSymbol('proto.user.VkCommonIdLoginRequest', null, global);
346
+ goog.exportSymbol('proto.user.WalletPreferenceResponse', null, global);
345
347
  goog.exportSymbol('proto.user.XLoginRequest', null, global);
346
348
  goog.exportSymbol('proto.user.YandexLoginRequest', null, global);
347
349
  /**
@@ -1205,6 +1207,48 @@ if (goog.DEBUG && !COMPILED) {
1205
1207
  */
1206
1208
  proto.user.CheckWithdrawalEligibilityResponse.displayName = 'proto.user.CheckWithdrawalEligibilityResponse';
1207
1209
  }
1210
+ /**
1211
+ * Generated by JsPbCodeGenerator.
1212
+ * @param {Array=} opt_data Optional initial data array, typically from a
1213
+ * server response, or constructed directly in Javascript. The array is used
1214
+ * in place and becomes part of the constructed object. It is not cloned.
1215
+ * If no data is provided, the constructed object will be empty, but still
1216
+ * valid.
1217
+ * @extends {jspb.Message}
1218
+ * @constructor
1219
+ */
1220
+ proto.user.SetPreferredWalletCurrencyRequest = function(opt_data) {
1221
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1222
+ };
1223
+ goog.inherits(proto.user.SetPreferredWalletCurrencyRequest, jspb.Message);
1224
+ if (goog.DEBUG && !COMPILED) {
1225
+ /**
1226
+ * @public
1227
+ * @override
1228
+ */
1229
+ proto.user.SetPreferredWalletCurrencyRequest.displayName = 'proto.user.SetPreferredWalletCurrencyRequest';
1230
+ }
1231
+ /**
1232
+ * Generated by JsPbCodeGenerator.
1233
+ * @param {Array=} opt_data Optional initial data array, typically from a
1234
+ * server response, or constructed directly in Javascript. The array is used
1235
+ * in place and becomes part of the constructed object. It is not cloned.
1236
+ * If no data is provided, the constructed object will be empty, but still
1237
+ * valid.
1238
+ * @extends {jspb.Message}
1239
+ * @constructor
1240
+ */
1241
+ proto.user.WalletPreferenceResponse = function(opt_data) {
1242
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1243
+ };
1244
+ goog.inherits(proto.user.WalletPreferenceResponse, jspb.Message);
1245
+ if (goog.DEBUG && !COMPILED) {
1246
+ /**
1247
+ * @public
1248
+ * @override
1249
+ */
1250
+ proto.user.WalletPreferenceResponse.displayName = 'proto.user.WalletPreferenceResponse';
1251
+ }
1208
1252
  /**
1209
1253
  * Generated by JsPbCodeGenerator.
1210
1254
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -10868,7 +10912,8 @@ proto.user.LoggedInResponse.toObject = function(includeInstance, msg) {
10868
10912
  twoFaTempToken: jspb.Message.getFieldWithDefault(msg, 14, ""),
10869
10913
  twoFaQrDataUrl: jspb.Message.getFieldWithDefault(msg, 15, ""),
10870
10914
  presetId: jspb.Message.getFieldWithDefault(msg, 16, 0),
10871
- roleId: jspb.Message.getFieldWithDefault(msg, 17, 0)
10915
+ roleId: jspb.Message.getFieldWithDefault(msg, 17, 0),
10916
+ preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 18, "")
10872
10917
  };
10873
10918
 
10874
10919
  if (includeInstance) {
@@ -10973,6 +11018,10 @@ proto.user.LoggedInResponse.deserializeBinaryFromReader = function(msg, reader)
10973
11018
  var value = /** @type {number} */ (reader.readInt32());
10974
11019
  msg.setRoleId(value);
10975
11020
  break;
11021
+ case 18:
11022
+ var value = /** @type {string} */ (reader.readString());
11023
+ msg.setPreferredWalletCurrency(value);
11024
+ break;
10976
11025
  default:
10977
11026
  reader.skipField();
10978
11027
  break;
@@ -11121,6 +11170,13 @@ proto.user.LoggedInResponse.serializeBinaryToWriter = function(message, writer)
11121
11170
  f
11122
11171
  );
11123
11172
  }
11173
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
11174
+ if (f != null) {
11175
+ writer.writeString(
11176
+ 18,
11177
+ f
11178
+ );
11179
+ }
11124
11180
  };
11125
11181
 
11126
11182
 
@@ -11682,6 +11738,42 @@ proto.user.LoggedInResponse.prototype.hasRoleId = function() {
11682
11738
  };
11683
11739
 
11684
11740
 
11741
+ /**
11742
+ * optional string preferred_wallet_currency = 18;
11743
+ * @return {string}
11744
+ */
11745
+ proto.user.LoggedInResponse.prototype.getPreferredWalletCurrency = function() {
11746
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
11747
+ };
11748
+
11749
+
11750
+ /**
11751
+ * @param {string} value
11752
+ * @return {!proto.user.LoggedInResponse} returns this
11753
+ */
11754
+ proto.user.LoggedInResponse.prototype.setPreferredWalletCurrency = function(value) {
11755
+ return jspb.Message.setField(this, 18, value);
11756
+ };
11757
+
11758
+
11759
+ /**
11760
+ * Clears the field making it undefined.
11761
+ * @return {!proto.user.LoggedInResponse} returns this
11762
+ */
11763
+ proto.user.LoggedInResponse.prototype.clearPreferredWalletCurrency = function() {
11764
+ return jspb.Message.setField(this, 18, undefined);
11765
+ };
11766
+
11767
+
11768
+ /**
11769
+ * Returns whether this field is set.
11770
+ * @return {boolean}
11771
+ */
11772
+ proto.user.LoggedInResponse.prototype.hasPreferredWalletCurrency = function() {
11773
+ return jspb.Message.getField(this, 18) != null;
11774
+ };
11775
+
11776
+
11685
11777
 
11686
11778
 
11687
11779
 
@@ -25348,6 +25440,314 @@ proto.user.CheckWithdrawalEligibilityResponse.prototype.hasCurrencyScale = funct
25348
25440
 
25349
25441
 
25350
25442
 
25443
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25444
+ /**
25445
+ * Creates an object representation of this proto.
25446
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25447
+ * Optional fields that are not set will be set to undefined.
25448
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25449
+ * For the list of reserved names please see:
25450
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25451
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25452
+ * JSPB instance for transitional soy proto support:
25453
+ * http://goto/soy-param-migration
25454
+ * @return {!Object}
25455
+ */
25456
+ proto.user.SetPreferredWalletCurrencyRequest.prototype.toObject = function(opt_includeInstance) {
25457
+ return proto.user.SetPreferredWalletCurrencyRequest.toObject(opt_includeInstance, this);
25458
+ };
25459
+
25460
+
25461
+ /**
25462
+ * Static version of the {@see toObject} method.
25463
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25464
+ * the JSPB instance for transitional soy proto support:
25465
+ * http://goto/soy-param-migration
25466
+ * @param {!proto.user.SetPreferredWalletCurrencyRequest} msg The msg instance to transform.
25467
+ * @return {!Object}
25468
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25469
+ */
25470
+ proto.user.SetPreferredWalletCurrencyRequest.toObject = function(includeInstance, msg) {
25471
+ var f, obj = {
25472
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
25473
+ currency: jspb.Message.getFieldWithDefault(msg, 2, "")
25474
+ };
25475
+
25476
+ if (includeInstance) {
25477
+ obj.$jspbMessageInstance = msg;
25478
+ }
25479
+ return obj;
25480
+ };
25481
+ }
25482
+
25483
+
25484
+ /**
25485
+ * Deserializes binary data (in protobuf wire format).
25486
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25487
+ * @return {!proto.user.SetPreferredWalletCurrencyRequest}
25488
+ */
25489
+ proto.user.SetPreferredWalletCurrencyRequest.deserializeBinary = function(bytes) {
25490
+ var reader = new jspb.BinaryReader(bytes);
25491
+ var msg = new proto.user.SetPreferredWalletCurrencyRequest;
25492
+ return proto.user.SetPreferredWalletCurrencyRequest.deserializeBinaryFromReader(msg, reader);
25493
+ };
25494
+
25495
+
25496
+ /**
25497
+ * Deserializes binary data (in protobuf wire format) from the
25498
+ * given reader into the given message object.
25499
+ * @param {!proto.user.SetPreferredWalletCurrencyRequest} msg The message object to deserialize into.
25500
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25501
+ * @return {!proto.user.SetPreferredWalletCurrencyRequest}
25502
+ */
25503
+ proto.user.SetPreferredWalletCurrencyRequest.deserializeBinaryFromReader = function(msg, reader) {
25504
+ while (reader.nextField()) {
25505
+ if (reader.isEndGroup()) {
25506
+ break;
25507
+ }
25508
+ var field = reader.getFieldNumber();
25509
+ switch (field) {
25510
+ case 1:
25511
+ var value = /** @type {number} */ (reader.readInt32());
25512
+ msg.setUserId(value);
25513
+ break;
25514
+ case 2:
25515
+ var value = /** @type {string} */ (reader.readString());
25516
+ msg.setCurrency(value);
25517
+ break;
25518
+ default:
25519
+ reader.skipField();
25520
+ break;
25521
+ }
25522
+ }
25523
+ return msg;
25524
+ };
25525
+
25526
+
25527
+ /**
25528
+ * Serializes the message to binary data (in protobuf wire format).
25529
+ * @return {!Uint8Array}
25530
+ */
25531
+ proto.user.SetPreferredWalletCurrencyRequest.prototype.serializeBinary = function() {
25532
+ var writer = new jspb.BinaryWriter();
25533
+ proto.user.SetPreferredWalletCurrencyRequest.serializeBinaryToWriter(this, writer);
25534
+ return writer.getResultBuffer();
25535
+ };
25536
+
25537
+
25538
+ /**
25539
+ * Serializes the given message to binary data (in protobuf wire
25540
+ * format), writing to the given BinaryWriter.
25541
+ * @param {!proto.user.SetPreferredWalletCurrencyRequest} message
25542
+ * @param {!jspb.BinaryWriter} writer
25543
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25544
+ */
25545
+ proto.user.SetPreferredWalletCurrencyRequest.serializeBinaryToWriter = function(message, writer) {
25546
+ var f = undefined;
25547
+ f = message.getUserId();
25548
+ if (f !== 0) {
25549
+ writer.writeInt32(
25550
+ 1,
25551
+ f
25552
+ );
25553
+ }
25554
+ f = message.getCurrency();
25555
+ if (f.length > 0) {
25556
+ writer.writeString(
25557
+ 2,
25558
+ f
25559
+ );
25560
+ }
25561
+ };
25562
+
25563
+
25564
+ /**
25565
+ * optional int32 user_id = 1;
25566
+ * @return {number}
25567
+ */
25568
+ proto.user.SetPreferredWalletCurrencyRequest.prototype.getUserId = function() {
25569
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
25570
+ };
25571
+
25572
+
25573
+ /**
25574
+ * @param {number} value
25575
+ * @return {!proto.user.SetPreferredWalletCurrencyRequest} returns this
25576
+ */
25577
+ proto.user.SetPreferredWalletCurrencyRequest.prototype.setUserId = function(value) {
25578
+ return jspb.Message.setProto3IntField(this, 1, value);
25579
+ };
25580
+
25581
+
25582
+ /**
25583
+ * optional string currency = 2;
25584
+ * @return {string}
25585
+ */
25586
+ proto.user.SetPreferredWalletCurrencyRequest.prototype.getCurrency = function() {
25587
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
25588
+ };
25589
+
25590
+
25591
+ /**
25592
+ * @param {string} value
25593
+ * @return {!proto.user.SetPreferredWalletCurrencyRequest} returns this
25594
+ */
25595
+ proto.user.SetPreferredWalletCurrencyRequest.prototype.setCurrency = function(value) {
25596
+ return jspb.Message.setProto3StringField(this, 2, value);
25597
+ };
25598
+
25599
+
25600
+
25601
+
25602
+
25603
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25604
+ /**
25605
+ * Creates an object representation of this proto.
25606
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25607
+ * Optional fields that are not set will be set to undefined.
25608
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25609
+ * For the list of reserved names please see:
25610
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25611
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25612
+ * JSPB instance for transitional soy proto support:
25613
+ * http://goto/soy-param-migration
25614
+ * @return {!Object}
25615
+ */
25616
+ proto.user.WalletPreferenceResponse.prototype.toObject = function(opt_includeInstance) {
25617
+ return proto.user.WalletPreferenceResponse.toObject(opt_includeInstance, this);
25618
+ };
25619
+
25620
+
25621
+ /**
25622
+ * Static version of the {@see toObject} method.
25623
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25624
+ * the JSPB instance for transitional soy proto support:
25625
+ * http://goto/soy-param-migration
25626
+ * @param {!proto.user.WalletPreferenceResponse} msg The msg instance to transform.
25627
+ * @return {!Object}
25628
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25629
+ */
25630
+ proto.user.WalletPreferenceResponse.toObject = function(includeInstance, msg) {
25631
+ var f, obj = {
25632
+ preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 1, "")
25633
+ };
25634
+
25635
+ if (includeInstance) {
25636
+ obj.$jspbMessageInstance = msg;
25637
+ }
25638
+ return obj;
25639
+ };
25640
+ }
25641
+
25642
+
25643
+ /**
25644
+ * Deserializes binary data (in protobuf wire format).
25645
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25646
+ * @return {!proto.user.WalletPreferenceResponse}
25647
+ */
25648
+ proto.user.WalletPreferenceResponse.deserializeBinary = function(bytes) {
25649
+ var reader = new jspb.BinaryReader(bytes);
25650
+ var msg = new proto.user.WalletPreferenceResponse;
25651
+ return proto.user.WalletPreferenceResponse.deserializeBinaryFromReader(msg, reader);
25652
+ };
25653
+
25654
+
25655
+ /**
25656
+ * Deserializes binary data (in protobuf wire format) from the
25657
+ * given reader into the given message object.
25658
+ * @param {!proto.user.WalletPreferenceResponse} msg The message object to deserialize into.
25659
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25660
+ * @return {!proto.user.WalletPreferenceResponse}
25661
+ */
25662
+ proto.user.WalletPreferenceResponse.deserializeBinaryFromReader = function(msg, reader) {
25663
+ while (reader.nextField()) {
25664
+ if (reader.isEndGroup()) {
25665
+ break;
25666
+ }
25667
+ var field = reader.getFieldNumber();
25668
+ switch (field) {
25669
+ case 1:
25670
+ var value = /** @type {string} */ (reader.readString());
25671
+ msg.setPreferredWalletCurrency(value);
25672
+ break;
25673
+ default:
25674
+ reader.skipField();
25675
+ break;
25676
+ }
25677
+ }
25678
+ return msg;
25679
+ };
25680
+
25681
+
25682
+ /**
25683
+ * Serializes the message to binary data (in protobuf wire format).
25684
+ * @return {!Uint8Array}
25685
+ */
25686
+ proto.user.WalletPreferenceResponse.prototype.serializeBinary = function() {
25687
+ var writer = new jspb.BinaryWriter();
25688
+ proto.user.WalletPreferenceResponse.serializeBinaryToWriter(this, writer);
25689
+ return writer.getResultBuffer();
25690
+ };
25691
+
25692
+
25693
+ /**
25694
+ * Serializes the given message to binary data (in protobuf wire
25695
+ * format), writing to the given BinaryWriter.
25696
+ * @param {!proto.user.WalletPreferenceResponse} message
25697
+ * @param {!jspb.BinaryWriter} writer
25698
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25699
+ */
25700
+ proto.user.WalletPreferenceResponse.serializeBinaryToWriter = function(message, writer) {
25701
+ var f = undefined;
25702
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
25703
+ if (f != null) {
25704
+ writer.writeString(
25705
+ 1,
25706
+ f
25707
+ );
25708
+ }
25709
+ };
25710
+
25711
+
25712
+ /**
25713
+ * optional string preferred_wallet_currency = 1;
25714
+ * @return {string}
25715
+ */
25716
+ proto.user.WalletPreferenceResponse.prototype.getPreferredWalletCurrency = function() {
25717
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
25718
+ };
25719
+
25720
+
25721
+ /**
25722
+ * @param {string} value
25723
+ * @return {!proto.user.WalletPreferenceResponse} returns this
25724
+ */
25725
+ proto.user.WalletPreferenceResponse.prototype.setPreferredWalletCurrency = function(value) {
25726
+ return jspb.Message.setField(this, 1, value);
25727
+ };
25728
+
25729
+
25730
+ /**
25731
+ * Clears the field making it undefined.
25732
+ * @return {!proto.user.WalletPreferenceResponse} returns this
25733
+ */
25734
+ proto.user.WalletPreferenceResponse.prototype.clearPreferredWalletCurrency = function() {
25735
+ return jspb.Message.setField(this, 1, undefined);
25736
+ };
25737
+
25738
+
25739
+ /**
25740
+ * Returns whether this field is set.
25741
+ * @return {boolean}
25742
+ */
25743
+ proto.user.WalletPreferenceResponse.prototype.hasPreferredWalletCurrency = function() {
25744
+ return jspb.Message.getField(this, 1) != null;
25745
+ };
25746
+
25747
+
25748
+
25749
+
25750
+
25351
25751
  if (jspb.Message.GENERATE_TO_OBJECT) {
25352
25752
  /**
25353
25753
  * Creates an object representation of this proto.
@@ -25783,7 +26183,8 @@ proto.user.UserWalletBalancesResponse.prototype.toObject = function(opt_includeI
25783
26183
  proto.user.UserWalletBalancesResponse.toObject = function(includeInstance, msg) {
25784
26184
  var f, obj = {
25785
26185
  itemsList: jspb.Message.toObjectList(msg.getItemsList(),
25786
- proto.user.UserWalletBalanceItem.toObject, includeInstance)
26186
+ proto.user.UserWalletBalanceItem.toObject, includeInstance),
26187
+ preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 2, "")
25787
26188
  };
25788
26189
 
25789
26190
  if (includeInstance) {
@@ -25825,6 +26226,10 @@ proto.user.UserWalletBalancesResponse.deserializeBinaryFromReader = function(msg
25825
26226
  reader.readMessage(value,proto.user.UserWalletBalanceItem.deserializeBinaryFromReader);
25826
26227
  msg.addItems(value);
25827
26228
  break;
26229
+ case 2:
26230
+ var value = /** @type {string} */ (reader.readString());
26231
+ msg.setPreferredWalletCurrency(value);
26232
+ break;
25828
26233
  default:
25829
26234
  reader.skipField();
25830
26235
  break;
@@ -25862,6 +26267,13 @@ proto.user.UserWalletBalancesResponse.serializeBinaryToWriter = function(message
25862
26267
  proto.user.UserWalletBalanceItem.serializeBinaryToWriter
25863
26268
  );
25864
26269
  }
26270
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
26271
+ if (f != null) {
26272
+ writer.writeString(
26273
+ 2,
26274
+ f
26275
+ );
26276
+ }
25865
26277
  };
25866
26278
 
25867
26279
 
@@ -25903,6 +26315,42 @@ proto.user.UserWalletBalancesResponse.prototype.clearItemsList = function() {
25903
26315
  };
25904
26316
 
25905
26317
 
26318
+ /**
26319
+ * optional string preferred_wallet_currency = 2;
26320
+ * @return {string}
26321
+ */
26322
+ proto.user.UserWalletBalancesResponse.prototype.getPreferredWalletCurrency = function() {
26323
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
26324
+ };
26325
+
26326
+
26327
+ /**
26328
+ * @param {string} value
26329
+ * @return {!proto.user.UserWalletBalancesResponse} returns this
26330
+ */
26331
+ proto.user.UserWalletBalancesResponse.prototype.setPreferredWalletCurrency = function(value) {
26332
+ return jspb.Message.setField(this, 2, value);
26333
+ };
26334
+
26335
+
26336
+ /**
26337
+ * Clears the field making it undefined.
26338
+ * @return {!proto.user.UserWalletBalancesResponse} returns this
26339
+ */
26340
+ proto.user.UserWalletBalancesResponse.prototype.clearPreferredWalletCurrency = function() {
26341
+ return jspb.Message.setField(this, 2, undefined);
26342
+ };
26343
+
26344
+
26345
+ /**
26346
+ * Returns whether this field is set.
26347
+ * @return {boolean}
26348
+ */
26349
+ proto.user.UserWalletBalancesResponse.prototype.hasPreferredWalletCurrency = function() {
26350
+ return jspb.Message.getField(this, 2) != null;
26351
+ };
26352
+
26353
+
25906
26354
 
25907
26355
 
25908
26356
 
@@ -27802,7 +28250,8 @@ proto.user.UserDataResponse.toObject = function(includeInstance, msg) {
27802
28250
  emailSubscribedAt: jspb.Message.getFieldWithDefault(msg, 57, ""),
27803
28251
  emailUnsubscribedAt: jspb.Message.getFieldWithDefault(msg, 58, ""),
27804
28252
  isSelfExclusionActive: jspb.Message.getBooleanFieldWithDefault(msg, 59, false),
27805
- isTest: jspb.Message.getBooleanFieldWithDefault(msg, 60, false)
28253
+ isTest: jspb.Message.getBooleanFieldWithDefault(msg, 60, false),
28254
+ preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 61, "")
27806
28255
  };
27807
28256
 
27808
28257
  if (includeInstance) {
@@ -28080,6 +28529,10 @@ proto.user.UserDataResponse.deserializeBinaryFromReader = function(msg, reader)
28080
28529
  var value = /** @type {boolean} */ (reader.readBool());
28081
28530
  msg.setIsTest(value);
28082
28531
  break;
28532
+ case 61:
28533
+ var value = /** @type {string} */ (reader.readString());
28534
+ msg.setPreferredWalletCurrency(value);
28535
+ break;
28083
28536
  default:
28084
28537
  reader.skipField();
28085
28538
  break;
@@ -28530,6 +28983,13 @@ proto.user.UserDataResponse.serializeBinaryToWriter = function(message, writer)
28530
28983
  f
28531
28984
  );
28532
28985
  }
28986
+ f = /** @type {string} */ (jspb.Message.getField(message, 61));
28987
+ if (f != null) {
28988
+ writer.writeString(
28989
+ 61,
28990
+ f
28991
+ );
28992
+ }
28533
28993
  };
28534
28994
 
28535
28995
 
@@ -30658,6 +31118,42 @@ proto.user.UserDataResponse.prototype.hasIsTest = function() {
30658
31118
  };
30659
31119
 
30660
31120
 
31121
+ /**
31122
+ * optional string preferred_wallet_currency = 61;
31123
+ * @return {string}
31124
+ */
31125
+ proto.user.UserDataResponse.prototype.getPreferredWalletCurrency = function() {
31126
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 61, ""));
31127
+ };
31128
+
31129
+
31130
+ /**
31131
+ * @param {string} value
31132
+ * @return {!proto.user.UserDataResponse} returns this
31133
+ */
31134
+ proto.user.UserDataResponse.prototype.setPreferredWalletCurrency = function(value) {
31135
+ return jspb.Message.setField(this, 61, value);
31136
+ };
31137
+
31138
+
31139
+ /**
31140
+ * Clears the field making it undefined.
31141
+ * @return {!proto.user.UserDataResponse} returns this
31142
+ */
31143
+ proto.user.UserDataResponse.prototype.clearPreferredWalletCurrency = function() {
31144
+ return jspb.Message.setField(this, 61, undefined);
31145
+ };
31146
+
31147
+
31148
+ /**
31149
+ * Returns whether this field is set.
31150
+ * @return {boolean}
31151
+ */
31152
+ proto.user.UserDataResponse.prototype.hasPreferredWalletCurrency = function() {
31153
+ return jspb.Message.getField(this, 61) != null;
31154
+ };
31155
+
31156
+
30661
31157
 
30662
31158
 
30663
31159