protobuf-platform 1.2.250 → 1.2.252

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.250",
3
+ "version": "1.2.252",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -52,6 +52,7 @@ message SearchRequest {
52
52
  repeated int32 status_ids = 2;
53
53
  optional int32 is_active = 3;
54
54
  repeated string currencies = 4;
55
+ optional string country = 5;
55
56
  }
56
57
  message ItemsBunchRequest {
57
58
  repeated int32 ids = 1;
@@ -79,7 +80,7 @@ message TournamentItem {
79
80
  optional string slug = 18;
80
81
  optional bool can_activated = 19;
81
82
  optional string user_status = 20;
82
- optional uint32 finished_in_milliseconds = 21;
83
+ optional uint64 finished_in_milliseconds = 21;
83
84
  }
84
85
  message TournamentRequest {
85
86
  oneof request {
@@ -2172,7 +2172,8 @@ proto.tournament.SearchRequest.toObject = function(includeInstance, msg) {
2172
2172
  title: jspb.Message.getFieldWithDefault(msg, 1, ""),
2173
2173
  statusIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
2174
2174
  isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
2175
- currenciesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
2175
+ currenciesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
2176
+ country: jspb.Message.getFieldWithDefault(msg, 5, "")
2176
2177
  };
2177
2178
 
2178
2179
  if (includeInstance) {
@@ -2227,6 +2228,10 @@ proto.tournament.SearchRequest.deserializeBinaryFromReader = function(msg, reade
2227
2228
  var value = /** @type {string} */ (reader.readString());
2228
2229
  msg.addCurrencies(value);
2229
2230
  break;
2231
+ case 5:
2232
+ var value = /** @type {string} */ (reader.readString());
2233
+ msg.setCountry(value);
2234
+ break;
2230
2235
  default:
2231
2236
  reader.skipField();
2232
2237
  break;
@@ -2284,6 +2289,13 @@ proto.tournament.SearchRequest.serializeBinaryToWriter = function(message, write
2284
2289
  f
2285
2290
  );
2286
2291
  }
2292
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
2293
+ if (f != null) {
2294
+ writer.writeString(
2295
+ 5,
2296
+ f
2297
+ );
2298
+ }
2287
2299
  };
2288
2300
 
2289
2301
 
@@ -2433,6 +2445,42 @@ proto.tournament.SearchRequest.prototype.clearCurrenciesList = function() {
2433
2445
  };
2434
2446
 
2435
2447
 
2448
+ /**
2449
+ * optional string country = 5;
2450
+ * @return {string}
2451
+ */
2452
+ proto.tournament.SearchRequest.prototype.getCountry = function() {
2453
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2454
+ };
2455
+
2456
+
2457
+ /**
2458
+ * @param {string} value
2459
+ * @return {!proto.tournament.SearchRequest} returns this
2460
+ */
2461
+ proto.tournament.SearchRequest.prototype.setCountry = function(value) {
2462
+ return jspb.Message.setField(this, 5, value);
2463
+ };
2464
+
2465
+
2466
+ /**
2467
+ * Clears the field making it undefined.
2468
+ * @return {!proto.tournament.SearchRequest} returns this
2469
+ */
2470
+ proto.tournament.SearchRequest.prototype.clearCountry = function() {
2471
+ return jspb.Message.setField(this, 5, undefined);
2472
+ };
2473
+
2474
+
2475
+ /**
2476
+ * Returns whether this field is set.
2477
+ * @return {boolean}
2478
+ */
2479
+ proto.tournament.SearchRequest.prototype.hasCountry = function() {
2480
+ return jspb.Message.getField(this, 5) != null;
2481
+ };
2482
+
2483
+
2436
2484
 
2437
2485
  /**
2438
2486
  * List of repeated fields within this message type.
@@ -2824,7 +2872,7 @@ proto.tournament.TournamentItem.deserializeBinaryFromReader = function(msg, read
2824
2872
  msg.setUserStatus(value);
2825
2873
  break;
2826
2874
  case 21:
2827
- var value = /** @type {number} */ (reader.readUint32());
2875
+ var value = /** @type {number} */ (reader.readUint64());
2828
2876
  msg.setFinishedInMilliseconds(value);
2829
2877
  break;
2830
2878
  default:
@@ -3002,7 +3050,7 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
3002
3050
  }
3003
3051
  f = /** @type {number} */ (jspb.Message.getField(message, 21));
3004
3052
  if (f != null) {
3005
- writer.writeUint32(
3053
+ writer.writeUint64(
3006
3054
  21,
3007
3055
  f
3008
3056
  );
@@ -3739,7 +3787,7 @@ proto.tournament.TournamentItem.prototype.hasUserStatus = function() {
3739
3787
 
3740
3788
 
3741
3789
  /**
3742
- * optional uint32 finished_in_milliseconds = 21;
3790
+ * optional uint64 finished_in_milliseconds = 21;
3743
3791
  * @return {number}
3744
3792
  */
3745
3793
  proto.tournament.TournamentItem.prototype.getFinishedInMilliseconds = function() {