protobuf-platform 1.0.160 → 1.0.162
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 +3 -0
- package/bonus/bonus_pb.js +145 -1
- package/game/game.proto +2 -2
- package/game/game_pb.js +16 -16
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -135,6 +135,9 @@ message UserBonusItem {
|
|
135
135
|
optional int32 claiming_end_in_milliseconds = 19;
|
136
136
|
optional int32 activation_end_in_milliseconds = 20;
|
137
137
|
optional int32 wagering_end_in_milliseconds = 21;
|
138
|
+
optional bool has_frees_spins = 22;
|
139
|
+
optional string status_free_spins = 23;
|
140
|
+
optional float reward_free_spins = 24;
|
138
141
|
}
|
139
142
|
message FreeSpinItem {
|
140
143
|
int32 game_id = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -5182,7 +5182,10 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
|
|
5182
5182
|
canceledAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
5183
5183
|
claimingEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
5184
5184
|
activationEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
5185
|
-
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0)
|
5185
|
+
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
5186
|
+
hasFreesSpins: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
5187
|
+
statusFreeSpins: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
5188
|
+
rewardFreeSpins: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0)
|
5186
5189
|
};
|
5187
5190
|
|
5188
5191
|
if (includeInstance) {
|
@@ -5305,6 +5308,18 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
5305
5308
|
var value = /** @type {number} */ (reader.readInt32());
|
5306
5309
|
msg.setWageringEndInMilliseconds(value);
|
5307
5310
|
break;
|
5311
|
+
case 22:
|
5312
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
5313
|
+
msg.setHasFreesSpins(value);
|
5314
|
+
break;
|
5315
|
+
case 23:
|
5316
|
+
var value = /** @type {string} */ (reader.readString());
|
5317
|
+
msg.setStatusFreeSpins(value);
|
5318
|
+
break;
|
5319
|
+
case 24:
|
5320
|
+
var value = /** @type {number} */ (reader.readFloat());
|
5321
|
+
msg.setRewardFreeSpins(value);
|
5322
|
+
break;
|
5308
5323
|
default:
|
5309
5324
|
reader.skipField();
|
5310
5325
|
break;
|
@@ -5483,6 +5498,27 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
5483
5498
|
f
|
5484
5499
|
);
|
5485
5500
|
}
|
5501
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 22));
|
5502
|
+
if (f != null) {
|
5503
|
+
writer.writeBool(
|
5504
|
+
22,
|
5505
|
+
f
|
5506
|
+
);
|
5507
|
+
}
|
5508
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 23));
|
5509
|
+
if (f != null) {
|
5510
|
+
writer.writeString(
|
5511
|
+
23,
|
5512
|
+
f
|
5513
|
+
);
|
5514
|
+
}
|
5515
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 24));
|
5516
|
+
if (f != null) {
|
5517
|
+
writer.writeFloat(
|
5518
|
+
24,
|
5519
|
+
f
|
5520
|
+
);
|
5521
|
+
}
|
5486
5522
|
};
|
5487
5523
|
|
5488
5524
|
|
@@ -6245,6 +6281,114 @@ proto.bonus.UserBonusItem.prototype.hasWageringEndInMilliseconds = function() {
|
|
6245
6281
|
};
|
6246
6282
|
|
6247
6283
|
|
6284
|
+
/**
|
6285
|
+
* optional bool has_frees_spins = 22;
|
6286
|
+
* @return {boolean}
|
6287
|
+
*/
|
6288
|
+
proto.bonus.UserBonusItem.prototype.getHasFreesSpins = function() {
|
6289
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
6290
|
+
};
|
6291
|
+
|
6292
|
+
|
6293
|
+
/**
|
6294
|
+
* @param {boolean} value
|
6295
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6296
|
+
*/
|
6297
|
+
proto.bonus.UserBonusItem.prototype.setHasFreesSpins = function(value) {
|
6298
|
+
return jspb.Message.setField(this, 22, value);
|
6299
|
+
};
|
6300
|
+
|
6301
|
+
|
6302
|
+
/**
|
6303
|
+
* Clears the field making it undefined.
|
6304
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6305
|
+
*/
|
6306
|
+
proto.bonus.UserBonusItem.prototype.clearHasFreesSpins = function() {
|
6307
|
+
return jspb.Message.setField(this, 22, undefined);
|
6308
|
+
};
|
6309
|
+
|
6310
|
+
|
6311
|
+
/**
|
6312
|
+
* Returns whether this field is set.
|
6313
|
+
* @return {boolean}
|
6314
|
+
*/
|
6315
|
+
proto.bonus.UserBonusItem.prototype.hasHasFreesSpins = function() {
|
6316
|
+
return jspb.Message.getField(this, 22) != null;
|
6317
|
+
};
|
6318
|
+
|
6319
|
+
|
6320
|
+
/**
|
6321
|
+
* optional string status_free_spins = 23;
|
6322
|
+
* @return {string}
|
6323
|
+
*/
|
6324
|
+
proto.bonus.UserBonusItem.prototype.getStatusFreeSpins = function() {
|
6325
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
6326
|
+
};
|
6327
|
+
|
6328
|
+
|
6329
|
+
/**
|
6330
|
+
* @param {string} value
|
6331
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6332
|
+
*/
|
6333
|
+
proto.bonus.UserBonusItem.prototype.setStatusFreeSpins = function(value) {
|
6334
|
+
return jspb.Message.setField(this, 23, value);
|
6335
|
+
};
|
6336
|
+
|
6337
|
+
|
6338
|
+
/**
|
6339
|
+
* Clears the field making it undefined.
|
6340
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6341
|
+
*/
|
6342
|
+
proto.bonus.UserBonusItem.prototype.clearStatusFreeSpins = function() {
|
6343
|
+
return jspb.Message.setField(this, 23, undefined);
|
6344
|
+
};
|
6345
|
+
|
6346
|
+
|
6347
|
+
/**
|
6348
|
+
* Returns whether this field is set.
|
6349
|
+
* @return {boolean}
|
6350
|
+
*/
|
6351
|
+
proto.bonus.UserBonusItem.prototype.hasStatusFreeSpins = function() {
|
6352
|
+
return jspb.Message.getField(this, 23) != null;
|
6353
|
+
};
|
6354
|
+
|
6355
|
+
|
6356
|
+
/**
|
6357
|
+
* optional float reward_free_spins = 24;
|
6358
|
+
* @return {number}
|
6359
|
+
*/
|
6360
|
+
proto.bonus.UserBonusItem.prototype.getRewardFreeSpins = function() {
|
6361
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 24, 0.0));
|
6362
|
+
};
|
6363
|
+
|
6364
|
+
|
6365
|
+
/**
|
6366
|
+
* @param {number} value
|
6367
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6368
|
+
*/
|
6369
|
+
proto.bonus.UserBonusItem.prototype.setRewardFreeSpins = function(value) {
|
6370
|
+
return jspb.Message.setField(this, 24, value);
|
6371
|
+
};
|
6372
|
+
|
6373
|
+
|
6374
|
+
/**
|
6375
|
+
* Clears the field making it undefined.
|
6376
|
+
* @return {!proto.bonus.UserBonusItem} returns this
|
6377
|
+
*/
|
6378
|
+
proto.bonus.UserBonusItem.prototype.clearRewardFreeSpins = function() {
|
6379
|
+
return jspb.Message.setField(this, 24, undefined);
|
6380
|
+
};
|
6381
|
+
|
6382
|
+
|
6383
|
+
/**
|
6384
|
+
* Returns whether this field is set.
|
6385
|
+
* @return {boolean}
|
6386
|
+
*/
|
6387
|
+
proto.bonus.UserBonusItem.prototype.hasRewardFreeSpins = function() {
|
6388
|
+
return jspb.Message.getField(this, 24) != null;
|
6389
|
+
};
|
6390
|
+
|
6391
|
+
|
6248
6392
|
|
6249
6393
|
|
6250
6394
|
|
package/game/game.proto
CHANGED
@@ -85,14 +85,14 @@ message PaginationRequest {
|
|
85
85
|
message GameSearchRequest {
|
86
86
|
optional int32 is_active = 1;
|
87
87
|
optional int32 is_deactivated = 2;
|
88
|
-
optional
|
88
|
+
optional bool has_category = 3;
|
89
89
|
optional string game_title = 4;
|
90
90
|
repeated int32 category_ids = 5;
|
91
91
|
repeated int32 collection_ids = 6;
|
92
92
|
repeated int32 tag_ids = 7;
|
93
93
|
repeated string geos = 8;
|
94
94
|
repeated int32 provider_ids = 9;
|
95
|
-
optional
|
95
|
+
optional int32 is_mobile = 10;
|
96
96
|
optional string user_geo = 11;
|
97
97
|
optional bool admin_side = 12;
|
98
98
|
}
|
package/game/game_pb.js
CHANGED
@@ -2349,14 +2349,14 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
2349
2349
|
var f, obj = {
|
2350
2350
|
isActive: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2351
2351
|
isDeactivated: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
2352
|
-
hasCategory: jspb.Message.
|
2352
|
+
hasCategory: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
2353
2353
|
gameTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
2354
2354
|
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
2355
2355
|
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
2356
2356
|
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
2357
2357
|
geosList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
2358
2358
|
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
2359
|
-
isMobile: jspb.Message.
|
2359
|
+
isMobile: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
2360
2360
|
userGeo: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
2361
2361
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
2362
2362
|
};
|
@@ -2404,7 +2404,7 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2404
2404
|
msg.setIsDeactivated(value);
|
2405
2405
|
break;
|
2406
2406
|
case 3:
|
2407
|
-
var value = /** @type {
|
2407
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
2408
2408
|
msg.setHasCategory(value);
|
2409
2409
|
break;
|
2410
2410
|
case 4:
|
@@ -2440,7 +2440,7 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2440
2440
|
}
|
2441
2441
|
break;
|
2442
2442
|
case 10:
|
2443
|
-
var value = /** @type {
|
2443
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2444
2444
|
msg.setIsMobile(value);
|
2445
2445
|
break;
|
2446
2446
|
case 11:
|
@@ -2494,9 +2494,9 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
2494
2494
|
f
|
2495
2495
|
);
|
2496
2496
|
}
|
2497
|
-
f = /** @type {
|
2497
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
2498
2498
|
if (f != null) {
|
2499
|
-
writer.
|
2499
|
+
writer.writeBool(
|
2500
2500
|
3,
|
2501
2501
|
f
|
2502
2502
|
);
|
@@ -2543,9 +2543,9 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
2543
2543
|
f
|
2544
2544
|
);
|
2545
2545
|
}
|
2546
|
-
f = /** @type {
|
2546
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
2547
2547
|
if (f != null) {
|
2548
|
-
writer.
|
2548
|
+
writer.writeInt32(
|
2549
2549
|
10,
|
2550
2550
|
f
|
2551
2551
|
);
|
@@ -2640,16 +2640,16 @@ proto.game.GameSearchRequest.prototype.hasIsDeactivated = function() {
|
|
2640
2640
|
|
2641
2641
|
|
2642
2642
|
/**
|
2643
|
-
* optional
|
2644
|
-
* @return {
|
2643
|
+
* optional bool has_category = 3;
|
2644
|
+
* @return {boolean}
|
2645
2645
|
*/
|
2646
2646
|
proto.game.GameSearchRequest.prototype.getHasCategory = function() {
|
2647
|
-
return /** @type {
|
2647
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
2648
2648
|
};
|
2649
2649
|
|
2650
2650
|
|
2651
2651
|
/**
|
2652
|
-
* @param {
|
2652
|
+
* @param {boolean} value
|
2653
2653
|
* @return {!proto.game.GameSearchRequest} returns this
|
2654
2654
|
*/
|
2655
2655
|
proto.game.GameSearchRequest.prototype.setHasCategory = function(value) {
|
@@ -2897,16 +2897,16 @@ proto.game.GameSearchRequest.prototype.clearProviderIdsList = function() {
|
|
2897
2897
|
|
2898
2898
|
|
2899
2899
|
/**
|
2900
|
-
* optional
|
2901
|
-
* @return {
|
2900
|
+
* optional int32 is_mobile = 10;
|
2901
|
+
* @return {number}
|
2902
2902
|
*/
|
2903
2903
|
proto.game.GameSearchRequest.prototype.getIsMobile = function() {
|
2904
|
-
return /** @type {
|
2904
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
2905
2905
|
};
|
2906
2906
|
|
2907
2907
|
|
2908
2908
|
/**
|
2909
|
-
* @param {
|
2909
|
+
* @param {number} value
|
2910
2910
|
* @return {!proto.game.GameSearchRequest} returns this
|
2911
2911
|
*/
|
2912
2912
|
proto.game.GameSearchRequest.prototype.setIsMobile = function(value) {
|