protobuf-platform 1.2.525 → 1.2.527

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
@@ -167,6 +167,8 @@ message BonusItemRequest {
167
167
  optional bool wager_games_list_ids_provided = 29;
168
168
  // Update: true = replace excluded_segment_ids; empty with true = clear; absent/false = preserve.
169
169
  optional bool excluded_segment_ids_provided = 30;
170
+ optional string portrait_file_name = 31;
171
+ optional string portrait_file_type = 32;
170
172
  }
171
173
  message GetBonusRequest {
172
174
  int32 id = 1;
@@ -238,6 +240,8 @@ message BonusItem {
238
240
  // Business-allowed: "any" | "real" | "bonus"
239
241
  string wager_balance_priority = 41;
240
242
  repeated string available_actions = 42;
243
+ optional string portrait_image = 43;
244
+ optional string portrait_image_cdn = 44;
241
245
  }
242
246
  message BonusItemsResponse {
243
247
  repeated BonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -5190,7 +5190,9 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
5190
5190
  wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 27, ""),
5191
5191
  segmentIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
5192
5192
  wagerGamesListIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
5193
- excludedSegmentIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 30, false)
5193
+ excludedSegmentIdsProvided: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
5194
+ portraitFileName: jspb.Message.getFieldWithDefault(msg, 31, ""),
5195
+ portraitFileType: jspb.Message.getFieldWithDefault(msg, 32, "")
5194
5196
  };
5195
5197
 
5196
5198
  if (includeInstance) {
@@ -5353,6 +5355,14 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
5353
5355
  var value = /** @type {boolean} */ (reader.readBool());
5354
5356
  msg.setExcludedSegmentIdsProvided(value);
5355
5357
  break;
5358
+ case 31:
5359
+ var value = /** @type {string} */ (reader.readString());
5360
+ msg.setPortraitFileName(value);
5361
+ break;
5362
+ case 32:
5363
+ var value = /** @type {string} */ (reader.readString());
5364
+ msg.setPortraitFileType(value);
5365
+ break;
5356
5366
  default:
5357
5367
  reader.skipField();
5358
5368
  break;
@@ -5592,6 +5602,20 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
5592
5602
  f
5593
5603
  );
5594
5604
  }
5605
+ f = /** @type {string} */ (jspb.Message.getField(message, 31));
5606
+ if (f != null) {
5607
+ writer.writeString(
5608
+ 31,
5609
+ f
5610
+ );
5611
+ }
5612
+ f = /** @type {string} */ (jspb.Message.getField(message, 32));
5613
+ if (f != null) {
5614
+ writer.writeString(
5615
+ 32,
5616
+ f
5617
+ );
5618
+ }
5595
5619
  };
5596
5620
 
5597
5621
 
@@ -6678,6 +6702,78 @@ proto.bonus.BonusItemRequest.prototype.hasExcludedSegmentIdsProvided = function(
6678
6702
  };
6679
6703
 
6680
6704
 
6705
+ /**
6706
+ * optional string portrait_file_name = 31;
6707
+ * @return {string}
6708
+ */
6709
+ proto.bonus.BonusItemRequest.prototype.getPortraitFileName = function() {
6710
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
6711
+ };
6712
+
6713
+
6714
+ /**
6715
+ * @param {string} value
6716
+ * @return {!proto.bonus.BonusItemRequest} returns this
6717
+ */
6718
+ proto.bonus.BonusItemRequest.prototype.setPortraitFileName = function(value) {
6719
+ return jspb.Message.setField(this, 31, value);
6720
+ };
6721
+
6722
+
6723
+ /**
6724
+ * Clears the field making it undefined.
6725
+ * @return {!proto.bonus.BonusItemRequest} returns this
6726
+ */
6727
+ proto.bonus.BonusItemRequest.prototype.clearPortraitFileName = function() {
6728
+ return jspb.Message.setField(this, 31, undefined);
6729
+ };
6730
+
6731
+
6732
+ /**
6733
+ * Returns whether this field is set.
6734
+ * @return {boolean}
6735
+ */
6736
+ proto.bonus.BonusItemRequest.prototype.hasPortraitFileName = function() {
6737
+ return jspb.Message.getField(this, 31) != null;
6738
+ };
6739
+
6740
+
6741
+ /**
6742
+ * optional string portrait_file_type = 32;
6743
+ * @return {string}
6744
+ */
6745
+ proto.bonus.BonusItemRequest.prototype.getPortraitFileType = function() {
6746
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
6747
+ };
6748
+
6749
+
6750
+ /**
6751
+ * @param {string} value
6752
+ * @return {!proto.bonus.BonusItemRequest} returns this
6753
+ */
6754
+ proto.bonus.BonusItemRequest.prototype.setPortraitFileType = function(value) {
6755
+ return jspb.Message.setField(this, 32, value);
6756
+ };
6757
+
6758
+
6759
+ /**
6760
+ * Clears the field making it undefined.
6761
+ * @return {!proto.bonus.BonusItemRequest} returns this
6762
+ */
6763
+ proto.bonus.BonusItemRequest.prototype.clearPortraitFileType = function() {
6764
+ return jspb.Message.setField(this, 32, undefined);
6765
+ };
6766
+
6767
+
6768
+ /**
6769
+ * Returns whether this field is set.
6770
+ * @return {boolean}
6771
+ */
6772
+ proto.bonus.BonusItemRequest.prototype.hasPortraitFileType = function() {
6773
+ return jspb.Message.getField(this, 32) != null;
6774
+ };
6775
+
6776
+
6681
6777
 
6682
6778
 
6683
6779
 
@@ -7790,7 +7886,9 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
7790
7886
  wagerGamesListIdsList: (f = jspb.Message.getRepeatedField(msg, 39)) == null ? undefined : f,
7791
7887
  excludedSegmentIdsList: (f = jspb.Message.getRepeatedField(msg, 40)) == null ? undefined : f,
7792
7888
  wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 41, ""),
7793
- availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f
7889
+ availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
7890
+ portraitImage: jspb.Message.getFieldWithDefault(msg, 43, ""),
7891
+ portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, "")
7794
7892
  };
7795
7893
 
7796
7894
  if (includeInstance) {
@@ -8008,6 +8106,14 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
8008
8106
  var value = /** @type {string} */ (reader.readString());
8009
8107
  msg.addAvailableActions(value);
8010
8108
  break;
8109
+ case 43:
8110
+ var value = /** @type {string} */ (reader.readString());
8111
+ msg.setPortraitImage(value);
8112
+ break;
8113
+ case 44:
8114
+ var value = /** @type {string} */ (reader.readString());
8115
+ msg.setPortraitImageCdn(value);
8116
+ break;
8011
8117
  default:
8012
8118
  reader.skipField();
8013
8119
  break;
@@ -8338,6 +8444,20 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
8338
8444
  f
8339
8445
  );
8340
8446
  }
8447
+ f = /** @type {string} */ (jspb.Message.getField(message, 43));
8448
+ if (f != null) {
8449
+ writer.writeString(
8450
+ 43,
8451
+ f
8452
+ );
8453
+ }
8454
+ f = /** @type {string} */ (jspb.Message.getField(message, 44));
8455
+ if (f != null) {
8456
+ writer.writeString(
8457
+ 44,
8458
+ f
8459
+ );
8460
+ }
8341
8461
  };
8342
8462
 
8343
8463
 
@@ -9853,6 +9973,78 @@ proto.bonus.BonusItem.prototype.clearAvailableActionsList = function() {
9853
9973
  };
9854
9974
 
9855
9975
 
9976
+ /**
9977
+ * optional string portrait_image = 43;
9978
+ * @return {string}
9979
+ */
9980
+ proto.bonus.BonusItem.prototype.getPortraitImage = function() {
9981
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 43, ""));
9982
+ };
9983
+
9984
+
9985
+ /**
9986
+ * @param {string} value
9987
+ * @return {!proto.bonus.BonusItem} returns this
9988
+ */
9989
+ proto.bonus.BonusItem.prototype.setPortraitImage = function(value) {
9990
+ return jspb.Message.setField(this, 43, value);
9991
+ };
9992
+
9993
+
9994
+ /**
9995
+ * Clears the field making it undefined.
9996
+ * @return {!proto.bonus.BonusItem} returns this
9997
+ */
9998
+ proto.bonus.BonusItem.prototype.clearPortraitImage = function() {
9999
+ return jspb.Message.setField(this, 43, undefined);
10000
+ };
10001
+
10002
+
10003
+ /**
10004
+ * Returns whether this field is set.
10005
+ * @return {boolean}
10006
+ */
10007
+ proto.bonus.BonusItem.prototype.hasPortraitImage = function() {
10008
+ return jspb.Message.getField(this, 43) != null;
10009
+ };
10010
+
10011
+
10012
+ /**
10013
+ * optional string portrait_image_cdn = 44;
10014
+ * @return {string}
10015
+ */
10016
+ proto.bonus.BonusItem.prototype.getPortraitImageCdn = function() {
10017
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, ""));
10018
+ };
10019
+
10020
+
10021
+ /**
10022
+ * @param {string} value
10023
+ * @return {!proto.bonus.BonusItem} returns this
10024
+ */
10025
+ proto.bonus.BonusItem.prototype.setPortraitImageCdn = function(value) {
10026
+ return jspb.Message.setField(this, 44, value);
10027
+ };
10028
+
10029
+
10030
+ /**
10031
+ * Clears the field making it undefined.
10032
+ * @return {!proto.bonus.BonusItem} returns this
10033
+ */
10034
+ proto.bonus.BonusItem.prototype.clearPortraitImageCdn = function() {
10035
+ return jspb.Message.setField(this, 44, undefined);
10036
+ };
10037
+
10038
+
10039
+ /**
10040
+ * Returns whether this field is set.
10041
+ * @return {boolean}
10042
+ */
10043
+ proto.bonus.BonusItem.prototype.hasPortraitImageCdn = function() {
10044
+ return jspb.Message.getField(this, 44) != null;
10045
+ };
10046
+
10047
+
9856
10048
 
9857
10049
  /**
9858
10050
  * 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.525",
3
+ "version": "1.2.527",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {