@headspace/protos-events 1.658.0 → 1.660.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/lib/index.d.ts +377 -89
  2. package/lib/index.js +852 -165
  3. package/package.json +1 -1
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
  /**
@@ -178603,26 +179290,26 @@ $root.PubnubChatMessage = (function() {
178603
179290
  return PubnubChatMessage;
178604
179291
  })();
178605
179292
 
178606
- $root.RealTimeEligibilityCheckRequested = (function() {
179293
+ $root.B2BRealTimeEligibilityCheckRequested = (function() {
178607
179294
 
178608
179295
  /**
178609
- * Properties of a RealTimeEligibilityCheckRequested.
178610
- * @name IRealTimeEligibilityCheckRequested
178611
- * @interface IRealTimeEligibilityCheckRequested
178612
- * @property {string|null} [hsUserId] RealTimeEligibilityCheckRequested hsUserId
178613
- * @property {string|null} [hsEligibilityRecordUuid] RealTimeEligibilityCheckRequested hsEligibilityRecordUuid
178614
- * @property {string|null} [checkRequestId] RealTimeEligibilityCheckRequested checkRequestId
179296
+ * Properties of a B2BRealTimeEligibilityCheckRequested.
179297
+ * @name IB2BRealTimeEligibilityCheckRequested
179298
+ * @interface IB2BRealTimeEligibilityCheckRequested
179299
+ * @property {string|null} [hsUserId] B2BRealTimeEligibilityCheckRequested hsUserId
179300
+ * @property {string|null} [hsEligibilityRecordUuid] B2BRealTimeEligibilityCheckRequested hsEligibilityRecordUuid
179301
+ * @property {string|null} [checkRequestId] B2BRealTimeEligibilityCheckRequested checkRequestId
178615
179302
  */
178616
179303
 
178617
179304
  /**
178618
- * Constructs a new RealTimeEligibilityCheckRequested.
178619
- * @name RealTimeEligibilityCheckRequested
178620
- * @classdesc Represents a RealTimeEligibilityCheckRequested.
178621
- * @implements IRealTimeEligibilityCheckRequested
179305
+ * Constructs a new B2BRealTimeEligibilityCheckRequested.
179306
+ * @name B2BRealTimeEligibilityCheckRequested
179307
+ * @classdesc Represents a B2BRealTimeEligibilityCheckRequested.
179308
+ * @implements IB2BRealTimeEligibilityCheckRequested
178622
179309
  * @constructor
178623
- * @param {IRealTimeEligibilityCheckRequested=} [properties] Properties to set
179310
+ * @param {IB2BRealTimeEligibilityCheckRequested=} [properties] Properties to set
178624
179311
  */
178625
- function RealTimeEligibilityCheckRequested(properties) {
179312
+ function B2BRealTimeEligibilityCheckRequested(properties) {
178626
179313
  if (properties)
178627
179314
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
178628
179315
  if (properties[keys[i]] != null)
@@ -178630,51 +179317,51 @@ $root.RealTimeEligibilityCheckRequested = (function() {
178630
179317
  }
178631
179318
 
178632
179319
  /**
178633
- * RealTimeEligibilityCheckRequested hsUserId.
179320
+ * B2BRealTimeEligibilityCheckRequested hsUserId.
178634
179321
  * @member {string} hsUserId
178635
- * @memberof RealTimeEligibilityCheckRequested
179322
+ * @memberof B2BRealTimeEligibilityCheckRequested
178636
179323
  * @instance
178637
179324
  */
178638
- RealTimeEligibilityCheckRequested.prototype.hsUserId = "";
179325
+ B2BRealTimeEligibilityCheckRequested.prototype.hsUserId = "";
178639
179326
 
178640
179327
  /**
178641
- * RealTimeEligibilityCheckRequested hsEligibilityRecordUuid.
179328
+ * B2BRealTimeEligibilityCheckRequested hsEligibilityRecordUuid.
178642
179329
  * @member {string} hsEligibilityRecordUuid
178643
- * @memberof RealTimeEligibilityCheckRequested
179330
+ * @memberof B2BRealTimeEligibilityCheckRequested
178644
179331
  * @instance
178645
179332
  */
178646
- RealTimeEligibilityCheckRequested.prototype.hsEligibilityRecordUuid = "";
179333
+ B2BRealTimeEligibilityCheckRequested.prototype.hsEligibilityRecordUuid = "";
178647
179334
 
178648
179335
  /**
178649
- * RealTimeEligibilityCheckRequested checkRequestId.
179336
+ * B2BRealTimeEligibilityCheckRequested checkRequestId.
178650
179337
  * @member {string} checkRequestId
178651
- * @memberof RealTimeEligibilityCheckRequested
179338
+ * @memberof B2BRealTimeEligibilityCheckRequested
178652
179339
  * @instance
178653
179340
  */
178654
- RealTimeEligibilityCheckRequested.prototype.checkRequestId = "";
179341
+ B2BRealTimeEligibilityCheckRequested.prototype.checkRequestId = "";
178655
179342
 
178656
179343
  /**
178657
- * Creates a new RealTimeEligibilityCheckRequested instance using the specified properties.
179344
+ * Creates a new B2BRealTimeEligibilityCheckRequested instance using the specified properties.
178658
179345
  * @function create
178659
- * @memberof RealTimeEligibilityCheckRequested
179346
+ * @memberof B2BRealTimeEligibilityCheckRequested
178660
179347
  * @static
178661
- * @param {IRealTimeEligibilityCheckRequested=} [properties] Properties to set
178662
- * @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested instance
179348
+ * @param {IB2BRealTimeEligibilityCheckRequested=} [properties] Properties to set
179349
+ * @returns {B2BRealTimeEligibilityCheckRequested} B2BRealTimeEligibilityCheckRequested instance
178663
179350
  */
178664
- RealTimeEligibilityCheckRequested.create = function create(properties) {
178665
- return new RealTimeEligibilityCheckRequested(properties);
179351
+ B2BRealTimeEligibilityCheckRequested.create = function create(properties) {
179352
+ return new B2BRealTimeEligibilityCheckRequested(properties);
178666
179353
  };
178667
179354
 
178668
179355
  /**
178669
- * Encodes the specified RealTimeEligibilityCheckRequested message. Does not implicitly {@link RealTimeEligibilityCheckRequested.verify|verify} messages.
179356
+ * Encodes the specified B2BRealTimeEligibilityCheckRequested message. Does not implicitly {@link B2BRealTimeEligibilityCheckRequested.verify|verify} messages.
178670
179357
  * @function encode
178671
- * @memberof RealTimeEligibilityCheckRequested
179358
+ * @memberof B2BRealTimeEligibilityCheckRequested
178672
179359
  * @static
178673
- * @param {IRealTimeEligibilityCheckRequested} message RealTimeEligibilityCheckRequested message or plain object to encode
179360
+ * @param {IB2BRealTimeEligibilityCheckRequested} message B2BRealTimeEligibilityCheckRequested message or plain object to encode
178674
179361
  * @param {$protobuf.Writer} [writer] Writer to encode to
178675
179362
  * @returns {$protobuf.Writer} Writer
178676
179363
  */
178677
- RealTimeEligibilityCheckRequested.encode = function encode(message, writer) {
179364
+ B2BRealTimeEligibilityCheckRequested.encode = function encode(message, writer) {
178678
179365
  if (!writer)
178679
179366
  writer = $Writer.create();
178680
179367
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
@@ -178687,33 +179374,33 @@ $root.RealTimeEligibilityCheckRequested = (function() {
178687
179374
  };
178688
179375
 
178689
179376
  /**
178690
- * Encodes the specified RealTimeEligibilityCheckRequested message, length delimited. Does not implicitly {@link RealTimeEligibilityCheckRequested.verify|verify} messages.
179377
+ * Encodes the specified B2BRealTimeEligibilityCheckRequested message, length delimited. Does not implicitly {@link B2BRealTimeEligibilityCheckRequested.verify|verify} messages.
178691
179378
  * @function encodeDelimited
178692
- * @memberof RealTimeEligibilityCheckRequested
179379
+ * @memberof B2BRealTimeEligibilityCheckRequested
178693
179380
  * @static
178694
- * @param {IRealTimeEligibilityCheckRequested} message RealTimeEligibilityCheckRequested message or plain object to encode
179381
+ * @param {IB2BRealTimeEligibilityCheckRequested} message B2BRealTimeEligibilityCheckRequested message or plain object to encode
178695
179382
  * @param {$protobuf.Writer} [writer] Writer to encode to
178696
179383
  * @returns {$protobuf.Writer} Writer
178697
179384
  */
178698
- RealTimeEligibilityCheckRequested.encodeDelimited = function encodeDelimited(message, writer) {
179385
+ B2BRealTimeEligibilityCheckRequested.encodeDelimited = function encodeDelimited(message, writer) {
178699
179386
  return this.encode(message, writer).ldelim();
178700
179387
  };
178701
179388
 
178702
179389
  /**
178703
- * Decodes a RealTimeEligibilityCheckRequested message from the specified reader or buffer.
179390
+ * Decodes a B2BRealTimeEligibilityCheckRequested message from the specified reader or buffer.
178704
179391
  * @function decode
178705
- * @memberof RealTimeEligibilityCheckRequested
179392
+ * @memberof B2BRealTimeEligibilityCheckRequested
178706
179393
  * @static
178707
179394
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
178708
179395
  * @param {number} [length] Message length if known beforehand
178709
- * @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested
179396
+ * @returns {B2BRealTimeEligibilityCheckRequested} B2BRealTimeEligibilityCheckRequested
178710
179397
  * @throws {Error} If the payload is not a reader or valid buffer
178711
179398
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
178712
179399
  */
178713
- RealTimeEligibilityCheckRequested.decode = function decode(reader, length) {
179400
+ B2BRealTimeEligibilityCheckRequested.decode = function decode(reader, length) {
178714
179401
  if (!(reader instanceof $Reader))
178715
179402
  reader = $Reader.create(reader);
178716
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RealTimeEligibilityCheckRequested();
179403
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.B2BRealTimeEligibilityCheckRequested();
178717
179404
  while (reader.pos < end) {
178718
179405
  var tag = reader.uint32();
178719
179406
  switch (tag >>> 3) {
@@ -178735,30 +179422,30 @@ $root.RealTimeEligibilityCheckRequested = (function() {
178735
179422
  };
178736
179423
 
178737
179424
  /**
178738
- * Decodes a RealTimeEligibilityCheckRequested message from the specified reader or buffer, length delimited.
179425
+ * Decodes a B2BRealTimeEligibilityCheckRequested message from the specified reader or buffer, length delimited.
178739
179426
  * @function decodeDelimited
178740
- * @memberof RealTimeEligibilityCheckRequested
179427
+ * @memberof B2BRealTimeEligibilityCheckRequested
178741
179428
  * @static
178742
179429
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
178743
- * @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested
179430
+ * @returns {B2BRealTimeEligibilityCheckRequested} B2BRealTimeEligibilityCheckRequested
178744
179431
  * @throws {Error} If the payload is not a reader or valid buffer
178745
179432
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
178746
179433
  */
178747
- RealTimeEligibilityCheckRequested.decodeDelimited = function decodeDelimited(reader) {
179434
+ B2BRealTimeEligibilityCheckRequested.decodeDelimited = function decodeDelimited(reader) {
178748
179435
  if (!(reader instanceof $Reader))
178749
179436
  reader = new $Reader(reader);
178750
179437
  return this.decode(reader, reader.uint32());
178751
179438
  };
178752
179439
 
178753
179440
  /**
178754
- * Verifies a RealTimeEligibilityCheckRequested message.
179441
+ * Verifies a B2BRealTimeEligibilityCheckRequested message.
178755
179442
  * @function verify
178756
- * @memberof RealTimeEligibilityCheckRequested
179443
+ * @memberof B2BRealTimeEligibilityCheckRequested
178757
179444
  * @static
178758
179445
  * @param {Object.<string,*>} message Plain object to verify
178759
179446
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
178760
179447
  */
178761
- RealTimeEligibilityCheckRequested.verify = function verify(message) {
179448
+ B2BRealTimeEligibilityCheckRequested.verify = function verify(message) {
178762
179449
  if (typeof message !== "object" || message === null)
178763
179450
  return "object expected";
178764
179451
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
@@ -178774,17 +179461,17 @@ $root.RealTimeEligibilityCheckRequested = (function() {
178774
179461
  };
178775
179462
 
178776
179463
  /**
178777
- * Creates a RealTimeEligibilityCheckRequested message from a plain object. Also converts values to their respective internal types.
179464
+ * Creates a B2BRealTimeEligibilityCheckRequested message from a plain object. Also converts values to their respective internal types.
178778
179465
  * @function fromObject
178779
- * @memberof RealTimeEligibilityCheckRequested
179466
+ * @memberof B2BRealTimeEligibilityCheckRequested
178780
179467
  * @static
178781
179468
  * @param {Object.<string,*>} object Plain object
178782
- * @returns {RealTimeEligibilityCheckRequested} RealTimeEligibilityCheckRequested
179469
+ * @returns {B2BRealTimeEligibilityCheckRequested} B2BRealTimeEligibilityCheckRequested
178783
179470
  */
178784
- RealTimeEligibilityCheckRequested.fromObject = function fromObject(object) {
178785
- if (object instanceof $root.RealTimeEligibilityCheckRequested)
179471
+ B2BRealTimeEligibilityCheckRequested.fromObject = function fromObject(object) {
179472
+ if (object instanceof $root.B2BRealTimeEligibilityCheckRequested)
178786
179473
  return object;
178787
- var message = new $root.RealTimeEligibilityCheckRequested();
179474
+ var message = new $root.B2BRealTimeEligibilityCheckRequested();
178788
179475
  if (object.hsUserId != null)
178789
179476
  message.hsUserId = String(object.hsUserId);
178790
179477
  if (object.hsEligibilityRecordUuid != null)
@@ -178795,15 +179482,15 @@ $root.RealTimeEligibilityCheckRequested = (function() {
178795
179482
  };
178796
179483
 
178797
179484
  /**
178798
- * Creates a plain object from a RealTimeEligibilityCheckRequested message. Also converts values to other types if specified.
179485
+ * Creates a plain object from a B2BRealTimeEligibilityCheckRequested message. Also converts values to other types if specified.
178799
179486
  * @function toObject
178800
- * @memberof RealTimeEligibilityCheckRequested
179487
+ * @memberof B2BRealTimeEligibilityCheckRequested
178801
179488
  * @static
178802
- * @param {RealTimeEligibilityCheckRequested} message RealTimeEligibilityCheckRequested
179489
+ * @param {B2BRealTimeEligibilityCheckRequested} message B2BRealTimeEligibilityCheckRequested
178803
179490
  * @param {$protobuf.IConversionOptions} [options] Conversion options
178804
179491
  * @returns {Object.<string,*>} Plain object
178805
179492
  */
178806
- RealTimeEligibilityCheckRequested.toObject = function toObject(message, options) {
179493
+ B2BRealTimeEligibilityCheckRequested.toObject = function toObject(message, options) {
178807
179494
  if (!options)
178808
179495
  options = {};
178809
179496
  var object = {};
@@ -178822,75 +179509,75 @@ $root.RealTimeEligibilityCheckRequested = (function() {
178822
179509
  };
178823
179510
 
178824
179511
  /**
178825
- * Converts this RealTimeEligibilityCheckRequested to JSON.
179512
+ * Converts this B2BRealTimeEligibilityCheckRequested to JSON.
178826
179513
  * @function toJSON
178827
- * @memberof RealTimeEligibilityCheckRequested
179514
+ * @memberof B2BRealTimeEligibilityCheckRequested
178828
179515
  * @instance
178829
179516
  * @returns {Object.<string,*>} JSON object
178830
179517
  */
178831
- RealTimeEligibilityCheckRequested.prototype.toJSON = function toJSON() {
179518
+ B2BRealTimeEligibilityCheckRequested.prototype.toJSON = function toJSON() {
178832
179519
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
178833
179520
  };
178834
179521
 
178835
- return RealTimeEligibilityCheckRequested;
179522
+ return B2BRealTimeEligibilityCheckRequested;
178836
179523
  })();
178837
179524
 
178838
179525
  /**
178839
- * RealTimeEligibilityCheckStatus enum.
178840
- * @name RealTimeEligibilityCheckStatus
179526
+ * GingerRealTimeEligibilityCheckStatus enum.
179527
+ * @name GingerRealTimeEligibilityCheckStatus
178841
179528
  * @enum {string}
178842
- * @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN=0 REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN value
178843
- * @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS=1 REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS value
178844
- * @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR=2 REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR value
178845
- * @property {number} REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR=3 REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR value
179529
+ * @property {number} GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN=0 GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN value
179530
+ * @property {number} GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS=1 GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS value
179531
+ * @property {number} GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR=2 GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR value
179532
+ * @property {number} GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR=3 GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR value
178846
179533
  */
178847
- $root.RealTimeEligibilityCheckStatus = (function() {
179534
+ $root.GingerRealTimeEligibilityCheckStatus = (function() {
178848
179535
  var valuesById = {}, values = Object.create(valuesById);
178849
- values[valuesById[0] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN"] = 0;
178850
- values[valuesById[1] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS"] = 1;
178851
- values[valuesById[2] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR"] = 2;
178852
- values[valuesById[3] = "REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR"] = 3;
179536
+ values[valuesById[0] = "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN"] = 0;
179537
+ values[valuesById[1] = "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS"] = 1;
179538
+ values[valuesById[2] = "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR"] = 2;
179539
+ values[valuesById[3] = "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR"] = 3;
178853
179540
  return values;
178854
179541
  })();
178855
179542
 
178856
179543
  /**
178857
- * RealTimeEligibilityCheckCoverageStatus enum.
178858
- * @name RealTimeEligibilityCheckCoverageStatus
179544
+ * GingerRealTimeEligibilityCheckCoverageStatus enum.
179545
+ * @name GingerRealTimeEligibilityCheckCoverageStatus
178859
179546
  * @enum {string}
178860
- * @property {number} REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN=0 REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN value
178861
- * @property {number} REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE=1 REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE value
178862
- * @property {number} REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE=2 REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE value
179547
+ * @property {number} GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN=0 GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN value
179548
+ * @property {number} GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE=1 GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE value
179549
+ * @property {number} GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE=2 GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE value
178863
179550
  */
178864
- $root.RealTimeEligibilityCheckCoverageStatus = (function() {
179551
+ $root.GingerRealTimeEligibilityCheckCoverageStatus = (function() {
178865
179552
  var valuesById = {}, values = Object.create(valuesById);
178866
- values[valuesById[0] = "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN"] = 0;
178867
- values[valuesById[1] = "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE"] = 1;
178868
- values[valuesById[2] = "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE"] = 2;
179553
+ values[valuesById[0] = "GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN"] = 0;
179554
+ values[valuesById[1] = "GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE"] = 1;
179555
+ values[valuesById[2] = "GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE"] = 2;
178869
179556
  return values;
178870
179557
  })();
178871
179558
 
178872
- $root.RealTimeEligibilityCheckCompleted = (function() {
179559
+ $root.GingerRealTimeEligibilityCheckCompleted = (function() {
178873
179560
 
178874
179561
  /**
178875
- * Properties of a RealTimeEligibilityCheckCompleted.
178876
- * @name IRealTimeEligibilityCheckCompleted
178877
- * @interface IRealTimeEligibilityCheckCompleted
178878
- * @property {string|null} [hsUserId] RealTimeEligibilityCheckCompleted hsUserId
178879
- * @property {string|null} [hsEligibilityRecordUuid] RealTimeEligibilityCheckCompleted hsEligibilityRecordUuid
178880
- * @property {string|null} [checkRequestId] RealTimeEligibilityCheckCompleted checkRequestId
178881
- * @property {RealTimeEligibilityCheckStatus|null} [checkStatus] RealTimeEligibilityCheckCompleted checkStatus
178882
- * @property {RealTimeEligibilityCheckCoverageStatus|null} [coverageStatus] RealTimeEligibilityCheckCompleted coverageStatus
179562
+ * Properties of a GingerRealTimeEligibilityCheckCompleted.
179563
+ * @name IGingerRealTimeEligibilityCheckCompleted
179564
+ * @interface IGingerRealTimeEligibilityCheckCompleted
179565
+ * @property {string|null} [hsUserId] GingerRealTimeEligibilityCheckCompleted hsUserId
179566
+ * @property {string|null} [hsEligibilityRecordUuid] GingerRealTimeEligibilityCheckCompleted hsEligibilityRecordUuid
179567
+ * @property {string|null} [checkRequestId] GingerRealTimeEligibilityCheckCompleted checkRequestId
179568
+ * @property {GingerRealTimeEligibilityCheckStatus|null} [checkStatus] GingerRealTimeEligibilityCheckCompleted checkStatus
179569
+ * @property {GingerRealTimeEligibilityCheckCoverageStatus|null} [coverageStatus] GingerRealTimeEligibilityCheckCompleted coverageStatus
178883
179570
  */
178884
179571
 
178885
179572
  /**
178886
- * Constructs a new RealTimeEligibilityCheckCompleted.
178887
- * @name RealTimeEligibilityCheckCompleted
178888
- * @classdesc Represents a RealTimeEligibilityCheckCompleted.
178889
- * @implements IRealTimeEligibilityCheckCompleted
179573
+ * Constructs a new GingerRealTimeEligibilityCheckCompleted.
179574
+ * @name GingerRealTimeEligibilityCheckCompleted
179575
+ * @classdesc Represents a GingerRealTimeEligibilityCheckCompleted.
179576
+ * @implements IGingerRealTimeEligibilityCheckCompleted
178890
179577
  * @constructor
178891
- * @param {IRealTimeEligibilityCheckCompleted=} [properties] Properties to set
179578
+ * @param {IGingerRealTimeEligibilityCheckCompleted=} [properties] Properties to set
178892
179579
  */
178893
- function RealTimeEligibilityCheckCompleted(properties) {
179580
+ function GingerRealTimeEligibilityCheckCompleted(properties) {
178894
179581
  if (properties)
178895
179582
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
178896
179583
  if (properties[keys[i]] != null)
@@ -178898,67 +179585,67 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
178898
179585
  }
178899
179586
 
178900
179587
  /**
178901
- * RealTimeEligibilityCheckCompleted hsUserId.
179588
+ * GingerRealTimeEligibilityCheckCompleted hsUserId.
178902
179589
  * @member {string} hsUserId
178903
- * @memberof RealTimeEligibilityCheckCompleted
179590
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178904
179591
  * @instance
178905
179592
  */
178906
- RealTimeEligibilityCheckCompleted.prototype.hsUserId = "";
179593
+ GingerRealTimeEligibilityCheckCompleted.prototype.hsUserId = "";
178907
179594
 
178908
179595
  /**
178909
- * RealTimeEligibilityCheckCompleted hsEligibilityRecordUuid.
179596
+ * GingerRealTimeEligibilityCheckCompleted hsEligibilityRecordUuid.
178910
179597
  * @member {string} hsEligibilityRecordUuid
178911
- * @memberof RealTimeEligibilityCheckCompleted
179598
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178912
179599
  * @instance
178913
179600
  */
178914
- RealTimeEligibilityCheckCompleted.prototype.hsEligibilityRecordUuid = "";
179601
+ GingerRealTimeEligibilityCheckCompleted.prototype.hsEligibilityRecordUuid = "";
178915
179602
 
178916
179603
  /**
178917
- * RealTimeEligibilityCheckCompleted checkRequestId.
179604
+ * GingerRealTimeEligibilityCheckCompleted checkRequestId.
178918
179605
  * @member {string} checkRequestId
178919
- * @memberof RealTimeEligibilityCheckCompleted
179606
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178920
179607
  * @instance
178921
179608
  */
178922
- RealTimeEligibilityCheckCompleted.prototype.checkRequestId = "";
179609
+ GingerRealTimeEligibilityCheckCompleted.prototype.checkRequestId = "";
178923
179610
 
178924
179611
  /**
178925
- * RealTimeEligibilityCheckCompleted checkStatus.
178926
- * @member {RealTimeEligibilityCheckStatus} checkStatus
178927
- * @memberof RealTimeEligibilityCheckCompleted
179612
+ * GingerRealTimeEligibilityCheckCompleted checkStatus.
179613
+ * @member {GingerRealTimeEligibilityCheckStatus} checkStatus
179614
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178928
179615
  * @instance
178929
179616
  */
178930
- RealTimeEligibilityCheckCompleted.prototype.checkStatus = 0;
179617
+ GingerRealTimeEligibilityCheckCompleted.prototype.checkStatus = 0;
178931
179618
 
178932
179619
  /**
178933
- * RealTimeEligibilityCheckCompleted coverageStatus.
178934
- * @member {RealTimeEligibilityCheckCoverageStatus} coverageStatus
178935
- * @memberof RealTimeEligibilityCheckCompleted
179620
+ * GingerRealTimeEligibilityCheckCompleted coverageStatus.
179621
+ * @member {GingerRealTimeEligibilityCheckCoverageStatus} coverageStatus
179622
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178936
179623
  * @instance
178937
179624
  */
178938
- RealTimeEligibilityCheckCompleted.prototype.coverageStatus = 0;
179625
+ GingerRealTimeEligibilityCheckCompleted.prototype.coverageStatus = 0;
178939
179626
 
178940
179627
  /**
178941
- * Creates a new RealTimeEligibilityCheckCompleted instance using the specified properties.
179628
+ * Creates a new GingerRealTimeEligibilityCheckCompleted instance using the specified properties.
178942
179629
  * @function create
178943
- * @memberof RealTimeEligibilityCheckCompleted
179630
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178944
179631
  * @static
178945
- * @param {IRealTimeEligibilityCheckCompleted=} [properties] Properties to set
178946
- * @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted instance
179632
+ * @param {IGingerRealTimeEligibilityCheckCompleted=} [properties] Properties to set
179633
+ * @returns {GingerRealTimeEligibilityCheckCompleted} GingerRealTimeEligibilityCheckCompleted instance
178947
179634
  */
178948
- RealTimeEligibilityCheckCompleted.create = function create(properties) {
178949
- return new RealTimeEligibilityCheckCompleted(properties);
179635
+ GingerRealTimeEligibilityCheckCompleted.create = function create(properties) {
179636
+ return new GingerRealTimeEligibilityCheckCompleted(properties);
178950
179637
  };
178951
179638
 
178952
179639
  /**
178953
- * Encodes the specified RealTimeEligibilityCheckCompleted message. Does not implicitly {@link RealTimeEligibilityCheckCompleted.verify|verify} messages.
179640
+ * Encodes the specified GingerRealTimeEligibilityCheckCompleted message. Does not implicitly {@link GingerRealTimeEligibilityCheckCompleted.verify|verify} messages.
178954
179641
  * @function encode
178955
- * @memberof RealTimeEligibilityCheckCompleted
179642
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178956
179643
  * @static
178957
- * @param {IRealTimeEligibilityCheckCompleted} message RealTimeEligibilityCheckCompleted message or plain object to encode
179644
+ * @param {IGingerRealTimeEligibilityCheckCompleted} message GingerRealTimeEligibilityCheckCompleted message or plain object to encode
178958
179645
  * @param {$protobuf.Writer} [writer] Writer to encode to
178959
179646
  * @returns {$protobuf.Writer} Writer
178960
179647
  */
178961
- RealTimeEligibilityCheckCompleted.encode = function encode(message, writer) {
179648
+ GingerRealTimeEligibilityCheckCompleted.encode = function encode(message, writer) {
178962
179649
  if (!writer)
178963
179650
  writer = $Writer.create();
178964
179651
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
@@ -178975,33 +179662,33 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
178975
179662
  };
178976
179663
 
178977
179664
  /**
178978
- * Encodes the specified RealTimeEligibilityCheckCompleted message, length delimited. Does not implicitly {@link RealTimeEligibilityCheckCompleted.verify|verify} messages.
179665
+ * Encodes the specified GingerRealTimeEligibilityCheckCompleted message, length delimited. Does not implicitly {@link GingerRealTimeEligibilityCheckCompleted.verify|verify} messages.
178979
179666
  * @function encodeDelimited
178980
- * @memberof RealTimeEligibilityCheckCompleted
179667
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178981
179668
  * @static
178982
- * @param {IRealTimeEligibilityCheckCompleted} message RealTimeEligibilityCheckCompleted message or plain object to encode
179669
+ * @param {IGingerRealTimeEligibilityCheckCompleted} message GingerRealTimeEligibilityCheckCompleted message or plain object to encode
178983
179670
  * @param {$protobuf.Writer} [writer] Writer to encode to
178984
179671
  * @returns {$protobuf.Writer} Writer
178985
179672
  */
178986
- RealTimeEligibilityCheckCompleted.encodeDelimited = function encodeDelimited(message, writer) {
179673
+ GingerRealTimeEligibilityCheckCompleted.encodeDelimited = function encodeDelimited(message, writer) {
178987
179674
  return this.encode(message, writer).ldelim();
178988
179675
  };
178989
179676
 
178990
179677
  /**
178991
- * Decodes a RealTimeEligibilityCheckCompleted message from the specified reader or buffer.
179678
+ * Decodes a GingerRealTimeEligibilityCheckCompleted message from the specified reader or buffer.
178992
179679
  * @function decode
178993
- * @memberof RealTimeEligibilityCheckCompleted
179680
+ * @memberof GingerRealTimeEligibilityCheckCompleted
178994
179681
  * @static
178995
179682
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
178996
179683
  * @param {number} [length] Message length if known beforehand
178997
- * @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted
179684
+ * @returns {GingerRealTimeEligibilityCheckCompleted} GingerRealTimeEligibilityCheckCompleted
178998
179685
  * @throws {Error} If the payload is not a reader or valid buffer
178999
179686
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
179000
179687
  */
179001
- RealTimeEligibilityCheckCompleted.decode = function decode(reader, length) {
179688
+ GingerRealTimeEligibilityCheckCompleted.decode = function decode(reader, length) {
179002
179689
  if (!(reader instanceof $Reader))
179003
179690
  reader = $Reader.create(reader);
179004
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.RealTimeEligibilityCheckCompleted();
179691
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerRealTimeEligibilityCheckCompleted();
179005
179692
  while (reader.pos < end) {
179006
179693
  var tag = reader.uint32();
179007
179694
  switch (tag >>> 3) {
@@ -179029,30 +179716,30 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
179029
179716
  };
179030
179717
 
179031
179718
  /**
179032
- * Decodes a RealTimeEligibilityCheckCompleted message from the specified reader or buffer, length delimited.
179719
+ * Decodes a GingerRealTimeEligibilityCheckCompleted message from the specified reader or buffer, length delimited.
179033
179720
  * @function decodeDelimited
179034
- * @memberof RealTimeEligibilityCheckCompleted
179721
+ * @memberof GingerRealTimeEligibilityCheckCompleted
179035
179722
  * @static
179036
179723
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
179037
- * @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted
179724
+ * @returns {GingerRealTimeEligibilityCheckCompleted} GingerRealTimeEligibilityCheckCompleted
179038
179725
  * @throws {Error} If the payload is not a reader or valid buffer
179039
179726
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
179040
179727
  */
179041
- RealTimeEligibilityCheckCompleted.decodeDelimited = function decodeDelimited(reader) {
179728
+ GingerRealTimeEligibilityCheckCompleted.decodeDelimited = function decodeDelimited(reader) {
179042
179729
  if (!(reader instanceof $Reader))
179043
179730
  reader = new $Reader(reader);
179044
179731
  return this.decode(reader, reader.uint32());
179045
179732
  };
179046
179733
 
179047
179734
  /**
179048
- * Verifies a RealTimeEligibilityCheckCompleted message.
179735
+ * Verifies a GingerRealTimeEligibilityCheckCompleted message.
179049
179736
  * @function verify
179050
- * @memberof RealTimeEligibilityCheckCompleted
179737
+ * @memberof GingerRealTimeEligibilityCheckCompleted
179051
179738
  * @static
179052
179739
  * @param {Object.<string,*>} message Plain object to verify
179053
179740
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
179054
179741
  */
179055
- RealTimeEligibilityCheckCompleted.verify = function verify(message) {
179742
+ GingerRealTimeEligibilityCheckCompleted.verify = function verify(message) {
179056
179743
  if (typeof message !== "object" || message === null)
179057
179744
  return "object expected";
179058
179745
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
@@ -179087,17 +179774,17 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
179087
179774
  };
179088
179775
 
179089
179776
  /**
179090
- * Creates a RealTimeEligibilityCheckCompleted message from a plain object. Also converts values to their respective internal types.
179777
+ * Creates a GingerRealTimeEligibilityCheckCompleted message from a plain object. Also converts values to their respective internal types.
179091
179778
  * @function fromObject
179092
- * @memberof RealTimeEligibilityCheckCompleted
179779
+ * @memberof GingerRealTimeEligibilityCheckCompleted
179093
179780
  * @static
179094
179781
  * @param {Object.<string,*>} object Plain object
179095
- * @returns {RealTimeEligibilityCheckCompleted} RealTimeEligibilityCheckCompleted
179782
+ * @returns {GingerRealTimeEligibilityCheckCompleted} GingerRealTimeEligibilityCheckCompleted
179096
179783
  */
179097
- RealTimeEligibilityCheckCompleted.fromObject = function fromObject(object) {
179098
- if (object instanceof $root.RealTimeEligibilityCheckCompleted)
179784
+ GingerRealTimeEligibilityCheckCompleted.fromObject = function fromObject(object) {
179785
+ if (object instanceof $root.GingerRealTimeEligibilityCheckCompleted)
179099
179786
  return object;
179100
- var message = new $root.RealTimeEligibilityCheckCompleted();
179787
+ var message = new $root.GingerRealTimeEligibilityCheckCompleted();
179101
179788
  if (object.hsUserId != null)
179102
179789
  message.hsUserId = String(object.hsUserId);
179103
179790
  if (object.hsEligibilityRecordUuid != null)
@@ -179105,33 +179792,33 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
179105
179792
  if (object.checkRequestId != null)
179106
179793
  message.checkRequestId = String(object.checkRequestId);
179107
179794
  switch (object.checkStatus) {
179108
- case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN":
179795
+ case "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN":
179109
179796
  case 0:
179110
179797
  message.checkStatus = 0;
179111
179798
  break;
179112
- case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS":
179799
+ case "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_SUCCESS":
179113
179800
  case 1:
179114
179801
  message.checkStatus = 1;
179115
179802
  break;
179116
- case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR":
179803
+ case "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_COVERAGE_ERROR":
179117
179804
  case 2:
179118
179805
  message.checkStatus = 2;
179119
179806
  break;
179120
- case "REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR":
179807
+ case "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_INSURER_ERROR":
179121
179808
  case 3:
179122
179809
  message.checkStatus = 3;
179123
179810
  break;
179124
179811
  }
179125
179812
  switch (object.coverageStatus) {
179126
- case "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN":
179813
+ case "GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN":
179127
179814
  case 0:
179128
179815
  message.coverageStatus = 0;
179129
179816
  break;
179130
- case "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE":
179817
+ case "GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_ACTIVE":
179131
179818
  case 1:
179132
179819
  message.coverageStatus = 1;
179133
179820
  break;
179134
- case "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE":
179821
+ case "GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_INACTIVE":
179135
179822
  case 2:
179136
179823
  message.coverageStatus = 2;
179137
179824
  break;
@@ -179140,15 +179827,15 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
179140
179827
  };
179141
179828
 
179142
179829
  /**
179143
- * Creates a plain object from a RealTimeEligibilityCheckCompleted message. Also converts values to other types if specified.
179830
+ * Creates a plain object from a GingerRealTimeEligibilityCheckCompleted message. Also converts values to other types if specified.
179144
179831
  * @function toObject
179145
- * @memberof RealTimeEligibilityCheckCompleted
179832
+ * @memberof GingerRealTimeEligibilityCheckCompleted
179146
179833
  * @static
179147
- * @param {RealTimeEligibilityCheckCompleted} message RealTimeEligibilityCheckCompleted
179834
+ * @param {GingerRealTimeEligibilityCheckCompleted} message GingerRealTimeEligibilityCheckCompleted
179148
179835
  * @param {$protobuf.IConversionOptions} [options] Conversion options
179149
179836
  * @returns {Object.<string,*>} Plain object
179150
179837
  */
179151
- RealTimeEligibilityCheckCompleted.toObject = function toObject(message, options) {
179838
+ GingerRealTimeEligibilityCheckCompleted.toObject = function toObject(message, options) {
179152
179839
  if (!options)
179153
179840
  options = {};
179154
179841
  var object = {};
@@ -179156,8 +179843,8 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
179156
179843
  object.hsUserId = "";
179157
179844
  object.hsEligibilityRecordUuid = "";
179158
179845
  object.checkRequestId = "";
179159
- object.checkStatus = options.enums === String ? "REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN" : 0;
179160
- object.coverageStatus = options.enums === String ? "REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN" : 0;
179846
+ object.checkStatus = options.enums === String ? "GINGER_REAL_TIME_ELIGIBILITY_CHECK_STATUS_UNKNOWN" : 0;
179847
+ object.coverageStatus = options.enums === String ? "GINGER_REAL_TIME_ELIGIBILITY_CHECK_COVERAGE_STATUS_UNKNOWN" : 0;
179161
179848
  }
179162
179849
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
179163
179850
  object.hsUserId = message.hsUserId;
@@ -179166,24 +179853,24 @@ $root.RealTimeEligibilityCheckCompleted = (function() {
179166
179853
  if (message.checkRequestId != null && message.hasOwnProperty("checkRequestId"))
179167
179854
  object.checkRequestId = message.checkRequestId;
179168
179855
  if (message.checkStatus != null && message.hasOwnProperty("checkStatus"))
179169
- object.checkStatus = options.enums === String ? $root.RealTimeEligibilityCheckStatus[message.checkStatus] : message.checkStatus;
179856
+ object.checkStatus = options.enums === String ? $root.GingerRealTimeEligibilityCheckStatus[message.checkStatus] : message.checkStatus;
179170
179857
  if (message.coverageStatus != null && message.hasOwnProperty("coverageStatus"))
179171
- object.coverageStatus = options.enums === String ? $root.RealTimeEligibilityCheckCoverageStatus[message.coverageStatus] : message.coverageStatus;
179858
+ object.coverageStatus = options.enums === String ? $root.GingerRealTimeEligibilityCheckCoverageStatus[message.coverageStatus] : message.coverageStatus;
179172
179859
  return object;
179173
179860
  };
179174
179861
 
179175
179862
  /**
179176
- * Converts this RealTimeEligibilityCheckCompleted to JSON.
179863
+ * Converts this GingerRealTimeEligibilityCheckCompleted to JSON.
179177
179864
  * @function toJSON
179178
- * @memberof RealTimeEligibilityCheckCompleted
179865
+ * @memberof GingerRealTimeEligibilityCheckCompleted
179179
179866
  * @instance
179180
179867
  * @returns {Object.<string,*>} JSON object
179181
179868
  */
179182
- RealTimeEligibilityCheckCompleted.prototype.toJSON = function toJSON() {
179869
+ GingerRealTimeEligibilityCheckCompleted.prototype.toJSON = function toJSON() {
179183
179870
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
179184
179871
  };
179185
179872
 
179186
- return RealTimeEligibilityCheckCompleted;
179873
+ return GingerRealTimeEligibilityCheckCompleted;
179187
179874
  })();
179188
179875
 
179189
179876
  $root.ReferralSignedUp = (function() {