protobuf-platform 1.2.547 → 1.2.551
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/game/game.proto +14 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +686 -0
- package/package.json +1 -1
- package/payment/payment.proto +19 -1
- package/payment/payment_grpc_pb.js +22 -0
- package/payment/payment_pb.js +772 -2
package/payment/payment.proto
CHANGED
|
@@ -69,6 +69,7 @@ service Payment {
|
|
|
69
69
|
rpc syncCurrencies(SyncCurrenciesRequest) returns (PaymentStatusResponse);
|
|
70
70
|
// BackOffice internal financial operations
|
|
71
71
|
rpc createManualDeposit(ManualDepositRequest) returns (FinancialOperationResponse);
|
|
72
|
+
rpc reconcileDeposit(DepositReconciliationRequest) returns (FinancialOperationResponse);
|
|
72
73
|
rpc createCompensation(CompensationRequest) returns (FinancialOperationResponse);
|
|
73
74
|
rpc readListCompensations(PaginationRequest) returns (CompensationItemsResponse);
|
|
74
75
|
rpc createConfiscation(ConfiscationRequest) returns (FinancialOperationResponse);
|
|
@@ -110,6 +111,11 @@ message PaymentSearchRequest {
|
|
|
110
111
|
repeated string withdrawal_status_code = 18;
|
|
111
112
|
optional int32 config_is_active = 19;
|
|
112
113
|
repeated string currency_type = 20;
|
|
114
|
+
optional string external_ref = 21;
|
|
115
|
+
optional string created_at_from = 22;
|
|
116
|
+
optional string created_at_to = 23;
|
|
117
|
+
optional string completed_at_from = 24;
|
|
118
|
+
optional string completed_at_to = 25;
|
|
113
119
|
}
|
|
114
120
|
message ItemsBunchRequest {
|
|
115
121
|
repeated int32 ids = 1;
|
|
@@ -579,6 +585,7 @@ message WithdrawalItem {
|
|
|
579
585
|
optional string payment_provider_image_cdn = 18;
|
|
580
586
|
optional string payment_method_image = 19;
|
|
581
587
|
optional string payment_method_image_cdn = 20;
|
|
588
|
+
optional string completed_at = 21;
|
|
582
589
|
}
|
|
583
590
|
message WithdrawalItemsResponse {
|
|
584
591
|
repeated WithdrawalItem items = 1;
|
|
@@ -938,7 +945,18 @@ message ManualDepositRequest {
|
|
|
938
945
|
optional string external_payment_id = 9;
|
|
939
946
|
optional string external_transaction_id = 10;
|
|
940
947
|
}
|
|
941
|
-
|
|
948
|
+
message DepositReconciliationRequest {
|
|
949
|
+
int32 deposit_id = 1;
|
|
950
|
+
string amount_paid = 2;
|
|
951
|
+
optional string external_payment_id = 3;
|
|
952
|
+
optional string external_transaction_id = 4;
|
|
953
|
+
optional string provider_completed_at = 5;
|
|
954
|
+
string reason = 6;
|
|
955
|
+
optional string internal_comment = 7;
|
|
956
|
+
optional string transaction_code = 8;
|
|
957
|
+
string idempotency_id = 9;
|
|
958
|
+
}
|
|
959
|
+
// compensation_type values: compensation, reward, other_credit, balance_transfer_credit, adjustment
|
|
942
960
|
message CompensationRequest {
|
|
943
961
|
int32 user_id = 1;
|
|
944
962
|
int64 amount_minor = 2;
|
|
@@ -191,6 +191,17 @@ function deserialize_payment_DepositItemsResponse(buffer_arg) {
|
|
|
191
191
|
return payment_pb.DepositItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
function serialize_payment_DepositReconciliationRequest(arg) {
|
|
195
|
+
if (!(arg instanceof payment_pb.DepositReconciliationRequest)) {
|
|
196
|
+
throw new Error('Expected argument of type payment.DepositReconciliationRequest');
|
|
197
|
+
}
|
|
198
|
+
return Buffer.from(arg.serializeBinary());
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function deserialize_payment_DepositReconciliationRequest(buffer_arg) {
|
|
202
|
+
return payment_pb.DepositReconciliationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
203
|
+
}
|
|
204
|
+
|
|
194
205
|
function serialize_payment_DepositRedirectFormRequest(arg) {
|
|
195
206
|
if (!(arg instanceof payment_pb.DepositRedirectFormRequest)) {
|
|
196
207
|
throw new Error('Expected argument of type payment.DepositRedirectFormRequest');
|
|
@@ -1492,6 +1503,17 @@ createManualDeposit: {
|
|
|
1492
1503
|
responseSerialize: serialize_payment_FinancialOperationResponse,
|
|
1493
1504
|
responseDeserialize: deserialize_payment_FinancialOperationResponse,
|
|
1494
1505
|
},
|
|
1506
|
+
reconcileDeposit: {
|
|
1507
|
+
path: '/payment.Payment/reconcileDeposit',
|
|
1508
|
+
requestStream: false,
|
|
1509
|
+
responseStream: false,
|
|
1510
|
+
requestType: payment_pb.DepositReconciliationRequest,
|
|
1511
|
+
responseType: payment_pb.FinancialOperationResponse,
|
|
1512
|
+
requestSerialize: serialize_payment_DepositReconciliationRequest,
|
|
1513
|
+
requestDeserialize: deserialize_payment_DepositReconciliationRequest,
|
|
1514
|
+
responseSerialize: serialize_payment_FinancialOperationResponse,
|
|
1515
|
+
responseDeserialize: deserialize_payment_FinancialOperationResponse,
|
|
1516
|
+
},
|
|
1495
1517
|
createCompensation: {
|
|
1496
1518
|
path: '/payment.Payment/createCompensation',
|
|
1497
1519
|
requestStream: false,
|