protobuf-platform 1.2.756 → 1.2.758

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.756",
3
+ "version": "1.2.758",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3,6 +3,10 @@ syntax = "proto3";
3
3
  package payment;
4
4
 
5
5
  service Payment {
6
+ // One bounded batch (1..200 actions), no N+1 transport.
7
+ rpc getWarehouseCasinoEvidenceBatch(WarehouseCasinoEvidenceBatchRequest) returns (WarehouseCasinoEvidenceBatchResponse);
8
+ // Bounded read-only exact evidence; no financial commands or raw payloads.
9
+ rpc getWarehouseCasinoEvidence(WarehouseCasinoEvidenceRequest) returns (WarehouseCasinoEvidenceResponse);
6
10
  // Bootstrap control only; no financial effect or per-event readiness calls.
7
11
  rpc readGameplayDeliveryReadiness(GameplayDeliveryReadinessRequest) returns (GameplayDeliveryReadinessResult);
8
12
  // Internal monetary authorization; only SQL-owned wallets are supported.
@@ -1999,3 +2003,57 @@ message GameplayDeliveryReadinessResult {
1999
2003
  bool ready = 6;
2000
2004
  repeated string blocked_reasons = 7;
2001
2005
  }
2006
+
2007
+ message WarehouseCasinoEvidenceRequest {
2008
+ string customer = 1;
2009
+ string environment = 2;
2010
+ string source_action_id = 3;
2011
+ string user_id = 4;
2012
+ string transaction_id = 5;
2013
+ string action = 6;
2014
+ string currency = 7;
2015
+ optional string operation_id = 8;
2016
+ }
2017
+ message WarehouseCasinoEvidenceResponse {
2018
+ string customer = 1;
2019
+ string environment = 2;
2020
+ string source_action_id = 3;
2021
+ string status = 4;
2022
+ string reason = 5;
2023
+ string operation_id = 6;
2024
+ string user_id = 7;
2025
+ string transaction_id = 8;
2026
+ string action = 9;
2027
+ string currency = 10;
2028
+ uint32 currency_scale = 11;
2029
+ string amount_minor = 12;
2030
+ repeated WarehouseCasinoEvidenceEntry ledger = 13;
2031
+ repeated WarehouseCasinoEvidenceEntry precision = 14;
2032
+ }
2033
+ message WarehouseCasinoEvidenceEntry {
2034
+ string id = 1;
2035
+ string operation_id = 2;
2036
+ string account_id = 3;
2037
+ string owner_type = 4;
2038
+ string owner_id = 5;
2039
+ string account_type = 6;
2040
+ string currency = 7;
2041
+ uint32 currency_scale = 8;
2042
+ string side = 9;
2043
+ string amount_minor = 10;
2044
+ string delta_numerator = 11;
2045
+ string delta_denominator = 12;
2046
+ }
2047
+
2048
+ message WarehouseCasinoEvidenceBatchRequest {
2049
+ string customer = 1;
2050
+ string environment = 2;
2051
+ repeated WarehouseCasinoEvidenceRequest actions = 3;
2052
+ }
2053
+ message WarehouseCasinoEvidenceBatchResponse {
2054
+ string customer = 1;
2055
+ string environment = 2;
2056
+ repeated WarehouseCasinoEvidenceResponse actions = 3;
2057
+ uint32 sql_queries = 4;
2058
+ uint32 elapsed_ms = 5;
2059
+ }
@@ -1467,6 +1467,50 @@ function deserialize_payment_UserWithdrawalItemsResponse(buffer_arg) {
1467
1467
  return payment_pb.UserWithdrawalItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
1468
1468
  }
1469
1469
 
1470
+ function serialize_payment_WarehouseCasinoEvidenceBatchRequest(arg) {
1471
+ if (!(arg instanceof payment_pb.WarehouseCasinoEvidenceBatchRequest)) {
1472
+ throw new Error('Expected argument of type payment.WarehouseCasinoEvidenceBatchRequest');
1473
+ }
1474
+ return Buffer.from(arg.serializeBinary());
1475
+ }
1476
+
1477
+ function deserialize_payment_WarehouseCasinoEvidenceBatchRequest(buffer_arg) {
1478
+ return payment_pb.WarehouseCasinoEvidenceBatchRequest.deserializeBinary(new Uint8Array(buffer_arg));
1479
+ }
1480
+
1481
+ function serialize_payment_WarehouseCasinoEvidenceBatchResponse(arg) {
1482
+ if (!(arg instanceof payment_pb.WarehouseCasinoEvidenceBatchResponse)) {
1483
+ throw new Error('Expected argument of type payment.WarehouseCasinoEvidenceBatchResponse');
1484
+ }
1485
+ return Buffer.from(arg.serializeBinary());
1486
+ }
1487
+
1488
+ function deserialize_payment_WarehouseCasinoEvidenceBatchResponse(buffer_arg) {
1489
+ return payment_pb.WarehouseCasinoEvidenceBatchResponse.deserializeBinary(new Uint8Array(buffer_arg));
1490
+ }
1491
+
1492
+ function serialize_payment_WarehouseCasinoEvidenceRequest(arg) {
1493
+ if (!(arg instanceof payment_pb.WarehouseCasinoEvidenceRequest)) {
1494
+ throw new Error('Expected argument of type payment.WarehouseCasinoEvidenceRequest');
1495
+ }
1496
+ return Buffer.from(arg.serializeBinary());
1497
+ }
1498
+
1499
+ function deserialize_payment_WarehouseCasinoEvidenceRequest(buffer_arg) {
1500
+ return payment_pb.WarehouseCasinoEvidenceRequest.deserializeBinary(new Uint8Array(buffer_arg));
1501
+ }
1502
+
1503
+ function serialize_payment_WarehouseCasinoEvidenceResponse(arg) {
1504
+ if (!(arg instanceof payment_pb.WarehouseCasinoEvidenceResponse)) {
1505
+ throw new Error('Expected argument of type payment.WarehouseCasinoEvidenceResponse');
1506
+ }
1507
+ return Buffer.from(arg.serializeBinary());
1508
+ }
1509
+
1510
+ function deserialize_payment_WarehouseCasinoEvidenceResponse(buffer_arg) {
1511
+ return payment_pb.WarehouseCasinoEvidenceResponse.deserializeBinary(new Uint8Array(buffer_arg));
1512
+ }
1513
+
1470
1514
  function serialize_payment_WithdrawalItemsResponse(arg) {
1471
1515
  if (!(arg instanceof payment_pb.WithdrawalItemsResponse)) {
1472
1516
  throw new Error('Expected argument of type payment.WithdrawalItemsResponse');
@@ -1502,6 +1546,30 @@ function deserialize_payment_WithdrawalWebHookRequest(buffer_arg) {
1502
1546
 
1503
1547
 
1504
1548
  var PaymentService = exports.PaymentService = {
1549
+ // One bounded batch (1..200 actions), no N+1 transport.
1550
+ getWarehouseCasinoEvidenceBatch: {
1551
+ path: '/payment.Payment/getWarehouseCasinoEvidenceBatch',
1552
+ requestStream: false,
1553
+ responseStream: false,
1554
+ requestType: payment_pb.WarehouseCasinoEvidenceBatchRequest,
1555
+ responseType: payment_pb.WarehouseCasinoEvidenceBatchResponse,
1556
+ requestSerialize: serialize_payment_WarehouseCasinoEvidenceBatchRequest,
1557
+ requestDeserialize: deserialize_payment_WarehouseCasinoEvidenceBatchRequest,
1558
+ responseSerialize: serialize_payment_WarehouseCasinoEvidenceBatchResponse,
1559
+ responseDeserialize: deserialize_payment_WarehouseCasinoEvidenceBatchResponse,
1560
+ },
1561
+ // Bounded read-only exact evidence; no financial commands or raw payloads.
1562
+ getWarehouseCasinoEvidence: {
1563
+ path: '/payment.Payment/getWarehouseCasinoEvidence',
1564
+ requestStream: false,
1565
+ responseStream: false,
1566
+ requestType: payment_pb.WarehouseCasinoEvidenceRequest,
1567
+ responseType: payment_pb.WarehouseCasinoEvidenceResponse,
1568
+ requestSerialize: serialize_payment_WarehouseCasinoEvidenceRequest,
1569
+ requestDeserialize: deserialize_payment_WarehouseCasinoEvidenceRequest,
1570
+ responseSerialize: serialize_payment_WarehouseCasinoEvidenceResponse,
1571
+ responseDeserialize: deserialize_payment_WarehouseCasinoEvidenceResponse,
1572
+ },
1505
1573
  // Bootstrap control only; no financial effect or per-event readiness calls.
1506
1574
  readGameplayDeliveryReadiness: {
1507
1575
  path: '/payment.Payment/readGameplayDeliveryReadiness',