protobuf-platform 1.2.534 → 1.2.537

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/game/game.proto CHANGED
@@ -532,6 +532,7 @@ message GameItem {
532
532
  optional bool is_popular = 27;
533
533
  optional bool is_exclusive = 28;
534
534
  optional bool is_trending = 29;
535
+ repeated string supported_currencies = 30;
535
536
  }
536
537
  //Game CRUD | Requests
537
538
  message GameRequest {
@@ -901,6 +902,7 @@ message FreeSpinBonusCampaignRequest {
901
902
  optional float max_win_amount = 10;
902
903
  optional string campaign_name = 11;
903
904
  optional string provider_extras = 12;
905
+ int64 user_bonus_id = 13;
904
906
  }
905
907
  message FreeSpinStatusRequest {
906
908
  string free_spin_id = 1;
package/game/game_pb.js CHANGED
@@ -20415,7 +20415,7 @@ proto.game.GameImages.prototype.hasSquare = function() {
20415
20415
  * @private {!Array<number>}
20416
20416
  * @const
20417
20417
  */
20418
- proto.game.GameItem.repeatedFields_ = [23];
20418
+ proto.game.GameItem.repeatedFields_ = [23,30];
20419
20419
 
20420
20420
 
20421
20421
 
@@ -20476,7 +20476,8 @@ proto.game.GameItem.toObject = function(includeInstance, msg) {
20476
20476
  isNew: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
20477
20477
  isPopular: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
20478
20478
  isExclusive: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
20479
- isTrending: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
20479
+ isTrending: jspb.Message.getBooleanFieldWithDefault(msg, 29, false),
20480
+ supportedCurrenciesList: (f = jspb.Message.getRepeatedField(msg, 30)) == null ? undefined : f
20480
20481
  };
20481
20482
 
20482
20483
  if (includeInstance) {
@@ -20631,6 +20632,10 @@ proto.game.GameItem.deserializeBinaryFromReader = function(msg, reader) {
20631
20632
  var value = /** @type {boolean} */ (reader.readBool());
20632
20633
  msg.setIsTrending(value);
20633
20634
  break;
20635
+ case 30:
20636
+ var value = /** @type {string} */ (reader.readString());
20637
+ msg.addSupportedCurrencies(value);
20638
+ break;
20634
20639
  default:
20635
20640
  reader.skipField();
20636
20641
  break;
@@ -20865,6 +20870,13 @@ proto.game.GameItem.serializeBinaryToWriter = function(message, writer) {
20865
20870
  f
20866
20871
  );
20867
20872
  }
20873
+ f = message.getSupportedCurrenciesList();
20874
+ if (f.length > 0) {
20875
+ writer.writeRepeatedString(
20876
+ 30,
20877
+ f
20878
+ );
20879
+ }
20868
20880
  };
20869
20881
 
20870
20882
 
@@ -21915,6 +21927,43 @@ proto.game.GameItem.prototype.hasIsTrending = function() {
21915
21927
  };
21916
21928
 
21917
21929
 
21930
+ /**
21931
+ * repeated string supported_currencies = 30;
21932
+ * @return {!Array<string>}
21933
+ */
21934
+ proto.game.GameItem.prototype.getSupportedCurrenciesList = function() {
21935
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 30));
21936
+ };
21937
+
21938
+
21939
+ /**
21940
+ * @param {!Array<string>} value
21941
+ * @return {!proto.game.GameItem} returns this
21942
+ */
21943
+ proto.game.GameItem.prototype.setSupportedCurrenciesList = function(value) {
21944
+ return jspb.Message.setField(this, 30, value || []);
21945
+ };
21946
+
21947
+
21948
+ /**
21949
+ * @param {string} value
21950
+ * @param {number=} opt_index
21951
+ * @return {!proto.game.GameItem} returns this
21952
+ */
21953
+ proto.game.GameItem.prototype.addSupportedCurrencies = function(value, opt_index) {
21954
+ return jspb.Message.addToRepeatedField(this, 30, value, opt_index);
21955
+ };
21956
+
21957
+
21958
+ /**
21959
+ * Clears the list making it empty but non-null.
21960
+ * @return {!proto.game.GameItem} returns this
21961
+ */
21962
+ proto.game.GameItem.prototype.clearSupportedCurrenciesList = function() {
21963
+ return this.setSupportedCurrenciesList([]);
21964
+ };
21965
+
21966
+
21918
21967
 
21919
21968
  /**
21920
21969
  * Oneof group definitions for this message. Each group defines the field
@@ -37861,7 +37910,8 @@ proto.game.FreeSpinBonusCampaignRequest.toObject = function(includeInstance, msg
37861
37910
  spinAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
37862
37911
  maxWinAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
37863
37912
  campaignName: jspb.Message.getFieldWithDefault(msg, 11, ""),
37864
- providerExtras: jspb.Message.getFieldWithDefault(msg, 12, "")
37913
+ providerExtras: jspb.Message.getFieldWithDefault(msg, 12, ""),
37914
+ userBonusId: jspb.Message.getFieldWithDefault(msg, 13, 0)
37865
37915
  };
37866
37916
 
37867
37917
  if (includeInstance) {
@@ -37946,6 +37996,10 @@ proto.game.FreeSpinBonusCampaignRequest.deserializeBinaryFromReader = function(m
37946
37996
  var value = /** @type {string} */ (reader.readString());
37947
37997
  msg.setProviderExtras(value);
37948
37998
  break;
37999
+ case 13:
38000
+ var value = /** @type {number} */ (reader.readInt64());
38001
+ msg.setUserBonusId(value);
38002
+ break;
37949
38003
  default:
37950
38004
  reader.skipField();
37951
38005
  break;
@@ -38059,6 +38113,13 @@ proto.game.FreeSpinBonusCampaignRequest.serializeBinaryToWriter = function(messa
38059
38113
  f
38060
38114
  );
38061
38115
  }
38116
+ f = message.getUserBonusId();
38117
+ if (f !== 0) {
38118
+ writer.writeInt64(
38119
+ 13,
38120
+ f
38121
+ );
38122
+ }
38062
38123
  };
38063
38124
 
38064
38125
 
@@ -38332,6 +38393,24 @@ proto.game.FreeSpinBonusCampaignRequest.prototype.hasProviderExtras = function()
38332
38393
  };
38333
38394
 
38334
38395
 
38396
+ /**
38397
+ * optional int64 user_bonus_id = 13;
38398
+ * @return {number}
38399
+ */
38400
+ proto.game.FreeSpinBonusCampaignRequest.prototype.getUserBonusId = function() {
38401
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
38402
+ };
38403
+
38404
+
38405
+ /**
38406
+ * @param {number} value
38407
+ * @return {!proto.game.FreeSpinBonusCampaignRequest} returns this
38408
+ */
38409
+ proto.game.FreeSpinBonusCampaignRequest.prototype.setUserBonusId = function(value) {
38410
+ return jspb.Message.setProto3IntField(this, 13, value);
38411
+ };
38412
+
38413
+
38335
38414
 
38336
38415
 
38337
38416
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.534",
3
+ "version": "1.2.537",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {