protobuf-platform 1.2.248 → 1.2.249

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
@@ -61,6 +61,8 @@ message SearchBonusRequest {
61
61
  repeated string currencies = 3;
62
62
  optional int32 status_id = 4;
63
63
  optional string locale = 5;
64
+ optional string status_string = 6;
65
+ optional string type_string = 7;
64
66
  }
65
67
  //Bonus CRUD | Requests
66
68
  message BonusRequest {
package/bonus/bonus_pb.js CHANGED
@@ -2123,7 +2123,9 @@ proto.bonus.SearchBonusRequest.toObject = function(includeInstance, msg) {
2123
2123
  typeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
2124
2124
  currenciesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2125
2125
  statusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
2126
- locale: jspb.Message.getFieldWithDefault(msg, 5, "")
2126
+ locale: jspb.Message.getFieldWithDefault(msg, 5, ""),
2127
+ statusString: jspb.Message.getFieldWithDefault(msg, 6, ""),
2128
+ typeString: jspb.Message.getFieldWithDefault(msg, 7, "")
2127
2129
  };
2128
2130
 
2129
2131
  if (includeInstance) {
@@ -2180,6 +2182,14 @@ proto.bonus.SearchBonusRequest.deserializeBinaryFromReader = function(msg, reade
2180
2182
  var value = /** @type {string} */ (reader.readString());
2181
2183
  msg.setLocale(value);
2182
2184
  break;
2185
+ case 6:
2186
+ var value = /** @type {string} */ (reader.readString());
2187
+ msg.setStatusString(value);
2188
+ break;
2189
+ case 7:
2190
+ var value = /** @type {string} */ (reader.readString());
2191
+ msg.setTypeString(value);
2192
+ break;
2183
2193
  default:
2184
2194
  reader.skipField();
2185
2195
  break;
@@ -2244,6 +2254,20 @@ proto.bonus.SearchBonusRequest.serializeBinaryToWriter = function(message, write
2244
2254
  f
2245
2255
  );
2246
2256
  }
2257
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
2258
+ if (f != null) {
2259
+ writer.writeString(
2260
+ 6,
2261
+ f
2262
+ );
2263
+ }
2264
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
2265
+ if (f != null) {
2266
+ writer.writeString(
2267
+ 7,
2268
+ f
2269
+ );
2270
+ }
2247
2271
  };
2248
2272
 
2249
2273
 
@@ -2428,6 +2452,78 @@ proto.bonus.SearchBonusRequest.prototype.hasLocale = function() {
2428
2452
  };
2429
2453
 
2430
2454
 
2455
+ /**
2456
+ * optional string status_string = 6;
2457
+ * @return {string}
2458
+ */
2459
+ proto.bonus.SearchBonusRequest.prototype.getStatusString = function() {
2460
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2461
+ };
2462
+
2463
+
2464
+ /**
2465
+ * @param {string} value
2466
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2467
+ */
2468
+ proto.bonus.SearchBonusRequest.prototype.setStatusString = function(value) {
2469
+ return jspb.Message.setField(this, 6, value);
2470
+ };
2471
+
2472
+
2473
+ /**
2474
+ * Clears the field making it undefined.
2475
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2476
+ */
2477
+ proto.bonus.SearchBonusRequest.prototype.clearStatusString = function() {
2478
+ return jspb.Message.setField(this, 6, undefined);
2479
+ };
2480
+
2481
+
2482
+ /**
2483
+ * Returns whether this field is set.
2484
+ * @return {boolean}
2485
+ */
2486
+ proto.bonus.SearchBonusRequest.prototype.hasStatusString = function() {
2487
+ return jspb.Message.getField(this, 6) != null;
2488
+ };
2489
+
2490
+
2491
+ /**
2492
+ * optional string type_string = 7;
2493
+ * @return {string}
2494
+ */
2495
+ proto.bonus.SearchBonusRequest.prototype.getTypeString = function() {
2496
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2497
+ };
2498
+
2499
+
2500
+ /**
2501
+ * @param {string} value
2502
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2503
+ */
2504
+ proto.bonus.SearchBonusRequest.prototype.setTypeString = function(value) {
2505
+ return jspb.Message.setField(this, 7, value);
2506
+ };
2507
+
2508
+
2509
+ /**
2510
+ * Clears the field making it undefined.
2511
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2512
+ */
2513
+ proto.bonus.SearchBonusRequest.prototype.clearTypeString = function() {
2514
+ return jspb.Message.setField(this, 7, undefined);
2515
+ };
2516
+
2517
+
2518
+ /**
2519
+ * Returns whether this field is set.
2520
+ * @return {boolean}
2521
+ */
2522
+ proto.bonus.SearchBonusRequest.prototype.hasTypeString = function() {
2523
+ return jspb.Message.getField(this, 7) != null;
2524
+ };
2525
+
2526
+
2431
2527
 
2432
2528
  /**
2433
2529
  * 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.248",
3
+ "version": "1.2.249",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {