@headspace/protos-events 1.658.0 → 1.659.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
@@ -53214,6 +53214,294 @@ export class EligibilityCollective implements IEligibilityCollective {
53214
53214
  public toJSON(): { [k: string]: any };
53215
53215
  }
53216
53216
 
53217
+ /** Properties of an EligibilityCollectiveCreated. */
53218
+ export interface IEligibilityCollectiveCreated {
53219
+
53220
+ /** EligibilityCollectiveCreated createdTimestamp */
53221
+ createdTimestamp?: (number|Long|null);
53222
+
53223
+ /** EligibilityCollectiveCreated elligibilityCollective */
53224
+ elligibilityCollective?: (IEligibilityCollective|null);
53225
+ }
53226
+
53227
+ /** Represents an EligibilityCollectiveCreated. */
53228
+ export class EligibilityCollectiveCreated implements IEligibilityCollectiveCreated {
53229
+
53230
+ /**
53231
+ * Constructs a new EligibilityCollectiveCreated.
53232
+ * @param [properties] Properties to set
53233
+ */
53234
+ constructor(properties?: IEligibilityCollectiveCreated);
53235
+
53236
+ /** EligibilityCollectiveCreated createdTimestamp. */
53237
+ public createdTimestamp: (number|Long);
53238
+
53239
+ /** EligibilityCollectiveCreated elligibilityCollective. */
53240
+ public elligibilityCollective?: (IEligibilityCollective|null);
53241
+
53242
+ /**
53243
+ * Creates a new EligibilityCollectiveCreated instance using the specified properties.
53244
+ * @param [properties] Properties to set
53245
+ * @returns EligibilityCollectiveCreated instance
53246
+ */
53247
+ public static create(properties?: IEligibilityCollectiveCreated): EligibilityCollectiveCreated;
53248
+
53249
+ /**
53250
+ * Encodes the specified EligibilityCollectiveCreated message. Does not implicitly {@link EligibilityCollectiveCreated.verify|verify} messages.
53251
+ * @param message EligibilityCollectiveCreated message or plain object to encode
53252
+ * @param [writer] Writer to encode to
53253
+ * @returns Writer
53254
+ */
53255
+ public static encode(message: IEligibilityCollectiveCreated, writer?: $protobuf.Writer): $protobuf.Writer;
53256
+
53257
+ /**
53258
+ * Encodes the specified EligibilityCollectiveCreated message, length delimited. Does not implicitly {@link EligibilityCollectiveCreated.verify|verify} messages.
53259
+ * @param message EligibilityCollectiveCreated message or plain object to encode
53260
+ * @param [writer] Writer to encode to
53261
+ * @returns Writer
53262
+ */
53263
+ public static encodeDelimited(message: IEligibilityCollectiveCreated, writer?: $protobuf.Writer): $protobuf.Writer;
53264
+
53265
+ /**
53266
+ * Decodes an EligibilityCollectiveCreated message from the specified reader or buffer.
53267
+ * @param reader Reader or buffer to decode from
53268
+ * @param [length] Message length if known beforehand
53269
+ * @returns EligibilityCollectiveCreated
53270
+ * @throws {Error} If the payload is not a reader or valid buffer
53271
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53272
+ */
53273
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityCollectiveCreated;
53274
+
53275
+ /**
53276
+ * Decodes an EligibilityCollectiveCreated message from the specified reader or buffer, length delimited.
53277
+ * @param reader Reader or buffer to decode from
53278
+ * @returns EligibilityCollectiveCreated
53279
+ * @throws {Error} If the payload is not a reader or valid buffer
53280
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53281
+ */
53282
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityCollectiveCreated;
53283
+
53284
+ /**
53285
+ * Verifies an EligibilityCollectiveCreated message.
53286
+ * @param message Plain object to verify
53287
+ * @returns `null` if valid, otherwise the reason why it is not
53288
+ */
53289
+ public static verify(message: { [k: string]: any }): (string|null);
53290
+
53291
+ /**
53292
+ * Creates an EligibilityCollectiveCreated message from a plain object. Also converts values to their respective internal types.
53293
+ * @param object Plain object
53294
+ * @returns EligibilityCollectiveCreated
53295
+ */
53296
+ public static fromObject(object: { [k: string]: any }): EligibilityCollectiveCreated;
53297
+
53298
+ /**
53299
+ * Creates a plain object from an EligibilityCollectiveCreated message. Also converts values to other types if specified.
53300
+ * @param message EligibilityCollectiveCreated
53301
+ * @param [options] Conversion options
53302
+ * @returns Plain object
53303
+ */
53304
+ public static toObject(message: EligibilityCollectiveCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
53305
+
53306
+ /**
53307
+ * Converts this EligibilityCollectiveCreated to JSON.
53308
+ * @returns JSON object
53309
+ */
53310
+ public toJSON(): { [k: string]: any };
53311
+ }
53312
+
53313
+ /** Properties of an EligibilityCollectiveUpdated. */
53314
+ export interface IEligibilityCollectiveUpdated {
53315
+
53316
+ /** EligibilityCollectiveUpdated updatedTimestamp */
53317
+ updatedTimestamp?: (number|Long|null);
53318
+
53319
+ /** EligibilityCollectiveUpdated elligibilityCollective */
53320
+ elligibilityCollective?: (IEligibilityCollective|null);
53321
+ }
53322
+
53323
+ /** Represents an EligibilityCollectiveUpdated. */
53324
+ export class EligibilityCollectiveUpdated implements IEligibilityCollectiveUpdated {
53325
+
53326
+ /**
53327
+ * Constructs a new EligibilityCollectiveUpdated.
53328
+ * @param [properties] Properties to set
53329
+ */
53330
+ constructor(properties?: IEligibilityCollectiveUpdated);
53331
+
53332
+ /** EligibilityCollectiveUpdated updatedTimestamp. */
53333
+ public updatedTimestamp: (number|Long);
53334
+
53335
+ /** EligibilityCollectiveUpdated elligibilityCollective. */
53336
+ public elligibilityCollective?: (IEligibilityCollective|null);
53337
+
53338
+ /**
53339
+ * Creates a new EligibilityCollectiveUpdated instance using the specified properties.
53340
+ * @param [properties] Properties to set
53341
+ * @returns EligibilityCollectiveUpdated instance
53342
+ */
53343
+ public static create(properties?: IEligibilityCollectiveUpdated): EligibilityCollectiveUpdated;
53344
+
53345
+ /**
53346
+ * Encodes the specified EligibilityCollectiveUpdated message. Does not implicitly {@link EligibilityCollectiveUpdated.verify|verify} messages.
53347
+ * @param message EligibilityCollectiveUpdated message or plain object to encode
53348
+ * @param [writer] Writer to encode to
53349
+ * @returns Writer
53350
+ */
53351
+ public static encode(message: IEligibilityCollectiveUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
53352
+
53353
+ /**
53354
+ * Encodes the specified EligibilityCollectiveUpdated message, length delimited. Does not implicitly {@link EligibilityCollectiveUpdated.verify|verify} messages.
53355
+ * @param message EligibilityCollectiveUpdated message or plain object to encode
53356
+ * @param [writer] Writer to encode to
53357
+ * @returns Writer
53358
+ */
53359
+ public static encodeDelimited(message: IEligibilityCollectiveUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
53360
+
53361
+ /**
53362
+ * Decodes an EligibilityCollectiveUpdated message from the specified reader or buffer.
53363
+ * @param reader Reader or buffer to decode from
53364
+ * @param [length] Message length if known beforehand
53365
+ * @returns EligibilityCollectiveUpdated
53366
+ * @throws {Error} If the payload is not a reader or valid buffer
53367
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53368
+ */
53369
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityCollectiveUpdated;
53370
+
53371
+ /**
53372
+ * Decodes an EligibilityCollectiveUpdated message from the specified reader or buffer, length delimited.
53373
+ * @param reader Reader or buffer to decode from
53374
+ * @returns EligibilityCollectiveUpdated
53375
+ * @throws {Error} If the payload is not a reader or valid buffer
53376
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53377
+ */
53378
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityCollectiveUpdated;
53379
+
53380
+ /**
53381
+ * Verifies an EligibilityCollectiveUpdated message.
53382
+ * @param message Plain object to verify
53383
+ * @returns `null` if valid, otherwise the reason why it is not
53384
+ */
53385
+ public static verify(message: { [k: string]: any }): (string|null);
53386
+
53387
+ /**
53388
+ * Creates an EligibilityCollectiveUpdated message from a plain object. Also converts values to their respective internal types.
53389
+ * @param object Plain object
53390
+ * @returns EligibilityCollectiveUpdated
53391
+ */
53392
+ public static fromObject(object: { [k: string]: any }): EligibilityCollectiveUpdated;
53393
+
53394
+ /**
53395
+ * Creates a plain object from an EligibilityCollectiveUpdated message. Also converts values to other types if specified.
53396
+ * @param message EligibilityCollectiveUpdated
53397
+ * @param [options] Conversion options
53398
+ * @returns Plain object
53399
+ */
53400
+ public static toObject(message: EligibilityCollectiveUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
53401
+
53402
+ /**
53403
+ * Converts this EligibilityCollectiveUpdated to JSON.
53404
+ * @returns JSON object
53405
+ */
53406
+ public toJSON(): { [k: string]: any };
53407
+ }
53408
+
53409
+ /** Properties of an EligibilityCollectiveDeleted. */
53410
+ export interface IEligibilityCollectiveDeleted {
53411
+
53412
+ /** EligibilityCollectiveDeleted deletedTimestamp */
53413
+ deletedTimestamp?: (number|Long|null);
53414
+
53415
+ /** EligibilityCollectiveDeleted elligibilityCollective */
53416
+ elligibilityCollective?: (IEligibilityCollective|null);
53417
+ }
53418
+
53419
+ /** Represents an EligibilityCollectiveDeleted. */
53420
+ export class EligibilityCollectiveDeleted implements IEligibilityCollectiveDeleted {
53421
+
53422
+ /**
53423
+ * Constructs a new EligibilityCollectiveDeleted.
53424
+ * @param [properties] Properties to set
53425
+ */
53426
+ constructor(properties?: IEligibilityCollectiveDeleted);
53427
+
53428
+ /** EligibilityCollectiveDeleted deletedTimestamp. */
53429
+ public deletedTimestamp: (number|Long);
53430
+
53431
+ /** EligibilityCollectiveDeleted elligibilityCollective. */
53432
+ public elligibilityCollective?: (IEligibilityCollective|null);
53433
+
53434
+ /**
53435
+ * Creates a new EligibilityCollectiveDeleted instance using the specified properties.
53436
+ * @param [properties] Properties to set
53437
+ * @returns EligibilityCollectiveDeleted instance
53438
+ */
53439
+ public static create(properties?: IEligibilityCollectiveDeleted): EligibilityCollectiveDeleted;
53440
+
53441
+ /**
53442
+ * Encodes the specified EligibilityCollectiveDeleted message. Does not implicitly {@link EligibilityCollectiveDeleted.verify|verify} messages.
53443
+ * @param message EligibilityCollectiveDeleted message or plain object to encode
53444
+ * @param [writer] Writer to encode to
53445
+ * @returns Writer
53446
+ */
53447
+ public static encode(message: IEligibilityCollectiveDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
53448
+
53449
+ /**
53450
+ * Encodes the specified EligibilityCollectiveDeleted message, length delimited. Does not implicitly {@link EligibilityCollectiveDeleted.verify|verify} messages.
53451
+ * @param message EligibilityCollectiveDeleted message or plain object to encode
53452
+ * @param [writer] Writer to encode to
53453
+ * @returns Writer
53454
+ */
53455
+ public static encodeDelimited(message: IEligibilityCollectiveDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
53456
+
53457
+ /**
53458
+ * Decodes an EligibilityCollectiveDeleted message from the specified reader or buffer.
53459
+ * @param reader Reader or buffer to decode from
53460
+ * @param [length] Message length if known beforehand
53461
+ * @returns EligibilityCollectiveDeleted
53462
+ * @throws {Error} If the payload is not a reader or valid buffer
53463
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53464
+ */
53465
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityCollectiveDeleted;
53466
+
53467
+ /**
53468
+ * Decodes an EligibilityCollectiveDeleted message from the specified reader or buffer, length delimited.
53469
+ * @param reader Reader or buffer to decode from
53470
+ * @returns EligibilityCollectiveDeleted
53471
+ * @throws {Error} If the payload is not a reader or valid buffer
53472
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53473
+ */
53474
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityCollectiveDeleted;
53475
+
53476
+ /**
53477
+ * Verifies an EligibilityCollectiveDeleted message.
53478
+ * @param message Plain object to verify
53479
+ * @returns `null` if valid, otherwise the reason why it is not
53480
+ */
53481
+ public static verify(message: { [k: string]: any }): (string|null);
53482
+
53483
+ /**
53484
+ * Creates an EligibilityCollectiveDeleted message from a plain object. Also converts values to their respective internal types.
53485
+ * @param object Plain object
53486
+ * @returns EligibilityCollectiveDeleted
53487
+ */
53488
+ public static fromObject(object: { [k: string]: any }): EligibilityCollectiveDeleted;
53489
+
53490
+ /**
53491
+ * Creates a plain object from an EligibilityCollectiveDeleted message. Also converts values to other types if specified.
53492
+ * @param message EligibilityCollectiveDeleted
53493
+ * @param [options] Conversion options
53494
+ * @returns Plain object
53495
+ */
53496
+ public static toObject(message: EligibilityCollectiveDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
53497
+
53498
+ /**
53499
+ * Converts this EligibilityCollectiveDeleted to JSON.
53500
+ * @returns JSON object
53501
+ */
53502
+ public toJSON(): { [k: string]: any };
53503
+ }
53504
+
53217
53505
  /** Properties of a PartnershipMemberEnrolled. */
53218
53506
  export interface IPartnershipMemberEnrolled {
53219
53507
 
package/lib/index.js CHANGED
@@ -147423,6 +147423,693 @@ $root.EligibilityCollective = (function() {
147423
147423
  return EligibilityCollective;
147424
147424
  })();
147425
147425
 
147426
+ $root.EligibilityCollectiveCreated = (function() {
147427
+
147428
+ /**
147429
+ * Properties of an EligibilityCollectiveCreated.
147430
+ * @name IEligibilityCollectiveCreated
147431
+ * @interface IEligibilityCollectiveCreated
147432
+ * @property {number|Long|null} [createdTimestamp] EligibilityCollectiveCreated createdTimestamp
147433
+ * @property {IEligibilityCollective|null} [elligibilityCollective] EligibilityCollectiveCreated elligibilityCollective
147434
+ */
147435
+
147436
+ /**
147437
+ * Constructs a new EligibilityCollectiveCreated.
147438
+ * @name EligibilityCollectiveCreated
147439
+ * @classdesc Represents an EligibilityCollectiveCreated.
147440
+ * @implements IEligibilityCollectiveCreated
147441
+ * @constructor
147442
+ * @param {IEligibilityCollectiveCreated=} [properties] Properties to set
147443
+ */
147444
+ function EligibilityCollectiveCreated(properties) {
147445
+ if (properties)
147446
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
147447
+ if (properties[keys[i]] != null)
147448
+ this[keys[i]] = properties[keys[i]];
147449
+ }
147450
+
147451
+ /**
147452
+ * EligibilityCollectiveCreated createdTimestamp.
147453
+ * @member {number|Long} createdTimestamp
147454
+ * @memberof EligibilityCollectiveCreated
147455
+ * @instance
147456
+ */
147457
+ EligibilityCollectiveCreated.prototype.createdTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
147458
+
147459
+ /**
147460
+ * EligibilityCollectiveCreated elligibilityCollective.
147461
+ * @member {IEligibilityCollective|null|undefined} elligibilityCollective
147462
+ * @memberof EligibilityCollectiveCreated
147463
+ * @instance
147464
+ */
147465
+ EligibilityCollectiveCreated.prototype.elligibilityCollective = null;
147466
+
147467
+ /**
147468
+ * Creates a new EligibilityCollectiveCreated instance using the specified properties.
147469
+ * @function create
147470
+ * @memberof EligibilityCollectiveCreated
147471
+ * @static
147472
+ * @param {IEligibilityCollectiveCreated=} [properties] Properties to set
147473
+ * @returns {EligibilityCollectiveCreated} EligibilityCollectiveCreated instance
147474
+ */
147475
+ EligibilityCollectiveCreated.create = function create(properties) {
147476
+ return new EligibilityCollectiveCreated(properties);
147477
+ };
147478
+
147479
+ /**
147480
+ * Encodes the specified EligibilityCollectiveCreated message. Does not implicitly {@link EligibilityCollectiveCreated.verify|verify} messages.
147481
+ * @function encode
147482
+ * @memberof EligibilityCollectiveCreated
147483
+ * @static
147484
+ * @param {IEligibilityCollectiveCreated} message EligibilityCollectiveCreated message or plain object to encode
147485
+ * @param {$protobuf.Writer} [writer] Writer to encode to
147486
+ * @returns {$protobuf.Writer} Writer
147487
+ */
147488
+ EligibilityCollectiveCreated.encode = function encode(message, writer) {
147489
+ if (!writer)
147490
+ writer = $Writer.create();
147491
+ if (message.createdTimestamp != null && message.hasOwnProperty("createdTimestamp"))
147492
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.createdTimestamp);
147493
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147494
+ $root.EligibilityCollective.encode(message.elligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147495
+ return writer;
147496
+ };
147497
+
147498
+ /**
147499
+ * Encodes the specified EligibilityCollectiveCreated message, length delimited. Does not implicitly {@link EligibilityCollectiveCreated.verify|verify} messages.
147500
+ * @function encodeDelimited
147501
+ * @memberof EligibilityCollectiveCreated
147502
+ * @static
147503
+ * @param {IEligibilityCollectiveCreated} message EligibilityCollectiveCreated message or plain object to encode
147504
+ * @param {$protobuf.Writer} [writer] Writer to encode to
147505
+ * @returns {$protobuf.Writer} Writer
147506
+ */
147507
+ EligibilityCollectiveCreated.encodeDelimited = function encodeDelimited(message, writer) {
147508
+ return this.encode(message, writer).ldelim();
147509
+ };
147510
+
147511
+ /**
147512
+ * Decodes an EligibilityCollectiveCreated message from the specified reader or buffer.
147513
+ * @function decode
147514
+ * @memberof EligibilityCollectiveCreated
147515
+ * @static
147516
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
147517
+ * @param {number} [length] Message length if known beforehand
147518
+ * @returns {EligibilityCollectiveCreated} EligibilityCollectiveCreated
147519
+ * @throws {Error} If the payload is not a reader or valid buffer
147520
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
147521
+ */
147522
+ EligibilityCollectiveCreated.decode = function decode(reader, length) {
147523
+ if (!(reader instanceof $Reader))
147524
+ reader = $Reader.create(reader);
147525
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityCollectiveCreated();
147526
+ while (reader.pos < end) {
147527
+ var tag = reader.uint32();
147528
+ switch (tag >>> 3) {
147529
+ case 1:
147530
+ message.createdTimestamp = reader.uint64();
147531
+ break;
147532
+ case 2:
147533
+ message.elligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147534
+ break;
147535
+ default:
147536
+ reader.skipType(tag & 7);
147537
+ break;
147538
+ }
147539
+ }
147540
+ return message;
147541
+ };
147542
+
147543
+ /**
147544
+ * Decodes an EligibilityCollectiveCreated message from the specified reader or buffer, length delimited.
147545
+ * @function decodeDelimited
147546
+ * @memberof EligibilityCollectiveCreated
147547
+ * @static
147548
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
147549
+ * @returns {EligibilityCollectiveCreated} EligibilityCollectiveCreated
147550
+ * @throws {Error} If the payload is not a reader or valid buffer
147551
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
147552
+ */
147553
+ EligibilityCollectiveCreated.decodeDelimited = function decodeDelimited(reader) {
147554
+ if (!(reader instanceof $Reader))
147555
+ reader = new $Reader(reader);
147556
+ return this.decode(reader, reader.uint32());
147557
+ };
147558
+
147559
+ /**
147560
+ * Verifies an EligibilityCollectiveCreated message.
147561
+ * @function verify
147562
+ * @memberof EligibilityCollectiveCreated
147563
+ * @static
147564
+ * @param {Object.<string,*>} message Plain object to verify
147565
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
147566
+ */
147567
+ EligibilityCollectiveCreated.verify = function verify(message) {
147568
+ if (typeof message !== "object" || message === null)
147569
+ return "object expected";
147570
+ if (message.createdTimestamp != null && message.hasOwnProperty("createdTimestamp"))
147571
+ if (!$util.isInteger(message.createdTimestamp) && !(message.createdTimestamp && $util.isInteger(message.createdTimestamp.low) && $util.isInteger(message.createdTimestamp.high)))
147572
+ return "createdTimestamp: integer|Long expected";
147573
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective")) {
147574
+ var error = $root.EligibilityCollective.verify(message.elligibilityCollective);
147575
+ if (error)
147576
+ return "elligibilityCollective." + error;
147577
+ }
147578
+ return null;
147579
+ };
147580
+
147581
+ /**
147582
+ * Creates an EligibilityCollectiveCreated message from a plain object. Also converts values to their respective internal types.
147583
+ * @function fromObject
147584
+ * @memberof EligibilityCollectiveCreated
147585
+ * @static
147586
+ * @param {Object.<string,*>} object Plain object
147587
+ * @returns {EligibilityCollectiveCreated} EligibilityCollectiveCreated
147588
+ */
147589
+ EligibilityCollectiveCreated.fromObject = function fromObject(object) {
147590
+ if (object instanceof $root.EligibilityCollectiveCreated)
147591
+ return object;
147592
+ var message = new $root.EligibilityCollectiveCreated();
147593
+ if (object.createdTimestamp != null)
147594
+ if ($util.Long)
147595
+ (message.createdTimestamp = $util.Long.fromValue(object.createdTimestamp)).unsigned = true;
147596
+ else if (typeof object.createdTimestamp === "string")
147597
+ message.createdTimestamp = parseInt(object.createdTimestamp, 10);
147598
+ else if (typeof object.createdTimestamp === "number")
147599
+ message.createdTimestamp = object.createdTimestamp;
147600
+ else if (typeof object.createdTimestamp === "object")
147601
+ message.createdTimestamp = new $util.LongBits(object.createdTimestamp.low >>> 0, object.createdTimestamp.high >>> 0).toNumber(true);
147602
+ if (object.elligibilityCollective != null) {
147603
+ if (typeof object.elligibilityCollective !== "object")
147604
+ throw TypeError(".EligibilityCollectiveCreated.elligibilityCollective: object expected");
147605
+ message.elligibilityCollective = $root.EligibilityCollective.fromObject(object.elligibilityCollective);
147606
+ }
147607
+ return message;
147608
+ };
147609
+
147610
+ /**
147611
+ * Creates a plain object from an EligibilityCollectiveCreated message. Also converts values to other types if specified.
147612
+ * @function toObject
147613
+ * @memberof EligibilityCollectiveCreated
147614
+ * @static
147615
+ * @param {EligibilityCollectiveCreated} message EligibilityCollectiveCreated
147616
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
147617
+ * @returns {Object.<string,*>} Plain object
147618
+ */
147619
+ EligibilityCollectiveCreated.toObject = function toObject(message, options) {
147620
+ if (!options)
147621
+ options = {};
147622
+ var object = {};
147623
+ if (options.defaults) {
147624
+ if ($util.Long) {
147625
+ var long = new $util.Long(0, 0, true);
147626
+ object.createdTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
147627
+ } else
147628
+ object.createdTimestamp = options.longs === String ? "0" : 0;
147629
+ object.elligibilityCollective = null;
147630
+ }
147631
+ if (message.createdTimestamp != null && message.hasOwnProperty("createdTimestamp"))
147632
+ if (typeof message.createdTimestamp === "number")
147633
+ object.createdTimestamp = options.longs === String ? String(message.createdTimestamp) : message.createdTimestamp;
147634
+ else
147635
+ 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;
147636
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147637
+ object.elligibilityCollective = $root.EligibilityCollective.toObject(message.elligibilityCollective, options);
147638
+ return object;
147639
+ };
147640
+
147641
+ /**
147642
+ * Converts this EligibilityCollectiveCreated to JSON.
147643
+ * @function toJSON
147644
+ * @memberof EligibilityCollectiveCreated
147645
+ * @instance
147646
+ * @returns {Object.<string,*>} JSON object
147647
+ */
147648
+ EligibilityCollectiveCreated.prototype.toJSON = function toJSON() {
147649
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
147650
+ };
147651
+
147652
+ return EligibilityCollectiveCreated;
147653
+ })();
147654
+
147655
+ $root.EligibilityCollectiveUpdated = (function() {
147656
+
147657
+ /**
147658
+ * Properties of an EligibilityCollectiveUpdated.
147659
+ * @name IEligibilityCollectiveUpdated
147660
+ * @interface IEligibilityCollectiveUpdated
147661
+ * @property {number|Long|null} [updatedTimestamp] EligibilityCollectiveUpdated updatedTimestamp
147662
+ * @property {IEligibilityCollective|null} [elligibilityCollective] EligibilityCollectiveUpdated elligibilityCollective
147663
+ */
147664
+
147665
+ /**
147666
+ * Constructs a new EligibilityCollectiveUpdated.
147667
+ * @name EligibilityCollectiveUpdated
147668
+ * @classdesc Represents an EligibilityCollectiveUpdated.
147669
+ * @implements IEligibilityCollectiveUpdated
147670
+ * @constructor
147671
+ * @param {IEligibilityCollectiveUpdated=} [properties] Properties to set
147672
+ */
147673
+ function EligibilityCollectiveUpdated(properties) {
147674
+ if (properties)
147675
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
147676
+ if (properties[keys[i]] != null)
147677
+ this[keys[i]] = properties[keys[i]];
147678
+ }
147679
+
147680
+ /**
147681
+ * EligibilityCollectiveUpdated updatedTimestamp.
147682
+ * @member {number|Long} updatedTimestamp
147683
+ * @memberof EligibilityCollectiveUpdated
147684
+ * @instance
147685
+ */
147686
+ EligibilityCollectiveUpdated.prototype.updatedTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
147687
+
147688
+ /**
147689
+ * EligibilityCollectiveUpdated elligibilityCollective.
147690
+ * @member {IEligibilityCollective|null|undefined} elligibilityCollective
147691
+ * @memberof EligibilityCollectiveUpdated
147692
+ * @instance
147693
+ */
147694
+ EligibilityCollectiveUpdated.prototype.elligibilityCollective = null;
147695
+
147696
+ /**
147697
+ * Creates a new EligibilityCollectiveUpdated instance using the specified properties.
147698
+ * @function create
147699
+ * @memberof EligibilityCollectiveUpdated
147700
+ * @static
147701
+ * @param {IEligibilityCollectiveUpdated=} [properties] Properties to set
147702
+ * @returns {EligibilityCollectiveUpdated} EligibilityCollectiveUpdated instance
147703
+ */
147704
+ EligibilityCollectiveUpdated.create = function create(properties) {
147705
+ return new EligibilityCollectiveUpdated(properties);
147706
+ };
147707
+
147708
+ /**
147709
+ * Encodes the specified EligibilityCollectiveUpdated message. Does not implicitly {@link EligibilityCollectiveUpdated.verify|verify} messages.
147710
+ * @function encode
147711
+ * @memberof EligibilityCollectiveUpdated
147712
+ * @static
147713
+ * @param {IEligibilityCollectiveUpdated} message EligibilityCollectiveUpdated message or plain object to encode
147714
+ * @param {$protobuf.Writer} [writer] Writer to encode to
147715
+ * @returns {$protobuf.Writer} Writer
147716
+ */
147717
+ EligibilityCollectiveUpdated.encode = function encode(message, writer) {
147718
+ if (!writer)
147719
+ writer = $Writer.create();
147720
+ if (message.updatedTimestamp != null && message.hasOwnProperty("updatedTimestamp"))
147721
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.updatedTimestamp);
147722
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147723
+ $root.EligibilityCollective.encode(message.elligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147724
+ return writer;
147725
+ };
147726
+
147727
+ /**
147728
+ * Encodes the specified EligibilityCollectiveUpdated message, length delimited. Does not implicitly {@link EligibilityCollectiveUpdated.verify|verify} messages.
147729
+ * @function encodeDelimited
147730
+ * @memberof EligibilityCollectiveUpdated
147731
+ * @static
147732
+ * @param {IEligibilityCollectiveUpdated} message EligibilityCollectiveUpdated message or plain object to encode
147733
+ * @param {$protobuf.Writer} [writer] Writer to encode to
147734
+ * @returns {$protobuf.Writer} Writer
147735
+ */
147736
+ EligibilityCollectiveUpdated.encodeDelimited = function encodeDelimited(message, writer) {
147737
+ return this.encode(message, writer).ldelim();
147738
+ };
147739
+
147740
+ /**
147741
+ * Decodes an EligibilityCollectiveUpdated message from the specified reader or buffer.
147742
+ * @function decode
147743
+ * @memberof EligibilityCollectiveUpdated
147744
+ * @static
147745
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
147746
+ * @param {number} [length] Message length if known beforehand
147747
+ * @returns {EligibilityCollectiveUpdated} EligibilityCollectiveUpdated
147748
+ * @throws {Error} If the payload is not a reader or valid buffer
147749
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
147750
+ */
147751
+ EligibilityCollectiveUpdated.decode = function decode(reader, length) {
147752
+ if (!(reader instanceof $Reader))
147753
+ reader = $Reader.create(reader);
147754
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityCollectiveUpdated();
147755
+ while (reader.pos < end) {
147756
+ var tag = reader.uint32();
147757
+ switch (tag >>> 3) {
147758
+ case 1:
147759
+ message.updatedTimestamp = reader.uint64();
147760
+ break;
147761
+ case 2:
147762
+ message.elligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147763
+ break;
147764
+ default:
147765
+ reader.skipType(tag & 7);
147766
+ break;
147767
+ }
147768
+ }
147769
+ return message;
147770
+ };
147771
+
147772
+ /**
147773
+ * Decodes an EligibilityCollectiveUpdated message from the specified reader or buffer, length delimited.
147774
+ * @function decodeDelimited
147775
+ * @memberof EligibilityCollectiveUpdated
147776
+ * @static
147777
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
147778
+ * @returns {EligibilityCollectiveUpdated} EligibilityCollectiveUpdated
147779
+ * @throws {Error} If the payload is not a reader or valid buffer
147780
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
147781
+ */
147782
+ EligibilityCollectiveUpdated.decodeDelimited = function decodeDelimited(reader) {
147783
+ if (!(reader instanceof $Reader))
147784
+ reader = new $Reader(reader);
147785
+ return this.decode(reader, reader.uint32());
147786
+ };
147787
+
147788
+ /**
147789
+ * Verifies an EligibilityCollectiveUpdated message.
147790
+ * @function verify
147791
+ * @memberof EligibilityCollectiveUpdated
147792
+ * @static
147793
+ * @param {Object.<string,*>} message Plain object to verify
147794
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
147795
+ */
147796
+ EligibilityCollectiveUpdated.verify = function verify(message) {
147797
+ if (typeof message !== "object" || message === null)
147798
+ return "object expected";
147799
+ if (message.updatedTimestamp != null && message.hasOwnProperty("updatedTimestamp"))
147800
+ if (!$util.isInteger(message.updatedTimestamp) && !(message.updatedTimestamp && $util.isInteger(message.updatedTimestamp.low) && $util.isInteger(message.updatedTimestamp.high)))
147801
+ return "updatedTimestamp: integer|Long expected";
147802
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective")) {
147803
+ var error = $root.EligibilityCollective.verify(message.elligibilityCollective);
147804
+ if (error)
147805
+ return "elligibilityCollective." + error;
147806
+ }
147807
+ return null;
147808
+ };
147809
+
147810
+ /**
147811
+ * Creates an EligibilityCollectiveUpdated message from a plain object. Also converts values to their respective internal types.
147812
+ * @function fromObject
147813
+ * @memberof EligibilityCollectiveUpdated
147814
+ * @static
147815
+ * @param {Object.<string,*>} object Plain object
147816
+ * @returns {EligibilityCollectiveUpdated} EligibilityCollectiveUpdated
147817
+ */
147818
+ EligibilityCollectiveUpdated.fromObject = function fromObject(object) {
147819
+ if (object instanceof $root.EligibilityCollectiveUpdated)
147820
+ return object;
147821
+ var message = new $root.EligibilityCollectiveUpdated();
147822
+ if (object.updatedTimestamp != null)
147823
+ if ($util.Long)
147824
+ (message.updatedTimestamp = $util.Long.fromValue(object.updatedTimestamp)).unsigned = true;
147825
+ else if (typeof object.updatedTimestamp === "string")
147826
+ message.updatedTimestamp = parseInt(object.updatedTimestamp, 10);
147827
+ else if (typeof object.updatedTimestamp === "number")
147828
+ message.updatedTimestamp = object.updatedTimestamp;
147829
+ else if (typeof object.updatedTimestamp === "object")
147830
+ message.updatedTimestamp = new $util.LongBits(object.updatedTimestamp.low >>> 0, object.updatedTimestamp.high >>> 0).toNumber(true);
147831
+ if (object.elligibilityCollective != null) {
147832
+ if (typeof object.elligibilityCollective !== "object")
147833
+ throw TypeError(".EligibilityCollectiveUpdated.elligibilityCollective: object expected");
147834
+ message.elligibilityCollective = $root.EligibilityCollective.fromObject(object.elligibilityCollective);
147835
+ }
147836
+ return message;
147837
+ };
147838
+
147839
+ /**
147840
+ * Creates a plain object from an EligibilityCollectiveUpdated message. Also converts values to other types if specified.
147841
+ * @function toObject
147842
+ * @memberof EligibilityCollectiveUpdated
147843
+ * @static
147844
+ * @param {EligibilityCollectiveUpdated} message EligibilityCollectiveUpdated
147845
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
147846
+ * @returns {Object.<string,*>} Plain object
147847
+ */
147848
+ EligibilityCollectiveUpdated.toObject = function toObject(message, options) {
147849
+ if (!options)
147850
+ options = {};
147851
+ var object = {};
147852
+ if (options.defaults) {
147853
+ if ($util.Long) {
147854
+ var long = new $util.Long(0, 0, true);
147855
+ object.updatedTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
147856
+ } else
147857
+ object.updatedTimestamp = options.longs === String ? "0" : 0;
147858
+ object.elligibilityCollective = null;
147859
+ }
147860
+ if (message.updatedTimestamp != null && message.hasOwnProperty("updatedTimestamp"))
147861
+ if (typeof message.updatedTimestamp === "number")
147862
+ object.updatedTimestamp = options.longs === String ? String(message.updatedTimestamp) : message.updatedTimestamp;
147863
+ else
147864
+ 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;
147865
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147866
+ object.elligibilityCollective = $root.EligibilityCollective.toObject(message.elligibilityCollective, options);
147867
+ return object;
147868
+ };
147869
+
147870
+ /**
147871
+ * Converts this EligibilityCollectiveUpdated to JSON.
147872
+ * @function toJSON
147873
+ * @memberof EligibilityCollectiveUpdated
147874
+ * @instance
147875
+ * @returns {Object.<string,*>} JSON object
147876
+ */
147877
+ EligibilityCollectiveUpdated.prototype.toJSON = function toJSON() {
147878
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
147879
+ };
147880
+
147881
+ return EligibilityCollectiveUpdated;
147882
+ })();
147883
+
147884
+ $root.EligibilityCollectiveDeleted = (function() {
147885
+
147886
+ /**
147887
+ * Properties of an EligibilityCollectiveDeleted.
147888
+ * @name IEligibilityCollectiveDeleted
147889
+ * @interface IEligibilityCollectiveDeleted
147890
+ * @property {number|Long|null} [deletedTimestamp] EligibilityCollectiveDeleted deletedTimestamp
147891
+ * @property {IEligibilityCollective|null} [elligibilityCollective] EligibilityCollectiveDeleted elligibilityCollective
147892
+ */
147893
+
147894
+ /**
147895
+ * Constructs a new EligibilityCollectiveDeleted.
147896
+ * @name EligibilityCollectiveDeleted
147897
+ * @classdesc Represents an EligibilityCollectiveDeleted.
147898
+ * @implements IEligibilityCollectiveDeleted
147899
+ * @constructor
147900
+ * @param {IEligibilityCollectiveDeleted=} [properties] Properties to set
147901
+ */
147902
+ function EligibilityCollectiveDeleted(properties) {
147903
+ if (properties)
147904
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
147905
+ if (properties[keys[i]] != null)
147906
+ this[keys[i]] = properties[keys[i]];
147907
+ }
147908
+
147909
+ /**
147910
+ * EligibilityCollectiveDeleted deletedTimestamp.
147911
+ * @member {number|Long} deletedTimestamp
147912
+ * @memberof EligibilityCollectiveDeleted
147913
+ * @instance
147914
+ */
147915
+ EligibilityCollectiveDeleted.prototype.deletedTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
147916
+
147917
+ /**
147918
+ * EligibilityCollectiveDeleted elligibilityCollective.
147919
+ * @member {IEligibilityCollective|null|undefined} elligibilityCollective
147920
+ * @memberof EligibilityCollectiveDeleted
147921
+ * @instance
147922
+ */
147923
+ EligibilityCollectiveDeleted.prototype.elligibilityCollective = null;
147924
+
147925
+ /**
147926
+ * Creates a new EligibilityCollectiveDeleted instance using the specified properties.
147927
+ * @function create
147928
+ * @memberof EligibilityCollectiveDeleted
147929
+ * @static
147930
+ * @param {IEligibilityCollectiveDeleted=} [properties] Properties to set
147931
+ * @returns {EligibilityCollectiveDeleted} EligibilityCollectiveDeleted instance
147932
+ */
147933
+ EligibilityCollectiveDeleted.create = function create(properties) {
147934
+ return new EligibilityCollectiveDeleted(properties);
147935
+ };
147936
+
147937
+ /**
147938
+ * Encodes the specified EligibilityCollectiveDeleted message. Does not implicitly {@link EligibilityCollectiveDeleted.verify|verify} messages.
147939
+ * @function encode
147940
+ * @memberof EligibilityCollectiveDeleted
147941
+ * @static
147942
+ * @param {IEligibilityCollectiveDeleted} message EligibilityCollectiveDeleted message or plain object to encode
147943
+ * @param {$protobuf.Writer} [writer] Writer to encode to
147944
+ * @returns {$protobuf.Writer} Writer
147945
+ */
147946
+ EligibilityCollectiveDeleted.encode = function encode(message, writer) {
147947
+ if (!writer)
147948
+ writer = $Writer.create();
147949
+ if (message.deletedTimestamp != null && message.hasOwnProperty("deletedTimestamp"))
147950
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.deletedTimestamp);
147951
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
147952
+ $root.EligibilityCollective.encode(message.elligibilityCollective, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
147953
+ return writer;
147954
+ };
147955
+
147956
+ /**
147957
+ * Encodes the specified EligibilityCollectiveDeleted message, length delimited. Does not implicitly {@link EligibilityCollectiveDeleted.verify|verify} messages.
147958
+ * @function encodeDelimited
147959
+ * @memberof EligibilityCollectiveDeleted
147960
+ * @static
147961
+ * @param {IEligibilityCollectiveDeleted} message EligibilityCollectiveDeleted message or plain object to encode
147962
+ * @param {$protobuf.Writer} [writer] Writer to encode to
147963
+ * @returns {$protobuf.Writer} Writer
147964
+ */
147965
+ EligibilityCollectiveDeleted.encodeDelimited = function encodeDelimited(message, writer) {
147966
+ return this.encode(message, writer).ldelim();
147967
+ };
147968
+
147969
+ /**
147970
+ * Decodes an EligibilityCollectiveDeleted message from the specified reader or buffer.
147971
+ * @function decode
147972
+ * @memberof EligibilityCollectiveDeleted
147973
+ * @static
147974
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
147975
+ * @param {number} [length] Message length if known beforehand
147976
+ * @returns {EligibilityCollectiveDeleted} EligibilityCollectiveDeleted
147977
+ * @throws {Error} If the payload is not a reader or valid buffer
147978
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
147979
+ */
147980
+ EligibilityCollectiveDeleted.decode = function decode(reader, length) {
147981
+ if (!(reader instanceof $Reader))
147982
+ reader = $Reader.create(reader);
147983
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityCollectiveDeleted();
147984
+ while (reader.pos < end) {
147985
+ var tag = reader.uint32();
147986
+ switch (tag >>> 3) {
147987
+ case 1:
147988
+ message.deletedTimestamp = reader.uint64();
147989
+ break;
147990
+ case 2:
147991
+ message.elligibilityCollective = $root.EligibilityCollective.decode(reader, reader.uint32());
147992
+ break;
147993
+ default:
147994
+ reader.skipType(tag & 7);
147995
+ break;
147996
+ }
147997
+ }
147998
+ return message;
147999
+ };
148000
+
148001
+ /**
148002
+ * Decodes an EligibilityCollectiveDeleted message from the specified reader or buffer, length delimited.
148003
+ * @function decodeDelimited
148004
+ * @memberof EligibilityCollectiveDeleted
148005
+ * @static
148006
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
148007
+ * @returns {EligibilityCollectiveDeleted} EligibilityCollectiveDeleted
148008
+ * @throws {Error} If the payload is not a reader or valid buffer
148009
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
148010
+ */
148011
+ EligibilityCollectiveDeleted.decodeDelimited = function decodeDelimited(reader) {
148012
+ if (!(reader instanceof $Reader))
148013
+ reader = new $Reader(reader);
148014
+ return this.decode(reader, reader.uint32());
148015
+ };
148016
+
148017
+ /**
148018
+ * Verifies an EligibilityCollectiveDeleted message.
148019
+ * @function verify
148020
+ * @memberof EligibilityCollectiveDeleted
148021
+ * @static
148022
+ * @param {Object.<string,*>} message Plain object to verify
148023
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
148024
+ */
148025
+ EligibilityCollectiveDeleted.verify = function verify(message) {
148026
+ if (typeof message !== "object" || message === null)
148027
+ return "object expected";
148028
+ if (message.deletedTimestamp != null && message.hasOwnProperty("deletedTimestamp"))
148029
+ if (!$util.isInteger(message.deletedTimestamp) && !(message.deletedTimestamp && $util.isInteger(message.deletedTimestamp.low) && $util.isInteger(message.deletedTimestamp.high)))
148030
+ return "deletedTimestamp: integer|Long expected";
148031
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective")) {
148032
+ var error = $root.EligibilityCollective.verify(message.elligibilityCollective);
148033
+ if (error)
148034
+ return "elligibilityCollective." + error;
148035
+ }
148036
+ return null;
148037
+ };
148038
+
148039
+ /**
148040
+ * Creates an EligibilityCollectiveDeleted message from a plain object. Also converts values to their respective internal types.
148041
+ * @function fromObject
148042
+ * @memberof EligibilityCollectiveDeleted
148043
+ * @static
148044
+ * @param {Object.<string,*>} object Plain object
148045
+ * @returns {EligibilityCollectiveDeleted} EligibilityCollectiveDeleted
148046
+ */
148047
+ EligibilityCollectiveDeleted.fromObject = function fromObject(object) {
148048
+ if (object instanceof $root.EligibilityCollectiveDeleted)
148049
+ return object;
148050
+ var message = new $root.EligibilityCollectiveDeleted();
148051
+ if (object.deletedTimestamp != null)
148052
+ if ($util.Long)
148053
+ (message.deletedTimestamp = $util.Long.fromValue(object.deletedTimestamp)).unsigned = true;
148054
+ else if (typeof object.deletedTimestamp === "string")
148055
+ message.deletedTimestamp = parseInt(object.deletedTimestamp, 10);
148056
+ else if (typeof object.deletedTimestamp === "number")
148057
+ message.deletedTimestamp = object.deletedTimestamp;
148058
+ else if (typeof object.deletedTimestamp === "object")
148059
+ message.deletedTimestamp = new $util.LongBits(object.deletedTimestamp.low >>> 0, object.deletedTimestamp.high >>> 0).toNumber(true);
148060
+ if (object.elligibilityCollective != null) {
148061
+ if (typeof object.elligibilityCollective !== "object")
148062
+ throw TypeError(".EligibilityCollectiveDeleted.elligibilityCollective: object expected");
148063
+ message.elligibilityCollective = $root.EligibilityCollective.fromObject(object.elligibilityCollective);
148064
+ }
148065
+ return message;
148066
+ };
148067
+
148068
+ /**
148069
+ * Creates a plain object from an EligibilityCollectiveDeleted message. Also converts values to other types if specified.
148070
+ * @function toObject
148071
+ * @memberof EligibilityCollectiveDeleted
148072
+ * @static
148073
+ * @param {EligibilityCollectiveDeleted} message EligibilityCollectiveDeleted
148074
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
148075
+ * @returns {Object.<string,*>} Plain object
148076
+ */
148077
+ EligibilityCollectiveDeleted.toObject = function toObject(message, options) {
148078
+ if (!options)
148079
+ options = {};
148080
+ var object = {};
148081
+ if (options.defaults) {
148082
+ if ($util.Long) {
148083
+ var long = new $util.Long(0, 0, true);
148084
+ object.deletedTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
148085
+ } else
148086
+ object.deletedTimestamp = options.longs === String ? "0" : 0;
148087
+ object.elligibilityCollective = null;
148088
+ }
148089
+ if (message.deletedTimestamp != null && message.hasOwnProperty("deletedTimestamp"))
148090
+ if (typeof message.deletedTimestamp === "number")
148091
+ object.deletedTimestamp = options.longs === String ? String(message.deletedTimestamp) : message.deletedTimestamp;
148092
+ else
148093
+ 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;
148094
+ if (message.elligibilityCollective != null && message.hasOwnProperty("elligibilityCollective"))
148095
+ object.elligibilityCollective = $root.EligibilityCollective.toObject(message.elligibilityCollective, options);
148096
+ return object;
148097
+ };
148098
+
148099
+ /**
148100
+ * Converts this EligibilityCollectiveDeleted to JSON.
148101
+ * @function toJSON
148102
+ * @memberof EligibilityCollectiveDeleted
148103
+ * @instance
148104
+ * @returns {Object.<string,*>} JSON object
148105
+ */
148106
+ EligibilityCollectiveDeleted.prototype.toJSON = function toJSON() {
148107
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
148108
+ };
148109
+
148110
+ return EligibilityCollectiveDeleted;
148111
+ })();
148112
+
147426
148113
  $root.PartnershipMemberEnrolled = (function() {
147427
148114
 
147428
148115
  /**
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.658.0"
19
+ "version": "1.659.0"
20
20
  }