protobuf-platform 1.2.754 → 1.2.756

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 CHANGED
@@ -6,6 +6,7 @@ service Bet {
6
6
  rpc checkConnection(PingRequest) returns (PongResponse);
7
7
 
8
8
  rpc StreamCasinoRecoverySnapshot(CasinoRecoverySnapshotRequest) returns (stream CasinoRecoveryBatch);
9
+ rpc getWarehouseRecoveryPage(WarehouseRecoveryRequest) returns (WarehouseRecoveryPage);
9
10
 
10
11
  // User bets info
11
12
  // Deprecated alias for backward compatibility (use getGameBetsHistory).
@@ -673,3 +674,56 @@ message CasinoRecoveryBatch {
673
674
  string from_utc = 15;
674
675
  string to_exclusive_utc = 16;
675
676
  }
677
+
678
+ // Offline reconciliation only. Runtime-bound, read-only, stable action/player cursors.
679
+ message WarehouseRecoveryRequest {
680
+ string customer = 1;
681
+ string environment = 2;
682
+ string vertical = 3; // casino | sport
683
+ string mode = 4; // capabilities | players | actions | originals
684
+ string from_utc = 5;
685
+ string to_exclusive_utc = 6;
686
+ uint32 batch_size = 7;
687
+ string after_user_id = 8;
688
+ string user_id = 9;
689
+ string after_action_id = 10;
690
+ string high_water_id = 11;
691
+ repeated string original_ids = 12;
692
+ }
693
+ message WarehouseRecoveryAction {
694
+ string source_action_id = 1;
695
+ string user_id = 2;
696
+ string action = 3;
697
+ string created_at_utc = 4;
698
+ string transaction_id = 5;
699
+ optional string round_id = 6;
700
+ optional string session_id = 7;
701
+ optional string game_uuid = 8;
702
+ optional string currency = 9;
703
+ optional string legacy_float_amount = 10; // Reporting observation ONLY, never exact money.
704
+ optional string real_amount_minor = 11;
705
+ optional string bonus_amount_minor = 12;
706
+ optional string provider_currency = 13;
707
+ optional uint32 provider_currency_scale = 14;
708
+ optional string provider_amount_minor = 15;
709
+ optional string internal_transaction_id = 16;
710
+ optional string ref_transaction_id = 17;
711
+ optional string provider_betslip_id = 18;
712
+ optional string balance_type = 19;
713
+ optional string stored_type = 20;
714
+ CommittedCasinoBooking committed_booking = 21;
715
+ }
716
+ message WarehouseRecoveryPage {
717
+ string customer = 1;
718
+ string environment = 2;
719
+ string vertical = 3;
720
+ string from_utc = 4;
721
+ string to_exclusive_utc = 5;
722
+ string high_water_id = 6;
723
+ string next_cursor = 7;
724
+ bool has_more = 8;
725
+ repeated string user_ids = 9;
726
+ repeated WarehouseRecoveryAction actions = 10;
727
+ repeated string supported_verticals = 11;
728
+ string content_sha256 = 12;
729
+ }
@@ -400,6 +400,28 @@ function deserialize_bet_TopWinByMultiplierRequest(buffer_arg) {
400
400
  return bet_pb.TopWinByMultiplierRequest.deserializeBinary(new Uint8Array(buffer_arg));
401
401
  }
402
402
 
403
+ function serialize_bet_WarehouseRecoveryPage(arg) {
404
+ if (!(arg instanceof bet_pb.WarehouseRecoveryPage)) {
405
+ throw new Error('Expected argument of type bet.WarehouseRecoveryPage');
406
+ }
407
+ return Buffer.from(arg.serializeBinary());
408
+ }
409
+
410
+ function deserialize_bet_WarehouseRecoveryPage(buffer_arg) {
411
+ return bet_pb.WarehouseRecoveryPage.deserializeBinary(new Uint8Array(buffer_arg));
412
+ }
413
+
414
+ function serialize_bet_WarehouseRecoveryRequest(arg) {
415
+ if (!(arg instanceof bet_pb.WarehouseRecoveryRequest)) {
416
+ throw new Error('Expected argument of type bet.WarehouseRecoveryRequest');
417
+ }
418
+ return Buffer.from(arg.serializeBinary());
419
+ }
420
+
421
+ function deserialize_bet_WarehouseRecoveryRequest(buffer_arg) {
422
+ return bet_pb.WarehouseRecoveryRequest.deserializeBinary(new Uint8Array(buffer_arg));
423
+ }
424
+
403
425
  function serialize_bet_WinRateItem(arg) {
404
426
  if (!(arg instanceof bet_pb.WinRateItem)) {
405
427
  throw new Error('Expected argument of type bet.WinRateItem');
@@ -446,6 +468,17 @@ var BetService = exports.BetService = {
446
468
  responseSerialize: serialize_bet_CasinoRecoveryBatch,
447
469
  responseDeserialize: deserialize_bet_CasinoRecoveryBatch,
448
470
  },
471
+ getWarehouseRecoveryPage: {
472
+ path: '/bet.Bet/getWarehouseRecoveryPage',
473
+ requestStream: false,
474
+ responseStream: false,
475
+ requestType: bet_pb.WarehouseRecoveryRequest,
476
+ responseType: bet_pb.WarehouseRecoveryPage,
477
+ requestSerialize: serialize_bet_WarehouseRecoveryRequest,
478
+ requestDeserialize: deserialize_bet_WarehouseRecoveryRequest,
479
+ responseSerialize: serialize_bet_WarehouseRecoveryPage,
480
+ responseDeserialize: deserialize_bet_WarehouseRecoveryPage,
481
+ },
449
482
  // User bets info
450
483
  // Deprecated alias for backward compatibility (use getGameBetsHistory).
451
484
  getBetsHistory: {