protobuf-platform 1.2.740 → 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.
@@ -145,6 +145,9 @@ message GlobalCasinoItem {
145
145
  optional string real_ggr_decimal = 25;
146
146
  optional string bonus_turnover_decimal = 26;
147
147
  optional string bonus_ggr_decimal = 27;
148
+ // Verified USD totals whose original cash/bonus funding remains unresolved.
149
+ optional string unallocated_turnover_decimal = 28;
150
+ optional string unallocated_ggr_decimal = 29;
148
151
  }
149
152
 
150
153
  message GlobalCasinoResponse {
@@ -4074,7 +4074,9 @@ proto.analytic.GlobalCasinoItem.toObject = function(includeInstance, msg) {
4074
4074
  realTurnoverDecimal: jspb.Message.getFieldWithDefault(msg, 24, ""),
4075
4075
  realGgrDecimal: jspb.Message.getFieldWithDefault(msg, 25, ""),
4076
4076
  bonusTurnoverDecimal: jspb.Message.getFieldWithDefault(msg, 26, ""),
4077
- bonusGgrDecimal: jspb.Message.getFieldWithDefault(msg, 27, "")
4077
+ bonusGgrDecimal: jspb.Message.getFieldWithDefault(msg, 27, ""),
4078
+ unallocatedTurnoverDecimal: jspb.Message.getFieldWithDefault(msg, 28, ""),
4079
+ unallocatedGgrDecimal: jspb.Message.getFieldWithDefault(msg, 29, "")
4078
4080
  };
4079
4081
 
4080
4082
  if (includeInstance) {
@@ -4219,6 +4221,14 @@ proto.analytic.GlobalCasinoItem.deserializeBinaryFromReader = function(msg, read
4219
4221
  var value = /** @type {string} */ (reader.readString());
4220
4222
  msg.setBonusGgrDecimal(value);
4221
4223
  break;
4224
+ case 28:
4225
+ var value = /** @type {string} */ (reader.readString());
4226
+ msg.setUnallocatedTurnoverDecimal(value);
4227
+ break;
4228
+ case 29:
4229
+ var value = /** @type {string} */ (reader.readString());
4230
+ msg.setUnallocatedGgrDecimal(value);
4231
+ break;
4222
4232
  default:
4223
4233
  reader.skipField();
4224
4234
  break;
@@ -4437,6 +4447,20 @@ proto.analytic.GlobalCasinoItem.serializeBinaryToWriter = function(message, writ
4437
4447
  f
4438
4448
  );
4439
4449
  }
4450
+ f = /** @type {string} */ (jspb.Message.getField(message, 28));
4451
+ if (f != null) {
4452
+ writer.writeString(
4453
+ 28,
4454
+ f
4455
+ );
4456
+ }
4457
+ f = /** @type {string} */ (jspb.Message.getField(message, 29));
4458
+ if (f != null) {
4459
+ writer.writeString(
4460
+ 29,
4461
+ f
4462
+ );
4463
+ }
4440
4464
  };
4441
4465
 
4442
4466
 
@@ -5394,6 +5418,78 @@ proto.analytic.GlobalCasinoItem.prototype.hasBonusGgrDecimal = function() {
5394
5418
  };
5395
5419
 
5396
5420
 
5421
+ /**
5422
+ * optional string unallocated_turnover_decimal = 28;
5423
+ * @return {string}
5424
+ */
5425
+ proto.analytic.GlobalCasinoItem.prototype.getUnallocatedTurnoverDecimal = function() {
5426
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
5427
+ };
5428
+
5429
+
5430
+ /**
5431
+ * @param {string} value
5432
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5433
+ */
5434
+ proto.analytic.GlobalCasinoItem.prototype.setUnallocatedTurnoverDecimal = function(value) {
5435
+ return jspb.Message.setField(this, 28, value);
5436
+ };
5437
+
5438
+
5439
+ /**
5440
+ * Clears the field making it undefined.
5441
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5442
+ */
5443
+ proto.analytic.GlobalCasinoItem.prototype.clearUnallocatedTurnoverDecimal = function() {
5444
+ return jspb.Message.setField(this, 28, undefined);
5445
+ };
5446
+
5447
+
5448
+ /**
5449
+ * Returns whether this field is set.
5450
+ * @return {boolean}
5451
+ */
5452
+ proto.analytic.GlobalCasinoItem.prototype.hasUnallocatedTurnoverDecimal = function() {
5453
+ return jspb.Message.getField(this, 28) != null;
5454
+ };
5455
+
5456
+
5457
+ /**
5458
+ * optional string unallocated_ggr_decimal = 29;
5459
+ * @return {string}
5460
+ */
5461
+ proto.analytic.GlobalCasinoItem.prototype.getUnallocatedGgrDecimal = function() {
5462
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
5463
+ };
5464
+
5465
+
5466
+ /**
5467
+ * @param {string} value
5468
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5469
+ */
5470
+ proto.analytic.GlobalCasinoItem.prototype.setUnallocatedGgrDecimal = function(value) {
5471
+ return jspb.Message.setField(this, 29, value);
5472
+ };
5473
+
5474
+
5475
+ /**
5476
+ * Clears the field making it undefined.
5477
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5478
+ */
5479
+ proto.analytic.GlobalCasinoItem.prototype.clearUnallocatedGgrDecimal = function() {
5480
+ return jspb.Message.setField(this, 29, undefined);
5481
+ };
5482
+
5483
+
5484
+ /**
5485
+ * Returns whether this field is set.
5486
+ * @return {boolean}
5487
+ */
5488
+ proto.analytic.GlobalCasinoItem.prototype.hasUnallocatedGgrDecimal = function() {
5489
+ return jspb.Message.getField(this, 29) != null;
5490
+ };
5491
+
5492
+
5397
5493
 
5398
5494
  /**
5399
5495
  * List of repeated fields within this message type.
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);
@@ -600,6 +602,8 @@ message CasinoBookingEvidence {
600
602
  optional string usd_bonus = 6;
601
603
  optional string valuation_source = 7;
602
604
  optional string funding_source = 8;
605
+ // Amount with verified USD value and unresolved original funding.
606
+ optional string usd_unallocated = 9;
603
607
  }
604
608
 
605
609
  message CasinoBookingReversal {
@@ -610,3 +614,44 @@ message CasinoBookingReversal {
610
614
  // Exact portion of this original reversed by the committed source action.
611
615
  CasinoBookingEvidence reversed_amounts = 5;
612
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
+ }
@@ -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: {