protobuf-platform 1.2.747 → 1.2.749
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/bonus/bonus.proto +18 -0
- package/bonus/bonus_grpc_pb.js +34 -0
- package/bonus/bonus_pb.js +570 -0
- package/package.json +1 -1
- package/payment/payment.proto +22 -0
- package/payment/payment_grpc_pb.js +34 -0
- package/payment/payment_pb.js +668 -2
- package/scripts/verify-delivery-readiness-contract.js +25 -0
package/payment/payment.proto
CHANGED
|
@@ -3,6 +3,8 @@ syntax = "proto3";
|
|
|
3
3
|
package payment;
|
|
4
4
|
|
|
5
5
|
service Payment {
|
|
6
|
+
// Bootstrap control only; no financial effect or per-event readiness calls.
|
|
7
|
+
rpc readGameplayDeliveryReadiness(GameplayDeliveryReadinessRequest) returns (GameplayDeliveryReadinessResult);
|
|
6
8
|
// Internal monetary authorization; only SQL-owned wallets are supported.
|
|
7
9
|
rpc reserveRealFunds(ReserveRealFundsRequest) returns (MonetaryReservationResponse);
|
|
8
10
|
rpc captureMonetaryReservation(CaptureMonetaryReservationRequest) returns (MonetaryReservationResponse);
|
|
@@ -1470,6 +1472,7 @@ message AdjustmentItemsResponse {
|
|
|
1470
1472
|
optional int32 total_items = 3;
|
|
1471
1473
|
}
|
|
1472
1474
|
// confiscation_type values: fund_confiscation, other_debit, balance_transfer_debit
|
|
1475
|
+
// balance_source values: real, bonus. Missing or empty means real.
|
|
1473
1476
|
message ConfiscationRequest {
|
|
1474
1477
|
int32 user_id = 1;
|
|
1475
1478
|
int64 amount_minor = 2;
|
|
@@ -1480,6 +1483,7 @@ message ConfiscationRequest {
|
|
|
1480
1483
|
string internal_comment = 7;
|
|
1481
1484
|
string amount = 8;
|
|
1482
1485
|
string confiscation_type = 9;
|
|
1486
|
+
optional string balance_source = 10;
|
|
1483
1487
|
}
|
|
1484
1488
|
message ConfiscationSearchRequest {
|
|
1485
1489
|
optional int32 operation_id = 1;
|
|
@@ -1513,6 +1517,8 @@ message ConfiscationItem {
|
|
|
1513
1517
|
optional string player_email = 15;
|
|
1514
1518
|
optional string operator_name = 16;
|
|
1515
1519
|
optional string operator_email = 17;
|
|
1520
|
+
// real or bonus. Missing or empty means real.
|
|
1521
|
+
optional string balance_source = 18;
|
|
1516
1522
|
}
|
|
1517
1523
|
message ConfiscationItemsResponse {
|
|
1518
1524
|
repeated ConfiscationItem items = 1;
|
|
@@ -1977,3 +1983,19 @@ message DepositWagerContributionSnapshotResponse {
|
|
|
1977
1983
|
string brand_key = 1;
|
|
1978
1984
|
repeated DepositWagerContributionSnapshotEntry entries = 2;
|
|
1979
1985
|
}
|
|
1986
|
+
|
|
1987
|
+
// Scoped bootstrap capability; unknown versions and missing evidence fail closed.
|
|
1988
|
+
message GameplayDeliveryReadinessRequest {
|
|
1989
|
+
uint32 protocol_version = 1;
|
|
1990
|
+
string activation_epoch = 2;
|
|
1991
|
+
string caller_cohort = 3;
|
|
1992
|
+
}
|
|
1993
|
+
message GameplayDeliveryReadinessResult {
|
|
1994
|
+
uint32 protocol_version = 1;
|
|
1995
|
+
string activation_epoch = 2;
|
|
1996
|
+
string service_cohort = 3;
|
|
1997
|
+
string scope_hash = 4;
|
|
1998
|
+
uint32 durable_effect_version = 5;
|
|
1999
|
+
bool ready = 6;
|
|
2000
|
+
repeated string blocked_reasons = 7;
|
|
2001
|
+
}
|
|
@@ -532,6 +532,28 @@ function deserialize_payment_FinancialOperationResponse(buffer_arg) {
|
|
|
532
532
|
return payment_pb.FinancialOperationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
+
function serialize_payment_GameplayDeliveryReadinessRequest(arg) {
|
|
536
|
+
if (!(arg instanceof payment_pb.GameplayDeliveryReadinessRequest)) {
|
|
537
|
+
throw new Error('Expected argument of type payment.GameplayDeliveryReadinessRequest');
|
|
538
|
+
}
|
|
539
|
+
return Buffer.from(arg.serializeBinary());
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
function deserialize_payment_GameplayDeliveryReadinessRequest(buffer_arg) {
|
|
543
|
+
return payment_pb.GameplayDeliveryReadinessRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
function serialize_payment_GameplayDeliveryReadinessResult(arg) {
|
|
547
|
+
if (!(arg instanceof payment_pb.GameplayDeliveryReadinessResult)) {
|
|
548
|
+
throw new Error('Expected argument of type payment.GameplayDeliveryReadinessResult');
|
|
549
|
+
}
|
|
550
|
+
return Buffer.from(arg.serializeBinary());
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
function deserialize_payment_GameplayDeliveryReadinessResult(buffer_arg) {
|
|
554
|
+
return payment_pb.GameplayDeliveryReadinessResult.deserializeBinary(new Uint8Array(buffer_arg));
|
|
555
|
+
}
|
|
556
|
+
|
|
535
557
|
function serialize_payment_GameplayPrecisionResult(arg) {
|
|
536
558
|
if (!(arg instanceof payment_pb.GameplayPrecisionResult)) {
|
|
537
559
|
throw new Error('Expected argument of type payment.GameplayPrecisionResult');
|
|
@@ -1480,6 +1502,18 @@ function deserialize_payment_WithdrawalWebHookRequest(buffer_arg) {
|
|
|
1480
1502
|
|
|
1481
1503
|
|
|
1482
1504
|
var PaymentService = exports.PaymentService = {
|
|
1505
|
+
// Bootstrap control only; no financial effect or per-event readiness calls.
|
|
1506
|
+
readGameplayDeliveryReadiness: {
|
|
1507
|
+
path: '/payment.Payment/readGameplayDeliveryReadiness',
|
|
1508
|
+
requestStream: false,
|
|
1509
|
+
responseStream: false,
|
|
1510
|
+
requestType: payment_pb.GameplayDeliveryReadinessRequest,
|
|
1511
|
+
responseType: payment_pb.GameplayDeliveryReadinessResult,
|
|
1512
|
+
requestSerialize: serialize_payment_GameplayDeliveryReadinessRequest,
|
|
1513
|
+
requestDeserialize: deserialize_payment_GameplayDeliveryReadinessRequest,
|
|
1514
|
+
responseSerialize: serialize_payment_GameplayDeliveryReadinessResult,
|
|
1515
|
+
responseDeserialize: deserialize_payment_GameplayDeliveryReadinessResult,
|
|
1516
|
+
},
|
|
1483
1517
|
// Internal monetary authorization; only SQL-owned wallets are supported.
|
|
1484
1518
|
reserveRealFunds: {
|
|
1485
1519
|
path: '/payment.Payment/reserveRealFunds',
|