protobuf-platform 1.2.726 → 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/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.
|