protobuf-platform 1.2.710 → 1.2.712
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 +8 -0
- package/bonus/bonus_pb.js +196 -4
- package/cashback/cashback.proto +2 -0
- package/cashback/cashback_pb.js +49 -1
- package/cms/cms.proto +15 -0
- package/cms/cms_pb.js +391 -7
- package/game/game.proto +4 -0
- package/game/game_pb.js +98 -2
- package/loyalty/loyalty.proto +2 -0
- package/loyalty/loyalty_pb.js +49 -1
- package/notification/notification.proto +12 -2
- package/notification/notification_pb.js +237 -9
- package/package.json +1 -1
- package/tournament/tournament.proto +2 -0
- package/tournament/tournament_pb.js +49 -1
package/bonus/bonus.proto
CHANGED
|
@@ -199,6 +199,8 @@ message BonusItemRequest {
|
|
|
199
199
|
optional string payout_destination = 36;
|
|
200
200
|
// Operator UI metadata only. Empty when unset. Does not affect eligibility, activation, ordering, rewards, or wagering.
|
|
201
201
|
optional string label = 37;
|
|
202
|
+
// Empty means the reward stays in the bonus currency. An explicit code is a brand payout currency.
|
|
203
|
+
optional string payout_currency = 38;
|
|
202
204
|
}
|
|
203
205
|
message GetBonusRequest {
|
|
204
206
|
int32 id = 1;
|
|
@@ -286,6 +288,8 @@ message BonusItem {
|
|
|
286
288
|
optional string payout_destination = 49;
|
|
287
289
|
// Operator UI metadata only. Empty when unset. Does not affect eligibility, activation, ordering, rewards, or wagering.
|
|
288
290
|
optional string label = 50;
|
|
291
|
+
// Empty means the reward stays in the bonus currency. An explicit code is a brand payout currency.
|
|
292
|
+
optional string payout_currency = 51;
|
|
289
293
|
}
|
|
290
294
|
message SingleBonusItem {
|
|
291
295
|
optional int32 id = 1;
|
|
@@ -325,6 +329,8 @@ message SingleBonusItem {
|
|
|
325
329
|
optional string priority_bankroll = 35;
|
|
326
330
|
// Business-allowed: "real" | "bonus"
|
|
327
331
|
optional string payout_destination = 36;
|
|
332
|
+
// Empty means the reward stays in the bonus currency. An explicit code is a brand payout currency.
|
|
333
|
+
optional string payout_currency = 37;
|
|
328
334
|
}
|
|
329
335
|
message SingleBonusResponse {
|
|
330
336
|
SingleBonusItem data = 1;
|
|
@@ -396,6 +402,8 @@ message BonusTranslationRequest {
|
|
|
396
402
|
optional bool remove_desktop_image = 10;
|
|
397
403
|
optional bool remove_mobile_image = 11;
|
|
398
404
|
optional bool remove_portrait_image = 12;
|
|
405
|
+
// Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
|
|
406
|
+
optional bool clear_content = 13;
|
|
399
407
|
}
|
|
400
408
|
message BonusTranslationUpsertRequest {
|
|
401
409
|
oneof request {
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -5660,7 +5660,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
|
|
|
5660
5660
|
bankrollMode: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
5661
5661
|
priorityBankroll: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
5662
5662
|
payoutDestination: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
5663
|
-
label: jspb.Message.getFieldWithDefault(msg, 37, "")
|
|
5663
|
+
label: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
5664
|
+
payoutCurrency: jspb.Message.getFieldWithDefault(msg, 38, "")
|
|
5664
5665
|
};
|
|
5665
5666
|
|
|
5666
5667
|
if (includeInstance) {
|
|
@@ -5851,6 +5852,10 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5851
5852
|
var value = /** @type {string} */ (reader.readString());
|
|
5852
5853
|
msg.setLabel(value);
|
|
5853
5854
|
break;
|
|
5855
|
+
case 38:
|
|
5856
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5857
|
+
msg.setPayoutCurrency(value);
|
|
5858
|
+
break;
|
|
5854
5859
|
default:
|
|
5855
5860
|
reader.skipField();
|
|
5856
5861
|
break;
|
|
@@ -6139,6 +6144,13 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
6139
6144
|
f
|
|
6140
6145
|
);
|
|
6141
6146
|
}
|
|
6147
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 38));
|
|
6148
|
+
if (f != null) {
|
|
6149
|
+
writer.writeString(
|
|
6150
|
+
38,
|
|
6151
|
+
f
|
|
6152
|
+
);
|
|
6153
|
+
}
|
|
6142
6154
|
};
|
|
6143
6155
|
|
|
6144
6156
|
|
|
@@ -7477,6 +7489,42 @@ proto.bonus.BonusItemRequest.prototype.hasLabel = function() {
|
|
|
7477
7489
|
};
|
|
7478
7490
|
|
|
7479
7491
|
|
|
7492
|
+
/**
|
|
7493
|
+
* optional string payout_currency = 38;
|
|
7494
|
+
* @return {string}
|
|
7495
|
+
*/
|
|
7496
|
+
proto.bonus.BonusItemRequest.prototype.getPayoutCurrency = function() {
|
|
7497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
|
|
7498
|
+
};
|
|
7499
|
+
|
|
7500
|
+
|
|
7501
|
+
/**
|
|
7502
|
+
* @param {string} value
|
|
7503
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
7504
|
+
*/
|
|
7505
|
+
proto.bonus.BonusItemRequest.prototype.setPayoutCurrency = function(value) {
|
|
7506
|
+
return jspb.Message.setField(this, 38, value);
|
|
7507
|
+
};
|
|
7508
|
+
|
|
7509
|
+
|
|
7510
|
+
/**
|
|
7511
|
+
* Clears the field making it undefined.
|
|
7512
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
7513
|
+
*/
|
|
7514
|
+
proto.bonus.BonusItemRequest.prototype.clearPayoutCurrency = function() {
|
|
7515
|
+
return jspb.Message.setField(this, 38, undefined);
|
|
7516
|
+
};
|
|
7517
|
+
|
|
7518
|
+
|
|
7519
|
+
/**
|
|
7520
|
+
* Returns whether this field is set.
|
|
7521
|
+
* @return {boolean}
|
|
7522
|
+
*/
|
|
7523
|
+
proto.bonus.BonusItemRequest.prototype.hasPayoutCurrency = function() {
|
|
7524
|
+
return jspb.Message.getField(this, 38) != null;
|
|
7525
|
+
};
|
|
7526
|
+
|
|
7527
|
+
|
|
7480
7528
|
|
|
7481
7529
|
|
|
7482
7530
|
|
|
@@ -8757,7 +8805,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
|
8757
8805
|
bankrollMode: jspb.Message.getFieldWithDefault(msg, 47, ""),
|
|
8758
8806
|
priorityBankroll: jspb.Message.getFieldWithDefault(msg, 48, ""),
|
|
8759
8807
|
payoutDestination: jspb.Message.getFieldWithDefault(msg, 49, ""),
|
|
8760
|
-
label: jspb.Message.getFieldWithDefault(msg, 50, "")
|
|
8808
|
+
label: jspb.Message.getFieldWithDefault(msg, 50, ""),
|
|
8809
|
+
payoutCurrency: jspb.Message.getFieldWithDefault(msg, 51, "")
|
|
8761
8810
|
};
|
|
8762
8811
|
|
|
8763
8812
|
if (includeInstance) {
|
|
@@ -9007,6 +9056,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9007
9056
|
var value = /** @type {string} */ (reader.readString());
|
|
9008
9057
|
msg.setLabel(value);
|
|
9009
9058
|
break;
|
|
9059
|
+
case 51:
|
|
9060
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9061
|
+
msg.setPayoutCurrency(value);
|
|
9062
|
+
break;
|
|
9010
9063
|
default:
|
|
9011
9064
|
reader.skipField();
|
|
9012
9065
|
break;
|
|
@@ -9393,6 +9446,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
9393
9446
|
f
|
|
9394
9447
|
);
|
|
9395
9448
|
}
|
|
9449
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 51));
|
|
9450
|
+
if (f != null) {
|
|
9451
|
+
writer.writeString(
|
|
9452
|
+
51,
|
|
9453
|
+
f
|
|
9454
|
+
);
|
|
9455
|
+
}
|
|
9396
9456
|
};
|
|
9397
9457
|
|
|
9398
9458
|
|
|
@@ -11196,6 +11256,42 @@ proto.bonus.BonusItem.prototype.hasLabel = function() {
|
|
|
11196
11256
|
};
|
|
11197
11257
|
|
|
11198
11258
|
|
|
11259
|
+
/**
|
|
11260
|
+
* optional string payout_currency = 51;
|
|
11261
|
+
* @return {string}
|
|
11262
|
+
*/
|
|
11263
|
+
proto.bonus.BonusItem.prototype.getPayoutCurrency = function() {
|
|
11264
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 51, ""));
|
|
11265
|
+
};
|
|
11266
|
+
|
|
11267
|
+
|
|
11268
|
+
/**
|
|
11269
|
+
* @param {string} value
|
|
11270
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
11271
|
+
*/
|
|
11272
|
+
proto.bonus.BonusItem.prototype.setPayoutCurrency = function(value) {
|
|
11273
|
+
return jspb.Message.setField(this, 51, value);
|
|
11274
|
+
};
|
|
11275
|
+
|
|
11276
|
+
|
|
11277
|
+
/**
|
|
11278
|
+
* Clears the field making it undefined.
|
|
11279
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
11280
|
+
*/
|
|
11281
|
+
proto.bonus.BonusItem.prototype.clearPayoutCurrency = function() {
|
|
11282
|
+
return jspb.Message.setField(this, 51, undefined);
|
|
11283
|
+
};
|
|
11284
|
+
|
|
11285
|
+
|
|
11286
|
+
/**
|
|
11287
|
+
* Returns whether this field is set.
|
|
11288
|
+
* @return {boolean}
|
|
11289
|
+
*/
|
|
11290
|
+
proto.bonus.BonusItem.prototype.hasPayoutCurrency = function() {
|
|
11291
|
+
return jspb.Message.getField(this, 51) != null;
|
|
11292
|
+
};
|
|
11293
|
+
|
|
11294
|
+
|
|
11199
11295
|
|
|
11200
11296
|
/**
|
|
11201
11297
|
* List of repeated fields within this message type.
|
|
@@ -11271,7 +11367,8 @@ proto.bonus.SingleBonusItem.toObject = function(includeInstance, msg) {
|
|
|
11271
11367
|
content: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
11272
11368
|
bankrollMode: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
11273
11369
|
priorityBankroll: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
11274
|
-
payoutDestination: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
11370
|
+
payoutDestination: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
11371
|
+
payoutCurrency: jspb.Message.getFieldWithDefault(msg, 37, "")
|
|
11275
11372
|
};
|
|
11276
11373
|
|
|
11277
11374
|
if (includeInstance) {
|
|
@@ -11447,6 +11544,10 @@ proto.bonus.SingleBonusItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
11447
11544
|
var value = /** @type {string} */ (reader.readString());
|
|
11448
11545
|
msg.setPayoutDestination(value);
|
|
11449
11546
|
break;
|
|
11547
|
+
case 37:
|
|
11548
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11549
|
+
msg.setPayoutCurrency(value);
|
|
11550
|
+
break;
|
|
11450
11551
|
default:
|
|
11451
11552
|
reader.skipField();
|
|
11452
11553
|
break;
|
|
@@ -11717,6 +11818,13 @@ proto.bonus.SingleBonusItem.serializeBinaryToWriter = function(message, writer)
|
|
|
11717
11818
|
f
|
|
11718
11819
|
);
|
|
11719
11820
|
}
|
|
11821
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 37));
|
|
11822
|
+
if (f != null) {
|
|
11823
|
+
writer.writeString(
|
|
11824
|
+
37,
|
|
11825
|
+
f
|
|
11826
|
+
);
|
|
11827
|
+
}
|
|
11720
11828
|
};
|
|
11721
11829
|
|
|
11722
11830
|
|
|
@@ -12950,6 +13058,42 @@ proto.bonus.SingleBonusItem.prototype.hasPayoutDestination = function() {
|
|
|
12950
13058
|
};
|
|
12951
13059
|
|
|
12952
13060
|
|
|
13061
|
+
/**
|
|
13062
|
+
* optional string payout_currency = 37;
|
|
13063
|
+
* @return {string}
|
|
13064
|
+
*/
|
|
13065
|
+
proto.bonus.SingleBonusItem.prototype.getPayoutCurrency = function() {
|
|
13066
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
|
|
13067
|
+
};
|
|
13068
|
+
|
|
13069
|
+
|
|
13070
|
+
/**
|
|
13071
|
+
* @param {string} value
|
|
13072
|
+
* @return {!proto.bonus.SingleBonusItem} returns this
|
|
13073
|
+
*/
|
|
13074
|
+
proto.bonus.SingleBonusItem.prototype.setPayoutCurrency = function(value) {
|
|
13075
|
+
return jspb.Message.setField(this, 37, value);
|
|
13076
|
+
};
|
|
13077
|
+
|
|
13078
|
+
|
|
13079
|
+
/**
|
|
13080
|
+
* Clears the field making it undefined.
|
|
13081
|
+
* @return {!proto.bonus.SingleBonusItem} returns this
|
|
13082
|
+
*/
|
|
13083
|
+
proto.bonus.SingleBonusItem.prototype.clearPayoutCurrency = function() {
|
|
13084
|
+
return jspb.Message.setField(this, 37, undefined);
|
|
13085
|
+
};
|
|
13086
|
+
|
|
13087
|
+
|
|
13088
|
+
/**
|
|
13089
|
+
* Returns whether this field is set.
|
|
13090
|
+
* @return {boolean}
|
|
13091
|
+
*/
|
|
13092
|
+
proto.bonus.SingleBonusItem.prototype.hasPayoutCurrency = function() {
|
|
13093
|
+
return jspb.Message.getField(this, 37) != null;
|
|
13094
|
+
};
|
|
13095
|
+
|
|
13096
|
+
|
|
12953
13097
|
|
|
12954
13098
|
|
|
12955
13099
|
|
|
@@ -15608,7 +15752,8 @@ proto.bonus.BonusTranslationRequest.toObject = function(includeInstance, msg) {
|
|
|
15608
15752
|
portraitFileType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
15609
15753
|
removeDesktopImage: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
15610
15754
|
removeMobileImage: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
15611
|
-
removePortraitImage: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
15755
|
+
removePortraitImage: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
15756
|
+
clearContent: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
|
|
15612
15757
|
};
|
|
15613
15758
|
|
|
15614
15759
|
if (includeInstance) {
|
|
@@ -15693,6 +15838,10 @@ proto.bonus.BonusTranslationRequest.deserializeBinaryFromReader = function(msg,
|
|
|
15693
15838
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
15694
15839
|
msg.setRemovePortraitImage(value);
|
|
15695
15840
|
break;
|
|
15841
|
+
case 13:
|
|
15842
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
15843
|
+
msg.setClearContent(value);
|
|
15844
|
+
break;
|
|
15696
15845
|
default:
|
|
15697
15846
|
reader.skipField();
|
|
15698
15847
|
break;
|
|
@@ -15806,6 +15955,13 @@ proto.bonus.BonusTranslationRequest.serializeBinaryToWriter = function(message,
|
|
|
15806
15955
|
f
|
|
15807
15956
|
);
|
|
15808
15957
|
}
|
|
15958
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 13));
|
|
15959
|
+
if (f != null) {
|
|
15960
|
+
writer.writeBool(
|
|
15961
|
+
13,
|
|
15962
|
+
f
|
|
15963
|
+
);
|
|
15964
|
+
}
|
|
15809
15965
|
};
|
|
15810
15966
|
|
|
15811
15967
|
|
|
@@ -16241,6 +16397,42 @@ proto.bonus.BonusTranslationRequest.prototype.hasRemovePortraitImage = function(
|
|
|
16241
16397
|
};
|
|
16242
16398
|
|
|
16243
16399
|
|
|
16400
|
+
/**
|
|
16401
|
+
* optional bool clear_content = 13;
|
|
16402
|
+
* @return {boolean}
|
|
16403
|
+
*/
|
|
16404
|
+
proto.bonus.BonusTranslationRequest.prototype.getClearContent = function() {
|
|
16405
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
16406
|
+
};
|
|
16407
|
+
|
|
16408
|
+
|
|
16409
|
+
/**
|
|
16410
|
+
* @param {boolean} value
|
|
16411
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
16412
|
+
*/
|
|
16413
|
+
proto.bonus.BonusTranslationRequest.prototype.setClearContent = function(value) {
|
|
16414
|
+
return jspb.Message.setField(this, 13, value);
|
|
16415
|
+
};
|
|
16416
|
+
|
|
16417
|
+
|
|
16418
|
+
/**
|
|
16419
|
+
* Clears the field making it undefined.
|
|
16420
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
16421
|
+
*/
|
|
16422
|
+
proto.bonus.BonusTranslationRequest.prototype.clearClearContent = function() {
|
|
16423
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
16424
|
+
};
|
|
16425
|
+
|
|
16426
|
+
|
|
16427
|
+
/**
|
|
16428
|
+
* Returns whether this field is set.
|
|
16429
|
+
* @return {boolean}
|
|
16430
|
+
*/
|
|
16431
|
+
proto.bonus.BonusTranslationRequest.prototype.hasClearContent = function() {
|
|
16432
|
+
return jspb.Message.getField(this, 13) != null;
|
|
16433
|
+
};
|
|
16434
|
+
|
|
16435
|
+
|
|
16244
16436
|
|
|
16245
16437
|
/**
|
|
16246
16438
|
* Oneof group definitions for this message. Each group defines the field
|
package/cashback/cashback.proto
CHANGED
|
@@ -95,6 +95,8 @@ message CashbackItemRequest {
|
|
|
95
95
|
optional string event_source = 14;
|
|
96
96
|
// Exact Deposit Wager multiplier. Absent means unconfigured. "0" is explicit.
|
|
97
97
|
optional string wager_multiplier = 15;
|
|
98
|
+
// Explicit WYSIWYG clear. Independent of field 11 so omission and "" stay distinct.
|
|
99
|
+
optional bool clear_content = 16;
|
|
98
100
|
}
|
|
99
101
|
message GetCashbackRequest {
|
|
100
102
|
int32 id = 1;
|
package/cashback/cashback_pb.js
CHANGED
|
@@ -3660,7 +3660,8 @@ proto.cashback.CashbackItemRequest.toObject = function(includeInstance, msg) {
|
|
|
3660
3660
|
claimExpirationHours: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
3661
3661
|
loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
3662
3662
|
eventSource: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3663
|
-
wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
3663
|
+
wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3664
|
+
clearContent: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
|
|
3664
3665
|
};
|
|
3665
3666
|
|
|
3666
3667
|
if (includeInstance) {
|
|
@@ -3753,6 +3754,10 @@ proto.cashback.CashbackItemRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
3753
3754
|
var value = /** @type {string} */ (reader.readString());
|
|
3754
3755
|
msg.setWagerMultiplier(value);
|
|
3755
3756
|
break;
|
|
3757
|
+
case 16:
|
|
3758
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3759
|
+
msg.setClearContent(value);
|
|
3760
|
+
break;
|
|
3756
3761
|
default:
|
|
3757
3762
|
reader.skipField();
|
|
3758
3763
|
break;
|
|
@@ -3880,6 +3885,13 @@ proto.cashback.CashbackItemRequest.serializeBinaryToWriter = function(message, w
|
|
|
3880
3885
|
f
|
|
3881
3886
|
);
|
|
3882
3887
|
}
|
|
3888
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 16));
|
|
3889
|
+
if (f != null) {
|
|
3890
|
+
writer.writeBool(
|
|
3891
|
+
16,
|
|
3892
|
+
f
|
|
3893
|
+
);
|
|
3894
|
+
}
|
|
3883
3895
|
};
|
|
3884
3896
|
|
|
3885
3897
|
|
|
@@ -4387,6 +4399,42 @@ proto.cashback.CashbackItemRequest.prototype.hasWagerMultiplier = function() {
|
|
|
4387
4399
|
};
|
|
4388
4400
|
|
|
4389
4401
|
|
|
4402
|
+
/**
|
|
4403
|
+
* optional bool clear_content = 16;
|
|
4404
|
+
* @return {boolean}
|
|
4405
|
+
*/
|
|
4406
|
+
proto.cashback.CashbackItemRequest.prototype.getClearContent = function() {
|
|
4407
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
4408
|
+
};
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
/**
|
|
4412
|
+
* @param {boolean} value
|
|
4413
|
+
* @return {!proto.cashback.CashbackItemRequest} returns this
|
|
4414
|
+
*/
|
|
4415
|
+
proto.cashback.CashbackItemRequest.prototype.setClearContent = function(value) {
|
|
4416
|
+
return jspb.Message.setField(this, 16, value);
|
|
4417
|
+
};
|
|
4418
|
+
|
|
4419
|
+
|
|
4420
|
+
/**
|
|
4421
|
+
* Clears the field making it undefined.
|
|
4422
|
+
* @return {!proto.cashback.CashbackItemRequest} returns this
|
|
4423
|
+
*/
|
|
4424
|
+
proto.cashback.CashbackItemRequest.prototype.clearClearContent = function() {
|
|
4425
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
4426
|
+
};
|
|
4427
|
+
|
|
4428
|
+
|
|
4429
|
+
/**
|
|
4430
|
+
* Returns whether this field is set.
|
|
4431
|
+
* @return {boolean}
|
|
4432
|
+
*/
|
|
4433
|
+
proto.cashback.CashbackItemRequest.prototype.hasClearContent = function() {
|
|
4434
|
+
return jspb.Message.getField(this, 16) != null;
|
|
4435
|
+
};
|
|
4436
|
+
|
|
4437
|
+
|
|
4390
4438
|
|
|
4391
4439
|
|
|
4392
4440
|
|
package/cms/cms.proto
CHANGED
|
@@ -349,6 +349,8 @@ message BannerTexts {
|
|
|
349
349
|
optional string content = 3;
|
|
350
350
|
optional string cta = 4;
|
|
351
351
|
optional string note = 5;
|
|
352
|
+
// Explicit WYSIWYG clear. Independent of field 3 so omission and "" stay distinct.
|
|
353
|
+
optional bool clear_content = 6;
|
|
352
354
|
}
|
|
353
355
|
message BannerCta {
|
|
354
356
|
optional string action_type = 1; // expected values: tournament|bonus|deposit|promo|game|collection|tag
|
|
@@ -444,6 +446,8 @@ message PageRequest {
|
|
|
444
446
|
optional string content = 4;
|
|
445
447
|
optional int32 is_active = 5;
|
|
446
448
|
optional string effective_from = 6;
|
|
449
|
+
// Explicit WYSIWYG clear. Independent of field 4 so omission and "" stay distinct.
|
|
450
|
+
optional bool clear_content = 7;
|
|
447
451
|
}
|
|
448
452
|
message PageItem {
|
|
449
453
|
int32 id = 1;
|
|
@@ -482,6 +486,8 @@ message PageTranslationRequest {
|
|
|
482
486
|
optional string content = 5;
|
|
483
487
|
optional int32 is_active = 6;
|
|
484
488
|
optional string domain = 7;
|
|
489
|
+
// Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
|
|
490
|
+
optional bool clear_content = 8;
|
|
485
491
|
}
|
|
486
492
|
message GetPageTranslationRequest {
|
|
487
493
|
int32 page_id = 1;
|
|
@@ -534,6 +540,9 @@ message SetPageSeoAttributesRequest {
|
|
|
534
540
|
optional string description = 11;
|
|
535
541
|
optional string full_description = 12;
|
|
536
542
|
optional string additional_description = 13;
|
|
543
|
+
// Explicit WYSIWYG clears. Independent of fields 12 and 13 so omission and "" stay distinct.
|
|
544
|
+
optional bool clear_full_description = 14;
|
|
545
|
+
optional bool clear_additional_description = 15;
|
|
537
546
|
}
|
|
538
547
|
message GetPageSeoAttributesRequest {
|
|
539
548
|
string geo = 1;
|
|
@@ -677,6 +686,8 @@ message PromoTranslationRequest {
|
|
|
677
686
|
optional string content = 5;
|
|
678
687
|
optional int32 is_active = 6;
|
|
679
688
|
optional string promo_label = 7;
|
|
689
|
+
// Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
|
|
690
|
+
optional bool clear_content = 8;
|
|
680
691
|
}
|
|
681
692
|
message GetPromoTranslationRequest {
|
|
682
693
|
int32 promo_id = 1;
|
|
@@ -1096,6 +1107,8 @@ message FooterMainTextItemRequest {
|
|
|
1096
1107
|
optional string title = 3; // BO title
|
|
1097
1108
|
optional int32 is_active = 4; // 1|0
|
|
1098
1109
|
optional string content = 5; // WYSIWYG HTML/markdown (large text)
|
|
1110
|
+
// Explicit WYSIWYG clear. Independent of field 5 so omission and "" stay distinct.
|
|
1111
|
+
optional bool clear_content = 6;
|
|
1099
1112
|
}
|
|
1100
1113
|
|
|
1101
1114
|
// Locale-content pair stored inside the same document
|
|
@@ -1143,6 +1156,8 @@ message FooterMainTextTranslationRequest {
|
|
|
1143
1156
|
int32 main_text_id = 1;
|
|
1144
1157
|
string locale = 2; // e.g. "en-US"
|
|
1145
1158
|
optional string content = 3; // localized WYSIWYG
|
|
1159
|
+
// Explicit WYSIWYG clear. Independent of field 3 so omission and "" stay distinct.
|
|
1160
|
+
optional bool clear_content = 4;
|
|
1146
1161
|
}
|
|
1147
1162
|
|
|
1148
1163
|
message GetFooterMainTextTranslationRequest {
|