protobuf-platform 1.2.530 → 1.2.531
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 +2 -1
- package/bonus/bonus_pb.js +70 -4
- package/package.json +1 -1
- package/payment/payment.proto +1 -0
- package/payment/payment_pb.js +49 -1
package/bonus/bonus.proto
CHANGED
|
@@ -454,7 +454,7 @@ message DepositEligibleUserBonusRewardItem {
|
|
|
454
454
|
optional string config = 3;
|
|
455
455
|
}
|
|
456
456
|
message DepositEligibleUserBonusItem {
|
|
457
|
-
int32 user_bonus_id = 1;
|
|
457
|
+
optional int32 user_bonus_id = 1;
|
|
458
458
|
// UI fields
|
|
459
459
|
optional string title = 2;
|
|
460
460
|
// Images
|
|
@@ -474,6 +474,7 @@ message DepositEligibleUserBonusItem {
|
|
|
474
474
|
optional int32 payout_x = 14;
|
|
475
475
|
repeated ActivationRule activation_rules = 15;
|
|
476
476
|
repeated BetsRange bets_range = 16;
|
|
477
|
+
optional int32 bonus_id = 17;
|
|
477
478
|
}
|
|
478
479
|
message GetActiveWageringUserBonusesRequest {
|
|
479
480
|
int32 user_id = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -19552,7 +19552,8 @@ proto.bonus.DepositEligibleUserBonusItem.toObject = function(includeInstance, ms
|
|
|
19552
19552
|
activationRulesList: jspb.Message.toObjectList(msg.getActivationRulesList(),
|
|
19553
19553
|
proto.bonus.ActivationRule.toObject, includeInstance),
|
|
19554
19554
|
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
|
19555
|
-
proto.bonus.BetsRange.toObject, includeInstance)
|
|
19555
|
+
proto.bonus.BetsRange.toObject, includeInstance),
|
|
19556
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
19556
19557
|
};
|
|
19557
19558
|
|
|
19558
19559
|
if (includeInstance) {
|
|
@@ -19656,6 +19657,10 @@ proto.bonus.DepositEligibleUserBonusItem.deserializeBinaryFromReader = function(
|
|
|
19656
19657
|
reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
|
|
19657
19658
|
msg.addBetsRange(value);
|
|
19658
19659
|
break;
|
|
19660
|
+
case 17:
|
|
19661
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19662
|
+
msg.setBonusId(value);
|
|
19663
|
+
break;
|
|
19659
19664
|
default:
|
|
19660
19665
|
reader.skipField();
|
|
19661
19666
|
break;
|
|
@@ -19685,8 +19690,8 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.serializeBinary = function()
|
|
|
19685
19690
|
*/
|
|
19686
19691
|
proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
19687
19692
|
var f = undefined;
|
|
19688
|
-
f =
|
|
19689
|
-
if (f
|
|
19693
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
19694
|
+
if (f != null) {
|
|
19690
19695
|
writer.writeInt32(
|
|
19691
19696
|
1,
|
|
19692
19697
|
f
|
|
@@ -19800,6 +19805,13 @@ proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(mess
|
|
|
19800
19805
|
proto.bonus.BetsRange.serializeBinaryToWriter
|
|
19801
19806
|
);
|
|
19802
19807
|
}
|
|
19808
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
|
19809
|
+
if (f != null) {
|
|
19810
|
+
writer.writeInt32(
|
|
19811
|
+
17,
|
|
19812
|
+
f
|
|
19813
|
+
);
|
|
19814
|
+
}
|
|
19803
19815
|
};
|
|
19804
19816
|
|
|
19805
19817
|
|
|
@@ -19817,7 +19829,25 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.getUserBonusId = function() {
|
|
|
19817
19829
|
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
19818
19830
|
*/
|
|
19819
19831
|
proto.bonus.DepositEligibleUserBonusItem.prototype.setUserBonusId = function(value) {
|
|
19820
|
-
return jspb.Message.
|
|
19832
|
+
return jspb.Message.setField(this, 1, value);
|
|
19833
|
+
};
|
|
19834
|
+
|
|
19835
|
+
|
|
19836
|
+
/**
|
|
19837
|
+
* Clears the field making it undefined.
|
|
19838
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
19839
|
+
*/
|
|
19840
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearUserBonusId = function() {
|
|
19841
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
19842
|
+
};
|
|
19843
|
+
|
|
19844
|
+
|
|
19845
|
+
/**
|
|
19846
|
+
* Returns whether this field is set.
|
|
19847
|
+
* @return {boolean}
|
|
19848
|
+
*/
|
|
19849
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasUserBonusId = function() {
|
|
19850
|
+
return jspb.Message.getField(this, 1) != null;
|
|
19821
19851
|
};
|
|
19822
19852
|
|
|
19823
19853
|
|
|
@@ -20367,6 +20397,42 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.clearBetsRangeList = function
|
|
|
20367
20397
|
};
|
|
20368
20398
|
|
|
20369
20399
|
|
|
20400
|
+
/**
|
|
20401
|
+
* optional int32 bonus_id = 17;
|
|
20402
|
+
* @return {number}
|
|
20403
|
+
*/
|
|
20404
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getBonusId = function() {
|
|
20405
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
20406
|
+
};
|
|
20407
|
+
|
|
20408
|
+
|
|
20409
|
+
/**
|
|
20410
|
+
* @param {number} value
|
|
20411
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20412
|
+
*/
|
|
20413
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setBonusId = function(value) {
|
|
20414
|
+
return jspb.Message.setField(this, 17, value);
|
|
20415
|
+
};
|
|
20416
|
+
|
|
20417
|
+
|
|
20418
|
+
/**
|
|
20419
|
+
* Clears the field making it undefined.
|
|
20420
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20421
|
+
*/
|
|
20422
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearBonusId = function() {
|
|
20423
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
20424
|
+
};
|
|
20425
|
+
|
|
20426
|
+
|
|
20427
|
+
/**
|
|
20428
|
+
* Returns whether this field is set.
|
|
20429
|
+
* @return {boolean}
|
|
20430
|
+
*/
|
|
20431
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasBonusId = function() {
|
|
20432
|
+
return jspb.Message.getField(this, 17) != null;
|
|
20433
|
+
};
|
|
20434
|
+
|
|
20435
|
+
|
|
20370
20436
|
|
|
20371
20437
|
|
|
20372
20438
|
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
package/payment/payment_pb.js
CHANGED
|
@@ -14695,7 +14695,8 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
|
|
|
14695
14695
|
ifsc: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
14696
14696
|
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 45, ""),
|
|
14697
14697
|
requestCurrency: jspb.Message.getFieldWithDefault(msg, 46, ""),
|
|
14698
|
-
antifraudSession: jspb.Message.getFieldWithDefault(msg, 47, "")
|
|
14698
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 47, ""),
|
|
14699
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 48, 0)
|
|
14699
14700
|
};
|
|
14700
14701
|
|
|
14701
14702
|
if (includeInstance) {
|
|
@@ -14920,6 +14921,10 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
|
|
|
14920
14921
|
var value = /** @type {string} */ (reader.readString());
|
|
14921
14922
|
msg.setAntifraudSession(value);
|
|
14922
14923
|
break;
|
|
14924
|
+
case 48:
|
|
14925
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14926
|
+
msg.setBonusId(value);
|
|
14927
|
+
break;
|
|
14923
14928
|
default:
|
|
14924
14929
|
reader.skipField();
|
|
14925
14930
|
break;
|
|
@@ -15278,6 +15283,13 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
|
|
|
15278
15283
|
f
|
|
15279
15284
|
);
|
|
15280
15285
|
}
|
|
15286
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 48));
|
|
15287
|
+
if (f != null) {
|
|
15288
|
+
writer.writeInt32(
|
|
15289
|
+
48,
|
|
15290
|
+
f
|
|
15291
|
+
);
|
|
15292
|
+
}
|
|
15281
15293
|
};
|
|
15282
15294
|
|
|
15283
15295
|
|
|
@@ -16919,6 +16931,42 @@ proto.payment.AttemptDepositRequest.prototype.hasAntifraudSession = function() {
|
|
|
16919
16931
|
};
|
|
16920
16932
|
|
|
16921
16933
|
|
|
16934
|
+
/**
|
|
16935
|
+
* optional int32 bonus_id = 48;
|
|
16936
|
+
* @return {number}
|
|
16937
|
+
*/
|
|
16938
|
+
proto.payment.AttemptDepositRequest.prototype.getBonusId = function() {
|
|
16939
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 48, 0));
|
|
16940
|
+
};
|
|
16941
|
+
|
|
16942
|
+
|
|
16943
|
+
/**
|
|
16944
|
+
* @param {number} value
|
|
16945
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
16946
|
+
*/
|
|
16947
|
+
proto.payment.AttemptDepositRequest.prototype.setBonusId = function(value) {
|
|
16948
|
+
return jspb.Message.setField(this, 48, value);
|
|
16949
|
+
};
|
|
16950
|
+
|
|
16951
|
+
|
|
16952
|
+
/**
|
|
16953
|
+
* Clears the field making it undefined.
|
|
16954
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
16955
|
+
*/
|
|
16956
|
+
proto.payment.AttemptDepositRequest.prototype.clearBonusId = function() {
|
|
16957
|
+
return jspb.Message.setField(this, 48, undefined);
|
|
16958
|
+
};
|
|
16959
|
+
|
|
16960
|
+
|
|
16961
|
+
/**
|
|
16962
|
+
* Returns whether this field is set.
|
|
16963
|
+
* @return {boolean}
|
|
16964
|
+
*/
|
|
16965
|
+
proto.payment.AttemptDepositRequest.prototype.hasBonusId = function() {
|
|
16966
|
+
return jspb.Message.getField(this, 48) != null;
|
|
16967
|
+
};
|
|
16968
|
+
|
|
16969
|
+
|
|
16922
16970
|
|
|
16923
16971
|
|
|
16924
16972
|
|