@headspace/protos-events 1.609.0 → 1.610.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
@@ -51482,6 +51482,312 @@ export class ElfProcessingStats implements IElfProcessingStats {
51482
51482
  public toJSON(): { [k: string]: any };
51483
51483
  }
51484
51484
 
51485
+ /** Properties of an EligibilityRecordCreated. */
51486
+ export interface IEligibilityRecordCreated {
51487
+
51488
+ /** EligibilityRecordCreated timestamp */
51489
+ timestamp?: (number|Long|null);
51490
+
51491
+ /** EligibilityRecordCreated collectiveId */
51492
+ collectiveId?: (number|null);
51493
+
51494
+ /** EligibilityRecordCreated uuid */
51495
+ uuid?: (string|null);
51496
+ }
51497
+
51498
+ /** Represents an EligibilityRecordCreated. */
51499
+ export class EligibilityRecordCreated implements IEligibilityRecordCreated {
51500
+
51501
+ /**
51502
+ * Constructs a new EligibilityRecordCreated.
51503
+ * @param [properties] Properties to set
51504
+ */
51505
+ constructor(properties?: IEligibilityRecordCreated);
51506
+
51507
+ /** EligibilityRecordCreated timestamp. */
51508
+ public timestamp: (number|Long);
51509
+
51510
+ /** EligibilityRecordCreated collectiveId. */
51511
+ public collectiveId: number;
51512
+
51513
+ /** EligibilityRecordCreated uuid. */
51514
+ public uuid: string;
51515
+
51516
+ /**
51517
+ * Creates a new EligibilityRecordCreated instance using the specified properties.
51518
+ * @param [properties] Properties to set
51519
+ * @returns EligibilityRecordCreated instance
51520
+ */
51521
+ public static create(properties?: IEligibilityRecordCreated): EligibilityRecordCreated;
51522
+
51523
+ /**
51524
+ * Encodes the specified EligibilityRecordCreated message. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
51525
+ * @param message EligibilityRecordCreated message or plain object to encode
51526
+ * @param [writer] Writer to encode to
51527
+ * @returns Writer
51528
+ */
51529
+ public static encode(message: IEligibilityRecordCreated, writer?: $protobuf.Writer): $protobuf.Writer;
51530
+
51531
+ /**
51532
+ * Encodes the specified EligibilityRecordCreated message, length delimited. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
51533
+ * @param message EligibilityRecordCreated message or plain object to encode
51534
+ * @param [writer] Writer to encode to
51535
+ * @returns Writer
51536
+ */
51537
+ public static encodeDelimited(message: IEligibilityRecordCreated, writer?: $protobuf.Writer): $protobuf.Writer;
51538
+
51539
+ /**
51540
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer.
51541
+ * @param reader Reader or buffer to decode from
51542
+ * @param [length] Message length if known beforehand
51543
+ * @returns EligibilityRecordCreated
51544
+ * @throws {Error} If the payload is not a reader or valid buffer
51545
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51546
+ */
51547
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordCreated;
51548
+
51549
+ /**
51550
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer, length delimited.
51551
+ * @param reader Reader or buffer to decode from
51552
+ * @returns EligibilityRecordCreated
51553
+ * @throws {Error} If the payload is not a reader or valid buffer
51554
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51555
+ */
51556
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordCreated;
51557
+
51558
+ /**
51559
+ * Verifies an EligibilityRecordCreated message.
51560
+ * @param message Plain object to verify
51561
+ * @returns `null` if valid, otherwise the reason why it is not
51562
+ */
51563
+ public static verify(message: { [k: string]: any }): (string|null);
51564
+
51565
+ /**
51566
+ * Creates an EligibilityRecordCreated message from a plain object. Also converts values to their respective internal types.
51567
+ * @param object Plain object
51568
+ * @returns EligibilityRecordCreated
51569
+ */
51570
+ public static fromObject(object: { [k: string]: any }): EligibilityRecordCreated;
51571
+
51572
+ /**
51573
+ * Creates a plain object from an EligibilityRecordCreated message. Also converts values to other types if specified.
51574
+ * @param message EligibilityRecordCreated
51575
+ * @param [options] Conversion options
51576
+ * @returns Plain object
51577
+ */
51578
+ public static toObject(message: EligibilityRecordCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
51579
+
51580
+ /**
51581
+ * Converts this EligibilityRecordCreated to JSON.
51582
+ * @returns JSON object
51583
+ */
51584
+ public toJSON(): { [k: string]: any };
51585
+ }
51586
+
51587
+ /** Properties of an EligibilityRecordUpdated. */
51588
+ export interface IEligibilityRecordUpdated {
51589
+
51590
+ /** EligibilityRecordUpdated timestamp */
51591
+ timestamp?: (number|Long|null);
51592
+
51593
+ /** EligibilityRecordUpdated collectiveId */
51594
+ collectiveId?: (number|null);
51595
+
51596
+ /** EligibilityRecordUpdated uuid */
51597
+ uuid?: (string|null);
51598
+ }
51599
+
51600
+ /** Represents an EligibilityRecordUpdated. */
51601
+ export class EligibilityRecordUpdated implements IEligibilityRecordUpdated {
51602
+
51603
+ /**
51604
+ * Constructs a new EligibilityRecordUpdated.
51605
+ * @param [properties] Properties to set
51606
+ */
51607
+ constructor(properties?: IEligibilityRecordUpdated);
51608
+
51609
+ /** EligibilityRecordUpdated timestamp. */
51610
+ public timestamp: (number|Long);
51611
+
51612
+ /** EligibilityRecordUpdated collectiveId. */
51613
+ public collectiveId: number;
51614
+
51615
+ /** EligibilityRecordUpdated uuid. */
51616
+ public uuid: string;
51617
+
51618
+ /**
51619
+ * Creates a new EligibilityRecordUpdated instance using the specified properties.
51620
+ * @param [properties] Properties to set
51621
+ * @returns EligibilityRecordUpdated instance
51622
+ */
51623
+ public static create(properties?: IEligibilityRecordUpdated): EligibilityRecordUpdated;
51624
+
51625
+ /**
51626
+ * Encodes the specified EligibilityRecordUpdated message. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
51627
+ * @param message EligibilityRecordUpdated message or plain object to encode
51628
+ * @param [writer] Writer to encode to
51629
+ * @returns Writer
51630
+ */
51631
+ public static encode(message: IEligibilityRecordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
51632
+
51633
+ /**
51634
+ * Encodes the specified EligibilityRecordUpdated message, length delimited. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
51635
+ * @param message EligibilityRecordUpdated message or plain object to encode
51636
+ * @param [writer] Writer to encode to
51637
+ * @returns Writer
51638
+ */
51639
+ public static encodeDelimited(message: IEligibilityRecordUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
51640
+
51641
+ /**
51642
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer.
51643
+ * @param reader Reader or buffer to decode from
51644
+ * @param [length] Message length if known beforehand
51645
+ * @returns EligibilityRecordUpdated
51646
+ * @throws {Error} If the payload is not a reader or valid buffer
51647
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51648
+ */
51649
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordUpdated;
51650
+
51651
+ /**
51652
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer, length delimited.
51653
+ * @param reader Reader or buffer to decode from
51654
+ * @returns EligibilityRecordUpdated
51655
+ * @throws {Error} If the payload is not a reader or valid buffer
51656
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51657
+ */
51658
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordUpdated;
51659
+
51660
+ /**
51661
+ * Verifies an EligibilityRecordUpdated message.
51662
+ * @param message Plain object to verify
51663
+ * @returns `null` if valid, otherwise the reason why it is not
51664
+ */
51665
+ public static verify(message: { [k: string]: any }): (string|null);
51666
+
51667
+ /**
51668
+ * Creates an EligibilityRecordUpdated message from a plain object. Also converts values to their respective internal types.
51669
+ * @param object Plain object
51670
+ * @returns EligibilityRecordUpdated
51671
+ */
51672
+ public static fromObject(object: { [k: string]: any }): EligibilityRecordUpdated;
51673
+
51674
+ /**
51675
+ * Creates a plain object from an EligibilityRecordUpdated message. Also converts values to other types if specified.
51676
+ * @param message EligibilityRecordUpdated
51677
+ * @param [options] Conversion options
51678
+ * @returns Plain object
51679
+ */
51680
+ public static toObject(message: EligibilityRecordUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
51681
+
51682
+ /**
51683
+ * Converts this EligibilityRecordUpdated to JSON.
51684
+ * @returns JSON object
51685
+ */
51686
+ public toJSON(): { [k: string]: any };
51687
+ }
51688
+
51689
+ /** Properties of an EligibilityRecordDeleted. */
51690
+ export interface IEligibilityRecordDeleted {
51691
+
51692
+ /** EligibilityRecordDeleted timestamp */
51693
+ timestamp?: (number|Long|null);
51694
+
51695
+ /** EligibilityRecordDeleted collectiveId */
51696
+ collectiveId?: (number|null);
51697
+
51698
+ /** EligibilityRecordDeleted uuid */
51699
+ uuid?: (string|null);
51700
+ }
51701
+
51702
+ /** Represents an EligibilityRecordDeleted. */
51703
+ export class EligibilityRecordDeleted implements IEligibilityRecordDeleted {
51704
+
51705
+ /**
51706
+ * Constructs a new EligibilityRecordDeleted.
51707
+ * @param [properties] Properties to set
51708
+ */
51709
+ constructor(properties?: IEligibilityRecordDeleted);
51710
+
51711
+ /** EligibilityRecordDeleted timestamp. */
51712
+ public timestamp: (number|Long);
51713
+
51714
+ /** EligibilityRecordDeleted collectiveId. */
51715
+ public collectiveId: number;
51716
+
51717
+ /** EligibilityRecordDeleted uuid. */
51718
+ public uuid: string;
51719
+
51720
+ /**
51721
+ * Creates a new EligibilityRecordDeleted instance using the specified properties.
51722
+ * @param [properties] Properties to set
51723
+ * @returns EligibilityRecordDeleted instance
51724
+ */
51725
+ public static create(properties?: IEligibilityRecordDeleted): EligibilityRecordDeleted;
51726
+
51727
+ /**
51728
+ * Encodes the specified EligibilityRecordDeleted message. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
51729
+ * @param message EligibilityRecordDeleted message or plain object to encode
51730
+ * @param [writer] Writer to encode to
51731
+ * @returns Writer
51732
+ */
51733
+ public static encode(message: IEligibilityRecordDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
51734
+
51735
+ /**
51736
+ * Encodes the specified EligibilityRecordDeleted message, length delimited. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
51737
+ * @param message EligibilityRecordDeleted message or plain object to encode
51738
+ * @param [writer] Writer to encode to
51739
+ * @returns Writer
51740
+ */
51741
+ public static encodeDelimited(message: IEligibilityRecordDeleted, writer?: $protobuf.Writer): $protobuf.Writer;
51742
+
51743
+ /**
51744
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer.
51745
+ * @param reader Reader or buffer to decode from
51746
+ * @param [length] Message length if known beforehand
51747
+ * @returns EligibilityRecordDeleted
51748
+ * @throws {Error} If the payload is not a reader or valid buffer
51749
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51750
+ */
51751
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EligibilityRecordDeleted;
51752
+
51753
+ /**
51754
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer, length delimited.
51755
+ * @param reader Reader or buffer to decode from
51756
+ * @returns EligibilityRecordDeleted
51757
+ * @throws {Error} If the payload is not a reader or valid buffer
51758
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51759
+ */
51760
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EligibilityRecordDeleted;
51761
+
51762
+ /**
51763
+ * Verifies an EligibilityRecordDeleted message.
51764
+ * @param message Plain object to verify
51765
+ * @returns `null` if valid, otherwise the reason why it is not
51766
+ */
51767
+ public static verify(message: { [k: string]: any }): (string|null);
51768
+
51769
+ /**
51770
+ * Creates an EligibilityRecordDeleted message from a plain object. Also converts values to their respective internal types.
51771
+ * @param object Plain object
51772
+ * @returns EligibilityRecordDeleted
51773
+ */
51774
+ public static fromObject(object: { [k: string]: any }): EligibilityRecordDeleted;
51775
+
51776
+ /**
51777
+ * Creates a plain object from an EligibilityRecordDeleted message. Also converts values to other types if specified.
51778
+ * @param message EligibilityRecordDeleted
51779
+ * @param [options] Conversion options
51780
+ * @returns Plain object
51781
+ */
51782
+ public static toObject(message: EligibilityRecordDeleted, options?: $protobuf.IConversionOptions): { [k: string]: any };
51783
+
51784
+ /**
51785
+ * Converts this EligibilityRecordDeleted to JSON.
51786
+ * @returns JSON object
51787
+ */
51788
+ public toJSON(): { [k: string]: any };
51789
+ }
51790
+
51485
51791
  /** Properties of an EnterpriseUserOnboarded. */
51486
51792
  export interface IEnterpriseUserOnboarded {
51487
51793
 
package/lib/index.js CHANGED
@@ -142126,6 +142126,744 @@ $root.ElfProcessingStats = (function() {
142126
142126
  return ElfProcessingStats;
142127
142127
  })();
142128
142128
 
142129
+ $root.EligibilityRecordCreated = (function() {
142130
+
142131
+ /**
142132
+ * Properties of an EligibilityRecordCreated.
142133
+ * @name IEligibilityRecordCreated
142134
+ * @interface IEligibilityRecordCreated
142135
+ * @property {number|Long|null} [timestamp] EligibilityRecordCreated timestamp
142136
+ * @property {number|null} [collectiveId] EligibilityRecordCreated collectiveId
142137
+ * @property {string|null} [uuid] EligibilityRecordCreated uuid
142138
+ */
142139
+
142140
+ /**
142141
+ * Constructs a new EligibilityRecordCreated.
142142
+ * @name EligibilityRecordCreated
142143
+ * @classdesc Represents an EligibilityRecordCreated.
142144
+ * @implements IEligibilityRecordCreated
142145
+ * @constructor
142146
+ * @param {IEligibilityRecordCreated=} [properties] Properties to set
142147
+ */
142148
+ function EligibilityRecordCreated(properties) {
142149
+ if (properties)
142150
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
142151
+ if (properties[keys[i]] != null)
142152
+ this[keys[i]] = properties[keys[i]];
142153
+ }
142154
+
142155
+ /**
142156
+ * EligibilityRecordCreated timestamp.
142157
+ * @member {number|Long} timestamp
142158
+ * @memberof EligibilityRecordCreated
142159
+ * @instance
142160
+ */
142161
+ EligibilityRecordCreated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
142162
+
142163
+ /**
142164
+ * EligibilityRecordCreated collectiveId.
142165
+ * @member {number} collectiveId
142166
+ * @memberof EligibilityRecordCreated
142167
+ * @instance
142168
+ */
142169
+ EligibilityRecordCreated.prototype.collectiveId = 0;
142170
+
142171
+ /**
142172
+ * EligibilityRecordCreated uuid.
142173
+ * @member {string} uuid
142174
+ * @memberof EligibilityRecordCreated
142175
+ * @instance
142176
+ */
142177
+ EligibilityRecordCreated.prototype.uuid = "";
142178
+
142179
+ /**
142180
+ * Creates a new EligibilityRecordCreated instance using the specified properties.
142181
+ * @function create
142182
+ * @memberof EligibilityRecordCreated
142183
+ * @static
142184
+ * @param {IEligibilityRecordCreated=} [properties] Properties to set
142185
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated instance
142186
+ */
142187
+ EligibilityRecordCreated.create = function create(properties) {
142188
+ return new EligibilityRecordCreated(properties);
142189
+ };
142190
+
142191
+ /**
142192
+ * Encodes the specified EligibilityRecordCreated message. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
142193
+ * @function encode
142194
+ * @memberof EligibilityRecordCreated
142195
+ * @static
142196
+ * @param {IEligibilityRecordCreated} message EligibilityRecordCreated message or plain object to encode
142197
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142198
+ * @returns {$protobuf.Writer} Writer
142199
+ */
142200
+ EligibilityRecordCreated.encode = function encode(message, writer) {
142201
+ if (!writer)
142202
+ writer = $Writer.create();
142203
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142204
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
142205
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142206
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.collectiveId);
142207
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142208
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
142209
+ return writer;
142210
+ };
142211
+
142212
+ /**
142213
+ * Encodes the specified EligibilityRecordCreated message, length delimited. Does not implicitly {@link EligibilityRecordCreated.verify|verify} messages.
142214
+ * @function encodeDelimited
142215
+ * @memberof EligibilityRecordCreated
142216
+ * @static
142217
+ * @param {IEligibilityRecordCreated} message EligibilityRecordCreated message or plain object to encode
142218
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142219
+ * @returns {$protobuf.Writer} Writer
142220
+ */
142221
+ EligibilityRecordCreated.encodeDelimited = function encodeDelimited(message, writer) {
142222
+ return this.encode(message, writer).ldelim();
142223
+ };
142224
+
142225
+ /**
142226
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer.
142227
+ * @function decode
142228
+ * @memberof EligibilityRecordCreated
142229
+ * @static
142230
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142231
+ * @param {number} [length] Message length if known beforehand
142232
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated
142233
+ * @throws {Error} If the payload is not a reader or valid buffer
142234
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142235
+ */
142236
+ EligibilityRecordCreated.decode = function decode(reader, length) {
142237
+ if (!(reader instanceof $Reader))
142238
+ reader = $Reader.create(reader);
142239
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordCreated();
142240
+ while (reader.pos < end) {
142241
+ var tag = reader.uint32();
142242
+ switch (tag >>> 3) {
142243
+ case 1:
142244
+ message.timestamp = reader.uint64();
142245
+ break;
142246
+ case 2:
142247
+ message.collectiveId = reader.uint32();
142248
+ break;
142249
+ case 3:
142250
+ message.uuid = reader.string();
142251
+ break;
142252
+ default:
142253
+ reader.skipType(tag & 7);
142254
+ break;
142255
+ }
142256
+ }
142257
+ return message;
142258
+ };
142259
+
142260
+ /**
142261
+ * Decodes an EligibilityRecordCreated message from the specified reader or buffer, length delimited.
142262
+ * @function decodeDelimited
142263
+ * @memberof EligibilityRecordCreated
142264
+ * @static
142265
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142266
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated
142267
+ * @throws {Error} If the payload is not a reader or valid buffer
142268
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142269
+ */
142270
+ EligibilityRecordCreated.decodeDelimited = function decodeDelimited(reader) {
142271
+ if (!(reader instanceof $Reader))
142272
+ reader = new $Reader(reader);
142273
+ return this.decode(reader, reader.uint32());
142274
+ };
142275
+
142276
+ /**
142277
+ * Verifies an EligibilityRecordCreated message.
142278
+ * @function verify
142279
+ * @memberof EligibilityRecordCreated
142280
+ * @static
142281
+ * @param {Object.<string,*>} message Plain object to verify
142282
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
142283
+ */
142284
+ EligibilityRecordCreated.verify = function verify(message) {
142285
+ if (typeof message !== "object" || message === null)
142286
+ return "object expected";
142287
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142288
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
142289
+ return "timestamp: integer|Long expected";
142290
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142291
+ if (!$util.isInteger(message.collectiveId))
142292
+ return "collectiveId: integer expected";
142293
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142294
+ if (!$util.isString(message.uuid))
142295
+ return "uuid: string expected";
142296
+ return null;
142297
+ };
142298
+
142299
+ /**
142300
+ * Creates an EligibilityRecordCreated message from a plain object. Also converts values to their respective internal types.
142301
+ * @function fromObject
142302
+ * @memberof EligibilityRecordCreated
142303
+ * @static
142304
+ * @param {Object.<string,*>} object Plain object
142305
+ * @returns {EligibilityRecordCreated} EligibilityRecordCreated
142306
+ */
142307
+ EligibilityRecordCreated.fromObject = function fromObject(object) {
142308
+ if (object instanceof $root.EligibilityRecordCreated)
142309
+ return object;
142310
+ var message = new $root.EligibilityRecordCreated();
142311
+ if (object.timestamp != null)
142312
+ if ($util.Long)
142313
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
142314
+ else if (typeof object.timestamp === "string")
142315
+ message.timestamp = parseInt(object.timestamp, 10);
142316
+ else if (typeof object.timestamp === "number")
142317
+ message.timestamp = object.timestamp;
142318
+ else if (typeof object.timestamp === "object")
142319
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
142320
+ if (object.collectiveId != null)
142321
+ message.collectiveId = object.collectiveId >>> 0;
142322
+ if (object.uuid != null)
142323
+ message.uuid = String(object.uuid);
142324
+ return message;
142325
+ };
142326
+
142327
+ /**
142328
+ * Creates a plain object from an EligibilityRecordCreated message. Also converts values to other types if specified.
142329
+ * @function toObject
142330
+ * @memberof EligibilityRecordCreated
142331
+ * @static
142332
+ * @param {EligibilityRecordCreated} message EligibilityRecordCreated
142333
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
142334
+ * @returns {Object.<string,*>} Plain object
142335
+ */
142336
+ EligibilityRecordCreated.toObject = function toObject(message, options) {
142337
+ if (!options)
142338
+ options = {};
142339
+ var object = {};
142340
+ if (options.defaults) {
142341
+ if ($util.Long) {
142342
+ var long = new $util.Long(0, 0, true);
142343
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142344
+ } else
142345
+ object.timestamp = options.longs === String ? "0" : 0;
142346
+ object.collectiveId = 0;
142347
+ object.uuid = "";
142348
+ }
142349
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142350
+ if (typeof message.timestamp === "number")
142351
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
142352
+ else
142353
+ 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;
142354
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142355
+ object.collectiveId = message.collectiveId;
142356
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142357
+ object.uuid = message.uuid;
142358
+ return object;
142359
+ };
142360
+
142361
+ /**
142362
+ * Converts this EligibilityRecordCreated to JSON.
142363
+ * @function toJSON
142364
+ * @memberof EligibilityRecordCreated
142365
+ * @instance
142366
+ * @returns {Object.<string,*>} JSON object
142367
+ */
142368
+ EligibilityRecordCreated.prototype.toJSON = function toJSON() {
142369
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
142370
+ };
142371
+
142372
+ return EligibilityRecordCreated;
142373
+ })();
142374
+
142375
+ $root.EligibilityRecordUpdated = (function() {
142376
+
142377
+ /**
142378
+ * Properties of an EligibilityRecordUpdated.
142379
+ * @name IEligibilityRecordUpdated
142380
+ * @interface IEligibilityRecordUpdated
142381
+ * @property {number|Long|null} [timestamp] EligibilityRecordUpdated timestamp
142382
+ * @property {number|null} [collectiveId] EligibilityRecordUpdated collectiveId
142383
+ * @property {string|null} [uuid] EligibilityRecordUpdated uuid
142384
+ */
142385
+
142386
+ /**
142387
+ * Constructs a new EligibilityRecordUpdated.
142388
+ * @name EligibilityRecordUpdated
142389
+ * @classdesc Represents an EligibilityRecordUpdated.
142390
+ * @implements IEligibilityRecordUpdated
142391
+ * @constructor
142392
+ * @param {IEligibilityRecordUpdated=} [properties] Properties to set
142393
+ */
142394
+ function EligibilityRecordUpdated(properties) {
142395
+ if (properties)
142396
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
142397
+ if (properties[keys[i]] != null)
142398
+ this[keys[i]] = properties[keys[i]];
142399
+ }
142400
+
142401
+ /**
142402
+ * EligibilityRecordUpdated timestamp.
142403
+ * @member {number|Long} timestamp
142404
+ * @memberof EligibilityRecordUpdated
142405
+ * @instance
142406
+ */
142407
+ EligibilityRecordUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
142408
+
142409
+ /**
142410
+ * EligibilityRecordUpdated collectiveId.
142411
+ * @member {number} collectiveId
142412
+ * @memberof EligibilityRecordUpdated
142413
+ * @instance
142414
+ */
142415
+ EligibilityRecordUpdated.prototype.collectiveId = 0;
142416
+
142417
+ /**
142418
+ * EligibilityRecordUpdated uuid.
142419
+ * @member {string} uuid
142420
+ * @memberof EligibilityRecordUpdated
142421
+ * @instance
142422
+ */
142423
+ EligibilityRecordUpdated.prototype.uuid = "";
142424
+
142425
+ /**
142426
+ * Creates a new EligibilityRecordUpdated instance using the specified properties.
142427
+ * @function create
142428
+ * @memberof EligibilityRecordUpdated
142429
+ * @static
142430
+ * @param {IEligibilityRecordUpdated=} [properties] Properties to set
142431
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated instance
142432
+ */
142433
+ EligibilityRecordUpdated.create = function create(properties) {
142434
+ return new EligibilityRecordUpdated(properties);
142435
+ };
142436
+
142437
+ /**
142438
+ * Encodes the specified EligibilityRecordUpdated message. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
142439
+ * @function encode
142440
+ * @memberof EligibilityRecordUpdated
142441
+ * @static
142442
+ * @param {IEligibilityRecordUpdated} message EligibilityRecordUpdated message or plain object to encode
142443
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142444
+ * @returns {$protobuf.Writer} Writer
142445
+ */
142446
+ EligibilityRecordUpdated.encode = function encode(message, writer) {
142447
+ if (!writer)
142448
+ writer = $Writer.create();
142449
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142450
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
142451
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142452
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.collectiveId);
142453
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142454
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
142455
+ return writer;
142456
+ };
142457
+
142458
+ /**
142459
+ * Encodes the specified EligibilityRecordUpdated message, length delimited. Does not implicitly {@link EligibilityRecordUpdated.verify|verify} messages.
142460
+ * @function encodeDelimited
142461
+ * @memberof EligibilityRecordUpdated
142462
+ * @static
142463
+ * @param {IEligibilityRecordUpdated} message EligibilityRecordUpdated message or plain object to encode
142464
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142465
+ * @returns {$protobuf.Writer} Writer
142466
+ */
142467
+ EligibilityRecordUpdated.encodeDelimited = function encodeDelimited(message, writer) {
142468
+ return this.encode(message, writer).ldelim();
142469
+ };
142470
+
142471
+ /**
142472
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer.
142473
+ * @function decode
142474
+ * @memberof EligibilityRecordUpdated
142475
+ * @static
142476
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142477
+ * @param {number} [length] Message length if known beforehand
142478
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated
142479
+ * @throws {Error} If the payload is not a reader or valid buffer
142480
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142481
+ */
142482
+ EligibilityRecordUpdated.decode = function decode(reader, length) {
142483
+ if (!(reader instanceof $Reader))
142484
+ reader = $Reader.create(reader);
142485
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordUpdated();
142486
+ while (reader.pos < end) {
142487
+ var tag = reader.uint32();
142488
+ switch (tag >>> 3) {
142489
+ case 1:
142490
+ message.timestamp = reader.uint64();
142491
+ break;
142492
+ case 2:
142493
+ message.collectiveId = reader.uint32();
142494
+ break;
142495
+ case 3:
142496
+ message.uuid = reader.string();
142497
+ break;
142498
+ default:
142499
+ reader.skipType(tag & 7);
142500
+ break;
142501
+ }
142502
+ }
142503
+ return message;
142504
+ };
142505
+
142506
+ /**
142507
+ * Decodes an EligibilityRecordUpdated message from the specified reader or buffer, length delimited.
142508
+ * @function decodeDelimited
142509
+ * @memberof EligibilityRecordUpdated
142510
+ * @static
142511
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142512
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated
142513
+ * @throws {Error} If the payload is not a reader or valid buffer
142514
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142515
+ */
142516
+ EligibilityRecordUpdated.decodeDelimited = function decodeDelimited(reader) {
142517
+ if (!(reader instanceof $Reader))
142518
+ reader = new $Reader(reader);
142519
+ return this.decode(reader, reader.uint32());
142520
+ };
142521
+
142522
+ /**
142523
+ * Verifies an EligibilityRecordUpdated message.
142524
+ * @function verify
142525
+ * @memberof EligibilityRecordUpdated
142526
+ * @static
142527
+ * @param {Object.<string,*>} message Plain object to verify
142528
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
142529
+ */
142530
+ EligibilityRecordUpdated.verify = function verify(message) {
142531
+ if (typeof message !== "object" || message === null)
142532
+ return "object expected";
142533
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142534
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
142535
+ return "timestamp: integer|Long expected";
142536
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142537
+ if (!$util.isInteger(message.collectiveId))
142538
+ return "collectiveId: integer expected";
142539
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142540
+ if (!$util.isString(message.uuid))
142541
+ return "uuid: string expected";
142542
+ return null;
142543
+ };
142544
+
142545
+ /**
142546
+ * Creates an EligibilityRecordUpdated message from a plain object. Also converts values to their respective internal types.
142547
+ * @function fromObject
142548
+ * @memberof EligibilityRecordUpdated
142549
+ * @static
142550
+ * @param {Object.<string,*>} object Plain object
142551
+ * @returns {EligibilityRecordUpdated} EligibilityRecordUpdated
142552
+ */
142553
+ EligibilityRecordUpdated.fromObject = function fromObject(object) {
142554
+ if (object instanceof $root.EligibilityRecordUpdated)
142555
+ return object;
142556
+ var message = new $root.EligibilityRecordUpdated();
142557
+ if (object.timestamp != null)
142558
+ if ($util.Long)
142559
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
142560
+ else if (typeof object.timestamp === "string")
142561
+ message.timestamp = parseInt(object.timestamp, 10);
142562
+ else if (typeof object.timestamp === "number")
142563
+ message.timestamp = object.timestamp;
142564
+ else if (typeof object.timestamp === "object")
142565
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
142566
+ if (object.collectiveId != null)
142567
+ message.collectiveId = object.collectiveId >>> 0;
142568
+ if (object.uuid != null)
142569
+ message.uuid = String(object.uuid);
142570
+ return message;
142571
+ };
142572
+
142573
+ /**
142574
+ * Creates a plain object from an EligibilityRecordUpdated message. Also converts values to other types if specified.
142575
+ * @function toObject
142576
+ * @memberof EligibilityRecordUpdated
142577
+ * @static
142578
+ * @param {EligibilityRecordUpdated} message EligibilityRecordUpdated
142579
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
142580
+ * @returns {Object.<string,*>} Plain object
142581
+ */
142582
+ EligibilityRecordUpdated.toObject = function toObject(message, options) {
142583
+ if (!options)
142584
+ options = {};
142585
+ var object = {};
142586
+ if (options.defaults) {
142587
+ if ($util.Long) {
142588
+ var long = new $util.Long(0, 0, true);
142589
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142590
+ } else
142591
+ object.timestamp = options.longs === String ? "0" : 0;
142592
+ object.collectiveId = 0;
142593
+ object.uuid = "";
142594
+ }
142595
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142596
+ if (typeof message.timestamp === "number")
142597
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
142598
+ else
142599
+ 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;
142600
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142601
+ object.collectiveId = message.collectiveId;
142602
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142603
+ object.uuid = message.uuid;
142604
+ return object;
142605
+ };
142606
+
142607
+ /**
142608
+ * Converts this EligibilityRecordUpdated to JSON.
142609
+ * @function toJSON
142610
+ * @memberof EligibilityRecordUpdated
142611
+ * @instance
142612
+ * @returns {Object.<string,*>} JSON object
142613
+ */
142614
+ EligibilityRecordUpdated.prototype.toJSON = function toJSON() {
142615
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
142616
+ };
142617
+
142618
+ return EligibilityRecordUpdated;
142619
+ })();
142620
+
142621
+ $root.EligibilityRecordDeleted = (function() {
142622
+
142623
+ /**
142624
+ * Properties of an EligibilityRecordDeleted.
142625
+ * @name IEligibilityRecordDeleted
142626
+ * @interface IEligibilityRecordDeleted
142627
+ * @property {number|Long|null} [timestamp] EligibilityRecordDeleted timestamp
142628
+ * @property {number|null} [collectiveId] EligibilityRecordDeleted collectiveId
142629
+ * @property {string|null} [uuid] EligibilityRecordDeleted uuid
142630
+ */
142631
+
142632
+ /**
142633
+ * Constructs a new EligibilityRecordDeleted.
142634
+ * @name EligibilityRecordDeleted
142635
+ * @classdesc Represents an EligibilityRecordDeleted.
142636
+ * @implements IEligibilityRecordDeleted
142637
+ * @constructor
142638
+ * @param {IEligibilityRecordDeleted=} [properties] Properties to set
142639
+ */
142640
+ function EligibilityRecordDeleted(properties) {
142641
+ if (properties)
142642
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
142643
+ if (properties[keys[i]] != null)
142644
+ this[keys[i]] = properties[keys[i]];
142645
+ }
142646
+
142647
+ /**
142648
+ * EligibilityRecordDeleted timestamp.
142649
+ * @member {number|Long} timestamp
142650
+ * @memberof EligibilityRecordDeleted
142651
+ * @instance
142652
+ */
142653
+ EligibilityRecordDeleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
142654
+
142655
+ /**
142656
+ * EligibilityRecordDeleted collectiveId.
142657
+ * @member {number} collectiveId
142658
+ * @memberof EligibilityRecordDeleted
142659
+ * @instance
142660
+ */
142661
+ EligibilityRecordDeleted.prototype.collectiveId = 0;
142662
+
142663
+ /**
142664
+ * EligibilityRecordDeleted uuid.
142665
+ * @member {string} uuid
142666
+ * @memberof EligibilityRecordDeleted
142667
+ * @instance
142668
+ */
142669
+ EligibilityRecordDeleted.prototype.uuid = "";
142670
+
142671
+ /**
142672
+ * Creates a new EligibilityRecordDeleted instance using the specified properties.
142673
+ * @function create
142674
+ * @memberof EligibilityRecordDeleted
142675
+ * @static
142676
+ * @param {IEligibilityRecordDeleted=} [properties] Properties to set
142677
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted instance
142678
+ */
142679
+ EligibilityRecordDeleted.create = function create(properties) {
142680
+ return new EligibilityRecordDeleted(properties);
142681
+ };
142682
+
142683
+ /**
142684
+ * Encodes the specified EligibilityRecordDeleted message. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
142685
+ * @function encode
142686
+ * @memberof EligibilityRecordDeleted
142687
+ * @static
142688
+ * @param {IEligibilityRecordDeleted} message EligibilityRecordDeleted message or plain object to encode
142689
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142690
+ * @returns {$protobuf.Writer} Writer
142691
+ */
142692
+ EligibilityRecordDeleted.encode = function encode(message, writer) {
142693
+ if (!writer)
142694
+ writer = $Writer.create();
142695
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142696
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
142697
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142698
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.collectiveId);
142699
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142700
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.uuid);
142701
+ return writer;
142702
+ };
142703
+
142704
+ /**
142705
+ * Encodes the specified EligibilityRecordDeleted message, length delimited. Does not implicitly {@link EligibilityRecordDeleted.verify|verify} messages.
142706
+ * @function encodeDelimited
142707
+ * @memberof EligibilityRecordDeleted
142708
+ * @static
142709
+ * @param {IEligibilityRecordDeleted} message EligibilityRecordDeleted message or plain object to encode
142710
+ * @param {$protobuf.Writer} [writer] Writer to encode to
142711
+ * @returns {$protobuf.Writer} Writer
142712
+ */
142713
+ EligibilityRecordDeleted.encodeDelimited = function encodeDelimited(message, writer) {
142714
+ return this.encode(message, writer).ldelim();
142715
+ };
142716
+
142717
+ /**
142718
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer.
142719
+ * @function decode
142720
+ * @memberof EligibilityRecordDeleted
142721
+ * @static
142722
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142723
+ * @param {number} [length] Message length if known beforehand
142724
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
142725
+ * @throws {Error} If the payload is not a reader or valid buffer
142726
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142727
+ */
142728
+ EligibilityRecordDeleted.decode = function decode(reader, length) {
142729
+ if (!(reader instanceof $Reader))
142730
+ reader = $Reader.create(reader);
142731
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.EligibilityRecordDeleted();
142732
+ while (reader.pos < end) {
142733
+ var tag = reader.uint32();
142734
+ switch (tag >>> 3) {
142735
+ case 1:
142736
+ message.timestamp = reader.uint64();
142737
+ break;
142738
+ case 2:
142739
+ message.collectiveId = reader.uint32();
142740
+ break;
142741
+ case 3:
142742
+ message.uuid = reader.string();
142743
+ break;
142744
+ default:
142745
+ reader.skipType(tag & 7);
142746
+ break;
142747
+ }
142748
+ }
142749
+ return message;
142750
+ };
142751
+
142752
+ /**
142753
+ * Decodes an EligibilityRecordDeleted message from the specified reader or buffer, length delimited.
142754
+ * @function decodeDelimited
142755
+ * @memberof EligibilityRecordDeleted
142756
+ * @static
142757
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
142758
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
142759
+ * @throws {Error} If the payload is not a reader or valid buffer
142760
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
142761
+ */
142762
+ EligibilityRecordDeleted.decodeDelimited = function decodeDelimited(reader) {
142763
+ if (!(reader instanceof $Reader))
142764
+ reader = new $Reader(reader);
142765
+ return this.decode(reader, reader.uint32());
142766
+ };
142767
+
142768
+ /**
142769
+ * Verifies an EligibilityRecordDeleted message.
142770
+ * @function verify
142771
+ * @memberof EligibilityRecordDeleted
142772
+ * @static
142773
+ * @param {Object.<string,*>} message Plain object to verify
142774
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
142775
+ */
142776
+ EligibilityRecordDeleted.verify = function verify(message) {
142777
+ if (typeof message !== "object" || message === null)
142778
+ return "object expected";
142779
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142780
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
142781
+ return "timestamp: integer|Long expected";
142782
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142783
+ if (!$util.isInteger(message.collectiveId))
142784
+ return "collectiveId: integer expected";
142785
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142786
+ if (!$util.isString(message.uuid))
142787
+ return "uuid: string expected";
142788
+ return null;
142789
+ };
142790
+
142791
+ /**
142792
+ * Creates an EligibilityRecordDeleted message from a plain object. Also converts values to their respective internal types.
142793
+ * @function fromObject
142794
+ * @memberof EligibilityRecordDeleted
142795
+ * @static
142796
+ * @param {Object.<string,*>} object Plain object
142797
+ * @returns {EligibilityRecordDeleted} EligibilityRecordDeleted
142798
+ */
142799
+ EligibilityRecordDeleted.fromObject = function fromObject(object) {
142800
+ if (object instanceof $root.EligibilityRecordDeleted)
142801
+ return object;
142802
+ var message = new $root.EligibilityRecordDeleted();
142803
+ if (object.timestamp != null)
142804
+ if ($util.Long)
142805
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
142806
+ else if (typeof object.timestamp === "string")
142807
+ message.timestamp = parseInt(object.timestamp, 10);
142808
+ else if (typeof object.timestamp === "number")
142809
+ message.timestamp = object.timestamp;
142810
+ else if (typeof object.timestamp === "object")
142811
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
142812
+ if (object.collectiveId != null)
142813
+ message.collectiveId = object.collectiveId >>> 0;
142814
+ if (object.uuid != null)
142815
+ message.uuid = String(object.uuid);
142816
+ return message;
142817
+ };
142818
+
142819
+ /**
142820
+ * Creates a plain object from an EligibilityRecordDeleted message. Also converts values to other types if specified.
142821
+ * @function toObject
142822
+ * @memberof EligibilityRecordDeleted
142823
+ * @static
142824
+ * @param {EligibilityRecordDeleted} message EligibilityRecordDeleted
142825
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
142826
+ * @returns {Object.<string,*>} Plain object
142827
+ */
142828
+ EligibilityRecordDeleted.toObject = function toObject(message, options) {
142829
+ if (!options)
142830
+ options = {};
142831
+ var object = {};
142832
+ if (options.defaults) {
142833
+ if ($util.Long) {
142834
+ var long = new $util.Long(0, 0, true);
142835
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
142836
+ } else
142837
+ object.timestamp = options.longs === String ? "0" : 0;
142838
+ object.collectiveId = 0;
142839
+ object.uuid = "";
142840
+ }
142841
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
142842
+ if (typeof message.timestamp === "number")
142843
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
142844
+ else
142845
+ 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;
142846
+ if (message.collectiveId != null && message.hasOwnProperty("collectiveId"))
142847
+ object.collectiveId = message.collectiveId;
142848
+ if (message.uuid != null && message.hasOwnProperty("uuid"))
142849
+ object.uuid = message.uuid;
142850
+ return object;
142851
+ };
142852
+
142853
+ /**
142854
+ * Converts this EligibilityRecordDeleted to JSON.
142855
+ * @function toJSON
142856
+ * @memberof EligibilityRecordDeleted
142857
+ * @instance
142858
+ * @returns {Object.<string,*>} JSON object
142859
+ */
142860
+ EligibilityRecordDeleted.prototype.toJSON = function toJSON() {
142861
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
142862
+ };
142863
+
142864
+ return EligibilityRecordDeleted;
142865
+ })();
142866
+
142129
142867
  $root.EnterpriseUserOnboarded = (function() {
142130
142868
 
142131
142869
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.609.0"
19
+ "version": "1.610.0"
20
20
  }