protobuf-platform 1.2.444 → 1.2.449
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 +42 -0
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +1761 -27
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -51,6 +51,7 @@ service Payment {
|
|
|
51
51
|
rpc getPaymentMethodsForUser(GetUserPaymentsInfoRequest) returns (UserPaymentMethodsResponse);
|
|
52
52
|
rpc checkFastDeposit(CheckFastDepositRequest) returns (CheckFastDepositResponse);
|
|
53
53
|
rpc getWithdrawalWagerSnapshot(GetWithdrawalWagerSnapshotRequest) returns (GetWithdrawalWagerSnapshotResponse);
|
|
54
|
+
rpc getWithdrawalWagerBucketHistory(GetWithdrawalWagerBucketHistoryRequest) returns (GetWithdrawalWagerBucketHistoryResponse);
|
|
54
55
|
rpc getUserKycFinancialSnapshot(GetUserKycFinancialSnapshotRequest) returns (GetUserKycFinancialSnapshotResponse);
|
|
55
56
|
//Segmentation
|
|
56
57
|
rpc getSegmentedUsers(SegmentedUserRequest) returns (SegmentedUserResponse);
|
|
@@ -463,6 +464,10 @@ message WithdrawalResponse {
|
|
|
463
464
|
optional string processing_type = 14;
|
|
464
465
|
optional float destination_amount = 15;
|
|
465
466
|
optional string destination_currency = 16;
|
|
467
|
+
optional string payment_provider_title = 17;
|
|
468
|
+
optional string payment_provider_image_cdn = 18;
|
|
469
|
+
optional string payment_method_image = 19;
|
|
470
|
+
optional string payment_method_image_cdn = 20;
|
|
466
471
|
}
|
|
467
472
|
message WithdrawalItem {
|
|
468
473
|
int32 id = 1;
|
|
@@ -481,6 +486,10 @@ message WithdrawalItem {
|
|
|
481
486
|
optional string processing_type = 14;
|
|
482
487
|
optional float destination_amount = 15;
|
|
483
488
|
optional string destination_currency = 16;
|
|
489
|
+
optional string payment_provider_title = 17;
|
|
490
|
+
optional string payment_provider_image_cdn = 18;
|
|
491
|
+
optional string payment_method_image = 19;
|
|
492
|
+
optional string payment_method_image_cdn = 20;
|
|
484
493
|
}
|
|
485
494
|
message WithdrawalItemsResponse {
|
|
486
495
|
repeated WithdrawalItem items = 1;
|
|
@@ -670,6 +679,39 @@ message GetWithdrawalWagerSnapshotResponse {
|
|
|
670
679
|
int32 active_locked_buckets_count = 8;
|
|
671
680
|
repeated WithdrawalWagerLockedBucketItem active_locked_buckets = 9;
|
|
672
681
|
}
|
|
682
|
+
message GetWithdrawalWagerBucketHistoryRequest {
|
|
683
|
+
int32 user_id = 1;
|
|
684
|
+
optional string currency = 2;
|
|
685
|
+
optional string status = 3;
|
|
686
|
+
optional int32 page = 4;
|
|
687
|
+
optional int32 limit = 5;
|
|
688
|
+
}
|
|
689
|
+
message WithdrawalWagerBucketHistoryItem {
|
|
690
|
+
string bucket_id = 1;
|
|
691
|
+
string operation_id = 2;
|
|
692
|
+
string source_type = 3;
|
|
693
|
+
string source_id = 4;
|
|
694
|
+
string status = 5;
|
|
695
|
+
int64 wager_amount_minor = 6;
|
|
696
|
+
string wager_currency = 7;
|
|
697
|
+
int32 wager_currency_scale = 8;
|
|
698
|
+
int64 ledger_amount_minor = 9;
|
|
699
|
+
string ledger_currency = 10;
|
|
700
|
+
int32 ledger_currency_scale = 11;
|
|
701
|
+
string multiplier = 12;
|
|
702
|
+
int64 required_wager_minor = 13;
|
|
703
|
+
int64 completed_wager_minor = 14;
|
|
704
|
+
int64 remaining_wager_minor = 15;
|
|
705
|
+
string progress_percent = 16;
|
|
706
|
+
optional string deposit_processed_at = 17;
|
|
707
|
+
string bucket_created_at = 18;
|
|
708
|
+
optional string unlocked_at = 19;
|
|
709
|
+
}
|
|
710
|
+
message GetWithdrawalWagerBucketHistoryResponse {
|
|
711
|
+
repeated WithdrawalWagerBucketHistoryItem items = 1;
|
|
712
|
+
optional int32 total_pages = 2;
|
|
713
|
+
optional int32 total_items = 3;
|
|
714
|
+
}
|
|
673
715
|
message GetUserKycFinancialSnapshotRequest {
|
|
674
716
|
int32 user_id = 1;
|
|
675
717
|
string currency = 2;
|
|
@@ -345,6 +345,28 @@ function deserialize_payment_GetWithdrawalRequest(buffer_arg) {
|
|
|
345
345
|
return payment_pb.GetWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
+
function serialize_payment_GetWithdrawalWagerBucketHistoryRequest(arg) {
|
|
349
|
+
if (!(arg instanceof payment_pb.GetWithdrawalWagerBucketHistoryRequest)) {
|
|
350
|
+
throw new Error('Expected argument of type payment.GetWithdrawalWagerBucketHistoryRequest');
|
|
351
|
+
}
|
|
352
|
+
return Buffer.from(arg.serializeBinary());
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
function deserialize_payment_GetWithdrawalWagerBucketHistoryRequest(buffer_arg) {
|
|
356
|
+
return payment_pb.GetWithdrawalWagerBucketHistoryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
function serialize_payment_GetWithdrawalWagerBucketHistoryResponse(arg) {
|
|
360
|
+
if (!(arg instanceof payment_pb.GetWithdrawalWagerBucketHistoryResponse)) {
|
|
361
|
+
throw new Error('Expected argument of type payment.GetWithdrawalWagerBucketHistoryResponse');
|
|
362
|
+
}
|
|
363
|
+
return Buffer.from(arg.serializeBinary());
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
function deserialize_payment_GetWithdrawalWagerBucketHistoryResponse(buffer_arg) {
|
|
367
|
+
return payment_pb.GetWithdrawalWagerBucketHistoryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
368
|
+
}
|
|
369
|
+
|
|
348
370
|
function serialize_payment_GetWithdrawalWagerSnapshotRequest(arg) {
|
|
349
371
|
if (!(arg instanceof payment_pb.GetWithdrawalWagerSnapshotRequest)) {
|
|
350
372
|
throw new Error('Expected argument of type payment.GetWithdrawalWagerSnapshotRequest');
|
|
@@ -1190,6 +1212,17 @@ userPaymentsInfo: {
|
|
|
1190
1212
|
responseSerialize: serialize_payment_GetWithdrawalWagerSnapshotResponse,
|
|
1191
1213
|
responseDeserialize: deserialize_payment_GetWithdrawalWagerSnapshotResponse,
|
|
1192
1214
|
},
|
|
1215
|
+
getWithdrawalWagerBucketHistory: {
|
|
1216
|
+
path: '/payment.Payment/getWithdrawalWagerBucketHistory',
|
|
1217
|
+
requestStream: false,
|
|
1218
|
+
responseStream: false,
|
|
1219
|
+
requestType: payment_pb.GetWithdrawalWagerBucketHistoryRequest,
|
|
1220
|
+
responseType: payment_pb.GetWithdrawalWagerBucketHistoryResponse,
|
|
1221
|
+
requestSerialize: serialize_payment_GetWithdrawalWagerBucketHistoryRequest,
|
|
1222
|
+
requestDeserialize: deserialize_payment_GetWithdrawalWagerBucketHistoryRequest,
|
|
1223
|
+
responseSerialize: serialize_payment_GetWithdrawalWagerBucketHistoryResponse,
|
|
1224
|
+
responseDeserialize: deserialize_payment_GetWithdrawalWagerBucketHistoryResponse,
|
|
1225
|
+
},
|
|
1193
1226
|
getUserKycFinancialSnapshot: {
|
|
1194
1227
|
path: '/payment.Payment/getUserKycFinancialSnapshot',
|
|
1195
1228
|
requestStream: false,
|