protobuf-platform 1.2.523 → 1.2.524
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 +204 -2
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
|
@@ -466,6 +466,10 @@ message DepositEligibleUserBonusItem {
|
|
|
466
466
|
repeated DepositEligibleUserBonusRewardItem rewards = 10;
|
|
467
467
|
optional string mobile_image = 11; // file name / relative path
|
|
468
468
|
optional string mobile_image_cdn = 12; // absolute CDN URL
|
|
469
|
+
optional int32 wager_x = 13;
|
|
470
|
+
optional int32 payout_x = 14;
|
|
471
|
+
repeated ActivationRule activation_rules = 15;
|
|
472
|
+
repeated BetsRange bets_range = 16;
|
|
469
473
|
}
|
|
470
474
|
message GetActiveWageringUserBonusesRequest {
|
|
471
475
|
int32 user_id = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -19309,7 +19309,7 @@ proto.bonus.DepositEligibleUserBonusRewardItem.prototype.hasConfig = function()
|
|
|
19309
19309
|
* @private {!Array<number>}
|
|
19310
19310
|
* @const
|
|
19311
19311
|
*/
|
|
19312
|
-
proto.bonus.DepositEligibleUserBonusItem.repeatedFields_ = [10];
|
|
19312
|
+
proto.bonus.DepositEligibleUserBonusItem.repeatedFields_ = [10,15,16];
|
|
19313
19313
|
|
|
19314
19314
|
|
|
19315
19315
|
|
|
@@ -19354,7 +19354,13 @@ proto.bonus.DepositEligibleUserBonusItem.toObject = function(includeInstance, ms
|
|
|
19354
19354
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
|
19355
19355
|
proto.bonus.DepositEligibleUserBonusRewardItem.toObject, includeInstance),
|
|
19356
19356
|
mobileImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
19357
|
-
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
19357
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
19358
|
+
wagerX: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
19359
|
+
payoutX: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
19360
|
+
activationRulesList: jspb.Message.toObjectList(msg.getActivationRulesList(),
|
|
19361
|
+
proto.bonus.ActivationRule.toObject, includeInstance),
|
|
19362
|
+
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
|
19363
|
+
proto.bonus.BetsRange.toObject, includeInstance)
|
|
19358
19364
|
};
|
|
19359
19365
|
|
|
19360
19366
|
if (includeInstance) {
|
|
@@ -19440,6 +19446,24 @@ proto.bonus.DepositEligibleUserBonusItem.deserializeBinaryFromReader = function(
|
|
|
19440
19446
|
var value = /** @type {string} */ (reader.readString());
|
|
19441
19447
|
msg.setMobileImageCdn(value);
|
|
19442
19448
|
break;
|
|
19449
|
+
case 13:
|
|
19450
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19451
|
+
msg.setWagerX(value);
|
|
19452
|
+
break;
|
|
19453
|
+
case 14:
|
|
19454
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19455
|
+
msg.setPayoutX(value);
|
|
19456
|
+
break;
|
|
19457
|
+
case 15:
|
|
19458
|
+
var value = new proto.bonus.ActivationRule;
|
|
19459
|
+
reader.readMessage(value,proto.bonus.ActivationRule.deserializeBinaryFromReader);
|
|
19460
|
+
msg.addActivationRules(value);
|
|
19461
|
+
break;
|
|
19462
|
+
case 16:
|
|
19463
|
+
var value = new proto.bonus.BetsRange;
|
|
19464
|
+
reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
|
|
19465
|
+
msg.addBetsRange(value);
|
|
19466
|
+
break;
|
|
19443
19467
|
default:
|
|
19444
19468
|
reader.skipField();
|
|
19445
19469
|
break;
|
|
@@ -19554,6 +19578,36 @@ proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(mess
|
|
|
19554
19578
|
f
|
|
19555
19579
|
);
|
|
19556
19580
|
}
|
|
19581
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
|
19582
|
+
if (f != null) {
|
|
19583
|
+
writer.writeInt32(
|
|
19584
|
+
13,
|
|
19585
|
+
f
|
|
19586
|
+
);
|
|
19587
|
+
}
|
|
19588
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
19589
|
+
if (f != null) {
|
|
19590
|
+
writer.writeInt32(
|
|
19591
|
+
14,
|
|
19592
|
+
f
|
|
19593
|
+
);
|
|
19594
|
+
}
|
|
19595
|
+
f = message.getActivationRulesList();
|
|
19596
|
+
if (f.length > 0) {
|
|
19597
|
+
writer.writeRepeatedMessage(
|
|
19598
|
+
15,
|
|
19599
|
+
f,
|
|
19600
|
+
proto.bonus.ActivationRule.serializeBinaryToWriter
|
|
19601
|
+
);
|
|
19602
|
+
}
|
|
19603
|
+
f = message.getBetsRangeList();
|
|
19604
|
+
if (f.length > 0) {
|
|
19605
|
+
writer.writeRepeatedMessage(
|
|
19606
|
+
16,
|
|
19607
|
+
f,
|
|
19608
|
+
proto.bonus.BetsRange.serializeBinaryToWriter
|
|
19609
|
+
);
|
|
19610
|
+
}
|
|
19557
19611
|
};
|
|
19558
19612
|
|
|
19559
19613
|
|
|
@@ -19973,6 +20027,154 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.hasMobileImageCdn = function(
|
|
|
19973
20027
|
};
|
|
19974
20028
|
|
|
19975
20029
|
|
|
20030
|
+
/**
|
|
20031
|
+
* optional int32 wager_x = 13;
|
|
20032
|
+
* @return {number}
|
|
20033
|
+
*/
|
|
20034
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getWagerX = function() {
|
|
20035
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
20036
|
+
};
|
|
20037
|
+
|
|
20038
|
+
|
|
20039
|
+
/**
|
|
20040
|
+
* @param {number} value
|
|
20041
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20042
|
+
*/
|
|
20043
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setWagerX = function(value) {
|
|
20044
|
+
return jspb.Message.setField(this, 13, value);
|
|
20045
|
+
};
|
|
20046
|
+
|
|
20047
|
+
|
|
20048
|
+
/**
|
|
20049
|
+
* Clears the field making it undefined.
|
|
20050
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20051
|
+
*/
|
|
20052
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearWagerX = function() {
|
|
20053
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
20054
|
+
};
|
|
20055
|
+
|
|
20056
|
+
|
|
20057
|
+
/**
|
|
20058
|
+
* Returns whether this field is set.
|
|
20059
|
+
* @return {boolean}
|
|
20060
|
+
*/
|
|
20061
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasWagerX = function() {
|
|
20062
|
+
return jspb.Message.getField(this, 13) != null;
|
|
20063
|
+
};
|
|
20064
|
+
|
|
20065
|
+
|
|
20066
|
+
/**
|
|
20067
|
+
* optional int32 payout_x = 14;
|
|
20068
|
+
* @return {number}
|
|
20069
|
+
*/
|
|
20070
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getPayoutX = function() {
|
|
20071
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
20072
|
+
};
|
|
20073
|
+
|
|
20074
|
+
|
|
20075
|
+
/**
|
|
20076
|
+
* @param {number} value
|
|
20077
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20078
|
+
*/
|
|
20079
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setPayoutX = function(value) {
|
|
20080
|
+
return jspb.Message.setField(this, 14, value);
|
|
20081
|
+
};
|
|
20082
|
+
|
|
20083
|
+
|
|
20084
|
+
/**
|
|
20085
|
+
* Clears the field making it undefined.
|
|
20086
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20087
|
+
*/
|
|
20088
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearPayoutX = function() {
|
|
20089
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
20090
|
+
};
|
|
20091
|
+
|
|
20092
|
+
|
|
20093
|
+
/**
|
|
20094
|
+
* Returns whether this field is set.
|
|
20095
|
+
* @return {boolean}
|
|
20096
|
+
*/
|
|
20097
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasPayoutX = function() {
|
|
20098
|
+
return jspb.Message.getField(this, 14) != null;
|
|
20099
|
+
};
|
|
20100
|
+
|
|
20101
|
+
|
|
20102
|
+
/**
|
|
20103
|
+
* repeated ActivationRule activation_rules = 15;
|
|
20104
|
+
* @return {!Array<!proto.bonus.ActivationRule>}
|
|
20105
|
+
*/
|
|
20106
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getActivationRulesList = function() {
|
|
20107
|
+
return /** @type{!Array<!proto.bonus.ActivationRule>} */ (
|
|
20108
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bonus.ActivationRule, 15));
|
|
20109
|
+
};
|
|
20110
|
+
|
|
20111
|
+
|
|
20112
|
+
/**
|
|
20113
|
+
* @param {!Array<!proto.bonus.ActivationRule>} value
|
|
20114
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20115
|
+
*/
|
|
20116
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setActivationRulesList = function(value) {
|
|
20117
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
20118
|
+
};
|
|
20119
|
+
|
|
20120
|
+
|
|
20121
|
+
/**
|
|
20122
|
+
* @param {!proto.bonus.ActivationRule=} opt_value
|
|
20123
|
+
* @param {number=} opt_index
|
|
20124
|
+
* @return {!proto.bonus.ActivationRule}
|
|
20125
|
+
*/
|
|
20126
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.addActivationRules = function(opt_value, opt_index) {
|
|
20127
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.bonus.ActivationRule, opt_index);
|
|
20128
|
+
};
|
|
20129
|
+
|
|
20130
|
+
|
|
20131
|
+
/**
|
|
20132
|
+
* Clears the list making it empty but non-null.
|
|
20133
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20134
|
+
*/
|
|
20135
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearActivationRulesList = function() {
|
|
20136
|
+
return this.setActivationRulesList([]);
|
|
20137
|
+
};
|
|
20138
|
+
|
|
20139
|
+
|
|
20140
|
+
/**
|
|
20141
|
+
* repeated BetsRange bets_range = 16;
|
|
20142
|
+
* @return {!Array<!proto.bonus.BetsRange>}
|
|
20143
|
+
*/
|
|
20144
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getBetsRangeList = function() {
|
|
20145
|
+
return /** @type{!Array<!proto.bonus.BetsRange>} */ (
|
|
20146
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bonus.BetsRange, 16));
|
|
20147
|
+
};
|
|
20148
|
+
|
|
20149
|
+
|
|
20150
|
+
/**
|
|
20151
|
+
* @param {!Array<!proto.bonus.BetsRange>} value
|
|
20152
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20153
|
+
*/
|
|
20154
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setBetsRangeList = function(value) {
|
|
20155
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
|
20156
|
+
};
|
|
20157
|
+
|
|
20158
|
+
|
|
20159
|
+
/**
|
|
20160
|
+
* @param {!proto.bonus.BetsRange=} opt_value
|
|
20161
|
+
* @param {number=} opt_index
|
|
20162
|
+
* @return {!proto.bonus.BetsRange}
|
|
20163
|
+
*/
|
|
20164
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.addBetsRange = function(opt_value, opt_index) {
|
|
20165
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.bonus.BetsRange, opt_index);
|
|
20166
|
+
};
|
|
20167
|
+
|
|
20168
|
+
|
|
20169
|
+
/**
|
|
20170
|
+
* Clears the list making it empty but non-null.
|
|
20171
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20172
|
+
*/
|
|
20173
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearBetsRangeList = function() {
|
|
20174
|
+
return this.setBetsRangeList([]);
|
|
20175
|
+
};
|
|
20176
|
+
|
|
20177
|
+
|
|
19976
20178
|
|
|
19977
20179
|
|
|
19978
20180
|
|