@headspace/protos-events 1.441.0 → 1.442.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
@@ -42305,7 +42305,7 @@ export interface IUserMFAEnrollmentInitiated {
42305
42305
  userId?: (string|null);
42306
42306
 
42307
42307
  /** UserMFAEnrollmentInitiated enabled */
42308
- enabled?: string;
42308
+ enabled?: (boolean|null);
42309
42309
  }
42310
42310
 
42311
42311
  /** Represents a UserMFAEnrollmentInitiated. */
@@ -42325,7 +42325,7 @@ export class UserMFAEnrollmentInitiated implements IUserMFAEnrollmentInitiated {
42325
42325
 
42326
42326
 
42327
42327
  /** UserMFAEnrollmentInitiated enabled */
42328
- public enabled?: string;
42328
+ public enabled?: bool;
42329
42329
 
42330
42330
  /**
42331
42331
  * Creates a new UserMFAEnrollmentInitiated instance using the specified properties.
@@ -42397,3 +42397,5 @@ export class UserMFAEnrollmentInitiated implements IUserMFAEnrollmentInitiated {
42397
42397
  */
42398
42398
  public toJSON(): { [k: string]: any };
42399
42399
  }
42400
+
42401
+
package/lib/index.js CHANGED
@@ -119206,7 +119206,7 @@ $root.UserMFAEnrollmentInitiated = (function() {
119206
119206
  * Properties of a UserMFAEnrollmentInitiated.
119207
119207
  * @exports IUserMFAEnrollmentInitiated
119208
119208
  * @interface IUserMFAEnrollmentInitiated
119209
- * @property {string|null} [enabled] UserMFAEnrollmentInitiated enabled
119209
+ * @property {boolean|null} [enabled] UserMFAEnrollmentInitiated enabled
119210
119210
  * @property {number|null} [timestamp] UserMFAEnrollmentInitiated timestamp
119211
119211
  * @property {string|null} [userId] UserMFAEnrollmentInitiated userId
119212
119212
  */
@@ -119236,7 +119236,7 @@ $root.UserMFAEnrollmentInitiated = (function() {
119236
119236
 
119237
119237
  /**
119238
119238
  * UserMFAEnrollmentInitiated enabled.
119239
- * @member {string} enabled
119239
+ * @member {boolean} enabled
119240
119240
  * @memberof UserMFAEnrollmentInitiated
119241
119241
  * @instance
119242
119242
  */
@@ -119277,7 +119277,7 @@ $root.UserMFAEnrollmentInitiated = (function() {
119277
119277
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
119278
119278
  writer.uint32(/* id 2, wireType 2 =*/18).number(message.timestamp);
119279
119279
  if (message.enabled != null && message.hasOwnProperty("enabled"))
119280
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.enabled);
119280
+ writer.uint32(/* id 2, wireType 2 =*/18).bool(message.enabled);
119281
119281
  if (message.userId != null && message.hasOwnProperty("userId"))
119282
119282
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.userId);
119283
119283
  return writer;
@@ -119315,7 +119315,7 @@ $root.UserMFAEnrollmentInitiated = (function() {
119315
119315
  var tag = reader.uint32();
119316
119316
  switch (tag >>> 3) {
119317
119317
  case 1:
119318
- message.enabled = reader.string();
119318
+ message.enabled = reader.bool();
119319
119319
  break;
119320
119320
  case 2:
119321
119321
  message.userId = reader.string();
@@ -119359,8 +119359,9 @@ $root.UserMFAEnrollmentInitiated = (function() {
119359
119359
  if (typeof message !== "object" || message === null)
119360
119360
  return "object expected";
119361
119361
  if (message.enabled != null && message.hasOwnProperty("enabled"))
119362
- if (!$util.isString(message.enabled))
119363
- return "enabled: string expected";
119362
+ if (typeof message.enabled !== "boolean")
119363
+ return "enabled: boolean expected";
119364
+
119364
119365
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
119365
119366
  if (!$util.isString(message.timestamp))
119366
119367
  return "timestamp: number expected";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@headspace/protos-events": "^1.333.0",
3
+ "@headspace/protos-events": "^1.441.0",
4
4
  "@types/long": "^4.0.0",
5
5
  "long": "^4.0.0",
6
6
  "protobufjs": "^6.8.6"
@@ -17,5 +17,5 @@
17
17
  "main": "lib/index.js",
18
18
  "name": "@headspace/protos-events",
19
19
  "typings": "lib/index.d.ts",
20
- "version": "1.441.0"
20
+ "version": "1.442.0"
21
21
  }