protobuf-platform 1.2.537 → 1.2.539

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
@@ -80,6 +80,7 @@ message SearchBonusRequest {
80
80
  optional string status_string = 6;
81
81
  optional string type_string = 7;
82
82
  optional string country = 8;
83
+ optional bool is_guest = 9;
83
84
  }
84
85
  //Bonus CRUD | Requests
85
86
  message BonusRequest {
@@ -169,6 +170,7 @@ message BonusItemRequest {
169
170
  optional bool excluded_segment_ids_provided = 30;
170
171
  optional string portrait_file_name = 31;
171
172
  optional string portrait_file_type = 32;
173
+ optional bool can_guest_show = 33;
172
174
  }
173
175
  message GetBonusRequest {
174
176
  int32 id = 1;
@@ -242,6 +244,7 @@ message BonusItem {
242
244
  repeated string available_actions = 42;
243
245
  optional string portrait_image = 43;
244
246
  optional string portrait_image_cdn = 44;
247
+ optional bool can_guest_show = 45;
245
248
  }
246
249
  message BonusItemsResponse {
247
250
  repeated BonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -2594,7 +2594,8 @@ proto.bonus.SearchBonusRequest.toObject = function(includeInstance, msg) {
2594
2594
  locale: jspb.Message.getFieldWithDefault(msg, 5, ""),
2595
2595
  statusString: jspb.Message.getFieldWithDefault(msg, 6, ""),
2596
2596
  typeString: jspb.Message.getFieldWithDefault(msg, 7, ""),
2597
- country: jspb.Message.getFieldWithDefault(msg, 8, "")
2597
+ country: jspb.Message.getFieldWithDefault(msg, 8, ""),
2598
+ isGuest: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
2598
2599
  };
2599
2600
 
2600
2601
  if (includeInstance) {
@@ -2663,6 +2664,10 @@ proto.bonus.SearchBonusRequest.deserializeBinaryFromReader = function(msg, reade
2663
2664
  var value = /** @type {string} */ (reader.readString());
2664
2665
  msg.setCountry(value);
2665
2666
  break;
2667
+ case 9:
2668
+ var value = /** @type {boolean} */ (reader.readBool());
2669
+ msg.setIsGuest(value);
2670
+ break;
2666
2671
  default:
2667
2672
  reader.skipField();
2668
2673
  break;
@@ -2748,6 +2753,13 @@ proto.bonus.SearchBonusRequest.serializeBinaryToWriter = function(message, write
2748
2753
  f
2749
2754
  );
2750
2755
  }
2756
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
2757
+ if (f != null) {
2758
+ writer.writeBool(
2759
+ 9,
2760
+ f
2761
+ );
2762
+ }
2751
2763
  };
2752
2764
 
2753
2765
 
@@ -3040,6 +3052,42 @@ proto.bonus.SearchBonusRequest.prototype.hasCountry = function() {
3040
3052
  };
3041
3053
 
3042
3054
 
3055
+ /**
3056
+ * optional bool is_guest = 9;
3057
+ * @return {boolean}
3058
+ */
3059
+ proto.bonus.SearchBonusRequest.prototype.getIsGuest = function() {
3060
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
3061
+ };
3062
+
3063
+
3064
+ /**
3065
+ * @param {boolean} value
3066
+ * @return {!proto.bonus.SearchBonusRequest} returns this
3067
+ */
3068
+ proto.bonus.SearchBonusRequest.prototype.setIsGuest = function(value) {
3069
+ return jspb.Message.setField(this, 9, value);
3070
+ };
3071
+
3072
+
3073
+ /**
3074
+ * Clears the field making it undefined.
3075
+ * @return {!proto.bonus.SearchBonusRequest} returns this
3076
+ */
3077
+ proto.bonus.SearchBonusRequest.prototype.clearIsGuest = function() {
3078
+ return jspb.Message.setField(this, 9, undefined);
3079
+ };
3080
+
3081
+
3082
+ /**
3083
+ * Returns whether this field is set.
3084
+ * @return {boolean}
3085
+ */
3086
+ proto.bonus.SearchBonusRequest.prototype.hasIsGuest = function() {
3087
+ return jspb.Message.getField(this, 9) != null;
3088
+ };
3089
+
3090
+
3043
3091
 
3044
3092
  /**
3045
3093
  * Oneof group definitions for this message. Each group defines the field
@@ -5192,7 +5240,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
5192
5240
  wagerGamesListIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
5193
5241
  excludedSegmentIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
5194
5242
  portraitFileName: jspb.Message.getFieldWithDefault(msg, 31, ""),
5195
- portraitFileType: jspb.Message.getFieldWithDefault(msg, 32, "")
5243
+ portraitFileType: jspb.Message.getFieldWithDefault(msg, 32, ""),
5244
+ canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 33, false)
5196
5245
  };
5197
5246
 
5198
5247
  if (includeInstance) {
@@ -5363,6 +5412,10 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
5363
5412
  var value = /** @type {string} */ (reader.readString());
5364
5413
  msg.setPortraitFileType(value);
5365
5414
  break;
5415
+ case 33:
5416
+ var value = /** @type {boolean} */ (reader.readBool());
5417
+ msg.setCanGuestShow(value);
5418
+ break;
5366
5419
  default:
5367
5420
  reader.skipField();
5368
5421
  break;
@@ -5616,6 +5669,13 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
5616
5669
  f
5617
5670
  );
5618
5671
  }
5672
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 33));
5673
+ if (f != null) {
5674
+ writer.writeBool(
5675
+ 33,
5676
+ f
5677
+ );
5678
+ }
5619
5679
  };
5620
5680
 
5621
5681
 
@@ -6774,6 +6834,42 @@ proto.bonus.BonusItemRequest.prototype.hasPortraitFileType = function() {
6774
6834
  };
6775
6835
 
6776
6836
 
6837
+ /**
6838
+ * optional bool can_guest_show = 33;
6839
+ * @return {boolean}
6840
+ */
6841
+ proto.bonus.BonusItemRequest.prototype.getCanGuestShow = function() {
6842
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false));
6843
+ };
6844
+
6845
+
6846
+ /**
6847
+ * @param {boolean} value
6848
+ * @return {!proto.bonus.BonusItemRequest} returns this
6849
+ */
6850
+ proto.bonus.BonusItemRequest.prototype.setCanGuestShow = function(value) {
6851
+ return jspb.Message.setField(this, 33, value);
6852
+ };
6853
+
6854
+
6855
+ /**
6856
+ * Clears the field making it undefined.
6857
+ * @return {!proto.bonus.BonusItemRequest} returns this
6858
+ */
6859
+ proto.bonus.BonusItemRequest.prototype.clearCanGuestShow = function() {
6860
+ return jspb.Message.setField(this, 33, undefined);
6861
+ };
6862
+
6863
+
6864
+ /**
6865
+ * Returns whether this field is set.
6866
+ * @return {boolean}
6867
+ */
6868
+ proto.bonus.BonusItemRequest.prototype.hasCanGuestShow = function() {
6869
+ return jspb.Message.getField(this, 33) != null;
6870
+ };
6871
+
6872
+
6777
6873
 
6778
6874
 
6779
6875
 
@@ -7888,7 +7984,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
7888
7984
  wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 41, ""),
7889
7985
  availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
7890
7986
  portraitImage: jspb.Message.getFieldWithDefault(msg, 43, ""),
7891
- portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, "")
7987
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, ""),
7988
+ canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false)
7892
7989
  };
7893
7990
 
7894
7991
  if (includeInstance) {
@@ -8114,6 +8211,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
8114
8211
  var value = /** @type {string} */ (reader.readString());
8115
8212
  msg.setPortraitImageCdn(value);
8116
8213
  break;
8214
+ case 45:
8215
+ var value = /** @type {boolean} */ (reader.readBool());
8216
+ msg.setCanGuestShow(value);
8217
+ break;
8117
8218
  default:
8118
8219
  reader.skipField();
8119
8220
  break;
@@ -8458,6 +8559,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
8458
8559
  f
8459
8560
  );
8460
8561
  }
8562
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 45));
8563
+ if (f != null) {
8564
+ writer.writeBool(
8565
+ 45,
8566
+ f
8567
+ );
8568
+ }
8461
8569
  };
8462
8570
 
8463
8571
 
@@ -10045,6 +10153,42 @@ proto.bonus.BonusItem.prototype.hasPortraitImageCdn = function() {
10045
10153
  };
10046
10154
 
10047
10155
 
10156
+ /**
10157
+ * optional bool can_guest_show = 45;
10158
+ * @return {boolean}
10159
+ */
10160
+ proto.bonus.BonusItem.prototype.getCanGuestShow = function() {
10161
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 45, false));
10162
+ };
10163
+
10164
+
10165
+ /**
10166
+ * @param {boolean} value
10167
+ * @return {!proto.bonus.BonusItem} returns this
10168
+ */
10169
+ proto.bonus.BonusItem.prototype.setCanGuestShow = function(value) {
10170
+ return jspb.Message.setField(this, 45, value);
10171
+ };
10172
+
10173
+
10174
+ /**
10175
+ * Clears the field making it undefined.
10176
+ * @return {!proto.bonus.BonusItem} returns this
10177
+ */
10178
+ proto.bonus.BonusItem.prototype.clearCanGuestShow = function() {
10179
+ return jspb.Message.setField(this, 45, undefined);
10180
+ };
10181
+
10182
+
10183
+ /**
10184
+ * Returns whether this field is set.
10185
+ * @return {boolean}
10186
+ */
10187
+ proto.bonus.BonusItem.prototype.hasCanGuestShow = function() {
10188
+ return jspb.Message.getField(this, 45) != null;
10189
+ };
10190
+
10191
+
10048
10192
 
10049
10193
  /**
10050
10194
  * 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.537",
3
+ "version": "1.2.539",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {