protobuf-platform 1.2.734 → 1.2.736
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/config/config.proto +1 -0
- package/config/config_pb.js +49 -1
- package/package.json +1 -1
- package/payment/payment.proto +38 -0
- package/payment/payment_grpc_pb.js +34 -0
- package/payment/payment_pb.js +1395 -1
package/config/config.proto
CHANGED
package/config/config_pb.js
CHANGED
|
@@ -6733,7 +6733,8 @@ proto.config.CurrencyRatesMapRequest.toObject = function(includeInstance, msg) {
|
|
|
6733
6733
|
customer: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6734
6734
|
baseCurrency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6735
6735
|
currencyFromList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
6736
|
-
includeMissing: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
6736
|
+
includeMissing: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
6737
|
+
withdrawalLastKnownRate: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
6737
6738
|
};
|
|
6738
6739
|
|
|
6739
6740
|
if (includeInstance) {
|
|
@@ -6790,6 +6791,10 @@ proto.config.CurrencyRatesMapRequest.deserializeBinaryFromReader = function(msg,
|
|
|
6790
6791
|
var value = /** @type {number} */ (reader.readInt32());
|
|
6791
6792
|
msg.setIncludeMissing(value);
|
|
6792
6793
|
break;
|
|
6794
|
+
case 6:
|
|
6795
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6796
|
+
msg.setWithdrawalLastKnownRate(value);
|
|
6797
|
+
break;
|
|
6793
6798
|
default:
|
|
6794
6799
|
reader.skipField();
|
|
6795
6800
|
break;
|
|
@@ -6854,6 +6859,13 @@ proto.config.CurrencyRatesMapRequest.serializeBinaryToWriter = function(message,
|
|
|
6854
6859
|
f
|
|
6855
6860
|
);
|
|
6856
6861
|
}
|
|
6862
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
6863
|
+
if (f != null) {
|
|
6864
|
+
writer.writeBool(
|
|
6865
|
+
6,
|
|
6866
|
+
f
|
|
6867
|
+
);
|
|
6868
|
+
}
|
|
6857
6869
|
};
|
|
6858
6870
|
|
|
6859
6871
|
|
|
@@ -7002,6 +7014,42 @@ proto.config.CurrencyRatesMapRequest.prototype.hasIncludeMissing = function() {
|
|
|
7002
7014
|
};
|
|
7003
7015
|
|
|
7004
7016
|
|
|
7017
|
+
/**
|
|
7018
|
+
* optional bool withdrawal_last_known_rate = 6;
|
|
7019
|
+
* @return {boolean}
|
|
7020
|
+
*/
|
|
7021
|
+
proto.config.CurrencyRatesMapRequest.prototype.getWithdrawalLastKnownRate = function() {
|
|
7022
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
7023
|
+
};
|
|
7024
|
+
|
|
7025
|
+
|
|
7026
|
+
/**
|
|
7027
|
+
* @param {boolean} value
|
|
7028
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
7029
|
+
*/
|
|
7030
|
+
proto.config.CurrencyRatesMapRequest.prototype.setWithdrawalLastKnownRate = function(value) {
|
|
7031
|
+
return jspb.Message.setField(this, 6, value);
|
|
7032
|
+
};
|
|
7033
|
+
|
|
7034
|
+
|
|
7035
|
+
/**
|
|
7036
|
+
* Clears the field making it undefined.
|
|
7037
|
+
* @return {!proto.config.CurrencyRatesMapRequest} returns this
|
|
7038
|
+
*/
|
|
7039
|
+
proto.config.CurrencyRatesMapRequest.prototype.clearWithdrawalLastKnownRate = function() {
|
|
7040
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
7041
|
+
};
|
|
7042
|
+
|
|
7043
|
+
|
|
7044
|
+
/**
|
|
7045
|
+
* Returns whether this field is set.
|
|
7046
|
+
* @return {boolean}
|
|
7047
|
+
*/
|
|
7048
|
+
proto.config.CurrencyRatesMapRequest.prototype.hasWithdrawalLastKnownRate = function() {
|
|
7049
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7050
|
+
};
|
|
7051
|
+
|
|
7052
|
+
|
|
7005
7053
|
|
|
7006
7054
|
/**
|
|
7007
7055
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -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);
|
|
@@ -1092,6 +1094,13 @@ message WithdrawalAvailability {
|
|
|
1092
1094
|
optional string remaining_entitlement_minor = 6;
|
|
1093
1095
|
optional int32 entitlement_currency_scale = 7;
|
|
1094
1096
|
}
|
|
1097
|
+
message GlobalWithdrawalAvailability {
|
|
1098
|
+
string availability_status = 1;
|
|
1099
|
+
optional string currency = 2;
|
|
1100
|
+
optional int32 currency_scale = 3;
|
|
1101
|
+
optional string withdrawable_real_minor = 4;
|
|
1102
|
+
optional string withdrawable_real_major = 5;
|
|
1103
|
+
}
|
|
1095
1104
|
message GetWithdrawalWagerBucketHistoryRequest {
|
|
1096
1105
|
int32 user_id = 1;
|
|
1097
1106
|
optional string currency = 2;
|
|
@@ -1204,6 +1213,7 @@ message ResolveGameWalletContextResponse {
|
|
|
1204
1213
|
repeated WalletCashBalanceItem wallets = 9;
|
|
1205
1214
|
optional string available_real_major = 10;
|
|
1206
1215
|
optional WithdrawalAvailability withdrawal_availability = 11;
|
|
1216
|
+
optional GlobalWithdrawalAvailability global_withdrawal_availability = 12;
|
|
1207
1217
|
}
|
|
1208
1218
|
message WalletCashBalanceItem {
|
|
1209
1219
|
string currency = 1;
|
|
@@ -1828,3 +1838,31 @@ message ResolveGuardedGameplayScopeResponse {
|
|
|
1828
1838
|
GameplayProviderScope scope = 2;
|
|
1829
1839
|
string admission_id = 3;
|
|
1830
1840
|
}
|
|
1841
|
+
|
|
1842
|
+
message BonusTerminalDecisionIdentity {
|
|
1843
|
+
string customer = 1;
|
|
1844
|
+
string environment = 2;
|
|
1845
|
+
int32 user_id = 3;
|
|
1846
|
+
int32 user_bonus_id = 4;
|
|
1847
|
+
string decision_id = 5;
|
|
1848
|
+
string terminal_status = 6;
|
|
1849
|
+
string reason_code = 7;
|
|
1850
|
+
string currency = 8;
|
|
1851
|
+
optional uint32 currency_scale = 9;
|
|
1852
|
+
string requested_writeoff_minor = 10;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
message BonusTerminalReceipt {
|
|
1856
|
+
BonusTerminalDecisionIdentity decision = 1;
|
|
1857
|
+
string deducted_minor = 2;
|
|
1858
|
+
string unresolved_minor = 3;
|
|
1859
|
+
bool obligations_resolved = 4;
|
|
1860
|
+
optional string payment_operation_id = 5;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
message BonusTerminalReceiptResponse {
|
|
1864
|
+
oneof outcome {
|
|
1865
|
+
BonusTerminalReceipt confirmed = 1;
|
|
1866
|
+
string pending_reason = 2;
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
@@ -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',
|