protobuf-platform 1.1.98 → 1.1.99

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.98",
3
+ "version": "1.1.99",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -575,7 +575,7 @@ message EmailConfirmationRequest {
575
575
  int32 user_id = 1;
576
576
  }
577
577
  message ResetPasswordConfirmationRequest {
578
- int32 user_id = 1;
578
+ string user_email = 1;
579
579
  }
580
580
  message ConfirmationStatusResponse {
581
581
  string status = 1;
package/user/user_pb.js CHANGED
@@ -25385,7 +25385,7 @@ proto.user.ResetPasswordConfirmationRequest.prototype.toObject = function(opt_in
25385
25385
  */
25386
25386
  proto.user.ResetPasswordConfirmationRequest.toObject = function(includeInstance, msg) {
25387
25387
  var f, obj = {
25388
- userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
25388
+ userEmail: jspb.Message.getFieldWithDefault(msg, 1, "")
25389
25389
  };
25390
25390
 
25391
25391
  if (includeInstance) {
@@ -25423,8 +25423,8 @@ proto.user.ResetPasswordConfirmationRequest.deserializeBinaryFromReader = functi
25423
25423
  var field = reader.getFieldNumber();
25424
25424
  switch (field) {
25425
25425
  case 1:
25426
- var value = /** @type {number} */ (reader.readInt32());
25427
- msg.setUserId(value);
25426
+ var value = /** @type {string} */ (reader.readString());
25427
+ msg.setUserEmail(value);
25428
25428
  break;
25429
25429
  default:
25430
25430
  reader.skipField();
@@ -25455,9 +25455,9 @@ proto.user.ResetPasswordConfirmationRequest.prototype.serializeBinary = function
25455
25455
  */
25456
25456
  proto.user.ResetPasswordConfirmationRequest.serializeBinaryToWriter = function(message, writer) {
25457
25457
  var f = undefined;
25458
- f = message.getUserId();
25459
- if (f !== 0) {
25460
- writer.writeInt32(
25458
+ f = message.getUserEmail();
25459
+ if (f.length > 0) {
25460
+ writer.writeString(
25461
25461
  1,
25462
25462
  f
25463
25463
  );
@@ -25466,20 +25466,20 @@ proto.user.ResetPasswordConfirmationRequest.serializeBinaryToWriter = function(m
25466
25466
 
25467
25467
 
25468
25468
  /**
25469
- * optional int32 user_id = 1;
25470
- * @return {number}
25469
+ * optional string user_email = 1;
25470
+ * @return {string}
25471
25471
  */
25472
- proto.user.ResetPasswordConfirmationRequest.prototype.getUserId = function() {
25473
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
25472
+ proto.user.ResetPasswordConfirmationRequest.prototype.getUserEmail = function() {
25473
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
25474
25474
  };
25475
25475
 
25476
25476
 
25477
25477
  /**
25478
- * @param {number} value
25478
+ * @param {string} value
25479
25479
  * @return {!proto.user.ResetPasswordConfirmationRequest} returns this
25480
25480
  */
25481
- proto.user.ResetPasswordConfirmationRequest.prototype.setUserId = function(value) {
25482
- return jspb.Message.setProto3IntField(this, 1, value);
25481
+ proto.user.ResetPasswordConfirmationRequest.prototype.setUserEmail = function(value) {
25482
+ return jspb.Message.setProto3StringField(this, 1, value);
25483
25483
  };
25484
25484
 
25485
25485