protobuf-platform 1.2.148 → 1.2.150

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 CHANGED
@@ -159,6 +159,7 @@ message BonusItem {
159
159
  optional int32 status_id = 23;
160
160
  repeated BonusTranslationItem translations = 24;
161
161
  repeated int32 segment_ids = 25;
162
+ repeated GameItem wager_games = 26;
162
163
  }
163
164
  message BonusItemsResponse {
164
165
  repeated BonusItem items = 1;
@@ -236,6 +237,17 @@ message FreeSpinItem {
236
237
  optional string game_provider_title = 11;
237
238
  optional string game_provider_slug = 12;
238
239
  }
240
+ message GameItem {
241
+ int32 game_id = 1;
242
+ optional string game_title = 2;
243
+ optional string game_slug = 3;
244
+ optional string game_provider_title = 4;
245
+ optional string game_provider_slug = 5;
246
+ optional string image = 6;
247
+ optional int32 is_top = 7;
248
+ optional int32 is_vip = 8;
249
+ optional int32 has_free_spins = 9;
250
+ }
239
251
  message GetUserBonusRequest {
240
252
  int32 user_id = 1;
241
253
  optional int32 bonus_id = 2;
package/bonus/bonus_pb.js CHANGED
@@ -45,6 +45,7 @@ goog.exportSymbol('proto.bonus.DashboardRequest', null, global);
45
45
  goog.exportSymbol('proto.bonus.DashboardResponse', null, global);
46
46
  goog.exportSymbol('proto.bonus.File', null, global);
47
47
  goog.exportSymbol('proto.bonus.FreeSpinItem', null, global);
48
+ goog.exportSymbol('proto.bonus.GameItem', null, global);
48
49
  goog.exportSymbol('proto.bonus.GetBonusRequest', null, global);
49
50
  goog.exportSymbol('proto.bonus.GetBonusTranslationRequest', null, global);
50
51
  goog.exportSymbol('proto.bonus.GetFileRequest', null, global);
@@ -602,6 +603,27 @@ if (goog.DEBUG && !COMPILED) {
602
603
  */
603
604
  proto.bonus.FreeSpinItem.displayName = 'proto.bonus.FreeSpinItem';
604
605
  }
606
+ /**
607
+ * Generated by JsPbCodeGenerator.
608
+ * @param {Array=} opt_data Optional initial data array, typically from a
609
+ * server response, or constructed directly in Javascript. The array is used
610
+ * in place and becomes part of the constructed object. It is not cloned.
611
+ * If no data is provided, the constructed object will be empty, but still
612
+ * valid.
613
+ * @extends {jspb.Message}
614
+ * @constructor
615
+ */
616
+ proto.bonus.GameItem = function(opt_data) {
617
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
618
+ };
619
+ goog.inherits(proto.bonus.GameItem, jspb.Message);
620
+ if (goog.DEBUG && !COMPILED) {
621
+ /**
622
+ * @public
623
+ * @override
624
+ */
625
+ proto.bonus.GameItem.displayName = 'proto.bonus.GameItem';
626
+ }
605
627
  /**
606
628
  * Generated by JsPbCodeGenerator.
607
629
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5599,7 +5621,7 @@ proto.bonus.BonusResponse.prototype.hasData = function() {
5599
5621
  * @private {!Array<number>}
5600
5622
  * @const
5601
5623
  */
5602
- proto.bonus.BonusItem.repeatedFields_ = [19,20,21,24,25];
5624
+ proto.bonus.BonusItem.repeatedFields_ = [19,20,21,24,25,26];
5603
5625
 
5604
5626
 
5605
5627
 
@@ -5660,7 +5682,9 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
5660
5682
  statusId: jspb.Message.getFieldWithDefault(msg, 23, 0),
5661
5683
  translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
5662
5684
  proto.bonus.BonusTranslationItem.toObject, includeInstance),
5663
- segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 25)) == null ? undefined : f
5685
+ segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 25)) == null ? undefined : f,
5686
+ wagerGamesList: jspb.Message.toObjectList(msg.getWagerGamesList(),
5687
+ proto.bonus.GameItem.toObject, includeInstance)
5664
5688
  };
5665
5689
 
5666
5690
  if (includeInstance) {
@@ -5803,6 +5827,11 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
5803
5827
  msg.addSegmentIds(values[i]);
5804
5828
  }
5805
5829
  break;
5830
+ case 26:
5831
+ var value = new proto.bonus.GameItem;
5832
+ reader.readMessage(value,proto.bonus.GameItem.deserializeBinaryFromReader);
5833
+ msg.addWagerGames(value);
5834
+ break;
5806
5835
  default:
5807
5836
  reader.skipField();
5808
5837
  break;
@@ -6011,6 +6040,14 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
6011
6040
  f
6012
6041
  );
6013
6042
  }
6043
+ f = message.getWagerGamesList();
6044
+ if (f.length > 0) {
6045
+ writer.writeRepeatedMessage(
6046
+ 26,
6047
+ f,
6048
+ proto.bonus.GameItem.serializeBinaryToWriter
6049
+ );
6050
+ }
6014
6051
  };
6015
6052
 
6016
6053
 
@@ -6923,6 +6960,44 @@ proto.bonus.BonusItem.prototype.clearSegmentIdsList = function() {
6923
6960
  };
6924
6961
 
6925
6962
 
6963
+ /**
6964
+ * repeated GameItem wager_games = 26;
6965
+ * @return {!Array<!proto.bonus.GameItem>}
6966
+ */
6967
+ proto.bonus.BonusItem.prototype.getWagerGamesList = function() {
6968
+ return /** @type{!Array<!proto.bonus.GameItem>} */ (
6969
+ jspb.Message.getRepeatedWrapperField(this, proto.bonus.GameItem, 26));
6970
+ };
6971
+
6972
+
6973
+ /**
6974
+ * @param {!Array<!proto.bonus.GameItem>} value
6975
+ * @return {!proto.bonus.BonusItem} returns this
6976
+ */
6977
+ proto.bonus.BonusItem.prototype.setWagerGamesList = function(value) {
6978
+ return jspb.Message.setRepeatedWrapperField(this, 26, value);
6979
+ };
6980
+
6981
+
6982
+ /**
6983
+ * @param {!proto.bonus.GameItem=} opt_value
6984
+ * @param {number=} opt_index
6985
+ * @return {!proto.bonus.GameItem}
6986
+ */
6987
+ proto.bonus.BonusItem.prototype.addWagerGames = function(opt_value, opt_index) {
6988
+ return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.bonus.GameItem, opt_index);
6989
+ };
6990
+
6991
+
6992
+ /**
6993
+ * Clears the list making it empty but non-null.
6994
+ * @return {!proto.bonus.BonusItem} returns this
6995
+ */
6996
+ proto.bonus.BonusItem.prototype.clearWagerGamesList = function() {
6997
+ return this.setWagerGamesList([]);
6998
+ };
6999
+
7000
+
6926
7001
 
6927
7002
  /**
6928
7003
  * List of repeated fields within this message type.
@@ -10477,6 +10552,520 @@ proto.bonus.FreeSpinItem.prototype.hasGameProviderSlug = function() {
10477
10552
 
10478
10553
 
10479
10554
 
10555
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10556
+ /**
10557
+ * Creates an object representation of this proto.
10558
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10559
+ * Optional fields that are not set will be set to undefined.
10560
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10561
+ * For the list of reserved names please see:
10562
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10563
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10564
+ * JSPB instance for transitional soy proto support:
10565
+ * http://goto/soy-param-migration
10566
+ * @return {!Object}
10567
+ */
10568
+ proto.bonus.GameItem.prototype.toObject = function(opt_includeInstance) {
10569
+ return proto.bonus.GameItem.toObject(opt_includeInstance, this);
10570
+ };
10571
+
10572
+
10573
+ /**
10574
+ * Static version of the {@see toObject} method.
10575
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10576
+ * the JSPB instance for transitional soy proto support:
10577
+ * http://goto/soy-param-migration
10578
+ * @param {!proto.bonus.GameItem} msg The msg instance to transform.
10579
+ * @return {!Object}
10580
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10581
+ */
10582
+ proto.bonus.GameItem.toObject = function(includeInstance, msg) {
10583
+ var f, obj = {
10584
+ gameId: jspb.Message.getFieldWithDefault(msg, 1, 0),
10585
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
10586
+ gameSlug: jspb.Message.getFieldWithDefault(msg, 3, ""),
10587
+ gameProviderTitle: jspb.Message.getFieldWithDefault(msg, 4, ""),
10588
+ gameProviderSlug: jspb.Message.getFieldWithDefault(msg, 5, ""),
10589
+ image: jspb.Message.getFieldWithDefault(msg, 6, ""),
10590
+ isTop: jspb.Message.getFieldWithDefault(msg, 7, 0),
10591
+ isVip: jspb.Message.getFieldWithDefault(msg, 8, 0),
10592
+ hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 9, 0)
10593
+ };
10594
+
10595
+ if (includeInstance) {
10596
+ obj.$jspbMessageInstance = msg;
10597
+ }
10598
+ return obj;
10599
+ };
10600
+ }
10601
+
10602
+
10603
+ /**
10604
+ * Deserializes binary data (in protobuf wire format).
10605
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10606
+ * @return {!proto.bonus.GameItem}
10607
+ */
10608
+ proto.bonus.GameItem.deserializeBinary = function(bytes) {
10609
+ var reader = new jspb.BinaryReader(bytes);
10610
+ var msg = new proto.bonus.GameItem;
10611
+ return proto.bonus.GameItem.deserializeBinaryFromReader(msg, reader);
10612
+ };
10613
+
10614
+
10615
+ /**
10616
+ * Deserializes binary data (in protobuf wire format) from the
10617
+ * given reader into the given message object.
10618
+ * @param {!proto.bonus.GameItem} msg The message object to deserialize into.
10619
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10620
+ * @return {!proto.bonus.GameItem}
10621
+ */
10622
+ proto.bonus.GameItem.deserializeBinaryFromReader = function(msg, reader) {
10623
+ while (reader.nextField()) {
10624
+ if (reader.isEndGroup()) {
10625
+ break;
10626
+ }
10627
+ var field = reader.getFieldNumber();
10628
+ switch (field) {
10629
+ case 1:
10630
+ var value = /** @type {number} */ (reader.readInt32());
10631
+ msg.setGameId(value);
10632
+ break;
10633
+ case 2:
10634
+ var value = /** @type {string} */ (reader.readString());
10635
+ msg.setGameTitle(value);
10636
+ break;
10637
+ case 3:
10638
+ var value = /** @type {string} */ (reader.readString());
10639
+ msg.setGameSlug(value);
10640
+ break;
10641
+ case 4:
10642
+ var value = /** @type {string} */ (reader.readString());
10643
+ msg.setGameProviderTitle(value);
10644
+ break;
10645
+ case 5:
10646
+ var value = /** @type {string} */ (reader.readString());
10647
+ msg.setGameProviderSlug(value);
10648
+ break;
10649
+ case 6:
10650
+ var value = /** @type {string} */ (reader.readString());
10651
+ msg.setImage(value);
10652
+ break;
10653
+ case 7:
10654
+ var value = /** @type {number} */ (reader.readInt32());
10655
+ msg.setIsTop(value);
10656
+ break;
10657
+ case 8:
10658
+ var value = /** @type {number} */ (reader.readInt32());
10659
+ msg.setIsVip(value);
10660
+ break;
10661
+ case 9:
10662
+ var value = /** @type {number} */ (reader.readInt32());
10663
+ msg.setHasFreeSpins(value);
10664
+ break;
10665
+ default:
10666
+ reader.skipField();
10667
+ break;
10668
+ }
10669
+ }
10670
+ return msg;
10671
+ };
10672
+
10673
+
10674
+ /**
10675
+ * Serializes the message to binary data (in protobuf wire format).
10676
+ * @return {!Uint8Array}
10677
+ */
10678
+ proto.bonus.GameItem.prototype.serializeBinary = function() {
10679
+ var writer = new jspb.BinaryWriter();
10680
+ proto.bonus.GameItem.serializeBinaryToWriter(this, writer);
10681
+ return writer.getResultBuffer();
10682
+ };
10683
+
10684
+
10685
+ /**
10686
+ * Serializes the given message to binary data (in protobuf wire
10687
+ * format), writing to the given BinaryWriter.
10688
+ * @param {!proto.bonus.GameItem} message
10689
+ * @param {!jspb.BinaryWriter} writer
10690
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10691
+ */
10692
+ proto.bonus.GameItem.serializeBinaryToWriter = function(message, writer) {
10693
+ var f = undefined;
10694
+ f = message.getGameId();
10695
+ if (f !== 0) {
10696
+ writer.writeInt32(
10697
+ 1,
10698
+ f
10699
+ );
10700
+ }
10701
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
10702
+ if (f != null) {
10703
+ writer.writeString(
10704
+ 2,
10705
+ f
10706
+ );
10707
+ }
10708
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
10709
+ if (f != null) {
10710
+ writer.writeString(
10711
+ 3,
10712
+ f
10713
+ );
10714
+ }
10715
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
10716
+ if (f != null) {
10717
+ writer.writeString(
10718
+ 4,
10719
+ f
10720
+ );
10721
+ }
10722
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
10723
+ if (f != null) {
10724
+ writer.writeString(
10725
+ 5,
10726
+ f
10727
+ );
10728
+ }
10729
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
10730
+ if (f != null) {
10731
+ writer.writeString(
10732
+ 6,
10733
+ f
10734
+ );
10735
+ }
10736
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
10737
+ if (f != null) {
10738
+ writer.writeInt32(
10739
+ 7,
10740
+ f
10741
+ );
10742
+ }
10743
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
10744
+ if (f != null) {
10745
+ writer.writeInt32(
10746
+ 8,
10747
+ f
10748
+ );
10749
+ }
10750
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
10751
+ if (f != null) {
10752
+ writer.writeInt32(
10753
+ 9,
10754
+ f
10755
+ );
10756
+ }
10757
+ };
10758
+
10759
+
10760
+ /**
10761
+ * optional int32 game_id = 1;
10762
+ * @return {number}
10763
+ */
10764
+ proto.bonus.GameItem.prototype.getGameId = function() {
10765
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10766
+ };
10767
+
10768
+
10769
+ /**
10770
+ * @param {number} value
10771
+ * @return {!proto.bonus.GameItem} returns this
10772
+ */
10773
+ proto.bonus.GameItem.prototype.setGameId = function(value) {
10774
+ return jspb.Message.setProto3IntField(this, 1, value);
10775
+ };
10776
+
10777
+
10778
+ /**
10779
+ * optional string game_title = 2;
10780
+ * @return {string}
10781
+ */
10782
+ proto.bonus.GameItem.prototype.getGameTitle = function() {
10783
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10784
+ };
10785
+
10786
+
10787
+ /**
10788
+ * @param {string} value
10789
+ * @return {!proto.bonus.GameItem} returns this
10790
+ */
10791
+ proto.bonus.GameItem.prototype.setGameTitle = function(value) {
10792
+ return jspb.Message.setField(this, 2, value);
10793
+ };
10794
+
10795
+
10796
+ /**
10797
+ * Clears the field making it undefined.
10798
+ * @return {!proto.bonus.GameItem} returns this
10799
+ */
10800
+ proto.bonus.GameItem.prototype.clearGameTitle = function() {
10801
+ return jspb.Message.setField(this, 2, undefined);
10802
+ };
10803
+
10804
+
10805
+ /**
10806
+ * Returns whether this field is set.
10807
+ * @return {boolean}
10808
+ */
10809
+ proto.bonus.GameItem.prototype.hasGameTitle = function() {
10810
+ return jspb.Message.getField(this, 2) != null;
10811
+ };
10812
+
10813
+
10814
+ /**
10815
+ * optional string game_slug = 3;
10816
+ * @return {string}
10817
+ */
10818
+ proto.bonus.GameItem.prototype.getGameSlug = function() {
10819
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10820
+ };
10821
+
10822
+
10823
+ /**
10824
+ * @param {string} value
10825
+ * @return {!proto.bonus.GameItem} returns this
10826
+ */
10827
+ proto.bonus.GameItem.prototype.setGameSlug = function(value) {
10828
+ return jspb.Message.setField(this, 3, value);
10829
+ };
10830
+
10831
+
10832
+ /**
10833
+ * Clears the field making it undefined.
10834
+ * @return {!proto.bonus.GameItem} returns this
10835
+ */
10836
+ proto.bonus.GameItem.prototype.clearGameSlug = function() {
10837
+ return jspb.Message.setField(this, 3, undefined);
10838
+ };
10839
+
10840
+
10841
+ /**
10842
+ * Returns whether this field is set.
10843
+ * @return {boolean}
10844
+ */
10845
+ proto.bonus.GameItem.prototype.hasGameSlug = function() {
10846
+ return jspb.Message.getField(this, 3) != null;
10847
+ };
10848
+
10849
+
10850
+ /**
10851
+ * optional string game_provider_title = 4;
10852
+ * @return {string}
10853
+ */
10854
+ proto.bonus.GameItem.prototype.getGameProviderTitle = function() {
10855
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10856
+ };
10857
+
10858
+
10859
+ /**
10860
+ * @param {string} value
10861
+ * @return {!proto.bonus.GameItem} returns this
10862
+ */
10863
+ proto.bonus.GameItem.prototype.setGameProviderTitle = function(value) {
10864
+ return jspb.Message.setField(this, 4, value);
10865
+ };
10866
+
10867
+
10868
+ /**
10869
+ * Clears the field making it undefined.
10870
+ * @return {!proto.bonus.GameItem} returns this
10871
+ */
10872
+ proto.bonus.GameItem.prototype.clearGameProviderTitle = function() {
10873
+ return jspb.Message.setField(this, 4, undefined);
10874
+ };
10875
+
10876
+
10877
+ /**
10878
+ * Returns whether this field is set.
10879
+ * @return {boolean}
10880
+ */
10881
+ proto.bonus.GameItem.prototype.hasGameProviderTitle = function() {
10882
+ return jspb.Message.getField(this, 4) != null;
10883
+ };
10884
+
10885
+
10886
+ /**
10887
+ * optional string game_provider_slug = 5;
10888
+ * @return {string}
10889
+ */
10890
+ proto.bonus.GameItem.prototype.getGameProviderSlug = function() {
10891
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
10892
+ };
10893
+
10894
+
10895
+ /**
10896
+ * @param {string} value
10897
+ * @return {!proto.bonus.GameItem} returns this
10898
+ */
10899
+ proto.bonus.GameItem.prototype.setGameProviderSlug = function(value) {
10900
+ return jspb.Message.setField(this, 5, value);
10901
+ };
10902
+
10903
+
10904
+ /**
10905
+ * Clears the field making it undefined.
10906
+ * @return {!proto.bonus.GameItem} returns this
10907
+ */
10908
+ proto.bonus.GameItem.prototype.clearGameProviderSlug = function() {
10909
+ return jspb.Message.setField(this, 5, undefined);
10910
+ };
10911
+
10912
+
10913
+ /**
10914
+ * Returns whether this field is set.
10915
+ * @return {boolean}
10916
+ */
10917
+ proto.bonus.GameItem.prototype.hasGameProviderSlug = function() {
10918
+ return jspb.Message.getField(this, 5) != null;
10919
+ };
10920
+
10921
+
10922
+ /**
10923
+ * optional string image = 6;
10924
+ * @return {string}
10925
+ */
10926
+ proto.bonus.GameItem.prototype.getImage = function() {
10927
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
10928
+ };
10929
+
10930
+
10931
+ /**
10932
+ * @param {string} value
10933
+ * @return {!proto.bonus.GameItem} returns this
10934
+ */
10935
+ proto.bonus.GameItem.prototype.setImage = function(value) {
10936
+ return jspb.Message.setField(this, 6, value);
10937
+ };
10938
+
10939
+
10940
+ /**
10941
+ * Clears the field making it undefined.
10942
+ * @return {!proto.bonus.GameItem} returns this
10943
+ */
10944
+ proto.bonus.GameItem.prototype.clearImage = function() {
10945
+ return jspb.Message.setField(this, 6, undefined);
10946
+ };
10947
+
10948
+
10949
+ /**
10950
+ * Returns whether this field is set.
10951
+ * @return {boolean}
10952
+ */
10953
+ proto.bonus.GameItem.prototype.hasImage = function() {
10954
+ return jspb.Message.getField(this, 6) != null;
10955
+ };
10956
+
10957
+
10958
+ /**
10959
+ * optional int32 is_top = 7;
10960
+ * @return {number}
10961
+ */
10962
+ proto.bonus.GameItem.prototype.getIsTop = function() {
10963
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
10964
+ };
10965
+
10966
+
10967
+ /**
10968
+ * @param {number} value
10969
+ * @return {!proto.bonus.GameItem} returns this
10970
+ */
10971
+ proto.bonus.GameItem.prototype.setIsTop = function(value) {
10972
+ return jspb.Message.setField(this, 7, value);
10973
+ };
10974
+
10975
+
10976
+ /**
10977
+ * Clears the field making it undefined.
10978
+ * @return {!proto.bonus.GameItem} returns this
10979
+ */
10980
+ proto.bonus.GameItem.prototype.clearIsTop = function() {
10981
+ return jspb.Message.setField(this, 7, undefined);
10982
+ };
10983
+
10984
+
10985
+ /**
10986
+ * Returns whether this field is set.
10987
+ * @return {boolean}
10988
+ */
10989
+ proto.bonus.GameItem.prototype.hasIsTop = function() {
10990
+ return jspb.Message.getField(this, 7) != null;
10991
+ };
10992
+
10993
+
10994
+ /**
10995
+ * optional int32 is_vip = 8;
10996
+ * @return {number}
10997
+ */
10998
+ proto.bonus.GameItem.prototype.getIsVip = function() {
10999
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
11000
+ };
11001
+
11002
+
11003
+ /**
11004
+ * @param {number} value
11005
+ * @return {!proto.bonus.GameItem} returns this
11006
+ */
11007
+ proto.bonus.GameItem.prototype.setIsVip = function(value) {
11008
+ return jspb.Message.setField(this, 8, value);
11009
+ };
11010
+
11011
+
11012
+ /**
11013
+ * Clears the field making it undefined.
11014
+ * @return {!proto.bonus.GameItem} returns this
11015
+ */
11016
+ proto.bonus.GameItem.prototype.clearIsVip = function() {
11017
+ return jspb.Message.setField(this, 8, undefined);
11018
+ };
11019
+
11020
+
11021
+ /**
11022
+ * Returns whether this field is set.
11023
+ * @return {boolean}
11024
+ */
11025
+ proto.bonus.GameItem.prototype.hasIsVip = function() {
11026
+ return jspb.Message.getField(this, 8) != null;
11027
+ };
11028
+
11029
+
11030
+ /**
11031
+ * optional int32 has_free_spins = 9;
11032
+ * @return {number}
11033
+ */
11034
+ proto.bonus.GameItem.prototype.getHasFreeSpins = function() {
11035
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
11036
+ };
11037
+
11038
+
11039
+ /**
11040
+ * @param {number} value
11041
+ * @return {!proto.bonus.GameItem} returns this
11042
+ */
11043
+ proto.bonus.GameItem.prototype.setHasFreeSpins = function(value) {
11044
+ return jspb.Message.setField(this, 9, value);
11045
+ };
11046
+
11047
+
11048
+ /**
11049
+ * Clears the field making it undefined.
11050
+ * @return {!proto.bonus.GameItem} returns this
11051
+ */
11052
+ proto.bonus.GameItem.prototype.clearHasFreeSpins = function() {
11053
+ return jspb.Message.setField(this, 9, undefined);
11054
+ };
11055
+
11056
+
11057
+ /**
11058
+ * Returns whether this field is set.
11059
+ * @return {boolean}
11060
+ */
11061
+ proto.bonus.GameItem.prototype.hasHasFreeSpins = function() {
11062
+ return jspb.Message.getField(this, 9) != null;
11063
+ };
11064
+
11065
+
11066
+
11067
+
11068
+
10480
11069
  if (jspb.Message.GENERATE_TO_OBJECT) {
10481
11070
  /**
10482
11071
  * Creates an object representation of this proto.
package/game/game.proto CHANGED
@@ -151,6 +151,7 @@ message WagerSearchRequest {
151
151
  optional string geo = 4;
152
152
  optional bool is_mobile = 5;
153
153
  optional bool admin_side = 6;
154
+ optional int32 is_active = 7;
154
155
  }
155
156
  message CashBackSearchRequest {
156
157
  optional int32 cashback_id = 1;
package/game/game_pb.js CHANGED
@@ -4257,7 +4257,8 @@ proto.game.WagerSearchRequest.toObject = function(includeInstance, msg) {
4257
4257
  wagerIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
4258
4258
  geo: jspb.Message.getFieldWithDefault(msg, 4, ""),
4259
4259
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
4260
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
4260
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
4261
+ isActive: jspb.Message.getFieldWithDefault(msg, 7, 0)
4261
4262
  };
4262
4263
 
4263
4264
  if (includeInstance) {
@@ -4320,6 +4321,10 @@ proto.game.WagerSearchRequest.deserializeBinaryFromReader = function(msg, reader
4320
4321
  var value = /** @type {boolean} */ (reader.readBool());
4321
4322
  msg.setAdminSide(value);
4322
4323
  break;
4324
+ case 7:
4325
+ var value = /** @type {number} */ (reader.readInt32());
4326
+ msg.setIsActive(value);
4327
+ break;
4323
4328
  default:
4324
4329
  reader.skipField();
4325
4330
  break;
@@ -4391,6 +4396,13 @@ proto.game.WagerSearchRequest.serializeBinaryToWriter = function(message, writer
4391
4396
  f
4392
4397
  );
4393
4398
  }
4399
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
4400
+ if (f != null) {
4401
+ writer.writeInt32(
4402
+ 7,
4403
+ f
4404
+ );
4405
+ }
4394
4406
  };
4395
4407
 
4396
4408
 
@@ -4611,6 +4623,42 @@ proto.game.WagerSearchRequest.prototype.hasAdminSide = function() {
4611
4623
  };
4612
4624
 
4613
4625
 
4626
+ /**
4627
+ * optional int32 is_active = 7;
4628
+ * @return {number}
4629
+ */
4630
+ proto.game.WagerSearchRequest.prototype.getIsActive = function() {
4631
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4632
+ };
4633
+
4634
+
4635
+ /**
4636
+ * @param {number} value
4637
+ * @return {!proto.game.WagerSearchRequest} returns this
4638
+ */
4639
+ proto.game.WagerSearchRequest.prototype.setIsActive = function(value) {
4640
+ return jspb.Message.setField(this, 7, value);
4641
+ };
4642
+
4643
+
4644
+ /**
4645
+ * Clears the field making it undefined.
4646
+ * @return {!proto.game.WagerSearchRequest} returns this
4647
+ */
4648
+ proto.game.WagerSearchRequest.prototype.clearIsActive = function() {
4649
+ return jspb.Message.setField(this, 7, undefined);
4650
+ };
4651
+
4652
+
4653
+ /**
4654
+ * Returns whether this field is set.
4655
+ * @return {boolean}
4656
+ */
4657
+ proto.game.WagerSearchRequest.prototype.hasIsActive = function() {
4658
+ return jspb.Message.getField(this, 7) != null;
4659
+ };
4660
+
4661
+
4614
4662
 
4615
4663
  /**
4616
4664
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.148",
3
+ "version": "1.2.150",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {