protobuf-platform 1.0.137 → 1.0.139
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 -1
- package/bonus/bonus_pb.js +152 -8
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -130,6 +130,9 @@ message UserBonusItem {
|
|
130
130
|
optional string activated_at = 16;
|
131
131
|
optional string completed_at = 17;
|
132
132
|
optional string canceled_at = 18;
|
133
|
+
optional string claiming_end_in_milliseconds = 19;
|
134
|
+
optional string activation_end_in_milliseconds = 20;
|
135
|
+
optional string wagering_end_in_milliseconds = 21;
|
133
136
|
}
|
134
137
|
message FreeSpinItem {
|
135
138
|
int32 game_id = 1;
|
@@ -149,7 +152,7 @@ message GetUserBonusRequest {
|
|
149
152
|
int32 user_id = 1;
|
150
153
|
optional int32 bonus_id = 2;
|
151
154
|
optional int32 user_bonus_id = 3;
|
152
|
-
optional string
|
155
|
+
optional string type = 4;
|
153
156
|
optional string currency = 5;
|
154
157
|
optional string country = 6;
|
155
158
|
optional string locale = 7;
|
package/bonus/bonus_pb.js
CHANGED
@@ -5179,7 +5179,10 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
|
|
5179
5179
|
claimedAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
5180
5180
|
activatedAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
5181
5181
|
completedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
5182
|
-
canceledAt: jspb.Message.getFieldWithDefault(msg, 18, "")
|
5182
|
+
canceledAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
5183
|
+
claimingEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
5184
|
+
activationEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
5185
|
+
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, "")
|
5183
5186
|
};
|
5184
5187
|
|
5185
5188
|
if (includeInstance) {
|
@@ -5290,6 +5293,18 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
5290
5293
|
var value = /** @type {string} */ (reader.readString());
|
5291
5294
|
msg.setCanceledAt(value);
|
5292
5295
|
break;
|
5296
|
+
case 19:
|
5297
|
+
var value = /** @type {string} */ (reader.readString());
|
5298
|
+
msg.setClaimingEndInMilliseconds(value);
|
5299
|
+
break;
|
5300
|
+
case 20:
|
5301
|
+
var value = /** @type {string} */ (reader.readString());
|
5302
|
+
msg.setActivationEndInMilliseconds(value);
|
5303
|
+
break;
|
5304
|
+
case 21:
|
5305
|
+
var value = /** @type {string} */ (reader.readString());
|
5306
|
+
msg.setWageringEndInMilliseconds(value);
|
5307
|
+
break;
|
5293
5308
|
default:
|
5294
5309
|
reader.skipField();
|
5295
5310
|
break;
|
@@ -5447,6 +5462,27 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
5447
5462
|
f
|
5448
5463
|
);
|
5449
5464
|
}
|
5465
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
5466
|
+
if (f != null) {
|
5467
|
+
writer.writeString(
|
5468
|
+
19,
|
5469
|
+
f
|
5470
|
+
);
|
5471
|
+
}
|
5472
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
5473
|
+
if (f != null) {
|
5474
|
+
writer.writeString(
|
5475
|
+
20,
|
5476
|
+
f
|
5477
|
+
);
|
5478
|
+
}
|
5479
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
5480
|
+
if (f != null) {
|
5481
|
+
writer.writeString(
|
5482
|
+
21,
|
5483
|
+
f
|
5484
|
+
);
|
5485
|
+
}
|
5450
5486
|
};
|
5451
5487
|
|
5452
5488
|
|
@@ -6101,6 +6137,114 @@ proto.bonus.UserBonusItem.prototype.hasCanceledAt = function() {
|
|
6101
6137
|
};
|
6102
6138
|
|
6103
6139
|
|
6140
|
+
/**
|
6141
|
+
* optional string claiming_end_in_milliseconds = 19;
|
6142
|
+
* @return {string}
|
6143
|
+
*/
|
6144
|
+
proto.bonus.UserBonusItem.prototype.getClaimingEndInMilliseconds = function() {
|
6145
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
6146
|
+
};
|
6147
|
+
|
6148
|
+
|
6149
|
+
/**
|
6150
|
+
* @param {string} value
|
6151
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6152
|
+
*/
|
6153
|
+
proto.bonus.UserBonusItem.prototype.setClaimingEndInMilliseconds = function(value) {
|
6154
|
+
return jspb.Message.setField(this, 19, value);
|
6155
|
+
};
|
6156
|
+
|
6157
|
+
|
6158
|
+
/**
|
6159
|
+
* Clears the field making it undefined.
|
6160
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6161
|
+
*/
|
6162
|
+
proto.bonus.UserBonusItem.prototype.clearClaimingEndInMilliseconds = function() {
|
6163
|
+
return jspb.Message.setField(this, 19, undefined);
|
6164
|
+
};
|
6165
|
+
|
6166
|
+
|
6167
|
+
/**
|
6168
|
+
* Returns whether this field is set.
|
6169
|
+
* @return {boolean}
|
6170
|
+
*/
|
6171
|
+
proto.bonus.UserBonusItem.prototype.hasClaimingEndInMilliseconds = function() {
|
6172
|
+
return jspb.Message.getField(this, 19) != null;
|
6173
|
+
};
|
6174
|
+
|
6175
|
+
|
6176
|
+
/**
|
6177
|
+
* optional string activation_end_in_milliseconds = 20;
|
6178
|
+
* @return {string}
|
6179
|
+
*/
|
6180
|
+
proto.bonus.UserBonusItem.prototype.getActivationEndInMilliseconds = function() {
|
6181
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
6182
|
+
};
|
6183
|
+
|
6184
|
+
|
6185
|
+
/**
|
6186
|
+
* @param {string} value
|
6187
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6188
|
+
*/
|
6189
|
+
proto.bonus.UserBonusItem.prototype.setActivationEndInMilliseconds = function(value) {
|
6190
|
+
return jspb.Message.setField(this, 20, value);
|
6191
|
+
};
|
6192
|
+
|
6193
|
+
|
6194
|
+
/**
|
6195
|
+
* Clears the field making it undefined.
|
6196
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6197
|
+
*/
|
6198
|
+
proto.bonus.UserBonusItem.prototype.clearActivationEndInMilliseconds = function() {
|
6199
|
+
return jspb.Message.setField(this, 20, undefined);
|
6200
|
+
};
|
6201
|
+
|
6202
|
+
|
6203
|
+
/**
|
6204
|
+
* Returns whether this field is set.
|
6205
|
+
* @return {boolean}
|
6206
|
+
*/
|
6207
|
+
proto.bonus.UserBonusItem.prototype.hasActivationEndInMilliseconds = function() {
|
6208
|
+
return jspb.Message.getField(this, 20) != null;
|
6209
|
+
};
|
6210
|
+
|
6211
|
+
|
6212
|
+
/**
|
6213
|
+
* optional string wagering_end_in_milliseconds = 21;
|
6214
|
+
* @return {string}
|
6215
|
+
*/
|
6216
|
+
proto.bonus.UserBonusItem.prototype.getWageringEndInMilliseconds = function() {
|
6217
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
6218
|
+
};
|
6219
|
+
|
6220
|
+
|
6221
|
+
/**
|
6222
|
+
* @param {string} value
|
6223
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6224
|
+
*/
|
6225
|
+
proto.bonus.UserBonusItem.prototype.setWageringEndInMilliseconds = function(value) {
|
6226
|
+
return jspb.Message.setField(this, 21, value);
|
6227
|
+
};
|
6228
|
+
|
6229
|
+
|
6230
|
+
/**
|
6231
|
+
* Clears the field making it undefined.
|
6232
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6233
|
+
*/
|
6234
|
+
proto.bonus.UserBonusItem.prototype.clearWageringEndInMilliseconds = function() {
|
6235
|
+
return jspb.Message.setField(this, 21, undefined);
|
6236
|
+
};
|
6237
|
+
|
6238
|
+
|
6239
|
+
/**
|
6240
|
+
* Returns whether this field is set.
|
6241
|
+
* @return {boolean}
|
6242
|
+
*/
|
6243
|
+
proto.bonus.UserBonusItem.prototype.hasWageringEndInMilliseconds = function() {
|
6244
|
+
return jspb.Message.getField(this, 21) != null;
|
6245
|
+
};
|
6246
|
+
|
6247
|
+
|
6104
6248
|
|
6105
6249
|
|
6106
6250
|
|
@@ -6758,7 +6902,7 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
|
|
6758
6902
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6759
6903
|
bonusId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
6760
6904
|
userBonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
6761
|
-
|
6905
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
6762
6906
|
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
6763
6907
|
country: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
6764
6908
|
locale: jspb.Message.getFieldWithDefault(msg, 7, "")
|
@@ -6812,7 +6956,7 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
|
|
6812
6956
|
break;
|
6813
6957
|
case 4:
|
6814
6958
|
var value = /** @type {string} */ (reader.readString());
|
6815
|
-
msg.
|
6959
|
+
msg.setType(value);
|
6816
6960
|
break;
|
6817
6961
|
case 5:
|
6818
6962
|
var value = /** @type {string} */ (reader.readString());
|
@@ -6998,10 +7142,10 @@ proto.bonus.GetUserBonusRequest.prototype.hasUserBonusId = function() {
|
|
6998
7142
|
|
6999
7143
|
|
7000
7144
|
/**
|
7001
|
-
* optional string
|
7145
|
+
* optional string type = 4;
|
7002
7146
|
* @return {string}
|
7003
7147
|
*/
|
7004
|
-
proto.bonus.GetUserBonusRequest.prototype.
|
7148
|
+
proto.bonus.GetUserBonusRequest.prototype.getType = function() {
|
7005
7149
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
7006
7150
|
};
|
7007
7151
|
|
@@ -7010,7 +7154,7 @@ proto.bonus.GetUserBonusRequest.prototype.getStatus = function() {
|
|
7010
7154
|
* @param {string} value
|
7011
7155
|
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7012
7156
|
*/
|
7013
|
-
proto.bonus.GetUserBonusRequest.prototype.
|
7157
|
+
proto.bonus.GetUserBonusRequest.prototype.setType = function(value) {
|
7014
7158
|
return jspb.Message.setField(this, 4, value);
|
7015
7159
|
};
|
7016
7160
|
|
@@ -7019,7 +7163,7 @@ proto.bonus.GetUserBonusRequest.prototype.setStatus = function(value) {
|
|
7019
7163
|
* Clears the field making it undefined.
|
7020
7164
|
* @return {!proto.bonus.GetUserBonusRequest} returns this
|
7021
7165
|
*/
|
7022
|
-
proto.bonus.GetUserBonusRequest.prototype.
|
7166
|
+
proto.bonus.GetUserBonusRequest.prototype.clearType = function() {
|
7023
7167
|
return jspb.Message.setField(this, 4, undefined);
|
7024
7168
|
};
|
7025
7169
|
|
@@ -7028,7 +7172,7 @@ proto.bonus.GetUserBonusRequest.prototype.clearStatus = function() {
|
|
7028
7172
|
* Returns whether this field is set.
|
7029
7173
|
* @return {boolean}
|
7030
7174
|
*/
|
7031
|
-
proto.bonus.GetUserBonusRequest.prototype.
|
7175
|
+
proto.bonus.GetUserBonusRequest.prototype.hasType = function() {
|
7032
7176
|
return jspb.Message.getField(this, 4) != null;
|
7033
7177
|
};
|
7034
7178
|
|