protobuf-platform 1.2.213 → 1.2.215

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/bet/bet.proto CHANGED
@@ -171,9 +171,11 @@ message WinRateItem {
171
171
  string game_title = 2;
172
172
  string game_image = 3;
173
173
  string game_provider = 4;
174
- string user_nickname = 5;
175
- string currency = 6;
176
- float multiplier = 7;
174
+ string game_slug = 5;
175
+ string provider_slug = 6;
176
+ string user_nickname = 7;
177
+ string currency = 8;
178
+ float multiplier = 9;
177
179
  }
178
180
  message WinRatesResponse {
179
181
  repeated WinRateItem items = 1;
package/bet/bet_pb.js CHANGED
@@ -6711,9 +6711,11 @@ proto.bet.WinRateItem.toObject = function(includeInstance, msg) {
6711
6711
  gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
6712
6712
  gameImage: jspb.Message.getFieldWithDefault(msg, 3, ""),
6713
6713
  gameProvider: jspb.Message.getFieldWithDefault(msg, 4, ""),
6714
- userNickname: jspb.Message.getFieldWithDefault(msg, 5, ""),
6715
- currency: jspb.Message.getFieldWithDefault(msg, 6, ""),
6716
- multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
6714
+ gameSlug: jspb.Message.getFieldWithDefault(msg, 5, ""),
6715
+ providerSlug: jspb.Message.getFieldWithDefault(msg, 6, ""),
6716
+ userNickname: jspb.Message.getFieldWithDefault(msg, 7, ""),
6717
+ currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
6718
+ multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0)
6717
6719
  };
6718
6720
 
6719
6721
  if (includeInstance) {
@@ -6768,13 +6770,21 @@ proto.bet.WinRateItem.deserializeBinaryFromReader = function(msg, reader) {
6768
6770
  break;
6769
6771
  case 5:
6770
6772
  var value = /** @type {string} */ (reader.readString());
6771
- msg.setUserNickname(value);
6773
+ msg.setGameSlug(value);
6772
6774
  break;
6773
6775
  case 6:
6774
6776
  var value = /** @type {string} */ (reader.readString());
6775
- msg.setCurrency(value);
6777
+ msg.setProviderSlug(value);
6776
6778
  break;
6777
6779
  case 7:
6780
+ var value = /** @type {string} */ (reader.readString());
6781
+ msg.setUserNickname(value);
6782
+ break;
6783
+ case 8:
6784
+ var value = /** @type {string} */ (reader.readString());
6785
+ msg.setCurrency(value);
6786
+ break;
6787
+ case 9:
6778
6788
  var value = /** @type {number} */ (reader.readFloat());
6779
6789
  msg.setMultiplier(value);
6780
6790
  break;
@@ -6835,24 +6845,38 @@ proto.bet.WinRateItem.serializeBinaryToWriter = function(message, writer) {
6835
6845
  f
6836
6846
  );
6837
6847
  }
6838
- f = message.getUserNickname();
6848
+ f = message.getGameSlug();
6839
6849
  if (f.length > 0) {
6840
6850
  writer.writeString(
6841
6851
  5,
6842
6852
  f
6843
6853
  );
6844
6854
  }
6845
- f = message.getCurrency();
6855
+ f = message.getProviderSlug();
6846
6856
  if (f.length > 0) {
6847
6857
  writer.writeString(
6848
6858
  6,
6849
6859
  f
6850
6860
  );
6851
6861
  }
6862
+ f = message.getUserNickname();
6863
+ if (f.length > 0) {
6864
+ writer.writeString(
6865
+ 7,
6866
+ f
6867
+ );
6868
+ }
6869
+ f = message.getCurrency();
6870
+ if (f.length > 0) {
6871
+ writer.writeString(
6872
+ 8,
6873
+ f
6874
+ );
6875
+ }
6852
6876
  f = message.getMultiplier();
6853
6877
  if (f !== 0.0) {
6854
6878
  writer.writeFloat(
6855
- 7,
6879
+ 9,
6856
6880
  f
6857
6881
  );
6858
6882
  }
@@ -6932,10 +6956,10 @@ proto.bet.WinRateItem.prototype.setGameProvider = function(value) {
6932
6956
 
6933
6957
 
6934
6958
  /**
6935
- * optional string user_nickname = 5;
6959
+ * optional string game_slug = 5;
6936
6960
  * @return {string}
6937
6961
  */
6938
- proto.bet.WinRateItem.prototype.getUserNickname = function() {
6962
+ proto.bet.WinRateItem.prototype.getGameSlug = function() {
6939
6963
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6940
6964
  };
6941
6965
 
@@ -6944,16 +6968,16 @@ proto.bet.WinRateItem.prototype.getUserNickname = function() {
6944
6968
  * @param {string} value
6945
6969
  * @return {!proto.bet.WinRateItem} returns this
6946
6970
  */
6947
- proto.bet.WinRateItem.prototype.setUserNickname = function(value) {
6971
+ proto.bet.WinRateItem.prototype.setGameSlug = function(value) {
6948
6972
  return jspb.Message.setProto3StringField(this, 5, value);
6949
6973
  };
6950
6974
 
6951
6975
 
6952
6976
  /**
6953
- * optional string currency = 6;
6977
+ * optional string provider_slug = 6;
6954
6978
  * @return {string}
6955
6979
  */
6956
- proto.bet.WinRateItem.prototype.getCurrency = function() {
6980
+ proto.bet.WinRateItem.prototype.getProviderSlug = function() {
6957
6981
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
6958
6982
  };
6959
6983
 
@@ -6962,17 +6986,53 @@ proto.bet.WinRateItem.prototype.getCurrency = function() {
6962
6986
  * @param {string} value
6963
6987
  * @return {!proto.bet.WinRateItem} returns this
6964
6988
  */
6965
- proto.bet.WinRateItem.prototype.setCurrency = function(value) {
6989
+ proto.bet.WinRateItem.prototype.setProviderSlug = function(value) {
6966
6990
  return jspb.Message.setProto3StringField(this, 6, value);
6967
6991
  };
6968
6992
 
6969
6993
 
6970
6994
  /**
6971
- * optional float multiplier = 7;
6995
+ * optional string user_nickname = 7;
6996
+ * @return {string}
6997
+ */
6998
+ proto.bet.WinRateItem.prototype.getUserNickname = function() {
6999
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7000
+ };
7001
+
7002
+
7003
+ /**
7004
+ * @param {string} value
7005
+ * @return {!proto.bet.WinRateItem} returns this
7006
+ */
7007
+ proto.bet.WinRateItem.prototype.setUserNickname = function(value) {
7008
+ return jspb.Message.setProto3StringField(this, 7, value);
7009
+ };
7010
+
7011
+
7012
+ /**
7013
+ * optional string currency = 8;
7014
+ * @return {string}
7015
+ */
7016
+ proto.bet.WinRateItem.prototype.getCurrency = function() {
7017
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
7018
+ };
7019
+
7020
+
7021
+ /**
7022
+ * @param {string} value
7023
+ * @return {!proto.bet.WinRateItem} returns this
7024
+ */
7025
+ proto.bet.WinRateItem.prototype.setCurrency = function(value) {
7026
+ return jspb.Message.setProto3StringField(this, 8, value);
7027
+ };
7028
+
7029
+
7030
+ /**
7031
+ * optional float multiplier = 9;
6972
7032
  * @return {number}
6973
7033
  */
6974
7034
  proto.bet.WinRateItem.prototype.getMultiplier = function() {
6975
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
7035
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
6976
7036
  };
6977
7037
 
6978
7038
 
@@ -6981,7 +7041,7 @@ proto.bet.WinRateItem.prototype.getMultiplier = function() {
6981
7041
  * @return {!proto.bet.WinRateItem} returns this
6982
7042
  */
6983
7043
  proto.bet.WinRateItem.prototype.setMultiplier = function(value) {
6984
- return jspb.Message.setProto3FloatField(this, 7, value);
7044
+ return jspb.Message.setProto3FloatField(this, 9, value);
6985
7045
  };
6986
7046
 
6987
7047
 
@@ -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 int32 level = 7;
60
- optional string type = 8;
61
- optional string checking_at = 9;
62
- repeated CashbackConfigItem config = 10;
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 status = 12;
136
- optional float reward = 13;
136
+ optional string image_cdn = 12;
137
+ optional string status = 13;
138
+ optional float reward = 14;
137
139
 
138
- optional CashbackActions actions = 14;
140
+ optional CashbackActions actions = 15;
139
141
 
140
- optional int64 remaining_ms = 15;
141
- optional float remaining_to_min = 16;
142
- optional int32 cashback_user_id = 17;
143
- repeated CashbackGamePreview games = 18;
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;
@@ -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_ = [10];
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
- level: jspb.Message.getFieldWithDefault(msg, 7, 0),
2372
- type: jspb.Message.getFieldWithDefault(msg, 8, ""),
2373
- checkingAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
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 8:
2441
+ case 9:
2437
2442
  var value = /** @type {string} */ (reader.readString());
2438
2443
  msg.setType(value);
2439
2444
  break;
2440
- case 9:
2445
+ case 10:
2441
2446
  var value = /** @type {string} */ (reader.readString());
2442
2447
  msg.setCheckingAt(value);
2443
2448
  break;
2444
- case 10:
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 {number} */ (jspb.Message.getField(message, 7));
2518
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
2514
2519
  if (f != null) {
2515
- writer.writeInt32(
2520
+ writer.writeString(
2516
2521
  7,
2517
2522
  f
2518
2523
  );
2519
2524
  }
2520
- f = /** @type {string} */ (jspb.Message.getField(message, 8));
2525
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
2521
2526
  if (f != null) {
2522
- writer.writeString(
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
- 10,
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 int32 level = 7;
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, 7, 0));
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, 7, value);
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, 7, undefined);
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, 7) != null;
2805
+ return jspb.Message.getField(this, 8) != null;
2758
2806
  };
2759
2807
 
2760
2808
 
2761
2809
  /**
2762
- * optional string type = 8;
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, 8, ""));
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, 8, value);
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, 8, undefined);
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, 8) != null;
2841
+ return jspb.Message.getField(this, 9) != null;
2794
2842
  };
2795
2843
 
2796
2844
 
2797
2845
  /**
2798
- * optional string checking_at = 9;
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, 9, ""));
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, 9, value);
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, 9, undefined);
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, 9) != null;
2877
+ return jspb.Message.getField(this, 10) != null;
2830
2878
  };
2831
2879
 
2832
2880
 
2833
2881
  /**
2834
- * repeated CashbackConfigItem config = 10;
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, 10));
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, 10, value);
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, 10, opt_value, proto.cashback.CashbackConfigItem, opt_index);
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_ = [18];
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
- status: jspb.Message.getFieldWithDefault(msg, 12, ""),
5343
- reward: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
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, 15, 0),
5346
- remainingToMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
5347
- cashbackUserId: jspb.Message.getFieldWithDefault(msg, 17, 0),
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.setStatus(value);
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 14:
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 15:
5496
+ case 16:
5444
5497
  var value = /** @type {number} */ (reader.readInt64());
5445
5498
  msg.setRemainingMs(value);
5446
5499
  break;
5447
- case 16:
5500
+ case 17:
5448
5501
  var value = /** @type {number} */ (reader.readFloat());
5449
5502
  msg.setRemainingToMin(value);
5450
5503
  break;
5451
- case 17:
5504
+ case 18:
5452
5505
  var value = /** @type {number} */ (reader.readInt32());
5453
5506
  msg.setCashbackUserId(value);
5454
5507
  break;
5455
- case 18:
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 {number} */ (jspb.Message.getField(message, 13));
5626
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
5574
5627
  if (f != null) {
5575
- writer.writeFloat(
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
- 14,
5643
+ 15,
5584
5644
  f,
5585
5645
  proto.cashback.CashbackActions.serializeBinaryToWriter
5586
5646
  );
5587
5647
  }
5588
- f = /** @type {number} */ (jspb.Message.getField(message, 15));
5648
+ f = /** @type {number} */ (jspb.Message.getField(message, 16));
5589
5649
  if (f != null) {
5590
5650
  writer.writeInt64(
5591
- 15,
5651
+ 16,
5592
5652
  f
5593
5653
  );
5594
5654
  }
5595
- f = /** @type {number} */ (jspb.Message.getField(message, 16));
5655
+ f = /** @type {number} */ (jspb.Message.getField(message, 17));
5596
5656
  if (f != null) {
5597
5657
  writer.writeFloat(
5598
- 16,
5658
+ 17,
5599
5659
  f
5600
5660
  );
5601
5661
  }
5602
- f = /** @type {number} */ (jspb.Message.getField(message, 17));
5662
+ f = /** @type {number} */ (jspb.Message.getField(message, 18));
5603
5663
  if (f != null) {
5604
5664
  writer.writeInt32(
5605
- 17,
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
- 18,
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 status = 12;
5969
+ * optional string image_cdn = 12;
5910
5970
  * @return {string}
5911
5971
  */
5912
- proto.cashback.UserCashbackItem.prototype.getStatus = function() {
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.setStatus = function(value) {
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.clearStatus = function() {
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.hasStatus = function() {
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 float reward = 13;
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, 13, 0.0));
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, 13, value);
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, 13, undefined);
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, 13) != null;
6072
+ return jspb.Message.getField(this, 14) != null;
5977
6073
  };
5978
6074
 
5979
6075
 
5980
6076
  /**
5981
- * optional CashbackActions actions = 14;
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, 14));
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, 14, value);
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, 14) != null;
6109
+ return jspb.Message.getField(this, 15) != null;
6014
6110
  };
6015
6111
 
6016
6112
 
6017
6113
  /**
6018
- * optional int64 remaining_ms = 15;
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, 15, 0));
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, 15, value);
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, 15, undefined);
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, 15) != null;
6145
+ return jspb.Message.getField(this, 16) != null;
6050
6146
  };
6051
6147
 
6052
6148
 
6053
6149
  /**
6054
- * optional float remaining_to_min = 16;
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, 16, 0.0));
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, 16, value);
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, 16, undefined);
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, 16) != null;
6181
+ return jspb.Message.getField(this, 17) != null;
6086
6182
  };
6087
6183
 
6088
6184
 
6089
6185
  /**
6090
- * optional int32 cashback_user_id = 17;
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, 17, 0));
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, 17, value);
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, 17, undefined);
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, 17) != null;
6217
+ return jspb.Message.getField(this, 18) != null;
6122
6218
  };
6123
6219
 
6124
6220
 
6125
6221
  /**
6126
- * repeated CashbackGamePreview games = 18;
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, 18));
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, 18, value);
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, 18, opt_value, proto.cashback.CashbackGamePreview, opt_index);
6246
+ return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.cashback.CashbackGamePreview, opt_index);
6151
6247
  };
6152
6248
 
6153
6249
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.213",
3
+ "version": "1.2.215",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {