@headspace/protos-events 1.664.0 → 1.666.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 +108 -12
  2. package/lib/index.js +280 -51
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -33563,6 +33563,102 @@ export class ClinicalAppointmentCreated implements IClinicalAppointmentCreated {
33563
33563
  public toJSON(): { [k: string]: any };
33564
33564
  }
33565
33565
 
33566
+ /** Properties of a ClinicalAppointmentScheduled. */
33567
+ export interface IClinicalAppointmentScheduled {
33568
+
33569
+ /** ClinicalAppointmentScheduled timestamp */
33570
+ timestamp?: (number|Long|null);
33571
+
33572
+ /** ClinicalAppointmentScheduled clinicalAppointment */
33573
+ clinicalAppointment?: (IClinicalAppointment|null);
33574
+ }
33575
+
33576
+ /** Represents a ClinicalAppointmentScheduled. */
33577
+ export class ClinicalAppointmentScheduled implements IClinicalAppointmentScheduled {
33578
+
33579
+ /**
33580
+ * Constructs a new ClinicalAppointmentScheduled.
33581
+ * @param [properties] Properties to set
33582
+ */
33583
+ constructor(properties?: IClinicalAppointmentScheduled);
33584
+
33585
+ /** ClinicalAppointmentScheduled timestamp. */
33586
+ public timestamp: (number|Long);
33587
+
33588
+ /** ClinicalAppointmentScheduled clinicalAppointment. */
33589
+ public clinicalAppointment?: (IClinicalAppointment|null);
33590
+
33591
+ /**
33592
+ * Creates a new ClinicalAppointmentScheduled instance using the specified properties.
33593
+ * @param [properties] Properties to set
33594
+ * @returns ClinicalAppointmentScheduled instance
33595
+ */
33596
+ public static create(properties?: IClinicalAppointmentScheduled): ClinicalAppointmentScheduled;
33597
+
33598
+ /**
33599
+ * Encodes the specified ClinicalAppointmentScheduled message. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
33600
+ * @param message ClinicalAppointmentScheduled message or plain object to encode
33601
+ * @param [writer] Writer to encode to
33602
+ * @returns Writer
33603
+ */
33604
+ public static encode(message: IClinicalAppointmentScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
33605
+
33606
+ /**
33607
+ * Encodes the specified ClinicalAppointmentScheduled message, length delimited. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
33608
+ * @param message ClinicalAppointmentScheduled message or plain object to encode
33609
+ * @param [writer] Writer to encode to
33610
+ * @returns Writer
33611
+ */
33612
+ public static encodeDelimited(message: IClinicalAppointmentScheduled, writer?: $protobuf.Writer): $protobuf.Writer;
33613
+
33614
+ /**
33615
+ * Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer.
33616
+ * @param reader Reader or buffer to decode from
33617
+ * @param [length] Message length if known beforehand
33618
+ * @returns ClinicalAppointmentScheduled
33619
+ * @throws {Error} If the payload is not a reader or valid buffer
33620
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33621
+ */
33622
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalAppointmentScheduled;
33623
+
33624
+ /**
33625
+ * Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer, length delimited.
33626
+ * @param reader Reader or buffer to decode from
33627
+ * @returns ClinicalAppointmentScheduled
33628
+ * @throws {Error} If the payload is not a reader or valid buffer
33629
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33630
+ */
33631
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalAppointmentScheduled;
33632
+
33633
+ /**
33634
+ * Verifies a ClinicalAppointmentScheduled message.
33635
+ * @param message Plain object to verify
33636
+ * @returns `null` if valid, otherwise the reason why it is not
33637
+ */
33638
+ public static verify(message: { [k: string]: any }): (string|null);
33639
+
33640
+ /**
33641
+ * Creates a ClinicalAppointmentScheduled message from a plain object. Also converts values to their respective internal types.
33642
+ * @param object Plain object
33643
+ * @returns ClinicalAppointmentScheduled
33644
+ */
33645
+ public static fromObject(object: { [k: string]: any }): ClinicalAppointmentScheduled;
33646
+
33647
+ /**
33648
+ * Creates a plain object from a ClinicalAppointmentScheduled message. Also converts values to other types if specified.
33649
+ * @param message ClinicalAppointmentScheduled
33650
+ * @param [options] Conversion options
33651
+ * @returns Plain object
33652
+ */
33653
+ public static toObject(message: ClinicalAppointmentScheduled, options?: $protobuf.IConversionOptions): { [k: string]: any };
33654
+
33655
+ /**
33656
+ * Converts this ClinicalAppointmentScheduled to JSON.
33657
+ * @returns JSON object
33658
+ */
33659
+ public toJSON(): { [k: string]: any };
33660
+ }
33661
+
33566
33662
  /** Properties of a ClinicalAppointmentUpdated. */
33567
33663
  export interface IClinicalAppointmentUpdated {
33568
33664
 
@@ -53192,8 +53288,8 @@ export interface IEligibilityCollectiveCreated {
53192
53288
  /** EligibilityCollectiveCreated createdTimestamp */
53193
53289
  createdTimestamp?: (number|Long|null);
53194
53290
 
53195
- /** EligibilityCollectiveCreated elligibilityCollective */
53196
- elligibilityCollective?: (IEligibilityCollective|null);
53291
+ /** EligibilityCollectiveCreated eligibilityCollective */
53292
+ eligibilityCollective?: (IEligibilityCollective|null);
53197
53293
  }
53198
53294
 
53199
53295
  /** Represents an EligibilityCollectiveCreated. */
@@ -53208,8 +53304,8 @@ export class EligibilityCollectiveCreated implements IEligibilityCollectiveCreat
53208
53304
  /** EligibilityCollectiveCreated createdTimestamp. */
53209
53305
  public createdTimestamp: (number|Long);
53210
53306
 
53211
- /** EligibilityCollectiveCreated elligibilityCollective. */
53212
- public elligibilityCollective?: (IEligibilityCollective|null);
53307
+ /** EligibilityCollectiveCreated eligibilityCollective. */
53308
+ public eligibilityCollective?: (IEligibilityCollective|null);
53213
53309
 
53214
53310
  /**
53215
53311
  * Creates a new EligibilityCollectiveCreated instance using the specified properties.
@@ -53288,8 +53384,8 @@ export interface IEligibilityCollectiveUpdated {
53288
53384
  /** EligibilityCollectiveUpdated updatedTimestamp */
53289
53385
  updatedTimestamp?: (number|Long|null);
53290
53386
 
53291
- /** EligibilityCollectiveUpdated elligibilityCollective */
53292
- elligibilityCollective?: (IEligibilityCollective|null);
53387
+ /** EligibilityCollectiveUpdated eligibilityCollective */
53388
+ eligibilityCollective?: (IEligibilityCollective|null);
53293
53389
  }
53294
53390
 
53295
53391
  /** Represents an EligibilityCollectiveUpdated. */
@@ -53304,8 +53400,8 @@ export class EligibilityCollectiveUpdated implements IEligibilityCollectiveUpdat
53304
53400
  /** EligibilityCollectiveUpdated updatedTimestamp. */
53305
53401
  public updatedTimestamp: (number|Long);
53306
53402
 
53307
- /** EligibilityCollectiveUpdated elligibilityCollective. */
53308
- public elligibilityCollective?: (IEligibilityCollective|null);
53403
+ /** EligibilityCollectiveUpdated eligibilityCollective. */
53404
+ public eligibilityCollective?: (IEligibilityCollective|null);
53309
53405
 
53310
53406
  /**
53311
53407
  * Creates a new EligibilityCollectiveUpdated instance using the specified properties.
@@ -53384,8 +53480,8 @@ export interface IEligibilityCollectiveDeleted {
53384
53480
  /** EligibilityCollectiveDeleted deletedTimestamp */
53385
53481
  deletedTimestamp?: (number|Long|null);
53386
53482
 
53387
- /** EligibilityCollectiveDeleted elligibilityCollective */
53388
- elligibilityCollective?: (IEligibilityCollective|null);
53483
+ /** EligibilityCollectiveDeleted eligibilityCollective */
53484
+ eligibilityCollective?: (IEligibilityCollective|null);
53389
53485
  }
53390
53486
 
53391
53487
  /** Represents an EligibilityCollectiveDeleted. */
@@ -53400,8 +53496,8 @@ export class EligibilityCollectiveDeleted implements IEligibilityCollectiveDelet
53400
53496
  /** EligibilityCollectiveDeleted deletedTimestamp. */
53401
53497
  public deletedTimestamp: (number|Long);
53402
53498
 
53403
- /** EligibilityCollectiveDeleted elligibilityCollective. */
53404
- public elligibilityCollective?: (IEligibilityCollective|null);
53499
+ /** EligibilityCollectiveDeleted eligibilityCollective. */
53500
+ public eligibilityCollective?: (IEligibilityCollective|null);
53405
53501
 
53406
53502
  /**
53407
53503
  * Creates a new EligibilityCollectiveDeleted instance using the specified properties.
package/lib/index.js CHANGED
@@ -96166,6 +96166,235 @@ $root.ClinicalAppointmentCreated = (function() {
96166
96166
  return ClinicalAppointmentCreated;
96167
96167
  })();
96168
96168
 
96169
+ $root.ClinicalAppointmentScheduled = (function() {
96170
+
96171
+ /**
96172
+ * Properties of a ClinicalAppointmentScheduled.
96173
+ * @name IClinicalAppointmentScheduled
96174
+ * @interface IClinicalAppointmentScheduled
96175
+ * @property {number|Long|null} [timestamp] ClinicalAppointmentScheduled timestamp
96176
+ * @property {IClinicalAppointment|null} [clinicalAppointment] ClinicalAppointmentScheduled clinicalAppointment
96177
+ */
96178
+
96179
+ /**
96180
+ * Constructs a new ClinicalAppointmentScheduled.
96181
+ * @name ClinicalAppointmentScheduled
96182
+ * @classdesc Represents a ClinicalAppointmentScheduled.
96183
+ * @implements IClinicalAppointmentScheduled
96184
+ * @constructor
96185
+ * @param {IClinicalAppointmentScheduled=} [properties] Properties to set
96186
+ */
96187
+ function ClinicalAppointmentScheduled(properties) {
96188
+ if (properties)
96189
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
96190
+ if (properties[keys[i]] != null)
96191
+ this[keys[i]] = properties[keys[i]];
96192
+ }
96193
+
96194
+ /**
96195
+ * ClinicalAppointmentScheduled timestamp.
96196
+ * @member {number|Long} timestamp
96197
+ * @memberof ClinicalAppointmentScheduled
96198
+ * @instance
96199
+ */
96200
+ ClinicalAppointmentScheduled.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
96201
+
96202
+ /**
96203
+ * ClinicalAppointmentScheduled clinicalAppointment.
96204
+ * @member {IClinicalAppointment|null|undefined} clinicalAppointment
96205
+ * @memberof ClinicalAppointmentScheduled
96206
+ * @instance
96207
+ */
96208
+ ClinicalAppointmentScheduled.prototype.clinicalAppointment = null;
96209
+
96210
+ /**
96211
+ * Creates a new ClinicalAppointmentScheduled instance using the specified properties.
96212
+ * @function create
96213
+ * @memberof ClinicalAppointmentScheduled
96214
+ * @static
96215
+ * @param {IClinicalAppointmentScheduled=} [properties] Properties to set
96216
+ * @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled instance
96217
+ */
96218
+ ClinicalAppointmentScheduled.create = function create(properties) {
96219
+ return new ClinicalAppointmentScheduled(properties);
96220
+ };
96221
+
96222
+ /**
96223
+ * Encodes the specified ClinicalAppointmentScheduled message. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
96224
+ * @function encode
96225
+ * @memberof ClinicalAppointmentScheduled
96226
+ * @static
96227
+ * @param {IClinicalAppointmentScheduled} message ClinicalAppointmentScheduled message or plain object to encode
96228
+ * @param {$protobuf.Writer} [writer] Writer to encode to
96229
+ * @returns {$protobuf.Writer} Writer
96230
+ */
96231
+ ClinicalAppointmentScheduled.encode = function encode(message, writer) {
96232
+ if (!writer)
96233
+ writer = $Writer.create();
96234
+ if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment"))
96235
+ $root.ClinicalAppointment.encode(message.clinicalAppointment, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
96236
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
96237
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
96238
+ return writer;
96239
+ };
96240
+
96241
+ /**
96242
+ * Encodes the specified ClinicalAppointmentScheduled message, length delimited. Does not implicitly {@link ClinicalAppointmentScheduled.verify|verify} messages.
96243
+ * @function encodeDelimited
96244
+ * @memberof ClinicalAppointmentScheduled
96245
+ * @static
96246
+ * @param {IClinicalAppointmentScheduled} message ClinicalAppointmentScheduled message or plain object to encode
96247
+ * @param {$protobuf.Writer} [writer] Writer to encode to
96248
+ * @returns {$protobuf.Writer} Writer
96249
+ */
96250
+ ClinicalAppointmentScheduled.encodeDelimited = function encodeDelimited(message, writer) {
96251
+ return this.encode(message, writer).ldelim();
96252
+ };
96253
+
96254
+ /**
96255
+ * Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer.
96256
+ * @function decode
96257
+ * @memberof ClinicalAppointmentScheduled
96258
+ * @static
96259
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
96260
+ * @param {number} [length] Message length if known beforehand
96261
+ * @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled
96262
+ * @throws {Error} If the payload is not a reader or valid buffer
96263
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
96264
+ */
96265
+ ClinicalAppointmentScheduled.decode = function decode(reader, length) {
96266
+ if (!(reader instanceof $Reader))
96267
+ reader = $Reader.create(reader);
96268
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ClinicalAppointmentScheduled();
96269
+ while (reader.pos < end) {
96270
+ var tag = reader.uint32();
96271
+ switch (tag >>> 3) {
96272
+ case 2:
96273
+ message.timestamp = reader.uint64();
96274
+ break;
96275
+ case 1:
96276
+ message.clinicalAppointment = $root.ClinicalAppointment.decode(reader, reader.uint32());
96277
+ break;
96278
+ default:
96279
+ reader.skipType(tag & 7);
96280
+ break;
96281
+ }
96282
+ }
96283
+ return message;
96284
+ };
96285
+
96286
+ /**
96287
+ * Decodes a ClinicalAppointmentScheduled message from the specified reader or buffer, length delimited.
96288
+ * @function decodeDelimited
96289
+ * @memberof ClinicalAppointmentScheduled
96290
+ * @static
96291
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
96292
+ * @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled
96293
+ * @throws {Error} If the payload is not a reader or valid buffer
96294
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
96295
+ */
96296
+ ClinicalAppointmentScheduled.decodeDelimited = function decodeDelimited(reader) {
96297
+ if (!(reader instanceof $Reader))
96298
+ reader = new $Reader(reader);
96299
+ return this.decode(reader, reader.uint32());
96300
+ };
96301
+
96302
+ /**
96303
+ * Verifies a ClinicalAppointmentScheduled message.
96304
+ * @function verify
96305
+ * @memberof ClinicalAppointmentScheduled
96306
+ * @static
96307
+ * @param {Object.<string,*>} message Plain object to verify
96308
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
96309
+ */
96310
+ ClinicalAppointmentScheduled.verify = function verify(message) {
96311
+ if (typeof message !== "object" || message === null)
96312
+ return "object expected";
96313
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
96314
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
96315
+ return "timestamp: integer|Long expected";
96316
+ if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment")) {
96317
+ var error = $root.ClinicalAppointment.verify(message.clinicalAppointment);
96318
+ if (error)
96319
+ return "clinicalAppointment." + error;
96320
+ }
96321
+ return null;
96322
+ };
96323
+
96324
+ /**
96325
+ * Creates a ClinicalAppointmentScheduled message from a plain object. Also converts values to their respective internal types.
96326
+ * @function fromObject
96327
+ * @memberof ClinicalAppointmentScheduled
96328
+ * @static
96329
+ * @param {Object.<string,*>} object Plain object
96330
+ * @returns {ClinicalAppointmentScheduled} ClinicalAppointmentScheduled
96331
+ */
96332
+ ClinicalAppointmentScheduled.fromObject = function fromObject(object) {
96333
+ if (object instanceof $root.ClinicalAppointmentScheduled)
96334
+ return object;
96335
+ var message = new $root.ClinicalAppointmentScheduled();
96336
+ if (object.timestamp != null)
96337
+ if ($util.Long)
96338
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
96339
+ else if (typeof object.timestamp === "string")
96340
+ message.timestamp = parseInt(object.timestamp, 10);
96341
+ else if (typeof object.timestamp === "number")
96342
+ message.timestamp = object.timestamp;
96343
+ else if (typeof object.timestamp === "object")
96344
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
96345
+ if (object.clinicalAppointment != null) {
96346
+ if (typeof object.clinicalAppointment !== "object")
96347
+ throw TypeError(".ClinicalAppointmentScheduled.clinicalAppointment: object expected");
96348
+ message.clinicalAppointment = $root.ClinicalAppointment.fromObject(object.clinicalAppointment);
96349
+ }
96350
+ return message;
96351
+ };
96352
+
96353
+ /**
96354
+ * Creates a plain object from a ClinicalAppointmentScheduled message. Also converts values to other types if specified.
96355
+ * @function toObject
96356
+ * @memberof ClinicalAppointmentScheduled
96357
+ * @static
96358
+ * @param {ClinicalAppointmentScheduled} message ClinicalAppointmentScheduled
96359
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
96360
+ * @returns {Object.<string,*>} Plain object
96361
+ */
96362
+ ClinicalAppointmentScheduled.toObject = function toObject(message, options) {
96363
+ if (!options)
96364
+ options = {};
96365
+ var object = {};
96366
+ if (options.defaults) {
96367
+ object.clinicalAppointment = null;
96368
+ if ($util.Long) {
96369
+ var long = new $util.Long(0, 0, true);
96370
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
96371
+ } else
96372
+ object.timestamp = options.longs === String ? "0" : 0;
96373
+ }
96374
+ if (message.clinicalAppointment != null && message.hasOwnProperty("clinicalAppointment"))
96375
+ object.clinicalAppointment = $root.ClinicalAppointment.toObject(message.clinicalAppointment, options);
96376
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
96377
+ if (typeof message.timestamp === "number")
96378
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
96379
+ else
96380
+ 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;
96381
+ return object;
96382
+ };
96383
+
96384
+ /**
96385
+ * Converts this ClinicalAppointmentScheduled to JSON.
96386
+ * @function toJSON
96387
+ * @memberof ClinicalAppointmentScheduled
96388
+ * @instance
96389
+ * @returns {Object.<string,*>} JSON object
96390
+ */
96391
+ ClinicalAppointmentScheduled.prototype.toJSON = function toJSON() {
96392
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
96393
+ };
96394
+
96395
+ return ClinicalAppointmentScheduled;
96396
+ })();
96397
+
96169
96398
  $root.ClinicalAppointmentUpdated = (function() {
96170
96399
 
96171
96400
  /**
@@ -147252,7 +147481,7 @@ $root.EligibilityCollectiveCreated = (function() {
147252
147481
  * @name IEligibilityCollectiveCreated
147253
147482
  * @interface IEligibilityCollectiveCreated
147254
147483
  * @property {number|Long|null} [createdTimestamp] EligibilityCollectiveCreated createdTimestamp
147255
- * @property {IEligibilityCollective|null} [elligibilityCollective] EligibilityCollectiveCreated elligibilityCollective
147484
+ * @property {IEligibilityCollective|null} [eligibilityCollective] EligibilityCollectiveCreated eligibilityCollective
147256
147485
  */
147257
147486
 
147258
147487
  /**
@@ -147279,12 +147508,12 @@ $root.EligibilityCollectiveCreated = (function() {
147279
147508
  EligibilityCollectiveCreated.prototype.createdTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
147280
147509
 
147281
147510
  /**
147282
- * EligibilityCollectiveCreated elligibilityCollective.
147283
- * @member {IEligibilityCollective|null|undefined} elligibilityCollective
147511
+ * EligibilityCollectiveCreated eligibilityCollective.
147512
+ * @member {IEligibilityCollective|null|undefined} eligibilityCollective
147284
147513
  * @memberof EligibilityCollectiveCreated
147285
147514
  * @instance
147286
147515
  */
147287
- EligibilityCollectiveCreated.prototype.elligibilityCollective = null;
147516
+ EligibilityCollectiveCreated.prototype.eligibilityCollective = null;
147288
147517
 
147289
147518
  /**
147290
147519
  * Creates a new EligibilityCollectiveCreated instance using the specified properties.
@@ -147312,8 +147541,8 @@ $root.EligibilityCollectiveCreated = (function() {
147312
147541
  writer = $Writer.create();
147313
147542
  if (message.createdTimestamp != null && message.hasOwnProperty("createdTimestamp"))
147314
147543
  writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.createdTimestamp);
147315
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147316
- $root.EligibilityCollective.encode(message.elligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147544
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective"))
147545
+ $root.EligibilityCollective.encode(message.eligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147317
147546
  return writer;
147318
147547
  };
147319
147548
 
@@ -147352,7 +147581,7 @@ $root.EligibilityCollectiveCreated = (function() {
147352
147581
  message.createdTimestamp = reader.uint64();
147353
147582
  break;
147354
147583
  case 2:
147355
- message.elligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147584
+ message.eligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147356
147585
  break;
147357
147586
  default:
147358
147587
  reader.skipType(tag & 7);
@@ -147392,10 +147621,10 @@ $root.EligibilityCollectiveCreated = (function() {
147392
147621
  if (message.createdTimestamp != null && message.hasOwnProperty("createdTimestamp"))
147393
147622
  if (!$util.isInteger(message.createdTimestamp) && !(message.createdTimestamp && $util.isInteger(message.createdTimestamp.low) && $util.isInteger(message.createdTimestamp.high)))
147394
147623
  return "createdTimestamp: integer|Long expected";
147395
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective")) {
147396
- var error = $root.EligibilityCollective.verify(message.elligibilityCollective);
147624
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective")) {
147625
+ var error = $root.EligibilityCollective.verify(message.eligibilityCollective);
147397
147626
  if (error)
147398
- return "elligibilityCollective." + error;
147627
+ return "eligibilityCollective." + error;
147399
147628
  }
147400
147629
  return null;
147401
147630
  };
@@ -147421,10 +147650,10 @@ $root.EligibilityCollectiveCreated = (function() {
147421
147650
  message.createdTimestamp = object.createdTimestamp;
147422
147651
  else if (typeof object.createdTimestamp === "object")
147423
147652
  message.createdTimestamp = new $util.LongBits(object.createdTimestamp.low >>> 0, object.createdTimestamp.high >>> 0).toNumber(true);
147424
- if (object.elligibilityCollective != null) {
147425
- if (typeof object.elligibilityCollective !== "object")
147426
- throw TypeError(".EligibilityCollectiveCreated.elligibilityCollective: object expected");
147427
- message.elligibilityCollective = $root.EligibilityCollective.fromObject(object.elligibilityCollective);
147653
+ if (object.eligibilityCollective != null) {
147654
+ if (typeof object.eligibilityCollective !== "object")
147655
+ throw TypeError(".EligibilityCollectiveCreated.eligibilityCollective: object expected");
147656
+ message.eligibilityCollective = $root.EligibilityCollective.fromObject(object.eligibilityCollective);
147428
147657
  }
147429
147658
  return message;
147430
147659
  };
@@ -147448,15 +147677,15 @@ $root.EligibilityCollectiveCreated = (function() {
147448
147677
  object.createdTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
147449
147678
  } else
147450
147679
  object.createdTimestamp = options.longs === String ? "0" : 0;
147451
- object.elligibilityCollective = null;
147680
+ object.eligibilityCollective = null;
147452
147681
  }
147453
147682
  if (message.createdTimestamp != null && message.hasOwnProperty("createdTimestamp"))
147454
147683
  if (typeof message.createdTimestamp === "number")
147455
147684
  object.createdTimestamp = options.longs === String ? String(message.createdTimestamp) : message.createdTimestamp;
147456
147685
  else
147457
147686
  object.createdTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.createdTimestamp) : options.longs === Number ? new $util.LongBits(message.createdTimestamp.low >>> 0, message.createdTimestamp.high >>> 0).toNumber(true) : message.createdTimestamp;
147458
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147459
- object.elligibilityCollective = $root.EligibilityCollective.toObject(message.elligibilityCollective, options);
147687
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective"))
147688
+ object.eligibilityCollective = $root.EligibilityCollective.toObject(message.eligibilityCollective, options);
147460
147689
  return object;
147461
147690
  };
147462
147691
 
@@ -147481,7 +147710,7 @@ $root.EligibilityCollectiveUpdated = (function() {
147481
147710
  * @name IEligibilityCollectiveUpdated
147482
147711
  * @interface IEligibilityCollectiveUpdated
147483
147712
  * @property {number|Long|null} [updatedTimestamp] EligibilityCollectiveUpdated updatedTimestamp
147484
- * @property {IEligibilityCollective|null} [elligibilityCollective] EligibilityCollectiveUpdated elligibilityCollective
147713
+ * @property {IEligibilityCollective|null} [eligibilityCollective] EligibilityCollectiveUpdated eligibilityCollective
147485
147714
  */
147486
147715
 
147487
147716
  /**
@@ -147508,12 +147737,12 @@ $root.EligibilityCollectiveUpdated = (function() {
147508
147737
  EligibilityCollectiveUpdated.prototype.updatedTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
147509
147738
 
147510
147739
  /**
147511
- * EligibilityCollectiveUpdated elligibilityCollective.
147512
- * @member {IEligibilityCollective|null|undefined} elligibilityCollective
147740
+ * EligibilityCollectiveUpdated eligibilityCollective.
147741
+ * @member {IEligibilityCollective|null|undefined} eligibilityCollective
147513
147742
  * @memberof EligibilityCollectiveUpdated
147514
147743
  * @instance
147515
147744
  */
147516
- EligibilityCollectiveUpdated.prototype.elligibilityCollective = null;
147745
+ EligibilityCollectiveUpdated.prototype.eligibilityCollective = null;
147517
147746
 
147518
147747
  /**
147519
147748
  * Creates a new EligibilityCollectiveUpdated instance using the specified properties.
@@ -147541,8 +147770,8 @@ $root.EligibilityCollectiveUpdated = (function() {
147541
147770
  writer = $Writer.create();
147542
147771
  if (message.updatedTimestamp != null && message.hasOwnProperty("updatedTimestamp"))
147543
147772
  writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.updatedTimestamp);
147544
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147545
- $root.EligibilityCollective.encode(message.elligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147773
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective"))
147774
+ $root.EligibilityCollective.encode(message.eligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147546
147775
  return writer;
147547
147776
  };
147548
147777
 
@@ -147581,7 +147810,7 @@ $root.EligibilityCollectiveUpdated = (function() {
147581
147810
  message.updatedTimestamp = reader.uint64();
147582
147811
  break;
147583
147812
  case 2:
147584
- message.elligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147813
+ message.eligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147585
147814
  break;
147586
147815
  default:
147587
147816
  reader.skipType(tag & 7);
@@ -147621,10 +147850,10 @@ $root.EligibilityCollectiveUpdated = (function() {
147621
147850
  if (message.updatedTimestamp != null && message.hasOwnProperty("updatedTimestamp"))
147622
147851
  if (!$util.isInteger(message.updatedTimestamp) && !(message.updatedTimestamp && $util.isInteger(message.updatedTimestamp.low) && $util.isInteger(message.updatedTimestamp.high)))
147623
147852
  return "updatedTimestamp: integer|Long expected";
147624
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective")) {
147625
- var error = $root.EligibilityCollective.verify(message.elligibilityCollective);
147853
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective")) {
147854
+ var error = $root.EligibilityCollective.verify(message.eligibilityCollective);
147626
147855
  if (error)
147627
- return "elligibilityCollective." + error;
147856
+ return "eligibilityCollective." + error;
147628
147857
  }
147629
147858
  return null;
147630
147859
  };
@@ -147650,10 +147879,10 @@ $root.EligibilityCollectiveUpdated = (function() {
147650
147879
  message.updatedTimestamp = object.updatedTimestamp;
147651
147880
  else if (typeof object.updatedTimestamp === "object")
147652
147881
  message.updatedTimestamp = new $util.LongBits(object.updatedTimestamp.low >>> 0, object.updatedTimestamp.high >>> 0).toNumber(true);
147653
- if (object.elligibilityCollective != null) {
147654
- if (typeof object.elligibilityCollective !== "object")
147655
- throw TypeError(".EligibilityCollectiveUpdated.elligibilityCollective: object expected");
147656
- message.elligibilityCollective = $root.EligibilityCollective.fromObject(object.elligibilityCollective);
147882
+ if (object.eligibilityCollective != null) {
147883
+ if (typeof object.eligibilityCollective !== "object")
147884
+ throw TypeError(".EligibilityCollectiveUpdated.eligibilityCollective: object expected");
147885
+ message.eligibilityCollective = $root.EligibilityCollective.fromObject(object.eligibilityCollective);
147657
147886
  }
147658
147887
  return message;
147659
147888
  };
@@ -147677,15 +147906,15 @@ $root.EligibilityCollectiveUpdated = (function() {
147677
147906
  object.updatedTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
147678
147907
  } else
147679
147908
  object.updatedTimestamp = options.longs === String ? "0" : 0;
147680
- object.elligibilityCollective = null;
147909
+ object.eligibilityCollective = null;
147681
147910
  }
147682
147911
  if (message.updatedTimestamp != null && message.hasOwnProperty("updatedTimestamp"))
147683
147912
  if (typeof message.updatedTimestamp === "number")
147684
147913
  object.updatedTimestamp = options.longs === String ? String(message.updatedTimestamp) : message.updatedTimestamp;
147685
147914
  else
147686
147915
  object.updatedTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.updatedTimestamp) : options.longs === Number ? new $util.LongBits(message.updatedTimestamp.low >>> 0, message.updatedTimestamp.high >>> 0).toNumber(true) : message.updatedTimestamp;
147687
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147688
- object.elligibilityCollective = $root.EligibilityCollective.toObject(message.elligibilityCollective, options);
147916
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective"))
147917
+ object.eligibilityCollective = $root.EligibilityCollective.toObject(message.eligibilityCollective, options);
147689
147918
  return object;
147690
147919
  };
147691
147920
 
@@ -147710,7 +147939,7 @@ $root.EligibilityCollectiveDeleted = (function() {
147710
147939
  * @name IEligibilityCollectiveDeleted
147711
147940
  * @interface IEligibilityCollectiveDeleted
147712
147941
  * @property {number|Long|null} [deletedTimestamp] EligibilityCollectiveDeleted deletedTimestamp
147713
- * @property {IEligibilityCollective|null} [elligibilityCollective] EligibilityCollectiveDeleted elligibilityCollective
147942
+ * @property {IEligibilityCollective|null} [eligibilityCollective] EligibilityCollectiveDeleted eligibilityCollective
147714
147943
  */
147715
147944
 
147716
147945
  /**
@@ -147737,12 +147966,12 @@ $root.EligibilityCollectiveDeleted = (function() {
147737
147966
  EligibilityCollectiveDeleted.prototype.deletedTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
147738
147967
 
147739
147968
  /**
147740
- * EligibilityCollectiveDeleted elligibilityCollective.
147741
- * @member {IEligibilityCollective|null|undefined} elligibilityCollective
147969
+ * EligibilityCollectiveDeleted eligibilityCollective.
147970
+ * @member {IEligibilityCollective|null|undefined} eligibilityCollective
147742
147971
  * @memberof EligibilityCollectiveDeleted
147743
147972
  * @instance
147744
147973
  */
147745
- EligibilityCollectiveDeleted.prototype.elligibilityCollective = null;
147974
+ EligibilityCollectiveDeleted.prototype.eligibilityCollective = null;
147746
147975
 
147747
147976
  /**
147748
147977
  * Creates a new EligibilityCollectiveDeleted instance using the specified properties.
@@ -147770,8 +147999,8 @@ $root.EligibilityCollectiveDeleted = (function() {
147770
147999
  writer = $Writer.create();
147771
148000
  if (message.deletedTimestamp != null && message.hasOwnProperty("deletedTimestamp"))
147772
148001
  writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.deletedTimestamp);
147773
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147774
- $root.EligibilityCollective.encode(message.elligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
148002
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective"))
148003
+ $root.EligibilityCollective.encode(message.eligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147775
148004
  return writer;
147776
148005
  };
147777
148006
 
@@ -147810,7 +148039,7 @@ $root.EligibilityCollectiveDeleted = (function() {
147810
148039
  message.deletedTimestamp = reader.uint64();
147811
148040
  break;
147812
148041
  case 2:
147813
- message.elligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
148042
+ message.eligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147814
148043
  break;
147815
148044
  default:
147816
148045
  reader.skipType(tag & 7);
@@ -147850,10 +148079,10 @@ $root.EligibilityCollectiveDeleted = (function() {
147850
148079
  if (message.deletedTimestamp != null && message.hasOwnProperty("deletedTimestamp"))
147851
148080
  if (!$util.isInteger(message.deletedTimestamp) && !(message.deletedTimestamp && $util.isInteger(message.deletedTimestamp.low) && $util.isInteger(message.deletedTimestamp.high)))
147852
148081
  return "deletedTimestamp: integer|Long expected";
147853
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective")) {
147854
- var error = $root.EligibilityCollective.verify(message.elligibilityCollective);
148082
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective")) {
148083
+ var error = $root.EligibilityCollective.verify(message.eligibilityCollective);
147855
148084
  if (error)
147856
- return "elligibilityCollective." + error;
148085
+ return "eligibilityCollective." + error;
147857
148086
  }
147858
148087
  return null;
147859
148088
  };
@@ -147879,10 +148108,10 @@ $root.EligibilityCollectiveDeleted = (function() {
147879
148108
  message.deletedTimestamp = object.deletedTimestamp;
147880
148109
  else if (typeof object.deletedTimestamp === "object")
147881
148110
  message.deletedTimestamp = new $util.LongBits(object.deletedTimestamp.low >>> 0, object.deletedTimestamp.high >>> 0).toNumber(true);
147882
- if (object.elligibilityCollective != null) {
147883
- if (typeof object.elligibilityCollective !== "object")
147884
- throw TypeError(".EligibilityCollectiveDeleted.elligibilityCollective: object expected");
147885
- message.elligibilityCollective = $root.EligibilityCollective.fromObject(object.elligibilityCollective);
148111
+ if (object.eligibilityCollective != null) {
148112
+ if (typeof object.eligibilityCollective !== "object")
148113
+ throw TypeError(".EligibilityCollectiveDeleted.eligibilityCollective: object expected");
148114
+ message.eligibilityCollective = $root.EligibilityCollective.fromObject(object.eligibilityCollective);
147886
148115
  }
147887
148116
  return message;
147888
148117
  };
@@ -147906,15 +148135,15 @@ $root.EligibilityCollectiveDeleted = (function() {
147906
148135
  object.deletedTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
147907
148136
  } else
147908
148137
  object.deletedTimestamp = options.longs === String ? "0" : 0;
147909
- object.elligibilityCollective = null;
148138
+ object.eligibilityCollective = null;
147910
148139
  }
147911
148140
  if (message.deletedTimestamp != null && message.hasOwnProperty("deletedTimestamp"))
147912
148141
  if (typeof message.deletedTimestamp === "number")
147913
148142
  object.deletedTimestamp = options.longs === String ? String(message.deletedTimestamp) : message.deletedTimestamp;
147914
148143
  else
147915
148144
  object.deletedTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.deletedTimestamp) : options.longs === Number ? new $util.LongBits(message.deletedTimestamp.low >>> 0, message.deletedTimestamp.high >>> 0).toNumber(true) : message.deletedTimestamp;
147916
- if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147917
- object.elligibilityCollective = $root.EligibilityCollective.toObject(message.elligibilityCollective, options);
148145
+ if (message.eligibilityCollective != null && message.hasOwnProperty("eligibilityCollective"))
148146
+ object.eligibilityCollective = $root.EligibilityCollective.toObject(message.eligibilityCollective, options);
147918
148147
  return object;
147919
148148
  };
147920
148149
 
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.664.0"
19
+ "version": "1.666.0"
20
20
  }