protobuf-platform 1.0.165 → 1.0.167

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
@@ -138,6 +138,7 @@ message UserBonusItem {
138
138
  optional bool has_free_spins = 22;
139
139
  optional string status_free_spins = 23;
140
140
  optional float reward_free_spins = 24;
141
+ optional float cancellation_amount = 25;
141
142
  }
142
143
  message FreeSpinItem {
143
144
  int32 game_id = 1;
package/bonus/bonus_pb.js CHANGED
@@ -5185,7 +5185,8 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
5185
5185
  wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0),
5186
5186
  hasFreeSpins: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
5187
5187
  statusFreeSpins: jspb.Message.getFieldWithDefault(msg, 23, ""),
5188
- rewardFreeSpins: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0)
5188
+ rewardFreeSpins: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0),
5189
+ cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0)
5189
5190
  };
5190
5191
 
5191
5192
  if (includeInstance) {
@@ -5320,6 +5321,10 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
5320
5321
  var value = /** @type {number} */ (reader.readFloat());
5321
5322
  msg.setRewardFreeSpins(value);
5322
5323
  break;
5324
+ case 25:
5325
+ var value = /** @type {number} */ (reader.readFloat());
5326
+ msg.setCancellationAmount(value);
5327
+ break;
5323
5328
  default:
5324
5329
  reader.skipField();
5325
5330
  break;
@@ -5519,6 +5524,13 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
5519
5524
  f
5520
5525
  );
5521
5526
  }
5527
+ f = /** @type {number} */ (jspb.Message.getField(message, 25));
5528
+ if (f != null) {
5529
+ writer.writeFloat(
5530
+ 25,
5531
+ f
5532
+ );
5533
+ }
5522
5534
  };
5523
5535
 
5524
5536
 
@@ -6389,6 +6401,42 @@ proto.bonus.UserBonusItem.prototype.hasRewardFreeSpins = function() {
6389
6401
  };
6390
6402
 
6391
6403
 
6404
+ /**
6405
+ * optional float cancellation_amount = 25;
6406
+ * @return {number}
6407
+ */
6408
+ proto.bonus.UserBonusItem.prototype.getCancellationAmount = function() {
6409
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
6410
+ };
6411
+
6412
+
6413
+ /**
6414
+ * @param {number} value
6415
+ * @return {!proto.bonus.UserBonusItem} returns this
6416
+ */
6417
+ proto.bonus.UserBonusItem.prototype.setCancellationAmount = function(value) {
6418
+ return jspb.Message.setField(this, 25, value);
6419
+ };
6420
+
6421
+
6422
+ /**
6423
+ * Clears the field making it undefined.
6424
+ * @return {!proto.bonus.UserBonusItem} returns this
6425
+ */
6426
+ proto.bonus.UserBonusItem.prototype.clearCancellationAmount = function() {
6427
+ return jspb.Message.setField(this, 25, undefined);
6428
+ };
6429
+
6430
+
6431
+ /**
6432
+ * Returns whether this field is set.
6433
+ * @return {boolean}
6434
+ */
6435
+ proto.bonus.UserBonusItem.prototype.hasCancellationAmount = function() {
6436
+ return jspb.Message.getField(this, 25) != null;
6437
+ };
6438
+
6439
+
6392
6440
 
6393
6441
 
6394
6442
 
package/game/game.proto CHANGED
@@ -379,6 +379,7 @@ message SearchGamesIntoCollectionsRequest {
379
379
  optional int32 limit = 3;
380
380
  optional int32 offset = 4;
381
381
  optional bool is_mobile = 5;
382
+ optional bool admin_side = 6;
382
383
  }
383
384
  message SearchGamesIntoTagsRequest {
384
385
  string tag_slugs = 1;
@@ -386,6 +387,7 @@ message SearchGamesIntoTagsRequest {
386
387
  optional int32 limit = 3;
387
388
  optional int32 offset = 4;
388
389
  optional bool is_mobile = 5;
390
+ optional bool admin_side = 6;
389
391
  }
390
392
  message GamesPriorityRequest {
391
393
  int32 id = 1;
package/game/game_pb.js CHANGED
@@ -15604,7 +15604,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
15604
15604
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
15605
15605
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
15606
15606
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
15607
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
15607
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
15608
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
15608
15609
  };
15609
15610
 
15610
15611
  if (includeInstance) {
@@ -15661,6 +15662,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
15661
15662
  var value = /** @type {boolean} */ (reader.readBool());
15662
15663
  msg.setIsMobile(value);
15663
15664
  break;
15665
+ case 6:
15666
+ var value = /** @type {boolean} */ (reader.readBool());
15667
+ msg.setAdminSide(value);
15668
+ break;
15664
15669
  default:
15665
15670
  reader.skipField();
15666
15671
  break;
@@ -15725,6 +15730,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
15725
15730
  f
15726
15731
  );
15727
15732
  }
15733
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
15734
+ if (f != null) {
15735
+ writer.writeBool(
15736
+ 6,
15737
+ f
15738
+ );
15739
+ }
15728
15740
  };
15729
15741
 
15730
15742
 
@@ -15890,6 +15902,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasIsMobile = function()
15890
15902
  };
15891
15903
 
15892
15904
 
15905
+ /**
15906
+ * optional bool admin_side = 6;
15907
+ * @return {boolean}
15908
+ */
15909
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.getAdminSide = function() {
15910
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
15911
+ };
15912
+
15913
+
15914
+ /**
15915
+ * @param {boolean} value
15916
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
15917
+ */
15918
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.setAdminSide = function(value) {
15919
+ return jspb.Message.setField(this, 6, value);
15920
+ };
15921
+
15922
+
15923
+ /**
15924
+ * Clears the field making it undefined.
15925
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
15926
+ */
15927
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.clearAdminSide = function() {
15928
+ return jspb.Message.setField(this, 6, undefined);
15929
+ };
15930
+
15931
+
15932
+ /**
15933
+ * Returns whether this field is set.
15934
+ * @return {boolean}
15935
+ */
15936
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasAdminSide = function() {
15937
+ return jspb.Message.getField(this, 6) != null;
15938
+ };
15939
+
15940
+
15893
15941
 
15894
15942
 
15895
15943
 
@@ -15926,7 +15974,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
15926
15974
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
15927
15975
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
15928
15976
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
15929
- isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
15977
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
15978
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
15930
15979
  };
15931
15980
 
15932
15981
  if (includeInstance) {
@@ -15983,6 +16032,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
15983
16032
  var value = /** @type {boolean} */ (reader.readBool());
15984
16033
  msg.setIsMobile(value);
15985
16034
  break;
16035
+ case 6:
16036
+ var value = /** @type {boolean} */ (reader.readBool());
16037
+ msg.setAdminSide(value);
16038
+ break;
15986
16039
  default:
15987
16040
  reader.skipField();
15988
16041
  break;
@@ -16047,6 +16100,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
16047
16100
  f
16048
16101
  );
16049
16102
  }
16103
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
16104
+ if (f != null) {
16105
+ writer.writeBool(
16106
+ 6,
16107
+ f
16108
+ );
16109
+ }
16050
16110
  };
16051
16111
 
16052
16112
 
@@ -16212,6 +16272,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasIsMobile = function() {
16212
16272
  };
16213
16273
 
16214
16274
 
16275
+ /**
16276
+ * optional bool admin_side = 6;
16277
+ * @return {boolean}
16278
+ */
16279
+ proto.game.SearchGamesIntoTagsRequest.prototype.getAdminSide = function() {
16280
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
16281
+ };
16282
+
16283
+
16284
+ /**
16285
+ * @param {boolean} value
16286
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
16287
+ */
16288
+ proto.game.SearchGamesIntoTagsRequest.prototype.setAdminSide = function(value) {
16289
+ return jspb.Message.setField(this, 6, value);
16290
+ };
16291
+
16292
+
16293
+ /**
16294
+ * Clears the field making it undefined.
16295
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
16296
+ */
16297
+ proto.game.SearchGamesIntoTagsRequest.prototype.clearAdminSide = function() {
16298
+ return jspb.Message.setField(this, 6, undefined);
16299
+ };
16300
+
16301
+
16302
+ /**
16303
+ * Returns whether this field is set.
16304
+ * @return {boolean}
16305
+ */
16306
+ proto.game.SearchGamesIntoTagsRequest.prototype.hasAdminSide = function() {
16307
+ return jspb.Message.getField(this, 6) != null;
16308
+ };
16309
+
16310
+
16215
16311
 
16216
16312
 
16217
16313
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.165",
3
+ "version": "1.0.167",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {