protobuf-platform 1.2.725 → 1.2.727
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 +9 -0
- package/bet/bet_pb.js +241 -1
- package/package.json +1 -1
- package/payment/payment.proto +85 -0
- package/payment/payment_grpc_pb.js +89 -0
- package/payment/payment_pb.js +2382 -5
- package/scripts/verify-provider-identity-contract.js +61 -0
package/bet/bet.proto
CHANGED
|
@@ -482,6 +482,15 @@ message SportBetListItem {
|
|
|
482
482
|
optional string market = 30;
|
|
483
483
|
optional string outcome = 31;
|
|
484
484
|
optional string provider_betslip_id = 32; // Authoritative BetBy betslip identifier; absent when unavailable.
|
|
485
|
+
// Related settlement SportAction for a placement row. Absent when none exists.
|
|
486
|
+
// settlement_amount_decimal is the stored action amount at the 4-decimal history
|
|
487
|
+
// scale. It is the provider credit or refund, never stake minus payout.
|
|
488
|
+
optional string settlement_action = 33;
|
|
489
|
+
optional string settlement_amount_decimal = 34;
|
|
490
|
+
optional string settlement_currency = 35;
|
|
491
|
+
// Stored amount selected for history display. Not a calculated profit.
|
|
492
|
+
optional string history_amount_decimal = 36;
|
|
493
|
+
optional string history_amount_role = 37; // stake, win, loss, settlement, or returned.
|
|
485
494
|
}
|
|
486
495
|
|
|
487
496
|
message SportBetsHistoryResponse {
|
package/bet/bet_pb.js
CHANGED
|
@@ -17782,7 +17782,12 @@ proto.bet.SportBetListItem.toObject = function(includeInstance, msg) {
|
|
|
17782
17782
|
competition: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
17783
17783
|
market: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
17784
17784
|
outcome: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
17785
|
-
providerBetslipId: jspb.Message.getFieldWithDefault(msg, 32, "")
|
|
17785
|
+
providerBetslipId: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
17786
|
+
settlementAction: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
17787
|
+
settlementAmountDecimal: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
17788
|
+
settlementCurrency: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
17789
|
+
historyAmountDecimal: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
17790
|
+
historyAmountRole: jspb.Message.getFieldWithDefault(msg, 37, "")
|
|
17786
17791
|
};
|
|
17787
17792
|
|
|
17788
17793
|
if (includeInstance) {
|
|
@@ -17944,6 +17949,26 @@ proto.bet.SportBetListItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
17944
17949
|
var value = /** @type {string} */ (reader.readString());
|
|
17945
17950
|
msg.setProviderBetslipId(value);
|
|
17946
17951
|
break;
|
|
17952
|
+
case 33:
|
|
17953
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17954
|
+
msg.setSettlementAction(value);
|
|
17955
|
+
break;
|
|
17956
|
+
case 34:
|
|
17957
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17958
|
+
msg.setSettlementAmountDecimal(value);
|
|
17959
|
+
break;
|
|
17960
|
+
case 35:
|
|
17961
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17962
|
+
msg.setSettlementCurrency(value);
|
|
17963
|
+
break;
|
|
17964
|
+
case 36:
|
|
17965
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17966
|
+
msg.setHistoryAmountDecimal(value);
|
|
17967
|
+
break;
|
|
17968
|
+
case 37:
|
|
17969
|
+
var value = /** @type {string} */ (reader.readString());
|
|
17970
|
+
msg.setHistoryAmountRole(value);
|
|
17971
|
+
break;
|
|
17947
17972
|
default:
|
|
17948
17973
|
reader.skipField();
|
|
17949
17974
|
break;
|
|
@@ -18191,6 +18216,41 @@ proto.bet.SportBetListItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
18191
18216
|
f
|
|
18192
18217
|
);
|
|
18193
18218
|
}
|
|
18219
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 33));
|
|
18220
|
+
if (f != null) {
|
|
18221
|
+
writer.writeString(
|
|
18222
|
+
33,
|
|
18223
|
+
f
|
|
18224
|
+
);
|
|
18225
|
+
}
|
|
18226
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 34));
|
|
18227
|
+
if (f != null) {
|
|
18228
|
+
writer.writeString(
|
|
18229
|
+
34,
|
|
18230
|
+
f
|
|
18231
|
+
);
|
|
18232
|
+
}
|
|
18233
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 35));
|
|
18234
|
+
if (f != null) {
|
|
18235
|
+
writer.writeString(
|
|
18236
|
+
35,
|
|
18237
|
+
f
|
|
18238
|
+
);
|
|
18239
|
+
}
|
|
18240
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 36));
|
|
18241
|
+
if (f != null) {
|
|
18242
|
+
writer.writeString(
|
|
18243
|
+
36,
|
|
18244
|
+
f
|
|
18245
|
+
);
|
|
18246
|
+
}
|
|
18247
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 37));
|
|
18248
|
+
if (f != null) {
|
|
18249
|
+
writer.writeString(
|
|
18250
|
+
37,
|
|
18251
|
+
f
|
|
18252
|
+
);
|
|
18253
|
+
}
|
|
18194
18254
|
};
|
|
18195
18255
|
|
|
18196
18256
|
|
|
@@ -19222,6 +19282,186 @@ proto.bet.SportBetListItem.prototype.hasProviderBetslipId = function() {
|
|
|
19222
19282
|
};
|
|
19223
19283
|
|
|
19224
19284
|
|
|
19285
|
+
/**
|
|
19286
|
+
* optional string settlement_action = 33;
|
|
19287
|
+
* @return {string}
|
|
19288
|
+
*/
|
|
19289
|
+
proto.bet.SportBetListItem.prototype.getSettlementAction = function() {
|
|
19290
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
|
|
19291
|
+
};
|
|
19292
|
+
|
|
19293
|
+
|
|
19294
|
+
/**
|
|
19295
|
+
* @param {string} value
|
|
19296
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19297
|
+
*/
|
|
19298
|
+
proto.bet.SportBetListItem.prototype.setSettlementAction = function(value) {
|
|
19299
|
+
return jspb.Message.setField(this, 33, value);
|
|
19300
|
+
};
|
|
19301
|
+
|
|
19302
|
+
|
|
19303
|
+
/**
|
|
19304
|
+
* Clears the field making it undefined.
|
|
19305
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19306
|
+
*/
|
|
19307
|
+
proto.bet.SportBetListItem.prototype.clearSettlementAction = function() {
|
|
19308
|
+
return jspb.Message.setField(this, 33, undefined);
|
|
19309
|
+
};
|
|
19310
|
+
|
|
19311
|
+
|
|
19312
|
+
/**
|
|
19313
|
+
* Returns whether this field is set.
|
|
19314
|
+
* @return {boolean}
|
|
19315
|
+
*/
|
|
19316
|
+
proto.bet.SportBetListItem.prototype.hasSettlementAction = function() {
|
|
19317
|
+
return jspb.Message.getField(this, 33) != null;
|
|
19318
|
+
};
|
|
19319
|
+
|
|
19320
|
+
|
|
19321
|
+
/**
|
|
19322
|
+
* optional string settlement_amount_decimal = 34;
|
|
19323
|
+
* @return {string}
|
|
19324
|
+
*/
|
|
19325
|
+
proto.bet.SportBetListItem.prototype.getSettlementAmountDecimal = function() {
|
|
19326
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
|
|
19327
|
+
};
|
|
19328
|
+
|
|
19329
|
+
|
|
19330
|
+
/**
|
|
19331
|
+
* @param {string} value
|
|
19332
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19333
|
+
*/
|
|
19334
|
+
proto.bet.SportBetListItem.prototype.setSettlementAmountDecimal = function(value) {
|
|
19335
|
+
return jspb.Message.setField(this, 34, value);
|
|
19336
|
+
};
|
|
19337
|
+
|
|
19338
|
+
|
|
19339
|
+
/**
|
|
19340
|
+
* Clears the field making it undefined.
|
|
19341
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19342
|
+
*/
|
|
19343
|
+
proto.bet.SportBetListItem.prototype.clearSettlementAmountDecimal = function() {
|
|
19344
|
+
return jspb.Message.setField(this, 34, undefined);
|
|
19345
|
+
};
|
|
19346
|
+
|
|
19347
|
+
|
|
19348
|
+
/**
|
|
19349
|
+
* Returns whether this field is set.
|
|
19350
|
+
* @return {boolean}
|
|
19351
|
+
*/
|
|
19352
|
+
proto.bet.SportBetListItem.prototype.hasSettlementAmountDecimal = function() {
|
|
19353
|
+
return jspb.Message.getField(this, 34) != null;
|
|
19354
|
+
};
|
|
19355
|
+
|
|
19356
|
+
|
|
19357
|
+
/**
|
|
19358
|
+
* optional string settlement_currency = 35;
|
|
19359
|
+
* @return {string}
|
|
19360
|
+
*/
|
|
19361
|
+
proto.bet.SportBetListItem.prototype.getSettlementCurrency = function() {
|
|
19362
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
|
|
19363
|
+
};
|
|
19364
|
+
|
|
19365
|
+
|
|
19366
|
+
/**
|
|
19367
|
+
* @param {string} value
|
|
19368
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19369
|
+
*/
|
|
19370
|
+
proto.bet.SportBetListItem.prototype.setSettlementCurrency = function(value) {
|
|
19371
|
+
return jspb.Message.setField(this, 35, value);
|
|
19372
|
+
};
|
|
19373
|
+
|
|
19374
|
+
|
|
19375
|
+
/**
|
|
19376
|
+
* Clears the field making it undefined.
|
|
19377
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19378
|
+
*/
|
|
19379
|
+
proto.bet.SportBetListItem.prototype.clearSettlementCurrency = function() {
|
|
19380
|
+
return jspb.Message.setField(this, 35, undefined);
|
|
19381
|
+
};
|
|
19382
|
+
|
|
19383
|
+
|
|
19384
|
+
/**
|
|
19385
|
+
* Returns whether this field is set.
|
|
19386
|
+
* @return {boolean}
|
|
19387
|
+
*/
|
|
19388
|
+
proto.bet.SportBetListItem.prototype.hasSettlementCurrency = function() {
|
|
19389
|
+
return jspb.Message.getField(this, 35) != null;
|
|
19390
|
+
};
|
|
19391
|
+
|
|
19392
|
+
|
|
19393
|
+
/**
|
|
19394
|
+
* optional string history_amount_decimal = 36;
|
|
19395
|
+
* @return {string}
|
|
19396
|
+
*/
|
|
19397
|
+
proto.bet.SportBetListItem.prototype.getHistoryAmountDecimal = function() {
|
|
19398
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
|
|
19399
|
+
};
|
|
19400
|
+
|
|
19401
|
+
|
|
19402
|
+
/**
|
|
19403
|
+
* @param {string} value
|
|
19404
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19405
|
+
*/
|
|
19406
|
+
proto.bet.SportBetListItem.prototype.setHistoryAmountDecimal = function(value) {
|
|
19407
|
+
return jspb.Message.setField(this, 36, value);
|
|
19408
|
+
};
|
|
19409
|
+
|
|
19410
|
+
|
|
19411
|
+
/**
|
|
19412
|
+
* Clears the field making it undefined.
|
|
19413
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19414
|
+
*/
|
|
19415
|
+
proto.bet.SportBetListItem.prototype.clearHistoryAmountDecimal = function() {
|
|
19416
|
+
return jspb.Message.setField(this, 36, undefined);
|
|
19417
|
+
};
|
|
19418
|
+
|
|
19419
|
+
|
|
19420
|
+
/**
|
|
19421
|
+
* Returns whether this field is set.
|
|
19422
|
+
* @return {boolean}
|
|
19423
|
+
*/
|
|
19424
|
+
proto.bet.SportBetListItem.prototype.hasHistoryAmountDecimal = function() {
|
|
19425
|
+
return jspb.Message.getField(this, 36) != null;
|
|
19426
|
+
};
|
|
19427
|
+
|
|
19428
|
+
|
|
19429
|
+
/**
|
|
19430
|
+
* optional string history_amount_role = 37;
|
|
19431
|
+
* @return {string}
|
|
19432
|
+
*/
|
|
19433
|
+
proto.bet.SportBetListItem.prototype.getHistoryAmountRole = function() {
|
|
19434
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
|
|
19435
|
+
};
|
|
19436
|
+
|
|
19437
|
+
|
|
19438
|
+
/**
|
|
19439
|
+
* @param {string} value
|
|
19440
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19441
|
+
*/
|
|
19442
|
+
proto.bet.SportBetListItem.prototype.setHistoryAmountRole = function(value) {
|
|
19443
|
+
return jspb.Message.setField(this, 37, value);
|
|
19444
|
+
};
|
|
19445
|
+
|
|
19446
|
+
|
|
19447
|
+
/**
|
|
19448
|
+
* Clears the field making it undefined.
|
|
19449
|
+
* @return {!proto.bet.SportBetListItem} returns this
|
|
19450
|
+
*/
|
|
19451
|
+
proto.bet.SportBetListItem.prototype.clearHistoryAmountRole = function() {
|
|
19452
|
+
return jspb.Message.setField(this, 37, undefined);
|
|
19453
|
+
};
|
|
19454
|
+
|
|
19455
|
+
|
|
19456
|
+
/**
|
|
19457
|
+
* Returns whether this field is set.
|
|
19458
|
+
* @return {boolean}
|
|
19459
|
+
*/
|
|
19460
|
+
proto.bet.SportBetListItem.prototype.hasHistoryAmountRole = function() {
|
|
19461
|
+
return jspb.Message.getField(this, 37) != null;
|
|
19462
|
+
};
|
|
19463
|
+
|
|
19464
|
+
|
|
19225
19465
|
|
|
19226
19466
|
/**
|
|
19227
19467
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -82,6 +82,14 @@ service Payment {
|
|
|
82
82
|
// One synchronous settlement. Reads do not take a durable wallet fence.
|
|
83
83
|
rpc settleGameplay(SettleGameplayRequest) returns (SettleGameplayResponse);
|
|
84
84
|
rpc readGameplaySettlementFact(ReadGameplaySettlementFactRequest) returns (ReadGameplaySettlementFactResponse);
|
|
85
|
+
// Explicit capability boundary: Engine monetary calls must never fall back to unguarded settlement.
|
|
86
|
+
rpc readGameplayProviderIdentity(ReadGameplayProviderIdentityRequest)
|
|
87
|
+
returns (GameplayProviderIdentityResult);
|
|
88
|
+
rpc fenceGameplayProviderTransactions(FenceGameplayProviderTransactionsRequest)
|
|
89
|
+
returns (FenceGameplayProviderTransactionsResponse);
|
|
90
|
+
rpc settleGuardedGameplay(SettleGuardedGameplayRequest)
|
|
91
|
+
returns (SettleGameplayResponse);
|
|
92
|
+
|
|
85
93
|
//Segmentation
|
|
86
94
|
rpc getSegmentedUsers(SegmentedUserRequest) returns (SegmentedUserResponse);
|
|
87
95
|
//Currency source-of-truth
|
|
@@ -1703,3 +1711,80 @@ message LoyaltyLevelUpRewardResponse {
|
|
|
1703
1711
|
repeated string ledger_entry_ids = 6;
|
|
1704
1712
|
bool idempotent_replay = 7;
|
|
1705
1713
|
}
|
|
1714
|
+
|
|
1715
|
+
// Provider-scoped cancellation identity; no owner or balance is fabricated for an orphan.
|
|
1716
|
+
message GameplayProviderScope {
|
|
1717
|
+
string namespace = 1;
|
|
1718
|
+
string provider = 2;
|
|
1719
|
+
string operator_id = 3;
|
|
1720
|
+
string integration_generation = 4;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
enum GameplayProviderIdentityKind {
|
|
1724
|
+
GAMEPLAY_PROVIDER_IDENTITY_UNSPECIFIED = 0;
|
|
1725
|
+
GAMEPLAY_PROVIDER_TRANSACTION = 1;
|
|
1726
|
+
GAMEPLAY_PROVIDER_ROUND = 2;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
enum GameplayProviderIdentityState {
|
|
1730
|
+
GAMEPLAY_PROVIDER_STATE_UNSPECIFIED = 0;
|
|
1731
|
+
GAMEPLAY_PROVIDER_ABSENT = 1;
|
|
1732
|
+
GAMEPLAY_PROVIDER_FENCED = 2;
|
|
1733
|
+
GAMEPLAY_PROVIDER_BOUND = 3;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
message GameplayProviderBinding {
|
|
1737
|
+
string user_id = 1;
|
|
1738
|
+
string accounting_currency = 2;
|
|
1739
|
+
string session_id = 3;
|
|
1740
|
+
string round_id = 4;
|
|
1741
|
+
string original_action = 5;
|
|
1742
|
+
string decision_id = 6;
|
|
1743
|
+
string journal_key = 7;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
message ReadGameplayProviderIdentityRequest {
|
|
1747
|
+
uint32 protocol_version = 1;
|
|
1748
|
+
GameplayProviderScope scope = 2;
|
|
1749
|
+
GameplayProviderIdentityKind identity_kind = 3;
|
|
1750
|
+
string external_id = 4;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
message GameplayProviderIdentityResult {
|
|
1754
|
+
uint32 protocol_version = 1;
|
|
1755
|
+
GameplayProviderIdentityKind identity_kind = 2;
|
|
1756
|
+
string external_id = 3;
|
|
1757
|
+
GameplayProviderIdentityState state = 4;
|
|
1758
|
+
GameplayProviderBinding binding = 5;
|
|
1759
|
+
string fence_id = 6;
|
|
1760
|
+
bool round_closed = 7;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
message FenceGameplayProviderTransactionsRequest {
|
|
1764
|
+
uint32 protocol_version = 1;
|
|
1765
|
+
GameplayProviderScope scope = 2;
|
|
1766
|
+
string round_id = 3;
|
|
1767
|
+
repeated string transaction_refs = 4;
|
|
1768
|
+
bool close_round = 5;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
message FenceGameplayProviderTransactionsResponse {
|
|
1772
|
+
uint32 protocol_version = 1;
|
|
1773
|
+
repeated GameplayProviderIdentityResult identities = 2;
|
|
1774
|
+
bool round_closed = 3;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
message GameplayProviderLegClaim {
|
|
1778
|
+
string external_id = 1;
|
|
1779
|
+
string action = 2;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
message SettleGuardedGameplayRequest {
|
|
1783
|
+
uint32 protocol_version = 1;
|
|
1784
|
+
SettleGameplayRequest settlement = 2;
|
|
1785
|
+
GameplayProviderScope scope = 3;
|
|
1786
|
+
string round_id = 4;
|
|
1787
|
+
repeated GameplayProviderLegClaim claims = 5;
|
|
1788
|
+
repeated string reversal_refs = 6;
|
|
1789
|
+
bool close_round = 7;
|
|
1790
|
+
}
|
|
@@ -389,6 +389,28 @@ function deserialize_payment_ExecuteManualWithdrawalRequest(buffer_arg) {
|
|
|
389
389
|
return payment_pb.ExecuteManualWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
+
function serialize_payment_FenceGameplayProviderTransactionsRequest(arg) {
|
|
393
|
+
if (!(arg instanceof payment_pb.FenceGameplayProviderTransactionsRequest)) {
|
|
394
|
+
throw new Error('Expected argument of type payment.FenceGameplayProviderTransactionsRequest');
|
|
395
|
+
}
|
|
396
|
+
return Buffer.from(arg.serializeBinary());
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
function deserialize_payment_FenceGameplayProviderTransactionsRequest(buffer_arg) {
|
|
400
|
+
return payment_pb.FenceGameplayProviderTransactionsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
function serialize_payment_FenceGameplayProviderTransactionsResponse(arg) {
|
|
404
|
+
if (!(arg instanceof payment_pb.FenceGameplayProviderTransactionsResponse)) {
|
|
405
|
+
throw new Error('Expected argument of type payment.FenceGameplayProviderTransactionsResponse');
|
|
406
|
+
}
|
|
407
|
+
return Buffer.from(arg.serializeBinary());
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
function deserialize_payment_FenceGameplayProviderTransactionsResponse(buffer_arg) {
|
|
411
|
+
return payment_pb.FenceGameplayProviderTransactionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
412
|
+
}
|
|
413
|
+
|
|
392
414
|
function serialize_payment_File(arg) {
|
|
393
415
|
if (!(arg instanceof payment_pb.File)) {
|
|
394
416
|
throw new Error('Expected argument of type payment.File');
|
|
@@ -433,6 +455,17 @@ function deserialize_payment_GameplayPrecisionSessionRequest(buffer_arg) {
|
|
|
433
455
|
return payment_pb.GameplayPrecisionSessionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
434
456
|
}
|
|
435
457
|
|
|
458
|
+
function serialize_payment_GameplayProviderIdentityResult(arg) {
|
|
459
|
+
if (!(arg instanceof payment_pb.GameplayProviderIdentityResult)) {
|
|
460
|
+
throw new Error('Expected argument of type payment.GameplayProviderIdentityResult');
|
|
461
|
+
}
|
|
462
|
+
return Buffer.from(arg.serializeBinary());
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
function deserialize_payment_GameplayProviderIdentityResult(buffer_arg) {
|
|
466
|
+
return payment_pb.GameplayProviderIdentityResult.deserializeBinary(new Uint8Array(buffer_arg));
|
|
467
|
+
}
|
|
468
|
+
|
|
436
469
|
function serialize_payment_GetCurrenciesMetadataRequest(arg) {
|
|
437
470
|
if (!(arg instanceof payment_pb.GetCurrenciesMetadataRequest)) {
|
|
438
471
|
throw new Error('Expected argument of type payment.GetCurrenciesMetadataRequest');
|
|
@@ -1027,6 +1060,17 @@ function deserialize_payment_ProviderTranslationResponse(buffer_arg) {
|
|
|
1027
1060
|
return payment_pb.ProviderTranslationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1028
1061
|
}
|
|
1029
1062
|
|
|
1063
|
+
function serialize_payment_ReadGameplayProviderIdentityRequest(arg) {
|
|
1064
|
+
if (!(arg instanceof payment_pb.ReadGameplayProviderIdentityRequest)) {
|
|
1065
|
+
throw new Error('Expected argument of type payment.ReadGameplayProviderIdentityRequest');
|
|
1066
|
+
}
|
|
1067
|
+
return Buffer.from(arg.serializeBinary());
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
function deserialize_payment_ReadGameplayProviderIdentityRequest(buffer_arg) {
|
|
1071
|
+
return payment_pb.ReadGameplayProviderIdentityRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1030
1074
|
function serialize_payment_ReadGameplaySettlementFactRequest(arg) {
|
|
1031
1075
|
if (!(arg instanceof payment_pb.ReadGameplaySettlementFactRequest)) {
|
|
1032
1076
|
throw new Error('Expected argument of type payment.ReadGameplaySettlementFactRequest');
|
|
@@ -1137,6 +1181,17 @@ function deserialize_payment_SettleGameplayResponse(buffer_arg) {
|
|
|
1137
1181
|
return payment_pb.SettleGameplayResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1138
1182
|
}
|
|
1139
1183
|
|
|
1184
|
+
function serialize_payment_SettleGuardedGameplayRequest(arg) {
|
|
1185
|
+
if (!(arg instanceof payment_pb.SettleGuardedGameplayRequest)) {
|
|
1186
|
+
throw new Error('Expected argument of type payment.SettleGuardedGameplayRequest');
|
|
1187
|
+
}
|
|
1188
|
+
return Buffer.from(arg.serializeBinary());
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
function deserialize_payment_SettleGuardedGameplayRequest(buffer_arg) {
|
|
1192
|
+
return payment_pb.SettleGuardedGameplayRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1140
1195
|
function serialize_payment_SyncCurrenciesRequest(arg) {
|
|
1141
1196
|
if (!(arg instanceof payment_pb.SyncCurrenciesRequest)) {
|
|
1142
1197
|
throw new Error('Expected argument of type payment.SyncCurrenciesRequest');
|
|
@@ -2000,6 +2055,40 @@ settleGameplay: {
|
|
|
2000
2055
|
responseSerialize: serialize_payment_ReadGameplaySettlementFactResponse,
|
|
2001
2056
|
responseDeserialize: deserialize_payment_ReadGameplaySettlementFactResponse,
|
|
2002
2057
|
},
|
|
2058
|
+
// Explicit capability boundary: Engine monetary calls must never fall back to unguarded settlement.
|
|
2059
|
+
readGameplayProviderIdentity: {
|
|
2060
|
+
path: '/payment.Payment/readGameplayProviderIdentity',
|
|
2061
|
+
requestStream: false,
|
|
2062
|
+
responseStream: false,
|
|
2063
|
+
requestType: payment_pb.ReadGameplayProviderIdentityRequest,
|
|
2064
|
+
responseType: payment_pb.GameplayProviderIdentityResult,
|
|
2065
|
+
requestSerialize: serialize_payment_ReadGameplayProviderIdentityRequest,
|
|
2066
|
+
requestDeserialize: deserialize_payment_ReadGameplayProviderIdentityRequest,
|
|
2067
|
+
responseSerialize: serialize_payment_GameplayProviderIdentityResult,
|
|
2068
|
+
responseDeserialize: deserialize_payment_GameplayProviderIdentityResult,
|
|
2069
|
+
},
|
|
2070
|
+
fenceGameplayProviderTransactions: {
|
|
2071
|
+
path: '/payment.Payment/fenceGameplayProviderTransactions',
|
|
2072
|
+
requestStream: false,
|
|
2073
|
+
responseStream: false,
|
|
2074
|
+
requestType: payment_pb.FenceGameplayProviderTransactionsRequest,
|
|
2075
|
+
responseType: payment_pb.FenceGameplayProviderTransactionsResponse,
|
|
2076
|
+
requestSerialize: serialize_payment_FenceGameplayProviderTransactionsRequest,
|
|
2077
|
+
requestDeserialize: deserialize_payment_FenceGameplayProviderTransactionsRequest,
|
|
2078
|
+
responseSerialize: serialize_payment_FenceGameplayProviderTransactionsResponse,
|
|
2079
|
+
responseDeserialize: deserialize_payment_FenceGameplayProviderTransactionsResponse,
|
|
2080
|
+
},
|
|
2081
|
+
settleGuardedGameplay: {
|
|
2082
|
+
path: '/payment.Payment/settleGuardedGameplay',
|
|
2083
|
+
requestStream: false,
|
|
2084
|
+
responseStream: false,
|
|
2085
|
+
requestType: payment_pb.SettleGuardedGameplayRequest,
|
|
2086
|
+
responseType: payment_pb.SettleGameplayResponse,
|
|
2087
|
+
requestSerialize: serialize_payment_SettleGuardedGameplayRequest,
|
|
2088
|
+
requestDeserialize: deserialize_payment_SettleGuardedGameplayRequest,
|
|
2089
|
+
responseSerialize: serialize_payment_SettleGameplayResponse,
|
|
2090
|
+
responseDeserialize: deserialize_payment_SettleGameplayResponse,
|
|
2091
|
+
},
|
|
2003
2092
|
// Segmentation
|
|
2004
2093
|
getSegmentedUsers: {
|
|
2005
2094
|
path: '/payment.Payment/getSegmentedUsers',
|