protobuf-platform 1.2.497 → 1.2.500
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 +1 -1
- package/payment/payment_pb.js +9 -9
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -431,7 +431,7 @@ message DepositRedirectFormResponse {
|
|
|
431
431
|
message AttemptWithdrawalRequest {
|
|
432
432
|
int32 payment_method_id = 1;
|
|
433
433
|
int32 user_id = 2;
|
|
434
|
-
|
|
434
|
+
string amount = 3;
|
|
435
435
|
optional string user_currency = 4;
|
|
436
436
|
optional string user_country = 5;
|
|
437
437
|
optional string origin_country = 6;
|
package/payment/payment_pb.js
CHANGED
|
@@ -18460,7 +18460,7 @@ proto.payment.AttemptWithdrawalRequest.toObject = function(includeInstance, msg)
|
|
|
18460
18460
|
var f, obj = {
|
|
18461
18461
|
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18462
18462
|
userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18463
|
-
amount: jspb.Message.
|
|
18463
|
+
amount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18464
18464
|
userCurrency: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18465
18465
|
userCountry: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18466
18466
|
originCountry: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
@@ -18542,7 +18542,7 @@ proto.payment.AttemptWithdrawalRequest.deserializeBinaryFromReader = function(ms
|
|
|
18542
18542
|
msg.setUserId(value);
|
|
18543
18543
|
break;
|
|
18544
18544
|
case 3:
|
|
18545
|
-
var value = /** @type {
|
|
18545
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18546
18546
|
msg.setAmount(value);
|
|
18547
18547
|
break;
|
|
18548
18548
|
case 4:
|
|
@@ -18733,8 +18733,8 @@ proto.payment.AttemptWithdrawalRequest.serializeBinaryToWriter = function(messag
|
|
|
18733
18733
|
);
|
|
18734
18734
|
}
|
|
18735
18735
|
f = message.getAmount();
|
|
18736
|
-
if (f
|
|
18737
|
-
writer.
|
|
18736
|
+
if (f.length > 0) {
|
|
18737
|
+
writer.writeString(
|
|
18738
18738
|
3,
|
|
18739
18739
|
f
|
|
18740
18740
|
);
|
|
@@ -19031,20 +19031,20 @@ proto.payment.AttemptWithdrawalRequest.prototype.setUserId = function(value) {
|
|
|
19031
19031
|
|
|
19032
19032
|
|
|
19033
19033
|
/**
|
|
19034
|
-
* optional
|
|
19035
|
-
* @return {
|
|
19034
|
+
* optional string amount = 3;
|
|
19035
|
+
* @return {string}
|
|
19036
19036
|
*/
|
|
19037
19037
|
proto.payment.AttemptWithdrawalRequest.prototype.getAmount = function() {
|
|
19038
|
-
return /** @type {
|
|
19038
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
19039
19039
|
};
|
|
19040
19040
|
|
|
19041
19041
|
|
|
19042
19042
|
/**
|
|
19043
|
-
* @param {
|
|
19043
|
+
* @param {string} value
|
|
19044
19044
|
* @return {!proto.payment.AttemptWithdrawalRequest} returns this
|
|
19045
19045
|
*/
|
|
19046
19046
|
proto.payment.AttemptWithdrawalRequest.prototype.setAmount = function(value) {
|
|
19047
|
-
return jspb.Message.
|
|
19047
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
19048
19048
|
};
|
|
19049
19049
|
|
|
19050
19050
|
|
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
|
@@ -8135,7 +8135,8 @@ proto.user.LoggedInResponse.toObject = function(includeInstance, msg) {
|
|
|
8135
8135
|
twoFaStatus: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
8136
8136
|
twoFaTempToken: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
8137
8137
|
twoFaQrDataUrl: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
8138
|
-
presetId: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
|
8138
|
+
presetId: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
8139
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
8139
8140
|
};
|
|
8140
8141
|
|
|
8141
8142
|
if (includeInstance) {
|
|
@@ -8236,6 +8237,10 @@ proto.user.LoggedInResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
8236
8237
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8237
8238
|
msg.setPresetId(value);
|
|
8238
8239
|
break;
|
|
8240
|
+
case 17:
|
|
8241
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8242
|
+
msg.setRoleId(value);
|
|
8243
|
+
break;
|
|
8239
8244
|
default:
|
|
8240
8245
|
reader.skipField();
|
|
8241
8246
|
break;
|
|
@@ -8377,6 +8382,13 @@ proto.user.LoggedInResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
8377
8382
|
f
|
|
8378
8383
|
);
|
|
8379
8384
|
}
|
|
8385
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
|
8386
|
+
if (f != null) {
|
|
8387
|
+
writer.writeInt32(
|
|
8388
|
+
17,
|
|
8389
|
+
f
|
|
8390
|
+
);
|
|
8391
|
+
}
|
|
8380
8392
|
};
|
|
8381
8393
|
|
|
8382
8394
|
|
|
@@ -8902,6 +8914,42 @@ proto.user.LoggedInResponse.prototype.hasPresetId = function() {
|
|
|
8902
8914
|
};
|
|
8903
8915
|
|
|
8904
8916
|
|
|
8917
|
+
/**
|
|
8918
|
+
* optional int32 role_id = 17;
|
|
8919
|
+
* @return {number}
|
|
8920
|
+
*/
|
|
8921
|
+
proto.user.LoggedInResponse.prototype.getRoleId = function() {
|
|
8922
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
8923
|
+
};
|
|
8924
|
+
|
|
8925
|
+
|
|
8926
|
+
/**
|
|
8927
|
+
* @param {number} value
|
|
8928
|
+
* @return {!proto.user.LoggedInResponse} returns this
|
|
8929
|
+
*/
|
|
8930
|
+
proto.user.LoggedInResponse.prototype.setRoleId = function(value) {
|
|
8931
|
+
return jspb.Message.setField(this, 17, value);
|
|
8932
|
+
};
|
|
8933
|
+
|
|
8934
|
+
|
|
8935
|
+
/**
|
|
8936
|
+
* Clears the field making it undefined.
|
|
8937
|
+
* @return {!proto.user.LoggedInResponse} returns this
|
|
8938
|
+
*/
|
|
8939
|
+
proto.user.LoggedInResponse.prototype.clearRoleId = function() {
|
|
8940
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
8941
|
+
};
|
|
8942
|
+
|
|
8943
|
+
|
|
8944
|
+
/**
|
|
8945
|
+
* Returns whether this field is set.
|
|
8946
|
+
* @return {boolean}
|
|
8947
|
+
*/
|
|
8948
|
+
proto.user.LoggedInResponse.prototype.hasRoleId = function() {
|
|
8949
|
+
return jspb.Message.getField(this, 17) != null;
|
|
8950
|
+
};
|
|
8951
|
+
|
|
8952
|
+
|
|
8905
8953
|
|
|
8906
8954
|
|
|
8907
8955
|
|