@headspace/protos-events 1.650.0 → 1.652.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -52909,121 +52909,121 @@ export enum EligibilityType {
52909
52909
  ELIGIBILITY_TYPE_D2C_CARE_UPSELL = 3
52910
52910
  }
52911
52911
 
52912
- /** Properties of a ChangedEnrollmentComparisonCompleted. */
52913
- export interface IChangedEnrollmentComparisonCompleted {
52912
+ /** Properties of an EligibilityCollectiveComparisonCompleted. */
52913
+ export interface IEligibilityCollectiveComparisonCompleted {
52914
52914
 
52915
- /** ChangedEnrollmentComparisonCompleted timestamp */
52915
+ /** EligibilityCollectiveComparisonCompleted timestamp */
52916
52916
  timestamp?: (number|Long|null);
52917
52917
 
52918
- /** ChangedEnrollmentComparisonCompleted existingCollectiveUuid */
52918
+ /** EligibilityCollectiveComparisonCompleted existingCollectiveUuid */
52919
52919
  existingCollectiveUuid?: (string|null);
52920
52920
 
52921
- /** ChangedEnrollmentComparisonCompleted pendingCollectiveUuid */
52921
+ /** EligibilityCollectiveComparisonCompleted pendingCollectiveUuid */
52922
52922
  pendingCollectiveUuid?: (string|null);
52923
52923
 
52924
- /** ChangedEnrollmentComparisonCompleted addedRecords */
52924
+ /** EligibilityCollectiveComparisonCompleted addedRecords */
52925
52925
  addedRecords?: (number|null);
52926
52926
 
52927
- /** ChangedEnrollmentComparisonCompleted removedRecords */
52927
+ /** EligibilityCollectiveComparisonCompleted removedRecords */
52928
52928
  removedRecords?: (number|null);
52929
52929
 
52930
- /** ChangedEnrollmentComparisonCompleted matchedRecords */
52930
+ /** EligibilityCollectiveComparisonCompleted matchedRecords */
52931
52931
  matchedRecords?: (number|null);
52932
52932
  }
52933
52933
 
52934
- /** Represents a ChangedEnrollmentComparisonCompleted. */
52935
- export class ChangedEnrollmentComparisonCompleted implements IChangedEnrollmentComparisonCompleted {
52934
+ /** Represents an EligibilityCollectiveComparisonCompleted. */
52935
+ export class EligibilityCollectiveComparisonCompleted implements IEligibilityCollectiveComparisonCompleted {
52936
52936
 
52937
52937
  /**
52938
- * Constructs a new ChangedEnrollmentComparisonCompleted.
52938
+ * Constructs a new EligibilityCollectiveComparisonCompleted.
52939
52939
  * @param [properties] Properties to set
52940
52940
  */
52941
- constructor(properties?: IChangedEnrollmentComparisonCompleted);
52941
+ constructor(properties?: IEligibilityCollectiveComparisonCompleted);
52942
52942
 
52943
- /** ChangedEnrollmentComparisonCompleted timestamp. */
52943
+ /** EligibilityCollectiveComparisonCompleted timestamp. */
52944
52944
  public timestamp: (number|Long);
52945
52945
 
52946
- /** ChangedEnrollmentComparisonCompleted existingCollectiveUuid. */
52946
+ /** EligibilityCollectiveComparisonCompleted existingCollectiveUuid. */
52947
52947
  public existingCollectiveUuid: string;
52948
52948
 
52949
- /** ChangedEnrollmentComparisonCompleted pendingCollectiveUuid. */
52949
+ /** EligibilityCollectiveComparisonCompleted pendingCollectiveUuid. */
52950
52950
  public pendingCollectiveUuid: string;
52951
52951
 
52952
- /** ChangedEnrollmentComparisonCompleted addedRecords. */
52952
+ /** EligibilityCollectiveComparisonCompleted addedRecords. */
52953
52953
  public addedRecords: number;
52954
52954
 
52955
- /** ChangedEnrollmentComparisonCompleted removedRecords. */
52955
+ /** EligibilityCollectiveComparisonCompleted removedRecords. */
52956
52956
  public removedRecords: number;
52957
52957
 
52958
- /** ChangedEnrollmentComparisonCompleted matchedRecords. */
52958
+ /** EligibilityCollectiveComparisonCompleted matchedRecords. */
52959
52959
  public matchedRecords: number;
52960
52960
 
52961
52961
  /**
52962
- * Creates a new ChangedEnrollmentComparisonCompleted instance using the specified properties.
52962
+ * Creates a new EligibilityCollectiveComparisonCompleted instance using the specified properties.
52963
52963
  * @param [properties] Properties to set
52964
- * @returns ChangedEnrollmentComparisonCompleted instance
52964
+ * @returns EligibilityCollectiveComparisonCompleted instance
52965
52965
  */
52966
- public static create(properties?: IChangedEnrollmentComparisonCompleted): ChangedEnrollmentComparisonCompleted;
52966
+ public static create(properties?: IEligibilityCollectiveComparisonCompleted): EligibilityCollectiveComparisonCompleted;
52967
52967
 
52968
52968
  /**
52969
- * Encodes the specified ChangedEnrollmentComparisonCompleted message. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
52970
- * @param message ChangedEnrollmentComparisonCompleted message or plain object to encode
52969
+ * Encodes the specified EligibilityCollectiveComparisonCompleted message. Does not implicitly {@link EligibilityCollectiveComparisonCompleted.verify|verify} messages.
52970
+ * @param message EligibilityCollectiveComparisonCompleted message or plain object to encode
52971
52971
  * @param [writer] Writer to encode to
52972
52972
  * @returns Writer
52973
52973
  */
52974
- public static encode(message: IChangedEnrollmentComparisonCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
52974
+ public static encode(message: IEligibilityCollectiveComparisonCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
52975
52975
 
52976
52976
  /**
52977
- * Encodes the specified ChangedEnrollmentComparisonCompleted message, length delimited. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
52978
- * @param message ChangedEnrollmentComparisonCompleted message or plain object to encode
52977
+ * Encodes the specified EligibilityCollectiveComparisonCompleted message, length delimited. Does not implicitly {@link EligibilityCollectiveComparisonCompleted.verify|verify} messages.
52978
+ * @param message EligibilityCollectiveComparisonCompleted message or plain object to encode
52979
52979
  * @param [writer] Writer to encode to
52980
52980
  * @returns Writer
52981
52981
  */
52982
- public static encodeDelimited(message: IChangedEnrollmentComparisonCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
52982
+ public static encodeDelimited(message: IEligibilityCollectiveComparisonCompleted, writer?: $protobuf.Writer): $protobuf.Writer;
52983
52983
 
52984
52984
  /**
52985
- * Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer.
52985
+ * Decodes an EligibilityCollectiveComparisonCompleted message from the specified reader or buffer.
52986
52986
  * @param reader Reader or buffer to decode from
52987
52987
  * @param [length] Message length if known beforehand
52988
- * @returns ChangedEnrollmentComparisonCompleted
52988
+ * @returns EligibilityCollectiveComparisonCompleted
52989
52989
  * @throws {Error} If the payload is not a reader or valid buffer
52990
52990
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
52991
52991
  */
52992
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ChangedEnrollmentComparisonCompleted;
52992
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityCollectiveComparisonCompleted;
52993
52993
 
52994
52994
  /**
52995
- * Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer, length delimited.
52995
+ * Decodes an EligibilityCollectiveComparisonCompleted message from the specified reader or buffer, length delimited.
52996
52996
  * @param reader Reader or buffer to decode from
52997
- * @returns ChangedEnrollmentComparisonCompleted
52997
+ * @returns EligibilityCollectiveComparisonCompleted
52998
52998
  * @throws {Error} If the payload is not a reader or valid buffer
52999
52999
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
53000
53000
  */
53001
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ChangedEnrollmentComparisonCompleted;
53001
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityCollectiveComparisonCompleted;
53002
53002
 
53003
53003
  /**
53004
- * Verifies a ChangedEnrollmentComparisonCompleted message.
53004
+ * Verifies an EligibilityCollectiveComparisonCompleted message.
53005
53005
  * @param message Plain object to verify
53006
53006
  * @returns `null` if valid, otherwise the reason why it is not
53007
53007
  */
53008
53008
  public static verify(message: { [k: string]: any }): (string|null);
53009
53009
 
53010
53010
  /**
53011
- * Creates a ChangedEnrollmentComparisonCompleted message from a plain object. Also converts values to their respective internal types.
53011
+ * Creates an EligibilityCollectiveComparisonCompleted message from a plain object. Also converts values to their respective internal types.
53012
53012
  * @param object Plain object
53013
- * @returns ChangedEnrollmentComparisonCompleted
53013
+ * @returns EligibilityCollectiveComparisonCompleted
53014
53014
  */
53015
- public static fromObject(object: { [k: string]: any }): ChangedEnrollmentComparisonCompleted;
53015
+ public static fromObject(object: { [k: string]: any }): EligibilityCollectiveComparisonCompleted;
53016
53016
 
53017
53017
  /**
53018
- * Creates a plain object from a ChangedEnrollmentComparisonCompleted message. Also converts values to other types if specified.
53019
- * @param message ChangedEnrollmentComparisonCompleted
53018
+ * Creates a plain object from an EligibilityCollectiveComparisonCompleted message. Also converts values to other types if specified.
53019
+ * @param message EligibilityCollectiveComparisonCompleted
53020
53020
  * @param [options] Conversion options
53021
53021
  * @returns Plain object
53022
53022
  */
53023
- public static toObject(message: ChangedEnrollmentComparisonCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
53023
+ public static toObject(message: EligibilityCollectiveComparisonCompleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
53024
53024
 
53025
53025
  /**
53026
- * Converts this ChangedEnrollmentComparisonCompleted to JSON.
53026
+ * Converts this EligibilityCollectiveComparisonCompleted to JSON.
53027
53027
  * @returns JSON object
53028
53028
  */
53029
53029
  public toJSON(): { [k: string]: any };
@@ -53262,6 +53262,9 @@ export interface IGympassProperties {
53262
53262
 
53263
53263
  /** GympassProperties countryCode */
53264
53264
  countryCode?: (string|null);
53265
+
53266
+ /** GympassProperties planId */
53267
+ planId?: (number|null);
53265
53268
  }
53266
53269
 
53267
53270
  /** Represents a GympassProperties. */
@@ -53276,6 +53279,9 @@ export class GympassProperties implements IGympassProperties {
53276
53279
  /** GympassProperties countryCode. */
53277
53280
  public countryCode: string;
53278
53281
 
53282
+ /** GympassProperties planId. */
53283
+ public planId: number;
53284
+
53279
53285
  /**
53280
53286
  * Creates a new GympassProperties instance using the specified properties.
53281
53287
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -146491,29 +146491,29 @@ $root.EligibilityType = (function() {
146491
146491
  return values;
146492
146492
  })();
146493
146493
 
146494
- $root.ChangedEnrollmentComparisonCompleted = (function() {
146494
+ $root.EligibilityCollectiveComparisonCompleted = (function() {
146495
146495
 
146496
146496
  /**
146497
- * Properties of a ChangedEnrollmentComparisonCompleted.
146498
- * @name IChangedEnrollmentComparisonCompleted
146499
- * @interface IChangedEnrollmentComparisonCompleted
146500
- * @property {number|Long|null} [timestamp] ChangedEnrollmentComparisonCompleted timestamp
146501
- * @property {string|null} [existingCollectiveUuid] ChangedEnrollmentComparisonCompleted existingCollectiveUuid
146502
- * @property {string|null} [pendingCollectiveUuid] ChangedEnrollmentComparisonCompleted pendingCollectiveUuid
146503
- * @property {number|null} [addedRecords] ChangedEnrollmentComparisonCompleted addedRecords
146504
- * @property {number|null} [removedRecords] ChangedEnrollmentComparisonCompleted removedRecords
146505
- * @property {number|null} [matchedRecords] ChangedEnrollmentComparisonCompleted matchedRecords
146497
+ * Properties of an EligibilityCollectiveComparisonCompleted.
146498
+ * @name IEligibilityCollectiveComparisonCompleted
146499
+ * @interface IEligibilityCollectiveComparisonCompleted
146500
+ * @property {number|Long|null} [timestamp] EligibilityCollectiveComparisonCompleted timestamp
146501
+ * @property {string|null} [existingCollectiveUuid] EligibilityCollectiveComparisonCompleted existingCollectiveUuid
146502
+ * @property {string|null} [pendingCollectiveUuid] EligibilityCollectiveComparisonCompleted pendingCollectiveUuid
146503
+ * @property {number|null} [addedRecords] EligibilityCollectiveComparisonCompleted addedRecords
146504
+ * @property {number|null} [removedRecords] EligibilityCollectiveComparisonCompleted removedRecords
146505
+ * @property {number|null} [matchedRecords] EligibilityCollectiveComparisonCompleted matchedRecords
146506
146506
  */
146507
146507
 
146508
146508
  /**
146509
- * Constructs a new ChangedEnrollmentComparisonCompleted.
146510
- * @name ChangedEnrollmentComparisonCompleted
146511
- * @classdesc Represents a ChangedEnrollmentComparisonCompleted.
146512
- * @implements IChangedEnrollmentComparisonCompleted
146509
+ * Constructs a new EligibilityCollectiveComparisonCompleted.
146510
+ * @name EligibilityCollectiveComparisonCompleted
146511
+ * @classdesc Represents an EligibilityCollectiveComparisonCompleted.
146512
+ * @implements IEligibilityCollectiveComparisonCompleted
146513
146513
  * @constructor
146514
- * @param {IChangedEnrollmentComparisonCompleted=} [properties] Properties to set
146514
+ * @param {IEligibilityCollectiveComparisonCompleted=} [properties] Properties to set
146515
146515
  */
146516
- function ChangedEnrollmentComparisonCompleted(properties) {
146516
+ function EligibilityCollectiveComparisonCompleted(properties) {
146517
146517
  if (properties)
146518
146518
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
146519
146519
  if (properties[keys[i]] != null)
@@ -146521,75 +146521,75 @@ $root.ChangedEnrollmentComparisonCompleted = (function() {
146521
146521
  }
146522
146522
 
146523
146523
  /**
146524
- * ChangedEnrollmentComparisonCompleted timestamp.
146524
+ * EligibilityCollectiveComparisonCompleted timestamp.
146525
146525
  * @member {number|Long} timestamp
146526
- * @memberof ChangedEnrollmentComparisonCompleted
146526
+ * @memberof EligibilityCollectiveComparisonCompleted
146527
146527
  * @instance
146528
146528
  */
146529
- ChangedEnrollmentComparisonCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
146529
+ EligibilityCollectiveComparisonCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
146530
146530
 
146531
146531
  /**
146532
- * ChangedEnrollmentComparisonCompleted existingCollectiveUuid.
146532
+ * EligibilityCollectiveComparisonCompleted existingCollectiveUuid.
146533
146533
  * @member {string} existingCollectiveUuid
146534
- * @memberof ChangedEnrollmentComparisonCompleted
146534
+ * @memberof EligibilityCollectiveComparisonCompleted
146535
146535
  * @instance
146536
146536
  */
146537
- ChangedEnrollmentComparisonCompleted.prototype.existingCollectiveUuid = "";
146537
+ EligibilityCollectiveComparisonCompleted.prototype.existingCollectiveUuid = "";
146538
146538
 
146539
146539
  /**
146540
- * ChangedEnrollmentComparisonCompleted pendingCollectiveUuid.
146540
+ * EligibilityCollectiveComparisonCompleted pendingCollectiveUuid.
146541
146541
  * @member {string} pendingCollectiveUuid
146542
- * @memberof ChangedEnrollmentComparisonCompleted
146542
+ * @memberof EligibilityCollectiveComparisonCompleted
146543
146543
  * @instance
146544
146544
  */
146545
- ChangedEnrollmentComparisonCompleted.prototype.pendingCollectiveUuid = "";
146545
+ EligibilityCollectiveComparisonCompleted.prototype.pendingCollectiveUuid = "";
146546
146546
 
146547
146547
  /**
146548
- * ChangedEnrollmentComparisonCompleted addedRecords.
146548
+ * EligibilityCollectiveComparisonCompleted addedRecords.
146549
146549
  * @member {number} addedRecords
146550
- * @memberof ChangedEnrollmentComparisonCompleted
146550
+ * @memberof EligibilityCollectiveComparisonCompleted
146551
146551
  * @instance
146552
146552
  */
146553
- ChangedEnrollmentComparisonCompleted.prototype.addedRecords = 0;
146553
+ EligibilityCollectiveComparisonCompleted.prototype.addedRecords = 0;
146554
146554
 
146555
146555
  /**
146556
- * ChangedEnrollmentComparisonCompleted removedRecords.
146556
+ * EligibilityCollectiveComparisonCompleted removedRecords.
146557
146557
  * @member {number} removedRecords
146558
- * @memberof ChangedEnrollmentComparisonCompleted
146558
+ * @memberof EligibilityCollectiveComparisonCompleted
146559
146559
  * @instance
146560
146560
  */
146561
- ChangedEnrollmentComparisonCompleted.prototype.removedRecords = 0;
146561
+ EligibilityCollectiveComparisonCompleted.prototype.removedRecords = 0;
146562
146562
 
146563
146563
  /**
146564
- * ChangedEnrollmentComparisonCompleted matchedRecords.
146564
+ * EligibilityCollectiveComparisonCompleted matchedRecords.
146565
146565
  * @member {number} matchedRecords
146566
- * @memberof ChangedEnrollmentComparisonCompleted
146566
+ * @memberof EligibilityCollectiveComparisonCompleted
146567
146567
  * @instance
146568
146568
  */
146569
- ChangedEnrollmentComparisonCompleted.prototype.matchedRecords = 0;
146569
+ EligibilityCollectiveComparisonCompleted.prototype.matchedRecords = 0;
146570
146570
 
146571
146571
  /**
146572
- * Creates a new ChangedEnrollmentComparisonCompleted instance using the specified properties.
146572
+ * Creates a new EligibilityCollectiveComparisonCompleted instance using the specified properties.
146573
146573
  * @function create
146574
- * @memberof ChangedEnrollmentComparisonCompleted
146574
+ * @memberof EligibilityCollectiveComparisonCompleted
146575
146575
  * @static
146576
- * @param {IChangedEnrollmentComparisonCompleted=} [properties] Properties to set
146577
- * @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted instance
146576
+ * @param {IEligibilityCollectiveComparisonCompleted=} [properties] Properties to set
146577
+ * @returns {EligibilityCollectiveComparisonCompleted} EligibilityCollectiveComparisonCompleted instance
146578
146578
  */
146579
- ChangedEnrollmentComparisonCompleted.create = function create(properties) {
146580
- return new ChangedEnrollmentComparisonCompleted(properties);
146579
+ EligibilityCollectiveComparisonCompleted.create = function create(properties) {
146580
+ return new EligibilityCollectiveComparisonCompleted(properties);
146581
146581
  };
146582
146582
 
146583
146583
  /**
146584
- * Encodes the specified ChangedEnrollmentComparisonCompleted message. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
146584
+ * Encodes the specified EligibilityCollectiveComparisonCompleted message. Does not implicitly {@link EligibilityCollectiveComparisonCompleted.verify|verify} messages.
146585
146585
  * @function encode
146586
- * @memberof ChangedEnrollmentComparisonCompleted
146586
+ * @memberof EligibilityCollectiveComparisonCompleted
146587
146587
  * @static
146588
- * @param {IChangedEnrollmentComparisonCompleted} message ChangedEnrollmentComparisonCompleted message or plain object to encode
146588
+ * @param {IEligibilityCollectiveComparisonCompleted} message EligibilityCollectiveComparisonCompleted message or plain object to encode
146589
146589
  * @param {$protobuf.Writer} [writer] Writer to encode to
146590
146590
  * @returns {$protobuf.Writer} Writer
146591
146591
  */
146592
- ChangedEnrollmentComparisonCompleted.encode = function encode(message, writer) {
146592
+ EligibilityCollectiveComparisonCompleted.encode = function encode(message, writer) {
146593
146593
  if (!writer)
146594
146594
  writer = $Writer.create();
146595
146595
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
@@ -146608,33 +146608,33 @@ $root.ChangedEnrollmentComparisonCompleted = (function() {
146608
146608
  };
146609
146609
 
146610
146610
  /**
146611
- * Encodes the specified ChangedEnrollmentComparisonCompleted message, length delimited. Does not implicitly {@link ChangedEnrollmentComparisonCompleted.verify|verify} messages.
146611
+ * Encodes the specified EligibilityCollectiveComparisonCompleted message, length delimited. Does not implicitly {@link EligibilityCollectiveComparisonCompleted.verify|verify} messages.
146612
146612
  * @function encodeDelimited
146613
- * @memberof ChangedEnrollmentComparisonCompleted
146613
+ * @memberof EligibilityCollectiveComparisonCompleted
146614
146614
  * @static
146615
- * @param {IChangedEnrollmentComparisonCompleted} message ChangedEnrollmentComparisonCompleted message or plain object to encode
146615
+ * @param {IEligibilityCollectiveComparisonCompleted} message EligibilityCollectiveComparisonCompleted message or plain object to encode
146616
146616
  * @param {$protobuf.Writer} [writer] Writer to encode to
146617
146617
  * @returns {$protobuf.Writer} Writer
146618
146618
  */
146619
- ChangedEnrollmentComparisonCompleted.encodeDelimited = function encodeDelimited(message, writer) {
146619
+ EligibilityCollectiveComparisonCompleted.encodeDelimited = function encodeDelimited(message, writer) {
146620
146620
  return this.encode(message, writer).ldelim();
146621
146621
  };
146622
146622
 
146623
146623
  /**
146624
- * Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer.
146624
+ * Decodes an EligibilityCollectiveComparisonCompleted message from the specified reader or buffer.
146625
146625
  * @function decode
146626
- * @memberof ChangedEnrollmentComparisonCompleted
146626
+ * @memberof EligibilityCollectiveComparisonCompleted
146627
146627
  * @static
146628
146628
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
146629
146629
  * @param {number} [length] Message length if known beforehand
146630
- * @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted
146630
+ * @returns {EligibilityCollectiveComparisonCompleted} EligibilityCollectiveComparisonCompleted
146631
146631
  * @throws {Error} If the payload is not a reader or valid buffer
146632
146632
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
146633
146633
  */
146634
- ChangedEnrollmentComparisonCompleted.decode = function decode(reader, length) {
146634
+ EligibilityCollectiveComparisonCompleted.decode = function decode(reader, length) {
146635
146635
  if (!(reader instanceof $Reader))
146636
146636
  reader = $Reader.create(reader);
146637
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ChangedEnrollmentComparisonCompleted();
146637
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityCollectiveComparisonCompleted();
146638
146638
  while (reader.pos < end) {
146639
146639
  var tag = reader.uint32();
146640
146640
  switch (tag >>> 3) {
@@ -146665,30 +146665,30 @@ $root.ChangedEnrollmentComparisonCompleted = (function() {
146665
146665
  };
146666
146666
 
146667
146667
  /**
146668
- * Decodes a ChangedEnrollmentComparisonCompleted message from the specified reader or buffer, length delimited.
146668
+ * Decodes an EligibilityCollectiveComparisonCompleted message from the specified reader or buffer, length delimited.
146669
146669
  * @function decodeDelimited
146670
- * @memberof ChangedEnrollmentComparisonCompleted
146670
+ * @memberof EligibilityCollectiveComparisonCompleted
146671
146671
  * @static
146672
146672
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
146673
- * @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted
146673
+ * @returns {EligibilityCollectiveComparisonCompleted} EligibilityCollectiveComparisonCompleted
146674
146674
  * @throws {Error} If the payload is not a reader or valid buffer
146675
146675
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
146676
146676
  */
146677
- ChangedEnrollmentComparisonCompleted.decodeDelimited = function decodeDelimited(reader) {
146677
+ EligibilityCollectiveComparisonCompleted.decodeDelimited = function decodeDelimited(reader) {
146678
146678
  if (!(reader instanceof $Reader))
146679
146679
  reader = new $Reader(reader);
146680
146680
  return this.decode(reader, reader.uint32());
146681
146681
  };
146682
146682
 
146683
146683
  /**
146684
- * Verifies a ChangedEnrollmentComparisonCompleted message.
146684
+ * Verifies an EligibilityCollectiveComparisonCompleted message.
146685
146685
  * @function verify
146686
- * @memberof ChangedEnrollmentComparisonCompleted
146686
+ * @memberof EligibilityCollectiveComparisonCompleted
146687
146687
  * @static
146688
146688
  * @param {Object.<string,*>} message Plain object to verify
146689
146689
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
146690
146690
  */
146691
- ChangedEnrollmentComparisonCompleted.verify = function verify(message) {
146691
+ EligibilityCollectiveComparisonCompleted.verify = function verify(message) {
146692
146692
  if (typeof message !== "object" || message === null)
146693
146693
  return "object expected";
146694
146694
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
@@ -146713,17 +146713,17 @@ $root.ChangedEnrollmentComparisonCompleted = (function() {
146713
146713
  };
146714
146714
 
146715
146715
  /**
146716
- * Creates a ChangedEnrollmentComparisonCompleted message from a plain object. Also converts values to their respective internal types.
146716
+ * Creates an EligibilityCollectiveComparisonCompleted message from a plain object. Also converts values to their respective internal types.
146717
146717
  * @function fromObject
146718
- * @memberof ChangedEnrollmentComparisonCompleted
146718
+ * @memberof EligibilityCollectiveComparisonCompleted
146719
146719
  * @static
146720
146720
  * @param {Object.<string,*>} object Plain object
146721
- * @returns {ChangedEnrollmentComparisonCompleted} ChangedEnrollmentComparisonCompleted
146721
+ * @returns {EligibilityCollectiveComparisonCompleted} EligibilityCollectiveComparisonCompleted
146722
146722
  */
146723
- ChangedEnrollmentComparisonCompleted.fromObject = function fromObject(object) {
146724
- if (object instanceof $root.ChangedEnrollmentComparisonCompleted)
146723
+ EligibilityCollectiveComparisonCompleted.fromObject = function fromObject(object) {
146724
+ if (object instanceof $root.EligibilityCollectiveComparisonCompleted)
146725
146725
  return object;
146726
- var message = new $root.ChangedEnrollmentComparisonCompleted();
146726
+ var message = new $root.EligibilityCollectiveComparisonCompleted();
146727
146727
  if (object.timestamp != null)
146728
146728
  if ($util.Long)
146729
146729
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -146747,15 +146747,15 @@ $root.ChangedEnrollmentComparisonCompleted = (function() {
146747
146747
  };
146748
146748
 
146749
146749
  /**
146750
- * Creates a plain object from a ChangedEnrollmentComparisonCompleted message. Also converts values to other types if specified.
146750
+ * Creates a plain object from an EligibilityCollectiveComparisonCompleted message. Also converts values to other types if specified.
146751
146751
  * @function toObject
146752
- * @memberof ChangedEnrollmentComparisonCompleted
146752
+ * @memberof EligibilityCollectiveComparisonCompleted
146753
146753
  * @static
146754
- * @param {ChangedEnrollmentComparisonCompleted} message ChangedEnrollmentComparisonCompleted
146754
+ * @param {EligibilityCollectiveComparisonCompleted} message EligibilityCollectiveComparisonCompleted
146755
146755
  * @param {$protobuf.IConversionOptions} [options] Conversion options
146756
146756
  * @returns {Object.<string,*>} Plain object
146757
146757
  */
146758
- ChangedEnrollmentComparisonCompleted.toObject = function toObject(message, options) {
146758
+ EligibilityCollectiveComparisonCompleted.toObject = function toObject(message, options) {
146759
146759
  if (!options)
146760
146760
  options = {};
146761
146761
  var object = {};
@@ -146790,17 +146790,17 @@ $root.ChangedEnrollmentComparisonCompleted = (function() {
146790
146790
  };
146791
146791
 
146792
146792
  /**
146793
- * Converts this ChangedEnrollmentComparisonCompleted to JSON.
146793
+ * Converts this EligibilityCollectiveComparisonCompleted to JSON.
146794
146794
  * @function toJSON
146795
- * @memberof ChangedEnrollmentComparisonCompleted
146795
+ * @memberof EligibilityCollectiveComparisonCompleted
146796
146796
  * @instance
146797
146797
  * @returns {Object.<string,*>} JSON object
146798
146798
  */
146799
- ChangedEnrollmentComparisonCompleted.prototype.toJSON = function toJSON() {
146799
+ EligibilityCollectiveComparisonCompleted.prototype.toJSON = function toJSON() {
146800
146800
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
146801
146801
  };
146802
146802
 
146803
- return ChangedEnrollmentComparisonCompleted;
146803
+ return EligibilityCollectiveComparisonCompleted;
146804
146804
  })();
146805
146805
 
146806
146806
  /**
@@ -147411,6 +147411,7 @@ $root.GympassProperties = (function() {
147411
147411
  * @name IGympassProperties
147412
147412
  * @interface IGympassProperties
147413
147413
  * @property {string|null} [countryCode] GympassProperties countryCode
147414
+ * @property {number|null} [planId] GympassProperties planId
147414
147415
  */
147415
147416
 
147416
147417
  /**
@@ -147436,6 +147437,14 @@ $root.GympassProperties = (function() {
147436
147437
  */
147437
147438
  GympassProperties.prototype.countryCode = "";
147438
147439
 
147440
+ /**
147441
+ * GympassProperties planId.
147442
+ * @member {number} planId
147443
+ * @memberof GympassProperties
147444
+ * @instance
147445
+ */
147446
+ GympassProperties.prototype.planId = 0;
147447
+
147439
147448
  /**
147440
147449
  * Creates a new GympassProperties instance using the specified properties.
147441
147450
  * @function create
@@ -147462,6 +147471,8 @@ $root.GympassProperties = (function() {
147462
147471
  writer = $Writer.create();
147463
147472
  if (message.countryCode != null && message.hasOwnProperty("countryCode"))
147464
147473
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.countryCode);
147474
+ if (message.planId != null && message.hasOwnProperty("planId"))
147475
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.planId);
147465
147476
  return writer;
147466
147477
  };
147467
147478
 
@@ -147499,6 +147510,9 @@ $root.GympassProperties = (function() {
147499
147510
  case 1:
147500
147511
  message.countryCode = reader.string();
147501
147512
  break;
147513
+ case 2:
147514
+ message.planId = reader.uint32();
147515
+ break;
147502
147516
  default:
147503
147517
  reader.skipType(tag & 7);
147504
147518
  break;
@@ -147537,6 +147551,9 @@ $root.GympassProperties = (function() {
147537
147551
  if (message.countryCode != null && message.hasOwnProperty("countryCode"))
147538
147552
  if (!$util.isString(message.countryCode))
147539
147553
  return "countryCode: string expected";
147554
+ if (message.planId != null && message.hasOwnProperty("planId"))
147555
+ if (!$util.isInteger(message.planId))
147556
+ return "planId: integer expected";
147540
147557
  return null;
147541
147558
  };
147542
147559
 
@@ -147554,6 +147571,8 @@ $root.GympassProperties = (function() {
147554
147571
  var message = new $root.GympassProperties();
147555
147572
  if (object.countryCode != null)
147556
147573
  message.countryCode = String(object.countryCode);
147574
+ if (object.planId != null)
147575
+ message.planId = object.planId >>> 0;
147557
147576
  return message;
147558
147577
  };
147559
147578
 
@@ -147570,10 +147589,14 @@ $root.GympassProperties = (function() {
147570
147589
  if (!options)
147571
147590
  options = {};
147572
147591
  var object = {};
147573
- if (options.defaults)
147592
+ if (options.defaults) {
147574
147593
  object.countryCode = "";
147594
+ object.planId = 0;
147595
+ }
147575
147596
  if (message.countryCode != null && message.hasOwnProperty("countryCode"))
147576
147597
  object.countryCode = message.countryCode;
147598
+ if (message.planId != null && message.hasOwnProperty("planId"))
147599
+ object.planId = message.planId;
147577
147600
  return object;
147578
147601
  };
147579
147602
 
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.650.0"
19
+ "version": "1.652.0"
20
20
  }