protobuf-platform 1.2.252 → 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.252",
3
+ "version": "1.2.253",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -212,7 +212,7 @@ message UserTournamentItem {
212
212
  optional string slug = 14;
213
213
  optional bool can_activated = 15;
214
214
  optional string user_status = 16;
215
- optional uint32 finished_in_milliseconds = 17;
215
+ optional uint64 finished_in_milliseconds = 17;
216
216
  repeated GamePoorItem eligible_games = 18;
217
217
  }
218
218
  message UserTournamentItemsResponse {
@@ -9196,7 +9196,7 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
9196
9196
  msg.setUserStatus(value);
9197
9197
  break;
9198
9198
  case 17:
9199
- var value = /** @type {number} */ (reader.readUint32());
9199
+ var value = /** @type {number} */ (reader.readUint64());
9200
9200
  msg.setFinishedInMilliseconds(value);
9201
9201
  break;
9202
9202
  case 18:
@@ -9349,7 +9349,7 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
9349
9349
  }
9350
9350
  f = /** @type {number} */ (jspb.Message.getField(message, 17));
9351
9351
  if (f != null) {
9352
- writer.writeUint32(
9352
+ writer.writeUint64(
9353
9353
  17,
9354
9354
  f
9355
9355
  );
@@ -9946,7 +9946,7 @@ proto.tournament.UserTournamentItem.prototype.hasUserStatus = function() {
9946
9946
 
9947
9947
 
9948
9948
  /**
9949
- * optional uint32 finished_in_milliseconds = 17;
9949
+ * optional uint64 finished_in_milliseconds = 17;
9950
9950
  * @return {number}
9951
9951
  */
9952
9952
  proto.tournament.UserTournamentItem.prototype.getFinishedInMilliseconds = function() {