protobuf-platform 1.1.36 → 1.1.38
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 +56 -8
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -103,7 +103,7 @@ message BonusItemRequest {
|
|
103
103
|
optional int32 claim_period_in_hours = 17;
|
104
104
|
optional int32 activation_period_in_hours = 18;
|
105
105
|
optional int32 wagering_period_in_hours = 19;
|
106
|
-
optional string
|
106
|
+
optional string type_data = 20;
|
107
107
|
}
|
108
108
|
message GetBonusRequest {
|
109
109
|
int32 id = 1;
|
@@ -133,6 +133,7 @@ message BonusItem {
|
|
133
133
|
repeated ActivationRule activation_rules = 19;
|
134
134
|
repeated BonusReward rewards = 20;
|
135
135
|
repeated BetsRange bets_range = 21;
|
136
|
+
optional string type_data = 22;
|
136
137
|
}
|
137
138
|
message BonusItemsResponse {
|
138
139
|
repeated BonusItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -3460,7 +3460,7 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
|
|
3460
3460
|
claimPeriodInHours: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
3461
3461
|
activationPeriodInHours: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
3462
3462
|
wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
3463
|
-
|
3463
|
+
typeData: jspb.Message.getFieldWithDefault(msg, 20, "")
|
3464
3464
|
};
|
3465
3465
|
|
3466
3466
|
if (includeInstance) {
|
@@ -3575,7 +3575,7 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
3575
3575
|
break;
|
3576
3576
|
case 20:
|
3577
3577
|
var value = /** @type {string} */ (reader.readString());
|
3578
|
-
msg.
|
3578
|
+
msg.setTypeData(value);
|
3579
3579
|
break;
|
3580
3580
|
default:
|
3581
3581
|
reader.skipField();
|
@@ -4434,10 +4434,10 @@ proto.bonus.BonusItemRequest.prototype.hasWageringPeriodInHours = function() {
|
|
4434
4434
|
|
4435
4435
|
|
4436
4436
|
/**
|
4437
|
-
* optional string
|
4437
|
+
* optional string type_data = 20;
|
4438
4438
|
* @return {string}
|
4439
4439
|
*/
|
4440
|
-
proto.bonus.BonusItemRequest.prototype.
|
4440
|
+
proto.bonus.BonusItemRequest.prototype.getTypeData = function() {
|
4441
4441
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
4442
4442
|
};
|
4443
4443
|
|
@@ -4446,7 +4446,7 @@ proto.bonus.BonusItemRequest.prototype.getStatusData = function() {
|
|
4446
4446
|
* @param {string} value
|
4447
4447
|
* @return {!proto.bonus.BonusItemRequest} returns this
|
4448
4448
|
*/
|
4449
|
-
proto.bonus.BonusItemRequest.prototype.
|
4449
|
+
proto.bonus.BonusItemRequest.prototype.setTypeData = function(value) {
|
4450
4450
|
return jspb.Message.setField(this, 20, value);
|
4451
4451
|
};
|
4452
4452
|
|
@@ -4455,7 +4455,7 @@ proto.bonus.BonusItemRequest.prototype.setStatusData = function(value) {
|
|
4455
4455
|
* Clears the field making it undefined.
|
4456
4456
|
* @return {!proto.bonus.BonusItemRequest} returns this
|
4457
4457
|
*/
|
4458
|
-
proto.bonus.BonusItemRequest.prototype.
|
4458
|
+
proto.bonus.BonusItemRequest.prototype.clearTypeData = function() {
|
4459
4459
|
return jspb.Message.setField(this, 20, undefined);
|
4460
4460
|
};
|
4461
4461
|
|
@@ -4464,7 +4464,7 @@ proto.bonus.BonusItemRequest.prototype.clearStatusData = function() {
|
|
4464
4464
|
* Returns whether this field is set.
|
4465
4465
|
* @return {boolean}
|
4466
4466
|
*/
|
4467
|
-
proto.bonus.BonusItemRequest.prototype.
|
4467
|
+
proto.bonus.BonusItemRequest.prototype.hasTypeData = function() {
|
4468
4468
|
return jspb.Message.getField(this, 20) != null;
|
4469
4469
|
};
|
4470
4470
|
|
@@ -4812,7 +4812,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
4812
4812
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
4813
4813
|
proto.bonus.BonusReward.toObject, includeInstance),
|
4814
4814
|
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
4815
|
-
proto.bonus.BetsRange.toObject, includeInstance)
|
4815
|
+
proto.bonus.BetsRange.toObject, includeInstance),
|
4816
|
+
typeData: jspb.Message.getFieldWithDefault(msg, 22, "")
|
4816
4817
|
};
|
4817
4818
|
|
4818
4819
|
if (includeInstance) {
|
@@ -4936,6 +4937,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
4936
4937
|
reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
|
4937
4938
|
msg.addBetsRange(value);
|
4938
4939
|
break;
|
4940
|
+
case 22:
|
4941
|
+
var value = /** @type {string} */ (reader.readString());
|
4942
|
+
msg.setTypeData(value);
|
4943
|
+
break;
|
4939
4944
|
default:
|
4940
4945
|
reader.skipField();
|
4941
4946
|
break;
|
@@ -5115,6 +5120,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
5115
5120
|
proto.bonus.BetsRange.serializeBinaryToWriter
|
5116
5121
|
);
|
5117
5122
|
}
|
5123
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
5124
|
+
if (f != null) {
|
5125
|
+
writer.writeString(
|
5126
|
+
22,
|
5127
|
+
f
|
5128
|
+
);
|
5129
|
+
}
|
5118
5130
|
};
|
5119
5131
|
|
5120
5132
|
|
@@ -5880,6 +5892,42 @@ proto.bonus.BonusItem.prototype.clearBetsRangeList = function() {
|
|
5880
5892
|
};
|
5881
5893
|
|
5882
5894
|
|
5895
|
+
/**
|
5896
|
+
* optional string type_data = 22;
|
5897
|
+
* @return {string}
|
5898
|
+
*/
|
5899
|
+
proto.bonus.BonusItem.prototype.getTypeData = function() {
|
5900
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
5901
|
+
};
|
5902
|
+
|
5903
|
+
|
5904
|
+
/**
|
5905
|
+
* @param {string} value
|
5906
|
+
* @return {!proto.bonus.BonusItem} returns this
|
5907
|
+
*/
|
5908
|
+
proto.bonus.BonusItem.prototype.setTypeData = function(value) {
|
5909
|
+
return jspb.Message.setField(this, 22, value);
|
5910
|
+
};
|
5911
|
+
|
5912
|
+
|
5913
|
+
/**
|
5914
|
+
* Clears the field making it undefined.
|
5915
|
+
* @return {!proto.bonus.BonusItem} returns this
|
5916
|
+
*/
|
5917
|
+
proto.bonus.BonusItem.prototype.clearTypeData = function() {
|
5918
|
+
return jspb.Message.setField(this, 22, undefined);
|
5919
|
+
};
|
5920
|
+
|
5921
|
+
|
5922
|
+
/**
|
5923
|
+
* Returns whether this field is set.
|
5924
|
+
* @return {boolean}
|
5925
|
+
*/
|
5926
|
+
proto.bonus.BonusItem.prototype.hasTypeData = function() {
|
5927
|
+
return jspb.Message.getField(this, 22) != null;
|
5928
|
+
};
|
5929
|
+
|
5930
|
+
|
5883
5931
|
|
5884
5932
|
/**
|
5885
5933
|
* List of repeated fields within this message type.
|