protobuf-platform 1.1.25 → 1.1.27

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
@@ -167,6 +167,7 @@ message GetUserBonusRequest {
167
167
  optional string locale = 7;
168
168
  optional string user_public_id = 8;
169
169
  optional string user_name = 9;
170
+ optional string status = 10;
170
171
  }
171
172
  message UserBonusItemsResponse {
172
173
  repeated UserBonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -7143,7 +7143,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
7143
7143
  country: jspb.Message.getFieldWithDefault(msg, 6, ""),
7144
7144
  locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
7145
7145
  userPublicId: jspb.Message.getFieldWithDefault(msg, 8, ""),
7146
- userName: jspb.Message.getFieldWithDefault(msg, 9, "")
7146
+ userName: jspb.Message.getFieldWithDefault(msg, 9, ""),
7147
+ status: jspb.Message.getFieldWithDefault(msg, 10, "")
7147
7148
  };
7148
7149
 
7149
7150
  if (includeInstance) {
@@ -7216,6 +7217,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
7216
7217
  var value = /** @type {string} */ (reader.readString());
7217
7218
  msg.setUserName(value);
7218
7219
  break;
7220
+ case 10:
7221
+ var value = /** @type {string} */ (reader.readString());
7222
+ msg.setStatus(value);
7223
+ break;
7219
7224
  default:
7220
7225
  reader.skipField();
7221
7226
  break;
@@ -7308,6 +7313,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
7308
7313
  f
7309
7314
  );
7310
7315
  }
7316
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
7317
+ if (f != null) {
7318
+ writer.writeString(
7319
+ 10,
7320
+ f
7321
+ );
7322
+ }
7311
7323
  };
7312
7324
 
7313
7325
 
@@ -7617,6 +7629,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasUserName = function() {
7617
7629
  };
7618
7630
 
7619
7631
 
7632
+ /**
7633
+ * optional string status = 10;
7634
+ * @return {string}
7635
+ */
7636
+ proto.bonus.GetUserBonusRequest.prototype.getStatus = function() {
7637
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
7638
+ };
7639
+
7640
+
7641
+ /**
7642
+ * @param {string} value
7643
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
7644
+ */
7645
+ proto.bonus.GetUserBonusRequest.prototype.setStatus = function(value) {
7646
+ return jspb.Message.setField(this, 10, value);
7647
+ };
7648
+
7649
+
7650
+ /**
7651
+ * Clears the field making it undefined.
7652
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
7653
+ */
7654
+ proto.bonus.GetUserBonusRequest.prototype.clearStatus = function() {
7655
+ return jspb.Message.setField(this, 10, undefined);
7656
+ };
7657
+
7658
+
7659
+ /**
7660
+ * Returns whether this field is set.
7661
+ * @return {boolean}
7662
+ */
7663
+ proto.bonus.GetUserBonusRequest.prototype.hasStatus = function() {
7664
+ return jspb.Message.getField(this, 10) != null;
7665
+ };
7666
+
7667
+
7620
7668
 
7621
7669
  /**
7622
7670
  * 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.1.25",
3
+ "version": "1.1.27",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,7 +29,11 @@ message PongResponse { string pong = 1; }
29
29
  //Media
30
30
  message File { bytes media = 1; optional string file_name = 2; optional string file_type = 3; }
31
31
  message GetFileRequest { string file_name = 1; string instance_type = 2; }
32
- message PaginationRequest { int32 limit = 1; int32 offset = 2; optional UserSearchRequest user_search_params = 3; }
32
+ message PaginationRequest {
33
+ int32 limit = 1;
34
+ int32 offset = 2;
35
+ optional UserSearchRequest user_search_params = 3;
36
+ }
33
37
  message UserSearchRequest {
34
38
  optional int32 user_id = 1;
35
39
  optional string balance_type = 2;