protobuf-platform 1.2.642 → 1.2.644
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/bonus/bonus.proto +7 -0
- package/cashback/cashback.proto +1 -0
- package/cashback/cashback_pb.js +53 -2
- package/game/game.proto +2 -0
- package/game/game_pb.js +49 -1
- package/loyalty/loyalty.proto +7 -0
- package/loyalty/loyalty_pb.js +338 -2
- package/package.json +1 -1
- package/sport/sport.proto +4 -0
- package/sport/sport_pb.js +97 -1
package/bonus/bonus.proto
CHANGED
|
@@ -103,6 +103,9 @@ message BonusActivationRulesRequest {
|
|
|
103
103
|
optional string promo_code = 8;
|
|
104
104
|
}
|
|
105
105
|
// Write-side reward payload for a single semantic reward type (e.g. "freebet", "comboboost").
|
|
106
|
+
// `config` is type-specific JSON. For freebet: templateId, amount, maxWin, winningsDestination.
|
|
107
|
+
// For freespins: gameId, maxWin, spinAmount, totalAmount, winningsDestination.
|
|
108
|
+
// winningsDestination is "real" | "bonus"; absent/null/legacy JSON MUST resolve to bonus.
|
|
106
109
|
message BonusRewardWriteItem {
|
|
107
110
|
string type = 1;
|
|
108
111
|
optional string config = 2;
|
|
@@ -110,6 +113,8 @@ message BonusRewardWriteItem {
|
|
|
110
113
|
|
|
111
114
|
// Legacy scalar/config fields (1–10) remain for backward compatibility.
|
|
112
115
|
// New reward types must use `rewards`; do not add per-type top-level fields (e.g. combo_boost_config).
|
|
116
|
+
// free_spins_config / free_bet_config JSON keys match BonusReward.config (including maxWin and
|
|
117
|
+
// winningsDestination). Missing winningsDestination is bonus, never real.
|
|
113
118
|
message BonusRewardsRequest {
|
|
114
119
|
int32 bonus_id = 1;
|
|
115
120
|
string currency = 2;
|
|
@@ -135,6 +140,8 @@ message ActivationRule {
|
|
|
135
140
|
string currency = 2;
|
|
136
141
|
optional string config = 3;
|
|
137
142
|
}
|
|
143
|
+
// Read-side reward. `config` JSON is type-specific; freespins/freebet may include maxWin and
|
|
144
|
+
// winningsDestination ("real" | "bonus"). Absent destination is bonus.
|
|
138
145
|
message BonusReward {
|
|
139
146
|
string type = 1;
|
|
140
147
|
string currency = 2;
|
package/cashback/cashback.proto
CHANGED
package/cashback/cashback_pb.js
CHANGED
|
@@ -1956,7 +1956,7 @@ proto.cashback.UserSearchRequest.prototype.hasCurrency = function() {
|
|
|
1956
1956
|
* @private {!Array<number>}
|
|
1957
1957
|
* @const
|
|
1958
1958
|
*/
|
|
1959
|
-
proto.cashback.SearchRequest.repeatedFields_ = [3];
|
|
1959
|
+
proto.cashback.SearchRequest.repeatedFields_ = [3,5];
|
|
1960
1960
|
|
|
1961
1961
|
|
|
1962
1962
|
|
|
@@ -1992,7 +1992,8 @@ proto.cashback.SearchRequest.toObject = function(includeInstance, msg) {
|
|
|
1992
1992
|
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1993
1993
|
level: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1994
1994
|
typeList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1995
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1995
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1996
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
1996
1997
|
};
|
|
1997
1998
|
|
|
1998
1999
|
if (includeInstance) {
|
|
@@ -2045,6 +2046,12 @@ proto.cashback.SearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2045
2046
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2046
2047
|
msg.setIsActive(value);
|
|
2047
2048
|
break;
|
|
2049
|
+
case 5:
|
|
2050
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
2051
|
+
for (var i = 0; i < values.length; i++) {
|
|
2052
|
+
msg.addIds(values[i]);
|
|
2053
|
+
}
|
|
2054
|
+
break;
|
|
2048
2055
|
default:
|
|
2049
2056
|
reader.skipField();
|
|
2050
2057
|
break;
|
|
@@ -2102,6 +2109,13 @@ proto.cashback.SearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
2102
2109
|
f
|
|
2103
2110
|
);
|
|
2104
2111
|
}
|
|
2112
|
+
f = message.getIdsList();
|
|
2113
|
+
if (f.length > 0) {
|
|
2114
|
+
writer.writePackedInt32(
|
|
2115
|
+
5,
|
|
2116
|
+
f
|
|
2117
|
+
);
|
|
2118
|
+
}
|
|
2105
2119
|
};
|
|
2106
2120
|
|
|
2107
2121
|
|
|
@@ -2250,6 +2264,43 @@ proto.cashback.SearchRequest.prototype.hasIsActive = function() {
|
|
|
2250
2264
|
};
|
|
2251
2265
|
|
|
2252
2266
|
|
|
2267
|
+
/**
|
|
2268
|
+
* repeated int32 ids = 5;
|
|
2269
|
+
* @return {!Array<number>}
|
|
2270
|
+
*/
|
|
2271
|
+
proto.cashback.SearchRequest.prototype.getIdsList = function() {
|
|
2272
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
2273
|
+
};
|
|
2274
|
+
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* @param {!Array<number>} value
|
|
2278
|
+
* @return {!proto.cashback.SearchRequest} returns this
|
|
2279
|
+
*/
|
|
2280
|
+
proto.cashback.SearchRequest.prototype.setIdsList = function(value) {
|
|
2281
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
2282
|
+
};
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* @param {number} value
|
|
2287
|
+
* @param {number=} opt_index
|
|
2288
|
+
* @return {!proto.cashback.SearchRequest} returns this
|
|
2289
|
+
*/
|
|
2290
|
+
proto.cashback.SearchRequest.prototype.addIds = function(value, opt_index) {
|
|
2291
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* Clears the list making it empty but non-null.
|
|
2297
|
+
* @return {!proto.cashback.SearchRequest} returns this
|
|
2298
|
+
*/
|
|
2299
|
+
proto.cashback.SearchRequest.prototype.clearIdsList = function() {
|
|
2300
|
+
return this.setIdsList([]);
|
|
2301
|
+
};
|
|
2302
|
+
|
|
2303
|
+
|
|
2253
2304
|
|
|
2254
2305
|
/**
|
|
2255
2306
|
* List of repeated fields within this message type.
|
package/game/game.proto
CHANGED
|
@@ -1188,6 +1188,8 @@ message FreeSpinBonusCampaignRequest {
|
|
|
1188
1188
|
optional string campaign_name = 11;
|
|
1189
1189
|
optional string provider_extras = 12;
|
|
1190
1190
|
int64 user_bonus_id = 13;
|
|
1191
|
+
// Per-spin winnings destination: "real" | "bonus". Absent/empty/legacy = bonus.
|
|
1192
|
+
optional string winnings_destination = 14;
|
|
1191
1193
|
}
|
|
1192
1194
|
message FreeSpinStatusRequest {
|
|
1193
1195
|
string free_spin_id = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -49625,7 +49625,8 @@ proto.game.FreeSpinBonusCampaignRequest.toObject = function(includeInstance, msg
|
|
|
49625
49625
|
maxWinAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
49626
49626
|
campaignName: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
49627
49627
|
providerExtras: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
49628
|
-
userBonusId: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
49628
|
+
userBonusId: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
49629
|
+
winningsDestination: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
49629
49630
|
};
|
|
49630
49631
|
|
|
49631
49632
|
if (includeInstance) {
|
|
@@ -49714,6 +49715,10 @@ proto.game.FreeSpinBonusCampaignRequest.deserializeBinaryFromReader = function(m
|
|
|
49714
49715
|
var value = /** @type {number} */ (reader.readInt64());
|
|
49715
49716
|
msg.setUserBonusId(value);
|
|
49716
49717
|
break;
|
|
49718
|
+
case 14:
|
|
49719
|
+
var value = /** @type {string} */ (reader.readString());
|
|
49720
|
+
msg.setWinningsDestination(value);
|
|
49721
|
+
break;
|
|
49717
49722
|
default:
|
|
49718
49723
|
reader.skipField();
|
|
49719
49724
|
break;
|
|
@@ -49834,6 +49839,13 @@ proto.game.FreeSpinBonusCampaignRequest.serializeBinaryToWriter = function(messa
|
|
|
49834
49839
|
f
|
|
49835
49840
|
);
|
|
49836
49841
|
}
|
|
49842
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
49843
|
+
if (f != null) {
|
|
49844
|
+
writer.writeString(
|
|
49845
|
+
14,
|
|
49846
|
+
f
|
|
49847
|
+
);
|
|
49848
|
+
}
|
|
49837
49849
|
};
|
|
49838
49850
|
|
|
49839
49851
|
|
|
@@ -50125,6 +50137,42 @@ proto.game.FreeSpinBonusCampaignRequest.prototype.setUserBonusId = function(valu
|
|
|
50125
50137
|
};
|
|
50126
50138
|
|
|
50127
50139
|
|
|
50140
|
+
/**
|
|
50141
|
+
* optional string winnings_destination = 14;
|
|
50142
|
+
* @return {string}
|
|
50143
|
+
*/
|
|
50144
|
+
proto.game.FreeSpinBonusCampaignRequest.prototype.getWinningsDestination = function() {
|
|
50145
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
50146
|
+
};
|
|
50147
|
+
|
|
50148
|
+
|
|
50149
|
+
/**
|
|
50150
|
+
* @param {string} value
|
|
50151
|
+
* @return {!proto.game.FreeSpinBonusCampaignRequest} returns this
|
|
50152
|
+
*/
|
|
50153
|
+
proto.game.FreeSpinBonusCampaignRequest.prototype.setWinningsDestination = function(value) {
|
|
50154
|
+
return jspb.Message.setField(this, 14, value);
|
|
50155
|
+
};
|
|
50156
|
+
|
|
50157
|
+
|
|
50158
|
+
/**
|
|
50159
|
+
* Clears the field making it undefined.
|
|
50160
|
+
* @return {!proto.game.FreeSpinBonusCampaignRequest} returns this
|
|
50161
|
+
*/
|
|
50162
|
+
proto.game.FreeSpinBonusCampaignRequest.prototype.clearWinningsDestination = function() {
|
|
50163
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
50164
|
+
};
|
|
50165
|
+
|
|
50166
|
+
|
|
50167
|
+
/**
|
|
50168
|
+
* Returns whether this field is set.
|
|
50169
|
+
* @return {boolean}
|
|
50170
|
+
*/
|
|
50171
|
+
proto.game.FreeSpinBonusCampaignRequest.prototype.hasWinningsDestination = function() {
|
|
50172
|
+
return jspb.Message.getField(this, 14) != null;
|
|
50173
|
+
};
|
|
50174
|
+
|
|
50175
|
+
|
|
50128
50176
|
|
|
50129
50177
|
|
|
50130
50178
|
|
package/loyalty/loyalty.proto
CHANGED
|
@@ -80,6 +80,11 @@ message LevelRewardItem {
|
|
|
80
80
|
optional string target_reference = 4;
|
|
81
81
|
optional string config = 5;
|
|
82
82
|
repeated LevelRewardTranslationItem translations = 6;
|
|
83
|
+
optional string title = 7;
|
|
84
|
+
optional string description = 8;
|
|
85
|
+
optional string image = 9;
|
|
86
|
+
optional string image_cdn = 10;
|
|
87
|
+
optional string amount = 11;
|
|
83
88
|
}
|
|
84
89
|
message LevelRewardRequest {
|
|
85
90
|
string type = 1;
|
|
@@ -111,6 +116,8 @@ message LevelItemRequest {
|
|
|
111
116
|
}
|
|
112
117
|
message GetLevelRequest {
|
|
113
118
|
int32 id = 1;
|
|
119
|
+
optional string locale = 2;
|
|
120
|
+
optional bool admin_side = 3;
|
|
114
121
|
}
|
|
115
122
|
message LevelTranslationRequest {
|
|
116
123
|
optional int32 loyalty_level_id = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -3388,7 +3388,12 @@ proto.loyalty.LevelRewardItem.toObject = function(includeInstance, msg) {
|
|
|
3388
3388
|
targetReference: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3389
3389
|
config: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3390
3390
|
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
3391
|
-
proto.loyalty.LevelRewardTranslationItem.toObject, includeInstance)
|
|
3391
|
+
proto.loyalty.LevelRewardTranslationItem.toObject, includeInstance),
|
|
3392
|
+
title: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3393
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3394
|
+
image: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3395
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3396
|
+
amount: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
3392
3397
|
};
|
|
3393
3398
|
|
|
3394
3399
|
if (includeInstance) {
|
|
@@ -3450,6 +3455,26 @@ proto.loyalty.LevelRewardItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
3450
3455
|
reader.readMessage(value,proto.loyalty.LevelRewardTranslationItem.deserializeBinaryFromReader);
|
|
3451
3456
|
msg.addTranslations(value);
|
|
3452
3457
|
break;
|
|
3458
|
+
case 7:
|
|
3459
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3460
|
+
msg.setTitle(value);
|
|
3461
|
+
break;
|
|
3462
|
+
case 8:
|
|
3463
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3464
|
+
msg.setDescription(value);
|
|
3465
|
+
break;
|
|
3466
|
+
case 9:
|
|
3467
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3468
|
+
msg.setImage(value);
|
|
3469
|
+
break;
|
|
3470
|
+
case 10:
|
|
3471
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3472
|
+
msg.setImageCdn(value);
|
|
3473
|
+
break;
|
|
3474
|
+
case 11:
|
|
3475
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3476
|
+
msg.setAmount(value);
|
|
3477
|
+
break;
|
|
3453
3478
|
default:
|
|
3454
3479
|
reader.skipField();
|
|
3455
3480
|
break;
|
|
@@ -3522,6 +3547,41 @@ proto.loyalty.LevelRewardItem.serializeBinaryToWriter = function(message, writer
|
|
|
3522
3547
|
proto.loyalty.LevelRewardTranslationItem.serializeBinaryToWriter
|
|
3523
3548
|
);
|
|
3524
3549
|
}
|
|
3550
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
3551
|
+
if (f != null) {
|
|
3552
|
+
writer.writeString(
|
|
3553
|
+
7,
|
|
3554
|
+
f
|
|
3555
|
+
);
|
|
3556
|
+
}
|
|
3557
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
3558
|
+
if (f != null) {
|
|
3559
|
+
writer.writeString(
|
|
3560
|
+
8,
|
|
3561
|
+
f
|
|
3562
|
+
);
|
|
3563
|
+
}
|
|
3564
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
3565
|
+
if (f != null) {
|
|
3566
|
+
writer.writeString(
|
|
3567
|
+
9,
|
|
3568
|
+
f
|
|
3569
|
+
);
|
|
3570
|
+
}
|
|
3571
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
3572
|
+
if (f != null) {
|
|
3573
|
+
writer.writeString(
|
|
3574
|
+
10,
|
|
3575
|
+
f
|
|
3576
|
+
);
|
|
3577
|
+
}
|
|
3578
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
3579
|
+
if (f != null) {
|
|
3580
|
+
writer.writeString(
|
|
3581
|
+
11,
|
|
3582
|
+
f
|
|
3583
|
+
);
|
|
3584
|
+
}
|
|
3525
3585
|
};
|
|
3526
3586
|
|
|
3527
3587
|
|
|
@@ -3707,6 +3767,186 @@ proto.loyalty.LevelRewardItem.prototype.clearTranslationsList = function() {
|
|
|
3707
3767
|
};
|
|
3708
3768
|
|
|
3709
3769
|
|
|
3770
|
+
/**
|
|
3771
|
+
* optional string title = 7;
|
|
3772
|
+
* @return {string}
|
|
3773
|
+
*/
|
|
3774
|
+
proto.loyalty.LevelRewardItem.prototype.getTitle = function() {
|
|
3775
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3776
|
+
};
|
|
3777
|
+
|
|
3778
|
+
|
|
3779
|
+
/**
|
|
3780
|
+
* @param {string} value
|
|
3781
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3782
|
+
*/
|
|
3783
|
+
proto.loyalty.LevelRewardItem.prototype.setTitle = function(value) {
|
|
3784
|
+
return jspb.Message.setField(this, 7, value);
|
|
3785
|
+
};
|
|
3786
|
+
|
|
3787
|
+
|
|
3788
|
+
/**
|
|
3789
|
+
* Clears the field making it undefined.
|
|
3790
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3791
|
+
*/
|
|
3792
|
+
proto.loyalty.LevelRewardItem.prototype.clearTitle = function() {
|
|
3793
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
3794
|
+
};
|
|
3795
|
+
|
|
3796
|
+
|
|
3797
|
+
/**
|
|
3798
|
+
* Returns whether this field is set.
|
|
3799
|
+
* @return {boolean}
|
|
3800
|
+
*/
|
|
3801
|
+
proto.loyalty.LevelRewardItem.prototype.hasTitle = function() {
|
|
3802
|
+
return jspb.Message.getField(this, 7) != null;
|
|
3803
|
+
};
|
|
3804
|
+
|
|
3805
|
+
|
|
3806
|
+
/**
|
|
3807
|
+
* optional string description = 8;
|
|
3808
|
+
* @return {string}
|
|
3809
|
+
*/
|
|
3810
|
+
proto.loyalty.LevelRewardItem.prototype.getDescription = function() {
|
|
3811
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3812
|
+
};
|
|
3813
|
+
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* @param {string} value
|
|
3817
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3818
|
+
*/
|
|
3819
|
+
proto.loyalty.LevelRewardItem.prototype.setDescription = function(value) {
|
|
3820
|
+
return jspb.Message.setField(this, 8, value);
|
|
3821
|
+
};
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
/**
|
|
3825
|
+
* Clears the field making it undefined.
|
|
3826
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3827
|
+
*/
|
|
3828
|
+
proto.loyalty.LevelRewardItem.prototype.clearDescription = function() {
|
|
3829
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
3830
|
+
};
|
|
3831
|
+
|
|
3832
|
+
|
|
3833
|
+
/**
|
|
3834
|
+
* Returns whether this field is set.
|
|
3835
|
+
* @return {boolean}
|
|
3836
|
+
*/
|
|
3837
|
+
proto.loyalty.LevelRewardItem.prototype.hasDescription = function() {
|
|
3838
|
+
return jspb.Message.getField(this, 8) != null;
|
|
3839
|
+
};
|
|
3840
|
+
|
|
3841
|
+
|
|
3842
|
+
/**
|
|
3843
|
+
* optional string image = 9;
|
|
3844
|
+
* @return {string}
|
|
3845
|
+
*/
|
|
3846
|
+
proto.loyalty.LevelRewardItem.prototype.getImage = function() {
|
|
3847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3848
|
+
};
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
/**
|
|
3852
|
+
* @param {string} value
|
|
3853
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3854
|
+
*/
|
|
3855
|
+
proto.loyalty.LevelRewardItem.prototype.setImage = function(value) {
|
|
3856
|
+
return jspb.Message.setField(this, 9, value);
|
|
3857
|
+
};
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
* Clears the field making it undefined.
|
|
3862
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3863
|
+
*/
|
|
3864
|
+
proto.loyalty.LevelRewardItem.prototype.clearImage = function() {
|
|
3865
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* Returns whether this field is set.
|
|
3871
|
+
* @return {boolean}
|
|
3872
|
+
*/
|
|
3873
|
+
proto.loyalty.LevelRewardItem.prototype.hasImage = function() {
|
|
3874
|
+
return jspb.Message.getField(this, 9) != null;
|
|
3875
|
+
};
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* optional string image_cdn = 10;
|
|
3880
|
+
* @return {string}
|
|
3881
|
+
*/
|
|
3882
|
+
proto.loyalty.LevelRewardItem.prototype.getImageCdn = function() {
|
|
3883
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3884
|
+
};
|
|
3885
|
+
|
|
3886
|
+
|
|
3887
|
+
/**
|
|
3888
|
+
* @param {string} value
|
|
3889
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3890
|
+
*/
|
|
3891
|
+
proto.loyalty.LevelRewardItem.prototype.setImageCdn = function(value) {
|
|
3892
|
+
return jspb.Message.setField(this, 10, value);
|
|
3893
|
+
};
|
|
3894
|
+
|
|
3895
|
+
|
|
3896
|
+
/**
|
|
3897
|
+
* Clears the field making it undefined.
|
|
3898
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3899
|
+
*/
|
|
3900
|
+
proto.loyalty.LevelRewardItem.prototype.clearImageCdn = function() {
|
|
3901
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
3902
|
+
};
|
|
3903
|
+
|
|
3904
|
+
|
|
3905
|
+
/**
|
|
3906
|
+
* Returns whether this field is set.
|
|
3907
|
+
* @return {boolean}
|
|
3908
|
+
*/
|
|
3909
|
+
proto.loyalty.LevelRewardItem.prototype.hasImageCdn = function() {
|
|
3910
|
+
return jspb.Message.getField(this, 10) != null;
|
|
3911
|
+
};
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
/**
|
|
3915
|
+
* optional string amount = 11;
|
|
3916
|
+
* @return {string}
|
|
3917
|
+
*/
|
|
3918
|
+
proto.loyalty.LevelRewardItem.prototype.getAmount = function() {
|
|
3919
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
3920
|
+
};
|
|
3921
|
+
|
|
3922
|
+
|
|
3923
|
+
/**
|
|
3924
|
+
* @param {string} value
|
|
3925
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3926
|
+
*/
|
|
3927
|
+
proto.loyalty.LevelRewardItem.prototype.setAmount = function(value) {
|
|
3928
|
+
return jspb.Message.setField(this, 11, value);
|
|
3929
|
+
};
|
|
3930
|
+
|
|
3931
|
+
|
|
3932
|
+
/**
|
|
3933
|
+
* Clears the field making it undefined.
|
|
3934
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
3935
|
+
*/
|
|
3936
|
+
proto.loyalty.LevelRewardItem.prototype.clearAmount = function() {
|
|
3937
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
3938
|
+
};
|
|
3939
|
+
|
|
3940
|
+
|
|
3941
|
+
/**
|
|
3942
|
+
* Returns whether this field is set.
|
|
3943
|
+
* @return {boolean}
|
|
3944
|
+
*/
|
|
3945
|
+
proto.loyalty.LevelRewardItem.prototype.hasAmount = function() {
|
|
3946
|
+
return jspb.Message.getField(this, 11) != null;
|
|
3947
|
+
};
|
|
3948
|
+
|
|
3949
|
+
|
|
3710
3950
|
|
|
3711
3951
|
/**
|
|
3712
3952
|
* List of repeated fields within this message type.
|
|
@@ -4957,7 +5197,9 @@ proto.loyalty.GetLevelRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
4957
5197
|
*/
|
|
4958
5198
|
proto.loyalty.GetLevelRequest.toObject = function(includeInstance, msg) {
|
|
4959
5199
|
var f, obj = {
|
|
4960
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
5200
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5201
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5202
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
4961
5203
|
};
|
|
4962
5204
|
|
|
4963
5205
|
if (includeInstance) {
|
|
@@ -4998,6 +5240,14 @@ proto.loyalty.GetLevelRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
4998
5240
|
var value = /** @type {number} */ (reader.readInt32());
|
|
4999
5241
|
msg.setId(value);
|
|
5000
5242
|
break;
|
|
5243
|
+
case 2:
|
|
5244
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5245
|
+
msg.setLocale(value);
|
|
5246
|
+
break;
|
|
5247
|
+
case 3:
|
|
5248
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5249
|
+
msg.setAdminSide(value);
|
|
5250
|
+
break;
|
|
5001
5251
|
default:
|
|
5002
5252
|
reader.skipField();
|
|
5003
5253
|
break;
|
|
@@ -5034,6 +5284,20 @@ proto.loyalty.GetLevelRequest.serializeBinaryToWriter = function(message, writer
|
|
|
5034
5284
|
f
|
|
5035
5285
|
);
|
|
5036
5286
|
}
|
|
5287
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
5288
|
+
if (f != null) {
|
|
5289
|
+
writer.writeString(
|
|
5290
|
+
2,
|
|
5291
|
+
f
|
|
5292
|
+
);
|
|
5293
|
+
}
|
|
5294
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
5295
|
+
if (f != null) {
|
|
5296
|
+
writer.writeBool(
|
|
5297
|
+
3,
|
|
5298
|
+
f
|
|
5299
|
+
);
|
|
5300
|
+
}
|
|
5037
5301
|
};
|
|
5038
5302
|
|
|
5039
5303
|
|
|
@@ -5055,6 +5319,78 @@ proto.loyalty.GetLevelRequest.prototype.setId = function(value) {
|
|
|
5055
5319
|
};
|
|
5056
5320
|
|
|
5057
5321
|
|
|
5322
|
+
/**
|
|
5323
|
+
* optional string locale = 2;
|
|
5324
|
+
* @return {string}
|
|
5325
|
+
*/
|
|
5326
|
+
proto.loyalty.GetLevelRequest.prototype.getLocale = function() {
|
|
5327
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5328
|
+
};
|
|
5329
|
+
|
|
5330
|
+
|
|
5331
|
+
/**
|
|
5332
|
+
* @param {string} value
|
|
5333
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5334
|
+
*/
|
|
5335
|
+
proto.loyalty.GetLevelRequest.prototype.setLocale = function(value) {
|
|
5336
|
+
return jspb.Message.setField(this, 2, value);
|
|
5337
|
+
};
|
|
5338
|
+
|
|
5339
|
+
|
|
5340
|
+
/**
|
|
5341
|
+
* Clears the field making it undefined.
|
|
5342
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5343
|
+
*/
|
|
5344
|
+
proto.loyalty.GetLevelRequest.prototype.clearLocale = function() {
|
|
5345
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
5346
|
+
};
|
|
5347
|
+
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* Returns whether this field is set.
|
|
5351
|
+
* @return {boolean}
|
|
5352
|
+
*/
|
|
5353
|
+
proto.loyalty.GetLevelRequest.prototype.hasLocale = function() {
|
|
5354
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5355
|
+
};
|
|
5356
|
+
|
|
5357
|
+
|
|
5358
|
+
/**
|
|
5359
|
+
* optional bool admin_side = 3;
|
|
5360
|
+
* @return {boolean}
|
|
5361
|
+
*/
|
|
5362
|
+
proto.loyalty.GetLevelRequest.prototype.getAdminSide = function() {
|
|
5363
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
5364
|
+
};
|
|
5365
|
+
|
|
5366
|
+
|
|
5367
|
+
/**
|
|
5368
|
+
* @param {boolean} value
|
|
5369
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5370
|
+
*/
|
|
5371
|
+
proto.loyalty.GetLevelRequest.prototype.setAdminSide = function(value) {
|
|
5372
|
+
return jspb.Message.setField(this, 3, value);
|
|
5373
|
+
};
|
|
5374
|
+
|
|
5375
|
+
|
|
5376
|
+
/**
|
|
5377
|
+
* Clears the field making it undefined.
|
|
5378
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
5379
|
+
*/
|
|
5380
|
+
proto.loyalty.GetLevelRequest.prototype.clearAdminSide = function() {
|
|
5381
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
5382
|
+
};
|
|
5383
|
+
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* Returns whether this field is set.
|
|
5387
|
+
* @return {boolean}
|
|
5388
|
+
*/
|
|
5389
|
+
proto.loyalty.GetLevelRequest.prototype.hasAdminSide = function() {
|
|
5390
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5391
|
+
};
|
|
5392
|
+
|
|
5393
|
+
|
|
5058
5394
|
|
|
5059
5395
|
|
|
5060
5396
|
|
package/package.json
CHANGED
package/sport/sport.proto
CHANGED
|
@@ -240,6 +240,10 @@ message SportsbookRewardIssueTarget {
|
|
|
240
240
|
optional string amount = 2;
|
|
241
241
|
optional string currency = 3;
|
|
242
242
|
optional string operation_id = 4;
|
|
243
|
+
// Per-action Free Bet max win in reward currency. Absent = no cap.
|
|
244
|
+
optional string max_win = 5;
|
|
245
|
+
// Per-action winnings destination: "real" | "bonus". Absent/empty/legacy = bonus.
|
|
246
|
+
optional string winnings_destination = 6;
|
|
243
247
|
}
|
|
244
248
|
|
|
245
249
|
message IssueSportsbookRewardsRequest {
|
package/sport/sport_pb.js
CHANGED
|
@@ -6743,7 +6743,9 @@ proto.sport.SportsbookRewardIssueTarget.toObject = function(includeInstance, msg
|
|
|
6743
6743
|
playerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6744
6744
|
amount: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6745
6745
|
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6746
|
-
operationId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
6746
|
+
operationId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6747
|
+
maxWin: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6748
|
+
winningsDestination: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
6747
6749
|
};
|
|
6748
6750
|
|
|
6749
6751
|
if (includeInstance) {
|
|
@@ -6796,6 +6798,14 @@ proto.sport.SportsbookRewardIssueTarget.deserializeBinaryFromReader = function(m
|
|
|
6796
6798
|
var value = /** @type {string} */ (reader.readString());
|
|
6797
6799
|
msg.setOperationId(value);
|
|
6798
6800
|
break;
|
|
6801
|
+
case 5:
|
|
6802
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6803
|
+
msg.setMaxWin(value);
|
|
6804
|
+
break;
|
|
6805
|
+
case 6:
|
|
6806
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6807
|
+
msg.setWinningsDestination(value);
|
|
6808
|
+
break;
|
|
6799
6809
|
default:
|
|
6800
6810
|
reader.skipField();
|
|
6801
6811
|
break;
|
|
@@ -6853,6 +6863,20 @@ proto.sport.SportsbookRewardIssueTarget.serializeBinaryToWriter = function(messa
|
|
|
6853
6863
|
f
|
|
6854
6864
|
);
|
|
6855
6865
|
}
|
|
6866
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
6867
|
+
if (f != null) {
|
|
6868
|
+
writer.writeString(
|
|
6869
|
+
5,
|
|
6870
|
+
f
|
|
6871
|
+
);
|
|
6872
|
+
}
|
|
6873
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
6874
|
+
if (f != null) {
|
|
6875
|
+
writer.writeString(
|
|
6876
|
+
6,
|
|
6877
|
+
f
|
|
6878
|
+
);
|
|
6879
|
+
}
|
|
6856
6880
|
};
|
|
6857
6881
|
|
|
6858
6882
|
|
|
@@ -6982,6 +7006,78 @@ proto.sport.SportsbookRewardIssueTarget.prototype.hasOperationId = function() {
|
|
|
6982
7006
|
};
|
|
6983
7007
|
|
|
6984
7008
|
|
|
7009
|
+
/**
|
|
7010
|
+
* optional string max_win = 5;
|
|
7011
|
+
* @return {string}
|
|
7012
|
+
*/
|
|
7013
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.getMaxWin = function() {
|
|
7014
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7015
|
+
};
|
|
7016
|
+
|
|
7017
|
+
|
|
7018
|
+
/**
|
|
7019
|
+
* @param {string} value
|
|
7020
|
+
* @return {!proto.sport.SportsbookRewardIssueTarget} returns this
|
|
7021
|
+
*/
|
|
7022
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.setMaxWin = function(value) {
|
|
7023
|
+
return jspb.Message.setField(this, 5, value);
|
|
7024
|
+
};
|
|
7025
|
+
|
|
7026
|
+
|
|
7027
|
+
/**
|
|
7028
|
+
* Clears the field making it undefined.
|
|
7029
|
+
* @return {!proto.sport.SportsbookRewardIssueTarget} returns this
|
|
7030
|
+
*/
|
|
7031
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.clearMaxWin = function() {
|
|
7032
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
7033
|
+
};
|
|
7034
|
+
|
|
7035
|
+
|
|
7036
|
+
/**
|
|
7037
|
+
* Returns whether this field is set.
|
|
7038
|
+
* @return {boolean}
|
|
7039
|
+
*/
|
|
7040
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.hasMaxWin = function() {
|
|
7041
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7042
|
+
};
|
|
7043
|
+
|
|
7044
|
+
|
|
7045
|
+
/**
|
|
7046
|
+
* optional string winnings_destination = 6;
|
|
7047
|
+
* @return {string}
|
|
7048
|
+
*/
|
|
7049
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.getWinningsDestination = function() {
|
|
7050
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7051
|
+
};
|
|
7052
|
+
|
|
7053
|
+
|
|
7054
|
+
/**
|
|
7055
|
+
* @param {string} value
|
|
7056
|
+
* @return {!proto.sport.SportsbookRewardIssueTarget} returns this
|
|
7057
|
+
*/
|
|
7058
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.setWinningsDestination = function(value) {
|
|
7059
|
+
return jspb.Message.setField(this, 6, value);
|
|
7060
|
+
};
|
|
7061
|
+
|
|
7062
|
+
|
|
7063
|
+
/**
|
|
7064
|
+
* Clears the field making it undefined.
|
|
7065
|
+
* @return {!proto.sport.SportsbookRewardIssueTarget} returns this
|
|
7066
|
+
*/
|
|
7067
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.clearWinningsDestination = function() {
|
|
7068
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
7069
|
+
};
|
|
7070
|
+
|
|
7071
|
+
|
|
7072
|
+
/**
|
|
7073
|
+
* Returns whether this field is set.
|
|
7074
|
+
* @return {boolean}
|
|
7075
|
+
*/
|
|
7076
|
+
proto.sport.SportsbookRewardIssueTarget.prototype.hasWinningsDestination = function() {
|
|
7077
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7078
|
+
};
|
|
7079
|
+
|
|
7080
|
+
|
|
6985
7081
|
|
|
6986
7082
|
/**
|
|
6987
7083
|
* List of repeated fields within this message type.
|