protobuf-platform 1.2.741 → 1.2.742
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/bet/bet.proto +43 -0
- package/bet/bet_grpc_pb.js +33 -0
- package/bet/bet_pb.js +1629 -0
- package/package.json +1 -1
package/bet/bet.proto
CHANGED
|
@@ -5,6 +5,8 @@ package bet;
|
|
|
5
5
|
service Bet {
|
|
6
6
|
rpc checkConnection(PingRequest) returns (PongResponse);
|
|
7
7
|
|
|
8
|
+
rpc StreamCasinoRecoverySnapshot(CasinoRecoverySnapshotRequest) returns (stream CasinoRecoveryBatch);
|
|
9
|
+
|
|
8
10
|
// User bets info
|
|
9
11
|
// Deprecated alias for backward compatibility (use getGameBetsHistory).
|
|
10
12
|
rpc getBetsHistory(PaginationRequest) returns (BetsHistoryResponse);
|
|
@@ -612,3 +614,44 @@ message CasinoBookingReversal {
|
|
|
612
614
|
// Exact portion of this original reversed by the committed source action.
|
|
613
615
|
CasinoBookingEvidence reversed_amounts = 5;
|
|
614
616
|
}
|
|
617
|
+
|
|
618
|
+
message CasinoRecoverySnapshotRequest {
|
|
619
|
+
string customer = 1;
|
|
620
|
+
uint32 batch_size = 2; // Zero selects the service default.
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
message CasinoRecoveryAction {
|
|
624
|
+
string source_action_id = 1;
|
|
625
|
+
string created_at_utc = 2;
|
|
626
|
+
string user_id = 3;
|
|
627
|
+
string game_uuid = 4;
|
|
628
|
+
string action = 5;
|
|
629
|
+
string stored_type = 6;
|
|
630
|
+
string transaction_id = 7;
|
|
631
|
+
optional string session_id = 8;
|
|
632
|
+
optional string round_id = 9;
|
|
633
|
+
optional string free_spin_id = 10;
|
|
634
|
+
optional string balance_type = 11;
|
|
635
|
+
optional string currency = 12;
|
|
636
|
+
optional string legacy_float_amount = 13; // Requires independent monetary evidence.
|
|
637
|
+
optional string real_amount_minor = 14;
|
|
638
|
+
optional string bonus_amount_minor = 15;
|
|
639
|
+
optional string provider_currency = 16;
|
|
640
|
+
optional uint32 provider_currency_scale = 17;
|
|
641
|
+
optional string provider_amount = 18;
|
|
642
|
+
optional string provider_amount_minor = 19;
|
|
643
|
+
optional string fx_rate = 20;
|
|
644
|
+
CommittedCasinoBooking committed_booking = 21;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
message CasinoRecoveryBatch {
|
|
648
|
+
string customer = 1;
|
|
649
|
+
string snapshot_id = 2;
|
|
650
|
+
string cutoff_utc = 3;
|
|
651
|
+
string high_water_id = 4;
|
|
652
|
+
string population_count = 5;
|
|
653
|
+
uint32 sequence = 6;
|
|
654
|
+
repeated CasinoRecoveryAction actions = 7;
|
|
655
|
+
bool complete = 8; // A distinct terminal frame follows the last data batch.
|
|
656
|
+
optional string content_sha256 = 9; // Terminal SHA-256 of ordered length-prefixed wire actions (uint32 BE).
|
|
657
|
+
}
|
package/bet/bet_grpc_pb.js
CHANGED
|
@@ -114,6 +114,28 @@ function deserialize_bet_BetsHistoryResponse(buffer_arg) {
|
|
|
114
114
|
return bet_pb.BetsHistoryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
function serialize_bet_CasinoRecoveryBatch(arg) {
|
|
118
|
+
if (!(arg instanceof bet_pb.CasinoRecoveryBatch)) {
|
|
119
|
+
throw new Error('Expected argument of type bet.CasinoRecoveryBatch');
|
|
120
|
+
}
|
|
121
|
+
return Buffer.from(arg.serializeBinary());
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function deserialize_bet_CasinoRecoveryBatch(buffer_arg) {
|
|
125
|
+
return bet_pb.CasinoRecoveryBatch.deserializeBinary(new Uint8Array(buffer_arg));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function serialize_bet_CasinoRecoverySnapshotRequest(arg) {
|
|
129
|
+
if (!(arg instanceof bet_pb.CasinoRecoverySnapshotRequest)) {
|
|
130
|
+
throw new Error('Expected argument of type bet.CasinoRecoverySnapshotRequest');
|
|
131
|
+
}
|
|
132
|
+
return Buffer.from(arg.serializeBinary());
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function deserialize_bet_CasinoRecoverySnapshotRequest(buffer_arg) {
|
|
136
|
+
return bet_pb.CasinoRecoverySnapshotRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
137
|
+
}
|
|
138
|
+
|
|
117
139
|
function serialize_bet_CreateTestBetRequest(arg) {
|
|
118
140
|
if (!(arg instanceof bet_pb.CreateTestBetRequest)) {
|
|
119
141
|
throw new Error('Expected argument of type bet.CreateTestBetRequest');
|
|
@@ -413,6 +435,17 @@ var BetService = exports.BetService = {
|
|
|
413
435
|
responseSerialize: serialize_bet_PongResponse,
|
|
414
436
|
responseDeserialize: deserialize_bet_PongResponse,
|
|
415
437
|
},
|
|
438
|
+
streamCasinoRecoverySnapshot: {
|
|
439
|
+
path: '/bet.Bet/StreamCasinoRecoverySnapshot',
|
|
440
|
+
requestStream: false,
|
|
441
|
+
responseStream: true,
|
|
442
|
+
requestType: bet_pb.CasinoRecoverySnapshotRequest,
|
|
443
|
+
responseType: bet_pb.CasinoRecoveryBatch,
|
|
444
|
+
requestSerialize: serialize_bet_CasinoRecoverySnapshotRequest,
|
|
445
|
+
requestDeserialize: deserialize_bet_CasinoRecoverySnapshotRequest,
|
|
446
|
+
responseSerialize: serialize_bet_CasinoRecoveryBatch,
|
|
447
|
+
responseDeserialize: deserialize_bet_CasinoRecoveryBatch,
|
|
448
|
+
},
|
|
416
449
|
// User bets info
|
|
417
450
|
// Deprecated alias for backward compatibility (use getGameBetsHistory).
|
|
418
451
|
getBetsHistory: {
|