protobuf-platform 1.2.551 → 1.2.555
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 +3 -0
- package/payment/payment_pb.js +146 -2
- package/user/user.proto +34 -0
- package/user/user_grpc_pb.js +68 -0
- package/user/user_pb.js +961 -0
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -417,6 +417,8 @@ message AttemptDepositRequest {
|
|
|
417
417
|
optional string request_currency = 46;
|
|
418
418
|
optional string antifraud_session = 47;
|
|
419
419
|
optional int32 bonus_id = 48;
|
|
420
|
+
optional int32 window_width = 49;
|
|
421
|
+
optional int32 window_height = 50;
|
|
420
422
|
}
|
|
421
423
|
message GetDepositRequest {
|
|
422
424
|
int32 id = 1;
|
|
@@ -472,6 +474,7 @@ message DepositItem {
|
|
|
472
474
|
optional bool is_ftd = 19;
|
|
473
475
|
optional string completed = 20;
|
|
474
476
|
optional string payment_method_image = 21;
|
|
477
|
+
optional string external_transaction_id = 22;
|
|
475
478
|
}
|
|
476
479
|
message DepositItemsResponse {
|
|
477
480
|
repeated DepositItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -15947,7 +15947,9 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
|
|
|
15947
15947
|
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 45, ""),
|
|
15948
15948
|
requestCurrency: jspb.Message.getFieldWithDefault(msg, 46, ""),
|
|
15949
15949
|
antifraudSession: jspb.Message.getFieldWithDefault(msg, 47, ""),
|
|
15950
|
-
bonusId: jspb.Message.getFieldWithDefault(msg, 48, 0)
|
|
15950
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 48, 0),
|
|
15951
|
+
windowWidth: jspb.Message.getFieldWithDefault(msg, 49, 0),
|
|
15952
|
+
windowHeight: jspb.Message.getFieldWithDefault(msg, 50, 0)
|
|
15951
15953
|
};
|
|
15952
15954
|
|
|
15953
15955
|
if (includeInstance) {
|
|
@@ -16176,6 +16178,14 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
|
|
|
16176
16178
|
var value = /** @type {number} */ (reader.readInt32());
|
|
16177
16179
|
msg.setBonusId(value);
|
|
16178
16180
|
break;
|
|
16181
|
+
case 49:
|
|
16182
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16183
|
+
msg.setWindowWidth(value);
|
|
16184
|
+
break;
|
|
16185
|
+
case 50:
|
|
16186
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16187
|
+
msg.setWindowHeight(value);
|
|
16188
|
+
break;
|
|
16179
16189
|
default:
|
|
16180
16190
|
reader.skipField();
|
|
16181
16191
|
break;
|
|
@@ -16541,6 +16551,20 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
|
|
|
16541
16551
|
f
|
|
16542
16552
|
);
|
|
16543
16553
|
}
|
|
16554
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 49));
|
|
16555
|
+
if (f != null) {
|
|
16556
|
+
writer.writeInt32(
|
|
16557
|
+
49,
|
|
16558
|
+
f
|
|
16559
|
+
);
|
|
16560
|
+
}
|
|
16561
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 50));
|
|
16562
|
+
if (f != null) {
|
|
16563
|
+
writer.writeInt32(
|
|
16564
|
+
50,
|
|
16565
|
+
f
|
|
16566
|
+
);
|
|
16567
|
+
}
|
|
16544
16568
|
};
|
|
16545
16569
|
|
|
16546
16570
|
|
|
@@ -18218,6 +18242,78 @@ proto.payment.AttemptDepositRequest.prototype.hasBonusId = function() {
|
|
|
18218
18242
|
};
|
|
18219
18243
|
|
|
18220
18244
|
|
|
18245
|
+
/**
|
|
18246
|
+
* optional int32 window_width = 49;
|
|
18247
|
+
* @return {number}
|
|
18248
|
+
*/
|
|
18249
|
+
proto.payment.AttemptDepositRequest.prototype.getWindowWidth = function() {
|
|
18250
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 49, 0));
|
|
18251
|
+
};
|
|
18252
|
+
|
|
18253
|
+
|
|
18254
|
+
/**
|
|
18255
|
+
* @param {number} value
|
|
18256
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
18257
|
+
*/
|
|
18258
|
+
proto.payment.AttemptDepositRequest.prototype.setWindowWidth = function(value) {
|
|
18259
|
+
return jspb.Message.setField(this, 49, value);
|
|
18260
|
+
};
|
|
18261
|
+
|
|
18262
|
+
|
|
18263
|
+
/**
|
|
18264
|
+
* Clears the field making it undefined.
|
|
18265
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
18266
|
+
*/
|
|
18267
|
+
proto.payment.AttemptDepositRequest.prototype.clearWindowWidth = function() {
|
|
18268
|
+
return jspb.Message.setField(this, 49, undefined);
|
|
18269
|
+
};
|
|
18270
|
+
|
|
18271
|
+
|
|
18272
|
+
/**
|
|
18273
|
+
* Returns whether this field is set.
|
|
18274
|
+
* @return {boolean}
|
|
18275
|
+
*/
|
|
18276
|
+
proto.payment.AttemptDepositRequest.prototype.hasWindowWidth = function() {
|
|
18277
|
+
return jspb.Message.getField(this, 49) != null;
|
|
18278
|
+
};
|
|
18279
|
+
|
|
18280
|
+
|
|
18281
|
+
/**
|
|
18282
|
+
* optional int32 window_height = 50;
|
|
18283
|
+
* @return {number}
|
|
18284
|
+
*/
|
|
18285
|
+
proto.payment.AttemptDepositRequest.prototype.getWindowHeight = function() {
|
|
18286
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 50, 0));
|
|
18287
|
+
};
|
|
18288
|
+
|
|
18289
|
+
|
|
18290
|
+
/**
|
|
18291
|
+
* @param {number} value
|
|
18292
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
18293
|
+
*/
|
|
18294
|
+
proto.payment.AttemptDepositRequest.prototype.setWindowHeight = function(value) {
|
|
18295
|
+
return jspb.Message.setField(this, 50, value);
|
|
18296
|
+
};
|
|
18297
|
+
|
|
18298
|
+
|
|
18299
|
+
/**
|
|
18300
|
+
* Clears the field making it undefined.
|
|
18301
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
18302
|
+
*/
|
|
18303
|
+
proto.payment.AttemptDepositRequest.prototype.clearWindowHeight = function() {
|
|
18304
|
+
return jspb.Message.setField(this, 50, undefined);
|
|
18305
|
+
};
|
|
18306
|
+
|
|
18307
|
+
|
|
18308
|
+
/**
|
|
18309
|
+
* Returns whether this field is set.
|
|
18310
|
+
* @return {boolean}
|
|
18311
|
+
*/
|
|
18312
|
+
proto.payment.AttemptDepositRequest.prototype.hasWindowHeight = function() {
|
|
18313
|
+
return jspb.Message.getField(this, 50) != null;
|
|
18314
|
+
};
|
|
18315
|
+
|
|
18316
|
+
|
|
18221
18317
|
|
|
18222
18318
|
|
|
18223
18319
|
|
|
@@ -19785,7 +19881,8 @@ proto.payment.DepositItem.toObject = function(includeInstance, msg) {
|
|
|
19785
19881
|
externalRef: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
19786
19882
|
isFtd: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
19787
19883
|
completed: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
19788
|
-
paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
19884
|
+
paymentMethodImage: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
19885
|
+
externalTransactionId: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
19789
19886
|
};
|
|
19790
19887
|
|
|
19791
19888
|
if (includeInstance) {
|
|
@@ -19906,6 +20003,10 @@ proto.payment.DepositItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
19906
20003
|
var value = /** @type {string} */ (reader.readString());
|
|
19907
20004
|
msg.setPaymentMethodImage(value);
|
|
19908
20005
|
break;
|
|
20006
|
+
case 22:
|
|
20007
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20008
|
+
msg.setExternalTransactionId(value);
|
|
20009
|
+
break;
|
|
19909
20010
|
default:
|
|
19910
20011
|
reader.skipField();
|
|
19911
20012
|
break;
|
|
@@ -20082,6 +20183,13 @@ proto.payment.DepositItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
20082
20183
|
f
|
|
20083
20184
|
);
|
|
20084
20185
|
}
|
|
20186
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
|
20187
|
+
if (f != null) {
|
|
20188
|
+
writer.writeString(
|
|
20189
|
+
22,
|
|
20190
|
+
f
|
|
20191
|
+
);
|
|
20192
|
+
}
|
|
20085
20193
|
};
|
|
20086
20194
|
|
|
20087
20195
|
|
|
@@ -20715,6 +20823,42 @@ proto.payment.DepositItem.prototype.hasPaymentMethodImage = function() {
|
|
|
20715
20823
|
};
|
|
20716
20824
|
|
|
20717
20825
|
|
|
20826
|
+
/**
|
|
20827
|
+
* optional string external_transaction_id = 22;
|
|
20828
|
+
* @return {string}
|
|
20829
|
+
*/
|
|
20830
|
+
proto.payment.DepositItem.prototype.getExternalTransactionId = function() {
|
|
20831
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
20832
|
+
};
|
|
20833
|
+
|
|
20834
|
+
|
|
20835
|
+
/**
|
|
20836
|
+
* @param {string} value
|
|
20837
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
20838
|
+
*/
|
|
20839
|
+
proto.payment.DepositItem.prototype.setExternalTransactionId = function(value) {
|
|
20840
|
+
return jspb.Message.setField(this, 22, value);
|
|
20841
|
+
};
|
|
20842
|
+
|
|
20843
|
+
|
|
20844
|
+
/**
|
|
20845
|
+
* Clears the field making it undefined.
|
|
20846
|
+
* @return {!proto.payment.DepositItem} returns this
|
|
20847
|
+
*/
|
|
20848
|
+
proto.payment.DepositItem.prototype.clearExternalTransactionId = function() {
|
|
20849
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
20850
|
+
};
|
|
20851
|
+
|
|
20852
|
+
|
|
20853
|
+
/**
|
|
20854
|
+
* Returns whether this field is set.
|
|
20855
|
+
* @return {boolean}
|
|
20856
|
+
*/
|
|
20857
|
+
proto.payment.DepositItem.prototype.hasExternalTransactionId = function() {
|
|
20858
|
+
return jspb.Message.getField(this, 22) != null;
|
|
20859
|
+
};
|
|
20860
|
+
|
|
20861
|
+
|
|
20718
20862
|
|
|
20719
20863
|
/**
|
|
20720
20864
|
* List of repeated fields within this message type.
|
package/user/user.proto
CHANGED
|
@@ -137,6 +137,10 @@ service User {
|
|
|
137
137
|
rpc resolveUserKycRequirement(ResolveUserKycRequirementRequest) returns (UserKycRequirementResponse);
|
|
138
138
|
// Player/frontend KYC requirement status (on-demand evaluator; CTA display only, not global verification).
|
|
139
139
|
rpc readUserKycRequirementStatus(ReadUserKycRequirementStatusRequest) returns (UserKycRequirementStatusResponse);
|
|
140
|
+
// Provider-agnostic BO verification capabilities (capability-scoped; not overall KYC confirmation).
|
|
141
|
+
rpc getUserProfileDataVerification(GetUserProfileDataVerificationRequest) returns (GetUserProfileDataVerificationResponse);
|
|
142
|
+
// Approves a single platform-owned verification capability; does not set global KYC confirmation.
|
|
143
|
+
rpc approveVerification(ApproveVerificationRequest) returns (ApproveVerificationResponse);
|
|
140
144
|
//Dashboard
|
|
141
145
|
rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
|
|
142
146
|
//Notes
|
|
@@ -1699,6 +1703,36 @@ message UserKycRequirementStatusResponse {
|
|
|
1699
1703
|
optional int32 requirement_id = 7;
|
|
1700
1704
|
optional int32 preset_id = 8;
|
|
1701
1705
|
}
|
|
1706
|
+
// Provider-agnostic BO verification capabilities.
|
|
1707
|
+
enum VerificationCapability {
|
|
1708
|
+
VERIFICATION_CAPABILITY_UNSPECIFIED = 0;
|
|
1709
|
+
VERIFICATION_CAPABILITY_PROFILE_DATA = 1;
|
|
1710
|
+
}
|
|
1711
|
+
enum VerificationCapabilityStatus {
|
|
1712
|
+
VERIFICATION_CAPABILITY_STATUS_UNSPECIFIED = 0;
|
|
1713
|
+
VERIFICATION_CAPABILITY_STATUS_APPROVED = 1;
|
|
1714
|
+
VERIFICATION_CAPABILITY_STATUS_PENDING = 2;
|
|
1715
|
+
VERIFICATION_CAPABILITY_STATUS_MISSING = 3;
|
|
1716
|
+
}
|
|
1717
|
+
message GetUserProfileDataVerificationRequest {
|
|
1718
|
+
int32 user_id = 1;
|
|
1719
|
+
}
|
|
1720
|
+
message UserProfileDataVerificationField {
|
|
1721
|
+
string field_key = 1;
|
|
1722
|
+
string value = 2;
|
|
1723
|
+
VerificationCapabilityStatus status = 3;
|
|
1724
|
+
}
|
|
1725
|
+
message GetUserProfileDataVerificationResponse {
|
|
1726
|
+
VerificationCapabilityStatus status = 1;
|
|
1727
|
+
bool configured = 2;
|
|
1728
|
+
bool can_approve = 3;
|
|
1729
|
+
repeated UserProfileDataVerificationField fields = 4;
|
|
1730
|
+
}
|
|
1731
|
+
message ApproveVerificationRequest {
|
|
1732
|
+
int32 user_id = 1;
|
|
1733
|
+
VerificationCapability capability = 2;
|
|
1734
|
+
}
|
|
1735
|
+
message ApproveVerificationResponse {}
|
|
1702
1736
|
//Dashboard
|
|
1703
1737
|
message DashboardRequest {
|
|
1704
1738
|
string start_date = 1;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -15,6 +15,28 @@ function deserialize_user_AppleLoginRequest(buffer_arg) {
|
|
|
15
15
|
return user_pb.AppleLoginRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
function serialize_user_ApproveVerificationRequest(arg) {
|
|
19
|
+
if (!(arg instanceof user_pb.ApproveVerificationRequest)) {
|
|
20
|
+
throw new Error('Expected argument of type user.ApproveVerificationRequest');
|
|
21
|
+
}
|
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function deserialize_user_ApproveVerificationRequest(buffer_arg) {
|
|
26
|
+
return user_pb.ApproveVerificationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function serialize_user_ApproveVerificationResponse(arg) {
|
|
30
|
+
if (!(arg instanceof user_pb.ApproveVerificationResponse)) {
|
|
31
|
+
throw new Error('Expected argument of type user.ApproveVerificationResponse');
|
|
32
|
+
}
|
|
33
|
+
return Buffer.from(arg.serializeBinary());
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function deserialize_user_ApproveVerificationResponse(buffer_arg) {
|
|
37
|
+
return user_pb.ApproveVerificationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
38
|
+
}
|
|
39
|
+
|
|
18
40
|
function serialize_user_AssignUserKycRequirementPresetRequest(arg) {
|
|
19
41
|
if (!(arg instanceof user_pb.AssignUserKycRequirementPresetRequest)) {
|
|
20
42
|
throw new Error('Expected argument of type user.AssignUserKycRequirementPresetRequest');
|
|
@@ -477,6 +499,28 @@ function deserialize_user_GetUserLimitsRequest(buffer_arg) {
|
|
|
477
499
|
return user_pb.GetUserLimitsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
478
500
|
}
|
|
479
501
|
|
|
502
|
+
function serialize_user_GetUserProfileDataVerificationRequest(arg) {
|
|
503
|
+
if (!(arg instanceof user_pb.GetUserProfileDataVerificationRequest)) {
|
|
504
|
+
throw new Error('Expected argument of type user.GetUserProfileDataVerificationRequest');
|
|
505
|
+
}
|
|
506
|
+
return Buffer.from(arg.serializeBinary());
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
function deserialize_user_GetUserProfileDataVerificationRequest(buffer_arg) {
|
|
510
|
+
return user_pb.GetUserProfileDataVerificationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
function serialize_user_GetUserProfileDataVerificationResponse(arg) {
|
|
514
|
+
if (!(arg instanceof user_pb.GetUserProfileDataVerificationResponse)) {
|
|
515
|
+
throw new Error('Expected argument of type user.GetUserProfileDataVerificationResponse');
|
|
516
|
+
}
|
|
517
|
+
return Buffer.from(arg.serializeBinary());
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
function deserialize_user_GetUserProfileDataVerificationResponse(buffer_arg) {
|
|
521
|
+
return user_pb.GetUserProfileDataVerificationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
522
|
+
}
|
|
523
|
+
|
|
480
524
|
function serialize_user_GetUserSegmentIdsRequest(arg) {
|
|
481
525
|
if (!(arg instanceof user_pb.GetUserSegmentIdsRequest)) {
|
|
482
526
|
throw new Error('Expected argument of type user.GetUserSegmentIdsRequest');
|
|
@@ -3181,6 +3225,30 @@ readUserKycRequirementStatus: {
|
|
|
3181
3225
|
responseSerialize: serialize_user_UserKycRequirementStatusResponse,
|
|
3182
3226
|
responseDeserialize: deserialize_user_UserKycRequirementStatusResponse,
|
|
3183
3227
|
},
|
|
3228
|
+
// Provider-agnostic BO verification capabilities (capability-scoped; not overall KYC confirmation).
|
|
3229
|
+
getUserProfileDataVerification: {
|
|
3230
|
+
path: '/user.User/getUserProfileDataVerification',
|
|
3231
|
+
requestStream: false,
|
|
3232
|
+
responseStream: false,
|
|
3233
|
+
requestType: user_pb.GetUserProfileDataVerificationRequest,
|
|
3234
|
+
responseType: user_pb.GetUserProfileDataVerificationResponse,
|
|
3235
|
+
requestSerialize: serialize_user_GetUserProfileDataVerificationRequest,
|
|
3236
|
+
requestDeserialize: deserialize_user_GetUserProfileDataVerificationRequest,
|
|
3237
|
+
responseSerialize: serialize_user_GetUserProfileDataVerificationResponse,
|
|
3238
|
+
responseDeserialize: deserialize_user_GetUserProfileDataVerificationResponse,
|
|
3239
|
+
},
|
|
3240
|
+
// Approves a single platform-owned verification capability; does not set global KYC confirmation.
|
|
3241
|
+
approveVerification: {
|
|
3242
|
+
path: '/user.User/approveVerification',
|
|
3243
|
+
requestStream: false,
|
|
3244
|
+
responseStream: false,
|
|
3245
|
+
requestType: user_pb.ApproveVerificationRequest,
|
|
3246
|
+
responseType: user_pb.ApproveVerificationResponse,
|
|
3247
|
+
requestSerialize: serialize_user_ApproveVerificationRequest,
|
|
3248
|
+
requestDeserialize: deserialize_user_ApproveVerificationRequest,
|
|
3249
|
+
responseSerialize: serialize_user_ApproveVerificationResponse,
|
|
3250
|
+
responseDeserialize: deserialize_user_ApproveVerificationResponse,
|
|
3251
|
+
},
|
|
3184
3252
|
// Dashboard
|
|
3185
3253
|
getDashboardInfo: {
|
|
3186
3254
|
path: '/user.User/getDashboardInfo',
|
package/user/user_pb.js
CHANGED
|
@@ -22,6 +22,8 @@ var global = (function() {
|
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
24
|
goog.exportSymbol('proto.user.AppleLoginRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.user.ApproveVerificationRequest', null, global);
|
|
26
|
+
goog.exportSymbol('proto.user.ApproveVerificationResponse', null, global);
|
|
25
27
|
goog.exportSymbol('proto.user.AssignUserKycRequirementPresetRequest', null, global);
|
|
26
28
|
goog.exportSymbol('proto.user.AttachKycRequirementPresetRuleRequest', null, global);
|
|
27
29
|
goog.exportSymbol('proto.user.BatchGetAffiliateAttributionItem', null, global);
|
|
@@ -68,6 +70,8 @@ goog.exportSymbol('proto.user.GetSumSubApplicantRequest', null, global);
|
|
|
68
70
|
goog.exportSymbol('proto.user.GetUserKycVerificationRequirementsRequest', null, global);
|
|
69
71
|
goog.exportSymbol('proto.user.GetUserKycVerificationRequirementsResponse', null, global);
|
|
70
72
|
goog.exportSymbol('proto.user.GetUserLimitsRequest', null, global);
|
|
73
|
+
goog.exportSymbol('proto.user.GetUserProfileDataVerificationRequest', null, global);
|
|
74
|
+
goog.exportSymbol('proto.user.GetUserProfileDataVerificationResponse', null, global);
|
|
71
75
|
goog.exportSymbol('proto.user.GetUserSegmentIdsRequest', null, global);
|
|
72
76
|
goog.exportSymbol('proto.user.GetUserWalletBalancesRequest', null, global);
|
|
73
77
|
goog.exportSymbol('proto.user.GoogleLoginRequest', null, global);
|
|
@@ -228,6 +232,7 @@ goog.exportSymbol('proto.user.UserLoyaltyItem', null, global);
|
|
|
228
232
|
goog.exportSymbol('proto.user.UserManualRestrictionItem', null, global);
|
|
229
233
|
goog.exportSymbol('proto.user.UserManualRestrictionsResponse', null, global);
|
|
230
234
|
goog.exportSymbol('proto.user.UserPasswordRequest', null, global);
|
|
235
|
+
goog.exportSymbol('proto.user.UserProfileDataVerificationField', null, global);
|
|
231
236
|
goog.exportSymbol('proto.user.UserRequest', null, global);
|
|
232
237
|
goog.exportSymbol('proto.user.UserRiskProfileResponse', null, global);
|
|
233
238
|
goog.exportSymbol('proto.user.UserSearchParams', null, global);
|
|
@@ -237,6 +242,8 @@ goog.exportSymbol('proto.user.UserToggleGameStatusResponse', null, global);
|
|
|
237
242
|
goog.exportSymbol('proto.user.UserWalletBalanceItem', null, global);
|
|
238
243
|
goog.exportSymbol('proto.user.UserWalletBalancesResponse', null, global);
|
|
239
244
|
goog.exportSymbol('proto.user.UsersResponse', null, global);
|
|
245
|
+
goog.exportSymbol('proto.user.VerificationCapability', null, global);
|
|
246
|
+
goog.exportSymbol('proto.user.VerificationCapabilityStatus', null, global);
|
|
240
247
|
goog.exportSymbol('proto.user.VerificationStatus', null, global);
|
|
241
248
|
goog.exportSymbol('proto.user.VerificationStatusItemsResponse', null, global);
|
|
242
249
|
goog.exportSymbol('proto.user.VerifySmsResetPasswordCodeRequest', null, global);
|
|
@@ -4190,6 +4197,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4190
4197
|
*/
|
|
4191
4198
|
proto.user.UserKycRequirementStatusResponse.displayName = 'proto.user.UserKycRequirementStatusResponse';
|
|
4192
4199
|
}
|
|
4200
|
+
/**
|
|
4201
|
+
* Generated by JsPbCodeGenerator.
|
|
4202
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4203
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4204
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4205
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4206
|
+
* valid.
|
|
4207
|
+
* @extends {jspb.Message}
|
|
4208
|
+
* @constructor
|
|
4209
|
+
*/
|
|
4210
|
+
proto.user.GetUserProfileDataVerificationRequest = function(opt_data) {
|
|
4211
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4212
|
+
};
|
|
4213
|
+
goog.inherits(proto.user.GetUserProfileDataVerificationRequest, jspb.Message);
|
|
4214
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4215
|
+
/**
|
|
4216
|
+
* @public
|
|
4217
|
+
* @override
|
|
4218
|
+
*/
|
|
4219
|
+
proto.user.GetUserProfileDataVerificationRequest.displayName = 'proto.user.GetUserProfileDataVerificationRequest';
|
|
4220
|
+
}
|
|
4221
|
+
/**
|
|
4222
|
+
* Generated by JsPbCodeGenerator.
|
|
4223
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4224
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4225
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4226
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4227
|
+
* valid.
|
|
4228
|
+
* @extends {jspb.Message}
|
|
4229
|
+
* @constructor
|
|
4230
|
+
*/
|
|
4231
|
+
proto.user.UserProfileDataVerificationField = function(opt_data) {
|
|
4232
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4233
|
+
};
|
|
4234
|
+
goog.inherits(proto.user.UserProfileDataVerificationField, jspb.Message);
|
|
4235
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4236
|
+
/**
|
|
4237
|
+
* @public
|
|
4238
|
+
* @override
|
|
4239
|
+
*/
|
|
4240
|
+
proto.user.UserProfileDataVerificationField.displayName = 'proto.user.UserProfileDataVerificationField';
|
|
4241
|
+
}
|
|
4242
|
+
/**
|
|
4243
|
+
* Generated by JsPbCodeGenerator.
|
|
4244
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4245
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4246
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4247
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4248
|
+
* valid.
|
|
4249
|
+
* @extends {jspb.Message}
|
|
4250
|
+
* @constructor
|
|
4251
|
+
*/
|
|
4252
|
+
proto.user.GetUserProfileDataVerificationResponse = function(opt_data) {
|
|
4253
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.GetUserProfileDataVerificationResponse.repeatedFields_, null);
|
|
4254
|
+
};
|
|
4255
|
+
goog.inherits(proto.user.GetUserProfileDataVerificationResponse, jspb.Message);
|
|
4256
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4257
|
+
/**
|
|
4258
|
+
* @public
|
|
4259
|
+
* @override
|
|
4260
|
+
*/
|
|
4261
|
+
proto.user.GetUserProfileDataVerificationResponse.displayName = 'proto.user.GetUserProfileDataVerificationResponse';
|
|
4262
|
+
}
|
|
4263
|
+
/**
|
|
4264
|
+
* Generated by JsPbCodeGenerator.
|
|
4265
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4266
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4267
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4268
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4269
|
+
* valid.
|
|
4270
|
+
* @extends {jspb.Message}
|
|
4271
|
+
* @constructor
|
|
4272
|
+
*/
|
|
4273
|
+
proto.user.ApproveVerificationRequest = function(opt_data) {
|
|
4274
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4275
|
+
};
|
|
4276
|
+
goog.inherits(proto.user.ApproveVerificationRequest, jspb.Message);
|
|
4277
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4278
|
+
/**
|
|
4279
|
+
* @public
|
|
4280
|
+
* @override
|
|
4281
|
+
*/
|
|
4282
|
+
proto.user.ApproveVerificationRequest.displayName = 'proto.user.ApproveVerificationRequest';
|
|
4283
|
+
}
|
|
4284
|
+
/**
|
|
4285
|
+
* Generated by JsPbCodeGenerator.
|
|
4286
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4287
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4288
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4289
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4290
|
+
* valid.
|
|
4291
|
+
* @extends {jspb.Message}
|
|
4292
|
+
* @constructor
|
|
4293
|
+
*/
|
|
4294
|
+
proto.user.ApproveVerificationResponse = function(opt_data) {
|
|
4295
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4296
|
+
};
|
|
4297
|
+
goog.inherits(proto.user.ApproveVerificationResponse, jspb.Message);
|
|
4298
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4299
|
+
/**
|
|
4300
|
+
* @public
|
|
4301
|
+
* @override
|
|
4302
|
+
*/
|
|
4303
|
+
proto.user.ApproveVerificationResponse.displayName = 'proto.user.ApproveVerificationResponse';
|
|
4304
|
+
}
|
|
4193
4305
|
/**
|
|
4194
4306
|
* Generated by JsPbCodeGenerator.
|
|
4195
4307
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -72132,6 +72244,837 @@ proto.user.UserKycRequirementStatusResponse.prototype.hasPresetId = function() {
|
|
|
72132
72244
|
|
|
72133
72245
|
|
|
72134
72246
|
|
|
72247
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72248
|
+
/**
|
|
72249
|
+
* Creates an object representation of this proto.
|
|
72250
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72251
|
+
* Optional fields that are not set will be set to undefined.
|
|
72252
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72253
|
+
* For the list of reserved names please see:
|
|
72254
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72255
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72256
|
+
* JSPB instance for transitional soy proto support:
|
|
72257
|
+
* http://goto/soy-param-migration
|
|
72258
|
+
* @return {!Object}
|
|
72259
|
+
*/
|
|
72260
|
+
proto.user.GetUserProfileDataVerificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
72261
|
+
return proto.user.GetUserProfileDataVerificationRequest.toObject(opt_includeInstance, this);
|
|
72262
|
+
};
|
|
72263
|
+
|
|
72264
|
+
|
|
72265
|
+
/**
|
|
72266
|
+
* Static version of the {@see toObject} method.
|
|
72267
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72268
|
+
* the JSPB instance for transitional soy proto support:
|
|
72269
|
+
* http://goto/soy-param-migration
|
|
72270
|
+
* @param {!proto.user.GetUserProfileDataVerificationRequest} msg The msg instance to transform.
|
|
72271
|
+
* @return {!Object}
|
|
72272
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72273
|
+
*/
|
|
72274
|
+
proto.user.GetUserProfileDataVerificationRequest.toObject = function(includeInstance, msg) {
|
|
72275
|
+
var f, obj = {
|
|
72276
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
72277
|
+
};
|
|
72278
|
+
|
|
72279
|
+
if (includeInstance) {
|
|
72280
|
+
obj.$jspbMessageInstance = msg;
|
|
72281
|
+
}
|
|
72282
|
+
return obj;
|
|
72283
|
+
};
|
|
72284
|
+
}
|
|
72285
|
+
|
|
72286
|
+
|
|
72287
|
+
/**
|
|
72288
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72289
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72290
|
+
* @return {!proto.user.GetUserProfileDataVerificationRequest}
|
|
72291
|
+
*/
|
|
72292
|
+
proto.user.GetUserProfileDataVerificationRequest.deserializeBinary = function(bytes) {
|
|
72293
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72294
|
+
var msg = new proto.user.GetUserProfileDataVerificationRequest;
|
|
72295
|
+
return proto.user.GetUserProfileDataVerificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
72296
|
+
};
|
|
72297
|
+
|
|
72298
|
+
|
|
72299
|
+
/**
|
|
72300
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72301
|
+
* given reader into the given message object.
|
|
72302
|
+
* @param {!proto.user.GetUserProfileDataVerificationRequest} msg The message object to deserialize into.
|
|
72303
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72304
|
+
* @return {!proto.user.GetUserProfileDataVerificationRequest}
|
|
72305
|
+
*/
|
|
72306
|
+
proto.user.GetUserProfileDataVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
72307
|
+
while (reader.nextField()) {
|
|
72308
|
+
if (reader.isEndGroup()) {
|
|
72309
|
+
break;
|
|
72310
|
+
}
|
|
72311
|
+
var field = reader.getFieldNumber();
|
|
72312
|
+
switch (field) {
|
|
72313
|
+
case 1:
|
|
72314
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
72315
|
+
msg.setUserId(value);
|
|
72316
|
+
break;
|
|
72317
|
+
default:
|
|
72318
|
+
reader.skipField();
|
|
72319
|
+
break;
|
|
72320
|
+
}
|
|
72321
|
+
}
|
|
72322
|
+
return msg;
|
|
72323
|
+
};
|
|
72324
|
+
|
|
72325
|
+
|
|
72326
|
+
/**
|
|
72327
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72328
|
+
* @return {!Uint8Array}
|
|
72329
|
+
*/
|
|
72330
|
+
proto.user.GetUserProfileDataVerificationRequest.prototype.serializeBinary = function() {
|
|
72331
|
+
var writer = new jspb.BinaryWriter();
|
|
72332
|
+
proto.user.GetUserProfileDataVerificationRequest.serializeBinaryToWriter(this, writer);
|
|
72333
|
+
return writer.getResultBuffer();
|
|
72334
|
+
};
|
|
72335
|
+
|
|
72336
|
+
|
|
72337
|
+
/**
|
|
72338
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72339
|
+
* format), writing to the given BinaryWriter.
|
|
72340
|
+
* @param {!proto.user.GetUserProfileDataVerificationRequest} message
|
|
72341
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72342
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72343
|
+
*/
|
|
72344
|
+
proto.user.GetUserProfileDataVerificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
72345
|
+
var f = undefined;
|
|
72346
|
+
f = message.getUserId();
|
|
72347
|
+
if (f !== 0) {
|
|
72348
|
+
writer.writeInt32(
|
|
72349
|
+
1,
|
|
72350
|
+
f
|
|
72351
|
+
);
|
|
72352
|
+
}
|
|
72353
|
+
};
|
|
72354
|
+
|
|
72355
|
+
|
|
72356
|
+
/**
|
|
72357
|
+
* optional int32 user_id = 1;
|
|
72358
|
+
* @return {number}
|
|
72359
|
+
*/
|
|
72360
|
+
proto.user.GetUserProfileDataVerificationRequest.prototype.getUserId = function() {
|
|
72361
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
72362
|
+
};
|
|
72363
|
+
|
|
72364
|
+
|
|
72365
|
+
/**
|
|
72366
|
+
* @param {number} value
|
|
72367
|
+
* @return {!proto.user.GetUserProfileDataVerificationRequest} returns this
|
|
72368
|
+
*/
|
|
72369
|
+
proto.user.GetUserProfileDataVerificationRequest.prototype.setUserId = function(value) {
|
|
72370
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
72371
|
+
};
|
|
72372
|
+
|
|
72373
|
+
|
|
72374
|
+
|
|
72375
|
+
|
|
72376
|
+
|
|
72377
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72378
|
+
/**
|
|
72379
|
+
* Creates an object representation of this proto.
|
|
72380
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72381
|
+
* Optional fields that are not set will be set to undefined.
|
|
72382
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72383
|
+
* For the list of reserved names please see:
|
|
72384
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72385
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72386
|
+
* JSPB instance for transitional soy proto support:
|
|
72387
|
+
* http://goto/soy-param-migration
|
|
72388
|
+
* @return {!Object}
|
|
72389
|
+
*/
|
|
72390
|
+
proto.user.UserProfileDataVerificationField.prototype.toObject = function(opt_includeInstance) {
|
|
72391
|
+
return proto.user.UserProfileDataVerificationField.toObject(opt_includeInstance, this);
|
|
72392
|
+
};
|
|
72393
|
+
|
|
72394
|
+
|
|
72395
|
+
/**
|
|
72396
|
+
* Static version of the {@see toObject} method.
|
|
72397
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72398
|
+
* the JSPB instance for transitional soy proto support:
|
|
72399
|
+
* http://goto/soy-param-migration
|
|
72400
|
+
* @param {!proto.user.UserProfileDataVerificationField} msg The msg instance to transform.
|
|
72401
|
+
* @return {!Object}
|
|
72402
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72403
|
+
*/
|
|
72404
|
+
proto.user.UserProfileDataVerificationField.toObject = function(includeInstance, msg) {
|
|
72405
|
+
var f, obj = {
|
|
72406
|
+
fieldKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
72407
|
+
value: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72408
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
72409
|
+
};
|
|
72410
|
+
|
|
72411
|
+
if (includeInstance) {
|
|
72412
|
+
obj.$jspbMessageInstance = msg;
|
|
72413
|
+
}
|
|
72414
|
+
return obj;
|
|
72415
|
+
};
|
|
72416
|
+
}
|
|
72417
|
+
|
|
72418
|
+
|
|
72419
|
+
/**
|
|
72420
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72421
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72422
|
+
* @return {!proto.user.UserProfileDataVerificationField}
|
|
72423
|
+
*/
|
|
72424
|
+
proto.user.UserProfileDataVerificationField.deserializeBinary = function(bytes) {
|
|
72425
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72426
|
+
var msg = new proto.user.UserProfileDataVerificationField;
|
|
72427
|
+
return proto.user.UserProfileDataVerificationField.deserializeBinaryFromReader(msg, reader);
|
|
72428
|
+
};
|
|
72429
|
+
|
|
72430
|
+
|
|
72431
|
+
/**
|
|
72432
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72433
|
+
* given reader into the given message object.
|
|
72434
|
+
* @param {!proto.user.UserProfileDataVerificationField} msg The message object to deserialize into.
|
|
72435
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72436
|
+
* @return {!proto.user.UserProfileDataVerificationField}
|
|
72437
|
+
*/
|
|
72438
|
+
proto.user.UserProfileDataVerificationField.deserializeBinaryFromReader = function(msg, reader) {
|
|
72439
|
+
while (reader.nextField()) {
|
|
72440
|
+
if (reader.isEndGroup()) {
|
|
72441
|
+
break;
|
|
72442
|
+
}
|
|
72443
|
+
var field = reader.getFieldNumber();
|
|
72444
|
+
switch (field) {
|
|
72445
|
+
case 1:
|
|
72446
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72447
|
+
msg.setFieldKey(value);
|
|
72448
|
+
break;
|
|
72449
|
+
case 2:
|
|
72450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72451
|
+
msg.setValue(value);
|
|
72452
|
+
break;
|
|
72453
|
+
case 3:
|
|
72454
|
+
var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
|
|
72455
|
+
msg.setStatus(value);
|
|
72456
|
+
break;
|
|
72457
|
+
default:
|
|
72458
|
+
reader.skipField();
|
|
72459
|
+
break;
|
|
72460
|
+
}
|
|
72461
|
+
}
|
|
72462
|
+
return msg;
|
|
72463
|
+
};
|
|
72464
|
+
|
|
72465
|
+
|
|
72466
|
+
/**
|
|
72467
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72468
|
+
* @return {!Uint8Array}
|
|
72469
|
+
*/
|
|
72470
|
+
proto.user.UserProfileDataVerificationField.prototype.serializeBinary = function() {
|
|
72471
|
+
var writer = new jspb.BinaryWriter();
|
|
72472
|
+
proto.user.UserProfileDataVerificationField.serializeBinaryToWriter(this, writer);
|
|
72473
|
+
return writer.getResultBuffer();
|
|
72474
|
+
};
|
|
72475
|
+
|
|
72476
|
+
|
|
72477
|
+
/**
|
|
72478
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72479
|
+
* format), writing to the given BinaryWriter.
|
|
72480
|
+
* @param {!proto.user.UserProfileDataVerificationField} message
|
|
72481
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72482
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72483
|
+
*/
|
|
72484
|
+
proto.user.UserProfileDataVerificationField.serializeBinaryToWriter = function(message, writer) {
|
|
72485
|
+
var f = undefined;
|
|
72486
|
+
f = message.getFieldKey();
|
|
72487
|
+
if (f.length > 0) {
|
|
72488
|
+
writer.writeString(
|
|
72489
|
+
1,
|
|
72490
|
+
f
|
|
72491
|
+
);
|
|
72492
|
+
}
|
|
72493
|
+
f = message.getValue();
|
|
72494
|
+
if (f.length > 0) {
|
|
72495
|
+
writer.writeString(
|
|
72496
|
+
2,
|
|
72497
|
+
f
|
|
72498
|
+
);
|
|
72499
|
+
}
|
|
72500
|
+
f = message.getStatus();
|
|
72501
|
+
if (f !== 0.0) {
|
|
72502
|
+
writer.writeEnum(
|
|
72503
|
+
3,
|
|
72504
|
+
f
|
|
72505
|
+
);
|
|
72506
|
+
}
|
|
72507
|
+
};
|
|
72508
|
+
|
|
72509
|
+
|
|
72510
|
+
/**
|
|
72511
|
+
* optional string field_key = 1;
|
|
72512
|
+
* @return {string}
|
|
72513
|
+
*/
|
|
72514
|
+
proto.user.UserProfileDataVerificationField.prototype.getFieldKey = function() {
|
|
72515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
72516
|
+
};
|
|
72517
|
+
|
|
72518
|
+
|
|
72519
|
+
/**
|
|
72520
|
+
* @param {string} value
|
|
72521
|
+
* @return {!proto.user.UserProfileDataVerificationField} returns this
|
|
72522
|
+
*/
|
|
72523
|
+
proto.user.UserProfileDataVerificationField.prototype.setFieldKey = function(value) {
|
|
72524
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
72525
|
+
};
|
|
72526
|
+
|
|
72527
|
+
|
|
72528
|
+
/**
|
|
72529
|
+
* optional string value = 2;
|
|
72530
|
+
* @return {string}
|
|
72531
|
+
*/
|
|
72532
|
+
proto.user.UserProfileDataVerificationField.prototype.getValue = function() {
|
|
72533
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72534
|
+
};
|
|
72535
|
+
|
|
72536
|
+
|
|
72537
|
+
/**
|
|
72538
|
+
* @param {string} value
|
|
72539
|
+
* @return {!proto.user.UserProfileDataVerificationField} returns this
|
|
72540
|
+
*/
|
|
72541
|
+
proto.user.UserProfileDataVerificationField.prototype.setValue = function(value) {
|
|
72542
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72543
|
+
};
|
|
72544
|
+
|
|
72545
|
+
|
|
72546
|
+
/**
|
|
72547
|
+
* optional VerificationCapabilityStatus status = 3;
|
|
72548
|
+
* @return {!proto.user.VerificationCapabilityStatus}
|
|
72549
|
+
*/
|
|
72550
|
+
proto.user.UserProfileDataVerificationField.prototype.getStatus = function() {
|
|
72551
|
+
return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
72552
|
+
};
|
|
72553
|
+
|
|
72554
|
+
|
|
72555
|
+
/**
|
|
72556
|
+
* @param {!proto.user.VerificationCapabilityStatus} value
|
|
72557
|
+
* @return {!proto.user.UserProfileDataVerificationField} returns this
|
|
72558
|
+
*/
|
|
72559
|
+
proto.user.UserProfileDataVerificationField.prototype.setStatus = function(value) {
|
|
72560
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
72561
|
+
};
|
|
72562
|
+
|
|
72563
|
+
|
|
72564
|
+
|
|
72565
|
+
/**
|
|
72566
|
+
* List of repeated fields within this message type.
|
|
72567
|
+
* @private {!Array<number>}
|
|
72568
|
+
* @const
|
|
72569
|
+
*/
|
|
72570
|
+
proto.user.GetUserProfileDataVerificationResponse.repeatedFields_ = [4];
|
|
72571
|
+
|
|
72572
|
+
|
|
72573
|
+
|
|
72574
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72575
|
+
/**
|
|
72576
|
+
* Creates an object representation of this proto.
|
|
72577
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72578
|
+
* Optional fields that are not set will be set to undefined.
|
|
72579
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72580
|
+
* For the list of reserved names please see:
|
|
72581
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72582
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72583
|
+
* JSPB instance for transitional soy proto support:
|
|
72584
|
+
* http://goto/soy-param-migration
|
|
72585
|
+
* @return {!Object}
|
|
72586
|
+
*/
|
|
72587
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
72588
|
+
return proto.user.GetUserProfileDataVerificationResponse.toObject(opt_includeInstance, this);
|
|
72589
|
+
};
|
|
72590
|
+
|
|
72591
|
+
|
|
72592
|
+
/**
|
|
72593
|
+
* Static version of the {@see toObject} method.
|
|
72594
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72595
|
+
* the JSPB instance for transitional soy proto support:
|
|
72596
|
+
* http://goto/soy-param-migration
|
|
72597
|
+
* @param {!proto.user.GetUserProfileDataVerificationResponse} msg The msg instance to transform.
|
|
72598
|
+
* @return {!Object}
|
|
72599
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72600
|
+
*/
|
|
72601
|
+
proto.user.GetUserProfileDataVerificationResponse.toObject = function(includeInstance, msg) {
|
|
72602
|
+
var f, obj = {
|
|
72603
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
72604
|
+
configured: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
72605
|
+
canApprove: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
72606
|
+
fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
|
|
72607
|
+
proto.user.UserProfileDataVerificationField.toObject, includeInstance)
|
|
72608
|
+
};
|
|
72609
|
+
|
|
72610
|
+
if (includeInstance) {
|
|
72611
|
+
obj.$jspbMessageInstance = msg;
|
|
72612
|
+
}
|
|
72613
|
+
return obj;
|
|
72614
|
+
};
|
|
72615
|
+
}
|
|
72616
|
+
|
|
72617
|
+
|
|
72618
|
+
/**
|
|
72619
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72620
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72621
|
+
* @return {!proto.user.GetUserProfileDataVerificationResponse}
|
|
72622
|
+
*/
|
|
72623
|
+
proto.user.GetUserProfileDataVerificationResponse.deserializeBinary = function(bytes) {
|
|
72624
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72625
|
+
var msg = new proto.user.GetUserProfileDataVerificationResponse;
|
|
72626
|
+
return proto.user.GetUserProfileDataVerificationResponse.deserializeBinaryFromReader(msg, reader);
|
|
72627
|
+
};
|
|
72628
|
+
|
|
72629
|
+
|
|
72630
|
+
/**
|
|
72631
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72632
|
+
* given reader into the given message object.
|
|
72633
|
+
* @param {!proto.user.GetUserProfileDataVerificationResponse} msg The message object to deserialize into.
|
|
72634
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72635
|
+
* @return {!proto.user.GetUserProfileDataVerificationResponse}
|
|
72636
|
+
*/
|
|
72637
|
+
proto.user.GetUserProfileDataVerificationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
72638
|
+
while (reader.nextField()) {
|
|
72639
|
+
if (reader.isEndGroup()) {
|
|
72640
|
+
break;
|
|
72641
|
+
}
|
|
72642
|
+
var field = reader.getFieldNumber();
|
|
72643
|
+
switch (field) {
|
|
72644
|
+
case 1:
|
|
72645
|
+
var value = /** @type {!proto.user.VerificationCapabilityStatus} */ (reader.readEnum());
|
|
72646
|
+
msg.setStatus(value);
|
|
72647
|
+
break;
|
|
72648
|
+
case 2:
|
|
72649
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
72650
|
+
msg.setConfigured(value);
|
|
72651
|
+
break;
|
|
72652
|
+
case 3:
|
|
72653
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
72654
|
+
msg.setCanApprove(value);
|
|
72655
|
+
break;
|
|
72656
|
+
case 4:
|
|
72657
|
+
var value = new proto.user.UserProfileDataVerificationField;
|
|
72658
|
+
reader.readMessage(value,proto.user.UserProfileDataVerificationField.deserializeBinaryFromReader);
|
|
72659
|
+
msg.addFields(value);
|
|
72660
|
+
break;
|
|
72661
|
+
default:
|
|
72662
|
+
reader.skipField();
|
|
72663
|
+
break;
|
|
72664
|
+
}
|
|
72665
|
+
}
|
|
72666
|
+
return msg;
|
|
72667
|
+
};
|
|
72668
|
+
|
|
72669
|
+
|
|
72670
|
+
/**
|
|
72671
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72672
|
+
* @return {!Uint8Array}
|
|
72673
|
+
*/
|
|
72674
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.serializeBinary = function() {
|
|
72675
|
+
var writer = new jspb.BinaryWriter();
|
|
72676
|
+
proto.user.GetUserProfileDataVerificationResponse.serializeBinaryToWriter(this, writer);
|
|
72677
|
+
return writer.getResultBuffer();
|
|
72678
|
+
};
|
|
72679
|
+
|
|
72680
|
+
|
|
72681
|
+
/**
|
|
72682
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72683
|
+
* format), writing to the given BinaryWriter.
|
|
72684
|
+
* @param {!proto.user.GetUserProfileDataVerificationResponse} message
|
|
72685
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72686
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72687
|
+
*/
|
|
72688
|
+
proto.user.GetUserProfileDataVerificationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
72689
|
+
var f = undefined;
|
|
72690
|
+
f = message.getStatus();
|
|
72691
|
+
if (f !== 0.0) {
|
|
72692
|
+
writer.writeEnum(
|
|
72693
|
+
1,
|
|
72694
|
+
f
|
|
72695
|
+
);
|
|
72696
|
+
}
|
|
72697
|
+
f = message.getConfigured();
|
|
72698
|
+
if (f) {
|
|
72699
|
+
writer.writeBool(
|
|
72700
|
+
2,
|
|
72701
|
+
f
|
|
72702
|
+
);
|
|
72703
|
+
}
|
|
72704
|
+
f = message.getCanApprove();
|
|
72705
|
+
if (f) {
|
|
72706
|
+
writer.writeBool(
|
|
72707
|
+
3,
|
|
72708
|
+
f
|
|
72709
|
+
);
|
|
72710
|
+
}
|
|
72711
|
+
f = message.getFieldsList();
|
|
72712
|
+
if (f.length > 0) {
|
|
72713
|
+
writer.writeRepeatedMessage(
|
|
72714
|
+
4,
|
|
72715
|
+
f,
|
|
72716
|
+
proto.user.UserProfileDataVerificationField.serializeBinaryToWriter
|
|
72717
|
+
);
|
|
72718
|
+
}
|
|
72719
|
+
};
|
|
72720
|
+
|
|
72721
|
+
|
|
72722
|
+
/**
|
|
72723
|
+
* optional VerificationCapabilityStatus status = 1;
|
|
72724
|
+
* @return {!proto.user.VerificationCapabilityStatus}
|
|
72725
|
+
*/
|
|
72726
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.getStatus = function() {
|
|
72727
|
+
return /** @type {!proto.user.VerificationCapabilityStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
72728
|
+
};
|
|
72729
|
+
|
|
72730
|
+
|
|
72731
|
+
/**
|
|
72732
|
+
* @param {!proto.user.VerificationCapabilityStatus} value
|
|
72733
|
+
* @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
|
|
72734
|
+
*/
|
|
72735
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.setStatus = function(value) {
|
|
72736
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
72737
|
+
};
|
|
72738
|
+
|
|
72739
|
+
|
|
72740
|
+
/**
|
|
72741
|
+
* optional bool configured = 2;
|
|
72742
|
+
* @return {boolean}
|
|
72743
|
+
*/
|
|
72744
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.getConfigured = function() {
|
|
72745
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
72746
|
+
};
|
|
72747
|
+
|
|
72748
|
+
|
|
72749
|
+
/**
|
|
72750
|
+
* @param {boolean} value
|
|
72751
|
+
* @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
|
|
72752
|
+
*/
|
|
72753
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.setConfigured = function(value) {
|
|
72754
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
72755
|
+
};
|
|
72756
|
+
|
|
72757
|
+
|
|
72758
|
+
/**
|
|
72759
|
+
* optional bool can_approve = 3;
|
|
72760
|
+
* @return {boolean}
|
|
72761
|
+
*/
|
|
72762
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.getCanApprove = function() {
|
|
72763
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
72764
|
+
};
|
|
72765
|
+
|
|
72766
|
+
|
|
72767
|
+
/**
|
|
72768
|
+
* @param {boolean} value
|
|
72769
|
+
* @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
|
|
72770
|
+
*/
|
|
72771
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.setCanApprove = function(value) {
|
|
72772
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
72773
|
+
};
|
|
72774
|
+
|
|
72775
|
+
|
|
72776
|
+
/**
|
|
72777
|
+
* repeated UserProfileDataVerificationField fields = 4;
|
|
72778
|
+
* @return {!Array<!proto.user.UserProfileDataVerificationField>}
|
|
72779
|
+
*/
|
|
72780
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.getFieldsList = function() {
|
|
72781
|
+
return /** @type{!Array<!proto.user.UserProfileDataVerificationField>} */ (
|
|
72782
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.UserProfileDataVerificationField, 4));
|
|
72783
|
+
};
|
|
72784
|
+
|
|
72785
|
+
|
|
72786
|
+
/**
|
|
72787
|
+
* @param {!Array<!proto.user.UserProfileDataVerificationField>} value
|
|
72788
|
+
* @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
|
|
72789
|
+
*/
|
|
72790
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.setFieldsList = function(value) {
|
|
72791
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
72792
|
+
};
|
|
72793
|
+
|
|
72794
|
+
|
|
72795
|
+
/**
|
|
72796
|
+
* @param {!proto.user.UserProfileDataVerificationField=} opt_value
|
|
72797
|
+
* @param {number=} opt_index
|
|
72798
|
+
* @return {!proto.user.UserProfileDataVerificationField}
|
|
72799
|
+
*/
|
|
72800
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.addFields = function(opt_value, opt_index) {
|
|
72801
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.user.UserProfileDataVerificationField, opt_index);
|
|
72802
|
+
};
|
|
72803
|
+
|
|
72804
|
+
|
|
72805
|
+
/**
|
|
72806
|
+
* Clears the list making it empty but non-null.
|
|
72807
|
+
* @return {!proto.user.GetUserProfileDataVerificationResponse} returns this
|
|
72808
|
+
*/
|
|
72809
|
+
proto.user.GetUserProfileDataVerificationResponse.prototype.clearFieldsList = function() {
|
|
72810
|
+
return this.setFieldsList([]);
|
|
72811
|
+
};
|
|
72812
|
+
|
|
72813
|
+
|
|
72814
|
+
|
|
72815
|
+
|
|
72816
|
+
|
|
72817
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72818
|
+
/**
|
|
72819
|
+
* Creates an object representation of this proto.
|
|
72820
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72821
|
+
* Optional fields that are not set will be set to undefined.
|
|
72822
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72823
|
+
* For the list of reserved names please see:
|
|
72824
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72825
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72826
|
+
* JSPB instance for transitional soy proto support:
|
|
72827
|
+
* http://goto/soy-param-migration
|
|
72828
|
+
* @return {!Object}
|
|
72829
|
+
*/
|
|
72830
|
+
proto.user.ApproveVerificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
72831
|
+
return proto.user.ApproveVerificationRequest.toObject(opt_includeInstance, this);
|
|
72832
|
+
};
|
|
72833
|
+
|
|
72834
|
+
|
|
72835
|
+
/**
|
|
72836
|
+
* Static version of the {@see toObject} method.
|
|
72837
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72838
|
+
* the JSPB instance for transitional soy proto support:
|
|
72839
|
+
* http://goto/soy-param-migration
|
|
72840
|
+
* @param {!proto.user.ApproveVerificationRequest} msg The msg instance to transform.
|
|
72841
|
+
* @return {!Object}
|
|
72842
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72843
|
+
*/
|
|
72844
|
+
proto.user.ApproveVerificationRequest.toObject = function(includeInstance, msg) {
|
|
72845
|
+
var f, obj = {
|
|
72846
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
72847
|
+
capability: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
72848
|
+
};
|
|
72849
|
+
|
|
72850
|
+
if (includeInstance) {
|
|
72851
|
+
obj.$jspbMessageInstance = msg;
|
|
72852
|
+
}
|
|
72853
|
+
return obj;
|
|
72854
|
+
};
|
|
72855
|
+
}
|
|
72856
|
+
|
|
72857
|
+
|
|
72858
|
+
/**
|
|
72859
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72860
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72861
|
+
* @return {!proto.user.ApproveVerificationRequest}
|
|
72862
|
+
*/
|
|
72863
|
+
proto.user.ApproveVerificationRequest.deserializeBinary = function(bytes) {
|
|
72864
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72865
|
+
var msg = new proto.user.ApproveVerificationRequest;
|
|
72866
|
+
return proto.user.ApproveVerificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
72867
|
+
};
|
|
72868
|
+
|
|
72869
|
+
|
|
72870
|
+
/**
|
|
72871
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72872
|
+
* given reader into the given message object.
|
|
72873
|
+
* @param {!proto.user.ApproveVerificationRequest} msg The message object to deserialize into.
|
|
72874
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72875
|
+
* @return {!proto.user.ApproveVerificationRequest}
|
|
72876
|
+
*/
|
|
72877
|
+
proto.user.ApproveVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
72878
|
+
while (reader.nextField()) {
|
|
72879
|
+
if (reader.isEndGroup()) {
|
|
72880
|
+
break;
|
|
72881
|
+
}
|
|
72882
|
+
var field = reader.getFieldNumber();
|
|
72883
|
+
switch (field) {
|
|
72884
|
+
case 1:
|
|
72885
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
72886
|
+
msg.setUserId(value);
|
|
72887
|
+
break;
|
|
72888
|
+
case 2:
|
|
72889
|
+
var value = /** @type {!proto.user.VerificationCapability} */ (reader.readEnum());
|
|
72890
|
+
msg.setCapability(value);
|
|
72891
|
+
break;
|
|
72892
|
+
default:
|
|
72893
|
+
reader.skipField();
|
|
72894
|
+
break;
|
|
72895
|
+
}
|
|
72896
|
+
}
|
|
72897
|
+
return msg;
|
|
72898
|
+
};
|
|
72899
|
+
|
|
72900
|
+
|
|
72901
|
+
/**
|
|
72902
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72903
|
+
* @return {!Uint8Array}
|
|
72904
|
+
*/
|
|
72905
|
+
proto.user.ApproveVerificationRequest.prototype.serializeBinary = function() {
|
|
72906
|
+
var writer = new jspb.BinaryWriter();
|
|
72907
|
+
proto.user.ApproveVerificationRequest.serializeBinaryToWriter(this, writer);
|
|
72908
|
+
return writer.getResultBuffer();
|
|
72909
|
+
};
|
|
72910
|
+
|
|
72911
|
+
|
|
72912
|
+
/**
|
|
72913
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72914
|
+
* format), writing to the given BinaryWriter.
|
|
72915
|
+
* @param {!proto.user.ApproveVerificationRequest} message
|
|
72916
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72917
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72918
|
+
*/
|
|
72919
|
+
proto.user.ApproveVerificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
72920
|
+
var f = undefined;
|
|
72921
|
+
f = message.getUserId();
|
|
72922
|
+
if (f !== 0) {
|
|
72923
|
+
writer.writeInt32(
|
|
72924
|
+
1,
|
|
72925
|
+
f
|
|
72926
|
+
);
|
|
72927
|
+
}
|
|
72928
|
+
f = message.getCapability();
|
|
72929
|
+
if (f !== 0.0) {
|
|
72930
|
+
writer.writeEnum(
|
|
72931
|
+
2,
|
|
72932
|
+
f
|
|
72933
|
+
);
|
|
72934
|
+
}
|
|
72935
|
+
};
|
|
72936
|
+
|
|
72937
|
+
|
|
72938
|
+
/**
|
|
72939
|
+
* optional int32 user_id = 1;
|
|
72940
|
+
* @return {number}
|
|
72941
|
+
*/
|
|
72942
|
+
proto.user.ApproveVerificationRequest.prototype.getUserId = function() {
|
|
72943
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
72944
|
+
};
|
|
72945
|
+
|
|
72946
|
+
|
|
72947
|
+
/**
|
|
72948
|
+
* @param {number} value
|
|
72949
|
+
* @return {!proto.user.ApproveVerificationRequest} returns this
|
|
72950
|
+
*/
|
|
72951
|
+
proto.user.ApproveVerificationRequest.prototype.setUserId = function(value) {
|
|
72952
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
72953
|
+
};
|
|
72954
|
+
|
|
72955
|
+
|
|
72956
|
+
/**
|
|
72957
|
+
* optional VerificationCapability capability = 2;
|
|
72958
|
+
* @return {!proto.user.VerificationCapability}
|
|
72959
|
+
*/
|
|
72960
|
+
proto.user.ApproveVerificationRequest.prototype.getCapability = function() {
|
|
72961
|
+
return /** @type {!proto.user.VerificationCapability} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
72962
|
+
};
|
|
72963
|
+
|
|
72964
|
+
|
|
72965
|
+
/**
|
|
72966
|
+
* @param {!proto.user.VerificationCapability} value
|
|
72967
|
+
* @return {!proto.user.ApproveVerificationRequest} returns this
|
|
72968
|
+
*/
|
|
72969
|
+
proto.user.ApproveVerificationRequest.prototype.setCapability = function(value) {
|
|
72970
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
72971
|
+
};
|
|
72972
|
+
|
|
72973
|
+
|
|
72974
|
+
|
|
72975
|
+
|
|
72976
|
+
|
|
72977
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72978
|
+
/**
|
|
72979
|
+
* Creates an object representation of this proto.
|
|
72980
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72981
|
+
* Optional fields that are not set will be set to undefined.
|
|
72982
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72983
|
+
* For the list of reserved names please see:
|
|
72984
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72985
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72986
|
+
* JSPB instance for transitional soy proto support:
|
|
72987
|
+
* http://goto/soy-param-migration
|
|
72988
|
+
* @return {!Object}
|
|
72989
|
+
*/
|
|
72990
|
+
proto.user.ApproveVerificationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
72991
|
+
return proto.user.ApproveVerificationResponse.toObject(opt_includeInstance, this);
|
|
72992
|
+
};
|
|
72993
|
+
|
|
72994
|
+
|
|
72995
|
+
/**
|
|
72996
|
+
* Static version of the {@see toObject} method.
|
|
72997
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72998
|
+
* the JSPB instance for transitional soy proto support:
|
|
72999
|
+
* http://goto/soy-param-migration
|
|
73000
|
+
* @param {!proto.user.ApproveVerificationResponse} msg The msg instance to transform.
|
|
73001
|
+
* @return {!Object}
|
|
73002
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73003
|
+
*/
|
|
73004
|
+
proto.user.ApproveVerificationResponse.toObject = function(includeInstance, msg) {
|
|
73005
|
+
var f, obj = {
|
|
73006
|
+
|
|
73007
|
+
};
|
|
73008
|
+
|
|
73009
|
+
if (includeInstance) {
|
|
73010
|
+
obj.$jspbMessageInstance = msg;
|
|
73011
|
+
}
|
|
73012
|
+
return obj;
|
|
73013
|
+
};
|
|
73014
|
+
}
|
|
73015
|
+
|
|
73016
|
+
|
|
73017
|
+
/**
|
|
73018
|
+
* Deserializes binary data (in protobuf wire format).
|
|
73019
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73020
|
+
* @return {!proto.user.ApproveVerificationResponse}
|
|
73021
|
+
*/
|
|
73022
|
+
proto.user.ApproveVerificationResponse.deserializeBinary = function(bytes) {
|
|
73023
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73024
|
+
var msg = new proto.user.ApproveVerificationResponse;
|
|
73025
|
+
return proto.user.ApproveVerificationResponse.deserializeBinaryFromReader(msg, reader);
|
|
73026
|
+
};
|
|
73027
|
+
|
|
73028
|
+
|
|
73029
|
+
/**
|
|
73030
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73031
|
+
* given reader into the given message object.
|
|
73032
|
+
* @param {!proto.user.ApproveVerificationResponse} msg The message object to deserialize into.
|
|
73033
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73034
|
+
* @return {!proto.user.ApproveVerificationResponse}
|
|
73035
|
+
*/
|
|
73036
|
+
proto.user.ApproveVerificationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
73037
|
+
while (reader.nextField()) {
|
|
73038
|
+
if (reader.isEndGroup()) {
|
|
73039
|
+
break;
|
|
73040
|
+
}
|
|
73041
|
+
var field = reader.getFieldNumber();
|
|
73042
|
+
switch (field) {
|
|
73043
|
+
default:
|
|
73044
|
+
reader.skipField();
|
|
73045
|
+
break;
|
|
73046
|
+
}
|
|
73047
|
+
}
|
|
73048
|
+
return msg;
|
|
73049
|
+
};
|
|
73050
|
+
|
|
73051
|
+
|
|
73052
|
+
/**
|
|
73053
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73054
|
+
* @return {!Uint8Array}
|
|
73055
|
+
*/
|
|
73056
|
+
proto.user.ApproveVerificationResponse.prototype.serializeBinary = function() {
|
|
73057
|
+
var writer = new jspb.BinaryWriter();
|
|
73058
|
+
proto.user.ApproveVerificationResponse.serializeBinaryToWriter(this, writer);
|
|
73059
|
+
return writer.getResultBuffer();
|
|
73060
|
+
};
|
|
73061
|
+
|
|
73062
|
+
|
|
73063
|
+
/**
|
|
73064
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73065
|
+
* format), writing to the given BinaryWriter.
|
|
73066
|
+
* @param {!proto.user.ApproveVerificationResponse} message
|
|
73067
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73068
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73069
|
+
*/
|
|
73070
|
+
proto.user.ApproveVerificationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
73071
|
+
var f = undefined;
|
|
73072
|
+
};
|
|
73073
|
+
|
|
73074
|
+
|
|
73075
|
+
|
|
73076
|
+
|
|
73077
|
+
|
|
72135
73078
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72136
73079
|
/**
|
|
72137
73080
|
* Creates an object representation of this proto.
|
|
@@ -78997,4 +79940,22 @@ proto.user.UserGameIdsFilterResponse.prototype.clearGameIdsList = function() {
|
|
|
78997
79940
|
};
|
|
78998
79941
|
|
|
78999
79942
|
|
|
79943
|
+
/**
|
|
79944
|
+
* @enum {number}
|
|
79945
|
+
*/
|
|
79946
|
+
proto.user.VerificationCapability = {
|
|
79947
|
+
VERIFICATION_CAPABILITY_UNSPECIFIED: 0,
|
|
79948
|
+
VERIFICATION_CAPABILITY_PROFILE_DATA: 1
|
|
79949
|
+
};
|
|
79950
|
+
|
|
79951
|
+
/**
|
|
79952
|
+
* @enum {number}
|
|
79953
|
+
*/
|
|
79954
|
+
proto.user.VerificationCapabilityStatus = {
|
|
79955
|
+
VERIFICATION_CAPABILITY_STATUS_UNSPECIFIED: 0,
|
|
79956
|
+
VERIFICATION_CAPABILITY_STATUS_APPROVED: 1,
|
|
79957
|
+
VERIFICATION_CAPABILITY_STATUS_PENDING: 2,
|
|
79958
|
+
VERIFICATION_CAPABILITY_STATUS_MISSING: 3
|
|
79959
|
+
};
|
|
79960
|
+
|
|
79000
79961
|
goog.object.extend(exports, proto.user);
|