protobuf-platform 1.1.39 → 1.1.49
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 +5 -4
- package/bonus/bonus_pb.js +77 -29
- package/game/game.proto +2 -0
- package/game/game_pb.js +97 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -57,10 +57,11 @@ message BonusRewardsRequest {
|
|
57
57
|
string currency = 2;
|
58
58
|
optional float deposit_static = 3;
|
59
59
|
optional float deposit_percentage = 4;
|
60
|
-
optional float
|
61
|
-
optional float
|
62
|
-
optional float
|
63
|
-
optional
|
60
|
+
optional float deposit_percentage_max = 5;
|
61
|
+
optional float coins = 6;
|
62
|
+
optional float loyalty = 7;
|
63
|
+
optional float ranking = 8;
|
64
|
+
optional string free_spins_config = 9;
|
64
65
|
}
|
65
66
|
message BonusBetRangesRequest {
|
66
67
|
int32 bonus_id = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -2135,10 +2135,11 @@ proto.bonus.BonusRewardsRequest.toObject = function(includeInstance, msg) {
|
|
2135
2135
|
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2136
2136
|
depositStatic: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
2137
2137
|
depositPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2138
|
+
depositPercentageMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
2139
|
+
coins: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
2140
|
+
loyalty: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
2141
|
+
ranking: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
2142
|
+
freeSpinsConfig: jspb.Message.getFieldWithDefault(msg, 9, "")
|
2142
2143
|
};
|
2143
2144
|
|
2144
2145
|
if (includeInstance) {
|
@@ -2193,17 +2194,21 @@ proto.bonus.BonusRewardsRequest.deserializeBinaryFromReader = function(msg, read
|
|
2193
2194
|
break;
|
2194
2195
|
case 5:
|
2195
2196
|
var value = /** @type {number} */ (reader.readFloat());
|
2196
|
-
msg.
|
2197
|
+
msg.setDepositPercentageMax(value);
|
2197
2198
|
break;
|
2198
2199
|
case 6:
|
2199
2200
|
var value = /** @type {number} */ (reader.readFloat());
|
2200
|
-
msg.
|
2201
|
+
msg.setCoins(value);
|
2201
2202
|
break;
|
2202
2203
|
case 7:
|
2203
2204
|
var value = /** @type {number} */ (reader.readFloat());
|
2204
|
-
msg.
|
2205
|
+
msg.setLoyalty(value);
|
2205
2206
|
break;
|
2206
2207
|
case 8:
|
2208
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2209
|
+
msg.setRanking(value);
|
2210
|
+
break;
|
2211
|
+
case 9:
|
2207
2212
|
var value = /** @type {string} */ (reader.readString());
|
2208
2213
|
msg.setFreeSpinsConfig(value);
|
2209
2214
|
break;
|
@@ -2285,13 +2290,20 @@ proto.bonus.BonusRewardsRequest.serializeBinaryToWriter = function(message, writ
|
|
2285
2290
|
f
|
2286
2291
|
);
|
2287
2292
|
}
|
2288
|
-
f = /** @type {
|
2293
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
2289
2294
|
if (f != null) {
|
2290
|
-
writer.
|
2295
|
+
writer.writeFloat(
|
2291
2296
|
8,
|
2292
2297
|
f
|
2293
2298
|
);
|
2294
2299
|
}
|
2300
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
2301
|
+
if (f != null) {
|
2302
|
+
writer.writeString(
|
2303
|
+
9,
|
2304
|
+
f
|
2305
|
+
);
|
2306
|
+
}
|
2295
2307
|
};
|
2296
2308
|
|
2297
2309
|
|
@@ -2404,10 +2416,10 @@ proto.bonus.BonusRewardsRequest.prototype.hasDepositPercentage = function() {
|
|
2404
2416
|
|
2405
2417
|
|
2406
2418
|
/**
|
2407
|
-
* optional float
|
2419
|
+
* optional float deposit_percentage_max = 5;
|
2408
2420
|
* @return {number}
|
2409
2421
|
*/
|
2410
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2422
|
+
proto.bonus.BonusRewardsRequest.prototype.getDepositPercentageMax = function() {
|
2411
2423
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
2412
2424
|
};
|
2413
2425
|
|
@@ -2416,7 +2428,7 @@ proto.bonus.BonusRewardsRequest.prototype.getCoins = function() {
|
|
2416
2428
|
* @param {number} value
|
2417
2429
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2418
2430
|
*/
|
2419
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2431
|
+
proto.bonus.BonusRewardsRequest.prototype.setDepositPercentageMax = function(value) {
|
2420
2432
|
return jspb.Message.setField(this, 5, value);
|
2421
2433
|
};
|
2422
2434
|
|
@@ -2425,7 +2437,7 @@ proto.bonus.BonusRewardsRequest.prototype.setCoins = function(value) {
|
|
2425
2437
|
* Clears the field making it undefined.
|
2426
2438
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2427
2439
|
*/
|
2428
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2440
|
+
proto.bonus.BonusRewardsRequest.prototype.clearDepositPercentageMax = function() {
|
2429
2441
|
return jspb.Message.setField(this, 5, undefined);
|
2430
2442
|
};
|
2431
2443
|
|
@@ -2434,16 +2446,16 @@ proto.bonus.BonusRewardsRequest.prototype.clearCoins = function() {
|
|
2434
2446
|
* Returns whether this field is set.
|
2435
2447
|
* @return {boolean}
|
2436
2448
|
*/
|
2437
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2449
|
+
proto.bonus.BonusRewardsRequest.prototype.hasDepositPercentageMax = function() {
|
2438
2450
|
return jspb.Message.getField(this, 5) != null;
|
2439
2451
|
};
|
2440
2452
|
|
2441
2453
|
|
2442
2454
|
/**
|
2443
|
-
* optional float
|
2455
|
+
* optional float coins = 6;
|
2444
2456
|
* @return {number}
|
2445
2457
|
*/
|
2446
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2458
|
+
proto.bonus.BonusRewardsRequest.prototype.getCoins = function() {
|
2447
2459
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
2448
2460
|
};
|
2449
2461
|
|
@@ -2452,7 +2464,7 @@ proto.bonus.BonusRewardsRequest.prototype.getLoyalty = function() {
|
|
2452
2464
|
* @param {number} value
|
2453
2465
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2454
2466
|
*/
|
2455
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2467
|
+
proto.bonus.BonusRewardsRequest.prototype.setCoins = function(value) {
|
2456
2468
|
return jspb.Message.setField(this, 6, value);
|
2457
2469
|
};
|
2458
2470
|
|
@@ -2461,7 +2473,7 @@ proto.bonus.BonusRewardsRequest.prototype.setLoyalty = function(value) {
|
|
2461
2473
|
* Clears the field making it undefined.
|
2462
2474
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2463
2475
|
*/
|
2464
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2476
|
+
proto.bonus.BonusRewardsRequest.prototype.clearCoins = function() {
|
2465
2477
|
return jspb.Message.setField(this, 6, undefined);
|
2466
2478
|
};
|
2467
2479
|
|
@@ -2470,16 +2482,16 @@ proto.bonus.BonusRewardsRequest.prototype.clearLoyalty = function() {
|
|
2470
2482
|
* Returns whether this field is set.
|
2471
2483
|
* @return {boolean}
|
2472
2484
|
*/
|
2473
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2485
|
+
proto.bonus.BonusRewardsRequest.prototype.hasCoins = function() {
|
2474
2486
|
return jspb.Message.getField(this, 6) != null;
|
2475
2487
|
};
|
2476
2488
|
|
2477
2489
|
|
2478
2490
|
/**
|
2479
|
-
* optional float
|
2491
|
+
* optional float loyalty = 7;
|
2480
2492
|
* @return {number}
|
2481
2493
|
*/
|
2482
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2494
|
+
proto.bonus.BonusRewardsRequest.prototype.getLoyalty = function() {
|
2483
2495
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
2484
2496
|
};
|
2485
2497
|
|
@@ -2488,7 +2500,7 @@ proto.bonus.BonusRewardsRequest.prototype.getRanking = function() {
|
|
2488
2500
|
* @param {number} value
|
2489
2501
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2490
2502
|
*/
|
2491
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2503
|
+
proto.bonus.BonusRewardsRequest.prototype.setLoyalty = function(value) {
|
2492
2504
|
return jspb.Message.setField(this, 7, value);
|
2493
2505
|
};
|
2494
2506
|
|
@@ -2497,7 +2509,7 @@ proto.bonus.BonusRewardsRequest.prototype.setRanking = function(value) {
|
|
2497
2509
|
* Clears the field making it undefined.
|
2498
2510
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2499
2511
|
*/
|
2500
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2512
|
+
proto.bonus.BonusRewardsRequest.prototype.clearLoyalty = function() {
|
2501
2513
|
return jspb.Message.setField(this, 7, undefined);
|
2502
2514
|
};
|
2503
2515
|
|
@@ -2506,17 +2518,53 @@ proto.bonus.BonusRewardsRequest.prototype.clearRanking = function() {
|
|
2506
2518
|
* Returns whether this field is set.
|
2507
2519
|
* @return {boolean}
|
2508
2520
|
*/
|
2509
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2521
|
+
proto.bonus.BonusRewardsRequest.prototype.hasLoyalty = function() {
|
2510
2522
|
return jspb.Message.getField(this, 7) != null;
|
2511
2523
|
};
|
2512
2524
|
|
2513
2525
|
|
2514
2526
|
/**
|
2515
|
-
* optional
|
2527
|
+
* optional float ranking = 8;
|
2528
|
+
* @return {number}
|
2529
|
+
*/
|
2530
|
+
proto.bonus.BonusRewardsRequest.prototype.getRanking = function() {
|
2531
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
2532
|
+
};
|
2533
|
+
|
2534
|
+
|
2535
|
+
/**
|
2536
|
+
* @param {number} value
|
2537
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2538
|
+
*/
|
2539
|
+
proto.bonus.BonusRewardsRequest.prototype.setRanking = function(value) {
|
2540
|
+
return jspb.Message.setField(this, 8, value);
|
2541
|
+
};
|
2542
|
+
|
2543
|
+
|
2544
|
+
/**
|
2545
|
+
* Clears the field making it undefined.
|
2546
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2547
|
+
*/
|
2548
|
+
proto.bonus.BonusRewardsRequest.prototype.clearRanking = function() {
|
2549
|
+
return jspb.Message.setField(this, 8, undefined);
|
2550
|
+
};
|
2551
|
+
|
2552
|
+
|
2553
|
+
/**
|
2554
|
+
* Returns whether this field is set.
|
2555
|
+
* @return {boolean}
|
2556
|
+
*/
|
2557
|
+
proto.bonus.BonusRewardsRequest.prototype.hasRanking = function() {
|
2558
|
+
return jspb.Message.getField(this, 8) != null;
|
2559
|
+
};
|
2560
|
+
|
2561
|
+
|
2562
|
+
/**
|
2563
|
+
* optional string free_spins_config = 9;
|
2516
2564
|
* @return {string}
|
2517
2565
|
*/
|
2518
2566
|
proto.bonus.BonusRewardsRequest.prototype.getFreeSpinsConfig = function() {
|
2519
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
2567
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
2520
2568
|
};
|
2521
2569
|
|
2522
2570
|
|
@@ -2525,7 +2573,7 @@ proto.bonus.BonusRewardsRequest.prototype.getFreeSpinsConfig = function() {
|
|
2525
2573
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2526
2574
|
*/
|
2527
2575
|
proto.bonus.BonusRewardsRequest.prototype.setFreeSpinsConfig = function(value) {
|
2528
|
-
return jspb.Message.setField(this,
|
2576
|
+
return jspb.Message.setField(this, 9, value);
|
2529
2577
|
};
|
2530
2578
|
|
2531
2579
|
|
@@ -2534,7 +2582,7 @@ proto.bonus.BonusRewardsRequest.prototype.setFreeSpinsConfig = function(value) {
|
|
2534
2582
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2535
2583
|
*/
|
2536
2584
|
proto.bonus.BonusRewardsRequest.prototype.clearFreeSpinsConfig = function() {
|
2537
|
-
return jspb.Message.setField(this,
|
2585
|
+
return jspb.Message.setField(this, 9, undefined);
|
2538
2586
|
};
|
2539
2587
|
|
2540
2588
|
|
@@ -2543,7 +2591,7 @@ proto.bonus.BonusRewardsRequest.prototype.clearFreeSpinsConfig = function() {
|
|
2543
2591
|
* @return {boolean}
|
2544
2592
|
*/
|
2545
2593
|
proto.bonus.BonusRewardsRequest.prototype.hasFreeSpinsConfig = function() {
|
2546
|
-
return jspb.Message.getField(this,
|
2594
|
+
return jspb.Message.getField(this, 9) != null;
|
2547
2595
|
};
|
2548
2596
|
|
2549
2597
|
|
package/game/game.proto
CHANGED
@@ -126,6 +126,8 @@ message WagerSearchRequest {
|
|
126
126
|
optional int32 wager_id = 1;
|
127
127
|
optional string game_title = 2;
|
128
128
|
repeated int32 wager_ids = 3;
|
129
|
+
optional string geo = 4;
|
130
|
+
optional bool is_mobile = 5;
|
129
131
|
}
|
130
132
|
message CashBackSearchRequest {
|
131
133
|
optional int32 cashback_id = 1;
|
package/game/game_pb.js
CHANGED
@@ -3661,7 +3661,9 @@ proto.game.WagerSearchRequest.toObject = function(includeInstance, msg) {
|
|
3661
3661
|
var f, obj = {
|
3662
3662
|
wagerId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
3663
3663
|
gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3664
|
-
wagerIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
3664
|
+
wagerIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
3665
|
+
geo: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
3666
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
3665
3667
|
};
|
3666
3668
|
|
3667
3669
|
if (includeInstance) {
|
@@ -3712,6 +3714,14 @@ proto.game.WagerSearchRequest.deserializeBinaryFromReader = function(msg, reader
|
|
3712
3714
|
msg.addWagerIds(values[i]);
|
3713
3715
|
}
|
3714
3716
|
break;
|
3717
|
+
case 4:
|
3718
|
+
var value = /** @type {string} */ (reader.readString());
|
3719
|
+
msg.setGeo(value);
|
3720
|
+
break;
|
3721
|
+
case 5:
|
3722
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
3723
|
+
msg.setIsMobile(value);
|
3724
|
+
break;
|
3715
3725
|
default:
|
3716
3726
|
reader.skipField();
|
3717
3727
|
break;
|
@@ -3762,6 +3772,20 @@ proto.game.WagerSearchRequest.serializeBinaryToWriter = function(message, writer
|
|
3762
3772
|
f
|
3763
3773
|
);
|
3764
3774
|
}
|
3775
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
3776
|
+
if (f != null) {
|
3777
|
+
writer.writeString(
|
3778
|
+
4,
|
3779
|
+
f
|
3780
|
+
);
|
3781
|
+
}
|
3782
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
3783
|
+
if (f != null) {
|
3784
|
+
writer.writeBool(
|
3785
|
+
5,
|
3786
|
+
f
|
3787
|
+
);
|
3788
|
+
}
|
3765
3789
|
};
|
3766
3790
|
|
3767
3791
|
|
@@ -3874,6 +3898,78 @@ proto.game.WagerSearchRequest.prototype.clearWagerIdsList = function() {
|
|
3874
3898
|
};
|
3875
3899
|
|
3876
3900
|
|
3901
|
+
/**
|
3902
|
+
* optional string geo = 4;
|
3903
|
+
* @return {string}
|
3904
|
+
*/
|
3905
|
+
proto.game.WagerSearchRequest.prototype.getGeo = function() {
|
3906
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
3907
|
+
};
|
3908
|
+
|
3909
|
+
|
3910
|
+
/**
|
3911
|
+
* @param {string} value
|
3912
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
3913
|
+
*/
|
3914
|
+
proto.game.WagerSearchRequest.prototype.setGeo = function(value) {
|
3915
|
+
return jspb.Message.setField(this, 4, value);
|
3916
|
+
};
|
3917
|
+
|
3918
|
+
|
3919
|
+
/**
|
3920
|
+
* Clears the field making it undefined.
|
3921
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
3922
|
+
*/
|
3923
|
+
proto.game.WagerSearchRequest.prototype.clearGeo = function() {
|
3924
|
+
return jspb.Message.setField(this, 4, undefined);
|
3925
|
+
};
|
3926
|
+
|
3927
|
+
|
3928
|
+
/**
|
3929
|
+
* Returns whether this field is set.
|
3930
|
+
* @return {boolean}
|
3931
|
+
*/
|
3932
|
+
proto.game.WagerSearchRequest.prototype.hasGeo = function() {
|
3933
|
+
return jspb.Message.getField(this, 4) != null;
|
3934
|
+
};
|
3935
|
+
|
3936
|
+
|
3937
|
+
/**
|
3938
|
+
* optional bool is_mobile = 5;
|
3939
|
+
* @return {boolean}
|
3940
|
+
*/
|
3941
|
+
proto.game.WagerSearchRequest.prototype.getIsMobile = function() {
|
3942
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
3943
|
+
};
|
3944
|
+
|
3945
|
+
|
3946
|
+
/**
|
3947
|
+
* @param {boolean} value
|
3948
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
3949
|
+
*/
|
3950
|
+
proto.game.WagerSearchRequest.prototype.setIsMobile = function(value) {
|
3951
|
+
return jspb.Message.setField(this, 5, value);
|
3952
|
+
};
|
3953
|
+
|
3954
|
+
|
3955
|
+
/**
|
3956
|
+
* Clears the field making it undefined.
|
3957
|
+
* @return {!proto.game.WagerSearchRequest} returns this
|
3958
|
+
*/
|
3959
|
+
proto.game.WagerSearchRequest.prototype.clearIsMobile = function() {
|
3960
|
+
return jspb.Message.setField(this, 5, undefined);
|
3961
|
+
};
|
3962
|
+
|
3963
|
+
|
3964
|
+
/**
|
3965
|
+
* Returns whether this field is set.
|
3966
|
+
* @return {boolean}
|
3967
|
+
*/
|
3968
|
+
proto.game.WagerSearchRequest.prototype.hasIsMobile = function() {
|
3969
|
+
return jspb.Message.getField(this, 5) != null;
|
3970
|
+
};
|
3971
|
+
|
3972
|
+
|
3877
3973
|
|
3878
3974
|
/**
|
3879
3975
|
* List of repeated fields within this message type.
|