protobuf-platform 1.2.617 → 1.2.619
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/user/user.proto +2 -2
- package/user/user_pb.js +16 -16
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -622,8 +622,8 @@ message GetUserWalletBalancesRequest {
|
|
|
622
622
|
message UserWalletBalanceItem {
|
|
623
623
|
string currency = 1;
|
|
624
624
|
int32 currency_scale = 2;
|
|
625
|
-
int64 real_amount_minor = 3;
|
|
626
|
-
int64 bonus_amount_minor = 4;
|
|
625
|
+
int64 real_amount_minor = 3 [jstype = JS_STRING];
|
|
626
|
+
int64 bonus_amount_minor = 4 [jstype = JS_STRING];
|
|
627
627
|
optional string updated_at = 5;
|
|
628
628
|
}
|
|
629
629
|
message UserWalletBalancesResponse {
|
package/user/user_pb.js
CHANGED
|
@@ -24621,8 +24621,8 @@ proto.user.UserWalletBalanceItem.toObject = function(includeInstance, msg) {
|
|
|
24621
24621
|
var f, obj = {
|
|
24622
24622
|
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
24623
24623
|
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
24624
|
-
realAmountMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
24625
|
-
bonusAmountMinor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
24624
|
+
realAmountMinor: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
24625
|
+
bonusAmountMinor: jspb.Message.getFieldWithDefault(msg, 4, "0"),
|
|
24626
24626
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
24627
24627
|
};
|
|
24628
24628
|
|
|
@@ -24669,11 +24669,11 @@ proto.user.UserWalletBalanceItem.deserializeBinaryFromReader = function(msg, rea
|
|
|
24669
24669
|
msg.setCurrencyScale(value);
|
|
24670
24670
|
break;
|
|
24671
24671
|
case 3:
|
|
24672
|
-
var value = /** @type {
|
|
24672
|
+
var value = /** @type {string} */ (reader.readInt64String());
|
|
24673
24673
|
msg.setRealAmountMinor(value);
|
|
24674
24674
|
break;
|
|
24675
24675
|
case 4:
|
|
24676
|
-
var value = /** @type {
|
|
24676
|
+
var value = /** @type {string} */ (reader.readInt64String());
|
|
24677
24677
|
msg.setBonusAmountMinor(value);
|
|
24678
24678
|
break;
|
|
24679
24679
|
case 5:
|
|
@@ -24724,15 +24724,15 @@ proto.user.UserWalletBalanceItem.serializeBinaryToWriter = function(message, wri
|
|
|
24724
24724
|
);
|
|
24725
24725
|
}
|
|
24726
24726
|
f = message.getRealAmountMinor();
|
|
24727
|
-
if (f !== 0) {
|
|
24728
|
-
writer.
|
|
24727
|
+
if (parseInt(f, 10) !== 0) {
|
|
24728
|
+
writer.writeInt64String(
|
|
24729
24729
|
3,
|
|
24730
24730
|
f
|
|
24731
24731
|
);
|
|
24732
24732
|
}
|
|
24733
24733
|
f = message.getBonusAmountMinor();
|
|
24734
|
-
if (f !== 0) {
|
|
24735
|
-
writer.
|
|
24734
|
+
if (parseInt(f, 10) !== 0) {
|
|
24735
|
+
writer.writeInt64String(
|
|
24736
24736
|
4,
|
|
24737
24737
|
f
|
|
24738
24738
|
);
|
|
@@ -24785,37 +24785,37 @@ proto.user.UserWalletBalanceItem.prototype.setCurrencyScale = function(value) {
|
|
|
24785
24785
|
|
|
24786
24786
|
/**
|
|
24787
24787
|
* optional int64 real_amount_minor = 3;
|
|
24788
|
-
* @return {
|
|
24788
|
+
* @return {string}
|
|
24789
24789
|
*/
|
|
24790
24790
|
proto.user.UserWalletBalanceItem.prototype.getRealAmountMinor = function() {
|
|
24791
|
-
return /** @type {
|
|
24791
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
|
|
24792
24792
|
};
|
|
24793
24793
|
|
|
24794
24794
|
|
|
24795
24795
|
/**
|
|
24796
|
-
* @param {
|
|
24796
|
+
* @param {string} value
|
|
24797
24797
|
* @return {!proto.user.UserWalletBalanceItem} returns this
|
|
24798
24798
|
*/
|
|
24799
24799
|
proto.user.UserWalletBalanceItem.prototype.setRealAmountMinor = function(value) {
|
|
24800
|
-
return jspb.Message.
|
|
24800
|
+
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
24801
24801
|
};
|
|
24802
24802
|
|
|
24803
24803
|
|
|
24804
24804
|
/**
|
|
24805
24805
|
* optional int64 bonus_amount_minor = 4;
|
|
24806
|
-
* @return {
|
|
24806
|
+
* @return {string}
|
|
24807
24807
|
*/
|
|
24808
24808
|
proto.user.UserWalletBalanceItem.prototype.getBonusAmountMinor = function() {
|
|
24809
|
-
return /** @type {
|
|
24809
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "0"));
|
|
24810
24810
|
};
|
|
24811
24811
|
|
|
24812
24812
|
|
|
24813
24813
|
/**
|
|
24814
|
-
* @param {
|
|
24814
|
+
* @param {string} value
|
|
24815
24815
|
* @return {!proto.user.UserWalletBalanceItem} returns this
|
|
24816
24816
|
*/
|
|
24817
24817
|
proto.user.UserWalletBalanceItem.prototype.setBonusAmountMinor = function(value) {
|
|
24818
|
-
return jspb.Message.
|
|
24818
|
+
return jspb.Message.setProto3StringIntField(this, 4, value);
|
|
24819
24819
|
};
|
|
24820
24820
|
|
|
24821
24821
|
|