protobuf-platform 1.2.515 → 1.2.517
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 +7 -0
- package/payment/payment_pb.js +337 -1
- package/user/user.proto +6 -0
- package/user/user_pb.js +291 -3
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -433,6 +433,13 @@ message DepositItem {
|
|
|
433
433
|
optional string payment_redirect_url = 11;
|
|
434
434
|
optional string country = 12;
|
|
435
435
|
optional string processing_type = 13;
|
|
436
|
+
optional string deposit_type = 14;
|
|
437
|
+
optional int32 payment_method_id = 15;
|
|
438
|
+
optional int32 payment_provider_id = 16;
|
|
439
|
+
optional string payment_provider_title = 17;
|
|
440
|
+
optional string external_ref = 18;
|
|
441
|
+
optional bool is_ftd = 19;
|
|
442
|
+
optional string completed = 20;
|
|
436
443
|
}
|
|
437
444
|
message DepositItemsResponse {
|
|
438
445
|
repeated DepositItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -18244,7 +18244,14 @@ proto.payment.DepositItem.toObject = function(includeInstance, msg) {
|
|
|
18244
18244
|
created: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
18245
18245
|
paymentRedirectUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
18246
18246
|
country: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
18247
|
-
processingType: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
18247
|
+
processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
18248
|
+
depositType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
18249
|
+
paymentMethodId: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
18250
|
+
paymentProviderId: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
18251
|
+
paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
18252
|
+
externalRef: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
18253
|
+
isFtd: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
18254
|
+
completed: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
18248
18255
|
};
|
|
18249
18256
|
|
|
18250
18257
|
if (includeInstance) {
|
|
@@ -18333,6 +18340,34 @@ proto.payment.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
18333
18340
|
var value = /** @type {string} */ (reader.readString());
|
|
18334
18341
|
msg.setProcessingType(value);
|
|
18335
18342
|
break;
|
|
18343
|
+
case 14:
|
|
18344
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18345
|
+
msg.setDepositType(value);
|
|
18346
|
+
break;
|
|
18347
|
+
case 15:
|
|
18348
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
18349
|
+
msg.setPaymentMethodId(value);
|
|
18350
|
+
break;
|
|
18351
|
+
case 16:
|
|
18352
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
18353
|
+
msg.setPaymentProviderId(value);
|
|
18354
|
+
break;
|
|
18355
|
+
case 17:
|
|
18356
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18357
|
+
msg.setPaymentProviderTitle(value);
|
|
18358
|
+
break;
|
|
18359
|
+
case 18:
|
|
18360
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18361
|
+
msg.setExternalRef(value);
|
|
18362
|
+
break;
|
|
18363
|
+
case 19:
|
|
18364
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
18365
|
+
msg.setIsFtd(value);
|
|
18366
|
+
break;
|
|
18367
|
+
case 20:
|
|
18368
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18369
|
+
msg.setCompleted(value);
|
|
18370
|
+
break;
|
|
18336
18371
|
default:
|
|
18337
18372
|
reader.skipField();
|
|
18338
18373
|
break;
|
|
@@ -18453,6 +18488,55 @@ proto.payment.DepositItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
18453
18488
|
f
|
|
18454
18489
|
);
|
|
18455
18490
|
}
|
|
18491
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
18492
|
+
if (f != null) {
|
|
18493
|
+
writer.writeString(
|
|
18494
|
+
14,
|
|
18495
|
+
f
|
|
18496
|
+
);
|
|
18497
|
+
}
|
|
18498
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
|
18499
|
+
if (f != null) {
|
|
18500
|
+
writer.writeInt32(
|
|
18501
|
+
15,
|
|
18502
|
+
f
|
|
18503
|
+
);
|
|
18504
|
+
}
|
|
18505
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
|
18506
|
+
if (f != null) {
|
|
18507
|
+
writer.writeInt32(
|
|
18508
|
+
16,
|
|
18509
|
+
f
|
|
18510
|
+
);
|
|
18511
|
+
}
|
|
18512
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
18513
|
+
if (f != null) {
|
|
18514
|
+
writer.writeString(
|
|
18515
|
+
17,
|
|
18516
|
+
f
|
|
18517
|
+
);
|
|
18518
|
+
}
|
|
18519
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
18520
|
+
if (f != null) {
|
|
18521
|
+
writer.writeString(
|
|
18522
|
+
18,
|
|
18523
|
+
f
|
|
18524
|
+
);
|
|
18525
|
+
}
|
|
18526
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 19));
|
|
18527
|
+
if (f != null) {
|
|
18528
|
+
writer.writeBool(
|
|
18529
|
+
19,
|
|
18530
|
+
f
|
|
18531
|
+
);
|
|
18532
|
+
}
|
|
18533
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
|
18534
|
+
if (f != null) {
|
|
18535
|
+
writer.writeString(
|
|
18536
|
+
20,
|
|
18537
|
+
f
|
|
18538
|
+
);
|
|
18539
|
+
}
|
|
18456
18540
|
};
|
|
18457
18541
|
|
|
18458
18542
|
|
|
@@ -18798,6 +18882,258 @@ proto.payment.DepositItem.prototype.hasProcessingType = function() {
|
|
|
18798
18882
|
};
|
|
18799
18883
|
|
|
18800
18884
|
|
|
18885
|
+
/**
|
|
18886
|
+
* optional string deposit_type = 14;
|
|
18887
|
+
* @return {string}
|
|
18888
|
+
*/
|
|
18889
|
+
proto.payment.DepositItem.prototype.getDepositType = function() {
|
|
18890
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
18891
|
+
};
|
|
18892
|
+
|
|
18893
|
+
|
|
18894
|
+
/**
|
|
18895
|
+
* @param {string} value
|
|
18896
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
18897
|
+
*/
|
|
18898
|
+
proto.payment.DepositItem.prototype.setDepositType = function(value) {
|
|
18899
|
+
return jspb.Message.setField(this, 14, value);
|
|
18900
|
+
};
|
|
18901
|
+
|
|
18902
|
+
|
|
18903
|
+
/**
|
|
18904
|
+
* Clears the field making it undefined.
|
|
18905
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
18906
|
+
*/
|
|
18907
|
+
proto.payment.DepositItem.prototype.clearDepositType = function() {
|
|
18908
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
18909
|
+
};
|
|
18910
|
+
|
|
18911
|
+
|
|
18912
|
+
/**
|
|
18913
|
+
* Returns whether this field is set.
|
|
18914
|
+
* @return {boolean}
|
|
18915
|
+
*/
|
|
18916
|
+
proto.payment.DepositItem.prototype.hasDepositType = function() {
|
|
18917
|
+
return jspb.Message.getField(this, 14) != null;
|
|
18918
|
+
};
|
|
18919
|
+
|
|
18920
|
+
|
|
18921
|
+
/**
|
|
18922
|
+
* optional int32 payment_method_id = 15;
|
|
18923
|
+
* @return {number}
|
|
18924
|
+
*/
|
|
18925
|
+
proto.payment.DepositItem.prototype.getPaymentMethodId = function() {
|
|
18926
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
18927
|
+
};
|
|
18928
|
+
|
|
18929
|
+
|
|
18930
|
+
/**
|
|
18931
|
+
* @param {number} value
|
|
18932
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
18933
|
+
*/
|
|
18934
|
+
proto.payment.DepositItem.prototype.setPaymentMethodId = function(value) {
|
|
18935
|
+
return jspb.Message.setField(this, 15, value);
|
|
18936
|
+
};
|
|
18937
|
+
|
|
18938
|
+
|
|
18939
|
+
/**
|
|
18940
|
+
* Clears the field making it undefined.
|
|
18941
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
18942
|
+
*/
|
|
18943
|
+
proto.payment.DepositItem.prototype.clearPaymentMethodId = function() {
|
|
18944
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
18945
|
+
};
|
|
18946
|
+
|
|
18947
|
+
|
|
18948
|
+
/**
|
|
18949
|
+
* Returns whether this field is set.
|
|
18950
|
+
* @return {boolean}
|
|
18951
|
+
*/
|
|
18952
|
+
proto.payment.DepositItem.prototype.hasPaymentMethodId = function() {
|
|
18953
|
+
return jspb.Message.getField(this, 15) != null;
|
|
18954
|
+
};
|
|
18955
|
+
|
|
18956
|
+
|
|
18957
|
+
/**
|
|
18958
|
+
* optional int32 payment_provider_id = 16;
|
|
18959
|
+
* @return {number}
|
|
18960
|
+
*/
|
|
18961
|
+
proto.payment.DepositItem.prototype.getPaymentProviderId = function() {
|
|
18962
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
18963
|
+
};
|
|
18964
|
+
|
|
18965
|
+
|
|
18966
|
+
/**
|
|
18967
|
+
* @param {number} value
|
|
18968
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
18969
|
+
*/
|
|
18970
|
+
proto.payment.DepositItem.prototype.setPaymentProviderId = function(value) {
|
|
18971
|
+
return jspb.Message.setField(this, 16, value);
|
|
18972
|
+
};
|
|
18973
|
+
|
|
18974
|
+
|
|
18975
|
+
/**
|
|
18976
|
+
* Clears the field making it undefined.
|
|
18977
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
18978
|
+
*/
|
|
18979
|
+
proto.payment.DepositItem.prototype.clearPaymentProviderId = function() {
|
|
18980
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
18981
|
+
};
|
|
18982
|
+
|
|
18983
|
+
|
|
18984
|
+
/**
|
|
18985
|
+
* Returns whether this field is set.
|
|
18986
|
+
* @return {boolean}
|
|
18987
|
+
*/
|
|
18988
|
+
proto.payment.DepositItem.prototype.hasPaymentProviderId = function() {
|
|
18989
|
+
return jspb.Message.getField(this, 16) != null;
|
|
18990
|
+
};
|
|
18991
|
+
|
|
18992
|
+
|
|
18993
|
+
/**
|
|
18994
|
+
* optional string payment_provider_title = 17;
|
|
18995
|
+
* @return {string}
|
|
18996
|
+
*/
|
|
18997
|
+
proto.payment.DepositItem.prototype.getPaymentProviderTitle = function() {
|
|
18998
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
18999
|
+
};
|
|
19000
|
+
|
|
19001
|
+
|
|
19002
|
+
/**
|
|
19003
|
+
* @param {string} value
|
|
19004
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19005
|
+
*/
|
|
19006
|
+
proto.payment.DepositItem.prototype.setPaymentProviderTitle = function(value) {
|
|
19007
|
+
return jspb.Message.setField(this, 17, value);
|
|
19008
|
+
};
|
|
19009
|
+
|
|
19010
|
+
|
|
19011
|
+
/**
|
|
19012
|
+
* Clears the field making it undefined.
|
|
19013
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19014
|
+
*/
|
|
19015
|
+
proto.payment.DepositItem.prototype.clearPaymentProviderTitle = function() {
|
|
19016
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
19017
|
+
};
|
|
19018
|
+
|
|
19019
|
+
|
|
19020
|
+
/**
|
|
19021
|
+
* Returns whether this field is set.
|
|
19022
|
+
* @return {boolean}
|
|
19023
|
+
*/
|
|
19024
|
+
proto.payment.DepositItem.prototype.hasPaymentProviderTitle = function() {
|
|
19025
|
+
return jspb.Message.getField(this, 17) != null;
|
|
19026
|
+
};
|
|
19027
|
+
|
|
19028
|
+
|
|
19029
|
+
/**
|
|
19030
|
+
* optional string external_ref = 18;
|
|
19031
|
+
* @return {string}
|
|
19032
|
+
*/
|
|
19033
|
+
proto.payment.DepositItem.prototype.getExternalRef = function() {
|
|
19034
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
19035
|
+
};
|
|
19036
|
+
|
|
19037
|
+
|
|
19038
|
+
/**
|
|
19039
|
+
* @param {string} value
|
|
19040
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19041
|
+
*/
|
|
19042
|
+
proto.payment.DepositItem.prototype.setExternalRef = function(value) {
|
|
19043
|
+
return jspb.Message.setField(this, 18, value);
|
|
19044
|
+
};
|
|
19045
|
+
|
|
19046
|
+
|
|
19047
|
+
/**
|
|
19048
|
+
* Clears the field making it undefined.
|
|
19049
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19050
|
+
*/
|
|
19051
|
+
proto.payment.DepositItem.prototype.clearExternalRef = function() {
|
|
19052
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
19053
|
+
};
|
|
19054
|
+
|
|
19055
|
+
|
|
19056
|
+
/**
|
|
19057
|
+
* Returns whether this field is set.
|
|
19058
|
+
* @return {boolean}
|
|
19059
|
+
*/
|
|
19060
|
+
proto.payment.DepositItem.prototype.hasExternalRef = function() {
|
|
19061
|
+
return jspb.Message.getField(this, 18) != null;
|
|
19062
|
+
};
|
|
19063
|
+
|
|
19064
|
+
|
|
19065
|
+
/**
|
|
19066
|
+
* optional bool is_ftd = 19;
|
|
19067
|
+
* @return {boolean}
|
|
19068
|
+
*/
|
|
19069
|
+
proto.payment.DepositItem.prototype.getIsFtd = function() {
|
|
19070
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
|
|
19071
|
+
};
|
|
19072
|
+
|
|
19073
|
+
|
|
19074
|
+
/**
|
|
19075
|
+
* @param {boolean} value
|
|
19076
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19077
|
+
*/
|
|
19078
|
+
proto.payment.DepositItem.prototype.setIsFtd = function(value) {
|
|
19079
|
+
return jspb.Message.setField(this, 19, value);
|
|
19080
|
+
};
|
|
19081
|
+
|
|
19082
|
+
|
|
19083
|
+
/**
|
|
19084
|
+
* Clears the field making it undefined.
|
|
19085
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19086
|
+
*/
|
|
19087
|
+
proto.payment.DepositItem.prototype.clearIsFtd = function() {
|
|
19088
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
19089
|
+
};
|
|
19090
|
+
|
|
19091
|
+
|
|
19092
|
+
/**
|
|
19093
|
+
* Returns whether this field is set.
|
|
19094
|
+
* @return {boolean}
|
|
19095
|
+
*/
|
|
19096
|
+
proto.payment.DepositItem.prototype.hasIsFtd = function() {
|
|
19097
|
+
return jspb.Message.getField(this, 19) != null;
|
|
19098
|
+
};
|
|
19099
|
+
|
|
19100
|
+
|
|
19101
|
+
/**
|
|
19102
|
+
* optional string completed = 20;
|
|
19103
|
+
* @return {string}
|
|
19104
|
+
*/
|
|
19105
|
+
proto.payment.DepositItem.prototype.getCompleted = function() {
|
|
19106
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
19107
|
+
};
|
|
19108
|
+
|
|
19109
|
+
|
|
19110
|
+
/**
|
|
19111
|
+
* @param {string} value
|
|
19112
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19113
|
+
*/
|
|
19114
|
+
proto.payment.DepositItem.prototype.setCompleted = function(value) {
|
|
19115
|
+
return jspb.Message.setField(this, 20, value);
|
|
19116
|
+
};
|
|
19117
|
+
|
|
19118
|
+
|
|
19119
|
+
/**
|
|
19120
|
+
* Clears the field making it undefined.
|
|
19121
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
19122
|
+
*/
|
|
19123
|
+
proto.payment.DepositItem.prototype.clearCompleted = function() {
|
|
19124
|
+
return jspb.Message.setField(this, 20, undefined);
|
|
19125
|
+
};
|
|
19126
|
+
|
|
19127
|
+
|
|
19128
|
+
/**
|
|
19129
|
+
* Returns whether this field is set.
|
|
19130
|
+
* @return {boolean}
|
|
19131
|
+
*/
|
|
19132
|
+
proto.payment.DepositItem.prototype.hasCompleted = function() {
|
|
19133
|
+
return jspb.Message.getField(this, 20) != null;
|
|
19134
|
+
};
|
|
19135
|
+
|
|
19136
|
+
|
|
18801
19137
|
|
|
18802
19138
|
/**
|
|
18803
19139
|
* List of repeated fields within this message type.
|
package/user/user.proto
CHANGED
|
@@ -268,6 +268,8 @@ message LoginRequest {
|
|
|
268
268
|
optional string city = 8;
|
|
269
269
|
optional int32 two_fa = 9;
|
|
270
270
|
optional string nick_name = 10;
|
|
271
|
+
optional string antifraud_session = 11;
|
|
272
|
+
optional string user_agent = 12;
|
|
271
273
|
}
|
|
272
274
|
message TelegramLoginRequest {
|
|
273
275
|
string telegram_user_id = 1;
|
|
@@ -392,6 +394,8 @@ message ConfirmTwoFaRequest {
|
|
|
392
394
|
optional string purpose = 8;
|
|
393
395
|
// Optional JSON metadata for purpose-specific context.
|
|
394
396
|
optional string metadata = 9;
|
|
397
|
+
optional string antifraud_session = 10;
|
|
398
|
+
optional string user_agent = 11;
|
|
395
399
|
}
|
|
396
400
|
// Begins player 2FA setup; returns pending secret/QR without enabling 2FA.
|
|
397
401
|
message BeginUserTwoFaSetupRequest {
|
|
@@ -427,6 +431,8 @@ message ConfirmUserTwoFaActionRequest {
|
|
|
427
431
|
optional string device = 9;
|
|
428
432
|
optional string country = 10;
|
|
429
433
|
optional string city = 11;
|
|
434
|
+
optional string antifraud_session = 12;
|
|
435
|
+
optional string user_agent = 13;
|
|
430
436
|
}
|
|
431
437
|
message ConfirmUserTwoFaActionResponse {
|
|
432
438
|
// Expected value on success: success.
|
package/user/user_pb.js
CHANGED
|
@@ -9035,7 +9035,9 @@ proto.user.LoginRequest.toObject = function(includeInstance, msg) {
|
|
|
9035
9035
|
country: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9036
9036
|
city: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9037
9037
|
twoFa: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
9038
|
-
nickName: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
9038
|
+
nickName: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
9039
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9040
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
9039
9041
|
};
|
|
9040
9042
|
|
|
9041
9043
|
if (includeInstance) {
|
|
@@ -9112,6 +9114,14 @@ proto.user.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9112
9114
|
var value = /** @type {string} */ (reader.readString());
|
|
9113
9115
|
msg.setNickName(value);
|
|
9114
9116
|
break;
|
|
9117
|
+
case 11:
|
|
9118
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9119
|
+
msg.setAntifraudSession(value);
|
|
9120
|
+
break;
|
|
9121
|
+
case 12:
|
|
9122
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9123
|
+
msg.setUserAgent(value);
|
|
9124
|
+
break;
|
|
9115
9125
|
default:
|
|
9116
9126
|
reader.skipField();
|
|
9117
9127
|
break;
|
|
@@ -9211,6 +9221,20 @@ proto.user.LoginRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
9211
9221
|
f
|
|
9212
9222
|
);
|
|
9213
9223
|
}
|
|
9224
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
9225
|
+
if (f != null) {
|
|
9226
|
+
writer.writeString(
|
|
9227
|
+
11,
|
|
9228
|
+
f
|
|
9229
|
+
);
|
|
9230
|
+
}
|
|
9231
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
9232
|
+
if (f != null) {
|
|
9233
|
+
writer.writeString(
|
|
9234
|
+
12,
|
|
9235
|
+
f
|
|
9236
|
+
);
|
|
9237
|
+
}
|
|
9214
9238
|
};
|
|
9215
9239
|
|
|
9216
9240
|
|
|
@@ -9556,6 +9580,78 @@ proto.user.LoginRequest.prototype.hasNickName = function() {
|
|
|
9556
9580
|
};
|
|
9557
9581
|
|
|
9558
9582
|
|
|
9583
|
+
/**
|
|
9584
|
+
* optional string antifraud_session = 11;
|
|
9585
|
+
* @return {string}
|
|
9586
|
+
*/
|
|
9587
|
+
proto.user.LoginRequest.prototype.getAntifraudSession = function() {
|
|
9588
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
9589
|
+
};
|
|
9590
|
+
|
|
9591
|
+
|
|
9592
|
+
/**
|
|
9593
|
+
* @param {string} value
|
|
9594
|
+
* @return {!proto.user.LoginRequest} returns this
|
|
9595
|
+
*/
|
|
9596
|
+
proto.user.LoginRequest.prototype.setAntifraudSession = function(value) {
|
|
9597
|
+
return jspb.Message.setField(this, 11, value);
|
|
9598
|
+
};
|
|
9599
|
+
|
|
9600
|
+
|
|
9601
|
+
/**
|
|
9602
|
+
* Clears the field making it undefined.
|
|
9603
|
+
* @return {!proto.user.LoginRequest} returns this
|
|
9604
|
+
*/
|
|
9605
|
+
proto.user.LoginRequest.prototype.clearAntifraudSession = function() {
|
|
9606
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
9607
|
+
};
|
|
9608
|
+
|
|
9609
|
+
|
|
9610
|
+
/**
|
|
9611
|
+
* Returns whether this field is set.
|
|
9612
|
+
* @return {boolean}
|
|
9613
|
+
*/
|
|
9614
|
+
proto.user.LoginRequest.prototype.hasAntifraudSession = function() {
|
|
9615
|
+
return jspb.Message.getField(this, 11) != null;
|
|
9616
|
+
};
|
|
9617
|
+
|
|
9618
|
+
|
|
9619
|
+
/**
|
|
9620
|
+
* optional string user_agent = 12;
|
|
9621
|
+
* @return {string}
|
|
9622
|
+
*/
|
|
9623
|
+
proto.user.LoginRequest.prototype.getUserAgent = function() {
|
|
9624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
9625
|
+
};
|
|
9626
|
+
|
|
9627
|
+
|
|
9628
|
+
/**
|
|
9629
|
+
* @param {string} value
|
|
9630
|
+
* @return {!proto.user.LoginRequest} returns this
|
|
9631
|
+
*/
|
|
9632
|
+
proto.user.LoginRequest.prototype.setUserAgent = function(value) {
|
|
9633
|
+
return jspb.Message.setField(this, 12, value);
|
|
9634
|
+
};
|
|
9635
|
+
|
|
9636
|
+
|
|
9637
|
+
/**
|
|
9638
|
+
* Clears the field making it undefined.
|
|
9639
|
+
* @return {!proto.user.LoginRequest} returns this
|
|
9640
|
+
*/
|
|
9641
|
+
proto.user.LoginRequest.prototype.clearUserAgent = function() {
|
|
9642
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
9643
|
+
};
|
|
9644
|
+
|
|
9645
|
+
|
|
9646
|
+
/**
|
|
9647
|
+
* Returns whether this field is set.
|
|
9648
|
+
* @return {boolean}
|
|
9649
|
+
*/
|
|
9650
|
+
proto.user.LoginRequest.prototype.hasUserAgent = function() {
|
|
9651
|
+
return jspb.Message.getField(this, 12) != null;
|
|
9652
|
+
};
|
|
9653
|
+
|
|
9654
|
+
|
|
9559
9655
|
|
|
9560
9656
|
|
|
9561
9657
|
|
|
@@ -14506,7 +14602,9 @@ proto.user.ConfirmTwoFaRequest.toObject = function(includeInstance, msg) {
|
|
|
14506
14602
|
country: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
14507
14603
|
city: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
14508
14604
|
purpose: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
14509
|
-
metadata: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
14605
|
+
metadata: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
14606
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
14607
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
14510
14608
|
};
|
|
14511
14609
|
|
|
14512
14610
|
if (includeInstance) {
|
|
@@ -14579,6 +14677,14 @@ proto.user.ConfirmTwoFaRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
14579
14677
|
var value = /** @type {string} */ (reader.readString());
|
|
14580
14678
|
msg.setMetadata(value);
|
|
14581
14679
|
break;
|
|
14680
|
+
case 10:
|
|
14681
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14682
|
+
msg.setAntifraudSession(value);
|
|
14683
|
+
break;
|
|
14684
|
+
case 11:
|
|
14685
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14686
|
+
msg.setUserAgent(value);
|
|
14687
|
+
break;
|
|
14582
14688
|
default:
|
|
14583
14689
|
reader.skipField();
|
|
14584
14690
|
break;
|
|
@@ -14671,6 +14777,20 @@ proto.user.ConfirmTwoFaRequest.serializeBinaryToWriter = function(message, write
|
|
|
14671
14777
|
f
|
|
14672
14778
|
);
|
|
14673
14779
|
}
|
|
14780
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
14781
|
+
if (f != null) {
|
|
14782
|
+
writer.writeString(
|
|
14783
|
+
10,
|
|
14784
|
+
f
|
|
14785
|
+
);
|
|
14786
|
+
}
|
|
14787
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
14788
|
+
if (f != null) {
|
|
14789
|
+
writer.writeString(
|
|
14790
|
+
11,
|
|
14791
|
+
f
|
|
14792
|
+
);
|
|
14793
|
+
}
|
|
14674
14794
|
};
|
|
14675
14795
|
|
|
14676
14796
|
|
|
@@ -14962,6 +15082,78 @@ proto.user.ConfirmTwoFaRequest.prototype.hasMetadata = function() {
|
|
|
14962
15082
|
};
|
|
14963
15083
|
|
|
14964
15084
|
|
|
15085
|
+
/**
|
|
15086
|
+
* optional string antifraud_session = 10;
|
|
15087
|
+
* @return {string}
|
|
15088
|
+
*/
|
|
15089
|
+
proto.user.ConfirmTwoFaRequest.prototype.getAntifraudSession = function() {
|
|
15090
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
15091
|
+
};
|
|
15092
|
+
|
|
15093
|
+
|
|
15094
|
+
/**
|
|
15095
|
+
* @param {string} value
|
|
15096
|
+
* @return {!proto.user.ConfirmTwoFaRequest} returns this
|
|
15097
|
+
*/
|
|
15098
|
+
proto.user.ConfirmTwoFaRequest.prototype.setAntifraudSession = function(value) {
|
|
15099
|
+
return jspb.Message.setField(this, 10, value);
|
|
15100
|
+
};
|
|
15101
|
+
|
|
15102
|
+
|
|
15103
|
+
/**
|
|
15104
|
+
* Clears the field making it undefined.
|
|
15105
|
+
* @return {!proto.user.ConfirmTwoFaRequest} returns this
|
|
15106
|
+
*/
|
|
15107
|
+
proto.user.ConfirmTwoFaRequest.prototype.clearAntifraudSession = function() {
|
|
15108
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
15109
|
+
};
|
|
15110
|
+
|
|
15111
|
+
|
|
15112
|
+
/**
|
|
15113
|
+
* Returns whether this field is set.
|
|
15114
|
+
* @return {boolean}
|
|
15115
|
+
*/
|
|
15116
|
+
proto.user.ConfirmTwoFaRequest.prototype.hasAntifraudSession = function() {
|
|
15117
|
+
return jspb.Message.getField(this, 10) != null;
|
|
15118
|
+
};
|
|
15119
|
+
|
|
15120
|
+
|
|
15121
|
+
/**
|
|
15122
|
+
* optional string user_agent = 11;
|
|
15123
|
+
* @return {string}
|
|
15124
|
+
*/
|
|
15125
|
+
proto.user.ConfirmTwoFaRequest.prototype.getUserAgent = function() {
|
|
15126
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
15127
|
+
};
|
|
15128
|
+
|
|
15129
|
+
|
|
15130
|
+
/**
|
|
15131
|
+
* @param {string} value
|
|
15132
|
+
* @return {!proto.user.ConfirmTwoFaRequest} returns this
|
|
15133
|
+
*/
|
|
15134
|
+
proto.user.ConfirmTwoFaRequest.prototype.setUserAgent = function(value) {
|
|
15135
|
+
return jspb.Message.setField(this, 11, value);
|
|
15136
|
+
};
|
|
15137
|
+
|
|
15138
|
+
|
|
15139
|
+
/**
|
|
15140
|
+
* Clears the field making it undefined.
|
|
15141
|
+
* @return {!proto.user.ConfirmTwoFaRequest} returns this
|
|
15142
|
+
*/
|
|
15143
|
+
proto.user.ConfirmTwoFaRequest.prototype.clearUserAgent = function() {
|
|
15144
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
15145
|
+
};
|
|
15146
|
+
|
|
15147
|
+
|
|
15148
|
+
/**
|
|
15149
|
+
* Returns whether this field is set.
|
|
15150
|
+
* @return {boolean}
|
|
15151
|
+
*/
|
|
15152
|
+
proto.user.ConfirmTwoFaRequest.prototype.hasUserAgent = function() {
|
|
15153
|
+
return jspb.Message.getField(this, 11) != null;
|
|
15154
|
+
};
|
|
15155
|
+
|
|
15156
|
+
|
|
14965
15157
|
|
|
14966
15158
|
|
|
14967
15159
|
|
|
@@ -15756,7 +15948,9 @@ proto.user.ConfirmUserTwoFaActionRequest.toObject = function(includeInstance, ms
|
|
|
15756
15948
|
userIp: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
15757
15949
|
device: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
15758
15950
|
country: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
15759
|
-
city: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
15951
|
+
city: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
15952
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
15953
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
15760
15954
|
};
|
|
15761
15955
|
|
|
15762
15956
|
if (includeInstance) {
|
|
@@ -15837,6 +16031,14 @@ proto.user.ConfirmUserTwoFaActionRequest.deserializeBinaryFromReader = function(
|
|
|
15837
16031
|
var value = /** @type {string} */ (reader.readString());
|
|
15838
16032
|
msg.setCity(value);
|
|
15839
16033
|
break;
|
|
16034
|
+
case 12:
|
|
16035
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16036
|
+
msg.setAntifraudSession(value);
|
|
16037
|
+
break;
|
|
16038
|
+
case 13:
|
|
16039
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16040
|
+
msg.setUserAgent(value);
|
|
16041
|
+
break;
|
|
15840
16042
|
default:
|
|
15841
16043
|
reader.skipField();
|
|
15842
16044
|
break;
|
|
@@ -15943,6 +16145,20 @@ proto.user.ConfirmUserTwoFaActionRequest.serializeBinaryToWriter = function(mess
|
|
|
15943
16145
|
f
|
|
15944
16146
|
);
|
|
15945
16147
|
}
|
|
16148
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
16149
|
+
if (f != null) {
|
|
16150
|
+
writer.writeString(
|
|
16151
|
+
12,
|
|
16152
|
+
f
|
|
16153
|
+
);
|
|
16154
|
+
}
|
|
16155
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
16156
|
+
if (f != null) {
|
|
16157
|
+
writer.writeString(
|
|
16158
|
+
13,
|
|
16159
|
+
f
|
|
16160
|
+
);
|
|
16161
|
+
}
|
|
15946
16162
|
};
|
|
15947
16163
|
|
|
15948
16164
|
|
|
@@ -16306,6 +16522,78 @@ proto.user.ConfirmUserTwoFaActionRequest.prototype.hasCity = function() {
|
|
|
16306
16522
|
};
|
|
16307
16523
|
|
|
16308
16524
|
|
|
16525
|
+
/**
|
|
16526
|
+
* optional string antifraud_session = 12;
|
|
16527
|
+
* @return {string}
|
|
16528
|
+
*/
|
|
16529
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.getAntifraudSession = function() {
|
|
16530
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
16531
|
+
};
|
|
16532
|
+
|
|
16533
|
+
|
|
16534
|
+
/**
|
|
16535
|
+
* @param {string} value
|
|
16536
|
+
* @return {!proto.user.ConfirmUserTwoFaActionRequest} returns this
|
|
16537
|
+
*/
|
|
16538
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.setAntifraudSession = function(value) {
|
|
16539
|
+
return jspb.Message.setField(this, 12, value);
|
|
16540
|
+
};
|
|
16541
|
+
|
|
16542
|
+
|
|
16543
|
+
/**
|
|
16544
|
+
* Clears the field making it undefined.
|
|
16545
|
+
* @return {!proto.user.ConfirmUserTwoFaActionRequest} returns this
|
|
16546
|
+
*/
|
|
16547
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.clearAntifraudSession = function() {
|
|
16548
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
16549
|
+
};
|
|
16550
|
+
|
|
16551
|
+
|
|
16552
|
+
/**
|
|
16553
|
+
* Returns whether this field is set.
|
|
16554
|
+
* @return {boolean}
|
|
16555
|
+
*/
|
|
16556
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.hasAntifraudSession = function() {
|
|
16557
|
+
return jspb.Message.getField(this, 12) != null;
|
|
16558
|
+
};
|
|
16559
|
+
|
|
16560
|
+
|
|
16561
|
+
/**
|
|
16562
|
+
* optional string user_agent = 13;
|
|
16563
|
+
* @return {string}
|
|
16564
|
+
*/
|
|
16565
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.getUserAgent = function() {
|
|
16566
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
16567
|
+
};
|
|
16568
|
+
|
|
16569
|
+
|
|
16570
|
+
/**
|
|
16571
|
+
* @param {string} value
|
|
16572
|
+
* @return {!proto.user.ConfirmUserTwoFaActionRequest} returns this
|
|
16573
|
+
*/
|
|
16574
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.setUserAgent = function(value) {
|
|
16575
|
+
return jspb.Message.setField(this, 13, value);
|
|
16576
|
+
};
|
|
16577
|
+
|
|
16578
|
+
|
|
16579
|
+
/**
|
|
16580
|
+
* Clears the field making it undefined.
|
|
16581
|
+
* @return {!proto.user.ConfirmUserTwoFaActionRequest} returns this
|
|
16582
|
+
*/
|
|
16583
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.clearUserAgent = function() {
|
|
16584
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
16585
|
+
};
|
|
16586
|
+
|
|
16587
|
+
|
|
16588
|
+
/**
|
|
16589
|
+
* Returns whether this field is set.
|
|
16590
|
+
* @return {boolean}
|
|
16591
|
+
*/
|
|
16592
|
+
proto.user.ConfirmUserTwoFaActionRequest.prototype.hasUserAgent = function() {
|
|
16593
|
+
return jspb.Message.getField(this, 13) != null;
|
|
16594
|
+
};
|
|
16595
|
+
|
|
16596
|
+
|
|
16309
16597
|
|
|
16310
16598
|
|
|
16311
16599
|
|