@headspace/protos-events 1.13.0 → 1.14.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
@@ -2588,8 +2588,8 @@ export interface IUserEmailUpdated {
2588
2588
  /** UserEmailUpdated userId */
2589
2589
  userId?: (string|null);
2590
2590
 
2591
- /** UserEmailUpdated email */
2592
- email?: (string|null);
2591
+ /** UserEmailUpdated oldEmail */
2592
+ oldEmail?: (string|null);
2593
2593
 
2594
2594
  /** UserEmailUpdated timestamp */
2595
2595
  timestamp?: (number|Long|null);
@@ -2607,8 +2607,8 @@ export class UserEmailUpdated implements IUserEmailUpdated {
2607
2607
  /** UserEmailUpdated userId. */
2608
2608
  public userId: string;
2609
2609
 
2610
- /** UserEmailUpdated email. */
2611
- public email: string;
2610
+ /** UserEmailUpdated oldEmail. */
2611
+ public oldEmail: string;
2612
2612
 
2613
2613
  /** UserEmailUpdated timestamp. */
2614
2614
  public timestamp: (number|Long);
package/lib/index.js CHANGED
@@ -6255,7 +6255,7 @@ $root.UserEmailUpdated = (function() {
6255
6255
  * @exports IUserEmailUpdated
6256
6256
  * @interface IUserEmailUpdated
6257
6257
  * @property {string|null} [userId] UserEmailUpdated userId
6258
- * @property {string|null} [email] UserEmailUpdated email
6258
+ * @property {string|null} [oldEmail] UserEmailUpdated oldEmail
6259
6259
  * @property {number|Long|null} [timestamp] UserEmailUpdated timestamp
6260
6260
  */
6261
6261
 
@@ -6283,12 +6283,12 @@ $root.UserEmailUpdated = (function() {
6283
6283
  UserEmailUpdated.prototype.userId = "";
6284
6284
 
6285
6285
  /**
6286
- * UserEmailUpdated email.
6287
- * @member {string} email
6286
+ * UserEmailUpdated oldEmail.
6287
+ * @member {string} oldEmail
6288
6288
  * @memberof UserEmailUpdated
6289
6289
  * @instance
6290
6290
  */
6291
- UserEmailUpdated.prototype.email = "";
6291
+ UserEmailUpdated.prototype.oldEmail = "";
6292
6292
 
6293
6293
  /**
6294
6294
  * UserEmailUpdated timestamp.
@@ -6324,8 +6324,8 @@ $root.UserEmailUpdated = (function() {
6324
6324
  writer = $Writer.create();
6325
6325
  if (message.userId != null && message.hasOwnProperty("userId"))
6326
6326
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
6327
- if (message.email != null && message.hasOwnProperty("email"))
6328
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
6327
+ if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
6328
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.oldEmail);
6329
6329
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
6330
6330
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
6331
6331
  return writer;
@@ -6366,7 +6366,7 @@ $root.UserEmailUpdated = (function() {
6366
6366
  message.userId = reader.string();
6367
6367
  break;
6368
6368
  case 2:
6369
- message.email = reader.string();
6369
+ message.oldEmail = reader.string();
6370
6370
  break;
6371
6371
  case 3:
6372
6372
  message.timestamp = reader.uint64();
@@ -6409,9 +6409,9 @@ $root.UserEmailUpdated = (function() {
6409
6409
  if (message.userId != null && message.hasOwnProperty("userId"))
6410
6410
  if (!$util.isString(message.userId))
6411
6411
  return "userId: string expected";
6412
- if (message.email != null && message.hasOwnProperty("email"))
6413
- if (!$util.isString(message.email))
6414
- return "email: string expected";
6412
+ if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
6413
+ if (!$util.isString(message.oldEmail))
6414
+ return "oldEmail: string expected";
6415
6415
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
6416
6416
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
6417
6417
  return "timestamp: integer|Long expected";
@@ -6432,8 +6432,8 @@ $root.UserEmailUpdated = (function() {
6432
6432
  var message = new $root.UserEmailUpdated();
6433
6433
  if (object.userId != null)
6434
6434
  message.userId = String(object.userId);
6435
- if (object.email != null)
6436
- message.email = String(object.email);
6435
+ if (object.oldEmail != null)
6436
+ message.oldEmail = String(object.oldEmail);
6437
6437
  if (object.timestamp != null)
6438
6438
  if ($util.Long)
6439
6439
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -6461,7 +6461,7 @@ $root.UserEmailUpdated = (function() {
6461
6461
  var object = {};
6462
6462
  if (options.defaults) {
6463
6463
  object.userId = "";
6464
- object.email = "";
6464
+ object.oldEmail = "";
6465
6465
  if ($util.Long) {
6466
6466
  var long = new $util.Long(0, 0, true);
6467
6467
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -6470,8 +6470,8 @@ $root.UserEmailUpdated = (function() {
6470
6470
  }
6471
6471
  if (message.userId != null && message.hasOwnProperty("userId"))
6472
6472
  object.userId = message.userId;
6473
- if (message.email != null && message.hasOwnProperty("email"))
6474
- object.email = message.email;
6473
+ if (message.oldEmail != null && message.hasOwnProperty("oldEmail"))
6474
+ object.oldEmail = message.oldEmail;
6475
6475
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
6476
6476
  if (typeof message.timestamp === "number")
6477
6477
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
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.13.0"
19
+ "version": "1.14.0"
20
20
  }