protobuf-platform 1.0.148 → 1.0.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
@@ -158,6 +158,7 @@ message GetUserBonusRequest {
158
158
  optional string country = 6;
159
159
  optional string locale = 7;
160
160
  optional string user_public_id = 8;
161
+ optional string user_name = 9;
161
162
  }
162
163
  message UserBonusItemsResponse {
163
164
  repeated UserBonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -6906,7 +6906,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
6906
6906
  currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
6907
6907
  country: jspb.Message.getFieldWithDefault(msg, 6, ""),
6908
6908
  locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
6909
- userPublicId: jspb.Message.getFieldWithDefault(msg, 8, "")
6909
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
6910
+ userName: jspb.Message.getFieldWithDefault(msg, 9, "")
6910
6911
  };
6911
6912
 
6912
6913
  if (includeInstance) {
@@ -6975,6 +6976,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
6975
6976
  var value = /** @type {string} */ (reader.readString());
6976
6977
  msg.setUserPublicId(value);
6977
6978
  break;
6979
+ case 9:
6980
+ var value = /** @type {string} */ (reader.readString());
6981
+ msg.setUserName(value);
6982
+ break;
6978
6983
  default:
6979
6984
  reader.skipField();
6980
6985
  break;
@@ -7060,6 +7065,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
7060
7065
  f
7061
7066
  );
7062
7067
  }
7068
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
7069
+ if (f != null) {
7070
+ writer.writeString(
7071
+ 9,
7072
+ f
7073
+ );
7074
+ }
7063
7075
  };
7064
7076
 
7065
7077
 
@@ -7333,6 +7345,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasUserPublicId = function() {
7333
7345
  };
7334
7346
 
7335
7347
 
7348
+ /**
7349
+ * optional string user_name = 9;
7350
+ * @return {string}
7351
+ */
7352
+ proto.bonus.GetUserBonusRequest.prototype.getUserName = function() {
7353
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
7354
+ };
7355
+
7356
+
7357
+ /**
7358
+ * @param {string} value
7359
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
7360
+ */
7361
+ proto.bonus.GetUserBonusRequest.prototype.setUserName = function(value) {
7362
+ return jspb.Message.setField(this, 9, value);
7363
+ };
7364
+
7365
+
7366
+ /**
7367
+ * Clears the field making it undefined.
7368
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
7369
+ */
7370
+ proto.bonus.GetUserBonusRequest.prototype.clearUserName = function() {
7371
+ return jspb.Message.setField(this, 9, undefined);
7372
+ };
7373
+
7374
+
7375
+ /**
7376
+ * Returns whether this field is set.
7377
+ * @return {boolean}
7378
+ */
7379
+ proto.bonus.GetUserBonusRequest.prototype.hasUserName = function() {
7380
+ return jspb.Message.getField(this, 9) != null;
7381
+ };
7382
+
7383
+
7336
7384
 
7337
7385
  /**
7338
7386
  * List of repeated fields within this message type.
package/game/game.proto CHANGED
@@ -438,6 +438,7 @@ message FreeSpinCampaignRequest {
438
438
  optional int32 bet_id = 10;
439
439
  optional float denomination = 11;
440
440
  optional int32 total_bet_id = 12;
441
+ optional float spin_amount = 13;
441
442
  }
442
443
  message FreeSpinStatusRequest {
443
444
  string free_spin_id = 1;
package/game/game_pb.js CHANGED
@@ -17900,7 +17900,8 @@ proto.game.FreeSpinCampaignRequest.toObject = function(includeInstance, msg) {
17900
17900
  freespinId: jspb.Message.getFieldWithDefault(msg, 9, ""),
17901
17901
  betId: jspb.Message.getFieldWithDefault(msg, 10, 0),
17902
17902
  denomination: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
17903
- totalBetId: jspb.Message.getFieldWithDefault(msg, 12, 0)
17903
+ totalBetId: jspb.Message.getFieldWithDefault(msg, 12, 0),
17904
+ spinAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0)
17904
17905
  };
17905
17906
 
17906
17907
  if (includeInstance) {
@@ -17985,6 +17986,10 @@ proto.game.FreeSpinCampaignRequest.deserializeBinaryFromReader = function(msg, r
17985
17986
  var value = /** @type {number} */ (reader.readInt32());
17986
17987
  msg.setTotalBetId(value);
17987
17988
  break;
17989
+ case 13:
17990
+ var value = /** @type {number} */ (reader.readFloat());
17991
+ msg.setSpinAmount(value);
17992
+ break;
17988
17993
  default:
17989
17994
  reader.skipField();
17990
17995
  break;
@@ -18098,6 +18103,13 @@ proto.game.FreeSpinCampaignRequest.serializeBinaryToWriter = function(message, w
18098
18103
  f
18099
18104
  );
18100
18105
  }
18106
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
18107
+ if (f != null) {
18108
+ writer.writeFloat(
18109
+ 13,
18110
+ f
18111
+ );
18112
+ }
18101
18113
  };
18102
18114
 
18103
18115
 
@@ -18407,6 +18419,42 @@ proto.game.FreeSpinCampaignRequest.prototype.hasTotalBetId = function() {
18407
18419
  };
18408
18420
 
18409
18421
 
18422
+ /**
18423
+ * optional float spin_amount = 13;
18424
+ * @return {number}
18425
+ */
18426
+ proto.game.FreeSpinCampaignRequest.prototype.getSpinAmount = function() {
18427
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
18428
+ };
18429
+
18430
+
18431
+ /**
18432
+ * @param {number} value
18433
+ * @return {!proto.game.FreeSpinCampaignRequest} returns this
18434
+ */
18435
+ proto.game.FreeSpinCampaignRequest.prototype.setSpinAmount = function(value) {
18436
+ return jspb.Message.setField(this, 13, value);
18437
+ };
18438
+
18439
+
18440
+ /**
18441
+ * Clears the field making it undefined.
18442
+ * @return {!proto.game.FreeSpinCampaignRequest} returns this
18443
+ */
18444
+ proto.game.FreeSpinCampaignRequest.prototype.clearSpinAmount = function() {
18445
+ return jspb.Message.setField(this, 13, undefined);
18446
+ };
18447
+
18448
+
18449
+ /**
18450
+ * Returns whether this field is set.
18451
+ * @return {boolean}
18452
+ */
18453
+ proto.game.FreeSpinCampaignRequest.prototype.hasSpinAmount = function() {
18454
+ return jspb.Message.getField(this, 13) != null;
18455
+ };
18456
+
18457
+
18410
18458
 
18411
18459
 
18412
18460
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.148",
3
+ "version": "1.0.150",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {