protobuf-platform 1.2.150 → 1.2.153

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
@@ -259,6 +259,7 @@ message GetUserBonusRequest {
259
259
  optional string user_public_id = 8;
260
260
  optional string user_name = 9;
261
261
  optional string status = 10;
262
+ optional bool is_mobile = 11;
262
263
  }
263
264
  message UserBonusItemsResponse {
264
265
  repeated UserBonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -11104,7 +11104,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
11104
11104
  locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
11105
11105
  userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
11106
11106
  userName: jspb.Message.getFieldWithDefault(msg, 9, ""),
11107
- status: jspb.Message.getFieldWithDefault(msg, 10, "")
11107
+ status: jspb.Message.getFieldWithDefault(msg, 10, ""),
11108
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
11108
11109
  };
11109
11110
 
11110
11111
  if (includeInstance) {
@@ -11181,6 +11182,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
11181
11182
  var value = /** @type {string} */ (reader.readString());
11182
11183
  msg.setStatus(value);
11183
11184
  break;
11185
+ case 11:
11186
+ var value = /** @type {boolean} */ (reader.readBool());
11187
+ msg.setIsMobile(value);
11188
+ break;
11184
11189
  default:
11185
11190
  reader.skipField();
11186
11191
  break;
@@ -11280,6 +11285,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
11280
11285
  f
11281
11286
  );
11282
11287
  }
11288
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
11289
+ if (f != null) {
11290
+ writer.writeBool(
11291
+ 11,
11292
+ f
11293
+ );
11294
+ }
11283
11295
  };
11284
11296
 
11285
11297
 
@@ -11625,6 +11637,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasStatus = function() {
11625
11637
  };
11626
11638
 
11627
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
+
11628
11676
 
11629
11677
  /**
11630
11678
  * List of repeated fields within this message type.
package/game/game.proto CHANGED
@@ -587,8 +587,9 @@ message ProviderPoorItemsResponse {
587
587
  }
588
588
  //Free Spins
589
589
  message FreeSpinSettingsRequest {
590
- string game_uuid = 1;
591
- string currency = 2;
590
+ optional string game_uuid = 1;
591
+ optional int32 game_id = 2;
592
+ optional string currency = 3;
592
593
  }
593
594
  message FreeSpinSettingsResponse {
594
595
  string data = 1;
package/game/game_pb.js CHANGED
@@ -24397,7 +24397,8 @@ proto.game.FreeSpinSettingsRequest.prototype.toObject = function(opt_includeInst
24397
24397
  proto.game.FreeSpinSettingsRequest.toObject = function(includeInstance, msg) {
24398
24398
  var f, obj = {
24399
24399
  gameUuid: jspb.Message.getFieldWithDefault(msg, 1, ""),
24400
- currency: jspb.Message.getFieldWithDefault(msg, 2, "")
24400
+ gameId: jspb.Message.getFieldWithDefault(msg, 2, 0),
24401
+ currency: jspb.Message.getFieldWithDefault(msg, 3, "")
24401
24402
  };
24402
24403
 
24403
24404
  if (includeInstance) {
@@ -24439,6 +24440,10 @@ proto.game.FreeSpinSettingsRequest.deserializeBinaryFromReader = function(msg, r
24439
24440
  msg.setGameUuid(value);
24440
24441
  break;
24441
24442
  case 2:
24443
+ var value = /** @type {number} */ (reader.readInt32());
24444
+ msg.setGameId(value);
24445
+ break;
24446
+ case 3:
24442
24447
  var value = /** @type {string} */ (reader.readString());
24443
24448
  msg.setCurrency(value);
24444
24449
  break;
@@ -24471,20 +24476,27 @@ proto.game.FreeSpinSettingsRequest.prototype.serializeBinary = function() {
24471
24476
  */
24472
24477
  proto.game.FreeSpinSettingsRequest.serializeBinaryToWriter = function(message, writer) {
24473
24478
  var f = undefined;
24474
- f = message.getGameUuid();
24475
- if (f.length > 0) {
24479
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
24480
+ if (f != null) {
24476
24481
  writer.writeString(
24477
24482
  1,
24478
24483
  f
24479
24484
  );
24480
24485
  }
24481
- f = message.getCurrency();
24482
- if (f.length > 0) {
24483
- writer.writeString(
24486
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
24487
+ if (f != null) {
24488
+ writer.writeInt32(
24484
24489
  2,
24485
24490
  f
24486
24491
  );
24487
24492
  }
24493
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
24494
+ if (f != null) {
24495
+ writer.writeString(
24496
+ 3,
24497
+ f
24498
+ );
24499
+ }
24488
24500
  };
24489
24501
 
24490
24502
 
@@ -24502,16 +24514,70 @@ proto.game.FreeSpinSettingsRequest.prototype.getGameUuid = function() {
24502
24514
  * @return {!proto.game.FreeSpinSettingsRequest} returns this
24503
24515
  */
24504
24516
  proto.game.FreeSpinSettingsRequest.prototype.setGameUuid = function(value) {
24505
- return jspb.Message.setProto3StringField(this, 1, value);
24517
+ return jspb.Message.setField(this, 1, value);
24506
24518
  };
24507
24519
 
24508
24520
 
24509
24521
  /**
24510
- * optional string currency = 2;
24522
+ * Clears the field making it undefined.
24523
+ * @return {!proto.game.FreeSpinSettingsRequest} returns this
24524
+ */
24525
+ proto.game.FreeSpinSettingsRequest.prototype.clearGameUuid = function() {
24526
+ return jspb.Message.setField(this, 1, undefined);
24527
+ };
24528
+
24529
+
24530
+ /**
24531
+ * Returns whether this field is set.
24532
+ * @return {boolean}
24533
+ */
24534
+ proto.game.FreeSpinSettingsRequest.prototype.hasGameUuid = function() {
24535
+ return jspb.Message.getField(this, 1) != null;
24536
+ };
24537
+
24538
+
24539
+ /**
24540
+ * optional int32 game_id = 2;
24541
+ * @return {number}
24542
+ */
24543
+ proto.game.FreeSpinSettingsRequest.prototype.getGameId = function() {
24544
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
24545
+ };
24546
+
24547
+
24548
+ /**
24549
+ * @param {number} value
24550
+ * @return {!proto.game.FreeSpinSettingsRequest} returns this
24551
+ */
24552
+ proto.game.FreeSpinSettingsRequest.prototype.setGameId = function(value) {
24553
+ return jspb.Message.setField(this, 2, value);
24554
+ };
24555
+
24556
+
24557
+ /**
24558
+ * Clears the field making it undefined.
24559
+ * @return {!proto.game.FreeSpinSettingsRequest} returns this
24560
+ */
24561
+ proto.game.FreeSpinSettingsRequest.prototype.clearGameId = function() {
24562
+ return jspb.Message.setField(this, 2, undefined);
24563
+ };
24564
+
24565
+
24566
+ /**
24567
+ * Returns whether this field is set.
24568
+ * @return {boolean}
24569
+ */
24570
+ proto.game.FreeSpinSettingsRequest.prototype.hasGameId = function() {
24571
+ return jspb.Message.getField(this, 2) != null;
24572
+ };
24573
+
24574
+
24575
+ /**
24576
+ * optional string currency = 3;
24511
24577
  * @return {string}
24512
24578
  */
24513
24579
  proto.game.FreeSpinSettingsRequest.prototype.getCurrency = function() {
24514
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24580
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
24515
24581
  };
24516
24582
 
24517
24583
 
@@ -24520,7 +24586,25 @@ proto.game.FreeSpinSettingsRequest.prototype.getCurrency = function() {
24520
24586
  * @return {!proto.game.FreeSpinSettingsRequest} returns this
24521
24587
  */
24522
24588
  proto.game.FreeSpinSettingsRequest.prototype.setCurrency = function(value) {
24523
- return jspb.Message.setProto3StringField(this, 2, value);
24589
+ return jspb.Message.setField(this, 3, value);
24590
+ };
24591
+
24592
+
24593
+ /**
24594
+ * Clears the field making it undefined.
24595
+ * @return {!proto.game.FreeSpinSettingsRequest} returns this
24596
+ */
24597
+ proto.game.FreeSpinSettingsRequest.prototype.clearCurrency = function() {
24598
+ return jspb.Message.setField(this, 3, undefined);
24599
+ };
24600
+
24601
+
24602
+ /**
24603
+ * Returns whether this field is set.
24604
+ * @return {boolean}
24605
+ */
24606
+ proto.game.FreeSpinSettingsRequest.prototype.hasCurrency = function() {
24607
+ return jspb.Message.getField(this, 3) != null;
24524
24608
  };
24525
24609
 
24526
24610
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.150",
3
+ "version": "1.2.153",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {