protobuf-platform 1.0.147 → 1.0.148

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
@@ -157,6 +157,7 @@ message GetUserBonusRequest {
157
157
  optional string currency = 5;
158
158
  optional string country = 6;
159
159
  optional string locale = 7;
160
+ optional string user_public_id = 8;
160
161
  }
161
162
  message UserBonusItemsResponse {
162
163
  repeated UserBonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -6905,7 +6905,8 @@ proto.bonus.GetUserBonusRequest.toObject = function(includeInstance, msg) {
6905
6905
  type: jspb.Message.getFieldWithDefault(msg, 4, ""),
6906
6906
  currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
6907
6907
  country: jspb.Message.getFieldWithDefault(msg, 6, ""),
6908
- locale: jspb.Message.getFieldWithDefault(msg, 7, "")
6908
+ locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
6909
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 8, "")
6909
6910
  };
6910
6911
 
6911
6912
  if (includeInstance) {
@@ -6970,6 +6971,10 @@ proto.bonus.GetUserBonusRequest.deserializeBinaryFromReader = function(msg, read
6970
6971
  var value = /** @type {string} */ (reader.readString());
6971
6972
  msg.setLocale(value);
6972
6973
  break;
6974
+ case 8:
6975
+ var value = /** @type {string} */ (reader.readString());
6976
+ msg.setUserPublicId(value);
6977
+ break;
6973
6978
  default:
6974
6979
  reader.skipField();
6975
6980
  break;
@@ -7048,6 +7053,13 @@ proto.bonus.GetUserBonusRequest.serializeBinaryToWriter = function(message, writ
7048
7053
  f
7049
7054
  );
7050
7055
  }
7056
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
7057
+ if (f != null) {
7058
+ writer.writeString(
7059
+ 8,
7060
+ f
7061
+ );
7062
+ }
7051
7063
  };
7052
7064
 
7053
7065
 
@@ -7285,6 +7297,42 @@ proto.bonus.GetUserBonusRequest.prototype.hasLocale = function() {
7285
7297
  };
7286
7298
 
7287
7299
 
7300
+ /**
7301
+ * optional string user_public_id = 8;
7302
+ * @return {string}
7303
+ */
7304
+ proto.bonus.GetUserBonusRequest.prototype.getUserPublicId = function() {
7305
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
7306
+ };
7307
+
7308
+
7309
+ /**
7310
+ * @param {string} value
7311
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
7312
+ */
7313
+ proto.bonus.GetUserBonusRequest.prototype.setUserPublicId = function(value) {
7314
+ return jspb.Message.setField(this, 8, value);
7315
+ };
7316
+
7317
+
7318
+ /**
7319
+ * Clears the field making it undefined.
7320
+ * @return {!proto.bonus.GetUserBonusRequest} returns this
7321
+ */
7322
+ proto.bonus.GetUserBonusRequest.prototype.clearUserPublicId = function() {
7323
+ return jspb.Message.setField(this, 8, undefined);
7324
+ };
7325
+
7326
+
7327
+ /**
7328
+ * Returns whether this field is set.
7329
+ * @return {boolean}
7330
+ */
7331
+ proto.bonus.GetUserBonusRequest.prototype.hasUserPublicId = function() {
7332
+ return jspb.Message.getField(this, 8) != null;
7333
+ };
7334
+
7335
+
7288
7336
 
7289
7337
  /**
7290
7338
  * 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.0.147",
3
+ "version": "1.0.148",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {