@headspace/protos-events 1.621.0 → 1.623.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 +59 -35
  2. package/lib/index.js +152 -64
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -51171,8 +51171,14 @@ export interface IElfRecordPresent {
51171
51171
  /** ElfRecordPresent collectiveUuid */
51172
51172
  collectiveUuid?: (string|null);
51173
51173
 
51174
+ /** ElfRecordPresent previousCollectiveUuid */
51175
+ previousCollectiveUuid?: (string|null);
51176
+
51174
51177
  /** ElfRecordPresent isChangeEnrollment */
51175
51178
  isChangeEnrollment?: (boolean|null);
51179
+
51180
+ /** ElfRecordPresent hierarchyMappingValue */
51181
+ hierarchyMappingValue?: (string|null);
51176
51182
  }
51177
51183
 
51178
51184
  /** Represents an ElfRecordPresent. */
@@ -51277,9 +51283,15 @@ export class ElfRecordPresent implements IElfRecordPresent {
51277
51283
  /** ElfRecordPresent collectiveUuid. */
51278
51284
  public collectiveUuid: string;
51279
51285
 
51286
+ /** ElfRecordPresent previousCollectiveUuid. */
51287
+ public previousCollectiveUuid: string;
51288
+
51280
51289
  /** ElfRecordPresent isChangeEnrollment. */
51281
51290
  public isChangeEnrollment: boolean;
51282
51291
 
51292
+ /** ElfRecordPresent hierarchyMappingValue. */
51293
+ public hierarchyMappingValue: string;
51294
+
51283
51295
  /**
51284
51296
  * Creates a new ElfRecordPresent instance using the specified properties.
51285
51297
  * @param [properties] Properties to set
@@ -51399,8 +51411,14 @@ export interface IElfRecordAbsent {
51399
51411
  /** ElfRecordAbsent collectiveUuid */
51400
51412
  collectiveUuid?: (string|null);
51401
51413
 
51414
+ /** ElfRecordAbsent previousCollectiveUuid */
51415
+ previousCollectiveUuid?: (string|null);
51416
+
51402
51417
  /** ElfRecordAbsent isChangeEnrollment */
51403
51418
  isChangeEnrollment?: (boolean|null);
51419
+
51420
+ /** ElfRecordAbsent hierarchyMappingValue */
51421
+ hierarchyMappingValue?: (string|null);
51404
51422
  }
51405
51423
 
51406
51424
  /** Represents an ElfRecordAbsent. */
@@ -51457,9 +51475,15 @@ export class ElfRecordAbsent implements IElfRecordAbsent {
51457
51475
  /** ElfRecordAbsent collectiveUuid. */
51458
51476
  public collectiveUuid: string;
51459
51477
 
51478
+ /** ElfRecordAbsent previousCollectiveUuid. */
51479
+ public previousCollectiveUuid: string;
51480
+
51460
51481
  /** ElfRecordAbsent isChangeEnrollment. */
51461
51482
  public isChangeEnrollment: boolean;
51462
51483
 
51484
+ /** ElfRecordAbsent hierarchyMappingValue. */
51485
+ public hierarchyMappingValue: string;
51486
+
51463
51487
  /**
51464
51488
  * Creates a new ElfRecordAbsent instance using the specified properties.
51465
51489
  * @param [properties] Properties to set
@@ -52065,103 +52089,103 @@ export class EligibilityRecordUpdated implements IEligibilityRecordUpdated {
52065
52089
  public toJSON(): { [k: string]: any };
52066
52090
  }
52067
52091
 
52068
- /** Properties of an EligibilityRecordDeleted. */
52069
- export interface IEligibilityRecordDeleted {
52092
+ /** Properties of an EligibilityRecordRemoved. */
52093
+ export interface IEligibilityRecordRemoved {
52070
52094
 
52071
- /** EligibilityRecordDeleted timestamp */
52095
+ /** EligibilityRecordRemoved timestamp */
52072
52096
  timestamp?: (number|Long|null);
52073
52097
 
52074
- /** EligibilityRecordDeleted collectiveUuid */
52098
+ /** EligibilityRecordRemoved collectiveUuid */
52075
52099
  collectiveUuid?: (string|null);
52076
52100
 
52077
- /** EligibilityRecordDeleted uuid */
52101
+ /** EligibilityRecordRemoved uuid */
52078
52102
  uuid?: (string|null);
52079
52103
  }
52080
52104
 
52081
- /** Represents an EligibilityRecordDeleted. */
52082
- export class EligibilityRecordDeleted implements IEligibilityRecordDeleted {
52105
+ /** Represents an EligibilityRecordRemoved. */
52106
+ export class EligibilityRecordRemoved implements IEligibilityRecordRemoved {
52083
52107
 
52084
52108
  /**
52085
- * Constructs a new EligibilityRecordDeleted.
52109
+ * Constructs a new EligibilityRecordRemoved.
52086
52110
  * @param [properties] Properties to set
52087
52111
  */
52088
- constructor(properties?: IEligibilityRecordDeleted);
52112
+ constructor(properties?: IEligibilityRecordRemoved);
52089
52113
 
52090
- /** EligibilityRecordDeleted timestamp. */
52114
+ /** EligibilityRecordRemoved timestamp. */
52091
52115
  public timestamp: (number|Long);
52092
52116
 
52093
- /** EligibilityRecordDeleted collectiveUuid. */
52117
+ /** EligibilityRecordRemoved collectiveUuid. */
52094
52118
  public collectiveUuid: string;
52095
52119
 
52096
- /** EligibilityRecordDeleted uuid. */
52120
+ /** EligibilityRecordRemoved uuid. */
52097
52121
  public uuid: string;
52098
52122
 
52099
52123
  /**
52100
- * Creates a new EligibilityRecordDeleted instance using the specified properties.
52124
+ * Creates a new EligibilityRecordRemoved instance using the specified properties.
52101
52125
  * @param [properties] Properties to set
52102
- * @returns EligibilityRecordDeleted instance
52126
+ * @returns EligibilityRecordRemoved instance
52103
52127
  */
52104
- public static create(properties?: IEligibilityRecordDeleted): EligibilityRecordDeleted;
52128
+ public static create(properties?: IEligibilityRecordRemoved): EligibilityRecordRemoved;
52105
52129
 
52106
52130
  /**
52107
- * Encodes the specified EligibilityRecordDeleted message. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
52108
- * @param message EligibilityRecordDeleted message or plain object to encode
52131
+ * Encodes the specified EligibilityRecordRemoved message. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
52132
+ * @param message EligibilityRecordRemoved message or plain object to encode
52109
52133
  * @param [writer] Writer to encode to
52110
52134
  * @returns Writer
52111
52135
  */
52112
- public static encode(message: IEligibilityRecordDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
52136
+ public static encode(message: IEligibilityRecordRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
52113
52137
 
52114
52138
  /**
52115
- * Encodes the specified EligibilityRecordDeleted message, length delimited. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
52116
- * @param message EligibilityRecordDeleted message or plain object to encode
52139
+ * Encodes the specified EligibilityRecordRemoved message, length delimited. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
52140
+ * @param message EligibilityRecordRemoved message or plain object to encode
52117
52141
  * @param [writer] Writer to encode to
52118
52142
  * @returns Writer
52119
52143
  */
52120
- public static encodeDelimited(message: IEligibilityRecordDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
52144
+ public static encodeDelimited(message: IEligibilityRecordRemoved, writer?: $protobuf.Writer): $protobuf.Writer;
52121
52145
 
52122
52146
  /**
52123
- * Decodes an EligibilityRecordDeleted message from the specified reader or buffer.
52147
+ * Decodes an EligibilityRecordRemoved message from the specified reader or buffer.
52124
52148
  * @param reader Reader or buffer to decode from
52125
52149
  * @param [length] Message length if known beforehand
52126
- * @returns EligibilityRecordDeleted
52150
+ * @returns EligibilityRecordRemoved
52127
52151
  * @throws {Error} If the payload is not a reader or valid buffer
52128
52152
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
52129
52153
  */
52130
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordDeleted;
52154
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordRemoved;
52131
52155
 
52132
52156
  /**
52133
- * Decodes an EligibilityRecordDeleted message from the specified reader or buffer, length delimited.
52157
+ * Decodes an EligibilityRecordRemoved message from the specified reader or buffer, length delimited.
52134
52158
  * @param reader Reader or buffer to decode from
52135
- * @returns EligibilityRecordDeleted
52159
+ * @returns EligibilityRecordRemoved
52136
52160
  * @throws {Error} If the payload is not a reader or valid buffer
52137
52161
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
52138
52162
  */
52139
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordDeleted;
52163
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordRemoved;
52140
52164
 
52141
52165
  /**
52142
- * Verifies an EligibilityRecordDeleted message.
52166
+ * Verifies an EligibilityRecordRemoved message.
52143
52167
  * @param message Plain object to verify
52144
52168
  * @returns `null` if valid, otherwise the reason why it is not
52145
52169
  */
52146
52170
  public static verify(message: { [k: string]: any }): (string|null);
52147
52171
 
52148
52172
  /**
52149
- * Creates an EligibilityRecordDeleted message from a plain object. Also converts values to their respective internal types.
52173
+ * Creates an EligibilityRecordRemoved message from a plain object. Also converts values to their respective internal types.
52150
52174
  * @param object Plain object
52151
- * @returns EligibilityRecordDeleted
52175
+ * @returns EligibilityRecordRemoved
52152
52176
  */
52153
- public static fromObject(object: { [k: string]: any }): EligibilityRecordDeleted;
52177
+ public static fromObject(object: { [k: string]: any }): EligibilityRecordRemoved;
52154
52178
 
52155
52179
  /**
52156
- * Creates a plain object from an EligibilityRecordDeleted message. Also converts values to other types if specified.
52157
- * @param message EligibilityRecordDeleted
52180
+ * Creates a plain object from an EligibilityRecordRemoved message. Also converts values to other types if specified.
52181
+ * @param message EligibilityRecordRemoved
52158
52182
  * @param [options] Conversion options
52159
52183
  * @returns Plain object
52160
52184
  */
52161
- public static toObject(message: EligibilityRecordDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
52185
+ public static toObject(message: EligibilityRecordRemoved, options?: $protobuf.IConversionOptions): { [k: string]: any };
52162
52186
 
52163
52187
  /**
52164
- * Converts this EligibilityRecordDeleted to JSON.
52188
+ * Converts this EligibilityRecordRemoved to JSON.
52165
52189
  * @returns JSON object
52166
52190
  */
52167
52191
  public toJSON(): { [k: string]: any };
package/lib/index.js CHANGED
@@ -140652,7 +140652,9 @@ $root.ElfRecordPresent = (function() {
140652
140652
  * @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
140653
140653
  * @property {boolean|null} [unifiedEligibilityEnabled] ElfRecordPresent unifiedEligibilityEnabled
140654
140654
  * @property {string|null} [collectiveUuid] ElfRecordPresent collectiveUuid
140655
+ * @property {string|null} [previousCollectiveUuid] ElfRecordPresent previousCollectiveUuid
140655
140656
  * @property {boolean|null} [isChangeEnrollment] ElfRecordPresent isChangeEnrollment
140657
+ * @property {string|null} [hierarchyMappingValue] ElfRecordPresent hierarchyMappingValue
140656
140658
  */
140657
140659
 
140658
140660
  /**
@@ -140919,6 +140921,14 @@ $root.ElfRecordPresent = (function() {
140919
140921
  */
140920
140922
  ElfRecordPresent.prototype.collectiveUuid = "";
140921
140923
 
140924
+ /**
140925
+ * ElfRecordPresent previousCollectiveUuid.
140926
+ * @member {string} previousCollectiveUuid
140927
+ * @memberof ElfRecordPresent
140928
+ * @instance
140929
+ */
140930
+ ElfRecordPresent.prototype.previousCollectiveUuid = "";
140931
+
140922
140932
  /**
140923
140933
  * ElfRecordPresent isChangeEnrollment.
140924
140934
  * @member {boolean} isChangeEnrollment
@@ -140927,6 +140937,14 @@ $root.ElfRecordPresent = (function() {
140927
140937
  */
140928
140938
  ElfRecordPresent.prototype.isChangeEnrollment = false;
140929
140939
 
140940
+ /**
140941
+ * ElfRecordPresent hierarchyMappingValue.
140942
+ * @member {string} hierarchyMappingValue
140943
+ * @memberof ElfRecordPresent
140944
+ * @instance
140945
+ */
140946
+ ElfRecordPresent.prototype.hierarchyMappingValue = "";
140947
+
140930
140948
  /**
140931
140949
  * Creates a new ElfRecordPresent instance using the specified properties.
140932
140950
  * @function create
@@ -141017,8 +141035,12 @@ $root.ElfRecordPresent = (function() {
141017
141035
  writer.uint32(/* id 30, wireType 2 =*/242).string(message.dependentOf);
141018
141036
  if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141019
141037
  writer.uint32(/* id 31, wireType 2 =*/250).string(message.collectiveUuid);
141038
+ if (message.previousCollectiveUuid != null && message.hasOwnProperty("previousCollectiveUuid"))
141039
+ writer.uint32(/* id 32, wireType 2 =*/258).string(message.previousCollectiveUuid);
141020
141040
  if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
141021
- writer.uint32(/* id 32, wireType 0 =*/256).bool(message.isChangeEnrollment);
141041
+ writer.uint32(/* id 33, wireType 0 =*/264).bool(message.isChangeEnrollment);
141042
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
141043
+ writer.uint32(/* id 34, wireType 2 =*/274).string(message.hierarchyMappingValue);
141022
141044
  return writer;
141023
141045
  };
141024
141046
 
@@ -141154,8 +141176,14 @@ $root.ElfRecordPresent = (function() {
141154
141176
  message.collectiveUuid = reader.string();
141155
141177
  break;
141156
141178
  case 32:
141179
+ message.previousCollectiveUuid = reader.string();
141180
+ break;
141181
+ case 33:
141157
141182
  message.isChangeEnrollment = reader.bool();
141158
141183
  break;
141184
+ case 34:
141185
+ message.hierarchyMappingValue = reader.string();
141186
+ break;
141159
141187
  default:
141160
141188
  reader.skipType(tag & 7);
141161
141189
  break;
@@ -141299,9 +141327,15 @@ $root.ElfRecordPresent = (function() {
141299
141327
  if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141300
141328
  if (!$util.isString(message.collectiveUuid))
141301
141329
  return "collectiveUuid: string expected";
141330
+ if (message.previousCollectiveUuid != null && message.hasOwnProperty("previousCollectiveUuid"))
141331
+ if (!$util.isString(message.previousCollectiveUuid))
141332
+ return "previousCollectiveUuid: string expected";
141302
141333
  if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
141303
141334
  if (typeof message.isChangeEnrollment !== "boolean")
141304
141335
  return "isChangeEnrollment: boolean expected";
141336
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
141337
+ if (!$util.isString(message.hierarchyMappingValue))
141338
+ return "hierarchyMappingValue: string expected";
141305
141339
  return null;
141306
141340
  };
141307
141341
 
@@ -141413,8 +141447,12 @@ $root.ElfRecordPresent = (function() {
141413
141447
  message.unifiedEligibilityEnabled = Boolean(object.unifiedEligibilityEnabled);
141414
141448
  if (object.collectiveUuid != null)
141415
141449
  message.collectiveUuid = String(object.collectiveUuid);
141450
+ if (object.previousCollectiveUuid != null)
141451
+ message.previousCollectiveUuid = String(object.previousCollectiveUuid);
141416
141452
  if (object.isChangeEnrollment != null)
141417
141453
  message.isChangeEnrollment = Boolean(object.isChangeEnrollment);
141454
+ if (object.hierarchyMappingValue != null)
141455
+ message.hierarchyMappingValue = String(object.hierarchyMappingValue);
141418
141456
  return message;
141419
141457
  };
141420
141458
 
@@ -141468,7 +141506,9 @@ $root.ElfRecordPresent = (function() {
141468
141506
  object.countryStateCode = "";
141469
141507
  object.dependentOf = "";
141470
141508
  object.collectiveUuid = "";
141509
+ object.previousCollectiveUuid = "";
141471
141510
  object.isChangeEnrollment = false;
141511
+ object.hierarchyMappingValue = "";
141472
141512
  }
141473
141513
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
141474
141514
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -141538,8 +141578,12 @@ $root.ElfRecordPresent = (function() {
141538
141578
  object.dependentOf = message.dependentOf;
141539
141579
  if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141540
141580
  object.collectiveUuid = message.collectiveUuid;
141581
+ if (message.previousCollectiveUuid != null && message.hasOwnProperty("previousCollectiveUuid"))
141582
+ object.previousCollectiveUuid = message.previousCollectiveUuid;
141541
141583
  if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
141542
141584
  object.isChangeEnrollment = message.isChangeEnrollment;
141585
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
141586
+ object.hierarchyMappingValue = message.hierarchyMappingValue;
141543
141587
  return object;
141544
141588
  };
141545
141589
 
@@ -141578,7 +141622,9 @@ $root.ElfRecordAbsent = (function() {
141578
141622
  * @property {string|null} [rootOrgId] ElfRecordAbsent rootOrgId
141579
141623
  * @property {boolean|null} [isMemberMigrated] ElfRecordAbsent isMemberMigrated
141580
141624
  * @property {string|null} [collectiveUuid] ElfRecordAbsent collectiveUuid
141625
+ * @property {string|null} [previousCollectiveUuid] ElfRecordAbsent previousCollectiveUuid
141581
141626
  * @property {boolean|null} [isChangeEnrollment] ElfRecordAbsent isChangeEnrollment
141627
+ * @property {string|null} [hierarchyMappingValue] ElfRecordAbsent hierarchyMappingValue
141582
141628
  */
141583
141629
 
141584
141630
  /**
@@ -141716,6 +141762,14 @@ $root.ElfRecordAbsent = (function() {
141716
141762
  */
141717
141763
  ElfRecordAbsent.prototype.collectiveUuid = "";
141718
141764
 
141765
+ /**
141766
+ * ElfRecordAbsent previousCollectiveUuid.
141767
+ * @member {string} previousCollectiveUuid
141768
+ * @memberof ElfRecordAbsent
141769
+ * @instance
141770
+ */
141771
+ ElfRecordAbsent.prototype.previousCollectiveUuid = "";
141772
+
141719
141773
  /**
141720
141774
  * ElfRecordAbsent isChangeEnrollment.
141721
141775
  * @member {boolean} isChangeEnrollment
@@ -141724,6 +141778,14 @@ $root.ElfRecordAbsent = (function() {
141724
141778
  */
141725
141779
  ElfRecordAbsent.prototype.isChangeEnrollment = false;
141726
141780
 
141781
+ /**
141782
+ * ElfRecordAbsent hierarchyMappingValue.
141783
+ * @member {string} hierarchyMappingValue
141784
+ * @memberof ElfRecordAbsent
141785
+ * @instance
141786
+ */
141787
+ ElfRecordAbsent.prototype.hierarchyMappingValue = "";
141788
+
141727
141789
  /**
141728
141790
  * Creates a new ElfRecordAbsent instance using the specified properties.
141729
141791
  * @function create
@@ -141778,8 +141840,12 @@ $root.ElfRecordAbsent = (function() {
141778
141840
  writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isMemberMigrated);
141779
141841
  if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141780
141842
  writer.uint32(/* id 16, wireType 2 =*/130).string(message.collectiveUuid);
141843
+ if (message.previousCollectiveUuid != null && message.hasOwnProperty("previousCollectiveUuid"))
141844
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.previousCollectiveUuid);
141781
141845
  if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
141782
- writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isChangeEnrollment);
141846
+ writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isChangeEnrollment);
141847
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
141848
+ writer.uint32(/* id 19, wireType 2 =*/154).string(message.hierarchyMappingValue);
141783
141849
  return writer;
141784
141850
  };
141785
141851
 
@@ -141860,8 +141926,14 @@ $root.ElfRecordAbsent = (function() {
141860
141926
  message.collectiveUuid = reader.string();
141861
141927
  break;
141862
141928
  case 17:
141929
+ message.previousCollectiveUuid = reader.string();
141930
+ break;
141931
+ case 18:
141863
141932
  message.isChangeEnrollment = reader.bool();
141864
141933
  break;
141934
+ case 19:
141935
+ message.hierarchyMappingValue = reader.string();
141936
+ break;
141865
141937
  default:
141866
141938
  reader.skipType(tag & 7);
141867
141939
  break;
@@ -141947,9 +142019,15 @@ $root.ElfRecordAbsent = (function() {
141947
142019
  if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
141948
142020
  if (!$util.isString(message.collectiveUuid))
141949
142021
  return "collectiveUuid: string expected";
142022
+ if (message.previousCollectiveUuid != null && message.hasOwnProperty("previousCollectiveUuid"))
142023
+ if (!$util.isString(message.previousCollectiveUuid))
142024
+ return "previousCollectiveUuid: string expected";
141950
142025
  if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
141951
142026
  if (typeof message.isChangeEnrollment !== "boolean")
141952
142027
  return "isChangeEnrollment: boolean expected";
142028
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
142029
+ if (!$util.isString(message.hierarchyMappingValue))
142030
+ return "hierarchyMappingValue: string expected";
141953
142031
  return null;
141954
142032
  };
141955
142033
 
@@ -142010,8 +142088,12 @@ $root.ElfRecordAbsent = (function() {
142010
142088
  message.isMemberMigrated = Boolean(object.isMemberMigrated);
142011
142089
  if (object.collectiveUuid != null)
142012
142090
  message.collectiveUuid = String(object.collectiveUuid);
142091
+ if (object.previousCollectiveUuid != null)
142092
+ message.previousCollectiveUuid = String(object.previousCollectiveUuid);
142013
142093
  if (object.isChangeEnrollment != null)
142014
142094
  message.isChangeEnrollment = Boolean(object.isChangeEnrollment);
142095
+ if (object.hierarchyMappingValue != null)
142096
+ message.hierarchyMappingValue = String(object.hierarchyMappingValue);
142015
142097
  return message;
142016
142098
  };
142017
142099
 
@@ -142048,7 +142130,9 @@ $root.ElfRecordAbsent = (function() {
142048
142130
  object.rootOrgId = "";
142049
142131
  object.isMemberMigrated = false;
142050
142132
  object.collectiveUuid = "";
142133
+ object.previousCollectiveUuid = "";
142051
142134
  object.isChangeEnrollment = false;
142135
+ object.hierarchyMappingValue = "";
142052
142136
  }
142053
142137
  if (message.headspaceHealthOrgId != null && message.hasOwnProperty("headspaceHealthOrgId"))
142054
142138
  object.headspaceHealthOrgId = message.headspaceHealthOrgId;
@@ -142083,8 +142167,12 @@ $root.ElfRecordAbsent = (function() {
142083
142167
  object.isMemberMigrated = message.isMemberMigrated;
142084
142168
  if (message.collectiveUuid != null && message.hasOwnProperty("collectiveUuid"))
142085
142169
  object.collectiveUuid = message.collectiveUuid;
142170
+ if (message.previousCollectiveUuid != null && message.hasOwnProperty("previousCollectiveUuid"))
142171
+ object.previousCollectiveUuid = message.previousCollectiveUuid;
142086
142172
  if (message.isChangeEnrollment != null && message.hasOwnProperty("isChangeEnrollment"))
142087
142173
  object.isChangeEnrollment = message.isChangeEnrollment;
142174
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
142175
+ object.hierarchyMappingValue = message.hierarchyMappingValue;
142088
142176
  return object;
142089
142177
  };
142090
142178
 
@@ -143740,26 +143828,26 @@ $root.EligibilityRecordUpdated = (function() {
143740
143828
  return EligibilityRecordUpdated;
143741
143829
  })();
143742
143830
 
143743
- $root.EligibilityRecordDeleted = (function() {
143831
+ $root.EligibilityRecordRemoved = (function() {
143744
143832
 
143745
143833
  /**
143746
- * Properties of an EligibilityRecordDeleted.
143747
- * @name IEligibilityRecordDeleted
143748
- * @interface IEligibilityRecordDeleted
143749
- * @property {number|Long|null} [timestamp] EligibilityRecordDeleted timestamp
143750
- * @property {string|null} [collectiveUuid] EligibilityRecordDeleted collectiveUuid
143751
- * @property {string|null} [uuid] EligibilityRecordDeleted uuid
143834
+ * Properties of an EligibilityRecordRemoved.
143835
+ * @name IEligibilityRecordRemoved
143836
+ * @interface IEligibilityRecordRemoved
143837
+ * @property {number|Long|null} [timestamp] EligibilityRecordRemoved timestamp
143838
+ * @property {string|null} [collectiveUuid] EligibilityRecordRemoved collectiveUuid
143839
+ * @property {string|null} [uuid] EligibilityRecordRemoved uuid
143752
143840
  */
143753
143841
 
143754
143842
  /**
143755
- * Constructs a new EligibilityRecordDeleted.
143756
- * @name EligibilityRecordDeleted
143757
- * @classdesc Represents an EligibilityRecordDeleted.
143758
- * @implements IEligibilityRecordDeleted
143843
+ * Constructs a new EligibilityRecordRemoved.
143844
+ * @name EligibilityRecordRemoved
143845
+ * @classdesc Represents an EligibilityRecordRemoved.
143846
+ * @implements IEligibilityRecordRemoved
143759
143847
  * @constructor
143760
- * @param {IEligibilityRecordDeleted=} [properties] Properties to set
143848
+ * @param {IEligibilityRecordRemoved=} [properties] Properties to set
143761
143849
  */
143762
- function EligibilityRecordDeleted(properties) {
143850
+ function EligibilityRecordRemoved(properties) {
143763
143851
  if (properties)
143764
143852
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
143765
143853
  if (properties[keys[i]] != null)
@@ -143767,51 +143855,51 @@ $root.EligibilityRecordDeleted = (function() {
143767
143855
  }
143768
143856
 
143769
143857
  /**
143770
- * EligibilityRecordDeleted timestamp.
143858
+ * EligibilityRecordRemoved timestamp.
143771
143859
  * @member {number|Long} timestamp
143772
- * @memberof EligibilityRecordDeleted
143860
+ * @memberof EligibilityRecordRemoved
143773
143861
  * @instance
143774
143862
  */
143775
- EligibilityRecordDeleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
143863
+ EligibilityRecordRemoved.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
143776
143864
 
143777
143865
  /**
143778
- * EligibilityRecordDeleted collectiveUuid.
143866
+ * EligibilityRecordRemoved collectiveUuid.
143779
143867
  * @member {string} collectiveUuid
143780
- * @memberof EligibilityRecordDeleted
143868
+ * @memberof EligibilityRecordRemoved
143781
143869
  * @instance
143782
143870
  */
143783
- EligibilityRecordDeleted.prototype.collectiveUuid = "";
143871
+ EligibilityRecordRemoved.prototype.collectiveUuid = "";
143784
143872
 
143785
143873
  /**
143786
- * EligibilityRecordDeleted uuid.
143874
+ * EligibilityRecordRemoved uuid.
143787
143875
  * @member {string} uuid
143788
- * @memberof EligibilityRecordDeleted
143876
+ * @memberof EligibilityRecordRemoved
143789
143877
  * @instance
143790
143878
  */
143791
- EligibilityRecordDeleted.prototype.uuid = "";
143879
+ EligibilityRecordRemoved.prototype.uuid = "";
143792
143880
 
143793
143881
  /**
143794
- * Creates a new EligibilityRecordDeleted instance using the specified properties.
143882
+ * Creates a new EligibilityRecordRemoved instance using the specified properties.
143795
143883
  * @function create
143796
- * @memberof EligibilityRecordDeleted
143884
+ * @memberof EligibilityRecordRemoved
143797
143885
  * @static
143798
- * @param {IEligibilityRecordDeleted=} [properties] Properties to set
143799
- * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted instance
143886
+ * @param {IEligibilityRecordRemoved=} [properties] Properties to set
143887
+ * @returns {EligibilityRecordRemoved} EligibilityRecordRemoved instance
143800
143888
  */
143801
- EligibilityRecordDeleted.create = function create(properties) {
143802
- return new EligibilityRecordDeleted(properties);
143889
+ EligibilityRecordRemoved.create = function create(properties) {
143890
+ return new EligibilityRecordRemoved(properties);
143803
143891
  };
143804
143892
 
143805
143893
  /**
143806
- * Encodes the specified EligibilityRecordDeleted message. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
143894
+ * Encodes the specified EligibilityRecordRemoved message. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
143807
143895
  * @function encode
143808
- * @memberof EligibilityRecordDeleted
143896
+ * @memberof EligibilityRecordRemoved
143809
143897
  * @static
143810
- * @param {IEligibilityRecordDeleted} message EligibilityRecordDeleted message or plain object to encode
143898
+ * @param {IEligibilityRecordRemoved} message EligibilityRecordRemoved message or plain object to encode
143811
143899
  * @param {$protobuf.Writer} [writer] Writer to encode to
143812
143900
  * @returns {$protobuf.Writer} Writer
143813
143901
  */
143814
- EligibilityRecordDeleted.encode = function encode(message, writer) {
143902
+ EligibilityRecordRemoved.encode = function encode(message, writer) {
143815
143903
  if (!writer)
143816
143904
  writer = $Writer.create();
143817
143905
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
@@ -143824,33 +143912,33 @@ $root.EligibilityRecordDeleted = (function() {
143824
143912
  };
143825
143913
 
143826
143914
  /**
143827
- * Encodes the specified EligibilityRecordDeleted message, length delimited. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
143915
+ * Encodes the specified EligibilityRecordRemoved message, length delimited. Does not implicitly {@link EligibilityRecordRemoved.verify|verify} messages.
143828
143916
  * @function encodeDelimited
143829
- * @memberof EligibilityRecordDeleted
143917
+ * @memberof EligibilityRecordRemoved
143830
143918
  * @static
143831
- * @param {IEligibilityRecordDeleted} message EligibilityRecordDeleted message or plain object to encode
143919
+ * @param {IEligibilityRecordRemoved} message EligibilityRecordRemoved message or plain object to encode
143832
143920
  * @param {$protobuf.Writer} [writer] Writer to encode to
143833
143921
  * @returns {$protobuf.Writer} Writer
143834
143922
  */
143835
- EligibilityRecordDeleted.encodeDelimited = function encodeDelimited(message, writer) {
143923
+ EligibilityRecordRemoved.encodeDelimited = function encodeDelimited(message, writer) {
143836
143924
  return this.encode(message, writer).ldelim();
143837
143925
  };
143838
143926
 
143839
143927
  /**
143840
- * Decodes an EligibilityRecordDeleted message from the specified reader or buffer.
143928
+ * Decodes an EligibilityRecordRemoved message from the specified reader or buffer.
143841
143929
  * @function decode
143842
- * @memberof EligibilityRecordDeleted
143930
+ * @memberof EligibilityRecordRemoved
143843
143931
  * @static
143844
143932
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
143845
143933
  * @param {number} [length] Message length if known beforehand
143846
- * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
143934
+ * @returns {EligibilityRecordRemoved} EligibilityRecordRemoved
143847
143935
  * @throws {Error} If the payload is not a reader or valid buffer
143848
143936
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
143849
143937
  */
143850
- EligibilityRecordDeleted.decode = function decode(reader, length) {
143938
+ EligibilityRecordRemoved.decode = function decode(reader, length) {
143851
143939
  if (!(reader instanceof $Reader))
143852
143940
  reader = $Reader.create(reader);
143853
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordDeleted();
143941
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordRemoved();
143854
143942
  while (reader.pos < end) {
143855
143943
  var tag = reader.uint32();
143856
143944
  switch (tag >>> 3) {
@@ -143872,30 +143960,30 @@ $root.EligibilityRecordDeleted = (function() {
143872
143960
  };
143873
143961
 
143874
143962
  /**
143875
- * Decodes an EligibilityRecordDeleted message from the specified reader or buffer, length delimited.
143963
+ * Decodes an EligibilityRecordRemoved message from the specified reader or buffer, length delimited.
143876
143964
  * @function decodeDelimited
143877
- * @memberof EligibilityRecordDeleted
143965
+ * @memberof EligibilityRecordRemoved
143878
143966
  * @static
143879
143967
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
143880
- * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
143968
+ * @returns {EligibilityRecordRemoved} EligibilityRecordRemoved
143881
143969
  * @throws {Error} If the payload is not a reader or valid buffer
143882
143970
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
143883
143971
  */
143884
- EligibilityRecordDeleted.decodeDelimited = function decodeDelimited(reader) {
143972
+ EligibilityRecordRemoved.decodeDelimited = function decodeDelimited(reader) {
143885
143973
  if (!(reader instanceof $Reader))
143886
143974
  reader = new $Reader(reader);
143887
143975
  return this.decode(reader, reader.uint32());
143888
143976
  };
143889
143977
 
143890
143978
  /**
143891
- * Verifies an EligibilityRecordDeleted message.
143979
+ * Verifies an EligibilityRecordRemoved message.
143892
143980
  * @function verify
143893
- * @memberof EligibilityRecordDeleted
143981
+ * @memberof EligibilityRecordRemoved
143894
143982
  * @static
143895
143983
  * @param {Object.<string,*>} message Plain object to verify
143896
143984
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
143897
143985
  */
143898
- EligibilityRecordDeleted.verify = function verify(message) {
143986
+ EligibilityRecordRemoved.verify = function verify(message) {
143899
143987
  if (typeof message !== "object" || message === null)
143900
143988
  return "object expected";
143901
143989
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
@@ -143911,17 +143999,17 @@ $root.EligibilityRecordDeleted = (function() {
143911
143999
  };
143912
144000
 
143913
144001
  /**
143914
- * Creates an EligibilityRecordDeleted message from a plain object. Also converts values to their respective internal types.
144002
+ * Creates an EligibilityRecordRemoved message from a plain object. Also converts values to their respective internal types.
143915
144003
  * @function fromObject
143916
- * @memberof EligibilityRecordDeleted
144004
+ * @memberof EligibilityRecordRemoved
143917
144005
  * @static
143918
144006
  * @param {Object.<string,*>} object Plain object
143919
- * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
144007
+ * @returns {EligibilityRecordRemoved} EligibilityRecordRemoved
143920
144008
  */
143921
- EligibilityRecordDeleted.fromObject = function fromObject(object) {
143922
- if (object instanceof $root.EligibilityRecordDeleted)
144009
+ EligibilityRecordRemoved.fromObject = function fromObject(object) {
144010
+ if (object instanceof $root.EligibilityRecordRemoved)
143923
144011
  return object;
143924
- var message = new $root.EligibilityRecordDeleted();
144012
+ var message = new $root.EligibilityRecordRemoved();
143925
144013
  if (object.timestamp != null)
143926
144014
  if ($util.Long)
143927
144015
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -143939,15 +144027,15 @@ $root.EligibilityRecordDeleted = (function() {
143939
144027
  };
143940
144028
 
143941
144029
  /**
143942
- * Creates a plain object from an EligibilityRecordDeleted message. Also converts values to other types if specified.
144030
+ * Creates a plain object from an EligibilityRecordRemoved message. Also converts values to other types if specified.
143943
144031
  * @function toObject
143944
- * @memberof EligibilityRecordDeleted
144032
+ * @memberof EligibilityRecordRemoved
143945
144033
  * @static
143946
- * @param {EligibilityRecordDeleted} message EligibilityRecordDeleted
144034
+ * @param {EligibilityRecordRemoved} message EligibilityRecordRemoved
143947
144035
  * @param {$protobuf.IConversionOptions} [options] Conversion options
143948
144036
  * @returns {Object.<string,*>} Plain object
143949
144037
  */
143950
- EligibilityRecordDeleted.toObject = function toObject(message, options) {
144038
+ EligibilityRecordRemoved.toObject = function toObject(message, options) {
143951
144039
  if (!options)
143952
144040
  options = {};
143953
144041
  var object = {};
@@ -143973,17 +144061,17 @@ $root.EligibilityRecordDeleted = (function() {
143973
144061
  };
143974
144062
 
143975
144063
  /**
143976
- * Converts this EligibilityRecordDeleted to JSON.
144064
+ * Converts this EligibilityRecordRemoved to JSON.
143977
144065
  * @function toJSON
143978
- * @memberof EligibilityRecordDeleted
144066
+ * @memberof EligibilityRecordRemoved
143979
144067
  * @instance
143980
144068
  * @returns {Object.<string,*>} JSON object
143981
144069
  */
143982
- EligibilityRecordDeleted.prototype.toJSON = function toJSON() {
144070
+ EligibilityRecordRemoved.prototype.toJSON = function toJSON() {
143983
144071
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
143984
144072
  };
143985
144073
 
143986
- return EligibilityRecordDeleted;
144074
+ return EligibilityRecordRemoved;
143987
144075
  })();
143988
144076
 
143989
144077
  $root.EnterpriseUserOnboarded = (function() {
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.621.0"
19
+ "version": "1.623.0"
20
20
  }