protobuf-platform 1.2.730 → 1.2.731
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 +10 -0
- package/bonus/bonus_grpc_pb.js +34 -0
- package/bonus/bonus_pb.js +322 -0
- package/package.json +1 -1
- package/user/user.proto +2 -0
- package/user/user_pb.js +49 -1
package/bonus/bonus.proto
CHANGED
|
@@ -40,6 +40,8 @@ service Bonus {
|
|
|
40
40
|
rpc getUserBonusesHistory(PaginationRequest) returns (UserBonusItemsResponse);
|
|
41
41
|
rpc getUserBonusHistory(GetUserBonusHistoryRequest) returns (UserBonusHistoryResponse);
|
|
42
42
|
rpc getDepositEligibleUserBonuses(GetDepositEligibleUserBonusesRequest) returns (DepositEligibleUserBonusesResponse);
|
|
43
|
+
// Brand-local primary SQL status only, independent of expiry and wagering progress.
|
|
44
|
+
rpc checkUserWageringStatus(CheckUserWageringStatusRequest) returns (CheckUserWageringStatusResponse);
|
|
43
45
|
rpc getActiveWageringUserBonuses(GetActiveWageringUserBonusesRequest) returns (ActiveWageringUserBonusesResponse);
|
|
44
46
|
rpc getCommonUserBonusItems(GetCommonUserBonusItemsRequest) returns (GetCommonUserBonusItemsResponse);
|
|
45
47
|
// Validates one selected wagering user bonus for a game wager list and balance type; returns authoritative state for game-service Redis snapshot.
|
|
@@ -619,6 +621,14 @@ message DepositEligibleUserBonusItem {
|
|
|
619
621
|
optional string portrait_image = 18;
|
|
620
622
|
optional string portrait_image_cdn = 19;
|
|
621
623
|
}
|
|
624
|
+
message CheckUserWageringStatusRequest {
|
|
625
|
+
int32 user_id = 1;
|
|
626
|
+
}
|
|
627
|
+
message CheckUserWageringStatusResponse {
|
|
628
|
+
// Absence means the lookup cannot authorize admission.
|
|
629
|
+
optional bool has_wagering_bonus = 1;
|
|
630
|
+
}
|
|
631
|
+
|
|
622
632
|
message GetActiveWageringUserBonusesRequest {
|
|
623
633
|
int32 user_id = 1;
|
|
624
634
|
int32 wager_games_list_id = 2;
|
package/bonus/bonus_grpc_pb.js
CHANGED
|
@@ -181,6 +181,28 @@ function deserialize_bonus_BonusTypesResponse(buffer_arg) {
|
|
|
181
181
|
return bonus_bonus_pb.BonusTypesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
+
function serialize_bonus_CheckUserWageringStatusRequest(arg) {
|
|
185
|
+
if (!(arg instanceof bonus_bonus_pb.CheckUserWageringStatusRequest)) {
|
|
186
|
+
throw new Error('Expected argument of type bonus.CheckUserWageringStatusRequest');
|
|
187
|
+
}
|
|
188
|
+
return Buffer.from(arg.serializeBinary());
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
function deserialize_bonus_CheckUserWageringStatusRequest(buffer_arg) {
|
|
192
|
+
return bonus_bonus_pb.CheckUserWageringStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
function serialize_bonus_CheckUserWageringStatusResponse(arg) {
|
|
196
|
+
if (!(arg instanceof bonus_bonus_pb.CheckUserWageringStatusResponse)) {
|
|
197
|
+
throw new Error('Expected argument of type bonus.CheckUserWageringStatusResponse');
|
|
198
|
+
}
|
|
199
|
+
return Buffer.from(arg.serializeBinary());
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
function deserialize_bonus_CheckUserWageringStatusResponse(buffer_arg) {
|
|
203
|
+
return bonus_bonus_pb.CheckUserWageringStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
204
|
+
}
|
|
205
|
+
|
|
184
206
|
function serialize_bonus_DashboardRequest(arg) {
|
|
185
207
|
if (!(arg instanceof bonus_bonus_pb.DashboardRequest)) {
|
|
186
208
|
throw new Error('Expected argument of type bonus.DashboardRequest');
|
|
@@ -924,6 +946,18 @@ grantDynamicUserBonus: {
|
|
|
924
946
|
responseSerialize: serialize_bonus_DepositEligibleUserBonusesResponse,
|
|
925
947
|
responseDeserialize: deserialize_bonus_DepositEligibleUserBonusesResponse,
|
|
926
948
|
},
|
|
949
|
+
// Brand-local primary SQL status only, independent of expiry and wagering progress.
|
|
950
|
+
checkUserWageringStatus: {
|
|
951
|
+
path: '/bonus.Bonus/checkUserWageringStatus',
|
|
952
|
+
requestStream: false,
|
|
953
|
+
responseStream: false,
|
|
954
|
+
requestType: bonus_bonus_pb.CheckUserWageringStatusRequest,
|
|
955
|
+
responseType: bonus_bonus_pb.CheckUserWageringStatusResponse,
|
|
956
|
+
requestSerialize: serialize_bonus_CheckUserWageringStatusRequest,
|
|
957
|
+
requestDeserialize: deserialize_bonus_CheckUserWageringStatusRequest,
|
|
958
|
+
responseSerialize: serialize_bonus_CheckUserWageringStatusResponse,
|
|
959
|
+
responseDeserialize: deserialize_bonus_CheckUserWageringStatusResponse,
|
|
960
|
+
},
|
|
927
961
|
getActiveWageringUserBonuses: {
|
|
928
962
|
path: '/bonus.Bonus/getActiveWageringUserBonuses',
|
|
929
963
|
requestStream: false,
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -54,6 +54,8 @@ goog.exportSymbol('proto.bonus.BonusTranslationUpsertRequest', null, global);
|
|
|
54
54
|
goog.exportSymbol('proto.bonus.BonusTranslationUpsertRequest.RequestCase', null, global);
|
|
55
55
|
goog.exportSymbol('proto.bonus.BonusType', null, global);
|
|
56
56
|
goog.exportSymbol('proto.bonus.BonusTypesResponse', null, global);
|
|
57
|
+
goog.exportSymbol('proto.bonus.CheckUserWageringStatusRequest', null, global);
|
|
58
|
+
goog.exportSymbol('proto.bonus.CheckUserWageringStatusResponse', null, global);
|
|
57
59
|
goog.exportSymbol('proto.bonus.CommonUserBonusItems', null, global);
|
|
58
60
|
goog.exportSymbol('proto.bonus.CurrencyStatusItem', null, global);
|
|
59
61
|
goog.exportSymbol('proto.bonus.DashboardRequest', null, global);
|
|
@@ -1253,6 +1255,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1253
1255
|
*/
|
|
1254
1256
|
proto.bonus.DepositEligibleUserBonusItem.displayName = 'proto.bonus.DepositEligibleUserBonusItem';
|
|
1255
1257
|
}
|
|
1258
|
+
/**
|
|
1259
|
+
* Generated by JsPbCodeGenerator.
|
|
1260
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1261
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1262
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1263
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1264
|
+
* valid.
|
|
1265
|
+
* @extends {jspb.Message}
|
|
1266
|
+
* @constructor
|
|
1267
|
+
*/
|
|
1268
|
+
proto.bonus.CheckUserWageringStatusRequest = function(opt_data) {
|
|
1269
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1270
|
+
};
|
|
1271
|
+
goog.inherits(proto.bonus.CheckUserWageringStatusRequest, jspb.Message);
|
|
1272
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1273
|
+
/**
|
|
1274
|
+
* @public
|
|
1275
|
+
* @override
|
|
1276
|
+
*/
|
|
1277
|
+
proto.bonus.CheckUserWageringStatusRequest.displayName = 'proto.bonus.CheckUserWageringStatusRequest';
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Generated by JsPbCodeGenerator.
|
|
1281
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1282
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1283
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1284
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1285
|
+
* valid.
|
|
1286
|
+
* @extends {jspb.Message}
|
|
1287
|
+
* @constructor
|
|
1288
|
+
*/
|
|
1289
|
+
proto.bonus.CheckUserWageringStatusResponse = function(opt_data) {
|
|
1290
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1291
|
+
};
|
|
1292
|
+
goog.inherits(proto.bonus.CheckUserWageringStatusResponse, jspb.Message);
|
|
1293
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1294
|
+
/**
|
|
1295
|
+
* @public
|
|
1296
|
+
* @override
|
|
1297
|
+
*/
|
|
1298
|
+
proto.bonus.CheckUserWageringStatusResponse.displayName = 'proto.bonus.CheckUserWageringStatusResponse';
|
|
1299
|
+
}
|
|
1256
1300
|
/**
|
|
1257
1301
|
* Generated by JsPbCodeGenerator.
|
|
1258
1302
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -25612,6 +25656,284 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.hasPortraitImageCdn = functio
|
|
|
25612
25656
|
|
|
25613
25657
|
|
|
25614
25658
|
|
|
25659
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25660
|
+
/**
|
|
25661
|
+
* Creates an object representation of this proto.
|
|
25662
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25663
|
+
* Optional fields that are not set will be set to undefined.
|
|
25664
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25665
|
+
* For the list of reserved names please see:
|
|
25666
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25667
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25668
|
+
* JSPB instance for transitional soy proto support:
|
|
25669
|
+
* http://goto/soy-param-migration
|
|
25670
|
+
* @return {!Object}
|
|
25671
|
+
*/
|
|
25672
|
+
proto.bonus.CheckUserWageringStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
25673
|
+
return proto.bonus.CheckUserWageringStatusRequest.toObject(opt_includeInstance, this);
|
|
25674
|
+
};
|
|
25675
|
+
|
|
25676
|
+
|
|
25677
|
+
/**
|
|
25678
|
+
* Static version of the {@see toObject} method.
|
|
25679
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25680
|
+
* the JSPB instance for transitional soy proto support:
|
|
25681
|
+
* http://goto/soy-param-migration
|
|
25682
|
+
* @param {!proto.bonus.CheckUserWageringStatusRequest} msg The msg instance to transform.
|
|
25683
|
+
* @return {!Object}
|
|
25684
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25685
|
+
*/
|
|
25686
|
+
proto.bonus.CheckUserWageringStatusRequest.toObject = function(includeInstance, msg) {
|
|
25687
|
+
var f, obj = {
|
|
25688
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
25689
|
+
};
|
|
25690
|
+
|
|
25691
|
+
if (includeInstance) {
|
|
25692
|
+
obj.$jspbMessageInstance = msg;
|
|
25693
|
+
}
|
|
25694
|
+
return obj;
|
|
25695
|
+
};
|
|
25696
|
+
}
|
|
25697
|
+
|
|
25698
|
+
|
|
25699
|
+
/**
|
|
25700
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25701
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25702
|
+
* @return {!proto.bonus.CheckUserWageringStatusRequest}
|
|
25703
|
+
*/
|
|
25704
|
+
proto.bonus.CheckUserWageringStatusRequest.deserializeBinary = function(bytes) {
|
|
25705
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25706
|
+
var msg = new proto.bonus.CheckUserWageringStatusRequest;
|
|
25707
|
+
return proto.bonus.CheckUserWageringStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
25708
|
+
};
|
|
25709
|
+
|
|
25710
|
+
|
|
25711
|
+
/**
|
|
25712
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25713
|
+
* given reader into the given message object.
|
|
25714
|
+
* @param {!proto.bonus.CheckUserWageringStatusRequest} msg The message object to deserialize into.
|
|
25715
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25716
|
+
* @return {!proto.bonus.CheckUserWageringStatusRequest}
|
|
25717
|
+
*/
|
|
25718
|
+
proto.bonus.CheckUserWageringStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
25719
|
+
while (reader.nextField()) {
|
|
25720
|
+
if (reader.isEndGroup()) {
|
|
25721
|
+
break;
|
|
25722
|
+
}
|
|
25723
|
+
var field = reader.getFieldNumber();
|
|
25724
|
+
switch (field) {
|
|
25725
|
+
case 1:
|
|
25726
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
25727
|
+
msg.setUserId(value);
|
|
25728
|
+
break;
|
|
25729
|
+
default:
|
|
25730
|
+
reader.skipField();
|
|
25731
|
+
break;
|
|
25732
|
+
}
|
|
25733
|
+
}
|
|
25734
|
+
return msg;
|
|
25735
|
+
};
|
|
25736
|
+
|
|
25737
|
+
|
|
25738
|
+
/**
|
|
25739
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25740
|
+
* @return {!Uint8Array}
|
|
25741
|
+
*/
|
|
25742
|
+
proto.bonus.CheckUserWageringStatusRequest.prototype.serializeBinary = function() {
|
|
25743
|
+
var writer = new jspb.BinaryWriter();
|
|
25744
|
+
proto.bonus.CheckUserWageringStatusRequest.serializeBinaryToWriter(this, writer);
|
|
25745
|
+
return writer.getResultBuffer();
|
|
25746
|
+
};
|
|
25747
|
+
|
|
25748
|
+
|
|
25749
|
+
/**
|
|
25750
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25751
|
+
* format), writing to the given BinaryWriter.
|
|
25752
|
+
* @param {!proto.bonus.CheckUserWageringStatusRequest} message
|
|
25753
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25754
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25755
|
+
*/
|
|
25756
|
+
proto.bonus.CheckUserWageringStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
25757
|
+
var f = undefined;
|
|
25758
|
+
f = message.getUserId();
|
|
25759
|
+
if (f !== 0) {
|
|
25760
|
+
writer.writeInt32(
|
|
25761
|
+
1,
|
|
25762
|
+
f
|
|
25763
|
+
);
|
|
25764
|
+
}
|
|
25765
|
+
};
|
|
25766
|
+
|
|
25767
|
+
|
|
25768
|
+
/**
|
|
25769
|
+
* optional int32 user_id = 1;
|
|
25770
|
+
* @return {number}
|
|
25771
|
+
*/
|
|
25772
|
+
proto.bonus.CheckUserWageringStatusRequest.prototype.getUserId = function() {
|
|
25773
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
25774
|
+
};
|
|
25775
|
+
|
|
25776
|
+
|
|
25777
|
+
/**
|
|
25778
|
+
* @param {number} value
|
|
25779
|
+
* @return {!proto.bonus.CheckUserWageringStatusRequest} returns this
|
|
25780
|
+
*/
|
|
25781
|
+
proto.bonus.CheckUserWageringStatusRequest.prototype.setUserId = function(value) {
|
|
25782
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
25783
|
+
};
|
|
25784
|
+
|
|
25785
|
+
|
|
25786
|
+
|
|
25787
|
+
|
|
25788
|
+
|
|
25789
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25790
|
+
/**
|
|
25791
|
+
* Creates an object representation of this proto.
|
|
25792
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25793
|
+
* Optional fields that are not set will be set to undefined.
|
|
25794
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25795
|
+
* For the list of reserved names please see:
|
|
25796
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25797
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25798
|
+
* JSPB instance for transitional soy proto support:
|
|
25799
|
+
* http://goto/soy-param-migration
|
|
25800
|
+
* @return {!Object}
|
|
25801
|
+
*/
|
|
25802
|
+
proto.bonus.CheckUserWageringStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
25803
|
+
return proto.bonus.CheckUserWageringStatusResponse.toObject(opt_includeInstance, this);
|
|
25804
|
+
};
|
|
25805
|
+
|
|
25806
|
+
|
|
25807
|
+
/**
|
|
25808
|
+
* Static version of the {@see toObject} method.
|
|
25809
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25810
|
+
* the JSPB instance for transitional soy proto support:
|
|
25811
|
+
* http://goto/soy-param-migration
|
|
25812
|
+
* @param {!proto.bonus.CheckUserWageringStatusResponse} msg The msg instance to transform.
|
|
25813
|
+
* @return {!Object}
|
|
25814
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25815
|
+
*/
|
|
25816
|
+
proto.bonus.CheckUserWageringStatusResponse.toObject = function(includeInstance, msg) {
|
|
25817
|
+
var f, obj = {
|
|
25818
|
+
hasWageringBonus: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
25819
|
+
};
|
|
25820
|
+
|
|
25821
|
+
if (includeInstance) {
|
|
25822
|
+
obj.$jspbMessageInstance = msg;
|
|
25823
|
+
}
|
|
25824
|
+
return obj;
|
|
25825
|
+
};
|
|
25826
|
+
}
|
|
25827
|
+
|
|
25828
|
+
|
|
25829
|
+
/**
|
|
25830
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25831
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25832
|
+
* @return {!proto.bonus.CheckUserWageringStatusResponse}
|
|
25833
|
+
*/
|
|
25834
|
+
proto.bonus.CheckUserWageringStatusResponse.deserializeBinary = function(bytes) {
|
|
25835
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25836
|
+
var msg = new proto.bonus.CheckUserWageringStatusResponse;
|
|
25837
|
+
return proto.bonus.CheckUserWageringStatusResponse.deserializeBinaryFromReader(msg, reader);
|
|
25838
|
+
};
|
|
25839
|
+
|
|
25840
|
+
|
|
25841
|
+
/**
|
|
25842
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25843
|
+
* given reader into the given message object.
|
|
25844
|
+
* @param {!proto.bonus.CheckUserWageringStatusResponse} msg The message object to deserialize into.
|
|
25845
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25846
|
+
* @return {!proto.bonus.CheckUserWageringStatusResponse}
|
|
25847
|
+
*/
|
|
25848
|
+
proto.bonus.CheckUserWageringStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
25849
|
+
while (reader.nextField()) {
|
|
25850
|
+
if (reader.isEndGroup()) {
|
|
25851
|
+
break;
|
|
25852
|
+
}
|
|
25853
|
+
var field = reader.getFieldNumber();
|
|
25854
|
+
switch (field) {
|
|
25855
|
+
case 1:
|
|
25856
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
25857
|
+
msg.setHasWageringBonus(value);
|
|
25858
|
+
break;
|
|
25859
|
+
default:
|
|
25860
|
+
reader.skipField();
|
|
25861
|
+
break;
|
|
25862
|
+
}
|
|
25863
|
+
}
|
|
25864
|
+
return msg;
|
|
25865
|
+
};
|
|
25866
|
+
|
|
25867
|
+
|
|
25868
|
+
/**
|
|
25869
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25870
|
+
* @return {!Uint8Array}
|
|
25871
|
+
*/
|
|
25872
|
+
proto.bonus.CheckUserWageringStatusResponse.prototype.serializeBinary = function() {
|
|
25873
|
+
var writer = new jspb.BinaryWriter();
|
|
25874
|
+
proto.bonus.CheckUserWageringStatusResponse.serializeBinaryToWriter(this, writer);
|
|
25875
|
+
return writer.getResultBuffer();
|
|
25876
|
+
};
|
|
25877
|
+
|
|
25878
|
+
|
|
25879
|
+
/**
|
|
25880
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25881
|
+
* format), writing to the given BinaryWriter.
|
|
25882
|
+
* @param {!proto.bonus.CheckUserWageringStatusResponse} message
|
|
25883
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25884
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25885
|
+
*/
|
|
25886
|
+
proto.bonus.CheckUserWageringStatusResponse.serializeBinaryToWriter = function(message, writer) {
|
|
25887
|
+
var f = undefined;
|
|
25888
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
|
|
25889
|
+
if (f != null) {
|
|
25890
|
+
writer.writeBool(
|
|
25891
|
+
1,
|
|
25892
|
+
f
|
|
25893
|
+
);
|
|
25894
|
+
}
|
|
25895
|
+
};
|
|
25896
|
+
|
|
25897
|
+
|
|
25898
|
+
/**
|
|
25899
|
+
* optional bool has_wagering_bonus = 1;
|
|
25900
|
+
* @return {boolean}
|
|
25901
|
+
*/
|
|
25902
|
+
proto.bonus.CheckUserWageringStatusResponse.prototype.getHasWageringBonus = function() {
|
|
25903
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
25904
|
+
};
|
|
25905
|
+
|
|
25906
|
+
|
|
25907
|
+
/**
|
|
25908
|
+
* @param {boolean} value
|
|
25909
|
+
* @return {!proto.bonus.CheckUserWageringStatusResponse} returns this
|
|
25910
|
+
*/
|
|
25911
|
+
proto.bonus.CheckUserWageringStatusResponse.prototype.setHasWageringBonus = function(value) {
|
|
25912
|
+
return jspb.Message.setField(this, 1, value);
|
|
25913
|
+
};
|
|
25914
|
+
|
|
25915
|
+
|
|
25916
|
+
/**
|
|
25917
|
+
* Clears the field making it undefined.
|
|
25918
|
+
* @return {!proto.bonus.CheckUserWageringStatusResponse} returns this
|
|
25919
|
+
*/
|
|
25920
|
+
proto.bonus.CheckUserWageringStatusResponse.prototype.clearHasWageringBonus = function() {
|
|
25921
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
25922
|
+
};
|
|
25923
|
+
|
|
25924
|
+
|
|
25925
|
+
/**
|
|
25926
|
+
* Returns whether this field is set.
|
|
25927
|
+
* @return {boolean}
|
|
25928
|
+
*/
|
|
25929
|
+
proto.bonus.CheckUserWageringStatusResponse.prototype.hasHasWageringBonus = function() {
|
|
25930
|
+
return jspb.Message.getField(this, 1) != null;
|
|
25931
|
+
};
|
|
25932
|
+
|
|
25933
|
+
|
|
25934
|
+
|
|
25935
|
+
|
|
25936
|
+
|
|
25615
25937
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25616
25938
|
/**
|
|
25617
25939
|
* Creates an object representation of this proto.
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -1188,6 +1188,8 @@ message UserCalculatedRestrictionItem {
|
|
|
1188
1188
|
optional string source = 3;
|
|
1189
1189
|
optional string reason = 4;
|
|
1190
1190
|
optional CalculatedRestrictionLimit limit = 5;
|
|
1191
|
+
// Present on allowed withdrawal decisions from admission-aware User producers.
|
|
1192
|
+
optional bool requires_no_active_bonus = 6;
|
|
1191
1193
|
}
|
|
1192
1194
|
message CalculatedRestrictionLimit {
|
|
1193
1195
|
int64 amount_minor = 1;
|
package/user/user_pb.js
CHANGED
|
@@ -49843,7 +49843,8 @@ proto.user.UserCalculatedRestrictionItem.toObject = function(includeInstance, ms
|
|
|
49843
49843
|
allowed: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
49844
49844
|
source: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
49845
49845
|
reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
49846
|
-
limit: (f = msg.getLimit()) && proto.user.CalculatedRestrictionLimit.toObject(includeInstance, f)
|
|
49846
|
+
limit: (f = msg.getLimit()) && proto.user.CalculatedRestrictionLimit.toObject(includeInstance, f),
|
|
49847
|
+
requiresNoActiveBonus: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
49847
49848
|
};
|
|
49848
49849
|
|
|
49849
49850
|
if (includeInstance) {
|
|
@@ -49901,6 +49902,10 @@ proto.user.UserCalculatedRestrictionItem.deserializeBinaryFromReader = function(
|
|
|
49901
49902
|
reader.readMessage(value,proto.user.CalculatedRestrictionLimit.deserializeBinaryFromReader);
|
|
49902
49903
|
msg.setLimit(value);
|
|
49903
49904
|
break;
|
|
49905
|
+
case 6:
|
|
49906
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
49907
|
+
msg.setRequiresNoActiveBonus(value);
|
|
49908
|
+
break;
|
|
49904
49909
|
default:
|
|
49905
49910
|
reader.skipField();
|
|
49906
49911
|
break;
|
|
@@ -49966,6 +49971,13 @@ proto.user.UserCalculatedRestrictionItem.serializeBinaryToWriter = function(mess
|
|
|
49966
49971
|
proto.user.CalculatedRestrictionLimit.serializeBinaryToWriter
|
|
49967
49972
|
);
|
|
49968
49973
|
}
|
|
49974
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
49975
|
+
if (f != null) {
|
|
49976
|
+
writer.writeBool(
|
|
49977
|
+
6,
|
|
49978
|
+
f
|
|
49979
|
+
);
|
|
49980
|
+
}
|
|
49969
49981
|
};
|
|
49970
49982
|
|
|
49971
49983
|
|
|
@@ -50114,6 +50126,42 @@ proto.user.UserCalculatedRestrictionItem.prototype.hasLimit = function() {
|
|
|
50114
50126
|
};
|
|
50115
50127
|
|
|
50116
50128
|
|
|
50129
|
+
/**
|
|
50130
|
+
* optional bool requires_no_active_bonus = 6;
|
|
50131
|
+
* @return {boolean}
|
|
50132
|
+
*/
|
|
50133
|
+
proto.user.UserCalculatedRestrictionItem.prototype.getRequiresNoActiveBonus = function() {
|
|
50134
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
50135
|
+
};
|
|
50136
|
+
|
|
50137
|
+
|
|
50138
|
+
/**
|
|
50139
|
+
* @param {boolean} value
|
|
50140
|
+
* @return {!proto.user.UserCalculatedRestrictionItem} returns this
|
|
50141
|
+
*/
|
|
50142
|
+
proto.user.UserCalculatedRestrictionItem.prototype.setRequiresNoActiveBonus = function(value) {
|
|
50143
|
+
return jspb.Message.setField(this, 6, value);
|
|
50144
|
+
};
|
|
50145
|
+
|
|
50146
|
+
|
|
50147
|
+
/**
|
|
50148
|
+
* Clears the field making it undefined.
|
|
50149
|
+
* @return {!proto.user.UserCalculatedRestrictionItem} returns this
|
|
50150
|
+
*/
|
|
50151
|
+
proto.user.UserCalculatedRestrictionItem.prototype.clearRequiresNoActiveBonus = function() {
|
|
50152
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
50153
|
+
};
|
|
50154
|
+
|
|
50155
|
+
|
|
50156
|
+
/**
|
|
50157
|
+
* Returns whether this field is set.
|
|
50158
|
+
* @return {boolean}
|
|
50159
|
+
*/
|
|
50160
|
+
proto.user.UserCalculatedRestrictionItem.prototype.hasRequiresNoActiveBonus = function() {
|
|
50161
|
+
return jspb.Message.getField(this, 6) != null;
|
|
50162
|
+
};
|
|
50163
|
+
|
|
50164
|
+
|
|
50117
50165
|
|
|
50118
50166
|
|
|
50119
50167
|
|