protobuf-platform 1.2.733 → 1.2.734

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.
@@ -167,6 +167,7 @@ message CurrencyRateItem {
167
167
  optional string status = 11;
168
168
  optional string error_code = 12;
169
169
  optional string rate_decimal = 13;
170
+ optional string source_valid_until = 14;
170
171
  }
171
172
 
172
173
  message CurrenciesRatesResponse {
@@ -5856,7 +5856,8 @@ proto.config.CurrencyRateItem.toObject = function(includeInstance, msg) {
5856
5856
  isManual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
5857
5857
  status: jspb.Message.getFieldWithDefault(msg, 11, ""),
5858
5858
  errorCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
5859
- rateDecimal: jspb.Message.getFieldWithDefault(msg, 13, "")
5859
+ rateDecimal: jspb.Message.getFieldWithDefault(msg, 13, ""),
5860
+ sourceValidUntil: jspb.Message.getFieldWithDefault(msg, 14, "")
5860
5861
  };
5861
5862
 
5862
5863
  if (includeInstance) {
@@ -5945,6 +5946,10 @@ proto.config.CurrencyRateItem.deserializeBinaryFromReader = function(msg, reader
5945
5946
  var value = /** @type {string} */ (reader.readString());
5946
5947
  msg.setRateDecimal(value);
5947
5948
  break;
5949
+ case 14:
5950
+ var value = /** @type {string} */ (reader.readString());
5951
+ msg.setSourceValidUntil(value);
5952
+ break;
5948
5953
  default:
5949
5954
  reader.skipField();
5950
5955
  break;
@@ -6065,6 +6070,13 @@ proto.config.CurrencyRateItem.serializeBinaryToWriter = function(message, writer
6065
6070
  f
6066
6071
  );
6067
6072
  }
6073
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
6074
+ if (f != null) {
6075
+ writer.writeString(
6076
+ 14,
6077
+ f
6078
+ );
6079
+ }
6068
6080
  };
6069
6081
 
6070
6082
 
@@ -6482,6 +6494,42 @@ proto.config.CurrencyRateItem.prototype.hasRateDecimal = function() {
6482
6494
  };
6483
6495
 
6484
6496
 
6497
+ /**
6498
+ * optional string source_valid_until = 14;
6499
+ * @return {string}
6500
+ */
6501
+ proto.config.CurrencyRateItem.prototype.getSourceValidUntil = function() {
6502
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
6503
+ };
6504
+
6505
+
6506
+ /**
6507
+ * @param {string} value
6508
+ * @return {!proto.config.CurrencyRateItem} returns this
6509
+ */
6510
+ proto.config.CurrencyRateItem.prototype.setSourceValidUntil = function(value) {
6511
+ return jspb.Message.setField(this, 14, value);
6512
+ };
6513
+
6514
+
6515
+ /**
6516
+ * Clears the field making it undefined.
6517
+ * @return {!proto.config.CurrencyRateItem} returns this
6518
+ */
6519
+ proto.config.CurrencyRateItem.prototype.clearSourceValidUntil = function() {
6520
+ return jspb.Message.setField(this, 14, undefined);
6521
+ };
6522
+
6523
+
6524
+ /**
6525
+ * Returns whether this field is set.
6526
+ * @return {boolean}
6527
+ */
6528
+ proto.config.CurrencyRateItem.prototype.hasSourceValidUntil = function() {
6529
+ return jspb.Message.getField(this, 14) != null;
6530
+ };
6531
+
6532
+
6485
6533
 
6486
6534
  /**
6487
6535
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.733",
3
+ "version": "1.2.734",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1052,6 +1052,7 @@ message CheckWithdrawalEligibilityResponse {
1052
1052
  optional string currency = 4;
1053
1053
  optional int32 currency_scale = 5;
1054
1054
  optional string available_real_major = 6;
1055
+ optional string available_real_minor_exact = 7;
1055
1056
  }
1056
1057
  message GetWithdrawalWagerSnapshotRequest {
1057
1058
  int32 user_id = 1;
@@ -1187,6 +1188,7 @@ message ResolveGameWalletContextRequest {
1187
1188
  optional string preferred_wallet_currency = 5;
1188
1189
  // Validate an actual wallet without creating one (including empty wallets).
1189
1190
  optional bool existing_wallet_only = 6;
1191
+ optional bool include_withdrawal_availability = 7;
1190
1192
  }
1191
1193
  message ResolveGameWalletContextResponse {
1192
1194
  int32 user_id = 1;
@@ -43644,7 +43644,8 @@ proto.payment.CheckWithdrawalEligibilityResponse.toObject = function(includeInst
43644
43644
  availableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
43645
43645
  currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
43646
43646
  currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0),
43647
- availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, "")
43647
+ availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, ""),
43648
+ availableRealMinorExact: jspb.Message.getFieldWithDefault(msg, 7, "")
43648
43649
  };
43649
43650
 
43650
43651
  if (includeInstance) {
@@ -43705,6 +43706,10 @@ proto.payment.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = f
43705
43706
  var value = /** @type {string} */ (reader.readString());
43706
43707
  msg.setAvailableRealMajor(value);
43707
43708
  break;
43709
+ case 7:
43710
+ var value = /** @type {string} */ (reader.readString());
43711
+ msg.setAvailableRealMinorExact(value);
43712
+ break;
43708
43713
  default:
43709
43714
  reader.skipField();
43710
43715
  break;
@@ -43776,6 +43781,13 @@ proto.payment.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = funct
43776
43781
  f
43777
43782
  );
43778
43783
  }
43784
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
43785
+ if (f != null) {
43786
+ writer.writeString(
43787
+ 7,
43788
+ f
43789
+ );
43790
+ }
43779
43791
  };
43780
43792
 
43781
43793
 
@@ -43977,6 +43989,42 @@ proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor
43977
43989
  };
43978
43990
 
43979
43991
 
43992
+ /**
43993
+ * optional string available_real_minor_exact = 7;
43994
+ * @return {string}
43995
+ */
43996
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMinorExact = function() {
43997
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
43998
+ };
43999
+
44000
+
44001
+ /**
44002
+ * @param {string} value
44003
+ * @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
44004
+ */
44005
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMinorExact = function(value) {
44006
+ return jspb.Message.setField(this, 7, value);
44007
+ };
44008
+
44009
+
44010
+ /**
44011
+ * Clears the field making it undefined.
44012
+ * @return {!proto.payment.CheckWithdrawalEligibilityResponse} returns this
44013
+ */
44014
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMinorExact = function() {
44015
+ return jspb.Message.setField(this, 7, undefined);
44016
+ };
44017
+
44018
+
44019
+ /**
44020
+ * Returns whether this field is set.
44021
+ * @return {boolean}
44022
+ */
44023
+ proto.payment.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMinorExact = function() {
44024
+ return jspb.Message.getField(this, 7) != null;
44025
+ };
44026
+
44027
+
43980
44028
 
43981
44029
 
43982
44030
 
@@ -48311,7 +48359,8 @@ proto.payment.ResolveGameWalletContextRequest.toObject = function(includeInstanc
48311
48359
  includeBonusBalance: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
48312
48360
  prepareFinancialAdmission: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
48313
48361
  preferredWalletCurrency: jspb.Message.getFieldWithDefault(msg, 5, ""),
48314
- existingWalletOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
48362
+ existingWalletOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
48363
+ includeWithdrawalAvailability: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
48315
48364
  };
48316
48365
 
48317
48366
  if (includeInstance) {
@@ -48372,6 +48421,10 @@ proto.payment.ResolveGameWalletContextRequest.deserializeBinaryFromReader = func
48372
48421
  var value = /** @type {boolean} */ (reader.readBool());
48373
48422
  msg.setExistingWalletOnly(value);
48374
48423
  break;
48424
+ case 7:
48425
+ var value = /** @type {boolean} */ (reader.readBool());
48426
+ msg.setIncludeWithdrawalAvailability(value);
48427
+ break;
48375
48428
  default:
48376
48429
  reader.skipField();
48377
48430
  break;
@@ -48443,6 +48496,13 @@ proto.payment.ResolveGameWalletContextRequest.serializeBinaryToWriter = function
48443
48496
  f
48444
48497
  );
48445
48498
  }
48499
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
48500
+ if (f != null) {
48501
+ writer.writeBool(
48502
+ 7,
48503
+ f
48504
+ );
48505
+ }
48446
48506
  };
48447
48507
 
48448
48508
 
@@ -48644,6 +48704,42 @@ proto.payment.ResolveGameWalletContextRequest.prototype.hasExistingWalletOnly =
48644
48704
  };
48645
48705
 
48646
48706
 
48707
+ /**
48708
+ * optional bool include_withdrawal_availability = 7;
48709
+ * @return {boolean}
48710
+ */
48711
+ proto.payment.ResolveGameWalletContextRequest.prototype.getIncludeWithdrawalAvailability = function() {
48712
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
48713
+ };
48714
+
48715
+
48716
+ /**
48717
+ * @param {boolean} value
48718
+ * @return {!proto.payment.ResolveGameWalletContextRequest} returns this
48719
+ */
48720
+ proto.payment.ResolveGameWalletContextRequest.prototype.setIncludeWithdrawalAvailability = function(value) {
48721
+ return jspb.Message.setField(this, 7, value);
48722
+ };
48723
+
48724
+
48725
+ /**
48726
+ * Clears the field making it undefined.
48727
+ * @return {!proto.payment.ResolveGameWalletContextRequest} returns this
48728
+ */
48729
+ proto.payment.ResolveGameWalletContextRequest.prototype.clearIncludeWithdrawalAvailability = function() {
48730
+ return jspb.Message.setField(this, 7, undefined);
48731
+ };
48732
+
48733
+
48734
+ /**
48735
+ * Returns whether this field is set.
48736
+ * @return {boolean}
48737
+ */
48738
+ proto.payment.ResolveGameWalletContextRequest.prototype.hasIncludeWithdrawalAvailability = function() {
48739
+ return jspb.Message.getField(this, 7) != null;
48740
+ };
48741
+
48742
+
48647
48743
 
48648
48744
  /**
48649
48745
  * List of repeated fields within this message type.
package/user/user.proto CHANGED
@@ -670,6 +670,7 @@ message CheckWithdrawalEligibilityResponse {
670
670
  optional string currency = 4;
671
671
  optional int32 currency_scale = 5;
672
672
  optional string available_real_major = 6;
673
+ optional string available_real_minor_exact = 7;
673
674
  }
674
675
  message SetPreferredWalletCurrencyRequest {
675
676
  int32 user_id = 1;
package/user/user_pb.js CHANGED
@@ -26102,7 +26102,8 @@ proto.user.CheckWithdrawalEligibilityResponse.toObject = function(includeInstanc
26102
26102
  availableRealMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
26103
26103
  currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
26104
26104
  currencyScale: jspb.Message.getFieldWithDefault(msg, 5, 0),
26105
- availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, "")
26105
+ availableRealMajor: jspb.Message.getFieldWithDefault(msg, 6, ""),
26106
+ availableRealMinorExact: jspb.Message.getFieldWithDefault(msg, 7, "")
26106
26107
  };
26107
26108
 
26108
26109
  if (includeInstance) {
@@ -26163,6 +26164,10 @@ proto.user.CheckWithdrawalEligibilityResponse.deserializeBinaryFromReader = func
26163
26164
  var value = /** @type {string} */ (reader.readString());
26164
26165
  msg.setAvailableRealMajor(value);
26165
26166
  break;
26167
+ case 7:
26168
+ var value = /** @type {string} */ (reader.readString());
26169
+ msg.setAvailableRealMinorExact(value);
26170
+ break;
26166
26171
  default:
26167
26172
  reader.skipField();
26168
26173
  break;
@@ -26234,6 +26239,13 @@ proto.user.CheckWithdrawalEligibilityResponse.serializeBinaryToWriter = function
26234
26239
  f
26235
26240
  );
26236
26241
  }
26242
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
26243
+ if (f != null) {
26244
+ writer.writeString(
26245
+ 7,
26246
+ f
26247
+ );
26248
+ }
26237
26249
  };
26238
26250
 
26239
26251
 
@@ -26435,6 +26447,42 @@ proto.user.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMajor =
26435
26447
  };
26436
26448
 
26437
26449
 
26450
+ /**
26451
+ * optional string available_real_minor_exact = 7;
26452
+ * @return {string}
26453
+ */
26454
+ proto.user.CheckWithdrawalEligibilityResponse.prototype.getAvailableRealMinorExact = function() {
26455
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
26456
+ };
26457
+
26458
+
26459
+ /**
26460
+ * @param {string} value
26461
+ * @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
26462
+ */
26463
+ proto.user.CheckWithdrawalEligibilityResponse.prototype.setAvailableRealMinorExact = function(value) {
26464
+ return jspb.Message.setField(this, 7, value);
26465
+ };
26466
+
26467
+
26468
+ /**
26469
+ * Clears the field making it undefined.
26470
+ * @return {!proto.user.CheckWithdrawalEligibilityResponse} returns this
26471
+ */
26472
+ proto.user.CheckWithdrawalEligibilityResponse.prototype.clearAvailableRealMinorExact = function() {
26473
+ return jspb.Message.setField(this, 7, undefined);
26474
+ };
26475
+
26476
+
26477
+ /**
26478
+ * Returns whether this field is set.
26479
+ * @return {boolean}
26480
+ */
26481
+ proto.user.CheckWithdrawalEligibilityResponse.prototype.hasAvailableRealMinorExact = function() {
26482
+ return jspb.Message.getField(this, 7) != null;
26483
+ };
26484
+
26485
+
26438
26486
 
26439
26487
 
26440
26488