protobuf-platform 1.2.532 → 1.2.534

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
@@ -239,6 +239,7 @@ message ItemsBunchRequest {
239
239
  repeated int32 ids = 1;
240
240
  optional int32 is_active = 2;
241
241
  optional int32 is_popular = 3;
242
+ optional int32 is_deactivated = 4;
242
243
  }
243
244
  message SyncImagesRequest {
244
245
  string type = 1;
@@ -398,6 +399,7 @@ message ProviderItem {
398
399
  optional string image_cdn = 7;
399
400
  optional int32 count_of_games = 8;
400
401
  optional int32 is_popular = 9;
402
+ optional int32 is_deactivated = 10;
401
403
  }
402
404
  //Provider CRUD | Requests
403
405
  message ProviderRequest {
@@ -415,6 +417,7 @@ message ProviderItemRequest {
415
417
  optional string file_name = 6;
416
418
  optional string file_type = 7;
417
419
  optional int32 is_popular = 8;
420
+ optional int32 is_deactivated = 9;
418
421
  }
419
422
  message GetProviderRequest {
420
423
  int32 id = 1;
@@ -663,6 +666,7 @@ message SearchGamesIntoCollectionsRequest {
663
666
  optional int32 offset = 4;
664
667
  optional bool is_mobile = 5;
665
668
  optional bool admin_side = 6;
669
+ optional string game_title = 7;
666
670
  }
667
671
  message SearchGamesIntoTagsRequest {
668
672
  repeated string tag_slugs = 1;
@@ -671,6 +675,7 @@ message SearchGamesIntoTagsRequest {
671
675
  optional int32 offset = 4;
672
676
  optional bool is_mobile = 5;
673
677
  optional bool admin_side = 6;
678
+ optional string game_title = 7;
674
679
  }
675
680
  message SearchGamesIntoProvidersRequest {
676
681
  repeated string provider_slugs = 1;
package/game/game_pb.js CHANGED
@@ -8747,7 +8747,8 @@ proto.game.ItemsBunchRequest.toObject = function(includeInstance, msg) {
8747
8747
  var f, obj = {
8748
8748
  idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
8749
8749
  isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
8750
- isPopular: jspb.Message.getFieldWithDefault(msg, 3, 0)
8750
+ isPopular: jspb.Message.getFieldWithDefault(msg, 3, 0),
8751
+ isDeactivated: jspb.Message.getFieldWithDefault(msg, 4, 0)
8751
8752
  };
8752
8753
 
8753
8754
  if (includeInstance) {
@@ -8798,6 +8799,10 @@ proto.game.ItemsBunchRequest.deserializeBinaryFromReader = function(msg, reader)
8798
8799
  var value = /** @type {number} */ (reader.readInt32());
8799
8800
  msg.setIsPopular(value);
8800
8801
  break;
8802
+ case 4:
8803
+ var value = /** @type {number} */ (reader.readInt32());
8804
+ msg.setIsDeactivated(value);
8805
+ break;
8801
8806
  default:
8802
8807
  reader.skipField();
8803
8808
  break;
@@ -8848,6 +8853,13 @@ proto.game.ItemsBunchRequest.serializeBinaryToWriter = function(message, writer)
8848
8853
  f
8849
8854
  );
8850
8855
  }
8856
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
8857
+ if (f != null) {
8858
+ writer.writeInt32(
8859
+ 4,
8860
+ f
8861
+ );
8862
+ }
8851
8863
  };
8852
8864
 
8853
8865
 
@@ -8960,6 +8972,42 @@ proto.game.ItemsBunchRequest.prototype.hasIsPopular = function() {
8960
8972
  };
8961
8973
 
8962
8974
 
8975
+ /**
8976
+ * optional int32 is_deactivated = 4;
8977
+ * @return {number}
8978
+ */
8979
+ proto.game.ItemsBunchRequest.prototype.getIsDeactivated = function() {
8980
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
8981
+ };
8982
+
8983
+
8984
+ /**
8985
+ * @param {number} value
8986
+ * @return {!proto.game.ItemsBunchRequest} returns this
8987
+ */
8988
+ proto.game.ItemsBunchRequest.prototype.setIsDeactivated = function(value) {
8989
+ return jspb.Message.setField(this, 4, value);
8990
+ };
8991
+
8992
+
8993
+ /**
8994
+ * Clears the field making it undefined.
8995
+ * @return {!proto.game.ItemsBunchRequest} returns this
8996
+ */
8997
+ proto.game.ItemsBunchRequest.prototype.clearIsDeactivated = function() {
8998
+ return jspb.Message.setField(this, 4, undefined);
8999
+ };
9000
+
9001
+
9002
+ /**
9003
+ * Returns whether this field is set.
9004
+ * @return {boolean}
9005
+ */
9006
+ proto.game.ItemsBunchRequest.prototype.hasIsDeactivated = function() {
9007
+ return jspb.Message.getField(this, 4) != null;
9008
+ };
9009
+
9010
+
8963
9011
 
8964
9012
 
8965
9013
 
@@ -15404,7 +15452,8 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
15404
15452
  image: jspb.Message.getFieldWithDefault(msg, 6, ""),
15405
15453
  imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
15406
15454
  countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0),
15407
- isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0)
15455
+ isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0),
15456
+ isDeactivated: jspb.Message.getFieldWithDefault(msg, 10, 0)
15408
15457
  };
15409
15458
 
15410
15459
  if (includeInstance) {
@@ -15477,6 +15526,10 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
15477
15526
  var value = /** @type {number} */ (reader.readInt32());
15478
15527
  msg.setIsPopular(value);
15479
15528
  break;
15529
+ case 10:
15530
+ var value = /** @type {number} */ (reader.readInt32());
15531
+ msg.setIsDeactivated(value);
15532
+ break;
15480
15533
  default:
15481
15534
  reader.skipField();
15482
15535
  break;
@@ -15569,6 +15622,13 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
15569
15622
  f
15570
15623
  );
15571
15624
  }
15625
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
15626
+ if (f != null) {
15627
+ writer.writeInt32(
15628
+ 10,
15629
+ f
15630
+ );
15631
+ }
15572
15632
  };
15573
15633
 
15574
15634
 
@@ -15896,6 +15956,42 @@ proto.game.ProviderItem.prototype.hasIsPopular = function() {
15896
15956
  };
15897
15957
 
15898
15958
 
15959
+ /**
15960
+ * optional int32 is_deactivated = 10;
15961
+ * @return {number}
15962
+ */
15963
+ proto.game.ProviderItem.prototype.getIsDeactivated = function() {
15964
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
15965
+ };
15966
+
15967
+
15968
+ /**
15969
+ * @param {number} value
15970
+ * @return {!proto.game.ProviderItem} returns this
15971
+ */
15972
+ proto.game.ProviderItem.prototype.setIsDeactivated = function(value) {
15973
+ return jspb.Message.setField(this, 10, value);
15974
+ };
15975
+
15976
+
15977
+ /**
15978
+ * Clears the field making it undefined.
15979
+ * @return {!proto.game.ProviderItem} returns this
15980
+ */
15981
+ proto.game.ProviderItem.prototype.clearIsDeactivated = function() {
15982
+ return jspb.Message.setField(this, 10, undefined);
15983
+ };
15984
+
15985
+
15986
+ /**
15987
+ * Returns whether this field is set.
15988
+ * @return {boolean}
15989
+ */
15990
+ proto.game.ProviderItem.prototype.hasIsDeactivated = function() {
15991
+ return jspb.Message.getField(this, 10) != null;
15992
+ };
15993
+
15994
+
15899
15995
 
15900
15996
  /**
15901
15997
  * Oneof group definitions for this message. Each group defines the field
@@ -16163,7 +16259,8 @@ proto.game.ProviderItemRequest.toObject = function(includeInstance, msg) {
16163
16259
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
16164
16260
  fileName: jspb.Message.getFieldWithDefault(msg, 6, ""),
16165
16261
  fileType: jspb.Message.getFieldWithDefault(msg, 7, ""),
16166
- isPopular: jspb.Message.getFieldWithDefault(msg, 8, 0)
16262
+ isPopular: jspb.Message.getFieldWithDefault(msg, 8, 0),
16263
+ isDeactivated: jspb.Message.getFieldWithDefault(msg, 9, 0)
16167
16264
  };
16168
16265
 
16169
16266
  if (includeInstance) {
@@ -16232,6 +16329,10 @@ proto.game.ProviderItemRequest.deserializeBinaryFromReader = function(msg, reade
16232
16329
  var value = /** @type {number} */ (reader.readInt32());
16233
16330
  msg.setIsPopular(value);
16234
16331
  break;
16332
+ case 9:
16333
+ var value = /** @type {number} */ (reader.readInt32());
16334
+ msg.setIsDeactivated(value);
16335
+ break;
16235
16336
  default:
16236
16337
  reader.skipField();
16237
16338
  break;
@@ -16317,6 +16418,13 @@ proto.game.ProviderItemRequest.serializeBinaryToWriter = function(message, write
16317
16418
  f
16318
16419
  );
16319
16420
  }
16421
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
16422
+ if (f != null) {
16423
+ writer.writeInt32(
16424
+ 9,
16425
+ f
16426
+ );
16427
+ }
16320
16428
  };
16321
16429
 
16322
16430
 
@@ -16608,6 +16716,42 @@ proto.game.ProviderItemRequest.prototype.hasIsPopular = function() {
16608
16716
  };
16609
16717
 
16610
16718
 
16719
+ /**
16720
+ * optional int32 is_deactivated = 9;
16721
+ * @return {number}
16722
+ */
16723
+ proto.game.ProviderItemRequest.prototype.getIsDeactivated = function() {
16724
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
16725
+ };
16726
+
16727
+
16728
+ /**
16729
+ * @param {number} value
16730
+ * @return {!proto.game.ProviderItemRequest} returns this
16731
+ */
16732
+ proto.game.ProviderItemRequest.prototype.setIsDeactivated = function(value) {
16733
+ return jspb.Message.setField(this, 9, value);
16734
+ };
16735
+
16736
+
16737
+ /**
16738
+ * Clears the field making it undefined.
16739
+ * @return {!proto.game.ProviderItemRequest} returns this
16740
+ */
16741
+ proto.game.ProviderItemRequest.prototype.clearIsDeactivated = function() {
16742
+ return jspb.Message.setField(this, 9, undefined);
16743
+ };
16744
+
16745
+
16746
+ /**
16747
+ * Returns whether this field is set.
16748
+ * @return {boolean}
16749
+ */
16750
+ proto.game.ProviderItemRequest.prototype.hasIsDeactivated = function() {
16751
+ return jspb.Message.getField(this, 9) != null;
16752
+ };
16753
+
16754
+
16611
16755
 
16612
16756
 
16613
16757
 
@@ -27753,7 +27897,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
27753
27897
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
27754
27898
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
27755
27899
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
27756
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
27900
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
27901
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
27757
27902
  };
27758
27903
 
27759
27904
  if (includeInstance) {
@@ -27814,6 +27959,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
27814
27959
  var value = /** @type {boolean} */ (reader.readBool());
27815
27960
  msg.setAdminSide(value);
27816
27961
  break;
27962
+ case 7:
27963
+ var value = /** @type {string} */ (reader.readString());
27964
+ msg.setGameTitle(value);
27965
+ break;
27817
27966
  default:
27818
27967
  reader.skipField();
27819
27968
  break;
@@ -27885,6 +28034,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
27885
28034
  f
27886
28035
  );
27887
28036
  }
28037
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
28038
+ if (f != null) {
28039
+ writer.writeString(
28040
+ 7,
28041
+ f
28042
+ );
28043
+ }
27888
28044
  };
27889
28045
 
27890
28046
 
@@ -28105,6 +28261,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasAdminSide = function()
28105
28261
  };
28106
28262
 
28107
28263
 
28264
+ /**
28265
+ * optional string game_title = 7;
28266
+ * @return {string}
28267
+ */
28268
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.getGameTitle = function() {
28269
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
28270
+ };
28271
+
28272
+
28273
+ /**
28274
+ * @param {string} value
28275
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
28276
+ */
28277
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.setGameTitle = function(value) {
28278
+ return jspb.Message.setField(this, 7, value);
28279
+ };
28280
+
28281
+
28282
+ /**
28283
+ * Clears the field making it undefined.
28284
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
28285
+ */
28286
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.clearGameTitle = function() {
28287
+ return jspb.Message.setField(this, 7, undefined);
28288
+ };
28289
+
28290
+
28291
+ /**
28292
+ * Returns whether this field is set.
28293
+ * @return {boolean}
28294
+ */
28295
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasGameTitle = function() {
28296
+ return jspb.Message.getField(this, 7) != null;
28297
+ };
28298
+
28299
+
28108
28300
 
28109
28301
  /**
28110
28302
  * List of repeated fields within this message type.
@@ -28149,7 +28341,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
28149
28341
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
28150
28342
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
28151
28343
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
28152
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
28344
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
28345
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
28153
28346
  };
28154
28347
 
28155
28348
  if (includeInstance) {
@@ -28210,6 +28403,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
28210
28403
  var value = /** @type {boolean} */ (reader.readBool());
28211
28404
  msg.setAdminSide(value);
28212
28405
  break;
28406
+ case 7:
28407
+ var value = /** @type {string} */ (reader.readString());
28408
+ msg.setGameTitle(value);
28409
+ break;
28213
28410
  default:
28214
28411
  reader.skipField();
28215
28412
  break;
@@ -28281,6 +28478,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
28281
28478
  f
28282
28479
  );
28283
28480
  }
28481
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
28482
+ if (f != null) {
28483
+ writer.writeString(
28484
+ 7,
28485
+ f
28486
+ );
28487
+ }
28284
28488
  };
28285
28489
 
28286
28490
 
@@ -28501,6 +28705,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasAdminSide = function() {
28501
28705
  };
28502
28706
 
28503
28707
 
28708
+ /**
28709
+ * optional string game_title = 7;
28710
+ * @return {string}
28711
+ */
28712
+ proto.game.SearchGamesIntoTagsRequest.prototype.getGameTitle = function() {
28713
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
28714
+ };
28715
+
28716
+
28717
+ /**
28718
+ * @param {string} value
28719
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
28720
+ */
28721
+ proto.game.SearchGamesIntoTagsRequest.prototype.setGameTitle = function(value) {
28722
+ return jspb.Message.setField(this, 7, value);
28723
+ };
28724
+
28725
+
28726
+ /**
28727
+ * Clears the field making it undefined.
28728
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
28729
+ */
28730
+ proto.game.SearchGamesIntoTagsRequest.prototype.clearGameTitle = function() {
28731
+ return jspb.Message.setField(this, 7, undefined);
28732
+ };
28733
+
28734
+
28735
+ /**
28736
+ * Returns whether this field is set.
28737
+ * @return {boolean}
28738
+ */
28739
+ proto.game.SearchGamesIntoTagsRequest.prototype.hasGameTitle = function() {
28740
+ return jspb.Message.getField(this, 7) != null;
28741
+ };
28742
+
28743
+
28504
28744
 
28505
28745
  /**
28506
28746
  * 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.532",
3
+ "version": "1.2.534",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {