@headspace/protos-events 1.413.0 → 1.414.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
@@ -30207,6 +30207,9 @@ export interface IAuthEmailVerificationUpdated {
30207
30207
 
30208
30208
  /** email verification status */
30209
30209
  verificationStatus?: (auth.AuthEmailVerification|null);
30210
+
30211
+ /** email address that was verified */
30212
+ email?: (string|null);
30210
30213
  }
30211
30214
 
30212
30215
  /** Signals when email verification status has changed */
@@ -30227,6 +30230,9 @@ export class AuthEmailVerificationUpdated implements IAuthEmailVerificationUpdat
30227
30230
  /** email verification status */
30228
30231
  public verificationStatus: auth.AuthEmailVerification;
30229
30232
 
30233
+ /** email address that was verified */
30234
+ public email: string;
30235
+
30230
30236
  /**
30231
30237
  * Creates a new AuthEmailVerificationUpdated instance using the specified properties.
30232
30238
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -84098,6 +84098,7 @@ $root.AuthEmailVerificationUpdated = (function() {
84098
84098
  * @property {string|null} [userId] HSUSER identifier
84099
84099
  * @property {number|Long|null} [timestamp] epoch millis of event
84100
84100
  * @property {auth.AuthEmailVerification|null} [verificationStatus] email verification status
84101
+ * @property {string|null} [email] email address that was verified
84101
84102
  */
84102
84103
 
84103
84104
  /**
@@ -84139,6 +84140,14 @@ $root.AuthEmailVerificationUpdated = (function() {
84139
84140
  */
84140
84141
  AuthEmailVerificationUpdated.prototype.verificationStatus = 0;
84141
84142
 
84143
+ /**
84144
+ * email address that was verified
84145
+ * @member {string} email
84146
+ * @memberof AuthEmailVerificationUpdated
84147
+ * @instance
84148
+ */
84149
+ AuthEmailVerificationUpdated.prototype.email = "";
84150
+
84142
84151
  /**
84143
84152
  * Creates a new AuthEmailVerificationUpdated instance using the specified properties.
84144
84153
  * @function create
@@ -84169,6 +84178,8 @@ $root.AuthEmailVerificationUpdated = (function() {
84169
84178
  writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
84170
84179
  if (message.verificationStatus != null && message.hasOwnProperty("verificationStatus"))
84171
84180
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.verificationStatus);
84181
+ if (message.email != null && message.hasOwnProperty("email"))
84182
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.email);
84172
84183
  return writer;
84173
84184
  };
84174
84185
 
@@ -84212,6 +84223,9 @@ $root.AuthEmailVerificationUpdated = (function() {
84212
84223
  case 3:
84213
84224
  message.verificationStatus = reader.int32();
84214
84225
  break;
84226
+ case 4:
84227
+ message.email = reader.string();
84228
+ break;
84215
84229
  default:
84216
84230
  reader.skipType(tag & 7);
84217
84231
  break;
@@ -84262,6 +84276,9 @@ $root.AuthEmailVerificationUpdated = (function() {
84262
84276
  case 2:
84263
84277
  break;
84264
84278
  }
84279
+ if (message.email != null && message.hasOwnProperty("email"))
84280
+ if (!$util.isString(message.email))
84281
+ return "email: string expected";
84265
84282
  return null;
84266
84283
  };
84267
84284
 
@@ -84302,6 +84319,8 @@ $root.AuthEmailVerificationUpdated = (function() {
84302
84319
  message.verificationStatus = 2;
84303
84320
  break;
84304
84321
  }
84322
+ if (object.email != null)
84323
+ message.email = String(object.email);
84305
84324
  return message;
84306
84325
  };
84307
84326
 
@@ -84326,6 +84345,7 @@ $root.AuthEmailVerificationUpdated = (function() {
84326
84345
  } else
84327
84346
  object.timestamp = options.longs === String ? "0" : 0;
84328
84347
  object.verificationStatus = options.enums === String ? "AUTH_EMAIL_UNKNOWN" : 0;
84348
+ object.email = "";
84329
84349
  }
84330
84350
  if (message.userId != null && message.hasOwnProperty("userId"))
84331
84351
  object.userId = message.userId;
@@ -84336,6 +84356,8 @@ $root.AuthEmailVerificationUpdated = (function() {
84336
84356
  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;
84337
84357
  if (message.verificationStatus != null && message.hasOwnProperty("verificationStatus"))
84338
84358
  object.verificationStatus = options.enums === String ? $root.auth.AuthEmailVerification[message.verificationStatus] : message.verificationStatus;
84359
+ if (message.email != null && message.hasOwnProperty("email"))
84360
+ object.email = message.email;
84339
84361
  return object;
84340
84362
  };
84341
84363
 
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.413.0"
19
+ "version": "1.414.0"
20
20
  }