protobuf-platform 1.2.733 → 1.2.735

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.
@@ -167,6 +167,7 @@ message CurrencyRateItem {
167
167
  optional string status = 11;
168
168
  optional string error_code = 12;
169
169
  optional string rate_decimal = 13;
170
+ optional string source_valid_until = 14;
170
171
  }
171
172
 
172
173
  message CurrenciesRatesResponse {
@@ -5856,7 +5856,8 @@ proto.config.CurrencyRateItem.toObject = function(includeInstance, msg) {
5856
5856
  isManual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
5857
5857
  status: jspb.Message.getFieldWithDefault(msg, 11, ""),
5858
5858
  errorCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
5859
- rateDecimal: jspb.Message.getFieldWithDefault(msg, 13, "")
5859
+ rateDecimal: jspb.Message.getFieldWithDefault(msg, 13, ""),
5860
+ sourceValidUntil: jspb.Message.getFieldWithDefault(msg, 14, "")
5860
5861
  };
5861
5862
 
5862
5863
  if (includeInstance) {
@@ -5945,6 +5946,10 @@ proto.config.CurrencyRateItem.deserializeBinaryFromReader = function(msg, reader
5945
5946
  var value = /** @type {string} */ (reader.readString());
5946
5947
  msg.setRateDecimal(value);
5947
5948
  break;
5949
+ case 14:
5950
+ var value = /** @type {string} */ (reader.readString());
5951
+ msg.setSourceValidUntil(value);
5952
+ break;
5948
5953
  default:
5949
5954
  reader.skipField();
5950
5955
  break;
@@ -6065,6 +6070,13 @@ proto.config.CurrencyRateItem.serializeBinaryToWriter = function(message, writer
6065
6070
  f
6066
6071
  );
6067
6072
  }
6073
+ f = /** @type {string} */ (jspb.Message.getField(message, 14));
6074
+ if (f != null) {
6075
+ writer.writeString(
6076
+ 14,
6077
+ f
6078
+ );
6079
+ }
6068
6080
  };
6069
6081
 
6070
6082
 
@@ -6482,6 +6494,42 @@ proto.config.CurrencyRateItem.prototype.hasRateDecimal = function() {
6482
6494
  };
6483
6495
 
6484
6496
 
6497
+ /**
6498
+ * optional string source_valid_until = 14;
6499
+ * @return {string}
6500
+ */
6501
+ proto.config.CurrencyRateItem.prototype.getSourceValidUntil = function() {
6502
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
6503
+ };
6504
+
6505
+
6506
+ /**
6507
+ * @param {string} value
6508
+ * @return {!proto.config.CurrencyRateItem} returns this
6509
+ */
6510
+ proto.config.CurrencyRateItem.prototype.setSourceValidUntil = function(value) {
6511
+ return jspb.Message.setField(this, 14, value);
6512
+ };
6513
+
6514
+
6515
+ /**
6516
+ * Clears the field making it undefined.
6517
+ * @return {!proto.config.CurrencyRateItem} returns this
6518
+ */
6519
+ proto.config.CurrencyRateItem.prototype.clearSourceValidUntil = function() {
6520
+ return jspb.Message.setField(this, 14, undefined);
6521
+ };
6522
+
6523
+
6524
+ /**
6525
+ * Returns whether this field is set.
6526
+ * @return {boolean}
6527
+ */
6528
+ proto.config.CurrencyRateItem.prototype.hasSourceValidUntil = function() {
6529
+ return jspb.Message.getField(this, 14) != null;
6530
+ };
6531
+
6532
+
6485
6533
 
6486
6534
  /**
6487
6535
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.733",
3
+ "version": "1.2.735",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -110,6 +110,8 @@ service Payment {
110
110
  rpc readListConfiscations(PaginationRequest) returns (ConfiscationItemsResponse);
111
111
  rpc createAdjustment(AdjustmentRequest) returns (FinancialOperationResponse);
112
112
  rpc readListAdjustments(PaginationRequest) returns (AdjustmentItemsResponse);
113
+ // Read the durable outcome for an immutable bonus closure decision.
114
+ rpc readBonusTerminalReceipt(BonusTerminalDecisionIdentity) returns (BonusTerminalReceiptResponse);
113
115
  // Internal Bonus lifecycle monetary materialization.
114
116
  rpc issueBonusBalanceReward(BonusBalanceRewardIssueRequest) returns (BonusBalanceRewardOperationResponse);
115
117
  rpc reverseBonusBalanceReward(BonusBalanceRewardReversalRequest) returns (BonusBalanceRewardOperationResponse);
@@ -1052,6 +1054,7 @@ message CheckWithdrawalEligibilityResponse {
1052
1054
  optional string currency = 4;
1053
1055
  optional int32 currency_scale = 5;
1054
1056
  optional string available_real_major = 6;
1057
+ optional string available_real_minor_exact = 7;
1055
1058
  }
1056
1059
  message GetWithdrawalWagerSnapshotRequest {
1057
1060
  int32 user_id = 1;
@@ -1187,6 +1190,7 @@ message ResolveGameWalletContextRequest {
1187
1190
  optional string preferred_wallet_currency = 5;
1188
1191
  // Validate an actual wallet without creating one (including empty wallets).
1189
1192
  optional bool existing_wallet_only = 6;
1193
+ optional bool include_withdrawal_availability = 7;
1190
1194
  }
1191
1195
  message ResolveGameWalletContextResponse {
1192
1196
  int32 user_id = 1;
@@ -1826,3 +1830,31 @@ message ResolveGuardedGameplayScopeResponse {
1826
1830
  GameplayProviderScope scope = 2;
1827
1831
  string admission_id = 3;
1828
1832
  }
1833
+
1834
+ message BonusTerminalDecisionIdentity {
1835
+ string customer = 1;
1836
+ string environment = 2;
1837
+ int32 user_id = 3;
1838
+ int32 user_bonus_id = 4;
1839
+ string decision_id = 5;
1840
+ string terminal_status = 6;
1841
+ string reason_code = 7;
1842
+ string currency = 8;
1843
+ optional uint32 currency_scale = 9;
1844
+ string requested_writeoff_minor = 10;
1845
+ }
1846
+
1847
+ message BonusTerminalReceipt {
1848
+ BonusTerminalDecisionIdentity decision = 1;
1849
+ string deducted_minor = 2;
1850
+ string unresolved_minor = 3;
1851
+ bool obligations_resolved = 4;
1852
+ optional string payment_operation_id = 5;
1853
+ }
1854
+
1855
+ message BonusTerminalReceiptResponse {
1856
+ oneof outcome {
1857
+ BonusTerminalReceipt confirmed = 1;
1858
+ string pending_reason = 2;
1859
+ }
1860
+ }
@@ -103,6 +103,28 @@ function deserialize_payment_BonusBalanceRewardReversalRequest(buffer_arg) {
103
103
  return payment_pb.BonusBalanceRewardReversalRequest.deserializeBinary(new Uint8Array(buffer_arg));
104
104
  }
105
105
 
106
+ function serialize_payment_BonusTerminalDecisionIdentity(arg) {
107
+ if (!(arg instanceof payment_pb.BonusTerminalDecisionIdentity)) {
108
+ throw new Error('Expected argument of type payment.BonusTerminalDecisionIdentity');
109
+ }
110
+ return Buffer.from(arg.serializeBinary());
111
+ }
112
+
113
+ function deserialize_payment_BonusTerminalDecisionIdentity(buffer_arg) {
114
+ return payment_pb.BonusTerminalDecisionIdentity.deserializeBinary(new Uint8Array(buffer_arg));
115
+ }
116
+
117
+ function serialize_payment_BonusTerminalReceiptResponse(arg) {
118
+ if (!(arg instanceof payment_pb.BonusTerminalReceiptResponse)) {
119
+ throw new Error('Expected argument of type payment.BonusTerminalReceiptResponse');
120
+ }
121
+ return Buffer.from(arg.serializeBinary());
122
+ }
123
+
124
+ function deserialize_payment_BonusTerminalReceiptResponse(buffer_arg) {
125
+ return payment_pb.BonusTerminalReceiptResponse.deserializeBinary(new Uint8Array(buffer_arg));
126
+ }
127
+
106
128
  function serialize_payment_CaptureMonetaryReservationRequest(arg) {
107
129
  if (!(arg instanceof payment_pb.CaptureMonetaryReservationRequest)) {
108
130
  throw new Error('Expected argument of type payment.CaptureMonetaryReservationRequest');
@@ -2291,6 +2313,18 @@ createManualDeposit: {
2291
2313
  responseSerialize: serialize_payment_AdjustmentItemsResponse,
2292
2314
  responseDeserialize: deserialize_payment_AdjustmentItemsResponse,
2293
2315
  },
2316
+ // Read the durable outcome for an immutable bonus closure decision.
2317
+ readBonusTerminalReceipt: {
2318
+ path: '/payment.Payment/readBonusTerminalReceipt',
2319
+ requestStream: false,
2320
+ responseStream: false,
2321
+ requestType: payment_pb.BonusTerminalDecisionIdentity,
2322
+ responseType: payment_pb.BonusTerminalReceiptResponse,
2323
+ requestSerialize: serialize_payment_BonusTerminalDecisionIdentity,
2324
+ requestDeserialize: deserialize_payment_BonusTerminalDecisionIdentity,
2325
+ responseSerialize: serialize_payment_BonusTerminalReceiptResponse,
2326
+ responseDeserialize: deserialize_payment_BonusTerminalReceiptResponse,
2327
+ },
2294
2328
  // Internal Bonus lifecycle monetary materialization.
2295
2329
  issueBonusBalanceReward: {
2296
2330
  path: '/payment.Payment/issueBonusBalanceReward',