@headspace/protos-events 1.419.0 → 1.420.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
@@ -12848,23 +12848,6 @@ export namespace userdomain {
12848
12848
  HEALTH_USER = 4
12849
12849
  }
12850
12850
 
12851
- /** LoginStatus enum. */
12852
- enum LoginStatus {
12853
- LOGIN_UNKNOWN = 0,
12854
- LOGIN_SUCCESS = 1,
12855
- LOGIN_FAIL = 2
12856
- }
12857
-
12858
- /** ConnectionSource enum. */
12859
- enum ConnectionSource {
12860
- CONNSRC_UNKNOWN = 0,
12861
- CONNSRC_EMAIL = 1,
12862
- CONNSRC_FACEBOOK = 2,
12863
- CONNSRC_SPOTIFY = 3,
12864
- CONNSRC_APPLE = 4,
12865
- CONNSRC_GOOGLE = 5
12866
- }
12867
-
12868
12851
  /** UserDeleteReason enum. */
12869
12852
  enum UserDeleteReason {
12870
12853
  UNKNOWN_REASON = 0,
@@ -22964,120 +22947,6 @@ export class UserDomainIsAnonymousUserUpdated implements IUserDomainIsAnonymousU
22964
22947
  public toJSON(): { [k: string]: any };
22965
22948
  }
22966
22949
 
22967
- /** Properties of a UserDomainLoggedIn. */
22968
- export interface IUserDomainLoggedIn {
22969
-
22970
- /** UserDomainLoggedIn hsId */
22971
- hsId?: (string|null);
22972
-
22973
- /** UserDomainLoggedIn loginTimestamp */
22974
- loginTimestamp?: (number|Long|null);
22975
-
22976
- /** UserDomainLoggedIn loginStatus */
22977
- loginStatus?: (userdomain.users.LoginStatus|null);
22978
-
22979
- /** UserDomainLoggedIn loginPlatform */
22980
- loginPlatform?: (userdomain.users.Platform|null);
22981
-
22982
- /** UserDomainLoggedIn loginConnectionSource */
22983
- loginConnectionSource?: (userdomain.users.ConnectionSource|null);
22984
- }
22985
-
22986
- /** Represents a UserDomainLoggedIn. */
22987
- export class UserDomainLoggedIn implements IUserDomainLoggedIn {
22988
-
22989
- /**
22990
- * Constructs a new UserDomainLoggedIn.
22991
- * @param [properties] Properties to set
22992
- */
22993
- constructor(properties?: IUserDomainLoggedIn);
22994
-
22995
- /** UserDomainLoggedIn hsId. */
22996
- public hsId: string;
22997
-
22998
- /** UserDomainLoggedIn loginTimestamp. */
22999
- public loginTimestamp: (number|Long);
23000
-
23001
- /** UserDomainLoggedIn loginStatus. */
23002
- public loginStatus: userdomain.users.LoginStatus;
23003
-
23004
- /** UserDomainLoggedIn loginPlatform. */
23005
- public loginPlatform: userdomain.users.Platform;
23006
-
23007
- /** UserDomainLoggedIn loginConnectionSource. */
23008
- public loginConnectionSource: userdomain.users.ConnectionSource;
23009
-
23010
- /**
23011
- * Creates a new UserDomainLoggedIn instance using the specified properties.
23012
- * @param [properties] Properties to set
23013
- * @returns UserDomainLoggedIn instance
23014
- */
23015
- public static create(properties?: IUserDomainLoggedIn): UserDomainLoggedIn;
23016
-
23017
- /**
23018
- * Encodes the specified UserDomainLoggedIn message. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
23019
- * @param message UserDomainLoggedIn message or plain object to encode
23020
- * @param [writer] Writer to encode to
23021
- * @returns Writer
23022
- */
23023
- public static encode(message: IUserDomainLoggedIn, writer?: $protobuf.Writer): $protobuf.Writer;
23024
-
23025
- /**
23026
- * Encodes the specified UserDomainLoggedIn message, length delimited. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
23027
- * @param message UserDomainLoggedIn message or plain object to encode
23028
- * @param [writer] Writer to encode to
23029
- * @returns Writer
23030
- */
23031
- public static encodeDelimited(message: IUserDomainLoggedIn, writer?: $protobuf.Writer): $protobuf.Writer;
23032
-
23033
- /**
23034
- * Decodes a UserDomainLoggedIn message from the specified reader or buffer.
23035
- * @param reader Reader or buffer to decode from
23036
- * @param [length] Message length if known beforehand
23037
- * @returns UserDomainLoggedIn
23038
- * @throws {Error} If the payload is not a reader or valid buffer
23039
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
23040
- */
23041
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserDomainLoggedIn;
23042
-
23043
- /**
23044
- * Decodes a UserDomainLoggedIn message from the specified reader or buffer, length delimited.
23045
- * @param reader Reader or buffer to decode from
23046
- * @returns UserDomainLoggedIn
23047
- * @throws {Error} If the payload is not a reader or valid buffer
23048
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
23049
- */
23050
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserDomainLoggedIn;
23051
-
23052
- /**
23053
- * Verifies a UserDomainLoggedIn message.
23054
- * @param message Plain object to verify
23055
- * @returns `null` if valid, otherwise the reason why it is not
23056
- */
23057
- public static verify(message: { [k: string]: any }): (string|null);
23058
-
23059
- /**
23060
- * Creates a UserDomainLoggedIn message from a plain object. Also converts values to their respective internal types.
23061
- * @param object Plain object
23062
- * @returns UserDomainLoggedIn
23063
- */
23064
- public static fromObject(object: { [k: string]: any }): UserDomainLoggedIn;
23065
-
23066
- /**
23067
- * Creates a plain object from a UserDomainLoggedIn message. Also converts values to other types if specified.
23068
- * @param message UserDomainLoggedIn
23069
- * @param [options] Conversion options
23070
- * @returns Plain object
23071
- */
23072
- public static toObject(message: UserDomainLoggedIn, options?: $protobuf.IConversionOptions): { [k: string]: any };
23073
-
23074
- /**
23075
- * Converts this UserDomainLoggedIn to JSON.
23076
- * @returns JSON object
23077
- */
23078
- public toJSON(): { [k: string]: any };
23079
- }
23080
-
23081
22950
  /** Properties of a UserPasswordResetCompleted. */
23082
22951
  export interface IUserPasswordResetCompleted {
23083
22952
 
package/lib/index.js CHANGED
@@ -31693,44 +31693,6 @@ $root.userdomain = (function() {
31693
31693
  return values;
31694
31694
  })();
31695
31695
 
31696
- /**
31697
- * LoginStatus enum.
31698
- * @name userdomain.users.LoginStatus
31699
- * @enum {string}
31700
- * @property {number} LOGIN_UNKNOWN=0 LOGIN_UNKNOWN value
31701
- * @property {number} LOGIN_SUCCESS=1 LOGIN_SUCCESS value
31702
- * @property {number} LOGIN_FAIL=2 LOGIN_FAIL value
31703
- */
31704
- users.LoginStatus = (function() {
31705
- var valuesById = {}, values = Object.create(valuesById);
31706
- values[valuesById[0] = "LOGIN_UNKNOWN"] = 0;
31707
- values[valuesById[1] = "LOGIN_SUCCESS"] = 1;
31708
- values[valuesById[2] = "LOGIN_FAIL"] = 2;
31709
- return values;
31710
- })();
31711
-
31712
- /**
31713
- * ConnectionSource enum.
31714
- * @name userdomain.users.ConnectionSource
31715
- * @enum {string}
31716
- * @property {number} CONNSRC_UNKNOWN=0 CONNSRC_UNKNOWN value
31717
- * @property {number} CONNSRC_EMAIL=1 CONNSRC_EMAIL value
31718
- * @property {number} CONNSRC_FACEBOOK=2 CONNSRC_FACEBOOK value
31719
- * @property {number} CONNSRC_SPOTIFY=3 CONNSRC_SPOTIFY value
31720
- * @property {number} CONNSRC_APPLE=4 CONNSRC_APPLE value
31721
- * @property {number} CONNSRC_GOOGLE=5 CONNSRC_GOOGLE value
31722
- */
31723
- users.ConnectionSource = (function() {
31724
- var valuesById = {}, values = Object.create(valuesById);
31725
- values[valuesById[0] = "CONNSRC_UNKNOWN"] = 0;
31726
- values[valuesById[1] = "CONNSRC_EMAIL"] = 1;
31727
- values[valuesById[2] = "CONNSRC_FACEBOOK"] = 2;
31728
- values[valuesById[3] = "CONNSRC_SPOTIFY"] = 3;
31729
- values[valuesById[4] = "CONNSRC_APPLE"] = 4;
31730
- values[valuesById[5] = "CONNSRC_GOOGLE"] = 5;
31731
- return values;
31732
- })();
31733
-
31734
31696
  /**
31735
31697
  * UserDeleteReason enum.
31736
31698
  * @name userdomain.users.UserDeleteReason
@@ -62472,385 +62434,6 @@ $root.UserDomainIsAnonymousUserUpdated = (function() {
62472
62434
  return UserDomainIsAnonymousUserUpdated;
62473
62435
  })();
62474
62436
 
62475
- $root.UserDomainLoggedIn = (function() {
62476
-
62477
- /**
62478
- * Properties of a UserDomainLoggedIn.
62479
- * @exports IUserDomainLoggedIn
62480
- * @interface IUserDomainLoggedIn
62481
- * @property {string|null} [hsId] UserDomainLoggedIn hsId
62482
- * @property {number|Long|null} [loginTimestamp] UserDomainLoggedIn loginTimestamp
62483
- * @property {userdomain.users.LoginStatus|null} [loginStatus] UserDomainLoggedIn loginStatus
62484
- * @property {userdomain.users.Platform|null} [loginPlatform] UserDomainLoggedIn loginPlatform
62485
- * @property {userdomain.users.ConnectionSource|null} [loginConnectionSource] UserDomainLoggedIn loginConnectionSource
62486
- */
62487
-
62488
- /**
62489
- * Constructs a new UserDomainLoggedIn.
62490
- * @exports UserDomainLoggedIn
62491
- * @classdesc Represents a UserDomainLoggedIn.
62492
- * @implements IUserDomainLoggedIn
62493
- * @constructor
62494
- * @param {IUserDomainLoggedIn=} [properties] Properties to set
62495
- */
62496
- function UserDomainLoggedIn(properties) {
62497
- if (properties)
62498
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
62499
- if (properties[keys[i]] != null)
62500
- this[keys[i]] = properties[keys[i]];
62501
- }
62502
-
62503
- /**
62504
- * UserDomainLoggedIn hsId.
62505
- * @member {string} hsId
62506
- * @memberof UserDomainLoggedIn
62507
- * @instance
62508
- */
62509
- UserDomainLoggedIn.prototype.hsId = "";
62510
-
62511
- /**
62512
- * UserDomainLoggedIn loginTimestamp.
62513
- * @member {number|Long} loginTimestamp
62514
- * @memberof UserDomainLoggedIn
62515
- * @instance
62516
- */
62517
- UserDomainLoggedIn.prototype.loginTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
62518
-
62519
- /**
62520
- * UserDomainLoggedIn loginStatus.
62521
- * @member {userdomain.users.LoginStatus} loginStatus
62522
- * @memberof UserDomainLoggedIn
62523
- * @instance
62524
- */
62525
- UserDomainLoggedIn.prototype.loginStatus = 0;
62526
-
62527
- /**
62528
- * UserDomainLoggedIn loginPlatform.
62529
- * @member {userdomain.users.Platform} loginPlatform
62530
- * @memberof UserDomainLoggedIn
62531
- * @instance
62532
- */
62533
- UserDomainLoggedIn.prototype.loginPlatform = 0;
62534
-
62535
- /**
62536
- * UserDomainLoggedIn loginConnectionSource.
62537
- * @member {userdomain.users.ConnectionSource} loginConnectionSource
62538
- * @memberof UserDomainLoggedIn
62539
- * @instance
62540
- */
62541
- UserDomainLoggedIn.prototype.loginConnectionSource = 0;
62542
-
62543
- /**
62544
- * Creates a new UserDomainLoggedIn instance using the specified properties.
62545
- * @function create
62546
- * @memberof UserDomainLoggedIn
62547
- * @static
62548
- * @param {IUserDomainLoggedIn=} [properties] Properties to set
62549
- * @returns {UserDomainLoggedIn} UserDomainLoggedIn instance
62550
- */
62551
- UserDomainLoggedIn.create = function create(properties) {
62552
- return new UserDomainLoggedIn(properties);
62553
- };
62554
-
62555
- /**
62556
- * Encodes the specified UserDomainLoggedIn message. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
62557
- * @function encode
62558
- * @memberof UserDomainLoggedIn
62559
- * @static
62560
- * @param {IUserDomainLoggedIn} message UserDomainLoggedIn message or plain object to encode
62561
- * @param {$protobuf.Writer} [writer] Writer to encode to
62562
- * @returns {$protobuf.Writer} Writer
62563
- */
62564
- UserDomainLoggedIn.encode = function encode(message, writer) {
62565
- if (!writer)
62566
- writer = $Writer.create();
62567
- if (message.hsId != null && message.hasOwnProperty("hsId"))
62568
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
62569
- if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
62570
- writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.loginTimestamp);
62571
- if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
62572
- writer.uint32(/* id 3, wireType 0 =*/24).int32(message.loginStatus);
62573
- if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
62574
- writer.uint32(/* id 4, wireType 0 =*/32).int32(message.loginPlatform);
62575
- if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
62576
- writer.uint32(/* id 5, wireType 0 =*/40).int32(message.loginConnectionSource);
62577
- return writer;
62578
- };
62579
-
62580
- /**
62581
- * Encodes the specified UserDomainLoggedIn message, length delimited. Does not implicitly {@link UserDomainLoggedIn.verify|verify} messages.
62582
- * @function encodeDelimited
62583
- * @memberof UserDomainLoggedIn
62584
- * @static
62585
- * @param {IUserDomainLoggedIn} message UserDomainLoggedIn message or plain object to encode
62586
- * @param {$protobuf.Writer} [writer] Writer to encode to
62587
- * @returns {$protobuf.Writer} Writer
62588
- */
62589
- UserDomainLoggedIn.encodeDelimited = function encodeDelimited(message, writer) {
62590
- return this.encode(message, writer).ldelim();
62591
- };
62592
-
62593
- /**
62594
- * Decodes a UserDomainLoggedIn message from the specified reader or buffer.
62595
- * @function decode
62596
- * @memberof UserDomainLoggedIn
62597
- * @static
62598
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
62599
- * @param {number} [length] Message length if known beforehand
62600
- * @returns {UserDomainLoggedIn} UserDomainLoggedIn
62601
- * @throws {Error} If the payload is not a reader or valid buffer
62602
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
62603
- */
62604
- UserDomainLoggedIn.decode = function decode(reader, length) {
62605
- if (!(reader instanceof $Reader))
62606
- reader = $Reader.create(reader);
62607
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserDomainLoggedIn();
62608
- while (reader.pos < end) {
62609
- var tag = reader.uint32();
62610
- switch (tag >>> 3) {
62611
- case 1:
62612
- message.hsId = reader.string();
62613
- break;
62614
- case 2:
62615
- message.loginTimestamp = reader.uint64();
62616
- break;
62617
- case 3:
62618
- message.loginStatus = reader.int32();
62619
- break;
62620
- case 4:
62621
- message.loginPlatform = reader.int32();
62622
- break;
62623
- case 5:
62624
- message.loginConnectionSource = reader.int32();
62625
- break;
62626
- default:
62627
- reader.skipType(tag & 7);
62628
- break;
62629
- }
62630
- }
62631
- return message;
62632
- };
62633
-
62634
- /**
62635
- * Decodes a UserDomainLoggedIn message from the specified reader or buffer, length delimited.
62636
- * @function decodeDelimited
62637
- * @memberof UserDomainLoggedIn
62638
- * @static
62639
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
62640
- * @returns {UserDomainLoggedIn} UserDomainLoggedIn
62641
- * @throws {Error} If the payload is not a reader or valid buffer
62642
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
62643
- */
62644
- UserDomainLoggedIn.decodeDelimited = function decodeDelimited(reader) {
62645
- if (!(reader instanceof $Reader))
62646
- reader = new $Reader(reader);
62647
- return this.decode(reader, reader.uint32());
62648
- };
62649
-
62650
- /**
62651
- * Verifies a UserDomainLoggedIn message.
62652
- * @function verify
62653
- * @memberof UserDomainLoggedIn
62654
- * @static
62655
- * @param {Object.<string,*>} message Plain object to verify
62656
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
62657
- */
62658
- UserDomainLoggedIn.verify = function verify(message) {
62659
- if (typeof message !== "object" || message === null)
62660
- return "object expected";
62661
- if (message.hsId != null && message.hasOwnProperty("hsId"))
62662
- if (!$util.isString(message.hsId))
62663
- return "hsId: string expected";
62664
- if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
62665
- if (!$util.isInteger(message.loginTimestamp) && !(message.loginTimestamp && $util.isInteger(message.loginTimestamp.low) && $util.isInteger(message.loginTimestamp.high)))
62666
- return "loginTimestamp: integer|Long expected";
62667
- if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
62668
- switch (message.loginStatus) {
62669
- default:
62670
- return "loginStatus: enum value expected";
62671
- case 0:
62672
- case 1:
62673
- case 2:
62674
- break;
62675
- }
62676
- if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
62677
- switch (message.loginPlatform) {
62678
- default:
62679
- return "loginPlatform: enum value expected";
62680
- case 0:
62681
- case 1:
62682
- case 2:
62683
- case 3:
62684
- case 4:
62685
- case 5:
62686
- case 6:
62687
- break;
62688
- }
62689
- if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
62690
- switch (message.loginConnectionSource) {
62691
- default:
62692
- return "loginConnectionSource: enum value expected";
62693
- case 0:
62694
- case 1:
62695
- case 2:
62696
- case 3:
62697
- case 4:
62698
- case 5:
62699
- break;
62700
- }
62701
- return null;
62702
- };
62703
-
62704
- /**
62705
- * Creates a UserDomainLoggedIn message from a plain object. Also converts values to their respective internal types.
62706
- * @function fromObject
62707
- * @memberof UserDomainLoggedIn
62708
- * @static
62709
- * @param {Object.<string,*>} object Plain object
62710
- * @returns {UserDomainLoggedIn} UserDomainLoggedIn
62711
- */
62712
- UserDomainLoggedIn.fromObject = function fromObject(object) {
62713
- if (object instanceof $root.UserDomainLoggedIn)
62714
- return object;
62715
- var message = new $root.UserDomainLoggedIn();
62716
- if (object.hsId != null)
62717
- message.hsId = String(object.hsId);
62718
- if (object.loginTimestamp != null)
62719
- if ($util.Long)
62720
- (message.loginTimestamp = $util.Long.fromValue(object.loginTimestamp)).unsigned = true;
62721
- else if (typeof object.loginTimestamp === "string")
62722
- message.loginTimestamp = parseInt(object.loginTimestamp, 10);
62723
- else if (typeof object.loginTimestamp === "number")
62724
- message.loginTimestamp = object.loginTimestamp;
62725
- else if (typeof object.loginTimestamp === "object")
62726
- message.loginTimestamp = new $util.LongBits(object.loginTimestamp.low >>> 0, object.loginTimestamp.high >>> 0).toNumber(true);
62727
- switch (object.loginStatus) {
62728
- case "LOGIN_UNKNOWN":
62729
- case 0:
62730
- message.loginStatus = 0;
62731
- break;
62732
- case "LOGIN_SUCCESS":
62733
- case 1:
62734
- message.loginStatus = 1;
62735
- break;
62736
- case "LOGIN_FAIL":
62737
- case 2:
62738
- message.loginStatus = 2;
62739
- break;
62740
- }
62741
- switch (object.loginPlatform) {
62742
- case "UNKNOWN_PLATFORM":
62743
- case 0:
62744
- message.loginPlatform = 0;
62745
- break;
62746
- case "DESKTOP":
62747
- case 1:
62748
- message.loginPlatform = 1;
62749
- break;
62750
- case "IOS":
62751
- case 2:
62752
- message.loginPlatform = 2;
62753
- break;
62754
- case "ANDROID":
62755
- case 3:
62756
- message.loginPlatform = 3;
62757
- break;
62758
- case "ALEXA":
62759
- case 4:
62760
- message.loginPlatform = 4;
62761
- break;
62762
- case "GOOGLE_ASSISTANT":
62763
- case 5:
62764
- message.loginPlatform = 5;
62765
- break;
62766
- case "IOS_WATCH":
62767
- case 6:
62768
- message.loginPlatform = 6;
62769
- break;
62770
- }
62771
- switch (object.loginConnectionSource) {
62772
- case "CONNSRC_UNKNOWN":
62773
- case 0:
62774
- message.loginConnectionSource = 0;
62775
- break;
62776
- case "CONNSRC_EMAIL":
62777
- case 1:
62778
- message.loginConnectionSource = 1;
62779
- break;
62780
- case "CONNSRC_FACEBOOK":
62781
- case 2:
62782
- message.loginConnectionSource = 2;
62783
- break;
62784
- case "CONNSRC_SPOTIFY":
62785
- case 3:
62786
- message.loginConnectionSource = 3;
62787
- break;
62788
- case "CONNSRC_APPLE":
62789
- case 4:
62790
- message.loginConnectionSource = 4;
62791
- break;
62792
- case "CONNSRC_GOOGLE":
62793
- case 5:
62794
- message.loginConnectionSource = 5;
62795
- break;
62796
- }
62797
- return message;
62798
- };
62799
-
62800
- /**
62801
- * Creates a plain object from a UserDomainLoggedIn message. Also converts values to other types if specified.
62802
- * @function toObject
62803
- * @memberof UserDomainLoggedIn
62804
- * @static
62805
- * @param {UserDomainLoggedIn} message UserDomainLoggedIn
62806
- * @param {$protobuf.IConversionOptions} [options] Conversion options
62807
- * @returns {Object.<string,*>} Plain object
62808
- */
62809
- UserDomainLoggedIn.toObject = function toObject(message, options) {
62810
- if (!options)
62811
- options = {};
62812
- var object = {};
62813
- if (options.defaults) {
62814
- object.hsId = "";
62815
- if ($util.Long) {
62816
- var long = new $util.Long(0, 0, true);
62817
- object.loginTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
62818
- } else
62819
- object.loginTimestamp = options.longs === String ? "0" : 0;
62820
- object.loginStatus = options.enums === String ? "LOGIN_UNKNOWN" : 0;
62821
- object.loginPlatform = options.enums === String ? "UNKNOWN_PLATFORM" : 0;
62822
- object.loginConnectionSource = options.enums === String ? "CONNSRC_UNKNOWN" : 0;
62823
- }
62824
- if (message.hsId != null && message.hasOwnProperty("hsId"))
62825
- object.hsId = message.hsId;
62826
- if (message.loginTimestamp != null && message.hasOwnProperty("loginTimestamp"))
62827
- if (typeof message.loginTimestamp === "number")
62828
- object.loginTimestamp = options.longs === String ? String(message.loginTimestamp) : message.loginTimestamp;
62829
- else
62830
- object.loginTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.loginTimestamp) : options.longs === Number ? new $util.LongBits(message.loginTimestamp.low >>> 0, message.loginTimestamp.high >>> 0).toNumber(true) : message.loginTimestamp;
62831
- if (message.loginStatus != null && message.hasOwnProperty("loginStatus"))
62832
- object.loginStatus = options.enums === String ? $root.userdomain.users.LoginStatus[message.loginStatus] : message.loginStatus;
62833
- if (message.loginPlatform != null && message.hasOwnProperty("loginPlatform"))
62834
- object.loginPlatform = options.enums === String ? $root.userdomain.users.Platform[message.loginPlatform] : message.loginPlatform;
62835
- if (message.loginConnectionSource != null && message.hasOwnProperty("loginConnectionSource"))
62836
- object.loginConnectionSource = options.enums === String ? $root.userdomain.users.ConnectionSource[message.loginConnectionSource] : message.loginConnectionSource;
62837
- return object;
62838
- };
62839
-
62840
- /**
62841
- * Converts this UserDomainLoggedIn to JSON.
62842
- * @function toJSON
62843
- * @memberof UserDomainLoggedIn
62844
- * @instance
62845
- * @returns {Object.<string,*>} JSON object
62846
- */
62847
- UserDomainLoggedIn.prototype.toJSON = function toJSON() {
62848
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
62849
- };
62850
-
62851
- return UserDomainLoggedIn;
62852
- })();
62853
-
62854
62437
  $root.UserPasswordResetCompleted = (function() {
62855
62438
 
62856
62439
  /**
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.419.0"
19
+ "version": "1.420.0"
20
20
  }