protobuf-platform 1.2.548 → 1.2.553
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 +20 -1
- package/payment/payment_grpc_pb.js +22 -0
- package/payment/payment_pb.js +821 -3
- package/user/user.proto +34 -0
- package/user/user_grpc_pb.js +68 -0
- package/user/user_pb.js +961 -0
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',
|