protobuf-platform 1.2.213 → 1.2.214
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/cashback/cashback.proto +13 -11
- package/cashback/cashback_pb.js +182 -86
- package/package.json +1 -1
package/cashback/cashback.proto
CHANGED
|
@@ -56,10 +56,11 @@ message CashbackItem {
|
|
|
56
56
|
optional string description = 4;
|
|
57
57
|
optional int32 is_active = 5;
|
|
58
58
|
optional string image = 6;
|
|
59
|
-
optional
|
|
60
|
-
optional
|
|
61
|
-
optional string
|
|
62
|
-
|
|
59
|
+
optional string image_cdn = 7;
|
|
60
|
+
optional int32 level = 8;
|
|
61
|
+
optional string type = 9;
|
|
62
|
+
optional string checking_at = 10;
|
|
63
|
+
repeated CashbackConfigItem config = 11;
|
|
63
64
|
}
|
|
64
65
|
message CashbackRequest {
|
|
65
66
|
oneof request {
|
|
@@ -132,15 +133,16 @@ message UserCashbackItem {
|
|
|
132
133
|
|
|
133
134
|
optional string calculated_date = 10;
|
|
134
135
|
optional string image = 11;
|
|
135
|
-
optional string
|
|
136
|
-
optional
|
|
136
|
+
optional string image_cdn = 12;
|
|
137
|
+
optional string status = 13;
|
|
138
|
+
optional float reward = 14;
|
|
137
139
|
|
|
138
|
-
optional CashbackActions actions =
|
|
140
|
+
optional CashbackActions actions = 15;
|
|
139
141
|
|
|
140
|
-
optional int64 remaining_ms =
|
|
141
|
-
optional float remaining_to_min =
|
|
142
|
-
optional int32 cashback_user_id =
|
|
143
|
-
repeated CashbackGamePreview games =
|
|
142
|
+
optional int64 remaining_ms = 16;
|
|
143
|
+
optional float remaining_to_min = 17;
|
|
144
|
+
optional int32 cashback_user_id = 18;
|
|
145
|
+
repeated CashbackGamePreview games = 19;
|
|
144
146
|
}
|
|
145
147
|
message CashbackUserRequest {
|
|
146
148
|
int32 user_id = 1;
|
package/cashback/cashback_pb.js
CHANGED
|
@@ -2330,7 +2330,7 @@ proto.cashback.ItemsBunchRequest.prototype.hasIsActive = function() {
|
|
|
2330
2330
|
* @private {!Array<number>}
|
|
2331
2331
|
* @const
|
|
2332
2332
|
*/
|
|
2333
|
-
proto.cashback.CashbackItem.repeatedFields_ = [
|
|
2333
|
+
proto.cashback.CashbackItem.repeatedFields_ = [11];
|
|
2334
2334
|
|
|
2335
2335
|
|
|
2336
2336
|
|
|
@@ -2368,9 +2368,10 @@ proto.cashback.CashbackItem.toObject = function(includeInstance, msg) {
|
|
|
2368
2368
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2369
2369
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2370
2370
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2371
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2372
|
+
level: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2373
|
+
type: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2374
|
+
checkingAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2374
2375
|
configList: jspb.Message.toObjectList(msg.getConfigList(),
|
|
2375
2376
|
proto.cashback.CashbackConfigItem.toObject, includeInstance)
|
|
2376
2377
|
};
|
|
@@ -2430,18 +2431,22 @@ proto.cashback.CashbackItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2430
2431
|
msg.setImage(value);
|
|
2431
2432
|
break;
|
|
2432
2433
|
case 7:
|
|
2434
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2435
|
+
msg.setImageCdn(value);
|
|
2436
|
+
break;
|
|
2437
|
+
case 8:
|
|
2433
2438
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2434
2439
|
msg.setLevel(value);
|
|
2435
2440
|
break;
|
|
2436
|
-
case
|
|
2441
|
+
case 9:
|
|
2437
2442
|
var value = /** @type {string} */ (reader.readString());
|
|
2438
2443
|
msg.setType(value);
|
|
2439
2444
|
break;
|
|
2440
|
-
case
|
|
2445
|
+
case 10:
|
|
2441
2446
|
var value = /** @type {string} */ (reader.readString());
|
|
2442
2447
|
msg.setCheckingAt(value);
|
|
2443
2448
|
break;
|
|
2444
|
-
case
|
|
2449
|
+
case 11:
|
|
2445
2450
|
var value = new proto.cashback.CashbackConfigItem;
|
|
2446
2451
|
reader.readMessage(value,proto.cashback.CashbackConfigItem.deserializeBinaryFromReader);
|
|
2447
2452
|
msg.addConfig(value);
|
|
@@ -2510,16 +2515,16 @@ proto.cashback.CashbackItem.serializeBinaryToWriter = function(message, writer)
|
|
|
2510
2515
|
f
|
|
2511
2516
|
);
|
|
2512
2517
|
}
|
|
2513
|
-
f = /** @type {
|
|
2518
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
2514
2519
|
if (f != null) {
|
|
2515
|
-
writer.
|
|
2520
|
+
writer.writeString(
|
|
2516
2521
|
7,
|
|
2517
2522
|
f
|
|
2518
2523
|
);
|
|
2519
2524
|
}
|
|
2520
|
-
f = /** @type {
|
|
2525
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
2521
2526
|
if (f != null) {
|
|
2522
|
-
writer.
|
|
2527
|
+
writer.writeInt32(
|
|
2523
2528
|
8,
|
|
2524
2529
|
f
|
|
2525
2530
|
);
|
|
@@ -2531,10 +2536,17 @@ proto.cashback.CashbackItem.serializeBinaryToWriter = function(message, writer)
|
|
|
2531
2536
|
f
|
|
2532
2537
|
);
|
|
2533
2538
|
}
|
|
2539
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
2540
|
+
if (f != null) {
|
|
2541
|
+
writer.writeString(
|
|
2542
|
+
10,
|
|
2543
|
+
f
|
|
2544
|
+
);
|
|
2545
|
+
}
|
|
2534
2546
|
f = message.getConfigList();
|
|
2535
2547
|
if (f.length > 0) {
|
|
2536
2548
|
writer.writeRepeatedMessage(
|
|
2537
|
-
|
|
2549
|
+
11,
|
|
2538
2550
|
f,
|
|
2539
2551
|
proto.cashback.CashbackConfigItem.serializeBinaryToWriter
|
|
2540
2552
|
);
|
|
@@ -2723,11 +2735,47 @@ proto.cashback.CashbackItem.prototype.hasImage = function() {
|
|
|
2723
2735
|
|
|
2724
2736
|
|
|
2725
2737
|
/**
|
|
2726
|
-
* optional
|
|
2738
|
+
* optional string image_cdn = 7;
|
|
2739
|
+
* @return {string}
|
|
2740
|
+
*/
|
|
2741
|
+
proto.cashback.CashbackItem.prototype.getImageCdn = function() {
|
|
2742
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2743
|
+
};
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* @param {string} value
|
|
2748
|
+
* @return {!proto.cashback.CashbackItem} returns this
|
|
2749
|
+
*/
|
|
2750
|
+
proto.cashback.CashbackItem.prototype.setImageCdn = function(value) {
|
|
2751
|
+
return jspb.Message.setField(this, 7, value);
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* Clears the field making it undefined.
|
|
2757
|
+
* @return {!proto.cashback.CashbackItem} returns this
|
|
2758
|
+
*/
|
|
2759
|
+
proto.cashback.CashbackItem.prototype.clearImageCdn = function() {
|
|
2760
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
2761
|
+
};
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* Returns whether this field is set.
|
|
2766
|
+
* @return {boolean}
|
|
2767
|
+
*/
|
|
2768
|
+
proto.cashback.CashbackItem.prototype.hasImageCdn = function() {
|
|
2769
|
+
return jspb.Message.getField(this, 7) != null;
|
|
2770
|
+
};
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
/**
|
|
2774
|
+
* optional int32 level = 8;
|
|
2727
2775
|
* @return {number}
|
|
2728
2776
|
*/
|
|
2729
2777
|
proto.cashback.CashbackItem.prototype.getLevel = function() {
|
|
2730
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
2778
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
2731
2779
|
};
|
|
2732
2780
|
|
|
2733
2781
|
|
|
@@ -2736,7 +2784,7 @@ proto.cashback.CashbackItem.prototype.getLevel = function() {
|
|
|
2736
2784
|
* @return {!proto.cashback.CashbackItem} returns this
|
|
2737
2785
|
*/
|
|
2738
2786
|
proto.cashback.CashbackItem.prototype.setLevel = function(value) {
|
|
2739
|
-
return jspb.Message.setField(this,
|
|
2787
|
+
return jspb.Message.setField(this, 8, value);
|
|
2740
2788
|
};
|
|
2741
2789
|
|
|
2742
2790
|
|
|
@@ -2745,7 +2793,7 @@ proto.cashback.CashbackItem.prototype.setLevel = function(value) {
|
|
|
2745
2793
|
* @return {!proto.cashback.CashbackItem} returns this
|
|
2746
2794
|
*/
|
|
2747
2795
|
proto.cashback.CashbackItem.prototype.clearLevel = function() {
|
|
2748
|
-
return jspb.Message.setField(this,
|
|
2796
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
2749
2797
|
};
|
|
2750
2798
|
|
|
2751
2799
|
|
|
@@ -2754,16 +2802,16 @@ proto.cashback.CashbackItem.prototype.clearLevel = function() {
|
|
|
2754
2802
|
* @return {boolean}
|
|
2755
2803
|
*/
|
|
2756
2804
|
proto.cashback.CashbackItem.prototype.hasLevel = function() {
|
|
2757
|
-
return jspb.Message.getField(this,
|
|
2805
|
+
return jspb.Message.getField(this, 8) != null;
|
|
2758
2806
|
};
|
|
2759
2807
|
|
|
2760
2808
|
|
|
2761
2809
|
/**
|
|
2762
|
-
* optional string type =
|
|
2810
|
+
* optional string type = 9;
|
|
2763
2811
|
* @return {string}
|
|
2764
2812
|
*/
|
|
2765
2813
|
proto.cashback.CashbackItem.prototype.getType = function() {
|
|
2766
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2814
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2767
2815
|
};
|
|
2768
2816
|
|
|
2769
2817
|
|
|
@@ -2772,7 +2820,7 @@ proto.cashback.CashbackItem.prototype.getType = function() {
|
|
|
2772
2820
|
* @return {!proto.cashback.CashbackItem} returns this
|
|
2773
2821
|
*/
|
|
2774
2822
|
proto.cashback.CashbackItem.prototype.setType = function(value) {
|
|
2775
|
-
return jspb.Message.setField(this,
|
|
2823
|
+
return jspb.Message.setField(this, 9, value);
|
|
2776
2824
|
};
|
|
2777
2825
|
|
|
2778
2826
|
|
|
@@ -2781,7 +2829,7 @@ proto.cashback.CashbackItem.prototype.setType = function(value) {
|
|
|
2781
2829
|
* @return {!proto.cashback.CashbackItem} returns this
|
|
2782
2830
|
*/
|
|
2783
2831
|
proto.cashback.CashbackItem.prototype.clearType = function() {
|
|
2784
|
-
return jspb.Message.setField(this,
|
|
2832
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
2785
2833
|
};
|
|
2786
2834
|
|
|
2787
2835
|
|
|
@@ -2790,16 +2838,16 @@ proto.cashback.CashbackItem.prototype.clearType = function() {
|
|
|
2790
2838
|
* @return {boolean}
|
|
2791
2839
|
*/
|
|
2792
2840
|
proto.cashback.CashbackItem.prototype.hasType = function() {
|
|
2793
|
-
return jspb.Message.getField(this,
|
|
2841
|
+
return jspb.Message.getField(this, 9) != null;
|
|
2794
2842
|
};
|
|
2795
2843
|
|
|
2796
2844
|
|
|
2797
2845
|
/**
|
|
2798
|
-
* optional string checking_at =
|
|
2846
|
+
* optional string checking_at = 10;
|
|
2799
2847
|
* @return {string}
|
|
2800
2848
|
*/
|
|
2801
2849
|
proto.cashback.CashbackItem.prototype.getCheckingAt = function() {
|
|
2802
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2850
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2803
2851
|
};
|
|
2804
2852
|
|
|
2805
2853
|
|
|
@@ -2808,7 +2856,7 @@ proto.cashback.CashbackItem.prototype.getCheckingAt = function() {
|
|
|
2808
2856
|
* @return {!proto.cashback.CashbackItem} returns this
|
|
2809
2857
|
*/
|
|
2810
2858
|
proto.cashback.CashbackItem.prototype.setCheckingAt = function(value) {
|
|
2811
|
-
return jspb.Message.setField(this,
|
|
2859
|
+
return jspb.Message.setField(this, 10, value);
|
|
2812
2860
|
};
|
|
2813
2861
|
|
|
2814
2862
|
|
|
@@ -2817,7 +2865,7 @@ proto.cashback.CashbackItem.prototype.setCheckingAt = function(value) {
|
|
|
2817
2865
|
* @return {!proto.cashback.CashbackItem} returns this
|
|
2818
2866
|
*/
|
|
2819
2867
|
proto.cashback.CashbackItem.prototype.clearCheckingAt = function() {
|
|
2820
|
-
return jspb.Message.setField(this,
|
|
2868
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
2821
2869
|
};
|
|
2822
2870
|
|
|
2823
2871
|
|
|
@@ -2826,17 +2874,17 @@ proto.cashback.CashbackItem.prototype.clearCheckingAt = function() {
|
|
|
2826
2874
|
* @return {boolean}
|
|
2827
2875
|
*/
|
|
2828
2876
|
proto.cashback.CashbackItem.prototype.hasCheckingAt = function() {
|
|
2829
|
-
return jspb.Message.getField(this,
|
|
2877
|
+
return jspb.Message.getField(this, 10) != null;
|
|
2830
2878
|
};
|
|
2831
2879
|
|
|
2832
2880
|
|
|
2833
2881
|
/**
|
|
2834
|
-
* repeated CashbackConfigItem config =
|
|
2882
|
+
* repeated CashbackConfigItem config = 11;
|
|
2835
2883
|
* @return {!Array<!proto.cashback.CashbackConfigItem>}
|
|
2836
2884
|
*/
|
|
2837
2885
|
proto.cashback.CashbackItem.prototype.getConfigList = function() {
|
|
2838
2886
|
return /** @type{!Array<!proto.cashback.CashbackConfigItem>} */ (
|
|
2839
|
-
jspb.Message.getRepeatedWrapperField(this, proto.cashback.CashbackConfigItem,
|
|
2887
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cashback.CashbackConfigItem, 11));
|
|
2840
2888
|
};
|
|
2841
2889
|
|
|
2842
2890
|
|
|
@@ -2845,7 +2893,7 @@ proto.cashback.CashbackItem.prototype.getConfigList = function() {
|
|
|
2845
2893
|
* @return {!proto.cashback.CashbackItem} returns this
|
|
2846
2894
|
*/
|
|
2847
2895
|
proto.cashback.CashbackItem.prototype.setConfigList = function(value) {
|
|
2848
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
2896
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
2849
2897
|
};
|
|
2850
2898
|
|
|
2851
2899
|
|
|
@@ -2855,7 +2903,7 @@ proto.cashback.CashbackItem.prototype.setConfigList = function(value) {
|
|
|
2855
2903
|
* @return {!proto.cashback.CashbackConfigItem}
|
|
2856
2904
|
*/
|
|
2857
2905
|
proto.cashback.CashbackItem.prototype.addConfig = function(opt_value, opt_index) {
|
|
2858
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
2906
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.cashback.CashbackConfigItem, opt_index);
|
|
2859
2907
|
};
|
|
2860
2908
|
|
|
2861
2909
|
|
|
@@ -5295,7 +5343,7 @@ proto.cashback.CashbackGamePreview.prototype.hasImage = function() {
|
|
|
5295
5343
|
* @private {!Array<number>}
|
|
5296
5344
|
* @const
|
|
5297
5345
|
*/
|
|
5298
|
-
proto.cashback.UserCashbackItem.repeatedFields_ = [
|
|
5346
|
+
proto.cashback.UserCashbackItem.repeatedFields_ = [19];
|
|
5299
5347
|
|
|
5300
5348
|
|
|
5301
5349
|
|
|
@@ -5339,12 +5387,13 @@ proto.cashback.UserCashbackItem.toObject = function(includeInstance, msg) {
|
|
|
5339
5387
|
percentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
5340
5388
|
calculatedDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5341
5389
|
image: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5342
|
-
|
|
5343
|
-
|
|
5390
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5391
|
+
status: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
5392
|
+
reward: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
|
5344
5393
|
actions: (f = msg.getActions()) && proto.cashback.CashbackActions.toObject(includeInstance, f),
|
|
5345
|
-
remainingMs: jspb.Message.getFieldWithDefault(msg,
|
|
5346
|
-
remainingToMin: jspb.Message.getFloatingPointFieldWithDefault(msg,
|
|
5347
|
-
cashbackUserId: jspb.Message.getFieldWithDefault(msg,
|
|
5394
|
+
remainingMs: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
5395
|
+
remainingToMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
|
5396
|
+
cashbackUserId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
5348
5397
|
gamesList: jspb.Message.toObjectList(msg.getGamesList(),
|
|
5349
5398
|
proto.cashback.CashbackGamePreview.toObject, includeInstance)
|
|
5350
5399
|
};
|
|
@@ -5429,30 +5478,34 @@ proto.cashback.UserCashbackItem.deserializeBinaryFromReader = function(msg, read
|
|
|
5429
5478
|
break;
|
|
5430
5479
|
case 12:
|
|
5431
5480
|
var value = /** @type {string} */ (reader.readString());
|
|
5432
|
-
msg.
|
|
5481
|
+
msg.setImageCdn(value);
|
|
5433
5482
|
break;
|
|
5434
5483
|
case 13:
|
|
5484
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5485
|
+
msg.setStatus(value);
|
|
5486
|
+
break;
|
|
5487
|
+
case 14:
|
|
5435
5488
|
var value = /** @type {number} */ (reader.readFloat());
|
|
5436
5489
|
msg.setReward(value);
|
|
5437
5490
|
break;
|
|
5438
|
-
case
|
|
5491
|
+
case 15:
|
|
5439
5492
|
var value = new proto.cashback.CashbackActions;
|
|
5440
5493
|
reader.readMessage(value,proto.cashback.CashbackActions.deserializeBinaryFromReader);
|
|
5441
5494
|
msg.setActions(value);
|
|
5442
5495
|
break;
|
|
5443
|
-
case
|
|
5496
|
+
case 16:
|
|
5444
5497
|
var value = /** @type {number} */ (reader.readInt64());
|
|
5445
5498
|
msg.setRemainingMs(value);
|
|
5446
5499
|
break;
|
|
5447
|
-
case
|
|
5500
|
+
case 17:
|
|
5448
5501
|
var value = /** @type {number} */ (reader.readFloat());
|
|
5449
5502
|
msg.setRemainingToMin(value);
|
|
5450
5503
|
break;
|
|
5451
|
-
case
|
|
5504
|
+
case 18:
|
|
5452
5505
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5453
5506
|
msg.setCashbackUserId(value);
|
|
5454
5507
|
break;
|
|
5455
|
-
case
|
|
5508
|
+
case 19:
|
|
5456
5509
|
var value = new proto.cashback.CashbackGamePreview;
|
|
5457
5510
|
reader.readMessage(value,proto.cashback.CashbackGamePreview.deserializeBinaryFromReader);
|
|
5458
5511
|
msg.addGames(value);
|
|
@@ -5570,46 +5623,53 @@ proto.cashback.UserCashbackItem.serializeBinaryToWriter = function(message, writ
|
|
|
5570
5623
|
f
|
|
5571
5624
|
);
|
|
5572
5625
|
}
|
|
5573
|
-
f = /** @type {
|
|
5626
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
5574
5627
|
if (f != null) {
|
|
5575
|
-
writer.
|
|
5628
|
+
writer.writeString(
|
|
5576
5629
|
13,
|
|
5577
5630
|
f
|
|
5578
5631
|
);
|
|
5579
5632
|
}
|
|
5633
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
5634
|
+
if (f != null) {
|
|
5635
|
+
writer.writeFloat(
|
|
5636
|
+
14,
|
|
5637
|
+
f
|
|
5638
|
+
);
|
|
5639
|
+
}
|
|
5580
5640
|
f = message.getActions();
|
|
5581
5641
|
if (f != null) {
|
|
5582
5642
|
writer.writeMessage(
|
|
5583
|
-
|
|
5643
|
+
15,
|
|
5584
5644
|
f,
|
|
5585
5645
|
proto.cashback.CashbackActions.serializeBinaryToWriter
|
|
5586
5646
|
);
|
|
5587
5647
|
}
|
|
5588
|
-
f = /** @type {number} */ (jspb.Message.getField(message,
|
|
5648
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
|
5589
5649
|
if (f != null) {
|
|
5590
5650
|
writer.writeInt64(
|
|
5591
|
-
|
|
5651
|
+
16,
|
|
5592
5652
|
f
|
|
5593
5653
|
);
|
|
5594
5654
|
}
|
|
5595
|
-
f = /** @type {number} */ (jspb.Message.getField(message,
|
|
5655
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
|
5596
5656
|
if (f != null) {
|
|
5597
5657
|
writer.writeFloat(
|
|
5598
|
-
|
|
5658
|
+
17,
|
|
5599
5659
|
f
|
|
5600
5660
|
);
|
|
5601
5661
|
}
|
|
5602
|
-
f = /** @type {number} */ (jspb.Message.getField(message,
|
|
5662
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
|
5603
5663
|
if (f != null) {
|
|
5604
5664
|
writer.writeInt32(
|
|
5605
|
-
|
|
5665
|
+
18,
|
|
5606
5666
|
f
|
|
5607
5667
|
);
|
|
5608
5668
|
}
|
|
5609
5669
|
f = message.getGamesList();
|
|
5610
5670
|
if (f.length > 0) {
|
|
5611
5671
|
writer.writeRepeatedMessage(
|
|
5612
|
-
|
|
5672
|
+
19,
|
|
5613
5673
|
f,
|
|
5614
5674
|
proto.cashback.CashbackGamePreview.serializeBinaryToWriter
|
|
5615
5675
|
);
|
|
@@ -5906,10 +5966,10 @@ proto.cashback.UserCashbackItem.prototype.hasImage = function() {
|
|
|
5906
5966
|
|
|
5907
5967
|
|
|
5908
5968
|
/**
|
|
5909
|
-
* optional string
|
|
5969
|
+
* optional string image_cdn = 12;
|
|
5910
5970
|
* @return {string}
|
|
5911
5971
|
*/
|
|
5912
|
-
proto.cashback.UserCashbackItem.prototype.
|
|
5972
|
+
proto.cashback.UserCashbackItem.prototype.getImageCdn = function() {
|
|
5913
5973
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
5914
5974
|
};
|
|
5915
5975
|
|
|
@@ -5918,7 +5978,7 @@ proto.cashback.UserCashbackItem.prototype.getStatus = function() {
|
|
|
5918
5978
|
* @param {string} value
|
|
5919
5979
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
5920
5980
|
*/
|
|
5921
|
-
proto.cashback.UserCashbackItem.prototype.
|
|
5981
|
+
proto.cashback.UserCashbackItem.prototype.setImageCdn = function(value) {
|
|
5922
5982
|
return jspb.Message.setField(this, 12, value);
|
|
5923
5983
|
};
|
|
5924
5984
|
|
|
@@ -5927,7 +5987,7 @@ proto.cashback.UserCashbackItem.prototype.setStatus = function(value) {
|
|
|
5927
5987
|
* Clears the field making it undefined.
|
|
5928
5988
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
5929
5989
|
*/
|
|
5930
|
-
proto.cashback.UserCashbackItem.prototype.
|
|
5990
|
+
proto.cashback.UserCashbackItem.prototype.clearImageCdn = function() {
|
|
5931
5991
|
return jspb.Message.setField(this, 12, undefined);
|
|
5932
5992
|
};
|
|
5933
5993
|
|
|
@@ -5936,17 +5996,53 @@ proto.cashback.UserCashbackItem.prototype.clearStatus = function() {
|
|
|
5936
5996
|
* Returns whether this field is set.
|
|
5937
5997
|
* @return {boolean}
|
|
5938
5998
|
*/
|
|
5939
|
-
proto.cashback.UserCashbackItem.prototype.
|
|
5999
|
+
proto.cashback.UserCashbackItem.prototype.hasImageCdn = function() {
|
|
5940
6000
|
return jspb.Message.getField(this, 12) != null;
|
|
5941
6001
|
};
|
|
5942
6002
|
|
|
5943
6003
|
|
|
5944
6004
|
/**
|
|
5945
|
-
* optional
|
|
6005
|
+
* optional string status = 13;
|
|
6006
|
+
* @return {string}
|
|
6007
|
+
*/
|
|
6008
|
+
proto.cashback.UserCashbackItem.prototype.getStatus = function() {
|
|
6009
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
6010
|
+
};
|
|
6011
|
+
|
|
6012
|
+
|
|
6013
|
+
/**
|
|
6014
|
+
* @param {string} value
|
|
6015
|
+
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6016
|
+
*/
|
|
6017
|
+
proto.cashback.UserCashbackItem.prototype.setStatus = function(value) {
|
|
6018
|
+
return jspb.Message.setField(this, 13, value);
|
|
6019
|
+
};
|
|
6020
|
+
|
|
6021
|
+
|
|
6022
|
+
/**
|
|
6023
|
+
* Clears the field making it undefined.
|
|
6024
|
+
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6025
|
+
*/
|
|
6026
|
+
proto.cashback.UserCashbackItem.prototype.clearStatus = function() {
|
|
6027
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
6028
|
+
};
|
|
6029
|
+
|
|
6030
|
+
|
|
6031
|
+
/**
|
|
6032
|
+
* Returns whether this field is set.
|
|
6033
|
+
* @return {boolean}
|
|
6034
|
+
*/
|
|
6035
|
+
proto.cashback.UserCashbackItem.prototype.hasStatus = function() {
|
|
6036
|
+
return jspb.Message.getField(this, 13) != null;
|
|
6037
|
+
};
|
|
6038
|
+
|
|
6039
|
+
|
|
6040
|
+
/**
|
|
6041
|
+
* optional float reward = 14;
|
|
5946
6042
|
* @return {number}
|
|
5947
6043
|
*/
|
|
5948
6044
|
proto.cashback.UserCashbackItem.prototype.getReward = function() {
|
|
5949
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6045
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
|
5950
6046
|
};
|
|
5951
6047
|
|
|
5952
6048
|
|
|
@@ -5955,7 +6051,7 @@ proto.cashback.UserCashbackItem.prototype.getReward = function() {
|
|
|
5955
6051
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
5956
6052
|
*/
|
|
5957
6053
|
proto.cashback.UserCashbackItem.prototype.setReward = function(value) {
|
|
5958
|
-
return jspb.Message.setField(this,
|
|
6054
|
+
return jspb.Message.setField(this, 14, value);
|
|
5959
6055
|
};
|
|
5960
6056
|
|
|
5961
6057
|
|
|
@@ -5964,7 +6060,7 @@ proto.cashback.UserCashbackItem.prototype.setReward = function(value) {
|
|
|
5964
6060
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
5965
6061
|
*/
|
|
5966
6062
|
proto.cashback.UserCashbackItem.prototype.clearReward = function() {
|
|
5967
|
-
return jspb.Message.setField(this,
|
|
6063
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
5968
6064
|
};
|
|
5969
6065
|
|
|
5970
6066
|
|
|
@@ -5973,17 +6069,17 @@ proto.cashback.UserCashbackItem.prototype.clearReward = function() {
|
|
|
5973
6069
|
* @return {boolean}
|
|
5974
6070
|
*/
|
|
5975
6071
|
proto.cashback.UserCashbackItem.prototype.hasReward = function() {
|
|
5976
|
-
return jspb.Message.getField(this,
|
|
6072
|
+
return jspb.Message.getField(this, 14) != null;
|
|
5977
6073
|
};
|
|
5978
6074
|
|
|
5979
6075
|
|
|
5980
6076
|
/**
|
|
5981
|
-
* optional CashbackActions actions =
|
|
6077
|
+
* optional CashbackActions actions = 15;
|
|
5982
6078
|
* @return {?proto.cashback.CashbackActions}
|
|
5983
6079
|
*/
|
|
5984
6080
|
proto.cashback.UserCashbackItem.prototype.getActions = function() {
|
|
5985
6081
|
return /** @type{?proto.cashback.CashbackActions} */ (
|
|
5986
|
-
jspb.Message.getWrapperField(this, proto.cashback.CashbackActions,
|
|
6082
|
+
jspb.Message.getWrapperField(this, proto.cashback.CashbackActions, 15));
|
|
5987
6083
|
};
|
|
5988
6084
|
|
|
5989
6085
|
|
|
@@ -5992,7 +6088,7 @@ proto.cashback.UserCashbackItem.prototype.getActions = function() {
|
|
|
5992
6088
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
5993
6089
|
*/
|
|
5994
6090
|
proto.cashback.UserCashbackItem.prototype.setActions = function(value) {
|
|
5995
|
-
return jspb.Message.setWrapperField(this,
|
|
6091
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
5996
6092
|
};
|
|
5997
6093
|
|
|
5998
6094
|
|
|
@@ -6010,16 +6106,16 @@ proto.cashback.UserCashbackItem.prototype.clearActions = function() {
|
|
|
6010
6106
|
* @return {boolean}
|
|
6011
6107
|
*/
|
|
6012
6108
|
proto.cashback.UserCashbackItem.prototype.hasActions = function() {
|
|
6013
|
-
return jspb.Message.getField(this,
|
|
6109
|
+
return jspb.Message.getField(this, 15) != null;
|
|
6014
6110
|
};
|
|
6015
6111
|
|
|
6016
6112
|
|
|
6017
6113
|
/**
|
|
6018
|
-
* optional int64 remaining_ms =
|
|
6114
|
+
* optional int64 remaining_ms = 16;
|
|
6019
6115
|
* @return {number}
|
|
6020
6116
|
*/
|
|
6021
6117
|
proto.cashback.UserCashbackItem.prototype.getRemainingMs = function() {
|
|
6022
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6118
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
6023
6119
|
};
|
|
6024
6120
|
|
|
6025
6121
|
|
|
@@ -6028,7 +6124,7 @@ proto.cashback.UserCashbackItem.prototype.getRemainingMs = function() {
|
|
|
6028
6124
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6029
6125
|
*/
|
|
6030
6126
|
proto.cashback.UserCashbackItem.prototype.setRemainingMs = function(value) {
|
|
6031
|
-
return jspb.Message.setField(this,
|
|
6127
|
+
return jspb.Message.setField(this, 16, value);
|
|
6032
6128
|
};
|
|
6033
6129
|
|
|
6034
6130
|
|
|
@@ -6037,7 +6133,7 @@ proto.cashback.UserCashbackItem.prototype.setRemainingMs = function(value) {
|
|
|
6037
6133
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6038
6134
|
*/
|
|
6039
6135
|
proto.cashback.UserCashbackItem.prototype.clearRemainingMs = function() {
|
|
6040
|
-
return jspb.Message.setField(this,
|
|
6136
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
6041
6137
|
};
|
|
6042
6138
|
|
|
6043
6139
|
|
|
@@ -6046,16 +6142,16 @@ proto.cashback.UserCashbackItem.prototype.clearRemainingMs = function() {
|
|
|
6046
6142
|
* @return {boolean}
|
|
6047
6143
|
*/
|
|
6048
6144
|
proto.cashback.UserCashbackItem.prototype.hasRemainingMs = function() {
|
|
6049
|
-
return jspb.Message.getField(this,
|
|
6145
|
+
return jspb.Message.getField(this, 16) != null;
|
|
6050
6146
|
};
|
|
6051
6147
|
|
|
6052
6148
|
|
|
6053
6149
|
/**
|
|
6054
|
-
* optional float remaining_to_min =
|
|
6150
|
+
* optional float remaining_to_min = 17;
|
|
6055
6151
|
* @return {number}
|
|
6056
6152
|
*/
|
|
6057
6153
|
proto.cashback.UserCashbackItem.prototype.getRemainingToMin = function() {
|
|
6058
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
6154
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
|
|
6059
6155
|
};
|
|
6060
6156
|
|
|
6061
6157
|
|
|
@@ -6064,7 +6160,7 @@ proto.cashback.UserCashbackItem.prototype.getRemainingToMin = function() {
|
|
|
6064
6160
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6065
6161
|
*/
|
|
6066
6162
|
proto.cashback.UserCashbackItem.prototype.setRemainingToMin = function(value) {
|
|
6067
|
-
return jspb.Message.setField(this,
|
|
6163
|
+
return jspb.Message.setField(this, 17, value);
|
|
6068
6164
|
};
|
|
6069
6165
|
|
|
6070
6166
|
|
|
@@ -6073,7 +6169,7 @@ proto.cashback.UserCashbackItem.prototype.setRemainingToMin = function(value) {
|
|
|
6073
6169
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6074
6170
|
*/
|
|
6075
6171
|
proto.cashback.UserCashbackItem.prototype.clearRemainingToMin = function() {
|
|
6076
|
-
return jspb.Message.setField(this,
|
|
6172
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
6077
6173
|
};
|
|
6078
6174
|
|
|
6079
6175
|
|
|
@@ -6082,16 +6178,16 @@ proto.cashback.UserCashbackItem.prototype.clearRemainingToMin = function() {
|
|
|
6082
6178
|
* @return {boolean}
|
|
6083
6179
|
*/
|
|
6084
6180
|
proto.cashback.UserCashbackItem.prototype.hasRemainingToMin = function() {
|
|
6085
|
-
return jspb.Message.getField(this,
|
|
6181
|
+
return jspb.Message.getField(this, 17) != null;
|
|
6086
6182
|
};
|
|
6087
6183
|
|
|
6088
6184
|
|
|
6089
6185
|
/**
|
|
6090
|
-
* optional int32 cashback_user_id =
|
|
6186
|
+
* optional int32 cashback_user_id = 18;
|
|
6091
6187
|
* @return {number}
|
|
6092
6188
|
*/
|
|
6093
6189
|
proto.cashback.UserCashbackItem.prototype.getCashbackUserId = function() {
|
|
6094
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6190
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
6095
6191
|
};
|
|
6096
6192
|
|
|
6097
6193
|
|
|
@@ -6100,7 +6196,7 @@ proto.cashback.UserCashbackItem.prototype.getCashbackUserId = function() {
|
|
|
6100
6196
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6101
6197
|
*/
|
|
6102
6198
|
proto.cashback.UserCashbackItem.prototype.setCashbackUserId = function(value) {
|
|
6103
|
-
return jspb.Message.setField(this,
|
|
6199
|
+
return jspb.Message.setField(this, 18, value);
|
|
6104
6200
|
};
|
|
6105
6201
|
|
|
6106
6202
|
|
|
@@ -6109,7 +6205,7 @@ proto.cashback.UserCashbackItem.prototype.setCashbackUserId = function(value) {
|
|
|
6109
6205
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6110
6206
|
*/
|
|
6111
6207
|
proto.cashback.UserCashbackItem.prototype.clearCashbackUserId = function() {
|
|
6112
|
-
return jspb.Message.setField(this,
|
|
6208
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
6113
6209
|
};
|
|
6114
6210
|
|
|
6115
6211
|
|
|
@@ -6118,17 +6214,17 @@ proto.cashback.UserCashbackItem.prototype.clearCashbackUserId = function() {
|
|
|
6118
6214
|
* @return {boolean}
|
|
6119
6215
|
*/
|
|
6120
6216
|
proto.cashback.UserCashbackItem.prototype.hasCashbackUserId = function() {
|
|
6121
|
-
return jspb.Message.getField(this,
|
|
6217
|
+
return jspb.Message.getField(this, 18) != null;
|
|
6122
6218
|
};
|
|
6123
6219
|
|
|
6124
6220
|
|
|
6125
6221
|
/**
|
|
6126
|
-
* repeated CashbackGamePreview games =
|
|
6222
|
+
* repeated CashbackGamePreview games = 19;
|
|
6127
6223
|
* @return {!Array<!proto.cashback.CashbackGamePreview>}
|
|
6128
6224
|
*/
|
|
6129
6225
|
proto.cashback.UserCashbackItem.prototype.getGamesList = function() {
|
|
6130
6226
|
return /** @type{!Array<!proto.cashback.CashbackGamePreview>} */ (
|
|
6131
|
-
jspb.Message.getRepeatedWrapperField(this, proto.cashback.CashbackGamePreview,
|
|
6227
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cashback.CashbackGamePreview, 19));
|
|
6132
6228
|
};
|
|
6133
6229
|
|
|
6134
6230
|
|
|
@@ -6137,7 +6233,7 @@ proto.cashback.UserCashbackItem.prototype.getGamesList = function() {
|
|
|
6137
6233
|
* @return {!proto.cashback.UserCashbackItem} returns this
|
|
6138
6234
|
*/
|
|
6139
6235
|
proto.cashback.UserCashbackItem.prototype.setGamesList = function(value) {
|
|
6140
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
6236
|
+
return jspb.Message.setRepeatedWrapperField(this, 19, value);
|
|
6141
6237
|
};
|
|
6142
6238
|
|
|
6143
6239
|
|
|
@@ -6147,7 +6243,7 @@ proto.cashback.UserCashbackItem.prototype.setGamesList = function(value) {
|
|
|
6147
6243
|
* @return {!proto.cashback.CashbackGamePreview}
|
|
6148
6244
|
*/
|
|
6149
6245
|
proto.cashback.UserCashbackItem.prototype.addGames = function(opt_value, opt_index) {
|
|
6150
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
6246
|
+
return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.cashback.CashbackGamePreview, opt_index);
|
|
6151
6247
|
};
|
|
6152
6248
|
|
|
6153
6249
|
|