protobuf-platform 1.2.251 → 1.2.253

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
@@ -63,6 +63,7 @@ message SearchBonusRequest {
63
63
  optional string locale = 5;
64
64
  optional string status_string = 6;
65
65
  optional string type_string = 7;
66
+ optional string country = 8;
66
67
  }
67
68
  //Bonus CRUD | Requests
68
69
  message BonusRequest {
package/bonus/bonus_pb.js CHANGED
@@ -2125,7 +2125,8 @@ proto.bonus.SearchBonusRequest.toObject = function(includeInstance, msg) {
2125
2125
  statusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
2126
2126
  locale: jspb.Message.getFieldWithDefault(msg, 5, ""),
2127
2127
  statusString: jspb.Message.getFieldWithDefault(msg, 6, ""),
2128
- typeString: jspb.Message.getFieldWithDefault(msg, 7, "")
2128
+ typeString: jspb.Message.getFieldWithDefault(msg, 7, ""),
2129
+ country: jspb.Message.getFieldWithDefault(msg, 8, "")
2129
2130
  };
2130
2131
 
2131
2132
  if (includeInstance) {
@@ -2190,6 +2191,10 @@ proto.bonus.SearchBonusRequest.deserializeBinaryFromReader = function(msg, reade
2190
2191
  var value = /** @type {string} */ (reader.readString());
2191
2192
  msg.setTypeString(value);
2192
2193
  break;
2194
+ case 8:
2195
+ var value = /** @type {string} */ (reader.readString());
2196
+ msg.setCountry(value);
2197
+ break;
2193
2198
  default:
2194
2199
  reader.skipField();
2195
2200
  break;
@@ -2268,6 +2273,13 @@ proto.bonus.SearchBonusRequest.serializeBinaryToWriter = function(message, write
2268
2273
  f
2269
2274
  );
2270
2275
  }
2276
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
2277
+ if (f != null) {
2278
+ writer.writeString(
2279
+ 8,
2280
+ f
2281
+ );
2282
+ }
2271
2283
  };
2272
2284
 
2273
2285
 
@@ -2524,6 +2536,42 @@ proto.bonus.SearchBonusRequest.prototype.hasTypeString = function() {
2524
2536
  };
2525
2537
 
2526
2538
 
2539
+ /**
2540
+ * optional string country = 8;
2541
+ * @return {string}
2542
+ */
2543
+ proto.bonus.SearchBonusRequest.prototype.getCountry = function() {
2544
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2545
+ };
2546
+
2547
+
2548
+ /**
2549
+ * @param {string} value
2550
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2551
+ */
2552
+ proto.bonus.SearchBonusRequest.prototype.setCountry = function(value) {
2553
+ return jspb.Message.setField(this, 8, value);
2554
+ };
2555
+
2556
+
2557
+ /**
2558
+ * Clears the field making it undefined.
2559
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2560
+ */
2561
+ proto.bonus.SearchBonusRequest.prototype.clearCountry = function() {
2562
+ return jspb.Message.setField(this, 8, undefined);
2563
+ };
2564
+
2565
+
2566
+ /**
2567
+ * Returns whether this field is set.
2568
+ * @return {boolean}
2569
+ */
2570
+ proto.bonus.SearchBonusRequest.prototype.hasCountry = function() {
2571
+ return jspb.Message.getField(this, 8) != null;
2572
+ };
2573
+
2574
+
2527
2575
 
2528
2576
  /**
2529
2577
  * Oneof group definitions for this message. Each group defines the field
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.251",
3
+ "version": "1.2.253",
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 {
@@ -211,7 +212,7 @@ message UserTournamentItem {
211
212
  optional string slug = 14;
212
213
  optional bool can_activated = 15;
213
214
  optional string user_status = 16;
214
- optional uint32 finished_in_milliseconds = 17;
215
+ optional uint64 finished_in_milliseconds = 17;
215
216
  repeated GamePoorItem eligible_games = 18;
216
217
  }
217
218
  message UserTournamentItemsResponse {
@@ -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() {
@@ -9148,7 +9196,7 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
9148
9196
  msg.setUserStatus(value);
9149
9197
  break;
9150
9198
  case 17:
9151
- var value = /** @type {number} */ (reader.readUint32());
9199
+ var value = /** @type {number} */ (reader.readUint64());
9152
9200
  msg.setFinishedInMilliseconds(value);
9153
9201
  break;
9154
9202
  case 18:
@@ -9301,7 +9349,7 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
9301
9349
  }
9302
9350
  f = /** @type {number} */ (jspb.Message.getField(message, 17));
9303
9351
  if (f != null) {
9304
- writer.writeUint32(
9352
+ writer.writeUint64(
9305
9353
  17,
9306
9354
  f
9307
9355
  );
@@ -9898,7 +9946,7 @@ proto.tournament.UserTournamentItem.prototype.hasUserStatus = function() {
9898
9946
 
9899
9947
 
9900
9948
  /**
9901
- * optional uint32 finished_in_milliseconds = 17;
9949
+ * optional uint64 finished_in_milliseconds = 17;
9902
9950
  * @return {number}
9903
9951
  */
9904
9952
  proto.tournament.UserTournamentItem.prototype.getFinishedInMilliseconds = function() {