protobuf-platform 1.2.233 → 1.2.236
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 +5 -0
- package/bonus/bonus_pb.js +151 -1
- package/package.json +1 -1
- package/user/user.proto +1 -0
- package/user/user_pb.js +49 -1
package/bonus/bonus.proto
CHANGED
|
@@ -342,6 +342,11 @@ message ValidateSelectedWageringUserBonusResponse {
|
|
|
342
342
|
float current_wager_amount = 4; // or string, depending on existing conventions
|
|
343
343
|
float total_wager_amount = 5; // or string
|
|
344
344
|
int64 wagering_end_in_milliseconds = 6;
|
|
345
|
+
float min_bet = 7;
|
|
346
|
+
float max_bet = 8;
|
|
347
|
+
bool real_wagering = 9;
|
|
348
|
+
bool bonus_wagering = 10;
|
|
349
|
+
float cancellation_amount = 11;
|
|
345
350
|
}
|
|
346
351
|
//Common Lists
|
|
347
352
|
message BonusType {
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -14705,7 +14705,12 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.toObject = function(includ
|
|
|
14705
14705
|
wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
14706
14706
|
currentWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
14707
14707
|
totalWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
14708
|
-
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
14708
|
+
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
14709
|
+
minBet: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
14710
|
+
maxBet: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
14711
|
+
realWagering: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
14712
|
+
bonusWagering: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
14713
|
+
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
14709
14714
|
};
|
|
14710
14715
|
|
|
14711
14716
|
if (includeInstance) {
|
|
@@ -14766,6 +14771,26 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.deserializeBinaryFromReade
|
|
|
14766
14771
|
var value = /** @type {number} */ (reader.readInt64());
|
|
14767
14772
|
msg.setWageringEndInMilliseconds(value);
|
|
14768
14773
|
break;
|
|
14774
|
+
case 7:
|
|
14775
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
14776
|
+
msg.setMinBet(value);
|
|
14777
|
+
break;
|
|
14778
|
+
case 8:
|
|
14779
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
14780
|
+
msg.setMaxBet(value);
|
|
14781
|
+
break;
|
|
14782
|
+
case 9:
|
|
14783
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14784
|
+
msg.setRealWagering(value);
|
|
14785
|
+
break;
|
|
14786
|
+
case 10:
|
|
14787
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14788
|
+
msg.setBonusWagering(value);
|
|
14789
|
+
break;
|
|
14790
|
+
case 11:
|
|
14791
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
14792
|
+
msg.setCancellationAmount(value);
|
|
14793
|
+
break;
|
|
14769
14794
|
default:
|
|
14770
14795
|
reader.skipField();
|
|
14771
14796
|
break;
|
|
@@ -14837,6 +14862,41 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.serializeBinaryToWriter =
|
|
|
14837
14862
|
f
|
|
14838
14863
|
);
|
|
14839
14864
|
}
|
|
14865
|
+
f = message.getMinBet();
|
|
14866
|
+
if (f !== 0.0) {
|
|
14867
|
+
writer.writeFloat(
|
|
14868
|
+
7,
|
|
14869
|
+
f
|
|
14870
|
+
);
|
|
14871
|
+
}
|
|
14872
|
+
f = message.getMaxBet();
|
|
14873
|
+
if (f !== 0.0) {
|
|
14874
|
+
writer.writeFloat(
|
|
14875
|
+
8,
|
|
14876
|
+
f
|
|
14877
|
+
);
|
|
14878
|
+
}
|
|
14879
|
+
f = message.getRealWagering();
|
|
14880
|
+
if (f) {
|
|
14881
|
+
writer.writeBool(
|
|
14882
|
+
9,
|
|
14883
|
+
f
|
|
14884
|
+
);
|
|
14885
|
+
}
|
|
14886
|
+
f = message.getBonusWagering();
|
|
14887
|
+
if (f) {
|
|
14888
|
+
writer.writeBool(
|
|
14889
|
+
10,
|
|
14890
|
+
f
|
|
14891
|
+
);
|
|
14892
|
+
}
|
|
14893
|
+
f = message.getCancellationAmount();
|
|
14894
|
+
if (f !== 0.0) {
|
|
14895
|
+
writer.writeFloat(
|
|
14896
|
+
11,
|
|
14897
|
+
f
|
|
14898
|
+
);
|
|
14899
|
+
}
|
|
14840
14900
|
};
|
|
14841
14901
|
|
|
14842
14902
|
|
|
@@ -14967,6 +15027,96 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setWageringEndIn
|
|
|
14967
15027
|
};
|
|
14968
15028
|
|
|
14969
15029
|
|
|
15030
|
+
/**
|
|
15031
|
+
* optional float min_bet = 7;
|
|
15032
|
+
* @return {number}
|
|
15033
|
+
*/
|
|
15034
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getMinBet = function() {
|
|
15035
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
15036
|
+
};
|
|
15037
|
+
|
|
15038
|
+
|
|
15039
|
+
/**
|
|
15040
|
+
* @param {number} value
|
|
15041
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
15042
|
+
*/
|
|
15043
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setMinBet = function(value) {
|
|
15044
|
+
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
15045
|
+
};
|
|
15046
|
+
|
|
15047
|
+
|
|
15048
|
+
/**
|
|
15049
|
+
* optional float max_bet = 8;
|
|
15050
|
+
* @return {number}
|
|
15051
|
+
*/
|
|
15052
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getMaxBet = function() {
|
|
15053
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
15054
|
+
};
|
|
15055
|
+
|
|
15056
|
+
|
|
15057
|
+
/**
|
|
15058
|
+
* @param {number} value
|
|
15059
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
15060
|
+
*/
|
|
15061
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setMaxBet = function(value) {
|
|
15062
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
15063
|
+
};
|
|
15064
|
+
|
|
15065
|
+
|
|
15066
|
+
/**
|
|
15067
|
+
* optional bool real_wagering = 9;
|
|
15068
|
+
* @return {boolean}
|
|
15069
|
+
*/
|
|
15070
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getRealWagering = function() {
|
|
15071
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
15072
|
+
};
|
|
15073
|
+
|
|
15074
|
+
|
|
15075
|
+
/**
|
|
15076
|
+
* @param {boolean} value
|
|
15077
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
15078
|
+
*/
|
|
15079
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setRealWagering = function(value) {
|
|
15080
|
+
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
15081
|
+
};
|
|
15082
|
+
|
|
15083
|
+
|
|
15084
|
+
/**
|
|
15085
|
+
* optional bool bonus_wagering = 10;
|
|
15086
|
+
* @return {boolean}
|
|
15087
|
+
*/
|
|
15088
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getBonusWagering = function() {
|
|
15089
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
15090
|
+
};
|
|
15091
|
+
|
|
15092
|
+
|
|
15093
|
+
/**
|
|
15094
|
+
* @param {boolean} value
|
|
15095
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
15096
|
+
*/
|
|
15097
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setBonusWagering = function(value) {
|
|
15098
|
+
return jspb.Message.setProto3BooleanField(this, 10, value);
|
|
15099
|
+
};
|
|
15100
|
+
|
|
15101
|
+
|
|
15102
|
+
/**
|
|
15103
|
+
* optional float cancellation_amount = 11;
|
|
15104
|
+
* @return {number}
|
|
15105
|
+
*/
|
|
15106
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getCancellationAmount = function() {
|
|
15107
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
15108
|
+
};
|
|
15109
|
+
|
|
15110
|
+
|
|
15111
|
+
/**
|
|
15112
|
+
* @param {number} value
|
|
15113
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
15114
|
+
*/
|
|
15115
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setCancellationAmount = function(value) {
|
|
15116
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
15117
|
+
};
|
|
15118
|
+
|
|
15119
|
+
|
|
14970
15120
|
|
|
14971
15121
|
|
|
14972
15122
|
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
|
@@ -4086,7 +4086,8 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
|
|
|
4086
4086
|
postalCode: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
4087
4087
|
referral: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
4088
4088
|
device: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
4089
|
-
affiliateInfo: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
4089
|
+
affiliateInfo: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
4090
|
+
seonSession: jspb.Message.getFieldWithDefault(msg, 24, "")
|
|
4090
4091
|
};
|
|
4091
4092
|
|
|
4092
4093
|
if (includeInstance) {
|
|
@@ -4215,6 +4216,10 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
4215
4216
|
var value = /** @type {string} */ (reader.readString());
|
|
4216
4217
|
msg.setAffiliateInfo(value);
|
|
4217
4218
|
break;
|
|
4219
|
+
case 24:
|
|
4220
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4221
|
+
msg.setSeonSession(value);
|
|
4222
|
+
break;
|
|
4218
4223
|
default:
|
|
4219
4224
|
reader.skipField();
|
|
4220
4225
|
break;
|
|
@@ -4405,6 +4410,13 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
|
4405
4410
|
f
|
|
4406
4411
|
);
|
|
4407
4412
|
}
|
|
4413
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 24));
|
|
4414
|
+
if (f != null) {
|
|
4415
|
+
writer.writeString(
|
|
4416
|
+
24,
|
|
4417
|
+
f
|
|
4418
|
+
);
|
|
4419
|
+
}
|
|
4408
4420
|
};
|
|
4409
4421
|
|
|
4410
4422
|
|
|
@@ -5182,6 +5194,42 @@ proto.user.RegistrationRequest.prototype.hasAffiliateInfo = function() {
|
|
|
5182
5194
|
};
|
|
5183
5195
|
|
|
5184
5196
|
|
|
5197
|
+
/**
|
|
5198
|
+
* optional string seon_session = 24;
|
|
5199
|
+
* @return {string}
|
|
5200
|
+
*/
|
|
5201
|
+
proto.user.RegistrationRequest.prototype.getSeonSession = function() {
|
|
5202
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
5203
|
+
};
|
|
5204
|
+
|
|
5205
|
+
|
|
5206
|
+
/**
|
|
5207
|
+
* @param {string} value
|
|
5208
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
|
5209
|
+
*/
|
|
5210
|
+
proto.user.RegistrationRequest.prototype.setSeonSession = function(value) {
|
|
5211
|
+
return jspb.Message.setField(this, 24, value);
|
|
5212
|
+
};
|
|
5213
|
+
|
|
5214
|
+
|
|
5215
|
+
/**
|
|
5216
|
+
* Clears the field making it undefined.
|
|
5217
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
|
5218
|
+
*/
|
|
5219
|
+
proto.user.RegistrationRequest.prototype.clearSeonSession = function() {
|
|
5220
|
+
return jspb.Message.setField(this, 24, undefined);
|
|
5221
|
+
};
|
|
5222
|
+
|
|
5223
|
+
|
|
5224
|
+
/**
|
|
5225
|
+
* Returns whether this field is set.
|
|
5226
|
+
* @return {boolean}
|
|
5227
|
+
*/
|
|
5228
|
+
proto.user.RegistrationRequest.prototype.hasSeonSession = function() {
|
|
5229
|
+
return jspb.Message.getField(this, 24) != null;
|
|
5230
|
+
};
|
|
5231
|
+
|
|
5232
|
+
|
|
5185
5233
|
|
|
5186
5234
|
|
|
5187
5235
|
|