protobuf-platform 1.2.149 → 1.2.151

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;
@@ -247,6 +259,7 @@ message GetUserBonusRequest {
247
259
  optional string user_public_id = 8;
248
260
  optional string user_name = 9;
249
261
  optional string status = 10;
262
+ optional bool is_mobile = 11;
250
263
  }
251
264
  message UserBonusItemsResponse {
252
265
  repeated UserBonusItem items = 1;
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.
@@ -10490,8 +10565,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
10490
10565
  * http://goto/soy-param-migration
10491
10566
  * @return {!Object}
10492
10567
  */
10493
- proto.bonus.GetUserBonusRequest.prototype.toObject = function(opt_includeInstance) {
10494
- return proto.bonus.GetUserBonusRequest.toObject(opt_includeInstance, this);
10568
+ proto.bonus.GameItem.prototype.toObject = function(opt_includeInstance) {
10569
+ return proto.bonus.GameItem.toObject(opt_includeInstance, this);
10495
10570
  };
10496
10571
 
10497
10572
 
@@ -10500,22 +10575,21 @@ proto.bonus.GetUserBonusRequest.prototype.toObject = function(opt_includeInstanc
10500
10575
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10501
10576
  * the JSPB instance for transitional soy proto support:
10502
10577
  * http://goto/soy-param-migration
10503
- * @param {!proto.bonus.GetUserBonusRequest} msg The msg instance to transform.
10578
+ * @param {!proto.bonus.GameItem} msg The msg instance to transform.
10504
10579
  * @return {!Object}
10505
10580
  * @suppress {unusedLocalVariables} f is only used for nested messages
10506
10581
  */
10507
- proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
10582
+ proto.bonus.GameItem.toObject = function(includeInstance, msg) {
10508
10583
  var f, obj = {
10509
- userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
10510
- bonusId: jspb.Message.getFieldWithDefault(msg, 2, 0),
10511
- userBonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
10512
- type: jspb.Message.getFieldWithDefault(msg, 4, ""),
10513
- currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
10514
- country: jspb.Message.getFieldWithDefault(msg, 6, ""),
10515
- locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
10516
- userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
10517
- userName: jspb.Message.getFieldWithDefault(msg, 9, ""),
10518
- status: jspb.Message.getFieldWithDefault(msg, 10, "")
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)
10519
10593
  };
10520
10594
 
10521
10595
  if (includeInstance) {
@@ -10529,23 +10603,23 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
10529
10603
  /**
10530
10604
  * Deserializes binary data (in protobuf wire format).
10531
10605
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
10532
- * @return {!proto.bonus.GetUserBonusRequest}
10606
+ * @return {!proto.bonus.GameItem}
10533
10607
  */
10534
- proto.bonus.GetUserBonusRequest.deserializeBinary = function(bytes) {
10608
+ proto.bonus.GameItem.deserializeBinary = function(bytes) {
10535
10609
  var reader = new jspb.BinaryReader(bytes);
10536
- var msg = new proto.bonus.GetUserBonusRequest;
10537
- return proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader(msg, reader);
10610
+ var msg = new proto.bonus.GameItem;
10611
+ return proto.bonus.GameItem.deserializeBinaryFromReader(msg, reader);
10538
10612
  };
10539
10613
 
10540
10614
 
10541
10615
  /**
10542
10616
  * Deserializes binary data (in protobuf wire format) from the
10543
10617
  * given reader into the given message object.
10544
- * @param {!proto.bonus.GetUserBonusRequest} msg The message object to deserialize into.
10618
+ * @param {!proto.bonus.GameItem} msg The message object to deserialize into.
10545
10619
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10546
- * @return {!proto.bonus.GetUserBonusRequest}
10620
+ * @return {!proto.bonus.GameItem}
10547
10621
  */
10548
- proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, reader) {
10622
+ proto.bonus.GameItem.deserializeBinaryFromReader = function(msg, reader) {
10549
10623
  while (reader.nextField()) {
10550
10624
  if (reader.isEndGroup()) {
10551
10625
  break;
@@ -10554,43 +10628,39 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
10554
10628
  switch (field) {
10555
10629
  case 1:
10556
10630
  var value = /** @type {number} */ (reader.readInt32());
10557
- msg.setUserId(value);
10631
+ msg.setGameId(value);
10558
10632
  break;
10559
10633
  case 2:
10560
- var value = /** @type {number} */ (reader.readInt32());
10561
- msg.setBonusId(value);
10634
+ var value = /** @type {string} */ (reader.readString());
10635
+ msg.setGameTitle(value);
10562
10636
  break;
10563
10637
  case 3:
10564
- var value = /** @type {number} */ (reader.readInt32());
10565
- msg.setUserBonusId(value);
10638
+ var value = /** @type {string} */ (reader.readString());
10639
+ msg.setGameSlug(value);
10566
10640
  break;
10567
10641
  case 4:
10568
10642
  var value = /** @type {string} */ (reader.readString());
10569
- msg.setType(value);
10643
+ msg.setGameProviderTitle(value);
10570
10644
  break;
10571
10645
  case 5:
10572
10646
  var value = /** @type {string} */ (reader.readString());
10573
- msg.setCurrency(value);
10647
+ msg.setGameProviderSlug(value);
10574
10648
  break;
10575
10649
  case 6:
10576
10650
  var value = /** @type {string} */ (reader.readString());
10577
- msg.setCountry(value);
10651
+ msg.setImage(value);
10578
10652
  break;
10579
10653
  case 7:
10580
- var value = /** @type {string} */ (reader.readString());
10581
- msg.setLocale(value);
10654
+ var value = /** @type {number} */ (reader.readInt32());
10655
+ msg.setIsTop(value);
10582
10656
  break;
10583
10657
  case 8:
10584
- var value = /** @type {string} */ (reader.readString());
10585
- msg.setUserPublicId(value);
10658
+ var value = /** @type {number} */ (reader.readInt32());
10659
+ msg.setIsVip(value);
10586
10660
  break;
10587
10661
  case 9:
10588
- var value = /** @type {string} */ (reader.readString());
10589
- msg.setUserName(value);
10590
- break;
10591
- case 10:
10592
- var value = /** @type {string} */ (reader.readString());
10593
- msg.setStatus(value);
10662
+ var value = /** @type {number} */ (reader.readInt32());
10663
+ msg.setHasFreeSpins(value);
10594
10664
  break;
10595
10665
  default:
10596
10666
  reader.skipField();
@@ -10605,9 +10675,9 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
10605
10675
  * Serializes the message to binary data (in protobuf wire format).
10606
10676
  * @return {!Uint8Array}
10607
10677
  */
10608
- proto.bonus.GetUserBonusRequest.prototype.serializeBinary = function() {
10678
+ proto.bonus.GameItem.prototype.serializeBinary = function() {
10609
10679
  var writer = new jspb.BinaryWriter();
10610
- proto.bonus.GetUserBonusRequest.serializeBinaryToWriter(this, writer);
10680
+ proto.bonus.GameItem.serializeBinaryToWriter(this, writer);
10611
10681
  return writer.getResultBuffer();
10612
10682
  };
10613
10683
 
@@ -10615,29 +10685,29 @@ proto.bonus.GetUserBonusRequest.prototype.serializeBinary = function() {
10615
10685
  /**
10616
10686
  * Serializes the given message to binary data (in protobuf wire
10617
10687
  * format), writing to the given BinaryWriter.
10618
- * @param {!proto.bonus.GetUserBonusRequest} message
10688
+ * @param {!proto.bonus.GameItem} message
10619
10689
  * @param {!jspb.BinaryWriter} writer
10620
10690
  * @suppress {unusedLocalVariables} f is only used for nested messages
10621
10691
  */
10622
- proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writer) {
10692
+ proto.bonus.GameItem.serializeBinaryToWriter = function(message, writer) {
10623
10693
  var f = undefined;
10624
- f = message.getUserId();
10694
+ f = message.getGameId();
10625
10695
  if (f !== 0) {
10626
10696
  writer.writeInt32(
10627
10697
  1,
10628
10698
  f
10629
10699
  );
10630
10700
  }
10631
- f = /** @type {number} */ (jspb.Message.getField(message, 2));
10701
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
10632
10702
  if (f != null) {
10633
- writer.writeInt32(
10703
+ writer.writeString(
10634
10704
  2,
10635
10705
  f
10636
10706
  );
10637
10707
  }
10638
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
10708
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
10639
10709
  if (f != null) {
10640
- writer.writeInt32(
10710
+ writer.writeString(
10641
10711
  3,
10642
10712
  f
10643
10713
  );
@@ -10663,78 +10733,71 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
10663
10733
  f
10664
10734
  );
10665
10735
  }
10666
- f = /** @type {string} */ (jspb.Message.getField(message, 7));
10736
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
10667
10737
  if (f != null) {
10668
- writer.writeString(
10738
+ writer.writeInt32(
10669
10739
  7,
10670
10740
  f
10671
10741
  );
10672
10742
  }
10673
- f = /** @type {string} */ (jspb.Message.getField(message, 8));
10743
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
10674
10744
  if (f != null) {
10675
- writer.writeString(
10745
+ writer.writeInt32(
10676
10746
  8,
10677
10747
  f
10678
10748
  );
10679
10749
  }
10680
- f = /** @type {string} */ (jspb.Message.getField(message, 9));
10750
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
10681
10751
  if (f != null) {
10682
- writer.writeString(
10752
+ writer.writeInt32(
10683
10753
  9,
10684
10754
  f
10685
10755
  );
10686
10756
  }
10687
- f = /** @type {string} */ (jspb.Message.getField(message, 10));
10688
- if (f != null) {
10689
- writer.writeString(
10690
- 10,
10691
- f
10692
- );
10693
- }
10694
10757
  };
10695
10758
 
10696
10759
 
10697
10760
  /**
10698
- * optional int32 user_id = 1;
10761
+ * optional int32 game_id = 1;
10699
10762
  * @return {number}
10700
10763
  */
10701
- proto.bonus.GetUserBonusRequest.prototype.getUserId = function() {
10764
+ proto.bonus.GameItem.prototype.getGameId = function() {
10702
10765
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10703
10766
  };
10704
10767
 
10705
10768
 
10706
10769
  /**
10707
10770
  * @param {number} value
10708
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10771
+ * @return {!proto.bonus.GameItem} returns this
10709
10772
  */
10710
- proto.bonus.GetUserBonusRequest.prototype.setUserId = function(value) {
10773
+ proto.bonus.GameItem.prototype.setGameId = function(value) {
10711
10774
  return jspb.Message.setProto3IntField(this, 1, value);
10712
10775
  };
10713
10776
 
10714
10777
 
10715
10778
  /**
10716
- * optional int32 bonus_id = 2;
10717
- * @return {number}
10779
+ * optional string game_title = 2;
10780
+ * @return {string}
10718
10781
  */
10719
- proto.bonus.GetUserBonusRequest.prototype.getBonusId = function() {
10720
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10782
+ proto.bonus.GameItem.prototype.getGameTitle = function() {
10783
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10721
10784
  };
10722
10785
 
10723
10786
 
10724
10787
  /**
10725
- * @param {number} value
10726
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10788
+ * @param {string} value
10789
+ * @return {!proto.bonus.GameItem} returns this
10727
10790
  */
10728
- proto.bonus.GetUserBonusRequest.prototype.setBonusId = function(value) {
10791
+ proto.bonus.GameItem.prototype.setGameTitle = function(value) {
10729
10792
  return jspb.Message.setField(this, 2, value);
10730
10793
  };
10731
10794
 
10732
10795
 
10733
10796
  /**
10734
10797
  * Clears the field making it undefined.
10735
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10798
+ * @return {!proto.bonus.GameItem} returns this
10736
10799
  */
10737
- proto.bonus.GetUserBonusRequest.prototype.clearBonusId = function() {
10800
+ proto.bonus.GameItem.prototype.clearGameTitle = function() {
10738
10801
  return jspb.Message.setField(this, 2, undefined);
10739
10802
  };
10740
10803
 
@@ -10743,34 +10806,34 @@ proto.bonus.GetUserBonusRequest.prototype.clearBonusId = function() {
10743
10806
  * Returns whether this field is set.
10744
10807
  * @return {boolean}
10745
10808
  */
10746
- proto.bonus.GetUserBonusRequest.prototype.hasBonusId = function() {
10809
+ proto.bonus.GameItem.prototype.hasGameTitle = function() {
10747
10810
  return jspb.Message.getField(this, 2) != null;
10748
10811
  };
10749
10812
 
10750
10813
 
10751
10814
  /**
10752
- * optional int32 user_bonus_id = 3;
10753
- * @return {number}
10815
+ * optional string game_slug = 3;
10816
+ * @return {string}
10754
10817
  */
10755
- proto.bonus.GetUserBonusRequest.prototype.getUserBonusId = function() {
10756
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10818
+ proto.bonus.GameItem.prototype.getGameSlug = function() {
10819
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10757
10820
  };
10758
10821
 
10759
10822
 
10760
10823
  /**
10761
- * @param {number} value
10762
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10824
+ * @param {string} value
10825
+ * @return {!proto.bonus.GameItem} returns this
10763
10826
  */
10764
- proto.bonus.GetUserBonusRequest.prototype.setUserBonusId = function(value) {
10827
+ proto.bonus.GameItem.prototype.setGameSlug = function(value) {
10765
10828
  return jspb.Message.setField(this, 3, value);
10766
10829
  };
10767
10830
 
10768
10831
 
10769
10832
  /**
10770
10833
  * Clears the field making it undefined.
10771
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10834
+ * @return {!proto.bonus.GameItem} returns this
10772
10835
  */
10773
- proto.bonus.GetUserBonusRequest.prototype.clearUserBonusId = function() {
10836
+ proto.bonus.GameItem.prototype.clearGameSlug = function() {
10774
10837
  return jspb.Message.setField(this, 3, undefined);
10775
10838
  };
10776
10839
 
@@ -10779,34 +10842,34 @@ proto.bonus.GetUserBonusRequest.prototype.clearUserBonusId = function() {
10779
10842
  * Returns whether this field is set.
10780
10843
  * @return {boolean}
10781
10844
  */
10782
- proto.bonus.GetUserBonusRequest.prototype.hasUserBonusId = function() {
10845
+ proto.bonus.GameItem.prototype.hasGameSlug = function() {
10783
10846
  return jspb.Message.getField(this, 3) != null;
10784
10847
  };
10785
10848
 
10786
10849
 
10787
10850
  /**
10788
- * optional string type = 4;
10851
+ * optional string game_provider_title = 4;
10789
10852
  * @return {string}
10790
10853
  */
10791
- proto.bonus.GetUserBonusRequest.prototype.getType = function() {
10854
+ proto.bonus.GameItem.prototype.getGameProviderTitle = function() {
10792
10855
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10793
10856
  };
10794
10857
 
10795
10858
 
10796
10859
  /**
10797
10860
  * @param {string} value
10798
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10861
+ * @return {!proto.bonus.GameItem} returns this
10799
10862
  */
10800
- proto.bonus.GetUserBonusRequest.prototype.setType = function(value) {
10863
+ proto.bonus.GameItem.prototype.setGameProviderTitle = function(value) {
10801
10864
  return jspb.Message.setField(this, 4, value);
10802
10865
  };
10803
10866
 
10804
10867
 
10805
10868
  /**
10806
10869
  * Clears the field making it undefined.
10807
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10870
+ * @return {!proto.bonus.GameItem} returns this
10808
10871
  */
10809
- proto.bonus.GetUserBonusRequest.prototype.clearType = function() {
10872
+ proto.bonus.GameItem.prototype.clearGameProviderTitle = function() {
10810
10873
  return jspb.Message.setField(this, 4, undefined);
10811
10874
  };
10812
10875
 
@@ -10815,34 +10878,34 @@ proto.bonus.GetUserBonusRequest.prototype.clearType = function() {
10815
10878
  * Returns whether this field is set.
10816
10879
  * @return {boolean}
10817
10880
  */
10818
- proto.bonus.GetUserBonusRequest.prototype.hasType = function() {
10881
+ proto.bonus.GameItem.prototype.hasGameProviderTitle = function() {
10819
10882
  return jspb.Message.getField(this, 4) != null;
10820
10883
  };
10821
10884
 
10822
10885
 
10823
10886
  /**
10824
- * optional string currency = 5;
10887
+ * optional string game_provider_slug = 5;
10825
10888
  * @return {string}
10826
10889
  */
10827
- proto.bonus.GetUserBonusRequest.prototype.getCurrency = function() {
10890
+ proto.bonus.GameItem.prototype.getGameProviderSlug = function() {
10828
10891
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
10829
10892
  };
10830
10893
 
10831
10894
 
10832
10895
  /**
10833
10896
  * @param {string} value
10834
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10897
+ * @return {!proto.bonus.GameItem} returns this
10835
10898
  */
10836
- proto.bonus.GetUserBonusRequest.prototype.setCurrency = function(value) {
10899
+ proto.bonus.GameItem.prototype.setGameProviderSlug = function(value) {
10837
10900
  return jspb.Message.setField(this, 5, value);
10838
10901
  };
10839
10902
 
10840
10903
 
10841
10904
  /**
10842
10905
  * Clears the field making it undefined.
10843
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10906
+ * @return {!proto.bonus.GameItem} returns this
10844
10907
  */
10845
- proto.bonus.GetUserBonusRequest.prototype.clearCurrency = function() {
10908
+ proto.bonus.GameItem.prototype.clearGameProviderSlug = function() {
10846
10909
  return jspb.Message.setField(this, 5, undefined);
10847
10910
  };
10848
10911
 
@@ -10851,34 +10914,34 @@ proto.bonus.GetUserBonusRequest.prototype.clearCurrency = function() {
10851
10914
  * Returns whether this field is set.
10852
10915
  * @return {boolean}
10853
10916
  */
10854
- proto.bonus.GetUserBonusRequest.prototype.hasCurrency = function() {
10917
+ proto.bonus.GameItem.prototype.hasGameProviderSlug = function() {
10855
10918
  return jspb.Message.getField(this, 5) != null;
10856
10919
  };
10857
10920
 
10858
10921
 
10859
10922
  /**
10860
- * optional string country = 6;
10923
+ * optional string image = 6;
10861
10924
  * @return {string}
10862
10925
  */
10863
- proto.bonus.GetUserBonusRequest.prototype.getCountry = function() {
10926
+ proto.bonus.GameItem.prototype.getImage = function() {
10864
10927
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
10865
10928
  };
10866
10929
 
10867
10930
 
10868
10931
  /**
10869
10932
  * @param {string} value
10870
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10933
+ * @return {!proto.bonus.GameItem} returns this
10871
10934
  */
10872
- proto.bonus.GetUserBonusRequest.prototype.setCountry = function(value) {
10935
+ proto.bonus.GameItem.prototype.setImage = function(value) {
10873
10936
  return jspb.Message.setField(this, 6, value);
10874
10937
  };
10875
10938
 
10876
10939
 
10877
10940
  /**
10878
10941
  * Clears the field making it undefined.
10879
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10942
+ * @return {!proto.bonus.GameItem} returns this
10880
10943
  */
10881
- proto.bonus.GetUserBonusRequest.prototype.clearCountry = function() {
10944
+ proto.bonus.GameItem.prototype.clearImage = function() {
10882
10945
  return jspb.Message.setField(this, 6, undefined);
10883
10946
  };
10884
10947
 
@@ -10887,34 +10950,34 @@ proto.bonus.GetUserBonusRequest.prototype.clearCountry = function() {
10887
10950
  * Returns whether this field is set.
10888
10951
  * @return {boolean}
10889
10952
  */
10890
- proto.bonus.GetUserBonusRequest.prototype.hasCountry = function() {
10953
+ proto.bonus.GameItem.prototype.hasImage = function() {
10891
10954
  return jspb.Message.getField(this, 6) != null;
10892
10955
  };
10893
10956
 
10894
10957
 
10895
10958
  /**
10896
- * optional string locale = 7;
10897
- * @return {string}
10959
+ * optional int32 is_top = 7;
10960
+ * @return {number}
10898
10961
  */
10899
- proto.bonus.GetUserBonusRequest.prototype.getLocale = function() {
10900
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
10962
+ proto.bonus.GameItem.prototype.getIsTop = function() {
10963
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
10901
10964
  };
10902
10965
 
10903
10966
 
10904
10967
  /**
10905
- * @param {string} value
10906
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10968
+ * @param {number} value
10969
+ * @return {!proto.bonus.GameItem} returns this
10907
10970
  */
10908
- proto.bonus.GetUserBonusRequest.prototype.setLocale = function(value) {
10971
+ proto.bonus.GameItem.prototype.setIsTop = function(value) {
10909
10972
  return jspb.Message.setField(this, 7, value);
10910
10973
  };
10911
10974
 
10912
10975
 
10913
10976
  /**
10914
10977
  * Clears the field making it undefined.
10915
- * @return {!proto.bonus.GetUserBonusRequest} returns this
10978
+ * @return {!proto.bonus.GameItem} returns this
10916
10979
  */
10917
- proto.bonus.GetUserBonusRequest.prototype.clearLocale = function() {
10980
+ proto.bonus.GameItem.prototype.clearIsTop = function() {
10918
10981
  return jspb.Message.setField(this, 7, undefined);
10919
10982
  };
10920
10983
 
@@ -10923,34 +10986,34 @@ proto.bonus.GetUserBonusRequest.prototype.clearLocale = function() {
10923
10986
  * Returns whether this field is set.
10924
10987
  * @return {boolean}
10925
10988
  */
10926
- proto.bonus.GetUserBonusRequest.prototype.hasLocale = function() {
10989
+ proto.bonus.GameItem.prototype.hasIsTop = function() {
10927
10990
  return jspb.Message.getField(this, 7) != null;
10928
10991
  };
10929
10992
 
10930
10993
 
10931
10994
  /**
10932
- * optional string user_public_id = 8;
10933
- * @return {string}
10995
+ * optional int32 is_vip = 8;
10996
+ * @return {number}
10934
10997
  */
10935
- proto.bonus.GetUserBonusRequest.prototype.getUserPublicId = function() {
10936
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
10998
+ proto.bonus.GameItem.prototype.getIsVip = function() {
10999
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
10937
11000
  };
10938
11001
 
10939
11002
 
10940
11003
  /**
10941
- * @param {string} value
10942
- * @return {!proto.bonus.GetUserBonusRequest} returns this
11004
+ * @param {number} value
11005
+ * @return {!proto.bonus.GameItem} returns this
10943
11006
  */
10944
- proto.bonus.GetUserBonusRequest.prototype.setUserPublicId = function(value) {
11007
+ proto.bonus.GameItem.prototype.setIsVip = function(value) {
10945
11008
  return jspb.Message.setField(this, 8, value);
10946
11009
  };
10947
11010
 
10948
11011
 
10949
11012
  /**
10950
11013
  * Clears the field making it undefined.
10951
- * @return {!proto.bonus.GetUserBonusRequest} returns this
11014
+ * @return {!proto.bonus.GameItem} returns this
10952
11015
  */
10953
- proto.bonus.GetUserBonusRequest.prototype.clearUserPublicId = function() {
11016
+ proto.bonus.GameItem.prototype.clearIsVip = function() {
10954
11017
  return jspb.Message.setField(this, 8, undefined);
10955
11018
  };
10956
11019
 
@@ -10959,34 +11022,34 @@ proto.bonus.GetUserBonusRequest.prototype.clearUserPublicId = function() {
10959
11022
  * Returns whether this field is set.
10960
11023
  * @return {boolean}
10961
11024
  */
10962
- proto.bonus.GetUserBonusRequest.prototype.hasUserPublicId = function() {
11025
+ proto.bonus.GameItem.prototype.hasIsVip = function() {
10963
11026
  return jspb.Message.getField(this, 8) != null;
10964
11027
  };
10965
11028
 
10966
11029
 
10967
11030
  /**
10968
- * optional string user_name = 9;
10969
- * @return {string}
11031
+ * optional int32 has_free_spins = 9;
11032
+ * @return {number}
10970
11033
  */
10971
- proto.bonus.GetUserBonusRequest.prototype.getUserName = function() {
10972
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
11034
+ proto.bonus.GameItem.prototype.getHasFreeSpins = function() {
11035
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
10973
11036
  };
10974
11037
 
10975
11038
 
10976
11039
  /**
10977
- * @param {string} value
10978
- * @return {!proto.bonus.GetUserBonusRequest} returns this
11040
+ * @param {number} value
11041
+ * @return {!proto.bonus.GameItem} returns this
10979
11042
  */
10980
- proto.bonus.GetUserBonusRequest.prototype.setUserName = function(value) {
11043
+ proto.bonus.GameItem.prototype.setHasFreeSpins = function(value) {
10981
11044
  return jspb.Message.setField(this, 9, value);
10982
11045
  };
10983
11046
 
10984
11047
 
10985
11048
  /**
10986
11049
  * Clears the field making it undefined.
10987
- * @return {!proto.bonus.GetUserBonusRequest} returns this
11050
+ * @return {!proto.bonus.GameItem} returns this
10988
11051
  */
10989
- proto.bonus.GetUserBonusRequest.prototype.clearUserName = function() {
11052
+ proto.bonus.GameItem.prototype.clearHasFreeSpins = function() {
10990
11053
  return jspb.Message.setField(this, 9, undefined);
10991
11054
  };
10992
11055
 
@@ -10995,40 +11058,578 @@ proto.bonus.GetUserBonusRequest.prototype.clearUserName = function() {
10995
11058
  * Returns whether this field is set.
10996
11059
  * @return {boolean}
10997
11060
  */
10998
- proto.bonus.GetUserBonusRequest.prototype.hasUserName = function() {
11061
+ proto.bonus.GameItem.prototype.hasHasFreeSpins = function() {
10999
11062
  return jspb.Message.getField(this, 9) != null;
11000
11063
  };
11001
11064
 
11002
11065
 
11003
- /**
11004
- * optional string status = 10;
11005
- * @return {string}
11006
- */
11007
- proto.bonus.GetUserBonusRequest.prototype.getStatus = function() {
11008
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
11009
- };
11010
-
11011
11066
 
11012
- /**
11013
- * @param {string} value
11014
- * @return {!proto.bonus.GetUserBonusRequest} returns this
11015
- */
11016
- proto.bonus.GetUserBonusRequest.prototype.setStatus = function(value) {
11017
- return jspb.Message.setField(this, 10, value);
11018
- };
11019
11067
 
11020
11068
 
11069
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11021
11070
  /**
11022
- * Clears the field making it undefined.
11023
- * @return {!proto.bonus.GetUserBonusRequest} returns this
11071
+ * Creates an object representation of this proto.
11072
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11073
+ * Optional fields that are not set will be set to undefined.
11074
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11075
+ * For the list of reserved names please see:
11076
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11077
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11078
+ * JSPB instance for transitional soy proto support:
11079
+ * http://goto/soy-param-migration
11080
+ * @return {!Object}
11024
11081
  */
11025
- proto.bonus.GetUserBonusRequest.prototype.clearStatus = function() {
11026
- return jspb.Message.setField(this, 10, undefined);
11082
+ proto.bonus.GetUserBonusRequest.prototype.toObject = function(opt_includeInstance) {
11083
+ return proto.bonus.GetUserBonusRequest.toObject(opt_includeInstance, this);
11027
11084
  };
11028
11085
 
11029
11086
 
11030
11087
  /**
11031
- * Returns whether this field is set.
11088
+ * Static version of the {@see toObject} method.
11089
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11090
+ * the JSPB instance for transitional soy proto support:
11091
+ * http://goto/soy-param-migration
11092
+ * @param {!proto.bonus.GetUserBonusRequest} msg The msg instance to transform.
11093
+ * @return {!Object}
11094
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11095
+ */
11096
+ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
11097
+ var f, obj = {
11098
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
11099
+ bonusId: jspb.Message.getFieldWithDefault(msg, 2, 0),
11100
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
11101
+ type: jspb.Message.getFieldWithDefault(msg, 4, ""),
11102
+ currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
11103
+ country: jspb.Message.getFieldWithDefault(msg, 6, ""),
11104
+ locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
11105
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
11106
+ userName: jspb.Message.getFieldWithDefault(msg, 9, ""),
11107
+ status: jspb.Message.getFieldWithDefault(msg, 10, ""),
11108
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
11109
+ };
11110
+
11111
+ if (includeInstance) {
11112
+ obj.$jspbMessageInstance = msg;
11113
+ }
11114
+ return obj;
11115
+ };
11116
+ }
11117
+
11118
+
11119
+ /**
11120
+ * Deserializes binary data (in protobuf wire format).
11121
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11122
+ * @return {!proto.bonus.GetUserBonusRequest}
11123
+ */
11124
+ proto.bonus.GetUserBonusRequest.deserializeBinary = function(bytes) {
11125
+ var reader = new jspb.BinaryReader(bytes);
11126
+ var msg = new proto.bonus.GetUserBonusRequest;
11127
+ return proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader(msg, reader);
11128
+ };
11129
+
11130
+
11131
+ /**
11132
+ * Deserializes binary data (in protobuf wire format) from the
11133
+ * given reader into the given message object.
11134
+ * @param {!proto.bonus.GetUserBonusRequest} msg The message object to deserialize into.
11135
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11136
+ * @return {!proto.bonus.GetUserBonusRequest}
11137
+ */
11138
+ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, reader) {
11139
+ while (reader.nextField()) {
11140
+ if (reader.isEndGroup()) {
11141
+ break;
11142
+ }
11143
+ var field = reader.getFieldNumber();
11144
+ switch (field) {
11145
+ case 1:
11146
+ var value = /** @type {number} */ (reader.readInt32());
11147
+ msg.setUserId(value);
11148
+ break;
11149
+ case 2:
11150
+ var value = /** @type {number} */ (reader.readInt32());
11151
+ msg.setBonusId(value);
11152
+ break;
11153
+ case 3:
11154
+ var value = /** @type {number} */ (reader.readInt32());
11155
+ msg.setUserBonusId(value);
11156
+ break;
11157
+ case 4:
11158
+ var value = /** @type {string} */ (reader.readString());
11159
+ msg.setType(value);
11160
+ break;
11161
+ case 5:
11162
+ var value = /** @type {string} */ (reader.readString());
11163
+ msg.setCurrency(value);
11164
+ break;
11165
+ case 6:
11166
+ var value = /** @type {string} */ (reader.readString());
11167
+ msg.setCountry(value);
11168
+ break;
11169
+ case 7:
11170
+ var value = /** @type {string} */ (reader.readString());
11171
+ msg.setLocale(value);
11172
+ break;
11173
+ case 8:
11174
+ var value = /** @type {string} */ (reader.readString());
11175
+ msg.setUserPublicId(value);
11176
+ break;
11177
+ case 9:
11178
+ var value = /** @type {string} */ (reader.readString());
11179
+ msg.setUserName(value);
11180
+ break;
11181
+ case 10:
11182
+ var value = /** @type {string} */ (reader.readString());
11183
+ msg.setStatus(value);
11184
+ break;
11185
+ case 11:
11186
+ var value = /** @type {boolean} */ (reader.readBool());
11187
+ msg.setIsMobile(value);
11188
+ break;
11189
+ default:
11190
+ reader.skipField();
11191
+ break;
11192
+ }
11193
+ }
11194
+ return msg;
11195
+ };
11196
+
11197
+
11198
+ /**
11199
+ * Serializes the message to binary data (in protobuf wire format).
11200
+ * @return {!Uint8Array}
11201
+ */
11202
+ proto.bonus.GetUserBonusRequest.prototype.serializeBinary = function() {
11203
+ var writer = new jspb.BinaryWriter();
11204
+ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter(this, writer);
11205
+ return writer.getResultBuffer();
11206
+ };
11207
+
11208
+
11209
+ /**
11210
+ * Serializes the given message to binary data (in protobuf wire
11211
+ * format), writing to the given BinaryWriter.
11212
+ * @param {!proto.bonus.GetUserBonusRequest} message
11213
+ * @param {!jspb.BinaryWriter} writer
11214
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11215
+ */
11216
+ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writer) {
11217
+ var f = undefined;
11218
+ f = message.getUserId();
11219
+ if (f !== 0) {
11220
+ writer.writeInt32(
11221
+ 1,
11222
+ f
11223
+ );
11224
+ }
11225
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
11226
+ if (f != null) {
11227
+ writer.writeInt32(
11228
+ 2,
11229
+ f
11230
+ );
11231
+ }
11232
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
11233
+ if (f != null) {
11234
+ writer.writeInt32(
11235
+ 3,
11236
+ f
11237
+ );
11238
+ }
11239
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
11240
+ if (f != null) {
11241
+ writer.writeString(
11242
+ 4,
11243
+ f
11244
+ );
11245
+ }
11246
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
11247
+ if (f != null) {
11248
+ writer.writeString(
11249
+ 5,
11250
+ f
11251
+ );
11252
+ }
11253
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
11254
+ if (f != null) {
11255
+ writer.writeString(
11256
+ 6,
11257
+ f
11258
+ );
11259
+ }
11260
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
11261
+ if (f != null) {
11262
+ writer.writeString(
11263
+ 7,
11264
+ f
11265
+ );
11266
+ }
11267
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
11268
+ if (f != null) {
11269
+ writer.writeString(
11270
+ 8,
11271
+ f
11272
+ );
11273
+ }
11274
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
11275
+ if (f != null) {
11276
+ writer.writeString(
11277
+ 9,
11278
+ f
11279
+ );
11280
+ }
11281
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
11282
+ if (f != null) {
11283
+ writer.writeString(
11284
+ 10,
11285
+ f
11286
+ );
11287
+ }
11288
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
11289
+ if (f != null) {
11290
+ writer.writeBool(
11291
+ 11,
11292
+ f
11293
+ );
11294
+ }
11295
+ };
11296
+
11297
+
11298
+ /**
11299
+ * optional int32 user_id = 1;
11300
+ * @return {number}
11301
+ */
11302
+ proto.bonus.GetUserBonusRequest.prototype.getUserId = function() {
11303
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11304
+ };
11305
+
11306
+
11307
+ /**
11308
+ * @param {number} value
11309
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11310
+ */
11311
+ proto.bonus.GetUserBonusRequest.prototype.setUserId = function(value) {
11312
+ return jspb.Message.setProto3IntField(this, 1, value);
11313
+ };
11314
+
11315
+
11316
+ /**
11317
+ * optional int32 bonus_id = 2;
11318
+ * @return {number}
11319
+ */
11320
+ proto.bonus.GetUserBonusRequest.prototype.getBonusId = function() {
11321
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11322
+ };
11323
+
11324
+
11325
+ /**
11326
+ * @param {number} value
11327
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11328
+ */
11329
+ proto.bonus.GetUserBonusRequest.prototype.setBonusId = function(value) {
11330
+ return jspb.Message.setField(this, 2, value);
11331
+ };
11332
+
11333
+
11334
+ /**
11335
+ * Clears the field making it undefined.
11336
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11337
+ */
11338
+ proto.bonus.GetUserBonusRequest.prototype.clearBonusId = function() {
11339
+ return jspb.Message.setField(this, 2, undefined);
11340
+ };
11341
+
11342
+
11343
+ /**
11344
+ * Returns whether this field is set.
11345
+ * @return {boolean}
11346
+ */
11347
+ proto.bonus.GetUserBonusRequest.prototype.hasBonusId = function() {
11348
+ return jspb.Message.getField(this, 2) != null;
11349
+ };
11350
+
11351
+
11352
+ /**
11353
+ * optional int32 user_bonus_id = 3;
11354
+ * @return {number}
11355
+ */
11356
+ proto.bonus.GetUserBonusRequest.prototype.getUserBonusId = function() {
11357
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
11358
+ };
11359
+
11360
+
11361
+ /**
11362
+ * @param {number} value
11363
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11364
+ */
11365
+ proto.bonus.GetUserBonusRequest.prototype.setUserBonusId = function(value) {
11366
+ return jspb.Message.setField(this, 3, value);
11367
+ };
11368
+
11369
+
11370
+ /**
11371
+ * Clears the field making it undefined.
11372
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11373
+ */
11374
+ proto.bonus.GetUserBonusRequest.prototype.clearUserBonusId = function() {
11375
+ return jspb.Message.setField(this, 3, undefined);
11376
+ };
11377
+
11378
+
11379
+ /**
11380
+ * Returns whether this field is set.
11381
+ * @return {boolean}
11382
+ */
11383
+ proto.bonus.GetUserBonusRequest.prototype.hasUserBonusId = function() {
11384
+ return jspb.Message.getField(this, 3) != null;
11385
+ };
11386
+
11387
+
11388
+ /**
11389
+ * optional string type = 4;
11390
+ * @return {string}
11391
+ */
11392
+ proto.bonus.GetUserBonusRequest.prototype.getType = function() {
11393
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11394
+ };
11395
+
11396
+
11397
+ /**
11398
+ * @param {string} value
11399
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11400
+ */
11401
+ proto.bonus.GetUserBonusRequest.prototype.setType = function(value) {
11402
+ return jspb.Message.setField(this, 4, value);
11403
+ };
11404
+
11405
+
11406
+ /**
11407
+ * Clears the field making it undefined.
11408
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11409
+ */
11410
+ proto.bonus.GetUserBonusRequest.prototype.clearType = function() {
11411
+ return jspb.Message.setField(this, 4, undefined);
11412
+ };
11413
+
11414
+
11415
+ /**
11416
+ * Returns whether this field is set.
11417
+ * @return {boolean}
11418
+ */
11419
+ proto.bonus.GetUserBonusRequest.prototype.hasType = function() {
11420
+ return jspb.Message.getField(this, 4) != null;
11421
+ };
11422
+
11423
+
11424
+ /**
11425
+ * optional string currency = 5;
11426
+ * @return {string}
11427
+ */
11428
+ proto.bonus.GetUserBonusRequest.prototype.getCurrency = function() {
11429
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
11430
+ };
11431
+
11432
+
11433
+ /**
11434
+ * @param {string} value
11435
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11436
+ */
11437
+ proto.bonus.GetUserBonusRequest.prototype.setCurrency = function(value) {
11438
+ return jspb.Message.setField(this, 5, value);
11439
+ };
11440
+
11441
+
11442
+ /**
11443
+ * Clears the field making it undefined.
11444
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11445
+ */
11446
+ proto.bonus.GetUserBonusRequest.prototype.clearCurrency = function() {
11447
+ return jspb.Message.setField(this, 5, undefined);
11448
+ };
11449
+
11450
+
11451
+ /**
11452
+ * Returns whether this field is set.
11453
+ * @return {boolean}
11454
+ */
11455
+ proto.bonus.GetUserBonusRequest.prototype.hasCurrency = function() {
11456
+ return jspb.Message.getField(this, 5) != null;
11457
+ };
11458
+
11459
+
11460
+ /**
11461
+ * optional string country = 6;
11462
+ * @return {string}
11463
+ */
11464
+ proto.bonus.GetUserBonusRequest.prototype.getCountry = function() {
11465
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
11466
+ };
11467
+
11468
+
11469
+ /**
11470
+ * @param {string} value
11471
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11472
+ */
11473
+ proto.bonus.GetUserBonusRequest.prototype.setCountry = function(value) {
11474
+ return jspb.Message.setField(this, 6, value);
11475
+ };
11476
+
11477
+
11478
+ /**
11479
+ * Clears the field making it undefined.
11480
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11481
+ */
11482
+ proto.bonus.GetUserBonusRequest.prototype.clearCountry = function() {
11483
+ return jspb.Message.setField(this, 6, undefined);
11484
+ };
11485
+
11486
+
11487
+ /**
11488
+ * Returns whether this field is set.
11489
+ * @return {boolean}
11490
+ */
11491
+ proto.bonus.GetUserBonusRequest.prototype.hasCountry = function() {
11492
+ return jspb.Message.getField(this, 6) != null;
11493
+ };
11494
+
11495
+
11496
+ /**
11497
+ * optional string locale = 7;
11498
+ * @return {string}
11499
+ */
11500
+ proto.bonus.GetUserBonusRequest.prototype.getLocale = function() {
11501
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
11502
+ };
11503
+
11504
+
11505
+ /**
11506
+ * @param {string} value
11507
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11508
+ */
11509
+ proto.bonus.GetUserBonusRequest.prototype.setLocale = function(value) {
11510
+ return jspb.Message.setField(this, 7, value);
11511
+ };
11512
+
11513
+
11514
+ /**
11515
+ * Clears the field making it undefined.
11516
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11517
+ */
11518
+ proto.bonus.GetUserBonusRequest.prototype.clearLocale = function() {
11519
+ return jspb.Message.setField(this, 7, undefined);
11520
+ };
11521
+
11522
+
11523
+ /**
11524
+ * Returns whether this field is set.
11525
+ * @return {boolean}
11526
+ */
11527
+ proto.bonus.GetUserBonusRequest.prototype.hasLocale = function() {
11528
+ return jspb.Message.getField(this, 7) != null;
11529
+ };
11530
+
11531
+
11532
+ /**
11533
+ * optional string user_public_id = 8;
11534
+ * @return {string}
11535
+ */
11536
+ proto.bonus.GetUserBonusRequest.prototype.getUserPublicId = function() {
11537
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
11538
+ };
11539
+
11540
+
11541
+ /**
11542
+ * @param {string} value
11543
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11544
+ */
11545
+ proto.bonus.GetUserBonusRequest.prototype.setUserPublicId = function(value) {
11546
+ return jspb.Message.setField(this, 8, value);
11547
+ };
11548
+
11549
+
11550
+ /**
11551
+ * Clears the field making it undefined.
11552
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11553
+ */
11554
+ proto.bonus.GetUserBonusRequest.prototype.clearUserPublicId = function() {
11555
+ return jspb.Message.setField(this, 8, undefined);
11556
+ };
11557
+
11558
+
11559
+ /**
11560
+ * Returns whether this field is set.
11561
+ * @return {boolean}
11562
+ */
11563
+ proto.bonus.GetUserBonusRequest.prototype.hasUserPublicId = function() {
11564
+ return jspb.Message.getField(this, 8) != null;
11565
+ };
11566
+
11567
+
11568
+ /**
11569
+ * optional string user_name = 9;
11570
+ * @return {string}
11571
+ */
11572
+ proto.bonus.GetUserBonusRequest.prototype.getUserName = function() {
11573
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
11574
+ };
11575
+
11576
+
11577
+ /**
11578
+ * @param {string} value
11579
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11580
+ */
11581
+ proto.bonus.GetUserBonusRequest.prototype.setUserName = function(value) {
11582
+ return jspb.Message.setField(this, 9, value);
11583
+ };
11584
+
11585
+
11586
+ /**
11587
+ * Clears the field making it undefined.
11588
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11589
+ */
11590
+ proto.bonus.GetUserBonusRequest.prototype.clearUserName = function() {
11591
+ return jspb.Message.setField(this, 9, undefined);
11592
+ };
11593
+
11594
+
11595
+ /**
11596
+ * Returns whether this field is set.
11597
+ * @return {boolean}
11598
+ */
11599
+ proto.bonus.GetUserBonusRequest.prototype.hasUserName = function() {
11600
+ return jspb.Message.getField(this, 9) != null;
11601
+ };
11602
+
11603
+
11604
+ /**
11605
+ * optional string status = 10;
11606
+ * @return {string}
11607
+ */
11608
+ proto.bonus.GetUserBonusRequest.prototype.getStatus = function() {
11609
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
11610
+ };
11611
+
11612
+
11613
+ /**
11614
+ * @param {string} value
11615
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11616
+ */
11617
+ proto.bonus.GetUserBonusRequest.prototype.setStatus = function(value) {
11618
+ return jspb.Message.setField(this, 10, value);
11619
+ };
11620
+
11621
+
11622
+ /**
11623
+ * Clears the field making it undefined.
11624
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11625
+ */
11626
+ proto.bonus.GetUserBonusRequest.prototype.clearStatus = function() {
11627
+ return jspb.Message.setField(this, 10, undefined);
11628
+ };
11629
+
11630
+
11631
+ /**
11632
+ * Returns whether this field is set.
11032
11633
  * @return {boolean}
11033
11634
  */
11034
11635
  proto.bonus.GetUserBonusRequest.prototype.hasStatus = function() {
@@ -11036,6 +11637,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasStatus = function() {
11036
11637
  };
11037
11638
 
11038
11639
 
11640
+ /**
11641
+ * optional bool is_mobile = 11;
11642
+ * @return {boolean}
11643
+ */
11644
+ proto.bonus.GetUserBonusRequest.prototype.getIsMobile = function() {
11645
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
11646
+ };
11647
+
11648
+
11649
+ /**
11650
+ * @param {boolean} value
11651
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11652
+ */
11653
+ proto.bonus.GetUserBonusRequest.prototype.setIsMobile = function(value) {
11654
+ return jspb.Message.setField(this, 11, value);
11655
+ };
11656
+
11657
+
11658
+ /**
11659
+ * Clears the field making it undefined.
11660
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
11661
+ */
11662
+ proto.bonus.GetUserBonusRequest.prototype.clearIsMobile = function() {
11663
+ return jspb.Message.setField(this, 11, undefined);
11664
+ };
11665
+
11666
+
11667
+ /**
11668
+ * Returns whether this field is set.
11669
+ * @return {boolean}
11670
+ */
11671
+ proto.bonus.GetUserBonusRequest.prototype.hasIsMobile = function() {
11672
+ return jspb.Message.getField(this, 11) != null;
11673
+ };
11674
+
11675
+
11039
11676
 
11040
11677
  /**
11041
11678
  * 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.149",
3
+ "version": "1.2.151",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {