protobuf-platform 1.2.690 → 1.2.691
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 +1 -1
- package/payment/payment.proto +4 -0
- package/payment/payment_pb.js +98 -2
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -1002,6 +1002,8 @@ message GetUserFinancialSummaryResponse {
|
|
|
1002
1002
|
message ResolveGameWalletContextRequest {
|
|
1003
1003
|
int32 user_id = 1;
|
|
1004
1004
|
optional string wallet_currency = 2;
|
|
1005
|
+
// Opt-in authoritative bonus bucket read for terminal/recovery verification.
|
|
1006
|
+
optional bool include_bonus_balance = 3;
|
|
1005
1007
|
}
|
|
1006
1008
|
message ResolveGameWalletContextResponse {
|
|
1007
1009
|
int32 user_id = 1;
|
|
@@ -1009,6 +1011,8 @@ message ResolveGameWalletContextResponse {
|
|
|
1009
1011
|
int32 currency_scale = 3;
|
|
1010
1012
|
int64 balance_minor = 4 [jstype = JS_STRING];
|
|
1011
1013
|
string balance_major = 5;
|
|
1014
|
+
// Exact minor units in wallet_currency. Absent means unavailable; "0" is confirmed zero.
|
|
1015
|
+
optional string bonus_balance_minor = 6;
|
|
1012
1016
|
}
|
|
1013
1017
|
//Segmentation
|
|
1014
1018
|
message SegmentedUserRequest {
|
package/payment/payment_pb.js
CHANGED
|
@@ -42415,7 +42415,8 @@ proto.payment.ResolveGameWalletContextRequest.prototype.toObject = function(opt_
|
|
|
42415
42415
|
proto.payment.ResolveGameWalletContextRequest.toObject = function(includeInstance, msg) {
|
|
42416
42416
|
var f, obj = {
|
|
42417
42417
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
42418
|
-
walletCurrency: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
42418
|
+
walletCurrency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
42419
|
+
includeBonusBalance: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
42419
42420
|
};
|
|
42420
42421
|
|
|
42421
42422
|
if (includeInstance) {
|
|
@@ -42460,6 +42461,10 @@ proto.payment.ResolveGameWalletContextRequest.deserializeBinaryFromReader = func
|
|
|
42460
42461
|
var value = /** @type {string} */ (reader.readString());
|
|
42461
42462
|
msg.setWalletCurrency(value);
|
|
42462
42463
|
break;
|
|
42464
|
+
case 3:
|
|
42465
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
42466
|
+
msg.setIncludeBonusBalance(value);
|
|
42467
|
+
break;
|
|
42463
42468
|
default:
|
|
42464
42469
|
reader.skipField();
|
|
42465
42470
|
break;
|
|
@@ -42503,6 +42508,13 @@ proto.payment.ResolveGameWalletContextRequest.serializeBinaryToWriter = function
|
|
|
42503
42508
|
f
|
|
42504
42509
|
);
|
|
42505
42510
|
}
|
|
42511
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
42512
|
+
if (f != null) {
|
|
42513
|
+
writer.writeBool(
|
|
42514
|
+
3,
|
|
42515
|
+
f
|
|
42516
|
+
);
|
|
42517
|
+
}
|
|
42506
42518
|
};
|
|
42507
42519
|
|
|
42508
42520
|
|
|
@@ -42560,6 +42572,42 @@ proto.payment.ResolveGameWalletContextRequest.prototype.hasWalletCurrency = func
|
|
|
42560
42572
|
};
|
|
42561
42573
|
|
|
42562
42574
|
|
|
42575
|
+
/**
|
|
42576
|
+
* optional bool include_bonus_balance = 3;
|
|
42577
|
+
* @return {boolean}
|
|
42578
|
+
*/
|
|
42579
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.getIncludeBonusBalance = function() {
|
|
42580
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
42581
|
+
};
|
|
42582
|
+
|
|
42583
|
+
|
|
42584
|
+
/**
|
|
42585
|
+
* @param {boolean} value
|
|
42586
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
42587
|
+
*/
|
|
42588
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.setIncludeBonusBalance = function(value) {
|
|
42589
|
+
return jspb.Message.setField(this, 3, value);
|
|
42590
|
+
};
|
|
42591
|
+
|
|
42592
|
+
|
|
42593
|
+
/**
|
|
42594
|
+
* Clears the field making it undefined.
|
|
42595
|
+
* @return {!proto.payment.ResolveGameWalletContextRequest} returns this
|
|
42596
|
+
*/
|
|
42597
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.clearIncludeBonusBalance = function() {
|
|
42598
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
42599
|
+
};
|
|
42600
|
+
|
|
42601
|
+
|
|
42602
|
+
/**
|
|
42603
|
+
* Returns whether this field is set.
|
|
42604
|
+
* @return {boolean}
|
|
42605
|
+
*/
|
|
42606
|
+
proto.payment.ResolveGameWalletContextRequest.prototype.hasIncludeBonusBalance = function() {
|
|
42607
|
+
return jspb.Message.getField(this, 3) != null;
|
|
42608
|
+
};
|
|
42609
|
+
|
|
42610
|
+
|
|
42563
42611
|
|
|
42564
42612
|
|
|
42565
42613
|
|
|
@@ -42596,7 +42644,8 @@ proto.payment.ResolveGameWalletContextResponse.toObject = function(includeInstan
|
|
|
42596
42644
|
walletCurrency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
42597
42645
|
currencyScale: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
42598
42646
|
balanceMinor: jspb.Message.getFieldWithDefault(msg, 4, "0"),
|
|
42599
|
-
balanceMajor: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
42647
|
+
balanceMajor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
42648
|
+
bonusBalanceMinor: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
42600
42649
|
};
|
|
42601
42650
|
|
|
42602
42651
|
if (includeInstance) {
|
|
@@ -42653,6 +42702,10 @@ proto.payment.ResolveGameWalletContextResponse.deserializeBinaryFromReader = fun
|
|
|
42653
42702
|
var value = /** @type {string} */ (reader.readString());
|
|
42654
42703
|
msg.setBalanceMajor(value);
|
|
42655
42704
|
break;
|
|
42705
|
+
case 6:
|
|
42706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42707
|
+
msg.setBonusBalanceMinor(value);
|
|
42708
|
+
break;
|
|
42656
42709
|
default:
|
|
42657
42710
|
reader.skipField();
|
|
42658
42711
|
break;
|
|
@@ -42717,6 +42770,13 @@ proto.payment.ResolveGameWalletContextResponse.serializeBinaryToWriter = functio
|
|
|
42717
42770
|
f
|
|
42718
42771
|
);
|
|
42719
42772
|
}
|
|
42773
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
42774
|
+
if (f != null) {
|
|
42775
|
+
writer.writeString(
|
|
42776
|
+
6,
|
|
42777
|
+
f
|
|
42778
|
+
);
|
|
42779
|
+
}
|
|
42720
42780
|
};
|
|
42721
42781
|
|
|
42722
42782
|
|
|
@@ -42810,6 +42870,42 @@ proto.payment.ResolveGameWalletContextResponse.prototype.setBalanceMajor = funct
|
|
|
42810
42870
|
};
|
|
42811
42871
|
|
|
42812
42872
|
|
|
42873
|
+
/**
|
|
42874
|
+
* optional string bonus_balance_minor = 6;
|
|
42875
|
+
* @return {string}
|
|
42876
|
+
*/
|
|
42877
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.getBonusBalanceMinor = function() {
|
|
42878
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
42879
|
+
};
|
|
42880
|
+
|
|
42881
|
+
|
|
42882
|
+
/**
|
|
42883
|
+
* @param {string} value
|
|
42884
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
42885
|
+
*/
|
|
42886
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.setBonusBalanceMinor = function(value) {
|
|
42887
|
+
return jspb.Message.setField(this, 6, value);
|
|
42888
|
+
};
|
|
42889
|
+
|
|
42890
|
+
|
|
42891
|
+
/**
|
|
42892
|
+
* Clears the field making it undefined.
|
|
42893
|
+
* @return {!proto.payment.ResolveGameWalletContextResponse} returns this
|
|
42894
|
+
*/
|
|
42895
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.clearBonusBalanceMinor = function() {
|
|
42896
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
42897
|
+
};
|
|
42898
|
+
|
|
42899
|
+
|
|
42900
|
+
/**
|
|
42901
|
+
* Returns whether this field is set.
|
|
42902
|
+
* @return {boolean}
|
|
42903
|
+
*/
|
|
42904
|
+
proto.payment.ResolveGameWalletContextResponse.prototype.hasBonusBalanceMinor = function() {
|
|
42905
|
+
return jspb.Message.getField(this, 6) != null;
|
|
42906
|
+
};
|
|
42907
|
+
|
|
42908
|
+
|
|
42813
42909
|
|
|
42814
42910
|
/**
|
|
42815
42911
|
* List of repeated fields within this message type.
|