@headspace/protos-events 1.609.0 → 1.611.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +318 -6
  2. package/lib/index.js +782 -22
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -50915,9 +50915,6 @@ export interface IElfRecordPresent {
50915
50915
  /** ElfRecordPresent priorB2bOrgId */
50916
50916
  priorB2bOrgId?: (string|null);
50917
50917
 
50918
- /** ElfRecordPresent location */
50919
- location?: (string|null);
50920
-
50921
50918
  /** ElfRecordPresent dependentOf */
50922
50919
  dependentOf?: (string|null);
50923
50920
 
@@ -50932,6 +50929,9 @@ export interface IElfRecordPresent {
50932
50929
 
50933
50930
  /** ElfRecordPresent unifiedEligibilityEnabled */
50934
50931
  unifiedEligibilityEnabled?: (boolean|null);
50932
+
50933
+ /** ElfRecordPresent collectiveUuid */
50934
+ collectiveUuid?: (string|null);
50935
50935
  }
50936
50936
 
50937
50937
  /** Represents an ElfRecordPresent. */
@@ -51015,9 +51015,6 @@ export class ElfRecordPresent implements IElfRecordPresent {
51015
51015
  /** ElfRecordPresent priorB2bOrgId. */
51016
51016
  public priorB2bOrgId: string;
51017
51017
 
51018
- /** ElfRecordPresent location. */
51019
- public location: string;
51020
-
51021
51018
  /** ElfRecordPresent dependentOf. */
51022
51019
  public dependentOf: string;
51023
51020
 
@@ -51033,6 +51030,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
51033
51030
  /** ElfRecordPresent unifiedEligibilityEnabled. */
51034
51031
  public unifiedEligibilityEnabled: boolean;
51035
51032
 
51033
+ /** ElfRecordPresent collectiveUuid. */
51034
+ public collectiveUuid: string;
51035
+
51036
51036
  /**
51037
51037
  * Creates a new ElfRecordPresent instance using the specified properties.
51038
51038
  * @param [properties] Properties to set
@@ -51148,6 +51148,9 @@ export interface IElfRecordAbsent {
51148
51148
 
51149
51149
  /** ElfRecordAbsent isMemberMigrated */
51150
51150
  isMemberMigrated?: (boolean|null);
51151
+
51152
+ /** ElfRecordAbsent collectiveUuid */
51153
+ collectiveUuid?: (string|null);
51151
51154
  }
51152
51155
 
51153
51156
  /** Represents an ElfRecordAbsent. */
@@ -51201,6 +51204,9 @@ export class ElfRecordAbsent implements IElfRecordAbsent {
51201
51204
  /** ElfRecordAbsent isMemberMigrated. */
51202
51205
  public isMemberMigrated: boolean;
51203
51206
 
51207
+ /** ElfRecordAbsent collectiveUuid. */
51208
+ public collectiveUuid: string;
51209
+
51204
51210
  /**
51205
51211
  * Creates a new ElfRecordAbsent instance using the specified properties.
51206
51212
  * @param [properties] Properties to set
@@ -51482,6 +51488,312 @@ export class ElfProcessingStats implements IElfProcessingStats {
51482
51488
  public toJSON(): { [k: string]: any };
51483
51489
  }
51484
51490
 
51491
+ /** Properties of an EligibilityRecordCreated. */
51492
+ export interface IEligibilityRecordCreated {
51493
+
51494
+ /** EligibilityRecordCreated timestamp */
51495
+ timestamp?: (number|Long|null);
51496
+
51497
+ /** EligibilityRecordCreated collectiveId */
51498
+ collectiveId?: (number|null);
51499
+
51500
+ /** EligibilityRecordCreated uuid */
51501
+ uuid?: (string|null);
51502
+ }
51503
+
51504
+ /** Represents an EligibilityRecordCreated. */
51505
+ export class EligibilityRecordCreated implements IEligibilityRecordCreated {
51506
+
51507
+ /**
51508
+ * Constructs a new EligibilityRecordCreated.
51509
+ * @param [properties] Properties to set
51510
+ */
51511
+ constructor(properties?: IEligibilityRecordCreated);
51512
+
51513
+ /** EligibilityRecordCreated timestamp. */
51514
+ public timestamp: (number|Long);
51515
+
51516
+ /** EligibilityRecordCreated collectiveId. */
51517
+ public collectiveId: number;
51518
+
51519
+ /** EligibilityRecordCreated uuid. */
51520
+ public uuid: string;
51521
+
51522
+ /**
51523
+ * Creates a new EligibilityRecordCreated instance using the specified properties.
51524
+ * @param [properties] Properties to set
51525
+ * @returns EligibilityRecordCreated instance
51526
+ */
51527
+ public static create(properties?: IEligibilityRecordCreated): EligibilityRecordCreated;
51528
+
51529
+ /**
51530
+ * Encodes the specified EligibilityRecordCreated message. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
51531
+ * @param message EligibilityRecordCreated message or plain object to encode
51532
+ * @param [writer] Writer to encode to
51533
+ * @returns Writer
51534
+ */
51535
+ public static encode(message: IEligibilityRecordCreated, writer?: $protobuf.Writer): $protobuf.Writer;
51536
+
51537
+ /**
51538
+ * Encodes the specified EligibilityRecordCreated message, length delimited. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
51539
+ * @param message EligibilityRecordCreated message or plain object to encode
51540
+ * @param [writer] Writer to encode to
51541
+ * @returns Writer
51542
+ */
51543
+ public static encodeDelimited(message: IEligibilityRecordCreated, writer?: $protobuf.Writer): $protobuf.Writer;
51544
+
51545
+ /**
51546
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer.
51547
+ * @param reader Reader or buffer to decode from
51548
+ * @param [length] Message length if known beforehand
51549
+ * @returns EligibilityRecordCreated
51550
+ * @throws {Error} If the payload is not a reader or valid buffer
51551
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51552
+ */
51553
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordCreated;
51554
+
51555
+ /**
51556
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer, length delimited.
51557
+ * @param reader Reader or buffer to decode from
51558
+ * @returns EligibilityRecordCreated
51559
+ * @throws {Error} If the payload is not a reader or valid buffer
51560
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51561
+ */
51562
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordCreated;
51563
+
51564
+ /**
51565
+ * Verifies an EligibilityRecordCreated message.
51566
+ * @param message Plain object to verify
51567
+ * @returns `null` if valid, otherwise the reason why it is not
51568
+ */
51569
+ public static verify(message: { [k: string]: any }): (string|null);
51570
+
51571
+ /**
51572
+ * Creates an EligibilityRecordCreated message from a plain object. Also converts values to their respective internal types.
51573
+ * @param object Plain object
51574
+ * @returns EligibilityRecordCreated
51575
+ */
51576
+ public static fromObject(object: { [k: string]: any }): EligibilityRecordCreated;
51577
+
51578
+ /**
51579
+ * Creates a plain object from an EligibilityRecordCreated message. Also converts values to other types if specified.
51580
+ * @param message EligibilityRecordCreated
51581
+ * @param [options] Conversion options
51582
+ * @returns Plain object
51583
+ */
51584
+ public static toObject(message: EligibilityRecordCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
51585
+
51586
+ /**
51587
+ * Converts this EligibilityRecordCreated to JSON.
51588
+ * @returns JSON object
51589
+ */
51590
+ public toJSON(): { [k: string]: any };
51591
+ }
51592
+
51593
+ /** Properties of an EligibilityRecordUpdated. */
51594
+ export interface IEligibilityRecordUpdated {
51595
+
51596
+ /** EligibilityRecordUpdated timestamp */
51597
+ timestamp?: (number|Long|null);
51598
+
51599
+ /** EligibilityRecordUpdated collectiveId */
51600
+ collectiveId?: (number|null);
51601
+
51602
+ /** EligibilityRecordUpdated uuid */
51603
+ uuid?: (string|null);
51604
+ }
51605
+
51606
+ /** Represents an EligibilityRecordUpdated. */
51607
+ export class EligibilityRecordUpdated implements IEligibilityRecordUpdated {
51608
+
51609
+ /**
51610
+ * Constructs a new EligibilityRecordUpdated.
51611
+ * @param [properties] Properties to set
51612
+ */
51613
+ constructor(properties?: IEligibilityRecordUpdated);
51614
+
51615
+ /** EligibilityRecordUpdated timestamp. */
51616
+ public timestamp: (number|Long);
51617
+
51618
+ /** EligibilityRecordUpdated collectiveId. */
51619
+ public collectiveId: number;
51620
+
51621
+ /** EligibilityRecordUpdated uuid. */
51622
+ public uuid: string;
51623
+
51624
+ /**
51625
+ * Creates a new EligibilityRecordUpdated instance using the specified properties.
51626
+ * @param [properties] Properties to set
51627
+ * @returns EligibilityRecordUpdated instance
51628
+ */
51629
+ public static create(properties?: IEligibilityRecordUpdated): EligibilityRecordUpdated;
51630
+
51631
+ /**
51632
+ * Encodes the specified EligibilityRecordUpdated message. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
51633
+ * @param message EligibilityRecordUpdated message or plain object to encode
51634
+ * @param [writer] Writer to encode to
51635
+ * @returns Writer
51636
+ */
51637
+ public static encode(message: IEligibilityRecordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
51638
+
51639
+ /**
51640
+ * Encodes the specified EligibilityRecordUpdated message, length delimited. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
51641
+ * @param message EligibilityRecordUpdated message or plain object to encode
51642
+ * @param [writer] Writer to encode to
51643
+ * @returns Writer
51644
+ */
51645
+ public static encodeDelimited(message: IEligibilityRecordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
51646
+
51647
+ /**
51648
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer.
51649
+ * @param reader Reader or buffer to decode from
51650
+ * @param [length] Message length if known beforehand
51651
+ * @returns EligibilityRecordUpdated
51652
+ * @throws {Error} If the payload is not a reader or valid buffer
51653
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51654
+ */
51655
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordUpdated;
51656
+
51657
+ /**
51658
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer, length delimited.
51659
+ * @param reader Reader or buffer to decode from
51660
+ * @returns EligibilityRecordUpdated
51661
+ * @throws {Error} If the payload is not a reader or valid buffer
51662
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51663
+ */
51664
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordUpdated;
51665
+
51666
+ /**
51667
+ * Verifies an EligibilityRecordUpdated message.
51668
+ * @param message Plain object to verify
51669
+ * @returns `null` if valid, otherwise the reason why it is not
51670
+ */
51671
+ public static verify(message: { [k: string]: any }): (string|null);
51672
+
51673
+ /**
51674
+ * Creates an EligibilityRecordUpdated message from a plain object. Also converts values to their respective internal types.
51675
+ * @param object Plain object
51676
+ * @returns EligibilityRecordUpdated
51677
+ */
51678
+ public static fromObject(object: { [k: string]: any }): EligibilityRecordUpdated;
51679
+
51680
+ /**
51681
+ * Creates a plain object from an EligibilityRecordUpdated message. Also converts values to other types if specified.
51682
+ * @param message EligibilityRecordUpdated
51683
+ * @param [options] Conversion options
51684
+ * @returns Plain object
51685
+ */
51686
+ public static toObject(message: EligibilityRecordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
51687
+
51688
+ /**
51689
+ * Converts this EligibilityRecordUpdated to JSON.
51690
+ * @returns JSON object
51691
+ */
51692
+ public toJSON(): { [k: string]: any };
51693
+ }
51694
+
51695
+ /** Properties of an EligibilityRecordDeleted. */
51696
+ export interface IEligibilityRecordDeleted {
51697
+
51698
+ /** EligibilityRecordDeleted timestamp */
51699
+ timestamp?: (number|Long|null);
51700
+
51701
+ /** EligibilityRecordDeleted collectiveId */
51702
+ collectiveId?: (number|null);
51703
+
51704
+ /** EligibilityRecordDeleted uuid */
51705
+ uuid?: (string|null);
51706
+ }
51707
+
51708
+ /** Represents an EligibilityRecordDeleted. */
51709
+ export class EligibilityRecordDeleted implements IEligibilityRecordDeleted {
51710
+
51711
+ /**
51712
+ * Constructs a new EligibilityRecordDeleted.
51713
+ * @param [properties] Properties to set
51714
+ */
51715
+ constructor(properties?: IEligibilityRecordDeleted);
51716
+
51717
+ /** EligibilityRecordDeleted timestamp. */
51718
+ public timestamp: (number|Long);
51719
+
51720
+ /** EligibilityRecordDeleted collectiveId. */
51721
+ public collectiveId: number;
51722
+
51723
+ /** EligibilityRecordDeleted uuid. */
51724
+ public uuid: string;
51725
+
51726
+ /**
51727
+ * Creates a new EligibilityRecordDeleted instance using the specified properties.
51728
+ * @param [properties] Properties to set
51729
+ * @returns EligibilityRecordDeleted instance
51730
+ */
51731
+ public static create(properties?: IEligibilityRecordDeleted): EligibilityRecordDeleted;
51732
+
51733
+ /**
51734
+ * Encodes the specified EligibilityRecordDeleted message. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
51735
+ * @param message EligibilityRecordDeleted message or plain object to encode
51736
+ * @param [writer] Writer to encode to
51737
+ * @returns Writer
51738
+ */
51739
+ public static encode(message: IEligibilityRecordDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
51740
+
51741
+ /**
51742
+ * Encodes the specified EligibilityRecordDeleted message, length delimited. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
51743
+ * @param message EligibilityRecordDeleted message or plain object to encode
51744
+ * @param [writer] Writer to encode to
51745
+ * @returns Writer
51746
+ */
51747
+ public static encodeDelimited(message: IEligibilityRecordDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
51748
+
51749
+ /**
51750
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer.
51751
+ * @param reader Reader or buffer to decode from
51752
+ * @param [length] Message length if known beforehand
51753
+ * @returns EligibilityRecordDeleted
51754
+ * @throws {Error} If the payload is not a reader or valid buffer
51755
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51756
+ */
51757
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordDeleted;
51758
+
51759
+ /**
51760
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer, length delimited.
51761
+ * @param reader Reader or buffer to decode from
51762
+ * @returns EligibilityRecordDeleted
51763
+ * @throws {Error} If the payload is not a reader or valid buffer
51764
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51765
+ */
51766
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordDeleted;
51767
+
51768
+ /**
51769
+ * Verifies an EligibilityRecordDeleted message.
51770
+ * @param message Plain object to verify
51771
+ * @returns `null` if valid, otherwise the reason why it is not
51772
+ */
51773
+ public static verify(message: { [k: string]: any }): (string|null);
51774
+
51775
+ /**
51776
+ * Creates an EligibilityRecordDeleted message from a plain object. Also converts values to their respective internal types.
51777
+ * @param object Plain object
51778
+ * @returns EligibilityRecordDeleted
51779
+ */
51780
+ public static fromObject(object: { [k: string]: any }): EligibilityRecordDeleted;
51781
+
51782
+ /**
51783
+ * Creates a plain object from an EligibilityRecordDeleted message. Also converts values to other types if specified.
51784
+ * @param message EligibilityRecordDeleted
51785
+ * @param [options] Conversion options
51786
+ * @returns Plain object
51787
+ */
51788
+ public static toObject(message: EligibilityRecordDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
51789
+
51790
+ /**
51791
+ * Converts this EligibilityRecordDeleted to JSON.
51792
+ * @returns JSON object
51793
+ */
51794
+ public toJSON(): { [k: string]: any };
51795
+ }
51796
+
51485
51797
  /** Properties of an EnterpriseUserOnboarded. */
51486
51798
  export interface IEnterpriseUserOnboarded {
51487
51799
 
package/lib/index.js CHANGED
@@ -140016,12 +140016,12 @@ $root.ElfRecordPresent = (function() {
140016
140016
  * @property {string|null} [rootOrgId] ElfRecordPresent rootOrgId
140017
140017
  * @property {boolean|null} [isMemberMigrated] ElfRecordPresent isMemberMigrated
140018
140018
  * @property {string|null} [priorB2bOrgId] ElfRecordPresent priorB2bOrgId
140019
- * @property {string|null} [location] ElfRecordPresent location
140020
140019
  * @property {string|null} [dependentOf] ElfRecordPresent dependentOf
140021
140020
  * @property {boolean|null} [isDryRun] ElfRecordPresent isDryRun
140022
140021
  * @property {boolean|null} [gingerShouldProcess] ElfRecordPresent gingerShouldProcess
140023
140022
  * @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
140024
140023
  * @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordPresent unifiedEligibilityEnabled
140024
+ * @property {string|null} [collectiveUuid] ElfRecordPresent collectiveUuid
140025
140025
  */
140026
140026
 
140027
140027
  /**
@@ -140232,14 +140232,6 @@ $root.ElfRecordPresent = (function() {
140232
140232
  */
140233
140233
  ElfRecordPresent.prototype.priorB2bOrgId = "";
140234
140234
 
140235
- /**
140236
- * ElfRecordPresent location.
140237
- * @member {string} location
140238
- * @memberof ElfRecordPresent
140239
- * @instance
140240
- */
140241
- ElfRecordPresent.prototype.location = "";
140242
-
140243
140235
  /**
140244
140236
  * ElfRecordPresent dependentOf.
140245
140237
  * @member {string} dependentOf
@@ -140280,6 +140272,14 @@ $root.ElfRecordPresent = (function() {
140280
140272
  */
140281
140273
  ElfRecordPresent.prototype.unifiedEligibilityEnabled = false;
140282
140274
 
140275
+ /**
140276
+ * ElfRecordPresent collectiveUuid.
140277
+ * @member {string} collectiveUuid
140278
+ * @memberof ElfRecordPresent
140279
+ * @instance
140280
+ */
140281
+ ElfRecordPresent.prototype.collectiveUuid = "";
140282
+
140283
140283
  /**
140284
140284
  * Creates a new ElfRecordPresent instance using the specified properties.
140285
140285
  * @function create
@@ -140362,12 +140362,12 @@ $root.ElfRecordPresent = (function() {
140362
140362
  writer.uint32(/* id 26, wireType 0 =*/208).bool(message.isMemberMigrated);
140363
140363
  if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
140364
140364
  writer.uint32(/* id 27, wireType 2 =*/218).string(message.priorB2bOrgId);
140365
- if (message.location != null && message.hasOwnProperty("location"))
140366
- writer.uint32(/* id 28, wireType 2 =*/226).string(message.location);
140367
140365
  if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
140368
140366
  writer.uint32(/* id 29, wireType 2 =*/234).string(message.countryStateCode);
140369
140367
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
140370
140368
  writer.uint32(/* id 30, wireType 2 =*/242).string(message.dependentOf);
140369
+ if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
140370
+ writer.uint32(/* id 31, wireType 2 =*/250).string(message.collectiveUuid);
140371
140371
  return writer;
140372
140372
  };
140373
140373
 
@@ -140481,9 +140481,6 @@ $root.ElfRecordPresent = (function() {
140481
140481
  case 27:
140482
140482
  message.priorB2bOrgId = reader.string();
140483
140483
  break;
140484
- case 28:
140485
- message.location = reader.string();
140486
- break;
140487
140484
  case 30:
140488
140485
  message.dependentOf = reader.string();
140489
140486
  break;
@@ -140499,6 +140496,9 @@ $root.ElfRecordPresent = (function() {
140499
140496
  case 23:
140500
140497
  message.unifiedEligibilityEnabled = reader.bool();
140501
140498
  break;
140499
+ case 31:
140500
+ message.collectiveUuid = reader.string();
140501
+ break;
140502
140502
  default:
140503
140503
  reader.skipType(tag & 7);
140504
140504
  break;
@@ -140621,9 +140621,6 @@ $root.ElfRecordPresent = (function() {
140621
140621
  if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
140622
140622
  if (!$util.isString(message.priorB2bOrgId))
140623
140623
  return "priorB2bOrgId: string expected";
140624
- if (message.location != null && message.hasOwnProperty("location"))
140625
- if (!$util.isString(message.location))
140626
- return "location: string expected";
140627
140624
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
140628
140625
  if (!$util.isString(message.dependentOf))
140629
140626
  return "dependentOf: string expected";
@@ -140639,6 +140636,9 @@ $root.ElfRecordPresent = (function() {
140639
140636
  if (message.unifiedEligibilityEnabled != null && message.hasOwnProperty("unifiedEligibilityEnabled"))
140640
140637
  if (typeof message.unifiedEligibilityEnabled !== "boolean")
140641
140638
  return "unifiedEligibilityEnabled: boolean expected";
140639
+ if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
140640
+ if (!$util.isString(message.collectiveUuid))
140641
+ return "collectiveUuid: string expected";
140642
140642
  return null;
140643
140643
  };
140644
140644
 
@@ -140736,8 +140736,6 @@ $root.ElfRecordPresent = (function() {
140736
140736
  message.isMemberMigrated = Boolean(object.isMemberMigrated);
140737
140737
  if (object.priorB2bOrgId != null)
140738
140738
  message.priorB2bOrgId = String(object.priorB2bOrgId);
140739
- if (object.location != null)
140740
- message.location = String(object.location);
140741
140739
  if (object.dependentOf != null)
140742
140740
  message.dependentOf = String(object.dependentOf);
140743
140741
  if (object.isDryRun != null)
@@ -140748,6 +140746,8 @@ $root.ElfRecordPresent = (function() {
140748
140746
  message.headspaceShouldProcess = Boolean(object.headspaceShouldProcess);
140749
140747
  if (object.unifiedEligibilityEnabled != null)
140750
140748
  message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
140749
+ if (object.collectiveUuid != null)
140750
+ message.collectiveUuid = String(object.collectiveUuid);
140751
140751
  return message;
140752
140752
  };
140753
140753
 
@@ -140797,9 +140797,9 @@ $root.ElfRecordPresent = (function() {
140797
140797
  object.rootOrgId = "";
140798
140798
  object.isMemberMigrated = false;
140799
140799
  object.priorB2bOrgId = "";
140800
- object.location = "";
140801
140800
  object.countryStateCode = "";
140802
140801
  object.dependentOf = "";
140802
+ object.collectiveUuid = "";
140803
140803
  }
140804
140804
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
140805
140805
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -140861,12 +140861,12 @@ $root.ElfRecordPresent = (function() {
140861
140861
  object.isMemberMigrated = message.isMemberMigrated;
140862
140862
  if (message.priorB2bOrgId != null && message.hasOwnProperty("priorB2bOrgId"))
140863
140863
  object.priorB2bOrgId = message.priorB2bOrgId;
140864
- if (message.location != null && message.hasOwnProperty("location"))
140865
- object.location = message.location;
140866
140864
  if (message.countryStateCode != null && message.hasOwnProperty("countryStateCode"))
140867
140865
  object.countryStateCode = message.countryStateCode;
140868
140866
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
140869
140867
  object.dependentOf = message.dependentOf;
140868
+ if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
140869
+ object.collectiveUuid = message.collectiveUuid;
140870
140870
  return object;
140871
140871
  };
140872
140872
 
@@ -140904,6 +140904,7 @@ $root.ElfRecordAbsent = (function() {
140904
140904
  * @property {string|null} [rootOrgHeadspaceHealthId] ElfRecordAbsent rootOrgHeadspaceHealthId
140905
140905
  * @property {string|null} [rootOrgId] ElfRecordAbsent rootOrgId
140906
140906
  * @property {boolean|null} [isMemberMigrated] ElfRecordAbsent isMemberMigrated
140907
+ * @property {string|null} [collectiveUuid] ElfRecordAbsent collectiveUuid
140907
140908
  */
140908
140909
 
140909
140910
  /**
@@ -141033,6 +141034,14 @@ $root.ElfRecordAbsent = (function() {
141033
141034
  */
141034
141035
  ElfRecordAbsent.prototype.isMemberMigrated = false;
141035
141036
 
141037
+ /**
141038
+ * ElfRecordAbsent collectiveUuid.
141039
+ * @member {string} collectiveUuid
141040
+ * @memberof ElfRecordAbsent
141041
+ * @instance
141042
+ */
141043
+ ElfRecordAbsent.prototype.collectiveUuid = "";
141044
+
141036
141045
  /**
141037
141046
  * Creates a new ElfRecordAbsent instance using the specified properties.
141038
141047
  * @function create
@@ -141085,6 +141094,8 @@ $root.ElfRecordAbsent = (function() {
141085
141094
  writer.uint32(/* id 13, wireType 2 =*/106).string(message.rootOrgId);
141086
141095
  if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
141087
141096
  writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isMemberMigrated);
141097
+ if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141098
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.collectiveUuid);
141088
141099
  return writer;
141089
141100
  };
141090
141101
 
@@ -141161,6 +141172,9 @@ $root.ElfRecordAbsent = (function() {
141161
141172
  case 14:
141162
141173
  message.isMemberMigrated = reader.bool();
141163
141174
  break;
141175
+ case 16:
141176
+ message.collectiveUuid = reader.string();
141177
+ break;
141164
141178
  default:
141165
141179
  reader.skipType(tag & 7);
141166
141180
  break;
@@ -141243,6 +141257,9 @@ $root.ElfRecordAbsent = (function() {
141243
141257
  if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
141244
141258
  if (typeof message.isMemberMigrated !== "boolean")
141245
141259
  return "isMemberMigrated: boolean expected";
141260
+ if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141261
+ if (!$util.isString(message.collectiveUuid))
141262
+ return "collectiveUuid: string expected";
141246
141263
  return null;
141247
141264
  };
141248
141265
 
@@ -141301,6 +141318,8 @@ $root.ElfRecordAbsent = (function() {
141301
141318
  message.rootOrgId = String(object.rootOrgId);
141302
141319
  if (object.isMemberMigrated != null)
141303
141320
  message.isMemberMigrated = Boolean(object.isMemberMigrated);
141321
+ if (object.collectiveUuid != null)
141322
+ message.collectiveUuid = String(object.collectiveUuid);
141304
141323
  return message;
141305
141324
  };
141306
141325
 
@@ -141336,6 +141355,7 @@ $root.ElfRecordAbsent = (function() {
141336
141355
  object.rootOrgHeadspaceHealthId = "";
141337
141356
  object.rootOrgId = "";
141338
141357
  object.isMemberMigrated = false;
141358
+ object.collectiveUuid = "";
141339
141359
  }
141340
141360
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
141341
141361
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -141368,6 +141388,8 @@ $root.ElfRecordAbsent = (function() {
141368
141388
  object.rootOrgId = message.rootOrgId;
141369
141389
  if (message.isMemberMigrated != null && message.hasOwnProperty("isMemberMigrated"))
141370
141390
  object.isMemberMigrated = message.isMemberMigrated;
141391
+ if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141392
+ object.collectiveUuid = message.collectiveUuid;
141371
141393
  return object;
141372
141394
  };
141373
141395
 
@@ -142126,6 +142148,744 @@ $root.ElfProcessingStats = (function() {
142126
142148
  return ElfProcessingStats;
142127
142149
  })();
142128
142150
 
142151
+ $root.EligibilityRecordCreated = (function() {
142152
+
142153
+ /**
142154
+ * Properties of an EligibilityRecordCreated.
142155
+ * @name IEligibilityRecordCreated
142156
+ * @interface IEligibilityRecordCreated
142157
+ * @property {number|Long|null} [timestamp] EligibilityRecordCreated timestamp
142158
+ * @property {number|null} [collectiveId] EligibilityRecordCreated collectiveId
142159
+ * @property {string|null} [uuid] EligibilityRecordCreated uuid
142160
+ */
142161
+
142162
+ /**
142163
+ * Constructs a new EligibilityRecordCreated.
142164
+ * @name EligibilityRecordCreated
142165
+ * @classdesc Represents an EligibilityRecordCreated.
142166
+ * @implements IEligibilityRecordCreated
142167
+ * @constructor
142168
+ * @param {IEligibilityRecordCreated=} [properties] Properties to set
142169
+ */
142170
+ function EligibilityRecordCreated(properties) {
142171
+ if (properties)
142172
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
142173
+ if (properties[keys[i]] != null)
142174
+ this[keys[i]] = properties[keys[i]];
142175
+ }
142176
+
142177
+ /**
142178
+ * EligibilityRecordCreated timestamp.
142179
+ * @member {number|Long} timestamp
142180
+ * @memberof EligibilityRecordCreated
142181
+ * @instance
142182
+ */
142183
+ EligibilityRecordCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
142184
+
142185
+ /**
142186
+ * EligibilityRecordCreated collectiveId.
142187
+ * @member {number} collectiveId
142188
+ * @memberof EligibilityRecordCreated
142189
+ * @instance
142190
+ */
142191
+ EligibilityRecordCreated.prototype.collectiveId = 0;
142192
+
142193
+ /**
142194
+ * EligibilityRecordCreated uuid.
142195
+ * @member {string} uuid
142196
+ * @memberof EligibilityRecordCreated
142197
+ * @instance
142198
+ */
142199
+ EligibilityRecordCreated.prototype.uuid = "";
142200
+
142201
+ /**
142202
+ * Creates a new EligibilityRecordCreated instance using the specified properties.
142203
+ * @function create
142204
+ * @memberof EligibilityRecordCreated
142205
+ * @static
142206
+ * @param {IEligibilityRecordCreated=} [properties] Properties to set
142207
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated instance
142208
+ */
142209
+ EligibilityRecordCreated.create = function create(properties) {
142210
+ return new EligibilityRecordCreated(properties);
142211
+ };
142212
+
142213
+ /**
142214
+ * Encodes the specified EligibilityRecordCreated message. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
142215
+ * @function encode
142216
+ * @memberof EligibilityRecordCreated
142217
+ * @static
142218
+ * @param {IEligibilityRecordCreated} message EligibilityRecordCreated message or plain object to encode
142219
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142220
+ * @returns {$protobuf.Writer} Writer
142221
+ */
142222
+ EligibilityRecordCreated.encode = function encode(message, writer) {
142223
+ if (!writer)
142224
+ writer = $Writer.create();
142225
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142226
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
142227
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142228
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.collectiveId);
142229
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142230
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
142231
+ return writer;
142232
+ };
142233
+
142234
+ /**
142235
+ * Encodes the specified EligibilityRecordCreated message, length delimited. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
142236
+ * @function encodeDelimited
142237
+ * @memberof EligibilityRecordCreated
142238
+ * @static
142239
+ * @param {IEligibilityRecordCreated} message EligibilityRecordCreated message or plain object to encode
142240
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142241
+ * @returns {$protobuf.Writer} Writer
142242
+ */
142243
+ EligibilityRecordCreated.encodeDelimited = function encodeDelimited(message, writer) {
142244
+ return this.encode(message, writer).ldelim();
142245
+ };
142246
+
142247
+ /**
142248
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer.
142249
+ * @function decode
142250
+ * @memberof EligibilityRecordCreated
142251
+ * @static
142252
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142253
+ * @param {number} [length] Message length if known beforehand
142254
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated
142255
+ * @throws {Error} If the payload is not a reader or valid buffer
142256
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142257
+ */
142258
+ EligibilityRecordCreated.decode = function decode(reader, length) {
142259
+ if (!(reader instanceof $Reader))
142260
+ reader = $Reader.create(reader);
142261
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordCreated();
142262
+ while (reader.pos < end) {
142263
+ var tag = reader.uint32();
142264
+ switch (tag >>> 3) {
142265
+ case 1:
142266
+ message.timestamp = reader.uint64();
142267
+ break;
142268
+ case 2:
142269
+ message.collectiveId = reader.uint32();
142270
+ break;
142271
+ case 3:
142272
+ message.uuid = reader.string();
142273
+ break;
142274
+ default:
142275
+ reader.skipType(tag & 7);
142276
+ break;
142277
+ }
142278
+ }
142279
+ return message;
142280
+ };
142281
+
142282
+ /**
142283
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer, length delimited.
142284
+ * @function decodeDelimited
142285
+ * @memberof EligibilityRecordCreated
142286
+ * @static
142287
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142288
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated
142289
+ * @throws {Error} If the payload is not a reader or valid buffer
142290
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142291
+ */
142292
+ EligibilityRecordCreated.decodeDelimited = function decodeDelimited(reader) {
142293
+ if (!(reader instanceof $Reader))
142294
+ reader = new $Reader(reader);
142295
+ return this.decode(reader, reader.uint32());
142296
+ };
142297
+
142298
+ /**
142299
+ * Verifies an EligibilityRecordCreated message.
142300
+ * @function verify
142301
+ * @memberof EligibilityRecordCreated
142302
+ * @static
142303
+ * @param {Object.<string,*>} message Plain object to verify
142304
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
142305
+ */
142306
+ EligibilityRecordCreated.verify = function verify(message) {
142307
+ if (typeof message !== "object" || message === null)
142308
+ return "object expected";
142309
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142310
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
142311
+ return "timestamp: integer|Long expected";
142312
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142313
+ if (!$util.isInteger(message.collectiveId))
142314
+ return "collectiveId: integer expected";
142315
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142316
+ if (!$util.isString(message.uuid))
142317
+ return "uuid: string expected";
142318
+ return null;
142319
+ };
142320
+
142321
+ /**
142322
+ * Creates an EligibilityRecordCreated message from a plain object. Also converts values to their respective internal types.
142323
+ * @function fromObject
142324
+ * @memberof EligibilityRecordCreated
142325
+ * @static
142326
+ * @param {Object.<string,*>} object Plain object
142327
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated
142328
+ */
142329
+ EligibilityRecordCreated.fromObject = function fromObject(object) {
142330
+ if (object instanceof $root.EligibilityRecordCreated)
142331
+ return object;
142332
+ var message = new $root.EligibilityRecordCreated();
142333
+ if (object.timestamp != null)
142334
+ if ($util.Long)
142335
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
142336
+ else if (typeof object.timestamp === "string")
142337
+ message.timestamp = parseInt(object.timestamp, 10);
142338
+ else if (typeof object.timestamp === "number")
142339
+ message.timestamp = object.timestamp;
142340
+ else if (typeof object.timestamp === "object")
142341
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
142342
+ if (object.collectiveId != null)
142343
+ message.collectiveId = object.collectiveId >>> 0;
142344
+ if (object.uuid != null)
142345
+ message.uuid = String(object.uuid);
142346
+ return message;
142347
+ };
142348
+
142349
+ /**
142350
+ * Creates a plain object from an EligibilityRecordCreated message. Also converts values to other types if specified.
142351
+ * @function toObject
142352
+ * @memberof EligibilityRecordCreated
142353
+ * @static
142354
+ * @param {EligibilityRecordCreated} message EligibilityRecordCreated
142355
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
142356
+ * @returns {Object.<string,*>} Plain object
142357
+ */
142358
+ EligibilityRecordCreated.toObject = function toObject(message, options) {
142359
+ if (!options)
142360
+ options = {};
142361
+ var object = {};
142362
+ if (options.defaults) {
142363
+ if ($util.Long) {
142364
+ var long = new $util.Long(0, 0, true);
142365
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142366
+ } else
142367
+ object.timestamp = options.longs === String ? "0" : 0;
142368
+ object.collectiveId = 0;
142369
+ object.uuid = "";
142370
+ }
142371
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142372
+ if (typeof message.timestamp === "number")
142373
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
142374
+ else
142375
+ 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;
142376
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142377
+ object.collectiveId = message.collectiveId;
142378
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142379
+ object.uuid = message.uuid;
142380
+ return object;
142381
+ };
142382
+
142383
+ /**
142384
+ * Converts this EligibilityRecordCreated to JSON.
142385
+ * @function toJSON
142386
+ * @memberof EligibilityRecordCreated
142387
+ * @instance
142388
+ * @returns {Object.<string,*>} JSON object
142389
+ */
142390
+ EligibilityRecordCreated.prototype.toJSON = function toJSON() {
142391
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
142392
+ };
142393
+
142394
+ return EligibilityRecordCreated;
142395
+ })();
142396
+
142397
+ $root.EligibilityRecordUpdated = (function() {
142398
+
142399
+ /**
142400
+ * Properties of an EligibilityRecordUpdated.
142401
+ * @name IEligibilityRecordUpdated
142402
+ * @interface IEligibilityRecordUpdated
142403
+ * @property {number|Long|null} [timestamp] EligibilityRecordUpdated timestamp
142404
+ * @property {number|null} [collectiveId] EligibilityRecordUpdated collectiveId
142405
+ * @property {string|null} [uuid] EligibilityRecordUpdated uuid
142406
+ */
142407
+
142408
+ /**
142409
+ * Constructs a new EligibilityRecordUpdated.
142410
+ * @name EligibilityRecordUpdated
142411
+ * @classdesc Represents an EligibilityRecordUpdated.
142412
+ * @implements IEligibilityRecordUpdated
142413
+ * @constructor
142414
+ * @param {IEligibilityRecordUpdated=} [properties] Properties to set
142415
+ */
142416
+ function EligibilityRecordUpdated(properties) {
142417
+ if (properties)
142418
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
142419
+ if (properties[keys[i]] != null)
142420
+ this[keys[i]] = properties[keys[i]];
142421
+ }
142422
+
142423
+ /**
142424
+ * EligibilityRecordUpdated timestamp.
142425
+ * @member {number|Long} timestamp
142426
+ * @memberof EligibilityRecordUpdated
142427
+ * @instance
142428
+ */
142429
+ EligibilityRecordUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
142430
+
142431
+ /**
142432
+ * EligibilityRecordUpdated collectiveId.
142433
+ * @member {number} collectiveId
142434
+ * @memberof EligibilityRecordUpdated
142435
+ * @instance
142436
+ */
142437
+ EligibilityRecordUpdated.prototype.collectiveId = 0;
142438
+
142439
+ /**
142440
+ * EligibilityRecordUpdated uuid.
142441
+ * @member {string} uuid
142442
+ * @memberof EligibilityRecordUpdated
142443
+ * @instance
142444
+ */
142445
+ EligibilityRecordUpdated.prototype.uuid = "";
142446
+
142447
+ /**
142448
+ * Creates a new EligibilityRecordUpdated instance using the specified properties.
142449
+ * @function create
142450
+ * @memberof EligibilityRecordUpdated
142451
+ * @static
142452
+ * @param {IEligibilityRecordUpdated=} [properties] Properties to set
142453
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated instance
142454
+ */
142455
+ EligibilityRecordUpdated.create = function create(properties) {
142456
+ return new EligibilityRecordUpdated(properties);
142457
+ };
142458
+
142459
+ /**
142460
+ * Encodes the specified EligibilityRecordUpdated message. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
142461
+ * @function encode
142462
+ * @memberof EligibilityRecordUpdated
142463
+ * @static
142464
+ * @param {IEligibilityRecordUpdated} message EligibilityRecordUpdated message or plain object to encode
142465
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142466
+ * @returns {$protobuf.Writer} Writer
142467
+ */
142468
+ EligibilityRecordUpdated.encode = function encode(message, writer) {
142469
+ if (!writer)
142470
+ writer = $Writer.create();
142471
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142472
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
142473
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142474
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.collectiveId);
142475
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142476
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
142477
+ return writer;
142478
+ };
142479
+
142480
+ /**
142481
+ * Encodes the specified EligibilityRecordUpdated message, length delimited. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
142482
+ * @function encodeDelimited
142483
+ * @memberof EligibilityRecordUpdated
142484
+ * @static
142485
+ * @param {IEligibilityRecordUpdated} message EligibilityRecordUpdated message or plain object to encode
142486
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142487
+ * @returns {$protobuf.Writer} Writer
142488
+ */
142489
+ EligibilityRecordUpdated.encodeDelimited = function encodeDelimited(message, writer) {
142490
+ return this.encode(message, writer).ldelim();
142491
+ };
142492
+
142493
+ /**
142494
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer.
142495
+ * @function decode
142496
+ * @memberof EligibilityRecordUpdated
142497
+ * @static
142498
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142499
+ * @param {number} [length] Message length if known beforehand
142500
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated
142501
+ * @throws {Error} If the payload is not a reader or valid buffer
142502
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142503
+ */
142504
+ EligibilityRecordUpdated.decode = function decode(reader, length) {
142505
+ if (!(reader instanceof $Reader))
142506
+ reader = $Reader.create(reader);
142507
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordUpdated();
142508
+ while (reader.pos < end) {
142509
+ var tag = reader.uint32();
142510
+ switch (tag >>> 3) {
142511
+ case 1:
142512
+ message.timestamp = reader.uint64();
142513
+ break;
142514
+ case 2:
142515
+ message.collectiveId = reader.uint32();
142516
+ break;
142517
+ case 3:
142518
+ message.uuid = reader.string();
142519
+ break;
142520
+ default:
142521
+ reader.skipType(tag & 7);
142522
+ break;
142523
+ }
142524
+ }
142525
+ return message;
142526
+ };
142527
+
142528
+ /**
142529
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer, length delimited.
142530
+ * @function decodeDelimited
142531
+ * @memberof EligibilityRecordUpdated
142532
+ * @static
142533
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142534
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated
142535
+ * @throws {Error} If the payload is not a reader or valid buffer
142536
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142537
+ */
142538
+ EligibilityRecordUpdated.decodeDelimited = function decodeDelimited(reader) {
142539
+ if (!(reader instanceof $Reader))
142540
+ reader = new $Reader(reader);
142541
+ return this.decode(reader, reader.uint32());
142542
+ };
142543
+
142544
+ /**
142545
+ * Verifies an EligibilityRecordUpdated message.
142546
+ * @function verify
142547
+ * @memberof EligibilityRecordUpdated
142548
+ * @static
142549
+ * @param {Object.<string,*>} message Plain object to verify
142550
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
142551
+ */
142552
+ EligibilityRecordUpdated.verify = function verify(message) {
142553
+ if (typeof message !== "object" || message === null)
142554
+ return "object expected";
142555
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142556
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
142557
+ return "timestamp: integer|Long expected";
142558
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142559
+ if (!$util.isInteger(message.collectiveId))
142560
+ return "collectiveId: integer expected";
142561
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142562
+ if (!$util.isString(message.uuid))
142563
+ return "uuid: string expected";
142564
+ return null;
142565
+ };
142566
+
142567
+ /**
142568
+ * Creates an EligibilityRecordUpdated message from a plain object. Also converts values to their respective internal types.
142569
+ * @function fromObject
142570
+ * @memberof EligibilityRecordUpdated
142571
+ * @static
142572
+ * @param {Object.<string,*>} object Plain object
142573
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated
142574
+ */
142575
+ EligibilityRecordUpdated.fromObject = function fromObject(object) {
142576
+ if (object instanceof $root.EligibilityRecordUpdated)
142577
+ return object;
142578
+ var message = new $root.EligibilityRecordUpdated();
142579
+ if (object.timestamp != null)
142580
+ if ($util.Long)
142581
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
142582
+ else if (typeof object.timestamp === "string")
142583
+ message.timestamp = parseInt(object.timestamp, 10);
142584
+ else if (typeof object.timestamp === "number")
142585
+ message.timestamp = object.timestamp;
142586
+ else if (typeof object.timestamp === "object")
142587
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
142588
+ if (object.collectiveId != null)
142589
+ message.collectiveId = object.collectiveId >>> 0;
142590
+ if (object.uuid != null)
142591
+ message.uuid = String(object.uuid);
142592
+ return message;
142593
+ };
142594
+
142595
+ /**
142596
+ * Creates a plain object from an EligibilityRecordUpdated message. Also converts values to other types if specified.
142597
+ * @function toObject
142598
+ * @memberof EligibilityRecordUpdated
142599
+ * @static
142600
+ * @param {EligibilityRecordUpdated} message EligibilityRecordUpdated
142601
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
142602
+ * @returns {Object.<string,*>} Plain object
142603
+ */
142604
+ EligibilityRecordUpdated.toObject = function toObject(message, options) {
142605
+ if (!options)
142606
+ options = {};
142607
+ var object = {};
142608
+ if (options.defaults) {
142609
+ if ($util.Long) {
142610
+ var long = new $util.Long(0, 0, true);
142611
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142612
+ } else
142613
+ object.timestamp = options.longs === String ? "0" : 0;
142614
+ object.collectiveId = 0;
142615
+ object.uuid = "";
142616
+ }
142617
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142618
+ if (typeof message.timestamp === "number")
142619
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
142620
+ else
142621
+ 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;
142622
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142623
+ object.collectiveId = message.collectiveId;
142624
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142625
+ object.uuid = message.uuid;
142626
+ return object;
142627
+ };
142628
+
142629
+ /**
142630
+ * Converts this EligibilityRecordUpdated to JSON.
142631
+ * @function toJSON
142632
+ * @memberof EligibilityRecordUpdated
142633
+ * @instance
142634
+ * @returns {Object.<string,*>} JSON object
142635
+ */
142636
+ EligibilityRecordUpdated.prototype.toJSON = function toJSON() {
142637
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
142638
+ };
142639
+
142640
+ return EligibilityRecordUpdated;
142641
+ })();
142642
+
142643
+ $root.EligibilityRecordDeleted = (function() {
142644
+
142645
+ /**
142646
+ * Properties of an EligibilityRecordDeleted.
142647
+ * @name IEligibilityRecordDeleted
142648
+ * @interface IEligibilityRecordDeleted
142649
+ * @property {number|Long|null} [timestamp] EligibilityRecordDeleted timestamp
142650
+ * @property {number|null} [collectiveId] EligibilityRecordDeleted collectiveId
142651
+ * @property {string|null} [uuid] EligibilityRecordDeleted uuid
142652
+ */
142653
+
142654
+ /**
142655
+ * Constructs a new EligibilityRecordDeleted.
142656
+ * @name EligibilityRecordDeleted
142657
+ * @classdesc Represents an EligibilityRecordDeleted.
142658
+ * @implements IEligibilityRecordDeleted
142659
+ * @constructor
142660
+ * @param {IEligibilityRecordDeleted=} [properties] Properties to set
142661
+ */
142662
+ function EligibilityRecordDeleted(properties) {
142663
+ if (properties)
142664
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
142665
+ if (properties[keys[i]] != null)
142666
+ this[keys[i]] = properties[keys[i]];
142667
+ }
142668
+
142669
+ /**
142670
+ * EligibilityRecordDeleted timestamp.
142671
+ * @member {number|Long} timestamp
142672
+ * @memberof EligibilityRecordDeleted
142673
+ * @instance
142674
+ */
142675
+ EligibilityRecordDeleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
142676
+
142677
+ /**
142678
+ * EligibilityRecordDeleted collectiveId.
142679
+ * @member {number} collectiveId
142680
+ * @memberof EligibilityRecordDeleted
142681
+ * @instance
142682
+ */
142683
+ EligibilityRecordDeleted.prototype.collectiveId = 0;
142684
+
142685
+ /**
142686
+ * EligibilityRecordDeleted uuid.
142687
+ * @member {string} uuid
142688
+ * @memberof EligibilityRecordDeleted
142689
+ * @instance
142690
+ */
142691
+ EligibilityRecordDeleted.prototype.uuid = "";
142692
+
142693
+ /**
142694
+ * Creates a new EligibilityRecordDeleted instance using the specified properties.
142695
+ * @function create
142696
+ * @memberof EligibilityRecordDeleted
142697
+ * @static
142698
+ * @param {IEligibilityRecordDeleted=} [properties] Properties to set
142699
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted instance
142700
+ */
142701
+ EligibilityRecordDeleted.create = function create(properties) {
142702
+ return new EligibilityRecordDeleted(properties);
142703
+ };
142704
+
142705
+ /**
142706
+ * Encodes the specified EligibilityRecordDeleted message. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
142707
+ * @function encode
142708
+ * @memberof EligibilityRecordDeleted
142709
+ * @static
142710
+ * @param {IEligibilityRecordDeleted} message EligibilityRecordDeleted message or plain object to encode
142711
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142712
+ * @returns {$protobuf.Writer} Writer
142713
+ */
142714
+ EligibilityRecordDeleted.encode = function encode(message, writer) {
142715
+ if (!writer)
142716
+ writer = $Writer.create();
142717
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142718
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
142719
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142720
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.collectiveId);
142721
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142722
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
142723
+ return writer;
142724
+ };
142725
+
142726
+ /**
142727
+ * Encodes the specified EligibilityRecordDeleted message, length delimited. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
142728
+ * @function encodeDelimited
142729
+ * @memberof EligibilityRecordDeleted
142730
+ * @static
142731
+ * @param {IEligibilityRecordDeleted} message EligibilityRecordDeleted message or plain object to encode
142732
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142733
+ * @returns {$protobuf.Writer} Writer
142734
+ */
142735
+ EligibilityRecordDeleted.encodeDelimited = function encodeDelimited(message, writer) {
142736
+ return this.encode(message, writer).ldelim();
142737
+ };
142738
+
142739
+ /**
142740
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer.
142741
+ * @function decode
142742
+ * @memberof EligibilityRecordDeleted
142743
+ * @static
142744
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142745
+ * @param {number} [length] Message length if known beforehand
142746
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
142747
+ * @throws {Error} If the payload is not a reader or valid buffer
142748
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142749
+ */
142750
+ EligibilityRecordDeleted.decode = function decode(reader, length) {
142751
+ if (!(reader instanceof $Reader))
142752
+ reader = $Reader.create(reader);
142753
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordDeleted();
142754
+ while (reader.pos < end) {
142755
+ var tag = reader.uint32();
142756
+ switch (tag >>> 3) {
142757
+ case 1:
142758
+ message.timestamp = reader.uint64();
142759
+ break;
142760
+ case 2:
142761
+ message.collectiveId = reader.uint32();
142762
+ break;
142763
+ case 3:
142764
+ message.uuid = reader.string();
142765
+ break;
142766
+ default:
142767
+ reader.skipType(tag & 7);
142768
+ break;
142769
+ }
142770
+ }
142771
+ return message;
142772
+ };
142773
+
142774
+ /**
142775
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer, length delimited.
142776
+ * @function decodeDelimited
142777
+ * @memberof EligibilityRecordDeleted
142778
+ * @static
142779
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142780
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
142781
+ * @throws {Error} If the payload is not a reader or valid buffer
142782
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142783
+ */
142784
+ EligibilityRecordDeleted.decodeDelimited = function decodeDelimited(reader) {
142785
+ if (!(reader instanceof $Reader))
142786
+ reader = new $Reader(reader);
142787
+ return this.decode(reader, reader.uint32());
142788
+ };
142789
+
142790
+ /**
142791
+ * Verifies an EligibilityRecordDeleted message.
142792
+ * @function verify
142793
+ * @memberof EligibilityRecordDeleted
142794
+ * @static
142795
+ * @param {Object.<string,*>} message Plain object to verify
142796
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
142797
+ */
142798
+ EligibilityRecordDeleted.verify = function verify(message) {
142799
+ if (typeof message !== "object" || message === null)
142800
+ return "object expected";
142801
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142802
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
142803
+ return "timestamp: integer|Long expected";
142804
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142805
+ if (!$util.isInteger(message.collectiveId))
142806
+ return "collectiveId: integer expected";
142807
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142808
+ if (!$util.isString(message.uuid))
142809
+ return "uuid: string expected";
142810
+ return null;
142811
+ };
142812
+
142813
+ /**
142814
+ * Creates an EligibilityRecordDeleted message from a plain object. Also converts values to their respective internal types.
142815
+ * @function fromObject
142816
+ * @memberof EligibilityRecordDeleted
142817
+ * @static
142818
+ * @param {Object.<string,*>} object Plain object
142819
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
142820
+ */
142821
+ EligibilityRecordDeleted.fromObject = function fromObject(object) {
142822
+ if (object instanceof $root.EligibilityRecordDeleted)
142823
+ return object;
142824
+ var message = new $root.EligibilityRecordDeleted();
142825
+ if (object.timestamp != null)
142826
+ if ($util.Long)
142827
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
142828
+ else if (typeof object.timestamp === "string")
142829
+ message.timestamp = parseInt(object.timestamp, 10);
142830
+ else if (typeof object.timestamp === "number")
142831
+ message.timestamp = object.timestamp;
142832
+ else if (typeof object.timestamp === "object")
142833
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
142834
+ if (object.collectiveId != null)
142835
+ message.collectiveId = object.collectiveId >>> 0;
142836
+ if (object.uuid != null)
142837
+ message.uuid = String(object.uuid);
142838
+ return message;
142839
+ };
142840
+
142841
+ /**
142842
+ * Creates a plain object from an EligibilityRecordDeleted message. Also converts values to other types if specified.
142843
+ * @function toObject
142844
+ * @memberof EligibilityRecordDeleted
142845
+ * @static
142846
+ * @param {EligibilityRecordDeleted} message EligibilityRecordDeleted
142847
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
142848
+ * @returns {Object.<string,*>} Plain object
142849
+ */
142850
+ EligibilityRecordDeleted.toObject = function toObject(message, options) {
142851
+ if (!options)
142852
+ options = {};
142853
+ var object = {};
142854
+ if (options.defaults) {
142855
+ if ($util.Long) {
142856
+ var long = new $util.Long(0, 0, true);
142857
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142858
+ } else
142859
+ object.timestamp = options.longs === String ? "0" : 0;
142860
+ object.collectiveId = 0;
142861
+ object.uuid = "";
142862
+ }
142863
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142864
+ if (typeof message.timestamp === "number")
142865
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
142866
+ else
142867
+ 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;
142868
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142869
+ object.collectiveId = message.collectiveId;
142870
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142871
+ object.uuid = message.uuid;
142872
+ return object;
142873
+ };
142874
+
142875
+ /**
142876
+ * Converts this EligibilityRecordDeleted to JSON.
142877
+ * @function toJSON
142878
+ * @memberof EligibilityRecordDeleted
142879
+ * @instance
142880
+ * @returns {Object.<string,*>} JSON object
142881
+ */
142882
+ EligibilityRecordDeleted.prototype.toJSON = function toJSON() {
142883
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
142884
+ };
142885
+
142886
+ return EligibilityRecordDeleted;
142887
+ })();
142888
+
142129
142889
  $root.EnterpriseUserOnboarded = (function() {
142130
142890
 
142131
142891
  /**
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.609.0"
19
+ "version": "1.611.0"
20
20
  }