@headspace/protos-events 1.19.0 → 1.20.0

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/lib/index.d.ts CHANGED
@@ -2809,6 +2809,9 @@ export interface IUserPasswordResetRequested {
2809
2809
 
2810
2810
  /** UserPasswordResetRequested timestamp */
2811
2811
  timestamp?: (number|Long|null);
2812
+
2813
+ /** UserPasswordResetRequested email */
2814
+ email?: (string|null);
2812
2815
  }
2813
2816
 
2814
2817
  /** Represents a UserPasswordResetRequested. */
@@ -2829,6 +2832,9 @@ export class UserPasswordResetRequested implements IUserPasswordResetRequested {
2829
2832
  /** UserPasswordResetRequested timestamp. */
2830
2833
  public timestamp: (number|Long);
2831
2834
 
2835
+ /** UserPasswordResetRequested email. */
2836
+ public email: string;
2837
+
2832
2838
  /**
2833
2839
  * Creates a new UserPasswordResetRequested instance using the specified properties.
2834
2840
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -6807,6 +6807,7 @@ $root.UserPasswordResetRequested = (function() {
6807
6807
  * @property {string|null} [userId] UserPasswordResetRequested userId
6808
6808
  * @property {string|null} [resetCode] UserPasswordResetRequested resetCode
6809
6809
  * @property {number|Long|null} [timestamp] UserPasswordResetRequested timestamp
6810
+ * @property {string|null} [email] UserPasswordResetRequested email
6810
6811
  */
6811
6812
 
6812
6813
  /**
@@ -6848,6 +6849,14 @@ $root.UserPasswordResetRequested = (function() {
6848
6849
  */
6849
6850
  UserPasswordResetRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
6850
6851
 
6852
+ /**
6853
+ * UserPasswordResetRequested email.
6854
+ * @member {string} email
6855
+ * @memberof UserPasswordResetRequested
6856
+ * @instance
6857
+ */
6858
+ UserPasswordResetRequested.prototype.email = "";
6859
+
6851
6860
  /**
6852
6861
  * Creates a new UserPasswordResetRequested instance using the specified properties.
6853
6862
  * @function create
@@ -6878,6 +6887,8 @@ $root.UserPasswordResetRequested = (function() {
6878
6887
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.resetCode);
6879
6888
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
6880
6889
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
6890
+ if (message.email != null && message.hasOwnProperty("email"))
6891
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.email);
6881
6892
  return writer;
6882
6893
  };
6883
6894
 
@@ -6921,6 +6932,9 @@ $root.UserPasswordResetRequested = (function() {
6921
6932
  case 3:
6922
6933
  message.timestamp = reader.uint64();
6923
6934
  break;
6935
+ case 4:
6936
+ message.email = reader.string();
6937
+ break;
6924
6938
  default:
6925
6939
  reader.skipType(tag & 7);
6926
6940
  break;
@@ -6965,6 +6979,9 @@ $root.UserPasswordResetRequested = (function() {
6965
6979
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
6966
6980
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
6967
6981
  return "timestamp: integer|Long expected";
6982
+ if (message.email != null && message.hasOwnProperty("email"))
6983
+ if (!$util.isString(message.email))
6984
+ return "email: string expected";
6968
6985
  return null;
6969
6986
  };
6970
6987
 
@@ -6993,6 +7010,8 @@ $root.UserPasswordResetRequested = (function() {
6993
7010
  message.timestamp = object.timestamp;
6994
7011
  else if (typeof object.timestamp === "object")
6995
7012
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
7013
+ if (object.email != null)
7014
+ message.email = String(object.email);
6996
7015
  return message;
6997
7016
  };
6998
7017
 
@@ -7017,6 +7036,7 @@ $root.UserPasswordResetRequested = (function() {
7017
7036
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
7018
7037
  } else
7019
7038
  object.timestamp = options.longs === String ? "0" : 0;
7039
+ object.email = "";
7020
7040
  }
7021
7041
  if (message.userId != null && message.hasOwnProperty("userId"))
7022
7042
  object.userId = message.userId;
@@ -7027,6 +7047,8 @@ $root.UserPasswordResetRequested = (function() {
7027
7047
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
7028
7048
  else
7029
7049
  object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
7050
+ if (message.email != null && message.hasOwnProperty("email"))
7051
+ object.email = message.email;
7030
7052
  return object;
7031
7053
  };
7032
7054
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.19.0"
19
+ "version": "1.20.0"
20
20
  }