@headspace/protos-events 1.177.0 → 1.179.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
@@ -4413,6 +4413,9 @@ export namespace userdomain {
4413
4413
 
4414
4414
  /** User isTestUser */
4415
4415
  isTestUser?: (boolean|null);
4416
+
4417
+ /** User tags */
4418
+ tags?: (userdomain.users.UserTag[]|null);
4416
4419
  }
4417
4420
 
4418
4421
  /** Represents a User. */
@@ -4475,6 +4478,9 @@ export namespace userdomain {
4475
4478
  /** User isTestUser. */
4476
4479
  public isTestUser: boolean;
4477
4480
 
4481
+ /** User tags. */
4482
+ public tags: userdomain.users.UserTag[];
4483
+
4478
4484
  /**
4479
4485
  * Creates a new User instance using the specified properties.
4480
4486
  * @param [properties] Properties to set
@@ -4546,6 +4552,13 @@ export namespace userdomain {
4546
4552
  public toJSON(): { [k: string]: any };
4547
4553
  }
4548
4554
 
4555
+ /** UserTag enum. */
4556
+ enum UserTag {
4557
+ USERTAG_UNKNOWN = 0,
4558
+ USERTAG_HS_STAFF = 1,
4559
+ USERTAG_HS_TEST_USER = 2
4560
+ }
4561
+
4549
4562
  /** Platform enum. */
4550
4563
  enum Platform {
4551
4564
  UNKNOWN_PLATFORM = 0,
@@ -11118,6 +11131,102 @@ export class UserDomainDeleted implements IUserDomainDeleted {
11118
11131
  public toJSON(): { [k: string]: any };
11119
11132
  }
11120
11133
 
11134
+ /** Properties of a UserDomainEnabledPhiProtection. */
11135
+ export interface IUserDomainEnabledPhiProtection {
11136
+
11137
+ /** UserDomainEnabledPhiProtection hsId */
11138
+ hsId?: (string|null);
11139
+
11140
+ /** UserDomainEnabledPhiProtection updatedAt */
11141
+ updatedAt?: (number|Long|null);
11142
+ }
11143
+
11144
+ /** Represents a UserDomainEnabledPhiProtection. */
11145
+ export class UserDomainEnabledPhiProtection implements IUserDomainEnabledPhiProtection {
11146
+
11147
+ /**
11148
+ * Constructs a new UserDomainEnabledPhiProtection.
11149
+ * @param [properties] Properties to set
11150
+ */
11151
+ constructor(properties?: IUserDomainEnabledPhiProtection);
11152
+
11153
+ /** UserDomainEnabledPhiProtection hsId. */
11154
+ public hsId: string;
11155
+
11156
+ /** UserDomainEnabledPhiProtection updatedAt. */
11157
+ public updatedAt: (number|Long);
11158
+
11159
+ /**
11160
+ * Creates a new UserDomainEnabledPhiProtection instance using the specified properties.
11161
+ * @param [properties] Properties to set
11162
+ * @returns UserDomainEnabledPhiProtection instance
11163
+ */
11164
+ public static create(properties?: IUserDomainEnabledPhiProtection): UserDomainEnabledPhiProtection;
11165
+
11166
+ /**
11167
+ * Encodes the specified UserDomainEnabledPhiProtection message. Does not implicitly {@link UserDomainEnabledPhiProtection.verify|verify} messages.
11168
+ * @param message UserDomainEnabledPhiProtection message or plain object to encode
11169
+ * @param [writer] Writer to encode to
11170
+ * @returns Writer
11171
+ */
11172
+ public static encode(message: IUserDomainEnabledPhiProtection, writer?: $protobuf.Writer): $protobuf.Writer;
11173
+
11174
+ /**
11175
+ * Encodes the specified UserDomainEnabledPhiProtection message, length delimited. Does not implicitly {@link UserDomainEnabledPhiProtection.verify|verify} messages.
11176
+ * @param message UserDomainEnabledPhiProtection message or plain object to encode
11177
+ * @param [writer] Writer to encode to
11178
+ * @returns Writer
11179
+ */
11180
+ public static encodeDelimited(message: IUserDomainEnabledPhiProtection, writer?: $protobuf.Writer): $protobuf.Writer;
11181
+
11182
+ /**
11183
+ * Decodes a UserDomainEnabledPhiProtection message from the specified reader or buffer.
11184
+ * @param reader Reader or buffer to decode from
11185
+ * @param [length] Message length if known beforehand
11186
+ * @returns UserDomainEnabledPhiProtection
11187
+ * @throws {Error} If the payload is not a reader or valid buffer
11188
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11189
+ */
11190
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDomainEnabledPhiProtection;
11191
+
11192
+ /**
11193
+ * Decodes a UserDomainEnabledPhiProtection message from the specified reader or buffer, length delimited.
11194
+ * @param reader Reader or buffer to decode from
11195
+ * @returns UserDomainEnabledPhiProtection
11196
+ * @throws {Error} If the payload is not a reader or valid buffer
11197
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11198
+ */
11199
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDomainEnabledPhiProtection;
11200
+
11201
+ /**
11202
+ * Verifies a UserDomainEnabledPhiProtection message.
11203
+ * @param message Plain object to verify
11204
+ * @returns `null` if valid, otherwise the reason why it is not
11205
+ */
11206
+ public static verify(message: { [k: string]: any }): (string|null);
11207
+
11208
+ /**
11209
+ * Creates a UserDomainEnabledPhiProtection message from a plain object. Also converts values to their respective internal types.
11210
+ * @param object Plain object
11211
+ * @returns UserDomainEnabledPhiProtection
11212
+ */
11213
+ public static fromObject(object: { [k: string]: any }): UserDomainEnabledPhiProtection;
11214
+
11215
+ /**
11216
+ * Creates a plain object from a UserDomainEnabledPhiProtection message. Also converts values to other types if specified.
11217
+ * @param message UserDomainEnabledPhiProtection
11218
+ * @param [options] Conversion options
11219
+ * @returns Plain object
11220
+ */
11221
+ public static toObject(message: UserDomainEnabledPhiProtection, options?: $protobuf.IConversionOptions): { [k: string]: any };
11222
+
11223
+ /**
11224
+ * Converts this UserDomainEnabledPhiProtection to JSON.
11225
+ * @returns JSON object
11226
+ */
11227
+ public toJSON(): { [k: string]: any };
11228
+ }
11229
+
11121
11230
  /** Properties of a UserDomainLoggedIn. */
11122
11231
  export interface IUserDomainLoggedIn {
11123
11232
 
package/lib/index.js CHANGED
@@ -10285,6 +10285,7 @@ $root.userdomain = (function() {
10285
10285
  * @property {string|null} [emailNormalizedSha256] User emailNormalizedSha256
10286
10286
  * @property {boolean|null} [isHeadspaceStaff] User isHeadspaceStaff
10287
10287
  * @property {boolean|null} [isTestUser] User isTestUser
10288
+ * @property {Array.<userdomain.users.UserTag>|null} [tags] User tags
10288
10289
  */
10289
10290
 
10290
10291
  /**
@@ -10296,6 +10297,7 @@ $root.userdomain = (function() {
10296
10297
  * @param {userdomain.users.IUser=} [properties] Properties to set
10297
10298
  */
10298
10299
  function User(properties) {
10300
+ this.tags = [];
10299
10301
  if (properties)
10300
10302
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
10301
10303
  if (properties[keys[i]] != null)
@@ -10438,6 +10440,14 @@ $root.userdomain = (function() {
10438
10440
  */
10439
10441
  User.prototype.isTestUser = false;
10440
10442
 
10443
+ /**
10444
+ * User tags.
10445
+ * @member {Array.<userdomain.users.UserTag>} tags
10446
+ * @memberof userdomain.users.User
10447
+ * @instance
10448
+ */
10449
+ User.prototype.tags = $util.emptyArray;
10450
+
10441
10451
  /**
10442
10452
  * Creates a new User instance using the specified properties.
10443
10453
  * @function create
@@ -10496,6 +10506,12 @@ $root.userdomain = (function() {
10496
10506
  writer.uint32(/* id 16, wireType 0 =*/128).bool(message.isHeadspaceStaff);
10497
10507
  if (message.isTestUser != null && message.hasOwnProperty("isTestUser"))
10498
10508
  writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isTestUser);
10509
+ if (message.tags != null && message.tags.length) {
10510
+ writer.uint32(/* id 18, wireType 2 =*/146).fork();
10511
+ for (var i = 0; i < message.tags.length; ++i)
10512
+ writer.int32(message.tags[i]);
10513
+ writer.ldelim();
10514
+ }
10499
10515
  return writer;
10500
10516
  };
10501
10517
 
@@ -10581,6 +10597,16 @@ $root.userdomain = (function() {
10581
10597
  case 17:
10582
10598
  message.isTestUser = reader.bool();
10583
10599
  break;
10600
+ case 18:
10601
+ if (!(message.tags && message.tags.length))
10602
+ message.tags = [];
10603
+ if ((tag & 7) === 2) {
10604
+ var end2 = reader.uint32() + reader.pos;
10605
+ while (reader.pos < end2)
10606
+ message.tags.push(reader.int32());
10607
+ } else
10608
+ message.tags.push(reader.int32());
10609
+ break;
10584
10610
  default:
10585
10611
  reader.skipType(tag & 7);
10586
10612
  break;
@@ -10685,6 +10711,19 @@ $root.userdomain = (function() {
10685
10711
  if (message.isTestUser != null && message.hasOwnProperty("isTestUser"))
10686
10712
  if (typeof message.isTestUser !== "boolean")
10687
10713
  return "isTestUser: boolean expected";
10714
+ if (message.tags != null && message.hasOwnProperty("tags")) {
10715
+ if (!Array.isArray(message.tags))
10716
+ return "tags: array expected";
10717
+ for (var i = 0; i < message.tags.length; ++i)
10718
+ switch (message.tags[i]) {
10719
+ default:
10720
+ return "tags: enum value[] expected";
10721
+ case 0:
10722
+ case 1:
10723
+ case 2:
10724
+ break;
10725
+ }
10726
+ }
10688
10727
  return null;
10689
10728
  };
10690
10729
 
@@ -10782,6 +10821,27 @@ $root.userdomain = (function() {
10782
10821
  message.isHeadspaceStaff = Boolean(object.isHeadspaceStaff);
10783
10822
  if (object.isTestUser != null)
10784
10823
  message.isTestUser = Boolean(object.isTestUser);
10824
+ if (object.tags) {
10825
+ if (!Array.isArray(object.tags))
10826
+ throw TypeError(".userdomain.users.User.tags: array expected");
10827
+ message.tags = [];
10828
+ for (var i = 0; i < object.tags.length; ++i)
10829
+ switch (object.tags[i]) {
10830
+ default:
10831
+ case "USERTAG_UNKNOWN":
10832
+ case 0:
10833
+ message.tags[i] = 0;
10834
+ break;
10835
+ case "USERTAG_HS_STAFF":
10836
+ case 1:
10837
+ message.tags[i] = 1;
10838
+ break;
10839
+ case "USERTAG_HS_TEST_USER":
10840
+ case 2:
10841
+ message.tags[i] = 2;
10842
+ break;
10843
+ }
10844
+ }
10785
10845
  return message;
10786
10846
  };
10787
10847
 
@@ -10798,6 +10858,8 @@ $root.userdomain = (function() {
10798
10858
  if (!options)
10799
10859
  options = {};
10800
10860
  var object = {};
10861
+ if (options.arrays || options.defaults)
10862
+ object.tags = [];
10801
10863
  if (options.defaults) {
10802
10864
  object.hsId = "";
10803
10865
  object.auth0Id = "";
@@ -10851,6 +10913,11 @@ $root.userdomain = (function() {
10851
10913
  object.isHeadspaceStaff = message.isHeadspaceStaff;
10852
10914
  if (message.isTestUser != null && message.hasOwnProperty("isTestUser"))
10853
10915
  object.isTestUser = message.isTestUser;
10916
+ if (message.tags && message.tags.length) {
10917
+ object.tags = [];
10918
+ for (var j = 0; j < message.tags.length; ++j)
10919
+ object.tags[j] = options.enums === String ? $root.userdomain.users.UserTag[message.tags[j]] : message.tags[j];
10920
+ }
10854
10921
  return object;
10855
10922
  };
10856
10923
 
@@ -10868,6 +10935,22 @@ $root.userdomain = (function() {
10868
10935
  return User;
10869
10936
  })();
10870
10937
 
10938
+ /**
10939
+ * UserTag enum.
10940
+ * @name userdomain.users.UserTag
10941
+ * @enum {string}
10942
+ * @property {number} USERTAG_UNKNOWN=0 USERTAG_UNKNOWN value
10943
+ * @property {number} USERTAG_HS_STAFF=1 USERTAG_HS_STAFF value
10944
+ * @property {number} USERTAG_HS_TEST_USER=2 USERTAG_HS_TEST_USER value
10945
+ */
10946
+ users.UserTag = (function() {
10947
+ var valuesById = {}, values = Object.create(valuesById);
10948
+ values[valuesById[0] = "USERTAG_UNKNOWN"] = 0;
10949
+ values[valuesById[1] = "USERTAG_HS_STAFF"] = 1;
10950
+ values[valuesById[2] = "USERTAG_HS_TEST_USER"] = 2;
10951
+ return values;
10952
+ })();
10953
+
10871
10954
  /**
10872
10955
  * Platform enum.
10873
10956
  * @name userdomain.users.Platform
@@ -30298,6 +30381,230 @@ $root.UserDomainDeleted = (function() {
30298
30381
  return UserDomainDeleted;
30299
30382
  })();
30300
30383
 
30384
+ $root.UserDomainEnabledPhiProtection = (function() {
30385
+
30386
+ /**
30387
+ * Properties of a UserDomainEnabledPhiProtection.
30388
+ * @exports IUserDomainEnabledPhiProtection
30389
+ * @interface IUserDomainEnabledPhiProtection
30390
+ * @property {string|null} [hsId] UserDomainEnabledPhiProtection hsId
30391
+ * @property {number|Long|null} [updatedAt] UserDomainEnabledPhiProtection updatedAt
30392
+ */
30393
+
30394
+ /**
30395
+ * Constructs a new UserDomainEnabledPhiProtection.
30396
+ * @exports UserDomainEnabledPhiProtection
30397
+ * @classdesc Represents a UserDomainEnabledPhiProtection.
30398
+ * @implements IUserDomainEnabledPhiProtection
30399
+ * @constructor
30400
+ * @param {IUserDomainEnabledPhiProtection=} [properties] Properties to set
30401
+ */
30402
+ function UserDomainEnabledPhiProtection(properties) {
30403
+ if (properties)
30404
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
30405
+ if (properties[keys[i]] != null)
30406
+ this[keys[i]] = properties[keys[i]];
30407
+ }
30408
+
30409
+ /**
30410
+ * UserDomainEnabledPhiProtection hsId.
30411
+ * @member {string} hsId
30412
+ * @memberof UserDomainEnabledPhiProtection
30413
+ * @instance
30414
+ */
30415
+ UserDomainEnabledPhiProtection.prototype.hsId = "";
30416
+
30417
+ /**
30418
+ * UserDomainEnabledPhiProtection updatedAt.
30419
+ * @member {number|Long} updatedAt
30420
+ * @memberof UserDomainEnabledPhiProtection
30421
+ * @instance
30422
+ */
30423
+ UserDomainEnabledPhiProtection.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
30424
+
30425
+ /**
30426
+ * Creates a new UserDomainEnabledPhiProtection instance using the specified properties.
30427
+ * @function create
30428
+ * @memberof UserDomainEnabledPhiProtection
30429
+ * @static
30430
+ * @param {IUserDomainEnabledPhiProtection=} [properties] Properties to set
30431
+ * @returns {UserDomainEnabledPhiProtection} UserDomainEnabledPhiProtection instance
30432
+ */
30433
+ UserDomainEnabledPhiProtection.create = function create(properties) {
30434
+ return new UserDomainEnabledPhiProtection(properties);
30435
+ };
30436
+
30437
+ /**
30438
+ * Encodes the specified UserDomainEnabledPhiProtection message. Does not implicitly {@link UserDomainEnabledPhiProtection.verify|verify} messages.
30439
+ * @function encode
30440
+ * @memberof UserDomainEnabledPhiProtection
30441
+ * @static
30442
+ * @param {IUserDomainEnabledPhiProtection} message UserDomainEnabledPhiProtection message or plain object to encode
30443
+ * @param {$protobuf.Writer} [writer] Writer to encode to
30444
+ * @returns {$protobuf.Writer} Writer
30445
+ */
30446
+ UserDomainEnabledPhiProtection.encode = function encode(message, writer) {
30447
+ if (!writer)
30448
+ writer = $Writer.create();
30449
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
30450
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
30451
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
30452
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.updatedAt);
30453
+ return writer;
30454
+ };
30455
+
30456
+ /**
30457
+ * Encodes the specified UserDomainEnabledPhiProtection message, length delimited. Does not implicitly {@link UserDomainEnabledPhiProtection.verify|verify} messages.
30458
+ * @function encodeDelimited
30459
+ * @memberof UserDomainEnabledPhiProtection
30460
+ * @static
30461
+ * @param {IUserDomainEnabledPhiProtection} message UserDomainEnabledPhiProtection message or plain object to encode
30462
+ * @param {$protobuf.Writer} [writer] Writer to encode to
30463
+ * @returns {$protobuf.Writer} Writer
30464
+ */
30465
+ UserDomainEnabledPhiProtection.encodeDelimited = function encodeDelimited(message, writer) {
30466
+ return this.encode(message, writer).ldelim();
30467
+ };
30468
+
30469
+ /**
30470
+ * Decodes a UserDomainEnabledPhiProtection message from the specified reader or buffer.
30471
+ * @function decode
30472
+ * @memberof UserDomainEnabledPhiProtection
30473
+ * @static
30474
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
30475
+ * @param {number} [length] Message length if known beforehand
30476
+ * @returns {UserDomainEnabledPhiProtection} UserDomainEnabledPhiProtection
30477
+ * @throws {Error} If the payload is not a reader or valid buffer
30478
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30479
+ */
30480
+ UserDomainEnabledPhiProtection.decode = function decode(reader, length) {
30481
+ if (!(reader instanceof $Reader))
30482
+ reader = $Reader.create(reader);
30483
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainEnabledPhiProtection();
30484
+ while (reader.pos < end) {
30485
+ var tag = reader.uint32();
30486
+ switch (tag >>> 3) {
30487
+ case 1:
30488
+ message.hsId = reader.string();
30489
+ break;
30490
+ case 2:
30491
+ message.updatedAt = reader.uint64();
30492
+ break;
30493
+ default:
30494
+ reader.skipType(tag & 7);
30495
+ break;
30496
+ }
30497
+ }
30498
+ return message;
30499
+ };
30500
+
30501
+ /**
30502
+ * Decodes a UserDomainEnabledPhiProtection message from the specified reader or buffer, length delimited.
30503
+ * @function decodeDelimited
30504
+ * @memberof UserDomainEnabledPhiProtection
30505
+ * @static
30506
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
30507
+ * @returns {UserDomainEnabledPhiProtection} UserDomainEnabledPhiProtection
30508
+ * @throws {Error} If the payload is not a reader or valid buffer
30509
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30510
+ */
30511
+ UserDomainEnabledPhiProtection.decodeDelimited = function decodeDelimited(reader) {
30512
+ if (!(reader instanceof $Reader))
30513
+ reader = new $Reader(reader);
30514
+ return this.decode(reader, reader.uint32());
30515
+ };
30516
+
30517
+ /**
30518
+ * Verifies a UserDomainEnabledPhiProtection message.
30519
+ * @function verify
30520
+ * @memberof UserDomainEnabledPhiProtection
30521
+ * @static
30522
+ * @param {Object.<string,*>} message Plain object to verify
30523
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
30524
+ */
30525
+ UserDomainEnabledPhiProtection.verify = function verify(message) {
30526
+ if (typeof message !== "object" || message === null)
30527
+ return "object expected";
30528
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
30529
+ if (!$util.isString(message.hsId))
30530
+ return "hsId: string expected";
30531
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
30532
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
30533
+ return "updatedAt: integer|Long expected";
30534
+ return null;
30535
+ };
30536
+
30537
+ /**
30538
+ * Creates a UserDomainEnabledPhiProtection message from a plain object. Also converts values to their respective internal types.
30539
+ * @function fromObject
30540
+ * @memberof UserDomainEnabledPhiProtection
30541
+ * @static
30542
+ * @param {Object.<string,*>} object Plain object
30543
+ * @returns {UserDomainEnabledPhiProtection} UserDomainEnabledPhiProtection
30544
+ */
30545
+ UserDomainEnabledPhiProtection.fromObject = function fromObject(object) {
30546
+ if (object instanceof $root.UserDomainEnabledPhiProtection)
30547
+ return object;
30548
+ var message = new $root.UserDomainEnabledPhiProtection();
30549
+ if (object.hsId != null)
30550
+ message.hsId = String(object.hsId);
30551
+ if (object.updatedAt != null)
30552
+ if ($util.Long)
30553
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
30554
+ else if (typeof object.updatedAt === "string")
30555
+ message.updatedAt = parseInt(object.updatedAt, 10);
30556
+ else if (typeof object.updatedAt === "number")
30557
+ message.updatedAt = object.updatedAt;
30558
+ else if (typeof object.updatedAt === "object")
30559
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
30560
+ return message;
30561
+ };
30562
+
30563
+ /**
30564
+ * Creates a plain object from a UserDomainEnabledPhiProtection message. Also converts values to other types if specified.
30565
+ * @function toObject
30566
+ * @memberof UserDomainEnabledPhiProtection
30567
+ * @static
30568
+ * @param {UserDomainEnabledPhiProtection} message UserDomainEnabledPhiProtection
30569
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
30570
+ * @returns {Object.<string,*>} Plain object
30571
+ */
30572
+ UserDomainEnabledPhiProtection.toObject = function toObject(message, options) {
30573
+ if (!options)
30574
+ options = {};
30575
+ var object = {};
30576
+ if (options.defaults) {
30577
+ object.hsId = "";
30578
+ if ($util.Long) {
30579
+ var long = new $util.Long(0, 0, true);
30580
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
30581
+ } else
30582
+ object.updatedAt = options.longs === String ? "0" : 0;
30583
+ }
30584
+ if (message.hsId != null && message.hasOwnProperty("hsId"))
30585
+ object.hsId = message.hsId;
30586
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
30587
+ if (typeof message.updatedAt === "number")
30588
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
30589
+ else
30590
+ object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
30591
+ return object;
30592
+ };
30593
+
30594
+ /**
30595
+ * Converts this UserDomainEnabledPhiProtection to JSON.
30596
+ * @function toJSON
30597
+ * @memberof UserDomainEnabledPhiProtection
30598
+ * @instance
30599
+ * @returns {Object.<string,*>} JSON object
30600
+ */
30601
+ UserDomainEnabledPhiProtection.prototype.toJSON = function toJSON() {
30602
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
30603
+ };
30604
+
30605
+ return UserDomainEnabledPhiProtection;
30606
+ })();
30607
+
30301
30608
  $root.UserDomainLoggedIn = (function() {
30302
30609
 
30303
30610
  /**
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.177.0"
19
+ "version": "1.179.0"
20
20
  }