protobuf-platform 1.0.137 → 1.0.138

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
@@ -149,7 +149,7 @@ message GetUserBonusRequest {
149
149
  int32 user_id = 1;
150
150
  optional int32 bonus_id = 2;
151
151
  optional int32 user_bonus_id = 3;
152
- optional string status = 4;
152
+ optional string type = 4;
153
153
  optional string currency = 5;
154
154
  optional string country = 6;
155
155
  optional string locale = 7;
package/bonus/bonus_pb.js CHANGED
@@ -6758,7 +6758,7 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
6758
6758
  userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
6759
6759
  bonusId: jspb.Message.getFieldWithDefault(msg, 2, 0),
6760
6760
  userBonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
6761
- status: jspb.Message.getFieldWithDefault(msg, 4, ""),
6761
+ type: jspb.Message.getFieldWithDefault(msg, 4, ""),
6762
6762
  currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
6763
6763
  country: jspb.Message.getFieldWithDefault(msg, 6, ""),
6764
6764
  locale: jspb.Message.getFieldWithDefault(msg, 7, "")
@@ -6812,7 +6812,7 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
6812
6812
  break;
6813
6813
  case 4:
6814
6814
  var value = /** @type {string} */ (reader.readString());
6815
- msg.setStatus(value);
6815
+ msg.setType(value);
6816
6816
  break;
6817
6817
  case 5:
6818
6818
  var value = /** @type {string} */ (reader.readString());
@@ -6998,10 +6998,10 @@ proto.bonus.GetUserBonusRequest.prototype.hasUserBonusId = function() {
6998
6998
 
6999
6999
 
7000
7000
  /**
7001
- * optional string status = 4;
7001
+ * optional string type = 4;
7002
7002
  * @return {string}
7003
7003
  */
7004
- proto.bonus.GetUserBonusRequest.prototype.getStatus = function() {
7004
+ proto.bonus.GetUserBonusRequest.prototype.getType = function() {
7005
7005
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
7006
7006
  };
7007
7007
 
@@ -7010,7 +7010,7 @@ proto.bonus.GetUserBonusRequest.prototype.getStatus = function() {
7010
7010
  * @param {string} value
7011
7011
  * @return {!proto.bonus.GetUserBonusRequest} returns this
7012
7012
  */
7013
- proto.bonus.GetUserBonusRequest.prototype.setStatus = function(value) {
7013
+ proto.bonus.GetUserBonusRequest.prototype.setType = function(value) {
7014
7014
  return jspb.Message.setField(this, 4, value);
7015
7015
  };
7016
7016
 
@@ -7019,7 +7019,7 @@ proto.bonus.GetUserBonusRequest.prototype.setStatus = function(value) {
7019
7019
  * Clears the field making it undefined.
7020
7020
  * @return {!proto.bonus.GetUserBonusRequest} returns this
7021
7021
  */
7022
- proto.bonus.GetUserBonusRequest.prototype.clearStatus = function() {
7022
+ proto.bonus.GetUserBonusRequest.prototype.clearType = function() {
7023
7023
  return jspb.Message.setField(this, 4, undefined);
7024
7024
  };
7025
7025
 
@@ -7028,7 +7028,7 @@ proto.bonus.GetUserBonusRequest.prototype.clearStatus = function() {
7028
7028
  * Returns whether this field is set.
7029
7029
  * @return {boolean}
7030
7030
  */
7031
- proto.bonus.GetUserBonusRequest.prototype.hasStatus = function() {
7031
+ proto.bonus.GetUserBonusRequest.prototype.hasType = function() {
7032
7032
  return jspb.Message.getField(this, 4) != null;
7033
7033
  };
7034
7034
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.137",
3
+ "version": "1.0.138",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {