protobuf-platform 1.2.472 → 1.2.473
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 +4 -0
- package/bonus/bonus_pb.js +98 -2
- package/game/game.proto +2 -0
- package/game/game_pb.js +49 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
|
@@ -458,6 +458,8 @@ message ActiveWageringUserBonusItem {
|
|
|
458
458
|
optional int64 wagering_end_in_milliseconds = 7;
|
|
459
459
|
repeated string wager_balances = 8;
|
|
460
460
|
optional int32 wager_games_list_id = 9;
|
|
461
|
+
// Business-allowed: "any" | "real" | "bonus"
|
|
462
|
+
optional string wager_balance_priority = 10;
|
|
461
463
|
}
|
|
462
464
|
message GetCommonUserBonusItemsRequest {
|
|
463
465
|
int32 user_id = 1;
|
|
@@ -494,6 +496,8 @@ message ValidateSelectedWageringUserBonusResponse {
|
|
|
494
496
|
bool real_wagering = 9;
|
|
495
497
|
bool bonus_wagering = 10;
|
|
496
498
|
float cancellation_amount = 11;
|
|
499
|
+
// Business-allowed: "any" | "real" | "bonus"
|
|
500
|
+
optional string wager_balance_priority = 12;
|
|
497
501
|
}
|
|
498
502
|
//Common Lists
|
|
499
503
|
message BonusType {
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -19220,7 +19220,8 @@ proto.bonus.ActiveWageringUserBonusItem.toObject = function(includeInstance, msg
|
|
|
19220
19220
|
totalWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
19221
19221
|
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
19222
19222
|
wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
19223
|
-
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
19223
|
+
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
19224
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
19224
19225
|
};
|
|
19225
19226
|
|
|
19226
19227
|
if (includeInstance) {
|
|
@@ -19293,6 +19294,10 @@ proto.bonus.ActiveWageringUserBonusItem.deserializeBinaryFromReader = function(m
|
|
|
19293
19294
|
var value = /** @type {number} */ (reader.readInt32());
|
|
19294
19295
|
msg.setWagerGamesListId(value);
|
|
19295
19296
|
break;
|
|
19297
|
+
case 10:
|
|
19298
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19299
|
+
msg.setWagerBalancePriority(value);
|
|
19300
|
+
break;
|
|
19296
19301
|
default:
|
|
19297
19302
|
reader.skipField();
|
|
19298
19303
|
break;
|
|
@@ -19385,6 +19390,13 @@ proto.bonus.ActiveWageringUserBonusItem.serializeBinaryToWriter = function(messa
|
|
|
19385
19390
|
f
|
|
19386
19391
|
);
|
|
19387
19392
|
}
|
|
19393
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
19394
|
+
if (f != null) {
|
|
19395
|
+
writer.writeString(
|
|
19396
|
+
10,
|
|
19397
|
+
f
|
|
19398
|
+
);
|
|
19399
|
+
}
|
|
19388
19400
|
};
|
|
19389
19401
|
|
|
19390
19402
|
|
|
@@ -19695,6 +19707,42 @@ proto.bonus.ActiveWageringUserBonusItem.prototype.hasWagerGamesListId = function
|
|
|
19695
19707
|
};
|
|
19696
19708
|
|
|
19697
19709
|
|
|
19710
|
+
/**
|
|
19711
|
+
* optional string wager_balance_priority = 10;
|
|
19712
|
+
* @return {string}
|
|
19713
|
+
*/
|
|
19714
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.getWagerBalancePriority = function() {
|
|
19715
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
19716
|
+
};
|
|
19717
|
+
|
|
19718
|
+
|
|
19719
|
+
/**
|
|
19720
|
+
* @param {string} value
|
|
19721
|
+
* @return {!proto.bonus.ActiveWageringUserBonusItem} returns this
|
|
19722
|
+
*/
|
|
19723
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.setWagerBalancePriority = function(value) {
|
|
19724
|
+
return jspb.Message.setField(this, 10, value);
|
|
19725
|
+
};
|
|
19726
|
+
|
|
19727
|
+
|
|
19728
|
+
/**
|
|
19729
|
+
* Clears the field making it undefined.
|
|
19730
|
+
* @return {!proto.bonus.ActiveWageringUserBonusItem} returns this
|
|
19731
|
+
*/
|
|
19732
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.clearWagerBalancePriority = function() {
|
|
19733
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
19734
|
+
};
|
|
19735
|
+
|
|
19736
|
+
|
|
19737
|
+
/**
|
|
19738
|
+
* Returns whether this field is set.
|
|
19739
|
+
* @return {boolean}
|
|
19740
|
+
*/
|
|
19741
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.hasWagerBalancePriority = function() {
|
|
19742
|
+
return jspb.Message.getField(this, 10) != null;
|
|
19743
|
+
};
|
|
19744
|
+
|
|
19745
|
+
|
|
19698
19746
|
|
|
19699
19747
|
|
|
19700
19748
|
|
|
@@ -20698,7 +20746,8 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.toObject = function(includ
|
|
|
20698
20746
|
maxBet: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
20699
20747
|
realWagering: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
20700
20748
|
bonusWagering: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
20701
|
-
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
20749
|
+
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
|
20750
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
20702
20751
|
};
|
|
20703
20752
|
|
|
20704
20753
|
if (includeInstance) {
|
|
@@ -20779,6 +20828,10 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.deserializeBinaryFromReade
|
|
|
20779
20828
|
var value = /** @type {number} */ (reader.readFloat());
|
|
20780
20829
|
msg.setCancellationAmount(value);
|
|
20781
20830
|
break;
|
|
20831
|
+
case 12:
|
|
20832
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20833
|
+
msg.setWagerBalancePriority(value);
|
|
20834
|
+
break;
|
|
20782
20835
|
default:
|
|
20783
20836
|
reader.skipField();
|
|
20784
20837
|
break;
|
|
@@ -20885,6 +20938,13 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.serializeBinaryToWriter =
|
|
|
20885
20938
|
f
|
|
20886
20939
|
);
|
|
20887
20940
|
}
|
|
20941
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
20942
|
+
if (f != null) {
|
|
20943
|
+
writer.writeString(
|
|
20944
|
+
12,
|
|
20945
|
+
f
|
|
20946
|
+
);
|
|
20947
|
+
}
|
|
20888
20948
|
};
|
|
20889
20949
|
|
|
20890
20950
|
|
|
@@ -21105,6 +21165,42 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setCancellationA
|
|
|
21105
21165
|
};
|
|
21106
21166
|
|
|
21107
21167
|
|
|
21168
|
+
/**
|
|
21169
|
+
* optional string wager_balance_priority = 12;
|
|
21170
|
+
* @return {string}
|
|
21171
|
+
*/
|
|
21172
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getWagerBalancePriority = function() {
|
|
21173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
21174
|
+
};
|
|
21175
|
+
|
|
21176
|
+
|
|
21177
|
+
/**
|
|
21178
|
+
* @param {string} value
|
|
21179
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
21180
|
+
*/
|
|
21181
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setWagerBalancePriority = function(value) {
|
|
21182
|
+
return jspb.Message.setField(this, 12, value);
|
|
21183
|
+
};
|
|
21184
|
+
|
|
21185
|
+
|
|
21186
|
+
/**
|
|
21187
|
+
* Clears the field making it undefined.
|
|
21188
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
21189
|
+
*/
|
|
21190
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.clearWagerBalancePriority = function() {
|
|
21191
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
21192
|
+
};
|
|
21193
|
+
|
|
21194
|
+
|
|
21195
|
+
/**
|
|
21196
|
+
* Returns whether this field is set.
|
|
21197
|
+
* @return {boolean}
|
|
21198
|
+
*/
|
|
21199
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.hasWagerBalancePriority = function() {
|
|
21200
|
+
return jspb.Message.getField(this, 12) != null;
|
|
21201
|
+
};
|
|
21202
|
+
|
|
21203
|
+
|
|
21108
21204
|
|
|
21109
21205
|
|
|
21110
21206
|
|
package/game/game.proto
CHANGED
|
@@ -760,6 +760,8 @@ message ActiveWageringUserBonus {
|
|
|
760
760
|
int64 wagering_end_in_milliseconds = 7;
|
|
761
761
|
repeated string wager_balances = 8;
|
|
762
762
|
int32 wager_games_list_id = 9;
|
|
763
|
+
// Business-allowed: "any" | "real" | "bonus"
|
|
764
|
+
optional string wager_balance_priority = 10;
|
|
763
765
|
}
|
|
764
766
|
message GameConfigCheckResponse {
|
|
765
767
|
int32 game_id = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -31962,7 +31962,8 @@ proto.game.ActiveWageringUserBonus.toObject = function(includeInstance, msg) {
|
|
|
31962
31962
|
totalWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
31963
31963
|
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
31964
31964
|
wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
31965
|
-
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
31965
|
+
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
31966
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
31966
31967
|
};
|
|
31967
31968
|
|
|
31968
31969
|
if (includeInstance) {
|
|
@@ -32035,6 +32036,10 @@ proto.game.ActiveWageringUserBonus.deserializeBinaryFromReader = function(msg, r
|
|
|
32035
32036
|
var value = /** @type {number} */ (reader.readInt32());
|
|
32036
32037
|
msg.setWagerGamesListId(value);
|
|
32037
32038
|
break;
|
|
32039
|
+
case 10:
|
|
32040
|
+
var value = /** @type {string} */ (reader.readString());
|
|
32041
|
+
msg.setWagerBalancePriority(value);
|
|
32042
|
+
break;
|
|
32038
32043
|
default:
|
|
32039
32044
|
reader.skipField();
|
|
32040
32045
|
break;
|
|
@@ -32127,6 +32132,13 @@ proto.game.ActiveWageringUserBonus.serializeBinaryToWriter = function(message, w
|
|
|
32127
32132
|
f
|
|
32128
32133
|
);
|
|
32129
32134
|
}
|
|
32135
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
32136
|
+
if (f != null) {
|
|
32137
|
+
writer.writeString(
|
|
32138
|
+
10,
|
|
32139
|
+
f
|
|
32140
|
+
);
|
|
32141
|
+
}
|
|
32130
32142
|
};
|
|
32131
32143
|
|
|
32132
32144
|
|
|
@@ -32311,6 +32323,42 @@ proto.game.ActiveWageringUserBonus.prototype.setWagerGamesListId = function(valu
|
|
|
32311
32323
|
};
|
|
32312
32324
|
|
|
32313
32325
|
|
|
32326
|
+
/**
|
|
32327
|
+
* optional string wager_balance_priority = 10;
|
|
32328
|
+
* @return {string}
|
|
32329
|
+
*/
|
|
32330
|
+
proto.game.ActiveWageringUserBonus.prototype.getWagerBalancePriority = function() {
|
|
32331
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
32332
|
+
};
|
|
32333
|
+
|
|
32334
|
+
|
|
32335
|
+
/**
|
|
32336
|
+
* @param {string} value
|
|
32337
|
+
* @return {!proto.game.ActiveWageringUserBonus} returns this
|
|
32338
|
+
*/
|
|
32339
|
+
proto.game.ActiveWageringUserBonus.prototype.setWagerBalancePriority = function(value) {
|
|
32340
|
+
return jspb.Message.setField(this, 10, value);
|
|
32341
|
+
};
|
|
32342
|
+
|
|
32343
|
+
|
|
32344
|
+
/**
|
|
32345
|
+
* Clears the field making it undefined.
|
|
32346
|
+
* @return {!proto.game.ActiveWageringUserBonus} returns this
|
|
32347
|
+
*/
|
|
32348
|
+
proto.game.ActiveWageringUserBonus.prototype.clearWagerBalancePriority = function() {
|
|
32349
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
32350
|
+
};
|
|
32351
|
+
|
|
32352
|
+
|
|
32353
|
+
/**
|
|
32354
|
+
* Returns whether this field is set.
|
|
32355
|
+
* @return {boolean}
|
|
32356
|
+
*/
|
|
32357
|
+
proto.game.ActiveWageringUserBonus.prototype.hasWagerBalancePriority = function() {
|
|
32358
|
+
return jspb.Message.getField(this, 10) != null;
|
|
32359
|
+
};
|
|
32360
|
+
|
|
32361
|
+
|
|
32314
32362
|
|
|
32315
32363
|
/**
|
|
32316
32364
|
* List of repeated fields within this message type.
|